According to an embodiment of the present invention, a picture decoding method performed by a decoding apparatus is provided. The method comprises: decoding image information comprising information on a quantization parameter (QP), deriving an expected average luma value of a current block from neighboring available samples, deriving a quantization parameter offset (QP offset) for deriving a luma quantization parameter (luma QP) based on the expected average luma value and the information on the QP, deriving the luma QP based on the QP offset, performing an inverse quantization for a quantization group comprising the current block based on the derived luma QP, generating residual samples for the current block based on the inverse quantization, generating prediction samples for the current block based on the image information and generating reconstructed samples for the current block based on the residual samples for the current block and the prediction samples for the current block.