CPC H04N 19/132 (2014.11) [H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/1887 (2014.11); H04N 19/30 (2014.11)] | 11 Claims |
1. An image decoding method performed by a decoding apparatus, the method comprising:
obtaining prediction mode information and reshaping related information from a bitstream;
deriving a prediction mode of a current block based on the prediction mode information;
deriving luma prediction sample values of the current block based on the prediction mode of the current block;
performing reshaping on the luma prediction sample values based on the reshaping related information; and
deriving luma reconstructed samples based on reshaped luma prediction sample values,
wherein the reshaping related information includes information on an absolute value of a delta codeword for deriving a linear or piecewise linear reshaper and information on a sign of the delta codeword,
wherein the reshaping related information includes information specifying whether a reshaper used to perform reshaping is linear or piecewise linear,
wherein based on the information specifying whether the reshaper is linear or piecewise linear, it is determined whether the reshaper is linear or piecewise linear, and
wherein based on a determination that the reshaper is piecewise linear, the reshaping related information includes information on the absolute value and the sign of the delta codeword for each of a plurality of bins.
|