# US 2013/0279574 A1 · Methods and apparatuses for encoding and decoding image based on segments

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

- Number: US 2013/0279574 A1
- Document ID: US20130279574A1
- Status: Published application
- Kind: A1
- Application number: 13/925,408
- Filed: 2013-06-24
- Published: 2013-10-24
- Earliest claimed: 2010-04-05
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Vadim Seregin; Janie Chen; Woo-jin Han
- Web page: https://patentgrep.com/patent/US20130279574A1

## CPC

- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/593: involving spatial prediction techniques
- H04N 19/61: in combination with predictive coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Encoding and decoding an image may be performed by setting a plurality of segments of a second color component block based on pixel values of a first color component block. The plurality of segments may be predicted by using different context pixels, and the second color component block may be encoded and decoded based on the predicted plurality of segments.

## Claims

### Claim 1

A method of decoding an image, the method comprising:
segmenting a second color component block of a current block into a plurality of segments based on pixel values of a first color component block of the current block;
predicting a first segment among the plurality of segments based on a first pixel value of a second color component pixel that is adjacent to the first segment and included in a region decoded prior to the current block and predicting a second segment among the plurality of segments based on a second pixel value of a second color component pixel that is adjacent to the second segment and included in the region decoded prior to the current block; and
decoding the second color component block based on the predicted first segment and the predicted second segment,
wherein the current block is one of a coding unit among hierarchical coding units split from a maximum coding unit and a prediction unit split from the coding unit, and the maximum coding unit is one of maximum coding units generated by dividing an image.

### Claim 2 (depends on 1)

The method of claim 1, wherein the segmenting comprises:
setting a predetermined reference value based on pixel values of the first color component block; and
setting the plurality of segments of the second color component block based on a first portion and a second portion,
wherein, from among pixels of the first color component block, a pixel having a pixel value that is equal to or smaller than the reference value is set as the first portion, and a pixel having a pixel value that is greater than the reference value is set as the second portion.

### Claim 3 (depends on 1)

The method of claim 1, wherein the predicting the first segment and the second segment comprises predicting the first segment and the second segment based on a mean of a plurality of pixel values of the second color component included in regions that are decoded prior to the current block and adjacent to the first segment and the second segment of the second color component block of the current block.
