Claims
- 1. An image encoding method comprising:
- a first inputting step of inputting a plurality of bits of signals representing a color of each of a plurality of pixels in a color image;
- a second inputting step of inputting a binary signal representing whether each of a plurality of pixels in a monochromatic image is black or white;
- a converting step of converting the plurality of bits of signals into a bit stream signal representing a color of each of a plurality of pixels in the color image;
- a third inputting step of inputting a switching signal;
- a selecting step of selecting one of the bit stream signal and the binary signal on the basis of the switching signal;
- a compressing step of compressing the selected signal by a prediction encoding; and
- an adding step of adding, to the compressed signal, identification data representing a result of the selection.
- 2. A method according to claim 1, wherein the bit stream signal has a length dependent on a color of pixel represented by the plurality of bits of signals.
- 3. A method according to claim 2, wherein the bit stream signal comprises bits of logic "0" and/or logic "1", and a number of bits of logic "0" in the bit stream signal is different for each color.
- 4. A method according to claim 1, wherein in said compressing step, the selected signal is compressed by an arithmetic code as the prediction encoding.
- 5. A method according to claim 1, wherein in said compressing step, a parameter for the prediction encoding is changed in accordance with a color represented by the selected signal.
- 6. A method according to claim 1, wherein in said compressing step, the prediction encoding is adaptively executed.
- 7. A method according to claim 1, wherein the plurality of bits of signals represent one of white, black, red, green, blue, cyan magenta and yellow.
- 8. An image encoding apparatus comprising:
- first inputting means for inputting a plurality of bits of signals representing a color of each of a plurality of pixels in a color image;
- second inputting means for inputting a binary signal representing whether each of a plurality of pixels in a monochromatic image is black or white;
- converting means for converting the plurality of bits of signals into a bit stream signal representing a color of each of a plurality of pixels in the color image;
- third inputting means for inputting a switching signal;
- selecting means for selecting one of the bit stream signal and the binary signal on the basis of the switching signal;
- compressing means for compressing the selected signal by a prediction encoding; and
- adding means for adding, to the compressed signal, identification data representing a result of the selection.
- 9. An apparatus according to claim 8, wherein the bit stream signal has a length dependent on a color of pixel represented by the plurality of bits of signals.
- 10. An apparatus according to claim 9, wherein the bit stream signal comprises bits of logic "0" and/or logic "1", and a number of bits of logic "0" in the bit stream signal is different for each color.
- 11. An apparatus according to claim 8, wherein said compressing means compresses the selected signal by an arithmetic code as the prediction encoding.
- 12. An apparatus according to claim 8, wherein said compressing means compresses the selected signal in accordance with a parameter associated with a color represented by the selected signal.
- 13. An apparatus according to claim 8, wherein the plurality of bits of signals represent one of white, black, red, green, blue, cyan, magenta and yellow.
Priority Claims (2)
Number |
Date |
Country |
Kind |
1-106608 |
Apr 1989 |
JPX |
|
1-106609 |
Apr 1989 |
JPX |
|
Parent Case Info
This application is division of application Ser. No. 79/982,115 filed Nov. 25, 1992, U.S. Pat. No. 5,317,428, which was a continuation of application Ser. No. 07/514,766 filed Apr. 26, 1990, now abandoned.
US Referenced Citations (11)
Foreign Referenced Citations (1)
Number |
Date |
Country |
0284281 |
Sep 1988 |
EPX |
Divisions (1)
|
Number |
Date |
Country |
Parent |
982115 |
Nov 1992 |
|
Continuations (1)
|
Number |
Date |
Country |
Parent |
514766 |
Apr 1990 |
|