JP2002014277A - Focus detecting device, image pickup device, focus detecting method, and medium presenting processing program - Google Patents

Focus detecting device, image pickup device, focus detecting method, and medium presenting processing program

Info

Publication number
JP2002014277A
JP2002014277A JP2000196657A JP2000196657A JP2002014277A JP 2002014277 A JP2002014277 A JP 2002014277A JP 2000196657 A JP2000196657 A JP 2000196657A JP 2000196657 A JP2000196657 A JP 2000196657A JP 2002014277 A JP2002014277 A JP 2002014277A
Authority
JP
Japan
Prior art keywords
lens
images
focus detection
image
focus
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.)
Withdrawn
Application number
JP2000196657A
Other languages
Japanese (ja)
Inventor
Akihiko Nagano
明彦 長野
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 JP2000196657A priority Critical patent/JP2002014277A/en
Publication of JP2002014277A publication Critical patent/JP2002014277A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Cameras In General (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)
  • Focusing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a focus detecting device, etc., capable of accurately detecting a focus, even in the case vignetting occurs in a focus detecting luminous flux. SOLUTION: After performing a filter-processing of two images formed by light passing through different positions on the pupil of a photographic lens 1 (step S202), a 1st correlative calculation is performed (step S203). Besides, after correcting at least one of two images (step S206), a 2nd correlative calculation is performed for a corrected image signal based on the result of the 1st correlative calculation (step S207), the focus detection of the photographic lens 1 is performed based on the calculation result of the 2nd correlative calculation means (step S208).

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタルスチルカ
メラ等において、レンズの瞳の異なる位置を通過した光
により生成された2つの像に基づいて、前記レンズの焦
点検出を行う焦点検出装置等に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a focus detection device for detecting the focus of a digital still camera or the like based on two images generated by light passing through different positions of a pupil of a lens. .

【0002】[0002]

【従来の技術】従来、カメラに採用されている焦点検出
方式には、レンズシャッターカメラに用いられている三
角測距方式、ビデオカメラに用いられているコントラス
ト検出方式、一眼レフカメラに用いられている瞳分割方
式等がある。
2. Description of the Related Art Conventionally, focus detection methods used in cameras include a triangulation method used in a lens shutter camera, a contrast detection method used in a video camera, and a single-lens reflex camera. Pupil division method.

【0003】三角測距方式は、特公昭47−23929
号公報に開示されているように、被写体に赤外光を投射
し被写体からの反射光を投射光とは異なる位置にある受
光レンズを介してPSD等のセンサで受光して、その受
光位置から被写体距離を検出するものである。また、コ
ントラスト検出方式は、特公昭39−5265号公報に
開示されているように、撮影レンズの駆動に伴う、イメ
ージセンサで撮像された画像のコントラストの変化を検
出して焦点検出を行うものである。
[0003] The triangulation method is disclosed in JP-B-47-23929.
As disclosed in Japanese Unexamined Patent Application Publication No. H11-75, an infrared light is projected onto a subject, and reflected light from the subject is received by a sensor such as a PSD through a light receiving lens located at a position different from the projected light, and from the light receiving position. The object distance is detected. Further, as disclosed in Japanese Patent Publication No. 39-5265, the contrast detection method detects focus by detecting a change in contrast of an image captured by an image sensor due to driving of a photographing lens. is there.

【0004】しかしながら、三角測距方式をデジタルス
チルカメラに適用する場合、測距光学系と撮像光学系と
が異なるため、測距光学系の像面と撮像光学系の像面と
を合わせ込まなければならないという欠点がある。ま
た、コントラスト検出方式は、撮影レンズを動かしなが
らイメージセンサにて撮像された画像のコントラストを
検出してその変化量から焦点状態を検出しているため、
例えば焦点状態から大きく離れた状態においては、焦点
検出に時間がかかるばかりか、動いている被写体に対し
ては焦点検出ができないという欠点がある。
However, when the triangulation method is applied to a digital still camera, since the distance measuring optical system and the image pickup optical system are different, the image plane of the distance measurement optical system and the image plane of the image pickup optical system must be matched. There is a disadvantage that it must be done. Also, the contrast detection method detects the contrast of the image captured by the image sensor while moving the photographing lens and detects the focus state from the amount of change,
For example, in a state far away from the focus state, there is a drawback that not only does it take time to detect the focus, but also that the focus cannot be detected for a moving subject.

【0005】そこで、これらの欠点の改良を図るものと
して、イメージセンサを用いた瞳分割方式の焦点検出装
置が、特開平7−318793号公報に開示されている
(第1の従来例)。この瞳分割方式の焦点検出装置は、
大ボケ状態であっても1回の測定でデフォーカス量が検
出できるため、高速な焦点調節が可能となり、有望な方
法であるが、焦点検出光束にケラレ(焦点検出光束の集
光不良)が生じた場合に、焦点検出光束により生成され
た像信号に基づいた相関演算ができなくなり焦点検出が
できなくなる虞れがある。
In order to improve these disadvantages, a pupil division type focus detection device using an image sensor is disclosed in Japanese Patent Application Laid-Open No. 7-318793 (first conventional example). This pupil division type focus detection device
Even in a large blur state, since the defocus amount can be detected by one measurement, high-speed focus adjustment is possible. This is a promising method, but vignetting (defective focusing of the focus detection light beam) occurs in the focus detection light beam. When this occurs, there is a possibility that correlation calculation based on the image signal generated by the focus detection light beam cannot be performed and focus detection cannot be performed.

【0006】図8は、撮影レンズの光軸外に集光する焦
点検出光束にケラレが発生した様子を示した図である。
FIG. 8 is a view showing a state in which vignetting occurs in a focus detection light beam condensed outside the optical axis of the photographing lens.

【0007】図中31は、撮影レンズの射出瞳であり、
瞳を分割するA領域とB領域の光束により生成される像
に基づいて相関演算が行われるが、B領域を通過する光
束は像面30に近いレンズ外形32によって制限され
る。一方、A領域を通過する光束は像面30から遠い被
写体側のレンズ外形33によって制限される。このと
き、B領域を通過する焦点検出光束がA領域を通過する
焦点検出光束よりも少ないため、相関演算を行うための
像信号にアンバランスが生じて相関演算ができなくなっ
てしまう。
In the drawing, reference numeral 31 denotes an exit pupil of the photographing lens.
Correlation calculation is performed based on an image generated by the light beams in the A region and the B region that divide the pupil. The light beam passing through the B region is restricted by the lens outer shape 32 close to the image plane 30. On the other hand, the luminous flux passing through the area A is limited by the lens outer shape 33 on the subject side far from the image plane 30. At this time, since the focus detection light flux passing through the area B is smaller than the focus detection light flux passing through the area A, an imbalance occurs in the image signal for performing the correlation calculation, and the correlation calculation cannot be performed.

【0008】そこで、同公報においては焦点検出光束に
ケラレが発生した場合の電気信号処理方法が開示されて
おり、焦点検出光束にケラレが発生した場合に生じる低
周波の信号成分を排除するために、検出された電気信号
に高周波成分だけを通すハイパスフィルタ処理を行って
焦点検出を行っている。
In view of the above, this publication discloses an electric signal processing method when vignetting occurs in the focus detection light beam. In order to eliminate low-frequency signal components generated when vignetting occurs in the focus detection light beam. The focus detection is performed by performing a high-pass filter process that passes only a high-frequency component to the detected electric signal.

【0009】また、瞳分割された焦点検出光束にケラレ
が発生した場合の像信号の処理方法に関して、特開平5
−127074号公報に開示されるものがある(第2の
従来例)。同公報においては、焦点検出光束にケラレが
生じた場合に、検出された像信号を撮影レンズの開放F
ナンバや射出瞳位置等の情報に基づいて、フィルタ処理
を行うフィルタを決定した後、このフィルタでフィルタ
処理を行って焦点検出を行っている。
Further, regarding a method of processing an image signal when vignetting occurs in a pupil-divided focus detection light beam, see Japanese Unexamined Patent Application Publication No.
Japanese Unexamined Patent Publication No. 127074 discloses a second conventional example. In the publication, when vignetting occurs in a focus detection light beam, a detected image signal is transmitted to an opening F of the taking lens.
After a filter to be subjected to filter processing is determined based on information such as a number and an exit pupil position, focus detection is performed by performing filter processing with this filter.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、上記第
1の従来例(特開平7−318793号公報)における
焦点検出光束のケラレ対策は、イメージセンサにて検出
された電気信号の低周波成分を排除しているため、人物
の顔のような低周波成分を有する被写体に対しては焦点
検出能力が低い、という問題があった。
However, in the first conventional example (Japanese Patent Laid-Open No. Hei 7-318793), the vignetting of the focus detection light beam is reduced by eliminating the low frequency component of the electric signal detected by the image sensor. Therefore, there is a problem that the focus detection ability is low for a subject having a low frequency component such as a human face.

【0011】また、上記第2の従来例(特開平5−12
7074号公報)に開示された焦点検出装置の焦点検出
光束のケラレ対策は、撮影レンズの開放Fナンバと射出
瞳位置等に基づいて、像信号を処理するフィルタを決定
することによって行っているが、射出瞳位置が大きく変
化する高倍率ズームレンズ等においては最適なフィルタ
を決定することができない、という問題があった。
The second conventional example (Japanese Patent Laid-Open No. 5-12 / 1993)
Japanese Patent Application Laid-Open No. 7074) measures the vignetting of a focus detection light beam of a focus detection device by determining a filter for processing an image signal based on an open F number of a photographing lens, an exit pupil position, and the like. In addition, there is a problem that an optimum filter cannot be determined in a high-magnification zoom lens or the like in which an exit pupil position changes greatly.

【0012】本発明は上記従来の問題点に鑑み、焦点検
出光束にケラレが発生しても良好な焦点検出を行うこと
ができる焦点検出装置等を提供することを目的とする。
An object of the present invention is to provide a focus detection apparatus and the like that can perform good focus detection even if vignetting occurs in a focus detection light beam in view of the above-mentioned conventional problems.

【0013】[0013]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の発明に係る焦点検出装置では、レン
ズの瞳の異なる位置を通過した光により生成された2つ
の像を比較する比較手段と、前記比較手段の比較結果に
基づいて、前記2つの像のうちの少なくとも一方の像を
補正する補正手段と、前記補正手段で補正された像信号
に対して相関演算を行って前記レンズの焦点検出を行う
焦点検出手段とを備えたことを特徴とする。
In order to achieve the above object, a focus detection apparatus according to the first aspect of the present invention compares two images generated by light passing through different positions of a pupil of a lens. A comparison unit, a correction unit that corrects at least one of the two images based on a comparison result of the comparison unit, and a correlation operation performed on the image signal corrected by the correction unit. And a focus detecting means for detecting the focus of the lens.

【0014】請求項2記載の発明に係る焦点検出装置で
は、請求項1に記載の焦点検出装置の前記比較手段は、
前記2つの像をそれぞれ差分処理しその値を比較するこ
とを特徴とする。
According to a second aspect of the present invention, in the focus detecting apparatus according to the first aspect, the comparing means includes:
The difference processing is performed on each of the two images, and the values are compared.

【0015】請求項3記載の発明に係る焦点検出装置で
は、レンズの瞳の異なる位置を通過した光により生成さ
れた2つの像に対してフィルタ処理を行うフィルタ手段
と、前記フィルタ手段でフィルタ処理された2つの処理
信号の相関演算を行う第1の相関演算手段と、前記2つ
の像のうちの少なくとも一方の像を補正する補正手段
と、前記第1の相関演算手段の演算結果に基づいて、前
記補正手段による補正後の像信号の相関演算を行う第2
の相関演算手段と、前記第2の相関演算手段の演算結果
に基づいて前記レンズの焦点検出を行う焦点検出手段と
を備えたことを特徴とする。
According to a third aspect of the present invention, there is provided a focus detection apparatus, wherein filter means for filtering two images generated by light passing through different positions of the pupil of the lens, and filter processing by the filter means. A first correlation operation unit for performing a correlation operation on the two processed signals, a correction unit for correcting at least one of the two images, and a correction operation unit based on a calculation result of the first correlation operation unit. A second operation for performing a correlation operation of the image signal corrected by the correction unit.
And focus detection means for detecting the focus of the lens based on the calculation result of the second correlation calculation means.

【0016】請求項4記載の発明に係る撮像装置では、
請求項1乃至請求項3記載の焦点検出装置を有すること
を特徴とする。
[0016] In the image pickup apparatus according to the fourth aspect of the present invention,
A focus detection device according to any one of claims 1 to 3 is provided.

【0017】請求項5記載の発明に係る焦点検出方法で
は、レンズの瞳の異なる位置を通過した光により生成さ
れた2つの像を比較する比較行程と、前記比較行程の比
較結果に基づいて、前記2つの像のうちの少なくとも一
方の像を補正する補正行程と、前記補正行程で補正され
た像信号に対して相関演算を行って前記レンズの焦点検
出を行う焦点検出行程とを実行することを特徴とする。
According to a fifth aspect of the present invention, in the focus detection method, a comparison step of comparing two images generated by light passing through different positions of the pupil of the lens, and a comparison result of the comparison step, Performing a correction step of correcting at least one of the two images and a focus detection step of performing a correlation operation on the image signal corrected in the correction step to detect a focus of the lens; It is characterized by.

【0018】請求項6記載の発明に係る焦点検出方法で
は、請求項5に記載の焦点検出方法の前記比較行程は、
前記2つの像をそれぞれ差分処理しその値を比較するこ
とを特徴とする。
According to a sixth aspect of the present invention, in the focus detecting method according to the fifth aspect, the comparing step includes:
The difference processing is performed on each of the two images, and the values are compared.

【0019】請求項7記載の発明に係る焦点検出方法で
は、レンズの瞳の異なる位置を通過した光により生成さ
れた2つの像に対してフィルタ処理を行うフィルタ行程
と、前記フィルタ行程でフィルタ処理された2つの処理
信号の相関演算を行う第1の相関演算行程と、前記2つ
の像のうちの少なくとも一方の像を補正する補正行程
と、前記第1の相関演算行程の演算結果に基づいて、前
記補正行程による補正後の像信号の相関演算を行う第2
の相関演算行程と、前記第2の相関演算行程の演算結果
に基づいて前記レンズの焦点検出を行う焦点検出行程と
を実行することを特徴とする。
According to a seventh aspect of the present invention, there is provided a focus detecting method for performing a filtering process on two images generated by light passing through different positions of a pupil of a lens; A first correlation calculation step of performing a correlation calculation of the two processed signals, a correction step of correcting at least one of the two images, and a calculation result of the first correlation calculation step. A second calculation for performing a correlation operation of the image signal corrected by the correction process.
And a focus detection step of detecting the focus of the lens based on the calculation result of the second correlation calculation step.

【0020】請求項8記載の発明に係る処理プログラム
を提供する媒体では、レンズの瞳の異なる位置を通過し
た光により生成された2つの像を比較し、その比較結果
に基づいて前記2つの像のうちの少なくとも一方の像を
補正し、補正された像信号に対して相関演算を行って前
記レンズの焦点検出を行う内容を有することを特徴とす
る。
In a medium for providing a processing program according to the present invention, two images generated by light passing through different positions of a pupil of a lens are compared, and the two images are compared based on the comparison result. Wherein at least one of the images is corrected, a correlation operation is performed on the corrected image signal, and focus detection of the lens is performed.

【0021】請求項9記載の発明に係る処理プログラム
を提供する媒体では、請求項8に記載の処理プログラム
を提供する媒体前記2つの像の比較は、前記2つの像を
それぞれ差分処理しその値を比較することを特徴とす
る。
According to a ninth aspect of the present invention, there is provided a medium for providing a processing program according to the eighth aspect of the present invention, wherein the two images are compared by performing a difference process on each of the two images. Are compared.

【0022】請求項10記載の発明に係る処理プログラ
ムを提供する媒体では、レンズの瞳の異なる位置を通過
した光により生成された2つの像に対してフィルタ処理
を行った後に第1の相関演算を行い、前記2つの像のう
ちの少なくとも一方の像を補正した後、前記第1の相関
演算の結果に基づいて補正後の像信号に対して第2の相
関演算を行い、第2の相関演算手段の演算結果に基づい
て前記レンズの焦点検出を行う内容を有することを特徴
とする。
According to a tenth aspect of the present invention, in the medium for providing a processing program, a first correlation operation is performed after performing a filtering process on two images generated by light passing through different positions of a pupil of a lens. After correcting at least one of the two images, a second correlation operation is performed on the corrected image signal based on the result of the first correlation operation, and a second correlation operation is performed. It is characterized in that it has the content of detecting the focus of the lens based on the calculation result of the calculation means.

【0023】[0023]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0024】図1は、本発明の実施形態に係る瞳分割方
式の焦点検出装置を有するデジタルスチルカメラの構成
図である。
FIG. 1 is a configuration diagram of a digital still camera having a pupil division type focus detection device according to an embodiment of the present invention.

【0025】同図に示すように、このデジタルスチルカ
メラは、被写体を撮影するための撮影レンズ1(レンズ
1a及びレンズ1bにて構成)と、絞り2及び撮影レン
ズ1の焦点状態を調節するための撮影レンズ駆動機構2
6と、撮影レンズ1を透過した被写体光を受光するイメ
ージセンサ10と、このイメージセンサ10を駆動制御
するイメージセンサ制御回路21と、イメージセンサ1
0にて撮像した画像信号を画像処理する画像処理回路2
4と、撮像された画像を表示するための液晶表示素子9
と、この液晶表示素子9を駆動する液晶表示素子駆動回
路25と、液晶表示素子9に表示された被写体像を観察
するための接眼レンズ3と、イメージセンサ10にて撮
像された画像を記録するメモリ回路22と、画像処理回
路24にて画像処理された画像をカメラ外部に出力する
ためのインターフェース回路23と、カメラ全体を制御
するCPU20と、撮影者が撮影された画像を記録する
ための操作スイッチSW2とで構成されている。
As shown in FIG. 1, this digital still camera is used to adjust the focus state of a photographic lens 1 (consisting of a lens 1a and a lens 1b) for photographing a subject and an aperture 2 and a photographic lens 1. Shooting lens drive mechanism 2
6, an image sensor 10 for receiving subject light transmitted through the photographing lens 1, an image sensor control circuit 21 for driving and controlling the image sensor 10, and an image sensor 1
Image processing circuit 2 for image processing the image signal captured at 0
4 and a liquid crystal display element 9 for displaying a captured image
A liquid crystal display element driving circuit 25 for driving the liquid crystal display element 9, an eyepiece 3 for observing a subject image displayed on the liquid crystal display element 9, and an image captured by the image sensor 10. A memory circuit 22, an interface circuit 23 for outputting an image processed by the image processing circuit 24 to the outside of the camera, a CPU 20 for controlling the entire camera, and an operation for recording a photographed image by a photographer And a switch SW2.

【0026】撮影レンズ1は、便宜上2枚のレンズで図
示しているが、実際は多数枚のレンズで構成されてい
る。また、本発明の焦点検出装置の構成要素の1つであ
るイメージセンサは、デジタルスチルカメラのイメージ
センサ10と兼用するものとする。
Although the photographing lens 1 is shown with two lenses for convenience, it is actually composed of a large number of lenses. An image sensor, which is one of the components of the focus detection device of the present invention, is also used as the image sensor 10 of the digital still camera.

【0027】以下、焦点検出装置の焦点検出方法を図2
を参照して説明する。図2は、図1に示したカメラの焦
点検出光学系の説明図である。
The focus detection method of the focus detection apparatus will be described below with reference to FIG.
This will be described with reference to FIG. FIG. 2 is an explanatory diagram of a focus detection optical system of the camera shown in FIG.

【0028】撮影レンズ1の予定結像面にイメージセン
サ10が配置されている。図中のイメージセンサ10
は、便宜上3画素しか表示してないが、実際は数百万画
素から構成されている。イメージセンサ10の各画素に
は、マイクロレンズ11が形成されており、撮影レンズ
1を透過した被写体光の全てを効率よくイメージセンサ
10の受光部13に集光するようになっている。
An image sensor 10 is arranged on a predetermined imaging plane of the taking lens 1. Image sensor 10 in FIG.
Although only three pixels are displayed for convenience, it is actually composed of several million pixels. A micro lens 11 is formed in each pixel of the image sensor 10 so that all of the subject light transmitted through the photographing lens 1 is efficiently condensed on the light receiving unit 13 of the image sensor 10.

【0029】マイクロレンズ11は、撮影レンズ1の瞳
とイメージセンサ10の受光部13とが共役となるよう
に設計されている。また、マイクロレンズ11と受光部
13との間にはカラーフィルタ12が形成されていて、
イメージセンサ10はカラー画像を再生できるようにな
っている。
The micro lens 11 is designed so that the pupil of the taking lens 1 and the light receiving section 13 of the image sensor 10 are conjugate. A color filter 12 is formed between the microlens 11 and the light receiving unit 13,
The image sensor 10 can reproduce a color image.

【0030】イメージセンサ10の1画素には、1つの
マイクロレンズ11及びカラーフィルタ12に対して2
つの受光部13a、13bが形成されている。ここで、
イメージセンサ10は、例えば特開平9−46596号
公報に開示されているCMOSセンサで構成され、1画
素内に2つの受光部(光電変換部)13a、13bと、
その受光部13a、13b間に不図示の1つのフローテ
ィングディフュージョン部とを有している。さらに、各
受光部13a,13bとフローティングディフュージョ
ン部との間には、不図示の転送スイッチであるMOSト
ランジスタが設けられ、各受光部13で発生した電荷を
フローティングディフュージョン部に選択的に転送可能
に構成されている。
One pixel of the image sensor 10 has one microlens 11 and two color filters 12
One light receiving portion 13a, 13b is formed. here,
The image sensor 10 includes, for example, a CMOS sensor disclosed in Japanese Patent Application Laid-Open No. 9-46596, and includes two light receiving units (photoelectric conversion units) 13a and 13b in one pixel.
One floating diffusion unit (not shown) is provided between the light receiving units 13a and 13b. Further, a MOS transistor, which is a transfer switch (not shown), is provided between each of the light receiving sections 13a and 13b and the floating diffusion section, so that electric charges generated in each of the light receiving sections 13 can be selectively transferred to the floating diffusion section. It is configured.

【0031】また、1画素中の図中上側の受光部13a
は、マイクロレンズ11を介して、撮影レンズ1の瞳近
傍に配置されているレンズ1aの下側の瞳からの光束を
受光するようになっており、一方、図中下側の受光部1
3bは、マイクロレンズ11を介して、撮影レンズ1の
瞳近傍に配置されているレンズ1aの上側の瞳からの光
束を受光するようになっている。
The upper light receiving portion 13a in the drawing in one pixel
Is configured to receive a light beam from a lower pupil of a lens 1a disposed near a pupil of the photographing lens 1 via a microlens 11, while a lower light receiving unit 1 in FIG.
3b is configured to receive, via the microlens 11, a light beam from the upper pupil of the lens 1a arranged near the pupil of the taking lens 1.

【0032】このように焦点検出を行う場合は、イメー
ジセンサ10の受光部13a、13bにて発生した電荷
を個別にフローティングディフュージョン部に転送して
不図示のアンプを介してイメージセンサ制御回路21に
出力される。
When the focus detection is performed as described above, the electric charges generated in the light receiving sections 13a and 13b of the image sensor 10 are individually transferred to the floating diffusion section and transmitted to the image sensor control circuit 21 via an amplifier (not shown). Is output.

【0033】CPU20は、イメージセンサ制御回路2
1にてA/D変換された各受光部13a、13bの出力
信号に基づいて相関演算を行い、撮影レンズ1の焦点状
態を検出する。瞳分割方式の焦点検出方法は、特開平5
−127074号公報等に開示されているように公知の
技術である。
The CPU 20 includes an image sensor control circuit 2
A correlation operation is performed based on the output signals of the light receiving units 13a and 13b that have been A / D converted in step 1 to detect the focus state of the photographing lens 1. The focus detection method of the pupil division method is disclosed in
This is a known technique as disclosed in, for example, US Pat.

【0034】次に、図3のフローチャートに従ってカメ
ラの動作フローを説明する。なお、このフローチャート
に従ったプログラムをカメラ内の不図示の記憶装置に格
納し動作することにより、次の制御方法を実現させるこ
とが可能となる。
Next, the operation flow of the camera will be described with reference to the flowchart of FIG. The following control method can be realized by storing a program according to this flowchart in a storage device (not shown) in the camera and operating the program.

【0035】撮影者が、デジタルスチルカメラのメイン
スイッチ(不図示)をオンすると(ステップS10
0)、CPU20はイメージセンサ制御回路21に焦点
検出信号を送って、イメージセンサ10にて撮影レンズ
1の焦点状態を検出する(ステップS102)。撮影レ
ンズ1の焦点状態が検出されると(ステップS10
2)、CPU20はレンズ駆動機構26に算出されたデ
フォーカス量に基づいて、撮影レンズ1の焦点調節信号
を送って撮影レンズ1を所定の位置まで駆動して合焦状
態の設定をする(ステップS103)。
When the photographer turns on the main switch (not shown) of the digital still camera (step S10)
0), the CPU 20 sends a focus detection signal to the image sensor control circuit 21, and the image sensor 10 detects the focus state of the photographing lens 1 (step S102). When the focus state of the taking lens 1 is detected (step S10)
2) Based on the defocus amount calculated by the lens driving mechanism 26, the CPU 20 sends a focus adjustment signal of the photographing lens 1 to drive the photographing lens 1 to a predetermined position to set a focused state (step). S103).

【0036】撮影レンズ1を所定位置まで駆動し焦点調
節が終了すると、CPU20はイメージセンサ制御回路
21に撮像信号を送って、イメージセンサ10にて撮像
を行わせる(ステップS104)。このとき、イメージ
センサ10の受光部13a及び13bで発生した電荷
は、画素内部で加算された後、イメージセンサ制御回路
21に出力される。イメージセンサ10にて撮像された
画像信号は、イメージセンサ制御回路21にてA/D変
換された後に画像処理回路24にて画像処理が行われ
る。画像処理が行われた画像信号は、CPU20を介し
て液晶表示素子駆動回路25に送られ液晶表示素子9に
表示される(ステップS105)。撮影者は、接眼レン
ズ3を通して液晶表示素子9に表示された被写体像を観
察することが可能となる。
When the focus adjustment is completed by driving the photographing lens 1 to a predetermined position, the CPU 20 sends an image pickup signal to the image sensor control circuit 21 to cause the image sensor 10 to pick up an image (step S104). At this time, the electric charges generated in the light receiving portions 13a and 13b of the image sensor 10 are added to the inside of the pixel and then output to the image sensor control circuit 21. An image signal captured by the image sensor 10 is subjected to A / D conversion by the image sensor control circuit 21 and then subjected to image processing by the image processing circuit 24. The image signal on which the image processing has been performed is sent to the liquid crystal display element driving circuit 25 via the CPU 20 and displayed on the liquid crystal display element 9 (step S105). The photographer can observe the subject image displayed on the liquid crystal display element 9 through the eyepiece 3.

【0037】さらに、CPU20は撮像画像を記録する
ための操作スイッチSW2の状態を確認する(ステップ
S106)。撮影者が操作スイッチSW2を操作してい
なければ(ステップS106)、引き続きCPU20は
メインスイッチの状態を確認する(ステップS10
1)。一方、撮影者が被写体を撮影しようとして操作ス
イッチSW2を押したら(ステップS106)、CPU
20はイメージセンサ制御回路21に撮像信号を送って
イメージセンサ10にて本撮像を行う(ステップS10
7)。イメージセンサ制御回路21によってA/D変換
された画像信号は、画像処理回路24にて画像処理され
た後、液晶表示素子駆動回路25に送られ液晶表示素子
9に表示される(ステップS108)。同時にCPU2
0は画像信号をメモリ回路22に記録する(ステップS
109)。メモリ回路22に記録された画像信号は、イ
ンターフェース回路23を介してカメラ外部に出力する
ことが可能となっている。
Further, the CPU 20 checks the state of the operation switch SW2 for recording a captured image (step S106). If the photographer has not operated the operation switch SW2 (step S106), the CPU 20 subsequently checks the state of the main switch (step S10).
1). On the other hand, if the photographer presses the operation switch SW2 to photograph the subject (step S106), the CPU
Numeral 20 sends an image pickup signal to the image sensor control circuit 21 to perform main image pickup by the image sensor 10 (step S10).
7). The image signal subjected to A / D conversion by the image sensor control circuit 21 is subjected to image processing by the image processing circuit 24, and then sent to the liquid crystal display element driving circuit 25 to be displayed on the liquid crystal display element 9 (step S108). At the same time CPU2
0 records the image signal in the memory circuit 22 (step S
109). The image signal recorded in the memory circuit 22 can be output to the outside of the camera via the interface circuit 23.

【0038】撮影動作が終了し、撮影者がメインスイッ
チをオフすると(ステップS101)、カメラの電源が
落ちて待機状態となる(ステップS110)。
When the photographing operation is completed and the photographer turns off the main switch (step S101), the power of the camera is turned off and the camera enters a standby state (step S110).

【0039】図4は、図3に示した焦点検出処理(ステ
ップS102)を示すフローチャートであり、図5は、
本実施形態に係る焦点検出光学系の光路図である。
FIG. 4 is a flowchart showing the focus detection processing (step S102) shown in FIG. 3, and FIG.
FIG. 2 is an optical path diagram of a focus detection optical system according to the embodiment.

【0040】撮影レンズ1の予定結像面に配置されたイ
メージセンサ10の受光部の内、撮影レンズ1の図5中
下側の瞳を透過した光束が集光する受光部(受光部13
aはその一部)の出力は、イメージセンサ制御回路21
にてA/D変換された後、CPU20へ出力される。同
様に、撮影レンズ1の図5中上側の瞳を透過した光束が
集光する受光部(受光部13bはその一部)の出力は、
イメージセンサ制御回路21にてA/D変換された後、
CPU20へ出力される。
The light receiving portion (light receiving portion 13) of the light receiving portion of the image sensor 10 arranged on the predetermined image forming plane of the photographing lens 1 collects the light flux transmitted through the lower pupil in FIG.
a is a part thereof) is output from the image sensor control circuit 21.
After the A / D conversion, is output to the CPU 20. Similarly, the output of the light receiving unit (a part of the light receiving unit 13b) of the photographing lens 1 where the light flux transmitted through the upper pupil in FIG.
After A / D conversion by the image sensor control circuit 21,
Output to CPU 20.

【0041】CPU20は、同一のカラーフィルタを有
した各受光部より出力された焦点検出信号より、撮影レ
ンズ1の下側の瞳を透過した焦点検出光束による被写体
像であるA像を生成し、同様に撮影レンズ1の上側の瞳
を透過した焦点検出光束による被写体像であるB像を生
成する(ステップS201)。
The CPU 20 generates an A image as a subject image by a focus detection light beam transmitted through the lower pupil of the photographing lens 1 from the focus detection signals output from the respective light receiving units having the same color filter, Similarly, a B image as a subject image is generated by a focus detection light beam transmitted through the upper pupil of the photographing lens 1 (step S201).

【0042】ところで、図5に示すように撮影レンズ1
を構成するレンズ1bがイメージセンサ10側に繰り込
まれた場合、撮影レンズ1の上側の瞳を通過する焦点検
出光束の一部に、撮影レンズ1のイメージセンサ10に
近いレンズ1bの外形でケラレが発生するため、焦点検
出光束により生成される像の強度が変化する。
By the way, as shown in FIG.
When the lens 1b constituting the lens 1b is retracted toward the image sensor 10, a part of the focus detection light beam passing through the upper pupil of the photographing lens 1 is vignetted by the outer shape of the lens 1b near the image sensor 10 of the photographing lens 1. Occurs, the intensity of the image generated by the focus detection light beam changes.

【0043】図6(a),(b)は、焦点検出光束によ
り生成された被写体像出力を示すグラフであり、同図に
示すように、焦点検出光束にケラレがないA像の信号出
力fa(x)(図6(a))に対して、焦点検出光束の
一部にケラレが生じているB像の信号出力fb(x)
(図6(b))は、ある値δfだけ低く出力される。そ
のため、これら2像を用いて相関演算を行っても2像の
一致度が低いため、2像の像ずれ量は精度良く算出され
ず焦点検出はできない。
FIGS. 6A and 6B are graphs showing the object image output generated by the focus detection light beam. As shown in FIG. 6, the signal output fa of the A image having no vignetting in the focus detection light beam. (X) (FIG. 6 (a)), the signal output fb (x) of the B image in which vignetting occurs in a part of the focus detection light flux
(FIG. 6B) is output lower by a certain value δf. Therefore, even when a correlation operation is performed using these two images, the degree of coincidence between the two images is low, and thus the image shift amount of the two images is not accurately calculated and focus detection cannot be performed.

【0044】そこで、CPU20は、焦点検出光束によ
り生成された被写体像であるA像並びにB像に対して、
差分によるフィルタ処理を行い、各像に含まれる低周波
成分の排除を行う(ステップS202)。図7(a),
(b)は、差分信号の出力を示すグラフであり、同図
(a)はA像の差分信号出力fa’(x)であり、同図
(b)はB像の差分信号出力fb’(x)を表してい
る。
Therefore, the CPU 20 applies the A image and the B image, which are the subject images generated by the focus detection light beam, to the
A filtering process based on the difference is performed to eliminate low frequency components included in each image (step S202). FIG. 7 (a),
(B) is a graph showing the output of the difference signal, (a) is the difference signal output fa '(x) of the A image, and (b) is the difference signal output fb' (b) of the B image. x).

【0045】さらに、CPU20は、A像の差分信号出
力fa’(x)とB像の差分信号出力fb’(x)を用
いて相関演算を行う(ステップS203)。このとき、
焦点検出光束による生成像のうち光束のケラレによる低
周波成分δfは排除されているため、A像の差分信号出
力fa’(x)とB像の差分信号出力fb’(x)との
一致度が良好であり、2像の差分出力の像ずれ量Δx1
が精度良く算出される。
Further, the CPU 20 performs a correlation operation using the difference signal output fa '(x) of the A image and the difference signal output fb' (x) of the B image (step S203). At this time,
Since the low-frequency component δf due to vignetting of the light beam is excluded from the image generated by the focus detection light beam, the degree of coincidence between the difference signal output fa ′ (x) of the A image and the difference signal output fb ′ (x) of the B image. Is good, and the image shift amount Δx1 of the differential output of the two images
Is calculated with high accuracy.

【0046】A像の差分信号出力fa’(x)とB像の
差分信号出力fb’(x)の像ずれ量Δx1が算出され
ると(ステップS203)、CPU20は、A像信号出
力fa(x)の極値xa1、xa2、xa3、xa4と
B像信号出力fb’(x)の極値xb1、xb2、xb
3を検出する(ステップS204)。ここで、先に求め
た2像の差分信号出力の像ずれ量Δx1より、2像の極
値の対応づけを行う。具体的には、B像の極値に像ずれ
量Δx1を加えた座標とほぼ一致するA像の極値を探し
出す。
When the image shift amount Δx1 between the difference signal output fa ′ (x) of the A image and the difference signal output fb ′ (x) of the B image is calculated (step S203), the CPU 20 outputs the A image signal output fa ( x) extreme values xa1, xa2, xa3, xa4 and B image signal output fb '(x) extreme values xb1, xb2, xb
3 is detected (step S204). Here, the extreme values of the two images are associated with each other based on the image shift amount Δx1 of the difference signal output of the two images obtained earlier. Specifically, an extreme value of the image A is searched for which substantially coincides with the coordinates obtained by adding the image shift amount Δx1 to the extreme value of the image B.

【0047】極値座標において、 xa2≒xb1+Δx1 xa3≒xb2+Δx1 xa4≒xb3+Δx1 の関係を満足することが明らかになると、CPU20
は、2像の対応する3組の極値座標の信号出力値を比較
して信号強度差δfを算出する(ステップS205)。
ここで、信号強度差δfを座標xの一次関数と仮定する
と、 δf(x)=a×x+b となる。ここで、aは比例係数、bは定数項であり、最
小二乗近似より、 a=(3×k1-k2×k3)/(3×k4-k22) b=(k3×k4-k1×k2)/(3×k4-k22) となる。ここで、 k1=xb1×(fa(xa2)-fb(xb1))+xb2×(fa(xa3)-fb(xb2))+x
b3×(fa(xa4)-fb(xb3)) k2=xb1+xb2+xb3 k3=fa(xa2)-fb(xb1)+fa(xa3)-fb(xb2)+fa(xa4)-fb(xb3) k4=xb12+xb22+xb32 である。ここで、図2に示すような焦点検出光束にケラ
レが発生しないような状態では、2像の信号強度差δf
はゼロとなる。
When it becomes clear that the relationship xa2 ≒ xb1 + Δx1 xa3 ≒ xb2 + Δx1 xa4 ≒ xb3 + Δx1 is satisfied in the extreme value coordinates, the CPU 20
Calculates the signal intensity difference δf by comparing the signal output values of the corresponding three extreme values of the two images (step S205).
Here, assuming that the signal intensity difference δf is a linear function of the coordinate x, δf (x) = a × x + b. Here, a is a proportional coefficient, and b is a constant term. From the least squares approximation, a = (3 × k1-k2 × k3) / (3 × k4-k2 2 ) b = (k3 × k4-k1 × k2 ) / (3 × k4-k2 2 ). Where k1 = xb1 × (fa (xa2) -fb (xb1)) + xb2 × (fa (xa3) -fb (xb2)) + x
b3 × (fa (xa4) -fb (xb3)) k2 = xb1 + xb2 + xb3 k3 = fa (xa2) -fb (xb1) + fa (xa3) -fb (xb2) + fa (xa4) -fb (xb3 ) it is a k4 = xb1 2 + xb2 2 + xb3 2. Here, in a state where no vignetting occurs in the focus detection light beam as shown in FIG. 2, the signal intensity difference δf between the two images
Becomes zero.

【0048】このようにして、2像の対応する3組の極
値座標の信号出力値を比較して信号強度差δfを算出す
ると(ステップS205)、CPU20は、算出された
信号強度差δfを用いてケラレが発生した焦点検出光束
による生成像であるB像の信号補正を行う(ステップS
206)。すなわち、B像の信号出力fb(x)は、 fb(x)←fb(x)+δf(x) と置き換えられる。ここで、最初に生成された像信号出
力fa(x)、fb(x)は、元々被写体の低周波成分
を含んでいるため、信号補正後のB像信号出力fb
(x)にも被写体の低周波成分は含まれている。
As described above, when the signal intensity difference δf is calculated by comparing the signal output values of the corresponding three sets of extreme coordinates of the two images (step S205), the CPU 20 calculates the signal intensity difference δf. To correct the signal of the B image, which is an image generated by the focus detection light beam with vignetting (Step S).
206). That is, the signal output fb (x) of the B image is replaced by fb (x) ← fb (x) + δf (x). Here, the initially generated image signal outputs fa (x) and fb (x) originally include the low-frequency component of the subject, and thus the B image signal output fb after signal correction is generated.
(X) also includes a low frequency component of the subject.

【0049】像信号の補正が終了すると(ステップS2
06)、CPU20は、A像信号出力fa(x)と補正
後のB像信号出力fb(x)の相関演算を行う(ステッ
プS207)。このとき、大まかな像ずれ量Δ1は先の
差分信号出力による相関演算時に求められているため、
各像の相関をとる上での初期のシフト量は像ずれ量Δ1
から求められ、演算時間を短縮することが可能である。
When the correction of the image signal is completed (step S2)
06), the CPU 20 performs a correlation operation between the A image signal output fa (x) and the corrected B image signal output fb (x) (step S207). At this time, since the rough image shift amount Δ1 is obtained at the time of the correlation calculation based on the output of the difference signal,
The initial shift amount in correlating each image is the image shift amount Δ1
And the calculation time can be reduced.

【0050】A像信号出力fa(x)と補正後のB像信
号出力fb(x)の相関演算を行って像ずれ量Δ2が算
出されると(ステップS207)、CPU20は、その
像ずれ量Δ2に基づいて撮影レンズ1のデフォーカス量
を算出する(ステップS208)。撮影レンズ1のデフ
ォーカス量が算出されると(ステップS208)、メイ
ンルーチンに復帰し、撮影レンズ1の焦点調節が行われ
る。
When the image shift amount Δ2 is calculated by performing a correlation operation between the A image signal output fa (x) and the corrected B image signal output fb (x) (step S207), the CPU 20 determines the image shift amount. The defocus amount of the photographing lens 1 is calculated based on Δ2 (step S208). When the defocus amount of the photographing lens 1 is calculated (step S208), the process returns to the main routine, and the focus of the photographing lens 1 is adjusted.

【0051】ところで、イメージセンサ10にて受光さ
れた焦点検出光束は、カラーフィルタ12を介している
ため、各カラーフィルタ毎に算出された撮影レンズ1の
デフォーカス量は平均されて使用される。
Since the focus detection light beam received by the image sensor 10 passes through the color filters 12, the defocus amounts of the photographing lens 1 calculated for each color filter are averaged and used.

【0052】このように本実施形態によれば、撮影レン
ズ1の瞳の異なる位置を通過した光により生成される2
つの像信号をフィルタ処理し、そのフィルタ処理した2
つの処理信号の第1の相関演算を行って、2つの像信号
のうちの少なくとも一方の像信号を補正する。そして、
前記第1の相関演算の結果に基づいて補正後の像信号の
第2の相関演算を行い、この演算の結果に基づいて撮影
レンズ1の焦点検出を行うようにしたので、ケラレが発
生した焦点検出光束により生成された像を容易に補正す
ることができ、焦点検出光束にケラレが発生しても短時
間に良好な焦点検出が可能である。
As described above, according to the present embodiment, 2 is generated by light passing through different positions of the pupil of the photographing lens 1.
Image signals are filtered, and the filtered 2
A first correlation operation of the two processed signals is performed to correct at least one of the two image signals. And
The second correlation calculation of the corrected image signal is performed based on the result of the first correlation calculation, and the focus of the photographing lens 1 is detected based on the result of the calculation. An image generated by the detection light beam can be easily corrected, and good focus detection can be performed in a short time even if vignetting occurs in the focus detection light beam.

【0053】なお、本実施形態においては、A像、B像
の信号強度差を算出する際、A像、B像の極値に注目し
て各像信号出力の比較計算を行ったが、任意の座標の信
号出力を比較して信号強度差を求めてもかまわない。
In the present embodiment, when calculating the signal intensity difference between the A image and the B image, the comparison calculation of each image signal output is performed while paying attention to the extreme values of the A image and the B image. May be compared to obtain a signal strength difference.

【0054】本発明は、上述した実施形態の装置に限定
されず、複数の機器から構成されるシステムに適用して
も、1つの機器から成る装置に適用してもよい。前述し
た実施形態の機能を実現するソフトウェアのプログラム
コードを記憶した記憶媒体をシステムあるいは装置に供
給し、そのシステムあるいは装置のコンピュータ(また
はCPUやMPU)が記憶媒体に格納されたプログラム
コードを読み出し実行することによっても、完成される
ことは言うまでもない。
The present invention is not limited to the apparatus of the above-described embodiment, and may be applied to a system including a plurality of devices or an apparatus including one device. A storage medium storing program codes of software for realizing the functions of the above-described embodiments is supplied to a system or an apparatus, and a computer (or CPU or MPU) of the system or apparatus reads out and executes the program code stored in the storage medium. It goes without saying that it will be completed by doing so.

【0055】この場合、記憶媒体から読み出されたプロ
グラムコード自体が前述した実施形態の機能を実現する
ことになり、そのプログラムコードを記憶した記憶媒体
は本発明を構成することになる。プログラムコードを供
給するための記憶媒体としては、例えば、フロッピー
(登録商標)ディスク、ハードディスク、光ディスク、
光磁気ディスク、CD−ROM、CD−R、磁気テー
プ、不揮発性のメモリカード、ROMを用いることがで
きる。また、コンピュータが読み出したプログラムコー
ドを実行することにより、前述した実施形態の機能が実
現されるだけではなく、そのプログラムコードの指示に
基づき、コンピュータ上で稼動しているOSなどが実際
の処理の一部または全部を行い、その処理によって前述
した実施形態の機能が実現される場合も含まれることは
言うまでもない。
In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, a hard disk, an optical disk,
A magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, and a ROM can be used. When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also the OS or the like running on the computer performs the actual processing based on the instruction of the program code. It goes without saying that a case where some or all of the operations are performed and the functions of the above-described embodiments are realized by the processing is also included.

【0056】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、次のプログラムコードの指
示に基づき、その拡張機能を拡張ボードや拡張ユニット
に備わるCPUなどが処理を行って実際の処理の一部ま
たは全部を行い、その処理によって前述した実施形態の
機能が実現される場合も含まれることは言うまでもな
い。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the program code is read based on the next program code. Needless to say, the extended function may be performed by a CPU or the like provided in an expansion board or an expansion unit to perform a part or all of the actual processing, and the processing may realize the functions of the above-described embodiments. No.

【0057】[0057]

【発明の効果】以上詳述したように、請求項1、請求項
5及び請求項8記載の発明によれば、レンズの瞳の異な
る位置を通過した光により生成された2つの像を比較
し、その比較結果に基づいて前記2つの像のうちの少な
くとも一方の像を補正し、補正された像信号に対して相
関演算を行って前記レンズの焦点検出を行うようにした
ので、焦点検出光束にケラレが発生しても常に良好な焦
点検出を行うことが可能である。例えば、人物の顔のよ
うな低周波成分を有する被写体に対しても、また高倍率
ズームレンズ等を使用する場合であっても、焦点検出能
力を高くすることができる。
As described above in detail, according to the first, fifth and eighth aspects of the present invention, two images generated by light passing through different positions of the pupil of the lens are compared. And correcting the focus of the lens by correcting at least one of the two images based on the comparison result and performing a correlation operation on the corrected image signal. Even if vignetting occurs, good focus detection can always be performed. For example, the focus detection ability can be increased even for a subject having a low frequency component such as a person's face and even when a high-magnification zoom lens or the like is used.

【0058】請求項2、請求項6及び請求項9記載の発
明によれば、2つの像をそれぞれ差分処理しその値を比
較するようにしたので、ケラレが発生した焦点検出光束
により生成された像を容易に補正することが可能であ
る。
According to the second, sixth and ninth aspects of the present invention, two images are subjected to difference processing and their values are compared with each other. Therefore, a focus detection light beam with vignetting is used. The image can be easily corrected.

【0059】請求項3、請求項7及び請求項10記載の
発明によれば、レンズの瞳の異なる位置を通過した光に
より生成された2つの像に対してフィルタ処理を行った
後に第1の相関演算を行い、前記2つの像のうちの少な
くとも一方の像を補正した後、前記第1の相関演算の結
果に基づいて補正後の像信号に対して第2の相関演算を
行うようにしたので、焦点検出光束にケラレが発生して
も短時間に良好な焦点検出を行うことが可能である。
According to the third, seventh and tenth aspects of the present invention, the first image after the filtering process is performed on two images generated by light passing through different positions of the pupil of the lens. After performing a correlation operation and correcting at least one of the two images, a second correlation operation is performed on the corrected image signal based on the result of the first correlation operation. Therefore, even if vignetting occurs in the focus detection light beam, good focus detection can be performed in a short time.

【0060】請求項4記載の発明によれば、請求項1乃
至請求項3記載の焦点検出装置を有するので、高品質の
撮像表示が可能である。
According to the fourth aspect of the present invention, since the focus detecting device according to the first to third aspects is provided, it is possible to perform high-quality image display.

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

【図1】本発明の実施形態に係る瞳分割方式の焦点検出
装置を有するデジタルスチルカメラの構成図である。
FIG. 1 is a configuration diagram of a digital still camera having a pupil division type focus detection device according to an embodiment of the present invention.

【図2】図1に示したカメラの焦点検出光学系の説明図
である。
FIG. 2 is an explanatory diagram of a focus detection optical system of the camera shown in FIG.

【図3】実施形態に係るカメラの動作を示すフローチャ
ートである。
FIG. 3 is a flowchart illustrating an operation of the camera according to the embodiment.

【図4】図3に示した焦点検出処理(ステップS10
2)を示すフローチャートである。
FIG. 4 is a focus detection process shown in FIG. 3 (step S10);
It is a flowchart which shows 2).

【図5】実施形態に係る焦点検出光学系の光路図であ
る。
FIG. 5 is an optical path diagram of a focus detection optical system according to the embodiment.

【図6】焦点検出光束により生成された被写体像出力を
示す図である。
FIG. 6 is a diagram showing a subject image output generated by a focus detection light beam.

【図7】差分信号の出力図である。FIG. 7 is an output diagram of a difference signal.

【図8】撮影レンズの光軸外に集光する焦点検出光束に
ケラレが発生した様子を示した図である。
FIG. 8 is a diagram illustrating a state in which vignetting occurs in a focus detection light beam condensed outside the optical axis of a photographing lens.

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

1 撮影レンズ 2 絞り 3 接眼レンズ 9 液晶表示素子 10 イメージセンサ 20 CPU 21 イメージセンサ制御回路 22 メモリ回路 23 インターフェース回路 24 画像処理回路 25 液晶表示素子駆動回路 26 レンズ駆動機構 DESCRIPTION OF SYMBOLS 1 Shooting lens 2 Aperture 3 Eyepiece 9 Liquid crystal display element 10 Image sensor 20 CPU 21 Image sensor control circuit 22 Memory circuit 23 Interface circuit 24 Image processing circuit 25 Liquid crystal display element drive circuit 26 Lens drive mechanism

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 レンズの瞳の異なる位置を通過した光に
より生成された2つの像を比較する比較手段と、 前記比較手段の比較結果に基づいて、前記2つの像のう
ちの少なくとも一方の像を補正する補正手段と、 前記補正手段で補正された像信号に対して相関演算を行
って前記レンズの焦点検出を行う焦点検出手段とを備え
たことを特徴とする焦点検出装置。
1. A comparing means for comparing two images generated by light passing through different positions of a pupil of a lens, and at least one of the two images based on a comparison result of the comparing means. And a focus detection unit that performs a correlation operation on the image signal corrected by the correction unit to detect a focus of the lens.
【請求項2】 前記比較手段は、前記2つの像をそれぞ
れ差分処理しその値を比較することを特徴とする請求項
1に記載の焦点検出装置。
2. The focus detecting apparatus according to claim 1, wherein said comparing means performs difference processing on each of the two images and compares the values.
【請求項3】 レンズの瞳の異なる位置を通過した光に
より生成された2つの像に対してフィルタ処理を行うフ
ィルタ手段と、 前記フィルタ手段でフィルタ処理された2つの処理信号
の相関演算を行う第1の相関演算手段と、 前記2つの像のうちの少なくとも一方の像を補正する補
正手段と、 前記第1の相関演算手段の演算結果に基づいて、前記補
正手段による補正後の像信号の相関演算を行う第2の相
関演算手段と、 前記第2の相関演算手段の演算結果に基づいて前記レン
ズの焦点検出を行う焦点検出手段とを備えたことを特徴
とする焦点検出装置。
3. Filter means for performing a filtering process on two images generated by light passing through different positions of a lens pupil, and performing a correlation operation between two processed signals filtered by the filtering means. A first correlation operation unit, a correction unit that corrects at least one of the two images, and an image signal corrected by the correction unit based on a calculation result of the first correlation operation unit. A focus detection device comprising: a second correlation calculation unit that performs a correlation calculation; and a focus detection unit that detects a focus of the lens based on a calculation result of the second correlation calculation unit.
【請求項4】 請求項1乃至請求項3記載の焦点検出装
置を有することを特徴とする撮像装置。
4. An imaging apparatus comprising the focus detection device according to claim 1.
【請求項5】 レンズの瞳の異なる位置を通過した光に
より生成された2つの像を比較する比較行程と、 前記比較行程の比較結果に基づいて、前記2つの像のう
ちの少なくとも一方の像を補正する補正行程と、 前記補正行程で補正された像信号に対して相関演算を行
って前記レンズの焦点検出を行う焦点検出行程とを実行
することを特徴とする焦点検出方法。
5. A comparison step of comparing two images generated by light passing through different positions of a pupil of a lens, and at least one of the two images based on a comparison result of the comparison step. And a focus detection step of performing a correlation operation on the image signal corrected in the correction step to detect a focus of the lens.
【請求項6】 前記比較行程は、前記2つの像をそれぞ
れ差分処理しその値を比較することを特徴とする請求項
5に記載の焦点検出方法。
6. The focus detection method according to claim 5, wherein in the comparing step, the two images are subjected to difference processing and the values thereof are compared.
【請求項7】 レンズの瞳の異なる位置を通過した光に
より生成された2つの像に対してフィルタ処理を行うフ
ィルタ行程と、 前記フィルタ行程でフィルタ処理された2つの処理信号
の相関演算を行う第1の相関演算行程と、 前記2つの像のうちの少なくとも一方の像を補正する補
正行程と、 前記第1の相関演算行程の演算結果に基づいて、前記補
正行程による補正後の像信号の相関演算を行う第2の相
関演算行程と、 前記第2の相関演算行程の演算結果に基づいて前記レン
ズの焦点検出を行う焦点検出行程とを実行することを特
徴とする焦点検出方法。
7. A filter process for performing a filter process on two images generated by light having passed through different positions of a pupil of a lens, and a correlation operation between two processed signals filtered in the filter process is performed. A first correlation calculation step, a correction step for correcting at least one of the two images, and an image signal corrected by the correction step based on a calculation result of the first correlation calculation step. A focus detection method, comprising: performing a second correlation calculation step of performing a correlation calculation; and a focus detection step of performing focus detection of the lens based on a calculation result of the second correlation calculation step.
【請求項8】 レンズの瞳の異なる位置を通過した光に
より生成された2つの像を比較し、その比較結果に基づ
いて前記2つの像のうちの少なくとも一方の像を補正
し、補正された像信号に対して相関演算を行って前記レ
ンズの焦点検出を行う内容を有することを特徴とする処
理プログラムを提供する媒体。
8. A method of comparing two images generated by light passing through different positions of a pupil of a lens, correcting at least one of the two images based on a result of the comparison, and correcting the corrected images. A medium for providing a processing program, having a content of performing a correlation operation on an image signal to detect a focus of the lens.
【請求項9】 前記2つの像の比較は、前記2つの像を
それぞれ差分処理しその値を比較することを特徴とする
請求項8に記載の処理プログラムを提供する媒体。
9. The medium according to claim 8, wherein the comparison of the two images is performed by performing a difference process on each of the two images and comparing their values.
【請求項10】 レンズの瞳の異なる位置を通過した光
により生成された2つの像に対してフィルタ処理を行っ
た後に第1の相関演算を行い、前記2つの像のうちの少
なくとも一方の像を補正した後、前記第1の相関演算の
結果に基づいて補正後の像信号に対して第2の相関演算
を行い、第2の相関演算手段の演算結果に基づいて前記
レンズの焦点検出を行う内容を有することを特徴とする
処理プログラムを提供する媒体。
10. A first correlation operation is performed after performing a filtering process on two images generated by light passing through different positions of a pupil of a lens, and at least one of the two images is processed. Is corrected, a second correlation operation is performed on the corrected image signal based on the result of the first correlation operation, and focus detection of the lens is performed based on the operation result of the second correlation operation means. A medium for providing a processing program having contents to be performed.
JP2000196657A 2000-06-29 2000-06-29 Focus detecting device, image pickup device, focus detecting method, and medium presenting processing program Withdrawn JP2002014277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000196657A JP2002014277A (en) 2000-06-29 2000-06-29 Focus detecting device, image pickup device, focus detecting method, and medium presenting processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000196657A JP2002014277A (en) 2000-06-29 2000-06-29 Focus detecting device, image pickup device, focus detecting method, and medium presenting processing program

Publications (1)

Publication Number Publication Date
JP2002014277A true JP2002014277A (en) 2002-01-18

Family

ID=18695109

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000196657A Withdrawn JP2002014277A (en) 2000-06-29 2000-06-29 Focus detecting device, image pickup device, focus detecting method, and medium presenting processing program

Country Status (1)

Country Link
JP (1) JP2002014277A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009124575A (en) * 2007-11-16 2009-06-04 Nikon Corp Correlation computing method, correlation computing unit, focus detector and imaging apparatus
JP2009124574A (en) * 2007-11-16 2009-06-04 Nikon Corp Correlation computing method, correlation computing unit, focus detector and imaging apparatus
JP2009282018A (en) * 2008-04-21 2009-12-03 Nikon Corp Correlation calculation method, correlation calculator, focus detector, and imaging apparatus
JP2010026178A (en) * 2008-07-17 2010-02-04 Canon Inc Phase difference detection device, imaging apparatus, signal level correction method for phase difference detection device, and signal level correction program
WO2011045850A1 (en) * 2009-10-13 2011-04-21 キヤノン株式会社 Focusing device and focusing method
JP2012098550A (en) * 2010-11-02 2012-05-24 Nikon Corp Focus detection device, focus adjustment device, and imaging device
JP2012137547A (en) * 2010-12-24 2012-07-19 Canon Inc Focal point detecting device and control method thereof
JP2014032414A (en) * 2013-10-02 2014-02-20 Nikon Corp Imaging device
US8860871B2 (en) 2011-04-01 2014-10-14 Fujifilm Corporation Imaging device and computer readable medium having a focusing control function

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009124575A (en) * 2007-11-16 2009-06-04 Nikon Corp Correlation computing method, correlation computing unit, focus detector and imaging apparatus
JP2009124574A (en) * 2007-11-16 2009-06-04 Nikon Corp Correlation computing method, correlation computing unit, focus detector and imaging apparatus
JP2009282018A (en) * 2008-04-21 2009-12-03 Nikon Corp Correlation calculation method, correlation calculator, focus detector, and imaging apparatus
JP2010026178A (en) * 2008-07-17 2010-02-04 Canon Inc Phase difference detection device, imaging apparatus, signal level correction method for phase difference detection device, and signal level correction program
WO2011045850A1 (en) * 2009-10-13 2011-04-21 キヤノン株式会社 Focusing device and focusing method
US8488956B2 (en) 2009-10-13 2013-07-16 Canon Kabushiki Kaisha Focus adjusting apparatus and focus adjusting method
JP5645846B2 (en) * 2009-10-13 2014-12-24 キヤノン株式会社 Focus adjustment device and focus adjustment method
JP2012098550A (en) * 2010-11-02 2012-05-24 Nikon Corp Focus detection device, focus adjustment device, and imaging device
JP2012137547A (en) * 2010-12-24 2012-07-19 Canon Inc Focal point detecting device and control method thereof
US8860871B2 (en) 2011-04-01 2014-10-14 Fujifilm Corporation Imaging device and computer readable medium having a focusing control function
JP2014032414A (en) * 2013-10-02 2014-02-20 Nikon Corp Imaging device

Similar Documents

Publication Publication Date Title
US8542941B2 (en) Imaging device, image detecting method and focus adjusting method
JP5417827B2 (en) Focus detection apparatus and imaging apparatus
JP2007233032A (en) Focusing device and imaging apparatus
US10348955B2 (en) Imaging apparatus, control method, and storage medium for tracking an imaging target in a continuous shooting operation
JP5936358B2 (en) Image display device, image display method, imaging device and control method thereof, program, and storage medium storing the same
US8369699B2 (en) Focus detection apparatus
JP5641771B2 (en) Focus detection device
JPH05257062A (en) Automatic focusing device
JP2008152150A (en) Imaging apparatus, its control method and program, and storage medium
JP2002014277A (en) Focus detecting device, image pickup device, focus detecting method, and medium presenting processing program
JP5056136B2 (en) Image tracking device
JP2012208507A (en) Image tracking device
JP2016200629A (en) Image pickup apparatus, and control method, and program for the same
JP2009010672A (en) Focus detector and image pickup device
JP2020148980A (en) Imaging device and focus adjustment method
JP4208536B2 (en) Focus detection device, imaging device having the same, and photographing lens
JP2006065080A (en) Imaging device
JP2007156304A (en) Camera, camera system, and interchangeable lens device
JP4938922B2 (en) Camera system
JP2012128343A (en) Camera
JP2006146031A (en) Camera
JP2008187331A (en) Image tracking device, and imaging apparatus
JP2018197812A (en) Imaging device, method for controlling the same, and program
JP2005024858A (en) Digital single lens reflex camera
JP5515589B2 (en) Photometric device and imaging device

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060316

A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070904