# US 2021/0176495 A1 · Image encoding device, image decoding device and program

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

- Number: US 2021/0176495 A1
- Document ID: US20210176495A1
- Status: Published application
- Kind: A1
- Application number: 17/175,098
- Filed: 2021-02-12
- Published: 2021-06-10
- Earliest claimed: 2018-08-15
- Assignees: Nippon Hoso Kyokai
- Applicants: Nippon Hoso Kyokai
- Inventors: Shunsuke IWAMURA; Atsuro ICHIGAYA; Shimpei NEMOTO
- Web page: https://patentgrep.com/patent/US20210176495A1

## CPC

- H04N 19/593: involving spatial prediction techniques
- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/12: Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N 19/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/61: in combination with predictive coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image encoding device (1) includes the cross-component intra predictor (171a) generates a predicted chroma block through cross-component intra prediction in which a chroma block to be encoded is predicted by referring to, as the neighbouring decoded pixels adjacent to the chroma block, decoded luminance pixels and decoded chroma pixels, a candidate generator (181) configured to generate candidates for an orthogonal transform type to be applied to orthogonal transform processing on prediction residuals that represent errors between the predicted chroma block and the chroma block; and a transformer (121) configured to perform the orthogonal transform processing on the chroma prediction residuals by using an orthogonal transform type selected from among the candidates generated by the candidate generator (181). The candidate generator (181) generates the candidates for the orthogonal transform type, depending on whether or not positions of the neighbouring decoded pixels referred to in cross-component intra prediction are to only any one of a top, a bottom, a left, and a right of a chroma block.

## Claims

### Claim 1

An image encoding device comprising:
a cross-component intra predictor configured to generate a predicted block of a second component through cross-component intra prediction in which a block of the second component to be encoded is predicted by referring to, as neighbouring decoded pixels adjacent to the block of the second component, decoded pixels of a first component and decoded pixels of the second component;
a candidate generator configured to generate candidates for a transform type to be applied to transform processing on prediction residuals that represent errors between the predicted block of the second component and the block of the second component; and
a transformer configured to perform the transform processing on the prediction residuals by using a transform type selected from among the candidates generated by the candidate generator,
wherein the candidate generator is configured to generate the candidates for the transform type, based on positions of the neighbouring decoded pixels referred to in the cross-component intra prediction.

### Claim 2 (depends on 1)

The image encoding device according to claim 1, wherein the first component is a luminance component, and the second component is a chroma component.

### Claim 3 (depends on 1)

The image encoding device according to claim 1, wherein the candidate generator is configured to generate the candidates for the transform type, depending on whether or not the positions of the neighbouring decoded pixels referred to in the cross-component intra prediction are to only any one of a top, a bottom, a left, and a right of the block of the second component.

### Claim 4 (depends on 1)

The image encoding device according to claim 1, wherein
the cross-component intra predictor is configured to perform the cross-component intra prediction by using a mode selected from among a plurality of modes including a first mode and a second mode,
the first mode is a mode in which the block of the second component is predicted by referring to the neighbouring decoded pixels to both a top side and a left side of the block of the second component,
the second mode is a mode in which the block of the second component is predicted by referring to the neighbouring decoded pixels only to the top side or the left side of the block of the second component, and
the candidate generator is configured to
generate first candidates including one or more transform types, as the candidates for the transform type when the first mode is selected, and
generate second candidates that are different from the first candidates, as the candidates for the transform type when the second mode is selected.

### Claim 5 (depends on 4)

The image encoding device according to claim 4, wherein
the second candidates include horizontal-direction candidates that are one or more candidates for a transform type to be applied to the transform processing in a horizontal direction, and vertical-direction candidates that are one or more candidates for a transform type to be applied to the transform processing in a vertical direction, and
the horizontal-direction candidates and the vertical-direction candidates are at least partially different from each other.

### Claim 6

An image decoding device comprising:
a cross-component intra predictor configured to generate a predicted block of a second component through cross-component intra prediction in which a block of the second component to be decoded is predicted by referring to, as neighbouring decoded pixels adjacent to the block of the second component, decoded pixels of a first component and decoded pixels of the second component;
a candidate generator configured to generate candidates for a transform type to be applied to inverse transform processing on transform coefficients of the second component, the transform coefficients corresponding to prediction residuals that represent errors between the predicted block of the second component and the block of the second component; and
an inverse transformer configured to perform the inverse transform processing on the transform coefficients of the second component by using a transform type selected from among the candidates generated by the candidate generator,
wherein the candidate generator is configured to generate the candidates for the transform type, based on positions of the neighbouring decoded pixels referred to in the cross-component intra prediction.

### Claim 7 (depends on 6)

The image decoding device according to claim 6, wherein the first component is a luminance component, and the second component is a chroma component.

### Claim 8 (depends on 6)

The image decoding device according to claim 6, wherein the candidate generator is configured to generate the candidates for the transform type, depending on whether or not the positions of the neighbouring decoded pixels referred to in the cross-component intra prediction are to only any one of a top, a bottom, a left, and a right of the block of the second component.

### Claim 9 (depends on 6)

The image decoding device according to claim 6, wherein
the cross-component intra predictor is configured to perform the cross-component intra prediction by using a mode selected from among a plurality of modes including a first mode and a second mode,
the first mode is a mode in which the block of the second component is predicted by referring to the neighbouring decoded pixels to both a top side and a left side of the block of the second component,
the second mode is a mode in which the block of the second component is predicted by referring to the neighbouring decoded pixels only to the top side or the left side of the block of the second component, and
the candidate generator is configured to
generate first candidates including one or more transform types, as the candidates for the transform type when the first mode is selected, and
generate second candidates that are different from the first candidates, as the candidates for the transform type when the second mode is selected.

### Claim 10 (depends on 9)

The image decoding device according to claim 9, wherein
the second candidates include horizontal-direction candidates that are one or more candidates for a transform type to be applied to the inverse transform processing in a horizontal direction, and vertical-direction candidates that are one or more candidates for a transform type to be applied to the inverse transform processing in a vertical direction, and
the horizontal-direction candidates and the vertical-direction candidates are at least partially different from each other.

### Claim 11 (depends on 1)

A program causing a computer to function as the image encoding device according to claim 1.

### Claim 12 (depends on 6)

A program causing a computer to function as the image decoding device according to claim 6.
