| CPC H04N 19/46 (2014.11) [H04N 19/176 (2014.11); H04N 19/1883 (2014.11); H04N 19/82 (2014.11)] | 7 Claims |

|
1. An image decoding method comprising:
obtaining sub-picture information from a sequence parameter set (SPS) of a bitstream; and
decoding a current sub-picture based on the sub-picture information,
wherein the sub-picture information includes at least one of a first flag or a second flag,
wherein the first flag indicating whether a sub-picture ID is explicitly signaled,
wherein the second flag indicating whether the sub-picture ID is signaled in the SPS or a picture parameter set (PPS),
wherein, in response to the first flag indicating that the sub-picture ID is not explicitly signaled, the sub-picture ID is not explicitly signaled,
wherein, in response to the first flag indicating that the sub-picture ID is explicitly signaled, the second flag is obtained from the SPS,
wherein, in response to a value of the second flag being 1, the sub-picture ID is signaled from the SPS,
wherein, in response to the value of the second flag being 0, the sub-picture ID is signaled from the PPS, and
wherein the sub-picture information includes a third flag indicating whether sub-pictures included in a current picture have a same size.
|