Patent ID: 8629917

Claim:
An image processing apparatus comprising: a memory; a processor coupled to the memory which executes the following: inputting RAW data, the RAW data being obtained by sampling light that enters an image pickup apparatus including a color filter comprising a plurality of colors and a sensor, the sampling being performed in the sensor via the color filters; generating color planes each corresponding to one of the plurality of colors by using an arrangement of the color filter, values at pixel positions which do not correspond to the corresponding color of the color plane being zero; correcting a blur of each of color planes to obtain a corrected color plane by G c ″=m c ×[R c *{m c ×( h c *f c )}] c: color of color plane G c ″: Corrected color plane for color c m c : mask function for color c (1 at positions for color c and 0 at positions for colors other than color c) R c : image recovery filter for color c h c :PSF corresponds to color c f c :color plane for color c; and performing a demosaic process on the corrected color planes, thereby generating output image data.