Method and apparatus for detecting edge spectral features
First Claim
1. An apparatus for the automatic recognition of images wherein characteristics of at least one prototype edge spectrum are compared with like characteristics at least partly derived from at least one input edge spectrum, the apparatus comprising;
- means for retrieving an image;
means for deriving an edge map from said image, the edge map comprising an array of edge elements each having a direction;
means for computing an input edge spectrum at a selected point on said edge map from a surrounding neighborhood of edge elements, said edge spectrum being divided into a plurality of spectrum components, each component representing the number of edge elements within said neighborhood having a direction within a specific angular range;
a feature detector means for detecting mutally orthogonal edges present in said neighborhood and for correlating characteristics of an image prototype and an input spectrum;
wherein for a set of first angularly adjacent spectrum components, said feature detector means adds to each first component a second component roughly colinear to said first component, to obtain a plurality of first sums, wherein said feature detector means adds to a third component of said spectrum roughly orthogonal to said first component a fourth component of said spectrum roughly colinear to said third component, to obtain a plurlaity of second sums, wherein said feature detector means multiplies said first sums by said second sums to obtain a plurality of products, and wherein said feature detector means sums the products to obtain an orthogonal edge activity magnitude, said magnitude being used to determine the relative number of mutually orthogonal edges in said neighborhood; and
means for generating an indication of recognition of said image in response to the result from said feature detector means.
1 Assignment
0 Petitions
Accused Products
Abstract
Edge maps (40) derived from images are used to compute edge spectra (44), an edge spectrum having a plurality of components (41, 43) corresponding to the angular bins (60) of edge vectors having equal angular widths. Various feature detectors (56) process the edge spectrum to yield information identifying the image. A linear detector correlates a shifted prototype edge spectrum (45) to an input spectrum (44). Nonlinear detectors analyze edge spectra to detect mutually orthogonal edges and edge reversal features (90). Higher level logic (30) is used to select certain detected edge reversal features (90) as the ends of an object (16) depicted in the image.
106 Citations
24 Claims
-
1. An apparatus for the automatic recognition of images wherein characteristics of at least one prototype edge spectrum are compared with like characteristics at least partly derived from at least one input edge spectrum, the apparatus comprising;
-
means for retrieving an image; means for deriving an edge map from said image, the edge map comprising an array of edge elements each having a direction; means for computing an input edge spectrum at a selected point on said edge map from a surrounding neighborhood of edge elements, said edge spectrum being divided into a plurality of spectrum components, each component representing the number of edge elements within said neighborhood having a direction within a specific angular range; a feature detector means for detecting mutally orthogonal edges present in said neighborhood and for correlating characteristics of an image prototype and an input spectrum; wherein for a set of first angularly adjacent spectrum components, said feature detector means adds to each first component a second component roughly colinear to said first component, to obtain a plurality of first sums, wherein said feature detector means adds to a third component of said spectrum roughly orthogonal to said first component a fourth component of said spectrum roughly colinear to said third component, to obtain a plurlaity of second sums, wherein said feature detector means multiplies said first sums by said second sums to obtain a plurality of products, and wherein said feature detector means sums the products to obtain an orthogonal edge activity magnitude, said magnitude being used to determine the relative number of mutually orthogonal edges in said neighborhood; and means for generating an indication of recognition of said image in response to the result from said feature detector means.
-
-
2. An apparatus for the automatic recognition of images wherein characteristics of at least one prototype edge spectrum are compared with like characteristics at least partly derived from at least one input edge spectrum, the apparatus comprising;
-
means for retrieving an image; means for deriving an edge map from said image, the edge map comprising an array of edge elements each having a direction; means for computing an input edge spectrum at a selected point on said edge map from a surrounding neighborhood of edge elements, said edge spectrum being divided into a plurality of spectrum components, each component representing the number of edge elements within said neighborhood having a direction within a specific angular range; a feature detector means for detecting mutually orthogonal edges present in said neighborhood and for correlating characteristics of an input spectrum and an image prototype; wherein said feature detector means multiplies the magnitude of each component of said spectrum by a magnitude of a second, roughly orthogonal angular component to obtain a plurality of products equal to the number of said components in said spectrum, and wherein the feature detector means sums said products to obtain an orthogonal edge activity magnitude for said neighborhood, said magnitude thereafter being used to determine whether said neighborhood contains a relatively large number of mutually orthogonal edges; and means for generating an indication of recognition of said image in response to output from said detector.
-
-
3. An apparatus for the automatic recognition of images wherein characteristics of at least one prototype edge spectrum are compared with like characteristics at least partly derived from at least one input edge spectrum, the apparatus comprising:
-
means for retrieving an image; means for deriving an edge map from said image, the edge map comprising an array of edge elements each having a direction; means for computing an input edge spectrum at a selected point on said edge map from a surrounding neighborhood of edge elements, said edge spectrum being divided into a plurality of spectrum components, each component representing the number of edge elements within said neighborhood having a direction within a specific angular range; a feature detector means for detecting edge directional reverals within said neighborhood, wherein said feature detector means finds a gap, said gap being comprised of a plurality of angularly adjacent components of said input spectrum each having a relatively low magnitude as compared to other components of said input spectrum angularly bounding said gap. wherein said feature detector means finds an edge reversal feature direction as a function of the average direction of said gap as rotated by 90°
;
, wherein said feature detector means calculates a size discriminant, the size discriminatn being a function of the total magnitude of said input spectrum and the number of pixels in said neighborhood, wherein said feature detector means calculates a symmetry discriminant, the symmetry discriminant being related to the difference in magnitude of said bounding components and wherein said feature detector means derives an edge reversal feature magnitude as a function of the size discriminant and the symmetry discriminant, the edge reversal feature magnitude and edge reversal direction being used to determine the existence and direction of an edge reversal feature within said neighborhood; andmeans for generating an indication of recognition of said image. - View Dependent Claims (4, 5, 6)
-
-
7. In an apparatus for the automatic recognition of images wherein edge maps are analyzed for the occurrence of orthogonal edge features, the improvement comprising:
-
means for storing an edge contained within a neighborhood of image pixels as an edge vector having magnitude and direction; means for accumulating edge vectors into an edge spectrum for said neighborhood, said spectrum having a plurality of components equal to a number of angular bins, each bin being of equal angular width; a feature detector means for detecting mutually orthogonal edges present within said neighborhood wherein said feature detector means, for a set of angularly adjacent first components, adds the magnitude of a roughly colinear second component to the magnitude of each of said first components to obtain a set of first sums wherein said feature detector means, for each of said first set of components, adds the magnitude of a thurd component orthogonal to one of said first components to the magnitude of a fourth component also orthogonal to said first component, to obtain a set of second sums and wherein said feature detector means calculates the minimum of each of said first sums and a corresponding second sum to obtain a set of orthogonal pair values, the feature detector means summing the orthogonal pair values to obtain an orthogonal edge activity feature magnitude for said neighborhood; and means for using said orthogonal edge activity feature magnitude to determine the relative number of mutually orthogonal edges present in said neighborhood.
-
-
8. In an apparatus for the automatic recognition of images wherein edge maps are analyzed for the occurrence of edge reversal features, the improvement comprising:
-
means for storing a number of edges contained within a neighborhood of image pixels as corresponding edge vectors having magnitude and direction; means for accumulating a plurality of said edge vectors into an input edge spectrum for said neighborhood, said spectrum being divided into a plurality of components equal to a number of angular bins, each bin being of equal angular width; a feature detector means for detecting edge directional reversals within said neighborhood for finding a gap, said gap being a plurality of angularly adjacent components of said spectrum, said adjacent components having a relatively low magnitude with respect to other components of said spectrum angularly bounding said gap; wherein said feature detector means finds a direction of an adge reversal feature as a function of the average of the angular bin number of each component in said gap as rotated by a number of bins equivalent to 90°
;wherein said feature detector means calculates size discriminant as a function of the total magnitude of said spectrum and the number of pixels within the image area represented by said neighborhood, said function reaching its greatest value when said spectrum magnitude equals a predetermined fraction of said area pixel number; wherein said feature detector means calculates a symmetry discriminant as a function of the difference of the magnitudes of said bounding components; and
wherein said feature detector means derives a nonzero edge reversal feature magnitude as a fuction of the size descriminant and the symmetry discriminant; andmeans for using the edge reversal feature magnitude and direction to determine the existence and direction of an edge reversal within said neighborhood. - View Dependent Claims (9, 10)
-
-
11. An apparatus for the detection of opposite ends of an at least roughly symmetrical object contained within an image, comprising:
-
means for detecting and storing edge elements contained within a neighborhood of image pixels in said image, each said edge element being represented by an edge vector having magnitude and direction, said edge-storing means storing edge vectors for a plurality of neighborhoods within said image as an edge map; means for accumulating said edge vectors for each neighborhood into an edge spectrum, each said spectrum being divided into a plurality of components equal to a number of angular bins, said bins being of equal angular width, each said component representing edge vectors having directions falling into said component'"'"'s angular bin; a detector for processing the edge spectrum for each neighborhood to find an edge directional reversal feature therewithin; means in said detector, for testing for a gap in each spectrum, said gap comprising a plurality of angularly adjacent components having relatively low magnitudes with respect to the components angularly bounding said gap; means in said detector for testing said spectrum for certain other characteristics, deriving a direction for an edge reversal feature as a function of the average of the angular bin numbers of said gap components, as rotated by a number of bins equivalent to 90°
;means in said detector for calculating a size discriminant for each edge reversal feature as a function of the total magnitude of said edge spectrum and the number of pixels in the corresponding neighborhood, and a symmetry discriminant related to the difference between the magnitudes of components bounding said gap; said detector deriving an edge reversal feature magnitude as a function of said size discriminant and said symmetry discriminant; said detector assigning a location to said edge reversal feature corresponding to the central pixel of the image neighborhood from which said edge reversal feature is derived; said apparatus further comprising means for purging all edge reversal features having submaximal magnitudes within a predetermined area of said edge map to leave one maximum edge reversal feature per area, said means purging a plurality of said areas comprising said edge map; means for choosing a first maximum edge reversal feature and searching for a second maximum edge reversal feature having an opposite direction, said first maximum edge reversal feature being purged if a corresponding second maximum edge reversal feature is not found, said last means testing each maximum edge reversal feature in like manner until only pairs of maximum edge reversal features of opposite directions remain; and means for choosing one of said pairs of said maximal edge reversal features as the ends of said object. - View Dependent Claims (12, 13, 14)
-
-
15. In a method for the automatic recognition of images wherein characteristics derived from at least one prototype image are compared to like characteristics of at least one input spectrum constructed from an input image, the steps of;
-
storing selected characteristics of said prototype image; retrieving an input image; converting said input image into an edge map, the edge map comprising a plurality of edge vectors each having an edge magnitude and an edge direction; computing an input edge spectrum at a selected point on said edge map from a surrounding neighborhood of edge vectors, said edge spectrum comprising a plurality of components each representing a number of edge vectors within said neighborhood, said edge vectors having directions falling within a specified angular range corresponding to one of said components; shifting an edge spectrum of said prototype by an angular lag; comparing said shifted prototype spectrum to said input spectrum; for each shift, calculating a correlation factor equal to the vector inner product of said shifted prototype spectrum and said input spectrum minus the norm of the difference of the squares of said shifted prototype spectrum and said input spectrum; and repeating the steps if shifting said prototype spectrum and calculating said correlation factor for a number of different consecutive angular lags equal to the number of components in said input spectrum and selecting the largest of said correlation factors to produce a correlation magnitude between the compared edge spectra thereby detecting a structural feature of said image within said neighborhood; and generating an indication of recognition of said image in response to said detection of said structural feature.
-
-
16. In a method for the automatic recognition of images wherein characteristics derived from at least one prototype image are compared to like characteristics of at least one input spectrum constructed from an input image, the steps of;
-
storing selected characteristics of said prototype image; retrieving an input image; converting said input image into an edge map, the edge map comprising a plurality of edge vectors each having an edge magnitude and an edge direction; computing an input edge spectrum at a selected point on said edge map from a surrounding neighborhood of edge vectors, said edge spectrum comprising a plurality of components each representing a number of edge vectors within said neighborhood, said edge vectors having directions falling within a specified angular range corresponding to one of said components; for a set of first, adjacent components comprising a first portion of said input spectrum, adding the magnitude of a roughly colinear second component to the magnitude of a first component, to obtain a plurality of first sums; for each first componenet, adding the magnitude of a roughly orthogonal third component of said input spectrum to the magnitude of a fourth component also roughly orthogonal to said first component, to obtain a set of second sums; thereafter taking the minimum of each of said first sums and a corresponding second sum to obtain a plurality of orthogonal edge pair values; summing the edge pair values to obtain an orthogonal edge activity magnitude; using said orthogonal edge activity magnitude to ascertain if said neighborhood has a relatively large number of mutually orthogonal edges, thereby detecting structural feature of said image within said neighborhood; and generating an indication of recognition of said image in resonse to said detection of said structural feature.
-
-
17. In a method for the automatic recognition of images wherein characteristics derived from at least one prototype image are compared to like characteristics of at least one input spectrum constructed from an input image, the steps of:
-
storing selected characteristics of said prototype image; retrieving an input image; converting said input image into an edge map, the edge map comprising a plurality of edge vectors each having an edge magnitude and an edge direction; suppressing those of said edge vectors having magnitudes below a selected threshold wherein the threshold is chosen so as to reject a constant percentage of said vectors for any edge map, thereby making said input spectrum independent of those changes of contrast with are uniform across said image; computing an input edge spectrum at a selected point on said edge map from a surrounding neighborhood of edge vectors, not including the suppressed edge vectors, said edge spectrum comprising a plurality of components each representing a number of edge vectors within said neighborhood, said edge vectors having directions falling within a specified angular range corresponding to one of said components; finding a gap composed of a plurality of angularly adjacent components of said input spectrum, each of said gap components having relatively low magnitudes as compared to other components angularly bounding said gap; testing said input spectrum for the existence of other characteristics based on the magnitude and angular location of said spectrum components; if said input spectrum passes said test, deriving an edge reversal feature direction as a function of an average of the direction of said gap as rotated by 90°
;for each edge reversal feature direction, calculating an edge reversal feature magnitude as a function of a size discriminant and a symmetry discriminant, said size discriminant being a function of the total magnitude of said spectrum and the number of image pixels represented by said neighborhood, the symmetry discriminant being calculated as a function of the difference of the magnitudes of said bounding components; using the edge reversal feature magnitude and the edge reversal feature direction to determine the existence and direction of an edge reversal within said neighborhood; and generating an indication of recognition of said image in response to the determination of the edge reversal. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification