WO2002063547A1 - Structure-guided image measurement method - Google Patents

Structure-guided image measurement method Download PDF

Info

Publication number
WO2002063547A1
WO2002063547A1 PCT/US2001/048140 US0148140W WO02063547A1 WO 2002063547 A1 WO2002063547 A1 WO 2002063547A1 US 0148140 W US0148140 W US 0148140W WO 02063547 A1 WO02063547 A1 WO 02063547A1
Authority
WO
WIPO (PCT)
Prior art keywords
estimation
measurement
image
line
circle
Prior art date
Application number
PCT/US2001/048140
Other languages
French (fr)
Inventor
Shih-Jong Lee
Seho Oh
Original Assignee
Shih-Jong Lee
Seho Oh
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shih-Jong Lee, Seho Oh filed Critical Shih-Jong Lee
Publication of WO2002063547A1 publication Critical patent/WO2002063547A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • G06V10/443Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components by matching or filtering

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Image Analysis (AREA)

Abstract

Structure-guided image estimation (102) and measurement (106) method are described for computer vision applications. Results of the structure-guided estimation are symbolic representations facilitates sub-pixel (316) measurements by increasing the number of pixels used in the matching of image features to structural entities, improving the detection of structural entities within the image, weighting the contribution of each image sample to the measurement that is being made and optimizing that contribution.

Description

Structure-guided Image Measurement Method
Technical Field
This invention relates to high accuracy image processing, specifically to an improved method for measuring objects in an image with sub-pixel accuracy and repeatability.
Background Art
Many computer vision applications require accurate and robust measurements of image features to detect defects or gather process statistics. The capability of a computer vision system is often characterized by its detection/measurement accuracy, repeatability and throughput. It is desirable to achieve sub-pixel measurement accuracy and repeatability for many computer vision applications.
Application domain knowledge is available in most computer vision applications. The application domain knowledge can often be expressed as structures of image features such as edges, lines and regions. The structures include spatial relationships of object features such as shape, size, intensity distribution, parallelism, co-linearity, adjacency, etc. The structure information can be well defined in industrial applications such as semiconductor, electronic or machine part inspections. In machine part inspections, most of the work-pieces have available Computer Aided
Design (CAD) data that specifies its components as entities (LINE, POINT, 3DFACE, 3DPOLYLINE, 3DVERTEX, LINE, POINT, 3DFACE, 3DPOLYLINE, 3DVERTEX, etc.) and blocks of entities. In biomedical or scientific applications, structure information can often be loosely defined. For example, a cell nucleus is round and different shapes can differentiate different types of blood cells or chromosomes.
Application domain knowledge can significantly improve the measurement capability of a computer vision system. However, it is non-trivial to efficiently use the application domain knowledge in high precision applications that require sub-pixel accuracy, repeatability and real-time throughput.
Prior Art
An image segmentation approach is used in the prior art for image feature detection or measurement. The image segmentation approach converts a grayscale image into a binary image that contains object of interest masks. Binary thresholding is a common technique in the image segmentation approach (Haralick RM and Shapiro, LG, "Survey Image Segmentation Techniques," Comput. Vision, Graphics Image Processing, vol. 29: 100-132, 1985).
Image features such as edges in an image are smeared over a distance of four or five pixels, an effect that is the result of a reasonably sufficient sampling basis, imperfections in the camera optics, and the inevitability of physical laws (finite point spread function). Because edges or features of an image are imaged by the optical and imaging system as continuously varying gray levels, there exists no single gray level that represents edge pixels. For this reason, any system that depends on segmentation or a binary thresholding of the image before critical dimensions are determined must necessarily introduce quantization errors into the measurement. Binary thresholding also exacerbates the resolution limiting effect of system noise. Pixels whose gray levels are close to the threshold level are maximally affected by small variations due to additive noise. They may either be included or excluded into the mask based on the noise contribution to their instantaneous value. These pixels are frequently located on the periphery of the part, or a substructure of the part, where they have maximal disruption of the derived measurement values.
Prior art (Silver, B, "Geometric Pattern Matching for General-Purpose Inspection in Industrial Machine Vision", Intelligent Vision '99 Conference - June 28-29, 1999) applies application domain structure information using a template matching method. An image of the object to be located (the template) is stored. The template is compared to similar sized regions of the image over a range of positions, with the position of greatest match taken to be the position of the object and measurements are conducted between the detected positions. Template matching does not provide sub- pixel accuracy and repeatability since the estimated positions lie in pixel grids that exhibit spatial quantization error due to limitations in pixel pitch. Furthermore, the template matching approach is sensitive to variations such as orientation and size differences between the image and the template. Even within a small range of size and orientation changes, the match value drops off rapidly and the ability to locate and measure image features drops with it.
Prior art applies application domain structure information through a projection/dispersion approach. The projection/dispersion approach integrates (projects) image pixel values over a pre-defined direction in the image. This can be done for binary image (projection) or grayscale image (dispersion) and results in a one-dimensional line of values. The application domain structure information defines the projection directions. However, the prior art approach is sensitive to system variations such as rotation. Rotation effect could result in the integration of pixel values along a wrong direction that is destructive to sub-pixel accuracies. Furthermore, the projection approach cannot effectively combine multiple two- dimensional (or more dimensions) structure information where features of interest are along different directions. Therefore, only a limited number of image pixels (n) are used for feature estimation or measurement. Measurement uncertainty is related to
1 r ■ Smaller n results in bigger uncertainty or lower accuracy.
Certain pixels in image feature region are more indicative than others. However, the prior art approach does not take advantage of this information. Projection treats edge pixels and region pixels with equal weight. Prior Art does not score the reliability of each measurement. Prior Art does not do additional processing to improve accuracy and repeatability on less reliable measurements. This is difficult to accomplish since most prior art measurements are done in an ad hoc fashion.
Disclosure of the Invention This invention provides sub-pixel, high performance image based estimation and 95 measurement through a structure-guided image processing method. In the preferred embodiment, this invention performs two dimensional geometry estimation using images of grayscale weights for each connected component in the measurement mask. The features from which the masks and the weights are derived are described in the co-pending U. S. Patent Application entitled, "Structure-guided Image Processing and 100 Image Feature Enhancement" by Shih-Jong J. Lee, filed December 15, 2000 which is incorporated herein in its entirety.
Results of the structure-guided estimation are symbolic representation of geometry entities such as lines, points, arcs and circles. The symbolic representation facilitates 105 sub-pixel measurements by increasing the number of pixels used in the matching of image features to structural entities, improving the detection of structural entities within the image, weighting the contribution of each image sample to the measurement that is being made and optimizing that contribution.
110 After the structure-guided estimation, geometric entities are represented by their symbolic representations. Structure-guided measurements can be conducted using the symbolic representation of geometric entities. Measurements performed from the symbolic representation are not limited by image resolution or pixel quantization error and therefore can yield sub-pixel accuracy and repeatability
115
Brief Description of Drawings
Figure 1 shows the processing flow of the structure-guided image measurement system. 120 Figure 2 shows an alternative processing flow of the structure-guided image measurement system.
Figure 3 shows a simple example of the structure-guided estimation method. Three lines are parallel to each other and are equal distance apart. The fourth line is perpendicular to the three lines. 125 Figure 4 shows lines with known slope yet unknown intersection c,„. Figure 5 shows lines that pass a given intersection point ( Xo , O )•
Figure 6 shows two parallel line groups with a given angle Θ between the groups.
Figure 7 shows a circle/circular arc with its center on a given line.
Figure 8 shows circle(s)/circular arc(s) with a given center point. 130 Figure 9 shows two circles and a circular arc with a given radius r.
Figure 10 shows an iterative optimization procedure to estimate ixcm, ycm) and the same radius r.
Figure 11 shows a circle and a circular arc with a given radius r and centers on a given line. 135 Figure 12 shows an iterative optimization procedure to estimate ixcm, ycm) and the same radius r.
Figure 13 shows a reference learning and robust weight generation process.
Figure 14 illustrates one iteration of the robust estimation process.
Figure 15 illustrates the intersection point between two non-parallel lines. 140 Figure 16 illustrates the angle between two non-parallel lines.
Figure 17 illustrates distance between two non-parallel lines intersected by a reference line.
Figure 18 illustrates the distance between a point and a line.
Figure 19 illustrates the distance between two parallel lines. 145 Figure 20 illustrates the distance between two non-parallel lines at an equal angle intersection line passing a given point.
Figure 21 illustrates intersection points between a line and a circle.
Figure 22 illustrates intersection points between two circles.
Figure 23 illustrates tangential lines of a circle and a given point. 150
Best Mode for Carrying Out the Invention
This description of a preferred embodiment of a structure-guided image measurement method describes a set of detailed processes through which an image processing 155 system can achieve sub-pixel accuracy and repeatability of image feature measurement. This invention performs two dimensional geometry estimation using images of grayscale weights for each connected component in the measurement mask. The estimation is based on grayscale weights rather than a binary image. The estimation is conducted in two dimensions to avoid error caused by one-dimensional
160 projection. The estimation is guided by structure constraints defined from application domain knowledge to increase accuracy. It uses structure constraints to link multiple features for an integrated estimation that utilizes a large number of points (large n). Large n reduces the measurement ambiguity. The results of the structure-guided estimation are symbolic representation of geometry entities such as lines, points, arcs
165 and circles. Alignment of the symbolic geometric entities with their respective image features facilitates robust sub-pixel measurements.
This invention can use learning to determine the stability of image pixels and weigh stable pixels higher in the estimation process. Reliability of measurement is scored. 170 Guided by the scores, accuracy and repeatability is improved using iterative robust estimation.
I. Structure-guided Image Measurement System
175 Figure 1 shows the processing flow of the structure-guided image measurement system of this invention. As shown in Figure 1, inputs to the structure-guided image measurement system include measurement mask(s) 100 and a measurement weight image 112. The structure-guided estimation module 102 performs estimation from the weight image 112 within the regions defined by each component of the
180 measurement mask(s) 100. Application domain structure information 110 is encoded into constraints for the structure-guided estimation 102. The structure-guided estimation module creates symbolic representation 104 of geometric entities such as lines, points, arcs and circles. The structure-guided measurements 106 are performed using the symbolic representation to achieve measurement results 108 with sub-pixel
185 accuracy.
The measurement mask(s) 204 and measurement weight image 216 can be automatically generated from the input image 200 as shown in Figure 2. A structure- guided image processing and feature enhancement system that extracts and enhances 190 image features of interest and generates measurement mask(s) and weights from the feature enhanced image is disclosed in a co-pending U.S./ Patent Application entitled, "Structure-guided Image Processing and Image Feature Enhancement" by Shih-Jong J. Lee, filed December 15, 2000 which is incorporated herein in its entirety.
195 II. Structure-guided Estimation
The structure-guided estimation method 206 performs estimation from the weight image 216 within the regions defined by each component of the measurement mask(s) 204. The estimation is conducted by a weighted minimum-square-error (MSE)
200 method. The estimation finds the parameters that minimize a cost function. The cost function is defined as the weighted square error between the structural model (symbolic representation) and all data points of all entities included in the estimation minus an additional structural constraint term. The entities are defined by each component of the measurement mask(s). The corresponding points in the
205 measurement weight image weighs each data point during the estimation process.
2 ro t = Σ Σ w [Model _ Error ( x , y )] . , ,. ,
' i J i . Addιonal_structure_constraιnt m e M i e r ° m
Where M is the set of all components in the measurement masks and Cm corresponds to the m-th component of the mask. Model_Error function represents the difference 210 between the structure representation and the real data.
Figure 3 illustrates a simple example of the structure-guided estimation method of this invention. There are four lines 300, 314, 312, 304 in the example shown in Figure 3. Each line has a boundary measurement mask 308 that defines the regions to perform
215 estimation using the pixel values in the grayscale weight image 306 shown surrounding each line with a cross hatched pattern. In this figure, the darkest part of the line is shown in the approximate center and indicated by a darkened region. The structure constraints that are used to guide the estimation include a parallel constraint 316 for the three lines 300, 314, 312 on the left of Figure 3 . In addition, an equal
220 distance constraint 310 is also applied to the distances between the adjacent parallel lines. The fourth line 304 is included in the estimation process using an orthogonal constraint 302 that requires that it is perpendicular to the parallel lines. The outputs representation of the four lines. Therefore, the information embedded in the
225 measurement masks and gray scale weight images are transformed into the parameters of the symbolic representation. Measurements performed from the symbolic representation are no longer limited by image resolution or pixel quantization error and therefore can yield sub-pixel accuracy and repeatability. The symbolic representation can also be used with a computer graphic program to display the
230 detected features.
II.l Symbolic Representation of Geometric Entities
235 To achieve sub-pixel accuracy, the outputs of the structure-guided estimation module are the symbolic representation of the geometric entities. In one embodiment of the invention, the entities include scale value, point, line, circle and region of interest or arrays (sets) of values, points, lines, circles or regions of interest.
240 A scale value is represented by a real number. A point location is represented by two integers corresponding to its x and y image coordinates. A line position is represented by a line equation: ύuc + /.y + c = 0 with the constraint that -.2 +->2 = l and b ≥ O .
A circle is represented by a circle equation
9 2 a b
245 x + y +ax + by + c = 0 . The center of the circle is located at ( " y , ~^ ) and the radius
a2 + b2 of the circle is 4
A rectangular region of interest is represented by its upper-left and lower-right corner points.
250 Those skilled in the art should recognize that the geometric entities could include other two dimensional curves such as ellipse, parabola, hyperbola, cubic and higher order polynomial functions, spline functions, etc. The region of interest could be generalized into closed polygons. The image coordinates can be transformed into other coordinate systems. Furthermore, the structure-guided estimation of this 255 invention can be generalized to estimate three dimensional or higher dimensional geometric entities by correlating constraints among multiple images (such as stereo image pairs) and can also include such things as color or motion or separate images joined by a known relation (such as an outside image and an inside image).
260 II.2 Structure-guided Geometric Entity Estimation
The structure-guided estimation module estimates the parameters of the symbolic representation of the geometric entities from the grayscale weight image under the structure constraints. Different structure constraints and combinations of the
265 constraints can be used in the estimation processes. In one embodiment of the invention, constrained weighted least squares estimation is used as the basis for the estimation. The estimation finds the parameters that minimize the weighted square error for all data points of all entities included in the estimation. The corresponding point in the measurement weight image weights each data point during the estimation
270 process. The following sections list some estimation methods in one preferred embodiment of this invention.
A. Structure-guided Line Estimation
275 A.l Line Estimation Without Structure Constraints
When no structure constraint is available, the cost function for line m is
2 2 2 ~ *- w wι-[ a um xΛι- + b υm y Υι - + c c m J ~ Ma + b - 1 ) i e / ^m
280 Where /_„, is the mask region defined for the estimation of line m.
A closed form solution exists for determining am , 6w and Cm that minimize Costm .
(Draper NR and Smith H, "Applied Regression Analysis", John Wiley & Sons, Inc., 1966, PP.7-13) 285 A.2 Line Estimation Constrained by a Given Slope
The structure constraint requires all lines 416, 418, 406, 422 have a same slope that is known a priori as shown in Figure 4 Each line has gray scale weights 400, 410, 412, 414 within a mask region as shown in 402, 404, 420, 408 Cm is not known
290
The given slope uniquely defines a and b of the line equations The cost function is defined as,
Figure imgf000011_0001
295
Where L is the set of lines included in the estimation masks, tm is the mask region defined for line m A closed form solution exists for determining cm that minimizes Cost
300 A.3 Line Estimation Constrained by a Given Intersection Point
The structure constraint requires all lines to pass one given intersection point ( ^0 , "0 ) as shown in Figure 5 In figure 5 the common point of intersection 502 is shown wherein the lines 514, 510, 506 intersect Each line has grayscale weights 305 516, 520, 522 within mask region 504, 508, 512
The cost function is
2 2 2
Cost = ( ∑ wl m (xl - χ0) + bm (yι - y0)] + m ( % + bm - 1))
Figure imgf000011_0002
310 Where L is the set of lines included in the estimation masks, ιm is the mask region defined for line m A closed form solution exists for determining am and frmfor each line in that minimize Cost A.4 Line Estimation Constrained by parallelism and- orthogonal relations
315
Figure 3 shows an example of this case. The structure constraint includes two groups of parallel lines L 300, 314, 312 and P 304. The lines in L and the lines in P are perpendicular to each other as shown in Figure 3. The cost function is
Cost - ∑ ∑ w^a Xj + b }>(- + c l
320 m € L i e /
Figure imgf000012_0001
A closed form solution exists for determining a, b, cm and cn that minimize Cost .
When P is an empty set, only a parallel line constraint exists for a set of lines. This is 325 a degenerate form of the structure constraint in this more general case. When only one line each existed in groups and P, the constraint becomes the existence of two orthogonal lines. This is a degenerate form of the structure constraint in this more general case.
330 A.5 Line Estimation Constrained by parallelism and equal distance relations
Figure 3 shows an example of this case. There is a group of parallel lines L 300, 314, 312 with a common slope corresponding to unknown values a and b. The lines in can be sequentially ordered from 0 to K by their proximity to each other with the 335 adjacent lines a fixed but unknown distance d apart 310. The cost function is
2 2 2
Cost = ∑ ∑ w a x : + b y ■ + md + c ] - λ(a + b - 1) meL i i i 0
A closed form solution exists for determining a, b, d and c0 that minimize Cost . 340
A.6 Line Estimation Constrained by parallelism and a given angle relation
The structure constraint includes two groups of parallel lines L 600, 602, 614, 604 and P 612, 610, 608, 606. The lines in L and the lines in P are intersected with a given 345 angle Θ 618, 616 as shown in Figure 6.
The cost function is
Figure imgf000013_0001
v v Λ2
350 . + c„ n c ^ - w.lc x: + d y ≡ PP i i i n i e p
- ,(αc+ω-cosΘ)- -(α2 +b2 -1)-Λ,(c2 +d2 -1)
An iterative optimization method can be used to determine a, b, cm and c, d, cn that minimizes Cost .
355 When only one line each exists in groups L and P, the constraint becomes two lines with an intersection angle Θ. This is a degenerate form of this more general structure constraint.
B. Structure-guided Circle/Circular Arc Estimation 360
B.l Circle/Circular Arc Estimation Without Structure Constraints
When no structure constraint is available, the cost function for circle/circular arc m is
2 2 2
365 Costm ~ ∑ wilixi + yi ) + a m xi + bm yi + c m] ' e C Where Cm is the mask region defined for circle/circular arc m. A closed form solution exists for determining am , bm aτι<^ cm that minimize Costm .
Aw bm The center of the circle/circular arc m is located at ( ~ , ~ ) and its radius is
Figure imgf000014_0001
B.2 Circle/Circular Arc Estimation Constrained by Center on a Given Line
The structure constraint requires that the center of the circle/circular arc is on a given 375 line dx + ey + f = 0
This case is shown in Figure 7. In Figure 7, a line 700 passes the center 704 of a circle 706. The circle 706 has a circular arc 702. The cost function for the 380 circle/circular arc m is v 2 2 2
Costm - ∑ Wi[(.xt + yt ) + αm . + bm yt + cm] _ ^ d + ^ e -- 2 )
' e C A closed form solution exists for determining αm , bm and m that minimize Costιn .
Figure imgf000014_0002
The center of the circle/circular arc m is located at ( ~ , ) and its radius is
Figure imgf000014_0003
385
B.3 Circle(s)/Circular Arc(s) Estimation Constrained by a Given Center Point
The structure constraint gives a fixed center location 804 for the circle(s) 800, 806/circular arc(s) 802 at ixc, yc). The estimate is to find radius rm for each 390 circle/circular arc c,n in the set of circle(s)/circular arc(s) included in the estimation masks. This structure is shown in Figure 8.
The cost function is v 2 2 2 2
Cost = 2-ι ∑ Wjl(χi - xc) + (yj ~ yc> ~ rm 1 c - r i e C
395
Where C is the set of circle(s)/circular arc(s) included in the estimation masks. A closed form solution exists for determining ,-ιn for all m C that minimize Cost.
B.4 Circle(s)/Circular Arc(s) Estimation Constrained by the Same Center Point
400
The structure constraint requires that all circle(s)/circular arc(s) have a common unknown center point. This structure is similar to that shown in Figure 8 with the exception that the common center position is unknown.
405 The cost function is 2 2 2
Cost = 2-ι ∑ w.Kxi + yt + a Xj + b y . + cm1 c - r* ' e C
A closed form solution exists for determining a, b and C/n for all m e C that minimize
Cost. 410
B.5 Circle(s)/Circular Arc(s) Estimation Constrained by a Given Radius
The structure constraint gives a fixed radius value r 902, 912, 904 for the circle(s) 900, 908/circular arc(s) 906 being estimated. The structure is shown in Figure 9. 415
The estimate is to find centers („*,,„, yu„) for each circle/circular arc c„, in the set of circle(s)/circular arc(s), C, included in the estimation masks. The cost function is
cost =
Figure imgf000016_0001
cm e C ^ m
In one embodiment of the invention, an iterative optimization approach such as Newton-Rapson method is used to determine (xcm, ycm) for each circle/circular arc c in the set of circle(s)/circular arc(s) that minimize Cost.
B.6 Circle(s)/Circular Arc(s) Estimation Constrained by Same Radius
The structure constraint requires that all circle(s)/circular arc(s) have the same yet unknown radius r. This structure is similar to that is shown in Figure 9 with the exception that the common radius is unknown.
The cost function is
2 2 2
Cost = Σ ∑ wi[(xi -χ a?v> + (yi ~ yCm) ~ d^ ms. C' e Cm Where
In one embodiment of the invention, an iterative optimization procedure is used to determine r and (xcm, ycm) for each circle/circular arc cm in the set of circle(s)/circular arc(s) that minimize Cast. The iterative optimization procedure is shown in Figure 10. It starts with an initial estimate 1000 without any constraint and then estimates r given (xcm, ycm) 1002. This can be done using the method in section B.3. It then updates the estimate of ix m, ycm) given r 1004 estimated from the previous step 1002. This can be done using the method in section B.5. The r and (xcm, ycm) estimation procedures can be repeated until the values converge 1006 and the process is completed 1008.
B.7 Circle(s)/Circular Arc(s) Estimation Constrained by a Given Radius and Centers on a given line The structure constraint gives a known radius value r 1102, 1110 for the circle(s)1104, 1108/circular arc(s) 1106 included for the estimation. It also requires 450 that the centers of the circle(s)/circular arc(s) 1112, 1114 are located on a given line 1100 dx + e v + / = 0
The structure is illustrated in Figure 11.
455 The cost function is
= Σ 2 2
:Kx: - X- + (j y J cm > i - Σ X + -r e e v + /)
Λm cm e C < e C. cm € C
In one embodiment of the invention, an iterative optimization approach such as 460 Newton-Rapson method is used to determine (x m, yCm) for each circle/circular arc c in the set of circle(s)/circular arc(s) that minimize Cost.
B.8 Circle(s)/Circular Arc(s) Estimation Constrained by a Same Radius and Centers on a given line
465
The structure constraint requires a same yet unknown radius value r for the circle(s)/circular arc(s) included for the estimation. It also requires that the centers of the circle(s)/circular arc(s) are located on a given line dx + ey + f = 0
470
This structure is similar to that is shown in Figure 11 with the exception that the common radius is unknown. The cost function is
V - 2 2 2 v
C <~-oυsstι = 2 t—-ιι ∑ w wr(χχι - χ Λcm ) + ( yι. - yy cm ) - d] - i Λ~l, λ m (d xcm + e > y cm + f ) cm e C C m cm e C
475 Where d = r .
In one embodiment of the invention, an iterative optimization procedure is used to determine r and (xcm, yrm) for each circle/circular arc c„, in the set of circle(s)/circular
480 arc(s) that minimize Cost. The iterative optimization procedure is shown in Figure 12. It starts with an initial estimate 1200 without any constraint and then estimates r given the initial estimate of ixcm, ycm) 1202. There is a closed form solution for this estimate. It then derives a new d = τ and updates the estimate of ixcm, ycm) given d 1204. This can be done using the method in section B.7. The r and (xcm, ycm)
485 estimate procedures are repeated until the values converge 1206 and the procedure is completed 1208.
B.9 Circle(s)/Circular Arc(s) Estimation Constrained by a Given Tangential line
490 The structure constraint gives a known tangential line dx + ey + f = 0 1116, 1118 for the circle(s) /circular arc(s) included for the estimation. The structure is illustrated in Figure 11.
The cost function is
2 . 2 , , „2_2
495 Cost Σ w tvι( [[((x,. " x X Λccmm )) + (_ ycm > (d x Λcm + e y cm + 0 ] cm e C C m
In one embodiment of the invention, an iterative optimization approach such as Newton-Rapson method is used to determine (xcm, ycm) for each circle/circular arc c in the set of circle(s)/circular arc(s) that minimize Cost.
500
B.10 Circle(s)/Circular Arc(s) Estimation Constrained by a Given Tangential line and a Given Radius
The structure constraint requires a known tangential line 1116, 1118 505 dx + ey + f = 0 and the radius r 1102,1110. The structure is illustrated in Figure 11.
The cost function is C <-os»t =
Figure imgf000019_0001
] cm 6 C Cm cm e C
510
In one embodiment of the invention, an iterative optimization approach such as Newton-Rapson method is used to determine (xcm, ycm) for each circle/circular arc c in the set of circle(s)/circular arc(s) that minimize Cost.
515 B.ll Circle(s)/Circular Arc(s) Estimation Constrained by a Given Tangential line and a Center lies in a line
The structure constraint gives a known tangential line 1116, 1118
520 dx + ey + f = 0
and the center pass through the line 1100 px + qy + r = 0 for the circle(s) /circular arc(s) included for the estimation. The structure is illustrated in Figure 11.
525 The cost function is
C t-o6,iit- =
Figure imgf000019_0002
Λ.m (P x xcm + Q l y ycm + r) m e C i e cm cm C
In one embodiment of the invention, an iterative optimization approach such as Newton-Rapson method is used to determine (xam ycm) for each circle/circular arc 530 cm in the set of circle(s)/circular arc(s) that minimize Cost.
B.12 Circle(s)/Circular Arc(s) Estimation Constrained by Given Tangential Lines
535 The structure constraint gives two known tangential lines 1117, 1116 dx+ey+f = 0 px + qy + r = 0
540 for the circle 1104 included for the estimation. The structure is illustrated in Figure 11. There are two steps to performing the estimation. Firstly, from two lines, we can calculate the middle line, and then using the method of B. l l, Circle(s)/Circular Arc(s) Estimation Constrained by a Given Tangential line and a Center lies in a line.
545 Those skilled in the art should recognize that the estimation method of this invention can include other two dimensional curves such as ellipse, parabola, hyperbola, cubic and higher order polynomial functions, spline functions, etc. Pre-processing such as orthogonal, perspective or other projections can be conducted to transform from other coordinate systems to the image coordinate before the estimation. Furthermore, the
550 structure-guided estimation of this invention can be generalized to estimate three dimensional or higher dimensional geometric entities by correlation of constraints among multiple images. Other types of cost function and estimation method can also be applied. For example, eigenvector fit rather than MSE fit can be used for estimation (Duda, RO and Hart PE, "Pattern Classification and Scene Analysis," John
555 Wiley and Sons, New York, 1973, PP.332-335.)
II.3 Robust Estimation
560 The structure-guided estimation uses structure constraints to resolve ambiguity and allows the use of more pixels (large n) for each estimation parameter. The estimation is based on two-dimensional weights that are derived from the image feature magnitude. Certain pixels in image feature region are more stable or contribute more to the result than others. The structure-guided estimation of this invention can
565 improve the estimation robustness through automatic learning. As shown in Figure 13, a reference learning process 1310 generates reference weights 1308 from the learning images 1300. The reference learning process disclosed in co-pending U.S. Patent Application Ser. No. 09/703018, "Automatic Referencing for Computer Vision Applications", by Shih-Jong J. Lee et. al, filed October 31, 2000 which is 570 incorporated in its entirety herein is used in one embodiment of the invention. The reference weights 1308 and the measured weights 1304 can be combined to form a robust weight image 1306 for estimation. In one embodiment of the invention, the combination is accomplished by a weighted average of the two images as follows:
575 I robust eιghl(X| >Vι ) = α(Xι .y>) I measured weιght(Xι .Yi ) + ( 1 -0 - 0C(x, ,y,)) I reference weιg t(X| ^1 )
Other combination methods such as maximum, minimum, multiplication, etc. of the two images can be used according to the characteristics for the particular application. Methods for using reference images are described in co-pending U.S. Patent
580 Application Ser. No. 09/703018, "Automatic Referencing for Computer Vision
Applications", by Shih-Jong J. Lee et. al, filed October 31, 2000 incorporated herein in its entirety. In another embodiment of the invention, a reference weight deviation image is generated and the deviation image is used to normalize the measured weights by an image division that can be implemented by a Look up Table:
585
I robust weιg t(Xι .yi )
Figure imgf000021_0001
) +
(l .U - 0C(X! ,yι) 1 reference weιght(Xι .yi )' A reference devιatιon( ι
,y. )
590 Co-pending U.S. Patent Application Ser. No. 09/693723 entitled, "Image Processing System with Enhanced Processing and Memory Management", by Shih-Jong J. Lee et. al, filed October 20, 2000 which is incorporated in its entirety herein describes Look Up Table methodology. In the structure-guided estimation process, the difference between the estimated geometric entities and the weight images can be
595 used to generate scores that indicate the reliability of each point in the estimation mask. Guided by the scores, accuracy and repeatability can be further improved by a robust estimation method. Figure 14 illustrates an example of the robust estimation process. Figure 14(a) 1400 is the initial weight data within the estimation mask. Figure 14(b) shows the initial estimation result 1412 superimposed on the original
600 weight data 1414. Based on the initial estimation result, reliability scores are generated. In one embodiment of the invention, the reliability score for a point i can be derived as follows: wi * Model _ Error{xi , y * ∑ 1 ύ ccorei — _ . meM l € Cm
Σ odel _ Error(χj , yt)]
Figure imgf000022_0001
605
Using the reliability score, the weights can be updated to reduce weights for the lower score points. Reductions occur on weight data points 1406 and 1408 in the figure 14(c) example. A new estimation is performed using the updated weights and a new estimation result is generated 1410. The reliability score guided weight adjustment 610 and estimation process is repeated until the estimation result converges or a maximum number of iterations is exceeded.
III. Structure-guided Measurements
615 After the structure-guided estimation, geometric entities are represented by their symbolic representations. Structure-guided measurements can be conducted using the symbolic representation of geometric entities. Measurements performed from the symbolic representation are not limited by image resolution or pixel quantization error and therefore can yield sub-pixel accuracy and repeatability.
620
In one embodiment of the invention, the measurements can be achieved by applying measurement rules to the estimated parameters of the symbolic representation of geometric entities. The following sections describe some measurement rules in one preferred embodiment of the invention.
625
III.l Intersection point between two non-parallel lines:
The intersection point to be determined is illustrated in Figure 15. Let the two lines 1500, 1504 be represented as
630 aλx + b y + c = 0
Figure imgf000022_0002
The intersection point (x, y) 1502 between the two lines can be determined by the following rule: 635 bλc2 -b c x = aλb2 - a2b
a b2 - a2b,
640 III.2 Smallest angle between two non-parallel lines:
The angle to be determined 1602 is illustrated in Figure 16. Let the two lines 1600, 1604 be represented as
Figure imgf000023_0001
545 a2x + ^ y + c2 = ^
The smallest angle Θ between the two lines can be determined from the following rule: 650
Figure imgf000023_0002
III.3 Distance between two non-parallel lines intersected by a reference line:
655 The distance to be determined 1704 is illustrated in Figure 17. Let the two lines 1700, 1706 be represented as
Line 1: a{x + bχy + c, = 0
Line 2: a2 + b2y + c2 = 0 t 660 and the reference line 1702 be represented by
Line r: <*rx + bry + Cf. = 0
Let the intersection between line 1 and line r 1710 be (xi, yi) and the intersection between line 2 and line r 1708 be (x2< y2h The distance d 1704 can be determined 665 from the following rule:
Figure imgf000024_0001
111.4 Shortest distance between a point and a line:
670 The shortest distance 1804 between a point 1802 and a line 1800 is illustrated in Figure 18.
Let the line be ax + by + c = 0
675 and the point be (xo, yo)
The shortest distance d between the point and the line is
Figure imgf000024_0002
680
111.5 Distance between two parallel lines:
The distance d 1904 between two parallel lines 1900, 1902 is illustrated in Figure 19.
685 Let the two lines be ax + by + c, = 0 and
ax + by + c = 0 . The distance d between the two parallel lines is
690 d = \ ~-> -2
Λ a2 + b2
111.6 Distance between two non-parallel lines at an equal angle intersection line passing a given point:
695
The distance 2002 between two non-parallel lines 2000, 2008 at an equal angle 2012, 2004 intersection line 2006 passing a given point 2010 is illustrated in Figure 20.
Let the two lines be 700 Line 1 : «ι + b{y + cγ = 0 and
Un& 2 a2x + b2y + c2 = 0 .
The given point 2010 is (xr, yr) and the intersection line is
Line r: a(x - xr ) + b(y - yr ) = 0 705 The equal angle constraint requires
Figure imgf000025_0001
With this constraint, the slope a and b of the intersection line can be solved using
known parameters a\ > b\ - a2 ' b2 • xr, yr ■
The distance d between the two non-parallel lines can then be determined with the 710 rules defined in section III.3.
111.7 Intersection points between a line and a circle:
The intersection points 2110, 2106, 2108 between a line 2100, 2102, 2104 and a circle 715 2112 is illustrated in Figure 21. Let the line representation be ax + b y + c = 0 and the circle representation be (x χy + (y-yr)
Let
720 D = a v + b v + c c
There are three cases: Case l: \ D\>r No intersection 725 Case 2: I D |= r
One intersection point at xc -αD, yc-bD) Case 3: I D |< r
Two intersection points at (x -aD + byr 2- D2 ,y -bD-a^r 2- D2 ) and
iXc - aD - bj r 2 - D2 , y c~ bD + aJ r 2 - D2 )
730
III.8 Intersection points between two circles:
The intersection points between two circles is illustrated in Figure 22 for three cases. Case 12200 is for non-intersection circles 2202 and 2214; case 22206 involves two 735 circles 2204, 2212 that have a single point of intersection 2214; case 32210 involves two circles 2208, 2212 having two points of intersection 2216, 2218.
Let the two circle representations be
2 2 2
(*-*,) +(y-y{) =
2 2 2
740 (x- χ ) +(y-y 2 ) = r 2
The line passes through the intersection point(s) of the circles is ax + by + c = 0
Where a = 2( 2 - Xr) ) b = 2(y - y ) ancj
2 2 , 2 2 c = χι -x2 +yι -y2 -
The rule in III.7 can be applied to find the intersection points between
ax + by + c = 0 and (χ -
Figure imgf000027_0001
III.9 Tangential lines of a circle and a given point:
The tangential lines of a circle and a given point is illustrated in Figure 23. Case 1 2308 shows the situation where a tangential line does not exist. Case 2 shows line
2300 tangent to circle 2312 at a single point 2310. Case 3 shows two lines 2306, 2304 tangent to circle 2312 at two points with the two lines having an intersection at 2302
Let the circle representation be
2 2 2 (χ-χ c) +(y-y ) = c l the point be (xp, yp)
We define the tangential line as ( -x ) + b(y-y ) = 0 a2+b2 =l
P P
2 2 2 Let D = (Λ-C - xp ) + (yc - y p )
2 2 Case 1: D < r
Tangential line does not exist
2 2 Case 2: D = r
One tangential line exists and is defined as follows: a = xc XP r
yc ~ y P b
2 2 Case 3: D > r
Two tangential lines exist. The first line is defined as follows:
r(χ c ~ xp) + (y. y V D ~ r
D
r(y c - y J p ) - (x c xp ) D b =
D
The second line is defined as follows:
r(χ c - χp) - (yc - yp)l D2 - r2 a =
2 D
Figure imgf000028_0001
Those skilled in the art should recognize that the measurement method of this invention can include other two dimensional measurements and the method can be generalized to three dimensional or higher dimensional measurements of geometric entities.
The invention has been described herein in considerable detail in order to comply with the Patent Statutes and to provide those skilled in the art with the information needed to apply the novel principles and to construct and use such specialized components as are required. However, it is to be understood that the inventions can be carried out by specifically different equipment and devices, and that various modifications, both as to the equipment details and operating procedures, can be accomplished without departing from the scope of the invention itself.

Claims

795 The Claims defining the invention are:
1. A structure-guided image estimation method comprising the steps of: a) receiving a measurement mask; b) receiving a measurement weight image; 800 c) Inputting at least one structure constraint; d) Performing at least one estimation from the weight image within the region defined by the measurement mask using the at least one structure constraint and e) generate a symbolic representation output of a geometric entity. 805
2. The method of claim 1 further comprises a structure-guided measurement step.
3. The method of claim 1 further comprises a measurement mask generation step.
810 4. The system of claim 1 further comprises a measurement weight generation step.
5. A structure-guided estimation method comprising the steps of: a) inputting at least one symbolic representation of a geometric entity; b) inputting at least one structure constraint;
815 c) performing parameter estimation of the symbolic representation using the at least one structure constraint.
6. The method of claim 5 wherein the symbolic representation of a geometric entity includes a point.
820
7. The method of claim 5 wherein the symbolic representation of a geometric entity includes a line.
8. The method of claim 5 wherein the symbolic representation of a geometric entity 825 includes a circle.
9. The method of claim 5 wherein the parameter estimation includes a line estimation.
10. The method of claim 5 wherein the parameter estimation includes a circle 830 estimation.
11. The method of claim 5 wherein the parameter estimation includes a circular arc estimation.
835 12. A robust weight estimation method comprising the steps of: a) receiving a plurality of learning images; b) performing reference learning to generate reference weights; c) receiving a measured weight image; d) combining the reference weight and measured weight images to produce 840 an output weight image.
13. A robust estimation method comprising the steps of: a) receiving a measurement weight image; b) performing an initial estimate for an image feature;
845 c) generating reliability scores from the measurement weight image and the initial estimate; d) updating the weight image using the reliability score; e) updating the initial estimate using the updated weight image.
850 14. A structure-guided measurement method comprising the step of: a) inputting at least one symbolic representation of a geometric entity; b) inputting at least one structure constraint; c) applying at least one measurement of the symbolic representation using the at least one structure constraint and
855 d) generate at least one measurement output.
15. The method of claim 14 wherein the measurement includes the determination of an intersection point.
860 16. The method of claim 14 wherein the measurement includes the determination of an angle.
17. The method of claim 14 wherein the measurement includes the determination of the distance between a point and a line.
865
18. The method of claim 14 wherein the measurement includes the determination of the distance between two lines.
19. The method of claim 14 wherein the measurement includes the determination of 870 the tangential line of a circle.
20. The method of claim 14 wherein the measurement includes the relative positions between two or more geometric entities.
875
PCT/US2001/048140 2000-12-15 2001-12-07 Structure-guided image measurement method WO2002063547A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US09/739,084 2000-12-15
US09/739,084 US6456741B1 (en) 2000-12-15 2000-12-15 Structure-guided image measurement method

Publications (1)

Publication Number Publication Date
WO2002063547A1 true WO2002063547A1 (en) 2002-08-15

Family

ID=24970746

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2001/048140 WO2002063547A1 (en) 2000-12-15 2001-12-07 Structure-guided image measurement method

Country Status (2)

Country Link
US (1) US6456741B1 (en)
WO (1) WO2002063547A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8952171B2 (en) 2013-03-15 2015-02-10 Global Blood Therapeutics, Inc. Compounds and uses thereof for the modulation of hemoglobin

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6735337B2 (en) * 2001-02-02 2004-05-11 Shih-Jong J. Lee Robust method for automatic reading of skewed, rotated or partially obscured characters
US8013301B2 (en) * 2003-10-08 2011-09-06 Applied Materials Israel, Ltd. Measurement system and a method
US7876934B2 (en) * 2004-11-08 2011-01-25 Siemens Medical Solutions Usa, Inc. Method of database-guided segmentation of anatomical structures having complex appearances
EP3243166B1 (en) 2015-01-06 2020-07-08 Sikorsky Aircraft Corporation Structural masking for progressive health monitoring

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5689585A (en) * 1995-04-28 1997-11-18 Xerox Corporation Method for aligning a text image to a transcription of the image

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5005147A (en) * 1988-12-30 1991-04-02 The United States Of America As Represented By The Administrator, The National Aeronautics And Space Administration Method and apparatus for sensor fusion
US5231580A (en) * 1991-04-01 1993-07-27 The United States Of America As Represented By The Secretary Of The Department Of Health And Human Services Automated method and apparatus for determining characteristics of nerve fibers
CA2130340C (en) * 1992-02-18 2000-06-06 Shih-Jong James Lee Method for identifying objects using data processing techniques

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5689585A (en) * 1995-04-28 1997-11-18 Xerox Corporation Method for aligning a text image to a transcription of the image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8952171B2 (en) 2013-03-15 2015-02-10 Global Blood Therapeutics, Inc. Compounds and uses thereof for the modulation of hemoglobin

Also Published As

Publication number Publication date
US20020110278A1 (en) 2002-08-15
US6456741B1 (en) 2002-09-24

Similar Documents

Publication Publication Date Title
US7526140B2 (en) Model-based localization and measurement of miniature surface mount components
US7894661B2 (en) Calibration apparatus, calibration method, program for calibration, and calibration jig
US8724121B2 (en) Measuring method of 3D image depth and a system for measuring 3D image depth using boundary inheritance based hierarchical orthogonal coding
McIvor et al. A comparison of local surface geometry estimation methods
JP5671281B2 (en) Position / orientation measuring apparatus, control method and program for position / orientation measuring apparatus
Xu et al. Line structured light calibration method and centerline extraction: A review
US9429421B2 (en) Distortion quantifier for analyzing surfaces
Takimoto et al. 3D reconstruction and multiple point cloud registration using a low precision RGB-D sensor
Tang et al. Camera self-calibration from tracking of moving persons
US11881000B2 (en) System and method for simultaneous consideration of edges and normals in image features by a vision system
US6993177B1 (en) Gauging based on global alignment and sub-models
US7251356B2 (en) Method for estimation of fundamental matrix in implementing a stereo vision
de Asís López et al. Point cloud comparison under uncertainty. Application to beam bridge measurement with terrestrial laser scanning
JP5976089B2 (en) Position / orientation measuring apparatus, position / orientation measuring method, and program
WO2002063547A1 (en) Structure-guided image measurement method
CN115239801B (en) Object positioning method and device
Molnár et al. ToFNest: Efficient normal estimation for time-of-flight depth cameras
Hajder et al. Automatic estimation of sphere centers from images of calibrated cameras
Romero-Manchado et al. Application of gradient-based edge detectors to determine vanishing points in monoscopic images: Comparative study
CN117197215B (en) Robust extraction method for multi-vision round hole features based on five-eye camera system
CN116523984B (en) 3D point cloud positioning and registering method, device and medium
Koch et al. Evolutionary algorithms for a mixed stereovision uncalibrated 3D reconstruction
US20230196699A1 (en) Method and apparatus for registrating point cloud data sets
Wang et al. Least‐squares model‐image fitting of floating models for building extraction from images
Mehltretter et al. Illumination invariant dense image matching based on sparse features

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NO NZ PH PL PT RO RU SD SE SG SI SK SL TJ TM TR TT TZ UA UG US UZ VN YU ZA ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZW AM AZ BY KG KZ MD RU TJ TM AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP

WWW Wipo information: withdrawn in national office

Country of ref document: JP