Method and apparatus for encoding/decoding image in intra prediction and recording medium for storing bitstream
AssigneesElectronics and Telecommunications Research Institute, Chips & Media, Inc
InventorsSung Chang LIM, Jung Won KANG, Ha Hyun LEE, Jin Ho LEE, Hui Yong KIM, Dae Yeon KIM
Life of this patent
Estimating the term…
Abstract
Disclosed herein is an image encoding/decoding method. A method of decoding an image includes determining an intra prediction mode of a current block, and generating a prediction block of the current block, by performing prediction based on the intra prediction mode. When the intra prediction mode of the current block is a matrix-based intra prediction (MIP) mode, a length of a reference sample used for intra prediction is derived based on a length of the current block.
Claims12
A method of decoding an image, the method comprising:
- determining an intra prediction mode of a current block;
- generating a prediction block of the current block, by performing prediction based on the intra prediction mode;
- and
- generating a reconstruction block of the current block based on the prediction block of the current block,
- wherein, when the current block is a chroma block and the intra prediction mode of the current block is a cross-component prediction mode, the generating the prediction block of the current block includes:
- generating neighboring samples of a luma block corresponding to the current block;
- performing down-sampling with respect to the neighboring samples of the luma block by applying at least one filter to neighboring samples at specific locations among the neighboring samples of the luma block;
- deriving a cross-component parameter based on the down-sampled neighboring samples;
- and
- generating the prediction block of the current block based on the cross-component parameter,
- wherein the neighboring samples of the luma block include at least one of top neighboring samples or left neighboring samples, and
- wherein an interval between the specific locations is determined based on a type of the cross-component prediction mode and the number of available neighboring samples of the current block.
A method of encoding an image, the method comprising:
- determining an intra prediction mode of a current block;
- generating a prediction block of the current block, by performing prediction based on the intra prediction mode;
- and
- generating a residual block of the current block based on the prediction block of the current block,
- wherein when the current block is a chroma block and the intra prediction mode of the current block is a cross-component prediction mode, the generating the prediction block of the current block includes:
- generating neighboring samples of a luma block corresponding to the current block;
- performing down-sampling with respect to the neighboring samples of the luma block by applying at least one filter to neighboring samples at specific locations among the neighboring samples of the luma block;
- deriving a cross-component parameter based on the down-sampled neighboring samples;
- and
- generating the prediction block of the current block based on the cross-component parameter,
- wherein the neighboring samples of the luma block include at least one of top neighboring samples or left neighboring samples, and
- wherein an interval between the specific locations is determined based on a type of the cross-component prediction mode and the number of available neighboring samples of the current block.
A non-transitory computer-readable recording medium for storing a bitstream generated by an image encoding method, the image encoding method comprises:
- determining an intra prediction mode of a current block;
- generating a prediction block of the current block, by performing prediction based on the intra prediction mode;
- and
- generating a residual block of the current block based on the prediction block of the current block,
- wherein when the current block is a chroma block and the intra prediction mode of the current block is a cross-component prediction mode, the generating the prediction block of the current block includes:
- generating neighboring samples of a luma block corresponding to the current block;
- performing down-sampling with respect to the neighboring samples of the luma block by applying at least one filter to neighboring samples at specific locations among the neighboring samples of the luma block;
- deriving a cross-component parameter based on the down-sampled neighboring samples;
- and
- generating the prediction block of the current block based on the cross-component parameter,
- wherein the neighboring samples of the luma block include at least one of top neighboring samples or left neighboring samples, and
- wherein an interval between the specific locations is determined based on a type of the cross-component prediction mode and the number of available neighboring samples of the current block.
Dependencies are inferred from the claim text.