Method and device for encoding/decoding image, and recording medium storing bit stream
An image encoding/decoding method and apparatus for predicting a second color component block using a first color component block are provided. An image decoding method of the present invention comprises deriving a prediction parameter using the first color component block, and predicting the second color component block using the derived prediction parameter.
1. An image decoding method performed by a decoding apparatus, the method comprising:
obtaining, from a bitstream, prediction mode information;
determining a prediction mode for a chroma block based on the prediction mode information;
deriving a reconstructed luma block for a luma block related to the chroma block;
deriving a predicted block of the chroma block based on the prediction mode and the reconstructed luma block; and
generating a reconstructed chroma block based on the predicted block of the chroma block,
wherein deriving the predicted block of the chroma block comprising:
reconfiguring the reconstructed lima block;
deriving a first predicted block for the chroma block based on one of intra prediction modes, wherein the intra prediction modes include a DC mode; and
deriving a second predicted block for the chroma block based on the reconfigured reconstructed huma block,
wherein the predicted block of the chroma block is derived based on the first predicted block and the second predicted block;
wherein the reconfigured reconstructed luma block has the same size as the chroma block.
2. An image encoding method performed by an encoding apparatus, the method comprising:
determining a prediction mode for a chroma block;
deriving a reconstructed luma block for a luma block related to the chroma block;
deriving a predicted block of the chroma block based on the prediction mode and the reconstructed luma block;
generating prediction mode information indicating the prediction mode; and
encoding image information including the prediction mode information,
wherein deriving the predicted block of the chroma block comprising:
reconfiguring the reconstructed luma block;
deriving a first predicted block for the chroma block based on one of intra prediction modes, wherein the intra prediction modes include a DC mode; and
deriving a second predicted block for the chroma block based on the reconfigured reconstructed luma block,
wherein the predicted block of the chroma block is derived based on the first predicted block and the second predicted block;
wherein the reconfigured reconstructed luma block has the same size as the chroma block.
3. A transmission method for image data, the method comprising:
obtaining a bitstream of encoded image information, wherein the encoded image information is generated based on determining a prediction mode for a chroma block, deriving a reconstructed luma block for a luma block related to the chroma block, deriving a predicted block of the chroma block based on the prediction mode and the reconstructed luma block, generating prediction mode information indicating the prediction mode, and encoding image information including the prediction mode information; and
transmitting the image data comprising the bitstream,
wherein deriving the predicted block of the chroma block comprising:
reconfiguring the reconstructed luma block,
deriving a first predicted block for the chroma block based on one of intra prediction modes, wherein the intra prediction modes include a DC mode; and
deriving a second predicted block for the chroma block based on the reconfigured reconstructed huma block,
wherein the predicted block of the chroma block is derived based on the first predicted block and the second predicted block;
wherein the reconfigured reconstructed luma block has the same size as the chroma block.