Patent ID: 9571718
Date: 2017-02-14
CPC Classifications: H04N

Claim:
1. An image processing apparatus for processing a picked-up image which is output from an image pickup element having a microlens array, a plurality of pixels of the image pickup element being assigned to one microlens of the microlens array, configured to pick up an image, comprising: an obtaining unit configured to obtain the picked-up image which is output from the image pickup element; a refocus processing unit configured to perform image processing on the obtained picked-up image based on ray directional information of the obtained picked-up image as refocus processing so as to generate a reconstruction image whose focal length is different from a focal length of the obtained picked-up image; a defect pixel detection unit configured to detect a defect pixel from the obtained picked-up image; and a control unit configured to control the refocus processing unit and the defect pixel detection unit in such a manner that makes the defect pixel detection unit perform the detection of the defect pixel of the obtained picked-up image, and makes the refocus processing unit perform the refocus processing after performing the detection of the defect pixel on the picked-up image in which the detection of the defect pixel is performed.