Claims
- 1. A method for processing scanned images comprising the steps of:
- producing an image comprising a plurality of pixels;
- generating a series of N patterns from the plurality of pixels by sampling groups of the plurality of pixels;
- said generating step includes calculating the frequency of a pixel being a `1` after a particular pattern is sampled predetermined number of times .eta..sub.j where the frequency is calculated from a first expression: ##EQU5## extracting a plurality of dominant pixels from the series of N patterns; generating a minimized feature template of each of the N patterns; and
- identifying each of the minimized feature templates of the N patterns.
- 2. The method of claim 1 where in said first expression of the generating step for each pattern v.sub.j, j .epsilon. P, and P={1,2, . . . N}, and .eta..sub.j =samples of v.sub.j (1), v.sub.j (2), . . . v.sub.j (.eta..sub.j) and where for the pixels of a particular pattern v.sub.j (k), k=1,2, . . . .eta..sub.j, and are `0`s or `1`s.
- 3. The method of claim 2 further comprising including choosing the estimate of said particular pattern by a second expression: ##EQU6## where v.sub.j is an estimate of said particular pattern v.sub.j ; v.sub.j and p.sub.ij are the i-th pixel of said v.sub.j and p.sub.j, respectively, `x` is a large integer such that x+N.noteq.x, i .epsilon. S, S={1,2, . . . ,M}, and M is the total number of pixels in one instance of said v.sub.j.
- 4. The method of claim 1 wherein said step of extracting a plurality of dominant pixels is defined by a third expression: ##EQU7## where v.sub.j is an estimate of a particular pattern v.sub.j and where the i-th entry of b, denoted by b.sub.i, i .epsilon. S, has four possible values: 1) b.sub.i =0, 2) b.sub.i =1, 3) 0<b.sub.i <1, and 4) b.sub.i =(.alpha./N)x, where .alpha. .epsilon. P.
- 5. The method of claim 4 wherein said values 1) and 2) of said b indicate that the i-th pixels of v.sub.1, V.sub.2,..., V.sub.N do not play any role in separating patterns and the value 4) of said b indicates the noise level of the i-th pixel and wherein a set of pixel indices to be eliminated is defined in a fourth expression as: ##EQU8## where .beta. .epsilon. P, and the set U.orgate.W.OR right.S contains non-feature pixels having indices eliminated from a set S.
- 6. The method of claim 1 further comprising the step of generating a minimized feature template includes the step of extracting a plurality of dominant pixel indices from each of the minimized feature templates.
- 7. The method of claim 1 wherein the patterns are recognized after mapping an unidentified pattern z to a low dimension vector based on predetermined indices.
- 8. The method of claim 1 wherein the produced image is an image of an electronic circuit.
- 9. An apparatus for processing scanned images comprising:
- means for producing an image comprising a plurality of pixels;
- means for generating a series of N patterns from the plurality of pixels by sampling groups of the plurality of pixels;
- said generating means further including a means for calculating the frequency of a pixel being a `1` after a particular pattern is sampled predetermined number of times .eta..sub.j, where the frequency is calculated from a first expression: ##EQU9## means for extracting a plurality of dominant pixels from the series of N patterns;
- means for generating a minimized feature template of each of the N patterns; and
- means for identifying each of the minimized feature templates of the N patterns.
- 10. The apparatus of claim 9 where in said first expression from the calculating means for each pattern v.sub.j, j .epsilon. P, and P={1,2, . . . N}, and .eta..sub.j =samples of v.sub.j (1), v.sub.j (2), . . . v.sub.j (.eta..sub.j), and where for the pixels of a particular pattern v.sub.j (k), k=1,2, . . ..eta..sub.j, and are `0`s or `1`s.
- 11. The apparatus of claim 10 further comprising including a means for choosing the estimate of a pattern by a second expression: ##EQU10## where v.sub.j is an estimate of said particular pattern v.sub.j ; v.sub.j and p.sub.ij are the i-th pixel of said v.sub.j and p.sub.j, respectively, `x` is a large integer such that x+N.noteq.x, i.epsilon.S, S={1,2, . . . ,M}, and M is the total number of pixels in one instance of said v.sub.j.
- 12. The apparatus of claim 9 wherein said means for extracting a plurality of dominant pixels determines which pixels to eliminate by a third expression: ##EQU11## where v.sub.j is an estimate of a particular pattern v.sub.j and where the i-th entry of b, denoted by b.sub.i, i .epsilon. S, has four possible values: 1) b.sub.i =0, 2) b.sub.i =1, 3) 0<b.sub.i <1, and 4) b.sub.i =(.alpha./N)x, where .alpha. .epsilon. P.
- 13. The apparatus of claim 12 wherein said values 1) and 2) of said b indicate that the i-th pixels of v.sub.1, v.sub.2, . . . ,v.sub.N do not play any role in separating patterns and the value 4) of said b indicates the noise level of the i-th pixel and wherein a set of pixel indices to be eliminated is defined by a fourth expression as: ##EQU12## where .beta. .epsilon. P, and the set U.orgate.W.OR right.S contains non-feature pixels having indices removed from a set S.
- 14. The apparatus of claim 9 wherein the minimized feature template includes a means for extracting a plurality of dominant pixel indices from each of the minimized feature templates.
- 15. The apparatus of claim 9 wherein the patterns are recognized after mapping an unidentified pattern z to a low dimension vector based on predetermined indices.
- 16. The apparatus of claim 9 wherein the produced image is an image of an electronic circuit.
- 17. The method of claim 1, wherein the produced image is an image represented by Boolean numbers.
- 18. The method of claim 1, further comprising employing said method in finite size Boolean data sequence pattern recognition.
- 19. The apparatus of claim 1, wherein the produced image is an image represented by Boolean numbers.
- 20. The apparatus of claim 1, further comprising employing said apparatus in finite size Boolean data sequence pattern recognition.
GOVERNMENTAL INTEREST
The invention described herein may be made, used, sold, imported, and/or licensed by, on behalf of, the Government of the United States of America without the payment of any royalties to us.
US Referenced Citations (6)