Decoding method, encoding method, and electronic apparatus for decoding/coding
AssigneeKabushiki Kaisha Toshiba
InventorsAkiyuki Tanizawa, Takeshi Chujoh
Life of this patent
Estimating the term…
Abstract
An encoding device includes: an index setting unit that sets an index that represents information of a reference image and a weighting factor; an index reconfiguring unit that predicts a reference value of the weighting factor, wherein the reference value indicates a factor to be set if a difference of pixel value between a reference image and a target image to be encoded is less than or equal to a specific value; and an entropy encoding unit that encodes a difference value between the weighting factor and the reference value.
Claims4
A decoding method, comprising:
- decoding a first denominator for a luma weighting factor;
- decoding a first difference value that is equal to a value of a difference between the first denominator and a second denominator for a chroma weighting factor;
- decoding a second difference value of the luma weighting factor, wherein the second difference value is equal to a value of a difference between the luma weighting factor and a first reference value, and the first reference value is equal to a value obtained by left shift of 1 by at least one binary digit specified by the first denominator;
- decoding a third difference value of the chroma weighting factor, wherein the third difference value is equal to a value of a difference between the chroma weighting factor and a second reference value, and the second reference value is equal to a value obtained by left shift of 1 by at least one binary digit specified by the second denominator;
- and
- decoding a fourth difference value of a chroma offset, wherein the fourth difference value is equal to a value of a difference between the chroma offset and a third reference value, and the third reference value is equal to a value obtained by subtracting a value obtained by both multiplying a median value of a maximum pixel value by the chroma weighting factor and shifting to right for the at least one binary digit specified by the second denominator, from the median value.
An encoding method, comprising:
- encoding a first denominator for a luma weighting factor of a target image;
- encoding, by the encoder circuitry, a first difference value of the luma weighting factor, wherein the first difference value is equal to a value of a difference between the luma weighting factor and a first reference value of the luma weighting, wherein the first reference value is equal to a value obtained by a left shift of 1 by at least one binary digit specified by the first denominator;
- and
- encoding, by the encoder circuitry, a second difference value of the chroma offset, wherein the second difference value is equal to a value of a difference between a chroma offset of the target image and a second reference value of the chroma offset, wherein the second reference value is derived by subtracting a value obtained by both multiplying a median value of a maximum pixel value by a chroma weighting factor and shifting to right for at least one binary digit specified by a second denominator for the chroma weighting factor, from the median value.
An encoding method, comprising:
- encoding, by encoder circuitry, a first denominator for a luma weighting factor of a target image;
- encoding, by the encoder circuitry, a first difference value that is equal to a value of a difference between the first denominator and a second denominator for a chroma weighting factor of the target image:
- encoding, by the encoder circuitry, a second difference value of the luma weighting factor, wherein the second difference value is equal to a value of a difference between the luma weighting factor and a first reference value of the luma weighting factor, wherein the first reference value is equal to a value obtained by left shift of 1 by at least one binary digit specified by the first denominator;
- encoding, by the encoder circuitry, a third difference value of the chroma weighting factor, wherein the third difference value is equal to a value of a difference between the chroma weighting factor and a second reference value, wherein the second reference value is equal to a value obtained by left shift of 1 by at least one binary digit specified by the second denominator;
- encoding, by the encoder circuitry, a fourth difference value of the chroma offset, wherein the fourth difference value is equal to a value of a difference between a chroma offset and a third reference value of the chroma offset of the target image, wherein the third reference value in derived by subtracting a value obtained by both multiplying a median value of a maximum pixel value by the chroma weighting factor and shifting to right for the at least one binary digit specified by the second denominator, from the median value.
An electronic apparatus, comprising:
- a non-transitory computer readable medium and a processor, the processor is configured to encode:
- data of a first denominator for a luma weighting factor;
- data of a first difference value that is equal to a value of a difference between the first denominator and a second denominator for a chroma weighting factor;
- data of a second difference value of the luma weighting factor, wherein the second difference value is equal to a value of a difference between the luma weighting factor and a first reference value, and the first reference value is equal to a value obtained by left shift of 1 by at least one binary digit specified by the first denominator;
- data of a third difference value of the chroma weighting factor, wherein the third difference value is equal to a value of a difference between the chroma weighting factor and a second reference value, and the second reference value is equal to a value obtained by left shift of 1 by at least one binary digit specified by the second denominator;
- and
- data of a fourth difference value of a chroma offset, wherein the fourth difference value is equal to a value of a difference between the chroma offset and a third reference value, and the third reference value is equal to a value obtained by subtracting a value obtained by both multiplying a median value of a maximum pixel value by the chroma weighting factor and shifting to right for the at least one binary digit specified by the second denominator, from the median value;
- and
- a transfer circuitry that transfers the encoded data.
Dependencies are inferred from the claim text.