1. A method of processing an image with a data format comprising a plurality of color components, the method comprising: generating a plurality of color component images for each of the plurality of color components; correcting lens distortion (LD) and chromatic aberration (CA) for the plurality of color component images by calculating a corrected coordinate value for each of the plurality of color component images; changing the sizes of corrected color component images on the basis of a corrected color component image having a minimum size from among the plurality of corrected color component images; and generating a corrected image by integrating the corrected plurality of color component images.