摘要 |
An image of a scanned book is segmented using a feature image to map pixels corresponding to a page area and to create page objects and detect borders of the page. A book spine region is detected by locating a plain background area between two of the page objects, analyzing the page borders to detect their shape, and analyzing their shape to detect the book spine end points. Using the page borders, the feature image is examined to detect top-to-bottom and bottom-to-top declines in pixel values to determine the corners of a shadow distortion in the original scanned image. Squeeze and curvature distortion are also detected. A Bezier curve is used to model each of the three distortions detected on the page. The detected distortion is corrected by first defining a trapezoidal correction area. The intensity, squeeze, and curvature corrections are then applied along lines within the trapezoidal correction area. |