JP6320100B2 - Imaging apparatus, control method thereof, and program - Google Patents
Imaging apparatus, control method thereof, and program Download PDFInfo
- Publication number
- JP6320100B2 JP6320100B2 JP2014056227A JP2014056227A JP6320100B2 JP 6320100 B2 JP6320100 B2 JP 6320100B2 JP 2014056227 A JP2014056227 A JP 2014056227A JP 2014056227 A JP2014056227 A JP 2014056227A JP 6320100 B2 JP6320100 B2 JP 6320100B2
- Authority
- JP
- Japan
- Prior art keywords
- focus
- distance measuring
- calibration
- focus detection
- mpu
- 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.)
- Active
Links
Images
Landscapes
- Automatic Focus Adjustment (AREA)
- Studio Devices (AREA)
- Focusing (AREA)
Description
本発明は、位相差検出方式によるフォーカス制御が可能な例えばデジタルカメラ等の撮像装置に関する。 The present invention relates to an imaging apparatus such as a digital camera capable of focus control by a phase difference detection method.
デジタル一眼レフカメラ等のレンズ交換型の撮像装置には、交換レンズ内の撮影光学系を通った光によって形成された一対の像の位相差から撮影光学系の焦点状態(デフォーカス量)を検出する位相差検出方式による焦点検出装置が搭載されていることが多い。このような位相差検出方式には、撮影時の光源や被写体の色、種類等の影響によっては合焦位置を正確に検出できないおそれがあるという問題があった。 In interchangeable lens imaging devices such as digital single-lens reflex cameras, the focus state (defocus amount) of the photographic optical system is detected from the phase difference between a pair of images formed by the light passing through the photographic optical system in the interchangeable lens. In many cases, a focus detection device using a phase difference detection method is mounted. Such a phase difference detection method has a problem that the focus position may not be accurately detected due to the influence of the light source at the time of shooting, the color and type of the subject, and the like.
この問題を解消すべく、位相差検出方式により得られた合焦位置を、コントラスト検出方式により検出された合焦位置に基づいて補正するフォーカスキャリブレーション(以下、キャリブレーションと称す)機能を備えたカメラが開示されている(特許文献1)。 In order to solve this problem, a focus calibration (hereinafter referred to as calibration) function for correcting the in-focus position obtained by the phase difference detection method based on the in-focus position detected by the contrast detection method is provided. A camera is disclosed (Patent Document 1).
コントラスト検出方式では、デジタルカメラにおいて撮像素子を用いて生成された映像信号から被写体のコントラストを示す焦点評価値を求め、この焦点評価値が最大となるフォーカスレンズの位置を合焦位置とする。焦点評価値が最大となる位置を検出する際には、フォーカスレンズを光軸方向に微小駆動しながら焦点評価値の変化をモニタする。 In the contrast detection method, a focus evaluation value indicating the contrast of a subject is obtained from a video signal generated using an image sensor in a digital camera, and the position of the focus lens that maximizes the focus evaluation value is set as a focus position. When the position where the focus evaluation value is maximized is detected, a change in the focus evaluation value is monitored while the focus lens is finely driven in the optical axis direction.
上記特許文献1のデジタルカメラでは、キャリブレーションにより得られた補正値を用いて、撮影時に位相差検出方式により得られた合焦位置を補正し、補正後の合焦位置にフォーカスレンズを移動させることで、正確な合焦制御を行うことができるとしている。
In the digital camera disclosed in
ところで、近年、位相差検出方式の焦点検出装置は、ユーザ要求に伴い、撮影画角に対して焦点検出可能な領域が拡大し、焦点検出点数が増加している。従って、デジタルカメラに搭載された位相差検出方式の焦点検出装置に応じたキャリブレーション方法について考慮する必要がある。 By the way, in recent years, in the focus detection apparatus of the phase difference detection method, the area capable of focus detection with respect to the shooting angle of view has been expanded and the number of focus detection points has increased in accordance with user requests. Therefore, it is necessary to consider a calibration method according to the phase difference detection type focus detection apparatus mounted on the digital camera.
しかし、上記特許文献1に開示された技術では、焦点検出領域の違いに応じたキャリブレーション方法については言及されていない。焦点検出点数が多い場合、焦点検出点ごとにキャリブレーションを行うと、ユーザ負荷が大きく、キャリブレーションにかかる時間も増大する。
However, the technique disclosed in
複数の焦点検出点を1度のキャリブレーションで補正する方法も考えられるが、その場合も被写体や焦点検出装置によってキャリブレーションに成功した焦点検出点と失敗した焦点検出点とが出てくる可能性がある。このため、失敗した焦点検出点に対しては再度キャリブレーションを行う必要性が生じる。 A method of correcting a plurality of focus detection points with one calibration is also conceivable, but in this case also, there is a possibility that a focus detection point that has been successfully calibrated and a focus detection point that has failed due to the subject or the focus detection device will appear. There is. For this reason, it becomes necessary to perform calibration again for the failed focus detection point.
そこで、本発明は、キャリブレーションにおけるユーザ負荷を軽減し、キャリブレーションにかかる時間を短縮する仕組みを提供することを目的とする。 Therefore, an object of the present invention is to provide a mechanism for reducing user load in calibration and shortening time required for calibration.
上記目的を達成するために、本発明の撮像装置は、フォーカスレンズを含む撮影光学系により形成された被写体像を光電変換して画像信号を生成する撮像手段と、前記被写体像の一対の像信号に基づいて、位相差検出方式により前記フォーカスレンズの第1の合焦位置を検出する第1の検出手段と、前記画像信号を用いたコントラスト検出方式により、前記フォーカスレンズの第2の合焦位置を検出する第2の検出手段と、前記第2の合焦位置と前記第1の合焦位置との差から算出される合焦位置の補正量を用いて前記第1の合焦位置を補正するキャリブレーション手段と、複数の焦点検出領域ごとに前記キャリブレーション手段による前記補正が可能な焦点検出領域か否かを判定する判定手段と、前記複数の焦点検出領域をグループに分類するグループ化手段と、を備え、前記キャリブレーション手段は、前記判定手段により前記補正が可能と判定された焦点検出領域に対して前記補正を行い、前記グループ化手段により分類されたグループに含まれる複数の焦点検出領域のうち、前記判定手段により前記補正が可能と判定された焦点検出領域に対して算出された前記合焦位置の補正量を前記判定手段により前記補正が不可と判定された焦点検出領域に用いることを特徴とする。 In order to achieve the above object, an imaging apparatus according to the present invention includes an imaging unit that photoelectrically converts a subject image formed by a photographing optical system including a focus lens to generate an image signal, and a pair of image signals of the subject image. Based on the first detection means for detecting the first focus position of the focus lens by the phase difference detection method, and the second focus position of the focus lens by the contrast detection method using the image signal The first focus position is corrected using a second detection means for detecting a focus position and a focus position correction amount calculated from a difference between the second focus position and the first focus position. Calibration means for determining, a determination means for determining whether or not each of the plurality of focus detection areas is a focus detection area that can be corrected by the calibration means, and classifying the plurality of focus detection areas into groups Grouping means, and the calibration means performs the correction on the focus detection area determined to be correctable by the determination means and is included in the group classified by the grouping means. Of the plurality of focus detection areas, the focus position correction amount calculated for the focus detection area determined to be correctable by the determination means is the focus determined to be uncorrectable by the determination means. It is used for a detection region.
本発明によれば、キャリブレーションにおけるユーザ負荷を軽減し、キャリブレーションにかかる時間を短縮することができる。 According to the present invention, the user load in calibration can be reduced, and the time required for calibration can be shortened.
以下、図面を参照して、本発明の実施形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(第1の実施形態)
図1は、本発明の撮像装置の第1の実施形態であるデジタル一眼レフカメラの概略断面図である。図2は、図1に示すデジタル一眼レフカメラのミラーユニットがミラーアップした状態を示す概略断面図である。
(First embodiment)
FIG. 1 is a schematic cross-sectional view of a digital single-lens reflex camera which is a first embodiment of an imaging apparatus of the present invention. FIG. 2 is a schematic cross-sectional view showing a state where the mirror unit of the digital single-lens reflex camera shown in FIG. 1 is mirrored.
本実施形態のデジタル一眼レフカメラは、図1及び図2に示すように、カメラ本体1の正面側に設けられたマウント2に交換レンズ3が着脱可能に装着される。マウント2には、交換レンズ3との間で各種信号を通信したり、カメラ本体1から交換レンズ3に電源を供給したりするための不図示のインターフェイス部が設けられている。
In the digital single-lens reflex camera of this embodiment, as shown in FIGS. 1 and 2, an
交換レンズ3の内部には、フォーカスレンズ3a、変倍レンズ3bおよび絞り19を含む撮影光学系が収容されている。なお、図では、各レンズを1枚のレンズにより構成されているように示しているが、複数枚のレンズによって構成されていてもよい。
Inside the
カメラ本体1には、ハーフミラーにより構成された主ミラー4が設けられ、主ミラー4は、図1に示すダウン位置と図2に示すアップ位置との間で回動可能に不図示のミラーボックスに支持される。撮影光学系により形成される被写体像を後述するファインダ光学系を通して観察する際(ファインダ観察状態)には、主ミラー4は、図1に示すように、撮影光路内に斜めに進入してダウン位置に配置される。ダウン位置に配置された主ミラー4は、撮影光学系からの光束を反射してファインダ光学系に導く。また、撮影時やライブビュー表示時(撮影/ライブビュー観察状態)には、主ミラー4は、図2に示すように、撮影光路から退避するアップ位置に配置される。これにより、撮影光学系からの光束は、後述するシャッタ5および撮像素子6に導かれる。
The
シャッタ5は、撮影光学系からの光束による撮像素子6の露光を制御する。本実施形態では、シャッタ5は、フォーカルプレーンシャッタであり、ファインダ観察状態では閉じ、撮影/ライブビュー観察状態では開くように駆動される。
The shutter 5 controls exposure of the
撮像素子6は、CMOSイメージセンサとその周辺回路で構成され、結像した被写体像を光電変換して撮像信号を出力する。撮像信号に対して後述する画像処理回路54(図3参照)にて各種処理が行われ、画像信号が生成される。撮像信号は、全画素が独立して出力可能に構成されている。また、撮像素子の一部の画素は、焦点検出用画素となっており、撮像面で位相差検出方式の焦点検出(撮像面位相差AF)が可能となっている。
The
具体的には、撮像素子6は、被写体像を形成する交換レンズ3の射出瞳の全域を通る光束を各々が受光して被写体像を生成する複数の撮像用画素を有する。また、撮像素子6は、各々が交換レンズ3の射出瞳の一部の領域を通る光束を受光する複数の焦点検出用画素も有する。複数の焦点検出用画素は、全体として交換レンズ3の射出瞳の全域を通る光束を受光することができる。焦点検出用画素は、撮像面位相差AFを撮像素子6の全領域で行うために、有効画素内に離散的に配置されている。なお、撮像面位相差AFについては、公知(特開2009−244429号公報、特開2010−117680号公報)であるため、詳細な説明は省略する。
Specifically, the
サブミラー7は、主ミラー4とともに回動し、主ミラー4がダウン位置に配置さているときに、主ミラー4を透過した光束を反射して後述するAFユニット8に導く。また、サブミラー7は、撮影/ライブビュー観察状態では、主ミラー4とともにアップ位置に配置される。
The
AFユニット8は、結像面近傍に配置されたフィールドレンズ8a、反射ミラー8b、2次結像レンズ8c、及び2次元方向に配置された複数の受光素子を含むエリアセンサ8dにより構成されている。
The
2次結像レンズ8cは、撮影光学系から入射して主ミラー4、サブミラー7及び反射ミラー8bにて反射した光束から一対の被写体像を形成する。エリアセンサ8dは、2次結像レンズ8cで形成された一対の被写体像を光電変換して一対の像信号を生成する。エリアセンサ8dで生成された一対の像信号は、後述する焦点検出回路36(図3参照)に出力される。この一対の像信号を用いて、位相差検出方式による撮影光学系の焦点状態の検出(焦点検出)を行うことができる。
The
2次結像レンズ8bは、撮影画面内の複数の領域に含まれる被写体のそれぞれについて一対の被写体像を形成するように構成されている。すなわち、撮影画面内に複数の焦点検出領域(以下、測距点という)が配置されている。本実施形態では、撮影画面内に61点の測距点が配置されている(図7参照)。
The
ピント板9には、主ミラー4により反射された光束により被写体像が形成される。ペンタプリズム10は、ピント板9の射出面に結像した被写体像を正立正像に反転させる。接眼レンズ11は、ペンタプリズム10からの光束をユーザの眼に導いてピント板9上に形成された被写体像をユーザに観察させる。本実施形態では、ピント板9、ペンタプリズム10、及び接眼レンズ11によりファインダ光学系を構成する。
A subject image is formed on the focusing
表示装置12は、高分子分散液晶パネル(所謂、PN液晶パネル)で構成され、ピント板9の近傍に配置されて、ファインダ内に前述した61の測距点などの各種情報を表示する。RGB測光センサ13は、CMOSセンサやCCDセンサなどの撮像素子で構成され、不図示の測光光学系とともに、撮像信号からピント板9上の被写体像の輝度の測光(いわゆる、AE)、色の測色、及び撮像信号から画像を生成して顔検出等を行うことができる。液晶モニタ14は、画像信号(ライブビュー画像および撮影画像)や各種情報を表示する。
The
交換レンズ3には、フォーカスモータ15が設けられ、フォーカスモータ15は、フォーカスレンズ3aを光軸方向に駆動する。リードスクリュー16は、フォーカスモータ15により回転駆動される。リードスクリュー16には、フォーカスレンズ3aの保持枠(不図示)に取り付けられたラックが噛合している。このため、フォーカスモータ15によりリードスクリュー16が回転駆動されると、リードスクリュー16とラックとのねじ作用によりフォーカスレンズ3aが光軸方向に移動する。
The
リードスクリュー16の先端には、パルス板17がリードスクリュー16と一体回転可能に取り付けられている。また、交換レンズ3には、パルス板17の一部を挟むように配置された発光素子と受光素子とを有するフォトカプラ18が配置されている。フォトカプラ18は、パルス板17の回転によって発光素子からの光が受光素子により受光されるごとにパルス信号を生成する。このパルス信号は、後述する焦点調節回路34(図3参照)に入力され、焦点調節回路34でパルス信号の入力数がカウントされることで、フォーカスレンズ3aの移動量(又は位置)が検出される。
A
絞り駆動部20は、後述する絞り駆動回路35(図3参照)を含み、絞り19を開閉方向に駆動する。レンズSDRAM21は、後述する光量データやベストピント補正量等の情報を記録するメモリである。
The
図3は、図1に示すデジタル一眼レフカメラの制御系の一例を示すブロック図である。図3において、MPU30は、カメラ全体の制御を司るメインコントローラである。メモリコントローラ31は、撮像素子6の動作の制御や画像データに関する制御を行う。EEPROM32は、各種制御を行うためのデータやプログラムを格納するメモリである。
FIG. 3 is a block diagram showing an example of a control system of the digital single-lens reflex camera shown in FIG. In FIG. 3, an
レンズ制御回路33は、交換レンズ3内に設けられ、マウント2を介して送信されてくるMPU30からの信号に応じて、交換レンズ3内の焦点調節回路34および絞り駆動回路35を制御する。
The
焦点調節回路34には、レンズ制御回路33からフォーカスレンズ3aの目標移動量を示す情報が入力されるとともに、フォトカプラ18からパルス信号(フォーカスレンズ3aの実際の移動量(実移動量)の情報)が入力される。焦点調節回路34は、目標移動量と実移動量の情報に基づいて、フォーカスモータ15を駆動してフォーカスレンズ3aを光軸方向に移動させる。絞り駆動回路35は、レンズ制御回路33からの絞り駆動信号に応じて絞り19を開閉駆動する。
Information indicating the target movement amount of the
焦点検出回路36は、カメラ本体1に設けられ、AFユニット8に設けられたエリアセンサ8dの電荷蓄積と電荷読み出しを制御し、各焦点検出領域で得られる一対の像信号をMPU30に出力する。MPU30は、入力された一対の像信号に対して相関演算を行うことで、一対の像信号の位相差を算出し、更に位相差から撮影光学系の焦点状態を示すデフォーカス量を算出する。そして、MPU30は、デフォーカス量と、交換レンズ3のレンズ制御回路33から取得した撮影光学系の焦点距離やフォーカスレンズ3aのフォーカス敏感度等の光学データとに基づいて、フォーカスレンズ3aの合焦位置を計算する。
The
この位相差検出方式により得られる合焦位置(第1の合焦位置)を、以下の説明では、位相差合焦位置という。MPU30は、位相差合焦位置の情報を、レンズ制御回路33に送信する。
The focus position (first focus position) obtained by this phase difference detection method is referred to as a phase difference focus position in the following description. The
レンズ制御回路33は、フォーカスレンズ3aを現在の位置から位相差合焦位置に移動させるためのフォーカスレンズ3aの目標移動量を算出し、目標移動量の情報を焦点調節回路34に出力する。これにより前述したように、焦点調節回路34によるフォーカスモータ15の駆動およびフォーカスレンズ3aの位相差合焦位置への移動が行われる。このようにして、位相差検出方式による焦点検出と焦点調節からなる位相差AFが行われる。
The
測光回路37は、RGB測光センサ13からの輝度信号をMPU30に出力する。MPU30は、輝度信号をA/D変換して被写体の測光情報とし、この測光情報を用いて撮影露出を演算し設定する。この測光情報を得てから撮影露出の設定までの一連の動作をAE動作と称する。MPU30は、同様にRGB信号から被写体の色情報を得、撮像信号から顔検出を行う。
The
モータ駆動回路38は、主ミラー4を駆動する不図示のミラーモータやシャッタ5をチャージする不図示のチャージモータを制御する。シャッタ駆動回路39は、シャッタ5をチャージ状態にて保持する不図示の電磁石(コイル)への電力供給を制御する。液晶駆動回路40は、PN液晶パネル12の駆動制御を行い、測距点や各種情報をファインダ内に表示する。DC/DCコンバータ41は、電源42の電圧をカメラ本体1および交換レンズ3内の各回路に必要な電圧に変換する。電源42は、カメラ本体1に対して着脱可能になっている。
The
レリーズボタン43は、ユーザによって撮影を開始させるために操作され、半押し操作によってAEおよびAF等の撮影準備動作を開始させるための第1スイッチSW1がオンされる。また、レリーズボタン43の全押し操作によって記録用画像を生成するための第2スイッチSW2がオンされ、撮像素子6の露光が開始される。第1スイッチSW1および第2スイッチSW2のオン信号は、MPU30に出力される。
The
モードボタン44は、電子ダイアル45とともに操作されることで、カメラ本体1における撮影モードの変更を可能とする。電子ダイアル45は、その回転操作量に応じたクリック信号がMPU30のアップダウンカウンタにてカウントされ、カウント値に応じて各種数値やデータ等の選択が行われる。
The
マルチコントロールボタン46は、上下左右およびそれらの間に設けられた8つのボタン部がユーザによって操作されることで、測距点や各種撮影モードの詳細を選択または設定するための操作入力部である。SETボタン47は、モードボタン44、電子ダイアル45、マルチコントロールボタン46などが操作されて、測距点や各種撮影モードの詳細、各種数値などの選択または設定を行った際に、その選択または設定を決定するための操作入力部である。電源ボタン48は、ユーザに操作されることで、カメラ本体1および交換レンズ3の電源がON/OFFされる。
The
CDS(相関2重サンプリング)/AGC(自動ゲイン調整)回路50は、撮像素子6から出力された撮像信号に対して、サンプルホールドと自動ゲイン調整を行う。A/D変換器51は、CDS/AGC回路50からのアナログ出力をデジタル信号に変換する。TG(タイミング発生)回路52は、撮像素子6に駆動タイミング信号を、CDS/AGC回路50にサンプルホールドタイミング信号を、A/D変換器51にサンプルクロック信号をそれぞれ供給する。
A CDS (correlated double sampling) / AGC (automatic gain adjustment)
メモリコントローラ31は、撮像素子6から出力され、CDS/AGC回路50およびA/D変換器51から出力された撮像信号を用いて、コントラスト検出方式によりフォーカスレンズ3aの合焦位置を検出する。このコントラスト検出方式により検出される合焦位置(第2の合焦位置)を、以下の説明では、コントラスト合焦位置という。
The
MPU30は、コントラスト合焦位置と前述した位相差合焦位置との差に基づいて、位相差合焦位置を補正するフォーカスキャリブレーションを行う。MPU30とメモリコントローラ31により、キャリブレーション手段が構成される。
The
また、メモリコントローラ31は、撮像素子6の焦点検出用画素からの出力信号を用いて、MPU30で算出される位相差検出方式と同様の処理を行い、撮像面位相差検出方式によりフォーカスレンズ3aの合焦位置を検出する。この撮像面位相差検出方式により得られる合焦位置(第3の合焦位置)を以下の説明では、撮像面位相差合焦位置という。
Further, the
SDRAM53は、A/D変換器51によりデジタル変換された画像等のデータや撮像素子6の焦点検出用画素の出力信号を一時的に記録するメモリである。画像処理回路54は、A/D変換器51から出力された撮像信号(デジタル信号)に対して、Y/C(輝度信号/色差信号)分離、ホワイトバランス補正およびγ補正等の様々な処理を行って、ライブビュー用や記録用の画像データを生成する。メモリコントローラ31は、画像処理回路54で生成された画像データから、被写体の測光情報を得る(いわゆる撮像面AEを行う)ことが可能である。
The
画像圧縮/伸張回路55は、画像データをJPEG等の形式に従って圧縮したり圧縮された画像データを伸張したりする。D/A変換器56は、SDRAM53や記録メディア58に記録された画像データなどを液晶モニタ14に表示するために、画像データをアナログ信号に変換する。I/F57は、記録メディア58とのインターフェイスである。
The image compression /
次に、図4乃至図10を参照して、デジタル一眼レフカメラの動作例を説明する。図4は、フォーカスキャリブレーション処理を実行するキャリブレーションモードでの動作を示すフローチャート図である。図4での各処理は、EEPROM32等に格納された制御プログラムに従ってMPU30およびメモリコントローラ31により実行される。
Next, an operation example of the digital single-lens reflex camera will be described with reference to FIGS. FIG. 4 is a flowchart showing the operation in the calibration mode for executing the focus calibration process. Each process in FIG. 4 is executed by the
図4において、ステップS101では、MPU30は、ユーザによってモードボタン44および電子ダイアル45が操作されてキャリブレーションモードが選択されたことを検出すると、ステップS102に進む。
4, in step S101, when the
ステップS102では、MPU30は、フォーカスキャリブレーションを行うためにライブビュー(LV)表示を開始し、ステップS103に進む。
In step S102, the
具体的には、MPU30は、モータ駆動回路38を介して不図示のミラーモータを制御し、主ミラー4とサブミラー7をアップ位置に回動させて撮影光路外に退避させる。またMPU30は、シャッタ駆動回路39を介して不図示のチャージモータを駆動し、シャッタ5を図2に示す開放状態にする。
Specifically, the
そして、メモリコントローラ31は、撮像素子6に光電変換(電荷蓄積と電荷読み出し)を開始させ、撮像素子6から読み出した撮像信号を用いて画像処理回路54により生成された動画像であるライブビュー画像を液晶モニタ14に表示させる。ユーザは、このライブビュー画像を見ながらフォーカスキャリブレーションを行うための被写体を探し、カメラを配置する。
Then, the
ここで、図5は、ライブビュー時の液晶モニタ14の表示例を示す図である。図5に示すように、液晶モニタ14には、被写体の道路標識200がライブビュー画像として表示されている。また、撮影画面の中央には、TV測距点枠300が表示されている。なお、図5では、TV測距点枠300は、撮影画面の中央に配置されているが、撮影画面の何処に配置されていても構わない。
Here, FIG. 5 is a diagram illustrating a display example of the liquid crystal monitor 14 during live view. As shown in FIG. 5, the
ステップS103では、MPU30は、ユーザによりレリーズボタン43が半押し操作されて第1スイッチSW1がオンになったか否かを判定し、オンになっていれば、フォーカスキャリブレーションを行う被写体を確定して、ステップS104に進む。
In step S103, the
ステップS104では、MPU30は、レンズ制御回路33を通じてフォーカスモータ15を駆動し、フォーカスレンズ3aの所定量刻みでの駆動を開始し、ステップS105に進む。
In step S104, the
ステップS105では、MPU30は、メモリコントローラ31によりTV測距点枠300に対しコントラスト検出方式によりフォーカスレンズ3aのコントラスト合焦位置を検出する。
In step S <b> 105, the
具体的には、まずメモリコントローラ31が撮像素子6からTV測距点枠300内の撮像信号を読み出してコントラスト評価画像を生成し、SDRAM53に一時的に記録する。そして、メモリコントローラ31は、コントラストが最大(ピーク)であるピーク画像が得られたか否かを判定する。
Specifically, first, the
MPU30は、メモリコントローラ31がピーク画像が得られたと判定した場合は、ステップS106に進み、そうでない場合は、メモリコントローラ31によりフォーカスレンズ3aが所定量駆動された位置で繰り返しピーク画像を検出する。メモリコントローラ31によるピーク画像の検出は、最低でも3つのコントラスト評価画像を取得しないと行えないため、ステップS105は最低3回繰り返される。
If the
ステップS106では、MPU30は、レンズ制御回路33を通じてフォーカスモータ15を停止させ、フォーカスレンズ3aの駆動を終了し、ステップS107に進む。この時点でフォーカスレンズ3aは、フォーカスキャリブレーションを行うための被写体とした道路標識200にピントが合った位置(コントラスト合焦位置)で停止している。
In step S106, the
ステップS107では、MPU30は、エリアセンサ8dの61点の測距点をグループごとに分類する測距点グループ化処理を実行し、ステップS108に進む。なお、ここでの測距点グループ化処理の詳細については、図8を用いて後述する。
In step S107, the
ステップS108では、MPU30は、カウンタMに初期値として1を入力し、ステップS109に進む。カウンタMは、測距点グループを識別する番号として使用する。例えば、M=1のときは、測距点グループ1に対応する。
In step S108, the
ステップS109では、MPU30は、カウンタBに初期値として1を入力し、ステップS110に進む。カウンタBは、測距点グループ内の測距点を識別する番号として使用する。以下、測距点グループMに属する測距点Bを測距点M−Bと表記する。例えばM=1、B=1の場合は、測距点グループ1の1番目の測距点に対応する。測距点グループ内における測距点の順番は、図8の測距点グループ化処理にて測距点がグループに分類された順番とする。例えば、本実施形態では、測距点グループ1の1番目の測距点とは、図7における測距点809となる。
In step S109, the
ステップS110では、MPU30は、測距点M−Bに対してフォーカスキャリブレーション可否判定処理を実行し、ステップS111に進む。なお、ここでのフォーカスキャリブレーション可否判定処理の詳細については、図9を用いて後述する。
In step S110, the
ステップS111では、MPU30は、ステップS110での測距点M−Bのフォーカスキャリブレーション可否判定結果を判断する。そして、MPU30は、フォーカスキャリブレーション可であれば、ステップS114へ進み、フォーカスキャリブレーション不可であれば、ステップS112へ進む。フォーカスキャリブレーション可否判定結果は、後述のフォーカスキャリブレーション可否判定処理でSDRAM53に一時的に記録されるCAL OK FLAGまたはCAL NG FLAGで判別可能となっている。
In step S111, the
ステップS112では、MPU30は、測距点グループMに属する全測距点でフォーカスキャリブレーション可否判定が行われたかをカウンタMとカウンタBの組み合わせで判断する。そして、MPU30は、測距点グループMに属する全測距点でフォーカスキャリブレーション可否判定が行われていれば、ステップS114へ進み、行われていなければ、ステップS113へ進む。例えば、本実施形態では、図8での測距点グループ化処理で測距点グループ1に5個の測距点が分類されるので、カウンタMが1のときはカウンタBが5であるとき、測距点グループMに属する全測距点でフォーカスキャリブレーション可否判定が行われたと判断する。
In step S <b> 112, the
ステップS113では、MPU30は、カウンタBをカウントアップ(例えばB=B+1=1+1=2)し、ステップS110に戻る。ステップS110〜S113を繰り返すことで、測距点グループ内にフォーカスキャリブレーション可能な測距点が存在するか判断していく。
In step S113, the
ステップS114では、MPU30は、全ての測距点グループでフォーカスキャリブレーション可否判定が行われたかをカウンタMの値で判断し、行われていれば、ステップS117へ進み、行われていなければ、ステップS115へ進む。本実施形態では、図8での測距点グループ化処理にて測距点は4つのグループに分類されるので、カウンタMが4であるとき、全ての測距点グループでフォーカスキャリブレーション可否判定が行われたと判断する。ステップS117へ進むときは、各測距点グループ内にフォーカスキャリブレーション可能な測距点が1つ存在するか、1つも存在しないことになる。なお、カウンタMが取り得る値は、測距点グループ化の数によって異なる。
In step S114, the
ステップS115では、MPU30は、カウンタMをカウントアップ(例えばM=M+1=1+1=2)し、ステップS116に進む。カウンタMをカウントアップすることで、次のステップS110では、新たな測距点グループに属する測距点でキャリブレーション可否判定が行われる。
In step S115, the
ステップS116では、MPU30は、カウンタBに1を代入して、初期値へ戻し、ステップS110に戻る。カウンタBに1を代入して、初期値へ戻すことにより、次のステップS110では、グループMに属する1番目の測距点Bでフォーカスキャリブレーション可否判定が行われる。
In step S116, the
ステップS117では、MPU30は、メモリコントローラ31により測距点グループごとのフォーカスキャリブレーション可否判定結果を液晶モニタ14に表示し、ステップS118に進む。
In step S117, the
図6は、フォーカスキャリブレーション可否判定結果が液晶モニタ14に表示された状態を示す図である。図6において、グループ枠701,710〜712,720〜723は、エリアセンサ8dの測距点が存在する位置を測距点グループごとに囲ったものである。グループ枠701は、グループ1を示し、グループ枠710〜712は、グループ2を示し、720〜723はグループ3を示している。
FIG. 6 is a diagram illustrating a state in which the focus calibration availability determination result is displayed on the
各グループ枠701,710〜712,720〜723の内側には、それぞれのグループに属するエリアセンサ8dの測距点が複数存在していることを意味している。フォーカスキャリブレーションが可能な測距点が存在したグループは、実線のグループ枠701,710〜712で表示しており、このグループ枠701,710〜712内の測距点は、全てフォーカスキャリブレーションが可能であることを意味している。
It means that a plurality of distance measuring points of the
フォーカスキャリブレーション可能な測距点が存在しなかったグループは、破線のグループ枠720〜723で表示している。また、CAL開始ボタン310とキャンセルボタン320が表示されている。フォーカスキャリブレーション可能な測距点が存在しなかった場合には、CAL開始ボタン310は表示されない。
A group in which no focus detection point capable of focus calibration exists is displayed in broken-line group frames 720 to 723. In addition, a
図6においては、各測距点グループごとのフォーカスキャリブレーションの可否をグループ枠の実線と破線で表示しているが、これに限定されない。例えば、グループ枠の表示色を変更したり、測距点を示す枠を表示と非表示にしたり、ユーザが視覚的に各測距点のフォーカスキャリブレーション可否を判定できればどのような表示方法でも構わない。 In FIG. 6, whether or not focus calibration is possible for each distance measuring point group is indicated by a solid line and a broken line of the group frame, but is not limited thereto. For example, any display method may be used as long as the display color of the group frame is changed, the frame indicating the distance measurement point is displayed or not displayed, and the user can visually determine whether focus calibration is possible for each distance measurement point. Absent.
ステップS118では、MPU30は、ユーザによりCAL開始ボタン310がオン操作されたか否かを判定する。
In step S118, the
具体的には、電子ダイアル45やマルチコントロールボタン46の操作により、CAL開始ボタン310を選択した後にSETボタン47が操作されると、CAL開始ボタン310がオン操作されたことになる。そして、MPU30は、CAL開始ボタン310がオン操作されると、ステップS119に進み、キャンセルボタン320がオン操作されると、フォーカスキャリブレーションモードを終了する。
Specifically, when the
ステップS119では、MPU30は、フォーカスキャリブレーションを実行し、実行後にフォーカスキャリブレーションモードを終了する。ここでのフォーカスキャリブレーション実行処理の詳細については、図10を用いて後述する。
In step S119, the
図7は、エリアセンサ8dの測距点と各測距点に対応するエリアセンサ8dの被写体像の測距方向を示す図である。図7において、エリアセンサ8dの測距点群800には、破線で示す61点の測距点が配置される。測距点群800での測距点の個別番号は、左上を測距点801として数え始め、左端から右端、上側から下側と数え、中央を測距点831、右下を測距点861とする。
FIG. 7 is a diagram showing the distance measurement points of the
測距方式枠910〜920,930〜946,950〜954は、エリアセンサ8dの各測距点における測距方式枠を実線で示している。本実施形態では、エリアセンサ8dは、縦・横・斜めの方向で被写体像を光電変換し、一対の像信号を焦点検出回路36に出力する。この像信号の方向によって焦点検出できる被写体が異なる。
The distance measurement method frames 910 to 920, 930 to 946, and 950 to 954 indicate the distance measurement method frames at the distance measurement points of the
エリアセンサ8dが縦方向で像信号を生成して焦点検出回路36に出力する場合、縦目測距方式と呼び、横線の輝度分布を持った被写体で焦点検出が行える。エリアセンサ8dが横方向で像信号を生成して焦点検出回路36に出力する場合、横目測距方式と呼び、縦線の輝度分布を持った被写体で焦点検出が行える。エリアセンサ8dが斜め方向で像信号を生成して焦点検出回路36に出力する場合、斜目測距方式と呼び、斜線の輝度分布を持った被写体で焦点検出が行える。このように測距方式の違いによって焦点検出できる被写体が異なるため、1つの測距点に対して、1つまたは複数の測距方式を用いて焦点検出を行う。
When the
図7において、測距方式枠910〜920は、縦目測距方式枠であり、測距方式枠930〜946は、横目測距方式枠であり、測距方式枠950〜954は、斜目測距方式枠である。エリアセンサ8dの各測距点では、その測距点801〜861に掛かっている測距方式枠の測距方式で焦点検出が行われる。
In FIG. 7, distance measurement method frames 910 to 920 are vertical eye distance measurement method frames, distance measurement method frames 930 to 946 are horizontal eye distance measurement method frames, and distance measurement method frames 950 to 954 are oblique lines. This is a distance measurement method frame. At each distance measuring point of the
図7では、測距点804には、縦目測距方式枠910が掛かっているので、縦目測距方式で焦点検出が行われる。測距点809では、縦目測距方式枠915と横目測距方式枠936と斜目測距方式枠950が掛かっているので、縦目測距方式、横目測距方式、斜目測距方式の3方式を使用して焦点検出が行われる。図8での測距点グループ化処理では、この測距方式の違いによって、測距点をグループに分類する。
In FIG. 7, since the longitudinal eye ranging
図8は、図4のステップS107における測距点グループ化処理を示すフローチャート図である。 FIG. 8 is a flowchart showing the distance measuring point grouping process in step S107 of FIG.
図8において、ステップS1001では、MPU30は、カウンタNに初期値として1を入力し、ステップS1002に進む。カウンタNは、61点ある測距点を識別する番号として使用する。測距点の番号は、図7での測距点の数えかたと同一とする。例えばカウンタNの値が1のときは、図7の測距点801と対応し、カウンタNの値が61のときは、測距点861と対応する。
In FIG. 8, in step S1001, the
ステップS1002では、MPU30は、測距点Nの測距方式を判定し、測距点Nに対応するエリアセンサ8dの測距方式が斜目測距方式であれば、ステップS1003へ進み、斜目測距方式でなければ、ステップS1004へ進む。
In step S1002, the
ステップS1003では、MPU30は、測距点Nをグループ1として関連付け、その情報をSDRAM53に一時的に記録し、ステップS1004に進む。
In step S1003, the
ステップS1004では、MPU30は、測距点Nの測距方式を判定し、測距点Nに対応するエリアセンサ8dの測距方式が横目測距方式であれば、ステップS1005へ進み、横目測距方式でなければ、ステップS1008へ進む。
In step S1004, the
ステップS1005では、MPU30は、測距点Nの測距方式を判定し、測距点Nに対応するエリアセンサ8dの測距方式が縦目測距方式であれば、ステップS1006へ進み、縦目測距方式でなければ、ステップS1007へ進む。
In step S1005, the
ステップS1006では、MPU30は、測距点Nをグループ2として関連付け、その情報をSDRAM53に一時的に記録し、ステップS1009に進む。
In step S1006, the
ステップS1007では、MPU30は、測距点Nをグループ3として関連付け、その情報をSDRAM53に一時的に記録し、ステップS1008に進む。
In step S1007, the
ステップS1008では、MPU30は、測距点Nをグループ4として関連付け、その情報をSDRAM53に一時的に記録し、ステップS1009に進む。
In step S1008, the
ステップS1009では、MPU30は、カウンタNをカウントアップ(例えばN=N+1=1+1=2)し、ステップS1010に進む。
In step S1009, the
ステップS1010では、MPU30は、61点の全ての測距点でグループ化処理が行われたか判断し、行われていれば、処理を終了して、図4のステップS108へ進み、行われていなければ、ステップS1002へ戻る。
In step S1010, the
ステップS1002〜ステップS1010の処理を繰り返すことにより、61点ある測距点の全てでグループ分類を行っていく。 By repeating the processes in steps S1002 to S1010, group classification is performed on all of the 61 distance measuring points.
図9は、図4のステップS110でのフォーカスキャリブレーション可否判定(CAL可否判定)処理を示すフローチャート図である。 FIG. 9 is a flowchart showing focus calibration availability determination (CAL availability determination) processing in step S110 of FIG.
図9において、ステップS151では、MPU30は、メモリコントローラ31により測距点の撮像信号を読み出して評価画像を生成し、ステップS152に進む。本実施形態では、測距点M−Bに対しての処理となる。
In FIG. 9, in step S151, the
ステップS152では、MPU30は、評価画像のコントラストが所定値以上であるか否かを判定し、所定値以上の場合は、ステップS153へ進み、所定値未満の場合は、ステップS157へ進む。
In step S152, the
ステップS153では、MPU30は、評価画像の輝度が所定範囲値内であるか否かを判定し、所定範囲値内の場合は、ステップS154へ進み、所定範囲値外の場合は、ステップS157へ進む。
In step S153, the
ステップS154では、MPU30は、評価画像内に遠近競合している被写体があるか否かを判定し、遠近競合している被写体がある場合は、ステップS157へ進み、遠近競合している被写体がない場合は、ステップS155へ進む。
In step S154, the
ステップS155では、MPU30は、評価画像が繰り返しパターンになっているか否かを判定し、繰り返しパターンになっている場合は、ステップS157へ進み、繰り返しパターンになっていない場合は、ステップS156へ進む。
In step S155, the
ステップS156では、ステップS152〜ステップS155での4つの判定が全てYesなので、後述する図10のステップS1204において位相差AFで正確な測距ができ、測距点M−Bは、フォーカスキャリブレーション可能と判定される。このため、MPU30は、測距点M−BとCAL OK FLAGをSDRAM53に一時的に記録し、図4のステップS111に進む。
In step S156, since the four determinations in steps S152 to S155 are all Yes, accurate distance measurement can be performed with phase difference AF in step S1204 of FIG. 10 described later, and the focus detection point MB can be focus calibrated. It is determined. Therefore, the
ステップS157では、ステップS152〜ステップS155の4つの判定のいずれかがNoなので、後述する図10のステップS1204において位相差AFが誤測距したり、測距不能になるおそれがある。従って、測距点M−Bは、フォーカスキャリブレーション不可能と判定される。そして、MPU30は、測距点M−BとCAL NG FLAGをSDRAM53に一時的に記録し、図4のステップS111へ進む。
In step S157, since any of the four determinations of step S152 to step S155 is No, there is a possibility that the phase difference AF may be erroneously measured in step S1204 of FIG. Therefore, it is determined that the focus detection point M-B cannot be subjected to focus calibration. Then, the
図6においては、被写体が道路標識200である。測距点グループ枠701と測距点グループ枠710に含まれる測距点には、道路標識200が入っているため、輝度は所定範囲値内、遠近競合の被写体はなし、繰り返しパターンになっていないと3つの判定は全てOKである。
In FIG. 6, the subject is a
しかし、コントラストは、測距点が道路標識200上に配置された位置によって異なる。測距点グループ枠内にデザイン上の変化がある(色が切り替わるエッジラインがある)位置の測距点は、コントラストが所定値以上となり、CAL OK FLAGが記録される。また、測距点グループ枠内にデザイン上の変化がない(色が切り替わるエッジラインがない)位置にある測距点は、コントラストが所定値未満となり、CAL NG FLAGが記録される。
However, the contrast varies depending on the position where the distance measuring point is arranged on the
グループ枠720〜723とグループ枠711〜712に含まれる測距点には、被写体が入っていないため、コントラストが所定値未満となり、CAL NG FLAGが記録される。 The distance measuring points included in the group frames 720 to 723 and the group frames 711 to 712 do not include a subject, so the contrast becomes less than a predetermined value and CAL NG FLAG is recorded.
図10は、図4のステップS119におけるフォーカスキャリブレーション実行(CAL実行)処理を示すフローチャート図である。 FIG. 10 is a flowchart showing the focus calibration execution (CAL execution) process in step S119 of FIG.
図10において、ステップS1201では、MPU30は、ライブビュー表示を終了すし、ステップS1202に進む。具体的には、MPU30は、モータ駆動回路38を介して不図示のミラーモータを制御し、主ミラー4とサブミラー7を図1に示すダウン位置に回動させる。
In FIG. 10, in step S1201, the
ステップS1202では、MPU30は、SDRAM53に記録されているCAL OK FLAGの測距点数をカウントしてカウンタmaxの値に設定し、ステップS1203に進む。
In step S1202, the
ステップS1203では、MPU30は、カウンタFに初期値として1を入力し、ステップS1204に進む。カウンタFは、SDRAM53に記録されているCAL OK FLAGの測距点を識別する番号として使用する。
In step S1203, the
ステップS1204では、MPU30は、フォーカスキャリブレーション可能測距点とされたエリアセンサ8dの測距点Fについて、焦点検出回路36を介して位相差検出方式による焦点検出を行う。そして、MPU30は、焦点検出結果に基づく位相差合焦位置を算出し、算出した位相差合焦位置をSDRAM53に一時的に記録し、ステップS1205に進む。
In step S1204, the
ステップS1205では、MPU30は、図4のステップS105にて得られたコントラスト合焦位置と、ステップS1204にて得られた測距点Fの位相差合焦位置との差を算出し、ステップS1206に進む。コントラスト合焦位置と測距点Fの位相差合焦位置との差が、フォーカスキャリブレーション可能測距点の位相差合焦位置に対する補正量(以下、CAL補正量という)となる。
In step S1205, the
ステップS1206では、MPU30は、ステップS1205で算出されたCAL補正量を測距点Fが属するグループ内の全ての測距点のCAL補正量としてSDRAM53へ記録し、ステップS1207に進む。
In step S1206, the
ステップS1207では、MPU30は、フォーカスキャリブレーション可能な測距点の全てでフォーカスキャリブレーションが行われたかを判断し、行われていなければ、ステップS1208へ進み、行われていれば、処理を終了する。
In step S1207, the
ステップS1208では、MPU30は、カウンタFをカウントアップ(例えばF=F+1=1+1=2)し、ステップS1204に戻る。ステップS1204〜ステップS1208の処理を繰り返すことで、全てのフォーカスキャリブレーション可能な測距点とその測距点が属するグループ内の測距点の全てにCAL補正量が算出されてSDRAM53へ記録されることになる。
In step S1208, the
以上説明したように、本実施形態では、一度のフォーカスキャリブレーションで複数の測距点に対してCAL補正量を設定でき、かつフォーカスキャリブレーションが行えない測距点に対しても測距方式による適正なCAL補正量を設定できる。即ち、一度のキャリブレーションで補正できる測距点の数を可能な限り増やすことができ、ユーザは、フォーカスキャリブレーションを行いたい複数の測距点に対し、簡単に効率良くフォーカスキャリブレーションを行うことができる。 As described above, in the present embodiment, the CAL correction amount can be set for a plurality of distance measuring points with a single focus calibration, and the distance measuring method is also used for distance measuring points for which focus calibration cannot be performed. An appropriate CAL correction amount can be set. In other words, the number of distance measurement points that can be corrected with one calibration can be increased as much as possible, and the user can easily and efficiently perform focus calibration for a plurality of distance measurement points for which focus calibration is desired. Can do.
なお、本実施形態では、斜目測距方式、縦目測距方式、横目測距方式、縦目測距方式と横目測距方式、ごとに測距点グループ化を行うようにしたが、グループ化を行う測距方式を変化させてもよいし、グループ数を変えてもよい。 In this embodiment, ranging point grouping is performed for each of the oblique eye distance measuring method, vertical eye distance measuring method, horizontal eye distance measuring method, vertical eye distance measuring method and horizontal eye distance measuring method. The ranging method for performing the conversion may be changed, or the number of groups may be changed.
(第2の実施形態)
次に、図11及び図12を参照して、本発明の撮像装置の第2の実施形態であるデジタル一眼レフカメラについて説明する。なお、本実施形態では、上記第1の実施形態における図4のステップS107の「測距点グループ化」の処理が相違するだけであるため、上記第1の実施形態の図及び符号を流用しつつ重複部分についてはその説明を省略する。
(Second Embodiment)
Next, a digital single-lens reflex camera that is a second embodiment of the imaging apparatus of the present invention will be described with reference to FIGS. In the present embodiment, only the “ranging point grouping” process in step S107 of FIG. 4 in the first embodiment is different, and therefore the diagram and the sign of the first embodiment are used. However, the description of overlapping parts is omitted.
図11は、エリアセンサ8dの測距点群800と各測距点に対応する光量との関係を示す図である。エリアセンサ8dの各測距点が受ける光量は、交換レンズ3の仕様に応じて、光束のケラレによる光量差が測距点ごとに生じる。そして、その光量差によって各測距点での焦点検出精度が変化する。
FIG. 11 is a diagram showing the relationship between the distance
本実施形態の交換レンズ3においては、光束のケラレが発生せず十分な焦点検出精度を確保できる光量を光量100%、焦点検出精度にバラつきが生じる光量を100%未満かつ80%以上、焦点検出が行えない光量を80%未満とする。
In the
図11において、測距点が受ける光量が100%の測距点は、測距点枠の内側に実線の丸で示しており、全部で15点(測距点808等)ある。測距点が受ける光量が100%未満かつ80%以上の測距点は、測距点枠の内側に実践の四角で示しており、全部で14点(測距点827等)ある。測距点が受ける光量が80%未満の測距点は、測距点枠の内側に何も記しておらず、全部で32点ある(測距点801等)。また、各測距点の光量は、交換レンズ3のレンズSDRAM21に記録されている。本実施形態の測距点グループ化処理では、この測距点が受ける光量の違いによって、測距点をグループに分類する。
In FIG. 11, distance measuring points at which the light intensity received by the distance measuring points is 100% are indicated by solid circles inside the distance measuring point frame, and there are a total of 15 points (such as distance measuring points 808). The distance measuring points received by the distance measuring points are less than 100% and 80% or more are indicated by practical squares inside the distance measuring point frame, and there are a total of 14 points (such as distance measuring points 827). There are 32 distance measuring points with a light amount received by the distance measuring point of less than 80%, and there are 32 points in total (ranging
図12は、図4のステップS107における測距点グループ化処理を示すフローチャート図である。図12での各処理は、上記第1の実施形態と同様に、EEPROM32等に格納された制御プログラムに従ってMPU30およびメモリコントローラ31により実行される。
FIG. 12 is a flowchart showing the distance measuring point grouping process in step S107 of FIG. Each process in FIG. 12 is executed by the
図12において、ステップS1301では、MPU30は、交換レンズ3内のレンズSDRAM21から61点の測距点の各々における光量データを取得し、SDRAM53に一時的に記録して、ステップS1302に進む。
In FIG. 12, in step S1301, the
ステップS1302では、MPU30は、カウンタNに初期値として1を入力し、ステップS1303に進む。カウンタNは、61点ある測距点を識別する番号として使用する。測距点の番号は、図7での測距点の数えかたと同一とする。例えばカウンタNの値が1であるときは、測距点801と対応し、カウンタNの値が61であるときは、測距点861と対応する。
In step S1302, the
ステップS1303では、MPU30は、測距点Nの光量を判定し、エリアセンサ8dの測距点Nが受ける光量が100%であれば、ステップS1304へ進み、100%でなければ、ステップS1305へ進む。
In step S1303, the
ステップS1304では、MPU30は、測距点Nをグループ1として関連付け、その情報をSDRAM53に一時的に記録し、ステップS1307に進む。
In step S1304, the
ステップS1305では、MPU30は、測距点Nの光量を判定し、エリアセンサ8dの測距点Nが受ける光量が80%以上であれば、ステップS1306へ進み、80%未満であれば、ステップS1307へ進む。
In step S1305, the
ステップS1306では、MPU30は、測距点Nをグループ2として関連付け、その情報をSDRAM53に一時的に記録し、ステップS1307に進む。
In step S1306, the
ステップS1307では、MPU30は、カウンタNをカウントアップ(例えばN=N+1=1+1=2)し、ステップS1308に進む。
In step S1307, the
ステップS1308では、MPU30は、61点の全ての測距点でグループ化処理が行われたか判断し、行われていれば、図4のステップS108へ進み、行われていなければ、ステップS1303に戻る。
In step S1308, the
ステップS1303〜ステップS1308の処理を繰り返すことにより、61点ある測距点の全てでグループ分類を行う。また、エリアセンサ8dが受ける光量が80%未満の測距点は、焦点検出が行えないため、グループに属させず、図4のステップ108以降のフォーカスキャリブレーション可否判定およびフォーカスキャリブレーション実行処理は行わない。
By repeating the processes in steps S1303 to S1308, group classification is performed on all the 61 ranging points. In addition, since the focus detection cannot be performed on a distance measuring point whose light intensity received by the
以上説明したように、本実施形態では、一度のフォーカスキャリブレーションで複数の測距点に対してCAL補正量を設定でき、かつフォーカスキャリブレーションが行えない測距点に対しても測距点の光量による適正なCAL補正量を設定できる。その他の構成、及び作用効果は、上記第1の実施形態と同様である。 As described above, in the present embodiment, the CAL correction amount can be set for a plurality of distance measuring points with a single focus calibration, and the distance measuring points can be set for distance measuring points for which focus calibration cannot be performed. An appropriate CAL correction amount according to the amount of light can be set. Other configurations and operational effects are the same as those in the first embodiment.
なお、本実施形態では、光量100%、光量100%未満かつ80%以上、光量80%未満で測距点のグループ化を行うようにしているが、グループ化を行う光量を変化させてもよいし、グループ数も変えても良い。また、交換レンズ3の仕様によりグループ化は異なる。
In this embodiment, the ranging points are grouped with the light quantity of 100%, the light quantity of less than 100%, 80% or more, and the light quantity of less than 80%. However, the light quantity to be grouped may be changed. However, the number of groups may be changed. The grouping differs depending on the specifications of the
(第3の実施形態)
次に、図13及び図14を参照して、本発明の撮像装置の第3の実施形態であるデジタル一眼レフカメラについて説明する。なお、本実施形態では、上記第1の実施形態における図4のステップS107の「測距点グループ化」の処理が相違するだけであるため、上記第1の実施形態の図及び符号を流用しつつ重複部分についてはその説明を簡略化又は省略する。
(Third embodiment)
Next, a digital single-lens reflex camera which is a third embodiment of the imaging apparatus of the present invention will be described with reference to FIGS. In the present embodiment, only the “ranging point grouping” process in step S107 of FIG. 4 in the first embodiment is different, and therefore the diagram and the sign of the first embodiment are used. However, the description of the overlapping parts is simplified or omitted.
図13は、エリアセンサ8dの測距点群800と各測距点に対応する交換レンズ3によるベストピント補正量(以下、BP補正量という)との関係を示す図である。BP補正量とは、撮影光学系の全光束の焦点位置と位相差検出方式で用いる光束の焦点位置とのズレ量を補正する補正量であり、交換レンズ3のレンズSDRAM21に記録されている。位相差検出方式によって得られた焦点位置に対して、このBP補正量を加えることにより、精度の高い焦点位置を得ることができる。
FIG. 13 is a diagram showing the relationship between the distance
図13においては、BP補正量が10μm未満の測距点は、測距点枠の内側に実線の丸で示しており、全部で3点(測距点820等)ある。BP補正量が10μm以上かつ20μm未満の測距点は、測距点枠の内側に実線の四角で示しており、全部で10点(測距点827等)ある。BP補正量が20μm以上の測距点は、測距点枠の内側に何も記しておらず、全部で48点(測距点801等)ある。本実施形態の測距点グループ化処理は、この測距点ごとのBP補正量の違いによって、測距点をグループに分類する。
In FIG. 13, distance measuring points having a BP correction amount of less than 10 μm are indicated by solid-line circles inside the distance measuring point frame, and there are a total of three points (such as distance measuring points 820). Ranging points with a BP correction amount of 10 μm or more and less than 20 μm are indicated by a solid line inside the ranging point frame, and there are a total of 10 points (ranging
図14は、図4のステップS107における測距点グループ化処理を示すフローチャート図である。図14での各処理は、上記第1の実施形態と同様に、EEPROM32等に格納された制御プログラムに従ってMPU30およびメモリコントローラ31により実行される。
FIG. 14 is a flowchart showing the distance measuring point grouping process in step S107 of FIG. Each process in FIG. 14 is executed by the
図14において、ステップS1401では、MPU30は、交換レンズ3のレンズSDRAM21から61点の測距点の各々におけるBP補正量を取得し、SDRAM53に一時的に記録して、ステップS1402に進む。
In FIG. 14, in step S1401, the
ステップS1402では、MPU30は、カウンタNに初期値として1を入力し、ステップS1403に進む。カウンタNは、61点ある測距点を識別する番号として使用する。測距点の番号は、図7における測距点の数えかたと同一とする。例えばカウンタNの値が1であるときは、測距点801と対応し、カウンタNの値が61であるときは、測距点861と対応する。
In step S1402, the
ステップS1403では、MPU30は、測距点NのBP補正量を判定し、測距点NのBP補正量が10μm未満であれば、ステップS1404へ進み、10μm以上であれば、ステップS1405へ進む。
In step S1403, the
ステップS1404では、MPU30は、測距点Nをグループ1として関連付け、その情報をSDRAM53に一時的に記録して、ステップS1408に進む。
In step S1404, the
ステップS1405では、MPU30は、測距点NのBP補正量を判定し、測距点NのBP補正量が20μm未満であれば、ステップS1406へ進み、20μm以上であれば、ステップS1407へ進む。
In step S1405, the
ステップS1406では、MPU30は、測距点Nをグループ2として関連付け、その情報をSDRAM53に一時的に記録して、ステップS1408に進む。
In step S1406, the
ステップS1407では、MPU30は、測距点Nをグループ3として関連付け、その情報をSDRAM53に一時的に記録し、ステップS1408に進む。
In step S1407, the
ステップS1408では、MPU30は、カウンタNをカウントアップ(例えばN=N+1=1+1=2)し、ステップS1409に進む。
In step S1408, the
ステップS1409では、MPU30は、61点の全ての測距点でグループ化処理が行われたか判断し、行われていれば、図4のステップS108へ進み、行われていなければ、ステップS1403へ戻る。ステップS1403〜ステップS1409の処理を繰り返すことにより、61点ある測距点の全てでグループ分類を行う。
In step S1409, the
以上説明したように、本実施形態では、一度のフォーカスキャリブレーションで複数の測距点に対してCAL補正量を設定でき、かつフォーカスキャリブレーションが行えない測距点に対してもBP補正量による適正なCAL補正量を設定できる。その他の構成、及び作用効果は、上記第1の実施形態と同様である。 As described above, in the present embodiment, the CAL correction amount can be set for a plurality of distance measuring points by one focus calibration, and the BP correction amount is also used for the distance measuring points for which focus calibration cannot be performed. An appropriate CAL correction amount can be set. Other configurations and operational effects are the same as those in the first embodiment.
なお、本実施形態では、BP補正量を10μm未満、10μm以上かつ20μm未満、20μm以上で測距点のグループ化を行うようにしているが、グループ化を行うBP補正量を変化させてもよいし、グループ数も変えても良い。 In the present embodiment, the ranging points are grouped when the BP correction amount is less than 10 μm, less than 10 μm, less than 20 μm, and more than 20 μm. However, the BP correction amount for grouping may be changed. However, the number of groups may be changed.
(第4の実施形態)
次に、図15乃至図18を参照して、本発明の撮像装置の第4の実施形態であるデジタル一眼レフカメラについて説明する。なお、本実施形態では、上記第1の実施形態と重複する部分については、図及び符号を流用して説明する。
(Fourth embodiment)
Next, a digital single-lens reflex camera that is a fourth embodiment of the imaging apparatus of the present invention will be described with reference to FIGS. 15 to 18. In the present embodiment, the same parts as those in the first embodiment will be described with reference to the drawings and symbols.
図15は、フォーカスキャリブレーション処理を実行するキャリブレーションモードでの動作を示すフローチャート図である。図15での各処理は、EEPROM32等に格納された制御プログラムに従ってMPU30およびメモリコントローラ31により実行される。
FIG. 15 is a flowchart showing the operation in the calibration mode for executing the focus calibration process. Each process in FIG. 15 is executed by the
図15において、ステップS1501では、MPU30は、ユーザによってモードボタン44および電子ダイアル45が操作されてキャリブレーションモードが選択されたことを検出すると、ステップS1502に進む。
In FIG. 15, in step S1501, when the
ステップS1502では、MPU30は、フォーカスキャリブレーションを行うために、図4のステップS102と同様に、ライブビュー(LV)表示を開始し、ステップS1503に進む。
In step S1502, the
ステップS1503では、MPU30は、ユーザーによりレリーズボタン43が半押し操作されて第1スイッチSW1がオンになったか否かを判定する。そして、MPU30は、オンになっていれば、フォーカスキャリブレーションを行う被写体を確定して、ステップS1504に進む。
In step S1503, the
ステップS1504では、MPU30は、レンズ制御回路33を通じてフォーカスモーター15を駆動し、フォーカスレンズ3aを所定量刻みでの駆動を開始して、ステップS1505に進む。
In step S1504, the
ステップS1505では、MPU30は、図4のステップS105と同様に、TV測距点枠300(図5参照)に対しコントラスト検出方式によりフォーカスレンズ3aのコントラスト合焦位置を検出し、ステップS1506に進む。
In step S1505, as in step S105 of FIG. 4, the
ステップS1506では、MPU30は、レンズ制御回路33を通じてフォーカスモータ15を停止させてフォーカスレンズ3aの駆動を終了し、ステップS1507に進む。この時点では、フォーカスレンズ3aは、上記第1の実施形態と同様に、フォーカスキャリブレーションを行うための被写体とした道路標識200(図5参照)にピントが合った位置(コントラスト合焦位置)で停止している。
In step S1506, the
ステップS1507では、MPU30は、測距点グループ化を行うか否かを判定する。ユーザは、フォーカスキャリブレーションを実行する前にあらかじめ測距点グループ化を行うか否かをカメラ本体1に対して設定してSDRAM53に記録しておく。MPU30は、SDRAM53に記録されているこの測距点グループ化の設定を読みだし、測距点グループ化の設定がオンの場合(測距点グループ化を行う場合)であれば、ステップS1508へ進む。また、MPU30は、測距点グループ化の設定がオフの場合(測距点グループ化を行わない場合)であれば、ステップS1516へ進む。
In step S1507, the
ステップS1508では、MPU30は、測距点グループ化処理を実行し、ステップS1509に進む。ここでの測距点グループ化処理は、上記第1の実施形態(図4のステップS107(図8参照))と同様であるための、その説明を省略する。
In step S1508, the
ステップS1509では、MPU30は、カウンタHに初期値として1を入力し、ステップS1510に進む。カウンタHは、61点ある測距点を識別する番号として使用する。測距点の番号は、図7における測距点の数えかたと同一とする。図7において、例えばカウンタHの値が1であるときは、測距点801と対応し、カウンタHの値が61であるときは、測距点861と対応する。
In step S1509, the
ステップS1510では、MPU30は、測距点Hに対してフォーカスキャリブレーション可否判定処理を実行し、ステップS1511に進む。ここでのフォーカスキャリブレーション可否判定処理は、上記第1の実施形態(図4のステップS110(図9参照))と同様であるための、その説明を省略する。
In step S1510, the
ステップS1511では、MPU30は、カウンタHをカウントアップ(例えばH=H+1=1+1=2)とし、ステップS1512に進む。
In step S1511, the
ステップS1512では、MPU30は、61点の全ての測距点でフォーカスキャリブレーション可否判定処理が行われたかを判断し、行われていれば、ステップS1513へ進み、行われていなければ、ステップS1510へ戻る。ステップS1510〜S1512を処理繰り返すことで、61点の全ての測距点でフォーカスキャリブレーション可否判定処理を行っていく。
In step S1512, the
ステップS1513では、MPU30は、図4のステップS117と同様に、メモリコントローラ31により測距点グループごとのフォーカスキャリブレーション可否判定結果を液晶モニタ14に表示(図6参照)し、ステップS1514に進む。
In step S1513, similarly to step S117 in FIG. 4, the
ステップS1514では、MPU30は、ユーザによりCAL開始ボタン310がオンされたか否かを判定する。そして、MPU30は、CAL開始ボタン310がオンされると、ステップS1515に進み、キャンセルボタン320がオンされると、フォーカスキャリブレーションモードを終了する。
In step S1514, the
ステップS1515では、MPU30は、フォーカスキャリブレーションを実行し、実行後にフォーカスキャリブレーションモードを終了する。ここでのフォーカスキャリブレーション実行処理の詳細については、図17を用いて後述する。
In step S1515, the
一方、ステップS1516では、MPU30は、ライブビュー表示を終了し、ステップS1517に進む。具体的には、MPU30は、モータ駆動回路38を介して不図示のミラーモータを制御し、主ミラー4とサブミラー7を図1に示すダウン位置に回動させる。
On the other hand, in step S1516, the
ステップS1517では、MPU30は、カウンタSに初期値として1を入力し、ステップS1518に進む。カウンタSは、61点ある測距点を識別する番号として使用する。測距点の番号は、図7における測距点の数えかたと同一とする。例えばカウンタSの値が1であるときは、測距点801と対応し、カウンタSの値が61であるときは、測距点861と対応する。
In step S1517, the
ステップS1518では、MPU30は、測距点Sに対してフォーカスキャリブレーション可否判定処理を実行し、ステップS1519に進む。ここでのフォーカスキャリブレーション可否判定処理は、図4のステップS110(図9参照)と同様であるため、その説明を省略する。
In step S1518, the
ステップS1519では、MPU30は、測距点Sがフォーカスキャリブレーション可能か判断し、フォーカスキャリブレーションが可能であれば、ステップS1520へ進み、可能でなければ、ステップS1523へ進む。フォーカスキャリブレーション可否判定結果は、SDRAM53に一時的に記録されているCAL OK FLAGまたはCAL NG FLAGで判別可能となっている。
In step S1519, the
ステップS1520では、MPU30は、フォーカスキャリブレーションが可能な測距点とされたエリアセンサ8dの測距点Sについて、焦点検出回路36を介して位相差検出方式による焦点検出を行う。そして、MPU30は、焦点検出結果に基づく位相差合焦位置を算出し、SDRAM53へ一時的に記録して、ステップS1521に進む。
In step S1520, the
ステップS1521では、MPU30は、ステップS1505で得られたコントラスト合焦位置とステップS1520で得られた測距点Sの位相差合焦位置との差を算出し、ステップS1522に進む。ここで算出されたコントラスト合焦位置と位相差合焦位置との差がフォーカスキャリブレーション可能な測距点の位相差合焦位置に対する補正量(以下、CAL補正量という)となる。
In step S1521, the
ステップS1522では、MPU30は、ステップS1521にて算出されたCAL補正量を測距点SのCAL補正量としてSDRAM53へ記録し、ステップS1523に進む。
In step S1522, the
ステップS1523では、MPU30は、カウンタSをカウントアップ(例えばS=S+1=1+1=2)し、ステップS1524に進む。
In step S1523, the
ステップS1524では、MPU30は、61点の全ての測距点でフォーカスキャリブレーション可否判定処理が行われたか判断し、行われていれば、ステップS1525へ進み、行われていなければ、ステップS1518へ戻る。ステップS1518〜S1524の処理を繰り返すことで、61点の全ての測距点でフォーカスキャリブレーション可否判定とフォーカスキャリブレーションが可能な場合のCAL補正量算出及び記録とを行う。
In step S1524, the
ステップS1525では、MPU30は、メモリコントローラ31によりフォーカスキャリブレーションの結果を液晶モニタ14に表示して、フォーカスキャリブレーションモードを終了する。
In step S1525, the
図16は、フォーカスキャリブレーション結果が液晶モニタ14に表示された状態を示す図である。図16において、測距点群800は、図7のエリアセンサ8dの測距点群800と同じであり、61点分の測距点801〜861が表示されている。また、OKボタン1760とユーザへのメッセージ1850が表示されている。
FIG. 16 is a diagram showing a state in which the focus calibration result is displayed on the
フォーカスキャリブレーションが実行できた測距点は、測距点枠が実線で表示(801、803、859、860等)されている。フォーカスキャリブレーションが実行できなかった測距点は、測距点枠が破線で表示(804、814、861等)されている。 A distance measuring point frame for which focus calibration has been executed is indicated by a solid line (801, 803, 859, 860, etc.). A distance measuring point frame for which focus calibration could not be executed is indicated by a dotted line (804, 814, 861, etc.).
なお、図16においては、各測距点のフォーカスキャリブレーションの結果を測距点枠の実線と破線で表示しているが、測距点枠の表示色を変更したり、測距点枠の表示と非表示にしたり、ユーザが視覚的に結果を判定できればどのような表示方法でも構わない。また、ユーザへのメッセージ1850は、図16の文言に限定されず、どのような文言でも構わない。更に、フォーカスキャリブレーション結果を示すマークを表示しても良い。
In FIG. 16, the focus calibration result of each distance measuring point is displayed with a solid line and a broken line of the distance measuring point frame. However, the display color of the distance measuring point frame can be changed, Any display method may be used as long as it can be displayed or hidden, or the user can visually determine the result. Further, the
図17は、図15のステップS1515におけるフォーカスキャリブレーション実行処理を示すフローチャート図である。 FIG. 17 is a flowchart showing the focus calibration execution process in step S1515 of FIG.
図17において、ステップS1601では、MPU30は、ライブビュー表示を終了し、ステップS1602に進む。具体的には、MPU30は、モータ駆動回路38を介して不図示のミラーモータを制御し、主ミラー4とサブミラー7を図1に示すダウン位置に回動させる。
In FIG. 17, in step S1601, the
ステップS1602では、MPU30は、SDRAM53に記録されているCAL OK FLAGの測距点数をカウントしてカウンタYmaxの値に設定し、ステップS1603に進む。
In step S1602, the
ステップS1603では、MPU30は、カウンタYに初期値として1を入力し、ステップS1604に進む。カウンタYは、SDRAM53に記録されているCAL OK FLAGの測距点を識別する番号として使用する。
In step S1603, the
ステップS1604では、MPU30は、フォーカスキャリブレーションが可能な測距点とされたエリアセンサ8dの測距点Yについて、焦点検出回路36を介して位相差検出方式による焦点検出を行う。そして、MPU30は、焦点検出結果に基づく位相差合焦位置を算出し、SDRAM53へ一時的に記録して、ステップS1605に進む。
In step S1604, the
ステップS1605では、MPU30は、図15のステップS1505で得られたコントラスト合焦位置とステップS1604で得られた測距点Yの位相差合焦位置との差を算出し、ステップS1606に進む。ここで算出されたコントラスト合焦位置と位相差合焦位置との差がCAL補正量となる。
In step S1605, the
ステップS1606では、MPU30は、ステップS1605にて算出されたCAL補正量を測距点YのCAL補正量として一時的にSDRAM53へ記録し、ステップS1607に進む。
In step S1606, the
ステップS1607では、MPU30は、フォーカスキャリブレーションが可能な測距点の全てでCAL補正量が算出されたかを判断し、算出されていれば、ステップS1609に進み、算出されていなければ、ステップS1608へ進む。
In step S1607, the
ステップS1608では、MPU30は、カウンタYをウントアップ(例えばY+1=1+1=2)し、ステップS1604に戻る。ステップS1604〜ステップS1608の処理を繰り返すことで、全てのフォーカスキャリブレーションが可能な測距点のCAL補正量が算出されることになる。
In step S1608, the
ステップS1609では、MPU30は、カウンタEに初期値として1を入力し、ステップS1610に進む。カウンタEは、測距点グループを識別する番号として使用する。例えばE=1のときは、測距点グループ1に対応する。
In step S1609, the
ステップS1610では、MPU30は、測距点グループE内にフォーカスキャリブレーションが可能な測距点が存在するか否かを判断し、存在しなければ、ステップS1611へ進み、存在すれば、ステップS1612へ進む。
In step S1610, the
ステップS1611では、MPU30は、測距点グループEがフォーカスキャリブレーション不可であるという情報をSDRAM53へ記録し、ステップS1617に進む。測距点グループEに属する測距点は、全てフォーカスキャリブレーションが行えないことになる。
In step S1611, the
一方、ステップS1612では、MPU30は、測距点グループEに存在するフォーカスキャリブレーションが可能な測距点が1つであるか判断し、1つであれば、ステップS1613へ進み、1つでなければ、ステップS1614へ進む。
On the other hand, in step S1612, the
ステップS1613では、MPU30は、測距点グループEに1つ存在するフォーカスキャリブレーションが可能な測距点のCAL補正量を測距点グループEに属する全ての測距点のCAL補正量としてSDRAM53へ記録し、ステップS1617に進む。
In step S <b> 1613, the
ステップS1614では、MPU30は、測距点グループEに存在するフォーカスキャリブレーションが可能な測距点のCAL補正量の標準偏差をσとし、それぞれのCAL補正量のバラつきが3σ以下に収まっているかを判定する。そして、MPU30は、3σ以下であれば、ステップS1615へ進み、3σ以下でなければ、ステップS1616へ進む。3σ以下であった場合は、測距点グループEの複数のCAL補正量は、バラつきが少ないことになる。
In step S <b> 1614, the
ステップS1615では、MPU30は、測距点グループEに存在する複数のフォーカスキャリブレーションが可能な測距点のそれぞれのCAL補正量の平均値を算出する。そして、MPU30は、算出した平均値を測距点グループEに属する全ての測距点のCAL補正量としてSDRAM53へ記録し、ステップS1617に進む。
In step S <b> 1615, the
ステップS1616では、MPU30は、測距点グループEがキャリブレーション不可であるという情報をSDRAM53へ記録し、ステップS1617に進む。ここでは、ステップS1614での判断から測距点グループEに存在する複数のフォーカスキャリブレーションが可能な測距点のCAL補正量は、バラつきが大きく、グループとして扱うことが適切ではないので、キャリブレーション不可としている。
In step S1616, the
ステップS1617では、MPU30は、カウンタEをカウントアップ(例えばE+1=1+1=2)し、ステップS1618に進む。
In step S1617, the
ステップS1618では、MPU30は、全ての測距点グループでCAL補正量の設定が完了したかをカウンタEの値で判断し、設定が完了していれば、ステップS1619へ進み、完了していなければ、ステップS1610へ戻る。ステップS1610からステップS1618を繰り返すことで、測距点グループごとにCAL補正量の設定を行う。
In step S1618, the
本実施形態では、図8に示す測距点グループ化処理で測距点が4つのグループに分類されているため、カウンタEの値が5であるとき、全ての測距点グループでCAL補正量の設定が完了したと判断する。 In the present embodiment, since the distance measuring points are classified into four groups in the distance measuring point grouping process shown in FIG. 8, when the value of the counter E is 5, the CAL correction amount for all distance measuring point groups. It is determined that the setting of has been completed.
ステップS1619では、MPU30は、メモリコントローラ31により測距点グループごとのフォーカスキャリブレーション結果を液晶モニタ14に表示し、処理を終了する。
In step S1619, the
図18は、フォーカスキャリブレーション結果が液晶モニタ14に表示された状態を示す図である。
FIG. 18 is a diagram illustrating a state in which the focus calibration result is displayed on the
図18において、グループ枠1701,1710〜1712,1720〜1723は、エリアセンサ8dの測距点が存在する位置を測距点グループごとに囲ったものである。また、フォーカスキャリブレーションの終了をユーザに促すOKボタン1760が表示されている。更に、メッセージ1750を表示し、ユーザにフォーカスキャリブレーションの結果を分かり易く示している。
In FIG. 18, group frames 1701, 1710 to 1712, and 1720 to 1723 surround the positions where the distance measuring points of the
グループ枠1701は、グループ1を示し、グループ枠1710〜1712は、グループ2を示し、グループ枠1720〜1723は、グループ3を示している。各グループ枠1701,1710〜1712,1720〜1723の内側には、それぞれのグループに属するエリアセンサ8dの測距点が複数存在していることを意味している。
A
CAL補正量が設定された測距点グループは、グループ枠が実線で表示(1710〜1712)されており、このグループ枠内の測距点は、全てCAL補正量が設定されたことを意味している。CAL補正量が設定できなかった測距点グループは、グループ枠が破線で表示(1701、1720〜1723)されている。 The distance measuring point group for which the CAL correction amount is set has the group frame displayed with a solid line (1710 to 1712), and all the distance measuring points in this group frame mean that the CAL correction amount has been set. ing. The distance measuring point group for which the CAL correction amount could not be set has the group frame displayed in broken lines (1701, 1720 to 1723).
グループ1は、図6においては、フォーカスキャリブレーションが可能な測距点グループであったが、測距点グループ内のCAL補正量のバラつきが大きかったため、CAL補正量が設定できなかったことを意味している。
図18においては、各測距点グループごとのフォーカスキャリブレーションの結果をグループ枠の実線と破線で表示しているが、これに限定されない。例えば、グループ枠の表示色を変更したり、測距点枠の表示と非表示にしたり、ユーザが視覚的に各測距点のフォーカスキャリブレーション結果を判定できればどのような表示方法でも構わない。また、ユーザへのメッセージ1750は、図18の文言に限定されず、どのような文言でも構わない。更には、フォーカスキャリブレーション結果を示すマークを表示しても良い。
In FIG. 18, the focus calibration results for each distance measuring point group are displayed as solid lines and broken lines in the group frame, but the present invention is not limited to this. For example, any display method may be used as long as the display color of the group frame is changed, the range-finding frame is displayed or hidden, and the user can visually determine the focus calibration result of each range-finding point. Further, the
以上説明したように、本実施形態では、ユーザは一度のフォーカスキャリブレーションで複数の測距点に対しCAL補正量を設定でき、かつフォーカスキャリブレーションが行えないと判定された測距点に対しても測距方式によるCAL補正量を設定できる。 As described above, in the present embodiment, the user can set the CAL correction amount for a plurality of distance measuring points by one focus calibration, and the distance measuring points determined to be unable to perform the focus calibration. Also, the CAL correction amount by the distance measuring method can be set.
また、本実施形態では、測距点グループ内のCAL補正量のバラつきが大きい場合は、CAL補正量を設定しないことによって精度の高いCAL補正量を設定できる。その他の構成、及び作用効果は、上記第1の実施形態と同様である。 In this embodiment, when the variation in the CAL correction amount in the distance measuring point group is large, it is possible to set the CAL correction amount with high accuracy by not setting the CAL correction amount. Other configurations and operational effects are the same as those in the first embodiment.
なお、本発明は、上記各実施形態に例示したものに限定されるものではなく、本発明の要旨を逸脱しない範囲において適宜変更可能である。 In addition, this invention is not limited to what was illustrated by said each embodiment, In the range which does not deviate from the summary of this invention, it can change suitably.
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。ネットワーク又は各種記憶媒体を介して取得したソフトウェア(プログラム)をパーソナルコンピュータ(CPU,プロセッサ)にて実行することでも実現できる。 The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed. It can also be realized by executing software (program) acquired via a network or various storage media on a personal computer (CPU, processor).
3a フォーカスレンズ
6 撮像素子
8d エリアセンサ
12 PN液晶パネル
13 RGB測光センサ
14 液晶モニタ
30 MPU
31 メモリコントローラ
31 Memory controller
Claims (10)
前記被写体像の一対の像信号に基づいて、位相差検出方式により前記フォーカスレンズの第1の合焦位置を検出する第1の検出手段と、
前記画像信号を用いたコントラスト検出方式により前記フォーカスレンズの第2の合焦位置を検出する第2の検出手段と、
前記第2の合焦位置と前記第1の合焦位置との差から算出される合焦位置の補正量を用いて前記第1の合焦位置を補正するキャリブレーション手段と、
複数の焦点検出領域ごとに前記キャリブレーション手段による前記補正が可能な焦点検出領域か否かを判定する判定手段と、
前記複数の焦点検出領域をグループに分類するグループ化手段と、を備え、
前記キャリブレーション手段は、前記判定手段により前記補正が可能と判定された焦点検出領域に対して前記補正を行い、
前記グループ化手段により分類されたグループに含まれる複数の焦点検出領域のうち、前記判定手段により前記補正が可能と判定された焦点検出領域に対して算出された前記合焦位置の補正量を前記判定手段により前記補正が不可と判定された焦点検出領域に用いることを特徴とする撮像装置。 Imaging means for photoelectrically converting a subject image formed by a photographing optical system including a focus lens to generate an image signal;
First detection means for detecting a first focus position of the focus lens by a phase difference detection method based on a pair of image signals of the subject image;
Second detection means for detecting a second in-focus position of the focus lens by a contrast detection method using the image signal;
Calibration means for correcting the first focus position using a correction amount of the focus position calculated from the difference between the second focus position and the first focus position;
Determining means for determining whether or not each of the focus detection areas is a focus detection area that can be corrected by the calibration means;
Grouping means for classifying the plurality of focus detection areas into groups,
The calibration means performs the correction on the focus detection area determined to be correctable by the determination means,
Of the plurality of focus detection areas included in the group classified by the grouping means, the correction amount of the in-focus position calculated for the focus detection area determined to be correctable by the determination means is An imaging apparatus characterized by being used for a focus detection area in which the correction is determined to be impossible by a determination unit.
前記複数の焦点検出領域ごとに前記キャリブレーション手段によりキャリブレーションを実行するモードと、をユーザによる操作により設定する設定手段を備えることを特徴とする請求項1乃至6のいずれか一項に記載の撮像装置。 A mode for classifying the plurality of focus detection areas into groups by the grouping means and executing calibration by the calibration means;
According to any one of claims 1 to 6, characterized in that it comprises a setting means for setting a mode for performing calibration by the calibration means for each of said plurality of focus detection areas, an the operation of the user Imaging device.
前記第1の合焦位置の取得に用いられる、前記像信号は、前記エリアセンサにより取得されることを特徴とする請求項1乃至7のいずれか一項に記載の撮像装置。 It has an auto focus unit with an area sensor,
Used to acquire the first focus position, the image signal, the imaging apparatus according to any one of claims 1 to 7, characterized in that it is obtained by the area sensor.
前記被写体像の一対の像信号に基づいて、位相差検出方式により前記フォーカスレンズの第1の合焦位置を検出する第1の検出ステップと、
前記画像信号を用いたコントラスト検出方式により、前記フォーカスレンズの第2の合焦位置を検出する第2の検出ステップと、
前記第2の合焦位置と前記第1の合焦位置との差から算出される合焦位置の補正量を用いて前記第1の合焦位置を補正するキャリブレーションステップと、
複数の焦点検出領域ごとに前記キャリブレーションステップでの前記補正が可能な焦点検出領域か否かを判定する判定ステップと、
前記複数の焦点検出領域をグループに分類するグループ化ステップと、を備え、前記キャリブレーションステップでは、前記判定ステップで前記補正が可能と判定された焦点検出領域に対して前記補正を行い、
前記グループ化ステップで分類されたグループに含まれる複数の焦点検出領域のうち、前記判定ステップで前記補正が可能と判定された焦点検出領域に対して算出された前記合焦位置の補正量を前記判定ステップで前記補正が不可と判定された焦点検出領域に用いることを特徴とする撮像装置の制御方法。 A method for controlling an imaging apparatus comprising imaging means for photoelectrically converting a subject image formed by a photographing optical system including a focus lens to generate an image signal,
A first detection step of detecting a first in-focus position of the focus lens by a phase difference detection method based on a pair of image signals of the subject image;
A second detection step of detecting a second in-focus position of the focus lens by a contrast detection method using the image signal;
A calibration step of correcting the first in-focus position using a correction amount of the in-focus position calculated from the difference between the second in-focus position and the first in-focus position;
A determination step for determining whether or not each of the plurality of focus detection regions is a focus detection region capable of the correction in the calibration step;
A grouping step of classifying the plurality of focus detection areas into groups, and in the calibration step, the correction is performed on the focus detection areas determined to be correctable in the determination step,
Of the plurality of focus detection areas included in the group classified in the grouping step, the correction amount of the in-focus position calculated for the focus detection area determined to be correctable in the determination step is A method for controlling an imaging apparatus, wherein the imaging apparatus is used for a focus detection area in which the correction is determined to be impossible in the determination step.
前記被写体像の一対の像信号に基づいて、位相差検出方式により前記フォーカスレンズの第1の合焦位置を検出する第1の検出ステップと、
前記画像信号を用いたコントラスト検出方式により、前記フォーカスレンズの第2の合焦位置を検出する第2の検出ステップと、
前記第2の合焦位置と前記第1の合焦位置との差から算出される合焦位置の補正量を用いて前記第1の合焦位置を補正するキャリブレーションステップと、
複数の焦点検出領域ごとに前記キャリブレーションステップでの前記補正が可能な焦点検出領域か否かを判定する判定ステップと、
前記複数の焦点検出領域をグループに分類するグループ化ステップと、をコンピュータに実行させ、
前記キャリブレーションステップでは、前記判定ステップで前記補正が可能と判定された焦点検出領域に対して前記補正を行い、
前記グループ化ステップで分類されたグループに含まれる複数の焦点検出領域のうち、前記判定ステップで前記補正が可能と判定された焦点検出領域に対して算出された前記合焦位置の補正量を前記判定ステップで前記補正が不可と判定された焦点検出領域に用いることを特徴とするプログラム。 A program for controlling an imaging apparatus including an imaging unit that photoelectrically converts an object image formed by a photographing optical system including a focus lens to generate an image signal,
A first detection step of detecting a first in-focus position of the focus lens by a phase difference detection method based on a pair of image signals of the subject image;
A second detection step of detecting a second in-focus position of the focus lens by a contrast detection method using the image signal;
A calibration step of correcting the first in-focus position using a correction amount of the in-focus position calculated from the difference between the second in-focus position and the first in-focus position;
A determination step for determining whether or not each of the plurality of focus detection regions is a focus detection region capable of the correction in the calibration step;
A grouping step of classifying the plurality of focus detection areas into groups;
In the calibration step, the correction is performed on the focus detection area determined to be correctable in the determination step,
Of the plurality of focus detection areas included in the group classified in the grouping step, the correction amount of the in-focus position calculated for the focus detection area determined to be correctable in the determination step is A program used for a focus detection area in which the correction is determined to be impossible in the determination step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014056227A JP6320100B2 (en) | 2014-03-19 | 2014-03-19 | Imaging apparatus, control method thereof, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014056227A JP6320100B2 (en) | 2014-03-19 | 2014-03-19 | Imaging apparatus, control method thereof, and program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2015179168A JP2015179168A (en) | 2015-10-08 |
JP2015179168A5 JP2015179168A5 (en) | 2017-04-20 |
JP6320100B2 true JP6320100B2 (en) | 2018-05-09 |
Family
ID=54263262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014056227A Active JP6320100B2 (en) | 2014-03-19 | 2014-03-19 | Imaging apparatus, control method thereof, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6320100B2 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003295047A (en) * | 2002-04-05 | 2003-10-15 | Canon Inc | Image pickup device and image pickup system |
JP4804210B2 (en) * | 2006-04-18 | 2011-11-02 | キヤノン株式会社 | Imaging apparatus and control method thereof |
JP2013008018A (en) * | 2011-05-25 | 2013-01-10 | Canon Inc | Imaging device and control method thereof |
JP5930683B2 (en) * | 2011-12-01 | 2016-06-08 | キヤノン株式会社 | Imaging apparatus, control method thereof, and program |
-
2014
- 2014-03-19 JP JP2014056227A patent/JP6320100B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015179168A (en) | 2015-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI375464B (en) | Imaging device | |
CN100456073C (en) | Camera, control method therefor, program, and storage medium | |
US9497375B2 (en) | Image capturing apparatus, method of controlling the same, and storage medium | |
JP6512810B2 (en) | Image pickup apparatus, control method and program | |
JP6405243B2 (en) | Focus detection apparatus and control method thereof | |
JP5818494B2 (en) | Imaging apparatus and control method thereof | |
JP5753371B2 (en) | Imaging apparatus and control method thereof | |
JP5843486B2 (en) | Imaging apparatus and control method thereof | |
JP5932210B2 (en) | Imaging apparatus and focus adjustment method | |
JP5950664B2 (en) | Imaging apparatus and control method thereof | |
US9781330B2 (en) | Focus detection apparatus and control method for focus detection apparatus | |
JP2012226184A5 (en) | Imaging apparatus and control method thereof | |
JP5043567B2 (en) | Imaging device | |
JP6427027B2 (en) | Focus detection apparatus, control method therefor, imaging apparatus, program, and storage medium | |
JP6544936B2 (en) | Control device of imaging device, imaging device and control method thereof | |
JP6320100B2 (en) | Imaging apparatus, control method thereof, and program | |
JP6997544B2 (en) | Imaging device and its control method, program, storage medium | |
JP5425271B2 (en) | Imaging apparatus and control method thereof | |
JP2016080742A (en) | Imaging device | |
JP5911530B2 (en) | Imaging device | |
JP5938268B2 (en) | Imaging apparatus and control method thereof | |
JP2016024392A (en) | Imaging apparatus and focus calibration method for the same, and program | |
JP6490279B2 (en) | Imaging apparatus, control method therefor, program, and storage medium | |
JP2007033997A (en) | Focal point detecting apparatus | |
JP2015152666A (en) | Imaging device, control method thereof, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170310 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170310 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20171025 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171107 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171225 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20180306 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180403 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6320100 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |