Detecting skew angle in a scanned image
Abstract
Detecting skew and determining skew angle using the front of a document by determining background-to-document transitions. Incoming scanlines are interval sampled in the fast scan direction every nth pixel. The samples are collected and organized into a two dimension array comprised of scanline based rows and interval based columns. The collected and organized samples are analyzed by intervals to determine a scanline (row) where a specified sampling condition exceeds predetermined threshold. The corresponding row-interval point forms a background-to-medium transition point of the edge of a document. When two or more background-to-medium transition points are found from different intervals the skew angle can be determined using linear regression.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 17.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, comprising: generating grayscale image data corresponding to an original document inside a scan area; interval sampling a plurality of grayscale image data scanlines to provide intensity values for pixels from at least two image data scanlines belonging to a same interval sample; creating a two-dimensional array of intensity data for a plurality of said same interval sample pixels, with intensity data for pixels from a same scanline arranged in a same array row and intensity data for pixels from a same interval sample arranged in a same array column; from said intensity data, identif
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗