Method of coding and decoding images, coding and decoding device and computer programs corresponding thereto
AssigneeDolby International AB
InventorsFelix Henry, Gordon Clare
Life of this patent
Estimating the term…
Abstract
A method is provided for coding at least one image split up into partitions, a current partition to be coded containing data, at least one data item of which is allotted a sign. The coding method includes, for the current partition, the following steps: calculating the value of a function representative of the data of the current partition with the exclusion of the sign; comparing the calculated value with a predetermined value of the sign; as a function of the result of the comparison, modifying or not modifying at least one of the data items of the current partition, in the case of modification, coding the at least one modified data item.
Claims13
A method for encoding a sign-data-hiding enabled data signal representative of at least one image comprising a plurality of partitions, the method comprising:
- setting a partition of an image comprising a set of coefficients;
- identifying a first non-zero coefficient within the set of coefficients;
- identifying a last non-zero coefficient within the set of coefficients;
- determining a set of modifiable coefficients in the set of coefficients, wherein the set of modifiable coefficients include the first non-zero coefficient, the last non-zero coefficient and all the coefficients between the first non-zero coefficient and the last non-zero coefficient;
- determining a count of coefficients in the set of modifiable coefficients;
- comparing the count to a plurality of threshold values, including a first threshold value and a second threshold value that is greater than the first threshold value;
- in response to determining that the count is greater than the first threshold value but less than the second threshold value:
- calculating a sum of amplitude information of non-zero coefficients in the set of modifiable coefficients;
- calculating, using the sum of amplitude information, parity data;
- comparing, based on the parity data, signs of a particular plurality of non-zero coefficients to a particular sign configuration in a predetermined plurality of sign configurations;
- and
- when the signs of the particular plurality of non-zero coefficients matches the particular sign configuration, encoding the particular plurality of non-zero coefficients into a bitstream without corresponding sign bits.
A method for decoding a sign-data-hiding enabled data signal representative of at least one image comprising a plurality of coded partitions, the method comprising:
- receiving a set of coefficients representing a partition of the image;
- identifying a first non-zero coefficient within the set of coefficients;
- identifying a last non-zero coefficient within the set of coefficients;
- determining a set of modifiable coefficients in the set of coefficients, wherein the set of modifiable coefficients include the first non-zero coefficient, the last non-zero coefficient and all the coefficients between the first non-zero coefficient and the last non-zero coefficient;
- determining a count of coefficients in the set of modifiable coefficients;
- comparing the count to a plurality of threshold values, including a first threshold value and a second threshold value that is greater than the first threshold value;
- in response to determining that the count is greater than the first threshold value but less than the second threshold value, determining that signs of a particular plurality of non-zero coefficients are hidden;
- in response to determining that signs of the particular plurality of non-zero coefficients are hidden:
- calculating a sum of amplitude information of non-zero coefficients in the set of modifiable coefficients;
- calculating, using the sum of amplitude information, parity data;
- selecting, based on the parity data, a particular sign configuration from a predetermined plurality of sign configurations;
- designating signs in the selected particular sign configuration as signs of a particular plurality of non-zero coefficients;
- and
- dequantizing the set of coefficients representing the partition of the image.
Dependencies are inferred from the claim text.