JP2016033576A - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP2016033576A
JP2016033576A JP2014155993A JP2014155993A JP2016033576A JP 2016033576 A JP2016033576 A JP 2016033576A JP 2014155993 A JP2014155993 A JP 2014155993A JP 2014155993 A JP2014155993 A JP 2014155993A JP 2016033576 A JP2016033576 A JP 2016033576A
Authority
JP
Japan
Prior art keywords
focus detection
detection information
subject
information
focus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014155993A
Other languages
Japanese (ja)
Inventor
邦明 杉谷
Kuniaki Sugitani
邦明 杉谷
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 JP2014155993A priority Critical patent/JP2016033576A/en
Publication of JP2016033576A publication Critical patent/JP2016033576A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To select a subject that is detected by subject characteristic detection means even when distance information is not obtained from a lens barrel and the like.SOLUTION: An imaging device comprises: focus detection information generation means 100 that generates focus information of an imaging optical system; subject characteristic detection means 103 that detects characteristic information on a subject; focus detection information extraction means 101 that extracts amounts of defocus at the closest distance and at the most distant distance from focus detection information to be obtained by the focus detection information generation means, and an amount of defocus of a location obtained by the subject characteristic detection means; and focus detection selection means 102 that selects one focus detection information in accordance with a prescribed threshold from focus detection information extracted by the focus detection information extraction means.SELECTED DRAWING: Figure 1

Description

本発明は、撮像装置に関し、特に焦点検出結果の選択に関する。   The present invention relates to an imaging apparatus, and more particularly to selection of a focus detection result.

従来、撮像手段により撮像された画像から被写体候補を検出し、被写体候補の像倍率を求め、それらの結果に基づいて被写体候補を選択する撮像装置が知られている。特許文献1では焦点検出結果に基づいて像倍率を補正し、撮影対象物を選別する撮像装置が開示されている。   2. Description of the Related Art Conventionally, there is known an imaging apparatus that detects a subject candidate from an image captured by an imaging unit, obtains an image magnification of the subject candidate, and selects the subject candidate based on the result. Patent Document 1 discloses an imaging apparatus that corrects an image magnification based on a focus detection result and selects an object to be photographed.

特開2009−198951号公報JP 2009-198951 A

しかしながら、上述の特許文献に開示された従来技術では、レンズ駆動制御装置より入手した距離情報を用いるため、レンズ鏡筒から距離情報が得られない場合は、像倍率に多分の誤差が含まれ、被写体候補を選別することが難しいという問題がある。   However, in the prior art disclosed in the above-mentioned patent document, since the distance information obtained from the lens drive control device is used, if the distance information cannot be obtained from the lens barrel, the image magnification may include an error, There is a problem that it is difficult to select subject candidates.

そこで本発明の目的は、レンズ鏡筒などから距離情報が得られない場合でも、適切な被写体を選択することを可能にした撮像装置を提供することである。   SUMMARY OF THE INVENTION An object of the present invention is to provide an imaging apparatus capable of selecting an appropriate subject even when distance information cannot be obtained from a lens barrel or the like.

上記目的を達成するために、本発明は、撮像光学系における焦点状態を検出し、焦点検出情報を生成する焦点検出情報生成手段と、被写体の特徴情報を検出する被写体特徴検出手段と、前記焦点検出情報生成手段により生成された複数の焦点検出情報の中から焦点検出情報を抽出する焦点検出情報抽出手段と、前記焦点検出情報抽出手段により抽出された焦点検出情報の中から1つの焦点検出情報を選択する焦点検出情報選択手段を有する撮像装置であって、前記焦点検出情報抽出手段は、前記撮像装置に最も近い第1の焦点検出情報、前記被写体特徴検出手段により通知された位置の第2の焦点検出情報、前記撮像装置から最も遠い第3の焦点検出情報を抽出し、前記焦点検出情報選択手段は、前記焦点検出情報抽出手段が抽出した前記焦点検出情報の中から1つを選択することを特徴とする。   In order to achieve the above object, the present invention provides a focus detection information generation unit that detects a focus state in an imaging optical system and generates focus detection information, a subject feature detection unit that detects subject feature information, and the focus Focus detection information extraction means for extracting focus detection information from a plurality of focus detection information generated by the detection information generation means, and one focus detection information from the focus detection information extracted by the focus detection information extraction means The focus detection information extracting means selects the first focus detection information closest to the image pickup apparatus and the second of the position notified by the subject feature detection means. Focus detection information and third focus detection information farthest from the imaging device are extracted, and the focus detection information selection means extracts the focus detection information extracted by the focus detection information extraction means. And selects one of the detected information.

本発明によれば、レンズ鏡筒などから距離情報が得られない場合でも、被写体特徴検出手段により検出された被写体を選択することができる。   According to the present invention, even when distance information cannot be obtained from a lens barrel or the like, the subject detected by the subject feature detection means can be selected.

本発明の実施例1の概念を示すブロック図である。It is a block diagram which shows the concept of Example 1 of this invention. 実施例1を備えたデジタル一眼レフカメラの構成を示すブロック図である。1 is a block diagram illustrating a configuration of a digital single-lens reflex camera including Example 1. FIG. 実施例1における撮影処理を示すフローチャートである。3 is a flowchart illustrating a photographing process in Embodiment 1. 実施例1における測光/焦点検出処理の詳細を示すフローチャートである。3 is a flowchart illustrating details of photometry / focus detection processing in Embodiment 1. 被写体とデフォーカス量の関係を示した図である。It is the figure which showed the relationship between a to-be-photographed object and a defocus amount. 測光領域と焦点検出点の関係を示した図である。It is the figure which showed the relationship between a photometry area | region and a focus detection point. 実施例2における測光/焦点検出処理の詳細を示すフローチャートである。12 is a flowchart illustrating details of photometry / focus detection processing in the second embodiment.

本発明を実施するための形態は、以下の実施例1に記載される通りである。   The mode for carrying out the invention is as described in Example 1 below.

図1は、本発明の撮像装置の実施例1の概念を示すブロック図である。100は焦点検出情報生成手段であり、撮影画面内の複数の座標のデフォーカス量を検出する手段である。103は被写体特徴検出手段であり、被写体像の中から特徴のある部分(例えば肌色領域)を検出する手段である。   FIG. 1 is a block diagram showing the concept of Embodiment 1 of the imaging apparatus of the present invention. Reference numeral 100 denotes focus detection information generating means for detecting defocus amounts of a plurality of coordinates in the photographing screen. Reference numeral 103 denotes subject feature detection means for detecting a characteristic portion (for example, a skin color region) from the subject image.

101は焦点検出情報抽出手段であり、焦点検出情報生成手段100の中から撮像装置に最も近いデフォーカス量、撮像装置に最も遠いデフォーカス量および被写体特徴検出手段103により検出された特徴のある部分のうち、撮像装置に最も近いデフォーカス量の3つのデフォーカス量を抽出する手段である。   Reference numeral 101 denotes a focus detection information extraction unit, and a defocus amount closest to the imaging device, a defocus amount farthest from the imaging device, and a feature portion detected by the subject feature detection unit 103 from the focus detection information generation unit 100 Among them, it is a means for extracting three defocus amounts that are closest to the imaging device.

102は焦点検出情報選択手段である。焦点検出情報抽出手段により抽出された3つのデフォーカス量より、所定の閾値に従って焦点検出情報を選択する手段である。   Reference numeral 102 denotes focus detection information selection means. It is means for selecting focus detection information according to a predetermined threshold from the three defocus amounts extracted by the focus detection information extraction means.

次に、本発明の撮像装置の実施例1であるデジタル一眼レフカメラについて説明する。図2は、そのデジタル一眼レフカメラの構成を示すブロック図である。   Next, a digital single-lens reflex camera that is Embodiment 1 of the imaging apparatus of the present invention will be described. FIG. 2 is a block diagram showing the configuration of the digital single-lens reflex camera.

201は撮影レンズである。202はレンズ駆動回路である。レンズ駆動回路202は、例えばDCモータやステッピングモータによって構成され、マイクロコンピュータ224の制御によって撮影レンズ201のフォーカスレンズ位置を変化させることによりピントを合わせる。   Reference numeral 201 denotes a photographing lens. Reference numeral 202 denotes a lens driving circuit. The lens driving circuit 202 is configured by, for example, a DC motor or a stepping motor, and adjusts the focus by changing the focus lens position of the photographing lens 201 under the control of the microcomputer 224.

203はズーム駆動回路である。ズーム駆動回路203は、例えばDCモータやステッピングモータによって構成され、マイクロコンピュータ224の制御によって撮影レンズ201の変倍レンズ位置を変化させることにより撮影レンズ201の焦点距離を変化させる。   Reference numeral 203 denotes a zoom drive circuit. The zoom drive circuit 203 is constituted by, for example, a DC motor or a stepping motor, and changes the focal length of the photographic lens 201 by changing the zoom lens position of the photographic lens 201 under the control of the microcomputer 224.

204は絞りである。205は絞り駆動回路である。絞り駆動回路205は、絞り204を駆動する。駆動されるべき量はマイクロコンピュータ224によって算出され、光学的な絞り値を変化させる。   Reference numeral 204 denotes an aperture. Reference numeral 205 denotes an aperture driving circuit. A diaphragm driving circuit 205 drives the diaphragm 204. The amount to be driven is calculated by the microcomputer 224, and the optical aperture value is changed.

206は撮影レンズ201から入射した光束をファインダー側と撮像素子側とに切替えるための主ミラーである。主ミラー206は常時はファインダー部へと光束を導くよう反射させるように配されているが、撮影が行われる場合には、撮像素子112へと光束を導くように上方に跳ね上がり光束中から待避する。また主ミラー206はその中央部が光の一部を透過できるようにハーフミラーとなっており、光束の一部を、焦点検出を行うための焦点検出センサに入射するように透過させる。   Reference numeral 206 denotes a main mirror for switching the light beam incident from the photographing lens 201 between the viewfinder side and the image sensor side. The main mirror 206 is always arranged so as to reflect the light beam to the viewfinder, but when photographing is performed, the main mirror 206 jumps upward so as to guide the light beam to the image pickup device 112 and evacuates from the light beam. . The main mirror 206 is a half mirror so that the central part can transmit part of the light, and part of the light beam is transmitted so as to enter the focus detection sensor for focus detection.

207は主ミラー206から透過してきた光束を反射させ焦点検出を行うための焦点検出センサ(焦点検出回路210内に配置されている)に導くためのサブミラーである。208はファインダーを構成するペンタプリズムである。ファインダーは他にピント板、アイピースレンズ(不図示)などによって構成させる。   Reference numeral 207 denotes a sub-mirror for reflecting a light beam transmitted from the main mirror 206 to a focus detection sensor (disposed in the focus detection circuit 210) for performing focus detection. Reference numeral 208 denotes a pentaprism that forms a viewfinder. In addition, the viewfinder is composed of a focus plate, an eyepiece lens (not shown), and the like.

209は測光回路である。ピント板(不図示)に結像された被写体像の色および明るさを、カラーフィルタを備えた測光センサ(測光回路209内に配置されている)によって、電気信号に変換する。   Reference numeral 209 denotes a photometric circuit. The color and brightness of the subject image formed on a focus plate (not shown) are converted into an electrical signal by a photometric sensor (located in the photometric circuit 209) provided with a color filter.

210は焦点検出回路である。ミラー206の中央部を透過し、サブミラー207で反射された光束は、焦点検出回路210の内部に配置された光電変換を行うための焦点検出センサに至る。焦点検出の結果であるデフォーカス量は、焦点検出センサの出力を演算することによって求められる。マイクロコンピュータ224は演算結果を評価してレンズ駆動回路202に指示し、フォーカスレンズを駆動させる。   Reference numeral 210 denotes a focus detection circuit. The light beam transmitted through the center of the mirror 206 and reflected by the sub-mirror 207 reaches a focus detection sensor for performing photoelectric conversion disposed inside the focus detection circuit 210. The defocus amount that is a result of focus detection is obtained by calculating the output of the focus detection sensor. The microcomputer 224 evaluates the calculation result and instructs the lens driving circuit 202 to drive the focus lens.

211はフォーカルプレーンシャッターである。212はシャッター駆動回路であり、フォーカルプレーンシャッター211を駆動する。シャッターの開口時間はマイクロコンピュータ224によって、制御される。   Reference numeral 211 denotes a focal plane shutter. A shutter drive circuit 212 drives the focal plane shutter 211. The shutter opening time is controlled by the microcomputer 224.

213は撮像センサである。撮像センサ213には、CCDやCMOSセンサなどが用いられ、撮影レンズ101によって結像された被写体像を電気信号に変換する。   Reference numeral 213 denotes an image sensor. As the image sensor 213, a CCD, a CMOS sensor, or the like is used, and the subject image formed by the photographing lens 101 is converted into an electric signal.

214はクランプ回路である。215はAGC回路である。クランプ回路214やAGC回路215は、A/D変換をする前の基本的なアナログ信号処理を行い、マイクロコンピュータ224により、クランプレベルやAGC基準レベルの変更が行われる。   Reference numeral 214 denotes a clamp circuit. Reference numeral 215 denotes an AGC circuit. The clamp circuit 214 and the AGC circuit 215 perform basic analog signal processing before A / D conversion, and the microcomputer 224 changes the clamp level and the AGC reference level.

216はA/D変換器である。A/D変換器216は撮像素子213のアナログ出力信号をデジタル信号に変換する。217は映像信号処理回路であり、ゲートアレイなどのロジックデバイスにより実現される。220はメモリコントローラである。221はメモリである。222はコンピュータ等と接続可能な外部インターフェイスである。223はバッファメモリである。   Reference numeral 216 denotes an A / D converter. The A / D converter 216 converts the analog output signal of the image sensor 213 into a digital signal. Reference numeral 217 denotes a video signal processing circuit, which is realized by a logic device such as a gate array. Reference numeral 220 denotes a memory controller. Reference numeral 221 denotes a memory. An external interface 222 can be connected to a computer or the like. Reference numeral 223 denotes a buffer memory.

映像信号処理回路217は、デジタル化された画像データに、フィルタ処理、色変換処理、ガンマ処理を行うと共に、JPEGなどの圧縮処理を行い、メモリコントローラ220に出力する。   The video signal processing circuit 217 performs filter processing, color conversion processing, and gamma processing on the digitized image data, performs compression processing such as JPEG, and outputs the result to the memory controller 220.

映像信号処理回路217は、必要に応じて撮像センサ213の信号の露出情報やホワイトバランスなどの情報をマイクロコンピュータ224に出力することが可能である。それらの情報を基にマイクロコンピュータ224はホワイトバランスやゲイン調整の指示を行う。連続撮影動作の場合においては、一旦、未処理画像のままバッファメモリ223に撮影データを格納し、メモリコントローラ220を通して未処理の画像データを読み出し、映像信号処理回路217にて画像処理や圧縮処理を行い、連続撮影を行う。連像撮影枚数は、バッファメモリの大きさに左右される。   The video signal processing circuit 217 can output information such as exposure information and white balance of the signal from the image sensor 213 to the microcomputer 224 as necessary. Based on the information, the microcomputer 224 instructs white balance and gain adjustment. In the case of the continuous shooting operation, the shooting data is temporarily stored in the buffer memory 223 as an unprocessed image, the unprocessed image data is read out through the memory controller 220, and image processing or compression processing is performed by the video signal processing circuit 217. Perform continuous shooting. The number of continuous shots depends on the size of the buffer memory.

メモリコントローラ220では、映像信号処理回路217から入力された未処理のデジタル画像データをバッファメモリに格納し、処理済みのデジタル画像データをメモリ221に格納する。また、逆にバッファメモリ223やメモリ221から画像データを映像信号処理回路部217に出力する。メモリ221は取り外し可能である場合もある。メモリコントローラ220は、コンピュータ等と接続可能な外部インターフェイス222を介してメモリ221に記憶されている画像を出力可能である。   In the memory controller 220, unprocessed digital image data input from the video signal processing circuit 217 is stored in the buffer memory, and processed digital image data is stored in the memory 221. Conversely, the image data is output from the buffer memory 223 or the memory 221 to the video signal processing circuit unit 217. The memory 221 may be removable. The memory controller 220 can output an image stored in the memory 221 via an external interface 222 that can be connected to a computer or the like.

224はマイクロコンピュータである。225は操作部材である。操作部材225は、マイクロコンピュータ224にその状態を伝え、マイクロコンピュータ224はその操作部材の変化に応じて各部をコントロールする。   Reference numeral 224 denotes a microcomputer. Reference numeral 225 denotes an operation member. The operation member 225 transmits the state to the microcomputer 224, and the microcomputer 224 controls each part according to the change of the operation member.

226はスイッチ1(以後SW1)である。227はスイッチ2(以後SW2)である。SW1とSW2は、レリーズボタンの操作でオンオフするスイッチであり、それぞれ操作部材225の入力スイッチのうちの1つである。SW1のみオンの状態はレリーズボタン半押し状態であり、この状態でオートフォーカス動作や測光動作を行う。   Reference numeral 226 denotes a switch 1 (hereinafter referred to as SW1). Reference numeral 227 denotes a switch 2 (hereinafter referred to as SW2). SW <b> 1 and SW <b> 2 are switches that are turned on and off by operating the release button, and are each one of the input switches of the operation member 225. When only SW1 is on, the release button is half-pressed, and in this state, autofocus operation and photometry operation are performed.

SW1,SW2が共にオンの状態はレリーズボタンの全押し状態であり、画像を記録するためのレリーズボタンオン状態である。この状態で撮影が行われる。またSW1,SW2がONし続けている間は、連続撮影動作が行われる。操作部材225には、他に、ISO設定ボタン、画像サイズ設定ボタン、画質設定ボタン、情報表示ボタンなど不図示のスイッチが接続されており、スイッチの状態が検出されている。   When both SW1 and SW2 are on, the release button is fully pressed, and the release button for recording an image is on. Shooting is performed in this state. Further, a continuous shooting operation is performed while SW1 and SW2 are kept on. In addition, switches such as an ISO setting button, an image size setting button, an image quality setting button, and an information display button are connected to the operation member 225, and the switch state is detected.

228は液晶駆動回路である。229は外部液晶表示部材である。230はファインダー内液晶表示部材である。液晶駆動回路228は、マイクロコンピュータ224の表示内容命令に従って、外部液晶表示部材229やファインダー内液晶表示部材230を駆動する。また、ファインダー内液晶表示部材230には、不図示のLEDなどのバックライトが配置されており、そのLEDも液晶駆動回路228で駆動される。   Reference numeral 228 denotes a liquid crystal driving circuit. Reference numeral 229 denotes an external liquid crystal display member. Reference numeral 230 denotes a liquid crystal display member in the viewfinder. The liquid crystal driving circuit 228 drives the external liquid crystal display member 229 and the in-finder liquid crystal display member 230 in accordance with the display content command of the microcomputer 224. The in-viewfinder liquid crystal display member 230 is provided with a backlight such as an LED (not shown), and the LED is also driven by the liquid crystal driving circuit 228.

マイクロコンピュータ224は撮影前に設定されているISO感度、画像サイズ、画質に応じた、画像サイズの予測値データをもとに、メモリコントローラ220を通して、メモリの容量を確認した上で撮影可能残数を演算することができる。必要に応じて外部液晶表示部材229、ファインダー内液晶表示部材230にも表示することができる。   The microcomputer 224 confirms the memory capacity through the memory controller 220 based on the predicted image size data corresponding to the ISO sensitivity, the image size, and the image quality set before shooting, and then the remaining number of images that can be shot. Can be calculated. If necessary, it can also be displayed on the external liquid crystal display member 229 and the liquid crystal display member 230 in the viewfinder.

231は不揮発性メモリ(EEPROM)で、カメラに電源が入れられていない状態でも、データを保存することができる。232は電源部である。電源部232は、各ICや駆動系に必要な電源を供給する。   Reference numeral 231 denotes a non-volatile memory (EEPROM) that can store data even when the camera is not turned on. Reference numeral 232 denotes a power supply unit. The power supply unit 232 supplies power necessary for each IC and drive system.

次に、本発明の実施例1に関する測光領域と焦点検出点の関係の一例を図6に基づいて説明する。測光領域601は縦5領域、横5領域の合計25領域から構成される。測光処理は、このブロックに応じて測光結果や色情報を計算する。焦点検出点602は13点から構成される。焦点検出処理では、焦点検出点602のデフォーカス量を計算し、焦点検出点602のなかから1つを選択する。本実施例では焦点検出点602は測光領域601の中央に位置するようにしている。   Next, an example of the relationship between the photometry area and the focus detection point according to the first embodiment of the present invention will be described with reference to FIG. The photometric area 601 is composed of a total of 25 areas of 5 vertical areas and 5 horizontal areas. In the photometry process, photometry results and color information are calculated according to this block. The focus detection point 602 is composed of 13 points. In the focus detection process, the defocus amount of the focus detection point 602 is calculated, and one of the focus detection points 602 is selected. In this embodiment, the focus detection point 602 is positioned at the center of the photometric area 601.

次に、本発明の実施例1に関する撮影処理の動作の一例として、測光センサの色情報を用いた動作例を図3のフローチャートに基づいて説明する。ステップS301でSW1がオンされると、ステップS302の測光/焦点検出処理が行われる。測光/焦点検出処理が終わると、ステップS303で焦点検出ができたかどうかを判定する。   Next, an example of the operation using the color information of the photometric sensor will be described with reference to the flowchart of FIG. When SW1 is turned on in step S301, photometric / focus detection processing in step S302 is performed. When the photometry / focus detection process ends, it is determined in step S303 whether focus detection has been completed.

焦点検出ができなかった場合はステップS307に進み、焦点検出可能な状態を探すための所定のレンズ駆動(サーチ駆動)をさせて、ステップS302に戻る。一方、焦点検出ができた場合は、ステップS304に進み、焦点検出結果が合焦範囲内かどうかを判定する。ステップS304で合焦範囲内でないと判定した場合は、ステップS308に進み、焦点検出結果として通知されたデフォーカス量に基づいてレンズを駆動させ、ステップS302に戻る。   If focus detection cannot be performed, the process proceeds to step S307, a predetermined lens drive (search drive) for searching for a focus detectable state is performed, and the process returns to step S302. On the other hand, if focus detection has been performed, the process proceeds to step S304 to determine whether the focus detection result is within the in-focus range. If it is determined in step S304 that it is not within the focusing range, the process proceeds to step S308, the lens is driven based on the defocus amount notified as the focus detection result, and the process returns to step S302.

一方、合焦範囲内の場合は、ステップS305へ進み、SW2がオンされているかどうかを判定する。ステップS305でSW2がオンされていると判定した場合は、撮影を行い、一連の撮影処理を抜ける。ステップS305でSW2がオンされていないと判定した場合は、ステップS309へ進み、SW1がオンされているかどうかを判定する。ステップS309でSW1がオンされていると判定した場合は、ステップS302に戻る。ステップS309でSW1がオンされていないと判定した場合は、一連の撮影処理を終了する。   On the other hand, if it is within the in-focus range, the process proceeds to step S305, and it is determined whether SW2 is turned on. If it is determined in step S305 that SW2 is on, shooting is performed, and a series of shooting processing is exited. If it is determined in step S305 that SW2 is not turned on, the process advances to step S309 to determine whether SW1 is turned on. If it is determined in step S309 that SW1 is turned on, the process returns to step S302. If it is determined in step S309 that SW1 is not turned on, the series of shooting processing ends.

次にステップS302の測光/焦点検出処理の動作の一例を図4のフローチャートに基づいて説明する。なおカメラと被写体との関係は図5に示した状態であるとする。図5のうち、主被写体502は後述するステップS407で例えば肌色として判定される測光領域601および焦点検出点602にあるとする。至近被写体501は焦点検出点602の中で最もカメラに近い焦点検出結果を表す。遠方被写体503は焦点検出点602の中で最もカメラに遠い焦点検出結果を表す。   Next, an example of the operation of the photometry / focus detection process in step S302 will be described based on the flowchart of FIG. It is assumed that the relationship between the camera and the subject is as shown in FIG. In FIG. 5, it is assumed that the main subject 502 is in a photometric area 601 and a focus detection point 602 that are determined as, for example, a skin color in step S407 described later. The closest subject 501 represents the focus detection result closest to the camera among the focus detection points 602. A far subject 503 represents a focus detection result farthest from the camera among the focus detection points 602.

ステップS401で、測光センサおよび焦点検出センサの蓄積を開始する。ステップS402で、焦点検出センサが蓄積完了するまで待機する。焦点検出センサの蓄積が完了したらステップS403で測光センサが蓄積完了するまで待機する。測光センサの蓄積が完了したらステップS404で全ての焦点検出点602についてデフォーカス量演算を行う。   In step S401, accumulation of the photometric sensor and the focus detection sensor is started. In step S402, the process waits until the focus detection sensor completes accumulation. When the accumulation of the focus detection sensor is completed, it waits until the photometric sensor is accumulated in step S403. When accumulation of the photometric sensor is completed, defocus amount calculation is performed for all focus detection points 602 in step S404.

ステップS405で、全ての測光領域601について測光値および色情報の演算を行う。色情報は測光センサより取得した各測光領域の色のうち、例えば肌色として判定されるかどうかを示す。本実施例では主被写体502に対応する中央の測光領域601が肌色として判定されるものとする。   In step S405, photometric values and color information are calculated for all photometric areas 601. The color information indicates whether the color of each photometric area acquired from the photometric sensor is determined as a skin color, for example. In this embodiment, it is assumed that the central photometric area 601 corresponding to the main subject 502 is determined as the skin color.

ステップS406で、ステップS404で求めたデフォーカス量が有効であるかを焦点検出センサの出力結果から信頼性を求めて判定する。ステップS406でデフォーカス量が有効でないと判定されたときは、ステップS410に進み、焦点検出不能であるとして、図3のステップS302の処理を抜ける。ステップS406でデフォーカス量が有効であると判定されたときは、ステップS407に進む。   In step S406, whether the defocus amount obtained in step S404 is valid is determined by obtaining reliability from the output result of the focus detection sensor. If it is determined in step S406 that the defocus amount is not valid, the process proceeds to step S410, and the process of step S302 in FIG. If it is determined in step S406 that the defocus amount is valid, the process proceeds to step S407.

ステップS407では、ステップS405で求めた全ての測光領域601の色情報のうち、例えば肌色が含まれるかの判定を行う。ステップS407で全ての測光領域601の色情報のうち、肌色がいずれの測光領域601にも含まれないと判定されれば、ステップS404で求めたデフォーカス量の中から、至近被写体501を含む焦点検出点602を選択し、図3のステップS302の処理を抜ける。測光領域601のうち肌色が1点以上含むと判定されたならば、ステップS408に進む。   In step S407, it is determined whether, for example, skin color is included in the color information of all the photometric areas 601 obtained in step S405. If it is determined in step S407 that the skin color is not included in any of the photometric areas 601 among the color information of all the photometric areas 601, the focus including the closest subject 501 is determined from the defocus amount obtained in step S404. The detection point 602 is selected, and the process of step S302 in FIG. 3 is exited. If it is determined that one or more skin colors are included in the photometric area 601, the process proceeds to step S408.

ステップS408では、デフォーカス量差531が第1の閾値より大きいかどうかを判定する。デフォーカス量差531は、主被写体502のデフォーカス量522と遠方被写体503のデフォーカス量523の差を表す。デフォーカス量差531が第1の閾値より大きいならば、主被写体502のカメラからの距離は第1の閾値が表す距離以内にあることを示す。従って撮影者は主被写体502を撮影しようとしていると判断したほうが撮影者の意図に近いと思われる。よってデフォーカス量差531が第1の閾値より大きい場合は、ステップS412に進み、主被写体502を含む焦点検出点602を選択し、図3のステップS302の処理を抜ける。   In step S408, it is determined whether the defocus amount difference 531 is larger than the first threshold value. The defocus amount difference 531 represents the difference between the defocus amount 522 of the main subject 502 and the defocus amount 523 of the far subject 503. If the defocus amount difference 531 is larger than the first threshold value, it indicates that the distance from the camera of the main subject 502 is within the distance represented by the first threshold value. Therefore, it seems that the photographer is closer to the photographer's intention when it is determined that the photographer intends to photograph the main subject 502. Therefore, if the defocus amount difference 531 is larger than the first threshold value, the process proceeds to step S412 to select the focus detection point 602 including the main subject 502, and the process of step S302 in FIG.

一方、デフォーカス量差531が第1の閾値以下の場合は、以下のような撮影構図の状態が考えられる。つまり主被写体502が壁際に立っている場合で、この場合は壁が遠方被写体503と判断されるために、主被写体502は遠方に近い位置にあると判断され、主被写体502が選択されなくなる。従ってデフォーカス量差531が第1の閾値以下の場合は、デフォーカス量差532を使った判定を行うため、ステップS409に進む。デフォーカス量差532は至近被写体501のデフォーカス量521とデフォーカス量522の差である。   On the other hand, when the defocus amount difference 531 is equal to or smaller than the first threshold value, the following shooting composition state is conceivable. That is, when the main subject 502 is standing at the wall, in this case, the wall is determined to be the far subject 503, so the main subject 502 is judged to be in a position close to the far side, and the main subject 502 is not selected. Therefore, if the defocus amount difference 531 is equal to or smaller than the first threshold value, the process proceeds to step S409 in order to make a determination using the defocus amount difference 532. The defocus amount difference 532 is a difference between the defocus amount 521 and the defocus amount 522 of the closest subject 501.

ステップS409では、デフォーカス量差532が第2の閾値より大きいかどうかを判定する。デフォーカス量差532が第2の閾値より大きい場合は、至近被写体501と主被写体502には距離があると考えられる。このとき撮影者は至近被写体501を撮影しようとしていると判断したほうが撮影者の意図に近いと判断される。よってデフォーカス量差532が第2の閾値より大きい場合は、ステップS413に進み、至近被写体501を含む焦点検出点602を選択し、図3のステップS302の処理を抜ける。デフォーカス量差532が第2の閾値以下の場合は、至近被写体501と主被写体502が互いに近い距離に存在すると考えられるため、主被写体502を含む焦点検出点602を選択し、図3のステップS302の処理を抜ける。   In step S409, it is determined whether the defocus amount difference 532 is larger than the second threshold value. When the defocus amount difference 532 is larger than the second threshold, it is considered that the close subject 501 and the main subject 502 have a distance. At this time, it is determined that the photographer is closer to the photographer's intention when it is determined that the photographer is shooting the close subject 501. Therefore, when the defocus amount difference 532 is larger than the second threshold value, the process proceeds to step S413, the focus detection point 602 including the closest subject 501 is selected, and the process of step S302 in FIG. When the defocus amount difference 532 is equal to or smaller than the second threshold value, it is considered that the close subject 501 and the main subject 502 are close to each other. Therefore, the focus detection point 602 including the main subject 502 is selected, and the steps in FIG. The process of S302 is exited.

以上、実施例1によれば、被写体距離をデフォーカス量のみで算出する場合においても、被写体特徴検出手段103により検出された被写体を選択することが可能となる。   As described above, according to the first embodiment, the subject detected by the subject feature detection unit 103 can be selected even when the subject distance is calculated only by the defocus amount.

実施例2では、主被写体502が複数の測光領域601および複数の焦点検出点602にまたがる場合を説明する。   In the second embodiment, a case where the main subject 502 extends over a plurality of photometric areas 601 and a plurality of focus detection points 602 will be described.

撮影処理のフローチャートは図3に示すもので、実施例1と同じである。次にステップS302の測光/焦点検出処理の動作の一例を図7のフローチャートに基づいて説明する。なおステップS701からS714は図4のS401からS414と同じである。   A flowchart of the photographing process is shown in FIG. 3 and is the same as that of the first embodiment. Next, an example of the operation of the photometry / focus detection process in step S302 will be described based on the flowchart of FIG. Steps S701 to S714 are the same as S401 to S414 in FIG.

ステップS715では主被写体候補を決定する。本実施例では主被写体502が複数の測光領域601にまたがっているため、複数の測光領域601について肌色として認識される。そこでステップS715では、肌色として認識された複数の測光領域601に対応する焦点検出点602のデフォーカス量から最もカメラに近いと判断される焦点検出点602を選択する。   In step S715, a main subject candidate is determined. In this embodiment, since the main subject 502 extends over a plurality of photometry areas 601, the plurality of photometry areas 601 are recognized as skin colors. In step S715, the focus detection point 602 determined to be closest to the camera is selected from the defocus amounts of the focus detection points 602 corresponding to the plurality of photometric areas 601 recognized as skin colors.

ステップS708でデフォーカス量差531と第1の閾値とを比較するときには、デフォーカス量差531はステップS715で選択した焦点検出点602のデフォーカス量と、遠方被写体503のデフォーカス量の差となる。   When comparing the defocus amount difference 531 with the first threshold value in step S708, the defocus amount difference 531 is the difference between the defocus amount of the focus detection point 602 selected in step S715 and the defocus amount of the far object 503. Become.

またステップS709に用いるデフォーカス量差532もステップS715で選択した焦点検出点602のデフォーカス量と至近被写体501のデフォーカス量との差となる。   The defocus amount difference 532 used in step S709 is also the difference between the defocus amount of the focus detection point 602 selected in step S715 and the defocus amount of the closest subject 501.

以上、実施例2によれば、主被写体が複数の測光領域にまたがっている場合で、かつ、被写体距離をデフォーカス量のみで算出する場合においても、被写体特徴検出手段103により検出された被写体を選択することが可能となる。   As described above, according to the second embodiment, the subject detected by the subject feature detection unit 103 can be used even when the main subject extends over a plurality of photometry areas and the subject distance is calculated only by the defocus amount. It becomes possible to select.

201 撮影レンズ、202 レンズ駆動回路、203 ズーム駆動回路、
204 絞り、205 絞り駆動回路、206 主ミラー、207 サブミラー、
208 ペンタプリズム、209 測光回路、210 焦点検出回路、
211 フォーカルプレーンシャッター、212 シャッター駆動回路、
213 撮像センサ、214 クランプ回路、215 AGC回路、
216 A/D変換器、217 映像信号処理回路、220 メモリコントローラ、
221 メモリ、222 外部インターフェイス、223 バッファメモリ、
224 マイクロコンピュータ、225 操作部材、226 スイッチ1、
227 スイッチ2、228 液晶駆動回路、229 外部液晶表示部材、
230 ファインダー内液晶表示部材、231 不揮発性メモリ、
232 電源部、600 撮影領域、601 測光領域、
602 焦点検出点
201 photographic lens, 202 lens driving circuit, 203 zoom driving circuit,
204 stop, 205 stop drive circuit, 206 primary mirror, 207 sub mirror,
208 penta prism, 209 photometry circuit, 210 focus detection circuit,
211 Focal plane shutter, 212 Shutter drive circuit,
213 Image sensor, 214 Clamp circuit, 215 AGC circuit,
216 A / D converter, 217 video signal processing circuit, 220 memory controller,
221 memory, 222 external interface, 223 buffer memory,
224 microcomputer, 225 operation member, 226 switch 1,
227 switch 2, 228 liquid crystal drive circuit, 229 external liquid crystal display member,
230 Liquid crystal display member in the viewfinder, 231 nonvolatile memory,
232 power supply unit, 600 shooting area, 601 photometry area,
602 Focus detection point

Claims (4)

撮像光学系における焦点状態を検出し、焦点検出情報を生成する焦点検出情報生成手段(100)と、被写体の特徴情報を検出する被写体特徴検出手段(103)と、前記焦点検出情報生成手段(100)により生成された複数の焦点検出情報の中から焦点検出情報を抽出する焦点検出情報抽出手段(101)と、前記焦点検出情報抽出手段(101)により抽出された焦点検出情報の中から1つの焦点検出情報を選択する焦点検出情報選択手段(102)を有する撮像装置であって、前記焦点検出情報抽出(101)手段は、前記撮像装置に最も近い第1の焦点検出情報、前記被写体特徴検出手段(103)により通知された位置の第2の焦点検出情報、前記撮像装置から最も遠い第3の焦点検出情報を抽出し、前記焦点検出情報選択手段(102)は、前記焦点検出情報抽出手段(101)が抽出した前記焦点検出情報の差によって1つを選択することを特徴とする撮像装置。   Focus detection information generation means (100) for detecting a focus state in the imaging optical system and generating focus detection information, subject feature detection means (103) for detecting feature information of the subject, and focus detection information generation means (100) Focus detection information extraction means (101) for extracting focus detection information from among the plurality of focus detection information generated by the above-mentioned (1), and one of the focus detection information extracted by the focus detection information extraction means (101). An imaging apparatus having focus detection information selection means (102) for selecting focus detection information, wherein the focus detection information extraction (101) means includes first focus detection information closest to the imaging apparatus, and subject feature detection. Extracting the second focus detection information at the position notified by the means (103) and the third focus detection information farthest from the imaging apparatus, and selecting the focus detection information selection means. 102), the imaging apparatus characterized by selecting one by the difference of said focus detection information focus detection information extraction unit (101) is extracted. 前記焦点検出情報選択手段(102)は、前記第2の焦点検出情報と前記第3の焦点検出情報の差が第1の閾値より大きいときは第2の焦点検出情報を選択し、前記第2の焦点検出情報と前記第3の焦点検出情報の差が第1の閾値以下かつ前記第1の焦点検出情報と前記第2の焦点検出情報の差が第2の閾値より大きいときは第1の焦点検出情報を選択することを特徴とする請求項1に記載の撮像装置。   The focus detection information selection means (102) selects second focus detection information when the difference between the second focus detection information and the third focus detection information is greater than a first threshold, and the second focus detection information is selected. When the difference between the first focus detection information and the third focus detection information is less than or equal to a first threshold and the difference between the first focus detection information and the second focus detection information is greater than the second threshold, the first The imaging apparatus according to claim 1, wherein focus detection information is selected. 前記被写体の特徴情報は色情報とすることを特徴とする請求項1又は請求項2に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the feature information of the subject is color information. 前記第2の焦点検出情報は、前記被写体特徴検出手段(103)により通知された位置が複数あった場合、前記焦点検出情報生成手段(100)により得られた前記位置に該当する箇所の焦点検出情報の中から、前記撮像装置に最も近い焦点検出情報とすることを特徴とする請求項1乃至請求項3の何れか一項に記載の撮像装置。   In the second focus detection information, when there are a plurality of positions notified by the subject feature detection means (103), focus detection of a location corresponding to the position obtained by the focus detection information generation means (100) is performed. The imaging apparatus according to any one of claims 1 to 3, wherein focus detection information closest to the imaging apparatus is used from among the information.
JP2014155993A 2014-07-31 2014-07-31 Imaging device Pending JP2016033576A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014155993A JP2016033576A (en) 2014-07-31 2014-07-31 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014155993A JP2016033576A (en) 2014-07-31 2014-07-31 Imaging device

Publications (1)

Publication Number Publication Date
JP2016033576A true JP2016033576A (en) 2016-03-10

Family

ID=55452513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014155993A Pending JP2016033576A (en) 2014-07-31 2014-07-31 Imaging device

Country Status (1)

Country Link
JP (1) JP2016033576A (en)

Similar Documents

Publication Publication Date Title
US8670064B2 (en) Image capturing apparatus and control method therefor
JP5961929B2 (en) camera
JP2009015185A (en) Image detection device, focusing device and image pickup apparatus
JP2008292894A (en) Image tracking device, image tracking method and imaging apparatus
JP4893334B2 (en) Image tracking device and imaging device
JP5056168B2 (en) Focus adjustment device and imaging device
JP5827491B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP4801960B2 (en) Autofocus control device, image forming apparatus using the autofocus control device, and autofocus control method
JP2017040879A (en) Imaging apparatus, control method, program, and storage medium
JP5329913B2 (en) Automatic focusing apparatus and method
JP5403111B2 (en) Image tracking device
JP5056136B2 (en) Image tracking device
JP5930683B2 (en) Imaging apparatus, control method thereof, and program
JP2007221214A (en) Camera
JP5070856B2 (en) Imaging device
JP5871196B2 (en) Focus adjustment device and imaging device
JP2017224908A (en) Imaging apparatus
WO2019146164A1 (en) Imaging device, imaging method, and program
JP2017032874A (en) Focus detection device and method, and imaging apparatus
JP2016080742A (en) Imaging device
JP2016033576A (en) Imaging device
JP2007033997A (en) Focal point detecting apparatus
US10129475B2 (en) Image capturing apparatus and method of controlling an image capturing apparatus
JP2011075735A (en) Imaging device
JP2006157407A (en) Camera