JP2762463B2 - Focus detection device - Google Patents

Focus detection device

Info

Publication number
JP2762463B2
JP2762463B2 JP63143411A JP14341188A JP2762463B2 JP 2762463 B2 JP2762463 B2 JP 2762463B2 JP 63143411 A JP63143411 A JP 63143411A JP 14341188 A JP14341188 A JP 14341188A JP 2762463 B2 JP2762463 B2 JP 2762463B2
Authority
JP
Japan
Prior art keywords
image signal
light receiving
filtering
receiving unit
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.)
Expired - Lifetime
Application number
JP63143411A
Other languages
Japanese (ja)
Other versions
JPH021808A (en
Inventor
圭介 青山
彰 明石
謙二 鈴木
明 石崎
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 JP63143411A priority Critical patent/JP2762463B2/en
Publication of JPH021808A publication Critical patent/JPH021808A/en
Application granted granted Critical
Publication of JP2762463B2 publication Critical patent/JP2762463B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Automatic Focus Adjustment (AREA)

Description

【発明の詳細な説明】 (発明の利用分野) 本発明は、カメラ等に用いられる焦点検出装置の改良
に関するものである。
Description: FIELD OF THE INVENTION The present invention relates to an improvement in a focus detection device used for a camera or the like.

(発明の背景) 従来、カメラの焦点検出装置の一つのタイプとして、
撮影レンズの分割された瞳領域を通過した光束が形成す
る二つの被写体像のずれを観測し、撮影レンズの焦点状
態を検出するもので知られている。例えば、撮影レンズ
の予定結像面にフライアイレンズ群を配置し、撮影レン
ズのデフォーカス量に対応してずれた2像を発生させる
装置が米国特許第4185191号に開示されている。
BACKGROUND OF THE INVENTION Conventionally, as one type of a camera focus detection device,
It is known that a shift of two subject images formed by a light beam that has passed through a divided pupil region of a photographing lens is observed to detect a focus state of the photographing lens. For example, U.S. Pat. No. 4,185,191 discloses an apparatus in which a fly-eye lens group is arranged on a predetermined imaging plane of a photographic lens and two images which are shifted according to the defocus amount of the photographic lens are generated.

また、並設された2個の2次結像光学系により予定結
像面に形成された空中像を二つの光電変換素子列にそれ
ぞれ導き、2像の相対的な位置ずれを検知する所謂2次
結像方式が、特開昭55-118019号公報、特開昭55-155331
号公報等に開示されている。この方式は全長がやや大き
くなるが、特殊な光学系を必要としない利点がある。
In addition, an aerial image formed on a predetermined image forming plane by two side-by-side secondary image forming optical systems is guided to two photoelectric conversion element arrays, respectively, and a so-called “2” for detecting a relative displacement between the two images is performed. The next imaging method is disclosed in JP-A-55-118019, JP-A-55-155331.
No. 6,009,036. Although this method has a slightly longer overall length, it has the advantage of not requiring a special optical system.

この2次結像方式の焦点検出装置の光学系を第8図に
示す。焦点検出されるべき撮影レンズ1と光軸2を同じ
くして、フィールドレンズ3が配置される。その後方
の、光軸2に関して対称な位置に、2個の2次結像レン
ズ4a,4bが配置される。更にその後方に光電変換素子列5
a,5bが配置される。2次結像レンズ4a,4bの近傍には絞
り6a,6bが設けられる。フィールドレンズ3は撮影レン
ズ1の射出瞳を2個の2次結像レンズ4a,4bの瞳面上に
ほぼ結像する。その結果、2次結像レンズ4a,4bに入射
する光束は撮影レンズ1の射出瞳面上において各2次結
像レンズ4a,4bに対応する、互いに重なり合うことのな
い等面積の領域から射出されたものとなる。フィールド
レンズ3の近傍に形成された空中像が2次結像レンズ4
a,4bにより光電変換素子列5a,5bの面上に再結像される
と(ピントがぼけていてもよい)、光軸方向の空中像位
置の変位に基づいて、光電変換素子列5a,5bの面上の2
像はその位置を変えることになる。第9図は2像の相対
的位置の変位の様子を示しており、第9図(a)の合焦
状態を中心として第9図(b),(c)のように後ピン
ト、前ピントのそれぞれ光電変換素子列5a,5bの面上に
形成された2像は互いに逆方向に移動する。この像強度
分布を光電変換素子列5a,5bにより光電変換し、信号処
理回路を用いて2像の相対的位置ずれを検出すれば、撮
影レンズ1の焦点状態を知ることができる。
FIG. 8 shows an optical system of the focus detection device of the secondary imaging system. A field lens 3 is disposed with the same optical axis 2 as the taking lens 1 whose focus is to be detected. Two secondary imaging lenses 4a and 4b are arranged at positions symmetrical with respect to the optical axis 2 on the rear side. Further behind it, a photoelectric conversion element array 5
a and 5b are arranged. Stops 6a and 6b are provided near the secondary imaging lenses 4a and 4b. The field lens 3 forms an image of the exit pupil of the photographing lens 1 substantially on the pupil planes of the two secondary imaging lenses 4a and 4b. As a result, the light beams incident on the secondary imaging lenses 4a and 4b are emitted from the non-overlapping equal-area areas corresponding to the secondary imaging lenses 4a and 4b on the exit pupil plane of the photographing lens 1. It will be. The aerial image formed near the field lens 3 is a secondary imaging lens 4
When the image is re-imaged on the surfaces of the photoelectric conversion element arrays 5a and 5b by a and 4b (the focus may be out of focus), based on the displacement of the aerial image position in the optical axis direction, the photoelectric conversion element arrays 5a and 5b 2 on the surface of 5b
The image will change its position. FIG. 9 shows how the relative positions of the two images are displaced. As shown in FIGS. 9 (b) and 9 (c), focusing on the in-focus state in FIG. The two images formed on the surfaces of the photoelectric conversion element arrays 5a and 5b move in directions opposite to each other. If the image intensity distribution is photoelectrically converted by the photoelectric conversion element arrays 5a and 5b, and the relative displacement between the two images is detected using the signal processing circuit, the focus state of the photographing lens 1 can be known.

光電変換された信号の処理方法としては、例えば米国
特許第4250376号に開示されたものが知られている。こ
れは、二つの光電変換素子列から出力される像信号をそ
れぞれA(i),B(i)(ただしi=1〜N)とする
時、上述の例では適当な定数kに対し、 をアナログ演算回路により、或いはディジタル的に計算
し、この相関量Vの値の正負により撮影レンズの移動方
向を決定するものである。
As a method for processing a photoelectrically converted signal, for example, a method disclosed in US Pat. No. 4,250,376 is known. This is because when the image signals output from the two photoelectric conversion element arrays are A (i) and B (i) (where i = 1 to N), in the above example, for an appropriate constant k, Is calculated by an analog arithmetic circuit or digitally, and the moving direction of the photographing lens is determined by the sign of the value of the correlation amount V.

また本願出願人は先に、 或いは、 を計算し、相関量Vの正負により撮影レンズの移動方向
を決定する方法を提案している。(特開昭59-107313
号) さらに、2像のずれから合焦状態を判別する焦点検出
装置では、2像のずれ量とデフォーカス量とがほぼ比例
する関係を用いて、一方の像を他方の像に対し相対的に
変位させることにより、撮影レンズの移動量を計算する
方法が知られている。この方法は基線距離計方式の焦点
検出装置について古くから知られているものである。TT
L方式の焦点検出装置についても、特開昭56-75607号公
報、特開昭57-45510号公報等により公知である。
In addition, the applicant of the present application Or, Is calculated, and the moving direction of the photographing lens is determined based on whether the correlation amount V is positive or negative. (JP-A-59-107313
Further, in a focus detection device that determines the in-focus state based on the shift between two images, one image is relative to the other image using a relationship in which the shift amount of the two images is substantially proportional to the defocus amount. There is known a method of calculating the amount of movement of a photographing lens by displacing the imaging lens. This method has been known for a long time from a baseline distance meter type focus detection device. TT
An L-type focus detection device is also known from Japanese Patent Application Laid-Open Nos. 56-75607 and 57-45510.

例えば、B(i)で表される像信号をA(i)で表さ
れる像信号に対して回路処理上相対的に移動して、 V(m)=Σ|A(i)−B(i+1−m)| −Σ|A(i+1)−B(i−m)| …(4) なる相関量V(m)を、設定された相対変位量mの範囲
1≦m≦m2の各整数値について繰り返し演算する。相
対変位量mに対して、相関量V(m)の値をプロットし
た図は第10図のようになる。2像が一致した時、相関量
V(m)は0になるべきであるから、第10図では1.5ビ
ット相当の像ずれ量が存在することになる。
For example, the image signal represented by B (i) is relatively moved in circuit processing with respect to the image signal represented by A (i), and V (m) = Σ | A (i) −B ( i + 1−m) | −Σ | A (i + 1) −B (im) | (4) The correlation amount V (m) is set in the range m 1 ≦ m ≦ m 2 of the set relative displacement amount m. The operation is repeated for each integer value. FIG. 10 is a diagram in which the value of the correlation amount V (m) is plotted against the relative displacement amount m. When the two images coincide with each other, the correlation amount V (m) should be 0. Therefore, in FIG. 10, an image shift amount corresponding to 1.5 bits exists.

また、(2)式(或いは(3)式)を用いて、同様に
設定された相対変位量mの範囲m1≦m≦m2の各整数値
について次式により相関量V(m)を計数し、像ずれ量
を求めることができる。
Further, using the equation (2) (or the equation (3)), the correlation amount V (m) is calculated by the following equation for each integer value of the range m 1 ≦ m ≦ m 2 of the relative displacement amount m set similarly. By counting, the image shift amount can be obtained.

V(m)=Σmin{A(i),B(i+k−m)} −Σmin{A(i+k),B(i−m)} …(5) しかし、これらの演算は、二つの同一な像の位相だけ
がずれている場合に正確に位相ずれを検出することがで
きるが、光電変換素子のピッチで決まるナイキスト周波
数以上の周波数成分や、光学系、撮影状況により発生す
る低周波成分があると、相関演算に誤差を生ずる。これ
らの誤差要因となる周波数成分を除去するために、フィ
ルタリング処理をする方法が米国特許第4561749号に開
示されている。
V (m) = {min {A (i), B (i + k−m)} − {min {A (i + k), B (im)} (5) However, these operations are performed on two identical images. Phase shift can be accurately detected when only the phase is shifted, but if there is a frequency component equal to or higher than the Nyquist frequency determined by the pitch of the photoelectric conversion element, or a low frequency component generated due to the optical system and shooting conditions. Causes an error in the correlation operation. U.S. Pat. No. 4,561,749 discloses a method of performing a filtering process to remove a frequency component that causes these error factors.

この従来例において、複数のフィルタを使う場合の使
用フィルタ決定方法を第11図によって説明する。まず光
電変換出力蓄積(#1)を行い、像信号を得る。とりあ
えず最初はフィルタリング処理をしていない信号により
相関演算(#2)を行う。次に、信頼性の演算(#3)
により、像のコントラストや2像の一致度などから像信
号に含まれたノイズやゴーストの量を数値化する。この
信頼性数値を予め定められた信頼性閾値と比較し(#
4)、十分信頼性があれば合焦判定を行い(#5)、非
合焦点にはレンズ駆動を行い、合焦時にはレリーズ許可
を行う。
A method of determining a filter to be used when a plurality of filters are used in this conventional example will be described with reference to FIG. First, photoelectric conversion output accumulation (# 1) is performed to obtain an image signal. At first, a correlation operation (# 2) is performed using a signal that has not been subjected to the filtering process. Next, calculation of reliability (# 3)
Thus, the amount of noise or ghost included in the image signal is quantified based on the contrast of the image, the degree of coincidence between the two images, and the like. This reliability value is compared with a predetermined reliability threshold value (#
4) If sufficient reliability is obtained, focus determination is performed (# 5), lens driving is performed at an out-of-focus point, and release is permitted at the time of focusing.

#4で信頼正数値が信頼性閾値より低いと判定した場
合、第1のフィルタによるフィルタリング処理1(#
6)を行い、#2〜#4と同様の相関演算、信頼性演算
及び信頼性判定を#7〜#9で行う。やはり、信頼性数
値が信頼性閾値より低ければ、第2のフィルタによるフ
ィルタリング処理2(#10)を行い、#2〜#4と同様
の相関演算、信頼性演算及び信頼性判定を#11〜#13で
再び行う。最後に#13で信頼性数値が信頼性閾値より低
いと判定したら、測距不能とする。ここで、フィルタリ
ング処理2は、フィルタリング処理1を施した後の像信
号に対して行ってもよいし、フィルタリング処理1を行
わない元の像信号に対して行ってもよい。
If it is determined in step # 4 that the positive confidence value is lower than the reliability threshold value, the filtering process 1 (#
6), and the same correlation calculation, reliability calculation and reliability determination as in # 2 to # 4 are performed in # 7 to # 9. Similarly, if the reliability value is lower than the reliability threshold value, filtering processing 2 (# 10) by the second filter is performed, and the same correlation calculation, reliability calculation and reliability determination as in # 2 to # 4 are performed in # 11 to # 4. Do it again in # 13. Finally, if it is determined in step # 13 that the reliability value is lower than the reliability threshold, it is determined that distance measurement is impossible. Here, the filtering process 2 may be performed on the image signal after the filtering process 1 is performed, or may be performed on the original image signal on which the filtering process 1 is not performed.

このように、順次フィルタを切り換えて処理する方法
以外に、撮影レンズの種類によりフィルタを切り換えた
り、前回のデフォーカス状態で切り換えたりする方法が
ある。
As described above, besides the method of processing by sequentially switching the filter, there is a method of switching the filter depending on the type of the photographing lens or switching in the previous defocus state.

上記説明したように、像信号用に複数のフィルタを有
する従来の焦点検出装置においては、フィルタリング選
択は、良い結果がでるまで順次フィルタを切り換えるも
のであった。この方式だと、フィルタリング処理、相関
演算及び信頼性判定を何回も繰り返さなくてはならな
い。しかも、システムの制約や処理方法などにより光電
変換出力の蓄積からやり直さなければならない場合もあ
り、焦点検出演算の応答性が非常に悪くなってしまう。
As described above, in the conventional focus detection device having a plurality of filters for an image signal, the filtering selection is to sequentially switch the filters until a good result is obtained. According to this method, the filtering process, the correlation operation, and the reliability judgment must be repeated many times. In addition, it may be necessary to start over from the accumulation of the photoelectric conversion output due to system restrictions, processing methods, and the like, and the responsiveness of the focus detection calculation will be extremely poor.

また、撮影レンズの種類や、前回のデフォーカス状態
などにより、予めフィルタを切り換える方法では、被写
体の状態や、ノイズ、ゴーストなどの影響が考慮され
ず、最適なフィルタリング処理が行われるとは限らな
い。
Further, in the method of switching the filter in advance depending on the type of the photographing lens, the previous defocus state, and the like, the effects of the subject state, noise, ghost, and the like are not considered, and the optimal filtering process is not always performed. .

(発明の目的) 本発明の目的は、上述した問題点を解決し、像信号の
フィルタリング処理を行うに際して応答性を良くするこ
とができ、ノイズやゴーストなどを考慮した適切なフィ
ルタリング選択を行うことができる焦点検出装置を提供
することである。
(Object of the Invention) An object of the present invention is to solve the above-mentioned problems, improve the responsiveness when performing filtering processing of an image signal, and perform appropriate filtering selection in consideration of noise, ghost, and the like. The object of the present invention is to provide a focus detection device capable of performing the following.

(発明の特徴) 上記目的を達成するために、請求項1記載の本発明
は、それぞれ複数の光電素子からなる第1と第2の受光
部に対して光学的に視差を有する光束を受光させ、前記
第1の受光部の各光電素子からの像信号と前記第2の受
光部の各光電素子からの像信号に基づいてずれ量を演算
するずれ演算手段を備えた焦点検出装置において、前記
第1の受光部と第2の受光部からそれぞれ入力される像
信号の間の特性を合わせるために第1のフィルタ処理を
行う第1のフィルタ処理手段と、前記第1の受光部と第
2の受光部からそれぞれ入力される像信号の間の特性を
合わせるために前記第1のフィルタ処理とは異なる第2
のフィルタ処理を行う第2フィルタ処理手段とを含む複
数のフィルタ処理手段と、前記ずれ量の演算前に、前記
第1の受光部からの像信号と前記第2の受光部からの像
信号により決められる像信号間の関係に応じて、前記複
数のフィルタ処理手段のうちのどのフィルタ処理手段を
用いるかを決定する決定手段とを設け、該決定手段によ
る決定結果に応じたフィルタ処理が行われた像信号に対
するずれ演算を行うことを特徴とするものである。
(Features of the Invention) In order to achieve the above object, according to the first aspect of the present invention, the first and second light receiving sections each including a plurality of photoelectric elements receive light beams having optical parallax. A focus detection apparatus comprising: a shift calculating unit configured to calculate a shift amount based on an image signal from each photoelectric element of the first light receiving unit and an image signal from each photoelectric element of the second light receiving unit; First filter processing means for performing first filter processing to match characteristics between image signals input from the first light receiving unit and the image signal input from the second light receiving unit; A second filter different from the first filter processing in order to match the characteristics between the image signals input from the respective light receiving units.
A plurality of filter processing means including a second filter processing means for performing the filter processing described above, and an image signal from the first light receiving portion and an image signal from the second light receiving portion before the calculation of the shift amount. Determining means for determining which one of the plurality of filtering means is to be used in accordance with the determined relationship between image signals; and performing a filtering process in accordance with a result determined by the determining means. In this case, a shift operation is performed on the image signal.

また、請求項2記載の本発明は、それぞれ複数の光電
素子からなる第1と第2の受光部に対して光学的に視差
を有する光束を受光させ、前記第1の受光部の各光電素
子からの像信号と前記第2の受光部の各光電素子からの
像信号に基づいてずれ量を演算するずれ演算手段を備え
た焦点検出装置において、前記第1の受光部と第2の受
光部からそれぞれ入力される像信号の間の特性を合わせ
るためにフィルタ処理を行うフィルタ処理手段と、前記
ずれ量の演算前に、前記第1の受光部からの像信号と前
記第2の受光部からの像信号により決められる像信号間
の関係に応じて、前記フィルタ処理手段によるフィルタ
処理を行わせるか否かを決定する決定手段とを設け、該
決定手段による決定結果に応じてフィルタ処理が行われ
た像信号またはフィルタ処理が行われない状態での像信
号に対するずれ演算を行うことを特徴とするものであ
る。
In addition, according to the present invention, the first and second light receiving units each including a plurality of photoelectric elements receive light beams having optical parallax, and each of the photoelectric elements of the first light receiving unit. A focus detecting device provided with a shift calculating means for calculating a shift amount based on an image signal from the second light receiving unit and an image signal from each photoelectric element of the second light receiving unit, wherein the first light receiving unit and the second light receiving unit Filter processing means for performing filter processing in order to match characteristics between image signals respectively input from the image signal from the first light receiving unit and the second light receiving unit before calculating the shift amount. And deciding means for deciding whether or not to perform the filtering by the filtering means in accordance with the relationship between the image signals determined by the image signals. Image signal or file It is characterized in carrying out the shift operation on the image signal in a state in which data processing is not performed.

(発明の実施例) 第1図は本発明の一実施例である焦点検出装置の主要
部を示すブロック図である。
(Embodiment of the Invention) Fig. 1 is a block diagram showing a main part of a focus detection device according to an embodiment of the present invention.

10は、センサ装置で、CCDセンサ列等から構成される
複数の蓄積型の光電変換素子列10a,10bを有する。光電
変換素子列10a,10bは、第8図に示される光電変換素子
列5a,5bと同様に、撮影レンズの射出瞳の異なる複数の
領域を通過した光束を受光する。11,12はフィルタリン
グ手段で、センサ装置10が出力する二つの像信号のフィ
ルタリング処理を行う。13は信号処理手段で、フィルタ
リング処理された二つの像信号の相対的位置関係から影
像レンズの焦点状態を検出する。
Reference numeral 10 denotes a sensor device having a plurality of storage-type photoelectric conversion element arrays 10a and 10b each including a CCD sensor array or the like. The photoelectric conversion element arrays 10a and 10b receive light beams that have passed through a plurality of regions having different exit pupils of the photographing lens, similarly to the photoelectric conversion element arrays 5a and 5b shown in FIG. Reference numerals 11 and 12 denote filtering means for filtering two image signals output from the sensor device 10. 13 is a signal processing means for detecting the focus state of the image lens from the relative positional relationship between the two image signals subjected to the filtering processing.

14は選択手段で、フィルタリング手段11,12のうちど
れを使うか、或いはどれも使わないかを、像信号の状態
に応じて決定する。像信号を使わずに、光電変換素子列
10a,10bの蓄積制御のために、光電変換素子列10a,10b中
から取り出され、或いは別に設けられた光電センサから
出力されるピーク信号や、フィルタリング制御のために
専用にセンサ装置10内に設けられた光電センサから出力
される光電変換信号を用いることもできる。なお、実際
には、フィルタリング手段11,12、信号処理手段13及び
選択手段14は一つのマイクロコンピュータにより構成さ
れる。
Reference numeral 14 denotes a selection unit that determines which of the filtering units 11 and 12 to use or none of them according to the state of the image signal. An array of photoelectric conversion elements without using image signals
For accumulation control of 10a, 10b, a peak signal extracted from the photoelectric conversion element array 10a, 10b or output from a separately provided photoelectric sensor, or provided in the sensor device 10 exclusively for filtering control. It is also possible to use a photoelectric conversion signal output from the provided photoelectric sensor. In practice, the filtering means 11 and 12, the signal processing means 13 and the selecting means 14 are constituted by one microcomputer.

第2図のフローチャートにより、第1図図示実施例の
動作を説明する。
The operation of the embodiment shown in FIG. 1 will be described with reference to the flowchart of FIG.

#20で信号処理手段13がセンサ装置10に蓄積開始を指
令することにより、センサ装置10は光電変換素子列10a,
10bの光電変換出力を蓄積する。蓄積が終了すると、#2
1において信号処理手段13は選択手段14に対し選択演算
を指令する。選択手段14はセンサ装置10により像信号を
取り込み、フィルタリング選択の演算を行い、#22でフ
ィルタリング処理なし、フィルタリング処理1、フィル
タリング処理2のいずれかを選択する。選択演算の詳細
については後述する。フィルタリング処理なしが選択さ
れると、像信号は直接信号処理手段13に入力され、信号
処理手段13は相関演算(#23)を行う。フィルタリング
処理をすると、iの範囲がせまくなり、検出可能なデフ
ォーカス量の範囲が小さくなる。更に像信号の状態によ
り焦点検出精度が落ちる場合があり、フィルタリング処
理しない方が望ましいことがある。
In step # 20, the signal processing means 13 instructs the sensor device 10 to start accumulation, so that the sensor device 10 has a photoelectric conversion element array 10a,
The 10b photoelectric conversion output is stored. When accumulation is completed, # 2
In 1, the signal processing means 13 instructs the selection means 14 to perform a selection operation. The selecting means 14 takes in the image signal by the sensor device 10 and performs a filtering selection operation. In # 22, no filtering processing, one of the filtering processing 1 and the filtering processing 2 is selected. Details of the selection operation will be described later. If no filtering is selected, the image signal is directly input to the signal processing means 13, and the signal processing means 13 performs a correlation operation (# 23). When the filtering process is performed, the range of i becomes narrow, and the range of the detectable defocus amount becomes small. Furthermore, the focus detection accuracy may be reduced depending on the state of the image signal, and it may be desirable not to perform the filtering process.

フィルタリング処理1が選択されると、像信号はフィ
ルタリング手段11に入力され、フィルタリング処理1
(#24)がなされる。フィルタリング処理1はフィルタ
リング演算式に用いる画素の数が少ないので、演算時間
が比較的短くて済む。
When the filtering process 1 is selected, the image signal is input to the filtering means 11 and the filtering process 1 is performed.
(# 24) is performed. The filtering process 1 requires a relatively short calculation time because the number of pixels used in the filtering operation expression is small.

フィルタリング処理2が選択されると、像信号はフィ
ルタリング手段12に入力され、フィルタリング処理2
(#25)がなされる。フィルタリング処理2はフィルタ
リング演算式に用いる画素の数が多いので、演算時間が
比較的長くなるが、除去できるノイズやゴーストの量は
フィルタリング処理1よりも優れている。それぞれの処
理の後、信号処理手段13は#23で相関演算を行い、#26
で信頼性演算を行い、#27で信頼性の判定を、#28で合
焦の判定をそれぞれ行って、次に続く処理を行う。
When the filtering process 2 is selected, the image signal is input to the filtering unit 12 and the filtering process 2 is performed.
(# 25) is performed. The filtering process 2 requires a relatively large number of pixels to be used in the filtering operation expression, so that the operation time is relatively long. However, the amount of noise and ghost that can be removed is superior to the filtering process 1. After each process, the signal processing means 13 performs a correlation operation in # 23, and
Perform the reliability calculation, determine the reliability in # 27, determine the focus in # 28, and perform the following processing.

次に像信号がどのような状態の時にどのフィルタリン
グ手段を選択するかを第3図に従って述べる。
Next, what filtering means is selected when the image signal is in a state will be described with reference to FIG.

第3図(a),(b),(d)がいずれもフィルタリ
ング処理をしていない像信号である。(a)はノイズや
ゴースト、2像のレベル差がない良好な像信号である。
(b)は2像間にレベル差が発生している像信号であ
り、(d)は2像間に反対の傾きを持つゴーストが発生
している像信号である。フィルタリング処理をしないで
相関演算を行うと、正確なずれ検出ができるのは(a)
だけで、(b),(d)は演算に誤差を生じてしまう。
例えば、像信号A(i)に対してフィルタリング手段11
を A′(i)=−A(i−3)/4−A(i−2)/2−A
(i−1)+A(i) +A(i+1)/2+A(i+2)/4 …(6) フィルタリング手段12を A″(i)=−0.0625A(i−5)−0.125A(i−4) −0.5625A(i−3)+0.125A(i−1)+1.25A (i) +0.125A(i+1)−0.5625A(i+3) −0.125A(i+4)−0.0625A(i+5) …(7) のように構成し、像信号(i)に対しても同様に構成す
ると、フィルタリング手段11のインパルス応答は第4図
(a)のようになり、フィルタリング手段12のインパル
ス応答は第4図(b)のようになる。第4図(a)のイ
ンパルス応答はiと(i−1)を中心に反対称型をして
いる。以後、インパルス応答が反対称型をしたフィルタ
リング手段を反対称型フィルタリング手段と呼ぶ。この
フィルタリング手段の特徴は、隣接する画素についてA
(i)とA(i−1)との差(微分)を出し、更に確実
性を増すために隣接する画素の外側については重み付け
を減らしてA(i+1)とA(i−2)の差及びA(i
+2)とA(i−3)の差を出すことにより、直流成分
を取り除くこと、即ち2像間にレベル差があってもそれ
を取り除くことができることである。
3 (a), 3 (b) and 3 (d) show image signals that have not been subjected to filtering processing. (A) is a good image signal without noise, ghost, and level difference between two images.
(B) is an image signal in which a level difference has occurred between two images, and (d) is an image signal in which a ghost having an opposite inclination has occurred between the two images. If correlation calculation is performed without filtering, accurate deviation detection can be performed by (a)
However, (b) and (d) cause errors in the calculation.
For example, filtering means 11 for image signal A (i)
A ′ (i) = − A (i−3) / 4−A (i−2) / 2−A
(I-1) + A (i) + A (i + 1) / 2 + A (i + 2) / 4 (6) The filtering means 12 is set to A "(i) =-0.0625A (i-5) -0.125A (i-4) -0.5625A (i-3) + 0.125A (i-1) + 1.25A (i) + 0.125A (i + 1) -0.5625A (i + 3) -0.125A (i + 4) -0.0625A (i + 5) ... (7) If the same is applied to the image signal (i), the impulse response of the filtering means 11 is as shown in FIG. 4A, and the impulse response of the filtering means 12 is as shown in FIG. The impulse response in Fig. 4 (a) is anti-symmetric with respect to i and (i-1). A feature of this filtering means is that A
The difference (differential) between (i) and A (i-1) is calculated, and the weighting is reduced for the outside of the adjacent pixels to further increase the certainty, and the difference between A (i + 1) and A (i-2) is obtained. And A (i
By obtaining the difference between (+2) and A (i-3), the DC component can be removed, that is, even if there is a level difference between the two images, it can be removed.

第4図(b)のインパルス応答はiを中心に対称型を
している。以後、インパルス応答が対称型をしたフィル
タリング手段を対称型フィルタリング手段と呼ぶ。対称
型フィルタリング手段は特に反対称型フィルタリング処
理を2回行ったのと同等な特性を示すように考慮されて
いる。このため反対称型のフィルタリング手段11を通し
てもレベル差が残ってしまうような、ゴーストが含まれ
た像信号に対しても、対称型のフィルタリング手段12が
有効に働く。
The impulse response in FIG. 4 (b) is symmetrical about i. Hereinafter, the filtering means having a symmetrical impulse response will be referred to as symmetrical filtering means. In particular, the symmetric filtering means is considered so as to exhibit characteristics equivalent to performing the antisymmetric filtering processing twice. For this reason, the symmetrical filtering means 12 works effectively even for an image signal containing a ghost image in which a level difference remains even through the antisymmetrical filtering means 11.

例えば、第3図(b)のようにレベル差を含む像信号
に対して、フィルタリング手段11による処理を行うと、
第3図(c)に示されるようなレベル差を含まない像信
号が得られる。しかし、第3図(d)のようにゴースト
を含む像信号をフィルタリング手段11により処理して
も、第3図(e)のようにレベル差が残ってしまい、相
関演算を行っても、正確な焦点検出ができない。第3図
(d)のような像信号の場合、フィルタリング手段12に
より処理すると、第3図(f)のようになり、レベル差
はなくなる。フィルタリング手段12により対称型フィル
タリング処理された像信号は、ノイズが多少目立つが、
第3図(d)や(e)の像信号で焦点検出するより誤差
が少ない。
For example, if the processing by the filtering means 11 is performed on an image signal including a level difference as shown in FIG.
An image signal which does not include a level difference as shown in FIG. 3 (c) is obtained. However, even if an image signal including a ghost is processed by the filtering means 11 as shown in FIG. 3 (d), a level difference remains as shown in FIG. 3 (e). Focus detection cannot be performed. In the case of an image signal as shown in FIG. 3 (d), if the image signal is processed by the filtering means 12, it becomes as shown in FIG. 3 (f), and the level difference disappears. In the image signal that has been subjected to the symmetric filtering by the filtering unit 12, noise is somewhat noticeable,
The error is smaller than the focus detection using the image signals shown in FIGS. 3 (d) and (e).

即ち、レベル差もゴーストもない像信号の場合には、
フィルタリング処理なしを選択し、レベル差だけがある
像信号の場合にはフィルタリング手段11を選択し、ゴー
ストが含まれた像信号の場合にはフィルタリング手段12
を選択して、相関演算を行うと、最も検出誤差が少な
い。
That is, in the case of an image signal having neither a level difference nor a ghost,
If no filtering is selected, the filtering means 11 is selected for an image signal having only a level difference, and the filtering means 12 is selected for an image signal containing a ghost.
Is selected and the correlation calculation is performed, the detection error is the least.

次に、選択手段14の動作について説明する。 Next, the operation of the selection means 14 will be described.

(I) 第3図(a)のように2像の形が等しく、位相
差だけがずれている場合 (II) 第3図(b)のように2像の形は等しいが、焦
点状態による位相差に加え、レベル差が生じている場合 (III) 第3図(d)のように像信号の左はじではB
像のレベルが高く、右はじではA像が高いような場合 の以上の三つの場合を選択手段14は判別する。これらの
判別には2像の一致度を使う。2度の一致度に関して
は、まず2像のずれ量を検出し、そのずれ量分片方の像
信号をシフトして、ずれが零となる像位置で一致度を計
算する。
(I) When the two images have the same shape as shown in FIG. 3A and only the phase difference is shifted. (II) The two images have the same shape as shown in FIG. When there is a level difference in addition to the phase difference (III) As shown in FIG.
The selecting means 14 determines the above three cases where the image level is high and the image A is high at the right edge. The degree of coincidence of the two images is used for these determinations. Regarding the two coincidences, first, a shift amount of two images is detected, one image signal is shifted by the shift amount, and the coincidence is calculated at an image position where the shift becomes zero.

ずれ量は通常、前記(4)式或いは(5)式により算
出することができる。しかし、この方法でずれ量を計算
すると、フィルタリング選択に時間がかかるし、フィル
タリング処理をしない場合は同じ計算を再度行うことに
なる。
The shift amount can usually be calculated by the above equation (4) or (5). However, if the amount of deviation is calculated by this method, it takes time to select the filtering, and if no filtering is performed, the same calculation is performed again.

そこで、ずれ量を検出するために、像信号の最大値、
最小値を用いる。この方法を第5図のフローチャートに
よって説明する。
Therefore, in order to detect the shift amount, the maximum value of the image signal,
Use the minimum value. This method will be described with reference to the flowchart of FIG.

#30でA像の最大値A(i max)と最小値A(i min)
を求める。それらを示す位置をi max及びi minとし、そ
の差をΔiとする。#31で同様にB像について計算す
る。それぞれの極値が対応している場合には、第6図
(a)のように差Δiと差Δjとが等しくなり(#3
2)、2像のずれ量pはp=i max−j maxで求められる
(#33)。しかし、第6図(b)のように、極値が対応
しない場合、差Δiと差Δjとは等しくならない。この
場合#34でB像の最小値位置j minから差Δiだけ離れ
た位置(j min+Δi)の付近に極大値B(j′max)が
あるかを探す。更に、A像の最小値位置i minから差Δ
jだけ離れた位置(i min+Δi)の付近に極大値A
(i′max)があるかを探す。どちらかの極大値があれ
ば、#35で#36へ分岐する。なければ、#37でB像の最
大値位置j maxから−Δiだけ離れた位置(j max−Δ
i)の付近に極小値B(j′min)があるかを探す。更
に、A像の最大値位置i maxから−Δjだけ離れた位置
(i max−Δj)の付近に極小値A(i′min)があるか
を探す。#38でどちらかの極小値があれば、#39に分岐
し、なければ、2像の一致度が非常に悪い場合であると
判定し、#40でフィルタリング手段12を選択する。#36
では新たに求めた極大値位置j′max又はi′maxを遣
い、ずれ量pをp=i max−j′max又はp=i′max−j
maxの算出可能な式により算出する。#39でも同様に、
ずれ量pをp=i min−j min又はp=i′min−j minの
算出可能な式により算出する。このようにしてずれ量p
を簡単に求めることができる。
In # 30, the maximum value A (i max) and the minimum value A (i min) of the A image
Ask for. The positions indicating them are defined as i max and i min, and the difference is defined as Δi. In step # 31, the same calculation is performed for the B image. When the extreme values correspond to each other, the difference Δi and the difference Δj become equal as shown in FIG. 6A (# 3).
2) The shift amount p between the two images is obtained by p = imax-jmax (# 33). However, as shown in FIG. 6 (b), when the extreme values do not correspond, the difference Δi is not equal to the difference Δj. In this case, in # 34, it is searched for a local maximum value B (j′max) near a position (jmin + Δi) separated from the minimum value position jmin of the B image by a difference Δi. Furthermore, the difference Δ
A maximum value A near a position (i min + Δi) separated by j
Search for (i'max). If there is a local maximum value, the process branches to # 36 at # 35. If not, the position (jmax-Δ) separated by −Δi from the maximum value position jmax of the B image in # 37
It is searched for a local minimum B (j'min) near i). Further, it is searched for a local minimum value A (i'min) near a position (imax-.DELTA.j) apart from the maximum value position imax of the A image by -.DELTA.j. If either of the local minima is found in # 38, the flow branches to # 39. If not, it is determined that the coincidence between the two images is very poor, and the filtering means 12 is selected in # 40. # 36
Then, using the newly obtained maximum value position j'max or i'max, the shift amount p is calculated as p = imax-j'max or p = i'max-j
It is calculated by a formula that can calculate max. Similarly in # 39,
The shift amount p is calculated by a formula that can be calculated as p = i min−j min or p = i ′ min−j min. Thus, the shift amount p
Can be easily obtained.

ずれ量pが求まると、2蔵の一致度は下式で算出され
る一致度判定値S1,S2により判定する。
When the shift amount p is obtained, the coincidence between the two is determined by the coincidence determination values S 1 and S 2 calculated by the following equations.

即ち、2像が一致していれば、一致度判定値S1,S2
両方とも0になり、レベル差があると、一致度判定値S
1,S2共大きくなる。ゴーストが発生した場合には、一致
度判定値S1だけが大きくなり、一致度判定値S2は小さ
い値となる。
That is, if the two images match, both of the coincidence determination values S 1 and S 2 become 0, and if there is a level difference, the coincidence determination value S
1 and S 2 both increase. If the ghost is generated, only the coincidence determination value S 1 is increased, the coincidence determination value S 2 is a small value.

このことから一致度判定値S1,S2を用いて次のように
フィルタリング選択を行う。
Therefore, filtering selection is performed as follows using the matching degree determination values S 1 and S 2 .

1≒0,S2≒0フィルタリング処理なしS1=大、S
2=大フィルタリング手段11(S1≒S2) S1=大、S2=小フィルタリング手段12(S1
2) 一致度判定値S1,S2が0か、大きいか、小さいかを判
定するのは、一定の閾値をもうけて行う。
S 1 ≒ 0, S 2 ≒ 0 No filtering processing S 1 = large, S
2 = large filtering means 11 (S 1 1S 2 ) S 1 = large, S 2 = small filtering means 12 (S 1 >
S 2 ) Whether the coincidence determination values S 1 and S 2 are 0, large or small is determined by setting a certain threshold.

以上のように、相関演算を行う前に最初に最適なフィ
ルタリング選択を行うので、最適なフィルタリング手段
を選択するまでに無駄な相関演算を繰り返さずに済み、
応答性を良くすることができる。また、フィルタリング
選択を像信号の状態に応じて(或いは対物レンズを通過
した光束の光電変換信号の状態に応じて)判定するよう
にしたので、ノイズやゴーストなどを考慮した適切なフ
ィルタリング選択を行うことができる。したがって、総
体的に焦点検出精度を向上させることができる。
As described above, since the optimum filtering selection is performed first before performing the correlation operation, it is not necessary to repeat useless correlation operations before selecting the optimum filtering means.
Responsiveness can be improved. In addition, since the filtering selection is determined according to the state of the image signal (or according to the state of the photoelectric conversion signal of the light beam that has passed through the objective lens), appropriate filtering selection considering noise, ghost, and the like is performed. be able to. Therefore, the focus detection accuracy can be generally improved.

ずれ量pを求める別の方法として、像信号を間引いて
計算し、演算時間を短縮することが可能である。この方
法で焦点検出のための相関演算そのものの計算時間短縮
を行うことは、公知(特開昭59-107312号)であるが、
この方法をフィルタリング選択演算の一部に用いる。間
引いた像信号によるずれ量の計算方法を以下に説明す
る。
As another method of obtaining the shift amount p, it is possible to reduce the calculation time by thinning out the image signal and shorten the calculation time. It is publicly known (JP-A-59-107312) that the calculation time of the correlation operation itself for focus detection is shortened by this method.
This method is used for a part of the filtering selection operation. A method for calculating the amount of shift due to the thinned image signal will be described below.

前記の(4)式或いは(5)式の相関量V(m)を異
なる相対変位量mについて計算する手順を用いたずれ量
の演算は、データ数Nが大きい場合には演算時間が著し
く長くなる。例え、(4)式の相関量V(m)を1個の
mについて計算するために絶対値符号内の差が2N個、積
算時の和が2N個、合計4N個の加減算を必要とする。一
方、mの上下限値m1,m2では±N/2程度が得られるの
で、計算すべきV(m)の数はほぼN個である。したが
って、全演算個数は概算値で4N2程度の加減算となる。
このデータ数Nを削減して計算した場合、例えば、第7
図(a)に示されるような原初データの像信号A(i)
から第7図(a),(c)のように用いるデータ数の削
減を行う。第7図(b)の像信号A′(i)は原初デー
タを1個おきに選択したものであり、第7図(c)の像
信号A″(i)は隣接する2画素の光電変換出力の和或
いは平均をとったものである。数式で書けば、光電変換
素子列10a,10bにて得られた原初データの像信号をA
(i),B(i)とするとき(但しB(i)は図示を省
略)第7図(b)の場合は次式で得られた値を計算用デ
ータとして用いる。
The calculation of the shift amount using the procedure of calculating the correlation amount V (m) in the above equation (4) or (5) for different relative displacement amounts m requires a significantly long calculation time when the number of data N is large. Become. For example, in order to calculate the correlation amount V (m) of the equation (4) for one m, the difference in the absolute value code is 2N, the sum at the time of integration is 2N, and a total of 4N additions and subtractions are required. . On the other hand, since about ± N / 2 is obtained at the upper and lower limit values m 1 and m 2 of m, the number of V (m) to be calculated is almost N. Thus, all the processing number is the subtraction of approximately 4N 2 in approximate.
When the calculation is performed with the data number N reduced, for example, the seventh
An image signal A (i) of the original data as shown in FIG.
As shown in FIGS. 7 (a) and 7 (c), the number of data used is reduced. The image signal A '(i) in FIG. 7 (b) is obtained by selecting every other original data, and the image signal A "(i) in FIG. 7 (c) is the photoelectric conversion of two adjacent pixels. In terms of mathematical expressions, the image signal of the original data obtained by the photoelectric conversion element arrays 10a and 10b is represented by A.
(I) and B (i) (B (i) is not shown). In the case of FIG. 7 (b), the value obtained by the following equation is used as calculation data.

A′(i)=A(2i−1) …(11) B′(i)=B(2i−1) …(12) 但し、i=1〜N/2 第7図(c)の場合は(13)式、(14)式を用いる。A '(i) = A (2i-1) (11) B' (i) = B (2i-1) (12) where i = 1 to N / 2 In the case of FIG. Equations (13) and (14) are used.

A″(i)=A(2i−1)+A(2i) …(13) B″(i)=B(2i−1)+B(2i) …(14) なお、(11)〜(14)式で原初データからの変換を1
ビットずつずらし、A′(i)=A(2i)、A″(i)
=A(2i)+A'(2i+1)等々とすることは勿論可能で
ある。これらの操作によりデータ数Nは半減するので、
ずれ量を求めるための演算量は概略1/4に減少する。
A ″ (i) = A (2i−1) + A (2i) (13) B ″ (i) = B (2i−1) + B (2i) (14) Equations (11) to (14) Conversion from original data with 1
A ′ (i) = A (2i), A ″ (i)
= A (2i) + A '(2i + 1) and so on. Since the number of data N is halved by these operations,
The amount of calculation for obtaining the shift amount is reduced to approximately 1/4.

以上のように計算した相関量V(m)が最も0に近く
なった時のmの値をずれ量pとして用いて、前述の一致
度判定値S1,S2を計算することができる。このとき、
(8)式、(9)式の計算においても削減されたデータ
で行えば、さらに演算量を減少することができる。
By using the value of m when the correlation amount V (m) calculated as described above becomes closest to 0 as the deviation amount p, the above-described coincidence determination values S 1 and S 2 can be calculated. At this time,
If the calculation of the equations (8) and (9) is performed with the reduced data, the amount of calculation can be further reduced.

(変形例) 図示実施例では、フィルタリング手段11が反対称型
で、フィルタリング手段12が対称型であるが、これに限
定されるものではなく、両方とも反対称型であってもよ
いし、両方とも対称型であってもよい。また、フィルタ
リング手段の数は3以上でもよい。フィルタリング手段
は電気的アナログフィルタであってもよい。
(Modification) In the illustrated embodiment, the filtering means 11 is an anti-symmetric type, and the filtering means 12 is a symmetric type. However, the present invention is not limited to this, and both may be anti-symmetric types. May be symmetrical. Further, the number of filtering means may be three or more. The filtering means may be an electric analog filter.

(発明の効果) 以上説明したように、請求項1記載の本発明によれ
ば、ずれ量の演算前に、第1の受光部からの像信号と第
2の受光部から像信号により決められる像信号間の関係
に応じて、像信号間の特性を合わせるために用いられる
複数のフィルタ処理手段のうちのどのフィルタ処理手段
を用いるかを決定するようにしたから、像信号のフィル
タ処理を行うに際しての応答性を良くすることができ、
ノイズやゴーストなどを考慮した適切なフィルタ処理選
択を行うことができる。
(Effect of the Invention) As described above, according to the first aspect of the present invention, before the calculation of the shift amount, the shift amount is determined by the image signal from the first light receiving unit and the image signal from the second light receiving unit. According to the relationship between the image signals, which of the plurality of filter processing units used for matching the characteristics between the image signals is determined, so that the image signal is filtered. Response can be improved,
Appropriate filter processing selection can be performed in consideration of noise, ghost, and the like.

また、請求項2記載の発明によれば、ずれ量の演算前
に、第1の受光部からの像信号と第2の受光部からの像
信号により決められる像信号間の関係に応じて、像信号
間の特性を合わせるために用いられるフィルタ処理手段
による処理を行わせるか否かを決定するようにしたか
ら、像信号フィルタ処理を行うに際しての応答性を良く
することができ、ノイズやゴーストなどを考慮した適切
なフィルタ処理選択を行うことができる。
Further, according to the second aspect of the present invention, before the calculation of the shift amount, according to the relationship between the image signal from the first light receiving unit and the image signal determined by the image signal from the second light receiving unit, Since it is determined whether or not to perform the processing by the filter processing means used to match the characteristics between the image signals, it is possible to improve the responsiveness when performing the image signal filter processing, and to improve the noise and the ghost. It is possible to select an appropriate filtering process in consideration of the above.

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

第1図は本発明の一実施例を示すブロック図、第2図は
本発明の一実施例の動作を示すフローチャート、第3図
は像信号を示す波形図、第4図は本発明の一実施例に係
るフィルタリング手段のインパルス応答を示す図、第5
図は本発明の一実施例に係る選択手段の動作を示すフロ
ーチャート、第6図は像信号のずれに応じた選択手段の
動作を示す波形図、第7図は本発明の実施例において使
用される像信号の複数の例を示す図、第8図は従来の焦
点検出装置の光学系を示す概要図、第9図は従来の焦点
検出装置における像ずれの原理を示す図、第10図は従来
の焦点検出装置による相関演算値を示す図、第11図は従
来の焦点検出装置のフィルタリング選択動作を示すフロ
ーチャートである。 1……撮影レンズ、3……フィールドレンズ、4a,4b…
…2次結像レンズ、5a,5b……光電変換素子列、6a,6b…
…絞り、10……センサ装置、10a,10b……光電変換素子
列、11,12……フィルタリング手段、13……信号処理手
段、14……選択手段。
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a flowchart showing the operation of one embodiment of the present invention, FIG. 3 is a waveform diagram showing an image signal, and FIG. The figure which shows the impulse response of the filtering means which concerns on an Example, 5th.
FIG. 6 is a flow chart showing the operation of the selecting means according to one embodiment of the present invention, FIG. 6 is a waveform diagram showing the operation of the selecting means according to the shift of the image signal, and FIG. 7 is used in the embodiment of the present invention. FIG. 8 is a schematic diagram showing an optical system of a conventional focus detection device, FIG. 9 is a diagram showing the principle of image shift in a conventional focus detection device, and FIG. FIG. 11 is a diagram showing a correlation calculation value by a conventional focus detection device. FIG. 11 is a flowchart showing a filtering selection operation of the conventional focus detection device. 1 ... photographic lens, 3 ... field lens, 4a, 4b ...
... Secondary imaging lenses, 5a, 5b ... Photoelectric conversion element arrays, 6a, 6b ...
... Aperture, 10 ... Sensor device, 10a, 10b ... Photoelectric conversion element array, 11,12 ... Filtering means, 13 ... Signal processing means, 14 ... Selection means.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 石崎 明 神奈川県川崎市高津区下野毛770番地 キヤノン株式会社玉川事業所内 (56)参考文献 特開 昭58−52607(JP,A) 特開 昭61−105520(JP,A) 特開 平2−15223(JP,A) (58)調査した分野(Int.Cl.6,DB名) G02B 7/00──────────────────────────────────────────────────続 き Continuation of the front page (72) Inventor Akira Ishizaki 770 Shimonoge, Takatsu-ku, Kawasaki City, Kanagawa Prefecture Inside the Tamagawa Works of Canon Inc. (56) References JP-A-58-52607 (JP, A) JP-A-61- 105520 (JP, A) JP-A-2-15223 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G02B 7/00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】それぞれ複数の光電素子からなる第1と第
2の受光部に対して光学的に視差を有する光束を受光さ
せ、前記第1の受光部の各光電素子からの像信号と前記
第2の受光部の各光電素子からの像信号に基づいてずれ
量を演算するずれ演算手段を備えた焦点検出装置におい
て、 前記第1の受光部と第2の受光部からそれぞれ入力され
る像信号の間の特性を合わせるために第1のフィルタ処
理を行う第1フィルタ処理手段と、前記第1の受光部と
第2の受光部からそれぞれ入力される像信号の間の特性
を合わせるために前記第1のフィルタ処理とは異なる第
2のフィルタ処理を行う第2フィルタ処理手段とを含む
複数のフィルタ処理手段と、前記ずれ量の演算前に、前
記第1の受光部からの像信号と前記第2の受光部からの
像信号により決められる像信号間の関係に応じて、前記
複数のフィルタ処理手段のうちのどのフィルタ処理手段
を用いるかを決定する決定手段とを設け、該決定手段に
よる決定結果に応じたフィルタ処理が行われた像信号に
対するずれ演算を行うことを特徴とする焦点検出装置。
An optical signal having optical parallax is received by first and second light receiving portions each comprising a plurality of photoelectric elements, and an image signal from each of the photoelectric elements of the first light receiving section and the image signal from the first light receiving section. In a focus detection device provided with a shift calculating unit that calculates a shift amount based on an image signal from each photoelectric element of the second light receiving unit, the image input from the first light receiving unit and the image input from the second light receiving unit, respectively. First filter processing means for performing a first filter process for matching characteristics between signals, and matching characteristics between image signals respectively input from the first light receiving unit and the second light receiving unit. A plurality of filter processing units including a second filter processing unit that performs a second filter process different from the first filter process; and an image signal from the first light receiving unit before the calculation of the shift amount. According to the image signal from the second light receiving unit Determining means for determining which one of the plurality of filtering means is to be used in accordance with the determined relationship between image signals; and performing a filtering process in accordance with a result determined by the determining means. A focus detection device for calculating a shift with respect to a shifted image signal.
【請求項2】それぞれ複数の光電素子からなる第1と第
2の受光部に対して光学的に視差を有する光束を受光さ
せ、前記第1の受光部の各光電素子からの像信号と前記
第2の受光部の各光電素子からの像信号に基づいてずれ
量を演算するずれ演算手段を備えた焦点検出装置におい
て、 前記第1の受光部と第2の受光部からそれぞれ入力され
る像信号の間の特性を合わせるためにフィルタ処理を行
うフィルタ処理手段と、前記ずれ量の演算前に、前記第
1の受光部からの像信号と前記第2の受光部からの像信
号により決められる像信号間の関係に応じて、前記フィ
ルタ処理手段によるフィルタ処理を行わせるか否かを決
定する決定手段とを設け、該決定手段による決定結果に
応じてフィルタ処理が行われた像信号またはフィルタ処
理が行われない状態での像信号に対するずれ演算を行う
ことを特徴とする焦点検出装置。
2. A method according to claim 1, wherein the first and second light receiving sections each comprising a plurality of photoelectric elements receive a light beam having an optical parallax, and an image signal from each of the photoelectric elements of the first light receiving section and the image signal. In a focus detection device provided with a shift calculating unit that calculates a shift amount based on an image signal from each photoelectric element of the second light receiving unit, the image input from the first light receiving unit and the image input from the second light receiving unit, respectively. Filter processing means for performing filter processing for matching characteristics between signals, and, before calculating the shift amount, determined by an image signal from the first light receiving unit and an image signal from the second light receiving unit. Determining means for determining whether or not to perform the filtering by the filtering means in accordance with the relationship between the image signals, wherein the image signal or the filter which has been subjected to the filtering in accordance with the determination result by the determining means is provided. No action is taken A focus detection device for calculating a shift with respect to an image signal in an inoperative state.
JP63143411A 1988-06-10 1988-06-10 Focus detection device Expired - Lifetime JP2762463B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63143411A JP2762463B2 (en) 1988-06-10 1988-06-10 Focus detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63143411A JP2762463B2 (en) 1988-06-10 1988-06-10 Focus detection device

Publications (2)

Publication Number Publication Date
JPH021808A JPH021808A (en) 1990-01-08
JP2762463B2 true JP2762463B2 (en) 1998-06-04

Family

ID=15338147

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63143411A Expired - Lifetime JP2762463B2 (en) 1988-06-10 1988-06-10 Focus detection device

Country Status (1)

Country Link
JP (1) JP2762463B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3336360B2 (en) * 1992-09-04 2002-10-21 株式会社ニコン Focus detection device
KR100799373B1 (en) * 2007-09-28 2008-02-01 대선주조 주식회사 Preparing method of soju made by dilution of spirit with mild and fine taste by sound vibration aging process
JP5106143B2 (en) * 2008-01-21 2012-12-26 キヤノン株式会社 Automatic focus adjustment device and automatic focus adjustment method thereof
JP5536959B2 (en) * 2011-08-30 2014-07-02 富士フイルム株式会社 Imaging apparatus, imaging method, and program
JP6335589B2 (en) 2014-03-31 2018-05-30 キヤノン株式会社 Distance detection device, imaging device, distance detection method, and parallax amount detection device
JP6512989B2 (en) * 2015-08-04 2019-05-15 キヤノン株式会社 Focus detection apparatus and method, and imaging apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5852607A (en) * 1981-09-24 1983-03-28 Nippon Kogaku Kk <Nikon> Automatic focusing device

Also Published As

Publication number Publication date
JPH021808A (en) 1990-01-08

Similar Documents

Publication Publication Date Title
US4562346A (en) Apparatus and method for detecting focus condition of imaging optical system employing both sharpness detection and lateral shift detection
JPH08248303A (en) Focus detector
JPS6355043B2 (en)
US5485209A (en) Pupil divisional type focusing position detection apparatus for electronic cameras
JP2762463B2 (en) Focus detection device
JPS6029716A (en) Signal processing method of focus detector
JPH0328691B2 (en)
JP3444551B2 (en) Camera focus detection device
JPS60262004A (en) Apparatus for photoelectrical detection of image displacement
JPH0328690B2 (en)
JPH06250078A (en) Detecting device for focused state or distance of object
EP0298725A2 (en) Focus detecting apparatus for camera
JP2003344754A (en) Range-finding device
JP2753544B2 (en) Focus detection device
EP0387088A2 (en) Focus detection apparatus
JP2008299048A (en) Accumulation control device, focal point detecting device and imaging device
JP2707569B2 (en) Focus detection device
JP2005128292A (en) Focus detector and camera
JPH085902A (en) Focus detecting device
JPH06103182B2 (en) Focus detection device
JP3678438B2 (en) Ranging device
JP3414500B2 (en) Focus detection device
JP2558377B2 (en) Focus detection device
JPH0561610B2 (en)
JPS6255641B2 (en)

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080327

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090327

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090327

Year of fee payment: 11