| CPC H04N 19/98 (2014.11) [H04N 19/30 (2014.11)] | 4 Claims |

|
1. A method of decoding an image performed by an image decoding apparatus, the method comprising:
analyzing an image characteristic of a current image by using one or more pixels of a current block and one or more pixels of a neighboring block;
determining mapping information based on the analyzed image characteristic; and
decoding the current image based on the mapping information,
wherein the mapping information is determined for at least one of a plurality of intervals, the plurality of intervals being obtained by dividing a luminance range for the current image, and
wherein determining the mapping information comprises modifying, based on the analyzed image characteristic, the mapping information using modification information corresponding to an interval of the current image,
wherein the interval of the current image is representative of one of the plurality of intervals,
wherein the modification of the mapping information is performed based on a flag transmitted from an image encoding apparatus,
wherein the image decoding apparatus receives a bitstream from the image encoding apparatus,
wherein the bitstream includes a video parameter set (VPS) and a sequence parameter set (SPS),
wherein the modification information is included in the sequence parameter set,
wherein the modification information is received, from the bitstream, for each of the plurality of intervals, and
wherein the modification information comprises information on a position of the interval and a modification value needed for the modification.
|