Compression and decompression method of image data
First Claim
1. A method of compressing image data comprising:
- a first process of dividing the image data into a plurality of blocks;
a second process of linearly scanning the image data within the block by a given scan method defining a pattern of linearly scanning the image data of the block so as to arrange the image data in series; and
a third process of compressing the arranged image data so as to reduce an amount of the image data of the block, wherein the second process and the third process are repeatedly applied to the same block with using different scan methods defining different patterns of linearly scanning the image data, then an optimum one of the different scan methods is selected, which succeeds in most reducing the amount of the image data, and the compressed image data arranged by the selected scan method is outputted together with indication of the selected scan method.
1 Assignment
0 Petitions
Accused Products
Abstract
A compressing method of image data is carried out by a first process of dividing the image data into a plurality of blocks, a second process of linearly scanning the image data within the block by a given scan method defining a pattern of linearly scanning the image data of the block so as to arrange the image data in series, and a third process of compressing the arranged image data so as to reduce an amount of the image data of the block. The second process and the third process are repeatedly applied to the same block with using different scan methods defining different patterns of linearly scanning the image data, then an optimum one of the different scan methods is selected, which succeeds in most reducing the amount of the image data, and the compressed image data arranged by the selected scan method is outputted together with indication of the selected scan method.
-
Citations
34 Claims
-
1. A method of compressing image data comprising:
-
a first process of dividing the image data into a plurality of blocks;
a second process of linearly scanning the image data within the block by a given scan method defining a pattern of linearly scanning the image data of the block so as to arrange the image data in series; and
a third process of compressing the arranged image data so as to reduce an amount of the image data of the block, wherein the second process and the third process are repeatedly applied to the same block with using different scan methods defining different patterns of linearly scanning the image data, then an optimum one of the different scan methods is selected, which succeeds in most reducing the amount of the image data, and the compressed image data arranged by the selected scan method is outputted together with indication of the selected scan method. - View Dependent Claims (2, 3, 4)
-
-
5. A method of applying either of a reversible compression and an irreversible compression to image data in response to a compressing instruction, the method comprising:
-
a first process of dividing the image data into a plurality of blocks;
a second process of linearly scanning the image data within the block by a given scan method defining a pattern of linearly scanning the image data of the block so as to arrange the image data in series;
a third process of applying a wavelet transform to the image data obtained by the second process;
a fourth process of performing quantization of the image data after the wavelet transform;
a fifth process of performing differential operation of the image data after the quantization; and
a sixth process of performing coding of the image data after the differential operation, wherein the method responds when the compressing instruction indicates the irreversible compression for repeatedly applying the first process through sixth process to the same block so as to reduce an amount of the image data by the irreversible compression while using different scan methods defining different patterns of linearly scanning the image data, then selecting an optimum one of the different scan methods, which succeeds in most reducing the amount of the image data, and outputting the irreversibly compressed image data after arranged by the selected scan method together with indication of the selected scan method, and wherein the method responds when the compressing instruction indicates the reversible compression for repeatedly applying the first process, second process, fifth process and sixth process to the same block with skipping the third process and fourth process so as to reduce an amount of the image data by the reversible compression while using different scan methods defining different patterns of linearly scanning the image data, then selecting an optimum one of the different scan methods, which succeeds in most reducing the amount of the image data, and outputting the reversibly compressed image data after arranged by the selected scan method together with indication of the selected scan method. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A decompression apparatus for decompressing image data which is provided in a compressed form together with indication of a scan method applied to the image data, which is compressed by a dividing process of dividing the image data into a plurality of blocks, a scanning process of linearly scanning the image data within the block by a given scan method defining a pattern of linearly scanning the image data of the block so as to arrange the image data in series, and a compressing process of compressing the arranged image data so as to reduce an amount of the image data of the block, wherein the scanning process and the compressing process are repeatedly applied to the same block with using different scan methods defining different patterns of linearly scanning the image data, then an optimum one of the different scan methods is selected, which succeeds in most reducing the amount of the image data, and the compressed image data arranged by the selected scan method is provided together with indication of the selected scan method, the apparatus comprising:
-
a decompressing section that decompresses the image data by reversely performing the compressing process;
a rearranging section that rearranges the series of the decompressed image data by an order reverse to that defined by the selected scanning method so as to restore each of the blocks; and
a storing section that collectively stores the restored blocks of the image data. - View Dependent Claims (16, 17)
-
-
18. A decompression apparatus for decompressing image data which is provided in a compressed form together with indication of a scan method and a compressing instruction applied to the image data, which has been compressed by a compression method comprising a dividing process of dividing the image data into a plurality of blocks, a scanning process of linearly scanning the image data within the block by a given scan method defining a pattern of linearly scanning the image data of the block so as to arrange the image data in series, a transform process of applying a wavelet transform to the image data obtained by the scanning process, a quantizing process of performing quantization of the image data after the wavelet transform, a differential process of performing differential operation of the image data after the quantization, and a coding process of performing coding of the image data after the differential operation, wherein the compression method responds when the compressing instruction indicates an irreversible compression for repeatedly applying the dividing process, scanning process, transform process, quantizing process, differential process and coding process to the same block so as to reduce an amount of the image data by the irreversible compression while using different scan methods defining different patterns of linearly scanning the image data, then selecting an optimum one of the different scan methods, which succeeds in most reducing the amount of the image data, and outputting the irreversibly compressed image data after arranged by the selected scan method together with indication of the selected scan method, and wherein the compression method responds when the compressing instruction indicates a reversible compression for repeatedly applying the dividing process, scanning process, differential process and coding process to the same block with skipping the transform process and quantizing process so as to reduce an amount of the image data by the reversible compression while using different scan methods defining different patterns of linearly scanning the image data, then selecting an optimum one of the different scan methods, which succeeds in most reducing the amount of the image data, and outputting the reversibly compressed image data after arranged by the selected scan method together with indication of the selected scan method, the decompression apparatus comprising:
-
a first decoding section that decodes the image data by reversely performing the coding applied to the compressed image data;
an adding section that performs adding operation of the decoded image data to remove the differential operation applied to the image data;
a second decoding section being operative when the compressing instruction indicates that the image data has been irreversibly compressed for performing a reverse quantization and a reverse wavelet transform to the image data fed from the adding section so as to decompress the image data, and being operative when the compressing instruction indicates that the image data has been reversibly compressed for applying no operation to the image data fed from the adding section;
a rearranging section that rearranges the series of the image data fed from the second decoding section by an order reverse to that defined by the selected scanning method so as to restore each of the blocks; and
a storing section that stores each of the restored blocks to thereby obtain an expanded form of the compressed image data. - View Dependent Claims (19, 20, 21, 22, 23)
-
-
24. A decompression program executable in a decompression apparatus for decompressing image data which is provided in a compressed form together with indication of a scan method applied to the image data, which has been compressed by a dividing process of dividing the image data into a plurality of blocks, a scanning process of linearly scanning the image data within the block by a given scan method defining a pattern of linearly scanning the image data of the block so as to arrange the image data in series, and a compressing process of compressing the arranged image data so as to reduce an amount of the image data of the block, wherein the scanning process and the compressing process are repeatedly applied to the same block with using different scan methods defining different patterns of linearly scanning the image data, then an optimum one of the different scan methods is selected, which succeeds in most reducing the amount of the image data, and the compressed image data arranged by the selected scan method is provided together with indication of the selected scan method, the decompression program being executed to perform a decompression method comprising:
-
a decompressing process for decompressing the image data by reversely performing the compressing process;
a rearranging process for rearranging the series of the decompressed image data by an order reverse to that defined by the selected scanning method so as to restore each of the blocks; and
a storing process for collectively storing the restored blocks of the image data. - View Dependent Claims (25, 26)
-
-
27. A decompression program executable in a decompression apparatus for decompressing image data which is provided in a compressed form together with indication of a scan method and a compressing instruction applied to the image data, which has been compressed by a compression method comprising a dividing process of dividing the image data into a plurality of blocks, a scanning process of linearly scanning the image data within the block by a given scan method defining a pattern of linearly scanning the image data of the block so as to arrange the image data in series, a transform process of applying a wavelet transform to the image data obtained by the scanning process, a quantizing process of performing quantization of the image data after the wavelet transform, a differential process of performing differential operation of the image data after the quantization, and a coding process of performing coding of the image data after the differential operation, wherein the compression method responds when the compressing instruction indicates an irreversible compression for repeatedly applying the dividing process, scanning process, transform process, quantizing process, differential process and coding process to the same block so as to reduce an amount of the image data by the irreversible compression while using different scan methods defining different patterns of linearly scanning the image data, then selecting an optimum one of the different scan methods, which succeeds in most reducing the amount of the image data, and outputting the irreversibly compressed image data after arranged by the selected scan method together with indication of the selected scan method, and wherein the compression method responds when the compressing instruction indicates a reversible compression for repeatedly applying the dividing process, scanning process, differential process and coding process to the same block with skipping the transform process and quantizing process so as to reduce an amount of the image data by the reversible compression while using different scan methods defining different patterns of linearly scanning the image data, then selecting an optimum one of the different scan methods, which succeeds in most reducing the amount of the image data, and outputting the reversibly compressed image data after arranged by the selected scan method together with indication of the selected scan method, the decompression program being executable to perform a decompression method comprising:
-
a first decoding process for decoding the image data by reversely performing the coding applied to the compressed image data;
an adding process for performing adding operation of the decoded image data to remove the differential operation applied to the image data;
a second decoding process being commenced when the compressing instruction indicates that the image data has been irreversibly compressed for performing a reverse quantization and a reverse wavelet transform to the image data fed from the adding process so as to decompress the image data, and being commenced when the compressing instruction indicates that the image data has been reversibly compressed for applying no operation to the image data fed from the adding process;
a rearranging process for rearranging the series of the image data fed from the second decoding process by an order reverse to that defined by the selected scanning method so as to restore each of the blocks; and
a storing process for storing each of the restored blocks to thereby obtain an expanded form of the compressed image data. - View Dependent Claims (28, 29, 30, 31, 32)
-
-
33. A decompression method for decompressing image data which is provided in a compressed form together with indication of a scan method applied to the image data, which has been compressed by a dividing process of dividing the image data into a plurality of blocks, a scanning process of linearly scanning the image data within the block by a given scan method defining a pattern of linearly scanning the image data of the block so as to arrange the image data in series, and a compressing process of compressing the arranged image data so as to reduce an amount of the image data of the block, wherein the scanning process and the compressing process are repeatedly applied to the same block with using different scan methods defining different patterns of linearly scanning the image data, then an optimum one of the different scan methods is selected, which succeeds in most reducing the amount of the image data, and the compressed image data arranged by the selected scan method is provided together with indication of the selected scan method, the decompression method comprising:
-
a decompressing process for decompressing the image data by reversely performing the compressing process;
a rearranging process for rearranging the series of the decompressed image data by an order reverse to that defined by the selected scanning method so as to restore each of the blocks; and
a storing process for collectively storing the restored blocks of the image data.
-
-
34. A decompression method for decompressing image data which is provided in a compressed form together with indication of a scan method and a compressing instruction applied to the image data, which has been compressed by a compression method comprising a dividing process of dividing the image data into a plurality of blocks, a scanning process of linearly scanning the image data within the block by a given scan method defining a pattern of linearly scanning the image data of the block so as to arrange the image data in series, a transform process of applying a wavelet transform to the image data obtained by the scanning process, a quantizing process of performing quantization of the image data after the wavelet transform, a differential process of performing differential operation of the image data after the quantization, and a coding process of performing coding of the image data after the differential operation, wherein the compression method responds when the compressing instruction indicates an irreversible compression for repeatedly applying the dividing process, scanning process, transform process, quantizing process, differential process and coding process to the same block so as to reduce an amount of the image data by the irreversible compression while using different scan methods defining different patterns of linearly scanning the image data, then selecting an optimum one of the different scan methods, which succeeds in most reducing the amount of the image data, and outputting the irreversibly compressed image data after arranged by the selected scan method together with indication of the selected scan method, and wherein the compression method responds when the compressing instruction indicates a reversible compression for repeatedly applying the dividing process, scanning process, differential process and coding process to the same block with skipping the transform process and quantizing process so as to reduce an amount of the image data by the reversible compression while using different scan methods defining different patterns of linearly scanning the image data, then selecting an optimum one of the different scan methods, which succeeds in most reducing the amount of the image data, and outputting the reversibly compressed image data after arranged by the selected scan method together with indication of the selected scan method, the decompression method comprising:
-
a first decoding process for decoding the image data by reversely performing the coding applied to the compressed image data;
an adding process for performing adding operation of the decoded image data to remove the differential operation applied to the image data;
a second decoding process being commenced when the compressing instruction indicates that the image data has been irreversibly compressed for performing a reverse quantization and a reverse wavelet transform to the image data fed from the adding process so as to decompress the image data, and being commenced when the compressing instruction indicates that the image data has been reversibly compressed for applying no operation to the image data fed from the adding process;
a rearranging process for rearranging the series of the image data fed from the second decoding process by an order reverse to that defined by the selected scanning method so as to restore each of the blocks; and
a storing process for storing each of the restored blocks to thereby obtain an expanded form of the compressed image data.
-
Specification