Image encoding method, image decoding method, moving-image compression method, moving-image expansion method, image encoding program, image decoding device, image encoding device, image encoding/decoding system, and extended image compression/expansion system
First Claim
1. An image encoding method comprising:
- applying a spatial frequency transformation to an image data to obtain transform coefficients;
encoding the transform coefficients as coded data;
generating a header portion of the coded data comprising information related to the image data;
wherein, prior to applying the spatial frequency transformation, applying to the image data a reversible spatial transformation adapted to the image data; and
adding into the header portion header information necessary for inverse transforming the reversible spatial transformation.
2 Assignments
0 Petitions
Accused Products
Abstract
The present image encoding method and the like represents a pixel block prior to performing spatial frequency transformation in processing such as JPEG or the like as a matrix, calculates sum data sc (i) of pixel values in a column i in the matrix and sum data sr (j) of pixel values in a row j in the matrix, calculates nc (i) and nr (j) such that the sc (i) and sc (j) are arrayed in descending order respectively, and when a predetermined condition that permutation is considered reasonable is satisfied, performs permutation of the matrix, generates header information Ph (n) including the nc (i) and nr (j) necessary for subjecting the matrix to permutation in the original state, and adds this to the header of a compressed image file such as JPEG or the like.
45 Citations
40 Claims
-
1. An image encoding method comprising:
-
applying a spatial frequency transformation to an image data to obtain transform coefficients;
encoding the transform coefficients as coded data;
generating a header portion of the coded data comprising information related to the image data;
wherein, prior to applying the spatial frequency transformation, applying to the image data a reversible spatial transformation adapted to the image data; and
adding into the header portion header information necessary for inverse transforming the reversible spatial transformation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40)
-
-
13. An image encoding method applicable to a JPEG encoding process, which includes
a) partitioning of an image into a plurality of 8× - 8 image blocks;
b) applying a discrete cosine transform to each of the 8×
8 image blocks to thereby obtain DCT coefficients including a DC coefficient indicative of a mean value of the 8×
8 image block, low-frequency AC coefficients and high-frequency AC coefficients;
c) quantizing the DCT coefficients using a quantization table;
d) encoding the quantized DCT coefficients using run-length coding and a subsequent Huffman coding; and
e) generating a header portion, the method comprising;
applying a reversible spatial transformation to at least one 8×
8 image block prior to applying the discrete cosine transform, whereby the reversible spatial transformation is selected adaptively in response to the at least one 8×
8 image block;
extracting spatial transformation parameters necessary for inverse transforming the spatial transformation; and
adding header information indicative of the spatial transformation parameters into the header portion. - View Dependent Claims (14)
- 8 image blocks;
-
15. An image decoding method for decoding encoded image data, which comprises a header portion and a coded data portion, comprising:
-
reading out the header portion of the encoded image data to extract information related to an image data;
decoding the coded data to obtain transform coefficients in spatial frequency domain;
applying an inverse spatial frequency transformation to the transform coefficients to thereby obtain a second image data;
the decoding method further comprising extracting information necessary for inverse transforming a reversible spatial transformation;
applying the inverse transformation of the reversible spatial transformation to the second image data to obtain the image data. - View Dependent Claims (16)
-
-
17. A moving-image compression method for encoding moving image data comprising image frames in a time-series-like relation using intra-frame compression based on image data within one image frame and inter-frame compression based on multiple image frames,
wherein the intra-frame compression includes partitioning an image frame into image blocks; - applying a spatial frequency transformation to the image blocks to obtain transform coefficients; and
generating a header portion comprising information related to the image frame, the intra-frame compression further comprising;
applying a reversible spatial transformation to at least one of the image blocks prior to applying the spatial frequency transformation; and
adding into the header portion header information comprising spatial transformation parameters necessary for inverse transforming the reversible spatial transformation. - View Dependent Claims (18)
- applying a spatial frequency transformation to the image blocks to obtain transform coefficients; and
-
19. A moving-image compression method for encoding moving image data comprising image frames in a time-series-like relation using intra-frame compression based on image data within one image frame and inter-frame compression based on multiple image frames,
wherein the inter-frame compression includes partitioning an image frame into pixel blocks; - generating an image block by obtaining difference between at least one of the pixel blocks and a corresponding pixel block related to an image frame to be compared with;
applying a spatial frequency transformation to the image block to obtain transform coefficients; and
generating a header portion comprising information related to the image frame, the inter-frame compression further comprising;
applying a reversible spatial transformation to at least one of the image blocks prior to applying the spatial frequency transformation; and
adding into the header portion header information comprising spatial transformation parameters necessary for inverse transforming the reversible spatial transformation. - View Dependent Claims (20, 21)
- generating an image block by obtaining difference between at least one of the pixel blocks and a corresponding pixel block related to an image frame to be compared with;
-
22. A moving-image decoding method for decoding encoded moving-image data, which comprises a header portion and a coded data portion, to obtain a moving-image data comprising:
-
reading out the header portion to extract information related to an image data related to an image frame;
decoding the coded data portion to obtain transform coefficients related to the image frame;
applying an inverse spatial frequency transformation to the transform coefficients to thereby obtain a second image data;
the decoding method further comprising;
extracting header information necessary for inverse transforming a reversible spatial transformation from the header portion;
applying the inverse transformation of the reversible spatial transformation to the second image data to obtain the image data related to the image frame.
-
-
23. An image encoding program, which can be executed by a computing device, comprising operation instructions for:
-
applying a spatial frequency transformation to an image data to obtain transform coefficients;
encoding the transform coefficients as coded data;
generating a header portion of the coded data comprising information related to the image data;
wherein, prior to applying the spatial frequency transformation, applying to the image data a reversible spatial transformation adapted to the image; and
adding into the header portion header information necessary for inverse transforming the reversible spatial transformation.
-
-
24. An image decoding program for decoding encoded image data comprising a header portion and a coded data portion, which can be executed by a computing device, comprising operation instructions for:
-
reading out the header portion of the encoded image data to extract information related to an image data;
decoding the coded data to obtain transform coefficients;
applying an inverse spatial frequency transformation to the transform coefficients to thereby obtain second image data;
the decoding program further comprising operation instructions for;
extracting information necessary for inverse transforming a reversible spatial transformation;
applying the inverse transformation of the reversible spatial transformation to the second image data to obtain the image data.
-
-
25. An image encoding device comprising:
-
a spatial transforming unit for applying to an image data a reversible spatial transformation adapted to the image data;
a spatial frequency transformation unit for applying a spatial frequency transformation to the image data to thereby obtain transform coefficients;
a header portion generator for creating a header portion comprising information related to the image data; and
a header information addition unit for adding information comprising spatial transformation parameters necessary for inverse transforming the spatial transformation to the header portion.
-
-
26. An image decoding device for decoding encoded image data comprising a header portion and a coded data portion comprising:
-
an inverse spatial frequency transformation unit for applying to transform coefficients resulting from the encoded image data an inverse spatial frequency transformation to thereby obtain second image data;
a header interpreter for reading out spatial transformation parameters from the header portion; and
an inverse spatial transformation unit for applying to the second image data an inverse spatial transformation based on the spatial transformation parameters to thereby obtain an image data.
-
-
27. An image encoding-decoding system comprising:
-
an image encoding device comprising a spatial transforming unit for applying to an image data a reversible spatial transformation adapted to the image data, a spatial frequency transformation unit for applying a spatial frequency transformation to the image data to thereby obtain transform coefficients, a header portion generator for creating a header portion comprising information related to the image data, and a header information addition unit for adding information comprising spatial transformation parameters necessary for inverse transforming the spatial transformation to the header portion; and
an image decoding device for decoding encoded image data comprising a header portion and a coded data portion comprising an inverse spatial frequency transformation unit for applying to transform coefficients resulting from the encoded image data an inverse spatial frequency transformation to thereby obtain second image data, a header interpreter for reading out spatial transformation parameters from the header portion, and an inverse spatial transformation unit for applying to the second image data an inverse spatial transformation based on the spatial transformation parameters to thereby obtain an image data;
wherein the image decoding device is capable of decoding an encoded image data encoded via the image encoding device.
-
-
28. An image encoding-decoding system comprising:
-
a first image encoding device comprising;
1a) dividing unit for partitioning an original image data into image blocks;
1b) spatial frequency transformation unit for acquiring transform coefficients by applying to the image blocks a spatial frequency transformation;
1c) quantizer for quantizing the transform coefficients to generate integral values of transform coefficients;
1d) encoder for encoding these integral values of transform coefficients; and
1e) encoded image file generating means for generating a first encoded image file by combining a header portion with a data obtained based on results of the encoder;
a second image encoding device for generating a second encoded image file obtained by adding to the first image encoding device;
2a) spatial transformation unit for applying a reversible spatial transformation identifiable with spatial transformation parameters to at least one of the image blocks prior to the spatial frequency transformation being performed; and
2b) header information adding unit for adding the spatial transformation parameters into the header portion;
a first image decoding device comprising;
3a) header reader for reading out a header portion from the first encoded image file;
3b) decoder for acquiring integral values of transform coefficients by decoding codes obtained from the first encoded image file;
3c) inverse quantizer for de-quantizing the integral values of transform coefficients generated by the decoder to thereby obtain transform coefficients;
3d) inverse spatial frequency transformation unit for acquiring an image data in units of image block by applying inverse spatial frequency transformation to the transform coefficients from the inverse quantizer; and
3e) rendering means for generating an original image data from the image data in units of image blocks; and
a second image decoding device for acquiring an original image data from the second encoded image file obtained by adding to the first image decoding device;
4a) additional header information reader for reading out the spatial transformation parameters from the header portion; and
4b) inverse spatial transformation unit for inverse transforming the spatial transformation based on the spatial transformation parameters read out by this additional header information reader;
wherein in the event that an encoded image file to be decoded is the second encoded image file, the first image decoding device is able, without error, to restore data different from the original image data by ignoring spatial transformation parameters described in the header portion of the second compressed image file;
and wherein in the event that spatial transformation parameters cannot be read out from the header portion by the additional header information reader, the second image decoding device restores an original image data by processing decoding by a portion given by the first image decoding device alone without processing the inverse spatial transformation unit. - View Dependent Claims (29)
-
Specification