Apparatus and method for determining the location and orientation of a reference feature in an image
First Claim
1. A method for determining the location and orientation of a reference feature in an image, the method comprising:
- acquiring at least one run-time image having a reference feature, the reference feature including a plurality of substantially straight lines;
determining from said at least one run-time image a principal axis of said reference feature such that the principal axis is parallel to most of the substantially straight lines of the reference feature, said principal axis being oriented at a principal angle; and
performing projection upon the reference feature at said principal angle by summing substantially along each substantially straight line of the plurality of substantially straight lines to provide a one-dimensional feature image of the reference feature;
performing a global match of said one-dimensional feature image with a one-dimensional template image to provide a position value of said global match; and
using said position value to determine the location of said reference feature.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for determining the location and orientation of a reference feature in an image is provided. At train-time, a template image is created for use during the run-time phase. At run-time, a reference feature is located by first determining the principal angle of the reference feature. In a preferred embodiment, the principal angle θ of the reference feature is found by partitioning the reference feature into a plurality of regions, projecting each of the regions at 0°, and performing template matching with a template image to determine the position of a plurality of points along a principal axis of the reference feature. Then, either an equation of a “best fit” line can be calculated and solved simultaneously with an equation of a horizontal reference line, or the reference feature image can be projected at the angle of the “best fit” line to obtain a one-dimensional reference image which can be matched to the one-dimensional template image to find the relative displacement between them that maximizes a match-metric value. The invention is particularly useful for determining the location and orientation of reference feature images that have been degraded in some way. The invention provides substantial immunity to such image degradation by comprehensively exploiting image information derived from the entire image of the reference feature.
78 Citations
10 Claims
-
1. A method for determining the location and orientation of a reference feature in an image, the method comprising:
-
acquiring at least one run-time image having a reference feature, the reference feature including a plurality of substantially straight lines;
determining from said at least one run-time image a principal axis of said reference feature such that the principal axis is parallel to most of the substantially straight lines of the reference feature, said principal axis being oriented at a principal angle; and
performing projection upon the reference feature at said principal angle by summing substantially along each substantially straight line of the plurality of substantially straight lines to provide a one-dimensional feature image of the reference feature;
performing a global match of said one-dimensional feature image with a one-dimensional template image to provide a position value of said global match; and
using said position value to determine the location of said reference feature. - View Dependent Claims (2, 3, 4, 5)
determining the position of at least two points on a line in parallel relationship with said principal axis of said reference feature; and
determining the equation of a line that is closest to all of said at least two points.
-
-
4. The method of claim 3, wherein the step of determining the position of at least two points on a line in parallel relationship with said principal axis of said reference feature includes the steps of:
-
partitioning said reference feature into at least two regions;
for each region, projecting a portion of said reference feature within each region at an angle of zero degrees with respect to a reference axis to provide at least two one-dimensional feature images;
for each region, performing a global match with said one-dimensional feature image using a one-dimensional template image to provide a position value of said global match; and
using at least two of said position values to determine the positions of said at least two points.
-
-
5. The method of claim 1, wherein the step of using said principal axis oriented at said principal angle to determine the location of said reference feature includes the steps of:
-
providing a reference line;
finding an intersection point of said principal axis and said reference line; and
using said intersection point to determine the location of said reference feature.
-
-
6. An apparatus for determining the location and orientation of a reference feature in an image, the apparatus comprising:
-
digitizing means for acquiring at least one run-time image having a reference feature, the reference feature including a plurality of substantially straight lines;
means, connected to said digitizing means, for determining from said at least one run-time image a principal axis of said reference feature such that the principal axis is parallel to most of the substantially straight lines of the reference feature, said principal axis being oriented at a principal angle; and
means, connected to said means for determining a principal axis, for performing projection upon the reference feature at said principal angle by summing substantially along each substantially straight line of the plurality of substantially straight lines to provide a one-dimensional feature image of the reference feature;
means, connected to said means for performing projection, for performing a global match of said one-dimensional feature image with a one-dimensional template image to provide a position value of said global match; and
means, connected to said means for performing a global match, for using said position value to determine the location of said reference feature. - View Dependent Claims (7, 8, 9, 10)
means for frame averaging at least two run-time images.
-
-
8. The apparatus of claim 6, wherein said means for determining a principal axis oriented at a principal angle of said reference feature includes:
-
means for determining the position of at least two points on a line in parallel relationship with said principal axis of said reference feature; and
means, connected to said means for determining the position of said at least two points, for determining the equation of a line that is closest to all of said at least two points.
-
-
9. The apparatus of claim 8, wherein said means for determining the position of at least two points on a principal axis of said reference feature includes:
-
means for partitioning said reference feature into at least two regions;
for each region, means for projecting a portion of said reference feature within each region at an angle of 0 degrees with respect to a reference axis to provide at least two one-dimensional feature images;
for each region, means for performing a global match with said one-dimensional feature image using a one-dimensional template image to provide a position value of said global match; and
means for using at least two of said position values to determine the positions of said at least two points.
-
-
10. The apparatus of claim 6, wherein the means for using said principal axis oriented at said principal angle to determine the location of said reference feature includes:
-
means for providing a reference line;
means for finding an intersection point of said principal axis and said reference line; and
means for using said intersection point to determine the location of said reference feature.
-
Specification