EP1431908B1

Non-iterative method of calculating image skew

Abstract

This record has no abstract on file.

EP1431908B1, drawing sheet 1
Sheet 1 of 13

Term

Term ended

Expired 16 December 2023, 2.8 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

8 claims: 1 independent, 7 dependent

  1. 1
    A method of processing scanned image data comprising:receiving (200) image data, the image data comprising a plurality of scanlines with each scanline comprising a plurality of pixels;generating (230) a fast scan second order moment data set;generating (235) a slow scan second order moment data set;and determining (270) a document skew angle from the fast scan and slow scan second order moment data sets;characterized in that the step of generating the slow scan second order moment data set includes receiving a current scanline of image data, updating columns sums for a set of rotation angles using scanlines within a buffer comprising a band of scanlines, the band having a predetermined number B of scanlines, and updating the buffer with the current scanline, and the step of generating the fast scan second order moment data set includes projecting a plurality of pixels within a scanline to at least a first rotation angle wherein the plurality pixels project onto M rows;updating M memory locations, wherein each one of the M memory locations corresponds to one of the M rows and wherein each memory location is updated using pixels projecting onto the corresponding row whereby one of the memory locations contains a completed row sum and M-1 of the memory locations contain partial row sums;adding the square of the completed row sum to a moment accumulator;and repeating the projecting, updating and adding steps for each scanline within a plurality of scanlines whereby a memory location having a completed row sum is reused to accumulate subsequent row sum so that only M memory locations are required to accumulate row sums.