![]() |
ИСТИНА |
Войти в систему Регистрация |
ИСТИНА ЦЭМИ РАН |
||
Provided are a video encoding method and apparatus and a video decoding method and apparatus for generating a reconstructed image having a minimized error between an original image and the reconstructed image. The video decoding method includes: parsing, from a bitstream, a scale parameter for scaling an offset of a current block; scaling an offset absolute value of the current block by using the scale parameter; determining an offset of the current block by using the scaled offset absolute value; and compensating for a sample value of a reconstructed pixel of the current block by using the offset of the current block.