Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5772933B2 - Imaging device - Google Patents
[go: Go Back, main page]

JP5772933B2 - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP5772933B2
JP5772933B2 JP2013248017A JP2013248017A JP5772933B2 JP 5772933 B2 JP5772933 B2 JP 5772933B2 JP 2013248017 A JP2013248017 A JP 2013248017A JP 2013248017 A JP2013248017 A JP 2013248017A JP 5772933 B2 JP5772933 B2 JP 5772933B2
Authority
JP
Japan
Prior art keywords
defocus amount
focus detection
image
tracking
control device
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
JP2013248017A
Other languages
Japanese (ja)
Other versions
JP2014074923A5 (en
JP2014074923A (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.)
Nikon Corp
Original Assignee
Nikon Corp
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 Nikon Corp filed Critical Nikon Corp
Priority to JP2013248017A priority Critical patent/JP5772933B2/en
Publication of JP2014074923A publication Critical patent/JP2014074923A/en
Publication of JP2014074923A5 publication Critical patent/JP2014074923A5/en
Application granted granted Critical
Publication of JP5772933B2 publication Critical patent/JP5772933B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Description

本発明は、撮像装置に関する。
The present invention relates to an imaging apparatus .

撮影画面内に設定された複数の焦点検出エリアにおいて撮影レンズのデフォーカス量を求め、いずれかのエリアのデフォーカス量に基づいて撮影レンズの焦点調節を行う自動焦点調節(AF)機能と、撮影画像の中の追尾対象の被写体の画像をテンプレート画像(基準画像)として記憶し、繰り返し撮像される画像の中でテンプレート画像と同一または類似した画像の位置を検索しながら追尾対象の被写体を追尾する画像追尾機能とを備え、画像追尾結果の位置に相当する焦点検出エリアを選択してその焦点検出エリアのデフォーカス量により撮影レンズを焦点調節するオートフォーカスシステムが知られている(特許文献1参照)。   An automatic focus adjustment (AF) function that obtains the defocus amount of the photographing lens in a plurality of focus detection areas set in the photographing screen and adjusts the focus of the photographing lens based on the defocus amount of any area, and photographing The image of the subject to be tracked in the image is stored as a template image (reference image), and the subject to be tracked is tracked while searching for the position of an image that is the same as or similar to the template image among the repeatedly captured images. There is known an autofocus system that includes an image tracking function, selects a focus detection area corresponding to the position of the image tracking result, and adjusts the focus of the photographing lens based on the defocus amount of the focus detection area (see Patent Document 1). ).

特開2005−215040号公報JP-A-2005-2105040

特許文献1に開示されるオートフォーカスシステムでは、被写体の追尾演算結果に基づいて撮影レンズの焦点検出演算を行うため、被写体の追尾演算に要する画像情報が得られるまでは焦点検出演算を開始することができない。したがって、たとえば連写時などのように個々の撮影に対する演算処理時間が限られる場合のように限られた演算処理時間内で効率的な制御を行うことができない。   In the autofocus system disclosed in Patent Document 1, since the focus detection calculation of the photographing lens is performed based on the subject tracking calculation result, the focus detection calculation is started until the image information necessary for the subject tracking calculation is obtained. I can't. Therefore, for example, efficient control cannot be performed within the limited calculation processing time as in the case where the calculation processing time for individual shooting is limited, such as during continuous shooting.

請求項1の発明による撮像装置は、デフォーカス量を演算するデフォーカス量演算部と、複数の焦点検出エリアのうち焦点光学系の駆動制御に用いる前記焦点検出エリアの前記デフォーカス量を決定する決定部と、前記決定部に決定された前記デフォーカス量を用いて焦点光学系の駆動制御を行う制御部と、前記制御部による前記焦点光学系の駆動制御に用いられた前記焦点検出エリアの位置に関する第1情報を取得する取得部と、追尾対象の情報が含まれる基準情報と、撮像部により繰り返し取得される画像情報とを用いて前記追尾対象の位置に関する第2情報を取得する追尾部と、を含み、前記デフォーカス量演算部は、前記追尾部による演算が終了する前に、前記第1情報を用いて選択された少なくとも1つの前記焦点検出エリアについて第1デフォーカス量を演算し、前記追尾部による演算が終了した後に、前記第2情報を用いて選択された少なくとも1つの前記焦点検出エリアについて第2デフォーカス量を演算し、前記決定部は、前記第1デフォーカス量及び前記第2デフォーカス量の少なくとも一方と、前記制御部による前記焦点光学系の駆動制御に用いられたデフォーカス量である第3デフォーカス量とを比較することにより前記焦点光学系の駆動制御に用いる前記デフォーカス量を決定することを特徴とする。
An imaging apparatus according to a first aspect of the invention determines a defocus amount calculation unit that calculates a defocus amount, and determines the defocus amount of the focus detection area used for driving control of a focus optical system among a plurality of focus detection areas. A determination unit; a control unit that performs drive control of the focus optical system using the defocus amount determined by the determination unit; and the focus detection area used for drive control of the focus optical system by the control unit An acquisition unit that acquires first information related to a position, a tracking unit that acquires second information related to the position of the tracking target using reference information including information about the tracking target and image information repeatedly acquired by the imaging unit The defocus amount calculation unit includes at least one focus detection area selected using the first information before the calculation by the tracking unit is completed. A first defocus amount calculated Te, after calculation by the tracking unit is finished, a second defocus amount calculated for at least one of said focus detection areas is selected by using the second information, the determination unit Comparing at least one of the first defocus amount and the second defocus amount with a third defocus amount which is a defocus amount used for driving control of the focus optical system by the control unit. To determine the defocus amount used for driving control of the focus optical system .

請求項2の発明による撮像装置は、請求項1に記載された撮像装置であって、前記決定部は、前記第3デフォーカス量と前記第2デフォーカス量との差が第1所定値以内であるとき前記第2デフォーカス量を前記焦点光学系の駆動制御に用いる前記デフォーカス量として決定し、前記第3デフォーカス量と前記第2デフォーカス量との差が前記第1所定値より大きく、前記第3デフォーカス量と前記第1デフォーカス量との差が第2所定値より小さいとき前記第1デフォーカス量を前記焦点光学系の駆動制御に用いる前記デフォーカス量として決定することを特徴とする
An imaging apparatus according to a second aspect of the present invention is the imaging apparatus according to the first aspect, wherein the determining unit has a difference between the third defocus amount and the second defocus amount within a first predetermined value. The second defocus amount is determined as the defocus amount used for driving control of the focus optical system, and the difference between the third defocus amount and the second defocus amount is greater than the first predetermined value. When the difference between the third defocus amount and the first defocus amount is smaller than a second predetermined value, the first defocus amount is determined as the defocus amount used for driving control of the focus optical system. It is characterized by .

請求項3の発明による撮像装置は、請求項1又は請求項2に記載された撮像装置であって、前記デフォーカス量演算部は、連写撮影時の第1撮影と前記第1撮影後の第2撮影との間の期間に前記第1デフォーカス量及び前記第2デフォーカス量を演算し、前記第1デフォーカス量は前記追尾部による演算が終了する前に演算されることを特徴とする
An imaging apparatus according to a third aspect of the present invention is the imaging apparatus according to the first or second aspect, wherein the defocus amount calculation unit is configured to perform a first shooting during continuous shooting and a post-first shooting. The first defocus amount and the second defocus amount are calculated during a period between the second shooting and the first defocus amount is calculated before the calculation by the tracking unit is completed. To do .

請求項4の発明による撮像装置は、請求項3に記載された撮像装置であって、前記デフォーカス量演算部は、前記第1撮影と前記第2撮影との間の期間において、前記第1デフォーカス量の演算でデフォーカス量を演算した前記焦点検出エリアについては、前記第2デフォーカス量の演算でデフォーカス量を演算しないことを特徴とする。
An imaging apparatus according to a fourth aspect of the present invention is the imaging apparatus according to the third aspect , wherein the defocus amount calculation unit is configured to perform the first imaging in a period between the first imaging and the second imaging. for the focus detection area obtained by calculating the defocus amount calculation of the defocus amount, characterized in that it does not calculating the defocus amount calculation of the second defocus amount.

請求項5の発明による撮像装置は、請求項1乃至請求項4に記載された撮像装置であって、前記撮像部は、測光に用いられる測光センサであることを特徴とする。An imaging apparatus according to a fifth aspect of the present invention is the imaging apparatus according to any one of the first to fourth aspects, wherein the imaging unit is a photometric sensor used for photometry.

本発明によれば、限られた演算処理時間内で効率的な制御を行うことができる。   According to the present invention, efficient control can be performed within a limited calculation processing time.

一実施の形態による画像追尾装置を備えた撮像装置の構成を示す図である。It is a figure which shows the structure of the imaging device provided with the image tracking apparatus by one embodiment. ボディ制御装置の詳細な構成を示す図である。It is a figure which shows the detailed structure of a body control apparatus. 第2撮像素子の詳細な構成を示す図である。It is a figure showing the detailed composition of the 2nd image sensor. 第2撮像素子の画素を分割した様子を示す図である。It is a figure which shows a mode that the pixel of the 2nd image sensor was divided | segmented. 被写体像の例を示す図である。It is a figure which shows the example of a to-be-photographed image. テンプレート画像を取得する様子を示す図である。It is a figure which shows a mode that a template image is acquired. 追尾用画像内で追尾領域を特定する様子を示す図である。It is a figure which shows a mode that a tracking area | region is specified within the image for tracking. 一実施の形態の被写体追尾処理を示すフローチャートである。It is a flowchart which shows the subject tracking process of one Embodiment. 被写体追尾処理で実行される採用デフォーカス量決定処理を示すフローチャートである。It is a flowchart which shows the employ | adopted defocus amount determination process performed by a subject tracking process. 図9に続く採用デフォーカス量決定処理を示すフローチャートである。10 is a flowchart illustrating adopted defocus amount determination processing following FIG. 9. 被写体追尾処理で実行される撮影処理を示すフローチャートである。It is a flowchart which shows the imaging | photography process performed by a subject tracking process. 撮影処理で実行される選択エリア優先焦点検出演算処理を示すフローチャートである。It is a flowchart which shows the selection area priority focus detection calculation process performed by an imaging | photography process. 撮影処理で実行される後半焦点検出演算処理を示すフローチャートである。It is a flowchart which shows the latter half focus detection calculation process performed by an imaging | photography process.

本発明の一実施の形態による画像追尾装置について以下に説明する。本実施形態の画像追尾装置は、基準とする像に関する基準情報を記憶し、結像光学系による像を撮像して画像情報を出力する。そして、画像情報に対応する画像における基準情報に相当する画像を対象として、その対象画像の位置を撮影画面内で認識し、追尾する。このとき、対象画像の位置を認識する前に、結像光学系の焦点調節状態を検出すると共に、対象画像の位置を認識した後には、その位置に対して結像光学系の焦点調節状態を検出するようにしたものである。   An image tracking device according to an embodiment of the present invention will be described below. The image tracking device of the present embodiment stores reference information related to a reference image, captures an image by an imaging optical system, and outputs image information. Then, with respect to an image corresponding to the reference information in the image corresponding to the image information, the position of the target image is recognized in the shooting screen and is tracked. At this time, before recognizing the position of the target image, the focus adjustment state of the imaging optical system is detected. After recognizing the position of the target image, the focus adjustment state of the imaging optical system is changed with respect to the position. It is intended to be detected.

図1は、一実施の形態の画像追尾装置を備えた撮像装置(一眼レフデジタルスチルカメラ)1の構成を示す。なお、図1では本願発明と直接関係のないカメラの機器および回路についての図示と説明を省略する。一実施の形態のカメラ1は、カメラ本体2に交換レンズ3が交換可能に装着される。交換レンズ3は、結像光学系である撮影レンズ8を有している。撮影レンズ8は、ズーミングレンズ8aとフォーカシングレンズ8bによって構成される。   FIG. 1 shows a configuration of an imaging apparatus (single-lens reflex digital still camera) 1 including an image tracking apparatus according to an embodiment. In FIG. 1, illustration and description of camera devices and circuits not directly related to the present invention are omitted. In a camera 1 according to an embodiment, an interchangeable lens 3 is attached to a camera body 2 in a replaceable manner. The interchangeable lens 3 has a photographing lens 8 that is an imaging optical system. The photographing lens 8 includes a zooming lens 8a and a focusing lens 8b.

カメラ本体2には、被写体像を撮像して撮影画像を記録するための第1撮像素子4が設けられる。この第1撮像素子4は、たとえばCCDやCMOSなどにより構成することができる。撮影時にはクイックリターンミラー5およびサブミラー6が実線で示す撮影光路外の位置に退避してシャッター7が開放され、撮影レンズ8により、第1撮像素子4の受光面に被写体像が結像される。   The camera body 2 is provided with a first image sensor 4 for capturing a subject image and recording a captured image. The first image sensor 4 can be composed of, for example, a CCD or a CMOS. At the time of photographing, the quick return mirror 5 and the sub mirror 6 are retracted to a position outside the photographing optical path indicated by a solid line, the shutter 7 is opened, and a subject image is formed on the light receiving surface of the first image sensor 4 by the photographing lens 8.

カメラ本体2の底部には、撮影レンズ8の焦点調節状態を検出するための焦点検出光学
系9と測距素子10が設けられている。この一実施の形態では、瞳分割型位相差検出方式による焦点検出方法を採用した例を示す。焦点検出光学系9は、撮影レンズ8を通過した対の焦点検出用光束を測距素子10の受光面へ導き、対の光像を結像させる。測距素子10は例えば対のCCDラインセンサーを備え、対の光像に応じた焦点検出信号を出力する。撮影前にはクイックリターンミラー5およびサブミラー6が破線で示すような撮影光路内の位置に設定されており、撮影レンズ8からの対の焦点検出用光束はクイックリターンミラー5のハーフミラー部を透過し、サブミラー6により反射されて焦点検出光学系9および測距素子10へ導かれる。
At the bottom of the camera body 2, a focus detection optical system 9 and a distance measuring element 10 for detecting the focus adjustment state of the photographing lens 8 are provided. In this embodiment, an example is shown in which a focus detection method based on a pupil division type phase difference detection method is employed. The focus detection optical system 9 guides the pair of focus detection light fluxes that have passed through the photographing lens 8 to the light receiving surface of the distance measuring element 10 and forms a pair of optical images. The distance measuring element 10 includes, for example, a pair of CCD line sensors, and outputs a focus detection signal corresponding to the pair of optical images. Before shooting, the quick return mirror 5 and the sub mirror 6 are set at positions in the shooting optical path as indicated by broken lines, and the pair of focus detection light beams from the shooting lens 8 are transmitted through the half mirror portion of the quick return mirror 5. Then, the light is reflected by the sub mirror 6 and guided to the focus detection optical system 9 and the distance measuring element 10.

カメラ本体2の上部にはファインダー光学系が設けられている。撮影前にはクイックリターンミラー5およびサブミラー6が破線で示す位置にあり、撮影レンズ8からの被写体光はクイックリターンミラー5に反射されて焦点板11へ導かれ、焦点板11上に被写体像が結像する。液晶表示素子12は、焦点板11上に結像された被写体像に焦点検出エリアマークなどの情報を重畳表示するとともに、被写体像外の位置に露出値などの種々の撮影情報を表示する。焦点板11上の被写体像はペンタダハプリズム13および接眼レンズ14を介して接眼窓15へ導かれ、撮影者が被写体像を視認することができる。   A finder optical system is provided on the upper part of the camera body 2. Before shooting, the quick return mirror 5 and the sub mirror 6 are in positions indicated by broken lines, and subject light from the shooting lens 8 is reflected by the quick return mirror 5 and guided to the focusing screen 11, and the subject image is displayed on the focusing screen 11. Form an image. The liquid crystal display element 12 superimposes and displays information such as a focus detection area mark on the subject image formed on the focusing screen 11 and displays various photographing information such as an exposure value at a position outside the subject image. The subject image on the focusing screen 11 is guided to the eyepiece window 15 via the penta roof prism 13 and the eyepiece lens 14 so that the photographer can visually recognize the subject image.

また、カメラ本体2上部のファインダー光学系には、被写体追尾や測光のために被写体像を撮像する第2撮像素子16が設けられる。撮影前に焦点板11に結像した撮影レンズ8による被写体像は、ペンタダハプリズム13、プリズム17および結像レンズ18を介して第2撮像素子16の受光面に再結像される。第2撮像素子16は、この被写体像を撮像し、画像情報を出力する。詳細を後述するが、この第2撮像素子16から出力される画像情報に基づいて、画像追尾制御と露出制御が行われる。   The finder optical system at the top of the camera body 2 is provided with a second image sensor 16 that captures a subject image for subject tracking and photometry. The subject image formed by the photographic lens 8 imaged on the focusing screen 11 before photographing is re-imaged on the light receiving surface of the second image sensor 16 via the penta roof prism 13, the prism 17 and the imaging lens 18. The second image sensor 16 captures the subject image and outputs image information. Although details will be described later, image tracking control and exposure control are performed based on image information output from the second image sensor 16.

カメラ本体2にはまた、ボディ制御装置19、操作部材20などが設けられる。ボディ制御装置19は、詳細を後述するマイクロコンピューターとメモリ、A/D変換器などの周辺部品から構成され、カメラ1の種々の制御と演算を行う。操作部材20には、シャッターボタン、焦点検出エリア選択スイッチ、撮影モード選択スイッチ、焦点調節モード選択スイッチなどのカメラ1を操作するためのスイッチやセレクターが含まれる。   The camera body 2 is also provided with a body control device 19 and an operation member 20. The body control device 19 includes a microcomputer, which will be described in detail later, and peripheral components such as a memory and an A / D converter, and performs various controls and calculations of the camera 1. The operation member 20 includes a switch and a selector for operating the camera 1, such as a shutter button, a focus detection area selection switch, a shooting mode selection switch, and a focus adjustment mode selection switch.

交換レンズ3には、ズーミングレンズ8a、フォーカシングレンズ8b、絞り21、レンズ制御装置22などが設けられる。なお、この一実施の形態では、撮影レンズ8をズーミングレンズ8aおよびフォーカシングレンズ8bにより表しているが、撮影レンズ8の構成は図1に示す構成に限定されない。レンズ制御装置22は図示しないマイクロコンピューターとメモリ、駆動回路、アクチュエーター、センサーなどの周辺部品から構成され、レンズ8a、8bおよび絞り21の駆動制御とそれらの位置検出を行い、交換レンズ3の焦点距離や開放絞り値などの情報を出力する。   The interchangeable lens 3 is provided with a zooming lens 8a, a focusing lens 8b, a diaphragm 21, a lens control device 22, and the like. In this embodiment, the photographing lens 8 is represented by a zooming lens 8a and a focusing lens 8b. However, the configuration of the photographing lens 8 is not limited to the configuration shown in FIG. The lens control device 22 includes a microcomputer (not shown) and peripheral components such as a memory, a drive circuit, an actuator, and a sensor. The lens control device 22 controls the driving of the lenses 8a and 8b and the diaphragm 21 and detects their positions. And information such as the maximum aperture value are output.

ボディ制御装置19とレンズ制御装置22は、レンズマウント部の接点23を介して通信を行う。ボディ制御装置19からレンズ制御装置22へは、レンズ駆動量や制御絞り値などの情報を送信する。一方、レンズ制御装置22からボディ制御装置19へは、ズーミングレンズ8aによる焦点距離、フォーカシングレンズ8bによる撮影距離、絞り値などの情報を送信する。モニター24はカメラ本体2の背面に設けられ、スルー画や撮影画像の他に各種撮影情報を表示する。   The body control device 19 and the lens control device 22 communicate via the contact 23 of the lens mount unit. Information such as a lens driving amount and a control aperture value is transmitted from the body control device 19 to the lens control device 22. On the other hand, information such as the focal length by the zooming lens 8a, the photographing distance by the focusing lens 8b, and the aperture value is transmitted from the lens control device 22 to the body control device 19. The monitor 24 is provided on the back surface of the camera body 2 and displays various shooting information in addition to the through image and the shot image.

図2はボディ制御装置19の詳細な構成を示す。なお、本願発明と直接関係のない制御機能については図示と説明を省略する。ボディ制御装置19は素子制御回路19a、A/D変換器19b、マイクロコンピューター19c、メモリ19dなどを備えている。素子制御回路19aは第2撮像素子16の電荷の蓄積と読み出しを制御する。A/D変換器19bは、第2撮像素子16から画像情報として出力されるアナログ画像信号をデジタル画
像信号に変換する。マイクロコンピューター19cは、ソフトウエア形態により追尾制御部19e、露出制御部19f、焦点検出演算部19gおよびレンズ駆動量演算部19hを構成する。メモリ19dは、画像追尾時に基準とする像に関する基準情報として、画像追尾用のテンプレート画像(基準画像)の情報を記憶する。
FIG. 2 shows a detailed configuration of the body control device 19. Note that illustration and description of control functions not directly related to the present invention are omitted. The body control device 19 includes an element control circuit 19a, an A / D converter 19b, a microcomputer 19c, a memory 19d, and the like. The element control circuit 19 a controls charge accumulation and reading of the second image sensor 16. The A / D converter 19b converts an analog image signal output as image information from the second image sensor 16 into a digital image signal. The microcomputer 19c constitutes a tracking control unit 19e, an exposure control unit 19f, a focus detection calculation unit 19g, and a lens drive amount calculation unit 19h according to a software form. The memory 19d stores information on a template image (reference image) for image tracking as reference information regarding an image used as a reference at the time of image tracking.

追尾制御部19eは、第2撮像素子16により被写体像を撮像して得られた画像情報が表す画像のうち、指定された位置に対応する部分の画像をテンプレート画像として設定する。なお、追尾対象位置の設定方法については、後で詳しく説明する。このテンプレート画像の情報は、基準情報としてメモリ19dにより記憶される。その後さらに追尾制御部19eは、第2撮像素子16から所定の時間間隔ごとに出力される画像情報と、メモリ19dに記憶された基準情報とに基づいて、画像情報が表す画像において基準情報に相当する部分、すなわちテンプレート画像と一致または類似する画像部分の位置を認識し、追尾する。こうした画像追尾処理は、追尾制御部19eにおいて繰り返し行われる。   The tracking control unit 19e sets, as a template image, an image of a portion corresponding to a designated position among images represented by image information obtained by capturing a subject image with the second image sensor 16. The tracking target position setting method will be described in detail later. Information on this template image is stored in the memory 19d as reference information. Thereafter, the tracking control unit 19e further corresponds to the reference information in the image represented by the image information based on the image information output from the second image sensor 16 at predetermined time intervals and the reference information stored in the memory 19d. The position of the image portion, that is, the position of the image portion that matches or is similar to the template image is recognized and tracked. Such image tracking processing is repeatedly performed in the tracking control unit 19e.

露出制御部19fは、第2撮像素子16から出力される画像情報に基づいて、撮影時の露出値を演算する。露出制御部19fにおいて求められた露出値は、レンズ制御装置22へ出力されて絞り21の駆動制御に用いられると共に、シャッター7の制御に用いられる。   The exposure control unit 19f calculates an exposure value at the time of shooting based on the image information output from the second image sensor 16. The exposure value obtained by the exposure control unit 19f is output to the lens control device 22 and used for driving control of the diaphragm 21, and also used for controlling the shutter 7.

焦点検出演算部19gは、測距素子10から出力される対の光像に応じた焦点検出信号に基づいて、周知の位相差検出方式などにより撮影レンズ8の焦点調節状態、ここではデフォーカス量を検出する。なお、詳細を後述するが、撮影レンズ8の像面内の複数の位置に対応して複数の焦点検出エリア(焦点検出位置)がそれぞれ設定されている。焦点検出演算部19gは、この複数の焦点検出エリアに対して、測距素子10から出力される対の光像に応じた焦点検出信号に基づいてデフォーカス量をそれぞれ検出する。   The focus detection calculation unit 19g is based on a focus detection signal corresponding to the pair of optical images output from the distance measuring element 10, and uses a known phase difference detection method or the like to adjust the focus adjustment state of the photographic lens 8, here the defocus amount. Is detected. Although details will be described later, a plurality of focus detection areas (focus detection positions) are respectively set corresponding to a plurality of positions in the image plane of the photographing lens 8. The focus detection calculation unit 19g detects a defocus amount for each of the plurality of focus detection areas based on a focus detection signal corresponding to a pair of optical images output from the distance measuring element 10.

なお、この一実施の形態によるカメラ1では、ボディ制御装置19の制御により、制御方法が異なる二つの焦点調節モードのいずれかをユーザの操作に応じて設定可能である。一つのモードは、画像追尾の結果を重視して焦点調節を行う追尾優先モードである。このモードが設定されている場合は、画像追尾によって認識された基準画像に相当する画像の位置に相当する焦点検出エリアで検出されたデフォーカス量を優先して採用し、撮影レンズ8の焦点調節を行う。カメラ1において設定可能なもう一つのモードは、ユーザが予め選択した焦点検出エリアを重視して焦点調節を行う選択エリア優先モードである。このモードが設定されている場合は、ユーザが予め選択した焦点検出エリアに対するデフォーカス量を優先して採用し、焦点調節を行う。   In the camera 1 according to the embodiment, either one of two focus adjustment modes having different control methods can be set according to the user's operation under the control of the body control device 19. One mode is a tracking priority mode in which focus adjustment is performed with emphasis on the result of image tracking. When this mode is set, the defocus amount detected in the focus detection area corresponding to the position of the image corresponding to the reference image recognized by the image tracking is preferentially adopted, and the focus adjustment of the photographing lens 8 is performed. I do. Another mode that can be set in the camera 1 is a selection area priority mode in which focus adjustment is performed with emphasis on the focus detection area selected in advance by the user. When this mode is set, the defocus amount for the focus detection area selected in advance by the user is preferentially adopted and the focus adjustment is performed.

レンズ駆動量演算部19hは、採用されたデフォーカス量をレンズ駆動量に変換し、レンズ制御装置22へ出力する。このレンズ駆動量に基づいて、レンズ制御装置22によりフォーカシングレンズ8bが駆動され、撮影レンズ8の焦点調節が行われる。   The lens driving amount calculation unit 19 h converts the adopted defocus amount into a lens driving amount and outputs the lens driving amount to the lens control device 22. Based on this lens drive amount, the focusing lens 8b is driven by the lens control device 22, and the focus of the photographing lens 8 is adjusted.

図3は第2撮像素子16の概略的な構成を示す正面図である。第2撮像素子16は、マトリクス状に配列された複数の画素(光電変換素子)26(ここでは横8個×縦6個=48個)を備えている。各画素26は図4に示すように3個の部分26a、26b、26cに分割され、これらの部分26a、26b、26cにはそれぞれ赤R、緑G、青Bの原色フィルターが設けられている。これにより、各画素26ごとに被写体像のRGB信号を出力することができる。なお、第2撮像素子16の画素数はこの一実施の形態の画素数に限定されない。   FIG. 3 is a front view showing a schematic configuration of the second image sensor 16. The second imaging element 16 includes a plurality of pixels (photoelectric conversion elements) 26 (here, 8 horizontal × 6 vertical = 48) arranged in a matrix. As shown in FIG. 4, each pixel 26 is divided into three portions 26a, 26b, and 26c, and primary color filters of red R, green G, and blue B are provided in these portions 26a, 26b, and 26c, respectively. . Thereby, the RGB signal of the subject image can be output for each pixel 26. Note that the number of pixels of the second image sensor 16 is not limited to the number of pixels in this embodiment.

次に、一実施の形態の被写体追尾動作を説明する。図5〜図7は一実施の形態の被写体追尾方法を説明するための図、図8〜図13は一実施の形態の被写体追尾処理を示すフロ
ーチャートである。シャッターボタンを全押しして撮影を行うとき以外は、クイックリターンミラー5が図1に破線で示す撮影光路内に設定されており、撮影レンズ8から入射した被写体光は焦点板11上に結像される。そして、焦点板11上の被写体像はペンタダハプリズム13、プリズム17および結像レンズ18を介して第2撮像素子16へ導かれ、第2撮像素子16から被写体像の画像情報が出力される。
Next, a subject tracking operation according to an embodiment will be described. 5 to 7 are diagrams for explaining a subject tracking method according to an embodiment, and FIGS. 8 to 13 are flowcharts illustrating subject tracking processing according to the embodiment. The quick return mirror 5 is set in the photographing optical path shown by the broken line in FIG. 1 except when the shutter button is fully pressed to shoot, and the subject light incident from the photographing lens 8 forms an image on the focusing screen 11. Is done. Then, the subject image on the focusing screen 11 is guided to the second image sensor 16 via the penta roof prism 13, the prism 17 and the imaging lens 18, and the image information of the subject image is output from the second image sensor 16.

図5は撮影者が接眼窓15から視認する被写体像(ファインダー像)の例である。撮影レンズ8により焦点板11上に結像された被写体像には、液晶表示素子12により焦点検出エリアマークなどの撮影情報が重畳表示され、ペンタダハプリズム13および接眼レンズ14を介して接眼窓15へ導かれ、撮影者が被写体像と撮影情報を視認することができる。この一実施の形態では、撮影レンズ8の撮影画面内に11個の焦点検出エリア45a〜45kが設定されており、液晶表示素子12により焦点板11上の被写体像にエリアマークを重畳し、各焦点検出エリア45a〜45kの位置を表示する。操作部材20の焦点検出エリア選択スイッチにより任意のエリアを選択すると、そのエリアのマーク45が点灯表示される。   FIG. 5 is an example of a subject image (viewfinder image) visually recognized by the photographer through the eyepiece window 15. Shooting information such as a focus detection area mark is superimposed on the subject image formed on the focusing screen 11 by the photographing lens 8 by the liquid crystal display element 12, and is passed to the eyepiece window 15 via the penta roof prism 13 and the eyepiece 14. The photographer can visually recognize the subject image and the photographing information. In this embodiment, eleven focus detection areas 45 a to 45 k are set in the photographing screen of the photographing lens 8, and area marks are superimposed on the subject image on the focusing screen 11 by the liquid crystal display element 12. The positions of the focus detection areas 45a to 45k are displayed. When an arbitrary area is selected by the focus detection area selection switch of the operation member 20, the mark 45 of the area is lit up.

操作部材20のシャッターボタンが半押しされると、ボディ制御装置19は図8に示す被写体追尾処理を開始する。ステップS1では、ボディ制御装置19は、第2撮像素子16から出力される画像情報を取得する。この画像情報には、画素ごとのRGB値が次の(1)のように表されている。式(1)において、x,yは画素の座標値を表している。図3の例に示す第2撮像素子16では、x=1〜8、y=1〜6である。   When the shutter button of the operation member 20 is half-pressed, the body control device 19 starts the subject tracking process shown in FIG. In step S <b> 1, the body control device 19 acquires image information output from the second image sensor 16. In this image information, the RGB value for each pixel is expressed as shown in (1) below. In Expression (1), x and y represent pixel coordinate values. In the second image sensor 16 shown in the example of FIG. 3, x = 1 to 8 and y = 1 to 6.

R[x,y]、G[x,y]、B[x,y] ・・・(1)
ステップS2では、ボディ制御装置19は、ステップS1で取得した画像情報に基づいて、各画素の色情報(ここでは色の偏り)RG、BGを演算するとともに、画像を取得したときの露光時間T、ゲインGainおよび色合成係数Kr、Kg、Kbに基づいて、輝度
情報Lを下記の式(2)により演算する。
R [x, y], G [x, y], B [x, y] (1)
In step S2, the body control device 19 calculates the color information (here, color deviation) RG and BG of each pixel based on the image information acquired in step S1, and the exposure time T when the image is acquired. Based on the gain Gain and the color synthesis coefficients Kr, Kg, Kb, the luminance information L is calculated by the following equation (2).

RG[x,y]=Log(R[x,y])−Log(G[x,y]),
BG[x,y]=Log(B[x,y])−Log(G[x,y]),
L[x,y]=Log(Kr×R[x,y]+Kg×G[x,y]+Kb×B[x,y])−Log(T)−Log(Gain) ・・・(2)
ボディ制御装置19は、これらの色情報RG、BG、輝度情報Lをテンプレート画像として用いるためにメモリ19dに記憶する。
RG [x, y] = Log 2 (R [x, y]) − Log 2 (G [x, y]),
BG [x, y] = Log 2 (B [x, y]) − Log 2 (G [x, y]),
L [x, y] = Log 2 (Kr × R [x, y] + Kg × G [x, y] + Kb × B [x, y]) − Log 2 (T) −Log 2 (Gain) (2)
The body control device 19 stores the color information RG, BG and luminance information L in the memory 19d for use as a template image.

ステップS3では、ボディ制御装置19は、測距素子10によって各焦点検出エリア45a〜45kごとに検出された焦点検出用の対の光像に応じた焦点検出信号を取得する。   In step S <b> 3, the body control device 19 acquires a focus detection signal corresponding to the pair of optical images for focus detection detected for each of the focus detection areas 45 a to 45 k by the distance measuring element 10.

ステップS4では、ボディ制御装置19は、ステップS3で取得した焦点検出信号に基づいて、各焦点検出エリア45a〜45kの撮影レンズ8の焦点調節状態を示すデフォーカス量D[N](N=a〜k)を算出する。なお、Nに入る文字は対応する焦点検出エリアを表している。すなわち、たとえば焦点検出エリア45aについて求められたデフォーカス量は、D[a]と表される。こうしてボディ制御装置19がデフォーカス量を算出することにより、撮影レンズ8の焦点調節状態が検出される。   In step S4, the body control device 19 determines the defocus amount D [N] (N = a) indicating the focus adjustment state of the photographing lens 8 in each of the focus detection areas 45a to 45k based on the focus detection signal acquired in step S3. ~ K). Note that the characters entering N represent the corresponding focus detection areas. That is, for example, the defocus amount obtained for the focus detection area 45a is represented as D [a]. In this way, the body controller 19 calculates the defocus amount, so that the focus adjustment state of the photographing lens 8 is detected.

ステップS5では、ボディ制御装置19は、画像追尾を行う対象とする追尾対象位置を設定する。ここでは、たとえば焦点検出エリア45a〜45kのいずれかをユーザに選択させ、選択された焦点検出エリアを追尾対象位置に設定する。あるいは、カメラ1により自動的に追尾対象位置を設定してもよい。たとえば、最至近のデフォーカス量を示す焦点検出エリアなどを自動的に追尾対象位置に設定する。これ以外の方法によりいずれかの焦
点検出エリアを選択し、追尾対象位置として設定してもよい。
In step S5, the body control device 19 sets a tracking target position to be subjected to image tracking. Here, for example, the user selects any one of the focus detection areas 45a to 45k, and the selected focus detection area is set as the tracking target position. Alternatively, the tracking target position may be automatically set by the camera 1. For example, a focus detection area indicating the closest defocus amount is automatically set as the tracking target position. Any focus detection area may be selected by a method other than this and set as the tracking target position.

ステップS6では、ボディ制御装置19は、基準情報すなわち画像追尾用のテンプレート画像の情報を取得し、メモリ19dに記憶させる。ここでは、ステップS2で算出した色情報および輝度情報のうち、ステップS5で設定した追尾対象位置の周囲の所定範囲内に対応する画像部分の色情報と輝度情報を、基準情報としてメモリ19dにより記憶する。   In step S6, the body control device 19 acquires reference information, that is, information on the template image for image tracking, and stores it in the memory 19d. Here, among the color information and luminance information calculated in step S2, the color information and luminance information of the image portion corresponding to the predetermined range around the tracking target position set in step S5 are stored as reference information in the memory 19d. To do.

たとえば図6(a)に示すように、画面中央に位置する焦点検出エリア45fが追尾対象位置に設定されている場合は、その周囲の符号47に示す点線部分の領域を追尾被写体領域として、その領域に対応する部分の色情報と輝度情報を基準情報として記憶する。すなわち、前述の式(2)によって表されるRG[x,y]、BG[x,y]およびL[x,y]を
、x=4〜5、y=3〜4の範囲について基準情報としてメモリ19dに記憶する。これにより、図6(b)に示すテンプレート画像情報48が基準情報として記憶される。こうして記憶されるテンプレート画像48の色情報(ここでは色の偏り)をTRGおよびTBGと表し、輝度情報をTLと表すと、これらは次の式(3)のように表される。なお、ここでは基準情報として縦2画素、横2画素分のテンプレート画像情報48を記憶することとしたが、テンプレート画像の大きさはこれに限定されない。
For example, as shown in FIG. 6 (a), when the focus detection area 45f located at the center of the screen is set as the tracking target position, the dotted line area indicated by reference numeral 47 around it is set as the tracking subject area. The color information and luminance information of the part corresponding to the area are stored as reference information. That is, RG [x, y], BG [x, y] and L [x, y] represented by the above-mentioned formula (2) are set as reference information for the ranges of x = 4 to 5 and y = 3 to 4. Is stored in the memory 19d. Thereby, the template image information 48 shown in FIG. 6B is stored as the reference information. If the color information (in this case, the color deviation) of the template image 48 stored in this way is expressed as TRG and TBG, and the luminance information is expressed as TL, these are expressed as the following equation (3). Here, the template image information 48 for two vertical pixels and two horizontal pixels is stored as the reference information, but the size of the template image is not limited to this.

TRG[TX,TY]=RG[x,y]、
TBG[TX,TY]=BG[x,y]、
TL[TX,TY]=L[x,y] (TX,TY=1〜2、x=4〜5、y=3〜4) ・
・・(3)
ステップS7では、ボディ制御装置19は、ステップS1と同様にして、第2撮像素子16から出力される画像情報を取得する。次のステップS8では、ボディ制御装置19は、ステップS2と同様にして、ステップS7で取得した画像情報に基づいて、各画素の色情報RG、BGおよび輝度情報Lを演算する。
TRG [TX, TY] = RG [x, y],
TBG [TX, TY] = BG [x, y],
TL [TX, TY] = L [x, y] (TX, TY = 1 to 2, x = 4 to 5, y = 3 to 4)
(3)
In step S <b> 7, the body control device 19 acquires the image information output from the second image sensor 16 as in step S <b> 1. In the next step S8, the body control device 19 calculates the color information RG and BG and the luminance information L of each pixel based on the image information acquired in step S7, as in step S2.

ステップS9では、ボディ制御装置19は、ステップS8で算出した色情報および輝度情報に基づいて、追尾対象画像の位置を撮影画面内で認識するための画像追尾演算を実行する。ここでは、ステップS8で算出した色情報および輝度情報と、ステップS6で記憶した基準情報とを比較することにより、基準情報に相当する画像を検出してその位置を特定する。その方法を以下に説明する。   In step S9, the body control device 19 executes an image tracking calculation for recognizing the position of the tracking target image in the shooting screen based on the color information and luminance information calculated in step S8. Here, by comparing the color information and luminance information calculated in step S8 with the reference information stored in step S6, an image corresponding to the reference information is detected and its position is specified. The method will be described below.

画像追尾演算を行う際、まずボディ制御装置19は、ステップS8で取得した色情報と輝度情報によって表される画像(追尾用画像)の中から、テンプレート画像48と同じサイズの領域を順次切り出し、切り出した画像とテンプレート画像48の対応する画素ごとに色情報の差Diffを算出する。たとえば、図7(a)に示すような追尾用画像が取得さ
れたとすると、図中に太い破線で示すように、追尾用画像内で1画素ずつ領域をずらしながらテンプレート画像48との色情報の差Diffを算出する。
When performing the image tracking calculation, first, the body control device 19 sequentially cuts out an area having the same size as the template image 48 from the image (tracking image) represented by the color information and the luminance information acquired in step S8. A color information difference Diff is calculated for each pixel corresponding to the cut-out image and the template image 48. For example, if a tracking image as shown in FIG. 7A is acquired, the color information of the template image 48 is shifted while shifting the area one pixel at a time in the tracking image, as shown by a thick broken line in the figure. The difference Diff is calculated.

今、図7(a)に示すように切り出した画像の始点位置が(HX,HY)=(3,2)であるとすると、差Diffの演算は次の式(4)によって求められる。   Now, as shown in FIG. 7A, assuming that the start point position of the cut out image is (HX, HY) = (3, 2), the calculation of the difference Diff is obtained by the following equation (4).

Diff[HX,HY]=ΣΣ{Krg×ABS(RG[HX−1+TX,HY−1+TY]−TRG[TX,TY])+Kbg×ABS(BG[HX−1+TX,HY−1+TY]−TB
G[TX,TY])+Kl×ABS(L[HX−1+TX,HY−1+TY]−TL[TX,T
Y])} ・・・(4)
上記式(4)において、Krg、KbgおよびKlは、各色情報と輝度情報の影響度の差を考慮して予め設定される重み付け係数である。また、TX,TY=1〜2、HX=3
、HY=2であり、ΣΣはTX=1〜2およびTY=1〜2の総和演算である。
Diff [HX, HY] = ΣΣ {Krg × ABS (RG [HX-1 + TX, HY-1 + TY] −TRG [TX, TY]) + Kbg × ABS (BG [HX-1 + TX, HY-1 + TY] −TB
G [TX, TY]) + K1 × ABS (L [HX-1 + TX, HY-1 + TY] −TL [TX, T
Y])} (4)
In the above equation (4), Krg, Kbg, and Kl are weighting coefficients that are set in advance in consideration of the difference in the degree of influence between each color information and luminance information. Also, TX, TY = 1 to 2, HX = 3
, HY = 2, and ΣΣ is the sum operation of TX = 1-2 and TY = 1-2.

次にボディ制御装置19は、差Diff[HX,HY]の中の最小の差を検索し、追尾用画像内で最小の差を算出したときの上記切り出し領域を追尾領域として特定する。ここでは、たとえば図7(b)に示すように、始点位置が(x,y)=(6,3)の符合49に示す切り出し領域を追尾領域とする。こうして追尾用画像内で追尾領域49を特定することにより、追尾用画像におけるテンプレート画像48に相当する画像の位置が認識される。   Next, the body control device 19 searches for the minimum difference in the difference Diff [HX, HY], and specifies the cut-out area when the minimum difference is calculated in the tracking image as the tracking area. Here, for example, as shown in FIG. 7B, the cut-out area indicated by reference numeral 49 whose start point position is (x, y) = (6, 3) is set as the tracking area. Thus, by specifying the tracking region 49 in the tracking image, the position of the image corresponding to the template image 48 in the tracking image is recognized.

ここで、特定された追尾領域49の画像情報を用いてテンプレート画像48の画像情報を更新する処理を加えてもよい。その場合、例えば元のテンプレート画像48の画像情報80%に対して追尾領域49の画像情報20%を加えることによって、テンプレート画像の情報に対して最新の画像情報が少しずつ更新され、追尾被写体の変化に追従しやすくなる。この場合、追尾演算のたびに毎回更新を行うのではなく、追尾領域49として決定した位置の差Diffの大きさに基づいて、あるしきい値より小さいときのみ更新するように
してもよい。また、式(4)以外によりテンプレート画像48との差を示す画像の特徴量を求めてもよい。
Here, a process of updating the image information of the template image 48 using the image information of the specified tracking area 49 may be added. In this case, for example, by adding 20% of the image information of the tracking area 49 to the image information 80% of the original template image 48, the latest image information is updated little by little with respect to the information of the template image. It becomes easier to follow changes. In this case, the update may not be performed every time the tracking calculation is performed, but may be updated only when the position difference Diff determined as the tracking area 49 is smaller than a certain threshold value. Further, an image feature amount indicating a difference from the template image 48 may be obtained by a method other than the expression (4).

ステップS10では、ボディ制御装置19は、測距素子10によって各焦点検出エリア45a〜45kごとに検出された焦点検出用の対の光像に応じた焦点検出信号を取得する。ステップS11では、ボディ制御装置19は、ステップS10で取得した焦点検出信号に基づいて、各焦点検出エリア45a〜45kの撮影レンズ8の焦点調節状態を示すデフォーカス量D[N](N=a〜k)を算出する。   In step S10, the body control device 19 acquires a focus detection signal corresponding to the pair of optical images for focus detection detected by the distance measuring element 10 for each of the focus detection areas 45a to 45k. In step S11, the body control device 19 determines the defocus amount D [N] (N = a) indicating the focus adjustment state of the photographing lens 8 in each of the focus detection areas 45a to 45k based on the focus detection signal acquired in step S10. ~ K).

ステップS12では、ボディ制御装置19は、ステップS11で算出したデフォーカス量のうちいずれのデフォーカス量を焦点調節に採用するかを決定するための採用デフォーカス量決定処理を実行する。この採用デフォーカス量決定処理の詳細な内容については、後で図9および10のフローチャートにより説明する。ステップS12において採用デフォーカス量決定処理を実行することにより、ボディ制御装置19は、ステップS11で算出したデフォーカス量のいずれかを今回の焦点調節に用いる採用デフォーカス量として決定する。   In step S12, the body control device 19 executes an adopted defocus amount determination process for determining which of the defocus amounts calculated in step S11 is to be used for focus adjustment. Details of the adopted defocus amount determination process will be described later with reference to the flowcharts of FIGS. By executing the adopted defocus amount determination process in step S12, the body control device 19 determines one of the defocus amounts calculated in step S11 as the adopted defocus amount used for the current focus adjustment.

ステップS13では、ボディ制御装置19は、ステップS12で決定された採用デフォーカス量をレンズ駆動量に変換し、レンズ制御装置22によりフォーカシングレンズ8bを駆動することにより、撮影レンズ8の焦点調節を行う。   In step S <b> 13, the body control device 19 converts the adopted defocus amount determined in step S <b> 12 into a lens drive amount, and drives the focusing lens 8 b by the lens control device 22 to adjust the focus of the photographing lens 8. .

ステップS14では、ボディ制御装置19は、操作部材20のシャッターボタンの全押し操作がユーザによってなされたか否かを確認する。シャッターボタンが全押しされた場合はステップS15へ進み、ステップS15において撮影処理を実行する。この撮影処理の詳細な内容については、後で図11、12および13のフローチャートにより説明する。ステップS15を実行したら、ボディ制御装置19は図8のフローチャートを終了して被写体追尾処理を完了する。   In step S <b> 14, the body control device 19 confirms whether or not the user has fully pressed the shutter button of the operation member 20. When the shutter button is fully pressed, the process proceeds to step S15, and the photographing process is executed in step S15. The detailed contents of this photographing process will be described later with reference to the flowcharts of FIGS. After executing step S15, the body control device 19 ends the flowchart of FIG. 8 and completes the subject tracking process.

一方、ステップS14でシャッターボタンの全押し操作がなされていない場合、ボディ制御装置19はステップS16へ進み、シャッターボタンの半押し操作が行われているか否かを確認する。シャッターボタンの半押し操作が継続されている場合はステップS7へ戻り、上述した処理を繰り返す。一方、シャッターボタンの半押し操作がなされていない場合は、図8のフローチャートを終了して被写体追尾処理を完了する。   On the other hand, if the shutter button has not been fully pressed in step S14, the body control device 19 proceeds to step S16 and confirms whether or not the shutter button has been pressed halfway. If the half-press operation of the shutter button is continued, the process returns to step S7 and the above-described processing is repeated. On the other hand, if the shutter button is not half-pressed, the flowchart of FIG. 8 is terminated and the subject tracking process is completed.

次に、ステップS12で実行する採用デフォーカス量決定処理について説明する。図9および10は、採用デフォーカス量決定処理のフローチャートである。ステップS21で
は、ボディ制御装置19は、設定されているモードが前述の選択エリア優先モードと追尾優先モードのいずれであるかを判定する。選択エリア優先モードが設定されている場合はステップS22へ進み、追尾優先モードが設定されている場合は図10のステップS31へ進む。
Next, the adopted defocus amount determination process executed in step S12 will be described. 9 and 10 are flowcharts of the adopted defocus amount determination process. In step S21, the body control device 19 determines whether the set mode is the selection area priority mode or the tracking priority mode described above. If the selection area priority mode is set, the process proceeds to step S22. If the tracking priority mode is set, the process proceeds to step S31 in FIG.

ステップS22では、ボディ制御装置19は、図8のステップS11で各焦点検出エリア45a〜45kについて算出したデフォーカス量のうち、ユーザが予め選択した焦点検出エリア(ユーザ選択エリア)のデフォーカス量を取得する。たとえば図7(b)において、焦点検出エリア45fがユーザ選択エリアに設定されている場合は、この焦点検出エリア45fのデフォーカス量D[f]を取得する。   In step S22, the body control device 19 sets the defocus amount of the focus detection area (user selection area) selected in advance by the user among the defocus amounts calculated for the focus detection areas 45a to 45k in step S11 of FIG. get. For example, in FIG. 7B, when the focus detection area 45f is set as the user selection area, the defocus amount D [f] of the focus detection area 45f is acquired.

ステップS23では、ボディ制御装置19は、ステップS22で取得したユーザ選択エリアのデフォーカス量を、前回実行したステップS12において決定された採用デフォーカス量と比較する。すなわち上記の例では、ユーザ選択エリアのデフォーカス量として取得したデフォーカス量D[f]を前回の採用デフォーカス量と比較する。なお、シャッターボタンが半押し操作された後で最初にステップS12の採用デフォーカス量決定処理を実行するときには、ステップS5で追尾対象位置に設定された焦点検出エリアのデフォーカス量を前回の採用デフォーカス量とすればよい。   In step S23, the body control device 19 compares the defocus amount of the user selection area acquired in step S22 with the adopted defocus amount determined in step S12 executed last time. That is, in the above example, the defocus amount D [f] acquired as the defocus amount of the user selection area is compared with the previous adopted defocus amount. When the adopted defocus amount determination process of step S12 is first executed after the shutter button is half-pressed, the defocus amount of the focus detection area set as the tracking target position in step S5 is set to the previous adopted defocus amount. The focus amount may be used.

ステップS24では、ボディ制御装置19は、ステップS23で比較したユーザ選択エリアのデフォーカス量と前回の採用デフォーカス量との差が所定値以内であるか否かを判定する。これらのデフォーカス量の差が所定値以内である場合はステップS25へ進み、ステップS25において、ステップS22で取得したユーザ選択エリアのデフォーカス量を採用して今回の採用デフォーカス量に決定する。すなわち上記の例では、デフォーカス量D[f]を今回の採用デフォーカス量とする。ステップS25を実行したら、ボディ制御装置19は採用デフォーカス量決定処理を終了して図8のステップS13へ進む。一方、ステップS23で比較したユーザ選択エリアのデフォーカス量と前回の採用デフォーカス量との差が所定値以上である場合は、ステップS26へ進む。   In step S24, the body control device 19 determines whether or not the difference between the defocus amount of the user selection area compared in step S23 and the previous adopted defocus amount is within a predetermined value. When the difference between these defocus amounts is within a predetermined value, the process proceeds to step S25, and in step S25, the defocus amount of the user selection area acquired in step S22 is adopted and determined as the currently adopted defocus amount. That is, in the above example, the defocus amount D [f] is set as the currently adopted defocus amount. After executing step S25, the body control device 19 ends the adopted defocus amount determination process and proceeds to step S13 in FIG. On the other hand, if the difference between the defocus amount of the user selection area compared in step S23 and the previous adopted defocus amount is greater than or equal to a predetermined value, the process proceeds to step S26.

ステップS26では、ボディ制御装置19は、ステップS11で各焦点検出エリア45a〜45kについて算出したデフォーカス量のうち、ユーザ選択エリアの周辺エリア、すなわちユーザ選択エリアの周辺にある焦点検出エリアのデフォーカス量を取得する。たとえば前述のように、図7(b)において焦点検出エリア45fがユーザ選択エリアに設定されている場合は、その上下左右に隣接する焦点検出エリア45b、45e、45gおよび45jの各デフォーカス量D[b]、D[e]、D[g]およびD[j]を取得する。   In step S26, the body control device 19 defocuses the focus detection area in the peripheral area of the user selection area, that is, in the periphery of the user selection area, among the defocus amounts calculated for the focus detection areas 45a to 45k in step S11. Get the quantity. For example, as described above, when the focus detection area 45f is set as the user selection area in FIG. 7B, the defocus amounts D of the focus detection areas 45b, 45e, 45g, and 45j adjacent to the upper, lower, left, and right sides thereof. [b], D [e], D [g] and D [j] are obtained.

ステップS27では、ボディ制御装置19は、ステップS26で取得したユーザ選択エリアの周辺エリアの各デフォーカス量のうち、前回の採用デフォーカス量との差が最も小さいデフォーカス量を選択する。たとえば上記の例において、取得したデフォーカス量D[b]、D[e]、D[g]およびD[j]のうち、デフォーカス量D[g]が前回の採用デフォーカス量との差が最も小さい場合には、デフォーカス量D[g]を選択する。   In step S27, the body control device 19 selects a defocus amount having the smallest difference from the previous adopted defocus amount among the defocus amounts in the peripheral area of the user selection area acquired in step S26. For example, in the above example, among the acquired defocus amounts D [b], D [e], D [g], and D [j], the difference between the defocus amount D [g] and the previously adopted defocus amount is Is the smallest, the defocus amount D [g] is selected.

ステップS28では、ボディ制御装置19は、ステップS27で選択したデフォーカス量と前回の採用デフォーカス量との差が所定値以内であるか否かを判定する。これらのデフォーカス量の差が所定値以内である場合はステップS29へ進み、ステップS29において、ステップS27で選択したデフォーカス量を採用して今回の採用デフォーカス量に決定する。すなわち上記の例では、デフォーカス量D[g]を今回の採用デフォーカス量とする。ステップS29を実行したら、ボディ制御装置19は採用デフォーカス量決定処理を終了して図8のステップS13へ進む。   In step S28, the body control device 19 determines whether or not the difference between the defocus amount selected in step S27 and the previous adopted defocus amount is within a predetermined value. If the difference between these defocus amounts is within a predetermined value, the process proceeds to step S29, and in step S29, the defocus amount selected in step S27 is adopted and determined as the current adopted defocus amount. That is, in the above example, the defocus amount D [g] is the current adopted defocus amount. After executing step S29, the body control device 19 ends the adopted defocus amount determination process and proceeds to step S13 in FIG.

一方、ステップS27で選択したデフォーカス量と前回の採用デフォーカス量との差が所定値以上である場合は、ボディ制御装置19はステップS30へ進む。ステップS30では、ボディ制御装置19は、今回は有効なデフォーカス量が検出されなかったとして、ステップS11で算出したいずれのデフォーカス量も採用デフォーカス量に決定せずにデフォーカス量を不採用とする。ステップS30を実行したら、ボディ制御装置19は採用デフォーカス量決定処理を終了して図8のステップS13へ進む。この場合、ステップS13の焦点調節制御においてフォーカシングレンズ8bの駆動制御が行われず、したがって撮影レンズ8の焦点調節状態は変化しない。   On the other hand, if the difference between the defocus amount selected in step S27 and the previous adopted defocus amount is greater than or equal to a predetermined value, the body control device 19 proceeds to step S30. In step S30, the body control device 19 determines that no effective defocus amount has been detected this time, and does not determine any of the defocus amounts calculated in step S11 as the adopted defocus amount. And After executing step S30, the body control device 19 ends the adopted defocus amount determination process and proceeds to step S13 in FIG. In this case, the driving control of the focusing lens 8b is not performed in the focus adjustment control in step S13, and therefore the focus adjustment state of the photographing lens 8 does not change.

ステップS21において追尾優先モードが設定されていると判定し、図10のステップS31へ進んだ場合、ステップS31では、ボディ制御装置19は、ステップS11で各焦点検出エリア45a〜45kについて算出したデフォーカス量のうち、ステップS9の画像追尾演算によって特定された追尾領域内の中心エリアのデフォーカス量を取得する。ここでは、追尾領域の中心に最も近い焦点検出エリアを中心エリアとして、そのデフォーカス量を取得する。すなわち図7(b)の例では、追尾領域49の中心に最も近い位置にある焦点検出エリア45gのデフォーカス量D[g]を取得する。   When it is determined in step S21 that the tracking priority mode is set and the process proceeds to step S31 in FIG. 10, in step S31, the body control device 19 calculates the defocus calculated for each focus detection area 45a to 45k in step S11. Of the amount, the defocus amount of the center area in the tracking region specified by the image tracking calculation in step S9 is acquired. Here, the focus detection area closest to the center of the tracking area is set as the central area, and the defocus amount is acquired. That is, in the example of FIG. 7B, the defocus amount D [g] of the focus detection area 45g located closest to the center of the tracking area 49 is acquired.

ステップS32では、ボディ制御装置19は、ステップS31で取得した追尾領域内の中心エリアのデフォーカス量を、前回実行したステップS12において決定された採用デフォーカス量と比較する。すなわち上記の例では、デフォーカス量D[g]を前回の採用デフォーカス量と比較する。   In step S32, the body control device 19 compares the defocus amount of the central area in the tracking area acquired in step S31 with the adopted defocus amount determined in step S12 executed last time. That is, in the above example, the defocus amount D [g] is compared with the previous adopted defocus amount.

ステップS33では、ボディ制御装置19は、ステップS32で比較した追尾領域内の中心エリアのデフォーカス量と前回の採用デフォーカス量との差が所定値以内であるか否かを判定する。これらの差が所定値以内である場合はステップS34へ進み、ステップS34において、ステップS31で取得した追尾領域内の中心エリアのデフォーカス量を今回の採用デフォーカス量として採用する。すなわち上記の例では、デフォーカス量D[g]を今回の採用デフォーカス量とする。ステップS34を実行したら、ボディ制御装置19は採用デフォーカス量決定処理を終了して図8のステップS13へ進む。一方、ステップS32で比較した追尾領域内の中心エリアのデフォーカス量と前回の採用デフォーカス量との差が所定値以上である場合は、ステップS35へ進む。   In step S33, the body control device 19 determines whether or not the difference between the defocus amount of the central area in the tracking area compared in step S32 and the previous adopted defocus amount is within a predetermined value. If these differences are within a predetermined value, the process proceeds to step S34, and in step S34, the defocus amount of the central area in the tracking area acquired in step S31 is adopted as the current adopted defocus amount. That is, in the above example, the defocus amount D [g] is the current adopted defocus amount. After executing step S34, the body control device 19 ends the adopted defocus amount determination process and proceeds to step S13 in FIG. On the other hand, if the difference between the defocus amount of the central area in the tracking area compared in step S32 and the previous adopted defocus amount is equal to or larger than the predetermined value, the process proceeds to step S35.

ステップS35では、ボディ制御装置19は、ステップS11で各焦点検出エリア45a〜45kについて算出したデフォーカス量のうち、ステップS9の画像追尾演算によって特定された追尾領域内およびその周辺に位置する焦点検出エリアのデフォーカス量を取得する。たとえば、図7(b)の追尾領域49に対して、隣接する焦点検出エリア45c、45hおよび45kの各デフォーカス量D[c]、D[h]およびD[k]を取得する。なお、この際にステップS31で取得した追尾領域内の中心エリアのデフォーカス量、すなわち焦点検出エリア45gのデフォーカス量D[g]は取得対象から除かれる。   In step S35, the body control device 19 detects the focus located in and around the tracking area specified by the image tracking calculation in step S9, out of the defocus amounts calculated for the focus detection areas 45a to 45k in step S11. Get the defocus amount of the area. For example, the defocus amounts D [c], D [h], and D [k] of the focus detection areas 45c, 45h, and 45k adjacent to the tracking region 49 in FIG. At this time, the defocus amount of the central area in the tracking area acquired in step S31, that is, the defocus amount D [g] of the focus detection area 45g is excluded from acquisition targets.

ステップS36では、ボディ制御装置19は、ステップS35で取得した各デフォーカス量のうち、前回の採用デフォーカス量との差が最も小さいデフォーカス量を選択する。たとえば上記の例において、取得したデフォーカス量D[c]、D[h]およびD[k]のうち、デフォーカス量D[k]が前回の採用デフォーカス量との差が最も小さい場合には、デフォーカス量D[k]を選択する。   In step S36, the body control device 19 selects a defocus amount having the smallest difference from the previously adopted defocus amount among the defocus amounts acquired in step S35. For example, in the above example, when the difference between the acquired defocus amount D [c], D [h], and D [k] is the smallest difference between the defocus amount D [k] and the previous adopted defocus amount. Selects the defocus amount D [k].

ステップS37では、ボディ制御装置19は、ステップS36で選択したデフォーカス量と前回の採用デフォーカス量との差が所定値以内であるか否かを判定する。これらの差が所定値以内である場合はステップS38へ進み、ステップS38において、ステップS36で選択したデフォーカス量を採用して今回の採用デフォーカス量に決定する。すなわ
ち上記の例では、デフォーカス量D[k]を今回の採用デフォーカス量とする。ステップS38を実行したら、ボディ制御装置19は採用デフォーカス量決定処理を終了して図8のステップS13へ進む。一方、ステップS36で選択したデフォーカス量と前回の採用デフォーカス量との差が所定値以上である場合は、ステップS39へ進む。
In step S37, the body control device 19 determines whether or not the difference between the defocus amount selected in step S36 and the previous adopted defocus amount is within a predetermined value. If the difference is within the predetermined value, the process proceeds to step S38, and in step S38, the defocus amount selected in step S36 is adopted to determine the currently adopted defocus amount. That is, in the above example, the defocus amount D [k] is the current adopted defocus amount. After executing step S38, the body control device 19 ends the adopted defocus amount determination process and proceeds to step S13 in FIG. On the other hand, if the difference between the defocus amount selected in step S36 and the previous adopted defocus amount is greater than or equal to a predetermined value, the process proceeds to step S39.

ステップS39では、ボディ制御装置19は、ステップS11で各焦点検出エリア45a〜45kについて算出したデフォーカス量のうち、前回の採用エリア、すなわち前回の採用デフォーカス量を検出した焦点検出エリアについて今回検出されたデフォーカス量と、その周辺に位置する焦点検出エリアのデフォーカス量とを取得する。たとえば、前回の採用エリアが図7(b)の焦点検出エリア45aであったとすると、そのデフォーカス量D[a]と、焦点検出エリア45aに隣接する焦点検出エリア45b、45d、45eおよび45fの各デフォーカス量D[b]、D[d]、D[e]およびD[f]とを取得する。   In step S39, the body control device 19 detects this time for the previous adoption area, that is, the focus detection area in which the previous adoption defocus amount is detected, among the defocus amounts calculated for the focus detection areas 45a to 45k in step S11. The obtained defocus amount and the defocus amount of the focus detection area located in the vicinity thereof are acquired. For example, if the previous adoption area is the focus detection area 45a in FIG. 7B, the defocus amount D [a] and the focus detection areas 45b, 45d, 45e, and 45f adjacent to the focus detection area 45a. Each defocus amount D [b], D [d], D [e] and D [f] is acquired.

ステップS40では、ボディ制御装置19は、ステップS39で取得した各デフォーカス量のうち、前回の採用デフォーカス量との差が最も小さいデフォーカス量を選択する。たとえば上記の例において、取得したデフォーカス量D[b]、D[d]、D[e]およびD[
f]のうち、デフォーカス量D[f]が前回の採用デフォーカス量との差が最も小さい場合
には、デフォーカス量D[f]を選択する。
In step S40, the body control device 19 selects a defocus amount having the smallest difference from the previously adopted defocus amount among the defocus amounts acquired in step S39. For example, in the above example, the acquired defocus amounts D [b], D [d], D [e], and D [
If the difference between the defocus amount D [f] and the previously adopted defocus amount is the smallest among the f], the defocus amount D [f] is selected.

ステップS41では、ボディ制御装置19は、ステップS40で選択したデフォーカス量と前回の採用デフォーカス量との差が所定値以内であるか否かを判定する。これらの差が所定値以内である場合はステップS42へ進み、ステップS42において、ステップS40で選択したデフォーカス量を採用して今回の採用デフォーカス量に決定する。すなわち上記の例では、デフォーカス量D[f]を今回の採用デフォーカス量とする。ステップS42を実行したら、ボディ制御装置19は採用デフォーカス量決定処理を終了して図8のステップS13へ進む。   In step S41, the body control device 19 determines whether or not the difference between the defocus amount selected in step S40 and the previous adopted defocus amount is within a predetermined value. If these differences are within a predetermined value, the process proceeds to step S42, and in step S42, the defocus amount selected in step S40 is adopted and determined as the current adopted defocus amount. That is, in the above example, the defocus amount D [f] is set as the currently adopted defocus amount. After executing step S42, the body control device 19 ends the adopted defocus amount determination process and proceeds to step S13 in FIG.

一方、ステップS40で選択したデフォーカス量と前回の採用デフォーカス量との差が所定値以上である場合は、ボディ制御装置19はステップS43へ進む。ステップS43では、ボディ制御装置19は、今回は有効なデフォーカス量が検出されなかったとして、ステップS11で算出したいずれのデフォーカス量も採用デフォーカス量に決定せずにデフォーカス量を不採用とする。ステップS43を実行したら、ボディ制御装置19は採用デフォーカス量決定処理を終了して図8のステップS13へ進む。この場合、ステップS13の焦点調節制御においてフォーカシングレンズ8bの駆動制御が行われず、したがって撮影レンズ8の焦点調節状態は変化しない。   On the other hand, if the difference between the defocus amount selected in step S40 and the previous adopted defocus amount is greater than or equal to a predetermined value, the body control device 19 proceeds to step S43. In step S43, the body control device 19 determines that no effective defocus amount has been detected this time, and does not determine any of the defocus amounts calculated in step S11 as the adopted defocus amount. And After executing step S43, the body control device 19 ends the adopted defocus amount determination process and proceeds to step S13 in FIG. In this case, the driving control of the focusing lens 8b is not performed in the focus adjustment control in step S13, and therefore the focus adjustment state of the photographing lens 8 does not change.

以上説明したような採用デフォーカス量決定処理が図8のステップS12で実行されることにより、ステップS11で算出したデフォーカス量のいずれかが今回の焦点調節に用いる採用デフォーカス量として決定される。この採用デフォーカス量に基づいて、ステップS13において焦点調節制御が行われることにより、撮影レンズ8の焦点調節状態が被写体の動きに応じて適切に変化する。   The adopted defocus amount determination process as described above is executed in step S12 of FIG. 8, and any one of the defocus amounts calculated in step S11 is determined as the adopted defocus amount used for the current focus adjustment. . Based on this adopted defocus amount, focus adjustment control is performed in step S13, so that the focus adjustment state of the taking lens 8 is appropriately changed according to the movement of the subject.

次に、ステップS15で実行する撮影処理について説明する。図11は、撮影処理のフローチャートである。ステップS51では、ボディ制御装置19は、連写中であるか否かを判定する。所定の連写操作、たとえばカメラ1において連写モードが設定されており、シャッターボタンの全押し操作が継続中である場合には、連写中であると判定してステップS55へ進む。一方、このような連写操作が行われていない場合は、連写中でないと判定してステップS52へ進む。   Next, the photographing process executed in step S15 will be described. FIG. 11 is a flowchart of the photographing process. In step S51, the body control device 19 determines whether continuous shooting is in progress. If a predetermined continuous shooting operation, for example, the continuous shooting mode is set in the camera 1 and the shutter button is fully pressed, it is determined that continuous shooting is being performed, and the process proceeds to step S55. On the other hand, when such a continuous shooting operation is not performed, it is determined that continuous shooting is not being performed, and the process proceeds to step S52.

ステップS52では、ボディ制御装置19は、クイックリターンミラー5およびサブミ
ラー6を撮影光路から退避させるためのミラーアップを開始する。ミラーアップが終了したら次のステップS53を実行する。ステップS53では、ボディ制御装置19は、シャッター7を開放して撮影レンズ8により結像された被写体像を第1撮像素子4により撮像することにより、撮影画像データを取得する。この撮像画像データは、必要な画像処理が施された後、メモリカードなどの画像記録媒体(不図示)に記録される。ステップS54では、撮影光路から退避されたクイックリターンミラー5およびサブミラー6を撮影光路に戻すためのミラーダウンを開始する。ステップS54を実行したら、ボディ制御装置19は撮影処理を終了する。
In step S52, the body control device 19 starts mirror up for retracting the quick return mirror 5 and the sub mirror 6 from the photographing optical path. When the mirror up is completed, the next step S53 is executed. In step S <b> 53, the body control device 19 acquires the captured image data by opening the shutter 7 and capturing the subject image formed by the photographing lens 8 with the first image sensor 4. The captured image data is recorded on an image recording medium (not shown) such as a memory card after necessary image processing. In step S54, mirror down for returning the quick return mirror 5 and the sub mirror 6 retracted from the photographing optical path to the photographing optical path is started. After executing step S54, the body control device 19 ends the photographing process.

一方、ステップS51で連写中であると判定してステップS55へ進んだ場合、ステップS55では、ボディ制御装置19は、設定されているモードが前述の選択エリア優先モードと追尾優先モードのいずれであるかを判定する。選択エリア優先モードが設定されている場合はステップS56へ進み、追尾優先モードが設定されている場合はステップS65へ進む。   On the other hand, if it is determined in step S51 that continuous shooting is in progress and the process proceeds to step S55, in step S55, the body control device 19 determines whether the set mode is the selection area priority mode or the tracking priority mode described above. Determine if there is. When the selection area priority mode is set, the process proceeds to step S56, and when the tracking priority mode is set, the process proceeds to step S65.

ステップS56では、ボディ制御装置19は、測距素子10と第2撮像素子16に対する露光制御を行う。この露光制御において、測距素子10および第2撮像素子16に対して適切な露光時間がそれぞれ設定される。設定された露光時間を経過することにより、測距素子10からは焦点検出信号が出力され、第2撮像素子16からは画像情報が出力される。ステップS56の露光制御において設定された露光時間が経過した後、ステップS57では、ボディ制御装置19は、クイックリターンミラー5およびサブミラー6を撮影光路から退避させるためのミラーアップを開始する。   In step S <b> 56, the body control device 19 performs exposure control for the distance measuring element 10 and the second imaging element 16. In this exposure control, appropriate exposure times are set for the distance measuring element 10 and the second imaging element 16, respectively. When the set exposure time elapses, a focus detection signal is output from the distance measuring element 10 and image information is output from the second imaging element 16. After the exposure time set in the exposure control in step S56 has elapsed, in step S57, the body control device 19 starts mirror up for retracting the quick return mirror 5 and the sub mirror 6 from the photographing optical path.

ミラーアップ開始後のステップS58では、ボディ制御装置19は、ユーザ選択エリアを優先してデフォーカス量を検出し、撮影レンズ8の焦点調節を行うための選択エリア優先焦点検出演算処理を実行する。この選択エリア優先焦点検出演算処理の詳細な内容については、後で図12のフローチャートにより説明する。ステップS58において選択エリア優先焦点検出演算処理を実行することにより、ボディ制御装置19は、いずれかの焦点検出エリアについてデフォーカス量を求め、今回の焦点調節に用いる採用デフォーカス量を決定する。   In step S58 after the start of mirror up, the body control device 19 detects the defocus amount with priority on the user selection area, and executes a selection area priority focus detection calculation process for adjusting the focus of the photographing lens 8. Details of the selection area priority focus detection calculation processing will be described later with reference to the flowchart of FIG. By executing the selection area priority focus detection calculation process in step S58, the body control device 19 obtains the defocus amount for any focus detection area and determines the adopted defocus amount used for the current focus adjustment.

ステップS59では、ボディ制御装置19は、ステップS58で決定された採用デフォーカス量をレンズ駆動量に変換し、レンズ制御装置22によりフォーカシングレンズ8bを駆動することにより、撮影レンズ8の焦点調節を行う。なお、ステップS58の選択エリア優先焦点検出演算処理とステップS59の焦点調節制御は、ミラーアップ中に行うこととしてよい。   In step S59, the body control device 19 converts the adopted defocus amount determined in step S58 into a lens drive amount, and the lens control device 22 drives the focusing lens 8b to adjust the focus of the photographing lens 8. . Note that the selection area priority focus detection calculation processing in step S58 and the focus adjustment control in step S59 may be performed during mirror up.

ミラーアップが終了したら、ボディ制御装置19はステップS60を実行する。ステップS60では、ボディ制御装置19は、シャッター7を開放して撮影レンズ8により結像された被写体像を第1撮像素子4により撮像して、撮影画像データを取得する。その後、取得した撮影画像データを前述のように画像記録媒体に記録する。ステップS61では、撮影光路から退避されたクイックリターンミラー5およびサブミラー6を撮影光路に戻すためのミラーダウンを開始する。   When the mirror up is completed, the body control device 19 executes Step S60. In step S <b> 60, the body control device 19 opens the shutter 7 and images the subject image formed by the photographing lens 8 with the first image sensor 4, and acquires photographed image data. Thereafter, the acquired photographed image data is recorded on the image recording medium as described above. In step S61, mirror down for returning the quick return mirror 5 and the sub mirror 6 retracted from the photographing optical path to the photographing optical path is started.

ステップS62〜S64では、ボディ制御装置19は、図8のステップS7〜S9と同様の処理をそれぞれ行う。すなわち、ステップS62では、第2撮像素子16から出力される画像情報を取得し、次のステップS63では、ステップS62で取得した画像情報に基づいて各画素の色情報RG、BGおよび輝度情報Lを演算し、続くステップS64では、ステップS63で算出した色情報および輝度情報に基づいて画像追尾演算を実行する。これにより、取得した画像情報に対応する追尾用画像における基準情報に相当する画像、
すなわちテンプレート画像48相当の画像の位置が認識される。
In steps S62 to S64, the body control device 19 performs processes similar to those in steps S7 to S9 in FIG. That is, in step S62, image information output from the second image sensor 16 is acquired, and in the next step S63, the color information RG, BG and luminance information L of each pixel are obtained based on the image information acquired in step S62. In the subsequent step S64, an image tracking calculation is executed based on the color information and luminance information calculated in step S63. Thereby, an image corresponding to the reference information in the image for tracking corresponding to the acquired image information,
That is, the position of the image corresponding to the template image 48 is recognized.

ステップS64を実行したら、ボディ制御装置19は、ステップS51へ戻って前述のような処理を繰り返す。これにより、選択エリア優先モードが設定されている場合は、連写中にステップS56〜S64の処理が繰り返される。その結果、ステップS60が繰り返し実行され、第1撮像素子4による撮像が複数回繰り返し行われる。   If step S64 is performed, the body control apparatus 19 will return to step S51 and repeat the above processes. Thereby, when the selection area priority mode is set, the processing of steps S56 to S64 is repeated during continuous shooting. As a result, step S60 is repeatedly executed, and imaging by the first image sensor 4 is repeatedly performed a plurality of times.

ステップS55において追尾優先モードが設定されていると判定しステップS65へ進んだ場合、ステップS65では、ボディ制御装置19は、ステップS56と同様に測距素子10と第2撮像素子16に対する露光制御を行う。設定された露光時間が経過した後、ステップS66では、ボディ制御装置19は、クイックリターンミラー5およびサブミラー6を撮影光路から退避させるためのミラーアップを開始する。   When it is determined in step S55 that the tracking priority mode is set and the process proceeds to step S65, in step S65, the body control device 19 performs exposure control on the distance measuring element 10 and the second image sensor 16 in the same manner as in step S56. Do. After the set exposure time has elapsed, in step S66, the body control device 19 starts mirror up for retracting the quick return mirror 5 and the sub mirror 6 from the photographing optical path.

ミラーアップ開始後のステップS67では、ボディ制御装置19は、前半焦点検出演算処理を実行する。この前半焦点検出演算では、前回の採用エリア、すなわち前回実行したステップS71の後半焦点検出演算処理で決定された採用デフォーカス量を検出した焦点検出エリアと、その周辺に位置する焦点検出エリアとについて、測距素子10からの焦点検出信号に基づいてデフォーカス量を算出する。たとえば、前回の採用エリアが図7(b)の焦点検出エリア45aであったとすると、その焦点検出エリア45aにおける今回のデフォーカス量D[a]と、焦点検出エリア45aに隣接する焦点検出エリア45b、45d、45eおよび45fにおける今回の各デフォーカス量D[b]、D[d]、D[e]およびD[f]とを求める。これにより、ステップS70で画像追尾演算を行う前に、複数の焦点検出エリア45a〜45kのうち前回の採用エリアおよびその周辺エリアとして予め選択された焦点検出エリアに対して、撮影レンズ8の焦点調節状態が求められる。なお、第2撮像素子16よりも先に測距素子10の露光時間が経過した場合は、ステップS66のミラーアップ開始前にステップS67を実行してもよい。   In step S67 after the start of mirror up, the body control device 19 executes a first half focus detection calculation process. In the first half focus detection calculation, the previous adoption area, that is, the focus detection area that detects the adopted defocus amount determined in the second half focus detection calculation process of step S71 executed last time, and the focus detection area located in the vicinity thereof. The defocus amount is calculated based on the focus detection signal from the distance measuring element 10. For example, if the previous adoption area is the focus detection area 45a in FIG. 7B, the current defocus amount D [a] in the focus detection area 45a and the focus detection area 45b adjacent to the focus detection area 45a. , 45d, 45e and 45f, the current defocus amounts D [b], D [d], D [e] and D [f] are obtained. Thus, before performing the image tracking calculation in step S70, the focus adjustment of the photographing lens 8 with respect to the focus detection area preliminarily selected as the previous adopted area and its peripheral area among the plurality of focus detection areas 45a to 45k. A state is required. Note that if the exposure time of the distance measuring element 10 has passed before the second image sensor 16, step S67 may be executed before the start of mirror up in step S66.

ステップS68〜S70では、ボディ制御装置19は、ステップS62〜S64と同じく、図8のステップS7〜S9と同様の処理をそれぞれ行う。すなわち、ステップS68では、第2撮像素子16から出力される画像情報を取得し、次のステップS69では、ステップS68で取得した画像情報に基づいて各画素の色情報RG、BGおよび輝度情報Lを演算し、続くステップS70では、ステップS69で算出した色情報および輝度情報に基づいて画像追尾演算を実行する。これにより、取得した画像情報に対応する追尾用画像における基準情報に相当する画像、すなわちテンプレート画像48相当の画像の位置が認識される。   In steps S68 to S70, the body control device 19 performs the same processes as steps S7 to S9 in FIG. 8 as in steps S62 to S64. That is, in step S68, image information output from the second image sensor 16 is acquired, and in the next step S69, the color information RG, BG and luminance information L of each pixel are obtained based on the image information acquired in step S68. In the subsequent step S70, an image tracking calculation is executed based on the color information and luminance information calculated in step S69. Thereby, the position of the image corresponding to the reference information in the tracking image corresponding to the acquired image information, that is, the position of the image corresponding to the template image 48 is recognized.

ステップS71では、ボディ制御装置19は、ステップS70の画像追尾演算によって認識された基準情報に相当する画像の位置に対してデフォーカス量を検出し、撮影レンズ8の焦点調節を行うための後半焦点検出演算処理を実行する。この後半焦点検出演算処理の詳細な内容については、後で図13のフローチャートにより説明する。ステップS71において後半焦点検出演算処理を実行することにより、ボディ制御装置19は、いずれかの焦点検出エリアについてデフォーカス量を求め、今回の焦点調節に用いる採用デフォーカス量を決定する。   In step S71, the body control device 19 detects the defocus amount with respect to the position of the image corresponding to the reference information recognized by the image tracking calculation in step S70, and the latter half focus for adjusting the focus of the photographing lens 8. Execute detection calculation processing. Details of the latter half focus detection calculation processing will be described later with reference to the flowchart of FIG. By executing the latter half focus detection calculation processing in step S71, the body control device 19 obtains the defocus amount for any focus detection area, and determines the adopted defocus amount used for the current focus adjustment.

ステップS72では、ボディ制御装置19は、ステップS71で決定された採用デフォーカス量をレンズ駆動量に変換し、レンズ制御装置22によりフォーカシングレンズ8bを駆動することにより、撮影レンズ8の焦点調節を行う。なお、ステップS67〜S72の各処理は、いずれもミラーアップ中に行うこととしてよい。   In step S72, the body control device 19 converts the adopted defocus amount determined in step S71 into a lens drive amount, and the lens control device 22 drives the focusing lens 8b to adjust the focus of the photographing lens 8. . Note that each of the processes in steps S67 to S72 may be performed during mirror up.

ミラーアップが終了したら、ボディ制御装置19はステップS73を実行する。ステッ
プS73では、ボディ制御装置19は、シャッター7を開放して撮影レンズ8により結像された被写体像を第1撮像素子4により撮像して、撮影画像データを取得する。その後、取得した撮影画像データを前述のように画像記録媒体に記録する。ステップS74では、撮影光路から退避されたクイックリターンミラー5およびサブミラー6を撮影光路に戻すためのミラーダウンを開始する。
When the mirror up is completed, the body control device 19 executes Step S73. In step S <b> 73, the body control device 19 opens the shutter 7 and images the subject image formed by the photographing lens 8 with the first image sensor 4, and acquires photographed image data. Thereafter, the acquired photographed image data is recorded on the image recording medium as described above. In step S74, mirror down for returning the quick return mirror 5 and the sub mirror 6 retracted from the photographing optical path to the photographing optical path is started.

ステップS74を実行したら、ボディ制御装置19は、ステップS51へ戻って前述のような処理を繰り返す。これにより、追尾優先モードが設定されている場合は、連写中にステップS65〜S74の処理が繰り返される。その結果、ステップS73が繰り返し実行され、第1撮像素子4による撮像が複数回繰り返し行われる。この複数回の撮像の間隔に、ステップS67の前半焦点検出演算処理およびステップS71の後半焦点検出演算処理が行われる。   If step S74 is performed, the body control apparatus 19 will return to step S51, and will repeat the above processes. Thereby, when the tracking priority mode is set, the processes of steps S65 to S74 are repeated during continuous shooting. As a result, step S73 is repeatedly executed, and imaging by the first image sensor 4 is repeatedly performed a plurality of times. The first half focus detection calculation process in step S67 and the second half focus detection calculation process in step S71 are performed at intervals of the plurality of times of imaging.

尚、上記ステップS65〜S74は、第1撮像素子4による撮影時間が所定時間よりも長い場合に行うようにしても良い。つまり、被写体輝度が暗い場合などにより露出時間が所定秒時よりも長くなったり、第1撮像素子4の蓄積時間が所定の蓄積時間よりも長くなったりする場合には、ステップS70に示すような画像追尾演算の前にステップS67に示すような前半焦点検出演算処理を行い、画像追尾演算の後にステップS71に示すような後半焦点検出演算処理を行う。一方、露出時間が所定秒時よりも短い場合や蓄積時間が所定の蓄積時間よりも短い場合は、画像追尾演算を行ってから焦点検出演算処理を行うようにすれば良い。   In addition, you may make it perform said step S65-S74 when the imaging | photography time by the 1st image pick-up element 4 is longer than predetermined time. That is, when the exposure time is longer than the predetermined time due to dark subject brightness or the accumulation time of the first image sensor 4 is longer than the predetermined accumulation time, as shown in step S70. Before the image tracking calculation, the first half focus detection calculation process as shown in step S67 is performed, and after the image tracking calculation, the second half focus detection calculation process as shown in step S71 is performed. On the other hand, when the exposure time is shorter than the predetermined time or when the accumulation time is shorter than the predetermined accumulation time, the focus detection calculation process may be performed after performing the image tracking calculation.

これにより、追尾のための画像を得るまでに時間を要するような場合でも、同様に、効率的に焦点検出演算処理を行うことができる。   Thus, even when it takes time to obtain an image for tracking, similarly, the focus detection calculation process can be performed efficiently.

ここで、ステップS58で実行する選択エリア優先焦点検出演算処理について説明する。図12は、選択エリア優先焦点検出演算処理のフローチャートである。ステップS81では、ボディ制御装置19は、焦点検出エリア45a〜45kのうち、ユーザが予め選択した焦点検出エリアであるユーザ選択エリアについて、測距素子10からの焦点検出信号を取得してデフォーカス量を算出する。たとえば図7(b)において、前述のように焦点検出エリア45fがユーザ選択エリアに設定されている場合は、この焦点検出エリア45fについて焦点検出信号を取得し、デフォーカス量D[f]を算出する。   Here, the selection area priority focus detection calculation process executed in step S58 will be described. FIG. 12 is a flowchart of the selection area priority focus detection calculation process. In step S81, the body control device 19 acquires a focus detection signal from the distance measuring element 10 for a user selection area that is a focus detection area selected in advance by the user from among the focus detection areas 45a to 45k, and the defocus amount. Is calculated. For example, in FIG. 7B, when the focus detection area 45f is set as the user selection area as described above, a focus detection signal is acquired for the focus detection area 45f, and the defocus amount D [f] is calculated. To do.

ステップS82では、ボディ制御装置19は、ステップS81で算出したユーザ選択エリアのデフォーカス量を、前回の選択エリア優先焦点検出演算処理において決定された採用デフォーカス量と比較する。すなわち上記の例では、ユーザ選択エリアのデフォーカス量として算出したデフォーカス量D[f]を前回の採用デフォーカス量と比較する。なお、最初に選択エリア優先焦点検出演算処理を実行するときには、図8のステップS12で最後に決定された採用デフォーカス量を前回の採用デフォーカス量とすればよい。   In step S82, the body control device 19 compares the defocus amount of the user selection area calculated in step S81 with the adopted defocus amount determined in the previous selection area priority focus detection calculation process. That is, in the above example, the defocus amount D [f] calculated as the defocus amount of the user selection area is compared with the previous adopted defocus amount. When the selection area priority focus detection calculation process is executed for the first time, the last adopted defocus amount determined in step S12 in FIG. 8 may be used as the previous adopted defocus amount.

ステップS83では、ボディ制御装置19は、ステップS82で比較したユーザ選択エリアのデフォーカス量と前回の採用デフォーカス量との差が所定値以内であるか否かを判定する。これらのデフォーカス量の差が所定値以内である場合はステップS84へ進み、ステップS84において、ステップS81で算出したユーザ選択エリアのデフォーカス量を採用して今回の採用デフォーカス量に決定する。すなわち上記の例では、デフォーカス量D[f]を今回の採用デフォーカス量とする。ステップS84を実行したら、ボディ制御装置19は選択エリア優先焦点検出演算処理を終了して図11のステップS59へ進む。一方、ステップS82で比較したユーザ選択エリアのデフォーカス量と前回の採用デフォーカス量との差が所定値以上である場合は、ステップS85へ進む。   In step S83, the body control device 19 determines whether or not the difference between the defocus amount of the user selection area compared in step S82 and the previous adopted defocus amount is within a predetermined value. When the difference between these defocus amounts is within the predetermined value, the process proceeds to step S84, and in step S84, the defocus amount of the user selection area calculated in step S81 is adopted and determined as the current adopted defocus amount. That is, in the above example, the defocus amount D [f] is set as the currently adopted defocus amount. After executing step S84, the body control device 19 ends the selected area priority focus detection calculation process and proceeds to step S59 in FIG. On the other hand, if the difference between the defocus amount of the user selection area compared in step S82 and the previous adopted defocus amount is greater than or equal to a predetermined value, the process proceeds to step S85.

ステップS85では、ボディ制御装置19は、焦点検出エリア45a〜45kのうち、ユーザ選択エリアの周辺エリア、すなわちユーザ選択エリアの周辺にある焦点検出エリアについて、測距素子10からの焦点検出信号を取得してデフォーカス量を算出する。たとえば前述のように、図7(b)において焦点検出エリア45fがユーザ選択エリアに設定されている場合は、その上下左右に隣接する焦点検出エリア45b、45e、45gおよび45jについて焦点検出信号を取得し、デフォーカス量D[b]、D[e]、D[g]およびD[j]を算出する。   In step S85, the body control device 19 acquires a focus detection signal from the distance measuring element 10 for the peripheral area of the user selection area, that is, the focus detection area in the vicinity of the user selection area among the focus detection areas 45a to 45k. To calculate the defocus amount. For example, as described above, when the focus detection area 45f is set as the user selection area in FIG. 7B, focus detection signals are acquired for the focus detection areas 45b, 45e, 45g, and 45j adjacent to the upper, lower, left, and right sides. Then, defocus amounts D [b], D [e], D [g], and D [j] are calculated.

ステップS86では、ボディ制御装置19は、ステップS85で算出したユーザ選択エリアの周辺エリアの各デフォーカス量のうち、前回の採用デフォーカス量との差が最も小さいデフォーカス量を選択する。たとえば上記の例において、算出したデフォーカス量D[b]、D[e]、D[g]およびD[j]のうち、デフォーカス量D[g]が前回の採用デフォーカス量との差が最も小さい場合には、デフォーカス量D[g]を選択する。   In step S86, the body control device 19 selects a defocus amount having the smallest difference from the previous adopted defocus amount among the defocus amounts in the peripheral area of the user selection area calculated in step S85. For example, in the above example, of the calculated defocus amounts D [b], D [e], D [g], and D [j], the defocus amount D [g] is the difference from the previous adopted defocus amount. Is the smallest, the defocus amount D [g] is selected.

ステップS87では、ボディ制御装置19は、ステップS86で選択したデフォーカス量と前回の採用デフォーカス量との差が所定値以内であるか否かを判定する。これらのデフォーカス量の差が所定値以内である場合はステップS88へ進み、ステップS88において、ステップS86で選択したデフォーカス量を採用して今回の採用デフォーカス量に決定する。すなわち上記の例では、デフォーカス量D[g]を今回の採用デフォーカス量とする。ステップS88を実行したら、ボディ制御装置19は選択エリア優先焦点検出演算処理を終了して図11のステップS59へ進む。一方、ステップS86で選択したデフォーカス量と前回の採用デフォーカス量との差が所定値以上である場合は、ステップS89へ進む。   In step S87, the body control device 19 determines whether or not the difference between the defocus amount selected in step S86 and the previous adopted defocus amount is within a predetermined value. When the difference between these defocus amounts is within a predetermined value, the process proceeds to step S88, and in step S88, the defocus amount selected in step S86 is adopted and determined as the current adopted defocus amount. That is, in the above example, the defocus amount D [g] is the current adopted defocus amount. After executing step S88, the body control device 19 ends the selected area priority focus detection calculation process and proceeds to step S59 in FIG. On the other hand, if the difference between the defocus amount selected in step S86 and the previous adopted defocus amount is greater than or equal to a predetermined value, the process proceeds to step S89.

ステップS89では、ボディ制御装置19は、焦点検出エリア45a〜45kのうち、前回のステップS64で実行した画像追尾演算によって特定された追尾領域内およびその周辺に位置する焦点検出エリアについて、測距素子10からの焦点検出信号を取得してデフォーカス量を算出する。たとえば、図7(b)の追尾領域49に対して、隣接する焦点検出エリア45c、45hおよび45kの各デフォーカス量D[c]、D[h]およびD[k]を算出する。なお、焦点検出エリア45gのデフォーカス量D[g]は既にステップS85で算出済みであるため、ここでは算出対象から除かれる。   In step S89, the body control device 19 uses the ranging element for the focus detection areas located in and around the tracking area specified by the image tracking calculation executed in the previous step S64 among the focus detection areas 45a to 45k. The focus detection signal from 10 is acquired and the defocus amount is calculated. For example, the defocus amounts D [c], D [h], and D [k] of the adjacent focus detection areas 45c, 45h, and 45k are calculated for the tracking region 49 in FIG. 7B. Note that the defocus amount D [g] of the focus detection area 45g has already been calculated in step S85, and is excluded from the calculation target here.

ステップS90では、ボディ制御装置19は、ステップS89で算出した各デフォーカス量のうち、前回の採用デフォーカス量との差が最も小さいデフォーカス量を選択する。たとえば上記の例において、算出したデフォーカス量D[c]、D[h]およびD[k]のうち、デフォーカス量D[k]が前回の採用デフォーカス量との差が最も小さい場合には、デフォーカス量D[k]を選択する。   In step S90, the body control device 19 selects a defocus amount having the smallest difference from the previously adopted defocus amount among the defocus amounts calculated in step S89. For example, in the above example, when the defocus amount D [k] is the smallest difference from the previous adopted defocus amount among the calculated defocus amounts D [c], D [h], and D [k]. Selects the defocus amount D [k].

ステップS91では、ボディ制御装置19は、ステップS90で選択したデフォーカス量と前回の採用デフォーカス量との差が所定値以内であるか否かを判定する。これらの差が所定値以内である場合はステップS92へ進み、ステップS92において、ステップS90で選択したデフォーカス量を採用して今回の採用デフォーカス量に決定する。すなわち上記の例では、デフォーカス量D[k]を今回の採用デフォーカス量とする。ステップS92を実行したら、ボディ制御装置19は選択エリア優先焦点検出演算処理を終了して図11のステップS59へ進む。   In step S91, the body control device 19 determines whether or not the difference between the defocus amount selected in step S90 and the previous adopted defocus amount is within a predetermined value. If the difference is within the predetermined value, the process proceeds to step S92, and in step S92, the defocus amount selected in step S90 is adopted and determined as the current adopted defocus amount. That is, in the above example, the defocus amount D [k] is the current adopted defocus amount. After executing step S92, the body control device 19 ends the selected area priority focus detection calculation process and proceeds to step S59 in FIG.

一方、ステップS90で選択したデフォーカス量と前回の採用デフォーカス量との差が所定値以上である場合は、ボディ制御装置19はステップS93へ進む。ステップS93では、ボディ制御装置19は、今回は有効なデフォーカス量が検出されなかったとして、算出したいずれのデフォーカス量も採用デフォーカス量に決定せずにデフォーカス量を不
採用とする。ステップS93を実行したら、ボディ制御装置19は選択エリア優先焦点検出演算処理を終了して図11のステップS59へ進む。この場合、ステップS59の焦点調節制御においてフォーカシングレンズ8bの駆動制御が行われず、したがって撮影レンズ8の焦点調節状態は変化しない。
On the other hand, if the difference between the defocus amount selected in step S90 and the previous adopted defocus amount is greater than or equal to a predetermined value, the body control device 19 proceeds to step S93. In step S93, the body control device 19 determines that no effective defocus amount has been detected this time, and does not determine any of the calculated defocus amounts as the adopted defocus amount, and does not adopt the defocus amount. After executing Step S93, the body control device 19 ends the selected area priority focus detection calculation process and proceeds to Step S59 in FIG. In this case, drive control of the focusing lens 8b is not performed in the focus adjustment control in step S59, and therefore the focus adjustment state of the photographing lens 8 does not change.

以上説明したような選択エリア優先焦点検出演算処理が図11のステップS58で実行されることにより、ユーザ選択エリアを優先してデフォーカス量が検出され、今回の焦点調節に用いる採用デフォーカス量が決定される。この採用デフォーカス量に基づいて、ステップS59において焦点調節制御が行われることにより、撮影レンズ8の焦点調節状態が被写体の動きに応じて連写中に適切に変化する。   By executing the selection area priority focus detection calculation process as described above in step S58 of FIG. 11, the defocus amount is detected giving priority to the user selection area, and the adopted defocus amount used for the current focus adjustment is determined. It is determined. Based on this adopted defocus amount, focus adjustment control is performed in step S59, so that the focus adjustment state of the photographing lens 8 is appropriately changed during continuous shooting according to the movement of the subject.

続いて、図11のステップS71で実行する後半焦点検出演算処理について説明する。図13は、後半焦点検出演算処理のフローチャートである。ステップS101では、ボディ制御装置19は、直前のステップS70で実行した今回の画像追尾演算において、追尾領域を特定できたか否かを判定する。追尾領域を特定できた場合、すなわち追尾用画像においてテンプレート画像48を表す基準情報の位置が認識できた場合は、ステップS102へ進む。一方、追尾領域を特定できなかった場合、すなわち追尾用画像においてテンプレート画像48を表す基準情報の位置が認識できなかった場合は、ボディ制御装置19は後半焦点検出演算処理を終了して図11のステップS72へ進む。これにより、追尾領域を特定できなかった場合には、ボディ制御装置19は、後半焦点検出演算処理を実行して撮影レンズ8の焦点調節状態を検出することを禁止する。   Subsequently, the latter half focus detection calculation process executed in step S71 of FIG. 11 will be described. FIG. 13 is a flowchart of the latter half focus detection calculation process. In step S101, the body control device 19 determines whether or not the tracking area has been specified in the current image tracking calculation executed in the immediately preceding step S70. If the tracking area can be specified, that is, if the position of the reference information representing the template image 48 in the tracking image can be recognized, the process proceeds to step S102. On the other hand, when the tracking area cannot be specified, that is, when the position of the reference information representing the template image 48 in the tracking image cannot be recognized, the body control device 19 ends the second half focus detection calculation process and is shown in FIG. Proceed to step S72. As a result, when the tracking area cannot be specified, the body control device 19 prohibits the detection of the focus adjustment state of the photographing lens 8 by executing the latter half focus detection calculation process.

ステップS102では、ボディ制御装置19は、焦点検出エリア45a〜45kのうち、ステップS70の画像追尾演算によって特定された追尾領域内の中心エリアのデフォーカス量、すなわち追尾領域の中心に最も近い焦点検出エリアについて、測距素子10からの焦点検出信号を取得してデフォーカス量を算出する。すなわち図7(b)の例では、追尾領域49の中心に最も近い位置にある焦点検出エリア45gについて焦点検出信号を取得し、デフォーカス量D[g]を算出する。   In step S102, the body control device 19 detects the defocus amount of the center area in the tracking area identified by the image tracking calculation in step S70 among the focus detection areas 45a to 45k, that is, the focus detection closest to the center of the tracking area. For the area, the focus detection signal from the distance measuring element 10 is acquired and the defocus amount is calculated. That is, in the example of FIG. 7B, a focus detection signal is acquired for the focus detection area 45g located closest to the center of the tracking area 49, and the defocus amount D [g] is calculated.

ステップS103では、ボディ制御装置19は、ステップS102で算出した追尾領域内の中心エリアのデフォーカス量を、前回実行した後半焦点検出演算処理において決定された採用デフォーカス量と比較する。すなわち上記の例では、算出したデフォーカス量D[g]を前回の採用デフォーカス量と比較する。なお、最初に後半焦点検出演算処理を実行するときには、図8のステップS12で最後に決定された採用デフォーカス量を前回の採用デフォーカス量とすればよい。   In step S103, the body control device 19 compares the defocus amount of the central area in the tracking area calculated in step S102 with the adopted defocus amount determined in the last-half focus detection calculation process executed last time. That is, in the above example, the calculated defocus amount D [g] is compared with the previous adopted defocus amount. When the second half focus detection calculation process is first executed, the last adopted defocus amount determined in step S12 in FIG. 8 may be used as the previous adopted defocus amount.

ステップS104では、ボディ制御装置19は、ステップS103で比較した追尾領域内の中心エリアのデフォーカス量と前回の採用デフォーカス量との差が所定値以内であるか否かを判定する。これらのデフォーカス量の差が所定値以内である場合はステップS105へ進み、ステップS105において、ステップS102で算出した追尾領域内の中心エリアのデフォーカス量を採用して今回の採用デフォーカス量に決定する。すなわち上記の例では、デフォーカス量D[g]を今回の採用デフォーカス量とする。ステップS105を実行したら、ボディ制御装置19は後半焦点検出演算処理を終了して図11のステップS72へ進む。一方、ステップS103で比較した追尾領域内の中心エリアのデフォーカス量と前回の採用デフォーカス量との差が所定値以上である場合は、ステップS106へ進む。   In step S104, the body control device 19 determines whether or not the difference between the defocus amount of the central area in the tracking area compared in step S103 and the previous adopted defocus amount is within a predetermined value. When the difference between these defocus amounts is within the predetermined value, the process proceeds to step S105, and in step S105, the defocus amount of the central area in the tracking area calculated in step S102 is adopted to obtain the currently adopted defocus amount. decide. That is, in the above example, the defocus amount D [g] is the current adopted defocus amount. After executing Step S105, the body control device 19 ends the second half focus detection calculation process and proceeds to Step S72 in FIG. On the other hand, if the difference between the defocus amount of the central area in the tracking area compared in step S103 and the previously adopted defocus amount is equal to or larger than the predetermined value, the process proceeds to step S106.

ステップS106では、ボディ制御装置19は、焦点検出エリア45a〜45kのうち、ステップS70の画像追尾演算によって特定された追尾領域内およびその周辺に位置する焦点検出エリアについて、測距素子10からの焦点検出信号を取得してデフォーカス量
を算出する。たとえば、図7(b)の追尾領域49に対して、隣接する焦点検出エリア45c、45hおよび45kについて、測距素子10からの焦点検出信号を取得して各デフォーカス量D[c]、D[h]およびD[k]を算出する。なお、追尾領域の中心に最も近い焦点検出エリア45gのデフォーカス量D[g]は既にステップS102で算出済みであるため、ここでは算出対象から除かれる。
In step S106, the body control device 19 focuses on the focus detection areas 45a to 45k from the distance measuring element 10 for the focus detection areas located in and around the tracking area specified by the image tracking calculation in step S70. A detection signal is acquired and a defocus amount is calculated. For example, with respect to the tracking region 49 in FIG. 7B, the focus detection signals from the distance measuring element 10 are acquired for the adjacent focus detection areas 45c, 45h, and 45k, and the defocus amounts D [c], D [h] and D [k] are calculated. Since the defocus amount D [g] of the focus detection area 45g closest to the center of the tracking area has already been calculated in step S102, it is excluded from the calculation target here.

ステップS107では、ボディ制御装置19は、ステップS106で算出した各デフォーカス量のうち、前回の採用デフォーカス量との差が最も小さいデフォーカス量を選択する。たとえば上記の例において、算出したデフォーカス量D[c]、D[h]およびD[k]のうち、デフォーカス量D[k]が前回の採用デフォーカス量との差が最も小さい場合には、デフォーカス量D[k]を選択する。   In step S107, the body control device 19 selects a defocus amount having the smallest difference from the previous adopted defocus amount among the defocus amounts calculated in step S106. For example, in the above example, when the defocus amount D [k] is the smallest difference from the previous adopted defocus amount among the calculated defocus amounts D [c], D [h], and D [k]. Selects the defocus amount D [k].

ステップS108では、ボディ制御装置19は、ステップS107で選択したデフォーカス量と前回の採用デフォーカス量との差が所定値以内であるか否かを判定する。これらのデフォーカス量の差が所定値以内である場合はステップS109へ進み、ステップS109において、ステップS107で選択したデフォーカス量を採用して今回の採用デフォーカス量に決定する。すなわち上記の例では、デフォーカス量D[k]を今回の採用デフォーカス量とする。ステップS109を実行したら、ボディ制御装置19は後半焦点検出演算処理を終了して図11のステップS72へ進む。一方、ステップS107で選択したデフォーカス量と前回の採用デフォーカス量との差が所定値以上である場合は、ステップS110へ進む。   In step S108, the body control device 19 determines whether or not the difference between the defocus amount selected in step S107 and the previous adopted defocus amount is within a predetermined value. When the difference between these defocus amounts is within the predetermined value, the process proceeds to step S109, and in step S109, the defocus amount selected in step S107 is adopted and determined as the currently adopted defocus amount. That is, in the above example, the defocus amount D [k] is the current adopted defocus amount. After executing Step S109, the body control device 19 ends the second half focus detection calculation process and proceeds to Step S72 in FIG. On the other hand, if the difference between the defocus amount selected in step S107 and the previous adopted defocus amount is greater than or equal to a predetermined value, the process proceeds to step S110.

ステップS110では、ボディ制御装置19は、焦点検出エリア45a〜45kのうち、前回の採用エリア、すなわち前回の採用デフォーカス量を検出した焦点検出エリアと、その周辺に位置する焦点検出エリアとについて、測距素子10からの焦点検出信号を取得してデフォーカス量を算出する。たとえば、前回の採用エリアが図7(b)の焦点検出エリア45aであったとすると、そのデフォーカス量D[a]と、焦点検出エリア45aに隣接する焦点検出エリア45b、45d、45eおよび45fの各デフォーカス量D[b]、D[d]、D[e]およびD[f]とを算出する。   In step S110, the body control device 19 determines the previous adoption area among the focus detection areas 45a to 45k, that is, the focus detection area where the previous adoption defocus amount is detected, and the focus detection areas located in the vicinity thereof. A focus detection signal from the distance measuring element 10 is acquired and a defocus amount is calculated. For example, if the previous adoption area is the focus detection area 45a in FIG. 7B, the defocus amount D [a] and the focus detection areas 45b, 45d, 45e, and 45f adjacent to the focus detection area 45a. Each defocus amount D [b], D [d], D [e] and D [f] is calculated.

ステップS111では、ボディ制御装置19は、ステップS110で算出した各デフォーカス量のうち、前回の採用デフォーカス量との差が最も小さいデフォーカス量を選択する。たとえば上記の例において、算出したデフォーカス量D[b]、D[d]、D[e]およびD[f]のうち、デフォーカス量D[f]が前回の採用デフォーカス量との差が最も小さい場合には、デフォーカス量D[f]を選択する。   In step S111, the body control device 19 selects a defocus amount having the smallest difference from the previous adopted defocus amount among the defocus amounts calculated in step S110. For example, in the above example, among the calculated defocus amounts D [b], D [d], D [e], and D [f], the defocus amount D [f] is the difference from the previous adopted defocus amount. Is the smallest, the defocus amount D [f] is selected.

ステップS112では、ボディ制御装置19は、ステップS111で選択したデフォーカス量と前回の採用デフォーカス量との差が所定値以内であるか否かを判定する。これらの差が所定値以内である場合はステップS113へ進み、ステップS113において、ステップS111で選択したデフォーカス量を採用して今回の採用デフォーカス量に決定する。すなわち上記の例では、デフォーカス量D[f]を今回の採用デフォーカス量とする。ステップS113を実行したら、ボディ制御装置19は後半焦点検出演算処理を終了して図11のステップS72へ進む。   In step S112, the body control device 19 determines whether or not the difference between the defocus amount selected in step S111 and the previous adopted defocus amount is within a predetermined value. If these differences are within a predetermined value, the process proceeds to step S113, and in step S113, the defocus amount selected in step S111 is adopted and determined as the current adopted defocus amount. That is, in the above example, the defocus amount D [f] is set as the currently adopted defocus amount. After executing Step S113, the body control device 19 ends the second half focus detection calculation process and proceeds to Step S72 in FIG.

一方、ステップS111で選択したデフォーカス量と前回の採用デフォーカス量との差が所定値以上である場合は、ボディ制御装置19はステップS114へ進む。ステップS114では、ボディ制御装置19は、今回は有効なデフォーカス量が検出されなかったとして、算出したいずれのデフォーカス量も採用デフォーカス量に決定せずにデフォーカス量を不採用とする。ステップS114を実行したら、ボディ制御装置19は後半焦点検出演算処理を終了して図11のステップS72へ進む。この場合、ステップS72の焦点調
節制御においてフォーカシングレンズ8bの駆動制御が行われず、したがって撮影レンズ8の焦点調節状態は変化しない。
On the other hand, if the difference between the defocus amount selected in step S111 and the previous adopted defocus amount is greater than or equal to a predetermined value, the body control device 19 proceeds to step S114. In step S114, the body control device 19 determines that no effective defocus amount has been detected this time, and does not determine any calculated defocus amount as the adopted defocus amount, and does not adopt the defocus amount. After executing step S114, the body control device 19 ends the second half focus detection calculation process and proceeds to step S72 in FIG. In this case, drive control of the focusing lens 8b is not performed in the focus adjustment control in step S72, and therefore the focus adjustment state of the photographing lens 8 does not change.

なお、図11のステップS67で実行した前半焦点検出演算処理において、上記のステップS102、S106またはS110で算出対象とされたデフォーカス量を既に算出済みである場合は、そのデフォーカス量の算出を省略する。これにより、前半焦点検出演算処理の際にデフォーカス量を求めた焦点検出エリアに対しては、ボディ制御装置19は、後半焦点検出演算処理を実行して撮影レンズ8の焦点調節状態を検出することを禁止する。   In addition, in the first half focus detection calculation process executed in step S67 of FIG. 11, if the defocus amount targeted for calculation in step S102, S106 or S110 has already been calculated, the defocus amount is calculated. Omitted. Thereby, for the focus detection area for which the defocus amount is obtained in the first half focus detection calculation process, the body control device 19 executes the second half focus detection calculation process to detect the focus adjustment state of the photographing lens 8. Prohibit that.

以上説明したような後半焦点検出演算処理が図11のステップS71で実行されることにより、ステップS70の画像追尾演算によって認識された基準情報に相当する画像の位置に対応する焦点検出エリアに対してデフォーカス量が検出され、今回の焦点調節に用いる採用デフォーカス量が決定される。この採用デフォーカス量に基づいて、ステップS72において焦点調節制御が行われることにより、撮影レンズ8の焦点調節状態が被写体の動きに応じて連写中に適切に変化する。   By executing the latter half focus detection calculation process as described above in step S71 in FIG. 11, the focus detection area corresponding to the position of the image corresponding to the reference information recognized by the image tracking calculation in step S70 is obtained. The defocus amount is detected, and the adopted defocus amount used for the current focus adjustment is determined. Based on this adopted defocus amount, focus adjustment control is performed in step S72, so that the focus adjustment state of the photographing lens 8 is appropriately changed during continuous shooting according to the movement of the subject.

以上説明した実施の形態によれば、次のような作用効果を奏する。
(1)本実施形態のカメラ1において、第2撮像素子16は、撮影レンズ8による像を撮像し、画像情報を出力する。ボディ制御装置19は、測距素子10からの焦点検出信号に基づいて、撮影レンズ8の焦点調節状態を示すデフォーカス量を求める。またボディ制御装置19は、テンプレート画像情報48の情報を基準とする像に関する基準情報として記憶するとともに、画像追尾演算を実行することにより、第2撮像素子16から出力される画像情報に対応する追尾用画像における基準情報に相当する画像の位置を認識する。さらにボディ制御装置19は、ステップS70で画像追尾演算を実行して上記画像の位置を認識する前に、ステップS67においてデフォーカス量を求める前半焦点検出演算処理を行うとともに、ステップS70で画像追尾演算を実行して認識された上記画像の位置に対して、ステップS71においてデフォーカス量を求める後半焦点検出演算処理を行うこととした。このようにしたので、画像追尾演算を実行する前にできるだけデフォーカス量の演算を行っておき、画像追尾演算の実行後に行うデフォーカス量の演算を少なくすることができる。したがって、限られた演算処理時間内で効率的な制御を行うことができる。
(2)ボディ制御装置19は、撮影レンズ8の像面内の複数位置に対して設定された複数の焦点検出エリア45a〜45kに対してデフォーカス量を検出する。またボディ制御装置19は、ステップS71で行う後半焦点検出演算処理においては、複数の焦点検出エリア45a〜45kのうちステップS70の画像追尾演算によって認識された画像の位置に対応する範囲に属する焦点検出エリアに対して、デフォーカス量を求めることとした(ステップS102、S106)。このようにしたので、追尾対象とされた被写体の動きに応じて焦点調節を行うためのデフォーカス量を素早く検出することができる。
(3)ボディ制御装置19は、ステップS67で行う前半焦点検出演算処理においては、複数の焦点検出エリア45a〜45kのうち、前回の採用エリアおよびその周辺エリアとして予め選択された焦点検出エリアに対して、デフォーカス量を求めることとした。このようにしたので、追尾対象演算を行う前であっても、追尾対象とされた被写体が存在する可能性の高い範囲についてデフォーカス量を検出することができる。
(4)ボディ制御装置19は、複数の焦点検出エリア45a〜45kのうち、ステップS67の前半焦点検出演算処理の際にデフォーカス量を求めた焦点検出エリアに対しては、ステップS102またはS106でデフォーカス量を求めるのを禁止することとした。このようにしたので、不要なデフォーカス量の演算を省略して演算処理時間を短縮することができる。
(5)ボディ制御装置19は、ステップS70の画像追尾演算によって基準情報に相当する追尾領域を特定できたか否かを判定する(ステップS101)。追尾領域を特定できず
、基準情報の位置が追尾用画像において認識できなかった場合は、ステップS101以降の後半焦点検出演算処理を実行して撮影レンズ8の焦点調節状態を検出するのを禁止することとした。このようにしたので、画像追尾に失敗した場合に不要となるデフォーカス量の演算を省略して演算処理時間を短縮することができる。
(6)ボディ制御装置19は、追尾優先モードと選択エリア優先モードとを選択的に設定することができる。追尾優先モードでは、ステップS71で後半焦点検出演算処理を実行することにより、ステップS70の画像追尾演算によって認識された対象画像の位置に対応するデフォーカス量を、ステップS67の前半焦点検出演算処理によって検出されたデフォーカス量に優先して採用する(ステップS105、S109)。一方、選択エリア優先モードでは、ステップS58で選択エリア優先焦点検出演算処理を実行することにより、複数の焦点検出エリア45a〜45kのうち、ユーザ選択エリアまたはその周辺エリアに対するデフォーカス量を採用する(ステップS84、S88)。このとき、ステップS64の画像追尾演算後にはデフォーカス量を算出しないこととした。このようにしたので、ユーザの使用形態に応じていずれかのモードを設定し、適切に焦点調節制御を行うことができる。
(7)ボディ制御装置19は、測距素子10からの焦点検出信号に基づいて求められたデフォーカス量に基づいて、撮影レンズ8の焦点調節を行う。特に、第1撮像素子4による撮像を複数回繰り返し行う連写中には、その複数回の撮像の間隔に、ステップS67の前半焦点検出演算処理およびステップS71の後半焦点検出演算を行うこととした。このようにしたので、限られた演算処理時間内で適切に撮影レンズ8の焦点調節を行うことができる。
According to the embodiment described above, the following operational effects can be obtained.
(1) In the camera 1 of the present embodiment, the second image sensor 16 captures an image by the photographing lens 8 and outputs image information. The body control device 19 obtains a defocus amount indicating the focus adjustment state of the photographing lens 8 based on the focus detection signal from the distance measuring element 10. In addition, the body control device 19 stores the template image information 48 as reference information relating to an image, and executes an image tracking calculation to perform tracking corresponding to image information output from the second image sensor 16. The position of the image corresponding to the reference information in the work image is recognized. Further, before executing the image tracking calculation in step S70 and recognizing the position of the image, the body control device 19 performs the first-half focus detection calculation process for obtaining the defocus amount in step S67, and in step S70, the image tracking calculation In step S71, the latter half focus detection calculation process for obtaining the defocus amount is performed on the position of the image recognized by executing the above. Since it did in this way, the calculation of the defocus amount can be performed as much as possible before executing the image tracking calculation, and the calculation of the defocus amount performed after the execution of the image tracking calculation can be reduced. Therefore, efficient control can be performed within a limited calculation processing time.
(2) The body control device 19 detects defocus amounts for the plurality of focus detection areas 45 a to 45 k set for a plurality of positions in the image plane of the photographing lens 8. Further, in the latter half focus detection calculation process performed in step S71, the body control device 19 detects the focus belonging to the range corresponding to the position of the image recognized by the image tracking calculation in step S70 among the plurality of focus detection areas 45a to 45k. The defocus amount is obtained for the area (steps S102 and S106). Since it did in this way, the defocus amount for performing a focus adjustment according to the motion of the to-be-tracked subject can be detected quickly.
(3) In the first half focus detection calculation process performed in step S67, the body control device 19 applies to the focus detection area previously selected as the previous adopted area and its peripheral area among the plurality of focus detection areas 45a to 45k. Thus, the defocus amount was determined. Since it did in this way, even before performing tracking object calculation, it is possible to detect the defocus amount for a range in which there is a high possibility that a subject to be tracked exists.
(4) The body control device 19 performs the step S102 or S106 for the focus detection area for which the defocus amount is obtained in the first half focus detection calculation process in step S67 among the plurality of focus detection areas 45a to 45k. It was decided to prohibit the defocus amount. Since it did in this way, calculation of an unnecessary defocus amount can be omitted and calculation processing time can be shortened.
(5) The body control device 19 determines whether or not the tracking area corresponding to the reference information can be specified by the image tracking calculation in step S70 (step S101). If the tracking area cannot be specified and the position of the reference information cannot be recognized in the tracking image, it is prohibited to detect the focus adjustment state of the photographic lens 8 by executing the latter half focus detection calculation processing after step S101. It was decided. Since it did in this way, the calculation processing time can be shortened by omitting the calculation of the defocus amount which becomes unnecessary when the image tracking fails.
(6) The body control device 19 can selectively set the tracking priority mode and the selection area priority mode. In the tracking priority mode, by executing the latter half focus detection calculation process in step S71, the defocus amount corresponding to the position of the target image recognized by the image tracking calculation in step S70 is obtained by the first half focus detection calculation process in step S67. The detected defocus amount is used with priority (steps S105 and S109). On the other hand, in the selection area priority mode, the selection area priority focus detection calculation process is executed in step S58, thereby adopting the defocus amount for the user selection area or its peripheral area among the plurality of focus detection areas 45a to 45k ( Steps S84 and S88). At this time, the defocus amount is not calculated after the image tracking calculation in step S64. Since it did in this way, one mode can be set according to a user's usage form, and focus adjustment control can be performed appropriately.
(7) The body control device 19 adjusts the focus of the photographic lens 8 based on the defocus amount obtained based on the focus detection signal from the distance measuring element 10. In particular, during continuous shooting in which imaging by the first imaging element 4 is repeated a plurality of times, the first half focus detection calculation processing in step S67 and the second half focus detection calculation in step S71 are performed at intervals of the plurality of imaging. . Since it did in this way, focus adjustment of the photographic lens 8 can be performed appropriately within the limited calculation processing time.

尚、上記実施の形態では焦点検出を独立した測距素子10を用いて行う例を示したが、第1撮像素子4の撮像画素配列中に撮影レンズの瞳の異なる部分を通過した一対の光束を受光する焦点検出用画素を混在して配置するようにし、この焦点検出用画素の出力を用いて焦点調節状態を求めるようにしてもよい。また第2撮像素子に代えて、この第1撮像素子の出力を用いて追尾や測光を行ってもよい。   In the above embodiment, an example in which focus detection is performed using the independent distance measuring element 10 has been described. However, a pair of light beams that have passed through different portions of the pupil of the photographing lens in the imaging pixel array of the first imaging element 4. Alternatively, focus detection pixels that receive light may be mixedly arranged, and the focus adjustment state may be obtained using the output of the focus detection pixels. Further, instead of the second image sensor, tracking and photometry may be performed using the output of the first image sensor.

1 カメラ
2 カメラ本体
4 第1撮像素子
8 撮影レンズ
10 測距素子
16 第2撮像素子
19 ボディ制御装置
DESCRIPTION OF SYMBOLS 1 Camera 2 Camera main body 4 1st image pick-up element 8 Shooting lens 10 Distance measuring element 16 2nd image pick-up element 19 Body control apparatus

Claims (5)

デフォーカス量を演算するデフォーカス量演算部と、
複数の焦点検出エリアのうち焦点光学系の駆動制御に用いる前記焦点検出エリアの前記デフォーカス量を決定する決定部と、
前記決定部に決定された前記デフォーカス量を用いて焦点光学系の駆動制御を行う制御部と、
前記制御部による前記焦点光学系の駆動制御に用いられた前記焦点検出エリアの位置に関する第1情報を取得する取得部と、
追尾対象の情報が含まれる基準情報と、撮像部により繰り返し取得される画像情報とを用いて前記追尾対象の位置に関する第2情報を取得する追尾部と、を含み、
前記デフォーカス量演算部は、前記追尾部による演算が終了する前に、前記第1情報を用いて選択された少なくとも1つの前記焦点検出エリアについて第1デフォーカス量を演算し、
前記追尾部による演算が終了した後に、前記第2情報を用いて選択された少なくとも1つの前記焦点検出エリアについて第2デフォーカス量を演算し、
前記決定部は、前記第1デフォーカス量及び前記第2デフォーカス量の少なくとも一方と、前記制御部による前記焦点光学系の駆動制御に用いられたデフォーカス量である第3デフォーカス量とを比較することにより前記焦点光学系の駆動制御に用いる前記デフォーカス量を決定することを特徴とする撮像装置。
A defocus amount calculation unit for calculating the defocus amount;
A determining unit that determines the defocus amount of the focus detection area used for driving control of a focus optical system among a plurality of focus detection areas;
A control unit that performs drive control of a focus optical system using the defocus amount determined by the determination unit;
An acquisition unit that acquires first information related to a position of the focus detection area used for driving control of the focus optical system by the control unit;
A tracking unit that obtains second information related to the position of the tracking target using reference information that includes information on the tracking target and image information that is repeatedly acquired by the imaging unit;
The defocus amount calculation unit calculates a first defocus amount for at least one focus detection area selected using the first information before the calculation by the tracking unit is completed .
After the calculation by the tracking unit is completed, a second defocus amount is calculated for at least one focus detection area selected using the second information ,
The determination unit includes at least one of the first defocus amount and the second defocus amount, and a third defocus amount that is a defocus amount used for driving control of the focus optical system by the control unit. An imaging apparatus characterized in that the defocus amount used for driving control of the focus optical system is determined by comparison .
請求項1に記載された撮像装置であって、The imaging apparatus according to claim 1,
前記決定部は、前記第3デフォーカス量と前記第2デフォーカス量との差が第1所定値以内であるとき前記第2デフォーカス量を前記焦点光学系の駆動制御に用いる前記デフォーカス量として決定し、前記第3デフォーカス量と前記第2デフォーカス量との差が前記第1所定値より大きく、前記第3デフォーカス量と前記第1デフォーカス量との差が第2所定値より小さいとき前記第1デフォーカス量を前記焦点光学系の駆動制御に用いる前記デフォーカス量として決定することを特徴とする撮像装置。The determination unit uses the second defocus amount for driving control of the focus optical system when a difference between the third defocus amount and the second defocus amount is within a first predetermined value. And the difference between the third defocus amount and the second defocus amount is greater than the first predetermined value, and the difference between the third defocus amount and the first defocus amount is a second predetermined value. An imaging apparatus characterized in that, when smaller, the first defocus amount is determined as the defocus amount used for driving control of the focus optical system.
請求項1又は請求項2に記載された撮像装置であって、
前記デフォーカス量演算部は、連写撮影時の第1撮影と前記第1撮影後の第2撮影との間の期間に前記第1デフォーカス量及び前記第2デフォーカス量を演算し、前記第1デフォーカス量は前記追尾部による演算が終了する前に演算されることを特徴とする撮像装置。
The imaging apparatus according to claim 1 or 2 ,
The defocus amount calculation unit calculates the first defocus amount and the second defocus amount during a period between the first shooting at the time of continuous shooting and the second shooting after the first shooting , The imaging apparatus according to claim 1, wherein the first defocus amount is calculated before the calculation by the tracking unit is completed.
請求項3に記載された撮像装置であって、
前記デフォーカス量演算部は、前記第1撮影と前記第2撮影との間の期間において、前記第1デフォーカス量の演算でデフォーカス量を演算した前記焦点検出エリアについては、前記第2デフォーカス量の演算でデフォーカス量を演算しないことを特徴とする撮像装置。
The imaging apparatus according to claim 3 ,
The defocus amount calculation unit is configured to detect the second defocus amount for the focus detection area in which the defocus amount is calculated by calculating the first defocus amount during a period between the first shooting and the second shooting. imaging apparatus characterized by not calculating the defocus amount in the focus of computation.
請求項1乃至請求項4に記載された撮像装置であって、
前記撮像部は、測光に用いられる測光センサであることを特徴とする撮像装置。
The imaging apparatus according to claim 1 , wherein:
The imaging device is a photometric sensor used for photometry.
JP2013248017A 2013-11-29 2013-11-29 Imaging device Expired - Fee Related JP5772933B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013248017A JP5772933B2 (en) 2013-11-29 2013-11-29 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013248017A JP5772933B2 (en) 2013-11-29 2013-11-29 Imaging device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007283310A Division JP2009109839A (en) 2007-10-31 2007-10-31 Image tracking device, imaging device

Publications (3)

Publication Number Publication Date
JP2014074923A JP2014074923A (en) 2014-04-24
JP2014074923A5 JP2014074923A5 (en) 2014-06-05
JP5772933B2 true JP5772933B2 (en) 2015-09-02

Family

ID=50749067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013248017A Expired - Fee Related JP5772933B2 (en) 2013-11-29 2013-11-29 Imaging device

Country Status (1)

Country Link
JP (1) JP5772933B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2770316B2 (en) * 1988-05-13 1998-07-02 ミノルタ株式会社 Automatic focus detection device
JPH0215217A (en) * 1989-04-21 1990-01-18 Minolta Camera Co Ltd Focus detector
JPH0444019A (en) * 1990-06-12 1992-02-13 Olympus Optical Co Ltd Object tracking type focusing detector
JP2001116985A (en) * 1999-10-21 2001-04-27 Canon Inc Camera having subject recognition function and subject recognition method
JP2004317917A (en) * 2003-04-18 2004-11-11 Minolta Co Ltd Imaging apparatus
JP2006146058A (en) * 2004-11-24 2006-06-08 Olympus Corp Camera photometric device
JP5045125B2 (en) * 2006-03-15 2012-10-10 株式会社ニコン Subject tracking device and optical device

Also Published As

Publication number Publication date
JP2014074923A (en) 2014-04-24

Similar Documents

Publication Publication Date Title
JP5176483B2 (en) Image recognition device, image tracking device, and imaging device
JP5167750B2 (en) TRACKING DEVICE, IMAGING DEVICE, AND TRACKING METHOD
JP5157256B2 (en) Image tracking device and imaging device
JP5247076B2 (en) Image tracking device, focus adjustment device, and imaging device
JP4872834B2 (en) Image recognition device, focus adjustment device, and imaging device
JP2009109839A (en) Image tracking device, imaging device
JP2009015117A (en) Focus adjustment device and imaging device
JP4893334B2 (en) Image tracking device and imaging device
JP5056136B2 (en) Image tracking device
JP5403111B2 (en) Image tracking device
JP4888249B2 (en) Focus detection apparatus and imaging apparatus
JP4985155B2 (en) Focus adjustment device and imaging device
JP2010054586A (en) Focusing device and imaging apparatus
JP5772933B2 (en) Imaging device
JP2010200138A (en) Photographic subject tracking device
JP5447579B2 (en) Tracking device, focus adjustment device, and photographing device
JP5233646B2 (en) Image tracking device, imaging device, and image tracking method
JP5541396B2 (en) Image tracking device
JP5176845B2 (en) Image tracking device and imaging device
JP5347834B2 (en) Image tracking device
JP2010113130A (en) Focus detecting device, imaging apparatus, focus detecting method
JP2012093775A (en) Focus detector and imaging apparatus
JP4973369B2 (en) Image processing apparatus and imaging apparatus
JP5720767B2 (en) Focus detection device
JP2018063439A (en) Focus adjustment device, imaging device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140307

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140926

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141007

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141208

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150615

R150 Certificate of patent or registration of utility model

Ref document number: 5772933

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees