Method and apparatus for coding and decoding using bit-precision
AssigneeHumax Co., Ltd.
InventorsEuee-Seon Jang, Sun-Young Lee, Gi-Seok Son, Chung-Ku Lee
Life of this patent
Estimating the term…
Abstract
Disclosed are a method and an apparatus of encoding/decoding by using a bit precision. In accordance to an aspect of the present invention, it is possible to encoding and decoding an image or a video by using a bit precision. Accordingly, compression efficiency can be improved and the decoding complexity can be reduced by encoding/decoding video data by use of the bit precision.
Claims10
An encoding apparatus using a bit precision, the apparatus comprising:
- a predicting unit, configured to determine a predicting method of each target pixel of a video datum to be encoded and to compute a prediction value of the target pixel by using the predicting method;
- an encoding unit connected to the predicting unit, the encoding unit configured to compute an error value by using the prediction value, to successively increase a size of a predetermined block at an increment of a predetermined unit from a predetermined size of the block and to select a first bit precision value according to the error value corresponding to the block to encode the error value;
- and
- a variable block forming unit connected to the encoding unit, the variable block forming unit configured to compute a variable block forming information indicating a forming of a block having an minimum compression capacity by using an encoded result of the block,
- wherein the encoding unit is configured to generate a bitstream by encoding a block according to the computed variable block forming information,
- wherein the encoding unit further computes a sign bit by using the prediction value, and at least one of the variable block information, the sign bit and the bit precision value is inserted into the bitstream,
- wherein the sign bit refers to a sign of a difference between a value of the target pixel and the prediction value, and
- wherein the prediction value is computed by using values of a plurality of pixels that are adjacent to the target pixel and the sign bit refers to a sign of a difference between a value of the target pixel and the prediction value.
A decoding apparatus using a bit precision, the apparatus comprising:
- a block generating unit, configured to generate a variable block by using a variable block forming information being extracted from a bitstream to be decoded;
- a decoding unit connected to the block generating unit, the decoding unit configured to compute an error value by decoding the bitstream by use of a first bit precision value, a second bit precision value and the variable block forming information being extracted from the bitstream to be decoded;
- a predicting unit connected to the decoding unit, the predicting unit configured to determine a predicting method of each target pixel of a video datum to be decoded and to compute a prediction value of the target pixel by using the predicting method;
- and
- a reconstructing unit connected to the predicting unit, the reconstructing unit configured to compute a pixel value by using the error value and the prediction value.
An encoding method using a bit precision, the method comprising:
- (a) determining a predicting method corresponding to each target pixel of a video datum to be encoded;
- (b) computing a prediction value of the target pixel corresponding to the predicting method;
- (c) computing an error value by using the prediction value, successively increasing a size of a predetermined block at an increment of a predetermined unit from a predetermined size of the block and selecting a bit precision value according to the an error corresponding to the block and selecting according the error value corresponding to the block;
- (d) encoding the error value by using the selected bit precision value;
- (e) computing a variable block forming information that minimizes compression capacity by using a result of encoding the block, and
- (f) generating a bitstream by encoding a block according to the computed variable block forming information,
- wherein the (c) further computes a sign bit by using the prediction value,
- wherein at least one of the variable block forming information, the sign bit and the bit precision value is inserted into the bitstream, and
- wherein the prediction value is computed by using values of a plurality of pixels that are adjacent to the target pixel and the sign bit refers to a sign of a difference between a value of the target pixel and the prediction value.
A decoding method using a bit precision, the method comprising:
- (a) generating a variable block by extracting a variable block forming information from a bitstream to be decoded;
- (b) extracting a bit precision value from the bitstream;
- (c) computing an error value by decoding the bitstream by use of the bit precision value and the variable block;
- (d) determining a predicting method of each target pixel of a video datum to be decoded and computing a prediction value of the target pixel by using the predicting method;
- and
- (e) reconstructing a video datum by using the error value and the prediction value,
- wherein the prediction value is computed by using values of a plurality of pixels that are adjacent to the target pixel.
Dependencies are inferred from the claim text.