An image encoding/decoding method and apparatus are provided. An image decoding method according to the present disclosure is performed by an image decoding apparatus. The image decoding method comprises deriving a prediction sample of a current block based on motion information of the current block, deriving a reference picture resampling (RPR) condition for the current block, determining whether prediction refinement with optical flow (PROF) applies to the current block based on the RPR condition, and deriving a refined prediction sample for the current block by applying PROF to the current block.
Legal claims defining the scope of protection, as filed with the USPTO.
3. The image decoding method of claim 2, wherein it is determined that PROF does not apply to the current block, based on the RPR condition being the first value.
4. The image decoding method of claim 1, wherein whether PROF applies to the current block is determined based on a size of the current block.
5. The image decoding method of claim 4, wherein it is determined that PROF does not apply to the current block, based on a product of a width w of the current block and a height h of the current block being less than 128.
6. The image decoding method of claim 1, wherein information specifying whether the current block is an affine merge mode is parsed from a bitstream based on a size of the current block.
7. The image decoding method of claim 6, wherein the information specifying whether the current block is the affine merge mode is parsed from the bitstream, based on each of a width w of the current block and a height h of the current block being equal to or greater than 8 and w*h being equal to or greater than 128.
8. The image decoding method of claim 1, wherein information specifying whether the current block is an affine MVP mode is parsed from a bitstream based on a size of the current block.
9. The image decoding method of claim 8, wherein the information specifying whether the current block is the affine MVP mode is parsed from the bitstream, based on each of a width w of the current block and a height h of the current block being equal to or greater than 8 and w*h being equal to or greater than 128.
10. The image decoding method of claim 1, wherein whether PROF applies to the current block is determined based on whether BCW or WP applies to the current block.
11. The image decoding method of claim 10, wherein it is determined that PROF does not apply to the current block, based on BCW or WP applying to the current block.
14. A non-transitory computer readable recording medium storing a bitstream generated by the image encoding method of claim 12.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
October 20, 2022
February 27, 2024
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.