Method and apparatus for alignment of images for template elimination
First Claim
1. A method of aligning a reference template image with a filled-in template image comprising the steps of:
- a) correlating lines in said reference template image to lines in said filled-in template image by finding corresponding pairs of projections in a first direction of said lines;
b) determining a displacement of the two projections of lines of each of said corresponding pairs in a second direction perpendicular to said first direction and evaluating the number of picture elements each line of said filled-in template image has to be shifted to achieve a match between said pairs of projections, said step of determining including using f(a,b)=1+MIN(a,b), where a represents picture elements in each of said lines in said reference template and b picture elements in each of said lines in said filled-in template, as a matching function to evaluate quality of said match; and
c) generating a new input image by shifting the picture elements of lines of said filled-in template image perpendicular to said first direction using the determined displacement.
1 Assignment
0 Petitions
Accused Products
Abstract
The present application concerns an improved method and apparatus for fine alignment for template elimination. This method involves the steps of dividing a filled-in template image and a reference template image into vertical bands of a given number w of columns of picture elements, employing the OCS algorithm to correlate lines in the vertical bands of the filled-in form, herein referred to as vertical input bands, to lines in the corresponding bands of the reference template image, and constructing a new input image in which each line is moved into its new position--this new image being used as input image, e.g. for template elimination.
-
Citations
20 Claims
-
1. A method of aligning a reference template image with a filled-in template image comprising the steps of:
-
a) correlating lines in said reference template image to lines in said filled-in template image by finding corresponding pairs of projections in a first direction of said lines; b) determining a displacement of the two projections of lines of each of said corresponding pairs in a second direction perpendicular to said first direction and evaluating the number of picture elements each line of said filled-in template image has to be shifted to achieve a match between said pairs of projections, said step of determining including using f(a,b)=1+MIN(a,b), where a represents picture elements in each of said lines in said reference template and b picture elements in each of said lines in said filled-in template, as a matching function to evaluate quality of said match; and c) generating a new input image by shifting the picture elements of lines of said filled-in template image perpendicular to said first direction using the determined displacement. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus for the alignment of a reference template image and a filled-in template image having a processor and a storage for storing said reference template image and said filled-in template image, said apparatus comprising:
-
means for correlating lines in said reference template image by finding corresponding pairs of projections in a first direction of said lines; means for determining the displacement of the two projections of lines of each said corresponding pair in a second direction, said second direction being perpendicular to said first direction and means for evaluating the number of picture elements of each line said filled-in template image has to be shifted to achieve a match between pairs of projections, said determining means including means for using f(a,b)=1+MIN(a,b), where a represents picture elements in each of said lines in said reference template and b picture elements in each of said lines in said filled-in template, as a matching function to evaluate quality of said match; and means for generating a new input image by shifting the picture elements of lines of said filled-in template image in said second direction as determined by said determining means. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A method of aligning a filled-in template image with a reference template image, said filled-in and said reference template image each having a plurality of rows and columns of pixel elements, said method comprising the steps of:
-
matching each row of said filled-in template image to a corresponding row of said reference template image; determining whether there exists an offset between each row of a pair of matched rows, said step of determining including the step of using f(a,b)=1+MIN(a,b), where a represents picture elements in each of said lines in said reference template and b picture elements in each of said lines in said filled-in template, as a matching function to evaluate quality of said match; and adjusting said row of said filled-in template to eliminate said offset if said offset exists. - View Dependent Claims (14, 15, 16)
-
-
17. An apparatus for aligning a filled-in template image with a reference template image, said filled-in and said reference template image each having a plurality of rows and columns of picture elements, said apparatus comprising:
-
means for matching each row of said filled-in template image to a corresponding row of said reference template image; means for determining whether there exists an offset between each row of a pair of matched rows, said step of determining including the step of using f(a,b)=1+MIN(a,b), where a represents picture elements in each of said lines in said reference template and b picture elements in each of said lines in said filled-in template, as a matching function to evaluate quality of said match; and means for adjusting said row of said filled-in template to eliminate said offset if said offset exists. - View Dependent Claims (18, 19, 20)
-
Specification