# US 2021/0092415 A1 · Image data encoding and decoding

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

- Number: US 2021/0092415 A1
- Document ID: US20210092415A1
- Status: Published application
- Kind: A1
- Application number: 16/579,356
- Filed: 2019-09-23
- Published: 2021-03-25
- Earliest claimed: 2019-09-23
- Assignees: Sony Corporation
- Applicants: Sony Corporation
- Inventors: Stephen Mark KEATING; Karl James SHARMAN; Adrian Richard BROWNE
- Web page: https://patentgrep.com/patent/US20210092415A1

## CPC

- 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/98: Adaptive-dynamic-range coding [ADRC]
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/124: Quantisation
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/18: the unit being a set of transform coefficients
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/85: using pre-processing or post-processing specially adapted for video compression
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Image data encoding apparatus comprises detector circuitry configured to detect at least one of an upper clipping level and a lower clipping level in samples of input image data; and encoder circuitry configured to encode an encoded representation of the samples of input image data to an encoded data stream, the encoder circuitry being configured to encode a representation of the at least one of the upper clipping level and the lower clipping level to the output data stream.

## Claims

### Claim 1

Image data encoding apparatus, comprising:
detector circuitry configured to detect at least one of an upper clipping level and a lower clipping level in samples of input image data; and
encoder circuitry configured to encode an encoded representation of the samples of input image data to an encoded data stream, the encoder circuitry being configured to encode a representation of the at least one of the upper clipping level and the lower clipping level to the output data stream.

### Claim 2 (depends on 1)

The apparatus of claim 1, in which:
the detector circuitry is configured to detect both of the upper clipping level and the lower clipping level; and
the encoder circuitry is configured to encode both of the upper clipping level and the lower clipping level to the encoded data stream

### Claim 3 (depends on 1)

The apparatus of claim 1, in which the detector circuitry is configured to detect, as the lower clipping level, a lowest sample value amongst the samples of the input image data.

### Claim 4 (depends on 1)

The apparatus of claim 1, in which the detector circuitry is configured to detect, as the upper clipping level, a highest sample value amongst the samples of the input image data.

### Claim 5 (depends on 1)

The apparatus of claim 1, comprising a decoding circuitry stage configured to decode the encoded representation to generate reconstructed image data samples.

### Claim 6 (depends on 5)

The apparatus of claim 5, comprising data clipper circuitry configured to apply clipping to the reconstructed image data samples to generated respective clipped samples, in dependence upon the at least one of the upper clipping level and the lower clipping level.

### Claim 7 (depends on 6)

The apparatus of claim 6, in which the encoder circuitry comprises:
Image data predictor circuitry configured to generate predicted image data in dependence upon the clipped samples; and
difference encoder circuitry configured to encode difference data representing a difference between input image data and the predicted image data.

### Claim 8 (depends on 1)

Video storage, capture, transmission or reception apparatus comprising the apparatus of claim 1.

### Claim 9

An image data encoding method comprising:
detecting at least one of an upper clipping level and a lower clipping level in samples of input image data;
encoding an encoded representation of the samples of input image data to an encoded data stream; and
encoding, by circuitry, a representation of the at least one of the upper clipping level and the lower clipping level to the output data stream.

### Claim 10 (depends on 9)

A non-transitory computer readable medium including computer program instructions, which when executed by a computer causes the computer to perform the method of claim 9.

### Claim 11

Image data decoding apparatus, comprising:
detector circuitry configured to detect, from an encoded representation in an input encoded data stream, at least one of an upper clipping level and a lower clipping level;
decoder circuitry configured to decode samples of image data from an encoded representation in the encoded data stream; and
data clipper circuitry configured to apply clipping to the decoded image data samples to generated respective clipped samples, in dependence upon the at least one of the upper clipping level and the lower clipping level.

### Claim 12 (depends on 11)

The apparatus of claim 11, in which the data clipper circuitry is configured to dip any decoded image data sample having a sample value less than the lower clipping level so that the corresponding clipped sample has a sample value equal to the lower clipping level.

### Claim 13 (depends on 11)

The apparatus of claim 11, in which the data clipper circuitry is configured to dip any decoded image data sample having a sample value greater than the upper clipping level so that the corresponding clipped sample has a sample value equal to the upper clipping level.

### Claim 14 (depends on 11)

The apparatus of claim 11, in which the decoder comprises:
image data predictor circuitry configured to generate predicted image data in dependence upon the clipped samples;
difference decoder circuitry configured to decode difference data representing a difference between input image data and the predicted image data; and
combiner circuitry configured to combine the predicted image data and the decoded difference data.

### Claim 15

An image data decoding method comprising:
detecting, from an encoded representation in an input encoded data stream, at least one of an upper clipping level and a lower clipping level;
decoding samples of image data from an encoded representation in the encoded data stream; and
applying, by circuitry, clipping to the decoded image data samples to generated respective clipped samples, in dependence upon the at least one of the upper clipping level and the lower clipping level.

### Claim 16 (depends on 15)

A non-transitory computer readable medium including computer program instructions, which when executed by a computer causes the computer to perform the method of claim 15.

### Claim 17

Image data encoding apparatus, comprising:
encoder circuitry configured to generate an output data stream having an encoded representation of samples of input image data, the samples of input image data being arranged as a set of output data units, the set of output data units having a display order;
parameter generator circuitry configured to generate, for each of the output data units, one or more data mapping parameters defining a data mapping operation to be performed at decoding of the encoded representation; and
parameter encoder circuitry configured to encode, to the output data stream, a representation of the one or more data mapping parameters for a subset of some but not all of the output data units.

### Claim 18 (depends on 17)

The apparatus of claim 17, in which the encoder circuitry is configured to apply the data mapping operation at generation of the output data stream for an output data unit, in accordance with the data mapping parameters associated with that output data unit.

### Claim 19 (depends on 17)

The apparatus of claim 17, in which the data mapping parameters comprise sample clipping parameters.

### Claim 20 (depends on 17)

The apparatus of claim 17, in which the data mapping parameters comprise luma mapping with chroma scaling (LMCS) parameters.
