JP4804210B2 - Imaging apparatus and control method thereof - Google Patents

Imaging apparatus and control method thereof Download PDF

Info

Publication number
JP4804210B2
JP4804210B2 JP2006114906A JP2006114906A JP4804210B2 JP 4804210 B2 JP4804210 B2 JP 4804210B2 JP 2006114906 A JP2006114906 A JP 2006114906A JP 2006114906 A JP2006114906 A JP 2006114906A JP 4804210 B2 JP4804210 B2 JP 4804210B2
Authority
JP
Japan
Prior art keywords
focus detection
reliability
image
phase difference
contrast
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006114906A
Other languages
Japanese (ja)
Other versions
JP2007286438A5 (en
JP2007286438A (en
Inventor
謙一郎 天野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2006114906A priority Critical patent/JP4804210B2/en
Publication of JP2007286438A publication Critical patent/JP2007286438A/en
Publication of JP2007286438A5 publication Critical patent/JP2007286438A5/ja
Application granted granted Critical
Publication of JP4804210B2 publication Critical patent/JP4804210B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Automatic Focus Adjustment (AREA)
  • Focusing (AREA)

Description

本発明は、位相差検出方式による焦点検出と、前記撮像手段から得られる撮像画像の被写体像のコントラストに基づくコントラスト方式による焦点検出とが実行可能な撮像装置、その制御方法、及びコンピュータプログラムに関する。   The present invention relates to an imaging apparatus capable of performing focus detection by a phase difference detection method and focus detection by a contrast method based on the contrast of a subject image of a captured image obtained from the imaging means, a control method thereof, and a computer program.

従来、撮像に関するパラメータを自動的に調整する機能、例えば自動焦点(AF:オートフォーカス)機能や自動露出(AE:オートエクスポージャー)機能、オートホワイトバランス機能を有する電子カメラがある。   2. Description of the Related Art Conventionally, there are electronic cameras that have a function of automatically adjusting parameters relating to imaging, such as an auto focus (AF) function, an automatic exposure (AE: auto exposure) function, and an auto white balance function.

AF機能においては、基準となるレンズや距離においてピント調整を行っている。ピント調整においては、実際に撮影した場合には問題にならないレベルでの誤差を許容している。   In the AF function, focus adjustment is performed at the reference lens and distance. In focus adjustment, an error at a level that does not cause a problem in actual shooting is allowed.

AF機能におけるピント調整については、カメラ本体及びレンズユニットの双方にそれぞれ製造誤差を含んでいるため、カメラ本体とレンズユニットを組み合わせた場合のオートフォーカスにおいて、許容量より大きなピント誤差が発生するという問題があった。   Regarding the focus adjustment in the AF function, since both the camera body and the lens unit include manufacturing errors, there is a problem that a focus error larger than an allowable amount occurs in autofocus when the camera body and the lens unit are combined. was there.

また、カメラ本体とレンズユニットを組み合わせた場合で精度が問題ならないようにするには、カメラ及びレンズユニットの双方において製造時の許容誤差を小さくすれば良いが、それでは調整工程に求められる精度が高くなり、製造コストが増加するという問題が発生してしまう。   Moreover, in order to prevent the accuracy from becoming a problem when the camera body and the lens unit are combined, it is only necessary to reduce the tolerance at the time of manufacture in both the camera and the lens unit. As a result, there arises a problem that the manufacturing cost increases.

AF機能に関して、例えば特許文献1には、テストモードにおいて、互いに共役な位置に配されたAFセンサモジュール及びイメージセンサからそれぞれオートフォーカスデータを得て、オートフォーカスデータの相対ずれデータを記憶させておき、通常モードにおいては、このオートフォーカスの相対ずれデータに基づいて撮影レンズを駆動する電子的撮像装置が提案されている。   Regarding the AF function, for example, Patent Document 1 obtains autofocus data from an AF sensor module and an image sensor arranged at conjugate positions in a test mode, and stores relative shift data of autofocus data. In the normal mode, there has been proposed an electronic image pickup apparatus that drives the photographing lens based on the autofocus relative deviation data.

また、特許文献2には、撮影時に、位相差方式AF検出手段による位相差検出信号に基づいて撮像レンズを駆動させた後に、被写体像のコントラストに応じた評価値に基づいて撮像レンズを駆動させるデジタルスチルカメラが提案されている。   Japanese Patent Application Laid-Open No. 2004-228561 drives an imaging lens based on an evaluation value corresponding to the contrast of a subject image after driving the imaging lens based on a phase difference detection signal from a phase difference AF detection unit. A digital still camera has been proposed.

その他にも、特許文献3、4には、AF機能でのピントずらしを行う装置が提案されている。また、特許文献5には、フォーカスレンズを全ストローク、単位量ずつ移動させながら撮像し、輝度信号の高周波成分に基づく合焦評価値が最大の画像を最良画像とする撮像装置が提案されている。   In addition, Patent Documents 3 and 4 propose an apparatus that performs focus shifting with the AF function. Patent Document 5 proposes an image pickup apparatus that picks up an image while moving a focus lens by a full stroke and a unit amount, and uses an image with a maximum focus evaluation value based on a high-frequency component of a luminance signal as the best image. .

特開2000−292684号公報JP 2000-292684 A 特開2001−281530号公報JP 2001-281530 A 特許第2757379号公報Japanese Patent No. 2757379 特開平11−258488号公報Japanese Patent Laid-Open No. 11-258488 特開平11−211974号公報Japanese Patent Application Laid-Open No. 11-211974 特開2004−309866号公報JP 2004-309866 A 特開平9−197474号公報JP-A-9-197474

ところで、特許文献6には、パッシブ焦点検出手段と、コントラスト焦点検出手段とを備え、パッシブ焦点検出手段が検出したパッシブ合焦レンズ位置の信頼性に応じて、コントラスト焦点検出手段を作動させてコントラストを検出する焦点調節レンズ移動範囲を変更する自動焦点調節装置が提案されている。   By the way, Patent Document 6 includes a passive focus detection unit and a contrast focus detection unit. The contrast focus detection unit is operated according to the reliability of the position of the passive focusing lens detected by the passive focus detection unit, and the contrast. There has been proposed an automatic focus adjustment device that changes the moving range of the focus adjustment lens for detecting the lens.

しかしながら、特許文献6に記載の自動焦点調節装置おいては、パッシブ焦点検出手段による結果についての信頼性を評価するだけであり、コントラスト焦点検出手段の結果について信頼性を評価することはなされていない。   However, in the automatic focus adjustment apparatus described in Patent Document 6, only the reliability of the result of the passive focus detection unit is evaluated, and the reliability of the result of the contrast focus detection unit is not evaluated. .

本発明は上記のような点に鑑みてなされたものであり、位相差検出方式による焦点検出の結果及びコントラスト方式による焦点検出の結果の信頼度を判定し、高精度なAF機能を実現することを目的とする。   The present invention has been made in view of the above points, and realizes a highly accurate AF function by determining the reliability of the focus detection result by the phase difference detection method and the focus detection result by the contrast method. With the goal.

本発明の撮像装置は、被写体像を光電変換して撮像画像を生成する撮像手段を備え、位相差検出方式による焦点検出と、前記撮像手段から得られる撮像画像の被写体像のコントラストに基づくコントラスト方式による焦点検出とが実行可能な撮像装置であって、前記位相差検出方式による焦点検出の結果前記コントラスト方式による焦点検出の結果とが離れると低下する信頼度を判定する信頼度判定手段と前記信頼度判定手段により判定された信頼度に応じて、前記位相差検出方式による焦点検出及び前記コントラスト方式による焦点検出を再実行させる再実行手段と、前記位相差検出方式による焦点検出の結果を前記コントラスト方式による焦点検出の結果との差に応じた補正量で補正してレンズ駆動量とするコントローラとを備え、前記信頼度の判定を行う撮影シーケンスで撮影された画像を表示する際には、前記信頼度の判定を行う撮影シーケンスでないシーケンスで撮影された画像を表示する際に行うエッジ強調を行わない点に特徴を有する。
本発明の撮像装置の制御方法は、被写体像を光電変換して撮像画像を生成する撮像手段を備え、位相差検出方式による焦点検出と、前記撮像手段から得られる撮像画像の被写体像のコントラストに基づくコントラスト方式による焦点検出とが実行可能な撮像装置の制御方法であって、前記位相差検出方式による焦点検出の結果前記コントラスト方式による焦点検出の結果とが離れると低下する信頼度を判定する手順と、前記判定された信頼度に応じて、前記位相差検出方式による焦点検出及び前記コントラスト方式による焦点検出を再実行させる手順と、前記位相差検出方式による焦点検出の結果を前記コントラスト方式による焦点検出の結果との差に応じた補正量で補正してレンズ駆動量とする手順とを有し、前記信頼度の判定を行う撮影シーケンスで撮影された画像を表示する際には、前記信頼度の判定を行う撮影シーケンスでないシーケンスで撮影された画像を表示する際に行うエッジ強調を行わない点に特徴を有する。
本発明のコンピュータプログラムは、被写体像を光電変換して撮像画像を生成する撮像手段を備え、位相差検出方式による焦点検出と、前記撮像手段から得られる撮像画像の被写体像のコントラストに基づくコントラスト方式による焦点検出とが実行可能な撮像装置を制御するコンピュータプログラムであって、前記位相差検出方式による焦点検出の結果前記コントラスト方式による焦点検出の結果とが離れると低下する信頼度を判定する処理と、前記判定された信頼度に応じて、前記位相差検出方式による焦点検出及び前記コントラスト方式による焦点検出を再実行させる処理と、前記位相差検出方式による焦点検出の結果を前記コントラスト方式による焦点検出の結果との差に応じた補正量で補正してレンズ駆動量とする処理とをコンピュータに実行させ、前記信頼度の判定を行う撮影シーケンスで撮影された画像を表示する際には、前記信頼度の判定を行う撮影シーケンスでないシーケンスで撮影された画像を表示する際に行うエッジ強調を行わない点に特徴を有する。
The imaging apparatus of the present invention includes an imaging unit that photoelectrically converts a subject image to generate a captured image, and includes focus detection based on a phase difference detection method and a contrast method based on the contrast of the subject image of the captured image obtained from the imaging unit. A reliability determination unit that determines a reliability that decreases when a result of focus detection by the phase difference detection method and a result of focus detection by the contrast method are separated from each other . A re-execution unit that re-executes focus detection by the phase difference detection method and focus detection by the contrast method according to the reliability determined by the reliability determination unit, and a result of focus detection by the phase difference detection method. and a controller to be corrected to the lens drive amount by the correction amount corresponding to the difference between the result of focus detection by the contrast method, When displaying an image shot in a shooting sequence for determining reliability, edge emphasis is not performed when displaying an image shot in a sequence other than the shooting sequence for determining reliability. Has characteristics.
An image pickup apparatus control method according to the present invention includes an image pickup unit that photoelectrically converts a subject image to generate a picked-up image. The focus detection by the phase difference detection method and the contrast of the subject image of the picked-up image obtained from the image pickup unit. A method of controlling an imaging apparatus capable of performing focus detection by a contrast method based on the image quality determination method, and determining reliability that decreases when a result of focus detection by the phase difference detection method and a result of focus detection by the contrast method are separated A procedure for re-execution of focus detection by the phase difference detection method and focus detection by the contrast method according to the determined reliability, and a result of focus detection by the phase difference detection method by the contrast method. and a procedure of the lens drive amount is corrected by a correction amount corresponding to the difference between the result of focus detection, Taking a determination of the reliability When displaying the captured image in the sequence is characterized in that not performed edge enhancement performed when displaying an image captured by the sequence non-imaging sequence for judging the reliability.
A computer program according to the present invention includes an imaging unit that photoelectrically converts a subject image to generate a captured image, and includes focus detection based on a phase difference detection method and a contrast method based on the contrast of the subject image of the captured image obtained from the imaging unit. A computer program for controlling an imaging apparatus capable of performing focus detection by means of determining a reliability that decreases when a result of focus detection by the phase difference detection method and a result of focus detection by the contrast method are separated And a process of re-execution of focus detection by the phase difference detection method and focus detection by the contrast method according to the determined reliability, and a result of focus detection by the phase difference detection method as a focus by the contrast method. and processing for the correction to the lens drive amount by the correction amount corresponding to the difference between the result of the detection Con When the image captured in the imaging sequence for determining the reliability is displayed and the image captured in the sequence other than the imaging sequence for determining the reliability is displayed, edge enhancement is performed. It has a feature in that it is not performed.

本発明によれば、位相差検出方式による焦点検出の結果及びコントラスト方式による焦点検出の結果の信頼度を判定することにより、高精度なAF機能を実現することができる。   According to the present invention, a highly accurate AF function can be realized by determining the reliability of the focus detection result by the phase difference detection method and the focus detection result by the contrast method.

さらに、段階撮影モード時に、オートフォーカス補正量を取得して記憶手段に記憶させておき、通常撮影モード時に、位相差検出方式による焦点検出の結果に記憶手段に記憶されたオートフォーカス補正量を反映させるようにすれば、特許文献1のようにオートフォーカスの相対ずれデータを取得するためだけのテストモードが不要となり、また、特許文献2のように通常の撮影ごとに位相差検出方式による焦点検出及びコントラスト方式による焦点検出の両方を実行する必要がなくなる。   Furthermore, the autofocus correction amount is acquired and stored in the storage means during the step shooting mode, and the autofocus correction amount stored in the storage means is reflected in the focus detection result by the phase difference detection method in the normal shooting mode. By doing so, a test mode only for acquiring relative shift data of autofocus as in Patent Document 1 is not required, and focus detection by a phase difference detection method is performed for each normal photographing as in Patent Document 2. And the focus detection by the contrast method need not be performed.

以下、添付図面を参照して、本発明の好適な実施形態について説明する。
(電子カメラの構成)
図1に、本実施形態の電子カメラの概略構成を示す。電子カメラのカメラ本体200にはマウント部を介してレンズユニット100が着脱可能に取り付けられる。マウント部には電気的接点群107が設けられており、カメラ本体200とレンズユニット100との間で通信を行い、レンズユニット100のレンズ101や絞り102の駆動を行う。
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.
(Configuration of electronic camera)
FIG. 1 shows a schematic configuration of the electronic camera of the present embodiment. The lens unit 100 is detachably attached to the camera body 200 of the electronic camera via a mount unit. The mount portion is provided with an electrical contact group 107, which communicates between the camera body 200 and the lens unit 100 to drive the lens 101 and the diaphragm 102 of the lens unit 100.

不図示の被写体像からの光束は、撮影レンズ101及び光量を調節するための露出手段である絞り102を介してクイックリターンミラー(主ミラー)202に導かれる。クイックリターンミラー202は、ミラーアップ及びミラーダウン可能なように組み付けられている。   A light beam from a subject image (not shown) is guided to a quick return mirror (main mirror) 202 through a photographing lens 101 and a diaphragm 102 which is an exposure unit for adjusting the amount of light. The quick return mirror 202 is assembled so that the mirror can be raised and lowered.

クイックリターンミラー202の中央部はハーフミラーになっており、クイックリターンミラー202がダウンした状態で(図1の状態)、撮影レンズ101からの光束の一部が透過する。この透過した光束は、クイックリターンミラー202に設置されたサブミラー203で反射し、AFセンサ204に導かれる。AFセンサ204は、図6に示すように、撮影画面の複数の位置(測距エリア1〜3)で焦点検出できるようになっている。一方、クイックリターンミラー202で反射した光束は、ペンタプリズム201、接眼レンズ206を介して撮影者の目に至る。   The central portion of the quick return mirror 202 is a half mirror, and a part of the light flux from the photographing lens 101 is transmitted when the quick return mirror 202 is down (the state shown in FIG. 1). The transmitted light beam is reflected by the sub mirror 203 installed on the quick return mirror 202 and guided to the AF sensor 204. As shown in FIG. 6, the AF sensor 204 can detect the focus at a plurality of positions (ranging areas 1 to 3) on the photographing screen. On the other hand, the light beam reflected by the quick return mirror 202 reaches the eyes of the photographer via the pentaprism 201 and the eyepiece lens 206.

それに対して、クイックリターンミラー202がアップした状態では、撮影レンズ101からの光束がフィルタ209、機械シャッタであるフォーカルプレーンシャッタ208を介して撮像素子としてのCMOS等に代表される撮像手段であるイメージセンサ210に至る。フィルタ209は2つの機能を有するもので、1つは赤外線をカットし可視光線のみをイメージセンサ210へ導く機能、もう1つは光学ローパスフィルタとしての機能である。また、フォーカルプレーンシャッタ208は、先幕及び後幕を有し、撮影レンズ101からの光束に対して透過、遮断を制御する遮光手段である。なお、クイックリターンミラー202がアップする際には、サブミラー203は折り畳まれるようになっている。   On the other hand, in a state where the quick return mirror 202 is up, the light beam from the photographing lens 101 is an image that is an imaging means represented by a CMOS or the like as an image sensor via a filter 209 and a focal plane shutter 208 that is a mechanical shutter. The sensor 210 is reached. The filter 209 has two functions. One is a function of cutting infrared rays and guiding only visible light to the image sensor 210, and the other is a function as an optical low-pass filter. The focal plane shutter 208 is a light shielding unit that has a front curtain and a rear curtain, and controls transmission and blocking of the light beam from the photographing lens 101. When the quick return mirror 202 is raised, the sub mirror 203 is folded.

本実施形態の電子カメラは、全体の制御を司る制御手段としてCPUにより構成されるシステムコントローラ223を備え、後述する各部の動作を適宜制御する。システムコントローラ223には、レンズ制御回路104、絞り制御回路106、シャッタチャージ・ミラー駆動機構211、シャッタ制御機構212、測光回路207、EEPROM222等が接続されている。本実施形態では、システムコントローラ223は、AF、AE、ホワイトバランスの段階撮影を制御することもできる。   The electronic camera according to the present embodiment includes a system controller 223 configured by a CPU as a control unit that performs overall control, and appropriately controls the operation of each unit described below. The system controller 223 is connected to the lens control circuit 104, the aperture control circuit 106, the shutter charge / mirror drive mechanism 211, the shutter control mechanism 212, the photometry circuit 207, the EEPROM 222, and the like. In the present embodiment, the system controller 223 can also control AF, AE, and white balance stage shooting.

レンズ制御回路104は、撮影レンズ101を光軸方向に移動してピント合わせを行うためのレンズ駆動機構103を制御する。レンズ制御回路104は、レンズ固有の情報、例えば焦点距離、開放絞り、レンズ個々に割り振られるレンズID等の情報とシステムコントローラ223から受け取った情報を記憶するレンズ記憶手段も有する。絞り制御回路106は、絞り102を駆動するための絞り駆動機構105を制御する。   The lens control circuit 104 controls a lens driving mechanism 103 for moving the photographing lens 101 in the optical axis direction and performing focusing. The lens control circuit 104 also includes lens storage means for storing information unique to the lens, such as information such as focal length, wide aperture, lens ID assigned to each lens, and information received from the system controller 223. A diaphragm control circuit 106 controls a diaphragm driving mechanism 105 for driving the diaphragm 102.

シャッタチャージ・ミラー駆動機構211は、クイックリターンミラー202のアップダウン駆動及びフォーカルプレーンシャッタ208のシャッタチャージを制御する。シャッタ制御機構212は、フォーカルプレーンシャッタ208の先幕、後幕の走行を制御する。即ち、フォーカルプレーンシャッタ208の先幕、後幕は、駆動源がバネにより構成されており、シャッタ走行後、次の動作のためにバネチャージを要するが、シャッタチャージ・ミラー駆動機構211は、このバネチャージを制御するようになっている。   The shutter charge / mirror drive mechanism 211 controls the up / down drive of the quick return mirror 202 and the shutter charge of the focal plane shutter 208. A shutter control mechanism 212 controls the traveling of the front curtain and rear curtain of the focal plane shutter 208. That is, the drive source of the front and rear curtains of the focal plane shutter 208 is constituted by a spring, and after the shutter travels, a spring charge is required for the next operation. The shutter charge / mirror drive mechanism 211 The spring charge is controlled.

測光回路207は、接眼レンズ206の近傍に配設された測光センサに接続された自動露出調整手段である。測光回路207に接続された測光センサは、被写体の輝度を測定するためのセンサであり、その出力は測光回路207を経てシステムコントローラ223へ供給される。測光センサの測光部は、図6に示すように撮影画面を分割して測光できるように分割されている。この場合に、測光エリア1〜3はそれぞれ測距エリア1〜3に対応している。   The photometric circuit 207 is an automatic exposure adjustment unit connected to a photometric sensor disposed in the vicinity of the eyepiece lens 206. The photometric sensor connected to the photometric circuit 207 is a sensor for measuring the luminance of the subject, and its output is supplied to the system controller 223 via the photometric circuit 207. As shown in FIG. 6, the photometry unit of the photometry sensor is divided so that the photographing screen can be divided and photometry can be performed. In this case, the photometry areas 1 to 3 correspond to the distance measurement areas 1 to 3, respectively.

EEPROM222は、電子カメラを制御する上で調整が必要なパラメータや、電子カメラの個体識別が可能なカメラID情報や、AF補正データや、自動露出補正値を記憶する。   The EEPROM 222 stores parameters that need to be adjusted to control the electronic camera, camera ID information that enables individual identification of the electronic camera, AF correction data, and automatic exposure correction values.

また、電子カメラにはパーソナルコンピュータ(PC)に代表される外部制御装置300が接続可能になっており、通信インターフェース回路224を介して外部制御装置300とシステムコントローラ223とが通信可能とされている。   An external control device 300 represented by a personal computer (PC) can be connected to the electronic camera, and the external control device 300 and the system controller 223 can communicate with each other via a communication interface circuit 224. .

システムコントローラ223は、レンズ制御回路104を介してレンズ駆動機構103を制御することにより、被写体像をイメージセンサ210上に結像する。また、システムコントローラ223は、設定されたAv値に基づいて絞り102を駆動する絞り駆動機構105を制御し、さらに設定されたTv値に基づいてシャッタ制御機構212へ制御信号を出力する。   The system controller 223 forms a subject image on the image sensor 210 by controlling the lens driving mechanism 103 via the lens control circuit 104. Further, the system controller 223 controls the aperture driving mechanism 105 that drives the aperture 102 based on the set Av value, and further outputs a control signal to the shutter control mechanism 212 based on the set Tv value.

システムコントローラ223には、画像データコントローラ220が接続されている。画像データコントローラ220は、DSP(デジタル信号プロセッサ)により構成される補正データサンプル手段及び補正手段であり、イメージセンサ210の制御、イメージセンサ210から入力された画像データの補正や加工等をシステムコントローラ223の指令に基づいて実行する。画像データの補正や加工の項目の中には、オートホワイトバランスも含まれている。オートホワイトバランスとは、撮影画像中の最大輝度の部分を所定の色(白色)に補正する機能である。オートホワイトバランスにおいては、システムコントローラ223からの指令により補正量を変更することが可能である。   An image data controller 220 is connected to the system controller 223. The image data controller 220 is correction data sampling means and correction means constituted by a DSP (digital signal processor). The system controller 223 controls the image sensor 210 and corrects or processes the image data input from the image sensor 210. Execute based on the command. Auto white balance is also included in the items of image data correction and processing. Auto white balance is a function that corrects a portion of maximum brightness in a captured image to a predetermined color (white). In auto white balance, the correction amount can be changed by a command from the system controller 223.

また、画像データコントローラ220には、タイミングパルス発生回路217と、A/Dコンバータ216と、DRAM221と、D/Aコンバータ215と、画像圧縮回路219とが接続されている。   In addition, a timing pulse generation circuit 217, an A / D converter 216, a DRAM 221, a D / A converter 215, and an image compression circuit 219 are connected to the image data controller 220.

タイミングパルス発生回路217は、イメージセンサ210を駆動する際に必要なパルス信号を出力する。A/Dコンバータ216は、イメージセンサ210と共にタイミングパルス発生回路217で発生されたタイミングパルスを受けて、イメージセンサ210から出力される被写体像に対応したアナログ信号をデジタル信号に変換する。   The timing pulse generation circuit 217 outputs a pulse signal necessary for driving the image sensor 210. The A / D converter 216 receives the timing pulse generated by the timing pulse generation circuit 217 together with the image sensor 210, and converts an analog signal corresponding to the subject image output from the image sensor 210 into a digital signal.

DRAM221は、加工や所定のフォーマットへのデータ変換が行われる前の画像データ(デジタルデータ)を一時的に記憶するための記憶手段として使用される。   The DRAM 221 is used as a storage unit for temporarily storing image data (digital data) before processing or data conversion into a predetermined format.

D/Aコンバータ215には、エンコーダ回路214を介して画像表示手段である画像表示回路213が接続されている。画像表示回路213は、イメージセンサ210で撮像された画像データを表示するための回路であり、一般的にはカラーの液晶表示素子により構成される。   The D / A converter 215 is connected to an image display circuit 213 that is an image display unit via an encoder circuit 214. The image display circuit 213 is a circuit for displaying image data picked up by the image sensor 210 and is generally configured by a color liquid crystal display element.

画像圧縮回路219には、画像データ記録メディア218が接続されている。画像圧縮回路219は、DRAM221に記憶された画像データの圧縮や変換(例えばJPEG)を行うための回路である。変換された画像データは、画像データ記録メディア218へ格納される。画像データ記録メディア218としては、ハードディスク、フラッシュメモリ、フレキシブルディスク等が使用される。   An image data recording medium 218 is connected to the image compression circuit 219. The image compression circuit 219 is a circuit for performing compression and conversion (for example, JPEG) of image data stored in the DRAM 221. The converted image data is stored in the image data recording medium 218. As the image data recording medium 218, a hard disk, a flash memory, a flexible disk, or the like is used.

画像データコントローラ220は、DRAM221上の画像データを、D/Aコンバータ215によりアナログ信号に変換してエンコーダ回路214へ出力する。エンコーダ回路214は、D/Aコンバータ215の出力を画像表示回路213を駆動する際に必要な映像信号(例えばNTSC信号)に変換する。   The image data controller 220 converts the image data on the DRAM 221 into an analog signal by the D / A converter 215 and outputs the analog signal to the encoder circuit 214. The encoder circuit 214 converts the output of the D / A converter 215 into a video signal (for example, an NTSC signal) necessary for driving the image display circuit 213.

さらにシステムコントローラ223には、表示回路225と、レリーズスイッチ1(231)と、レリーズスイッチ2(230)と、モード設定スイッチ229と、測距エリア選択スイッチ228と、決定スイッチ227と、ブラケット量を設定するためのブラケット量設定スイッチ232と、測光エリア選択スイッチ235と、電子ダイヤルスイッチ226とが接続されている。   Further, the system controller 223 includes a display circuit 225, a release switch 1 (231), a release switch 2 (230), a mode setting switch 229, a distance measurement area selection switch 228, a determination switch 227, and a bracket amount. A bracket amount setting switch 232 for setting, a photometric area selection switch 235, and an electronic dial switch 226 are connected.

表示回路225は、電子カメラの動作モードの情報や露出情報(シャッタ秒時、絞り値等)の表示を行う。レリーズスイッチ1(231)は、測光や測距等の撮影準備動作を開始させ、レリーズスイッチ2(230)は、撮像動作を開始させるためのものである。モード設定スイッチ229は、ユーザが所望の動作を電子カメラに実行させるべくモードを設定するためのものである。測距エリア選択スイッチ228は、AFセンサ204が持つ複数の焦点検出位置から使用する焦点検出位置を選択するための焦点検出位置選択手段である。決定スイッチ227は、画像選択手段としても機能するものである。測光エリア選択スイッチ235は、使用する測光エリアを選択するためのものである。電子ダイヤルスイッチ226は、回転動作によりパラメータをアップダウンさせて表示するためのものである。   The display circuit 225 displays information on the operation mode of the electronic camera and exposure information (shutter time, aperture value, etc.). The release switch 1 (231) is used to start shooting preparation operations such as photometry and distance measurement, and the release switch 2 (230) is used to start imaging operations. The mode setting switch 229 is for the user to set a mode so that the electronic camera performs a desired operation. The ranging area selection switch 228 is a focus detection position selection means for selecting a focus detection position to be used from a plurality of focus detection positions of the AF sensor 204. The decision switch 227 also functions as an image selection unit. The photometric area selection switch 235 is for selecting a photometric area to be used. The electronic dial switch 226 is for displaying the parameters up and down by a rotating operation.

カウンター233は、システムコントローラ223に接続され、各種ブラケット撮影を行う際にレリーズ回数をカウントする。カウンター233の計数値リセットはシステムコントローラ223により行われる。また、ブザー234は、警告音等を発するためのものである。   The counter 233 is connected to the system controller 223 and counts the number of times of release when performing various bracket photography. The counter value of the counter 233 is reset by the system controller 223. The buzzer 234 is for generating a warning sound or the like.

(デフォーカス検出の原理説明)
図7、8を参照して、デフォーカス量(ピント位置ズレ量)検出の原理を説明する。撮像素子上にピントがあっているとき、ラインセンサ上の2像間隔はある値をとる。この値は設計により求めることができるが、実際には、部品の寸法、バラツキ、組立て上の誤差によって設計値と同じとはならない。したがって、実際には測定しなければこの2像間隔(基準2像間隔Lo)を求めることは困難である。図7より明らかなように、この基準2像間隔Loより2像間隔が狭まければ前ピンであり、基準2像間隔Loより広ければ後ピンである。
(Explanation of defocus detection principle)
The principle of defocus amount (focus position shift amount) detection will be described with reference to FIGS. When the image sensor is in focus, the interval between the two images on the line sensor takes a certain value. This value can be determined by design, but in practice, it is not the same as the design value due to the size, variation, and assembly error of parts. Therefore, it is difficult to obtain the two-image interval (reference two-image interval Lo) unless actually measured. As is apparent from FIG. 7, if the two image intervals are narrower than the reference two image interval Lo, it is a front pin, and if it is larger than the reference two image intervals Lo, it is a rear pin.

図8は、AFセンサモジュールの光学系からコンデンサレンズを省いたモデルを示した図である。同図に示すように、主光線の角度をθ、セパレータレンズの倍率をβ、像の移動量をΔL、ΔL'とすると、デフォーカス量Lは下式(1)で求まる。ここで、β・tanθは、AFセンサモジュールの設計上定まるパラメータである。また、ΔL'は基準2像間隔(Lo)と現在の2像間隔(Lt)から求めることができる。   FIG. 8 is a diagram illustrating a model in which a condenser lens is omitted from the optical system of the AF sensor module. As shown in the figure, when the chief ray angle is θ, the separator lens magnification is β, the image movement amount is ΔL, and ΔL ′, the defocus amount L is obtained by the following equation (1). Here, β · tan θ is a parameter determined in the design of the AF sensor module. ΔL ′ can be obtained from the reference two-image interval (Lo) and the current two-image interval (Lt).

Figure 0004804210
Figure 0004804210

本実施形態のAFセンサ204は、撮影画面の複数の位置で焦点検出できるように、上記構成を複数具備している。オートフォーカス機能のピント調整は、予めピント位置のわかっているレンズを用い、撮像素子の光軸上の位置(撮像素子の組み付け誤差)にピント位置が来るようにAFセンサ204から得られる2像間隔をAFピント補正パラメータとしてEEPROM222に記憶するようにしている。しかし、電子カメラに取り付けられるレンズユニットが変わると、レンズユニット自体の製造誤差によりピント位置にバラツキが生じる。   The AF sensor 204 of this embodiment has a plurality of the above-described configurations so that focus detection can be performed at a plurality of positions on the shooting screen. The focus adjustment of the autofocus function uses a lens whose focus position is known in advance, and the two image intervals obtained from the AF sensor 204 so that the focus position comes to a position on the optical axis of the image sensor (assembly error of the image sensor). Are stored in the EEPROM 222 as AF focus correction parameters. However, when the lens unit attached to the electronic camera changes, the focus position varies due to manufacturing errors of the lens unit itself.

(測距エリア選択シーケンス)
図2を参照して、測距エリア選択シーケンスを説明する。ステップS001では、測距エリア選択スイッチ228がオンされたか否か判定する。オンされたならば、ステップS002へ移行する。ステップS002では、電子ダイヤルスイッチ226が操作されたか否か、また操作されていれば操作方向及び操作量を検出する。ステップS003では、ステップS002での電子ダイヤルスイッチ226の操作方向及び操作量に応じて測距エリアを変更する。測距エリアは、全部⇔測距エリア1⇔測距エリア2⇔測距エリア3⇔全部、という順序で切り替わる。ステップS004では、測距エリア選択スイッチ228がオフされたか否か判定し、オフされたならば、測距エリア選択シーケンスを終了する。
(Ranging area selection sequence)
A ranging area selection sequence will be described with reference to FIG. In step S001, it is determined whether or not the ranging area selection switch 228 is turned on. If turned on, the process proceeds to step S002. In step S002, it is detected whether or not the electronic dial switch 226 has been operated, and if it has been operated, the operation direction and the operation amount are detected. In step S003, the distance measurement area is changed according to the operation direction and operation amount of the electronic dial switch 226 in step S002. The ranging areas are switched in the order of all of the ranging areas 1, the ranging area 2, and all the ranging areas 3. In step S004, it is determined whether or not the ranging area selection switch 228 has been turned off. If it has been turned off, the ranging area selection sequence is terminated.

(撮影モード設定シーケンス)
図3を参照して、撮影モード設定シーケンスを説明する。ステップS101では、モード設定スイッチ229がオンされたか否かを判定する。オンされたならば、ユーザによってモード設定操作が開始されたものと判定し、ステップS102へ移行する。ステップS102では、電子ダイヤルスイッチ226の操作クリック数を検出する。電子ダイヤルスイッチ226をオン・オフさせる不図示の電子ダイヤルをある方向に回転させると、操作クリック毎に、撮影モードを「TV」→「AV」→「P」→「AFキャリブレーション」→「TV」・・・と変化させることができる。また、不図示の電子ダイヤルを逆方向に回転させると、操作クリック毎に、選択モードを「TV」→「AFキャリブレーション」→「P」→「AV」→「TV」・・・と変化させることができる。「AFキャリブレーション」は、測距エリア選択シーケンスにおいて測距エリア1〜3の中から一つだけが選択されていなければ表示されず、モード選択できないようになっている。
(Shooting mode setting sequence)
The shooting mode setting sequence will be described with reference to FIG. In step S101, it is determined whether or not the mode setting switch 229 is turned on. If it is turned on, it is determined that the mode setting operation has been started by the user, and the process proceeds to step S102. In step S102, the number of operation clicks of the electronic dial switch 226 is detected. When an electronic dial (not shown) that turns on / off the electronic dial switch 226 is rotated in a certain direction, the shooting mode is changed from “TV” → “AV” → “P” → “AF calibration” → “TV” for each operation click. "... can be changed. When the electronic dial (not shown) is rotated in the reverse direction, the selection mode is changed from “TV” → “AF calibration” → “P” → “AV” → “TV”. be able to. “AF calibration” is not displayed unless only one of the ranging areas 1 to 3 is selected in the ranging area selection sequence, and the mode cannot be selected.

ステップS103では、モード設定スイッチ229がオフされたか否かを判定し、オフされたならば、その時に選択されている撮影モードを選択する。ステップS104では、撮影モードをステップS103で選択された撮影モードに決定する。   In step S103, it is determined whether or not the mode setting switch 229 is turned off. If it is turned off, the shooting mode selected at that time is selected. In step S104, the shooting mode is determined to be the shooting mode selected in step S103.

ステップS105では、撮影モードがAFキャリブレーションモードであるか否かを判定する。AFキャリブレーションモード以外の場合、ステップS111へ移行し、各撮影モードに応じた不図示の撮影シーケンスへ移行する。   In step S105, it is determined whether or not the shooting mode is an AF calibration mode. In cases other than the AF calibration mode, the process proceeds to step S111, and the process proceeds to a shooting sequence (not shown) corresponding to each shooting mode.

AFキャリブレーションモードの場合、ステップS106へ移行する。ステップS106では、ブラケット量設定スイッチ232がオンされたか否かを判定する。オンされたならば、ステップS107へ移行する。オンされていなければ、AFキャリブレーション撮影時のAFブラケットステップ量を基準設定値aとした後、ステップS110へ移行し、AFキャリブレーション撮影シーケンスへと進む。   In the AF calibration mode, the process proceeds to step S106. In step S106, it is determined whether or not the bracket amount setting switch 232 is turned on. If turned on, the process proceeds to step S107. If it is not turned on, the AF bracket step amount at the time of AF calibration shooting is set to the reference set value a, and then the process proceeds to step S110 and proceeds to the AF calibration shooting sequence.

ステップS107では、電子ダイヤルスイッチ226の操作クリック数を検出する。電子ダイヤルスイッチ226をオン・オフさせる不図示の電子ダイヤルを任意の方向に回転させると、操作クリック毎に、AFブラケットステップ量を「基準値a×0.25」⇔「基準値a×0.5」⇔「基準値a」⇔「基準値a×2」⇔「基準値a×4」と変化させることができる。ただし、「基準値a×0.25」及び「基準値a×4」をそれぞれ上限・下限値とし、それ以上の変化させようとして電子ダイヤルを操作しても無視するようになっている。   In step S107, the number of operation clicks of the electronic dial switch 226 is detected. When an electronic dial (not shown) for turning on / off the electronic dial switch 226 is rotated in an arbitrary direction, the AF bracket step amount is changed from “reference value a × 0.25” to “reference value a × 0. 5 ”⇔“ reference value a ”⇔“ reference value a × 2 ”⇔“ reference value a × 4 ”. However, “reference value a × 0.25” and “reference value a × 4” are set as upper and lower limits, respectively, and even if the electronic dial is operated to change the upper limit and lower limit values, they are ignored.

AFブラケットステップ量の基準値aは、絞り制御回路106から開放絞り値情報をシステムコントローラ223が受け取り、a=FNO×εにて決定する。FNOは絞り値情報、εは許容錯乱円径である。本実施形態での基準値aは、焦点深度δと同じ値としている。本実施形態では、ε=0.03mmとしている。   The reference value a for the AF bracket step amount is determined by a = FNO × ε when the system controller 223 receives open aperture value information from the aperture control circuit 106. FNO is aperture value information, and ε is an allowable circle of confusion. The reference value a in the present embodiment is the same value as the focal depth δ. In the present embodiment, ε = 0.03 mm.

AFブラケットステップ量を可変とすることで、次のことが可能となる。即ち、大きなピント補正が必要な場合でも、AFキャリブレーションをAFブラケットステップ量を段階的に変化(大きなステップ量から小さいステップ量へ変化)させて複数回実行することで、ピント補正量を適切な値まで絞り込んで求めていくことができる。   By making the AF bracket step amount variable, the following becomes possible. In other words, even when large focus correction is required, AF calibration is performed multiple times by changing the AF bracket step amount stepwise (from a large step amount to a small step amount). You can narrow down to the value.

ステップS108では、ブラケット量設定スイッチ232がオフされたか否かを判定し、オフされたならば、その時に選択されているAFブラケットステップ量を選択する。ステップS109では、AFブラケットステップ量Aを、ステップS108で選択されたブラケットステップ量に決定した後、ステップS110へ移行し、図4のAFキャリブレーション撮影シーケンスへと進む。   In step S108, it is determined whether or not the bracket amount setting switch 232 is turned off. If it is turned off, the AF bracket step amount selected at that time is selected. In step S109, the AF bracket step amount A is determined to be the bracket step amount selected in step S108, and then the process proceeds to step S110 to proceed to the AF calibration imaging sequence in FIG.

(AFキャリブレーション撮影シーケンス)
図4を参照して、AFキャリブレーション撮影シーケンスを説明する。AFキャリブレーション撮影シーケンスは、段階撮影手段として機能するシステムコントローラ223により制御される。
(AF calibration shooting sequence)
The AF calibration shooting sequence will be described with reference to FIG. The AF calibration imaging sequence is controlled by a system controller 223 that functions as a stage imaging unit.

ステップS201では、カウンター233のリセットを行う。ステップS202では、レリーズスイッチ1(231)がオンされたか否かを判定する。オンされたならば、ステップS203とステップS205とへ分岐し、移行する。   In step S201, the counter 233 is reset. In step S202, it is determined whether or not release switch 1 (231) is turned on. If it is turned on, the process branches to step S203 and step S205 and shifts.

ステップS203では、撮影レンズ101を通りクイックリターンミラー202で反射し、ペンタプリズム201を通過した光束を測光回路207で測光する。ステップS204では、システムコントローラ223が、測光回路207の出力に応じて撮像時の露出量を決定する。   In step S203, the photometric circuit 207 measures the light beam that has passed through the taking lens 101, reflected by the quick return mirror 202, and passed through the pentaprism 201. In step S <b> 204, the system controller 223 determines the exposure amount at the time of imaging according to the output of the photometry circuit 207.

ステップS205では、システムコントローラ223が、AFセンサ204、焦点検出回路205を使用し、測距を行う。ステップS206では、測距できたか否かを判定する。測距した対象物が低コントラストの場合や暗い場合には測距できないことがあり、その場合には、ステップS210へ移行し、警告を行う。   In step S205, the system controller 223 uses the AF sensor 204 and the focus detection circuit 205 to perform distance measurement. In step S206, it is determined whether distance measurement has been performed. If the measured object is low contrast or dark, distance measurement may not be possible. In this case, the process proceeds to step S210 to give a warning.

ステップS207では、位相差AFで求めたピント位置までレンズを駆動する。ステップS208では、コントラストAFでピントのピーク位置を求める。すなわち、撮影レンズ101のピント位置をステップ的に移動させながら各ピント位置での撮像画像のコントラスト検出を行い、最大のコントラスト位置(ピーク位置)を焦点検出結果とする(いわゆるTV-AFや山登りAFと称される方法)。   In step S207, the lens is driven to the focus position obtained by the phase difference AF. In step S208, the focus peak position is obtained by contrast AF. In other words, the contrast of the captured image is detected at each focus position while moving the focus position of the photographing lens 101 stepwise, and the maximum contrast position (peak position) is used as a focus detection result (so-called TV-AF or hill-climbing AF). Method called).

ステップS209では、ステップS205で求めたピント位置と、ステップS208で求めたピントのピーク位置との差分を求め、位相差AFによる焦点検出の結果及びコントラストAFによる焦点検出の結果の信頼度を、予め定められた基準に従って判定する。   In step S209, the difference between the focus position obtained in step S205 and the focus peak position obtained in step S208 is obtained, and the reliability of the focus detection result by the phase difference AF and the focus detection result by the contrast AF is determined in advance. Judgment is made according to established criteria.

位相差AFとコントラストAFとのピント位置の結果が大きく相違する場合は(例えば位相差AF及びコントラストAFの結果の差分が設定値以上ある場合)、いずれかの焦点検出に誤りがあったことが考えられるので、焦点検出を再実行させる。このとき、単に再実行させるだけでなく、条件や判定基準を変えるようにしてもよい。   If the focus position results of the phase difference AF and the contrast AF are greatly different (for example, if the difference between the results of the phase difference AF and the contrast AF is greater than or equal to the set value), there is an error in detection of any focus. Since it is possible, focus detection is executed again. At this time, not only the re-execution but also the conditions and determination criteria may be changed.

また、チャート、距離、光源といった焦点検出を行った際の条件を検出し、その条件が基準としている条件と大きく相違する場合には、得られた結果も信頼できるものとは言えないと判定するようにしてもよい。   Also, if the conditions at the time of focus detection such as chart, distance, and light source are detected, and the conditions are significantly different from the reference conditions, it is determined that the obtained result is not reliable. You may do it.

この信頼度の判定の例を図11に示す。図11において、ステップS601で、まず使用しているチャートを読み出す。ステップS602では、使用しているチャートを基準としているチャートのパターンと比較して、同じであると判定したならば、ステップS603へ移行し、違うものと判定したならば、ステップS608へ移行し、信頼度が低いと判定する。例えば、二本バーチャートや高コントラストチャートを使用すべきなのに、誤って低コントラストチャートを使用してしまった等の場合である。   An example of the determination of the reliability is shown in FIG. In FIG. 11, in step S601, the chart being used is read first. In step S602, the chart used is compared with the chart pattern as a reference, and if it is determined to be the same, the process proceeds to step S603, and if it is determined to be different, the process proceeds to step S608. It is determined that the reliability is low. For example, this is a case where a double bar chart or a high contrast chart should be used but a low contrast chart is used by mistake.

ステップS603では、測定を行おうとしている被写体までの撮影距離を測定する。これは、基準としているチャートがどの程度の大きさに収まっているかを判断すればよい。これをステップS604で基準としている距離(例えば焦点距離の50倍)と同じであるかを比較して、基準としている距離と同じであると判定したならば、ステップS605へ移行し、違うものと判定したならば、ステップS608へ移行し、信頼度は低いと判定する。   In step S603, the shooting distance to the subject to be measured is measured. This can be determined by determining how large the standard chart is. If this is the same as the reference distance (for example, 50 times the focal length) in step S604, and if it is determined that it is the same as the reference distance, the process proceeds to step S605 and is different. If it determines, it will transfer to step S608 and will determine with reliability being low.

ステップS605では、測定を行おうとしている光源を検出する。光源の検出は、例えば特許文献7に記載された既存の方法で検出を行えばよい。これをステップS606で基準としている光源と同じであるかを比較して、基準としている光源と同じであると判定したならば、ステップS607へ移行し、信頼度は高いと判定し、違うものと判定したならば、ステップS608へ移行し、信頼度は低いと判定する。   In step S605, a light source to be measured is detected. The light source may be detected by an existing method described in Patent Document 7, for example. In step S606, whether the light source is the same as the reference light source is compared, and if it is determined that the light source is the same as the reference light source, the process proceeds to step S607, where the reliability is determined to be high and is different. If it determines, it will transfer to step S608 and will determine with reliability being low.

図11で述べた例は、1つでも条件と異なるものがあったならば、信頼度は低いと判定するようにしたが、同じ条件がどれだけ揃っているかによって、信頼度に重みをつけるようにしてもよい。例えば、3つとも同じ条件であると判定されれば、信頼度のレベルは高い、2つは同じ条件であると判定されれば、信頼度のレベルは中程度、1つは同一条件であると判定されれば、信頼度のレベルは低い、というような具合である。また、信頼度が低いと判定した場合には、その旨を表示するようにしてもよい。   In the example described in FIG. 11, if even one of the conditions is different, the reliability is determined to be low. However, depending on how many of the same conditions are provided, the reliability is weighted. It may be. For example, if all three are determined to have the same condition, the reliability level is high. If two are determined to be the same condition, the reliability level is medium, and one is the same condition. If it is determined, the level of reliability is low. If it is determined that the reliability is low, a message to that effect may be displayed.

別の方法として、位相差AFによる焦点検出の結果は、相関値により求め、コントラストAFによる焦点検出の結果は、山のピークを求めるための評価値の軌跡が、どのような軌跡を描いているかで、判定するようにしてもよい。例えば、通常、評価値軌跡は山の形を描くが、もし二つの山形を描くような軌跡であった場合の結果は、信頼度が低いと判定する。また、評価値の軌跡が山の形を描いていない場合の結果は、信頼度が低いと判定する。   As another method, the result of focus detection by phase difference AF is obtained from a correlation value, and the result of focus detection by contrast AF is what kind of locus the evaluation value locus for obtaining a peak of a mountain draws. Thus, the determination may be made. For example, the evaluation value locus usually draws a mountain shape, but if the locus is a locus that draws two mountain shapes, it is determined that the reliability is low. Further, it is determined that the reliability is low when the evaluation value trajectory does not draw a mountain shape.

また、信頼度の高低だけの判定だけではなく、信頼度を数値化するようにしてもよい。コントラストAFでの評価値の山の軌跡の傾きを求め、そこから信頼度を数値として表す。例えば傾きが45°の場合を理想形として定め、信頼度が一番高いものとして扱い、そこから、傾きが急な方向や緩やかな方向に変化するにつれて、信頼度の度数が落ちていくことになる。   Further, not only the determination of the reliability level but also the reliability level may be quantified. The slope of the mountain locus of the evaluation value in contrast AF is obtained, and the reliability is expressed as a numerical value. For example, the case where the inclination is 45 ° is determined as an ideal form, and is treated as having the highest reliability, and then the degree of reliability decreases as the inclination changes in a steep or gentle direction. Become.

また、信頼度を測る別の方法としては、得られた評価値の絶対値から求める方法も考えられる。この場合には、ピントピークとなる場所の評価値を一番高いものとして扱い、そこから、絶対値が下がるにつれて、信頼度の度数が落ちていくことになる。   Further, as another method of measuring the reliability, a method of obtaining from the absolute value of the obtained evaluation value is also conceivable. In this case, the evaluation value of the place that becomes the focus peak is treated as the highest value, and the degree of reliability decreases as the absolute value decreases from there.

また、位相差AFでの合焦の位置から、どの程度離れた位置でコントラストのピークが検出されるかにもよる。かけ離れた位置が結果であった場合には、その離れ具合に応じて、信頼度の度数も落ちていく。   Further, it depends on how far the contrast peak is detected from the in-focus position in the phase difference AF. If the far away position is the result, the degree of reliability decreases according to the degree of separation.

以上挙げたような方法にとらわれることなく、種々の方法で、信頼度を表すようにすればよい。また、焦点検出を再実行させる場合には、条件を変えたり、判定基準を変えたりすることが考えられる。変更するのは、信頼度の判定基準を緩めにしたり、測定時の設定条件として、チャート、距離、光源の設定をより厳しく設定する方向へ変更したりすることが考えられる。   The reliability may be expressed by various methods without being limited to the methods described above. Further, when focus detection is re-executed, it is conceivable to change conditions or change a criterion. The change can be made by loosening the reliability criterion, or changing the chart, distance, and light source settings to a more strict setting direction as measurement setting conditions.

図4に説明を戻して、ステップS211では、レリーズスイッチ2(230)がオンされたか否かを判定する。オンされたならば、ステップS212へ移行する。ステップS212では、システムコントローラ223がピント位置ずらし量DFの演算を行う。具体的には、カウンター233から現在のカウント数Nを受け取り、下式(2)に従ってピント位置ずらし量DFを演算する。
DF=A×(N−4)・・・(2)
Returning to FIG. 4, in step S211, it is determined whether or not the release switch 2 (230) is turned on. If turned on, the process proceeds to step S212. In step S212, the system controller 223 calculates the focus position shift amount DF. Specifically, the current count number N is received from the counter 233, and the focus position shift amount DF is calculated according to the following equation (2).
DF = A × (N−4) (2)

ステップS213では、カウンターNを一つカウントアップする。ステップS214では、システムコントローラ223が、ステップS212で演算したピント位置ずらし量DFをレンズ制御回路104に送信する。これを受けて、レンズ制御回路104は、レンズ駆動回路103を制御し、撮影レンズ101をピント位置ずらし量DFの位置までレンズ駆動を行う。   In step S213, the counter N is incremented by one. In step S214, the system controller 223 sends the focus position shift amount DF calculated in step S212 to the lens control circuit 104. In response to this, the lens control circuit 104 controls the lens driving circuit 103 to drive the photographing lens 101 to the position of the focus position shift amount DF.

ステップS215では、システムコントローラ223が、シャッタチャージ・ミラー駆動機構211を制御し、ミラーアップを行う。ステップS216では、システムコントローラ223が、ステップS204で設定された露出量を絞り制御回路106へ送信し、絞り駆動機構105を駆動して、設定された絞り値まで絞り込みを行う。   In step S215, the system controller 223 controls the shutter charge / mirror drive mechanism 211 to perform mirror up. In step S216, the system controller 223 transmits the exposure amount set in step S204 to the aperture control circuit 106, drives the aperture drive mechanism 105, and narrows down to the set aperture value.

ステップS217では、システムコントローラ223が、フォーカルプレーンシャッタ208を開くよう各部を制御する。さらにステップS218では、画像データコントローラ220に対してイメージセンサ210の積分動作を指示する。ステップS219では、所定の積分時間だけ待機する。積分時間が終わると、ステップS220へ移行し、フォーカルプレーンシャッタ208を閉じる。   In step S217, the system controller 223 controls each unit to open the focal plane shutter 208. In step S218, the image data controller 220 is instructed to perform an integration operation of the image sensor 210. In step S219, the process waits for a predetermined integration time. When the integration time is over, the process proceeds to step S220, and the focal plane shutter 208 is closed.

ステップS221では、システムコントローラ223が、次回の動作に備えてフォーカルプレーンシャッタ208のチャージ動作及びミラーダウン駆動を行う。ステップS222では、絞りを開放へと駆動する。   In step S221, the system controller 223 performs the charge operation of the focal plane shutter 208 and the mirror down drive in preparation for the next operation. In step S222, the aperture is driven to open.

ステップS223では、画像データコントローラ220に対してイメージセンサ210から画像データを取り込むように指示する。この際、イメージセンサ210から取り込む画像データは、AFに使用された測距点を含む限定されたエリアの画像データでもよい。   In step S223, the image data controller 220 is instructed to capture image data from the image sensor 210. At this time, the image data captured from the image sensor 210 may be image data of a limited area including a distance measuring point used for AF.

ステップS224では、画像データコントローラ220へ現在のピント位置ずらし量DFを送信し、レンズID情報と画像データとピント位置ずらし量DFを関連付けて画像圧縮回路219を通し、画像データ記録メディア218へ記録する。   In step S224, the current focus position shift amount DF is transmitted to the image data controller 220, and the lens ID information, the image data, and the focus position shift amount DF are associated with each other and are recorded on the image data recording medium 218 through the image compression circuit 219. .

ステップS225では、カウンターNの値を確認する。カウンター値が所定の値(本実施形態では「7」)になっていれば、AFキャリブレーション撮影シーケンスが完了したと判定し、図5の画像選択シーケンスへと移行する。   In step S225, the value of the counter N is confirmed. If the counter value is a predetermined value (“7” in this embodiment), it is determined that the AF calibration imaging sequence is completed, and the process proceeds to the image selection sequence in FIG.

(AFキャリブレーション画像選択シーケンス)
図5を参照して、AFキャリブレーション画像選択シーケンスを説明する。ステップS3000では、選択方法を判定し、手動の場合にはステップS301へ、自動の場合にはステップS3001へ移行する。
(AF calibration image selection sequence)
The AF calibration image selection sequence will be described with reference to FIG. In step S3000, the selection method is determined, and if it is manual, the process proceeds to step S301, and if it is automatic, the process proceeds to step S3001.

ステップS3001では、画像のコントラスト評価値を取り込み、ステップS3002では、画像間の比較を行い、その中での最大値となる画像を選択し、その後ステップS313へ移行する。   In step S3001, the contrast evaluation value of the image is fetched. In step S3002, the images are compared, the image having the maximum value is selected, and the process proceeds to step S313.

それに対して、ステップS301では、システムコントローラ223が、画像データコントローラ220に対して、AFキャリブレーション撮影シーケンスにて撮影されたカウンター"1"の画像データを画像表示回路213に表示させるよう制御する。画像データを表示する際には、通常撮影シーケンスで撮影された画像を表示する場合とは異なる画像処理を施して表示する。具体的には、通常撮影シーケンスで撮影された画像を表示する際には、見栄えを良くするためにエッジ強調を行う。しかしながら、AFキャリブレーションモードで撮影された画像データに対しエッジ強調を行うと、本来ピントがずれているはずの画像部分がピントがあっているように見えてしまう。そこで、AFキャリブレーションモードで撮影された画像群から最適なピントの画像を選択する際には、エッジ強調を行わず、誤ってピントがずれている画像を選択されるような不都合を避けるようにしている。   On the other hand, in step S301, the system controller 223 controls the image data controller 220 to display the image data of the counter “1” captured in the AF calibration imaging sequence on the image display circuit 213. When the image data is displayed, the image data is displayed after being subjected to image processing different from that for displaying an image shot in the normal shooting sequence. Specifically, when displaying an image shot in the normal shooting sequence, edge enhancement is performed to improve the appearance. However, when edge enhancement is performed on image data captured in the AF calibration mode, an image portion that should have been out of focus originally appears to be in focus. Therefore, when selecting an optimally focused image from a group of images taken in AF calibration mode, avoid the inconvenience of selecting an image that is out of focus by mistake without performing edge enhancement. ing.

ステップS302では、決定スイッチ227がオンされたか否かを判定する。オンされたならば、ステップS313へ移行し、オンされてなければ、ステップS303へ移行する。ステップS303では、電子ダイヤルスイッチ226の操作状態を検出する。左回転されればステップS304へ、右回転されればステップS308へ移行する。   In step S302, it is determined whether or not the decision switch 227 is turned on. If turned on, the process proceeds to step S313, and if not turned on, the process proceeds to step S303. In step S303, the operating state of the electronic dial switch 226 is detected. If it is rotated left, the process proceeds to step S304, and if it is rotated right, the process proceeds to step S308.

ステップS304では、カウンターNから−1する。ステップS305では、カウンターNが"0"になっていないか判定する。ステップS305でカウンターNが"0"より小さい場合は、ステップS306で、選択表示できるAFキャリブレーション撮影による画像データがないことを表示回路もしくはブザー234もしくは表示回路及びブザー234を同時に使って警告を行う。その後、ステップS307では、カウンターNを+1する。ステップS305でカウンターNが"0"より大きい場合は、ステップS312へ移行する。   In step S304, the counter N is decremented by one. In step S305, it is determined whether the counter N is “0”. If the counter N is smaller than “0” in step S305, a warning is given in step S306 by using the display circuit or the buzzer 234 or the display circuit and the buzzer 234 at the same time that there is no image data by AF calibration shooting that can be selected and displayed. . Thereafter, in step S307, the counter N is incremented by one. If the counter N is greater than “0” in step S305, the process proceeds to step S312.

ステップS308では、カウンターNに+1する。ステップS309では、カウンターNが"7"により大きくなっていないか判定する。ステップS309でカウンターNが"7"より大きい場合は、ステップS310で、選択表示できるAFキャリブレーション撮影による画像データがないことを表示回路もしくはブザー234もしくは表示回路及びブザー234を同時に使って警告を行う。その後、ステップS311では、カウンターNを−1する。ステップS309でカウンターNが"7"以下である場合は、ステップS312へ移行する。   In step S308, the counter N is incremented by one. In step S309, it is determined whether the counter N has increased by “7”. If the counter N is larger than “7” in step S309, a warning is issued in step S310 by using the display circuit or the buzzer 234, or the display circuit and the buzzer 234 at the same time, indicating that there is no AF calibration image data that can be selected and displayed. . Thereafter, in step S311, the counter N is decremented by one. If the counter N is “7” or less in step S309, the process proceeds to step S312.

ステップS312では、電子ダイヤルスイッチ226の操作に応じて変化させられたカウンターNに応じた画像データを画像データ記録メディア218から呼び出し、画像表示回路213に表示する。   In step S312, image data corresponding to the counter N changed according to the operation of the electronic dial switch 226 is called from the image data recording medium 218 and displayed on the image display circuit 213.

ステップS313では、ステップS3002やステップS302において選択されたAFキャリブレーション撮影による画像データに関連付けられて記憶されているピント位置ずらし量DFをAF補正量(CALデータ)として決定する。ステップS314では、決定されたAF補正量(CALデータ)を、焦点検出を行った測距エリアやズーム位置と関連付けて、レンズ制御回路104が持っているレンズIDと共にEEPROM222に書き込む。   In step S313, the focus position shift amount DF stored in association with the image data obtained by AF calibration photographing selected in step S3002 or step S302 is determined as the AF correction amount (CAL data). In step S314, the determined AF correction amount (CAL data) is written into the EEPROM 222 together with the lens ID of the lens control circuit 104 in association with the focus detection area and zoom position where focus detection has been performed.

ステップS315では、AFキャリブレーション画像データ全て及びAFキャリブレーション画像データ用フォルダを画像データ記録メディア218より削除する。   In step S 315, all the AF calibration image data and the AF calibration image data folder are deleted from the image data recording medium 218.

(通常撮影シーケンス)
図9を参照して、通常撮影シーケンスを説明する。ステップS401では、レリーズスイッチ1(231)がオンされたか否かを判定する。オンされたならば、ステップS402とステップS404へ分岐し、移行する。
(Normal shooting sequence)
The normal shooting sequence will be described with reference to FIG. In step S401, it is determined whether or not the release switch 1 (231) is turned on. If it is turned on, it branches to step S402 and step S404, and shifts.

ステップS402では、撮影レンズ101を通りクイックリターンミラー202で反射し、ペンタプリズム201を通過した光束を測光回路207で測光する。ステップS403では、システムコントローラ223が、測光回路207の出力に応じて撮像時の露出量を決定する。   In step S <b> 402, the light beam reflected by the quick return mirror 202 through the photographing lens 101 and passing through the pentaprism 201 is measured by the photometric circuit 207. In step S <b> 403, the system controller 223 determines the exposure amount at the time of imaging according to the output of the photometry circuit 207.

ステップS404では、システムコントローラ223が、AFセンサー204、焦点検出回路205を使用し、測距を行う。ステップS405では、測距できたか否かを判定する。測距した対象物が低コントラストの場合や暗い場合には測距できないことがあり、その場合には、ステップS409へ移行し、警告を行う。   In step S <b> 404, the system controller 223 uses the AF sensor 204 and the focus detection circuit 205 to perform distance measurement. In step S405, it is determined whether distance measurement has been performed. If the measured object is low contrast or dark, distance measurement may not be possible. In this case, the process proceeds to step S409 and a warning is given.

ステップ406では、システムコントローラ223がレンズID情報を受け取り、電子カメラに取り付けられているレンズ(レンズIDで判定)で、かつ、焦点検出に使用している測距エリアのAF補正量(CALデータ)がEEPROM222に記憶されているか否かを判定する。記憶されていなければ、AF補正量を焦点検出結果に加算しない。記憶されていれば、ステップS407で測距結果にAF補正量(CALデータ)を加算し、ステップS408へ移行する。この場合、レンズ駆動量は、レンズ駆動量=測距結果+製造時のAF補正値(調整データ)+AF補正量(CALデータ)となる。   In step 406, the system controller 223 receives the lens ID information, and the AF correction amount (CAL data) of the distance measuring area used for focus detection is the lens attached to the electronic camera (determined by the lens ID). Is stored in the EEPROM 222. If it is not stored, the AF correction amount is not added to the focus detection result. If stored, the AF correction amount (CAL data) is added to the distance measurement result in step S407, and the process proceeds to step S408. In this case, the lens driving amount is lens driving amount = distance measurement result + AF correction value (adjustment data) at the time of manufacture + AF correction amount (CAL data).

ステップS408では、測距結果に基づき、システムコントローラ223よりレンズ制御回路104にレンズ駆動量を送信する。レンズ制御回路104は、送信されたレンズ駆動量に基づいてレンズ駆動機構103を制御し、レンズ駆動機構103は撮影レンズ101を合焦位置へと駆動する。   In step S408, the lens driving amount is transmitted from the system controller 223 to the lens control circuit 104 based on the distance measurement result. The lens control circuit 104 controls the lens driving mechanism 103 based on the transmitted lens driving amount, and the lens driving mechanism 103 drives the photographing lens 101 to the in-focus position.

ステップS410では、レリーズスイッチ2(230)がオンされたか否かを判定する。オンされたならば、ステップS411へ移行する。ステップS411では、システムコントローラ223が、シャッタチャージ・ミラー駆動機構211を制御し、ミラーアップを行う。ステップS412では、ステップS204で設定された絞り値情報をシステムコントローラ223が絞り制御回路106へ送信し、絞り駆動機構105を駆動して、設定された絞り値まで絞り込みを行う。   In step S410, it is determined whether release switch 2 (230) is turned on. If turned on, the process proceeds to step S411. In step S411, the system controller 223 controls the shutter charge / mirror drive mechanism 211 to perform mirror up. In step S412, the system controller 223 transmits the aperture value information set in step S204 to the aperture control circuit 106, drives the aperture drive mechanism 105, and narrows down to the set aperture value.

ステップS413では、システムコントローラ223が、フォーカルプレーンシャッタ208を開くよう各部を制御する。さらにステップS414では、画像データコントローラ220(DSP)に対してイメージセンサ210の積分動作を指示する。ステップS415では、所定の積分時間だけ待機する。積分時間が終わると、ステップS416へ移行し、フォーカルプレーンシャッタ208を閉じる。   In step S413, the system controller 223 controls each unit to open the focal plane shutter 208. In step S414, the image data controller 220 (DSP) is instructed to perform an integration operation of the image sensor 210. In step S415, the system waits for a predetermined integration time. When the integration time is over, the process proceeds to step S416, and the focal plane shutter 208 is closed.

ステップS417では、システムコントローラ223が、次回の動作に備えてフォーカルプレーンシャッタ208のチャージ動作及びミラーダウン駆動を行う。ステップS418において、絞りを開放へと駆動する。   In step S417, the system controller 223 performs the charge operation of the focal plane shutter 208 and the mirror down drive in preparation for the next operation. In step S418, the aperture is driven to open.

ステップS419では、画像データコントローラ220に対してイメージセンサ210から画像データを取り込むように指示する。ステップS420では、読み出した画像データ画像圧縮回路219を通し、画像データ記録メディア218へ記録する。   In step S419, the image data controller 220 is instructed to capture image data from the image sensor 210. In step S 420, the read image data is recorded on the image data recording medium 218 through the image compression circuit 219.

(本発明による処理動作の概要)
図10は、本発明による処理動作の概要を示したものである。ステップS1000では、レンズ装着を検出し、装着されていれば、ステップS1010で、レンズ情報を取得する。
(Outline of processing operation according to the present invention)
FIG. 10 shows an outline of the processing operation according to the present invention. In step S1000, lens mounting is detected. If it is mounted, lens information is acquired in step S1010.

次に、ステップS1020で、レリーズスイッチ1(231)が押されたか否かを判定し、押されたならば、ステップS1030へ移行する。ステップS1030では、位相差AFによるレンズ駆動をまず行う。ステップS1040では、ライブビュー表示の開始を行う。次に、ステップS1050にて、イメージャAF(コントラストAF)によるレンズ駆動を行う。このとき設定した条件(距離、チャート、光源)の検出、記憶を行う。   Next, in step S1020, it is determined whether or not release switch 1 (231) has been pressed. If it has been pressed, the process proceeds to step S1030. In step S1030, lens driving by phase difference AF is first performed. In step S1040, live view display is started. Next, in step S1050, lens driving by imager AF (contrast AF) is performed. The conditions (distance, chart, light source) set at this time are detected and stored.

ステップS1060では、両AFの結果の差分を検出し、ステップS1070では、信頼度の判定を行う。このとき、コントラストAF結果を得た際の条件や、位相差AF結果との差に応じて、信頼度の判定を行うことになる。   In step S1060, a difference between the results of both AFs is detected, and in step S1070, reliability is determined. At this time, the reliability is determined according to the condition when the contrast AF result is obtained and the difference from the phase difference AF result.

ステップS1080では、レリーズスイッチ2(230)が押されたか否か検出し、押されたならば、ステップS1090へ移行する。レリーズスイッチ2(230)が押されなければ、ステップS1020へ戻る。ステップS1090では、ライブビュー表示を終了し、ステップS1100では、選択された画像に関連付けられたピント位置ずらし量をAF補正量として記憶する。その結果に基づいて、以後の撮影は、ステップS1110で行われることになる。   In step S1080, it is detected whether or not release switch 2 (230) has been pressed. If it has been pressed, the process proceeds to step S1090. If release switch 2 (230) is not pressed, the process returns to step S1020. In step S1090, the live view display ends, and in step S1100, the focus position shift amount associated with the selected image is stored as an AF correction amount. Based on the result, the subsequent shooting is performed in step S1110.

以上述べたように、位相差AFによる焦点検出の結果及びコントラストAFによる焦点検出の結果の信頼度を判定することにより、高精度なAF機能を実現することができる。   As described above, a highly accurate AF function can be realized by determining the reliability of the focus detection result by the phase difference AF and the focus detection result by the contrast AF.

また、信頼度の高低や数値化したものを表示したり、信頼度が低い場合に警告したりする等の通知を行うようにすれば、ユーザがAF補正量を使用するか否かの判断の目安になる情報を提供することが可能になる。   In addition, if notification such as high or low reliability or a numerical value is displayed or a warning is given when the reliability is low, the user can determine whether or not to use the AF correction amount. It becomes possible to provide information that is a guide.

また、信頼度に応じて、AF補正量のEEPROM222への記憶可否を決定するようにしたもよい。この場合、信頼度が高いときのみ記憶させることにより、ユーザは、信頼度を意識することなく、AF補正量を用いることができる。   Also, whether or not the AF correction amount can be stored in the EEPROM 222 may be determined according to the reliability. In this case, by storing only when the reliability is high, the user can use the AF correction amount without being aware of the reliability.

また、信頼度に応じてAF補正量の取得を再度行うようにすれば、より信頼度の高いAF補正量とすることができる。   Further, if the AF correction amount is acquired again according to the reliability, the AF correction amount with higher reliability can be obtained.

なお、本発明の目的は、上述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。   An object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in.

この場合、記憶媒体から読み出されたプログラムコード自体が上述した実施形態の機能を実現することになり、プログラムコード自体及びそのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、上述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(基本システム或いはオペレーティングシステム)等が実際の処理の一部又は全部を行い、その処理によって上述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (basic system or operating system) running on the computer based on the instruction of the program code. Needless to say, a case where the functions of the above-described embodiment are realized by performing part or all of the actual processing and the processing is included.

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

本実施形態の電子カメラの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the electronic camera of this embodiment. 測距エリア選択シーケンスを説明するためのフローチャートである。It is a flowchart for demonstrating a ranging area selection sequence. モード設定シーケンスを説明するためのフローチャートである。It is a flowchart for demonstrating a mode setting sequence. AFキャリブレーション撮影シーケンスを説明するためのフローチャートである。It is a flowchart for demonstrating AF calibration imaging | photography sequence. AFキャリブレーション撮影画像選択シーケンスを説明するためのフローチャートである。It is a flowchart for demonstrating AF calibration picked-up image selection sequence. ファインダー観察像と測距エリア、測光エリアとの関係を示す図である。It is a figure which shows the relationship between a finder observation image, a ranging area, and a photometry area. デフォーカス量検出の原理を説明するための図である。It is a figure for demonstrating the principle of a defocus amount detection. デフォーカス量検出の原理を説明するための図である。It is a figure for demonstrating the principle of a defocus amount detection. 通常撮影シーケンスを説明するためのフローチャートである。It is a flowchart for demonstrating a normal imaging | photography sequence. 本発明による処理動作の概要を示したフローチャートである。It is the flowchart which showed the outline | summary of the processing operation by this invention. 本発明による信頼度判定の概要を示したフローチャートである。It is the flowchart which showed the outline | summary of the reliability determination by this invention.

符号の説明Explanation of symbols

100:レンズユニット
101:撮影レンズ
102:絞り
103:レンズ駆動機構
104:レンズ制御回路
105:絞り駆動機構
106:絞り制御回路
107:電気的接点群
200:カメラ本体
201:ペンタプリズム
202:クイックリターンミラー
203:サブミラー
204:AFセンサ
206:接眼レンズ
207:測光回路
208:フォーカルプレーンシャッタ
209:フィルタ
210:イメージセンサ
211:シャッタチャージ・ミラー駆動機構
212:シャッタ制御回路
213:画像表示回路
214:エンコーダ回路
215:D/Aコンバータ
216:A/Dコンバータ
217:タイミングパルス発生回路
218:画像データ記録メディア
219:画像圧縮回路
220:画像データコントローラ
221:DRAM
222:EEPROM
223:システムコントローラ
224:通信インターフェース回路
225:動作表示回路
226:電子ダイヤルスイッチ
227:決定スイッチ
228:測距エリア選択スイッチ
229:モード設定スイッチ
230:レリーズスイッチ2
231:レリーズスイッチ1
232:ブラケット量設定スイッチ
233:カウンター
235:測光エリア選択スイッチ
300:外部制御装置
DESCRIPTION OF SYMBOLS 100: Lens unit 101: Shooting lens 102: Diaphragm 103: Lens drive mechanism 104: Lens control circuit 105: Diaphragm drive mechanism 106: Diaphragm control circuit 107: Electrical contact group 200: Camera body 201: Penta prism 202: Quick return mirror 203: Sub mirror 204: AF sensor 206: Eyepiece lens 207: Photometric circuit 208: Focal plane shutter 209: Filter 210: Image sensor 211: Shutter charge / mirror drive mechanism 212: Shutter control circuit 213: Image display circuit 214: Encoder circuit 215 : D / A converter 216: A / D converter 217: Timing pulse generation circuit 218: Image data recording medium 219: Image compression circuit 220: Image data controller 221: DRAM
222: EEPROM
223: System controller 224: Communication interface circuit 225: Operation display circuit 226: Electronic dial switch 227: Determination switch 228: Ranging area selection switch 229: Mode setting switch 230: Release switch 2
231: Release switch 1
232: Bracket amount setting switch 233: Counter 235: Photometry area selection switch 300: External control device

Claims (8)

被写体像を光電変換して撮像画像を生成する撮像手段を備え、
位相差検出方式による焦点検出と、前記撮像手段から得られる撮像画像の被写体像のコントラストに基づくコントラスト方式による焦点検出とが実行可能な撮像装置であって、
前記位相差検出方式による焦点検出の結果前記コントラスト方式による焦点検出の結果とが離れると低下する信頼度を判定する信頼度判定手段と
前記信頼度判定手段により判定された信頼度に応じて、前記位相差検出方式による焦点検出及び前記コントラスト方式による焦点検出を再実行させる再実行手段と
前記位相差検出方式による焦点検出の結果を前記コントラスト方式による焦点検出の結果との差に応じた補正量で補正してレンズ駆動量とするコントローラとを備え、
前記信頼度の判定を行う撮影シーケンスで撮影された画像を表示する際には、前記信頼度の判定を行う撮影シーケンスでないシーケンスで撮影された画像を表示する際に行うエッジ強調を行わないことを特徴とする撮像装置。
An imaging unit that photoelectrically converts a subject image to generate a captured image;
An imaging apparatus capable of performing focus detection by a phase difference detection method and focus detection by a contrast method based on the contrast of a subject image of a captured image obtained from the imaging means,
Reliability determination means for determining reliability that decreases when the result of focus detection by the phase difference detection method and the result of focus detection by the contrast method are separated ;
Re-execution means for re-executing focus detection by the phase difference detection method and focus detection by the contrast method according to the reliability determined by the reliability determination means ;
A controller that corrects the result of focus detection by the phase difference detection method with a correction amount according to the difference from the result of focus detection by the contrast method and sets the lens drive amount ;
When displaying an image shot in a shooting sequence for determining the reliability, edge enhancement performed when displaying an image shot in a sequence other than the shooting sequence for determining the reliability is not performed. An imaging device that is characterized.
段階的に焦点位置をずらしながら撮影する段階撮影モード時に、前記信頼度判定手段により信頼度を判定することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the reliability is determined by the reliability determination unit in a staged shooting mode in which shooting is performed while gradually shifting the focal position. 前記段階撮影モードにおける複数の焦点位置ずらし量から選択された焦点位置ずらし量を、オートフォーカス補正量として記憶手段に記憶させることを特徴とする請求項2に記載の撮像装置。   The imaging apparatus according to claim 2, wherein a focus position shift amount selected from a plurality of focus position shift amounts in the stepwise shooting mode is stored in a storage unit as an autofocus correction amount. 通常撮影モード時には、前記位相差検出方式による焦点検出だけを実行し、その結果に、前記記憶手段に記憶されたオートフォーカス補正量を反映させることを特徴とする請求項3に記載の撮像装置。   The imaging apparatus according to claim 3, wherein in the normal photographing mode, only focus detection by the phase difference detection method is executed, and an autofocus correction amount stored in the storage unit is reflected in the result. 前記信頼度判定手段により判定された信頼度を通知する通知手段を備えたことを特徴とする請求項1〜に記載の撮像装置。 The imaging apparatus according to claim 1-4, characterized in that it comprises a notifying means for notifying the reliability determined by said reliability determining means. 前記信頼度判定手段により判定された信頼度に応じて、前記記憶手段への記憶の可否を決定することを特徴とする請求項3に記載の撮像装置。   The imaging apparatus according to claim 3, wherein whether or not storage in the storage unit is possible is determined according to the reliability determined by the reliability determination unit. 被写体像を光電変換して撮像画像を生成する撮像手段を備え、位相差検出方式による焦点検出と、前記撮像手段から得られる撮像画像の被写体像のコントラストに基づくコントラスト方式による焦点検出とが実行可能な撮像装置の制御方法であって、
前記位相差検出方式による焦点検出の結果前記コントラスト方式による焦点検出の結果とが離れると低下する信頼度を判定する手順と、
前記判定された信頼度に応じて、前記位相差検出方式による焦点検出及び前記コントラスト方式による焦点検出を再実行させる手順と
前記位相差検出方式による焦点検出の結果を前記コントラスト方式による焦点検出の結果との差に応じた補正量で補正してレンズ駆動量とする手順とを有し、
前記信頼度の判定を行う撮影シーケンスで撮影された画像を表示する際には、前記信頼度の判定を行う撮影シーケンスでないシーケンスで撮影された画像を表示する際に行うエッジ強調を行わないことを特徴とする撮像装置の制御方法。
Includes imaging means that photoelectrically converts the subject image to generate a captured image, and can perform focus detection by the phase difference detection method and focus detection by the contrast method based on the contrast of the subject image of the captured image obtained from the imaging means A control method for an image pickup apparatus,
A procedure for determining a reliability that decreases when a result of focus detection by the phase difference detection method and a result of focus detection by the contrast method are separated from each other ;
In accordance with the determined reliability, a procedure for re-execution of focus detection by the phase difference detection method and focus detection by the contrast method ;
A step of correcting the focus detection result by the phase difference detection method with a correction amount according to the difference from the focus detection result by the contrast method to obtain a lens driving amount ,
When displaying an image shot in a shooting sequence for determining the reliability, edge enhancement performed when displaying an image shot in a sequence other than the shooting sequence for determining the reliability is not performed. A control method for an imaging apparatus.
被写体像を光電変換して撮像画像を生成する撮像手段を備え、位相差検出方式による焦点検出と、前記撮像手段から得られる撮像画像の被写体像のコントラストに基づくコントラスト方式による焦点検出とが実行可能な撮像装置を制御するコンピュータプログラムであって、
前記位相差検出方式による焦点検出の結果前記コントラスト方式による焦点検出の結果とが離れると低下する信頼度を判定する処理と、
前記判定された信頼度に応じて、前記位相差検出方式による焦点検出及び前記コントラスト方式による焦点検出を再実行させる処理と
前記位相差検出方式による焦点検出の結果を前記コントラスト方式による焦点検出の結果との差に応じた補正量で補正してレンズ駆動量とする処理とをコンピュータに実行させ、
前記信頼度の判定を行う撮影シーケンスで撮影された画像を表示する際には、前記信頼度の判定を行う撮影シーケンスでないシーケンスで撮影された画像を表示する際に行うエッジ強調を行わないことを特徴とするコンピュータプログラム。
Includes imaging means that photoelectrically converts the subject image to generate a captured image, and can perform focus detection by the phase difference detection method and focus detection by the contrast method based on the contrast of the subject image of the captured image obtained from the imaging means A computer program for controlling an image pickup apparatus,
A process of determining reliability that decreases when a result of focus detection by the phase difference detection method and a result of focus detection by the contrast method are separated from each other ;
In accordance with the determined reliability , processing for re-execution of focus detection by the phase difference detection method and focus detection by the contrast method ;
Causing the computer to execute a process of correcting the focus detection result by the phase difference detection method with a correction amount according to the difference from the focus detection result by the contrast method to obtain a lens driving amount ,
When displaying an image shot in a shooting sequence for determining the reliability, edge enhancement performed when displaying an image shot in a sequence other than the shooting sequence for determining the reliability is not performed. A featured computer program.
JP2006114906A 2006-04-18 2006-04-18 Imaging apparatus and control method thereof Expired - Fee Related JP4804210B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006114906A JP4804210B2 (en) 2006-04-18 2006-04-18 Imaging apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006114906A JP4804210B2 (en) 2006-04-18 2006-04-18 Imaging apparatus and control method thereof

Publications (3)

Publication Number Publication Date
JP2007286438A JP2007286438A (en) 2007-11-01
JP2007286438A5 JP2007286438A5 (en) 2009-06-04
JP4804210B2 true JP4804210B2 (en) 2011-11-02

Family

ID=38758249

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006114906A Expired - Fee Related JP4804210B2 (en) 2006-04-18 2006-04-18 Imaging apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP4804210B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5211680B2 (en) * 2007-12-26 2013-06-12 カシオ計算機株式会社 Autofocus device, autofocus method selection method, and program
JP5450965B2 (en) * 2008-03-05 2014-03-26 キヤノン株式会社 Imaging device
JP5590850B2 (en) * 2009-10-15 2014-09-17 キヤノン株式会社 Imaging device and focus control method of imaging device
JP5967865B2 (en) * 2011-04-01 2016-08-10 キヤノン株式会社 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
JP2013008018A (en) 2011-05-25 2013-01-10 Canon Inc Imaging device and control method thereof
JP6116277B2 (en) 2012-06-07 2017-04-19 キヤノン株式会社 Imaging apparatus and control method thereof
JP5717834B2 (en) * 2013-12-19 2015-05-13 キヤノン株式会社 Automatic focusing device and imaging device
JP6320100B2 (en) * 2014-03-19 2018-05-09 キヤノン株式会社 Imaging apparatus, control method thereof, and program
JP2016114720A (en) * 2014-12-12 2016-06-23 キヤノン株式会社 Imaging apparatus and method of controlling the same
JP6521629B2 (en) * 2014-12-26 2019-05-29 キヤノン株式会社 CONTROL DEVICE, IMAGING DEVICE, CONTROL METHOD, AND PROGRAM
JP2017219812A (en) * 2016-06-10 2017-12-14 キヤノン株式会社 Imaging apparatus, method for controlling the same, program, and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4398038B2 (en) * 2000-01-17 2010-01-13 オリンパス株式会社 Camera and manufacturing method thereof
JP4393034B2 (en) * 2002-04-11 2010-01-06 キヤノン株式会社 Automatic focusing method, automatic focusing apparatus, and imaging apparatus
JP4933035B2 (en) * 2004-06-28 2012-05-16 キヤノン株式会社 IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD

Also Published As

Publication number Publication date
JP2007286438A (en) 2007-11-01

Similar Documents

Publication Publication Date Title
JP4804210B2 (en) Imaging apparatus and control method thereof
US7936371B2 (en) Image-taking apparatus having functions that automatically adjust parameters relating to image-taking, and control method of the image-taking apparatus
US7872684B2 (en) Camera capable of correcting information for focusing control, using information stored in storage section of mounted lens apparatus
JP5157256B2 (en) Image tracking device and imaging device
US20090115883A1 (en) Image capturing apparatus
JP5827491B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2008145465A (en) Method of adjusting depth of field and user interface for photographing apparatus
JP2007264299A (en) Focus adjustment device
JP5341214B2 (en) Camera system
JP2011002848A (en) Imaging device
JP5450965B2 (en) Imaging device
US8004598B2 (en) Focus adjustment apparatus and image capturing apparatus
JP5930683B2 (en) Imaging apparatus, control method thereof, and program
JP5776191B2 (en) Focus detection apparatus and imaging apparatus
JP2019139017A (en) Imaging apparatus, control method of the same, program, and storage medium
JP6544936B2 (en) Control device of imaging device, imaging device and control method thereof
JP4865275B2 (en) Focus detection apparatus and imaging apparatus
JP2009139728A (en) Controller
JP4933035B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2007251656A (en) Image sensing device, its control method and program
JP2006003533A (en) Imaging apparatus, focusing control method and program
JP2008040084A (en) Optical device
JP2010147612A (en) Camera and camera system
JP2017021177A (en) Range-finding point upon lens vignetting, range-finding area transition method
US10834307B2 (en) Image pickup apparatus

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090417

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090417

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110307

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110315

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110516

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: 20110802

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110809

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

Free format text: PAYMENT UNTIL: 20140819

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees