# US 9,438,914 B2 · Encoding apparatus and encoding method

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

- Number: US 9,438,914 B2
- Document ID: US9438914B2
- Status: Granted
- Kind: B2
- Application number: 14/516,288
- Filed: 2014-10-16
- Published: 2015-04-23
- Granted: 2016-09-06
- Earliest claimed: 2013-10-17
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Daisuke Sakamoto
- Web page: https://patentgrep.com/patent/US9438914B2

## CPC

- H04N 19/103: Selection of coding mode or of prediction mode
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/182: the unit being a pixel
- H04N 19/98: Adaptive-dynamic-range coding [ADRC]
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An encoding apparatus includes an encoding unit that encodes an image to be encoded; a generating unit that generates a local decoded image from the encoded image; a difference calculation unit that calculates difference values between pixels included in the local decoded image and pixels included in the image to be encoded; and a modifying unit that determines pixels from the local decoded image based on the difference values, and modifies the determined pixels.

## Claims

### Claim 1

An encoding apparatus comprising:
a processor; and
a memory storing a program which, when executed by the processor, causes the encoding apparatus to:
encode an image to be encoded;
generate a local decoded image from the encoded image;
calculate difference values between pixels included in the local decoded image and pixels included in the image to be encoded;
select one of the calculated difference values, wherein the selected difference value is a value which is most frequent in the calculated difference values; and
correct each pixel of the local decoded image based on the selected difference value.

### Claim 2 (depends on 1)

The encoding apparatus according to claim 1, wherein the image to be encoded includes a Coding Tree Unit (CTU) compliant with High Efficiency Video Coding (HEVC) standard.

### Claim 3

A method comprising:
encoding an image to be encoded;
generating a local decoded image from the encoded image;
calculating difference values between pixels included in the local decoded image and pixels included in the image to be encoded;
selecting one of the calculated difference values, wherein the selected difference value is a value which is most frequent in the calculated difference values; and
correcting each pixel of the local decoded image based on the selected difference value.

### Claim 4

A non-transitory storage medium which stores a program for causing a computer to execute a method, the method comprising:
encoding an image to be encoded;
generating a local decoded image from the encoded image;
calculating difference values between pixels included in the local decoded image and pixels included in the image to be encoded;
selecting one of the calculated difference values, wherein the selected difference value is a value which is most frequent in the calculated difference values; and
correcting each pixel of the local decoded image based on the selected difference value.

### Claim 5 (depends on 1)

The encoding apparatus according to claim 1, wherein the program is further configured to cause the encoding apparatus to:
calculate an average value of the calculated difference values; and
determine whether a number of values equal to the selected difference value in the calculated difference values is larger than a threshold,
wherein each pixel of the local decoded image is corrected based on the average value of the calculated difference values instead of the selected difference value if the number of values equal to the selected difference value is not larger than the threshold.
