JP2013003471A - Imaging apparatus - Google Patents

Imaging apparatus Download PDF

Info

Publication number
JP2013003471A
JP2013003471A JP2011136786A JP2011136786A JP2013003471A JP 2013003471 A JP2013003471 A JP 2013003471A JP 2011136786 A JP2011136786 A JP 2011136786A JP 2011136786 A JP2011136786 A JP 2011136786A JP 2013003471 A JP2013003471 A JP 2013003471A
Authority
JP
Japan
Prior art keywords
subject
movement
focus detection
image
feature amount
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.)
Granted
Application number
JP2011136786A
Other languages
Japanese (ja)
Other versions
JP5858658B2 (en
Inventor
Takeshi Sakaguchi
武士 阪口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2011136786A priority Critical patent/JP5858658B2/en
Publication of JP2013003471A publication Critical patent/JP2013003471A/en
Application granted granted Critical
Publication of JP5858658B2 publication Critical patent/JP5858658B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To automatically set the best action for focus detection in order to have the focus track the movement of a subject to be photographed and to automatically create the best action for focus detection according to a photographing environment in which the photographer often photographs.SOLUTION: The imaging apparatus includes: focus detection means for detecting a focus state of an imaging optical system; feature quantity extraction means (S15) for extracting the feature quantity in the movement of a subject from a consecutively photographed image; action varying means (S18) for varying the action of the focus detection means based on the featured quantity of the movement of the subject extracted by the feature quantity extraction means.

Description

本発明は、焦点状態を検出するカメラ等に好適な撮像装置の改良に関するものである。   The present invention relates to an improvement of an imaging apparatus suitable for a camera or the like that detects a focus state.

従来から、撮影環境に応じて最適な撮影動作を一括で自動的に設定する撮影モードを備えたカメラがある。この種のカメラには、動いている被写体を撮影するのに適しているスポーツモード、人物の撮影に適しているポートレート撮影モード、風景の撮影に適している風景撮影モード、夜景の撮影に適している夜景撮影モードなどがある。撮影者は撮影する環境に合った撮影モードさえ選択すれば、予め既定されているシャッター速度値、絞り値、露出補正値の各種設定値が一括で自動的に設定される。このように撮影モードを備えたカメラで撮影者は、専門的な知識を要さずに撮影環境に応じた各種設定値を設定できる。   2. Description of the Related Art Conventionally, there is a camera having a shooting mode that automatically sets an optimal shooting operation according to a shooting environment. This type of camera is suitable for sports modes suitable for shooting moving subjects, portrait shooting modes suitable for shooting people, landscape shooting modes suitable for landscape shooting, and night scene shooting. There is a night view shooting mode. As long as the photographer selects a shooting mode suitable for the shooting environment, various preset values of a shutter speed value, an aperture value, and an exposure correction value that are set in advance are automatically set in a lump. In this way, a photographer with a camera having a photographing mode can set various setting values according to the photographing environment without requiring specialized knowledge.

近年、撮影画像の中から特定の被写体を検出する被写体検出や認識技術が実現化されつつあり、カメラへ応用する技術が提案されている。特許文献1によって開示されているカメラにおいては、顔の検出有無、被写体の動き等の条件に応じて、スポーツモードやポートレートモード等の複数の撮影モードの中から最適な撮影モードを自動的に設定するカメラが提案されている。   In recent years, subject detection and recognition technology for detecting a specific subject from a photographed image is being realized, and a technology applied to a camera has been proposed. In the camera disclosed in Patent Document 1, an optimum shooting mode is automatically selected from a plurality of shooting modes such as a sports mode and a portrait mode depending on conditions such as the presence / absence of face detection and subject movement. A camera to set has been proposed.

特開2003−344891号公報JP 2003-344891 A

しかしながら、撮影モードで選択し得る撮影環境は、一般的に適した撮影動作となるような各種設定値が採用されている。このため、選択されている撮影モードのより具体的な撮影において常に最適な撮影動作になるとは限らない。特に、動いている被写体を撮影するのに適している撮影モードに関して、単調に近づいてくる動きもあれば、急に動きだしたり、止まったり、また、上下左右に大きく移動する動きもある。つまり、撮影する撮影環境に適した撮影動作になる撮影モードがなければ、様々な被写体の動きに応じて最適な撮影動作を実現することはできない。   However, various setting values are employed as shooting environments that can be selected in the shooting mode so as to achieve generally suitable shooting operations. For this reason, the optimum shooting operation is not always performed in more specific shooting in the selected shooting mode. In particular, with respect to a shooting mode suitable for shooting a moving subject, there are movements that approach monotonously, movements that suddenly start, stop movement, and movements that move greatly up, down, left, and right. In other words, unless there is a shooting mode that is suitable for the shooting environment, it is not possible to realize an optimal shooting operation according to the movement of various subjects.

また、撮影者によっては例えばスポーツなど特定の撮影環境でしか撮影しないということがあり、スポーツモードのより具体的な撮影、サッカーや水泳などに最適な撮影動作のモードが必要とされている。   Also, some photographers may only shoot in a specific shooting environment such as sports, and there is a need for more specific shooting in sport mode, and a mode of shooting operation that is optimal for soccer or swimming.

(発明の目的)
本発明の目的は、撮影する被写体の動きにピントを追従させるために最適な焦点検出の動作を自動的に設定するとともに、撮影者がよく撮影する撮影環境に最適な焦点検出の動作を自動的に生成することを可能にした撮像装置を提供することである。
(Object of invention)
It is an object of the present invention to automatically set an optimum focus detection operation so as to follow the movement of a subject to be photographed, and to automatically perform an optimum focus detection operation in a photographing environment where a photographer often takes a picture. It is an object of the present invention to provide an imaging apparatus that can be generated.

上記目的を達成するために、本発明の撮像装置は、結像光学系の焦点状態を検出する焦点検出手段と、連続撮影画像から被写体の動きの特徴量を抽出する特徴量抽出手段と、前記特徴量抽出手段により抽出した被写体の動きの特徴量に基づいて前記焦点検出手段の動作を変更する動作変更手段とを有することを特徴とするものである。   In order to achieve the above object, an imaging apparatus according to the present invention includes a focus detection unit that detects a focus state of an imaging optical system, a feature amount extraction unit that extracts a feature amount of a subject's movement from continuously shot images, And an operation change unit that changes the operation of the focus detection unit based on the feature amount of the movement of the subject extracted by the feature amount extraction unit.

本発明によれば、被写体の動きにピントを追従させるために最適な焦点検出の動作を自動的に設定することができる。   According to the present invention, it is possible to automatically set an optimum focus detection operation in order to make a subject follow the movement of a subject.

また、撮影者がよく撮影する撮影環境に最適な焦点検出の動作を自動的に生成することができる。   Further, it is possible to automatically generate a focus detection operation that is optimal for a shooting environment in which a photographer often takes a picture.

本発明の実施例であるカメラの構成例を示すブロック図である。It is a block diagram which shows the structural example of the camera which is an Example of this invention. 実施例の撮影動作を説明するフローチャートである。It is a flowchart explaining the imaging | photography operation | movement of an Example. 実施例の特徴量抽出を説明するフローチャートである。It is a flowchart explaining the feature-value extraction of an Example. 連続撮影画像を説明する図である。It is a figure explaining a continuous picked-up image. 様々な撮影環境において抽出した特徴量を説明する図である。It is a figure explaining the feature-value extracted in various imaging | photography environments. 主成分座標での変量プロットを説明する図である。It is a figure explaining the variable plot in a principal component coordinate. 主成分得点を説明する図である。It is a figure explaining a principal component score.

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

図1は、本発明の実施例に係る撮像装置の一例であるカメラのブロック図である。図中、101は撮影レンズ(本発明の結像光学系に相当)、107は撮影レンズ101を通過した被写体光を受光し、光電変換し、画像信号データを出力するCCDやCMOSセンサ等の撮像素子である。撮像素子107より出力された撮像信号はアナログ信号処理回路109に入力される。そして、A/D変換器110によりアナログ信号からデジタル信号に変換される。   FIG. 1 is a block diagram of a camera which is an example of an imaging apparatus according to an embodiment of the present invention. In the figure, 101 is a photographic lens (corresponding to the imaging optical system of the present invention), 107 is a CCD or CMOS sensor that receives subject light that has passed through the photographic lens 101, photoelectrically converts it, and outputs image signal data. It is an element. The image signal output from the image sensor 107 is input to the analog signal processing circuit 109. The A / D converter 110 converts the analog signal into a digital signal.

102は、半透過部を有する主ミラーであり、図1では撮影光束中に挿入された状態(ミラーダウン)を示している。主ミラー102は、撮影時には撮影光束外へ退避し、焦点検出時に撮影光路内に斜設される。また、主ミラー102は、撮影光路内に斜設された状態で、撮影レンズ101を通過した光束の一部をピント板103、ペンタプリズム104及び接眼レンズ105から構成されるファインダ光学系に導く。   Reference numeral 102 denotes a main mirror having a semi-transmissive portion, and FIG. 1 shows a state in which it is inserted into a photographing light beam (mirror down). The main mirror 102 is retracted out of the photographing light beam at the time of photographing, and is obliquely installed in the photographing optical path when the focus is detected. In addition, the main mirror 102 guides a part of the light beam that has passed through the photographing lens 101 to a finder optical system that includes the focus plate 103, the pentaprism 104, and the eyepiece lens 105 while being inclined in the photographing optical path.

106は、主ミラー102の動作に同期して主ミラー102に対して折り畳み、展開が可能なサブミラーである。主ミラー102の半透過部を通過した光束の一部は、サブミラー106によって下方へ反射され、位相差方式の焦点検出部108に入射し、撮影レンズ101の焦点状態が検出される。   Reference numeral 106 denotes a submirror that can be folded and expanded with respect to the main mirror 102 in synchronization with the operation of the main mirror 102. A part of the light beam that has passed through the semi-transmissive portion of the main mirror 102 is reflected downward by the sub-mirror 106 and enters the phase difference type focus detection unit 108 to detect the focus state of the photographing lens 101.

112は、カメラ全体の制御を行うCPU、記憶手段であるRAMなどから構成されるシステムコントローラであり、後述する各部の動作を適宜制御する。   A system controller 112 includes a CPU that controls the entire camera, a RAM that is a storage unit, and the like, and appropriately controls the operation of each unit described below.

113は、システムコントローラ112に接続され、撮影レンズ101と通信を行う通信回路と、焦点調節を行うためにレンズ駆動を行うレンズ駆動機構と、その駆動回路を備えたレンズ駆動部である。114は、システムコントローラ112に接続され、主ミラー102を撮影光束外へ駆動するためのミラー駆動部である。115は、システムコントローラ112に接続され、焦点検出部108を制御するためのセンサ制御部である。116は、システムコントローラ112に接続され、撮像素子107を駆動するための撮像素子駆動部である。焦点検出部108、センサ制御部115、システムコントローラ112は本発明の焦点検出手段に相当する。   Reference numeral 113 denotes a communication circuit that is connected to the system controller 112 and communicates with the photographing lens 101, a lens driving mechanism that drives the lens to perform focus adjustment, and a lens driving unit that includes the driving circuit. Reference numeral 114 denotes a mirror driving unit that is connected to the system controller 112 and drives the main mirror 102 to the outside of the photographing light beam. A sensor control unit 115 is connected to the system controller 112 and controls the focus detection unit 108. Reference numeral 116 denotes an image sensor driving unit that is connected to the system controller 112 and drives the image sensor 107. The focus detection unit 108, the sensor control unit 115, and the system controller 112 correspond to the focus detection unit of the present invention.

111は、システムコントローラ112に接続され、A/D変換器110によりデジタル信号に変換された信号に対してシェーディング補正やガンマ補正などの画像処理を施すデジタル信号処理回路である。   A digital signal processing circuit 111 is connected to the system controller 112 and performs image processing such as shading correction and gamma correction on the signal converted into a digital signal by the A / D converter 110.

117は、デジタル信号処理回路111に接続され、撮像素子107で撮像された複数フレーム分の画像信号データを記憶することができるフレームメモリである。A/D変換された信号は一旦このバッファメモリ117に記憶される。デジタル信号処理回路111ではバッファメモリ117に記憶された画像信号データを読み込んで上述した各処理を行い、処理後の画像信号データは再びバッファメモリ117に記憶される。   Reference numeral 117 denotes a frame memory connected to the digital signal processing circuit 111 and capable of storing image signal data for a plurality of frames captured by the image sensor 107. The A / D converted signal is temporarily stored in the buffer memory 117. The digital signal processing circuit 111 reads the image signal data stored in the buffer memory 117 and performs the above-described processes, and the processed image signal data is stored in the buffer memory 117 again.

118は、メモリカード等の外部記録媒体119に記録する記録・再生信号処理回路である。記録・再生信号処理回路118は、デジタル信号処理回路111に接続される。デジタル信号処理回路111で各種処理が施された画像信号データは、一旦バッファメモリ117に記憶された後に外部記録媒体119に記録される際には、画像信号データの圧縮、例えば、JPEG方式でデータ圧縮が行われる。一方、画像信号データを外部記録媒体119から読み込む際、記録・再生信号処理回路118は、画像信号データの伸長処理を行う。記録・再生信号処理回路118には外部記録媒体119とデータ通信を行うためのインタフェースも含まれている。   Reference numeral 118 denotes a recording / reproducing signal processing circuit for recording on an external recording medium 119 such as a memory card. The recording / reproducing signal processing circuit 118 is connected to the digital signal processing circuit 111. When the image signal data subjected to various processes by the digital signal processing circuit 111 is temporarily stored in the buffer memory 117 and then recorded on the external recording medium 119, the image signal data is compressed by, for example, the JPEG method. Compression is performed. On the other hand, when the image signal data is read from the external recording medium 119, the recording / playback signal processing circuit 118 performs an expansion process of the image signal data. The recording / reproduction signal processing circuit 118 also includes an interface for performing data communication with the external recording medium 119.

121は、撮像された画像を表示するための表示部であり、外部記録媒体119に記録されている画像信号データを再生表示する際にも用いられる。表示部121に画像を表示する場合には、バッファメモリ117に記憶された画像信号データを読み出し、D/A変換器120によりデジタル画像信号データをアナログ映像信号に変換する。そして、そのアナログ映像信号を用いて表示部121に画像を表示する。   Reference numeral 121 denotes a display unit for displaying a captured image, which is also used when reproducing and displaying image signal data recorded on the external recording medium 119. When displaying an image on the display unit 121, the image signal data stored in the buffer memory 117 is read, and the digital image signal data is converted into an analog video signal by the D / A converter 120. Then, an image is displayed on the display unit 121 using the analog video signal.

撮像素子107で撮像された画像を表示部121で表示する形態には2つの形態がある。一つは、レリーズ操作が行われないときの表示形態であり、撮像素子107で繰り返し撮像される画像を逐次更新表示するライブビューと呼ばれる表示形態である。もう一つは、カメラのレリーズ操作後に、撮像素子107で撮像された画像を所定時間表示するフリーズ画と呼ばれる表示形態である。   There are two modes for displaying the image captured by the image sensor 107 on the display unit 121. One is a display form when the release operation is not performed, and is a display form called a live view that sequentially updates and displays images repeatedly picked up by the image sensor 107. The other is a display form called a freeze image that displays an image captured by the image sensor 107 for a predetermined time after the release operation of the camera.

122は、システムコントローラ112に接続され、カメラの電源をオン・オフするための電源スイッチ、レリーズボタン、人物撮影モードなどの撮影モードを選択するための設定ボタンなど、カメラを操作するための操作部材が設けられた操作部である。これらのスイッチやボタンを操作すると、その操作に応じた信号がシステムコントローラ112に入力される。なお、レリーズボタンには、撮影者により操作されるレリーズボタンの第1ストローク操作(半押し操作)によりオンするスイッチSW1と、レリーズボタンの第2ストローク操作(全押し操作)によりオンするスイッチSW2とが接続されている。また、焦点調節モードとして、任意選択モード、領域拡大モード、自動選択モードがあり、撮影者の操作により適宜設定できるものとする。   Reference numeral 122 denotes an operation member connected to the system controller 112 for operating the camera, such as a power switch for turning on / off the camera, a release button, and a setting button for selecting a shooting mode such as a human shooting mode. Is an operation unit provided. When these switches and buttons are operated, a signal corresponding to the operation is input to the system controller 112. The release button includes a switch SW1 that is turned on by a first stroke operation (half-press operation) of the release button operated by the photographer, and a switch SW2 that is turned on by a second stroke operation (full-press operation) of the release button. Is connected. In addition, as the focus adjustment mode, there are an arbitrary selection mode, an area enlargement mode, and an automatic selection mode, which can be set as appropriate by the photographer's operation.

以下、図2を参照して、本発明の実施例による、撮影動作について説明する。   Hereinafter, with reference to FIG. 2, the photographing operation according to the embodiment of the present invention will be described.

ステップS11では、システムコントローラ112のRAMから動作制御情報を読み出し、設定する。焦点検出は読み出されて設定された動作制御情報に基づいてシステムコントローラ112によって制御される。   In step S11, the operation control information is read from the RAM of the system controller 112 and set. The focus detection is controlled by the system controller 112 based on the operation control information read and set.

ステップS12では、操作部122のレリーズボタンのスイッチSW1がオンかどうかを判定する。スイッチSW1がオンならステップS13へ進み、スイッチSW1がオフならステップS12を繰り返す。   In step S12, it is determined whether the release button switch SW1 of the operation unit 122 is on. If the switch SW1 is on, the process proceeds to step S13, and if the switch SW1 is off, step S12 is repeated.

ステップS13では、操作部122のレリーズボタンのスイッチSW2がオンかどうかを判定する。スイッチSW2がオンならステップS14へ進み、スイッチSW2がオフならステップS15へ進む。   In step S13, it is determined whether the release button switch SW2 of the operation unit 122 is on. If the switch SW2 is on, the process proceeds to step S14, and if the switch SW2 is off, the process proceeds to step S15.

ステップS14では、システムコントローラ112が撮影動作を行い、デジタル信号処理回路111、および、記録・再生信号処理118を介して外部記録媒体119へ画像を記録する。この撮影動作時の焦点検出の動作制御情報は、ステップS11で設定されたものである。   In step S <b> 14, the system controller 112 performs a photographing operation and records an image on the external recording medium 119 via the digital signal processing circuit 111 and the recording / reproducing signal processing 118. The operation control information for focus detection during this photographing operation is set in step S11.

ステップS15では、撮影された連続撮影画像から被写体の動きの特徴量を抽出する。ステップS15を実行するシステムコントローラ112が本発明の特徴量抽出手段に相当する。詳細については後述する。   In step S15, the feature quantity of the movement of the subject is extracted from the continuously shot images. The system controller 112 that executes step S15 corresponds to the feature amount extraction unit of the present invention. Details will be described later.

ステップS16では、連続撮影画像ごとに記憶した被写体の動きの特徴量が所定値以上であるかどうかを判断する。被写体の動きの特徴量が所定値以上記憶されていればステップS17へ進み、所定値以上記憶されていなければステップS18へ進む。   In step S16, it is determined whether or not the feature quantity of the subject movement stored for each continuous photographed image is equal to or greater than a predetermined value. If the feature quantity of the subject movement is stored above a predetermined value, the process proceeds to step S17, and if not above the predetermined value, the process proceeds to step S18.

ステップS17では、記憶されている連続撮影画像ごとの特徴量に基づき一般的な多変量解析ソフトにより主成分分析を行う。詳細については後述する。   In step S17, principal component analysis is performed by general multivariate analysis software based on the stored feature values for each continuously shot image. Details will be described later.

ステップS18では、ステップS15で抽出した特徴量に対応する動作制御情報をシステムコントローラ112のRAMに記憶することにより更新する。次の撮影からはステップS18で更新された動作制御情報に基づいて焦点検出の動作が変更される。つまり、動作変更が行われる。   In step S18, the operation control information corresponding to the feature amount extracted in step S15 is updated by storing it in the RAM of the system controller 112. From the next imaging, the focus detection operation is changed based on the operation control information updated in step S18. That is, an operation change is performed.

以下、図3を参照して、図2のステップS15の特徴量抽出について詳細に説明する。   Hereinafter, the feature amount extraction in step S15 of FIG. 2 will be described in detail with reference to FIG.

ステップS21では、外部記録媒体119に記録されている連続撮影画像の開始画像をシステムコントローラ112のRAMに読み込む。その際、後段の処理で処理しやすい画像サイズに圧縮しても良い。また、YUVなどの色空間に変換しても良いし、2値化しても良い。   In step S 21, the start image of the continuously shot image recorded on the external recording medium 119 is read into the RAM of the system controller 112. At this time, the image may be compressed to an image size that can be easily processed in the subsequent processing. Further, it may be converted into a color space such as YUV or binarized.

ステップS22では、被写体の動きを検出するためにステップS21で読み込んだ開始画像からテンプレート画像を作成する。作成したテンプレートはシステムコントローラ112のRAMに記憶する。テンプレートは、被写体にAFフレーム201を重ね合わせた図4(a)に示す選択されたAFフレーム201の周囲の画像を切り出したものとする。ただし、選択されたAFフレーム201の近くに特徴的な形状があればこの形状をテンプレートとしても良い。また、顔認識により検知した顔の画像をテンプレートとしても良い。   In step S22, a template image is created from the start image read in step S21 in order to detect the movement of the subject. The created template is stored in the RAM of the system controller 112. The template is obtained by cutting out an image around the selected AF frame 201 shown in FIG. 4A in which the AF frame 201 is superimposed on the subject. However, if there is a characteristic shape near the selected AF frame 201, this shape may be used as a template. Further, a face image detected by face recognition may be used as a template.

ステップS23では、撮影された連続撮影画像の全ての画像をシステムコントローラ112のRAMに読み込んだかどうかを判定する。全ての画像を読み込んでいなければステップS24へ進み、全ての画像を読み込んだならステップS27へ進む。   In step S <b> 23, it is determined whether or not all images of the continuously captured images that have been captured have been read into the RAM of the system controller 112. If all the images have not been read, the process proceeds to step S24, and if all the images have been read, the process proceeds to step S27.

ステップS24では、次の画像をシステムコントローラ112のRAMに読み込む。ステップS25では、ステップS22で作成したテンプレートとステップS24で読み込んだ画像とのテンプレートマッチングを行う。   In step S24, the next image is read into the RAM of the system controller 112. In step S25, template matching between the template created in step S22 and the image read in step S24 is performed.

ステップS26では、被写体の動きの特徴量を抽出する。ここでは、被写体の動きの特徴量を抽出することを説明するために次の4つの特徴量を例に挙げる。ただし、この4つの特徴量が本発明を実施するためのすべてではなく、被写体の動きを表すものであれば良い。   In step S26, the feature amount of the subject motion is extracted. Here, in order to explain the extraction of the feature quantity of the movement of the subject, the following four feature quantities are given as examples. However, these four feature values are not all for carrying out the present invention, but may be those that represent the movement of the subject.

1つ目は、被写体の手前に障害物が入り込む、または、ぬけなどで被写体をAFフレーム201から外した時間である。これは、被写体の外しやすさを表す特徴量である。図4(a)から(d)の4枚の連続撮影画像を示す図を参照して、被写体の外しやすさの特徴量について説明する。図4(a)、(b)、(d)の撮影画像ではAFフレーム201で被写体を捉えているため外した時間はゼロである。図4(c)の撮影画像では被写体の手前に障害物は入り込んでいないが、被写体をAFフレーム201から外したため図4(c)から(d)までの駒間の時間を外した時間とする。実際には、画像認識技術で被写体領域(被写体)を認識し、テンプレートマッチングで検出した位置が被写体領域内か外かで判断する。以上、説明したように撮影画像ごとに被写体を外した時間を求めることで被写体の外しやすさを表す特徴量を抽出する。   The first time is the time when the subject is removed from the AF frame 201 due to an obstacle entering in front of the subject or passing through. This is a feature amount representing the ease of removing the subject. With reference to FIGS. 4A to 4D, which show four consecutively photographed images, the feature amount of the ease of removing the subject will be described. In the captured images of FIGS. 4A, 4B, and 4D, the subject is captured by the AF frame 201, so the time taken for removal is zero. In the photographed image of FIG. 4C, no obstacle enters the front of the subject, but since the subject is removed from the AF frame 201, the time between the frames from FIGS. 4C to 4D is excluded. . Actually, a subject area (subject) is recognized by image recognition technology, and it is determined whether the position detected by template matching is inside or outside the subject area. As described above, the feature amount representing the ease of removing the subject is extracted by obtaining the time when the subject is removed for each captured image.

2つ目は、被写体の手前に障害物が入り込む、または、ぬけなどで被写体をAFフレーム201から外したときに即座に現在選択されているAFフレーム201でピントを合わせるかどうかである。これは、ピントを合わせる被写体をAFフレーム201で狙った被写体に即座に切り換えることを表す特徴量である。図4(a)から(d)の4枚の連続撮影画像を示す図を参照して、被写体を即座に切り換える特徴量について説明する。図4(c)で背景に外しているが図4(a)から(d)は同じ被写体を狙っている。このため、図(a)から(d)の連続撮影画像で、被写体を即座に切り換える必要はない。したがって、特徴量はゼロとし、即座に切り換える必要があれば1とすれば良い。実際には、画像認識技術で被写体領域(被写体)を認識し、テンプレートマッチングで検出した位置が被写体領域内か外かで判断する。以上、説明したように撮影画像ごとに被写体を即座に切り換えるかどうかを表す特徴量を抽出する。   The second is whether or not the currently selected AF frame 201 is immediately focused when an obstacle enters in front of the subject or when the subject is removed from the AF frame 201 due to a gap or the like. This is a feature amount indicating that the subject to be focused is immediately switched to the subject targeted by the AF frame 201. With reference to FIGS. 4 (a) to 4 (d), which show four consecutively photographed images, feature quantities for instantly switching the subject will be described. Although not shown in the background in FIG. 4C, FIGS. 4A to 4D aim at the same subject. For this reason, it is not necessary to switch the subject immediately in the continuously shot images of FIGS. Accordingly, the feature amount is set to zero, and it may be set to 1 if it is necessary to switch immediately. Actually, a subject area (subject) is recognized by image recognition technology, and it is determined whether the position detected by template matching is inside or outside the subject area. As described above, the feature amount indicating whether to switch the subject immediately for each captured image is extracted.

3つ目は、急な動き出し、急な停止などで被写体の移動の速さがどれだけ変化したかを表す速さの変化量である。図4(a)から(d)の4枚の連続撮影画像を示す図を参照して、被写体の移動の速さ変化量を説明する。図4(a)から(d)の連続撮影画像は等速で近づいてくる被写体を表している。そのため、速さの変化量はゼロとする。速さの変化量を求めるには、焦点検出結果から求められる像面移動速度を用いても良いし、画像のExifに記憶されているレンズの焦点距離、撮像素子のサイズを読み出してガウスの結像公式により被写体までの距離を算出し、前後の画像の距離差を駒間の時間で割った値を用いても良い。   The third is the amount of change in speed that represents how much the speed of movement of the subject has changed due to sudden movements, sudden stops, and the like. The amount of change in the moving speed of the subject will be described with reference to FIGS. 4 (a) to 4 (d) showing four consecutively shot images. 4A to 4D represent a subject approaching at a constant speed. Therefore, the amount of change in speed is zero. In order to obtain the amount of change in speed, the image plane moving speed obtained from the focus detection result may be used, or the focal length of the lens and the size of the image sensor that are stored in the Exif of the image are read and Gaussian results are obtained. A value obtained by calculating the distance to the subject by the image formula and dividing the distance difference between the previous and next images by the time between frames may be used.

4つ目は、被写体が上下左右に移動したときの移動量である。図4(a)から(d)の4枚の連続撮影画像を示す図を参照して、被写体が上下左右に移動したときの移動量を説明する。ステップS22で図4(a)から作成したテンプレートとステップS24で読み出される図4(b)とのテンプレートマッチングから検出される移動量Dbを検出する。同様に移動量DcとDdもステップS22で図4(a)から作成したテンプレートとステップS24で読み出される図4(c)、あるいは、(d)とのテンプレートマッチングで検出する。   The fourth is the amount of movement when the subject moves up, down, left and right. The amount of movement when the subject moves up, down, left, and right will be described with reference to FIGS. In step S22, a movement amount Db detected from template matching between the template created from FIG. 4A and FIG. 4B read in step S24 is detected. Similarly, the movement amounts Dc and Dd are also detected by template matching between the template created from FIG. 4A in step S22 and FIG. 4C read in step S24, or (d).

ステップS27では、ステップS26で撮影画像ごとに抽出した4つの特徴量からそれぞれ最大値を求める。この最大値を連続撮影画像の枚数で正規化した値を連続撮影画像の特徴量とする。   In step S27, a maximum value is obtained from each of the four feature amounts extracted for each captured image in step S26. A value obtained by normalizing the maximum value with the number of continuously shot images is set as a feature amount of the continuously shot images.

ステップS28では、ステップS27で決定した連続撮影画像の特徴量をシステムコントローラ112のRAMに連続撮影画像ごとに記憶する。   In step S28, the feature quantity of the continuously shot image determined in step S27 is stored in the RAM of the system controller 112 for each continuously shot image.

以下、図2のステップS17の主成分分析について詳細に説明する。まず、主成分分析とは、複数のパラメータ(例えば、外しやすさ、即座に切り換え、速度の変化、上下左右の移動量)により構成されるデータから特徴的な指標である主成分をコンピュータにより求めることである。この主成分は複数のパラメータの合成変量であり、データに含まれるパラメータ間の関係を把握しやすくする総合的指標である。また、主成分は、被写体の動きの特徴量と焦点検出の動作制御情報とを対応付けるものである。   Hereinafter, the principal component analysis in step S17 of FIG. 2 will be described in detail. First, principal component analysis is a computer that obtains a principal component, which is a characteristic index, from data composed of a plurality of parameters (for example, ease of removal, instantaneous switching, speed change, vertical and horizontal movement). That is. This principal component is a composite variable of a plurality of parameters and is a comprehensive index that makes it easy to grasp the relationship between parameters included in data. The main component associates the feature amount of the subject movement with the motion control information for focus detection.

図5は、前述した図2のステップS15の特徴量抽出で説明した抽出方法を用いて、サッカーや水泳など様々な撮影環境で撮影された連続撮影画像の特徴量を表している。図5に示す特徴量を基に主成分分析を行い、求めた第1主成分を縦軸に、第2主成分を横軸にした変量プロットを図6に示す。この場合の主成分分析は、特徴量データの重心が原点となる主成分座標系の位置に特徴量データを換算するものである。図6から第1主成分の正の方向は上下左右の移動と速さ変化が高く評価され、負の方向は即座に切り換えが高く評価される。第2主成分の正の方向は速さ変化が高く評価され、負の方向は外しやすさが高く評価される。   FIG. 5 shows feature amounts of continuously shot images taken in various shooting environments such as soccer and swimming using the extraction method described in the feature amount extraction in step S15 of FIG. FIG. 6 shows a variable plot in which the principal component analysis is performed based on the feature amount shown in FIG. 5 and the obtained first principal component is on the vertical axis and the second principal component is on the horizontal axis. In this case, the principal component analysis is to convert the feature amount data into the position of the principal component coordinate system where the center of gravity of the feature amount data is the origin. From FIG. 6, the positive direction of the first principal component is highly evaluated for vertical and horizontal movement and speed change, and the negative direction is highly evaluated for immediate switching. The positive direction of the second principal component is highly evaluated for speed change, and the negative direction is highly evaluated for ease of removal.

図5に示す特徴量を基に主成分分析を行い、求めた第1主成分を縦軸に、第2主成分を横軸にした主成分得点を図7に示す。図6の変量プロットと照らし合わせてみると、点線で囲ったグループAの水泳(バタフライ)と水泳(平泳ぎ)は外しやすい撮影環境であるといえる。また、グループEの体操(床)は速さの変化と上下左右への移動が大きい撮影環境であるといえる。その他のグループに関しても図6の変量プロットと照らし合わすとそれぞれの撮影環境の特徴がわかる。   Principal component analysis is performed based on the feature values shown in FIG. 5, and the principal component scores are shown in FIG. 7, with the obtained first principal component on the vertical axis and the second principal component on the horizontal axis. In comparison with the variable plot in FIG. 6, it can be said that the group A swimming (butterfly) and swimming (breaststroke) surrounded by a dotted line are easy to remove. Group E's gymnastics (floor) can be said to be a shooting environment with a large change in speed and vertical and horizontal movement. Regarding the other groups, the characteristics of each photographing environment can be understood by comparing with the variable plot of FIG.

以上説明したように図7の主成分得点上で今回撮影した連続撮影画像の特徴量がどこに位置するかで動作制御情報を更新する。「外しやすさ」と「即座に切り換える」に対応する動作制御情報は、被写体を外してから再びAFフレーム201に捉えるまでの時間である。外しやすい撮影環境では再びAFフレーム201に捉えるまでの時間を長くし、即座に切り換える撮影環境では短くする。また、速さの変化に対応する動作制御情報は、過去の焦点検出履歴から求められる予測曲線から許容できるデフォーカス量のずれ量である。速さ変化が大きい撮影環境では、予測曲線から許容できるデフォーカス量のずれ量が大きくても誤差とは判断せず、被写体を焦点検出した焦点検出結果であると判断する。さらに、上下左右への移動に対応する動作制御情報は、過去の焦点検出履歴から予想されるデフォーカス量とのずれ量である。過去の焦点検出履歴から予想されるデフォーカス量とのずれ量が大きい撮影環境では、現在選択しているAFフレームより被写体を捉えたAFフレームに乗り移りやすくする。   As described above, the motion control information is updated depending on where the feature amount of the continuously captured image captured this time on the principal component score of FIG. 7 is located. The operation control information corresponding to “easy to remove” and “switch instantly” is the time from when the subject is removed to when it is captured by the AF frame 201 again. In a shooting environment that is easy to remove, the time until the AF frame 201 is captured again is lengthened, and in a shooting environment that switches immediately, the shooting time is shortened. Also, the motion control information corresponding to the change in speed is a defocus amount deviation amount that can be allowed from a prediction curve obtained from a past focus detection history. In a shooting environment where the speed change is large, even if the defocus amount deviation allowable from the prediction curve is large, it is not determined as an error, but is determined as a focus detection result obtained by detecting the focus of the subject. Furthermore, the motion control information corresponding to the movement in the up / down / left / right directions is a deviation amount from the defocus amount expected from the past focus detection history. In a shooting environment in which the amount of deviation from the defocus amount predicted from the past focus detection history is large, it is easier to change to the AF frame capturing the subject than the currently selected AF frame.

主成分得点に対応付けて記憶する動作制御情報は、各主成分を等間隔に分割した分割領域ごとに決めても良いし、図7で示すように主成分得点上にプロットされたグループごとに決めても良い。   The motion control information stored in association with the principal component score may be determined for each divided region obtained by dividing each principal component at equal intervals, or for each group plotted on the principal component score as shown in FIG. You can decide.

前述した動作制御情報は、予め図7の主成分得点と対応付けて記憶しておく。これにより、今回撮影した撮影環境に最適な動作制御情報を設定することができる。また、撮影者が撮影した連続撮影画像の特徴量を記憶しているので、この記憶した連続撮影画像に基づいた主成分得点を求める(変更する)ことができる。例えば、スポーツの中でも陸上競技を専門に撮影する撮影者が、100mや走り幅跳び、棒高跳びなどそれぞれの撮影環境で撮影した連続撮影画像の特徴量に基づいて主成分得点を求めることができる。これにより、撮影者がよく撮影する撮影環境においてより細かな動作制御情報を設定することができる。   The above-described operation control information is stored in advance in association with the main component score of FIG. As a result, it is possible to set operation control information optimal for the shooting environment shot this time. In addition, since the feature amount of the continuously shot image taken by the photographer is stored, the principal component score based on the stored continuously shot image can be obtained (changed). For example, a photographer who specially shoots athletics in sports can determine the principal component score based on the feature quantities of continuously shot images taken in each shooting environment such as 100 m, long jump, and pole vault. This makes it possible to set finer operation control information in a shooting environment where the photographer often takes pictures.

以上、説明してきたように本実施例では、画像認識技術で被写体の動きの特徴量を抽出することで、撮影する被写体の動きにピントを追従させるために最適な焦点検出の動作を自動的に設定することを可能にした撮像装置を提供することができる。   As described above, in this embodiment, by extracting the feature amount of the movement of the subject using the image recognition technology, the optimum focus detection operation is automatically performed in order to follow the movement of the subject to be photographed. An imaging apparatus that can be set can be provided.

また、撮影者がよく撮影する撮影環境に最適な焦点検出の動作を自動的に生成することを可能にした撮像装置を提供することができる。   In addition, it is possible to provide an imaging apparatus capable of automatically generating a focus detection operation optimal for a shooting environment in which a photographer often takes a picture.

101 撮影レンズ
108 焦点検出部
112 システムコントローラ
115 センサ制御部
122 操作部
201 AFフレーム
DESCRIPTION OF SYMBOLS 101 Shooting lens 108 Focus detection part 112 System controller 115 Sensor control part 122 Operation part 201 AF frame

Claims (3)

結像光学系の焦点状態を検出する焦点検出手段と、
連続撮影画像から被写体の動きの特徴量を抽出する特徴量抽出手段と、
前記特徴量抽出手段により抽出した被写体の動きの特徴量に基づいて前記焦点検出手段の動作を変更する動作変更手段とを有することを特徴とする撮像装置。
Focus detection means for detecting the focus state of the imaging optical system;
Feature amount extraction means for extracting feature amounts of the movement of the subject from continuously shot images;
An image pickup apparatus comprising: an operation changing unit that changes an operation of the focus detection unit based on a feature amount of a subject motion extracted by the feature amount extraction unit.
前記特徴量抽出手段により抽出された前記被写体の動きの特徴量を前記連続撮影画像ごとに記憶する記憶手段を有し、
前記動作変更手段は、前記記憶手段に記憶された前記被写体の動きの特徴量に対応する動作制御情報を読み出して前記焦点検出手段の動作を変更することを特徴とする請求項1に記載の撮像装置。
Storage means for storing the feature quantity of the movement of the subject extracted by the feature quantity extraction means for each of the continuously shot images;
2. The imaging according to claim 1, wherein the operation changing unit reads operation control information corresponding to a feature amount of the movement of the subject stored in the storage unit, and changes the operation of the focus detection unit. apparatus.
前記動作変更手段は、前記記憶手段に記憶されている前記被写体の動きの特徴量と前記動作制御情報を対応付ける主成分を変更することを特徴とする請求項2に記載の撮像装置。   The imaging apparatus according to claim 2, wherein the operation changing unit changes a main component that associates the feature amount of the subject motion stored in the storage unit with the operation control information.
JP2011136786A 2011-06-20 2011-06-20 Imaging device Expired - Fee Related JP5858658B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011136786A JP5858658B2 (en) 2011-06-20 2011-06-20 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011136786A JP5858658B2 (en) 2011-06-20 2011-06-20 Imaging device

Publications (2)

Publication Number Publication Date
JP2013003471A true JP2013003471A (en) 2013-01-07
JP5858658B2 JP5858658B2 (en) 2016-02-10

Family

ID=47672082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011136786A Expired - Fee Related JP5858658B2 (en) 2011-06-20 2011-06-20 Imaging device

Country Status (1)

Country Link
JP (1) JP5858658B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019159340A (en) * 2014-10-17 2019-09-19 株式会社ニコン Imaging device and electronic apparatus
JP2020106683A (en) * 2018-12-27 2020-07-09 キヤノン株式会社 Focus control device, imaging apparatus, and program
US10863079B2 (en) 2017-07-13 2020-12-08 Canon Kabushiki Kaisha Control apparatus, image capturing apparatus, and non-transitory computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008236712A (en) * 2007-02-22 2008-10-02 Fujifilm Corp Electronic device and setting switching method thereof, image reproducing method, and operation control method
JP2009069748A (en) * 2007-09-18 2009-04-02 Fujifilm Corp Imaging apparatus and its automatic focusing method
JP2010119097A (en) * 2008-10-16 2010-05-27 Nikon Corp Image evaluation apparatus, and camera

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008236712A (en) * 2007-02-22 2008-10-02 Fujifilm Corp Electronic device and setting switching method thereof, image reproducing method, and operation control method
JP2009069748A (en) * 2007-09-18 2009-04-02 Fujifilm Corp Imaging apparatus and its automatic focusing method
JP2010119097A (en) * 2008-10-16 2010-05-27 Nikon Corp Image evaluation apparatus, and camera

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019159340A (en) * 2014-10-17 2019-09-19 株式会社ニコン Imaging device and electronic apparatus
US10863079B2 (en) 2017-07-13 2020-12-08 Canon Kabushiki Kaisha Control apparatus, image capturing apparatus, and non-transitory computer-readable storage medium
JP2020106683A (en) * 2018-12-27 2020-07-09 キヤノン株式会社 Focus control device, imaging apparatus, and program
JP7277133B2 (en) 2018-12-27 2023-05-18 キヤノン株式会社 Focus control device, imaging device, and program

Also Published As

Publication number Publication date
JP5858658B2 (en) 2016-02-10

Similar Documents

Publication Publication Date Title
US8736689B2 (en) Imaging apparatus and image processing method
EP2168005B1 (en) Focus control apparatus, image sensing apparatus, and control method therefor
JP5251215B2 (en) Digital camera
US9317748B2 (en) Tracking apparatus
JP5004649B2 (en) Focus adjustment device, imaging device, and focus adjustment method
JP2006201282A (en) Digital camera
JP2009225072A (en) Imaging apparatus
JP4552997B2 (en) Imaging apparatus and program
KR101728042B1 (en) Digital photographing apparatus and control method thereof
JP4645413B2 (en) Imaging device
JP2010183559A (en) Image capturing apparatus, control method thereof, and program
CN104246597A (en) Imaging device, imaging method, recording medium and program
JP2019121860A (en) Image processing apparatus and control method therefor
JP5367129B2 (en) Imaging apparatus, control apparatus, and control method thereof
JP5858658B2 (en) Imaging device
JP5448868B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2006030972A (en) Imaging apparatus and imaging method
JP4983479B2 (en) Imaging device
JP4935380B2 (en) Image tracking device and imaging device
JP6071561B2 (en) Focus adjustment apparatus and method
JP5229371B2 (en) Imaging device
WO2013065642A1 (en) Image processing device
JP2006243609A (en) Autofocus device
JP5168424B2 (en) Imaging device
JP2011139123A (en) Image processor and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140620

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150311

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150407

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150825

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151023

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151215

R151 Written notification of patent or utility model registration

Ref document number: 5858658

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees