# US 2015/0103930 A1 · Method of applying edge offset

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

- Number: US 2015/0103930 A1
- Document ID: US20150103930A1
- Status: Published application
- Kind: A1
- Application number: 14/349,451
- Filed: 2013-01-08
- Published: 2015-04-16
- Earliest claimed: 2012-01-17
- Assignees: Genip Pte. Ltd.
- Applicants: Genip Pte. Ltd.
- Inventors: Min Jang
- Web page: https://patentgrep.com/patent/US20150103930A1

## CPC

- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/114: Adapting the group of pictures [GOP] structure, e.g. number of B-frames between two anchor frames (H04N19/107 takes precedence)
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/124: Quantisation
- H04N 19/174: the region being a slice, e.g. a line of blocks or a group of blocks
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/196: being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters (processing of motion vectors H04N19/513)
- H04N 19/50: using predictive coding (H04N19/61 takes precedence)
- H04N 19/513: Processing of motion vectors
- H04N 19/593: involving spatial prediction techniques
- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Provided is a method generates an edge index of a current sample, and applies an edge offset corresponding to the edge index to the current sample. The edge index is generated using the differences between a current sample and two neighboring samples determined by an edge offset type. Accordingly, the difference between original samples and reconstructed samples are effectively reduced by generating the optimum edge index. Also, the quantity of bits required for reducing the differences are reduced by fixing the sign of offset to positive or negative.

## Claims

### Claim 1

A method of applying an edge offset, comprising:
generating an edge index of a current sample; and
applying an edge offset corresponding to the edge index to the current sample, wherein the edge index is generated using the following equation,
edgeIdx=2+sign3(recPicture(x)−recPicture(x−1))+sign3(recPicture(x)−recPicture(x+1))
wherein the function sign3(y) is equal to 1 if the y is larger than 0, the function sign3(y) is equal to −1 if the y is smaller than 0, and the function sign3(y) is equal to 0 if the y is equal to 0,
wherein variable recPicture(x) represents the current sample value, the variables recPicture(x−1) and recPicture(x+1) represent the two neighboring sample values.

### Claim 2 (depends on 1)

The method of claim 1, wherein the two neighboring samples are determined by an edge offset type of a current area.

### Claim 3 (depends on 1)

The method of claim 1, wherein the edge offset is set as negative or positive based on the edge index.

### Claim 4 (depends on 3)

The method of claim 3, wherein the edge offset is set as positive if the edge index is equal to 0 or 1.

### Claim 5 (depends on 3)

The method of claim 3, wherein the edge offset is set as negative if the edge index is equal to 3 or 4.

### Claim 6 (depends on 1)

The method of claim 1, wherein the edge offset is set to 0 if the edge index is equal to 2.

### Claim 7 (depends on 1)

The method of claim 1, wherein if one of the two neighboring samples belongs to another LCU, the edge offset is not applied to the current sample.

### Claim 8 (depends on 1)

The method of claim 1, wherein if one of the two neighboring samples belongs to another LCU, the neighboring sample belonging to another LCU is replaced with another sample within LCU.
