Focus detection apparatus and method
AssigneeCanon Kabushiki Kaisha
InventorNobuhiro Shibata
Life of this patent
Estimating the term…
Abstract
A focus detection apparatus comprising: a setting unit that selects and sets one of a plurality of predetermined focus detection areas which include a first focus detection area and a second focus detection area located in a periphery of a screen in an image shooting mode for shooting the moon; a first calculation unit that calculates an in-focus position in the first focus detection area based on a phase difference between a pair of focus detection signals having a parallax output from an image sensor; and a second calculation unit that calculates an in-focus position in the second focus detection area based on contrast of image signals output from the image sensor.
Claims14
A focus detection apparatus comprising one or more processors and/or circuitry which functions as:
- a setting unit that selects and sets one of a plurality of predetermined focus detection areas which include a first focus detection area and a second focus detection area located in a periphery of a screen in an image shooting mode for shooting a predetermined main subject;
- a first calculation unit that calculates an in-focus position in the focus detection area set by the setting unit based on a phase difference between a pair of focus detection signals having a parallax obtained by performing photoelectric conversion on light entering through an imaging optical system by an image sensor having a plurality of pixels that include focus detection pixels which output the pair of focus detection signals;
- and
- a second calculation unit that calculates an in-focus position in the focus detection area set by the setting unit based on contrast of image signals output from the image sensor,
- wherein, in a case where the first focus detection area is set by the setting unit, the in-focus position is calculated by the first calculation unit, and in a case where the second focus detection area is set by the setting unit, the in-focus position is calculated by the second calculation unit.
A focus detection method comprising:
- selecting and setting one of a plurality of predetermined focus detection areas which include a first focus detection area and a second focus detection area located in a periphery of a screen in an image shooting mode for shooting a predetermined main subject;
- calculating, in a case where the first focus detection area is set, an in-focus position in the first focus detection area based on a phase difference between a pair of focus detection signals having a parallax obtained by performing photoelectric conversion on light entering through an imaging optical system by an image sensor having a plurality of pixels that include focus detection pixels which output the pair of focus detection signals;
- and
- calculating, in a case where the second focus detection area is set, an in-focus position in the second focus detection area based on contrast of image signals output from the image sensor.
A non-transitory storage medium readable by a computer, the storage medium storing a program that is executable by the computer, wherein the program includes program code for causing the computer to function as a focus detection apparatus comprising:
- a setting unit that selects and sets one of a plurality of predetermined focus detection areas which include a first focus detection area and a second focus detection area located in a periphery of a screen in an image shooting mode for shooting a predetermined main subject;
- a first calculation unit that calculates an in-focus position in the focus detection area set by the setting unit based on a phase difference between a pair of focus detection signals having a parallax obtained by performing photoelectric conversion on light entering through an imaging optical system by an image sensor having a plurality of pixels that include focus detection pixels which output the pair of focus detection signals;
- and
- a second calculation unit that calculates an in-focus position in the focus detection area set by the setting unit based on contrast of image signals output from the image sensor,
- wherein, in a case where the first focus detection area is set by the setting unit, the in-focus position is calculated by the first calculation unit, and in a case where the second focus detection area is set by the setting unit, the in-focus position is calculated by the second calculation unit.
Dependencies are inferred from the claim text.