Method and apparatus for encoding/decoding image by using adaptive binarization
AssigneeSamsung Electronics Co., Ltd.
InventorsJong-bum Choi, Sung-bum Park, Woo-sung Shim, Young-ho Moon, Dai-woong Choi, Jae-won Yoon
Life of this patent
Estimating the term…
Abstract
A method and apparatus for encoding/decoding an image, wherein the method includes selecting a predetermined binarization table from a plurality of binarization tables based on prediction values of a current pixel and binarizing or inversely binarizing residual values by using the selected binarization table.
Claims22
A method of encoding an image in an apparatus for encoding an image, the method comprising:
- selecting a binarization table for binarizing a residual value that is obtained by subtracting a prediction value of a current pixel from a pixel value of the current pixel, from a plurality of binarization tables in which residual values in a range of the residual value that is determined based on the prediction value of the current pixel correspond to binary strings;
- binarizing the residual value by using the selected binarization table and generating a binary string;
- and
- arithmetic coding the binary string.
An apparatus for encoding an image, the apparatus comprising:
- a binarization control unit which selects a binarization table for binarizing a residual value that is obtained by subtracting a prediction value of a current pixel from a pixel value of the current pixel, from a plurality of binarization tables in which residual values a range of the residual value that is determined based on the prediction value of the current pixel correspond to binary strings;
- a binarization unit which binarizes the residual value by using the selected binarization table and generates a binary string;
- and
- an arithmetic coding unit which arithmetic codes the binary string.
A method of decoding an image in an apparatus for decoding an image, the method comprising:
- receiving data of a residual value that are obtained by subtracting a prediction value of a current pixel from a pixel value of the current pixel, arithmetic decoding the received data, and generating a binary string from the residual value;
- selecting a binarization table for inversely binarizing the residual value from a plurality of binarization tables in which residual values in a range of the residual value that is determined based on the prediction value of the current pixel correspond to binary strings;
- and
- inversely binarizing the binary string by using the selected binarization table.
An apparatus for decoding an image, the apparatus comprising:
- an arithmetic decoding unit which receives data of a residual value that is obtained by subtracting a prediction value of a current pixel from a pixel value of the current pixel, arithmetic decoding the received data, and generating a binary string from the residual value;
- an inverse binarization control unit which selects a binarization table for inversely binarizing the residual value from a plurality of binarization tables in which residual values in a range of the residual value that is determined based on the prediction value of the current pixel correspond to binary strings;
- and
- an inverse binarization unit which inversely binarizes the binary string by using the selected binarization table.
Dependencies are inferred from the claim text.