Encoder, decoder, encoding method, and decoding method
An encoder capable of properly handling an image to be encoded or decoded includes processing circuitry and memory connected to the processing circuitry. Using the memory, the processing circuitry: obtains parameters including at least one of (i) one or more parameters related to a first process for correcting distortion in an image captured with a wide angle lens and (ii) one or more parameters related to a second process for stitching a plurality of images; generates an encoded image by encoding a current image to be processed that is based on the image or the plurality of images; and writes the parameters into a bitstream including the encoded image.
1 . An encoder, comprising:
processing circuitry; and
memory connected to the processing circuitry,
wherein, using the memory, the processing circuitry:
performs an inter prediction process on a first picture, the first picture including a plurality of regions, wherein
the inter prediction process is performed for each block in the first picture, and
the inter prediction process includes an arrangement process in which a plurality of pixels within the first picture is arranged or rearranged in a way in which an object within neighboring regions among the plurality of regions is continuous.