Apparatus and method for coding image on basis of signaling of information for filtering
An image decoding method according to embodiments of the present document may comprise the steps of: acquiring, via a bitstream, image information including residual information; generating reconstruction samples on the basis of the residual information; and performing an in-loop filtering procedure for the reconstruction samples so as to generate modified reconstruction samples. The step of generating of the modified reconstruction samples may comprise a step of determining whether the in-loop filtering procedure is performed across virtual boundaries. In an example, wherein the image information includes an SPS, and on the basis of whether reference picture resampling is available, whether the SPS includes additional virtual boundary-related information may be determined.
1 . A decoding apparatus for image decoding, the decoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
obtain image information including residual information through a bitstream;
generate reconstructed samples of a current picture, based on the residual information;
perform an in-loop filtering process on the reconstructed samples of the current picture to generate modified reconstructed samples; and
determine whether the in-loop filtering process is performed across virtual boundaries,
wherein the image information includes a sequence parameter set (SPS) and picture header information,
wherein based on whether reference picture resampling is enabled, whether the SPS includes additional virtual boundaries-related information is determined,
wherein based on that the reference picture resampling is enabled, the SPS does not include the additional virtual boundaries-related information, and the picture header information includes the additional virtual boundaries-related information, and
wherein the additional virtual boundaries-related information comprising information on a number of the virtual boundaries and information on positions of the virtual boundaries is included in the picture header information.
2 . An encoding apparatus for image encoding, the encoding apparatus comprising:
a memory; and
at least one processor connected to the memory, the at least one processor configured to:
generate residual samples for a current block;
generate residual information, based on the residual samples for the current block;
determine whether an in-loop filtering process is performed on reconstructed samples of a current picture across virtual boundaries; and
encode image information including the residual information,
wherein the image information includes a sequence parameter set (SPS) and picture header information,
wherein based on whether reference picture resampling is enabled, whether the SPS includes additional virtual boundaries-related information is determined,
wherein based on that the reference picture resampling is enabled, the SPS does not include the additional virtual boundaries-related information, and the picture header information includes the additional virtual boundaries-related information, and
wherein the additional virtual boundaries-related information comprising information on a number of the virtual boundaries and information on positions of the virtual boundaries is included in the picture header information.
3 . An apparatus for transmitting data for an image, the apparatus comprising:
at least one processor configured to obtain a bitstream for the image, wherein the bitstream is generated based on generating residual samples for a current block, generating residual information, based on the residual samples for the current block, determining whether an in-loop filtering process is performed on reconstructed samples of a current picture across virtual boundaries, and encoding image information including the residual information; and
a transmitter configured to transmit the data comprising the bitstream,
wherein the image information includes a sequence parameter set (SPS) and picture header information,
wherein based on whether reference picture resampling is enabled, whether the SPS includes additional virtual boundaries-related information is determined,
wherein based on that the reference picture resampling is enabled, the SPS does not include the additional virtual boundaries-related information, and the picture header information includes the additional virtual boundaries-related information, and
wherein the additional virtual boundaries-related information comprising information on a number of the virtual boundaries and information on positions of the virtual boundaries is included in the picture header information.