Claims
- 1. An image data compression apparatus comprising:an input unit adapted to input multilevel image data of an image; a judgment unit adapted to judge a type of an image area of the inputted multilevel image data; a non-reversible compression unit adapted to non-reversibly compress the inputted multilevel image data; and a reversible compression unit adapted to reversibly compress the inputted multilevel image data, wherein said apparatus compresses areas comprising the image according to a result obtained by said judgment unit, such that: when said judgment unit judges an area to be a first type of image area, final compressed data is generated and outputted by non-reversibly compressing data of the first type of image area, and when said judgment unit judges an area to be a second type of image area, reversibly compressed data is generated by reversibly compressing data of the second type of image area using said reversible compression unit, the reversibly compressed data being output as final compressed data when an amount of the reversibly compressed data is not more than a predetermined value, and non-reversibly compressed data is generated by non-reversibly compressing data of the second type of image area using said non-reversible compression unit, the non-reversibly compressed data being output as final compressed data when an amount of the reversibly compressed data is more than the predetermined value, and wherein said apparatus compresses a third type of image area comprised of a natural image and another image according to a result obtained by said judgment unit, generates reversibly compressed data by reversibly compressing data of the third type of image area where a part of the natural image is replaced with the other image in the third type of image area, and, when an amount of the reversibly compressed data is not more than the predetermined value, outputs as final compressed data the reversibly compressed data and compressed data obtained by non-reversibly compressing the part of the natural image of the third type of image area and an interpolation value, and, when the amount of the reversibly compressed data is more than the predetermined value, outputs as final compressed data compressed data obtained by non-reversibly compressing the data of the third type of image area.
- 2. An apparatus according to claim 1, wherein the first type of image area is comprised of a natural image and the second type of image area is comprised of an image other than a natural image.
- 3. An apparatus according to claim 2, wherein said judgment unit executes judgment in units of blocks comprising m×n pixels, andwherein an operation control of said non-reversible compression unit and said reversible compression unit is executed in a block unit.
- 4. An apparatus according to claim 1, wherein said non-reversible compression unit executes ADCT compression.
- 5. An image data compression method comprising:an input step of inputting multilevel image data of an image; a judgment step of judging a type of an image area of the inputted multilevel image data; a non-reversible compression step of non-reversibly compressing the inputted multilevel image data; and a reversible compression step of reversibly compressing the inputted multilevel image data, wherein said method compresses areas comprising the image according to a result obtained in said judgment step, such that: when said judgment step judges an area to be a first type of image area, final compressed data is generated and outputted by non-reversibly compressing data of the first type of image area, and when said judgment step judges an area to be a second type of image area, reversibly compressed data is generated by reversibly compressing data of the second type of image area, the reversibly compressed data being output as final compressed data when an amount of the reversibly compressed data is not more than a predetermined value, and non-reversibly compressed data is generated by non-reversibly compressing data of the second type of image area, the non-reversibly compressed data being output as final compressed data when an amount of the reversibly compressed data is more than the predetermined value, and wherein said method compresses a third type of image area comprised of a natural image and another image according to a result obtained in said judgment step, generates reversibly compressed data by reversibly compressing data of the third type of image area where a part of the natural image is replaced with the other image in the third type of image area, and, when an amount of the reversibly compressed data is not more than the predetermined value, outputs as final compressed data the reversibly compressed data and compressed data obtained by non-reversibly compressing the part of the natural image of the third type of image area and an interpolation value, and, when the amount of the reversibly compressed data is more than the predetermined value, outputs as final compressed data compressed data obtained by non-reversibly compressing the data of the third type of image area.
Priority Claims (3)
Number |
Date |
Country |
Kind |
4-217038 |
Aug 1992 |
JP |
|
4-261914 |
Sep 1992 |
JP |
|
5-009248 |
Jan 1993 |
JP |
|
Parent Case Info
This application is a continuation of application Ser. No. 08/491,100 filed on Jun. 16, 1995, now abandoned, which is a continuation of application Ser. No. 08/106,556 filed on Aug. 16, 1993, now abandoned.
US Referenced Citations (23)
Continuations (2)
|
Number |
Date |
Country |
Parent |
08/491100 |
Jun 1995 |
US |
Child |
08/855504 |
|
US |
Parent |
08/106556 |
Aug 1993 |
US |
Child |
08/491100 |
|
US |