# US 9,357,221 B2 · Methods and apparatus for adaptive transform selection for video 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 9,357,221 B2
- Document ID: US9357221B2
- Status: Granted
- Kind: B2
- Application number: 13/384,796
- Filed: 2010-07-22
- Published: 2012-05-17
- Granted: 2016-05-31
- Earliest claimed: 2009-07-23
- Assignees: Thomson Licensing
- Applicants: Xiaoan Lu; Joel Sole; Peng Yin; Qian Xu; Yunfei Zheng
- Inventors: Xiaoan Lu; Joel Sole; Peng Yin; Qian Xu; Yunfei Zheng
- Web page: https://patentgrep.com/patent/US9357221B2

## CPC

- H04N 19/179: the unit being a scene or a shot
- H04N 19/122: Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/172: the region being a picture, frame or field
- H04N 19/177: the unit being a group of pictures [GOP]
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/61: in combination with predictive coding
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Methods and apparatus are provided for adaptive transform selection for video encoding and decoding. An apparatus includes a video encoder for encoding at least a block in a picture using a transform. The transform used to encode the block is selected from a plurality of transforms. The plurality of transforms is adaptively updated during the encoding of the picture.

## Claims

### Claim 1

An apparatus, comprising:
a video encoder including a transformer and a quantizer, the video encoder configured to encode at least a block using a transform selected from a plurality of transforms and to encode at least a second block using a second transform selected from an adaptively updated plurality of transforms,
wherein the transformer is configured to determine the adaptively updated plurality of transforms by adaptively updating the plurality of transforms, after one or more pictures are encoded, based on residue information from the encoded one or more pictures, and
wherein adaptively updating the plurality of transforms includes the transformer adaptively updating a basis of at least a transform of the plurality of transforms based on the residue information from the encoded one or more pictures.

### Claim 2

In a video encoder, a method, comprising:
encoding at least a block using a transform selected from a plurality of transforms,
encoding at least a second block using a second transform selected from an adaptively updated plurality of transforms, and
determining the adaptively updated plurality of transforms by adaptively updating by a transformer the plurality of transforms after one or more pictures are encoded based on residue information from the encoded one or more pictures, and
wherein adaptively updating the plurality of transforms includes the transformer adaptively updating a basis of at least a transform of the plurality of transforms based on the residue information from the encoded one or more pictures.

### Claim 3 (depends on 2)

The method of claim 2, wherein only a non-zero portion of the residue information from the previously encoded one or more pictures is used to determine the adaptively updated plurality of transforms.

### Claim 4 (depends on 2)

The method of claim 2, wherein the adaptively updated plurality of transforms are determined by adaptively updating the plurality of transforms on at least one of a frame-basis, a group of pictures basis, and a scene basis.

### Claim 5 (depends on 2)

The method of claim 2, further comprising one or more of the following:
transmitting the selected transform to a corresponding decoder when the selected transform is not present at the corresponding decoder;
identifying the selected transform to the corresponding decoder when the selected transform is already present at the corresponding decoder; and
regenerating the selected transform or a corresponding inverse transform at the corresponding decoder when the selected transform is not present at the corresponding decoder.

### Claim 6 (depends on 2)

The method of claim 2, further comprising selecting a subset of the plurality of transforms and transmitting information identifying the subset of the plurality of transforms to a decoder.

### Claim 7 (depends on 6)

The method of claim 6, wherein the identifying information includes indices of the subset of the plurality of transforms and the indices are transmitted in a corresponding bitstream using one or more high level syntax elements.

### Claim 8 (depends on 6)

The method of claim 6, wherein the plurality of transforms are adaptively updated to obtain a trained plurality of transforms, and wherein a selection of the subset is based on the plurality of transforms and the trained plurality of transforms.

### Claim 9

An apparatus, comprising:
a video decoder including an inverse transformer and an inverse quantizer, the video decoder configured to decode at least a block using an inverse transform selected from a plurality of inverse transforms and to decode at least a second block using a second inverse transform selected from an adaptively updated plurality of inverse transforms,
wherein the inverse transformer is configured to determine the adaptively updated plurality of inverse transforms by adaptively updating the plurality of inverse transforms, after one or more pictures are decoded, based on residue information from the decoded one or more pictures, and
wherein adaptively updating the plurality of inverse transforms includes the inverse transformer adaptively updating a basis of at least an inverse transform of the plurality of inverse transforms based on the residue information from the decoded one or more pictures.

### Claim 10

In a video decoder, a method, comprising:
decoding at least a block using an inverse transform selected from a plurality of inverse transforms, and
decoding at least a second block using a second inverse transform selected from an adaptively updated plurality of inverse transforms,
determining the adaptively updated plurality of inverse transforms by adaptively updating by an inverse transformer the plurality of inverse transforms after one or more pictures are decoded based on residue information from the decoded one or more pictures, and
wherein adaptively updating the plurality of inverse transforms includes the inverse transformer adaptively updating a basis of at least an inverse transform of the plurality of inverse transforms based on the residue information from the decoded one or more pictures.

### Claim 11 (depends on 10)

The method of claim 10, wherein only a non-zero portion of the residue information from the previously decoded one or more pictures is used to determine the adaptively updated plurality of inverse transforms.

### Claim 12 (depends on 10)

The method of claim 10, wherein the adaptively updated plurality of inverse transforms are determined by adaptively updating the plurality of inverse transforms on at least one of a frame-basis, a group of pictures basis, and a scene basis.

### Claim 13 (depends on 10)

The method of claim 10, further comprising one or more of the following:
receiving a transform selected by a video encoder when the selected transform is not present at the video decoder; and
receiving identification related to the selected inverse transform when the selected inverse transform is already present at the video decoder.

### Claim 14 (depends on 10)

The method of claim 10, further comprising receiving information identifying a subset of the plurality of inverse transforms.

### Claim 15 (depends on 14)

The method of claim 14, wherein the identifying information is includes indices of the subset of the plurality of inverse transforms and the indices are received in a corresponding bitstream using one or more high level syntax elements.

### Claim 16 (depends on 2)

The method of claim 2, wherein a reset process is used to reset the adaptively updated plurality of transforms at a change of scene.

### Claim 17 (depends on 10)

The method of claim 10, wherein a reset process is used to reset the adaptively updated plurality of inverse transforms at a change of scene.

### Claim 18 (depends on 1)

The apparatus of claim 1, wherein only a non-zero portion of the residue information from the previously encoded one or more pictures is used to determine the adaptively updated plurality of transforms.

### Claim 19 (depends on 1)

The apparatus of claim 1, wherein the adaptively updated plurality of transforms are determined by adaptively updating the plurality of transforms on at least one of a frame-basis, a group of pictures basis, and a scene basis.

### Claim 20 (depends on 1)

The apparatus of claim 1, wherein the video encoder is further configured to transmit the selected transform to a corresponding decoder when the selected transform is not present at the corresponding decoder, to identify the selected transform to the corresponding decoder when the selected transform is already present at the corresponding decoder, and to regenerate the selected transform or a corresponding inverse transform at the corresponding decoder when the selected transform is not present at the corresponding decoder.

### Claim 21 (depends on 1)

The apparatus of claim 1, wherein the video encoder is further configured to select a subset of the plurality of transforms and transmitting information identifying the subset of the plurality of transforms to a decoder.

### Claim 22 (depends on 21)

The apparatus of claim 21, wherein the identifying information includes indices of the subset of the plurality of transforms and the indices are transmitted in a corresponding bitstream using one or more high level syntax elements.

### Claim 23 (depends on 21)

The apparatus of claim 21, wherein the plurality of transforms are adaptively updated to obtain a trained plurality of transforms, and wherein a selection of the subset is based on the plurality of transforms and the trained plurality of transforms.

### Claim 24 (depends on 1)

The apparatus of claim 1, wherein a reset process is used to reset the adaptively updated plurality of transforms at a change of scene.

### Claim 25 (depends on 9)

The apparatus of claim 9, wherein only a non-zero portion of the residue information from the previously decoded one or more pictures is used to determine the adaptively updated plurality of inverse transforms.

### Claim 26 (depends on 9)

The apparatus of claim 9, wherein the adaptively updated plurality of inverse transforms are determined by adaptively updating the plurality of inverse transforms on at least one of a frame-basis, a group of pictures basis, and a scene basis.

### Claim 27 (depends on 9)

The apparatus of claim 9, wherein the video decoder is further configured to receive a transform selected by a video encoder when the selected transform is not present at the video decoder and to receive identification related to the selected inverse transform when the selected inverse transform is already present at the video decoder.

### Claim 28 (depends on 9)

The apparatus of claim 9, wherein the video decoder is configured to receive information identifying a subset of the plurality of inverse transforms.

### Claim 29 (depends on 28)

The apparatus of claim 28, wherein the identifying information includes indices of the subset of the plurality of inverse transforms and the indices are received in a corresponding bitstream using one or more high level syntax elements.

### Claim 30 (depends on 9)

The apparatus of claim 9, wherein a reset process is used to reset the plurality of inverse transforms at a change of scene.

### Claim 31 (depends on 2)

The method of claim 2, wherein singular value decomposition training is used to adaptively update the plurality of transforms.

### Claim 32 (depends on 10)

The method of claim 10, wherein singular value decomposition training is used to adaptively update the plurality of inverse transforms.
