Image coding using transform index
AssigneeLG Electronics Inc.
InventorsJunghak Nam, Jaehyun Lim, Moonmo Koo, Seunghwan Kim
Life of this patent
Estimating the term…
Abstract
An image decoding method according to the present document comprises the steps of: receiving image information including residual information for a current block; and generating residual samples of the current block on the basis of the residual information, wherein the residual information includes information on transform coefficients of the current block, and the residual samples are generated from the information on the transform coefficients on the basis of low-frequency non-separable transform (LFNST) index information.
Claims3
An apparatus for decoding image information, the apparatus comprising:
- a memory;
- and
- at least one processor connected to the memory, the at least one processor configured to:
- receive the image information including prediction mode information and information on transform coefficients for a current block;
- derive prediction samples of the current block by performing an intra prediction based on the prediction mode information;
- generate residual samples of the current block based on the information on the transform coefficients;
- and
- generate reconstructed samples for the current block based on the prediction samples and the residual samples,
- wherein the image information includes intra prediction type information for the current block,
- wherein based on a tree type of the current block being single tree or dual tree luma, the intra prediction type information includes a matrix based intra prediction (MIP) flag representing whether MIP is applied to the current block,
- wherein in response to the MIP being applied to the current block as the value of the MIP flag is equal to 1, the prediction samples of the current block are derived by reducing neighboring reference samples of the current block, performing a matrix-multiplication on the reduced neighboring reference samples, and adding an offset to values on which the matrix-multiplication is performed,
- wherein a size of the matrix used for the matrix-multiplication is determined in response to a size of the current block,
- wherein the size of the matrix is 16×8 in response to the size of the current block being 8×8,
- wherein based on an intra sub-partitions (ISP) being not applied to the current block, a width and height of the current block being more than or equal to 4, the prediction mode information representing an intra mode and the MIP flag representing that the MIP is not applied, the image information includes low frequency non-separable transform (LFNST) index information related to one of transform kernels in an LFNST transform set for the current block,
- wherein a parsing order of the MIP flag always precedes a parsing order of the LFNST index information,
- wherein based on the MIP flag representing that the MIP is applied, the LFNST index information is not present and a value of the LFNST index information is derived as 0, and
- wherein the residual samples are generated based on the information on the transform coefficients by using the LFNST index information.
An apparatus for encoding image information, the apparatus comprising:
- a memory;
- and
- at least one processor connected to the memory, the at least one processor configured to:
- generate prediction samples of a current block by performing an intra prediction on the current block;
- generate prediction mode information and intra prediction type information for the current block based on the performed intra prediction;
- generate residual samples of the current block based on the prediction samples;
- generate information on transform coefficients based on the residual samples;
- and
- encode the image information including the prediction mode information, the intra prediction type information and the information on the transform coefficients,
- wherein based on a tree type of the current block being single tree or dual tree luma, the intra prediction type information includes a matrix based intra prediction (MIP) flag representing whether an MIP is applied to the current block,
- wherein in response to the value of the MIP flag equal to 1 as the MIP is applied to the current block, prediction samples of the current block are derived by reducing neighboring reference samples of the current block, performing a matrix-multiplication on the reduced neighboring reference samples, and adding an offset to values on which the matrix-multiplication is performed,
- wherein a size of the matrix used for the matrix-multiplication is determined in response to a size of the current block,
- wherein the size of the matrix is 16×8 in response to the size of the current block being 8×8,
- wherein based on an intra sub-partitions (ISP) being not applied to the current block, a width and height of the current block being more than or equal to 4, the prediction mode information representing an intra mode and the MIP flag representing that the MIP is not applied, the image information includes low frequency non-separable transform (LFNST) index information related to one of transform kernels in an LFNST transform set for the current block,
- wherein a signaling order of the MIP flag always precedes a signaling order of the LFNST index information, and
- wherein based on the MIP flag representing that the MIP is applied, the LFNST index information is not present and a value of the LFNST index information is equal to 0.
An apparatus for transmitting image information, the apparatus comprising:
- at least one processor configured to obtain a bitstream for the image, wherein the bitstream is generated based on generating prediction samples of a current block by performing an intra prediction on the current block, generating prediction mode information and intra prediction type information for the current block based on the performed intra prediction, generating residual samples of the current block based on the prediction samples, generating information on transform coefficients based on the residual samples, and encoding the image information including the prediction mode information, the intra prediction type information and the information on the transform coefficients;
- and
- a transmitter configured to transmit the data comprising the bitstream,
- wherein based on a tree type of the current block being single tree or dual tree luma, the intra prediction type information includes a matrix based intra prediction (MIP) flag representing whether an MIP is applied to the current block,
- wherein in response to the value of the MIP flag equal to 1 as the MIP is applied to the current block, prediction samples of the current block are derived by reducing neighboring reference samples of the current block, performing a matrix-multiplication on the reduced neighboring reference samples, and adding an offset to values on which the matrix-multiplication is performed,
- wherein a size of the matrix used for the matrix-multiplication is determined in response to a size of the current block,
- wherein the size of the matrix is 16×8 in response to the size of the current block being 8×8,
- wherein based on an intra sub-partitions (ISP) being not applied to the current block, a width and height of the current block being more than or equal to 4, the prediction mode information representing an intra mode and the MIP flag representing that the MIP is not applied, the image information includes low frequency non-separable transform (LFNST) index information related to one of transform kernels in an LFNST transform set for the current block,
- wherein a signaling order of the MIP flag always precedes a signaling order of the LFNST index information, and
- wherein based on the MIP flag representing that the MIP is applied, the LFNST index information is not present and a value of the LFNST index information is equal to 0.
Dependencies are inferred from the claim text.