CPC H04N 19/42 (2014.11) [G06T 9/00 (2013.01); H04N 19/137 (2014.11); H04N 19/52 (2014.11)] | 13 Claims |
1. An image decoding method based on artificial intelligence (AI), the image decoding method comprising:
obtaining first feature data and second feature data from a bitstream,
obtaining a current optical flow and first weight data by applying the first feature data to an optical flow decoder;
obtaining a current residual image by applying the second feature data to a residual decoder;
obtaining a first prediction image from a previous reconstructed image, based on the current optical flow;
obtaining a second prediction image by applying a first sample value of the first weight data to a second sample value of the first prediction image; and
obtaining a current reconstructed image corresponding to a current image by combining the second prediction image with the current residual image.
|