摘要 |
In a color table in a computer unit for the classification of picture elements in an image, a table is constructed in which an entry is made for each color displayable by the computer unit as to whether the corresponding color corresponds to a selectable, predetermined color, or is not similar to the selectable color. For this purpose, all color values are transformed into a two-dimensional color space. The user marks a region of selectable size that comprises the selectable predetermined color on the image. An average value is calculated over this region leaving color values in the region that diverge greatly from the selectable predetermined color value out of consideration. On the basis of geometric considerations, a check is made for each color value to see whether it is adequately similar to the selectable predetermined color or not. The binary check result is entered into the color table, which contains an entry for each color displayable by the computer unit.
|