Patent attributes
Methods and apparatuses for calibration of phase detection auto focus (PDAF) camera systems are disclosed. In one aspect, the method involves capturing a first image of a scene at an initial lens position, the first image including a first left image and a first right image captured using left and right photodiodes. The method may also involve calculating an initial phase difference between the first left image and first right image and estimating an in-focus lens position based on the initial phase difference. The method may further involve moving the lens to a final lens position at which a final phase difference between a second left image and a second right image of a second image captured at the final lens position is substantially zero and calibrating the estimation of the in-focus lens position based on the initial lens position, the final lens position, and the initial phase difference.