Patent ID: 9094602
Filing Date: 2015-07-28
Classification: H04N

Abstract:
1. An imaging device, having an image sensor that is provided with a plurality of pixels having photoelectric conversion sections for converting an optical image that has been formed by an imaging optical system into electrical signals, including focus detection pixels, formed so as to restrict an incident direction of light flux that is incident on the pixels, and imaging pixels, formed so as not to restrict light flux incident on the pixels as much as the focus detection pixels, the plurality of pixels being arrayed two-dimensionally, comprising: a focus detection section for detecting an out of focus amount and an out of focus direction by carrying out a focus detection operation using phase difference detection based on output of the focus detection pixels; a pixel adding section, for creating respective first addition outputs by adding outputs of a first number of focus detection pixels that are arranged in a direction that is perpendicular to a detection direction for the phase difference detection, for a plurality of regions arranged in the detection direction for phase difference detection of an imaging region of the image sensor, and creating respective second addition outputs in a direction that is perpendicular to the phase difference detection direction by adding outputs of a second number of focus detection pixels that is smaller than the first number, arranged in a direction perpendicular to the phase difference detection direction, for a plurality of regions arranged in the detection direction for phase difference detection; and a determination section for determining whether or not to correct an angle error arising as a result of inclination of an optical image with respect to the pixel array direction, wherein the focus detection section executes a focus detection operation on the basis of the first addition outputs corresponding to the plurality of regions, the determination section determines whether or not to correct angle error on the basis of the plurality of second addition outputs corresponding to the plurality of regions, and in the event that the determination section has determined to correct angle error, the focus detection section corrects angle error based on a result of a focus detection operation.