Method and system for correcting projective distortions with elimination steps on multiple levels
First Claim
1. A method for projective correction of an image containing at least one text portion that is distorted by perspective, the method comprising the steps of:
- image binarization, wherein said image is binarized;
connected component analysis, wherein pixel blobs are detected in said at least one text portion of said binarized image and wherein for each of said pixel blobs a position determining pixel is selected on a pixel blob baseline of the pixel blob, said position determining pixel defining the position of the pixel blob in the binarized image;
horizontal vanishing point determination, comprising the steps of;
estimating text baselines by means of said position determining pixels of said pixel blobs, identifying horizontal vanishing point candidates from said estimated text baselines, and determining a horizontal vanishing point of said at least one text portion by means of said horizontal vanishing point candidates;
vertical vanishing point determination, wherein a vertical vanishing point is determined for said at least one text portion on the basis of vertical features thereof;
and projective correction, wherein said perspective in said image is corrected on the basis of said horizontal and vertical vanishing points;
wherein said horizontal vanishing point determination comprises a first elimination step on the level of said position determining pixels, a second elimination step on the level of text baselines and a third elimination step on the level of horizontal vanishing point candidates.
0 Assignments
0 Petitions
Accused Products
Abstract
Method, system, device and computer program product for projective correction of an image containing at least one text portion that is distorted by perspective. The method includes the steps of image binarization, connected component analysis, horizontal vanishing point determination, vertical vanishing point determination and projective correction. The horizontal vanishing point is determined by estimating text baselines by means of position determining pixels of pixel blobs, identifying horizontal vanishing point candidates from the baselines, and determining a horizontal vanishing point from the candidates. The vertical vanishing point is determined on the basis of vertical features of the text portion. The method includes a first elimination step on the level of position determining pixels, a second elimination step on the level of text baselines and a third elimination step on the level of horizontal vanishing point candidates.
-
Citations
16 Claims
-
1. A method for projective correction of an image containing at least one text portion that is distorted by perspective, the method comprising the steps of:
-
image binarization, wherein said image is binarized; connected component analysis, wherein pixel blobs are detected in said at least one text portion of said binarized image and wherein for each of said pixel blobs a position determining pixel is selected on a pixel blob baseline of the pixel blob, said position determining pixel defining the position of the pixel blob in the binarized image; horizontal vanishing point determination, comprising the steps of;
estimating text baselines by means of said position determining pixels of said pixel blobs, identifying horizontal vanishing point candidates from said estimated text baselines, and determining a horizontal vanishing point of said at least one text portion by means of said horizontal vanishing point candidates;vertical vanishing point determination, wherein a vertical vanishing point is determined for said at least one text portion on the basis of vertical features thereof; and projective correction, wherein said perspective in said image is corrected on the basis of said horizontal and vertical vanishing points; wherein said horizontal vanishing point determination comprises a first elimination step on the level of said position determining pixels, a second elimination step on the level of text baselines and a third elimination step on the level of horizontal vanishing point candidates. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A system for projective correction of an image containing at least one text portion that is distorted by perspective, the system comprising at least one processor and an associated storage containing a program executable by means of said at least one processor and comprising:
-
first software code portions configured for image binarization, which when executed binarize said image; second software code portions configured for connected component analysis, which when executed detect pixel blobs in said at least one text portion of said binarized image and wherein for each of said pixel blobs a position determining pixel is selected on a pixel blob baseline of the pixel blob, said position determining pixel defining the position of the pixel blob in the binarized image; third software code portions configured for horizontal vanishing point determination, which when executed perform the steps of;
estimating text baselines by means of said position determining pixels of said pixel blobs, identifying horizontal vanishing point candidates from said estimated text baselines, and determining a horizontal vanishing point of said at least one text portion by means of said horizontal vanishing point candidates;fourth software code portions configured for vertical vanishing point determination, which when executed determine a vertical vanishing point for said at least one text portion on the basis of vertical features thereof; and fifth software code portions for projective correction, which when executed correct said perspective in said image on the basis of said horizontal and vertical vanishing points; wherein said third software code portions when executed perform a first elimination step on the level of said position determining pixels, a second elimination step on the level of text baselines and a third elimination step on the level of horizontal vanishing point candidates. - View Dependent Claims (15)
-
-
16. A non-transient storage medium on which a computer program product is stored comprising software code portions in a format executable on a computer device and configured for performing the following steps when executed on said computer device:
-
image binarization, wherein said image is binarized; connected component analysis, wherein pixel blobs are detected in said at least one text portion of said binarized image and wherein for each of said pixel blobs a position determining pixel is selected on a pixel blob baseline of the pixel blob, said position determining pixel defining the position of the pixel blob in the binarized image; horizontal vanishing point determination, comprising the steps of;
estimating text baselines by means of said position determining pixels of said pixel blobs, identifying horizontal vanishing point candidates from said estimated text baselines, and determining a horizontal vanishing point of said at least one text portion by means of said horizontal vanishing point candidates;vertical vanishing point determination, wherein a vertical vanishing point is determined for said at least one text portion on the basis of vertical features thereof; and projective correction, wherein said perspective in said image is corrected on the basis of said horizontal and vertical vanishing points; wherein said horizontal vanishing point determination comprises a first elimination step on the level of said position determining pixels, a second elimination step on the level of text baselines and a third elimination step on the level of horizontal vanishing point candidates.
-
Specification