Method for automatic recognition of two-dimensional shapes
First Claim
Patent Images
1. A method of automatically recognizing objects comprising:
- a. scanning said objects with a scanning means such as a video camera to produce signals representing each of said objects;
b. converting the signals into a digital image where the pixel coordinates of the boundary of each object have been identified and stored as data;
c. calculating from said data a series of Fourier coefficients c1 associated with the boundary of the object;
d. testing a given number N of the Fourier coefficients, except for the zero order Fourier coefficient, in a predetermined order for absolute values which exceed a predetermined value and generating a series of integers sn with values corresponding to the subscript of each coefficient tested having an absolute value exceeding the predetermined value, so that;
s1 =the subscript value of the first Fourier coefficient tested whose absolute value exceeds the predetermined value;
s2 =the subscript value of the next Fourier coefficient tested whose absolute value exceeds the predetermined value;
etce. calculating a first descriptor S as the number of Fourier coefficients cs.sbsb.n, whose absolute values exceed the predetermined value, identified in step b;
f. calculating the greatest common divisor r of the integers;
space="preserve" listing-type="equation">s.sub.n -s.sub.1, n=2, . . . , S Eq. 9g. calculating an integer J which is the smallest of all integers R which satisfy the condition that r is the greatest common divisor of the integers;
sn -s1, n=2, . . . , R Eq. 10h. calculating second descriptors an as the absolute values of the Fourier coefficients c1 whose absolute value exceeds the predetermined value, according to the definition;
space="preserve" listing-type="equation">a.sub.n Δ
|c.sub.s.sbsb.n |, n=1, . . . , J Eq. 11i. calculating a series of third descriptors bn,j according to the following definition;
space="preserve" listing-type="equation">b.sub.n,jΔ
c.sub.s.sbsb.1.sup.(s.sbsp.n.sup.s.sbsp.j.sup.)/r c.sub.s.sbsb.j.sup.(s.sbsp.1.sup.-s.sbsp.n.sup.)/r c.sub.s.sbsb.n.sup.(s.sbsp.j.sup.-s.sbsp.1.sup.)/r, n=J+1, . . . , S;
j=2, . . . , Jj. storing at least the first, second and third descriptors in a digital memory; and
k. comparing the stored descriptors with descriptors of other objects calculated according to steps c-i to thereby automatically recognize objects of the same shape.
6 Assignments
0 Petitions
Accused Products
Abstract
A method of automatically recognizing objects in a digital image. The pixel coordinates of the boundary of the objects are identified and stored as data. A series of Fourier coefficients describing the boundary of the object are calculated and used to generate a set of descriptors. The descriptors are stored and compared with similarly generated descriptors of other objects to determine correspondence therebetween.
-
Citations
6 Claims
-
1. A method of automatically recognizing objects comprising:
-
a. scanning said objects with a scanning means such as a video camera to produce signals representing each of said objects; b. converting the signals into a digital image where the pixel coordinates of the boundary of each object have been identified and stored as data; c. calculating from said data a series of Fourier coefficients c1 associated with the boundary of the object; d. testing a given number N of the Fourier coefficients, except for the zero order Fourier coefficient, in a predetermined order for absolute values which exceed a predetermined value and generating a series of integers sn with values corresponding to the subscript of each coefficient tested having an absolute value exceeding the predetermined value, so that; s1 =the subscript value of the first Fourier coefficient tested whose absolute value exceeds the predetermined value; s2 =the subscript value of the next Fourier coefficient tested whose absolute value exceeds the predetermined value;
etce. calculating a first descriptor S as the number of Fourier coefficients cs.sbsb.n, whose absolute values exceed the predetermined value, identified in step b; f. calculating the greatest common divisor r of the integers;
space="preserve" listing-type="equation">s.sub.n -s.sub.1, n=2, . . . , S Eq. 9g. calculating an integer J which is the smallest of all integers R which satisfy the condition that r is the greatest common divisor of the integers; sn -s1, n=2, . . . , R Eq. 10 h. calculating second descriptors an as the absolute values of the Fourier coefficients c1 whose absolute value exceeds the predetermined value, according to the definition;
space="preserve" listing-type="equation">a.sub.n Δ
|c.sub.s.sbsb.n |, n=1, . . . , J Eq. 11i. calculating a series of third descriptors bn,j according to the following definition;
space="preserve" listing-type="equation">b.sub.n,jΔ
c.sub.s.sbsb.1.sup.(s.sbsp.n.sup.s.sbsp.j.sup.)/r c.sub.s.sbsb.j.sup.(s.sbsp.1.sup.-s.sbsp.n.sup.)/r c.sub.s.sbsb.n.sup.(s.sbsp.j.sup.-s.sbsp.1.sup.)/r, n=J+1, . . . , S;
j=2, . . . , Jj. storing at least the first, second and third descriptors in a digital memory; and k. comparing the stored descriptors with descriptors of other objects calculated according to steps c-i to thereby automatically recognize objects of the same shape. - View Dependent Claims (2, 3, 4)
-
-
5. In a method of automatically recognizing objects in a digital image, the method comprising:
-
a. Scanning objects with a scanning means such as a camera to produce signals representing the objects; b. converting the signals into a digital image; c. detecting the boundaries of each object in the digital image to produce data representing the boundaries; d. converting said data to data representing the pixel coordinates of the polygons defining the boundary of each of the objects, with x and y coordinates of the vertices of the boundaries being defined as
space="preserve" listing-type="equation">v.sub.n =(x.sub.n, y.sub.n), n=1, . . . , N Eq. 1where N is the number of vertices; e. calculating parameters according to the following formulae;
space="preserve" listing-type="equation">x.sub.0 Δ
x.sub.N, y.sub.0 Δ
y.sub.N Eq. 2
space="preserve" listing-type="equation">z.sub.n Δ
x.sub.n +iy.sub.n, n=0, . . . , N(i=√
-1) Eq. 3 ##EQU26## f. calculating a series of Fourier coefficients where the zero order coefficient is defined as;
##EQU27## and wherein other Fourier coefficients are calculated according to the formula;for m≠
0, |m|≦
M, ##EQU28## g. calculating a series of first descriptors sn by testing a given number of the Fourier coefficients, excepting the zero order Fourier coefficient, in a predetermined order for absolute values which exceed a predetermined value, and assigning the first descriptors with integer values corresponding to the subscript of each Fourier coefficient tested having an absolute value exceeding the predetermined value, so that;s1 =the subscript value of the first Fourier coefficient tested whose absolute value exceeds the predetermined value; s2 =the subscript value of the next Fourier coefficient tested whose absolute value exceeds the predetermined value;
etc.h. calculating a second descriptor S as the number of the first descriptors identified in step c; i. calculating the greatest common divisor r of the integers;
space="preserve" listing-type="equation">s.sub.n -s.sub.1, n=2, . . . , S Eq. 9j. calculating an integer J which is the smallest of all integers R which satisfy the condition that r is the greatest common divisor of the integers;
space="preserve" listing-type="equation">s.sub.n -s.sub.1, n=2, . . . , R Eq. 10k. calculating a series of third descriptors an according to the formula;
space="preserve" listing-type="equation">a.sub.n Δ
|c.sub.s.sbsb.n |, n=1, . . . , J Eq. 11l. calculating a series of fourth descriptors bn,j according to the following definition;
space="preserve" listing-type="equation">b.sub.n,jΔ
c.sub.s.sbsb.1.sup.(s.sbsp.n.sup.-s.sbsp.j.sup.)/r c.sub.s.sbsb.j.sup.(s.sbsp.1.sup.-s.sbsp.n.sup.)/r c.sub.s.sbsb.n.sup.(s.sbsp.j.sup.-s.sbsp.1.sup.)/r, n=j+1, . . . , S;
j=2, . . . J Eq. 12m. calculating an orientation descriptor * according to the following formulae; pn, n=2, . . . , S, is any sequence of integers for which ##EQU29## θ
Δ
phase of ##EQU30## φ
Δ
phase of cs.sbsb.1 (0≦
φ
<
2π
) ##EQU31## n. storing the first, second, third, fourth and orientation descriptors in a digital memory; ando. comparing the stored descriptors with descriptors of other objects calculated according to steps e-l to thereby detect similarities and differences between the objects. - View Dependent Claims (6)
-
Specification