JP3211280B2 - Focus detection device - Google Patents
Focus detection deviceInfo
- Publication number
- JP3211280B2 JP3211280B2 JP25847691A JP25847691A JP3211280B2 JP 3211280 B2 JP3211280 B2 JP 3211280B2 JP 25847691 A JP25847691 A JP 25847691A JP 25847691 A JP25847691 A JP 25847691A JP 3211280 B2 JP3211280 B2 JP 3211280B2
- Authority
- JP
- Japan
- Prior art keywords
- block
- correction value
- blocking
- focus detection
- blocks
- 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.)
- Expired - Lifetime
Links
Landscapes
- Measurement Of Optical Distance (AREA)
- Automatic Focus Adjustment (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、カメラなどに用いられ
る焦点検出装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a focus detecting device used for a camera or the like.
【0002】[0002]
【従来の技術】一眼レフレックスカメラにおける焦点検
出方式として、位相差検出方式があり、図9を用いてこ
の方法を説明する。対物レンズ100の領域101を介
して入射した光束は、視野マスク200、フィールドレ
ンズ300、絞り開口部401および再結像レンズ50
1を通り、イメージセンサーアレイA上に結像する。同
様に、対物レンズ100の領域102を介して入射した
光束は、視野マスク200、フィールドレンズ300、
絞り開口部402および再結像レンズ502を通り、イ
メージセンサーアレイB上に結像する。これらイメージ
センサーアレイA,B上に結像した一対の被写体像は、
対物レンズ100が予定焦点面よりも前に被写体の鮮鋭
像を結ぶいわゆる前ピン状態では互いに遠ざかり、逆に
予定焦点面よりも後ろに被写体の鮮鋭像を結ぶいわゆる
後ピン状態では互いに近づき、ちょうど予定焦点面に被
写体の鮮鋭像を結ぶいわゆる合焦時にはイメージセンサ
ーアレイA,B上の被写体像は相対的に一致する。従っ
て、この一対の被写体像をイメージセンサーアレイA,
Bで光電変換して電気信号に変え、これらの信号を演算
処理して一対の被写体像の相対位置を求めることにより
対物レンズ100の焦点調節状態、ここでは合焦状態か
ら離れている量とその方向(以下では、デフォーカス量
と呼ぶ)が分かる。2. Description of the Related Art There is a phase difference detection method as a focus detection method in a single-lens reflex camera, and this method will be described with reference to FIG. The luminous flux incident through the region 101 of the objective lens 100 is reflected by the field mask 200, the field lens 300, the aperture opening 401, and the re-imaging lens 50.
1 to form an image on the image sensor array A. Similarly, the light beam incident through the region 102 of the objective lens 100 is reflected by the field mask 200, the field lens 300,
The light passes through the aperture 402 and the re-imaging lens 502 to form an image on the image sensor array B. A pair of subject images formed on the image sensor arrays A and B are:
In the so-called front focus state in which the objective lens 100 forms a sharp image of the subject before the planned focal plane, they move away from each other. At the time of so-called focusing in which a sharp image of the subject is formed on the focal plane, the subject images on the image sensor arrays A and B relatively match. Therefore, this pair of subject images is converted to image sensor arrays A,
The signals are converted into electrical signals by photoelectric conversion in B, and these signals are arithmetically processed to obtain the relative positions of a pair of subject images, thereby obtaining the focus adjustment state of the objective lens 100, here, the amount of the object lens 100 away from the in-focus state and its amount. The direction (hereinafter, referred to as a defocus amount) is known.
【0003】次に、デフォーカス量を求める演算処理方
法について述べる。イメージセンサーアレイA,Bは、
それぞれ複数の光電変換素子からなっており、図10
(a),(b)に示すように複数の光電変換出力信号列
a1...an,b1...bnを出力する。そして、
それぞれのデータ列を相対的に所定のデータ分Lずつシ
フトしながら相関演算を行う。具体的には相関量C(L)
を次式で算出する。 C(L)=Σ|ai−bj| ・・・(1) ここで、Σは、i=k〜rの総和を示し、j−i=L、
L=−lmax,..,−2,−1,0,1,
2,..,lmaxである。Lは、上述のごとくデータ
列のシフト量に当たる整数であり、初項kと最終項rは
シフト量Lに依存して変化させてもよい。こうして得ら
れた相関量C(L)の中で極小値となる相関量を与える
シフト量に、図9に示す光学系およびイメージセンサー
アレイA,Bの光電変換素子のピッチ幅によって定まる
定数を掛けたものがデフォーカス量となる。しかしなが
ら、相関量C(L)は、図11に示すように離散的な値で
あり、検出可能なデフォーカス量の最小単位はイメージ
センサーアレイA,Bの光電変換素子のピッチ幅によっ
て制限されてしまう。Next, an arithmetic processing method for obtaining the defocus amount will be described. Image sensor arrays A and B are
Each of the photoelectric conversion elements includes a plurality of photoelectric conversion elements.
As shown in (a) and (b), a plurality of photoelectric conversion output signal strings a1. . . an, b1. . . bn is output. And
The correlation operation is performed while relatively shifting each data string by L for a predetermined amount of data. Specifically, the correlation amount C (L)
Is calculated by the following equation. C (L) = Σ | ai−bj | (1) where Σ represents the sum of i = k to r, and ji = L,
L = -lmax,. . , -2, -1, 0, 1,
2,. . , Lmax. L is an integer corresponding to the shift amount of the data string as described above, and the first term k and the last term r may be changed depending on the shift amount L. The shift amount giving the minimum correlation value among the correlation amounts C (L) thus obtained is multiplied by a constant determined by the pitch width of the optical system and the pitch of the photoelectric conversion elements of the image sensor arrays A and B shown in FIG. Is the defocus amount. However, the correlation amount C (L) is a discrete value as shown in FIG. 11, and the minimum unit of the detectable defocus amount is limited by the pitch width of the photoelectric conversion elements of the image sensor arrays A and B. I will.
【0004】そこで、離散的な相関量C(L)に基づい
て補間演算を行うことにより、新たに極小値Cexを算
出して綿密な焦点検出を行う方法が、特開昭60−37
513号で本出願人により開示されている。これは、図
12に示すように、極小値である相関量C0とその両側
のシフト量における相関量C1,C-1によって算出する
方法で、まず極小値Cexを与えるシフト量Fmを算出
する。 Fm=L+DL/E ・・・(2) ここで、DL=(C-1−C1)/2,E=MAX{C1−
C0,C-1−C0}であり、MAX{Ca,Cb}はCa
とCbとの大なる方を選択することを意味する。そし
て、デフォーカス量は、極小値Cexを与えるシフト量
Fmから次の様にして算出される。 DF=Kf×Fm ・・・(3) ここで、Kfは、図9に示す光学系およびイメージセン
サーアレイA,Bの光電変換素子のピッチ幅によって定
まる定数である。To solve this problem, Japanese Patent Laid-Open No. Sho 60-37 discloses a method in which an interpolation operation is performed on the basis of a discrete correlation amount C (L) to newly calculate a minimum value Cex and to perform in-depth focus detection.
No. 513, disclosed by the applicant. In this method, as shown in FIG. 12, a shift amount Fm that gives the minimum value Cex is first calculated by a method of calculating the correlation amount C0 which is the minimum value and the correlation amounts C1 and C-1 of the shift amounts on both sides thereof. Fm = L + DL / E (2) where, DL = (C-1 -C1) / 2, E = MAX @ C1-
C0, C-1-C0}, and MAX {Ca, Cb} is Ca
And Cb. Then, the defocus amount is calculated as follows from the shift amount Fm that gives the minimum value Cex. DF = Kf × Fm (3) Here, Kf is a constant determined by the pitch width of the photoelectric conversion elements of the optical system and the image sensor arrays A and B shown in FIG.
【0005】こうして得られたデフォーカス量が、真に
デフォーカス量を示しているのか、ノイズなどによる相
関量の揺らぎによるものかを判定する必要があり、次の
条件を満たしたとき、デフォーカス量は信頼ありとす
る。 E>E1 かつ Cex/E<G1 ・・・条件(1) ここで、Cex=C0−DL、E1,G1はある所定値で
ある。Eは、被写体のコントラストに依存する値であ
り、値が大きいほどコントラストが高く信頼性が高いこ
とになり、Cex/Eは、主にノイズ成分に依存し、0
に近いほど信頼性が高いことになる。そして、信頼あり
と判定されるとデフォーカス量DFに基づいて対物レン
ズ100を駆動する。以上の相関演算、補間演算、条件
判定をまとめて焦点検出演算と呼ぶことにする。It is necessary to determine whether the defocus amount obtained in this way truly indicates the defocus amount or the fluctuation amount of the correlation amount due to noise or the like. When the following condition is satisfied, the defocus amount is determined. The quantity is reliable. E> E1 and Cex / E <G1 Condition (1) Here, Cex = C0−DL, and E1 and G1 are certain predetermined values. E is a value that depends on the contrast of the subject, and the larger the value is, the higher the contrast is and the higher the reliability is. Cex / E mainly depends on the noise component and is 0.
The closer to, the higher the reliability. Then, when it is determined that there is reliability, the objective lens 100 is driven based on the defocus amount DF. The above correlation calculation, interpolation calculation, and condition determination are collectively referred to as focus detection calculation.
【0006】以上の説明では、焦点検出演算はイメージ
センサーアレイA,Bの出力そのものを用いて演算して
いるが、ナイキスト周波数以上の有害成分や、一対のイ
メージセンサーA,B間の出力のバランスの差、つまり
DC成分による悪影響を消すために、イメージセンサー
アレイA,Bの出力に対してフィルター処理を施すこと
によって新たにデータを作成し、新たに作成したデータ
を用いて焦点検出演算を行う方法が、例えば特開昭61
−245123号に開示されている。すなわち、イメー
ジセンサーの出力信号列をD(i)とすると、まず高周波
成分を除去するフィルター処理を行って新たなデータ列
H(i)を作成する。 H(i)=D(i)+3D(i+1)+4D(i+2)+3D(i+3)+D(i+4) ・・・(4) なお、上式の右辺を12で割ってもよい。このデータ列
H(i)に対して、さらにDC成分を除去するフィルター
処理を行って新たなデータ列F(i)を作成する。 F(i)=-H(i)+2H(i+N)-H(i+2N) ・・・(5) ここで、Nは、1〜10程度の自然数であり、Nの値が
大きいほど低周波成分が抽出される。そこで、Nとして
例えば3と6の2種類用意して被写体によって切り換え
たり、最初はN=3でデータ列F(i)を作成してこれを
用いて(1)式の相関演算、(2)式の補間演算を行
い、条件(1)を満たさない場合にはN=6に変えてデ
ータ列F(i)を作成し再び演算をやり直す。ちなみに、
N=3のときデータ列F(i)の第1番目のデータF(1)を
イメージセンサーの出力信号そのものであるデータ列D
(i)で表すと次のようになる。 F(1)=−D(1)−3D(2)−4D(3)−D(4)+5D(5)+8D(6)+5D(7)−D(8) −4D(9)−3D(10)−D(11) ・・・(6)In the above description, the focus detection calculation is performed using the outputs of the image sensor arrays A and B. However, the harmful components having a frequency equal to or higher than the Nyquist frequency and the balance between the outputs of the pair of image sensors A and B are used. In order to eliminate the influence of the DC component, the output of the image sensor arrays A and B is filtered to generate new data, and the focus detection calculation is performed using the newly generated data. The method is described in, for example,
-245123. That is, assuming that the output signal sequence of the image sensor is D (i), first, a filter process for removing high frequency components is performed to create a new data sequence H (i). H (i) = D (i) + 3D (i + 1) + 4D (i + 2) + 3D (i + 3) + D (i + 4) (4) Note that the right side of the above equation is You may divide by 12. The data string H (i) is further subjected to a filtering process for removing a DC component to create a new data string F (i). F (i) =-H (i) + 2H (i + N) -H (i + 2N) (5) where N is a natural number of about 1 to 10, and the value of N is large. The lower the frequency component is extracted, the lower the frequency component becomes. Therefore, two types of N, for example, 3 and 6, are prepared and switched depending on the subject, or at first, a data sequence F (i) is created with N = 3, and this is used to perform the correlation operation of the equation (1), (2) If the formula (1) is not satisfied, the data sequence F (i) is created by changing N = 6, and the calculation is performed again. By the way,
When N = 3, the first data F (1) of the data sequence F (i) is converted to the data sequence D which is the output signal of the image sensor itself.
(i) is as follows. F (1) =-D (1) -3D (2) -4D (3) -D (4) + 5D (5) + 8D (6) + 5D (7) -D (8) -4D (9) -3D ( 10) -D (11) ... (6)
【0007】ところで、この様な焦点検出装置におい
て、距離の異なる複数の被写体がイメージセンサーアレ
イに結像した時は、イメージセンサアレイのすべてのデ
ータに基づいて焦点検出演算を行なうと、前後した被写
体の中間距離で合焦と判定してしまったり、焦点検出が
不能となってしまうという不具合があった。そこで一対
のイメージセンサーアレイをそれぞれ複数のブロックに
分割する事により被写体像を細分化し、それぞれのブロ
ックについて焦点検出演算を行い、それぞれのブロック
において極小を与えるシフト量Fm(i)とデフォーカス
量Df(i)を算出し、複数のブロックの中で、たとえば
デフォーカス量が最至近を示すブロックやコントラスト
が最大のブロックを選択し、そのブロックのデフォーカ
ス量を対物レンズの焦点検出状態とし、このデフォーカ
ス量に基づいて対物レンズを駆動し、合焦させる方法が
例えば特開昭62−163007号で開示され公知とな
っている。ここでブロックに分割するとは、例えば前述
R>の(1)式でシフト量L=0における初項kと最終項
rの組を複数形成するようにして行う。図13(a)に
示すように、イメージセンサーアレイをそれぞれが9デ
ータから成る5個のブロックに分割するには、ブロック
1はシフト量L=0においてk=3,r=11と設定し
て(1)式によって相関量C(L)を演算し、これらに基
づいて(2)式によって極小を与えるシフト量Fmを算
出し、デフォーカス量DFを演算し、同様にブロック
2、3、4、5ではそれぞれシフト量L=0においてk
=12,r=20、k=21,r=29、k=30,r
=38、k=39,r=47と設定して演算を行う。In such a focus detection device, when a plurality of subjects having different distances form an image on the image sensor array, if focus detection calculation is performed based on all data of the image sensor array, the forward and backward subjects are calculated. However, there is a problem that it is determined that the focus is achieved at the intermediate distance, or that the focus detection becomes impossible. Therefore, the subject image is subdivided by dividing each of the pair of image sensor arrays into a plurality of blocks, a focus detection calculation is performed for each block, and a shift amount Fm (i) and a defocus amount Df that give a minimum in each block. (i) is calculated, for example, a block having the closest defocus amount or the block having the largest contrast is selected from the plurality of blocks, and the defocus amount of the block is set to the focus detection state of the objective lens. A method of driving the objective lens based on the defocus amount and focusing is disclosed in, for example, JP-A-62-163007, and is known. Here, dividing into blocks means, for example,
R> (1) is used to form a plurality of pairs of the first term k and the last term r at the shift amount L = 0. As shown in FIG. 13A, in order to divide the image sensor array into five blocks each consisting of nine data, block 1 is set to k = 3 and r = 11 at a shift amount L = 0. The correlation amount C (L) is calculated by the equation (1), the shift amount Fm giving the minimum is calculated by the equation (2) based on these, the defocus amount DF is calculated, and the blocks 2, 3, and 4 are similarly calculated. , 5 and k at the shift amount L = 0
= 12, r = 20, k = 21, r = 29, k = 30, r
= 38, k = 39, r = 47 and the calculation is performed.
【0008】前述のフィルター処理を行った場合も、新
たに作成されたデータを同様に複数のブロックに分けれ
ばよい。また、高周波数成分を抽出するフィルター処理
ではブロックを形成するデータ数を少なくして狭いブロ
ックを多数形成し、低周波数成分を抽出するフィルター
処理ではブロックを形成するデータ数を多くして、広い
ブロックを小数形成するようにする方法もある。あるい
は最初は狭いブロックで焦点検出演算を行い、全てのブ
ロックで焦点検出不能であったならブロックを広くして
焦点検出演算をやり直すという様にブロックの幅を可変
とする方法もある。[0008] Even when the above-described filtering process is performed, newly created data may be similarly divided into a plurality of blocks. In the filtering process for extracting high-frequency components, the number of data forming blocks is reduced to form many narrow blocks, and in the filtering process for extracting low-frequency components, the number of data forming blocks is increased to increase wide blocks. May be formed as a decimal number. Alternatively, there is a method in which the focus detection calculation is performed in a narrow block at first, and if the focus cannot be detected in all the blocks, the block is widened and the focus detection calculation is performed again to make the width of the block variable.
【0009】これまでの説明において、ちょうど予定焦
点面に被写体の鮮鋭像を結ぶいわゆる合焦時には、イメ
ージセンサーアレイA,B上の被写体像は相対的に一致
するとした。しかしながら、実際には図9に示す光学系
(対物レンズ100は除く)をカメラなどに装着する時
に予定焦点面との相対位置がずれるため、イメージセン
サアレイA,B上の一対の被写体像は完全には一致せず
にずれる。従って、ずれ量を記憶しておき、(2)式の
演算終了後に補正を行う必要がある。例えば、ずれ量を
補正する補正値として単位がデータのピッチであるよう
なZを用いると、補正は以下のようにして行われる。 Fm’=Fm−Z ・・・(7) そして、デフォーカス量が(3)式に代わって次の様に
して算出される。 DF=Kf×Fm’ ・・・(8) この補正値Zはカメラボディごとに異なるので、カメラ
ボディごとに補正値Zを測定し、カメラボディ内の例え
ばEEPROMなどに記憶しておく必要がある。In the above description, it is assumed that the subject images on the image sensor arrays A and B are relatively coincident with each other at the time of so-called focusing in which a sharp image of the subject is formed on the expected focal plane. However, in practice, when the optical system shown in FIG. 9 (excluding the objective lens 100) is mounted on a camera or the like, the relative position with respect to the planned focal plane is shifted. Shifts without matching. Therefore, it is necessary to store the deviation amount and to perform the correction after the calculation of the equation (2) is completed. For example, when a Z whose unit is the data pitch is used as a correction value for correcting the shift amount, the correction is performed as follows. Fm ′ = Fm−Z (7) Then, the defocus amount is calculated as follows instead of the equation (3). DF = Kf × Fm ′ (8) Since this correction value Z differs for each camera body, it is necessary to measure the correction value Z for each camera body and store it in, for example, an EEPROM in the camera body. .
【0010】理想的には、イメージセンサーアレイの位
置によらずにずれ量は一定である事が望まれるが、焦点
検出光学系の収差などのためにずれ量は一定とならず、
イメージセンサーアレイの位置によって図14に示すよ
うにずれ量は異なる。従って、焦点検出領域を複数のブ
ロックに分割する場合、補正値Zはブロック毎に設定す
る必要がある。そこでブロック毎に補正値Z(i)を測定
して、これら複数の補正値Z(i)をEEPROMなどに
記憶し、演算された個々の結果に対して対応する補正値
Z(i)を用いて補正を行う。これについては本出願人に
より特開昭60−262004号で開示され公知であ
る。また以下では、イメージセンサーアレイ位置による
ずれ量をZ値、Z値の分布をZ分布と呼ぶことにする。Ideally, it is desired that the shift amount be constant irrespective of the position of the image sensor array. However, the shift amount is not constant due to the aberration of the focus detection optical system.
As shown in FIG. 14, the shift amount differs depending on the position of the image sensor array. Therefore, when dividing the focus detection area into a plurality of blocks, the correction value Z needs to be set for each block. Therefore, the correction value Z (i) is measured for each block, these plurality of correction values Z (i) are stored in an EEPROM or the like, and a corresponding correction value Z (i) is used for each calculated result. To make corrections. This is disclosed and known by the present applicant in Japanese Patent Application Laid-Open No. 60-262004. Hereinafter, the shift amount due to the position of the image sensor array is referred to as a Z value, and the distribution of the Z values is referred to as a Z distribution.
【0011】[0011]
【発明が解決しようとする課題】しかしながら、上述し
たような焦点検出領域を複数のブロックに分割する焦点
検出装置において、イメージセンサーの出力信号デー
タ、あるいはそれらの出力信号データをフィルター処理
して得られたデータを用いて焦点検出演算を行う場合、
焦点検出光学系の収差などを補正する補正値Zを複数の
ブロックごとに設けるだけでなく、フィルター処理の有
無やフィルターの処理の種類によって補正値Zを変える
必要がある。また、ブロックの幅を可変とした場合に
は、それぞれのブロックによって補正値Zを変える必要
がある。これらの問題点について説明する。However, in a focus detection device that divides a focus detection area into a plurality of blocks as described above, the output signal data of the image sensor or the output signal data obtained by filtering the output signal data is obtained. When performing focus detection calculation using the data
In addition to providing a correction value Z for correcting the aberration of the focus detection optical system for each of a plurality of blocks, it is necessary to change the correction value Z depending on the presence / absence of filter processing and the type of filter processing. When the width of each block is variable, it is necessary to change the correction value Z for each block. These problems will be described.
【0012】一対のイメージセンサーがそれぞれ図13
(a)に示すように49個の画素から成っているとす
る。まず、49個のデータは(4)式によるフィルター
処理によって図13(b)に示すような45個のデータ
列H(1)〜H(45)となる。さらに、(5)式によるフィ
ルター処理(N=3)によって39個のデータ列F(1)
〜F(39)となる。このデータを5個のブロックに分けよ
うとすると、例えば図13(c)に示すように個々のブ
ロックが7画素から成るブロックを形成することができ
る。(1)式におけるk、rで表すと、1〜5ブロック
はそれぞれk=3,r=9、k=10,r=16、k=
17,r=23、k=24,r=30、k=31,r=
37となる。これらの範囲がイメージセンサーの上では
どのような範囲に相当するかを考える。(6)式に示す
ように、フィルター処理データF(1)は、D(1)〜D(11)
から成っているが、D(6)が中心であり、かつ係数が一
番大きいので、フィルター処理データF(1)はイメージ
センサー上における第6画素の位置の光像に相当する信
号と考えられる。従って、上記1〜5ブロックはイメー
ジセンサー上ではそれぞれ、第8〜14画素、第15〜
21画素、第22〜28画素、第29〜35画素、第3
6〜42画素の範囲に相当することになる。FIG. 13 shows a pair of image sensors.
It is assumed that the pixel consists of 49 pixels as shown in FIG. First, the 49 data are converted into 45 data strings H (1) to H (45) as shown in FIG. Further, 39 data strings F (1) are obtained by the filter processing (N = 3) according to the equation (5).
To F (39). If this data is to be divided into five blocks, for example, as shown in FIG. 13C, a block in which each block is composed of seven pixels can be formed. When represented by k and r in the equation (1), blocks 1 to 5 have k = 3, r = 9, k = 10, r = 16, and k = 3, respectively.
17, r = 23, k = 24, r = 30, k = 31, r =
37. Consider what these areas correspond to on the image sensor. As shown in the equation (6), the filter processing data F (1) is represented by D (1) to D (11).
However, since D (6) is the center and the coefficient is the largest, the filtered data F (1) is considered to be a signal corresponding to the light image at the position of the sixth pixel on the image sensor. . Therefore, the 1st to 5th blocks are the 8th to 14th pixels and 15th to 15th pixels on the image sensor, respectively.
21 pixels, 22-28 pixels, 29-35 pixels, 3rd
This corresponds to a range of 6 to 42 pixels.
【0013】しかしながら、前述のようにフィルター処
理を行わないデータ、すなわちイメージセンサーの出力
そのものを用いる場合には、1〜5ブロックはそれぞれ
第3〜11画素、第12〜20画素、第21〜29画
素、第30〜38画素、第39〜47画素である。従っ
て、フィルター処理の有無によってブロックの範囲が異
なることになるので、補正値Z(i)としてフィルター処
理の無いデータ列を用いるときの物だけしか記憶してい
ないと、フィルター処理を施したデータ列による演算を
行った場合に正しい補正が行われない。従って、補正値
Zはブロック毎に記憶するだけでなく、フィルター処理
の有無のそれぞれについて記憶しておく必要がある。ま
た、フィルター処理の種類によってもブロックの範囲が
異なる場合があるのでフィルター処理の種類毎に記憶す
る必要も生じる。そして、ブロックの幅を可変とする場
合にも当然のことながらブロック範囲が異なるため、ブ
ロックの幅毎に補正値Zを記憶する必要がある。However, when the data not subjected to the filtering process, that is, the output itself of the image sensor, is used as described above, the 1st to 5th blocks include the 3rd to 11th pixels, the 12th to 20th pixels, and the 21st to 29th pixels, respectively. Pixel, the 30th to 38th pixels, and the 39th to 47th pixels. Therefore, since the range of the block differs depending on the presence or absence of the filtering process, if only the data sequence when using the data sequence without the filtering process is stored as the correction value Z (i), the data sequence after the filtering process is performed. Correction is not performed when the calculation according to Therefore, it is necessary to store the correction value Z not only for each block but also for each of the presence and absence of the filter processing. Further, since the range of the block may be different depending on the type of the filter processing, it is necessary to store the data for each type of the filter processing. When the width of the block is variable, the range of the block is naturally different. Therefore, it is necessary to store the correction value Z for each width of the block.
【0014】ところが、このようにすると補正値Zを記
憶するメモリー領域の増大を招くので、メモリー容量が
大きいEEPROMを登載する必要がありコストアップ
につながる。補正値Zがイメージセンサーの位置によっ
て変わらないようにするために焦点検出光学系の収差を
改善しようとすると、焦点検出光学系を構成するレンズ
枚数を増やしたり、製造が困難である非球面レンズを使
用したり、レンズ材料として高価なものを採用する必要
がありコストアップとなったり、光学系が大型化するた
めにカメラ等の小型な機器には登載不可能となってしま
う。However, this causes an increase in the memory area for storing the correction value Z, so that an EEPROM having a large memory capacity needs to be mounted, which leads to an increase in cost. In order to improve the aberration of the focus detection optical system so that the correction value Z does not change depending on the position of the image sensor, the number of lenses constituting the focus detection optical system may be increased, or an aspherical lens which is difficult to manufacture may be used. It is necessary to use an expensive lens material and to increase the cost, and the size of the optical system becomes large, so that it cannot be mounted on a small device such as a camera.
【0015】本発明の目的は、少なくとも1つの焦点検
出モードに対応する補正データを記憶し、それらに基づ
いて種々の焦点検出モードにおけるレンズの収差などに
起因した位相差検出方式の焦点検出誤差を補正する焦点
検出装置を提供することにある。An object of the present invention is to store correction data corresponding to at least one focus detection mode, and to correct a focus detection error of a phase difference detection method caused by lens aberration in various focus detection modes based on the data. It is to provide a focus detection device for correction.
【0016】[0016]
【課題を解決するための手段】(1) クレーム対応図
である図1に対応づけて本発明を説明すると、撮影レン
ズを通過した対の被写体光束を焦点検出光学系を介して
複数の受光素子から成る対の受光素子列上へ導き、前記
各受光素子列上に形成された被写体像の光強度分布に応
じた信号を出力する光電変換手段100と、前記光電変
換手段100の各受光素子列を、所定数の受光素子を単
位とする複数のブロックに分割するブロック化手段10
1と、前記ブロック化手段101によってブロック化さ
れた各ブロックごとに、各ブロックに含まれる受光素子
の出力信号に基づいて撮影レンズの焦点調節状態を示す
デフォーカス量を演算する演算手段102と、各ブロッ
クの焦点検出誤差を補正するための各ブロックの補正値
を記憶する記憶手段103と、前記補正値により各ブロ
ックのデフォーカス量を補正する補正手段105とを備
え、補正後の複数のデフォーカス量に基づいて最終的な
デフォーカス量を求める焦点検出装置において、前記ブ
ロック化手段101は異なる受光素子数を単位として分
割を行う複数のブロック化方法を有するとともに、前記
記憶手段103は前記複数のブロック化方法の内の特定
のブロック化方法に対応する各ブロックの補正値を記憶
し、前記ブロック化手段101により前記特定のブロッ
ク化方法以外のブロック化方法が選択された場合に、こ
の選択されたブロック化方法に対応する各ブロックの補
正値を前記特定のブロック化方法の補正値に基づいて算
出する補正値算出手段104を備える。 (2) 請求項2の発明は、撮影レンズを通過した対の
被写体光束を焦点検出光学系を介して複数の受光素子か
ら成る対の受光素子列上へ導き、前記各受光素子列上に
形成された被写体像の光強度分布に応じた信号を出力す
る光電変換手段100と、前記光電変換手段100の出
力信号にフィルター処理を行うフィルター処理手段20
0と、前記光電変換手段100の各受光素子列を、所定
数の受光素子を単位とする複数のブロックに分割するブ
ロック化手段201と、前記ブロック化手段201によ
ってブロック化された各ブロックごとに、各ブロックに
含まれる受光素子のフィルター処理後の出力信号に基づ
いて撮影レンズの焦点調節状態を示すデフォーカス量を
演算する演算手段202と、各ブロックの焦点検出誤差
を補正するための各ブロックの補正値を記憶する記憶手
段203と、前記補正値により各ブロックのデフォーカ
ス量を補正する補正手段205とを備え、補正後の複数
のデフォーカス量に基づいて最終的なデフォーカス量を
求める焦点検出装置において、前記フィルター処理手段
200は複数の種類のフィルター処理を行うとともに、
前記ブロック化手段201は異なる受光素子数を単位と
して分割を行う複数のブロック化方法を有し、前記記憶
手段203は、前記複数種類のフィルター処理の内の特
定種類のフィルター処理と、前記複数のブロック化方法
の内の特定のブロック化方法とに対応する各ブロックの
補正値を記憶し、前記フィルター処理手段200により
前記特定種類以外の種類のフィルター処理が選択された
場合、または前記ブロック化手段201により前記特定
のブロック化方法以外のブロック化方法が選択された場
合に、この選択されたフィルター処理の種類またはブロ
ック化方法に対応する各ブロックの補正値を、前記特定
種類のフィルター処理と前記特定ブロック化方法とに対
応する補正値に基づいて算出する補正値算出手段204
を備える。 (3) 請求項3の焦点検出装置は、ブロック化手段1
01,201によって、焦点検出状態が検出不能時には
ブロック化方法を変更するようにしたものである。(1) The present invention will be described with reference to FIG. 1 which is a diagram corresponding to a claim. Photoelectric conversion means 100 for guiding the light on a pair of light receiving element arrays, and outputting a signal corresponding to the light intensity distribution of the subject image formed on each of the light receiving element arrays; and each light receiving element array of the photoelectric conversion means 100 Dividing means into a plurality of blocks each having a predetermined number of light receiving elements as a unit.
1, calculating means 102 for calculating, for each of the blocks divided by the blocking means 101, a defocus amount indicating a focus adjustment state of the taking lens based on an output signal of a light receiving element included in each block; A storage unit 103 for storing a correction value of each block for correcting a focus detection error of each block, and a correction unit 105 for correcting a defocus amount of each block based on the correction value. In a focus detection device for obtaining a final defocus amount based on a focus amount, the blocking unit 101 has a plurality of blocking methods for performing division in units of different numbers of light receiving elements, and the storage unit 103 includes the plurality of storage units. Storing a correction value of each block corresponding to a specific blocking method among the blocking methods, When a blocking method other than the specific blocking method is selected by the means 101, the correction value of each block corresponding to the selected blocking method is calculated based on the correction value of the specific blocking method. And a correction value calculating unit 104 for performing the correction. (2) According to the second aspect of the present invention, a pair of subject light beams that have passed through a photographing lens are guided to a pair of light receiving element rows composed of a plurality of light receiving elements via a focus detection optical system, and formed on each of the light receiving element rows. A photoelectric conversion unit 100 for outputting a signal corresponding to the light intensity distribution of the subject image, and a filter processing unit 20 for performing a filtering process on an output signal of the photoelectric conversion unit 100
0, a blocking unit 201 that divides each light receiving element row of the photoelectric conversion unit 100 into a plurality of blocks each having a predetermined number of light receiving elements as a unit, and for each block divided by the blocking unit 201. Calculating means 202 for calculating a defocus amount indicating a focus adjustment state of the photographing lens based on an output signal of the light receiving element included in each block after filtering, and each block for correcting a focus detection error of each block And a correction means 205 for correcting the defocus amount of each block based on the correction value, and obtains a final defocus amount based on the plurality of corrected defocus amounts. In the focus detection device, the filter processing means 200 performs a plurality of types of filter processing,
The blocking unit 201 has a plurality of blocking methods for performing division in units of different numbers of light receiving elements, and the storage unit 203 stores a specific type of filter processing among the plurality of types of filter processing, A correction value of each block corresponding to a specific blocking method among the blocking methods is stored, and when a type of filter processing other than the specific type is selected by the filter processing unit 200, or When a blocking method other than the specific blocking method is selected by 201, the correction value of each block corresponding to the type of the selected filtering process or the blocking method is determined by the filtering process of the specific type and the filtering process. Correction value calculating means 204 for calculating based on the correction value corresponding to the specific blocking method
Is provided. (3) The focus detecting device according to claim 3 is a blocking unit.
According to 01 and 201, when the focus detection state cannot be detected, the blocking method is changed.
【0017】[0017]
【作用】(1) 請求項1では、異なる受光素子数を単
位として分割を行う複数のブロック化方法の内の、特定
のブロック化方法に対応する各ブロックの補正値を記憶
しておき、特定のブロック化方法以外のブロック化方法
が選択された場合に、この選択されたブロック化方法に
対応する各ブロックの補正値を特定のブロック化方法の
補正値に基づいて算出する。 (2) 請求項2では、複数種類のフィルター処理の内
の特定種類のフィルター処理と、複数のブロック化方法
の内の特定のブロック化方法とに対応する各ブロックの
補正値を記憶しておき、特定種類以外の種類のフィルタ
ー処理が選択された場合、または特定のブロック化方法
以外のブロック化方法が選択された場合に、この選択さ
れたブロック化方法またはフィルター処理の種類に対応
する各ブロックの補正値を、特定種類のフィルター処理
と特定ブロック化方法とに対応する補正値に基づいて算
出する。According to the first aspect, a correction value of each block corresponding to a specific blocking method among a plurality of blocking methods for performing division in units of different numbers of light receiving elements is stored. When a blocking method other than the above blocking method is selected, the correction value of each block corresponding to the selected blocking method is calculated based on the correction value of the specific blocking method. (2) In claim 2, a correction value of each block corresponding to a specific type of filtering among a plurality of types of filtering and a specific type of blocking among a plurality of types of blocking is stored. , If a type of filtering other than a specific type is selected, or if a blocking method other than a specific blocking method is selected, each block corresponding to the selected blocking method or type of filtering is selected. Is calculated based on the correction values corresponding to the specific type of filter processing and the specific blocking method.
【0018】[0018]
【実施例】第1の実施例について説明する。これはフィ
ルター処理を施さないデータを用いて焦点検出演算を行
うもので、焦点検出領域を幅の狭い小ブロックに分割し
て焦点検出演算を行い、いずれのブロックにおいても焦
点検出不能であるときにはブロックの幅を広げた大ブロ
ックを設定して再度焦点検出演算を行う。図2は、第1
の実施例の構成を示す。1は対物レンズ、2は図9に示
す光学系、3は、図9に示すA列,B列から成る例えば
CCDといった蓄積型の一対のイメージセンサーアレイ
である。4は演算部であり、イメージセンサーアレイ3
のデータを複数のブロックに分割し、それぞれのブロッ
クにおいて焦点検出演算を行い、ブロックごとに極小を
与えるシフト量Fm(i),デフォーカス量Df(i)などを
算出する。7は選択部であり、演算部4において複数の
ブロックにおいて算出された複数のデフォーカス量Df
(i)の中から所定の条件を満たすものを選択する。8は
駆動制御部であり、選択部7が選択したデフォーカス量
に基づいてモーター9を駆動する。10は記憶部であ
り、複数の補正値Z(i)を記憶する。11は補正値処理
部であり、演算部4が焦点検出演算において設定したブ
ロックの幅などに対応して、記憶部10に記憶されてい
る補正値Z(i)から新たな補正値Z’(i)を作成処理す
る。なお、補正値Z(i)がそのまま補正値Z’(i)となる
こともある。12は補正部であり、補正値処理部11で
新たに作成された補正値Z’を用いて、演算部4で算出
されたそれぞれのブロックにおける極小値を与えるシフ
ト量Fm(i)を(7)式によって補正し、Fm’(i)を演算
する。なお本構成において、演算部4,選択部7,駆動
制御部8,補正処理部11,補正部12の動作はマイク
ロコンピューターなどによって実現される。記憶部10
は、マイクロコンピューター内のメモリーでも、外付け
のEEPROMなどでもよい。DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment will be described. This is to perform focus detection calculation using data that is not subjected to the filter processing.The focus detection area is divided into small blocks with narrow widths, and focus detection calculation is performed. The focus detection calculation is performed again by setting a large block having an increased width. FIG. 2 shows the first
1 shows the configuration of the embodiment. Reference numeral 1 denotes an objective lens, reference numeral 2 denotes an optical system shown in FIG. 9, and reference numeral 3 denotes a pair of storage type image sensor arrays, such as CCDs, composed of rows A and B shown in FIG. Reference numeral 4 denotes a calculation unit, and the image sensor array 3
Is divided into a plurality of blocks, a focus detection calculation is performed in each block, and a shift amount Fm (i), a defocus amount Df (i), and the like that give a minimum for each block are calculated. Reference numeral 7 denotes a selection unit, and a plurality of defocus amounts Df calculated in the plurality of blocks by the calculation unit 4
(i) The one satisfying the predetermined condition is selected. A drive control unit 8 drives the motor 9 based on the defocus amount selected by the selection unit 7. Reference numeral 10 denotes a storage unit that stores a plurality of correction values Z (i). Numeral 11 denotes a correction value processing unit, which corresponds to a block width or the like set in the focus detection calculation by the calculation unit 4 and obtains a new correction value Z '() from the correction value Z (i) stored in the storage unit 10. Create i). Note that the correction value Z (i) may be directly used as the correction value Z ′ (i). A correction unit 12 uses the correction value Z ′ newly created by the correction value processing unit 11 to calculate the shift amount Fm (i) that gives the minimum value in each block calculated by the arithmetic unit 4 by (7 )) To calculate Fm ′ (i). In this configuration, the operations of the calculation unit 4, the selection unit 7, the drive control unit 8, the correction processing unit 11, and the correction unit 12 are realized by a microcomputer or the like. Storage unit 10
May be a memory in a microcomputer or an external EEPROM.
【0019】今、イメージセンサーアレイ3は、一対の
センサーアレイ(A列,B列)から構成され、それぞれ
49の画素から成っているとする。また、焦点検出演算
に用いるフィルター処理,ブロック幅の組合せ(以下、
ブロックモードと呼ぶ)は以下の2通りであるとする。 (1)小ブロックモード イメージセンサーアレイ3のデータそのもの(49デー
タ対)を9データから成るブロック5つに分割し、それ
ぞれのブロックにおいて焦点検出演算を行う(図3
(a))。 (2)大ブロックモード イメージセンサーアレイ3のデータそのもの(49デー
タ対)を19データから成るブロック3つに分割し、そ
れぞれのブロックにおいて焦点検出演算を行う(図3
(a))。Now, it is assumed that the image sensor array 3 is composed of a pair of sensor arrays (rows A and B), each of which is composed of 49 pixels. In addition, the combination of the filter processing and the block width used for the focus detection
Block mode) are the following two types. (1) Small block mode The data itself (49 data pairs) of the image sensor array 3 is divided into five blocks of nine data, and focus detection calculation is performed in each block (FIG. 3).
(A)). (2) Large block mode The data itself (49 data pairs) of the image sensor array 3 is divided into three blocks of 19 data, and focus detection calculation is performed in each block (FIG. 3).
(A)).
【0020】記憶部10には、小ブロックモードのブロ
ック1〜5の補正値Z(1)〜Z(5)が格納されている。補
正値Z(1)〜Z(5)の測定方法は、例えば、被写体に平面
チャートを用いて対物レンズ1を合焦状態にし、小ブロ
ックモードで(1),(2)に示す演算を行い、それぞれのブ
ロックにおける極小値を与えるシフト量Fmを補正量Z
(1)〜Z(5)とする。補正量処理部11は、演算部4から
上記(1),(2)の内のいずれのモードが選択されて
いるかを入力し、記憶部から入力した補正量Z(1)〜Z
(5)に選択されているモードに対応した処理を施し、補
正量Z’(i)を算出する。処理方法としては、例えば次
の様な方法が考えられる。前述のようにして測定された
補正値Z(1)〜Z(5)は、小ブロックモードのブロック1
〜5のそれぞれの範囲におけるZ分布の平均であり、図
4に示すように、中心データ位置(以下、M1〜M5と省
略する)におけるZ値であると考えられる。従って、小
ブロックモード以外のモードでは、以下に述べる補間演
算によりブロック中心位置のZ値を算出し、補正値Z’
とすればよい。The storage unit 10 stores correction values Z (1) to Z (5) for blocks 1 to 5 in the small block mode. As a method of measuring the correction values Z (1) to Z (5), for example, the objective lens 1 is focused on a subject using a planar chart, and the calculations shown in (1) and (2) are performed in the small block mode. , The shift amount Fm that gives the minimum value in each block is determined by the correction amount Z.
(1) to Z (5). The correction amount processing unit 11 inputs which of the modes (1) and (2) is selected from the calculation unit 4 and the correction amounts Z (1) to Z (Z) input from the storage unit.
The processing corresponding to the mode selected in (5) is performed to calculate the correction amount Z ′ (i). As a processing method, for example, the following method can be considered. The correction values Z (1) to Z (5) measured as described above are used for the block 1 in the small block mode.
5 is the average of the Z distribution in each range, and as shown in FIG. 4, it is considered to be the Z value at the center data position (hereinafter abbreviated as M1 to M5). Therefore, in modes other than the small block mode, the Z value of the block center position is calculated by the interpolation calculation described below, and the correction value Z ′ is calculated.
And it is sufficient.
【0021】今、図5に示すように、小ブロックモード
以外のあるモードのあるブロックSの中心位置が、デー
タMs’の位置に対応しているとする。そしてMs’は、
小ブロックモードのブロックnとブロックn+1の中心
位置MnとMn+1との間にあるとする。ブロックSの補正
値Z'(S)は、小ブロックモードのブロックnとブロッ
クn+1の補正値Z(n),Z(n+1)に基づいて次式により
直線補間して算出する。 Z’(S)=Z(n)+(Ms’−
Mn)×(Z(n+1)−Z(n))÷(Mn+1−Mn)=Z(n)+
(Ms’−Mn)×(Z(n+1)−Z(n))÷9 ・・・
(9)上式により計算を行なうと、各モードにおける各
ブロックの補正値Z’(i)は、小ブロックモードの補正
値Z(1)〜Z(5)およびM1〜M5(それぞれ、センサーア
レイ3の素子番号7,16,25,34,43)により
次のように表される。(1a)小ブロックモード当然、
Z(1)〜Z(5)をそのまま用いる。 Z’(1)=Z(1) Z’(2)=Z(2) Z’(3)=Z(3) Z’(4)=Z(4) Z’(5)=Z(5) ・・・(10) (2a)大ブロックモード ブロック1〜3の中心位置は、センサーアレイ3の素子
番号12,25,38であるので、 Z’(1)=Z(1)+(12−M1)×(Z(2)−Z(1))÷9 =Z(1)+5×(Z(2)−Z(1))÷9 Z’(2)=Z(3)+(25−M3)×(Z(4)−Z(3))÷9=Z(3) Z’(3)=Z(4)+(38−M4)×(Z(5)−Z(4))÷9 =Z(4)+4×(Z(5)−Z(4))÷9 ・・・(11)Now, as shown in FIG. 5, it is assumed that the center position of a block S in a certain mode other than the small block mode corresponds to the position of the data Ms'. And Ms'
It is assumed that it is between the center positions Mn and Mn + 1 of the block n and the block n + 1 in the small block mode. The correction value Z ′ (S) of the block S is calculated based on the correction values Z (n) and Z (n + 1) of the block n and the block n + 1 in the small block mode by linear interpolation using the following equation. Z ′ (S) = Z (n) + (Ms′−
Mn) × (Z (n + 1) −Z (n)) ÷ (Mn + 1−Mn) = Z (n) +
(Ms'−Mn) × (Z (n + 1) −Z (n)) ÷ 9
(9) When the calculation is performed according to the above equation, the correction values Z '(i) of each block in each mode are calculated as the correction values Z (1) to Z (5) and M1 to M5 of the small block mode (sensor array, respectively). 3, element numbers 7, 16, 25, 34, 43) are represented as follows. (1a) Small block mode
Z (1) to Z (5) are used as they are. Z '(1) = Z (1) Z' (2) = Z (2) Z '(3) = Z (3) Z' (4) = Z (4) Z '(5) = Z (5) (10) (2a) Large block mode Since the center positions of the blocks 1 to 3 are the element numbers 12, 25, and 38 of the sensor array 3, Z '(1) = Z (1) + (12- M1) × (Z (2) −Z (1)) ÷ 9 = Z (1) + 5 × (Z (2) −Z (1)) ÷ 9 Z ′ (2) = Z (3) + (25− M3) × (Z (4) −Z (3)) {9 = Z (3) Z ′ (3) = Z (4) + (38−M4) × (Z (5) −Z (4))} 9 = Z (4) + 4 × (Z (5) −Z (4)) ÷ 9 (11)
【0022】補正部12は、補正値処理部11によって
算出された補正値Z’(i)を用いて、演算部4が算出し
たそれぞれのブロックにおける極小値を与えるシフト量
Fm(i)を(7)式によって補正し、Fm’(i)を得る。
演算部4は、補正部12が算出したFm’(i)に基づい
てデフォーカス量Df(i)を(8)式によって算出す
る。選択部7は、複数のデフォーカス量Df(i)の中か
ら例えば最も近距離を示すものを選択する。駆動制御部
8は、選択部7で選択されたデフォーカス量だけ対物レ
ンズ1が移動されるようにモーター9を制御する。The correction unit 12 uses the correction value Z ′ (i) calculated by the correction value processing unit 11 to calculate the shift amount Fm (i) that gives the minimum value in each block calculated by the calculation unit 4 to ( Correction is performed by equation 7) to obtain Fm '(i).
The calculation unit 4 calculates the defocus amount Df (i) based on Fm ′ (i) calculated by the correction unit 12 according to equation (8). The selection unit 7 selects, for example, one indicating the shortest distance from the plurality of defocus amounts Df (i). The drive control unit 8 controls the motor 9 so that the objective lens 1 is moved by the defocus amount selected by the selection unit 7.
【0023】次に図6に示すフローチャートにより、第
1の実施例の動作を説明する。ステップS1において、
イメージセンサーアレイ3の電荷蓄積を行い、続くステ
ップS2で、イメージセンサーアレイ3からデータを入
力する。ステップS3で、前述の小ブロックモードによ
る5つのブロックに分割し、ステップS4で、それぞれ
のブロックにおいて(1),(2)式の相関,補間演算
および条件(1)の判定を行う。次にステップS5で、
全てのブロックにおいて条件(1)を満たさずに焦点検
出不能であるか否かを判別し、全ブロックで焦点検出不
能ならステップS11へ進み、焦点検出可能なブロック
が存在したならばステップS6へ進む。ステップS6で
は、(10)式によって補正値Z’(i)(i=1〜5)を算
出する。ステップS7で、(7)式により極小を与える
シフト量Fm(i)を補正値Z’(i)で補正し、Fm’(i)
を算出する。ステップS8で、(8)式によりデフォー
カス量Def(i)を算出し、ステップS9で、デフォー
カス量Def(i)の中から例えば最至近など所定の条件
を満たすものを1つ選択する。そしてステップS10
で、選択されたデフォーカス量に基づいてモータ9を制
御して対物レンズ1を駆動する。Next, the operation of the first embodiment will be described with reference to the flowchart shown in FIG. In step S1,
The charge accumulation in the image sensor array 3 is performed, and data is input from the image sensor array 3 in the subsequent step S2. In step S3, the block is divided into five blocks in the small block mode described above, and in step S4, the correlation of the equations (1) and (2), the interpolation calculation, and the condition (1) are determined in each block. Next, in step S5,
It is determined whether or not focus detection is not possible without satisfying the condition (1) in all blocks. If focus detection is not possible in all blocks, the process proceeds to step S11, and if there is a focus detectable block, the process proceeds to step S6. . In step S6, a correction value Z '(i) (i = 1 to 5) is calculated by equation (10). In step S7, the shift amount Fm (i) that gives the minimum by the equation (7) is corrected by the correction value Z ′ (i), and Fm ′ (i)
Is calculated. In step S8, the defocus amount Def (i) is calculated by equation (8), and in step S9, one defocus amount Def (i) that satisfies a predetermined condition such as, for example, the closest distance is selected. And step S10
Then, the objective lens 1 is driven by controlling the motor 9 based on the selected defocus amount.
【0024】一方、ステップS11では、前述の大ブロ
ックモードによる3つのブロックに再分割する。次にス
テップS12で、それぞれのブロックにおいて(1),
(2)式の相関,補間演算および条件(1)の判定を行
う。ステップS13において、全てのブロックで条件
(1)を満たさずに焦点検出不能であるか否かを判別
し、全ブロックで焦点検出不能ならそのまま処理を終了
し、焦点検出可能なブロックが存在したならばステップ
S14へ進む。ステップS14では、(11)式によっ
て補正値Z’(i)(i=1〜3)を算出し、その後ステップ
S7へ進む。なお、ステップS13で、大ブロックモー
ドにおける全てのブロックにおいて焦点検出不能の時は
レンズ駆動を行わずにそのまま終了しているが、レンズ
を所定方向に強制的に駆動しながら焦点検出可能となる
レンズ位置を捜す、いわゆるスキャン動作を行うように
してもよい。On the other hand, in step S11, the image data is re-divided into three blocks in the large block mode. Next, in step S12, (1),
The correlation of equation (2), interpolation calculation, and determination of condition (1) are performed. In step S13, it is determined whether or not focus detection is impossible without satisfying the condition (1) in all blocks. If focus detection is not possible in all blocks, the process is terminated as it is. If so, the process proceeds to step S14. In step S14, a correction value Z '(i) (i = 1 to 3) is calculated by equation (11), and thereafter, the process proceeds to step S7. In step S13, when the focus cannot be detected in all the blocks in the large block mode, the process is terminated without driving the lens, but the focus can be detected while forcibly driving the lens in a predetermined direction. A so-called scan operation for searching for a position may be performed.
【0025】次に、第2の実施例を説明する。この第2
の実施例は、先ずフィルター処理を施さないデータを幅
の狭い小ブロックに分割して焦点検出演算を行い、いず
れのブロックにおいても焦点検出不能である時にはフィ
ルター処理を行い、フィルター処理を施したデータを幅
の狭い小ブロックに分割して再度焦点検出演算を行い、
いずれのブロックにおいても焦点検出不能であるときに
はフィルター処理を施したデータを幅の広い大ブロック
に分割して再度焦点検出演算を行うものである。図7
は、第2の実施例の構成を示す。なお、図2に示す第1
の実施例を構成する要素と同様な要素に対しては同符号
を伏して相違点を中心に説明する。6はフィルター処理
部であり、イメージセンサーアレイ3のデータにフィル
ター処理を施す。演算部4は、イメージセンサーアレイ
3のデータ、またはフィルター処理部6によってフィル
ター処理を施されたデータを複数のブロックに分割し、
それぞれのブロックにおいて前述の焦点検出演算を行っ
てブロックごとに極小を与えるシフト量Fm(i),デフ
ォーカス量Df(i)などを算出する。補正値処理部11
は、演算部4が焦点検出演算において用いたデータのフ
ィルター処理の有無、ブロックの幅に基づいて、記憶部
10に記憶されている補正値Z(i)から新たな補正値
Z’(i)を作成処理する。なお、補正値Z(i)がそのまま
補正値Z’(i)となることもある。Next, a second embodiment will be described. This second
In the embodiment, first, the data that has not been subjected to the filter processing is divided into small blocks having a small width, and focus detection calculation is performed. When focus detection cannot be performed in any of the blocks, the filter processing is performed, and the data subjected to the filter processing is performed. Is divided into narrow blocks, and the focus detection calculation is performed again.
If the focus cannot be detected in any of the blocks, the data subjected to the filter processing is divided into large blocks having a wide width, and the focus detection calculation is performed again. FIG.
Shows the configuration of the second embodiment. In addition, the first shown in FIG.
The same reference numerals are used to denote the same elements as those constituting the embodiment, and the description will focus on the differences. Reference numeral 6 denotes a filter processing unit that performs filter processing on data of the image sensor array 3. The calculation unit 4 divides the data of the image sensor array 3 or the data subjected to the filtering process by the filtering unit 6 into a plurality of blocks,
In each block, the above-described focus detection calculation is performed to calculate a shift amount Fm (i), a defocus amount Df (i), and the like that provide a minimum for each block. Correction value processing unit 11
Is a new correction value Z ′ (i) from the correction value Z (i) stored in the storage unit 10 based on the presence / absence of filter processing of the data used in the focus detection calculation by the calculation unit 4 and the width of the block. Create processing. Note that the correction value Z (i) may be directly used as the correction value Z ′ (i).
【0026】今、イメージセンサーアレイ3は、第1の
実施例と同様に、一対のセンサーアレイA列,B列から
構成され、それぞれ49の画素から成っているとする。
また、焦点検出演算におけるブロックモードは以下の3
通りであるとする。 (3)小ブロックモード イメージセンサーアレイ3のデータそのもの(49デー
タ対)を9データから成る5つのブロックに分割し、そ
れぞれのブロックにおいて焦点検出演算を行う(図3
(a))。 (4)小ブロックフィルターモード フィルター処理部6によってイメージセンサーアレイ3
のデータに(4)式および(5)式のフィルター処理を
施したデータ(39データ対)を7データから成る5つ
のブロックに分割し、それぞれのブロックにおいて焦点
検出演算を行う(図3(b))。 (5)大ブロックフィルターモード フィルター処理部6によってイメージセンサーアレイ3
のデータに(4)式および(5)式のフィルター処理を
施したデータ(39データ対)を15データから成る3
つのブロックに分割し、それぞれのブロックにおいて焦
点検出演算を行う(図3(b))。Now, it is assumed that the image sensor array 3 comprises a pair of sensor arrays A and B, each of which comprises 49 pixels, as in the first embodiment.
The block mode in the focus detection calculation is as follows.
Suppose that it is. (3) Small block mode The data itself (49 data pairs) of the image sensor array 3 is divided into five blocks of 9 data, and focus detection calculation is performed in each block (FIG. 3).
(A)). (4) Small block filter mode The image processing unit 6 controls the image sensor array 3
The data (39 data pairs) obtained by applying the filter processing of the expressions (4) and (5) to the data of (4) is divided into five blocks each consisting of seven data, and focus detection calculation is performed in each block (FIG. 3 (b)). )). (5) Large block filter mode The image processing unit 6 controls the image sensor array 3
The data (39 data pairs) obtained by applying the filtering processes of the expressions (4) and (5) to the data of
It is divided into two blocks, and focus detection calculation is performed in each block (FIG. 3B).
【0027】記憶部10には、小ブロックモードのブロ
ック1〜5の補正値Z(1)〜Z(5)が格納されている。補
正値Z(1)〜Z(5)の測定方法は、第1の実施例と同じで
ある。補正量処理部11は、演算部4から上記(3)〜
(5)の内のいずれのモードが選択されているかを入力
し、記憶部から入力した補正量Z(1)〜Z(5)に選択され
ているモードに対応した処理を施し、補正量Z’(i)を
算出する。処理方法としては第1実施例と同様である。
そして、前記各モードに於ける各ブロックの補正値Z’
(i)は、小ブロックモードの補正値Z(1)〜Z(5)および
M1〜M5(それぞれ、センサーアレイ3の素子番号7,
16,25,34,43)により次のように表される。 (3a)小ブロックモード 当然、Z(1)〜Z(5)をそのまま用い、(10)式と同じ
である。 (4a)小ブロックフィルターモード ブロック1〜5の中心位置は、センサーアレイ3の素子
番号6,13,20,27,34であり、これらはフィ
ルター処理無しデータでは、それぞれ素子番号11,1
8,25,32,39に対応するので次のようになる。 Z’(1)=Z(1)+(11−M1)×(Z(2)−Z(1))÷9 =Z(1)+4×(Z(2)−Z(1))÷9 Z’(2)=Z(2)+(18−M2)×(Z(3)−Z(2))÷9 =Z(2)+2×(Z(3)−Z(2))÷9 Z’(3)=Z(3)+(25−M3)×(Z(4)−Z(3))÷9=Z(3) Z’(4)=Z(3)+(32−M3)×(Z(4)−Z(3))÷9 =Z(3)+7×(Z(4)−Z(3))÷9 Z’(5)=Z(4)+(39−M4)×(Z(5)−Z(4))÷9 =Z(4)+5×(Z(5)−Z(4))÷9 ・・・(12) (5a)大ブロックフィルターモード ブロック1〜3の中心位置は、素子番号10,20,3
0であり、これらはフィルター処理無しデータでは、そ
れぞれ素子番号15,25,35に対応するので次のよ
うになる。 Z’(1)=Z(1)+(15−M1)×(Z(2)−Z(1))÷9 =Z(1)+8×(Z(2)−Z(1))÷9 Z’(2)=Z(3)+(25−M3)×(Z(4)−Z(3))÷9=Z(3) Z’(3)=Z(4)+(35−M4)×(Z(5)−Z(4))÷9 =Z(4)+1×(Z(5)−Z(4))÷9 ・・・(13)The storage unit 10 stores correction values Z (1) to Z (5) for the blocks 1 to 5 in the small block mode. The method of measuring the correction values Z (1) to Z (5) is the same as in the first embodiment. The correction amount processing unit 11 sends the above-mentioned (3) to
Which mode is selected from among (5) is input, and processing corresponding to the selected mode is performed on the correction amounts Z (1) to Z (5) input from the storage unit. '(i) is calculated. The processing method is the same as in the first embodiment.
Then, the correction value Z 'of each block in each of the modes is set.
(i) shows correction values Z (1) to Z (5) and M1 to M5 in the small block mode (element numbers 7, 7 of the sensor array 3, respectively).
16, 25, 34, 43) as follows. (3a) Small block mode Naturally, Z (1) to Z (5) are used as they are, and are the same as equation (10). (4a) Small block filter mode The center positions of the blocks 1 to 5 are the element numbers 6, 13, 20, 27, and 34 of the sensor array 3, and these are the element numbers 11, 1 in the unfiltered data, respectively.
8, 25, 32, and 39 correspond to the following. Z ′ (1) = Z (1) + (11−M1) × (Z (2) −Z (1)) ÷ 9 = Z (1) + 4 × (Z (2) −Z (1)) ÷ 9 Z ′ (2) = Z (2) + (18−M2) × (Z (3) −Z (2)) ÷ 9 = Z (2) + 2 × (Z (3) −Z (2)) ÷ 9 Z ′ (3) = Z (3) + (25−M3) × (Z (4) −Z (3)) ÷ 9 = Z (3) Z ′ (4) = Z (3) + (32−M3 ) × (Z (4) −Z (3)) ÷ 9 = Z (3) + 7 × (Z (4) −Z (3)) ÷ 9 Z ′ (5) = Z (4) + (39−M4 ) × (Z (5) −Z (4)) ÷ 9 = Z (4) + 5 × (Z (5) −Z (4)) ÷ 9 (12) (5a) Large block filter mode Block 1 The center positions of 33 are element numbers 10, 20, 3
0, which correspond to the element numbers 15, 25, and 35, respectively, in the data without filter processing, and are as follows. Z ′ (1) = Z (1) + (15−M1) × (Z (2) −Z (1)) ÷ 9 = Z (1) + 8 × (Z (2) −Z (1)) ÷ 9 Z ′ (2) = Z (3) + (25−M3) × (Z (4) −Z (3)) ÷ 9 = Z (3) Z ′ (3) = Z (4) + (35−M4 ) × (Z (5) −Z (4)) ÷ 9 = Z (4) + 1 × (Z (5) −Z (4)) ÷ 9 (13)
【0028】補正部12は、補正値処理部11によって
算出された補正値Z’(i)を用いて、演算部4が算出し
たそれぞれのブロックにおける極小値を与えるシフト量
Fm(i)を(7)式によって補正し、Fm’(i)を得る。演
算部4は、補正部12が算出したFm’(i)に基づいて
デフォーカス量Df(i)を(8)式によって算出する。
選択部7は、複数のデフォーカス量Df(i)の中から例
えば最も近距離を示すものを選択する。駆動制御部8
は、選択部7で選択されたデフォーカス量だけ対物レン
ズ1が移動されるようにモーター9を制御する。The correction unit 12 uses the correction value Z ′ (i) calculated by the correction value processing unit 11 to calculate the shift amount Fm (i) that gives the minimum value in each block calculated by the calculation unit 4 to ( Correction is performed according to equation (7) to obtain Fm '(i). The calculation unit 4 calculates the defocus amount Df (i) based on Fm ′ (i) calculated by the correction unit 12 according to equation (8).
The selection unit 7 selects, for example, one indicating the shortest distance from the plurality of defocus amounts Df (i). Drive control unit 8
Controls the motor 9 so that the objective lens 1 is moved by the defocus amount selected by the selection unit 7.
【0029】次に、図8のフローチャートにより、第2
の実施例の動作を説明する。ステップS21で、イメー
ジセンサーアレイ3の電荷蓄積を行い、続くステップS
22で、イメージセンサーアレイ3のデータを入力す
る。ステップS23で、前述の小ブロックモードに示す
5つのブロックに分割し、ステップS24で、それぞれ
のブロックにおいて(1),(2)式の相関,補間演算
および条件(1)の判定を行う。ステップS25で、全
てのブロックにおいて条件(1)を満たさずに焦点検出
不能であるか否かを判別し、全ブロックで焦点検出不能
ならステップS31へ進み、焦点検出可能なブロックが
存在したならばステップS26へ進む。ステップS26
では、(10)式によって補正値Z’(i)(i=1〜5)を
算出する。ステップS27で、(7)式により極小を与
えるシフト量Fm(i)を補正値Z’(i)で補正し、Fm
(i)を算出する。ステップS28で、(8)式によりデ
フォーカス量Def(i)を算出し、ステップS29で、
デフォーカス量Def(i)の中から例えば最至近などの
所定の条件を満たすものを1つ選択する。ステップS3
0において、選択されたデフォーカス量に基づいてモー
タ9を制御して対物レンズ1を駆動する。Next, according to the flowchart of FIG.
The operation of this embodiment will be described. In step S21, charge accumulation in the image sensor array 3 is performed.
At 22, data of the image sensor array 3 is input. In step S23, the block is divided into the five blocks shown in the small block mode described above, and in step S24, the correlation of the equations (1) and (2), the interpolation calculation, and the determination of the condition (1) are performed in each block. In step S25, it is determined whether or not focus detection is not possible without satisfying the condition (1) in all blocks. If focus detection is not possible in all blocks, the process proceeds to step S31. Proceed to step S26. Step S26
Then, the correction value Z '(i) (i = 1 to 5) is calculated by the equation (10). In step S27, the shift amount Fm (i) that gives the minimum by the equation (7) is corrected by the correction value Z ′ (i), and Fm
(i) is calculated. In step S28, the defocus amount Def (i) is calculated by equation (8), and in step S29,
One of the defocus amounts Def (i) that satisfies a predetermined condition such as the closest distance is selected. Step S3
At 0, the motor 9 is controlled based on the selected defocus amount to drive the objective lens 1.
【0030】一方、ステップS31では、イメージセン
サーアレイ3のデータに(4),(5)式によるフィル
ター処理を施す。ステップS32で、フィルター処理に
施したデータを前述の小ブロックフィルターモードによ
る5つのブロックに分割する。ステップS33で、それ
ぞれのブロックにおいて(1),(2)式の相関,補間
演算および条件(1)の判定を行う。ステップS34に
おいて、全てのブロックにおいて条件(1)を満たさず
に焦点検出不能であるか否かを判別し、全ブロックで焦
点検出不能ならステップS36へ進み、焦点検出可能な
ブロックが存在したならばステップS35へ進む。ステ
ップS35で、(12)式によって補正値Z’(i)(i=1
〜5)を算出した後、ステップS27へ進む。On the other hand, in step S31, the data of the image sensor array 3 is subjected to a filtering process according to the equations (4) and (5). In step S32, the data subjected to the filtering process is divided into five blocks in the small block filter mode described above. In step S33, the correlation of the equations (1) and (2), the interpolation calculation, and the determination of the condition (1) are performed in each block. In step S34, it is determined whether or not focus detection is impossible without satisfying the condition (1) in all blocks. If focus detection is not possible in all blocks, the process proceeds to step S36. Proceed to step S35. In step S35, the correction value Z '(i) (i = 1
After calculating (5), the process proceeds to step S27.
【0031】ステップS36では、フィルター処理を施
したデータを前述の大ブロックフィルターモードによる
3つのブロックに分割し、続くステップS37で、それ
ぞれのブロックにおいて(1),(2)式の相関,補間
演算および条件(1)の判定を行う。ステップS38
で、全てのブロックにおいて条件(1)を満たさずに焦
点検出不能であるか否かを判別し、全ブロックで焦点検
出不能ならそのまま処理を終了し、焦点検出可能なブロ
ックが存在したならばステップS39へ進む。ステップ
S39で、(13)式によって補正値Z’(i)(i=1〜
3)を算出した後、ステップS27へ進む。なお、ステ
ップS38で、大フィルターモードにおける全てのブロ
ックにおいて焦点検出不能の時はレンズ駆動を行わずに
そのまま終了しているが、レンズを所定方向に強制的に
駆動しながら焦点検出可能となるレンズ位置を捜す、い
わゆるスキャン動作を行うようにしてもよい。In step S36, the filtered data is divided into three blocks in the large block filter mode described above, and in step S37, the correlation and interpolation calculations of the equations (1) and (2) are performed in each block. And the condition (1) is determined. Step S38
Then, it is determined whether or not focus detection cannot be performed without satisfying the condition (1) in all blocks. If focus detection cannot be performed in all blocks, the process is terminated as it is. Proceed to S39. In step S39, the correction value Z ′ (i) (i = 1 to
After calculating 3), the process proceeds to step S27. In step S38, when focus detection is not possible in all blocks in the large filter mode, the process is terminated without driving the lens. However, the lens can be detected while forcibly driving the lens in a predetermined direction. A so-called scan operation for searching for a position may be performed.
【0032】上述した第1および第2の実施例において
ブロックの境界に被写体パターンのコントラストのエッ
ジが位置すると、演算結果が不安定になることがある
が、本出願人によって特開平2−135311号に開示
された方法、すなわち、ブロックの境界近傍のイメージ
センサーアレイの出力のコントラスト状態に基づいて、
ブロックの境界を移動させる方法を用いることによって
この問題を防ぐことができる。この場合は、ブロックの
境界を移動した後に設定されたブロック範囲の中心位置
に基づいて補正値Z’(i)を設定する。また、フィルタ
ー処理が複数ある場合も本発明と同様にすればよい。In the first and second embodiments, if the edge of the contrast of the object pattern is located at the boundary of the block, the calculation result may be unstable. In other words, based on the contrast state of the output of the image sensor array near the block boundary,
This problem can be prevented by using a method of moving the boundaries of blocks. In this case, the correction value Z ′ (i) is set based on the center position of the block range set after moving the block boundary. Also, when there are a plurality of filtering processes, the same processing as in the present invention may be performed.
【0033】このように、大ブロックモード,小ブロッ
クモード,大ブロックフィルターモードおよび小ブロッ
クフィルターモードの中のいずれか1つのモードの補正
値をメモリに記憶しておき、これらの補正値に基づいて
選択されたブロックモードの各ブロックの補正値を補間
演算により算出し、これらの補正値に従って各ブロック
の焦点検出誤差を補正するようにしたので、フィルター
処理の有無,フィルター処理の種類,ブロックの幅ごと
に専用の補正値を記憶しておく必要がなく、メモリの記
憶容量を節約できる。As described above, the correction values of any one of the large block mode, the small block mode, the large block filter mode, and the small block filter mode are stored in the memory, and based on these correction values, The correction value of each block in the selected block mode is calculated by interpolation, and the focus detection error of each block is corrected according to these correction values. There is no need to store a dedicated correction value every time, and the storage capacity of the memory can be saved.
【0034】以上の実施例の構成において、イメージセ
ンサアレイ3が光電変換手段を、演算部4がブロック化
手段および演算手段を、記憶部10が記憶手段を、補正
値処理部11が補正値算出手段を、補正部12が補正手
段を、フィルター処理部6がフィルター処理手段をそれ
ぞれ構成する。In the configuration of the above embodiment, the image sensor array 3 is a photoelectric conversion unit, the calculation unit 4 is a blocking unit and a calculation unit, the storage unit 10 is a storage unit, and the correction value processing unit 11 is a correction value calculation unit. The corrector 12 constitutes the corrector, and the filter processor 6 constitutes the filter processor.
【0035】[0035]
【発明の効果】以上説明したように、請求項1の発明に
よれば、異なる受光素子数を単位として分割を行う複数
のブロック化方法の内の、特定のブロック化方法に対応
する各ブロックの補正値を記憶しておき、特定のブロッ
ク化方法以外のブロック化方法が選択された場合に、こ
の選択されたブロック化方法に対応する各ブロックの補
正値を特定のブロック化方法の補正値に基づいて算出す
るようにしたので、焦点検出光学系の収差などを補正す
る各ブロックごとの補正値を、ブロック化方法の種類ご
とに用意して予め記憶しておく必要がなく、特定のブロ
ック化方法に対応する各ブロックの補正値だけを記憶し
ておけばよいから、メモリ、特に高価なEEPROMな
どの不揮発性メモリの記憶容量を低減できる。また請求
項2の発明によれば、複数種類のフィルター処理の内の
特定種類のフィルター処理と、複数のブロック化方法の
内の特定のブロック化方法とに対応する各ブロックの補
正値を記憶しておき、特定種類以外の種類のフィルター
処理が選択された場合、または特定のブロック化方法以
外のブロック化方法が選択された場合に、この選択され
たブロック化方法またはフィルター処理の種類に対応す
る各ブロックの補正値を、特定種類のフィルター処理と
特定ブロック化方法とに対応する補正値に基づいて算出
するようにしたので、焦点検出光学系の収差などを補正
する各ブロックごとの補正値を、ブロック化方法の種類
やフィルター処理の有無とフィルター処理の種類などの
焦点検出モードごとに用意し、予め記憶しておく必要が
なく、特定種類のフィルター処理と特定ブロック化方法
とに対応する各ブロックの補正値だけを記憶しておけば
よいから、メモリ、特に高価なEEPROMなどの不揮
発性メモリの記憶容量を低減できる。 As described above, according to the first aspect of the present invention, a plurality of divisions are performed in units of different numbers of light receiving elements.
Corresponds to a specific blocking method among the blocking methods
The correction value of each block to be stored
If a blocking method other than the blocking method is selected,
Of each block corresponding to the selected blocking method
Calculate the positive value based on the correction value of a specific blocking method
To correct aberrations in the focus detection optical system.
The correction value for each block is calculated for each block method.
It is not necessary to prepare for
Only the correction value of each block corresponding to the
Memory, especially expensive EEPROM
The storage capacity of any nonvolatile memory can be reduced. According to the second aspect of the present invention, of the plurality of types of filter processing,
Certain types of filtering and multiple blocking methods
Of each block corresponding to the specific blocking method in
Memorize the positive value and filter other than the specific type
When processing is selected or when a specific blocking method
If an external blocking method is selected,
The type of blocking or filtering used.
The correction values for each block are
Calculated based on the correction value corresponding to the specific blocking method
To correct aberrations in the focus detection optical system.
The correction value for each block to be used
And the presence or absence of filtering and the type of filtering
It is necessary to prepare for each focus detection mode and store it in advance.
No specific type of filtering and specific blocking method
If only the correction value of each block corresponding to
Good, non-volatile memory, especially expensive EEPROM
The storage capacity of the volatile memory can be reduced.
【図1】クレーム対応図。FIG. 1 is a diagram corresponding to claims.
【図2】第1の実施例の構成を示すブロック図。FIG. 2 is a block diagram showing the configuration of the first embodiment.
【図3】イメージセンサーアレイの分割モードを説明す
る図。FIG. 3 is a diagram illustrating a division mode of the image sensor array.
【図4】小ブロックモードにおける各ブロックの中心デ
ータ位置とそれらに対応する補正値とを示す図。FIG. 4 is a view showing a center data position of each block in a small block mode and a correction value corresponding thereto;
【図5】小ブロックモード以外のモードにおける補間法
による補正値の算出方法を説明する図。FIG. 5 is a view for explaining a method of calculating a correction value by an interpolation method in a mode other than the small block mode.
【図6】第1の実施例の動作を示すフローチャート。FIG. 6 is a flowchart showing the operation of the first embodiment.
【図7】第2の実施例の構成を示すブロック図。FIG. 7 is a block diagram showing a configuration of a second embodiment.
【図8】第2の実施例の動作を示すフローチャート。FIG. 8 is a flowchart showing the operation of the second embodiment.
【図9】位相差検出方式による焦点検出装置の構成を示
す図。FIG. 9 is a diagram showing a configuration of a focus detection device using a phase difference detection method.
【図10】イメージセンサーアレイの出力データを示す
図。FIG. 10 is a diagram showing output data of an image sensor array.
【図11】イメージセンサーアレイの出力データ列のシ
フト量と相関量との関係を示す図。FIG. 11 is a diagram illustrating a relationship between a shift amount of an output data string of an image sensor array and a correlation amount.
【図12】相関量の極小値を与えるシフト量の算出方法
を説明する図。FIG. 12 is a diagram illustrating a method of calculating a shift amount that gives a minimum value of a correlation amount.
【図13】イメージセンサーアレイの分割方法を示す
図。FIG. 13 is a diagram showing a method of dividing an image sensor array.
【図14】一対のイメージセンサーアレイ上におけるレ
ンズ収差などに起因した被写体像のずれ量を示す図。FIG. 14 is a diagram illustrating a shift amount of a subject image caused by a lens aberration or the like on a pair of image sensor arrays.
1 対物レンズ 2 焦点検出光学系 3 イメージセンサーアレイ 4 演算部 6 フィルター処理部 7 選択部 8 駆動制御部 9 モータ 10 記憶部 11 補正値処理部 12 補正部 DESCRIPTION OF SYMBOLS 1 Objective lens 2 Focus detection optical system 3 Image sensor array 4 Operation part 6 Filter processing part 7 Selection part 8 Drive control part 9 Motor 10 Storage part 11 Correction value processing part 12 Correction part
Claims (3)
点検出光学系を介して複数の受光素子から成る対の受光
素子列上へ導き、前記各受光素子列上に形成された被写
体像の光強度分布に応じた信号を出力する光電変換手段
と、 前記光電変換手段の各受光素子列を、所定数の受光素子
を単位とする複数のブロックに分割する ブロック化手段
と、前記ブロック化手段によってブロック化された各ブロッ
クごとに、各ブロックに含まれる受光素子の出力信号に
基づいて 撮影レンズの焦点調節状態を示すデフォーカス
量を演算する演算手段と、各ブロックの焦点検出誤差を補正するための各ブロック
の 補正値を記憶する記憶手段と、前記補正値により各ブロックの デフォーカス量を補正す
る補正手段とを備え、補正後の複数のデフォーカス量に基づいて最終的なデフ
ォーカス量を求める焦点検出装置において、 前記ブロック化手段は異なる受光素子数を単位として分
割を行う複数のブロック化方法を有するとともに、前記
記憶手段は前記複数のブロック化方法の内の特定のブロ
ック化方法に対応する各ブロックの補正値を記憶し、 前記ブロック化手段により前記特定のブロック化方法以
外のブロック化方法が選択された場合に、この選択され
たブロック化方法に対応する各ブロックの補正値を前記
特定のブロック化方法の補正値に基づいて算出する補正
値算出手段を 備えることを特徴とする焦点検出装置。1. A method for focusing a pair of subject light beams passing through a photographing lens.
Pair of light receiving elements via a point detection optical system
The object formed on each of the light receiving element rows
Photoelectric conversion means for outputting a signal corresponding to the light intensity distribution of the body image
And a predetermined number of light receiving elements,
And blocking means for dividing into a plurality of blocks in units of each blocked by said blocking means blocks
Output signal of the light-receiving element included in each block
Calculating means for calculating the defocus amount indicating the focus adjustment state of the taking lens based on each block ; and each block for correcting a focus detection error of each block
Storage means for storing a correction value, and a correction means for correcting a defocus amount of each block by the correction value, the final differential based on the plurality of defocus amounts of the corrected
In the focus detection device for obtaining the amount of focus, the blocking means separates the number of different light receiving elements into units.
Having a plurality of blocking methods for performing the division,
The storage means stores a specific block among the plurality of blocking methods.
The correction value of each block corresponding to the block forming method is stored, and the block forming unit stores the correction value after the specific block forming method.
If an external blocking method is selected,
The correction value of each block corresponding to the
Correction calculated based on the correction value of a specific blocking method
A focus detection device comprising value calculation means .
点検出光学系を介して複数の受光素子から成る対の受光
素子列上へ導き、前記各受光素子列上に形成された被写
体像の光強度分布に応じた信号を出力する光電変換手段
と、 前記光電変換手段の出力信号に フィルター処理を行うフ
ィルター処理手段と、前記光電変換手段の各受光素子列を、所定数の受光素子
を単位とする複数のブロックに分割する ブロック化手段
と、前記ブロック化手段によってブロック化された各ブロッ
クごとに、各ブロックに含まれる受光素子のフィルター
処理後の出力信号に基づいて 撮影レンズの焦点調節状態
を示すデフォーカス量を演算する演算手段と、各ブロックの焦点検出誤差を補正するための各ブロック
の 補正値を記憶する記憶手段と、前記補正値により各ブロックの デフォーカス量を補正す
る補正手段とを備え、補正後の複数のデフォーカス量に基づいて最終的なデフ
ォーカス量を求める焦点検出装置において、 前記フィルター処理手段は複数の種類のフィルター処理
を行うとともに、前記ブロック化手段は異なる受光素子
数を単位として分割を行う複数のブロック化方法を有
し、 前記記憶手段は、前記複数種類のフィルター処理の内の
特定種類のフィルター処理と、前記複数のブロック化方
法の内の特定のブロック化方法とに対応する各ブロック
の補正値を記憶し、 前記フィルター処理手段により前記特定種類以外の種類
のフィルター処理が選択された場合、または前記ブロッ
ク化手段により前記特定のブロック化方法以外のブロッ
ク化方法が選択された場合に、この選択されたフィルタ
ー処理の種類またはブロック化方法に対応する各ブロッ
クの補正値を、前記特定種類のフィルター処理と前記特
定ブロック化方法とに対応する補正値に基づいて算出す
る補正値算出手段を 備えることを特徴とする焦点検出装
置。2. A method for focusing a pair of subject light beams passing through a photographing lens.
Pair of light receiving elements via a point detection optical system
The object formed on each of the light receiving element rows
Photoelectric conversion means for outputting a signal corresponding to the light intensity distribution of the body image
A filter processing unit for performing a filtering process on an output signal of the photoelectric conversion unit; and a light receiving element array of a predetermined number of light receiving element rows of the photoelectric conversion unit.
And blocking means for dividing into a plurality of blocks in units of each blocked by said blocking means blocks
Filters for light-receiving elements included in each block
Calculating means for calculating a defocus amount indicating a focus adjustment state of the photographing lens based on the output signal after processing ; and each block for correcting a focus detection error of each block
Storage means for storing a correction value, and a correction means for correcting a defocus amount of each block by the correction value, the final differential based on the plurality of defocus amounts of the corrected
In the focus detection device for determining the amount of focus, the filter processing unit includes a plurality of types of filter processing.
And the blocking means is a different light receiving element
There are multiple blocking methods that perform division in units of numbers.
And the storage means is configured to store the plurality of types of filter processing.
Specific types of filtering and the multiple blocking methods
Each block corresponding to a specific blocking method in the method
And the filter processing means stores the correction value of the type other than the specific type.
Filter processing is selected, or
Blocking means other than the specific blocking method
This filter is selected when the encryption method is selected.
-Each block corresponding to the processing type or blocking method
The correction value of the filter to the specific type of filter processing and the characteristic
Calculated based on the correction value corresponding to the fixed blocking method
A focus detection device comprising: a correction value calculating unit .
装置において、 前記ブロック化手段は、焦点検出状態が検出不能時には
前記ブロック化方法を変更することを特徴とする焦点検
出装置。3. The focus detection device according to claim 1, wherein said blocking means changes said blocking method when a focus detection state cannot be detected.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25847691A JP3211280B2 (en) | 1991-09-10 | 1991-09-10 | Focus detection device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25847691A JP3211280B2 (en) | 1991-09-10 | 1991-09-10 | Focus detection device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0566344A JPH0566344A (en) | 1993-03-19 |
| JP3211280B2 true JP3211280B2 (en) | 2001-09-25 |
Family
ID=17320752
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP25847691A Expired - Lifetime JP3211280B2 (en) | 1991-09-10 | 1991-09-10 | Focus detection device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3211280B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6441452B2 (en) | 1998-06-10 | 2002-08-27 | Micron Technology, Inc. | Method of reducing defects in anti-reflective coatings and semiconductor structures fabricated thereby |
-
1991
- 1991-09-10 JP JP25847691A patent/JP3211280B2/en not_active Expired - Lifetime
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6441452B2 (en) | 1998-06-10 | 2002-08-27 | Micron Technology, Inc. | Method of reducing defects in anti-reflective coatings and semiconductor structures fabricated thereby |
| US6461970B1 (en) | 1998-06-10 | 2002-10-08 | Micron Technology, Inc. | Method of reducing defects in anti-reflective coatings and semiconductor structures fabricated thereby |
| US6670284B2 (en) | 1998-06-10 | 2003-12-30 | Micron Technology, Inc. | Method of decontaminating process chambers, methods of reducing defects in anti-reflective coatings, and resulting semiconductor structures |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0566344A (en) | 1993-03-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3491343B2 (en) | Focus detection device and focus detection method | |
| US5689740A (en) | Focus detection device | |
| JP3298171B2 (en) | Auto focus camera | |
| JPH03182710A (en) | Focus detecting device | |
| JPH0694987A (en) | Focus detection device | |
| US7440690B2 (en) | Focus detection apparatus and control method thereof | |
| JP3211280B2 (en) | Focus detection device | |
| JPH0875986A (en) | Focus detection device | |
| JPS60262004A (en) | focus detection device | |
| JP3248257B2 (en) | Focus detection device | |
| JP5338112B2 (en) | Correlation calculation device, focus detection device, and imaging device | |
| JPH06130288A (en) | Focus detection device | |
| US7154589B2 (en) | Rangefinder apparatus | |
| JP3230759B2 (en) | Distance measuring device | |
| JP2850336B2 (en) | Focus detection device | |
| JP4817552B2 (en) | Phase difference detection method, phase difference detection device, distance measuring device, and imaging device | |
| JP3336360B2 (en) | Focus detection device | |
| JP3224535B2 (en) | Camera exposure control device | |
| JP2969642B2 (en) | Focus detection device | |
| JP3728604B2 (en) | Focus detection device | |
| JPH03196106A (en) | Camera focus detector | |
| JP2001318304A (en) | Focus detection device | |
| JP4968010B2 (en) | Correlation calculation method, correlation calculation device, focus detection device, and imaging device | |
| JP2707569B2 (en) | Focus detection device | |
| JP2005128292A (en) | Focus detection device and camera |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 6 Free format text: PAYMENT UNTIL: 20070719 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 9 Free format text: PAYMENT UNTIL: 20100719 |