JP2022121474A - Focus detector, camera, and electronic apparatus - Google Patents
Focus detector, camera, and electronic apparatus Download PDFInfo
- Publication number
- JP2022121474A JP2022121474A JP2022095943A JP2022095943A JP2022121474A JP 2022121474 A JP2022121474 A JP 2022121474A JP 2022095943 A JP2022095943 A JP 2022095943A JP 2022095943 A JP2022095943 A JP 2022095943A JP 2022121474 A JP2022121474 A JP 2022121474A
- Authority
- JP
- Japan
- Prior art keywords
- focus detection
- detection pixel
- focus
- pixels
- pixel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 claims abstract description 336
- 230000003287 optical effect Effects 0.000 claims abstract description 51
- 238000003384 imaging method Methods 0.000 abstract description 54
- 210000001747 pupil Anatomy 0.000 description 29
- 238000006243 chemical reaction Methods 0.000 description 28
- 238000003491 array Methods 0.000 description 20
- 230000000875 corresponding effect Effects 0.000 description 18
- 230000004907 flux Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 238000011156 evaluation Methods 0.000 description 7
- 239000004973 liquid crystal related substance Substances 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 238000009825 accumulation Methods 0.000 description 3
- 230000003595 spectral effect Effects 0.000 description 3
- 238000012935 Averaging Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000001186 cumulative effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Images
Landscapes
- Focusing (AREA)
- Automatic Focus Adjustment (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、焦点検出装置、カメラ、及び電子機器に関する。 The present invention relates to focus detection devices, cameras, and electronic devices.
従来より、複数の受光センサを備えた焦点検出装置において、複数の受光センサのそれぞれについてデフォーカス量を算出し、算出した複数のデフォーカス量の中から1つのデフォーカス量を選択することで、選択したデフォーカス量に基づいて、焦点検出を行う技術が知られている(たとえば、特許文献1参照)。
Conventionally, in a focus detection device having a plurality of light receiving sensors, a defocus amount is calculated for each of the plurality of light receiving sensors, and one defocus amount is selected from the calculated defocus amounts. A technique of performing focus detection based on the selected defocus amount is known (see
しかしながら、従来技術では、複数の受光センサの全てについてデフォーカス量を算出するため、デフォーカス量の演算に時間がかかり、その結果、光学系の焦点状態の検出を適切なタイミングで繰り返し行うことができない場合があった。 However, in the prior art, since the defocus amount is calculated for all of the plurality of light receiving sensors, it takes time to calculate the defocus amount. Sometimes I couldn't.
本発明が解決しようとする課題は、光学系の焦点状態の検出を適切なタイミングで繰り返し行うことができる焦点検出装置、カメラ、及び電子機器を提供することにある。 A problem to be solved by the present invention is to provide a focus detection device, a camera, and an electronic device that can repeatedly detect the focus state of an optical system at appropriate timing.
本発明は、以下の解決手段によって上記課題を解決する。 The present invention solves the above problems by the following solutions.
[1]本発明に係る焦点検出装置は、光学系を通過した被写体の光を受光し、前記受光した光に基づく信号を出力する複数の画素からなる画素群が複数配置された領域を複数有する撮像素子と、前記画素群から出力される前記信号のコントラストに基づいて選択された、1つの前記領域に配置された前記画素群の数よりも少ない数の画素群から出力される前記信号に基づいて、前記光学系により形成される前記被写体の像の合焦状態を検出する検出部と、を備える。
[2]上記焦点検出装置に係る発明において、前記検出部が検出する前記被写体の像の合焦状態は、前記被写体の像の位置と前記撮像素子の撮像面とのずれであるデフォーカス量としてもよい。
[3]上記焦点検出装置に係る発明において、前記検出部は、1つの前記画素群を選択し、選択した前記画素群から出力される信号のみに基づいて前記デフォーカス量を算出してもよい。
[4]上記焦点検出装置に係る発明において、前記検出部は、1つの焦点検出エリアに配置された前記画素群の数より少ない数の複数の前記画素群を選択し、選択された前記画素群の出力信号の加算値及び平均値のいずれかに基づいて前記デフォーカス量を算出してもよい。
[5]上記焦点検出装置に係る発明において、前記検出部は、前記画素群から出力される信号の複数の異なる周波数成分のコントラスト情報に基づいて前記デフォーカス量を算出する前記画素群を選択してもよい。
[6]上記焦点検出装置に係る発明において、前記画素群は、前記光学系の第1の瞳を通過した光を受光する複数の画素と、前記光学系の第2の瞳を通過した光を受光する複数の画素とを有してもよい。
[7]上記焦点検出装置に係る発明において、前記検出部は、1つの前記領域に配置された互いに平行である複数の前記画素群の中からデフォーカス量を算出する前記画素群を選択してもよい。
[8]本発明に係るカメラは、上記焦点検出装置を備える。
[9]本発明に係る電子機器は、上記焦点検出装置を備える。
[1] A focus detection device according to the present invention has a plurality of regions in which a plurality of pixel groups are arranged to receive light from a subject that has passed through an optical system and output a signal based on the received light. Based on the signals output from the image sensor and the pixel groups less than the number of the pixel groups arranged in one region, selected based on the contrast of the signals output from the pixel groups and a detection unit that detects a focused state of the image of the subject formed by the optical system.
[2] In the invention related to the focus detection device, the in-focus state of the image of the subject detected by the detection unit is a defocus amount that is a shift between the position of the image of the subject and the imaging surface of the imaging device. good too.
[3] In the focus detection device, the detection unit may select one pixel group and calculate the defocus amount based only on signals output from the selected pixel group. .
[4] In the invention related to the focus detection device, the detection unit selects a plurality of the pixel groups, the number of which is smaller than the number of the pixel groups arranged in one focus detection area, and the selected pixel groups. The defocus amount may be calculated based on either an added value or an average value of the output signals of .
[5] In the invention related to the focus detection device, the detection unit selects the pixel group for calculating the defocus amount based on contrast information of a plurality of different frequency components of signals output from the pixel group. may
[6] In the invention related to the focus detection device, the pixel group includes a plurality of pixels that receive light that has passed through a first pupil of the optical system, and a plurality of pixels that receive light that has passed through a second pupil of the optical system. It may have a plurality of pixels that receive light.
[7] In the focus detection device described above, the detection unit selects the pixel group for calculating the defocus amount from among the plurality of parallel pixel groups arranged in one region. good too.
[8] A camera according to the present invention includes the above focus detection device.
[9] An electronic device according to the present invention includes the focus detection device described above.
本発明によれば、光学系の焦点状態の検出を適切なタイミングで繰り返し行うことができる。 According to the present invention, detection of the focus state of the optical system can be repeatedly performed at appropriate timing.
以下、本発明の実施形態を図面に基づいて説明する。 BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings.
《第1実施形態》
図1は、本発明の実施形態に係るデジタルカメラ1を示す要部構成図である。本実施形態のデジタルカメラ1(以下、単にカメラ1という。)は、カメラ本体2とレンズ鏡筒3から構成され、これらカメラ本体2とレンズ鏡筒3はマウント部4により着脱可能に結合されている。
<<1st Embodiment>>
FIG. 1 is a configuration diagram of a main part showing a
レンズ鏡筒3は、カメラ本体2に着脱可能な交換レンズである。図1に示すように、レンズ鏡筒3には、レンズ31,32,33、および絞り34を含む撮影光学系が内蔵されている。
A
レンズ32は、フォーカスレンズであり、光軸L1方向に移動することで、撮影光学系の焦点状態を調節可能となっている。フォーカスレンズ32は、レンズ鏡筒3の光軸L1に沿って移動可能に設けられ、エンコーダ35によってその位置が検出されつつフォーカスレンズ駆動モータ36によってその位置が調節される。
The
絞り34は、上記撮影光学系を通過して撮像素子22に至る光束の光量を制限するとともにボケ量を調整するために、光軸L1を中心にした開口径が調節可能に構成されている。絞り34による開口径の調節は、たとえば自動露出モードにおいて演算された適切な開口径が、カメラ制御部21からレンズ制御部37を介して送出されることにより行われる。また、カメラ本体2に設けられた操作部28によるマニュアル操作により、設定された開口径がカメラ制御部21からレンズ制御部37に入力される。絞り34の開口径は図示しない絞り開口センサにより検出され、レンズ制御部37で現在の開口径が認識される。
The
レンズ制御部37は、カメラ制御部21からの指令に基づいて、フォーカスレンズ32の駆動、絞り34による開口径の調節などレンズ鏡筒3全体の制御を実行する。
Based on commands from the
一方、カメラ本体2には、上記撮影光学系からの光束を受光する撮像素子22が、撮影光学系の予定焦点面に設けられ、その前面にシャッター23が設けられている。撮像素子22はCCDやCMOSなどのデバイスから構成され、受光した光信号を電気信号に変換してカメラ制御部21に送出する。カメラ制御部21に送出された撮影画像情報は、逐次、液晶駆動回路25に送出されて観察光学系の電子ビューファインダ(EVF)26に表示されるとともに、操作部28に備えられたレリーズボタン(不図示)が全押しされた場合には、その撮影画像情報が、記録媒体であるメモリ24に記録される。なお、メモリ24は着脱可能なカード型メモリや内蔵型メモリの何れをも用いることができる。また、撮像素子22の構造の詳細は後述する。
On the other hand, the
カメラ本体2には、撮像素子22で撮像される像を観察するための観察光学系が設けられている。本実施形態の観察光学系は、液晶表示素子からなる電子ビューファインダ(EVF)26と、これを駆動する液晶駆動回路25と、接眼レンズ27とを備えている。液晶駆動回路25は、撮像素子22で撮像され、カメラ制御部21へ送出された撮影画像情報を読み込み、これに基づいて電子ビューファインダ26を駆動する。これにより、ユーザは、接眼レンズ27を通して現在の撮影画像を観察することができる。なお、光軸L2による上記観察光学系に代えて、または、これに加えて、液晶ディスプレイをカメラ本体2の背面等に設け、この液晶ディスプレイに撮影画像を表示させることもできる。
The
カメラ本体2にはカメラ制御部21が設けられている。カメラ制御部21は、各種レンズ情報を受信するとともに、レンズ制御部37へデフォーカス量や絞り開口径などの情報を送信する。また、カメラ制御部21は、上述したように撮像素子22から画素出力を読み出すとともに、読み出した画素出力について、必要に応じて所定の情報処理を施すことにより画像情報を生成し、生成した画像情報を、電子ビューファインダ26の液晶駆動回路25やメモリ24に出力する。また、カメラ制御部21は、撮像素子22からの画像情報の補正やレンズ鏡筒3の焦点調節状態、絞り調節状態などを検出するなど、カメラ1全体の制御を司る。
A
また、カメラ制御部21は、上記に加えて、撮像素子22から読み出した画素データに基づき、位相検出方式による撮影光学系の焦点状態の検出、およびコントラスト検出方式による撮影光学系の焦点状態の検出を行う。なお、具体的な焦点状態の検出方法については後述する。
In addition to the above, the
操作部28は、シャッターレリーズボタンなどの撮影者がカメラ1の各種動作モードを設定するための入力スイッチであり、オートフォーカスモード/マニュアルフォーカスモードの切換が行えるようになっている。この操作部28により設定された各種モードはカメラ制御部21へ送出され、当該カメラ制御部21によりカメラ1全体の動作が制御される。また、シャッターレリーズボタンは、ボタンの半押しでONとなる第1スイッチSW1と、ボタンの全押しでONとなる第2スイッチSW2とを含む。
The
次に、本実施形態に係る撮像素子22について説明する。
Next, the
図2は、撮像素子22の撮像面を示す正面図、図3は、図2のIII部を拡大して撮像画素221、焦点検出画素222a,222bの配列を模式的に示す正面図である。
2 is a front view showing the imaging surface of the
本実施形態の撮像素子22は、図3に示すように、複数の撮像画素221が、撮像面の平面上に二次元的に配列され、緑色の波長領域を透過するカラーフィルタを有する緑画素Gと、赤色の波長領域を透過するカラーフィルタを有する赤画素Rと、青色の波長領域を透過するカラーフィルタを有する青画素Bがいわゆるベイヤー配列(Bayer Arrangement)されたものである。すなわち、隣接する4つの画素群223(稠密正方格子配列)において一方の対角線上に2つの緑画素が配列され、他方の対角線上に赤画素と青画素が1つずつ配列されている。このベイヤー配列された画素群223を単位として、当該画素群223を撮像素子22の撮像面に二次元状に繰り返し配列することで撮像素子22が構成されている。なお、本実施形態においては、この4つの画素群223により、1画素を構成することとなる。
As shown in FIG. 3, the
なお、単位画素群223の配列は、図示する稠密正方格子以外にも、たとえば稠密六方格子配列にすることもできる。また、カラーフィルタの構成や配列はこれに限定されることはなく、補色フィルタ(緑:G、イエロー:Ye、マゼンタ:Mg,シアン:Cy)の配列を採用することもできる。
The arrangement of the
図4(A)は、撮像画素221の一つを拡大して示す正面図、図4(D)は断面図である。一つの撮像画素221は、マイクロレンズ2211と、光電変換部2212と、図示しないカラーフィルタから構成され、図4(D)の断面図に示すように、撮像素子22の半導体回路基板2213の表面に光電変換部2212が造り込まれ、その表面にマイクロレンズ2211が形成されている。光電変換部2212は、マイクロレンズ2211により撮影光学系31の射出瞳(たとえばF1.0)を通過する撮像光束を受光する形状とされ、撮像光束を受光する。
FIG. 4A is a front view showing an enlarged image of one of the
また、図2に示すように、撮像素子22の撮像面の中心、および中心から左右対称位置と、それらの上下対称位置の計9箇所には、上述した撮像画素221に代えて、焦点検出画素222a,222bが配列された焦点検出画素列群22a~22iが設けられている。そして、図3に示すように、各焦点検出画素列群は、4つの焦点検出画素列L1~L4から構成されており、各焦点検出画素列L1~L4は、複数の第1焦点検出画素222aおよび第2焦点検出画素222bが、互いに隣接して交互に、横一列に配列されて構成されている。また、図3に示すように、本実施形態では、焦点検出画素列L1,L3と焦点検出画素列L2,L4とにおいて、焦点検出画素222aおよび焦点検出画素222bがX軸方向において逆になるように配置されている。さらに、本実施形態では、図3に示すように、第1焦点検出画素222aおよび第2焦点検出画素222bが、ベイヤー配列された撮像画素221の緑画素Gと青画素Bとの位置にギャップを設けることなく密に配列されている。
In addition, as shown in FIG. 2, instead of the above-described
なお、図2に示す焦点検出画素列群22a~22iの位置は図示する位置に限定されず、何れか1箇所または2~8箇所等にすることもでき、また、10箇所以上の位置に配置することもできる。また、実際の焦点検出に際しては、複数配置された焦点検出画素列群22a~22iの中から、撮影者が操作部28を手動操作することにより所望の焦点検出画素群を、焦点調節を行うための焦点検出エリアAFPとして選択することもできる。
Note that the positions of the focus detection
図4(B)は、第1焦点検出画素222aの一つを拡大して示す正面図、図4(E)は、第1焦点検出画素222aの断面図である。また、図4(C)は、第2焦点検出画素222bの一つを拡大して示す正面図、図4(F)は、第2焦点検出画素222bの断面図である。第1焦点検出画素222aは、図4(B)に示すように、マイクロレンズ2221aと、矩形状の光電変換部2222aとから構成され、図4(E)の断面図に示すように、撮像素子22の半導体回路基板2213の表面に光電変換部2222aが造り込まれ、その表面にマイクロレンズ2221aが形成されている。また、第2焦点検出画素222bは、図4(C)に示すように、マイクロレンズ2221bと、光電変換部2222bとから構成され、図4(F)の断面図に示すように、撮像素子22の半導体回路基板2213の表面に光電変換部2222bが造り込まれ、その表面にマイクロレンズ2221bが形成されている。そして、これら焦点検出画素222aおよび222bは、図3に示すように、互いに隣接して交互に、横一列に配列されることにより、各焦点検出画素列L1~L4を構成する。
FIG. 4B is an enlarged front view showing one of the first
なお、第1焦点検出画素222a、第2焦点検出画素222bの光電変換部2222a,2222bは、マイクロレンズ2221a,2221bにより撮影光学系の射出瞳の所定の領域(たとえばF2.8)を通過する光束を受光するような形状とされる。また、第1焦点検出画素222a、第2焦点検出画素222bにはカラーフィルタは設けられておらず、その分光特性は、光電変換を行うフォトダイオードの分光特性と、図示しない赤外カットフィルタの分光特性を総合したものとなっている。ただし、撮像画素221と同じカラーフィルタのうちの一つ、たとえば緑フィルタを備えるように構成することもできる。
Note that the
また、図4(B)、図4(C)に示す第1焦点検出画素222a、第2焦点検出画素222bの光電変換部2222a,2222bは矩形状としたが、光電変換部2222a,2222bの形状はこれに限定されず、他の形状、たとえば、半円形状、楕円形状、多角形状とすることもできる。
Further, although the
次いで、上述した焦点検出画素222a,222bの画素出力に基づいて撮影光学系の焦点状態を検出する、いわゆる位相差検出方式について説明する。
Next, a so-called phase difference detection method for detecting the focus state of the photographing optical system based on the pixel outputs of the
図5は、図3のV-V線に沿う断面図であり、撮影光軸L1近傍に配置され、互いに隣接する焦点検出画素222a-1,222b-1,222a-2,222b-2が、射出瞳350の測距瞳351,352から照射される光束AB1-1,AB2-1,AB1-2,AB2-2をそれぞれ受光していることを示している。なお、図5においては、複数の焦点検出画素222a,222bのうち、撮影光軸L1近傍に位置するもののみを例示して示したが、図5に示す焦点検出画素以外のその他の焦点検出画素についても、同様に、一対の測距瞳351,352から照射される光束をそれぞれ受光するように構成されている。
FIG. 5 is a cross-sectional view along line VV in FIG. 3, in which focus
ここで、射出瞳350とは、撮影光学系の予定焦点面に配置された焦点検出画素222a,222bのマイクロレンズ2221a,2221bの前方の距離Dの位置に設定された像である。距離Dは、マイクロレンズの曲率、屈折率、マイクロレンズと光電変換部との距離などに応じて一義的に決まる値であって、この距離Dを測距瞳距離と称する。また、測距瞳351,352とは、焦点検出画素222a,222bのマイクロレンズ2221a,2221bにより、それぞれ投影された光電変換部2222a,2222bの像をいう。
Here, the
なお、図5において焦点検出画素222a-1,222b-1,222a-2,222b-2の配列方向は一対の測距瞳351,352の並び方向と一致している。
In FIG. 5, the alignment direction of the
また、図5に示すように、焦点検出画素222a-1,222b-1,222a-2,222b-2のマイクロレンズ2221a-1,2221b-1,2221a-2,2221b-2は、撮影光学系の予定焦点面近傍に配置されている。そして、マイクロレンズ2221a-1,2221b-1,2221a-2,2221b-2の背後に配置された各光電変換部2222a-1,2222b-1,2222a-2,2222b-2の形状が、各マイクロレンズ2221a-1,2221b-1,2221a-2,2221b-2から測距距離Dだけ離れた射出瞳350上に投影され、その投影形状は測距瞳351,352を形成する。
Further, as shown in FIG. 5, the
すなわち、測距距離Dにある射出瞳350上で、各焦点検出画素の光電変換部の投影形状(測距瞳351,352)が一致するように、各焦点検出画素におけるマイクロレンズと光電変換部の相対的位置関係が定められ、それにより各焦点検出画素における光電変換部の投影方向が決定されている。
That is, on the
図5に示すように、第1焦点検出画素222a-1の光電変換部2222a-1は、測距瞳351を通過し、マイクロレンズ2221a-1に向う光束AB1-1によりマイクロレンズ2221a-1上に形成される像の強度に対応した信号を出力する。同様に、第1焦点検出画素222a-2の光電変換部2222a-2は測距瞳351を通過し、マイクロレンズ2221a-2に向う光束AB1-2によりマイクロレンズ2221a-2上に形成される像の強度に対応した信号を出力する。
As shown in FIG. 5, the
また、第2焦点検出画素222b-1の光電変換部2222b-1は測距瞳352を通過し、マイクロレンズ2221b-1に向う光束AB2-1によりマイクロレンズ2221b-1上に形成される像の強度に対応した信号を出力する。同様に、第2焦点検出画素222b-2の光電変換部2222b-2は測距瞳352を通過し、マイクロレンズ2221b-2に向う光束AB2-2によりマイクロレンズ2221b-2上に形成される像の強度に対応した信号を出力する。
Further, the
そして、上述した焦点検出画素222a,222bの光電変換部2222a,2222bの出力を、測距瞳351と測距瞳352とのそれぞれに対応した出力グループにまとめることにより、測距瞳351と測距瞳352とのそれぞれを通過する焦点検出光束が焦点検出画素列上に形成する一対の像の強度分布に関するデータを得る。
By grouping the outputs of the
そして、カメラ制御部21は、一対の像の強度分布に関するデータ列、すなわち、焦点検出画素列のうち第1焦点検出画素222aに基づくデータ列と、第2焦点検出画素222bに基づくデータ列とを、一次元状に相対的にシフトさせながら、下記式(1)に示す相関演算を行う。
C(k)=Σ|IA(n+k)-IB(n)| …(1)
なお、上記式(1)において、Σ演算はnについての累積演算(相和演算)を示し、像ずらし量kに応じてIA(n+k)、IB(n)のデータが存在する範囲に限定される。また、像ずらし量kは整数であり、各焦点検出画素222a,222bの画素間隔を単位としたシフト量である。なお、上記式(1)の演算結果においては、一対の像データの相関が高いシフト量において、相関量C(k)は極小(小さいほど相関度が高い)になる。
Then, the
C(k)=Σ|IA (n+k) −IB (n) | (1)
In the above equation (1), the Σ operation indicates the cumulative operation (phase sum operation) for n, and the range in which the data of I A (n+k) and I B (n) exist according to the image shift amount k. Limited. Also, the image shift amount k is an integer and is a shift amount in units of pixel intervals between the
そして、上記式(1)に従って、相関量C(k)の算出を行い、相関量の極小値C(x)が得られるシフト量xに基づいて、下記式(2)に従い、デフォーカス量dfを算出する。なお、上記式(2)において、kは、相関量の極小値C(x)が得られるシフト量xをデフォーカス量に変換するための変換係数(kファクター)である。
df=x・k …(2)
Then, the correlation amount C(k) is calculated according to the above equation (1), and the defocus amount df Calculate In the above equation (2), k is a conversion coefficient (k factor) for converting the shift amount x that gives the minimum value C(x) of the correlation amount into the defocus amount.
df=x·k (2)
さらに、本実施形態において、カメラ制御部21は、複数の焦点検出画素列L1~L4の出力から、コントラスト情報を検出し、検出したコントラスト情報に基づいて、デフォーカス量の演算に用いる焦点検出画素列を、特定焦点検出画素列として決定する。
Furthermore, in the present embodiment, the
具体的には、カメラ制御部21は、各焦点検出画素列L1~L4の出力を撮像素子22から取得し、取得した焦点検出画素列L1~L4の出力を、高周波透過フィルタでフィルタ処理することで、焦点検出画素列L1~L4の出力から高周波成分を抽出する。そして、カメラ制御部21は、各焦点検出画素列L1~L4の高周波成分を比較し、比較の結果に基づいて、複数の焦点検出画素列L1~L4のうち、コントラストが最も大きい被写体に対応する焦点検出画素列を、特定焦点検出画素列として決定する。また、カメラ制御部21は、上記比較結果に基づいて、複数の焦点検出画素列L1~L4のうち、出力に高周波成分が最も多く含まれる焦点検出画素列を、特定焦点検出画素列として決定する構成としてもよい。
Specifically, the
なお、本実施形態では、カメラ制御部21が、撮像素子22から複数の焦点検出画素列L1~L4の出力を取得することで、複数の焦点検出画素列L1~L4の中から、特定焦点検出画素列を決定する構成を例示して説明したが、この構成に限定されず、たとえば、撮像素子22が備える演算部により、各焦点検出画素列L1~L4の出力に基づいて、点検出画素列L1~L4ごとに、コントラスト情報を検出し、検出したコントラスト情報に基づいて、複数の焦点検出画素列L1~L4の中から、特定焦点検出画素列を決定し、決定した特定焦点検出画素列の情報を、カメラ制御部21に送信する構成としてもよい。
In this embodiment, the
そして、カメラ制御部21は、決定した特定焦点検出画素列の出力に基づいて、デフォーカス量を演算する。このように、本実施形態では、複数の焦点検出画素列L1~L4のうち、特定焦点出画素列として決定された焦点検出画素列の出力のみに基づいて、デフォーカス量の演算が行われるため、デフォーカス量の演算にかかる時間を短縮することができる。
Then, the
すなわち、従来では、焦点検出画素列が複数ある場合に、全ての焦点検出画素列についてデフォーカス量の演算が行われ、算出した複数のデフォーカス量の中から、フォーカスレンズ32の駆動に用いるデフォーカス量を選択していた。そのため、従来では、選択されたデフォーカス量以外のデフォーカス量についての演算が無駄になるだけではなく、複数の焦点検出画素列L1~L4の全てについてデフォーカス量を演算するため、デフォーカス量の演算時間が長くなってしまうという問題があった。これに対して、本実施形態では、特定焦点出画素列として決定された焦点検出画素列の出力のみに基づいて、デフォーカス量の演算が行われるため、デフォーカス量の算出にかかる時間を短縮することができ、その結果、焦点検出にかかる時間を短縮することができる。
That is, conventionally, when there are a plurality of focus detection pixel rows, defocus amounts are calculated for all of the focus detection pixel rows, and the defocus amount used for driving the
なお、本実施形態では、撮像素子22の焦点検出画素列群22a~22iに対応して、撮影光学系の撮影画面内に、複数の焦点検出エリアAFPが設定されており、撮影者は、操作部28を介して、焦点調節に用いる焦点検出エリアAFPを設定することができる。たとえば、撮影者が、焦点調節に用いる焦点検出エリアAFPとして、焦点検出画素列群22aに対応する焦点検出エリアAFPを選択した場合には、カメラ制御部21は、焦点検出画素列群22aに含まれる焦点検出画素列L1~L4の出力に基づいて、デフォーカス量を算出する。また、焦点検出エリアAFPを設定する方法は、撮影者が選択する方法に限定されず、たとえば、カメラ制御部21が、撮像素子22から出力される画像データに基づいて顔認識処理を行うことで、被写体の顔部に対応する焦点検出エリアAFPを、焦点調節に用いる焦点検出エリアAFPとして設定する構成としてもよい。あるいは、撮影画面内に設定されている全ての焦点検出エリアAFPにおける焦点検出画素列L1~L4の出力を取得し、取得した焦点検出画素列L1~L4の出力に基づいて、焦点調節に用いる焦点検出エリアAFPを設定する構成としてもよい。
In this embodiment, a plurality of focus detection areas AFP are set in the imaging screen of the imaging optical system corresponding to the focus detection
また、本実施形態において、カメラ制御部21は、上述した位相差検出方式による焦点検出に加えて、コントラスト検出方式による焦点検出も行う。具体的には、カメラ制御部21は、撮像素子22の撮像画素221の出力を読み出し、読み出した画素出力に基づき、焦点評価値の演算を行う。この焦点評価値は、たとえば撮像素子22の撮像画素221からの画像出力の高周波成分を、高周波透過フィルタを用いて抽出し、これを積算することで求めることができる。また、遮断周波数が異なる2つの高周波透過フィルタを用いて高周波成分を抽出し、それぞれを積算することでも求めることができる。
Further, in the present embodiment, the
そして、カメラ制御部21は、レンズ制御部37に制御信号を送出してフォーカスレンズ32を所定のサンプリング間隔(距離)で駆動させ、それぞれの位置における焦点評価値を求め、該焦点評価値が最大となるフォーカスレンズ32の位置を合焦位置として求める。なお、この合焦位置は、たとえば、フォーカスレンズ32を駆動させながら焦点評価値を算出した場合に、焦点評価値が、2回上昇した後、さらに、2回下降して推移した場合に、これらの焦点評価値を用いて、内挿法などの演算を行うことで求めることができる。
Then, the
次いで、本実施形態におけるカメラ1の動作例を、図6に示すフローチャートに沿って説明する。
Next, an operation example of the
まず、ステップS101では、撮像素子22により、撮像画素221、ならびに複数の焦点検出画素列L1~L4を構成する各第1焦点検出画素222aおよび第2焦点検出画素222bの出力データの取得が行われる。
First, in step S101, the
ステップS102では、カメラ制御部21により、焦点調節に用いるための焦点検出エリアAFPの選択が行われる。たとえば、撮影者が、操作部28を介して、焦点調節に用いる焦点検出エリアAFPを設定した場合には、カメラ制御部21は、撮影者が設定した焦点検出エリアAFPを、焦点調節に用いる焦点検出エリアAFPとして選択することができる。また、カメラ制御部21は、撮像素子22から出力された画像データに対して顔認識処理を行うことで、被写体の顔部に対応する焦点検出エリアAFPを、焦点調節に用いる焦点検出エリアAFPとして選択する構成としてもよい。あるいは、カメラ制御部21は、撮影画面内に設定されている全ての焦点検出エリアAFPの焦点検出画素列L1~L4の出力を解析することで、焦点調節に用いる焦点検出エリアAFPを選択する構成としてもよい。
In step S102, the
ステップS103では、カメラ制御部21により、各焦点検出画素列L1~L4の出力に基づいて、焦点検出画素列L1~L4ごとに、コントラスト情報の検出が行われる。具体的には、カメラ制御部21は、ステップS102で選択した焦点検出エリアAFPに対応する複数の焦点検出画素列L1~L4の出力を、高周波透過フィルタによりフィルタ処理することで、焦点検出画素列L1~L4の画素出力から高周波成分を抽出する。そして、カメラ制御部21は、焦点検出画素列L1~L4ごとに、抽出した高周波成分の量や強度を含む情報を、コントラスト情報として検出する。
In step S103, the
ステップS104では、カメラ制御部21により、特定焦点検出画素列の決定が行われる。具体的には、カメラ制御部21は、ステップS103で検出した焦点検出画素列L1~L4ごとのコントラスト情報に基づいて、複数の焦点検出画素列L1~L4のうち、コントラストが最も大きい被写体に対応する焦点検出画素列、あるいは、画素出力に高周波成分が最も多く含まれる焦点検出画素列を、特定焦点検出画素列として決定する。
In step S104, the
そして、ステップS105では、カメラ制御部21により、ステップS104で決定した特定焦点検出画素列の出力に基づいて、デフォーカス量の算出が行われる。そして、ステップS106では、ステップS105で算出したデフォーカス量に基づいて、フォーカスレンズ32の駆動量の算出およびフォーカスレンズ32の駆動が行われる。
Then, in step S105, the defocus amount is calculated by the
以上のようにして、第1実施形態に係る光学系の焦点検出が行われる。 Focus detection of the optical system according to the first embodiment is performed as described above.
次に、本実施形態に係るカメラ1の動作例を、図7に基づいて説明する。図7は、本実施形態に係るカメラ1の動作例を説明するための図である。また、図7では、横軸に時間を示しており、時刻t5においてシャッターレリーズボタンの半押しが行われた場面を示している。たとえば、図7に示す例では、時刻t1において、撮像素子22の焦点検出画素222a,222bにより、入射光に応じた電荷の蓄積が開始される。また、本実施形態において、焦点検出画素222a,222bは、例えばCMOSイメージセンサーであり、電荷の蓄積と並行して、時刻t1以降に蓄積された電荷の量に応じた画素信号の転送が開始される。そして、時刻t3では、時刻t2で開始された画素信号の転送が終了し、コントラスト情報の検出と、特定焦点検出画素列の決定とが行われる(ステップS103,S104)。そして、時刻t4では、決定した特定焦点検出画素列の出力に基づいて、デフォーカス量の演算が開始される(ステップS105)。これにより、レンズ駆動量の演算が行われ、レンズ駆動量の演算後、時刻t6において、レンズ駆動の指示が、レンズ鏡筒3に送信され、フォーカスレンズ32の駆動が行われる。ここで、図7に示す例では、レンズ駆動の指示が行われる前の時刻t5において、シャッターレリーズボタンの半押しが行われているため、時刻t6におけるレンズ駆動の指示に基づいて、フォーカスレンズ32の駆動が開始される。
Next, an operation example of the
また、本実施形態では、シャッターレリーズボタンが半押しされた後も、撮像素子22のフレームレートに応じて、デフォーカス量の算出が繰り返し行われ、算出されたデフォーカス量に基づいて、フォーカスレンズ32の駆動指示が繰り返し行われる。たとえば、図7に示す例では、時刻t2において、2フレーム目の電荷の蓄積が開始され、その結果、時刻t7において、2フレーム目のデフォーカス量の算出が行われ、時刻t8において、2フレーム目の焦点検出画素列L1~L4の出力結果に基づく、フォーカスレンズ32の駆動指示が行われる。同様に、3フレーム目以降においても、フレームごとに、焦点検出画素列L1~L4の出力に基づいて、デフォーカス量の算出と、デフォーカス量に基づくフォーカスレンズ32の駆動とが繰り返される。
Further, in the present embodiment, even after the shutter release button is half-pressed, the calculation of the defocus amount is repeatedly performed according to the frame rate of the
このように、本実施形態では、撮像素子22のフレームレートに応じたフレームごとに、デフォーカス量の算出と、デフォーカス量に基づくフォーカスレンズ32の駆動とが繰り返される。このように、フレームごとに、デフォーカス量を算出し、フォーカスレンズ32の駆動を指示するためには、デフォーカス量の演算からフォーカスレンズ32の駆動指示までを、1フレームの時間内に行う必要がある。この点、本実施形態では、コントラスト情報に基づいて1の特定焦点検出画素列を決定し、この特定焦点検出画素列の出力のみについてデフォーカス量を算出することで、図7に示すように、デフォーカス量の算出に要する時間を短くすることができるため、1フレームの時間内に、デフォーカス量を算出し、算出したデフォーカス量に基づいてフォーカスレンズ32を駆動させることができる。
As described above, in this embodiment, calculation of the defocus amount and driving of the
一方、図8は、従来のカメラの動作例を説明するための図であり、図7と同様に、横軸に時間を示している。図8に示す例では、比較的時間がかかるデフォーカス量の演算を、全ての焦点検出画素列L1~L4について行うため、図7に示す本実施形態と比べて、デフォーカス量の演算時間が長くなる。その結果、図8に示す例では、図7に示す本実施形態と比べて、デフォーカス量の演算からレンズ駆動指示までの所要時間が、フレームレートの1フレーム分の時間よりも長くなってしまい、レンズ駆動指示をフレームごとに行うことができなくなってしまう場合があった。具体的には、図8に示す例では、1フレーム分の時間内に、デフォーカス量の演算からレンズ駆動指示までを行うことができないため、図7に示す本実施形態のタイムラグT1と比べて、電荷の蓄積からフォーカスレンズ32の駆動指示までのタイムラグT2が2倍の大きさとなっている。
On the other hand, FIG. 8 is a diagram for explaining an operation example of a conventional camera, and like FIG. 7, the horizontal axis indicates time. In the example shown in FIG. 8, the calculation of the defocus amount, which takes a relatively long time, is performed for all the focus detection pixel rows L1 to L4. become longer. As a result, in the example shown in FIG. 8, compared to the present embodiment shown in FIG. 7, the time required from the calculation of the defocus amount to the instruction to drive the lens is longer than the time for one frame of the frame rate. , it may become impossible to issue a lens driving instruction for each frame. Specifically, in the example shown in FIG. 8, it is not possible to perform operations from the calculation of the defocus amount to the instruction to drive the lens within the time for one frame. , the time lag T2 from the charge accumulation to the instruction to drive the
その結果、図8に示す例では、時刻12において、時刻t11における光学系の焦点状態に基づいて、フォーカスレンズ32の駆動が指示されるため、フォーカスレンズ32が合焦位置を大きく超えた位置まで駆動してしまう場合や、被写体への追従性が低下してしまう場合があった。これに対して、本実施形態では、図7に示すように、時刻t9での光学系の焦点状態に基づいて、タイムラグの少ない時刻t10において、フォーカスレンズ32の駆動指示を行うことができるため、図8に示す従来例と比べて、フォーカスレンズ32を合焦位置まで適切に駆動することができる。
As a result, in the example shown in FIG. 8, at time t12, driving of the
以上のように、第1実施形態では、焦点検出エリアAFP内の各焦点検出画素列L1~L4の出力に基づいて、焦点検出画素列L1~L4ごとに、コントラスト情報を検出する。そして、検出したコントラスト情報に基づいて、焦点検出に用いる焦点検出画素列を決定する。すなわち、複数の焦点検出画素列L1~L4のうち、コントラストが最も大きい被写体に対応する焦点検出画素列、あるいは、画素出力に高周波成分が最も多く含まれている焦点検出画素列を、特定焦点検出画素列として決定し、この特定焦点検出画素列のみについて、デフォーカス量を決定する。これにより、コントラストが最も大きい被写体、あるいは、高周波成分が最も多い被写体に対する、光学系の焦点状態を検出することができるとともに、従来のように、複数の焦点検出画素列L1~L4の全てについてデフォーカス量を算出する場合と比べて、デフォーカス量の演算にかかる時間を短縮することができ、焦点状態の検出を適切なタイミングで繰り返し行うことができる。 As described above, in the first embodiment, contrast information is detected for each of the focus detection pixel rows L1 to L4 based on the outputs of the focus detection pixel rows L1 to L4 within the focus detection area AFP. Then, a focus detection pixel row to be used for focus detection is determined based on the detected contrast information. That is, among the plurality of focus detection pixel rows L1 to L4, the focus detection pixel row corresponding to the subject with the highest contrast or the focus detection pixel row whose pixel output contains the most high frequency components is selected for specific focus detection. A pixel row is determined, and the defocus amount is determined only for this specific focus detection pixel row. As a result, it is possible to detect the focus state of the optical system for a subject with the highest contrast or a subject with the highest number of high-frequency components. Compared to the case of calculating the focus amount, the time required for calculating the defocus amount can be shortened, and the detection of the focus state can be repeatedly performed at appropriate timing.
また、第1実施形態では、複数の焦点検出画素列L1~L4の出力のうち、1つの焦点検出画素列の出力に基づいて、デフォーカス量を算出する構成のため、複数の焦点検出画素列L1~L4の出力を加算または平均化する場合と比べて、以下のような効果を奏することができる。すなわち、被写体が撮像画素221の斜め方向にコントラストを有する場合、複数の焦点検出画素列L1~L4の出力を加算または平均化してしまうと、却って、コントラストが低下してしまう場合があり、被写体を適切に検出できない場合がある。これに対して、本実施形態では、1つの特定焦点検出画素列の出力に基づいて、デフォーカス量を算出するため、このような場合でも、コントラストの低下を防止することができ、被写体を適切に検出することができるという効果を奏することができる。
In addition, in the first embodiment, the defocus amount is calculated based on the output of one focus detection pixel row among the outputs of the plurality of focus detection pixel rows L1 to L4. The following effects can be obtained as compared with the case of adding or averaging the outputs of L1 to L4. That is, when the subject has contrast in the oblique direction of the
《第2実施形態》
次いで、本発明の第2実施形態について説明する。第2実施形態では、図1に示すカメラ1において、以下に説明するように動作すること以外は、上述した第1実施形態と同様の構成を有するものである。
<<Second embodiment>>
Next, a second embodiment of the invention will be described. In the second embodiment, the
第2実施形態において、カメラ制御部21は、異なる周波数帯域の周波数成分を透過する複数のフィルタを備えており、各焦点検出画素列L1~L4の出力から異なる複数の周波数帯域の周波数成分を抽出し、抽出した複数の周波数成分に基づいて、焦点検出画素列L1~L4ごとに、複数のコントラスト情報を検出する。たとえば、カメラ制御部21が異なる3つの周波数帯域の周波数成分を抽出する3つのフィルタを備えている場合には、カメラ制御部21は、1つの焦点検出画素列の出力から3つのコントラスト情報を検出することができる。なお、第2実施形態で抽出される周波数成分の周波数帯域は、特に限定されず、低周波帯域から高周波帯域までの任意の周波数帯域とすることができる。
In the second embodiment, the
そして、カメラ制御部21は、複数のコントラスト情報に基づいて、複数の焦点検出画素列L1~L4の中から、焦点検出に用いる1または複数の焦点検出画素列L1~L4を、特定焦点検出画素列として検出する。たとえば、カメラ制御部21は、複数の焦点検出画素列L1~L4の中から、対応する被写体のコントラストの大きさが所定値以上である1または複数の焦点検出画素列を、特定焦点検出画素列として検出することができる。あるいは、カメラ制御部21は、出力に含まれる高周波成分の量が所定値以上である1または複数の焦点検出画素列を、特定焦点検出画素列として検出することができる。
Then, the
なお、カメラ制御部21は、特定焦点検出画素列を決定する場合には、特定焦点検出画素列の数が、焦点検出エリアAFPに対応する焦点検出画素列L1~L4の数よりも少なくなるように、特定焦点検出画素列を決定する。たとえば、本実施形態では、焦点検出エリアAFPに4つの焦点検出画素列L1~L4が配置されているため、カメラ制御部21は、少なくとも、特定焦点検出画素列の数が3つ以下となるように、特定焦点検出画素列を決定する。
When determining the specific focus detection pixel array, the
そして、カメラ制御部21は、複数の焦点検出画素列を特定焦点検出画素列として決定した場合には、複数の特定焦点検出画素列の出力を加算または平均化し、加算または平均化した複数の特定焦点検出画素列の出力に基づいて、デフォーカス量を算出する。ここで、図9は、図3に示す撮像素子22の撮像面から撮像画素221を除き、4つの焦点検出画素列L1~L4を構成する第1焦点検出画素222aおよび第2焦点検出画素222bのみを模式的に示した図である。たとえば、カメラ制御部21は、複数の特定焦点検出画素列の出力を加算する場合には、図9に示す第1焦点検出画素列L1の画素A1L1の出力と、これと同じ測距瞳を通過する焦点検出光束を受光する、第2焦点検出画素列L2の画素A1L2の出力と、第3焦点検出画素列L3の画素A1L3の出力と、第4焦点検出画素列L4の画素A1L3の出力とを加算し、画素加算出力IA1を得る。同様に、第1焦点検出画素列L1の画素B1L1の出力と、これと同じ測距瞳を通過する焦点検出光束を受光する、第2焦点検出画素列L2の画素B1L2の出力と、第3焦点検出画素列L3の画素B1L3の出力と、第4焦点検出画素列L4の画素B1L4の出力とを加算し、画素加算出力IB1を得る。以下、同様に、A2L1とA2L2とA2L3とA2L4との出力からIA2を、B2L1とB2L2とB2L3とB2L4との出力からIB2を、A3L1とA3L2とA3L3とA3L4との出力からIA3を、B3L1とB3L2とB3L3とB3L4との出力からIB3を得る。
Then, when a plurality of focus detection pixel rows are determined as specific focus detection pixel rows, the
そして、カメラ制御部21は、得られた画素加算出力を用いて、第1焦点検出画素222aに基づくデータ列、すなわち、第1像データ列IA1,IA2,IA3,...,IAnと、第2焦点検出画素222bに基づくデータ列、すなわち、第2像データ列IB1,IB2,IB3,...,IBnとを、一次元状に相対的にシフトさせながら、上記式(1)に示す相関演算を行う。
Then, the
ここで、図3に示すように、焦点検出画素列L1~L4においては、第1焦点検出画素222aと、第2焦点検出画素222bとが、それぞれ0.5画素分ずれた位置に配置されている。従来では、本実施形態の第1焦点検出画素列L1および第2焦点検出画素列L2のうちいずれか一方のみを、焦点検出画素列として用いるものであるため、第1焦点検出画素222aと、第2焦点検出画素222bとが互いに0.5画素ずれた位置に存在し、これらの焦点検出画素を用いて得られる第1像データ列IA1,IA2,IA3,...,IAnと、第2像データ列IB1,IB2,IB3,...,IBnとは、互いに0.5画素ずれたデータとなってしまっていた。そのため、相関演算を行った場合には、図10(B)に示すように、相関量C(k)の極小値も0.5画素分ずれた位置となってしまうこととなる。このような場合に、相関量C(k)が極小値を示すシフト量およびデフォーカス量を算出するためには、内挿演算等を用いる必要があり、結果として、焦点検出精度が低下してしまう場合があった。特に、焦点検出画素で検出された出力のコントラストレベルが低い場合に、このような問題が顕著になる傾向にあった。
Here, as shown in FIG. 3, in the focus detection pixel rows L1 to L4, the first
これに対して、本実施形態においては、焦点検出画素列L1,L3と、焦点検出画素列L2,L4とにおいて、第1焦点検出画素222aおよび第2焦点検出画素222bがX軸方向において0.5画素分ずらした位置に配置されているため、画素出力を加算することにより得られる画素加算出力を用いた場合に、図10(A)に示すように、合焦状態(デフォーカス量がゼロの状態)において、相関量C(k)が極小値を与えるシフト量を正確に求めることができ、これにより、焦点検出精度を適切に高めることができる。
In contrast, in the present embodiment, in the focus detection pixel rows L1, L3 and the focus detection pixel rows L2, L4, the first
次に、図11を参照して、第2実施形態に係るカメラ1の動作を説明する。図11は、第2実施形態に係るカメラ1の動作例を示すフローチャートである。
Next, operation of the
ステップS201では、第1実施形態のステップS101と同様に、撮像素子22により、撮像画素221、ならびに複数の焦点検出画素列L1~L4を構成する各第1焦点検出画素222aおよび第2焦点検出画素222bの出力データの取得が行われる。また、ステップS202では、第1実施形態のステップS102と同様に、カメラ制御部21により、焦点調節に用いるための焦点検出エリアAFPの選択が行われる。
In step S201, as in step S101 of the first embodiment, the
そして、ステップS203では、カメラ制御部21により、コントラスト情報の検出が行われる。第2実施形態において、カメラ制御部21は、異なる周波数帯域の周波数成分を抽出する複数のフィルタを用いて、各焦点検出画素列L1~L4の出力にフィルタ処理を施すことで、各焦点検出画素列L1~L4のそれぞれの出力から複数の周波数成分を抽出する。そして、カメラ制御部21は、抽出した周波数成分の量や強度を含む情報を、コントラスト情報として検出する。
Then, in step S203, the
ステップS204では、カメラ制御部21により、ステップS203で検出した複数のコントラスト情報に基づいて、特定焦点検出画素列の決定が行われる。具体的には、カメラ制御部21は、ステップS203で検出したコントラスト情報に基づいて、複数の焦点検出画素列L1~L4のうち、対応する被写体のコントラストが所定値以上である1または複数の焦点検出画素列を、特定焦点検出画素列として決定する。あるいは、カメラ制御部21は、ステップS203で検出した複数のコントラスト情報に基づいて、複数の焦点検出画素列L1~L4のうち、出力に含まれる高周波成分の量が所定値以上となる1または複数の焦点検出画素列を、特定焦点検出画素列として決定する。
In step S204, the
そして、ステップS205では、カメラ制御部21により、ステップS204で決定された1または複数の特定焦点検出画素列に基づいて、フォーカスレンズ32の駆動に用いるデフォーカス量の算出が行われる。たとえば、カメラ制御部21は、複数の焦点検出画素列を特定焦点検出画素列として決定した場合には、複数の特定焦点検出画素列の出力を加算あるいは平均化することで、1の出力を算出し、この出力に基づいて、フォーカスレンズ32の駆動に用いるデフォーカス量を算出することができる。
Then, in step S205, the
ステップS206では、第1実施形態のステップS106と同様に、ステップS205で算出されたデフォーカス量に基づいて、フォーカスレンズ32の駆動量の算出およびフォーカスレンズ32の駆動が行われる。
In step S206, the driving amount of the
以上のようにして、第2実施形態に係る光学系の焦点検出が行われる。 Focus detection of the optical system according to the second embodiment is performed as described above.
このように、第2実施形態では、焦点検出画素列L1~L4ごとに、焦点検出画素列L1~L4の出力に基づいて、異なる周波数帯域の周波数成分を抽出し、抽出した複数の周波数成分に基づいて、複数のコントラスト情報を検出する。そして、複数のコントラスト情報に基づいて、焦点検出画素列L1~L4の中から、1または複数の特定焦点検出画素列を決定し、決定した特定焦点検出画素列の画素出力に基づいて、デフォーカス量を決定する。このように、第2実施形態では、全ての焦点検出画素列L1~L4についてデフォーカス量を算出するのではなく、焦点検出画素列L1~L4の数よりも少ない数の特定焦点検出画素列についてデフォーカス量の演算を行うことで、デフォーカス量の演算時間を短くすることができ、その結果、焦点状態の検出を適切なタイミングで繰り返し行うことが可能となる。 As described above, in the second embodiment, frequency components in different frequency bands are extracted based on the outputs of the focus detection pixel arrays L1 to L4 for each of the focus detection pixel arrays L1 to L4, and the extracted frequency components are divided into Based on this, a plurality of pieces of contrast information are detected. Then, based on the plurality of pieces of contrast information, one or more specific focus detection pixel rows are determined from among the focus detection pixel rows L1 to L4, and defocus is performed based on the pixel output of the determined specific focus detection pixel row. Determine quantity. Thus, in the second embodiment, the defocus amount is not calculated for all the focus detection pixel rows L1 to L4, but for specific focus detection pixel rows less than the number of focus detection pixel rows L1 to L4. By calculating the defocus amount, it is possible to shorten the calculation time of the defocus amount, and as a result, it is possible to repeatedly detect the focus state at an appropriate timing.
以上、本発明の実施形態について説明したが、上述した実施形態は、本発明の理解を容易にするために記載されたものであって、本発明を限定するために記載されたものではない。したがって、上記の実施形態に開示された各要素は、本発明の技術的範囲に属する全ての設計変更や均等物をも含む趣旨である。 Although the embodiments of the present invention have been described above, the above-described embodiments are described to facilitate understanding of the present invention, and are not described to limit the present invention. Therefore, each element disclosed in the above embodiments is meant to include all design changes and equivalents that fall within the technical scope of the present invention.
たとえば、上述した実施形態では、1つの焦点検出エリアAFPにおいて4つの焦点検出画素列L1~L4を備える構成を例示したが、焦点検出画素列の数はこれに限定されるものではなく、1つの焦点検出エリアにおける焦点検出画素列の数を、2または3としてもよいし、あるいは5以上としてもよい。 For example, in the above-described embodiment, one focus detection area AFP includes four focus detection pixel rows L1 to L4, but the number of focus detection pixel rows is not limited to this. The number of focus detection pixel rows in the focus detection area may be 2 or 3, or may be 5 or more.
また、上述した実施形態では、撮像素子22に焦点検出画素列L1~L4を備え、焦点検出画素列L1~L4の出力に基づいて、デフォーカス量を算出する構成を例示したが、この構成に限定されず、たとえば、撮像素子22とは別に、位相差式AF検出モジュールを備え、この位相差式AF検出モジュールで受光した受光信号に基づいて、デフォーカス量を算出する構成としてもよい。具体的には、位相差式AF検出モジュールは、光学系を通過する光束を受光する一対のラインセンサを複数有しており、ラインセンサごとにコントラスト情報を検出し、検出したコントラスト情報に基づいて、複数のラインセンサの中から、焦点検出に用いる一対のラインセンサを決定する構成としてもよい。なお、焦点検出に用いる一対のラインセンサを決定する場合には、位相差検出モジュールが備える演算部により、焦点検出に用いる一対のラインセンサを決定する構成としてもよいし、あるいは、カメラ制御部21が、各一対のラインセンサの出力を取得することで、焦点検出に用いる一対のラインセンサを決定する構成としてもよい。
Further, in the above-described embodiment, the
このように、本発明の「受光センサ」とは、焦点検出画素列L1~L4であってもよいし、上述した一対のラインセンサであってもよい。また、本発明の「焦点検出装置」とは、撮像素子22またはそれを備えるカメラ1であってもよいし、もしくは、位相差式AF検出モジュールまたはそれを備えるカメラ1であってもよい。
Thus, the "light receiving sensor" of the present invention may be the focus detection pixel arrays L1 to L4, or may be the pair of line sensors described above. Further, the "focus detection device" of the present invention may be the
さらに、上述した実施形態では、焦点検出画素列L1,L3と焦点検出画素列L2,L4とにおいて、第1焦点検出画素222aおよび第2焦点検出画素222bがX軸方向において逆となるように配置されているが、この構成に限定されず、たとえば、図12に示すように、焦点検出画素列L1a~L4aを構成する焦点検出画素222a,222bをX軸方向において同じ位置となるように配置する構成としてもよい。
Furthermore, in the above-described embodiment, the first
また、図13の焦点検出画素列L1b,L2bに示すように、各焦点検出画素222a,222bが一対の光電変換部2222a,2222bを備える構成としてもよい。具体的には、図13に示すように、各焦点検出画素222a,222bにおいて、一対の光電変換部2222a,2222bがX軸方向に配列され、測距瞳351から照射される光束が、一対の光電変換部2222a,2222bのうち一方の光電変換部で受光され、測距瞳352から照射される光束が、他方の光電変換部で受光される。これにより、各焦点検出画素列L1b,L2bにおいて、一対の像データ列をそれぞれ出力することができる。なお、図13においては、測距瞳351から照射される光束を受光する光電変換部を灰色で表し、測距瞳352から照射される光束を受光する光電変換部を白塗りで表している。
Also, as shown in the focus detection pixel rows L1b and L2b in FIG. 13, each of the
さらに、各焦点検出画素列を構成する第1焦点検出画素222aおよび第2焦点検出画素222bの配列は、これらが少なくとも、同じ列上において交互に配列されたものであればよく、たとえば、図14に示す焦点検出画素列L1c~L4cのように、焦点検出画素列中に、通常の撮像画素221が含まれるような構成としてもよい。
Furthermore, the arrangement of the first
また、上述した実施形態に加えて、被写体のコントラスト(あるいは被写体の輝度)が所定値以上である場合には、第1実施形態に示すように、焦点検出画素列L1~L4のうち、コントラストが最も大きい被写体に対応する焦点検出画素列、または、出力に高周波成分が最も多く含まれる焦点検出画素列を、特定焦点検出画素列として決定し、一方、被写体のコントラスト(あるいは被写体の輝度)が所定値未満である場合には、第2実施形態に示したように、焦点検出画素列L1~L4のうち、対応する被写体のコントラストが所定値以上となる1または複数の焦点検出画素列、または、出力に含まれる高周波成分の量が所定値以上となる1または複数の焦点検出画素列を、特定焦点検出画素列として決定する構成としてもよい。 Further, in addition to the above-described embodiments, when the contrast of the subject (or the brightness of the subject) is equal to or higher than a predetermined value, as shown in the first embodiment, among the focus detection pixel rows L1 to L4, the contrast is The focus detection pixel row corresponding to the largest subject or the focus detection pixel row whose output contains the most high-frequency components is determined as the specific focus detection pixel row. If it is less than the value, as shown in the second embodiment, one or a plurality of focus detection pixel rows among the focus detection pixel rows L1 to L4 for which the contrast of the corresponding object is equal to or higher than a predetermined value, or A configuration may be adopted in which one or a plurality of focus detection pixel rows whose outputs contain high-frequency components equal to or greater than a predetermined value are determined as specific focus detection pixel rows.
1…デジタルカメラ
2…カメラ本体
21…カメラ制御部
22…撮像素子
221…撮像画素
L1~L4…焦点検出画素列
222a,222b…焦点検出画素
3…レンズ鏡筒
32…フォーカスレンズ
36…フォーカスレンズ駆動モータ
37…レンズ制御部
DESCRIPTION OF
[1]本発明に係る焦点検出装置は、光学系を通過した光を受光して、前記光学系の焦点検出に用いる信号を出力し、第1領域または第2領域に含まれる複数の画素を有する撮像素子と、前記第1領域に含まれる複数の前記画素から出力された信号および前記第2領域に含まれる複数の前記画素からから出力された信号に基づいて、前記第1領域に含まれる複数の前記画素から出力された信号または前記第2領域に含まれる複数の前記画素から出力された信号を選択して前記光学系の焦点検出を行う検出部と、を備える。
[2]上記焦点検出装置に係る発明において、前記検出部は、前記第1領域に含まれる複数の前記画素から出力された信号および前記第2領域に含まれる複数の前記画素からから出力された信号の大きさに基づいて、前記第1領域に含まれる複数の前記画素から出力された信号または前記第2領域に含まれる複数の前記画素から出力された信号を選択して前記光学系の焦点検出を行うとしてもよい。
[3]上記焦点検出装置に係る発明において、前記検出部は、前記第1領域に含まれる複数の前記画素から出力された信号および前記第2領域に含まれる複数の前記画素からから出力された信号のうち、信号の大きい方の信号を選択して前記光学系の焦点検出を行うとしてもよい。
[4]上記焦点検出装置に係る発明において、前記検出部は、前記第1領域に含まれる複数の前記画素から出力された信号および前記第2領域に含まれる複数の前記画素からから出力された信号の高周波成分に基づいて、前記第1領域に含まれる複数の前記画素から出力された信号または前記第2領域に含まれる複数の前記画素から出力された信号を選択して前記光学系の焦点検出を行うとしてもよい。
[5]上記焦点検出装置に係る発明において、前記検出部は、前記第1領域に含まれる複数の前記画素から出力された信号および前記第2領域に含まれる複数の前記画素からから出力された信号の異なる周波数成分に基づいて、前記第1領域に含まれる複数の前記画素から出力された信号または前記第2領域に含まれる複数の前記画素から出力された信号を選択して前記光学系の焦点検出を行うとしてもよい。
[6]上記焦点検出装置に係る発明において、顔を検出する顔検出部を備え、前記第1領域および前記第2領域は、前記顔検出部で顔が検出された領域に含まれてよい。
[7]上記焦点検出装置に係る発明において、前記撮像素子が有する撮像領域のうち特定の領域を指定する指定部を備え、前記第1領域および前記第2領域は、前記指定部で指定された領域に含まれてもよい。
[8]上記焦点検出装置に係る発明において、複数の前記画素は、前記光学系の第1の瞳を通過した光を受光する画素と、前記光学系の第2の瞳を通過した光を受光する画素とを有してもよい。
[9]本発明に係る焦点検出装置は、光学系を通過した光を受光して、前記光学系の焦点検出に用いる信号を出力し、第1領域または第2領域に含まれる複数の画素を有する撮像部と、前記第1領域に含まれる複数の前記画素から出力された信号および前記第2領域に含まれる複数の前記画素からから出力された信号に基づいて、前記第1領域に含まれる複数の前記画素から出力された信号または前記第2領域に含まれる複数の前記画素から出力された信号を選択して出力する出力部と、を備える。
[1] A focus detection device according to the present invention receives light that has passed through an optical system, outputs a signal used for focus detection by the optical system, and detects a plurality of pixels included in a first region or a second region. and an imaging element included in the first region based on signals output from the plurality of pixels included in the first region and signals output from the plurality of pixels included in the second region a detection unit that selects signals output from the plurality of pixels or signals output from the plurality of pixels included in the second region to perform focus detection of the optical system .
[2] In the invention related to the focus detection device, the detection unit includes signals output from the plurality of pixels included in the first region and signals output from the plurality of pixels included in the second region. Based on the magnitude of the signal, signals output from the plurality of pixels included in the first region or signals output from the plurality of pixels included in the second region are selected to focus the optical system. Detection may be performed.
[3] In the invention related to the focus detection device, the detection unit includes signals output from the plurality of pixels included in the first region and signals output from the plurality of pixels included in the second region. The focus detection of the optical system may be performed by selecting the larger signal among the signals .
[4] In the invention related to the focus detection device, the detection unit includes signals output from the plurality of pixels included in the first region and signals output from the plurality of pixels included in the second region. Focus of the optical system by selecting signals output from the plurality of pixels included in the first region or signals output from the plurality of pixels included in the second region based on high frequency components of the signals Detection may be performed .
[5] In the invention related to the focus detection device, the detection unit includes signals output from the plurality of pixels included in the first region and signals output from the plurality of pixels included in the second region. Based on different frequency components of the signals, the signals output from the plurality of pixels included in the first region or the signals output from the plurality of pixels included in the second region are selected to operate the optical system. Focus detection may be performed.
[6] The focus detection device may include a face detection section for detecting a face, and the first area and the second area may be included in areas where the face is detected by the face detection section.
[7] In the invention related to the focus detection device, a designating unit for designating a specific region among the imaging regions of the imaging element is provided, and the first region and the second region are designated by the designating unit. may be included in the area.
[8] In the invention related to the focus detection device, the plurality of pixels include pixels that receive light that has passed through a first pupil of the optical system and pixels that receive light that has passed through a second pupil of the optical system. It may have pixels that
[9] A focus detection device according to the present invention receives light that has passed through an optical system, outputs a signal used for focus detection by the optical system, and detects a plurality of pixels included in a first region or a second region. and an imaging unit included in the first region based on signals output from the plurality of pixels included in the first region and signals output from the plurality of pixels included in the second region an output unit that selects and outputs signals output from the plurality of pixels or signals output from the plurality of pixels included in the second region.
Claims (1)
前記画素群から出力される前記信号のコントラストに基づいて選択された、1つの前記領域に配置された前記画素群の数よりも少ない数の画素群から出力される前記信号に基づいて、前記光学系により形成される前記被写体の像の合焦状態を検出する検出部と、を備える焦点検出装置。 an image pickup device having a plurality of regions in which a plurality of pixel groups each composed of a plurality of pixels for receiving light from an object that has passed through an optical system and outputting a signal based on the received light are arranged;
based on the signals output from the pixel groups less than the number of the pixel groups arranged in one of the regions, selected based on the contrast of the signals output from the pixel groups; A focus detection device, comprising: a detection unit that detects the focus state of the image of the subject formed by the system.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022095943A JP2022121474A (en) | 2020-06-29 | 2022-06-14 | Focus detector, camera, and electronic apparatus |
JP2024012027A JP2024040227A (en) | 2020-06-29 | 2024-01-30 | Focus detector and image pick-up device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020111943A JP2020166297A (en) | 2020-06-29 | 2020-06-29 | Focus detector, camera, and electronic apparatus |
JP2022095943A JP2022121474A (en) | 2020-06-29 | 2022-06-14 | Focus detector, camera, and electronic apparatus |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020111943A Division JP2020166297A (en) | 2020-06-29 | 2020-06-29 | Focus detector, camera, and electronic apparatus |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2024012027A Division JP2024040227A (en) | 2020-06-29 | 2024-01-30 | Focus detector and image pick-up device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022121474A true JP2022121474A (en) | 2022-08-19 |
Family
ID=72665930
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020111943A Pending JP2020166297A (en) | 2020-06-29 | 2020-06-29 | Focus detector, camera, and electronic apparatus |
JP2022095943A Pending JP2022121474A (en) | 2020-06-29 | 2022-06-14 | Focus detector, camera, and electronic apparatus |
JP2024012027A Pending JP2024040227A (en) | 2020-06-29 | 2024-01-30 | Focus detector and image pick-up device |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020111943A Pending JP2020166297A (en) | 2020-06-29 | 2020-06-29 | Focus detector, camera, and electronic apparatus |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2024012027A Pending JP2024040227A (en) | 2020-06-29 | 2024-01-30 | Focus detector and image pick-up device |
Country Status (1)
Country | Link |
---|---|
JP (3) | JP2020166297A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004294788A (en) * | 2003-03-27 | 2004-10-21 | Fuji Photo Optical Co Ltd | Electronic endoscope device provided with automatic focusing function |
JP2010008873A (en) * | 2008-06-30 | 2010-01-14 | Nikon Corp | Focus detecting device and imaging device |
JP2010139563A (en) * | 2008-12-09 | 2010-06-24 | Nikon Corp | Focus detector, focusing device, and imaging apparatus |
JP2010204294A (en) * | 2009-03-02 | 2010-09-16 | Canon Inc | Image capturing apparatus |
JP2011027902A (en) * | 2009-07-23 | 2011-02-10 | Canon Inc | Image processing apparatus, image pickup apparatus and image processing method |
JP2011242678A (en) * | 2010-05-20 | 2011-12-01 | Hoya Corp | Automatic focusing device and camera equipped with the same |
JP2012108281A (en) * | 2010-11-17 | 2012-06-07 | Nikon Corp | Focus detector and imaging apparatus |
JP2013015559A (en) * | 2011-06-30 | 2013-01-24 | Nikon Corp | Focus detector and imaging apparatus |
JP2013054326A (en) * | 2011-08-05 | 2013-03-21 | Nikon Corp | Focus detector and imaging apparatus |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5598710A (en) * | 1979-01-20 | 1980-07-28 | Nippon Kogaku Kk <Nikon> | Focus detector |
JPH0713703B2 (en) * | 1983-03-01 | 1995-02-15 | 株式会社ニコン | Automatic focus adjustment device |
JP4564831B2 (en) * | 2004-11-26 | 2010-10-20 | キヤノン株式会社 | Imaging apparatus and control method thereof |
JP5489641B2 (en) * | 2008-11-11 | 2014-05-14 | キヤノン株式会社 | Focus detection apparatus and control method thereof |
-
2020
- 2020-06-29 JP JP2020111943A patent/JP2020166297A/en active Pending
-
2022
- 2022-06-14 JP JP2022095943A patent/JP2022121474A/en active Pending
-
2024
- 2024-01-30 JP JP2024012027A patent/JP2024040227A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004294788A (en) * | 2003-03-27 | 2004-10-21 | Fuji Photo Optical Co Ltd | Electronic endoscope device provided with automatic focusing function |
JP2010008873A (en) * | 2008-06-30 | 2010-01-14 | Nikon Corp | Focus detecting device and imaging device |
JP2010139563A (en) * | 2008-12-09 | 2010-06-24 | Nikon Corp | Focus detector, focusing device, and imaging apparatus |
JP2010204294A (en) * | 2009-03-02 | 2010-09-16 | Canon Inc | Image capturing apparatus |
JP2011027902A (en) * | 2009-07-23 | 2011-02-10 | Canon Inc | Image processing apparatus, image pickup apparatus and image processing method |
JP2011242678A (en) * | 2010-05-20 | 2011-12-01 | Hoya Corp | Automatic focusing device and camera equipped with the same |
JP2012108281A (en) * | 2010-11-17 | 2012-06-07 | Nikon Corp | Focus detector and imaging apparatus |
JP2013015559A (en) * | 2011-06-30 | 2013-01-24 | Nikon Corp | Focus detector and imaging apparatus |
JP2013054326A (en) * | 2011-08-05 | 2013-03-21 | Nikon Corp | Focus detector and imaging apparatus |
Also Published As
Publication number | Publication date |
---|---|
JP2020166297A (en) | 2020-10-08 |
JP2024040227A (en) | 2024-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2013015131A1 (en) | Focus adjustment device and image capturing apparatus | |
JP2022141659A (en) | Detector, imaging element, and imaging device | |
JP2024096310A (en) | Focus detection device and image sensor | |
JP5831070B2 (en) | Imaging device | |
JP6642628B2 (en) | Imaging device and imaging device | |
JP5966267B2 (en) | Focus adjustment device and imaging device | |
JP5845660B2 (en) | Focus detection apparatus and imaging apparatus | |
JP2013015806A (en) | Focus detector and imaging apparatus | |
JP6399140B2 (en) | Imaging device | |
JP5891667B2 (en) | Focus adjustment device and imaging device provided with the same | |
JP2014074851A (en) | Focus detection device and image capturing device | |
JP2012255919A (en) | Focus adjustment device and imaging apparatus | |
JP6442824B2 (en) | Focus detection device | |
JP2022121474A (en) | Focus detector, camera, and electronic apparatus | |
JP6127730B2 (en) | Imaging device | |
JP5454521B2 (en) | Imaging device | |
JP6349624B2 (en) | Image sensor and focus detection apparatus | |
JP6098690B2 (en) | Lens barrel and camera body | |
JP2014211589A (en) | Focus adjustment device and imaging device | |
JP2016102953A (en) | Focus detection device and camera | |
JP5923900B2 (en) | Focus detection apparatus and imaging apparatus | |
JP2013054326A (en) | Focus detector and imaging apparatus | |
JP2019061264A (en) | Focus detector, camera, and electronic apparatus | |
JP2019148817A (en) | Focusing state detection device and camera | |
JP2014074853A (en) | Focus adjustment device and imaging device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220617 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220621 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230324 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230509 |
|
A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20230710 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230908 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20231107 |