# US 2011/0235710 A1 · Image encoding and decoding apparatus and method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2011/0235710 A1
- Document ID: US20110235710A1
- Status: Published application
- Kind: A1
- Application number: 13/067,450
- Filed: 2011-06-01
- Published: 2011-09-29
- Earliest claimed: 2003-07-18
- Assignees: Samsung Electronics Co., Ltd.
- Inventors: Hyun Mun Kim; Dae-sung Cho; Woo-shik Kim
- Web page: https://patentgrep.com/patent/US20110235710A1

## CPC

- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/107: between spatial and temporal predictive coding, e.g. picture refresh
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/142: Detection of scene cut or scene change
- H04N 19/162: User input
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/182: the unit being a pixel
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/50: using predictive coding (H04N19/61 takes precedence)
- H04N 19/61: in combination with predictive coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image encoding and decoding apparatus and method, the image encoding and decoding apparatus includes: an encoding unit adjusting at least one weight value adaptively to the number of bits expressing each pixel of a current image, predicting a pixel value of a block of interest by performing an operation on a pixel value of at least one block having a pixel value similar to the pixel value of the block of interest among blocks included in a previous image and the at least one adjusted weight value, and encoding the pixel value of the block of interest using the predicted pixel value of the block of interest; and a decoding unit adjusting the at least one weight value adaptively to the number of bits, restoring the predicted pixel value of the block of interest by performing an operation on the pixel value of the at least one block having the pixel value similar to the pixel value of the block of interest among blocks included in the restored previous image and the at least one adjusted weight value, and decoding the pixel value of the block of interest using the restored pixel value, wherein the previous image refers to an image displayed prior to a current image, and the block of interest is a target block of interest among blocks belonging to the current image.

## Claims

### Claim 1

An image decoding method comprising:
determining which of an intra mode, an inter mode, and a weighted prediction mode pixel value of a block of interest of a current image has been encoded in;
when the determining indicates that the pixel value of the block of interest has been encoded in the weighted prediction mode, adaptively adjusting at least one weighting factor to be operated on, in a multiplication operation, pixel values of blocks of the current image having a pixel value close to the pixel value of the block of interest among blocks included in a restored previous image, according to a number of bits used to express a pixel of the current image using the following equations:
W1′=W1
W2′=W2
O1′=O1·2(N-M)
O2′=O2·2(N-M)
where W1′ and W2′ represent a first weighting factor after the adjustment to be used in the multiplication operation, W1 and W2 represent the first weighting factor before the adjustment, and O1′, and O2′ represent a second weighting factor after the adjustment to be added to the result of the multiplication operation, O1 and O2 represent a second weighting factor before the adjustment, N represents the number of bits, and M represents a constant; and
restoring the predicted pixel value of the block of interest, using the at least one adjusted weighting factor.

### Claim 2 (depends on 1)

The method of claim 1, wherein the adaptively adjusting of the at least one weighting factor is adapted according to a number of bits used to express each pixel of the current image using the equations, and N equals the number of bits used to express each pixel of the current image.
