Method and circuit for recognition of colors
First Claim
1. In a method of preparing for and recognizing colors on a colored image with the aid of a light source of known spectral composition, each color corresponding to a color location in a color space, each color location being defined by a color component triplet representing the spatial coordinates of said color location in said color space, and being spaced from another color location by a spatial distance, said color space including at least one spatial color range being defined by at least one of said color locations,the steps comprising:
- preparatory to color recognitionselecting in said colors of said image a number of test points, each test point having a test point color;
illuminating said image with said light source;
photoelectrically measuring the color component triplets of the selected test point colors;
defining a certain identification symbol for each selected test point color;
assigning the defined identification symbols to the color locations corresponding to respective selected test point colors;
calling up a plurality of said color locations from said color space;
determining for each called-up color location the spatial distance separating said called-up color location from the color location of each selected test point color;
selecting the color location of each test point color having the shortest distance from any of said called-up color locations respectively;
determining the identification symbols corresponding to the color locations of said test point colors having said shortest distances, respectively;
assigning said determined identification symbols to said corresponding called-up color locations, so as to form color recognition ranges around the color locations of the selected test point colors within said color space, all color locations assigned the same identification symbol forming said color recognition ranges corresponding to said color ranges, respectively; and
thereafter performing the color recognition steps of;
photo-electrically scanning said colored image point-by-point and line-by-line so as to obtain the color component triplets corresponding to each color scanned from said image;
calling up the color locations represented by said color component triplets and the identification symbols associated therewith; and
reading out said associated identification symbols, whereby the image colors are identified.
2 Assignments
0 Petitions
Accused Products
Abstract
An apparatus and a method for the recognition of colors on a colored image illuminated with a light source of a known spectrum composition, wherein the intensities of three primary colors are measured opto-electronically as color components, which represent the spatial co-ordinates of the color locations in a color space. Prior to color recognition the color components of at least one characteristic test point in each color or color region, which is to be recognized, are measured and noted. The test color components represent the corresponding test color locations in the color space. An identification symbol is assigned to each color component triplet of the test points and noted too. The plurality of color locations in the color space are associated automatically with identification symbols in dependence their respective positions with respect to a spatially close-by test color location, whereby all color locations associated with the same identification symbol appertains to one color recognition region within the color space. Then the colored image is scanned opto-electronically for actual color recognition and the color components thereby obtained are compared with the color components noted, and in case of correspondence, the corrresponding assigned identification symbol is read out, whereby the color components of the colors are verified regarding their correspondence to one of the defined color recognition regions of the color space.
130 Citations
39 Claims
-
1. In a method of preparing for and recognizing colors on a colored image with the aid of a light source of known spectral composition, each color corresponding to a color location in a color space, each color location being defined by a color component triplet representing the spatial coordinates of said color location in said color space, and being spaced from another color location by a spatial distance, said color space including at least one spatial color range being defined by at least one of said color locations,
the steps comprising: -
preparatory to color recognition selecting in said colors of said image a number of test points, each test point having a test point color; illuminating said image with said light source; photoelectrically measuring the color component triplets of the selected test point colors; defining a certain identification symbol for each selected test point color; assigning the defined identification symbols to the color locations corresponding to respective selected test point colors; calling up a plurality of said color locations from said color space; determining for each called-up color location the spatial distance separating said called-up color location from the color location of each selected test point color; selecting the color location of each test point color having the shortest distance from any of said called-up color locations respectively; determining the identification symbols corresponding to the color locations of said test point colors having said shortest distances, respectively; assigning said determined identification symbols to said corresponding called-up color locations, so as to form color recognition ranges around the color locations of the selected test point colors within said color space, all color locations assigned the same identification symbol forming said color recognition ranges corresponding to said color ranges, respectively; and thereafter performing the color recognition steps of; photo-electrically scanning said colored image point-by-point and line-by-line so as to obtain the color component triplets corresponding to each color scanned from said image; calling up the color locations represented by said color component triplets and the identification symbols associated therewith; and reading out said associated identification symbols, whereby the image colors are identified. - View Dependent Claims (2, 3, 4, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34)
-
-
5. In a method for preparing and recognizing colors on a colored image with the aid of a light source of known spectral composition, each color location corresponding to a color location in a color space, said color locations being defined by color component triplets representing the spatial coordinates of said color locations in said color space, said color space including at least one spatial color range being defined by at least one color location,
the steps comprising: -
preparatory to color recognition selecting in said colors of said image a number of test points, each test point having a test point color; illuminating said image with said light source; photo-electrically measuring the color component triplets of the selected point colors; defining a certain identification symbol for each selected test point color; assigning the defined identification symbols to the color locations corresponding to respective selected test point colors; surrounding the color location of each test point color with selected color locations so as to form shells of successively increasing size around the color location of the color location of the corresponding test point color, calling-up said selected color locations shell by shell at successively increasing distances from the color location of the corresponding test point color, checking each called-up color location to determine whether an identification symbol has already been allotted thereto assigning the identification symbol allotted to a corresponding selected test point color to said called-up color location, provided no identification symbol has already been allotted to said called-up color location, all color locations bearing the same identification symbol thereby forming a color recognition region around the color locations of each corresponding selected test point color, each color recognition region representing a corresponding color range, thereafter performing the color recognition steps of; photo-electrically scanning said colored image so as to obtain the color component triplets corresponding to each image color, calling-up the color locations represented by said color component triplets and the identification symbols associated therewith, and reading out said identification symbols, whereby the image colors are identified. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23)
-
15. In a method as claimed in claims 5 or 6, wherein a representative shell is designated as the mth shell, the selected color locations of said mth shell having substantially a distance rm from the corresponding color location of the test point color, said corresponding color location of said test point color forming the center of said representative shell, and wherein the spatial coordinates of a selected color location of said mth shell with respect to said center are xsm, ysm, and zsm, the spatial coordinates of a corresponding color location of the test point color being xpn, xpn and zpn, the coordinates of the selected color locations called-up within said mth shell being the triplet xi, yi, and zi, and further comprising the step of determining said color component triplet coordinates xi, yi and zi in accordance with the vectorial equation
xi =xpn +xsm yi =ypn +ysm zi =zpn +zsm. -
16. In a method as claimed in claim 15, further utilizing first, second and third memories, having a plurality of first, second and third storage locations, respectively, and further comprising the steps, preparatory to color recognition, of
digitizing the color component triplets, subdividing said color space into a plurality of color zones, assigning said plurality of said first storage locations of said first memory to said color zones and to said identification symbols, respectively, said first storage locations being addressable by corresponding digitized color component triplets, storing the identification symbols associated with each selected test point color in corresponding of said first storage locations of said first memory; -
the digitized color component triplets (xpn, ypn, zpn) of the color locations of the test point colors and the identification symbols corresponding thereto constituting a sample list, storing said sample list in corresponding second storage locations of said second memory, the spatial coordinates (xsm, ysm, zsm) of the selected color locations forming said shells constituting a shell list, storing said shell list in corresponding third storage locations of said third memory, calling up the addresses of said second and of said third storage locations, determining the color component triplet coordinates (xi, yi, zi) of said selected color locations of said shells from said sample list and from said shell list, addressing said first storage locations by the so determined color component triplet coordinates, and wherein the checking step includes checking each of said addressed first storage locations of said first memory to determine whether an identification symbol has been stored therein, and in the event no identification symbol has been stored in a corresponding of said checked first storage location, storing the identification symbol associated with the corresponding test point color therein, and wherein the calling-up step of the color recognition steps includes addressing said first storage locations by the color component triplet coordinates obtained during the scanning step, and the reading out step includes reading out the identification symbols from said first storage locations.
-
-
17. In a method as claimed in claims 5 or 6, further comprising the step of terminating the formation of said shells upon one of said increasing distances from the color location of the corresponding test point color reaching a limiting distance.
-
18. In a method as claimed in claim 17, wherein said limiting distance is predetermined.
-
19. In a method as claimed in claim 17, wherein said limiting distance depends on the number of test point colors selected.
-
20. In a method as claimed in claims 5 or 6, wherein the checking step is carried out at a predetermined rate and further comprising the steps of terminating the formation of said shells, if the allotted identification symbols are encountered at a predetermined frequency.
-
21. In a method as claimed in claims 5 or 6, further comprising the step of terminating the formation of said shells upon shells formed from neighboring color locations of different test point colors making contact with one another.
-
22. In a method as claimed in claims 5 or 6, further comprising the steps of
terminating the formation of said shells, and the assignment of said identification symbols, thereafter calling up the color locations still free of any assigned identification symbols, assigning to each of said color locations still free of any assigned identification symbols the identification symbol corresponding to the color location of the test point color spatially closest to a corresponding of the color locations called-up. -
23. In a method as claimed in claim 22, wherein first, second and third memories are utilized, which have a plurality of first, second and third storage locations, respectively, and further comprising the steps, preparatory to color recognition, of
digitizing the color component triplets, subdividing said color space into a plurality of color zones, assigning said plurality of said first storage locations of said first memory to said color zones, and to said identification symbols, respectively, said first storage locations being addressable by corresponding digitized color component triplets, storing the identification symbols associated with each selected test point color in corresponding first storage locations of said first memory, the digitized color component triplets (xpn, ypn, zpn) of the color locations of the test point colors and the identification symbols corresponding thereto constituting a sample list, storing said sample list in corresponding second storage locations, of said second memory, the spatial coordinates (xsm, ysm, zsm) of the selected color locations forming said shells constituting a shell list, storing said shell list in corresponding third storage locations of said third memory, calling up the addresses of said second and of said third storage locations, determining the color component triplet coordinates (xi, yi, zi) of said selected color locations of said shells from said sample list and from said shell list, addressing said first storage locations by the so determined color component triplet coordinates, and wherein the checking step includes checking each of said addressed first storage locations of said first memory to determine whether an identification symbol has been stored in a corresponding of said checked first storage location, storing the identification symbol associated with the corresponding color location of the test point color therein, and following termination of the shell formation, alternately addressing and calling up said first storage locations still free from having an identification symbol stored therein, and thereafter said second storage locations, determining from the addressed and called-up first and second storage locations the color location of a test point color having the smallest spatial distance from each called-up color location, and the identification symbol stored in said second storage location corresponding thereto, storing each identification symbol corresponding to the color location of the test point color having the smallest spatial distance from each of said called-up color locations in said first storage locations, and wherein the calling-up step of the color recognition steps includes addressing said first storage locations by the color component triplets obtained during the scanning step, and the reading out step includes reading out the identification symbols corresponding to the color component triplets obtained during the scanning step which have addressed said first storage locations, whereby the colors are identified.
-
-
35. In an apparatus preparing for, and recognizing colors on a colored image with the aid of a light source of known spectral composition to illuminate said colored image, each image color corresponding to a color location in a color space, said color locations being defined by a color component triplet representing the spatial coordinates of said color locations in said color space, selected image colors being denoted as test point colors and the image colors being identifiable by corresponding color identification symbols,
comprising in combination: -
photo-electric transducer means for scanning said colored image and for measuring the color component triplets of the test point colors and of the image colors to be identified, analog-to-digital converter means postcoupled to said photo-electric transducer means for converting the measured analog component triplets into digitized color component triplets, color recognition memory means postcoupled to said analog-to-digital converter means, and including a plurality of first storage locations for storing said color identification symbols, said first storage locations being addressable by said digitized color component triplets, an identification symbol processor connected to said color recognition memory means, and including an input stage for the assignment of the identification symbols to the test point colors, respectively, a sample list being defined by the digitized color component triplets associated with the color locations of said test point colors, and the identification symbols assigned to the color locations of said test point colors, respectively, test point color memory means connected to said analog-to-digital converter means and to said input stage, and including a plurality of second storage locations for storing said sample list, address-control means connected to said color recognition memory means and to said test point color memory means for selecting addresses of said test point color memory means and of said color recognition memory means, and for calling up chosen color locations represented by said digitized color component triplets, and processing means connected to said test point color memory means, to said address control means, and to said color recognition means for determining the spatial distances separating called-up color locations represented by said called-up digitized color component triplets from said color locations of said test point colors represented by color component triplets contained in said sample list, respectively, and for determining the identification symbols to be assigned to the called-up digitized color component triplets, the so determined identification symbols being storable in said color recognition memory means and being capable of being called up therefrom. - View Dependent Claims (38, 39)
-
-
36. An apparatus for recognizing colors on a colored image with the aid of a light source of known spectral composition to illuminate said colored image, each image color corresponding to a color location in a color space, said color locations being defined by a color component triplet representing the spatial coordinates of said color locations in said color space, selected image colors being denoted as test point colors and the image colors being identifiable by corresponding color identification symbols,
comprising in combination: -
photo-electric transducer means for scanning said colored image and for measuring the color component triplets of the test point colors and of the image colors to be identified, analog-to-digital converter means postcoupled to said photo-electric transducer means for converting the measured analog component triplets into digitized color component triplets, color recognition memory means postcoupled to said analog-to-digital converter means, and including a plurality of first storage locations for storing said color identification symbols, said first storage locations being addressable by said digitized color component triplets, and an identification symbol processor connected to said color recognition memory means, including an input stage for the assignment of the identification symbols to the test point colors, respectively, a sample list being defined by the digitized color component triplets associated with the color locations of said test point colors and the identification symbols assigned to the color locations of said test point colors, respectively, test point color memory means connected to said analog-to-digital converter means and to said input stage, and including a plurality of second storage locations for storing said sample list, a shell being defined by surrounding the color location of each test point with selected color locations so as to form a multiplicity of shells of successively increasing size around the corresponding test point color, each shell having a plurality of shell coordinates, the shell coordinates of all shells defining a shell list, shell memory means including a plurality of third storage locations for storing said shell list, address-control means connected to said test point color memory means and to said shell memory means for addressing said test point color memory means and said shell memory means, processing means connected to said test point color memory means, to said shell memory means and to said color recognition memory means for determining selected addresses from said sample list and from said shell list for addressing said color recognition memory means by said selected addresses, and for determining the identification symbols to be assigned to the called-up addresses of said color recognition memory means, and switching means for checking whether said first storage locations of said color recognition memory means are free from any identification symbols already stored therein. - View Dependent Claims (37)
-
Specification