Patent attributes
This invention enables compression-coding of image data of a Bayer arrangement more efficiently. For this purpose, an encoding apparatus includes a generation unit which generates, from G0 and G1 component data of the image data of the Bayer arrangement, a GL plane formed from low-frequency component data of a G component and a GH plane formed from high-frequency component data of the G component, a luminance/color difference transforming unit which generates, from R and B component data of the image data of the Bayer arrangement and the GL plane, a luminance plane, a first color difference plane, and a second color difference plane, and an encoding unit which encodes the luminance plane, the first color difference plane, the second color difference plane, and the GH plane.