| CPC H04N 23/698 (2023.01) [G06T 3/40 (2013.01); H04N 19/103 (2014.11); H04N 19/11 (2014.11); H04N 19/119 (2014.11); H04N 19/124 (2014.11); H04N 19/129 (2014.11); H04N 19/13 (2014.11); H04N 19/134 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/51 (2014.11); H04N 19/625 (2014.11)] | 4 Claims |

|
1. A method for decoding a 360-degree image, the method comprising:
receiving a bitstream in which the 360-degree image is encoded, the bitstream including data of an extended 2-dimensional image, the extended 2-dimensional image including a 2-dimensional image and a predetermined extension region, and the 2-dimensional image being projected from an image with a 3-dimensional projection structure and including at least one face; and
reconstructing the extended 2-dimensional image by decoding the data of an extended 2-dimensional image,
wherein, based on a projection format for the 3-dimensional projection structure is a first projection format, a size of the extension region is determined based on first width information for specifying a width of the extension region on a left side of the face and second width information for specifying a width of the extension region on a right side of the face, both the first width information and the second width information being obtained from the bitstream,
wherein, based on a projection format for the 3-dimensional projection structure is a second projection format, a size of the extension region is determined based on first width information for specifying a width of the extension region on a left side of the face, second width information for specifying a width of the extension region on a right side of the face, third height information for specifying a height of the extension region on a top side of the face and fourth height information for specifying a height of the extension region on a bottom side of the face, all of the first width information, the second width information, the third height information and the fourth height information being obtained from the bitstream,
wherein the first projection format and the second projection format are selected from a plurality of projection formats including an ERP format in which the 360-degree image is projected in a two-dimensional plane and a CMP format in which the 360-degree image is projected in a cube,
wherein sample values of the extension region are determined differently according to a padding method selected from a plurality of padding methods,
wherein, in case of the second projection format, the padding method for the left side of the face, the padding method for the right side of the face, the padding method for the top side of the face and the padding method for the bottom side of the face are selected independently from each other,
wherein the reconstructing the extended 2-dimensional image comprises generating a prediction image and a residual image, and
wherein the prediction image is generated by performing intra prediction.
|