[go: up one dir, main page]

JPH11258492A - Focus detection apparatus, method, and computer-readable storage medium - Google Patents

Focus detection apparatus, method, and computer-readable storage medium

Info

Publication number
JPH11258492A
JPH11258492A JP5783998A JP5783998A JPH11258492A JP H11258492 A JPH11258492 A JP H11258492A JP 5783998 A JP5783998 A JP 5783998A JP 5783998 A JP5783998 A JP 5783998A JP H11258492 A JPH11258492 A JP H11258492A
Authority
JP
Japan
Prior art keywords
focus detection
calculation
focus
correlation
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5783998A
Other languages
Japanese (ja)
Inventor
Masato Ikeda
政人 池田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP5783998A priority Critical patent/JPH11258492A/en
Publication of JPH11258492A publication Critical patent/JPH11258492A/en
Priority to US10/842,444 priority patent/US7358999B2/en
Pending legal-status Critical Current

Links

Landscapes

  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To shorten an operation time for detecting the focus of a digital camera. SOLUTION: In a focus detecting method, three or more output images are picked up through CCD 9 as right and left pupils are mutually shielded with a shading plate 5, and these output images are correlation-computed to obtain a plurality of phase differences, and an operation for detecting the defocused quantity of a focus lens 1a is carried out on the above obtained phase difference for executing focus control, and in the case where the focus is detected two or more times for confirming the focused lens, after its second detection, a search range of a plurality of above image signals is narrowed on the last detected defocused quantity to carry out a correlation computation.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、デジタルカメラな
どの撮像素子を用いた撮像装置の焦点検出装置、方法及
びコンピュータ読み取り可能な記憶媒体に関するもので
ある。
[0001] 1. Field of the Invention [0002] The present invention relates to a focus detection apparatus and method for an image pickup apparatus using an image pickup device such as a digital camera, and a computer-readable storage medium.

【0002】[0002]

【従来の技術】従来、一眼レフ方式の銀塩カメラなどに
用いられている自動焦点装置には、位相差検出方式の焦
点検出装置が数多く用いられている。図14は、従来の
位相差検出方式の焦点検出装置を有する一眼レフカメラ
の断面図であり、撮影レンズ100から射出してきた光
束109aはハーフミラーでできた主ミラー102にて
反射する光束109bと透過する光束109eとに分け
られる。反射した光束109bはピント板103の拡散
面上に被写体を結像し、撮影者は接眼レンズ105a、
105bおよびペンタプリズム104を介してピント板
103上の被写体像を観察するように構成されている。
2. Description of the Related Art Conventionally, a large number of phase difference detection type focus detection devices have been used as automatic focus devices used in single-lens reflex type silver halide cameras and the like. FIG. 14 is a cross-sectional view of a single-lens reflex camera having a conventional focus detection device of a phase difference detection method. A light beam 109a emitted from a photographing lens 100 is reflected by a light beam 109b reflected by a main mirror 102 made of a half mirror. It is divided into a transmitted light flux 109e. The reflected light flux 109b forms an image of the subject on the diffusion surface of the focus plate 103, and the photographer can use the eyepiece 105a,
It is configured to observe a subject image on the focus plate 103 via the 105b and the pentaprism 104.

【0003】一方、主ミラー102を透過した光束10
9eはサブミラー106によって反射し、焦点検出装置
107へと導かれ、焦点検出装置107は撮影レンズ1
00からの光束109fによって、撮影レンズ100の
銀塩フィルム108に対する焦点状態(デフォーカス
量)を検出するようになっている。検出されたデフォー
カス量が所定の合焦幅より大きく、非合焦状態であると
判定されると、検出されたデフォーカス量を解消するよ
うに撮影レンズ100のフォーカス調整用レンズを駆動
し焦点調節を行う。
On the other hand, the light beam 10 transmitted through the main mirror 102
9e is reflected by the sub-mirror 106 and guided to the focus detection device 107. The focus detection device 107
The focus state (defocus amount) of the photographing lens 100 with respect to the silver halide film 108 is detected by the light flux 109f from 00. If it is determined that the detected defocus amount is larger than the predetermined focusing width and the camera is out of focus, the focus adjusting lens of the photographing lens 100 is driven so that the detected defocus amount is canceled. Make adjustments.

【0004】次に図15、図16を使って従来の焦点検
出装置の焦点検出原理について説明する。図15(a)
はピントの合った状態すなわち合焦状態であり、撮影レ
ンズ100の異なる2つの瞳を通過してきた光束116
a、116bは1次結像面114で結像し、1次結像面
上の被写体像は2次結像レンズ112a、112bによ
って各々2つのラインセンサ113a、113bが配置
されるセンサ面上に再結像する。ここで、フィールドレ
ンズ111は撮影レンズ100の1次結像面114の近
傍に配置され、所定の像高の光束を効率よくセンサ面に
導き、像高の増加に伴って発生する光量低下を防止す
る。一般に、撮影レンズ100の異なる瞳を通過してく
る2つの光束116a、116bを規定するのは2次結
像レンズ112a、112bの直前あるいは直後に配置
される不図示の絞りであり、撮影レンズ100に瞳分割
するような部材は持たない。
Next, the principle of focus detection of a conventional focus detection device will be described with reference to FIGS. FIG. 15 (a)
Is a focused state, that is, a focused state, and a light beam 116 that has passed through two different pupils of the photographing lens 100.
a and 116b form an image on a primary image forming surface 114, and a subject image on the primary image forming surface is placed on a sensor surface on which two line sensors 113a and 113b are arranged by secondary image forming lenses 112a and 112b, respectively. Re-image. Here, the field lens 111 is disposed near the primary image forming surface 114 of the photographing lens 100, efficiently guides a light beam having a predetermined image height to the sensor surface, and prevents a decrease in the amount of light generated as the image height increases. I do. Generally, the two light beams 116a and 116b passing through different pupils of the photographing lens 100 are defined by apertures (not shown) disposed immediately before or immediately after the secondary imaging lenses 112a and 112b. No pupil-dividing member is provided.

【0005】ラインセンサ113a、113b上に結像
される2つの像は、異なる瞳を通過した光束のため、レ
ンズの繰り出し量により、像の相対位置が図15、図1
6のように、合焦、前ピン、後ピンの各状態で異なる。
図15(a)、図16(a)は、合焦状態の時でライン
センサ113a、113b上に結像される2つの像の間
隔は、2つのラインセンサの相対的な距離e0と等し
く、合焦の時は常に一定である。
The two images formed on the line sensors 113a and 113b are luminous fluxes that have passed through different pupils, and the relative positions of the images depend on the amount of extension of the lens.
As shown in FIG. 6, the focus, the front focus, and the rear focus are different.
FIGS. 15A and 16A show that the distance between two images formed on the line sensors 113a and 113b in the focused state is equal to the relative distance e0 between the two line sensors. It is always constant at the time of focusing.

【0006】図15(b)、図16(B)は、デフォー
カス量d1だけ前ピン状態の時で、2つの像の間隔e1
は、e0より小さくなり、デフォーカス量d1が大きく
なればe0とe1の差δ1も大きくなる。図15
(c)、図16(c)は、デフォーカス量d2だけ後ピ
ン状態の時で、2つの像の間隔e2は、e0より大きく
なる。そして、デフォーカス量d2が大きくなるとe2
とe0の差δ2も大きくなる。
FIGS. 15B and 16B show a state in which the front focus state is set by the defocus amount d1 and the distance e1 between the two images.
Is smaller than e0, and the difference δ1 between e0 and e1 increases as the defocus amount d1 increases. FIG.
FIGS. 16C and 16C show a state in which the back focus state is set by the defocus amount d2, and the interval e2 between the two images is larger than e0. When the defocus amount d2 increases, e2
The difference δ2 between と and e0 also increases.

【0007】このように、2つの像の間隔から、その時
のデフォーカス量の大きさと方向が分かる。そこで、現
在のデフォーカス状態での2つの像の間隔eと、合焦の
時の基準像間隔e0との差、つまり、2つの像の相対的
なずれ量(位相差)δ=e−e0を、2つのラインセン
サ113a、113bの出力信号の相関をとることによ
り計算し、この位相差から光学系のデフォーカス量とそ
の方向を求め、フォーカスレンズを制御して合焦を行っ
ている。
As described above, the magnitude and direction of the defocus amount at that time can be determined from the distance between the two images. Therefore, the difference between the distance e between the two images in the current defocus state and the reference image distance e0 at the time of focusing, that is, the relative shift amount (phase difference) δ = e−e0 between the two images. Is calculated by correlating the output signals of the two line sensors 113a and 113b, the defocus amount and the direction of the optical system are obtained from the phase difference, and the focusing is controlled by controlling the focus lens.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、1回目
の焦点検出で求めた位相差からフォーカスレンズを移動
しても、デフォーカス量が所定の許容デフォーカス量よ
り大きく、さらに焦点検出が必要な場合は、再び位相差
を求めるため相関演算を行うことになるが、その時の焦
点検出演算方法は、デフォーカス状態や、その他の撮影
条件により変化する。
However, even if the focus lens is moved from the phase difference obtained in the first focus detection, the defocus amount is larger than a predetermined allowable defocus amount, and further focus detection is required. Performs a correlation operation to find the phase difference again, but the focus detection operation method at that time changes depending on the defocus state and other photographing conditions.

【0009】このような条件の変化にも係わらず、例え
ば、デフォーカス量が前回の焦点検出時よりも、次回の
焦点検出時の方が小さくなっている場合、前回と同じ相
関演算をしていたのでは、余計な計算をすることになり
演算時間を要する。焦点検出に要する時間のことを考え
ると、演算時間は短い方がよく、どのうような条件のと
きでも同じ焦点検出演算方法を用いることには問題があ
る。
In spite of such a change in the condition, for example, when the defocus amount is smaller at the next focus detection than at the previous focus detection, the same correlation calculation as the previous one is performed. In such a case, extra calculations are required, which requires a long calculation time. Considering the time required for focus detection, the shorter the calculation time, the better, and there is a problem in using the same focus detection calculation method under any conditions.

【0010】従って、本発明の目的は、焦点検出用の位
相差検出用信号を用いて、位相差を求める焦点検出演算
を行う際、その時の焦点検出に適した焦点検出演算方法
を用いることで、演算時間の高速化をはかることにあ
る。
Accordingly, an object of the present invention is to use a focus detection calculation method suitable for focus detection at the time of performing a focus detection calculation for obtaining a phase difference using a phase difference detection signal for focus detection. In other words, the operation time is to be shortened.

【0011】[0011]

【課題を解決するための手段】本発明による焦点検出装
置は、撮像面に結像された被写体の光学像を撮像して画
像信号を出力する撮像手段と、上記光学像を瞳領域を通
じて上記撮像面に結像する光学系手段と、上記瞳領域を
複数の位置に移動させる移動手段と、上記複数の位置に
おいてそれぞれ撮像して得られる複数の画像信号の位相
差を相関演算により検出し、この位相差に基づいて上記
光学系手段の焦点検出を行う演算手段と、上記演算手段
に複数回の演算を行わせると共に各回に対して複数の演
算方法のうち1つを選択して与える制御手段とを設けて
いる。
According to the present invention, there is provided a focus detection apparatus comprising: an image pickup means for picking up an optical image of a subject formed on an image pickup surface and outputting an image signal; Optical system means for forming an image on a plane, moving means for moving the pupil region to a plurality of positions, and detecting a phase difference between a plurality of image signals obtained by imaging at the plurality of positions by a correlation operation. Calculating means for detecting the focus of the optical system means based on the phase difference; and control means for causing the calculating means to perform a plurality of calculations and selecting and providing one of a plurality of calculation methods for each calculation. Is provided.

【0012】本発明による焦点検出方法は、撮像面に結
像された被写体の光学像を撮像して画像信号を出力する
撮像手順と、上記光学像を上記撮像面に結像する光学系
における瞳領域を複数の位置に移動させる移動手順と、
上記複数の位置においてそれぞれ撮像して得られる複数
の画像信号の位相差を相関演算により検出し、この位相
差に基づいて上記光学系の焦点検出を行う演算手順と、
上記演算手順において複数回の演算を行わせると共に各
回に対して複数の演算方法のうち1つを選択して与える
制御手順とを設けている。
According to the focus detection method of the present invention, an image pickup procedure for picking up an optical image of a subject formed on an image pickup surface and outputting an image signal, and a pupil in an optical system for forming the optical image on the image pickup surface A moving procedure for moving the area to a plurality of positions;
An arithmetic procedure for detecting a phase difference between a plurality of image signals obtained by imaging at the plurality of positions by a correlation operation, and performing focus detection of the optical system based on the phase difference;
A control procedure is provided in which a plurality of calculations are performed in the calculation procedure and one of a plurality of calculation methods is selected and provided for each calculation.

【0013】本発明による記憶媒体は、撮像面に結像さ
れた被写体の光学像を撮像して画像信号を出力する撮像
処理と、上記光学像を上記撮像面に結像する光学系にお
ける瞳領域を複数の位置に移動させる移動処理と、上記
複数の位置においてそれぞれ撮像して得られる複数の画
像信号の位相差を相関演算により検出し、この位相差に
基づいて上記光学系手段の焦点検出を行う演算処理と、
上記演算処理に複数回の演算を行わせると共に各回に対
して複数の演算方法のうち1つを選択して与える制御処
理とを実行するためのプログラムを記憶している。
[0013] A storage medium according to the present invention includes: an image pickup process for picking up an optical image of a subject formed on an image pickup surface and outputting an image signal; and a pupil region in an optical system for forming the optical image on the image pickup surface. Is moved to a plurality of positions, and a phase difference between a plurality of image signals obtained by imaging at the plurality of positions is detected by a correlation operation, and focus detection of the optical system unit is performed based on the phase difference. Calculation processing to be performed;
A program is stored for executing a plurality of operations in the above-described arithmetic processing and performing a control process of selecting and providing one of a plurality of arithmetic methods for each time.

【0014】[0014]

【発明の実施の形態】図1は、本発明による焦点検出装
置およびそれを用いたカメラの実施の形態を示す図であ
り、1bは撮影レンズのフォーカス用レンズ群、1aは
撮影レンズのフォーカス用レンズ群1b以外のレンズ
群、2はフォーカス用レンズ群1bを繰り出すためのレ
ンズ繰り出し機構で、レンズの移動を行うモータを含ん
でいる。3は焦点検出用絞り、4は焦点検出用絞り3を
光路中に入れるためのモータ、5は焦点検出用絞り3に
ある2つの開口部3a、3bのうちいずれか一方を遮光
するための遮光板、6は遮光板5を移動させるためのモ
ータである。7は光学ローパスフィルタ、8は赤外カッ
トフィルタ、9は撮像面に結像された光学像を光電変換
して電気信号にする撮像素子としてのCCDである。こ
のCCD9の撮像面には、後述する図6(a)に示す色
フィルタが設けられている。
FIG. 1 is a view showing an embodiment of a focus detecting device and a camera using the same according to the present invention, wherein 1b is a focusing lens group of a photographing lens, and 1a is a focusing lens group of the photographing lens. The lens group 2 other than the lens group 1b is a lens extension mechanism for extending the focus lens group 1b, and includes a motor for moving the lens. Reference numeral 3 denotes a focus detection aperture, 4 denotes a motor for inserting the focus detection aperture 3 into an optical path, and 5 denotes a light shield for shielding one of the two openings 3a and 3b in the focus detection aperture 3. Reference numeral 6 denotes a motor for moving the light shielding plate 5. Reference numeral 7 denotes an optical low-pass filter, reference numeral 8 denotes an infrared cut filter, and reference numeral 9 denotes a CCD as an image pickup device which photoelectrically converts an optical image formed on an image pickup surface into an electric signal. The imaging surface of the CCD 9 is provided with a color filter shown in FIG.

【0015】10はCCD9からの出力を増幅するため
のアンプ、11はアンプ10より所定のゲインで増幅さ
れたアナログ信号をデジタル化するA/D変換器、12
はA/D変換されたデジタル信号の様々なデジタル信号
処理を行うデジタル信号処理部、13はカメラ全体の制
御を行うシステムコントロール部、14はCCD9の駆
動制御およびアンプ10の増幅率の設定を行うためのC
CDドライバ、15はフォーカス用レンズ群1bの繰り
出し制御を行うレンズコントロール部である。
Reference numeral 10 denotes an amplifier for amplifying the output from the CCD 9, reference numeral 11 denotes an A / D converter for digitizing an analog signal amplified by the amplifier 10 with a predetermined gain, and reference numeral 12 denotes an A / D converter.
Is a digital signal processing unit that performs various digital signal processing of the A / D converted digital signal, 13 is a system control unit that controls the entire camera, and 14 is a drive control of the CCD 9 and a setting of an amplification factor of the amplifier 10. C for
A CD driver 15 is a lens control unit for controlling the extension of the focusing lens group 1b.

【0016】16はデジタル信号を一時記憶しておく場
合等に使われる例えばDRAMなどのバッファメモリ、
17は記録媒体やファンクションカード等と接続される
カードスロットとそのコントロール部、18は電子ビュ
ーファインダー(EVF)、19はそのLCDのドライ
バ部、20はドライバ部19へアナログ信号を送るため
のD/A変換器、21はEVF18に表示する画像を保
持し、D/A変換器20へデジタル信号を出力するVR
AM、22はカメラの設定等の表示をする外部白黒液晶
(LCD)、23はそのLCDの表示のためのLCDド
ライバ、24はカメラの撮影モードの設定やレリーズ操
作を検知するための操作スイッチである。
Reference numeral 16 denotes a buffer memory such as a DRAM used for temporarily storing digital signals, for example.
Reference numeral 17 denotes a card slot connected to a recording medium or a function card or the like and its control unit, 18 denotes an electronic viewfinder (EVF), 19 denotes a driver unit of the LCD, and 20 denotes a D / D for sending an analog signal to a driver unit 19. An A converter 21 holds an image to be displayed on the EVF 18 and outputs a digital signal to the D / A converter 20.
AM and 22 are external black and white liquid crystals (LCD) for displaying the settings of the camera, etc., 23 is an LCD driver for displaying the LCD, and 24 is an operation switch for detecting the setting of the shooting mode of the camera and the release operation. is there.

【0017】次に、図1を用いて本発明に直接関係する
焦点検出方法と焦点検出装置を中心に説明する。今、カ
メラの電源が投入されており、撮影可能状態であるとす
る。焦点検出用絞り3は、瞳時分割位相差AFを行うた
めに、水平方向に同じ形状の二つの開口部(以下、CC
D9の側から見て、左側の開口部を左側瞳3a、右側の
開口部を右側瞳3bと呼ぶ)を持っており、焦点検出時
には、モータにより撮影レンズの光路中に挿入され、モ
ータ6で遮光板5を動かし、上記左側瞳3aまたは右側
瞳3bのいずれかを遮光して、異なる瞳領域を通過した
光束によりなる光学像をCCD9上に結像することがで
きる。
Next, a focus detection method and a focus detection device directly related to the present invention will be described with reference to FIG. Now, it is assumed that the power of the camera is turned on and the camera is in a photographable state. In order to perform pupil time division phase difference AF, the focus detection diaphragm 3 has two openings (hereinafter, referred to as CCs) having the same shape in the horizontal direction.
When viewed from the side of D9, the left opening has a left pupil 3a and the right opening has a right pupil 3b), and is inserted into the optical path of the photographing lens by a motor at the time of focus detection. By moving the light-shielding plate 5 to shield either the left pupil 3a or the right pupil 3b, an optical image composed of light beams passing through different pupil regions can be formed on the CCD 9.

【0018】瞳時分割位相差AFを行うために、システ
ムコントロール部13の指示により、光路中に焦点検出
用絞り3を挿入する。図2は焦点検出用絞り3と遮光板
5の位置関係を示す図である。図2(a)は、撮影時の
状態で、焦点検出用絞り3および遮光板5は撮影レンズ
の光路外に退避した位置にある。25は撮影レンズの撮
影用絞りを開放にしたときの瞳形状を示している。
In order to perform the pupil time division phase difference AF, the focus detection diaphragm 3 is inserted into the optical path in accordance with an instruction from the system control unit 13. FIG. 2 is a diagram showing a positional relationship between the focus detection diaphragm 3 and the light shielding plate 5. FIG. 2A shows a state at the time of photographing, in which the focus detection diaphragm 3 and the light shielding plate 5 are at positions retracted outside the optical path of the photographing lens. Reference numeral 25 denotes a pupil shape when the taking aperture of the taking lens is opened.

【0019】まず、図2(b)のように、焦点検出用絞
りの右側瞳3bを、遮光板5で塞ぎ、撮影レンズの左側
瞳3aを開放して、これを通過する光束よりなる光学像
をCCD9上に結像して画像を取り込む。このとき左側
瞳3aを通過した光束よりなる焦点検出用画像データを
左画像1とする。次に、異なる瞳領域を通過する光束よ
りなる焦点検出用画像データを得るため、モータ6を駆
動して遮光板5を図2(c)のように移動し、撮影光学
系の右側瞳3bを開放しこれを通過した光束よりなる光
学像をCCD9上に結像して画像を取り込む。このとき
右側瞳3bを通過した光束よりなる焦点検出用画像デー
タを右画像2とする。
First, as shown in FIG. 2B, the right pupil 3b of the focus detection aperture is closed with a light shielding plate 5, the left pupil 3a of the photographing lens is opened, and an optical image composed of a light beam passing therethrough. Is imaged on the CCD 9 to capture an image. At this time, the image data for focus detection composed of the light beam that has passed through the left pupil 3a is referred to as a left image 1. Next, in order to obtain focus detection image data composed of light beams passing through different pupil regions, the motor 6 is driven to move the light shielding plate 5 as shown in FIG. 2C, and the right pupil 3b of the photographing optical system is moved. The optical image composed of the light beam that has been released and passed through the image is formed on the CCD 9 to capture the image. At this time, the image data for focus detection composed of the light beam that has passed through the right pupil 3b is defined as the right image 2.

【0020】さらに、左画像1と同じ左側瞳3aを通過
した光束よりなる焦点検出用画像データを取り込むため
に、遮光板5を再び図2(b)のように移動し、このと
き、CCD9上に結像する画像を取り込む。このときの
左側瞳3aを通過した光束よりなる焦点検出用画像デー
タを左画像3とする。同様にして、右画像4、左画像5
を取り込む。なお、焦点検出用画像データを取り込む際
の露出は、電子シャッタ、図示しないメカシャッタ、ア
ンプ10のゲイン調整、後述するCCD9内での加算読
み出し、場合によっては、補助光を用意しておき、それ
らを用いて調整することにより行う。
Further, the light-shielding plate 5 is moved again as shown in FIG. 2B in order to take in focus-detection image data consisting of a light beam having passed through the same left pupil 3a as the left image 1, and at this time, the CCD 9 An image to be imaged is captured. At this time, the image data for focus detection composed of the light beam that has passed through the left pupil 3a is referred to as a left image 3. Similarly, right image 4, left image 5
Take in. Exposure when capturing image data for focus detection is performed by an electronic shutter, a mechanical shutter (not shown), gain adjustment of the amplifier 10, addition reading in the CCD 9 described later, and in some cases, auxiliary light is prepared. The adjustment is performed using the above.

【0021】ところで、焦点検出用画像データである左
画像1、右画像2、左画像3、右画像4、左画像5を取
り込み焦点検出を行うが、これらの画像データは時系列
的に画像の取り込みを行っており、カメラと被写体の相
対移動(手振れや被写体の移動など)による焦点検出誤
差を小さくするため、各画像の取り込み間隔はできるだ
け短い時間で行われることが望ましい。そこで、焦点検
出用画像データの読み出しは、撮影用の画像を読み出す
時のように、CCD9の全画面を読み出すと、読み出し
に時間がかかるので、焦点検出用に必要な画像の一部分
だけを、通常の本撮影の場合より高速に読み出す。
By the way, the left image 1, right image 2, left image 3, right image 4, and left image 5, which are image data for focus detection, are taken in and focus detection is performed. In order to reduce the focus detection error due to relative movement between the camera and the subject (such as camera shake or movement of the subject), it is desirable that the capture interval of each image be as short as possible. Therefore, reading out the image data for focus detection requires a long time to read out the entire screen of the CCD 9 as in the case of reading out an image for photographing. Therefore, only a part of the image necessary for focus detection is usually read. Is read out faster than in the case of the main shooting.

【0022】上記のような読み出し方を以下に説明す
る。図3にインターライン型CCDの概略図を示す。3
1は画素、32は垂直電荷転送素子、33は水平電荷転
送素子、34は出力部となっている。各画素31で光電
変換された信号電荷は、垂直電荷転送素子32に送ら
れ、4相駆動パルスφV1、φV2、φV3およびφV
4により水平電荷転送素子33の方向へ順に転送され
る。水平電荷転送素子33は、垂直電荷転送素子32か
ら転送されてきた水平一列分の信号電荷を2相駆動パル
スφH1およびφH2により出力部4に転送し、そこで
電圧に変換されて出力される。
The above reading method will be described below. FIG. 3 shows a schematic view of an interline CCD. 3
1 is a pixel, 32 is a vertical charge transfer element, 33 is a horizontal charge transfer element, and 34 is an output unit. The signal charge photoelectrically converted by each pixel 31 is sent to the vertical charge transfer element 32, and the four-phase drive pulses φV1, φV2, φV3 and φV
4 sequentially transfers in the direction of the horizontal charge transfer element 33. The horizontal charge transfer element 33 transfers the signal charges for one horizontal line transferred from the vertical charge transfer element 32 to the output unit 4 by the two-phase driving pulses φH1 and φH2, where the signal charges are converted into voltages and output.

【0023】図4にCCDの撮像領域の概略図を示す。
本実施の形態では、読み出し動作の高速化のため、焦点
検出に必要な読み出し領域のみ通常の速さで読み出し、
それ以外は高速に読み出す掃き出し転送を行う。図4に
おいて、41は焦点検出に用いる通常の速さで読み出す
領域、42および43は、それぞれ前半および後半の高
速掃き出し転送領域となっている。
FIG. 4 is a schematic view of an image pickup area of the CCD.
In the present embodiment, in order to speed up the read operation, only the read area necessary for focus detection is read at a normal speed,
Otherwise, high-speed sweep transfer is performed. In FIG. 4, reference numeral 41 denotes an area for reading at a normal speed used for focus detection, and reference numerals 42 and 43 denote high-speed sweep transfer areas in the first half and the second half, respectively.

【0024】図5はCCDの垂直電荷転送素子32を4
相駆動とした場合の一垂直同期期間分のタイミングチャ
ートを示している。VDは垂直同期信号で、垂直ブラン
キング期間をLOW電位で示し、HDは水平同期信号
で、水平ブランキング期間をLOW電位で示す。φV
1、φV2、φV3およびφV4は、垂直電荷転送素子
32の4相駆動パルス、51および52は、画素31で
光電変換された信号電荷を水平電荷転送素子33に転送
する読み出しパルスを示している。4相駆動パルスのう
ち53および54は、それぞれ、図4の42および43
の領域部分の垂直電荷転送素子32に読み出された信号
電荷を高速に転送する高速掃き出し転送パルスを示して
いる。このようにして必要な読み出し領域以外を高速に
掃き出すことで、部分読み出し動作の高速化を行うこと
ができる。
FIG. 5 shows that the vertical charge transfer elements 32 of the CCD
A timing chart for one vertical synchronization period in the case of phase driving is shown. VD is a vertical synchronization signal, a vertical blanking period is indicated by a LOW potential, and HD is a horizontal synchronization signal, and a horizontal blanking period is indicated by a LOW potential. φV
1, φV2, φV3 and φV4 denote four-phase driving pulses of the vertical charge transfer element 32, and 51 and 52 denote readout pulses for transferring the signal charges photoelectrically converted by the pixels 31 to the horizontal charge transfer element 33. 53 and 54 of the four-phase drive pulses are 42 and 43 in FIG. 4, respectively.
A high-speed sweeping transfer pulse for transferring the signal charges read out to the vertical charge transfer elements 32 in the area of the area at a high speed. By sweeping out the area other than the necessary read area at high speed in this manner, the partial read operation can be speeded up.

【0025】なお、焦点検出用信号の読み出し時には、
複数ラインの信号電荷を水平電荷転送素子33を用いて
加算し、複数ラインを加算読み出しすることが可能とな
っている。これは、本撮影時の撮影用絞りを開放にした
ときより、焦点検出用絞り3の瞳3a、3bが小さいた
め、焦点検出時に起こる光量不足を補うためのもので、
アンプ3のゲインアップとともに感度を上げるために用
いる。
When reading out the focus detection signal,
The signal charges of a plurality of lines are added using the horizontal charge transfer element 33, and the addition and reading of the plurality of lines can be performed. This is to compensate for the light quantity shortage that occurs at the time of focus detection because the pupils 3a and 3b of the focus detection aperture 3 are smaller than when the shooting aperture is opened at the time of actual shooting.
It is used to increase the sensitivity together with the gain of the amplifier 3.

【0026】このようにして高速読み出しをした、焦点
検出用画像データである左画像1、右画像2、左画像
3、右画像4、左画像5を用いて、各画像間の相関演算
を行い、各画像間の位相差を求めることにより、焦点検
出を行うわけであるが、一眼レフ方式の銀塩カメラで用
いられているような焦点検出専用のモノクロセンサと異
なり、撮影用の撮像素子と焦点検出用のセンサとを兼用
している場合、撮影用の撮像素子である単板のカラーセ
ンサ上に色フィルタが作り込まれているため、CCDか
らの出力信号を、位相差検出用信号として用いるために
は、信号処理を施さなければならない。
Using the focus detection image data left image 1, right image 2, left image 3, right image 4, and left image 5 which have been read out at high speed in this way, a correlation operation between the images is performed. By detecting the phase difference between the images, focus detection is performed.However, unlike a monochrome sensor dedicated to focus detection such as that used in a single-lens reflex type silver halide camera, an image sensor for photographing is used. When the sensor also serves as a focus detection sensor, since a color filter is built in a single-plate color sensor that is an imaging element for photographing, an output signal from the CCD is used as a phase difference detection signal. In order to use it, signal processing must be performed.

【0027】前述したように、撮影用の輝度信号処理回
路を用いて作られた輝度信号を、位相差検出用信号とし
て用いることは可能であるが、撮影用の輝度信号は所定
のマトリクス演算が用いられており、焦点検出に要する
時間のことを考えると、撮像素子の出力信号から位相差
検出用信号を作る演算処理の時間は短い方が良いが、撮
影用の輝度信号処理回路を用いて位相差検出用信号を演
算するには時間がかかりすぎて問題がある。
As described above, the luminance signal generated by using the luminance signal processing circuit for photographing can be used as the signal for detecting the phase difference, but the luminance signal for photographing is processed by a predetermined matrix operation. Considering the time required for focus detection, the shorter the time for the arithmetic processing for generating the phase difference detection signal from the output signal of the image sensor, the better, but using a luminance signal processing circuit for photography. There is a problem that it takes too much time to calculate the phase difference detection signal.

【0028】以下、CCDの出力信号から焦点検出用の
位相差検出用信号を求める演算処理について説明する。
図6(a)は、CCD上に作り込まれた色フィルタ配列
を示す図である。色フィルタを構成するYe、Cy、M
g、G(イエロー、シアン、マゼンタ、グリーン)の4
色を各1画素ずつ加算すると、Ye+Cy+Mg+G=
2B+3G+2Rとなるので、隣接した2×2画素の1
ブロックの出力の加算平均を位相差検出用信号として用
いる。
A description will now be given of a calculation process for obtaining a phase difference detection signal for focus detection from an output signal of the CCD.
FIG. 6A is a diagram showing a color filter array formed on a CCD. Ye, Cy, M constituting color filter
g, G (yellow, cyan, magenta, green) 4
When the colors are added one pixel at a time, Ye + Cy + Mg + G =
Since 2B + 3G + 2R, 1 of adjacent 2 × 2 pixels
The average of the outputs of the blocks is used as a phase difference detection signal.

【0029】実際には、前述したようにCCD9から読
み出し時にライン加算読み出しが可能なので、2ライン
加算読み出しを行うことで、CCD内で縦2画素の加算
を行い(図6b)、このアナログ信号をA/D変換器1
1でデジタル信号に変換し、デジタル信号処理部12内
で横方向2画素の演算を行う(図6(c))ことで、2
×2画素の1ブロックの出力を加算平均した位相差検出
用信号を求める。
Actually, as described above, line addition reading can be performed at the time of reading from the CCD 9. Therefore, by performing two line addition reading, two vertical pixels are added in the CCD (FIG. 6B), and this analog signal is output. A / D converter 1
The digital signal is converted into a digital signal by 1 and the operation of two pixels in the horizontal direction is performed in the digital signal processing unit 12 (FIG. 6C).
A phase difference detection signal is obtained by averaging the outputs of one block of × 2 pixels.

【0030】図6では、CCDの画素ピッチpに対し
て、位相差検出用信号のピッチはpとなっている。な
お、本実施例では縦加算については、S/Nをよくする
ため、縦加算についてはCCD内で行ったが、ライン加
算は行わず読み出しを行い、縦加算もデジタル処理で行
ってもよい。
In FIG. 6, the pitch of the phase difference detection signal is p with respect to the pixel pitch p of the CCD. In this embodiment, the vertical addition is performed in the CCD in order to improve the S / N ratio. However, the vertical addition may be performed without performing line addition, and the vertical addition may be performed by digital processing.

【0031】次に、上述のように求めた位相差検出用信
号を用いて、相関演算を行い位相差を求める。図7、
8、9は本発明に関する瞳時分割位相差AFの焦点検出
原理を説明するための図である。図7はピントの合った
状態すなわち合焦状態の時であり、図7(c)の撮影状
態では、撮影レンズ1を透過してきた光束27は、CC
D9の受光面上に焦点を結び、デフォーカス量はゼロで
ある。
Next, a phase difference is obtained by performing a correlation operation using the phase difference detection signal obtained as described above. FIG.
8 and 9 are views for explaining the focus detection principle of the pupil time division phase difference AF according to the present invention. FIG. 7 shows a focused state, that is, a focused state. In the photographing state of FIG. 7C, the light flux 27 transmitted through the photographing lens 1 is CC.
Focus is on the light receiving surface of D9, and the defocus amount is zero.

【0032】図7(a)は、撮影レンズの光路上に焦点
検出用絞り3を挿入し、遮光板5により右側瞳3bを遮
光し、左側瞳3aを開けた状態で、左側瞳3aを通過し
た光束27aは、CCD9の受光面上で光軸26からゼ
ロ離れた位置に結像する。図7(b)は、遮光板5によ
り左側瞳3aを遮光し、右側瞳3bを開けた状態で、右
側瞳3bを通過した光束27aは、CCD9の受光面上
で光軸26からゼロ離れた位置に結像する。このよう
に、合焦状態では、異なる二つの瞳3a、3bを通過し
てきた光束よりなる光学像は、CCD9の受光面上で共
に光軸26からゼロの同じ位置に入射するので、2つの
像の位相差はゼロとなる。
FIG. 7A shows a state in which the focus detecting diaphragm 3 is inserted into the optical path of the photographing lens, the right pupil 3b is shielded by the light shielding plate 5, and the left pupil 3a is opened with the left pupil 3a opened. The luminous flux 27a forms an image at a position zero away from the optical axis 26 on the light receiving surface of the CCD 9. FIG. 7B shows a state in which the left pupil 3 a is shielded by the light shielding plate 5 and the right pupil 3 b is opened, and the light beam 27 a passing through the right pupil 3 b is separated from the optical axis 26 by zero on the light receiving surface of the CCD 9. Image at the position. As described above, in the focused state, the optical images composed of the light beams that have passed through the two different pupils 3a and 3b are both incident on the light receiving surface of the CCD 9 from the optical axis 26 at the same zero position. Is zero.

【0033】図8はデフォーカス量がdだけ前ピン状態
の時であり、図8(c)の撮影状態では、撮影レンズ1
を透過してきた光束27は、CCD9の受光面よりdだ
け手前に焦点を結ぶ。図8(a)は、撮影レンズ1の光
路上に焦点検出用絞り3を挿入し、左側瞳3aを開けた
状態で、左側瞳3aを通過した光束27aは、CCD9
の受光面上で光軸26から+δ/2だけ離れた位置に結
像する。図8(b)は、右側瞳3bを開けた状態で、右
側瞳3bを通過した光束27aは、CCD9の受光面上
で光軸26から−δ/2だけ離れた位置に結像する。こ
のように、前ピン状態では、異なる二つの瞳3a、3b
を通過してきた光束よりなる2つの像の位相差は(+δ
/2)−(−δ/2)=δとなる。
FIG. 8 shows a state in which the defocus amount is in the front focus state by d, and in the photographing state shown in FIG.
The light flux 27 passing through is focused before the light receiving surface of the CCD 9 by d. FIG. 8A shows a state in which the focus detection diaphragm 3 is inserted on the optical path of the photographing lens 1 and the left pupil 3a is opened.
Is formed at a position + δ / 2 away from the optical axis 26 on the light receiving surface of. FIG. 8B shows a state in which the right pupil 3b is opened, and the light beam 27a passing through the right pupil 3b forms an image on the light receiving surface of the CCD 9 at a position separated by -δ / 2 from the optical axis 26. Thus, in the front focus state, two different pupils 3a, 3b
The phase difference between the two images composed of the luminous flux passing through is (+ δ
/ 2)-(-δ / 2) = δ.

【0034】図9はデフォーカス量がdだけ後ピン状態
の時であり、図9(c)の撮影状態では、撮影レンズ1
を透過してきた光束27は、CCD9の受光面よりdだ
け後ろに焦点を結ぶ。図9(a)は、撮影レンズ1の光
路上に焦点検出用絞り3を挿入し、左側瞳3aを開けた
状態で、左側瞳3aを通過した光束27aは、CCD9
の受光面上で光軸26から−δ/2だけ離れた位置に結
像する。図9(b)は、右側瞳3bを開けた状態で、右
側瞳3bを通過した光束27aは、CCD9の受光面上
で光軸26から+δ/2だけ離れた位置に結像する。こ
のように、前ピン状態では、異なる二つの瞳3a、3b
を通過してきた光束よりなる2つの像の位相差は(−δ
/2)−(+δ/2)=−δとなる。上述のようにし
て、左側瞳3a、右側瞳3bを通過した光束よりなる2
つの像の位相差検出用信号の位相差を求めることにより
焦点状態を検出することができる。
FIG. 9 shows a state in which the defocus amount is in the back focus state by d. In the photographing state shown in FIG.
The light flux 27 passing through is focused behind the light receiving surface of the CCD 9 by d. FIG. 9A shows a state in which the focus detection diaphragm 3 is inserted into the optical path of the photographing lens 1 and the left pupil 3a is opened.
Is formed at a position -δ / 2 away from the optical axis 26 on the light-receiving surface of the light-emitting device. 9B, with the right pupil 3b opened, the light beam 27a passing through the right pupil 3b forms an image on the light receiving surface of the CCD 9 at a position away from the optical axis 26 by + δ / 2. Thus, in the front focus state, two different pupils 3a, 3b
The phase difference between the two images composed of the luminous flux passing through is (−δ
/ 2)-(+ δ / 2) =-δ. As described above, 2 composed of the light beam that has passed through the left pupil 3a and the right pupil 3b
The focus state can be detected by calculating the phase difference between the phase difference detection signals of the two images.

【0035】次に、位相差の計算アルゴリズムについて
説明する。初めに、説明を簡単にするために、被写体と
撮影光学系との相対位置が移動していない場合を例にあ
げて説明する。左の瞳領域を通過した光束よりなる位相
差検出用信号(左画像)と右の瞳領域を通過した光束よ
りなる位相差検出用信号(右画像)との位相差を、相関
演算により求める。今、位相差検出用信号は、図10に
示すように、それぞれ横M個×縦N個からなり、この中
からm×n個を切り出して相関演算を行う。
Next, the algorithm for calculating the phase difference will be described. First, for simplicity of explanation, a case where the relative position between the subject and the photographing optical system has not moved will be described as an example. A phase difference between a phase difference detection signal (left image) composed of a light beam having passed through the left pupil region and a phase difference detection signal (right image) composed of a light beam having passed through the right pupil region is obtained by a correlation operation. Now, as shown in FIG. 10, the phase difference detection signal is composed of M (horizontal) × N (vertical) signals, and m × n signals are cut out of these signals to perform a correlation operation.

【0036】相関のとりかたは、次式(1)に示すよう
に、左画像:aの切り出し位置は固定し、右画像:b
は、左画像に対して順次位相(τx,τy)をずらしつ
つaとbの積の積分値C(τx,τy)[τx,τyは
整変数とする]を演算し、各位相(τx,τy)毎に求
まる値C(τx,τy)を、2つの像の相関量とする。
As shown in the following equation (1), the correlation of the left image: a is fixed, and the right image: b
Calculates the integral value C (τx, τy) of the product of a and b (τx, τy are integer variables) while sequentially shifting the phase (τx, τy) with respect to the left image, and calculates each phase (τx, τy). A value C (τx, τy) obtained for each τy) is defined as a correlation amount between the two images.

【0037】[0037]

【数1】 (Equation 1)

【0038】この相関量C(τx,τy)は最小値をと
り、このときの位相(τx,τy)が、左画像のデータ
aと右画像のデータbとの位相差(δx,δy)に相当
する。さらに、位相差の検出精度を高める位相(τx,
τy)を整数の値(図6のように、位相差検出用信号の
信号ピッチは、CCDの画素ピッチと同じではなく、小
数点以下の値まで求めるためには、相関量の最小値とそ
の前後の値を用いて、補間計算により、位相差を計算す
ればよい。
The correlation amount C (τx, τy) takes the minimum value, and the phase (τx, τy) at this time is the phase difference (δx, δy) between the data a of the left image and the data b of the right image. Equivalent to. Further, the phase (τx,
τy) is an integer value (the signal pitch of the phase difference detection signal is not the same as the pixel pitch of the CCD as shown in FIG. 6). The phase difference may be calculated by interpolation using the value of.

【0039】なお、被写体と撮影光学系との相対位置が
移動していない場合は、ノイズなどの影響がなければ、
δyは原理的にゼロとなる。また、被写体の模様、コン
トラスト等による影響、撮影条件の違いによる影響、固
体撮像素子に作り込まれている色フィルタアレイの影
響、ノイズによる影響などを軽減するため、位相差検出
用信号にフィルタ処理を施した後、相関演算を行っても
よい。
If the relative position between the subject and the photographing optical system does not move, if there is no influence of noise or the like,
δy becomes zero in principle. In addition, to reduce the effects of subject pattern, contrast, etc., the effects of differences in shooting conditions, the effects of the color filter array built into the solid-state image sensor, and the effects of noise, the filter processing is performed on the phase difference detection signal. , A correlation operation may be performed.

【0040】光学系によって、位相差と像面移動量、デ
フォーカス量との関係は決まっているので、その位相差
からデフォーカス量を求め、合焦に必要な繰り出し量を
求めて、光学系のフォーカス制御を行い、合焦させる。
ここまでは、被写体と光学系の相対移動がない場合に、
異なる瞳領域を通過した光束よりなる2つの画像を用い
て、焦点検出を行う方法について述べた。
Since the relationship between the phase difference, the image plane moving amount, and the defocus amount is determined by the optical system, the defocus amount is obtained from the phase difference, and the extension amount necessary for focusing is obtained. Is performed, and focus is achieved.
Up to this point, if there is no relative movement between the subject and the optical system,
The method of performing focus detection using two images composed of light beams that have passed through different pupil regions has been described.

【0041】次に、被写体と光学系の相対移動がある場
合について、位相差の計算アルゴリズムを述べる。位相
差は、異なる瞳領域の光束よりなる2つの像(左画像と
右画像)から求めることができるが、本実施の形態で
は、左画像と右画像を時系列的に取り込んでおり、被写
体と光学系の相対運動(手振れや被写体の移動)などが
あると、その影響で焦点検出誤差を含んでしまう。
Next, a description will be given of a phase difference calculation algorithm when there is a relative movement between the subject and the optical system. The phase difference can be obtained from two images (left image and right image) composed of light beams of different pupil regions. In the present embodiment, the left image and the right image are chronologically captured, and the subject If there is a relative movement of the optical system (such as camera shake or movement of a subject), a focus detection error is included due to the influence.

【0042】そのため、前述したように、焦点検出用画
像データの読み出しは、撮影用の画像を読み出す時のよ
うに、CCDの全画面を読み出さず、焦点検出用に必要
な画像の一部分だけを、通常の本撮影の場合より高速に
読み出し、像の取り込み間隔をできるだけ短くする工夫
を行っている。しかし、左画像と右画像の信号取り込み
は、動作が時間的に異なっており、この間にカメラと被
写体の相対移動があると位相差検出に誤差が生じること
は避けられない。
Therefore, as described above, the readout of the focus detection image data does not involve reading out the entire screen of the CCD and only a part of the image necessary for focus detection as in the case of reading out a photographing image. The reading is performed at a higher speed than in the case of the normal main photographing, and the image capturing interval is devised to be as short as possible. However, the operation of capturing the signals of the left image and the right image is temporally different, and if there is a relative movement between the camera and the subject during this time, it is inevitable that an error occurs in the phase difference detection.

【0043】そこで、本実施の形態では、前述したよう
に、位相差検出用信号として、左画像1、右画像2、左
画像3、右画像4、左画像5と、時系列的に5つの画像
の取り込み、各画像間より求めた複数の位相差を用い
て、カメラと被写体の相対移動(手振れや被写体の移動
など)による検出誤差の補正を行うようにしている。カ
メラと被写体が相対的に移動すると、その影響は2つの
画像の位相差(δx,δy)に表れる。ここで、δyは
画像の縦方向の位相差であり、光学的のデフォーカス量
に応じて生じる位相ずれ方向とは垂直な方向なので、デ
フォーカスによる位相ずれ成分は含まれず、カメラと被
写体の相対移動による位相ずれ成分のみである。そのた
め、カメラと被写体の相対移動による縦方向の像移動の
補正量として、δyの値はそのまま用いる。
Therefore, in the present embodiment, as described above, the left image 1, the right image 2, the left image 3, the right image 4, the left image 5, and the five Using a plurality of phase differences obtained from the captured images and between the images, detection errors due to relative movement between the camera and the subject (such as camera shake or subject movement) are corrected. When the camera and the subject move relatively, the effect appears in the phase difference (δx, δy) between the two images. Here, δy is the phase difference in the vertical direction of the image and is a direction perpendicular to the phase shift direction generated in accordance with the optical defocus amount, so that the phase shift component due to defocus is not included, and the relative position between the camera and the subject is not included. There is only a phase shift component due to movement. Therefore, the value of δy is used as it is as the correction amount of the vertical image movement due to the relative movement between the camera and the subject.

【0044】δxは画像の横方向の位相差であり、光学
的のデフォーカス量に応じて生じる位相ずれ方向にあた
るので、カメラと被写体の相対移動を含む2つの画像よ
り求めた値δxには、デフォーカスによる位相ずれ成分
と、カメラと被写体の相対移動による位相ずれ成分が含
まれている。
Δx is the phase difference in the horizontal direction of the image, which corresponds to the phase shift direction generated according to the optical defocus amount. Therefore, the value δx obtained from the two images including the relative movement of the camera and the subject includes: A phase shift component due to defocus and a phase shift component due to relative movement between the camera and the subject are included.

【0045】図11は、縦方向のカメラと被写体の相対
移動による像移動を補正した後の、カメラと被写体の相
対移動による画像の横方向(x方向)の位置と、各画像
間の位相差との関係を示している。実線のL1、R2、
L3、R4、L5は、位相差検出を行うために、時系列
的に瞳を切り替えて取り込んだ、左画像1、右画像2、
左画像3、右画像4、左画像5であり、t=t1、t
2、t3、t4、t5は各画像の取り込み時刻で、各画
像の取り込み時間間隔は等しくなっている。破線のR
1′、L2′、R3′、L4′、R5′は、実線のL
1、R2、L3、R4、L5に対して、仮に同じ時刻で
取り込みを行った場合の、異なる瞳を通過した光束より
なる像の位置を示したもの、実際には取り込みを行うこ
とができない信号である。
FIG. 11 shows the horizontal position (x direction) of the image due to the relative movement between the camera and the subject after correcting the image movement due to the relative movement between the camera and the subject in the vertical direction, and the phase difference between the images. The relationship is shown. Solid lines L1, R2,
L3, R4, and L5 are left images 1, right images 2,
A left image 3, a right image 4, and a left image 5, where t = t1, t
2, t3, t4, and t5 are capture times of the respective images, and the capture time intervals of the respective images are equal. Dashed line R
1 ', L2', R3 ', L4', R5 'are L
1, R2, L3, R4, and L5 indicate the position of an image composed of light fluxes that have passed through different pupils when the capturing is performed at the same time. A signal that cannot be captured in practice. It is.

【0046】m1、m2、m3、m4は、各画像取り込
み時刻の間に、カメラと被写体の相対移動による画像上
での移動量であり、δは、光学系のデフォーカスによる
位相ずれ成分で、焦点検出として求めたい位相差であ
る。
M1, m2, m3, and m4 are the amounts of movement of the camera and the subject on the image due to the relative movement between the image capturing times, and δ is a phase shift component due to defocus of the optical system. This is the phase difference to be obtained as focus detection.

【0047】まず、異なる瞳よりなる画像L1とR2、
R2とL3、L3とR4、R4とL5のそれぞれの位相
差δ1、δ2、δ3、δ4を、左画像を基準に求める。
図11から判るように、ここで求めた各位相差は、デフ
ォーカスによる位相ずれ成分と、カメラと被写体の相対
運動による位相ずれ成分が含まれている。
First, images L1 and R2 composed of different pupils,
The respective phase differences δ1, δ2, δ3, δ4 of R2 and L3, L3 and R4, and R4 and L5 are determined based on the left image.
As can be seen from FIG. 11, each phase difference obtained here includes a phase shift component due to defocus and a phase shift component due to relative movement between the camera and the subject.

【0048】図12は、位相差検出誤差を補正する方法
を説明するための図であり、横軸は時間軸t、縦軸は横
方向の被写体像の位置xである。L1、R2、L3、R
4、L5は、時系列に取り込んだ被写体像の位置で、こ
の信号を取り込む間の、カメラと被写体の相対運動によ
る被写体像の移動を2次関数近似することにより、時刻
t2、t4における左画像の被写体の位置L2′、L
4′の位置を求める。そして、L2′とR2の位相差δ
2′と、L4とR4′の位相差δ4′の平均値を最終的
に求める位相差δとする。
FIG. 12 is a diagram for explaining a method of correcting a phase difference detection error. The horizontal axis represents the time axis t, and the vertical axis represents the position x of the subject image in the horizontal direction. L1, R2, L3, R
4. L5 is the position of the subject image captured in time series, and while capturing this signal, the movement of the subject image due to the relative motion between the camera and the subject is approximated by a quadratic function, so that the left image at times t2 and t4 is obtained. Subject position L2 ', L
Find the position of 4 '. And the phase difference δ between L2 ′ and R2.
The average value of 2 ′ and the phase difference δ4 ′ between L4 and R4 ′ is defined as the finally obtained phase difference δ.

【0049】(t1,x1)、(t3,x3)、(t
5,x5)を通る2次関数y=At2+Btを、t1=
0、x1=0として求め、最終的に求める位相差δをδ
2′とδ4′の平均値から求めると、今、各画像の取り
込み間隔が等しいことから、補正後の位相差δは、次式
(2)になる。 δ=(δ1+3×δ2+3×δ3+δ4)/8 ………(2)
(T1, x1), (t3, x3), (t
5, x5), the quadratic function y = At 2 + Bt is calculated as t1 =
0, x1 = 0, and the finally obtained phase difference δ is δ
When obtained from the average value of 2 ′ and δ4 ′, since the capture interval of each image is now equal, the corrected phase difference δ is given by the following equation (2). δ = (δ1 + 3 × δ2 + 3 × δ3 + δ4) / 8 (2)

【0050】このようにして求めた、カメラと被写体の
相対移動を補正した位相差δから合焦に必要な繰り出し
量を求め、光学系のフォーカス制御を行い、合焦させた
後、撮影を行う。
From the thus obtained phase difference δ corrected for the relative movement between the camera and the subject, the amount of extension necessary for focusing is determined, focus control of the optical system is performed, and after focusing, shooting is performed. .

【0051】1回目の焦点検出、光学系のフォーカス制
御で、所定の許容デフォーカス量以内に収まるカメラシ
ステムの場合は、確認のための2回目の焦点検出を行わ
ず(見切り合焦)、撮影に入ってもよい。しかし、通常
は合焦確認のため、2回目以降の焦点検出を行う。この
場合、再び位相差を求めるために相関演算を行うが、デ
フォーカス量が1回目より小さくなっている場合、2回
目と同じ相関演算をしていたのでは、余計な計算をする
ことになる。
In the case of a camera system that falls within a predetermined allowable defocus amount in the first focus detection and the focus control of the optical system, the second focus detection for confirmation is not performed (close-out focusing), and photographing is performed. You may enter. However, in order to confirm the focus, the focus detection is performed for the second and subsequent times. In this case, the correlation calculation is performed again to obtain the phase difference. However, if the defocus amount is smaller than the first time, if the same correlation calculation is performed as the second time, an extra calculation is performed. .

【0052】そこで、本発明の第1の実施の形態では、
2回目以降の焦点検出では、前回の焦点検出情報である
デフォーカス量に基づいて、位相差検出時の像信号のサ
ーチ範囲を狭くして、相関演算を行うようにしている。
実際には、相関演算式(1)のτxのサーチ範囲である
Txの値を、1回目で検出された位相差δ1まで求めら
れる値になるように小さくすればよい。このように大デ
フォーカス時には、サーチ範囲を広くとり、合焦近傍に
きたらサーチ範囲を狭くすることで、2回目以降の相関
演算に要する時間を短くすることができる。
Therefore, in the first embodiment of the present invention,
In the second and subsequent focus detections, the correlation calculation is performed by narrowing the search range of the image signal at the time of detecting the phase difference based on the defocus amount which is the previous focus detection information.
In practice, the value of Tx, which is the search range of τx in the correlation operation expression (1), may be reduced to a value obtained up to the phase difference δ1 detected at the first time. As described above, at the time of large defocus, the time required for the second and subsequent correlation calculations can be shortened by increasing the search range and narrowing the search range when near the focus.

【0053】ここでは、(i+1)回目でのサーチ範囲
を、1回目で検出された位相差δ1まで求められる値に
なるよう小さくする例について述べたが、(i+1)回
目の焦点検出を行うときの位相差は、1回目より小さく
なっているので、1回目の位相差δ1に対して、所定の
位相差δ1′(<δ1)まで求められるサーチ範囲に変
えればよい。
Here, an example has been described in which the search range at the (i + 1) -th time is reduced to a value obtained up to the phase difference δ1 detected at the first time, but when the (i + 1) -th focus detection is performed. Is smaller than the first phase difference, the search range may be changed from the first phase difference δ1 to a predetermined phase difference δ1 ′ (<δ1).

【0054】このようにして、合焦を行った後、焦点検
出用絞り3を撮影レンズの光路中から退避させ、撮影を
行う。そして記録のためにCCD9のデータを読み出
し、デジタル信号処理部12で画像信号処理を施し、必
要であれば画像データ圧縮などの処理をして、カードス
ロット13を介して記録媒体に記録する。なお、この画
像データはデジタル信号処理部12でファインダ表示の
ためのビデオ処理が施され、VRAM21を経てEVF
18に表示される。これにより撮影者は被写体を確認す
ることができる。
After focusing has been performed in this way, the focus detection diaphragm 3 is retracted from the optical path of the photographing lens, and photographing is performed. Then, the data of the CCD 9 is read for recording, subjected to image signal processing by the digital signal processing unit 12, subjected to processing such as image data compression if necessary, and recorded on a recording medium via the card slot 13. Note that this image data is subjected to video processing for finder display in the digital signal processing unit 12 and passed through the VRAM 21 to the EVF.
18 is displayed. This allows the photographer to check the subject.

【0055】次に、第2の実施の形態を説明する。第2
の実施の形態は、前回までの焦点検出と次回とで、位相
差を求める相関演算での像信号をシフトするステップ数
を変えるというものである。以下、第1の実施の形態と
異なるところのみを述べ、第1の実施の形態と同じ部分
についての説明は省略する。
Next, a second embodiment will be described. Second
In this embodiment, the number of steps of shifting the image signal in the correlation calculation for obtaining the phase difference is changed between the focus detection up to the previous time and the next focus detection. Hereinafter, only different points from the first embodiment will be described, and the description of the same portions as the first embodiment will be omitted.

【0056】合焦させるために、焦点検出、光学系のフ
ォーカス制御を2回以上行う必要がある場合、大デフォ
ーカス状態のときは、始めは大デフォーカス状態で焦点
検出を行い、最後に合焦近傍の状態で焦点検出を行うこ
とになる。このため、始めは大まかに焦点検出して合焦
付近までレンズを移動させ、その後、精度良く焦点を合
わせればよい。
When it is necessary to perform focus detection and focus control of the optical system twice or more in order to achieve focusing, in the case of a large defocus state, focus detection is first performed in a large defocus state, and finally focus is performed. Focus detection is performed in a state near the focus. For this reason, at first, the focus may be roughly detected, the lens may be moved to the vicinity of the in-focus state, and then the focus may be adjusted with high accuracy.

【0057】そこで、1回目の焦点検出では、位相差を
求める相関演算式(1)で、τxのずらし方をτx=−
Tx、−Tx+2…、−4、−2、0、2、4、…、T
x−2、Txとして、像信号をシフトするステップ量を
倍にする。そして、前回の位相差δが所定の値より小さ
くなったところで、像信号をシフトするステップ数を1
づつずらすように変更して、相関演算を行う。つまり、
始めは焦点検出精度を低くして大まかに焦点を合わせ、
合焦近傍に来たら精度良く検出を行うように、焦点検出
精度を変えるのである。このようにステップ量を粗くし
た分だけ計算量が減り、相関演算時間が短くなる。尚、
τyについても同様なことを行ってもよい。
Therefore, in the first focus detection, the way of shifting τx is expressed by τx = −
Tx, -Tx + 2 ..., -4, -2, 0, 2, 4, ..., T
As x-2 and Tx, the step amount of shifting the image signal is doubled. When the previous phase difference δ becomes smaller than a predetermined value, the number of steps for shifting the image signal is set to one.
The correlation calculation is performed by changing the values so as to be shifted one by one. That is,
At first, focus is roughly adjusted by lowering the focus detection accuracy,
The focus detection accuracy is changed so that the detection is performed with high accuracy when the focus comes near the focus. As described above, the amount of calculation is reduced by the amount of the step amount, and the correlation calculation time is shortened. still,
The same may be performed for τy.

【0058】次に第3の実施の形態を説明する。第3の
実施の形態では、前回までの焦点検出と次回とで、相関
演算に用いる位相差検出用信号の領域の大きさを変える
というものである。以下、第1の実施の形態と異なると
ころのみを述べ、第1の実施の形態と同じ部分について
の説明は省略する。
Next, a third embodiment will be described. In the third embodiment, the size of the area of the phase difference detection signal used for the correlation calculation is changed between the previous focus detection and the next focus detection. Hereinafter, only different points from the first embodiment will be described, and the description of the same portions as the first embodiment will be omitted.

【0059】通常、相関演算に用いる位相差検出用信号
の領域の大きさは、所定の大きさに固定されているが、
被写体のコントラストが低く、位相差検出が行えない場
合、または検出精度が悪い場合、その領域を広げると被
写体のエッジが領域内に入るようになり、検出精度が向
上する。しかし、通常はその領域が大きすぎると、領域
内に被写体距離が遠い被写体と、近い被写体が起き易く
なり検出精度が落ちるため(遠近競合)、所定の大きさ
に固定されている。
Normally, the size of the region of the phase difference detection signal used for the correlation calculation is fixed to a predetermined size.
If the contrast of the subject is low and the phase difference cannot be detected, or if the detection accuracy is poor, if the area is widened, the edge of the subject enters the area, and the detection accuracy is improved. However, usually, if the area is too large, an object with a long distance and an object with a long distance in the area are likely to occur, and the detection accuracy is reduced (distant / far conflict). Therefore, the area is fixed to a predetermined size.

【0060】そこで、前回までの焦点検出結果を見て、
焦点検出が行えないか、焦点検出を所定の回数行っても
合焦しない場合、領域の大きさを所定の値だけ大きくす
る。このことにより、領域内に被写体のエッジが入って
いない状態で、無駄に焦点検出を繰り返すことを防止
し、焦点検出回数を減らすことができるので、演算時間
を短くすることができる。尚、領域を広げるのは、横方
向だけでなく、縦方向に関して行ってもよい。
Then, looking at the focus detection results up to the previous time,
If the focus cannot be detected, or if focus is not achieved after performing the focus detection a predetermined number of times, the size of the region is increased by a predetermined value. This prevents useless repetition of focus detection in a state where the edge of the subject is not included in the area, and can reduce the number of times of focus detection, thereby shortening the calculation time. The area may be expanded not only in the horizontal direction but also in the vertical direction.

【0061】次に、第4の実施の形態は、相関演算によ
り、光学系のデフォーカス量に応じて生じる位相ずれ方
向に対して略垂直な方向のシフト演算を行うか行わない
かを選択するというものである。以下、第1の実施の形
態と異なるところのみを説明する。本実施の形態の焦点
検出装置は、瞳領域の異なる光束よりなる光学像を取り
込む際、左画像と右画像とでは取り込む時刻が異なる。
このため、前述したように被写体と光学系の相対移動が
ある場合の対策を施しているが、手振れなどが大きい場
合、相関演算により光学系のデフォーカス量に応じて生
じる位相ずれ方向に対して略垂直な方向である縦方向の
シフト演算を行うと、かえって位相差δ1、δ2、δ
3、δ4、δ5がバラツキ、位相差δの検出精度が悪く
なる。
Next, in the fourth embodiment, it is selected whether or not to perform a shift operation in a direction substantially perpendicular to a phase shift direction generated according to the defocus amount of the optical system by a correlation operation. That is. Hereinafter, only different points from the first embodiment will be described. When the focus detection device according to the present embodiment captures an optical image composed of light beams having different pupil regions, the capture time differs between the left image and the right image.
For this reason, as described above, measures are taken when there is a relative movement between the subject and the optical system. However, when the camera shake is large, the phase shift direction generated according to the defocus amount of the optical system by the correlation calculation is taken. When the shift operation in the vertical direction, which is a substantially vertical direction, is performed, the phase differences δ1, δ2, δ
3, δ4 and δ5 vary, and the detection accuracy of the phase difference δ deteriorates.

【0062】また、位相差検出用信号のS/Nが悪い場
合、例えば被写体が暗くて光量が足りず、アンプ10で
CCD9からの出力を大きくゲインアップしている場合
も、相関演算により、光学系のデフォーカス量に応じて
生じる位相ずれ方向に対して略垂直な方向である縦方向
のシフト演算を行うと、かえって位相差δ1、δ2、δ
3、δ4、δ5がバラツキ、位相差δの検出精度が悪く
なる。
Also, when the S / N of the phase difference detection signal is poor, for example, when the subject is dark and the light quantity is insufficient, and the gain of the output from the CCD 9 is greatly increased by the amplifier 10, the correlation calculation is performed. When a vertical shift operation, which is a direction substantially perpendicular to the phase shift direction generated according to the defocus amount of the system, is performed, the phase differences δ1, δ2, δ
3, δ4 and δ5 vary, and the detection accuracy of the phase difference δ deteriorates.

【0063】このため、このような撮影条件の時は、相
関演算するとき、光学系のデフォーカス量に応じて生じ
る位相ずれ方向に対して略垂直な方向である縦方向のシ
フト演算を行わないようにする。実際には、光量の調整
をする露出判定の値から、S/Nが悪いと判断し、縦方
向のシフト演算を行わない。また、異なる瞳よりなる画
像L1とR2、R2とL3、L3とR4、R4とL5の
それぞれの縦方向の位相差δy1、δy2、δy3、δ
y4、δy5のバラツキが所定の値より大きいとき、手
振れが大きいと判断して、縦方向のシフト演算を行わな
い。
Therefore, under such photographing conditions, when performing the correlation operation, the vertical shift operation which is substantially perpendicular to the phase shift direction generated according to the defocus amount of the optical system is not performed. To do. Actually, it is determined that the S / N is poor from the value of the exposure determination for adjusting the light amount, and the vertical shift calculation is not performed. Further, respective phase differences δy1, δy2, δy3, δ in the vertical direction of images L1 and R2, R2 and L3, L3 and R4, and R4 and L5 composed of different pupils.
When the variations of y4 and δy5 are larger than a predetermined value, it is determined that the camera shake is large, and the shift operation in the vertical direction is not performed.

【0064】このように、光学系のデフォーカス量に応
じて生じる位相ずれ方向に対して略垂直な方向である縦
方向のシフト演算を行うと、かえって位相差δの検出精
度が悪くなるときは、その方向の相関演算を行わないこ
とにより、検出精度の低下が防止でき、演算時間も短く
なる。
As described above, when the vertical shift operation, which is a direction substantially perpendicular to the phase shift direction generated according to the defocus amount of the optical system, is performed, the detection accuracy of the phase difference δ is rather deteriorated. By not performing the correlation calculation in that direction, it is possible to prevent a decrease in detection accuracy and shorten the calculation time.

【0065】次に、第5の実施の形態は、位相差を求め
る相関演算において、相関演算に用いる領域内にある位
相差検出用信号のデータを間引いて相関演算を行うこと
ができる間引き手段を有し、前回までの焦点検出結果に
基づいて、間引きを行うか否かかを変えるというもので
ある。以下、第1の実施の形態と異なる部分について説
明する。
Next, in the fifth embodiment, in the correlation calculation for obtaining the phase difference, there is provided a thinning means which can perform the correlation calculation by thinning out the data of the phase difference detection signal in the area used for the correlation calculation. In this case, whether or not to perform thinning is changed based on the focus detection result up to the previous time. Hereinafter, portions different from the first embodiment will be described.

【0066】第1の実施の形態で述べたように、位相差
を求める相関演算を行う際、相関演算に用いる領域(図
10のm個×n個の領域)内にあるすべての位相差検出
用信号のデータをそのまま用いている。この時の位相差
検出用信号の信号ピッチは、前述したようにCCDの画
素ピッチと同じである。しかし、合焦させるため、焦点
検出、光学系のフォーカス制御を2回以上行う必要があ
る場合、大デフォーカス状態のときは、始めは大デフォ
ーカス状態で焦点検出を行い、最後に合焦近傍の状態で
焦点検出を行うことになる。つまり、始めは大まかに合
焦付近までレンズを移動させ、その後、精度良く焦点を
合わせればよい。
As described in the first embodiment, when performing the correlation calculation for obtaining the phase difference, all the phase difference detections in the area used for the correlation calculation (m × n areas in FIG. 10) are performed. The data of the application signal is used as it is. At this time, the signal pitch of the phase difference detection signal is the same as the pixel pitch of the CCD as described above. However, in order to perform focusing, it is necessary to perform focus detection and focus control of the optical system two or more times. In the case of a large defocus state, focus detection is first performed in a large defocus state, and finally, near focus is performed. In this state, focus detection is performed. That is, the lens may be moved roughly to near the focus at first, and then the focus may be adjusted with high accuracy.

【0067】そこで、1回目の焦点検出の時には、光学
系のデフォーカス量に応じて生じる位相ずれ方向にあた
る、横方向のデータについては、図13のように、相関
演算に用いるm個×n個の領域のデータを1画素おきに
間引き、相関演算に用いる位相差検出用信号の信号ピッ
チをCCDの画素ピッチの1/2にして相関演算を行
う。図13の斜線の部分が相関演算に用いるデータであ
る。そして、前回の焦点検出結果である位相差δが所定
の値より小さくなったところで、間引き行わないように
して相関演算を行う。
Therefore, at the time of the first focus detection, as shown in FIG. 13, the data in the horizontal direction corresponding to the phase shift direction generated according to the defocus amount of the optical system is m × n data used in the correlation calculation as shown in FIG. The data of the area is thinned out every other pixel, and the correlation operation is performed by setting the signal pitch of the phase difference detection signal used for the correlation operation to の of the pixel pitch of the CCD. The hatched portions in FIG. 13 are data used for the correlation calculation. Then, when the phase difference δ, which is the previous focus detection result, becomes smaller than a predetermined value, the correlation calculation is performed without performing the thinning.

【0068】つまり、始めは焦点検出精度を低くして大
まかに焦点を合わせ、合焦近傍に来たら精度良く検出を
行うように焦点検出精度を変えるのである。このように
間引きをすることにより、相関演算に用いるデータ数が
m/2×nとなり、相関演算に要する時間が短くなる。
尚、本実施の形態では、間引き量を1/2としたが、焦
点結果によって間引き量を変更してもよい。また縦方向
についても同様に間引きを行ってもよい。
That is, at first, the focus detection accuracy is lowered and the focus is roughly adjusted, and the focus detection accuracy is changed so that the detection is performed accurately when the focus comes near the focus. By thinning in this way, the number of data used for the correlation operation becomes m / 2 × n, and the time required for the correlation operation is shortened.
In the present embodiment, the thinning amount is set to 1/2, but the thinning amount may be changed according to the focus result. Also, thinning may be performed in the vertical direction.

【0069】さらに第6の実施の形態において、第5の
実施の形態と異なる点は、前回までの焦点検出結果では
なく、検出回数に基づいて、間引きを行うか否かを変え
るという点である。第1の実施の形態で述べたように、
位相差を求める相関演算を行う際、相関演算に用いる領
域(図10のm個×n個の領域)内にあるすべての位相
差検出用信号のデータをそのまま用いている。この時の
位相差検出用信号の信号ピッチは、前述したようにCC
Dの画素ピッチと同じである。
Further, the sixth embodiment is different from the fifth embodiment in that whether or not to perform thinning is changed based on the number of times of detection instead of the result of focus detection up to the previous time. . As described in the first embodiment,
When performing the correlation operation for obtaining the phase difference, the data of all the phase difference detection signals in the region used for the correlation operation (m × n regions in FIG. 10) is used as it is. The signal pitch of the phase difference detection signal at this time is CC as described above.
D is the same as the pixel pitch.

【0070】しかし、合焦させるため、焦点検出、光学
系のフォーカス制御を2回以上行う必要がある場合、大
デフォーカス状態のときは、始めは大デフォーカス状態
で焦点検出を行い、最後に合焦近傍の状態で焦点検出を
行うことになる。つまり、始めは大まかに合焦付近まで
レンズを移動させ、その後、精度良く焦点を合わせれば
よい。
However, when it is necessary to perform the focus detection and the focus control of the optical system twice or more in order to achieve focusing, in the case of a large defocus state, focus detection is first performed in the large defocus state, and finally the focus detection is performed. Focus detection is performed in a state near the focus. That is, the lens may be moved roughly to near the focus at first, and then the focus may be adjusted with high accuracy.

【0071】そこで、1回目の焦点検出では、図13の
ように光学系のデフォーカス量に応じて生じる位相ずれ
方向にあたる横方向のデータについては、相関演算に用
いるm個×n個の領域のデータを1画素おきに間引き、
相関演算に用いる位相差検出用信号の信号ピッチをCC
Dの画素ピッチの1/2にして相関演算を行う。図13
の斜線の部分が相関演算に用いるデータである。そし
て、2回目以降の焦点検出では、間引き行わないように
して相関演算を行う。
Therefore, in the first focus detection, as shown in FIG. 13, the data in the horizontal direction corresponding to the phase shift direction generated according to the defocus amount of the optical system has m × n regions used for the correlation operation. Thinning out the data every other pixel,
The signal pitch of the phase difference detection signal used for the correlation operation is set to CC.
The correlation operation is performed with half the pixel pitch of D. FIG.
The hatched portions indicate data used for the correlation calculation. In the second and subsequent focus detections, the correlation calculation is performed without thinning.

【0072】つまり、デフォーカス量が大きいことがあ
る1回目の焦点検出の時は、焦点検出精度を低くし、回
目以降の焦点検出は精度を高くして検出を行う。このよ
うに間引きをすることにより、1回目の焦点検出では、
相関演算に用いるデータ数がm/2×nとなり、相関演
算に要する時間が短くなる。
That is, at the time of the first focus detection in which the defocus amount may be large, the focus detection accuracy is lowered, and the focus detection after the first time is performed with high accuracy. By thinning out in this way, in the first focus detection,
The number of data used for the correlation operation is m / 2 × n, and the time required for the correlation operation is reduced.

【0073】尚、図1の各機能ブロックによるシステム
は、ハード的に構成してもよく、また、CPUやメモリ
等から成るマイクロコンピュータシステムに構成しても
よい。マイクロコンピュータシステムに構成する場合、
上記メモリは本発明による記憶媒体を構成する。この記
憶媒体には、各実施の形態において説明した処理を実行
するためのプログラムが記憶されている。またこの記憶
媒体としてはROM、RAM等の半導体メモリ、光ディ
スク、光磁気ディスク、磁気媒体等を用いてもよく、こ
れらをCD−ROM、フロッピーディスク、磁気テー
プ、不揮発性のメモリカードとして用いてもよい。
The system using the functional blocks shown in FIG. 1 may be configured as hardware, or may be configured as a microcomputer system including a CPU, a memory, and the like. When configured in a microcomputer system,
The memory constitutes a storage medium according to the present invention. The storage medium stores a program for executing the processing described in each embodiment. The storage medium may be a semiconductor memory such as a ROM or a RAM, an optical disk, a magneto-optical disk, a magnetic medium, or the like, and may be used as a CD-ROM, a floppy disk, a magnetic tape, or a nonvolatile memory card. Good.

【0074】[0074]

【発明の効果】以上説明したように、本発明の第1の発
明は、焦点検出のための複数の演算方法を選択すると共
に複数回の演算を行うことを特徴とする。このことによ
り、その時の焦点検出に適した演算方法を選択すること
が可能となり、一つの演算方法をすべての場合に用いる
ときに比べ、余計な計算を省くことができるので、演算
時間の高速化をはかることができる。
As described above, the first aspect of the present invention is characterized in that a plurality of calculation methods for focus detection are selected and a plurality of calculations are performed. As a result, it is possible to select a calculation method suitable for focus detection at that time, and unnecessary calculation can be omitted as compared with a case where one calculation method is used in all cases, thereby shortening the calculation time. Can be measured.

【0075】また、第2の発明は、前回までの焦点検出
情報に基づいて次回の焦点検出のための演算方法を選択
することを特徴とする。このことにより、前回までの焦
点検出情報である焦点検出結果や焦点検出回数や焦点検
出条件を基に、前回までと次回の演算方法を変えること
が可能となり、次回の焦点検出時に余計な計算を省くこ
とができるので、演算時間の高速化をはかることができ
る。
The second invention is characterized in that a calculation method for the next focus detection is selected based on the focus detection information up to the previous time. This makes it possible to change the calculation method between the previous and next times based on the focus detection result, the number of times of focus detection, and the focus detection conditions that are the focus detection information up to the previous time, and to perform unnecessary calculations at the next time the focus detection is performed. Since this can be omitted, the calculation time can be shortened.

【0076】また、第3の発明は、位相差を求める相関
演算において、前回までと次回とで位相差検出時の画像
信号のサーチ範囲を変えることを特徴とする。このこと
により、デフォーカス量が大きいときは、位相差検出時
のサーチ範囲を大きくし、デフォーカス量が小さいとき
は、サーチ範囲を小さくすることが可能になる。前回の
デフォーカス量を基に次回のサーチ範囲を設定すること
により余計な計算を省くことができるので、演算時間の
高速化をはかることができる。
The third invention is characterized in that, in the correlation operation for obtaining the phase difference, the search range of the image signal at the time of detecting the phase difference is changed between the previous time and the next time. Thus, when the defocus amount is large, the search range for detecting the phase difference can be increased, and when the defocus amount is small, the search range can be reduced. By setting the next search range based on the previous defocus amount, unnecessary calculations can be omitted, and the calculation time can be shortened.

【0077】また、第4の発明は、位相差を求める相関
演算において、前回までと次回とで、位相差検出時の画
像信号をシフトするステップ量を変えることを特徴とす
る。このことにより、焦点検出精度が低くても良い場合
は、ステップ数を大きくし、焦点検出に高い精度が必要
な場合は、ステップ数を小さくすることで、必要な焦点
検出精度に見合った演算を行うことが可能となり、演算
時間の高速化をはかることができる。
The fourth invention is characterized in that, in the correlation calculation for obtaining the phase difference, the step amount for shifting the image signal at the time of detecting the phase difference is changed between the previous time and the next time. Thus, when the focus detection accuracy may be low, the number of steps is increased, and when high accuracy is required for focus detection, the number of steps is reduced, so that the calculation corresponding to the required focus detection accuracy is performed. And the calculation time can be shortened.

【0078】第5の発明は、位相差を求める相関演算に
おいて、前回までと次回とで、相関演算に用いる複数の
画像信号の領域の大きさを変えることを特徴とする。こ
のことにより、焦点検出に用いる被写体の領域を変化さ
せることが可能となり、焦点検出精度を高くするととも
に、余計な計算を省くことができるので、演算時間の高
速化をはかることができる。
The fifth invention is characterized in that, in the correlation calculation for obtaining the phase difference, the size of a plurality of image signal regions used for the correlation calculation is changed between the previous time and the next time. As a result, it is possible to change the region of the subject used for focus detection, to increase the focus detection accuracy, and to omit unnecessary calculations, thereby shortening the calculation time.

【0079】第6の発明は、位相差を求める相関演算に
おいて、光学系のデフォーカス量に応じて生じる位相ず
れ方向に対して略垂直な方向のシフト演算を行うか行わ
ないかを選択することを特徴とする。このことにより、
デフォーカス量に応じて生じる位相ずれ方向に対して垂
直な方向のシフト演算を行うことにより、焦点検出精度
が悪くなる場合、この方向のシフト演算を行なわないこ
とが可能となり、焦点検出精度を高くするとともに、余
計な計算を省くことができるので、演算時間の高速化を
はかることができる。
According to a sixth aspect, in the correlation operation for obtaining the phase difference, it is selected whether or not to perform a shift operation in a direction substantially perpendicular to a phase shift direction generated according to the defocus amount of the optical system. It is characterized by. This allows
By performing the shift operation in the direction perpendicular to the phase shift direction generated according to the defocus amount, when the focus detection accuracy is deteriorated, the shift operation in this direction can be omitted, and the focus detection accuracy can be increased. In addition, since unnecessary calculations can be omitted, the calculation time can be shortened.

【0080】第7の発明は、相関演算に用いる領域内に
ある複数の画像信号のデータを間引いて相関演算を行う
ように成し、前回までの焦点検出情報に基づいて、間引
きを行うか否かを変えることを特徴とする。このことに
より、必要な焦点検出精度に応じて、前回までと次回と
で、相関演算に用いるデータの間引き方を変えることが
可能となり、余計な計算を省くことができるので、演算
時間の高速化をはかることができる。
According to a seventh aspect of the present invention, a correlation operation is performed by thinning data of a plurality of image signals in an area used for the correlation operation, and whether or not to perform the thinning based on the focus detection information up to the previous time is determined. It is characterized by changing. This makes it possible to change the method of thinning out the data used for the correlation calculation between the previous and next times according to the required focus detection accuracy, and it is possible to omit unnecessary calculations, thereby shortening the calculation time. Can be measured.

【0081】第8の発明は、上記焦点検出情報は、焦点
検出結果であることを特徴とする。このことにより、前
回の焦点検出結果よりデフォーカス状態が分かるので、
それに応じて、相関演算に用いるデータの間引き方を変
えることが可能となり、余計な計算を省くことができる
ので、演算時間の高速化をはかることができる。
The eighth invention is characterized in that the focus detection information is a focus detection result. As a result, the defocus state can be determined from the previous focus detection result.
Accordingly, it is possible to change the method of thinning out the data used for the correlation operation, and it is possible to omit unnecessary calculations, thereby shortening the operation time.

【0082】第9、第10の発明では、上記焦点検出情
報は、焦点検出回数であることを特徴とする。このこと
により、焦点検出回数に応じて相関演算に用いるデータ
の間引き方を変えることが可能となり、デフォーカス量
が大きい確率が高い、始めの焦点検出では間引きを行
い、回数が増えるに従って、間引きをしないようにする
ことにより、余計な計算を省くことができるので、演算
時間の高速化をはかることができる。
In the ninth and tenth aspects, the focus detection information is the number of times of focus detection. This makes it possible to change the method of thinning out the data used for the correlation calculation in accordance with the number of times of focus detection. The thinning is performed in the first focus detection, in which the probability of a large defocus amount is high, and the thinning is performed as the number of times increases. By not doing so, unnecessary calculations can be omitted, and the calculation time can be shortened.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の焦点検出装置およびそれを用いたカメ
ラの実施の形態を示す構成図である。
FIG. 1 is a configuration diagram showing an embodiment of a focus detection device and a camera using the same according to the present invention.

【図2】焦点検出用絞りと遮光板との位置関係を示す構
成図である。
FIG. 2 is a configuration diagram illustrating a positional relationship between a focus detection diaphragm and a light shielding plate.

【図3】インターライン型CCDの構成図である。FIG. 3 is a configuration diagram of an interline CCD.

【図4】CCDの撮像領域の構成図である。FIG. 4 is a configuration diagram of an imaging area of a CCD.

【図5】CCDの垂直電荷転送素子を4相駆動とした場
合の一垂直同期期間分のタイミングチャートである。
FIG. 5 is a timing chart for one vertical synchronization period when a vertical charge transfer element of a CCD is driven in four phases.

【図6】位相差検出用信号を求めるときの演算処理につ
いて説明するための構成図である。
FIG. 6 is a configuration diagram for explaining arithmetic processing when a phase difference detection signal is obtained.

【図7】焦点検出原理を説明するための図である。FIG. 7 is a diagram for explaining the principle of focus detection.

【図8】焦点検出原理を説明するための図である。FIG. 8 is a diagram for explaining the principle of focus detection.

【図9】焦点検出原理を説明するための図である。FIG. 9 is a diagram for explaining the principle of focus detection.

【図10】位相差を相関演算により求める時の相関の取
り方を説明するための構成図である。
FIG. 10 is a configuration diagram for explaining how to take a correlation when a phase difference is obtained by a correlation operation.

【図11】カメラと被写体の相対移動による画像の横方
向の位置と各画像間の位相差との関係を示す波形図であ
る。
FIG. 11 is a waveform diagram showing a relationship between a horizontal position of an image due to a relative movement between a camera and a subject and a phase difference between the images.

【図12】位相差検出誤差を補正する方法を説明するた
めの特性図である。
FIG. 12 is a characteristic diagram for explaining a method of correcting a phase difference detection error.

【図13】相関に用いるデータの間引き方を説明するた
めの構成図である。
FIG. 13 is a configuration diagram for explaining how to thin out data used for correlation.

【図14】従来の位相差検出方式の焦点検出装置を有す
る一眼レフカメラの構成図である。
FIG. 14 is a configuration diagram of a conventional single-lens reflex camera having a phase difference detection type focus detection device.

【図15】従来の焦点検出原理を説明するための構成図
である。
FIG. 15 is a configuration diagram for explaining a conventional focus detection principle.

【図16】従来の焦点検出原理を説明するための波形図
である。
FIG. 16 is a waveform chart for explaining a conventional focus detection principle.

【符号の説明】[Explanation of symbols]

1a 撮影レンズのフォーカス用レンズ群 1b 撮影レンズのフォーカス用レンズ群1b以外のレ
ンズ群 2 レンズ繰り出し機構 3 焦点検出用絞り 4 モータ 5 遮光板 6 モータ 9 CCD 12 デジタル信号処理部 13 システムコントロール部 14 CCDドライバ 24 操作スイッチ
1a Focusing lens group of photographing lens 1b Lens group other than focusing lens group 1b of photographing lens 2 Lens extension mechanism 3 Focus detection aperture 4 Motor 5 Shield plate 6 Motor 9 CCD 12 Digital signal processing unit 13 System control unit 14 CCD Driver 24 Operation switch

Claims (30)

【特許請求の範囲】[Claims] 【請求項1】 撮像面に結像された被写体の光学像を撮
像して画像信号を出力する撮像手段と、 上記光学像を瞳領域を通じて上記撮像面に結像する光学
系手段と、 上記瞳領域を複数の位置に移動させる移動手段と、 上記複数の位置においてそれぞれ撮像して得られる複数
の画像信号の位相差を相関演算により検出し、この位相
差に基づいて上記光学系手段の焦点検出を行う演算手段
と、 上記演算手段に複数回の演算を行わせると共に各回に対
して複数の演算方法のうち1つを選択して与える制御手
段とを備えた焦点検出装置。
An imaging unit configured to capture an optical image of a subject formed on an imaging surface and output an image signal; an optical system configured to form the optical image on the imaging surface through a pupil region; Moving means for moving an area to a plurality of positions; detecting a phase difference between a plurality of image signals obtained by imaging at the plurality of positions by a correlation operation; and detecting a focus of the optical system means based on the phase difference. And a control means for causing the calculating means to perform a plurality of calculations and selecting and providing one of a plurality of calculation methods for each calculation.
【請求項2】 上記制御手段は、前回までに得られた焦
点検出情報に基づいて次回の演算方法を選択することを
特徴とする請求項1記載の焦点検出装置。
2. The focus detection apparatus according to claim 1, wherein said control means selects a next calculation method based on focus detection information obtained up to the previous time.
【請求項3】 上記演算方法は、上記相関演算におい
て、前回までと次回とで上記位相差検出時の画像信号の
サーチ範囲を変えることを特徴とする請求項2記載の焦
点検出装置。
3. The focus detection device according to claim 2, wherein in the calculation method, the search range of the image signal at the time of detecting the phase difference is changed between the previous time and the next time in the correlation calculation.
【請求項4】 上記演算方法は、上記相関演算におい
て、前回までと次回とで上記位相差検出時の画像信号を
シフトするステップ量を変えることを特徴とする請求項
2記載の焦点検出装置。
4. The focus detection apparatus according to claim 2, wherein the calculation method changes a step amount of shifting the image signal at the time of detecting the phase difference between the previous time and the next time in the correlation calculation.
【請求項5】 上記演算方法は、上記相関演算におい
て、前回までと次回とで上記相関演算に用いる上記複数
の画像信号の領域の大きさを変えることを特徴とする請
求項2記載の焦点検出装置。
5. The focus detection method according to claim 2, wherein in the calculation of the correlation, the size of the area of the plurality of image signals used in the calculation of the correlation is changed between the previous time and the next time. apparatus.
【請求項6】 上記演算方法は、上記相関演算におい
て、上記光学系手段のデフォーカス量に応じて生じる位
相ずれ方向に対して略垂直な方向のシフト演算を行うか
行わないかを選択することを特徴とする請求項2記載の
焦点検出装置。
6. The calculation method according to claim 1, wherein, in the correlation calculation, whether to perform a shift calculation in a direction substantially perpendicular to a phase shift direction generated according to a defocus amount of the optical system means is selected. 3. The focus detection device according to claim 2, wherein:
【請求項7】 上記相関演算に用いる領域内にある上記
複数の画像信号のデータを間引いて相関演算を行うため
の間引き手段を有し、前回までに得られた焦点検出情報
に基づいて上記間引きを行うか否かを選択することを特
徴とする請求項2記載の焦点検出装置。
7. A thinning-out unit for thinning out data of the plurality of image signals in an area used for the correlation calculation and performing a correlation calculation, wherein the thinning-out means is performed based on focus detection information obtained up to the previous time. 3. The focus detection device according to claim 2, wherein whether or not to perform is selected.
【請求項8】 上記焦点検出情報は、上記焦点検出結果
であることを特徴とする請求項7記載の焦点検出装置。
8. The focus detection device according to claim 7, wherein the focus detection information is the focus detection result.
【請求項9】 上記焦点検出情報は、上記焦点検出回数
であることを特徴とする請求項7記載の焦点検出装置。
9. The focus detection apparatus according to claim 7, wherein the focus detection information is the number of times of focus detection.
【請求項10】 上記焦点検出結果はデフォーカス量で
あり、始めの焦点検出は間引いて相関演算を行い、合焦
近傍にきたら間引かないで相関演算を行うことを特徴と
する請求項7記載の焦点検出装置。
10. The method according to claim 7, wherein the focus detection result is a defocus amount, and the correlation calculation is performed by thinning out the first focus detection, and the correlation calculation is performed without thinning out when the focus comes close to focus. Focus detection device.
【請求項11】 撮像面に結像された被写体の光学像を
撮像して画像信号を出力する撮像手順と、 上記光学像を上記撮像面に結像する光学系における瞳領
域を複数の位置に移動させる移動手順と、 上記複数の位置においてそれぞれ撮像して得られる複数
の画像信号の位相差を相関演算により検出し、この位相
差に基づいて上記光学系の焦点検出を行う演算手順と、 上記演算手順において複数回の演算を行わせると共に各
回に対して複数の演算方法のうち1つを選択して与える
制御手順とを備えた焦点検出方法。
11. An imaging procedure for capturing an optical image of a subject formed on an imaging surface and outputting an image signal, and a pupil region in an optical system for forming the optical image on the imaging surface at a plurality of positions. A moving procedure for moving, a calculation procedure for detecting a phase difference between a plurality of image signals obtained by imaging at the plurality of positions by a correlation calculation, and performing focus detection of the optical system based on the phase difference; A control procedure for performing a plurality of calculations in the calculation procedure and selecting and providing one of the plurality of calculation methods for each calculation.
【請求項12】 上記制御手順は、前回までに得られた
焦点検出情報に基づいて次回の演算方法を選択すること
を特徴とする請求項11記載の焦点検出方法及び焦点検
出装置。
12. The focus detection method and focus detection device according to claim 11, wherein said control procedure selects a next calculation method based on focus detection information obtained up to the previous time.
【請求項13】 上記演算方法は、上記相関演算におい
て、前回までと次回とで上記位相差検出時の画像信号の
サーチ範囲を変えることを特徴とする請求項12記載の
焦点検出方法。
13. The focus detection method according to claim 12, wherein in the calculation of the correlation, a search range of the image signal at the time of detecting the phase difference is changed between the previous time and the next time.
【請求項14】 上記演算方法は、上記相関演算におい
て、前回までと次回とで上記位相差検出時の画像信号を
シフトするステップ量を変えることを特徴とする請求項
12記載の焦点検出方法。
14. The focus detection method according to claim 12, wherein in the calculation of the correlation, a step amount of shifting the image signal at the time of detecting the phase difference is changed between the previous time and the next time.
【請求項15】 上記演算方法は、上記相関演算におい
て、前回までと次回とで上記相関演算に用いる上記複数
の画像信号の領域の大きさを変えることを特徴とする請
求項12記載の焦点検出方法。
15. The focus detection according to claim 12, wherein the calculation method changes the size of the area of the plurality of image signals used in the correlation calculation between the previous time and the next time in the correlation calculation. Method.
【請求項16】 上記演算方法は、上記相関演算におい
て、上記光学系のデフォーカス量に応じて生じる位相ず
れ方向に対して略垂直な方向のシフト演算を行うか行わ
ないかを選択することを特徴とする請求項12記載の焦
点検出方法。
16. The calculation method according to claim 1, wherein in the correlation calculation, it is selected whether or not to perform a shift calculation in a direction substantially perpendicular to a phase shift direction generated according to a defocus amount of the optical system. 13. The focus detection method according to claim 12, wherein:
【請求項17】 上記相関演算に用いる領域内にある上
記複数の画像信号のデータを間引いて相関演算を行うた
めの間引き手順を有し、前回までに得られた焦点検出情
報に基づいて上記間引きを行うか否かを選択することを
特徴とする請求項12記載の焦点検出方法。
17. A thinning-out procedure for thinning out data of the plurality of image signals in an area used for the correlation calculation and performing a correlation calculation, wherein the thinning-out is performed based on focus detection information obtained up to the previous time. 13. The focus detection method according to claim 12, wherein whether or not to perform is selected.
【請求項18】 上記焦点検出情報は、上記焦点検出結
果であることを特徴とする請求項17記載の焦点検出方
法。
18. The focus detection method according to claim 17, wherein the focus detection information is the focus detection result.
【請求項19】 上記焦点検出情報は、上記焦点検出回
数であることを特徴とする請求項17記載の焦点検出方
法。
19. The focus detection method according to claim 17, wherein the focus detection information is the number of times of focus detection.
【請求項20】 上記焦点検出結果はデフォーカス量で
あり、始めの焦点検出は間引いて相関演算を行い、合焦
近傍にきたら間引かないで相関演算を行うことを特徴と
する請求項17記載の焦点検出方法。
20. The method according to claim 17, wherein the focus detection result is a defocus amount, and the correlation calculation is performed by thinning out the first focus detection, and the correlation calculation is performed without thinning out when the focus comes near the focus. Focus detection method.
【請求項21】 撮像面に結像された被写体の光学像を
撮像して画像信号を出力する撮像処理と、 上記光学像を上記撮像面に結像する光学系における瞳領
域を複数の位置に移動させる移動処理と、 上記複数の位置においてそれぞれ撮像して得られる複数
の画像信号の位相差を相関演算により検出し、この位相
差に基づいて上記光学系手段の焦点検出を行う演算処理
と、 上記演算処理に複数回の演算を行わせると共に各回に対
して複数の演算方法のうち1つを選択して与える制御処
理とを実行するためのプログラムを記憶したコンピュー
タ読み取り可能な記憶媒体。
21. An image pickup process for picking up an optical image of a subject formed on an image pickup surface and outputting an image signal, and pupil regions in an optical system for forming the optical image on the image pickup surface at a plurality of positions. A moving process of moving, detecting a phase difference between a plurality of image signals obtained by imaging at the plurality of positions by a correlation calculation, and performing a focus detection of the optical system means based on the phase difference; A computer-readable storage medium storing a program for executing a plurality of operations in the operation process and performing a control process of selecting and providing one of a plurality of operation methods for each operation.
【請求項22】 上記制御処理は、前回までに得られた
焦点検出情報に基づいて次回の演算方法を選択すること
を特徴とする請求項21記載のコンピュータ読み取り可
能な記憶媒体。
22. The computer-readable storage medium according to claim 21, wherein said control processing selects a next calculation method based on focus detection information obtained up to a previous time.
【請求項23】 上記演算方法は、上記相関演算におい
て、前回までと次回とで上記位相差検出時の画像信号の
サーチ範囲を変えることを特徴とする請求項22記載の
コンピュータ読み取り可能な記憶媒体。
23. The computer-readable storage medium according to claim 22, wherein in the calculation method, the search range of the image signal at the time of detecting the phase difference is changed between the previous time and the next time in the correlation calculation. .
【請求項24】 上記演算方法は、上記相関演算におい
て、前回までと次回とで上記位相差検出時の画像信号を
シフトするステップ量を変えることを特徴とする請求項
22記載のコンピュータ読み取り可能な記憶媒体。
24. The computer-readable computer according to claim 22, wherein in the correlation method, a step amount of shifting the image signal at the time of detecting the phase difference is changed between a previous time and a next time in the correlation calculation. Storage medium.
【請求項25】 上記演算方法は、上記相関演算におい
て、前回までと次回とで上記相関演算に用いる上記複数
の画像信号の領域の大きさを変えることを特徴とする請
求項22記載のコンピュータ読み取り可能な記憶媒体。
25. The computer-readable medium according to claim 22, wherein in the calculation method, the size of the area of the plurality of image signals used in the correlation calculation is changed between the previous time and the next time in the correlation calculation. Possible storage medium.
【請求項26】 上記演算方法は、上記相関演算におい
て、上記光学系のデフォーカス量に応じて生じる位相ず
れ方向に対して略垂直な方向のシフト演算を行うか行わ
ないかを選択することを特徴とする請求項22記載のコ
ンピュータ読み取り可能な記憶媒体。
26. The method according to claim 26, wherein in the correlation operation, whether to perform a shift operation in a direction substantially perpendicular to a phase shift direction generated according to a defocus amount of the optical system is selected. 23. The computer readable storage medium according to claim 22, wherein:
【請求項27】 上記相関演算に用いる領域内にある上
記複数の画像信号のデータを間引いて相関演算を行うた
めの間引き手段を有し、前回までに得られた焦点検出情
報に基づいて上記間引きを行うか否かを選択することを
特徴とする請求項22記載のコンピュータ読み取り可能
な記憶媒体。
27. A thinning-out unit for thinning out data of the plurality of image signals in an area used for the correlation operation and performing a correlation operation, and based on the focus detection information obtained up to the previous time. 23. The computer-readable storage medium according to claim 22, wherein it is selected whether or not to perform.
【請求項28】 上記焦点検出情報は、上記焦点検出結
果であることを特徴とする請求項27記載のコンピュー
タ読み取り可能な記憶媒体。
28. The computer-readable storage medium according to claim 27, wherein the focus detection information is the focus detection result.
【請求項29】 上記焦点検出情報は、上記焦点検出回
数であることを特徴とする請求項27記載のコンピュー
タ読み取り可能な記憶媒体。
29. The computer-readable storage medium according to claim 27, wherein the focus detection information is the number of times of focus detection.
【請求項30】 上記焦点検出結果はデフォーカス量で
あり、始めの焦点検出は間引いて相関演算を行い、合焦
近傍にきたら間引かないで相関演算を行うことを特徴と
する請求項27記載のコンピュータ読み取り可能な記憶
媒体。
30. The focus detection method according to claim 27, wherein the focus detection result is a defocus amount, and the first focus detection is performed by thinning out the correlation calculation, and the correlation calculation is performed without thinning out when the focus comes close to the in-focus state. Computer readable storage medium.
JP5783998A 1998-03-10 1998-03-10 Focus detection apparatus, method, and computer-readable storage medium Pending JPH11258492A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP5783998A JPH11258492A (en) 1998-03-10 1998-03-10 Focus detection apparatus, method, and computer-readable storage medium
US10/842,444 US7358999B2 (en) 1998-03-10 2004-05-11 Focus sensing apparatus, focus sensing method using phase-differential detection and computer-readable storage medium therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5783998A JPH11258492A (en) 1998-03-10 1998-03-10 Focus detection apparatus, method, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
JPH11258492A true JPH11258492A (en) 1999-09-24

Family

ID=13067146

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5783998A Pending JPH11258492A (en) 1998-03-10 1998-03-10 Focus detection apparatus, method, and computer-readable storage medium

Country Status (1)

Country Link
JP (1) JPH11258492A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6869217B2 (en) * 1999-12-07 2005-03-22 Koninklijke Philips Electronics N.V. X-ray device provided with a robot arm
JP2005250261A (en) * 2004-03-05 2005-09-15 Olympus Corp Focusing device and focusing device of camera
JP2009008686A (en) * 2008-07-25 2009-01-15 Fujinon Corp Range finder
WO2011045850A1 (en) * 2009-10-13 2011-04-21 キヤノン株式会社 Focusing device and focusing method
CN102318335A (en) * 2009-02-06 2012-01-11 佳能株式会社 Image capturing apparatus
WO2013164937A1 (en) * 2012-05-01 2013-11-07 富士フイルム株式会社 Imaging device and focus control method
JP2014215551A (en) * 2013-04-26 2014-11-17 キヤノン株式会社 Image-capturing device and control method therefor
JP2015087705A (en) * 2013-11-01 2015-05-07 キヤノン株式会社 Focus control device and control method thereof
JP2015087706A (en) * 2013-11-01 2015-05-07 キヤノン株式会社 Focus control device, and control method therefor
US9742980B2 (en) 2013-11-01 2017-08-22 Canon Kabushiki Kaisha Focus control apparatus and control method therefor

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6869217B2 (en) * 1999-12-07 2005-03-22 Koninklijke Philips Electronics N.V. X-ray device provided with a robot arm
JP2005250261A (en) * 2004-03-05 2005-09-15 Olympus Corp Focusing device and focusing device of camera
JP2009008686A (en) * 2008-07-25 2009-01-15 Fujinon Corp Range finder
US8964061B2 (en) 2009-02-06 2015-02-24 Canon Kabushiki Kaisha Image capturing apparatus with selection of thinning and readout mode in accordance with moving image recording mode
CN102318335A (en) * 2009-02-06 2012-01-11 佳能株式会社 Image capturing apparatus
JP5645846B2 (en) * 2009-10-13 2014-12-24 キヤノン株式会社 Focus adjustment device and focus adjustment method
US8488956B2 (en) 2009-10-13 2013-07-16 Canon Kabushiki Kaisha Focus adjusting apparatus and focus adjusting method
WO2011045850A1 (en) * 2009-10-13 2011-04-21 キヤノン株式会社 Focusing device and focusing method
WO2013164937A1 (en) * 2012-05-01 2013-11-07 富士フイルム株式会社 Imaging device and focus control method
CN104272161A (en) * 2012-05-01 2015-01-07 富士胶片株式会社 Camera device and focus control method
JP5690974B2 (en) * 2012-05-01 2015-03-25 富士フイルム株式会社 Imaging apparatus and focus control method
US9288384B2 (en) 2012-05-01 2016-03-15 Fujifilm Corporation Image device and focus control method
JP2014215551A (en) * 2013-04-26 2014-11-17 キヤノン株式会社 Image-capturing device and control method therefor
JP2015087705A (en) * 2013-11-01 2015-05-07 キヤノン株式会社 Focus control device and control method thereof
JP2015087706A (en) * 2013-11-01 2015-05-07 キヤノン株式会社 Focus control device, and control method therefor
US9742980B2 (en) 2013-11-01 2017-08-22 Canon Kabushiki Kaisha Focus control apparatus and control method therefor

Similar Documents

Publication Publication Date Title
JP4007716B2 (en) Imaging device
US7358999B2 (en) Focus sensing apparatus, focus sensing method using phase-differential detection and computer-readable storage medium therefor
JP4007713B2 (en) Imaging device
JP5241355B2 (en) Imaging apparatus and control method thereof
JP6263035B2 (en) Imaging device
EP2181349B1 (en) Image sensing apparatus
JP4323002B2 (en) Imaging device
JP5095519B2 (en) Imaging apparatus and imaging method
JP2005092085A (en) Focus detection and adjustment method and focus detection and adjustment device
JPH11258492A (en) Focus detection apparatus, method, and computer-readable storage medium
JPH0943507A (en) Electronic still camera and focus control method thereof
JP2018081224A (en) Imaging device and control method thereof
JPH11258491A (en) Focus detection apparatus, method, and computer-readable storage medium
JP2011087050A (en) Digital camera
JP3370438B2 (en) Exposure control device for still video camera
JP7145048B2 (en) IMAGING DEVICE AND CONTROL METHOD THEREOF, PROGRAM, STORAGE MEDIUM
JP2007293370A (en) Imaging apparatus
JP2018163322A (en) Imaging device and method for controlling the same, program, and recording medium
JPH11258489A (en) Focus detection apparatus, method, and computer-readable storage medium
JPH11142723A (en) Imaging device
JPH11258490A (en) Focus detection apparatus, method, and computer-readable storage medium
JP2004145022A (en) Digital camera
JP2000155261A (en) Focus detection method, focus detection device, and storage medium storing focus detection method
JP4086337B2 (en) Imaging device
JP4095630B2 (en) Imaging device