Claims
- 1. A method for processing signals representative of color image data representative of a physical image comprising a plurality of pixels, said method comprising the steps of, by computer:
- generating electrical signals corresponding to color image data representative of said physical image, said electrical signals representing, for each of said pixels, values of each of three primary colors for said pixel, each of said values having upper bits and lower bits of predetermined lengths;
- defining as color data said upper bits of said signals;
- defining representative color codes for said image, said codes consisting of said color data sequentially concatenated;
- grouping together said electrical signals representative of said pixels in said plurality of pixels having identical representative color codes to form at least one color group;
- determining a representative code having a red component, a green component and a blue component for each said at least one group as follows: ##EQU6## where R.sub.rep,k is the red component of said representative color of the k-th group,
- G.sub.rep,k is the green component of said representative color of the k-th group,
- B.sub.rep,k is the blue component of said representative color of the k-th group,
- R.sub.k,i is a red component of the i-th color in the k-th group,
- G.sub.k,i is a green component of the i-th color in the k-th group,
- B.sub.k,i is a blue component of the i-th color in the k-th group, and
- P(C.sub.k,i) is the number of pixels included in the i-th color of the k-th color group, and where the representative code for the k-th color group is formed by concatenating the red, green and blue components of the k-th color group.
- 2. The method of claim 1, further comprising the steps of:
- determining whether a color corresponding to the k-th representative code is present in said k-th group;
- when said color determined not to be present in said k-th group, finding a color of maximal number of pixels in said k-th group; and
- substituting for said representative color code a color code of said color of said maximal number of pixels.
- 3. The method of claim 1, wherein the value of each primary color for each of said pixel values is represented by an eight-bit binary number, or which seven bits comprise said upper bits and one bit comprises said lower bits.
Priority Claims (1)
Number |
Date |
Country |
Kind |
4-69510 |
Feb 1992 |
JPX |
|
Parent Case Info
This application is a continuation-in-part of U.S. patent application Ser. No. 08/015,123 Feb. 9, 1993, now abandoned, which is hereby incorporated herein by reference.
US Referenced Citations (4)
Number |
Name |
Date |
Kind |
4907075 |
Braudaway |
Mar 1990 |
|
5047842 |
Bouman, Jr. et al. |
Sep 1991 |
|
5049986 |
Auno et al. |
Sep 1991 |
|
5222154 |
Graham et al. |
Jun 1993 |
|
Foreign Referenced Citations (1)
Number |
Date |
Country |
5242234 |
Sep 1993 |
JPX |
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
15123 |
Feb 1993 |
|