Variable length coding of coefficient clusters for image and video compression
First Claim
1. A method of operating an encoding apparatus to compress image data, the method comprising:
- accepting quantized transform coefficients of one or more blocks of image data into the encoding apparatus;
for a first region of an ordered series of quantized transform coefficients of a block of image data, the first region possibly including the whole series, the series having a most likely-to-occur amplitude, and at least one other amplitude including a next-to-most likely-to-occur amplitude, the encoding apparatus encoding the position and amplitude of each cluster of consecutive coefficients having amplitude other than the most likely-to-occur amplitude, the encoding of each cluster including the encoding apparatus encoding one or more events for the cluster, including encoding a joint event defined by at least two parameters;
the number of coefficients having the most likely-to-occur amplitude preceding the cluster, and the number of coefficients in the cluster, and encoding an indication of the number of trailing coefficients having the next-to-most likely-to-occur amplitude in the cluster, the encoding of the events by the encoding apparatus forming event codewords, with the encoding of each cluster according to at least one multi-dimensional joint encoding mapping such that for at least some events, encoding the events by the joint encoding mapping is such that on average, the more likely an event is to occur, the shorter the event codeword formed to encode the event; and
the encoding apparatus encoding the amplitude of the coefficients that have amplitude other than the most likely-to-occur amplitude and that are not jointly encoded by the encoding of the indication of the number of trailing coefficients in the cluster, the encoding of the amplitude by the encoding apparatus forming amplitude codewords.
2 Assignments
0 Petitions
Accused Products
Abstract
A coding method, apparatus, and medium with software encoded thereon to implement a coding method. The coding method includes encoding cluster of consecutive non-zero-valued coefficients, the encoding of a cluster including jointly encoding joint events that each are defined by at least two parameters: the number of zero-valued coefficients preceding the cluster, and the number of non-zero-valued coefficients in the cluster. The encoding of the cluster also includes encoding a parameter indicative of the number of amplitude-1 trailing non-zero-valued coefficients in the cluster, in one version with the parameter indicative of the number of trailing amplitude-1 coefficients part of the joint events such that the coding is according to a 3-dimensional joint variable length coding table. The method further includes encoding the amplitudes of the non-zero-valued coefficients that are not encoded by the joint encoding, e.g., encoding the amplitudes of the other than the trailing amplitude-1 coefficients.
18 Citations
25 Claims
-
1. A method of operating an encoding apparatus to compress image data, the method comprising:
-
accepting quantized transform coefficients of one or more blocks of image data into the encoding apparatus; for a first region of an ordered series of quantized transform coefficients of a block of image data, the first region possibly including the whole series, the series having a most likely-to-occur amplitude, and at least one other amplitude including a next-to-most likely-to-occur amplitude, the encoding apparatus encoding the position and amplitude of each cluster of consecutive coefficients having amplitude other than the most likely-to-occur amplitude, the encoding of each cluster including the encoding apparatus encoding one or more events for the cluster, including encoding a joint event defined by at least two parameters;
the number of coefficients having the most likely-to-occur amplitude preceding the cluster, and the number of coefficients in the cluster, and encoding an indication of the number of trailing coefficients having the next-to-most likely-to-occur amplitude in the cluster, the encoding of the events by the encoding apparatus forming event codewords, with the encoding of each cluster according to at least one multi-dimensional joint encoding mapping such that for at least some events, encoding the events by the joint encoding mapping is such that on average, the more likely an event is to occur, the shorter the event codeword formed to encode the event; andthe encoding apparatus encoding the amplitude of the coefficients that have amplitude other than the most likely-to-occur amplitude and that are not jointly encoded by the encoding of the indication of the number of trailing coefficients in the cluster, the encoding of the amplitude by the encoding apparatus forming amplitude codewords. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer-readable hardware storage medium encoded with computer-executable instructions that when executed by one or more processors of a processing system implement a coding method comprising:
-
for a first region of an ordered series of quantized transform coefficients of a block of image data, the first region possibly the whole series, the series having a most likely-to-occur amplitude, and at least one other amplitude including a next-to-most likely-to-occur amplitude, encoding the position and amplitude of each cluster of consecutive coefficients having amplitude other than the most likely-to-occur amplitude, the encoding of each cluster including encoding one or more events for the cluster, including encoding a joint event defined by at least two parameters;
the number of coefficients having the most likely-to-occur amplitude preceding the cluster, and the number of coefficients in the cluster, and encoding an indication of the number of trailing coefficients having the next-to-most likely-to-occur amplitude in the cluster, with the coding of each cluster according to at least one multi-dimensional joint encoding mapping such that for at least some events, encoding the events by the joint encoding mapping is such that on average, the more likely an event is to occur, the shorter the codeword used to encode the event; andencoding the amplitude of the coefficients that have amplitude other than the most likely-to-occur amplitude and that are not jointly encoded by the encoding of the indication of the number of trailing coefficients in the cluster. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19)
-
-
20. An apparatus to accept image data and transform the image data to event codewords and amplitude codewords, the apparatus comprising:
-
a first region encoder operative to accept an ordered series of quantized transform coefficients of a block of the image data and to form one or more event codewords by encoding the position and amplitude of each cluster of consecutive coefficients having amplitude other than the most likely-to-occur amplitude in a first region of an ordered series of quantized transform coefficients of a block of the image data, the first region possibly the whole series, the series having a most likely-to-occur amplitude, and at least one other amplitude including a next-to-most likely-to-occur amplitude, the encoding of each cluster including encoding one or more events for the cluster, including encoding a joint event defined by at least two parameters;
the number of coefficients having the most likely-to-occur amplitude preceding the cluster, and the number of coefficients in the cluster, and encoding an indication of the number of trailing coefficients having the next-to-most likely-to-occur amplitude in the cluster, with the encoding of each cluster according to at least one multi-dimensional joint encoding mapping such that for at least some events, encoding the events by the joint encoding mapping is such that on average, the more likely an event is to occur, the shorter the event codeword used to encode the event; andan amplitude encoder coupled to the first region encoder and operative to encode the amplitude of the coefficients that have amplitude other than the most likely-to-occur amplitude and that are not jointly encoded by the encoding of the indication of the number of trailing coefficients in the cluster. - View Dependent Claims (21, 22, 23)
-
-
24. A method of operating a decoding apparatus to decompress image data, the method comprising:
-
the decoding apparatus recognizing codewords in a set of concatenated codewords, the codewords formed by a coding method comprising; for a first region of an ordered series of quantized transform coefficients of a block of image data, the first region possibly the whole series, the series having a most likely-to-occur amplitude, and at least one other amplitude including a next-to-most likely-to-occur amplitude, encoding the position and amplitude of each cluster of consecutive coefficients having amplitude other than the most likely-to-occur amplitude, the encoding of each cluster including encoding one or more events for the cluster, including encoding a joint event defined by at least two parameters;
the number of coefficients having the most likely-to-occur amplitude preceding the cluster, and the number of coefficients in the cluster, and encoding an indication of the number of trailing coefficients having the next-to-most likely-to-occur amplitude in the cluster, with the coding of each cluster according to at least one multi-dimensional joint encoding mapping such that for at least some events, encoding the events by the joint encoding mapping is such that on average, the more likely an event is to occur, the shorter the codeword used to encode the event; andencoding the amplitude of the coefficients that have amplitude other than the most likely-to-occur amplitude and that are not jointly encoded by the encoding of the indication of the number of trailing coefficients in the cluster; and the decoding apparatus decoding the recognized codewords using a plurality of code mappings.
-
-
25. A computer-readable hardware storage medium storing computer-executable instructions that when executed by one or more processors of a processing system implement a decoding method comprising:
-
recognizing codewords in a set of concatenated codewords, the codewords formed by a coding method comprising; for a first region of an ordered series of quantized transform coefficients of a block of image data, the first region possibly the whole series, the series having a most likely-to-occur amplitude, and at least one other amplitude including a next-to-most likely-to-occur amplitude, encoding the position and amplitude of each cluster of consecutive coefficients having amplitude other than the most likely-to-occur amplitude, the encoding of each cluster including encoding one or more events for the cluster, including encoding a joint event defined by at least two parameters;
the number of coefficients having the most likely-to-occur amplitude preceding the cluster, and the number of coefficients in the cluster, and encoding an indication of the number of trailing coefficients having the next-to-most likely-to-occur amplitude in the cluster, with the coding of each cluster according to at least one multi-dimensional joint encoding mapping such that for at least some events, encoding the events by the joint encoding mapping is such that on average, the more likely an event is to occur, the shorter the codeword used to encode the event; andencoding the amplitude of the coefficients that have amplitude other than the most likely-to-occur amplitude and that are not jointly encoded by the encoding of the indication of the number of trailing coefficients in the cluster; and decoding the recognized codewords using a plurality of code mappings.
-
Specification