# US 2018/0324450 A1 · Video encoding method using offset adjustments according to pixel classification and apparatus therefor, video decoding method and apparatus therefor

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

- Number: US 2018/0324450 A1
- Document ID: US20180324450A1
- Status: Published application
- Kind: A1
- Application number: 16/027,017
- Filed: 2018-07-03
- Published: 2018-11-08
- Earliest claimed: 2011-06-28
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Elena ALSHINA; Alexander ALSHIN
- Web page: https://patentgrep.com/patent/US20180324450A1

## CPC

- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/137: Motion inside a coding unit, e.g. average field, frame or block difference
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/182: the unit being a pixel
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/189: characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/50: using predictive coding (H04N19/61 takes precedence)
- H04N 19/625: using discrete cosine transform [DCT]
- H04N 19/85: using pre-processing or post-processing specially adapted for video compression
- H04N 19/89: involving methods or arrangements for detection of transmission errors at the decoder
- H04N 19/90: using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A video encoding method and apparatus and video decoding method and apparatus generate a restored image having a minimum error with respect to an original image based on offset merge information indicating whether offset parameters of a current block and at least one neighboring block from among blocks of video are identical.

## Claims

### Claim 1

A video decoding method comprising:
parsing, from a bitstream, offset merge information indicating whether an offset parameter of a current block is determined according to an offset parameter of a neighboring block;
when the offset merge information indicates that the offset parameter of the current block is determined according to the offset parameter of the neighboring block, determining the offset parameter of the current block using the offset parameter of the neighboring block; and
when the offset merge information indicates that the offset parameter of the current block is not determined according to the offset parameter of the neighboring block, obtaining, from the bitstream, offset type information of the current block and absolute values of a plurality of offset values of the current block; and
compensating for samples of the current block by using the absolute values of the plurality of offset values,
wherein, the obtaining, from the bitstream, offset type information of the current block and absolute values of a plurality of offset values of the current block comprises:
when the offset type information indicates one of a band offset type and an edge offset type, obtaining the absolute values of the plurality of offset values from the bitstream; and
when the absolute values of the plurality of offset values are not zero, obtaining sign bits of the plurality of offset values from the bitstream,
wherein the offset type information of the current block indicates one of the band offset type, the edge offset type and whether the plurality of offset values are applied to the current block, and
the neighboring block is one of a left block and an upper block adjacent to the current block.

### Claim 2 (depends on 1)

The video decoding method of claim 1, wherein when the offset merge information indicates that the offset parameter of the current block is determined according to the offset parameter of the neighboring block, the offset parameter of the current block is not parsed from the bitstream.
