Image encoding method/device, image decoding method/device and recording medium having bitstream stored thereon
View Patent ↗The present invention provides an image encoding method and an image decoding method. The image decoding method, according to the present invention, comprises the steps of: decoding information associated with a clipping range of a current block; and performing sample adaptive offset (SAO) filtering on the basis of the information associated with the clipping range, wherein the information associated with the clipping range may include information on the maximum and minimum values of a pixel value included in the current block.
1 . An image decoding method, comprising:
performing filtering on a luma block in a current picture; and
performing filtering on a chroma block in the current picture,
wherein filtering on the chroma block is performed by clipping pixel values in the chroma block within a minimum and a maximum range;
wherein a maximum normalized luminance value and a minimum normalized luminance value of the current picture are signaled from a bitstream.
2 . An image encoding method, comprising:
performing filtering on a luma block in a current picture; and
performing filtering on a chroma block in the current picture,
wherein filtering on the chroma block is performed by clipping pixel values in the chroma block within a minimum and a maximum range;
wherein a maximum normalized luminance value and a minimum normalized luminance value of the current picture are encoded into a bitstream.
3 . A non-transitory computer-readable recording medium storing a bitstream generated by an image encoding method, the method comprising:
performing filtering on a luma block in a current picture; and
performing filtering on a chroma block in the current picture,
wherein filtering on the chroma block is performed by clipping pixel values in the chroma block within a minimum and a maximum range;
wherein a maximum normalized luminance value and a minimum normalized luminance value of the current picture are encoded into the bitstream.