JP2012053313A - Imaging apparatus, automatic zooming method, and program - Google Patents
Imaging apparatus, automatic zooming method, and program Download PDFInfo
- Publication number
- JP2012053313A JP2012053313A JP2010196343A JP2010196343A JP2012053313A JP 2012053313 A JP2012053313 A JP 2012053313A JP 2010196343 A JP2010196343 A JP 2010196343A JP 2010196343 A JP2010196343 A JP 2010196343A JP 2012053313 A JP2012053313 A JP 2012053313A
- Authority
- JP
- Japan
- Prior art keywords
- subject
- zoom
- face
- screen
- main subject
- 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
Links
Images
Landscapes
- Studio Devices (AREA)
- Lens Barrels (AREA)
Abstract
Description
本発明は、オートズーム機能を有する撮像装置に関する。 The present invention relates to an imaging apparatus having an auto zoom function.
従来から、カメラを任意の被写体に向けると、その被写体距離に応じて予めカメラに設定された像倍率となるように自動的にズーミングを行う、いわゆるオートズーム機能を備えたカメラが知られている。特許文献1には、表示画面上における顔画像の面積を算出し、この顔面積を基準顔面積と比較して、常に同じ大きさの顔画像を撮影する方法が開示されている。 2. Description of the Related Art Conventionally, there has been known a camera having a so-called auto zoom function that automatically performs zooming so that an image magnification set in the camera in advance is set according to the subject distance when the camera is pointed at an arbitrary subject. . Patent Document 1 discloses a method of calculating a face image area on a display screen, comparing the face area with a reference face area, and always capturing a face image having the same size.
また特許文献2には、撮像画像の中から形状解析等の手法によって人物の顔を自動的に検出する撮像装置が開示されている。この撮像装置では、人物の顔が検出されると、画面上でその旨を表示するとともに検出された人物の顔に対して焦点検出エリアを表示し、この焦点検出エリアに対して焦点調節動作を行う。このような撮像装置によれば、撮像画像全体から人物の顔を検出することで、画面内の人物の位置又は範囲に関わらず、人物の顔に対して焦点調節動作を行うことができる。 Patent Document 2 discloses an imaging device that automatically detects a human face from a captured image by a technique such as shape analysis. In this imaging apparatus, when a human face is detected, the fact is displayed on the screen, a focus detection area is displayed for the detected human face, and a focus adjustment operation is performed on the focus detection area. Do. According to such an imaging apparatus, it is possible to perform a focus adjustment operation on a person's face by detecting the person's face from the entire captured image regardless of the position or range of the person on the screen.
しかしながら、例えば、顔検出機能を用いて検出された顔に対してオートズーム機能を実行する撮像装置において、移動している顔に対してオートズーム機能を有効にした場合、撮影画面内から消失してしまう可能性が考えられる。撮影者のカメラワークで中央に配置することは可能だが、顔が撮影画面内を移動する速度が速い場合、すぐに画面から消失してしまう頻度が多くなる。このように、オートズーム機能を有効にしても、撮影画面内からすぐに消失してしまう場合、ズーム動作の実行、非実行を繰り返してしまったり、顔が撮影画面内から消失してしまっているのにズーム動作を行ってしまったりしてしまう。そして、記録された映像を撮影者が鑑賞した場合に、違和感のあるズーム動作をしてしまって、不快に感じてしまう可能性がある。 However, for example, in an imaging apparatus that executes an auto zoom function for a face detected using the face detection function, if the auto zoom function is enabled for a moving face, the image disappears from the shooting screen. There is a possibility that Although it is possible to place the camera in the center by the photographer's camera work, if the face moves at a high speed in the shooting screen, the frequency of disappearing from the screen immediately increases. In this way, even if the auto zoom function is enabled, if it disappears immediately from the shooting screen, the zoom operation is repeatedly executed or not executed, or the face is lost from the shooting screen However, zooming is performed. Then, when the photographer views the recorded video, there is a possibility that the user feels uncomfortable because of an uncomfortable zoom operation.
そこで本発明は、オートズーム動作の安定性を向上させた撮像装置を提供する。 Therefore, the present invention provides an imaging apparatus that improves the stability of auto-zoom operation.
本発明の一側面としての撮像装置は、ズームレンズを含む撮像光学系により形成された被写体像を光電変換して像信号を出力する撮像素子と、前記撮像素子から出力された前記像信号に基づいて主被写体を検出する被写体検出手段と、前記ズームレンズを駆動して変倍動作を行い、前記主被写体が画面上で一定の大きさになるようにオートズーム制御を行うズーム制御手段と、前記画面上での前記主被写体の変化量が所定値より大きい場合に前記オートズーム制御を停止させる制御手段とを有する。 An image pickup apparatus according to one aspect of the present invention is based on an image pickup device that photoelectrically converts a subject image formed by an image pickup optical system including a zoom lens and outputs an image signal, and the image signal output from the image pickup device. Subject detection means for detecting the main subject, zoom control means for performing zooming operation by driving the zoom lens, and performing auto zoom control so that the main subject has a constant size on the screen, and Control means for stopping the auto-zoom control when the amount of change of the main subject on the screen is larger than a predetermined value.
また、上記オートズーム制御を実行するためのオートズーム方法及びプログラムも本発明の他の一側面を構成する。 An auto zoom method and program for executing the auto zoom control also constitute another aspect of the present invention.
本発明の他の目的及び特徴は、以下の実施例において説明される。 Other objects and features of the present invention are illustrated in the following examples.
本発明によれば、オートズーム動作の安定性を向上させた撮像装置を提供することができる。 According to the present invention, it is possible to provide an imaging apparatus with improved auto-zoom operation stability.
以下、本発明の実施例について、図面を参照しながら詳細に説明する。各図において、同一の部材については同一の参照番号を付し、重複する説明は省略する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In each figure, the same members are denoted by the same reference numerals, and redundant description is omitted.
まず、本発明の実施例における撮像装置について説明する。図1は、本実施例の撮像装置(ビデオカメラ)の概略構成を示すブロック図である。なお、撮像装置として本実施例ではビデオカメラについて説明するが、これに限定されるものではなく、本実施例はデジタルスチルカメラ等の他の撮像装置にも適用可能である。 First, an imaging apparatus according to an embodiment of the present invention will be described. FIG. 1 is a block diagram illustrating a schematic configuration of an imaging apparatus (video camera) of the present embodiment. In this embodiment, a video camera will be described as an image pickup apparatus. However, the present invention is not limited to this, and the present embodiment can also be applied to other image pickup apparatuses such as a digital still camera.
図1において、ビデオカメラ100は、光軸方向に、第1固定レンズ101、変倍レンズ102、絞り103、第2固定レンズ104、及びフォーカスコンペンセータレンズ105が順次配置され、これらによって撮像光学系が構成される。変倍レンズ102は、光軸方向に移動して変倍を行うズームレンズである。フォーカスコンペンセータレンズ(以下、フォーカスレンズ)105は、変倍に伴う焦点面の移動を補正する機能とフォーカシングの機能とを兼ね備えたレンズである。そして、フォーカスレンズ105の背部には、撮像素子106が配置されている。撮像素子106は、CCDセンサやCMOSセンサにより構成される光電変換素子であり、結像された光学像を電気信号に変換してCDS/AGC回路107に出力する。このように撮像素子106は、変倍レンズ102を含む撮像光学系により形成された被写体像を光電変換して像信号を出力する。CDS/AGC回路107は、撮像素子106の出力をサンプリングしてゲイン調整する。
In FIG. 1, a
ビデオカメラ100は、カメラ信号処理回路108、モニタ部109、ズーム駆動源110、フォーカシング駆動源111、AFゲート112、AF信号処理回路113、カメラ/AFマイクロコンピュータ114、及び、記録部115を備える。カメラ信号処理回路108は、CDS/AGC回路107からの出力信号に対して各種の画像処理を施して映像信号を生成する。モニタ部109は、LCD等により構成されるモニタ(画面)であり、カメラ信号処理回路108から出力された映像信号を撮像画像として表示する。記録部115は、カメラ信号処理回路108から出力された映像信号を磁気テープ、光ディスク、半導体メモリ等の記録媒体に記録する。
The
AFゲート112は、CDS/AGC回路107からの全画素の出力信号のうち焦点調節に用いられる領域の信号のみをAF信号処理回路113に通過させる。AF信号処理回路113は、AFゲート112を通過した信号から高周波成分、輝度差成分等を抽出してAF評価値信号を生成し、生成したAF評価値信号をカメラ/AFマイクロコンピュータ114(以下、単に「コンピュータ」という。)に出力する。輝度差成分は、例えば、AFゲート112を通過した信号の輝度レベルの最大値と最小値の差分である。また、AF評価値信号は、撮像素子106からの出力信号に基づいて生成される映像の鮮鋭度を表す。鮮鋭度は撮像光学系の焦点状態によって変化するため、AF評価値信号は撮像光学系の焦点状態を表す信号となる。
The
制御部としてのコンピュータ114は、ビデオカメラ100全体を制御する。コンピュータ114は、例えば、ズーム制御やフォーカス制御などを行う。ズーム制御は、ズーム駆動源110を制御して変倍レンズ102を駆動させる。コンピュータ114及びズーム駆動源110は、変倍レンズ102を駆動して変倍動作を行い、主被写体が画面上で一定の大きさになるようにオートズーム制御を行うズーム制御手段を構成する。
A
フォーカス制御は、フォーカシング駆動源111を制御してフォーカスレンズ105を駆動させる。ズーム駆動源110及びフォーカシング駆動源111は、ステッピングモータ、DCモータ、振動型モータ、ボイスコイルモータ等のアクチュエータにより構成される。ここで、コンピュータ114によるフォーカス制御には、公知のTV−AF方式(以下、単に「TV−AF」という。)による制御を用いることができる。また、オートズーム制御動作実行時も、TV−AF方式により、変倍レンズ102及びフォーカスレンズ105を制御しながら、公知のズーム制御時のピント合わせを行う。さらに、ズームレンズ位置検出装置120及びフォーカスレンズ位置検出装置121が設けられており、それぞれ、変倍レンズ102及びフォーカスレンズ105の光軸方向の位置を検出する。そして、ズームレンズ位置検出装置120によりズームレンズ位置を検出しながらズーム制御を行い、フォーカスレンズ位置検出装置121によりフォーカスレンズ位置を検出しながらフォーカス制御を行う。さらに、ズームレンズ位置(焦点距離)及びズーム倍率は、コンピュータ114の内部又は外部に設けられた不揮発性メモリ等の記憶手段(不図示)に記憶される。
The focus control controls the focusing
さらに、ビデオカメラ100は、顔検出処理回路116、顔検出モード切替部117、選択指示部118、及び、オートズームモード切替部119を備えている。被写体検出手段としての顔検出処理回路116は、カメラ信号処理回路108から出力された映像信号に対して公知の顔認識処理を施す。そして、撮影画面内の主被写体(顔領域)を検出し、被写体位置情報を含む検出結果をコンピュータ114に送信する。被写体位置情報とは、撮影画面内での被写体領域の位置に関する情報である。このように、顔検出処理回路116は、撮像素子106から出力された像信号に基づいて主被写体を検出する。
Further, the
コンピュータ114は、受信した検出結果に基づき、撮影画面内の顔領域を含む位置に対して焦点検出に用いられる領域を追加するため、AFゲート112へ情報を送信する。公知の顔認識処理としては、例えば、映像信号に対応した画像データで表される各画素の階調色から肌色領域を抽出し、予め用意する顔の輪郭プレートとのマッチング度で顔領域を検出する方法がある。また、周知のパターン認識技術を用いて、目、鼻、口等の顔の特徴点を抽出することで顔領域を検出する方法がある。本実施例における顔認識処理は、上述の方法に限定されるものではなく、公知のいずれの方法でもよい。また、コンピュータ114は、顔検出処理回路116で認識された顔領域を撮影者に通知するために、顔領域の位置、サイズ等の情報をカメラ信号処理回路108へ送信し、これらの情報に対応した枠表示を映像信号に重畳させてモニタ部109に表示させる。
Based on the received detection result, the
顔検出モード切替部117は、顔検出処理による制御(顔検出制御)の有効/無効を切り替える機能を有する。顔検出制御が有効の場合、コンピュータ114は、AF制御等について顔検出処理の結果に応じた制御を行う。選択指示部118は、顔検出制御において、撮影者が特定の被写体に固定しようとする場合に、特定の顔を撮影者が選択指示する機能を有する。撮影者は十字キーやタッチパネル等の操作部材を用いて特定の顔を選択、指示することで、コンピュータ114は、選択、指示された顔に対して、AF制御等を行う(以下、「主顔選択」という)。オートズームモード切替部119は、オートズーム機能の有効/無効を切り替える機能を有する。オートズーム機能が有効の場合、コンピュータ114は、顔検出処理の結果に応じてズーム駆動源110を制御することによって、検出された顔が常に一定の大きさとなるようにズーム制御を行う。
[第1実施形態]
次に、図2を参照して、本発明の第1実施形態におけるオートズーム制御について説明する。図2は、本実施形態におけるオートズーム制御の手順を示すフローチャートである。図2のフローで示される顔検出制御の処理は、コンピュータ114内のメモリに格納されたプログラムに従って実行される。
The face detection
[First Embodiment]
Next, with reference to FIG. 2, the auto zoom control in the first embodiment of the present invention will be described. FIG. 2 is a flowchart showing a procedure of auto zoom control in the present embodiment. The face detection control process shown in the flow of FIG. 2 is executed according to a program stored in a memory in the
まずステップS201において、コンピュータ114によりオートズーム制御が開始される。なお、本フローの処理は、例えば、1フィールド画像を生成するための撮像素子106からの撮像信号の読み出し周期にて繰り返し実行される。次にステップS202において、顔検出処理回路116からオートズーム制御の対象となる顔の画面上の位置、及び、大きさを取得する。そして、ステップS203において、現在のズーム位置を取得する。
First, in step S201, the
ステップS204では、ステップS202で取得した顔の大きさについて、前回取得した顔の大きさと比較し、顔の大きさが所定のしきい値サイズ以上変化したか否かを判定する。顔の大きさが所定のしきい値サイズ以上変化している場合、オートズーム制御の対象となる顔が動いていると判断し、後述するステップS205の移動監視処理へ移行する。なお、ステップS205の移動監視処理の詳細については後述する。一方、顔の大きさが所定のしきい値サイズ以上変化していない場合、ステップS209へ移行する。 In step S204, the face size acquired in step S202 is compared with the previously acquired face size to determine whether the face size has changed by a predetermined threshold size or more. If the size of the face has changed by a predetermined threshold size or more, it is determined that the face subject to auto zoom control is moving, and the process proceeds to the movement monitoring process in step S205 described later. Details of the movement monitoring process in step S205 will be described later. On the other hand, if the face size has not changed by more than the predetermined threshold size, the process proceeds to step S209.
ステップS205における移動監視処理の後、ステップS206にてズーム動作禁止フラグがセットされているか否かを判断する。ズーム動作禁止フラグがセットされていない場合には、ステップ207へ移行する。一方、ズーム動作禁止フラグがセットされている場合には、ステップS209へ移行する。ここで、ズーム動作禁止フラグがセットされている場合には、新たに目標ズーム位置を設定してズーム動作を実行することにより、オートズーム制御の対象となる顔が撮影画角内から消失している、又は、消失する可能性が高いと判断された状態である。これにより、オートズーム制御の対象となる顔が移動している等ですぐに撮影画角から消失してしまう場合に、ズーム動作を不用意に大きく行うことを防ぐことができる。すなわち、オートズーム制御の対象となる顔が撮影画角から消失しているにも関わらずオートズーム動作を実行することによる不安定な動作を軽減し、撮影者にとって違和感のある制御を軽減することが可能となる。 After the movement monitoring process in step S205, it is determined in step S206 whether the zoom operation prohibition flag is set. If the zoom operation prohibition flag is not set, the process proceeds to step 207. On the other hand, if the zoom operation prohibition flag is set, the process proceeds to step S209. If the zoom operation prohibition flag is set, the target zoom position is newly set and the zoom operation is executed, so that the face subject to auto zoom control disappears from the shooting angle of view. It is in a state where it is determined that there is a high possibility of being lost or disappearing. Accordingly, it is possible to prevent the zoom operation from being performed inadvertently when the face subject to auto zoom control is moved and disappears immediately from the shooting angle of view. In other words, the unstable operation caused by executing the auto-zoom operation despite the disappearance of the face subject to auto-zoom control from the shooting angle of view is reduced, and the control that makes the photographer feel uncomfortable Is possible.
ステップS209への移行は、ステップS204において取得した顔の大きさが前回取得した顔の大きさと変化がない、又は、ステップS205の移動監視処理においてズーム動作禁止フラグがセットされている状態であることを示す。このため、新たな目標ズーム位置は設定されず目標ズーム位置は更新されない。ただし、前回設定された目標ズーム位置へズーム位置が到達していないと判断される場合には、目標ズーム位置までズーム動作を実行する。そのため、ステップS209では、目標ズーム位置にズーム位置が到達しているか否かを判定し、ステップS203で取得された現在のズーム位置が目標ズーム位置に到達していない場合には、ステップS207へ移行する。一方、現在のズーム位置が目標ズーム位置に到達している場合には、ステップS210へ移行する。 The transition to step S209 is that the face size acquired in step S204 is the same as the previously acquired face size, or the zoom operation prohibition flag is set in the movement monitoring process in step S205. Indicates. For this reason, a new target zoom position is not set and the target zoom position is not updated. However, if it is determined that the zoom position has not reached the previously set target zoom position, the zoom operation is executed up to the target zoom position. Therefore, in step S209, it is determined whether or not the zoom position has reached the target zoom position. If the current zoom position acquired in step S203 has not reached the target zoom position, the process proceeds to step S207. To do. On the other hand, if the current zoom position has reached the target zoom position, the process proceeds to step S210.
ステップS207では、設定されている目標ズーム位置へズームを駆動させる。一方、ステップS210では、ズーム動作を行わないようにズーム駆動を停止させる。そして、ステップS208において、オートズーム制御の対象となっている顔の位置、及び、大きさの履歴、さらに現在のズーム位置又はズーム倍率に関する情報を、揮発性メモリ等から構成される記憶手段(不図示)に保存する。 In step S207, the zoom is driven to the set target zoom position. On the other hand, in step S210, the zoom drive is stopped so as not to perform the zoom operation. In step S208, information on the face position and size history subject to auto-zoom control, as well as information on the current zoom position or zoom magnification, is stored in a volatile memory (not shown). Save to the figure.
次に、図3を参照して、本実施形態のオートズーム制御における移動監視処理について説明する。図3は、本実施形態における移動監視処理(ステップS205)の手順を示すフローチャートである。まずステップS301で移動監視処理が開始されると、ステップS302において、取得した現在の顔の大きさ及び現在のズーム位置に基づいて、次に移動させるズーム位置を仮算出する。例えば、前回の顔の大きさと現在の顔の大きさを比較し、顔の大きさが例えば1.5倍の大きさに変化していた場合、現在のズーム倍率が3倍であれば、ズーム倍率が2倍となるズーム位置を移動位置として仮算出する。ここで、予め記憶手段にズーム位置(焦点距離)又はズーム倍率との関係を示すズーム倍率テーブルデータを記憶しておくことにより、ズーム倍率が3倍や2倍等になるズーム位置を容易に算出することができる。そして、ステップS303において、変倍レンズ102を上記の移動位置へ移動させる際の変倍レンズ102の駆動スピードを設定する。変倍レンズ102の駆動スピードは、オートズーム制御を実行している際には、変倍レンズ102を移動させるのに撮影者が違和感のない所定の固定駆動スピードでよい。
Next, with reference to FIG. 3, the movement monitoring process in the auto zoom control of the present embodiment will be described. FIG. 3 is a flowchart showing the procedure of the movement monitoring process (step S205) in the present embodiment. First, when the movement monitoring process is started in step S301, a zoom position to be moved next is provisionally calculated in step S302 based on the acquired current face size and current zoom position. For example, the previous face size is compared with the current face size. If the face size has changed to 1.5 times, for example, if the current zoom magnification is 3 times, A zoom position at which the magnification is twice is temporarily calculated as a movement position. Here, by previously storing zoom magnification table data indicating the relationship between the zoom position (focal length) or the zoom magnification in the storage means, the zoom position at which the zoom magnification is 3 times or 2 times can be easily calculated. can do. In step S303, the driving speed of the
次にステップS304において、ステップS302で得られたズーム位置(ズームレンズの位置)とステップS303で設定した変倍レンズ102の駆動スピード(ズーム速度)に基づいて、所定時間後の画角を算出する。画角の算出は、算出手段(コンピュータ114)の画角算出部により行われる。ここで、所定時間後とは、顔検出処理回路116の検出周期と同等でよく、例えば、顔検出処理回路116の検出周期が1フレーム単位であれば、所定時間は1/30秒となる。また、所定時間後の画角の算出の方法は、例えば、まず前述の所定時間とステップS303で設定した変倍レンズ102の駆動スピードから所定時間後の変倍レンズ102の移動量L1を算出する。そして、現在のズーム位置から移動量L1だけ移動した際のズーム位置P2を算出し、前記ズーム倍率テーブルデータより所定時間後のズーム倍率Z2を導く。これにより、所定時間後の画角が現在の画角に対してどのような画角サイズになるのかを算出することができる。例えば、現在のズーム倍率が4倍で、所定時間後のズーム倍率Z2が2倍である場合、所定時間後の画角は現在の画角に対して、約2倍の画角サイズになる。
In step S304, an angle of view after a predetermined time is calculated based on the zoom position (zoom lens position) obtained in step S302 and the driving speed (zoom speed) of the
次にステップS305において、ステップS208で履歴しているオートズーム制御の対象となる顔の位置及び大きさ、さらにはズーム位置から、ステップS304で算出した所定時間後の画角における顔の位置及び大きさを算出する。すなわち、算出手段としてのコンピュータ114は、画面上での主被写体の位置及び大きさを監視し、所定時間後の主被写体の位置及び大きさを算出する。ここでは、まず、ステップS208で記憶されたるオートズーム制御の対象である顔の位置及び大きさの履歴、及び、ズーム位置に関する情報を用いて、所定時間後の画角における顔の位置及び大きさを算出する。この算出は、算出手段の被写体位置算出部により行われる。例えば、履歴されているオートズーム制御の対象となっている顔の位置、サイズ、及び、ズーム位置で前回の顔のX座標位置X(t)、Y座標位置Y(t)、顔のサイズF(t)、ズーム位置をズーム倍率でZ(t)倍の位置であるとする。また、今回の顔のX座標位置X(t+1)、Y座標位置Y(t+1)、顔のサイズF(t+1)、ズーム位置をズーム倍率でZ(t+1)倍の位置であるとする。そして、所定時間後の画角がズーム倍率でZ(t+2)倍のズーム位置であるとする。なお、X座標位置及びY座標位置は、画面中心を基準とする。この場合、所定時間後の画角であるズーム倍率Z(t+2)倍のズーム位置に移動した際の前回の顔のX座標位置X1(t)、Y座標位置Y1(t)、顔のサイズF1(t)はそれぞれ、以下の式(1−1)、(1−2)、(1−3)のように表される。
Next, in step S305, the position and size of the face subject to auto-zoom control that has been recorded in step S208, and further, the position and size of the face at the angle of view after a predetermined time calculated in step S304 from the zoom position. Is calculated. In other words, the
X1(t)=X(t)×Z(t+2)/Z(t) … (1−1)
Y1(t)=Y(t)×Z(t+2)/Z(t) … (1−2)
F1(t)=F(t)×Z(t+2)/Z(t) … (1−3)
また、所定時間後の画角であるズーム倍率Z(t+2)倍のズーム位置に移動した際の前回の顔のX座標位置X1(t+1)、Y座標位置Y1(t+1)、顔のサイズF1(t+1)はそれぞれ、以下の式(2−1)、(2−2)、(2−3)のように表される。
X1 (t) = X (t) × Z (t + 2) / Z (t) (1-1)
Y1 (t) = Y (t) × Z (t + 2) / Z (t) (1-2)
F1 (t) = F (t) × Z (t + 2) / Z (t) (1-3)
Also, the X coordinate position X1 (t + 1), the Y coordinate position Y1 (t + 1) of the previous face, and the face size F1 (when moving to a zoom position with a zoom magnification Z (t + 2) times that is the angle of view after a predetermined time. t + 1) is expressed as the following equations (2-1), (2-2), and (2-3), respectively.
X1(t+1)=X(t+1)×Z(t+2)/Z(t+1) … (2−1)
Y1(t+1)=Y(t+1)×Z(t+2)/Z(t+1) … (2−2)
F1(t+1)=F(t+1)×Z(t+2)/Z(t+1) … (2−3)
上記のとおり算出された顔のX座標位置X1(t)、X1(t+1)の移動量(変位量)から、所定時間後の画角における顔のX座標位置X(t+2)は、以下の式(3−1)のように表される。
X1 (t + 1) = X (t + 1) × Z (t + 2) / Z (t + 1) (2-1)
Y1 (t + 1) = Y (t + 1) × Z (t + 2) / Z (t + 1) (2-2)
F1 (t + 1) = F (t + 1) × Z (t + 2) / Z (t + 1) (2-3)
From the movement amount (displacement amount) of the X coordinate positions X1 (t) and X1 (t + 1) of the face calculated as described above, the X coordinate position X (t + 2) of the face at the angle of view after a predetermined time is expressed by the following equation: It is expressed as (3-1).
X(t+2)=X1(t+1)+(X1(t+1)−X1(t)) … (3−1)
同様に、顔のY座標位置Y1(t)、Y1(t+1)の移動量(変位量)から、所定時間後の画角における顔のY座標位置Y(t+2)は、以下の式(3−2)のように表される。
X (t + 2) = X1 (t + 1) + (X1 (t + 1) -X1 (t)) (3-1)
Similarly, from the movement amount (displacement amount) of the face Y coordinate positions Y1 (t) and Y1 (t + 1), the face Y coordinate position Y (t + 2) at the angle of view after a predetermined time is expressed by the following equation (3- It is expressed as 2).
Y(t+2)=Y1(t+1)+(Y1(t+1)−Y1(t)) … (3−2)
また、顔のサイズF1(t)、F1(t+1)の変位量から、所定時間後の画角における顔のサイズF(t+2)は、以下の式(3−3)のように表される。
Y (t + 2) = Y1 (t + 1) + (Y1 (t + 1) −Y1 (t)) (3-2)
Further, from the amount of displacement of the face sizes F1 (t) and F1 (t + 1), the face size F (t + 2) at the angle of view after a predetermined time is expressed as the following equation (3-3).
F(t+2)=F1(t+1)+(F1(t+1)−F1(t)) … (3−3)
図4は、上記のように算出された所定時間後の画角における位置のイメージ図である。ここで、オートズーム制御の対象である被写体が、図4(A)中に示される矢印のように移動したとする。401は前回と今回の画角、402は前回の被写体、403は今回の被写体である。これに対し、図4(B)は、所定時間後の画角を基準とした顔の位置及び大きさ(被写体)を示している。404は所定時間後の画角、405は所定時間後の画角を基準とした前回の被写体、406は所定時間後の画角を基準とした今回の被写体、407は所定時間後の画角を基準とした所定時間後の被写体(予測)である。408は所定時間後の画角に対する前回と今回の画角である。なお、図4に示されるイメージ図では、所定時間後の画角が前回と今回の画角の約1.5倍であると仮定している。
F (t + 2) = F1 (t + 1) + (F1 (t + 1) −F1 (t)) (3-3)
FIG. 4 is an image diagram of the position at the angle of view after a predetermined time calculated as described above. Here, it is assumed that the subject that is the target of the auto zoom control has moved as indicated by the arrow shown in FIG. 401 is the previous and current angle of view, 402 is the previous subject, and 403 is the current subject. On the other hand, FIG. 4B shows the face position and size (subject) based on the angle of view after a predetermined time. 404 is the angle of view after a predetermined time, 405 is the previous subject based on the angle of view after the predetermined time, 406 is the current subject based on the angle of view after the predetermined time, and 407 is the angle of view after the predetermined time. This is a subject (prediction) after a predetermined time as a reference.
次にステップS306では、ステップS305で予測して算出された顔の位置及び大きさが所定時間後の画角において、オートズーム制御の対象となる顔が存在するか否かを判定する。すなわち、判定手段としてのコンピュータ114は、算出手段(画角算出部と被写体位置算出部)の算出結果に基づいて、所定時間後の主被写体の所定割合が画面の所定領域内に存在するか否かを判定する。具体的には、図4(B)において、所定時間後の画角404内に所定時間後の画角における被写体が少なくとも所定の面積割合(所定割合)だけ含まれるか否かが判定される。例えば、所定時間後の画角における顔位置及び大きさの被写体面積の3/4倍の面積が所定時間後の画角404内に含まれるか否かが判定される。図4(B)において、所定時間後の画角404における被写体402、403は、画角404内に含まれているため顔が存在すると判定される。一方、所定時間後の画角404における被写体407に関しては、所定時間後の画角404内に被写体407の所定の面積割合(例えば3/4の面積)が画角404内に含まれていない。この場合、顔が存在しないと判定される。
Next, in step S306, it is determined whether or not there is a face to be subjected to auto zoom control at the angle of view after the predetermined time of the face position and size calculated by prediction in step S305. In other words, the
ステップS306において、所定時間後の画角内にオートズーム制御の対象となる顔が存在する場合には、ステップS307へ移行する。一方、オートズーム制御の対象となる顔が存在しない場合には、ステップS308へ移行する。ステップS307では、顔が存在する可能性が高いため、ステップS302で仮算出したズーム位置を目標ズーム位置として設定する。一方ステップS308では、顔が存在する可能性が低いため、ズーム動作禁止フラグをセットする。すなわち、停止手段としてのコンピュータ114は、主被写体の所定割合が画面の所定領域内に存在しないと判定された場合にオートズーム制御を停止させる(禁止する)。このように、コンピュータ114は、画面上での主被写体の変化量が所定値より大きい場合にオートズーム制御を停止させる制御手段である。ズーム動作禁止フラグがセットされると、コンピュータ114は、新たに目標ズーム位置を設定せず、オートズーム制御における目標ズーム位置を更新しない。
In step S306, if there is a face to be subjected to auto zoom control within the angle of view after a predetermined time, the process proceeds to step S307. On the other hand, if there is no face subject to auto zoom control, the process proceeds to step S308. In step S307, since there is a high possibility that a face exists, the zoom position temporarily calculated in step S302 is set as the target zoom position. On the other hand, in step S308, since it is unlikely that a face exists, the zoom operation prohibition flag is set. That is, the
また本実施形態では、所定時間後の画角404の内側に判別画角を設定し、判別画角内に顔位置及び大きさの被写体406(又は、被写体407)が存在するか否かを判定してもよい。また判別画角は、顔の位置の変化量(移動量)に応じて可変にすることができる。図5は、この場合の移動監視処理(ステップS2051)の手順を示すフローチャートである。図5において、ステップS501〜S505、S507、及び、S508は、図3のステップS301〜S305、S307、及び、S308と同様であるため、それらの説明については省略する。
In this embodiment, the discrimination angle of view is set inside the angle of
図5のステップS510において、算出手段の移動量算出部は、被写体位置算出部により算出された顔の位置の履歴から顔の移動量を算出する。すなわち、ステップS505で算出された所定時間後の画角におけるオートズーム制御の対象となる顔の位置に基づいて、所定時間後の画角における顔の移動量を算出する。次にステップS511において、顔の移動量から所定時間後の画角の内側に判別画角(所定領域)を設定する。そしてステップS512にて、判定手段は、顔の所定割合がその判別画角内に存在するか否かを判定する。例えば、顔の移動量が所定の第1移動量よりも小さい場合には、判別画角を所定時間後の画角と同等にする。一方、顔の移動量が所定の第1移動量よりも大きい場合には、判別画角として、所定時間後の画角よりも内側に小さい領域を設定する。このように、判定手段は、移動量算出部により算出された主被写体の移動量が大きいほど画面の所定領域が小さくなるように、所定領域の大きさを変更する。 In step S510 of FIG. 5, the movement amount calculation unit of the calculation unit calculates the movement amount of the face from the history of the face positions calculated by the subject position calculation unit. That is, the amount of movement of the face at the angle of view after the predetermined time is calculated based on the position of the face to be subjected to auto zoom control at the angle of view after the predetermined time calculated at step S505. In step S511, a discrimination angle of view (predetermined region) is set inside the angle of view after a predetermined time from the amount of face movement. In step S512, the determination unit determines whether or not a predetermined ratio of the face exists within the determination angle of view. For example, when the movement amount of the face is smaller than a predetermined first movement amount, the determination angle of view is made equal to the angle of view after a predetermined time. On the other hand, when the movement amount of the face is larger than the predetermined first movement amount, an area smaller than the angle of view after a predetermined time is set as the determination angle of view. As described above, the determination unit changes the size of the predetermined area so that the predetermined area on the screen becomes smaller as the movement amount of the main subject calculated by the movement amount calculation unit is larger.
所定時間後の画角において顔の位置が画角の端に存在すると、次回のオートズーム制御では有効な動作が困難となる可能性がある。また、顔の位置の変化量が大きい場合、次回のオートズーム制御では画面から消失する可能性もある。このため、顔の位置や顔の位置の変化に応じて、所定時間後の画角504の内側に判別画角を設定し、その判別画角に存在するか否かを判別する。この結果、次回の制御周期で判別する前に、オートズーム制御の実行を継続するか否かを判別することができ、より確実にオートズーム制御の対象となる顔が存在するか否かを判別が可能となる。このため、不用意なズーム動作を軽減でき、撮影者の違和感を軽減することが可能となる。 If the face position exists at the end of the angle of view after a predetermined time, an effective operation may be difficult in the next auto zoom control. In addition, when the amount of change in the face position is large, there is a possibility that it will disappear from the screen in the next auto zoom control. For this reason, a discrimination field angle is set inside the angle of view 504 after a predetermined time in accordance with the position of the face and the change of the face position, and it is determined whether or not the angle of view exists. As a result, it is possible to determine whether or not to continue the execution of the auto zoom control before determining at the next control cycle, and it is possible to more reliably determine whether or not the face subject to the auto zoom control exists. Is possible. For this reason, an inadvertent zoom operation can be reduced, and a photographer's uncomfortable feeling can be reduced.
常に顔の大きさを一定にして撮影できるオートズーム機能を有する撮像装置において、オートズーム制御の対象となる顔が動きの速い被写体であり、又は、移動している被写体である場合には、撮影画角から消失してしまう可能性がある。このとき、不用意にズーム動作を実行すると、撮影画面からオートズーム制御の対象となる顔が存在しないのにも関わらずズーム動作が行われ、撮影者に違和感や不快感を与える場合がある。また、画面内に対象となる顔を配置して、ズーム動作をしては対象となる顔が消失するという動作を繰り返し、安定した制御ができず、撮影映像の品位が劣化する場合がある。このため本実施形態では、オートズーム制御の対象となる顔の履歴を用いて、顔の大きさが変化した場合、オートズーム動作によって変化する撮影画角内に対象となる顔が存在するか否かを判定する。そして、顔が存在する場合にはオートズーム動作の実行を継続し、顔が存在しない場合にはオートズーム動作の実行を禁止する。これにより、オートズーム制御の安定感が向上し、撮影者の違和感や不快感を軽減することが可能となる。
[第2実施形態]
次に、図6を参照して、本発明の第2実施形態におけるオートズーム制御(追尾制御)について説明する。図6は、本実施形態におけるオートズーム制御の手順を示すフローチャートである。図6のフローで示される顔検出制御の処理は、第1実施形態と同様に、コンピュータ114内のメモリに格納されたプログラムに従って実行される。なお図6において、ステップS601、S603〜S610は、図2のステップS201、S203〜S210とそれぞれ同様であるため、これらの説明は省略する。
In an imaging device having an auto zoom function that can always shoot with the face size kept constant, if the face that is subject to auto zoom control is a fast-moving subject or a moving subject There is a possibility of disappearing from the angle of view. At this time, if the zoom operation is performed carelessly, the zoom operation is performed even when there is no face that is subject to auto zoom control from the shooting screen, which may cause the photographer to feel uncomfortable or uncomfortable. In addition, when the target face is arranged in the screen and the zoom operation is performed, the target face disappears repeatedly, so that stable control cannot be performed and the quality of the captured image may deteriorate. For this reason, in this embodiment, when the face size is changed using the history of the face to be subjected to auto zoom control, whether or not the target face exists within the shooting angle of view that is changed by the auto zoom operation. Determine whether. If the face is present, the auto zoom operation is continued. If the face is not present, the auto zoom operation is prohibited. As a result, the stability of auto zoom control is improved, and it is possible to reduce the sense of discomfort and discomfort of the photographer.
[Second Embodiment]
Next, auto zoom control (tracking control) in the second embodiment of the present invention will be described with reference to FIG. FIG. 6 is a flowchart showing a procedure of auto zoom control in the present embodiment. The face detection control process shown in the flow of FIG. 6 is executed according to a program stored in a memory in the
本実施形態は、図2及び図3を参照して説明した第1実施形態のオートズーム制御の際に、顔検出処理回路116で顔検出ができなかった場合に、追尾制御を実行するビデオカメラ(撮像装置)に関する。なお、追尾制御は、コンピュータ114により実行され、公知の処理が適用される。例えば、テンプレートマッチングの手法があり、追尾対象の画像領域(本実施例ではオートズーム制御の対象となる顔で、最後に顔検出された領域)を切り出した部分画像を基準画像(テンプレート画像)として登録する。そして、基準画像内の輝度や色情報を特徴量とし、画像内で基準画像の特徴量と最も相関度が高い領域を推定し、特定の被写体(本実施例ではオートズーム制御の対象となる顔)を追尾する。
This embodiment is a video camera that performs tracking control when face detection cannot be performed by the face
まず、図6のステップS620において、顔検出処理回路116によりオートズーム制御の対象となる顔が検出できたか否かが判定される。ステップS620にて顔が検出された場合にはステップS621へ移行し、顔検出処理回路116からオートズーム制御の対象となる顔の画面上の位置及び大きさを取得する。ステップS621では、顔検出処理回路116に含まれる第1被写体検出回路が、特定の画面から被写体(顔)を検出する。一方、顔が検出できなかった場合にはステップS622へ移行する。ステップS622では、オートズーム制御の対象となる顔を追尾対象として、追尾制御を実行しているか否かを判定する。追尾制御を実行していない場合には、オートズーム制御を実行しない。一方、追尾制御を実行している場合にはステップS623へ移行し、追尾対象領域における顔の位置及び大きさを取得する。ステップS623では、顔検出処理回路116に含まれる第2被写体検出回路が、時系列に連続した複数の画面から被写体(顔)を検出する。ステップS603以降は、図2を参照して説明した第1実施形態と同様の処理が行われる。
First, in step S620 in FIG. 6, it is determined whether or not the face to be subjected to auto zoom control is detected by the face
次に、図7を参照して、本実施形態における移動監視処理(ステップS605)について詳細に説明する。図7は、本実施形態における移動監視処理の手順を示すフローチャートである。図7において、ステップS701〜S705、S707、及び、S708は、図3のステップS301〜S305、S307、及び、S308と同様であるため、これらの説明は省略する。 Next, the movement monitoring process (step S605) in the present embodiment will be described in detail with reference to FIG. FIG. 7 is a flowchart showing the procedure of the movement monitoring process in the present embodiment. In FIG. 7, steps S701 to S705, S707, and S708 are the same as steps S301 to S305, S307, and S308 of FIG.
移動監視処理が開始されると、図3を参照して説明した第1実施形態と同様の処理(ステップS702〜S705)が行われる。そしてステップS731において、オートズーム制御の対象となる顔を追尾対象として、追尾制御を実行しているか否かを判定する。追尾制御を実行していない場合にはステップS732へ移行し、所定時間後の画角の内側に所定時間後の画角に対して所定の第1割合だけ小さい領域を判別画角(所定領域)として設定する。一方、追尾制御を実行している場合にはステップS733へ移行し、所定時間後の画角の内側に所定時間後の画角に対して所定の第2割合だけ小さい領域を判別画角(所定領域)として設定する。次にステップS734において、ステップS705で算出された所定時間後の顔の位置及び大きさに基づき、所定時間後の画角における上記判別画角(所定領域)に対して、オートズーム制御の対象となる顔が存在するか否かを判定する。そして、判別画角にオートズーム制御の対象となる顔が存在するか否かを判定した結果に応じて、第1実施形態と同様の処理(ステップS707、S708)を行う。 When the movement monitoring process is started, the same processes (steps S702 to S705) as those in the first embodiment described with reference to FIG. 3 are performed. In step S731, it is determined whether or not the tracking control is being executed with the face to be subjected to auto zoom control as the tracking target. When the tracking control is not executed, the process proceeds to step S732, and an area smaller than the angle of view after the predetermined time by a predetermined first ratio is determined inside the angle of view after the predetermined time. Set as. On the other hand, when the tracking control is being executed, the process proceeds to step S733, and an area smaller by a predetermined second ratio than the angle of view after the predetermined time is determined inside the angle of view after the predetermined time. Area). Next, in step S734, based on the position and size of the face after the predetermined time calculated in step S705, the object of auto zoom control is determined for the above-described discrimination angle of view (predetermined region) at the angle of view after the predetermined time. It is determined whether or not a face is present. Then, processing similar to that in the first embodiment (steps S707 and S708) is performed according to the result of determining whether or not there is a face to be subjected to auto zoom control in the discrimination angle of view.
ここで、第2割合だけ小さい領域は、第1割合だけ小さい領域よりも小さい。すなわち判定手段は、顔が第2被写体検出回路により検出された場合には、第1被写体検出回路により検出された場合と比較して、画面の所定領域(判定画角)が小さくなるように、この所定領域の大きさを変更する。第1割合だけ小さい領域は、所定時間後の画角全体の領域であってもよい。図8は、所定時間後の画角における顔の存在判別のイメージ図である。図8(A)は、所定時間後の画角の内側に所定時間後の画角に対して第1割合だけ小さい領域を第1判別画角804(例えば15/16倍の領域)とした場合を示す。また図8(B)は、所定時間後の画角の内側に所定時間後の画角に対して第2割合だけ小さい領域を第2判別画角806(例えば3/4倍の領域)とした場合を示す。ここで、802と807は同じ位置、同じ大きさであり、803と808は同じ位置、同じ大きさを示している。 Here, the region smaller by the second ratio is smaller than the region smaller by the first ratio. That is, the determination means is configured so that when the face is detected by the second subject detection circuit, the predetermined area (determination angle of view) of the screen is smaller than when the face is detected by the first subject detection circuit. The size of the predetermined area is changed. The area that is smaller by the first ratio may be an area of the entire angle of view after a predetermined time. FIG. 8 is an image diagram of face presence determination at an angle of view after a predetermined time. FIG. 8A shows a case where an area that is smaller by a first ratio than the angle of view after the predetermined time inside the angle of view after the predetermined time is set as the first discrimination angle of view 804 (for example, an area that is 15/16 times larger). Indicates. Further, in FIG. 8B, an area smaller by a second ratio than the angle of view after the predetermined time inside the angle of view after the predetermined time is set as the second discrimination angle of view 806 (for example, an area of 3/4 times). Show the case. Here, 802 and 807 have the same position and the same size, and 803 and 808 have the same position and the same size.
図8(A)の場合、所定時間後の画角801における顔位置及びサイズの予測位置802は、第1判別画角804内に含まれているため、顔が存在すると判定される。一方、所定時間後の画角801における顔位置及びサイズの予測位置803は、第1判別画角804内に所定の面積割合(例えば3/4の面積)が第1判別画角804内に含まれていないため、顔が存在しないと判定される。一方、図8(B)の場合、所定時間後の画角805における顔位置及びサイズの予測位置807は、第2判別画角806内に含まれているため、顔が存在すると判定される。一方、所定時間後の画角805における顔位置及びサイズの予測位置808は、第2判別画角806内に所定の面積割合(例えば3/4の面積)が第2判別画角806内に含まれていないため、顔が存在しないと判定される。
In the case of FIG. 8A, the face position and the predicted
このように本実施形態では、オートズーム制御の対象となる顔が顔検出の結果から得られた情報か、又は、追尾制御の実行結果から得られた情報かにより、オートズーム制御の対象となる顔が所定時間後の画角内に存在するか否かを判定する判別画角を変更する。追尾制御を実行する場合、顔検出の結果よりもオートズーム制御の対象となる顔の位置及び大きさの情報の信頼度が低下する。すなわち追尾制御では、画面内でマッチングの相関性が高い位置を追尾対象領域と判定するため、背景に類似した被写体が存在した場合背景に誤追尾する可能性がある。また、顔が様々な角度に向いたりして動く場合、マッチングの相関性が正確に把握できず、常に顔の大きさと同等であるとは限らない。このため、オートズーム制御を安定して実行することができず、撮影映像の品位が劣化するおそれがある。そこで本実施形態では、追尾制御を実行している際には、判別画角を顔検出により顔情報を得た場合に比べて狭く設定する。これにより、オートズーム制御の実行を制限し、オートズーム制御の安定性が向上し、撮影者の違和感や不快感を軽減することが可能となる。 As described above, in the present embodiment, the face to be subjected to auto zoom control is subject to auto zoom control depending on whether the face is information obtained from the result of face detection or the information obtained from the execution result of tracking control. The discrimination angle of view for determining whether or not the face is within the angle of view after a predetermined time is changed. When tracking control is executed, the reliability of information on the position and size of a face to be subjected to auto zoom control is lower than the result of face detection. That is, in the tracking control, a position having a high matching correlation in the screen is determined as the tracking target region, so that there is a possibility that the background is erroneously tracked when an object similar to the background exists. In addition, when the face moves at various angles, the correlation of matching cannot be accurately grasped and is not always equal to the size of the face. For this reason, auto-zoom control cannot be executed stably, and the quality of the captured video image may deteriorate. Therefore, in the present embodiment, when tracking control is executed, the discrimination angle of view is set narrower than when face information is obtained by face detection. As a result, the execution of the auto zoom control is limited, the stability of the auto zoom control is improved, and it is possible to reduce the sense of discomfort and discomfort of the photographer.
なお、第1実施形態と第2実施形態を組み合わせて構成することもできる。このとき、第1実施形態において顔の位置の移動量から所定時間後に顔が存在するか否かを判別するため、第2実施形態における第1判別画角を用いてもよい。さらに、顔検出できたか否か、又は、追尾制御を行っているか否かに応じて、第2判別画角を用いてもよい。 Note that the first embodiment and the second embodiment may be combined. At this time, in order to determine whether or not a face exists after a predetermined time from the movement amount of the face position in the first embodiment, the first determination angle of view in the second embodiment may be used. Furthermore, the second discrimination angle of view may be used depending on whether face detection has been performed or whether tracking control has been performed.
以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。 As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to these embodiment, A various deformation | transformation and change are possible within the range of the summary.
例えば、上述の各実施形態の機能を実現するソフトウェアのプログラムを、記録媒体から直接又は有線/無線通信を用いてプログラムを実行可能なコンピュータを有するシステム又は装置(撮像装置)に供給し、そのプログラムを実行する場合も本発明に含まれる。従って、本発明の機能処理をコンピュータで実現するために、このコンピュータに供給、インストールされるプログラムコード自体、すなわち、本発明の機能処理を実現するためのコンピュータプログラム自体も本発明に含まれる。なお、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等、プログラムの形態を問わない。 For example, a software program for realizing the functions of the above-described embodiments is supplied from a recording medium to a system or apparatus (imaging apparatus) having a computer that can execute the program directly or using wired / wireless communication. Is also included in the present invention. Therefore, the program code itself supplied to and installed in this computer in order to realize the functional processing of the present invention by the computer, that is, the computer program itself for realizing the functional processing of the present invention is also included in the present invention. Note that as long as it has a function of a program, the form of the program is not limited, such as an object code, a program executed by an interpreter, and script data supplied to the OS.
プログラムを供給するための記録媒体としては、例えば、ハードディスク、磁気テープ等の磁気記録媒体、光/光磁気記憶媒体、不揮発性の半導体メモリが用いられる。また、プログラムの供給方法としては、コンピュータネットワーク上のサーバに本発明を形成するコンピュータプログラムを記憶し、接続されたクライアントコンピュータがコンピュータプログラムをダウンロードしてインストールする方法も用いられる。 As the recording medium for supplying the program, for example, a magnetic recording medium such as a hard disk or a magnetic tape, an optical / magneto-optical storage medium, or a nonvolatile semiconductor memory is used. As a program supply method, a computer program that forms the present invention is stored in a server on a computer network, and a connected client computer downloads and installs the computer program.
102 変倍レンズ
106 撮像素子
110 ズーム駆動源
114 カメラ/AFマイクロコンピュータ
116 顔検出処理回路
102
Claims (7)
前記撮像素子から出力された前記像信号に基づいて主被写体を検出する被写体検出手段と、
前記ズームレンズを駆動して変倍動作を行い、前記主被写体が画面上で一定の大きさになるようにオートズーム制御を行うズーム制御手段と、
前記画面上での前記主被写体の変化量が所定値より大きい場合に前記オートズーム制御を停止させる制御手段と、を有することを特徴とする撮像装置。 An image sensor that photoelectrically converts a subject image formed by an imaging optical system including a zoom lens and outputs an image signal; and
Subject detection means for detecting a main subject based on the image signal output from the image sensor;
Zoom control means for performing zooming operation by driving the zoom lens and performing auto zoom control so that the main subject has a constant size on the screen;
An image pickup apparatus comprising: control means for stopping the auto zoom control when a change amount of the main subject on the screen is larger than a predetermined value.
前記画面上での前記主被写体の位置及び大きさを監視し、所定時間後の該主被写体の位置及び大きさを算出する算出手段と、
前記算出手段の算出結果に基づいて、前記所定時間後の主被写体の所定割合が前記画面の所定領域内に存在するか否かを判定する判定手段と、
前記主被写体の所定割合が前記画面の所定領域内に存在しないと判定された場合に前記オートズーム制御を停止させる停止手段と、を有することを特徴とする請求項1に記載の撮像装置。 The control means includes
Calculating means for monitoring the position and size of the main subject on the screen and calculating the position and size of the main subject after a predetermined time;
Determination means for determining whether a predetermined ratio of the main subject after the predetermined time exists within a predetermined area of the screen based on a calculation result of the calculating means;
The imaging apparatus according to claim 1, further comprising: a stopping unit that stops the automatic zoom control when it is determined that the predetermined ratio of the main subject does not exist within a predetermined area of the screen.
前記算出手段は、
前記ズームレンズの位置とズーム速度に基づいて前記所定時間後の画角を算出する画角算出部と、
前記記憶手段に記憶された前記情報から前記画角算出部で算出された前記所定時間後の画角における前記主被写体の位置及び大きさを算出する被写体位置算出部と、を有し、
前記判定手段は、前記画角算出部と前記被写体位置算出部の算出結果に基づいて、前記画面の所定領域内に前記主被写体の所定割合が存在するか否かを判定することを特徴とする請求項2に記載の撮像装置。 A storage unit for storing a history of the position and size of the main subject detected by the subject detection unit and information on the position of the zoom lens;
The calculating means includes
An angle-of-view calculating unit that calculates an angle of view after the predetermined time based on the position of the zoom lens and the zoom speed;
A subject position calculation unit that calculates the position and size of the main subject at the angle of view after the predetermined time calculated by the angle of view calculation unit from the information stored in the storage unit;
The determination means determines whether or not a predetermined ratio of the main subject exists within a predetermined area of the screen based on calculation results of the angle of view calculation unit and the subject position calculation unit. The imaging device according to claim 2.
前記判定手段は、前記移動量算出部により算出された前記主被写体の移動量が大きいほど前記画面の所定領域が小さくなるように、該所定領域の大きさを変更することを特徴とする請求項3に記載の撮像装置。 The calculation means includes a movement amount calculation unit that calculates a movement amount of the main subject from a history of the position of the main subject calculated by the subject position calculation unit;
The determination means changes the size of the predetermined area so that the predetermined area of the screen becomes smaller as the movement amount of the main subject calculated by the movement amount calculation unit is larger. 3. The imaging device according to 3.
特定の画面から前記被写体を検出する第1被写体検出手段と、時系列に連続した複数の画面から該被写体を検出する第2被写体検出手段と、を有し、
前記判定手段は、前記被写体が前記第2被写体検出手段により検出された場合には、前記第1被写体検出手段により検出された場合と比較して、前記画面の所定領域が小さくなるように、該所定領域の大きさを変更することを特徴とする請求項2乃至4のいずれか1項に記載の撮像装置。 The subject detection means includes
First subject detection means for detecting the subject from a specific screen; and second subject detection means for detecting the subject from a plurality of time-series continuous screens;
The determination unit is configured so that when the subject is detected by the second subject detection unit, the predetermined area of the screen is smaller than when the subject is detected by the first subject detection unit. The imaging apparatus according to claim 2, wherein the size of the predetermined area is changed.
前記像信号に基づいて主被写体を検出し、
前記ズームレンズを駆動して変倍動作を行い、前記主被写体が画面上で一定の大きさになるようにオートズーム制御を行い、
前記画面上での前記主被写体の変化量が所定値より大きい場合に前記オートズーム制御を停止させる、ことを特徴とするオートズーム方法。 Photoelectrically convert the subject image formed by the imaging optical system including the zoom lens and output an image signal;
A main subject is detected based on the image signal,
The zoom lens is driven to perform a zooming operation, and auto zoom control is performed so that the main subject has a certain size on the screen,
An auto-zoom method, wherein the auto-zoom control is stopped when a change amount of the main subject on the screen is larger than a predetermined value.
前記画面上での前記主被写体の変化量が所定値より大きい場合に前記オートズーム制御を停止させる、ことを特徴とするプログラム。 A program that is executed by an imaging apparatus that detects a main subject based on an image signal output by photoelectrically converting a subject image and performs auto zoom control so that the main subject has a certain size on the screen. ,
A program for stopping the auto-zoom control when a change amount of the main subject on the screen is larger than a predetermined value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010196343A JP5783696B2 (en) | 2010-09-02 | 2010-09-02 | Imaging apparatus, auto zoom method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010196343A JP5783696B2 (en) | 2010-09-02 | 2010-09-02 | Imaging apparatus, auto zoom method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012053313A true JP2012053313A (en) | 2012-03-15 |
JP5783696B2 JP5783696B2 (en) | 2015-09-24 |
Family
ID=45906676
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010196343A Active JP5783696B2 (en) | 2010-09-02 | 2010-09-02 | Imaging apparatus, auto zoom method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5783696B2 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015011249A (en) * | 2013-07-01 | 2015-01-19 | キヤノン株式会社 | Imaging apparatus, imaging system, method for controlling imaging apparatus, program, and storage medium |
JP2015031726A (en) * | 2013-07-31 | 2015-02-16 | キヤノン株式会社 | Imaging device, control method of imaging device, control program of imaging device, and recording medium |
JP2015192242A (en) * | 2014-03-27 | 2015-11-02 | キヤノン株式会社 | Imaging apparatus, control method of imaging apparatus, control program for imaging apparatus, and storage medium |
JP2016517639A (en) * | 2013-02-28 | 2016-06-16 | ノキア テクノロジーズ オサケユイチア | Method and apparatus for automatically providing dolly zoom effect |
JP2016192593A (en) * | 2015-03-30 | 2016-11-10 | キヤノン株式会社 | Zoom controller, control method of zoom controller |
CN113573157A (en) * | 2021-07-23 | 2021-10-29 | 维沃移动通信(杭州)有限公司 | Video recording method, video recording device, electronic equipment and readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009232151A (en) * | 2008-03-24 | 2009-10-08 | Sony Corp | Imaging apparatus, control method therefor and program |
JP2010041365A (en) * | 2008-08-05 | 2010-02-18 | Nikon Corp | Imaging apparatus |
-
2010
- 2010-09-02 JP JP2010196343A patent/JP5783696B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009232151A (en) * | 2008-03-24 | 2009-10-08 | Sony Corp | Imaging apparatus, control method therefor and program |
JP2010041365A (en) * | 2008-08-05 | 2010-02-18 | Nikon Corp | Imaging apparatus |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016517639A (en) * | 2013-02-28 | 2016-06-16 | ノキア テクノロジーズ オサケユイチア | Method and apparatus for automatically providing dolly zoom effect |
JP2015011249A (en) * | 2013-07-01 | 2015-01-19 | キヤノン株式会社 | Imaging apparatus, imaging system, method for controlling imaging apparatus, program, and storage medium |
JP2015031726A (en) * | 2013-07-31 | 2015-02-16 | キヤノン株式会社 | Imaging device, control method of imaging device, control program of imaging device, and recording medium |
JP2015192242A (en) * | 2014-03-27 | 2015-11-02 | キヤノン株式会社 | Imaging apparatus, control method of imaging apparatus, control program for imaging apparatus, and storage medium |
JP2016192593A (en) * | 2015-03-30 | 2016-11-10 | キヤノン株式会社 | Zoom controller, control method of zoom controller |
CN113573157A (en) * | 2021-07-23 | 2021-10-29 | 维沃移动通信(杭州)有限公司 | Video recording method, video recording device, electronic equipment and readable storage medium |
CN113573157B (en) * | 2021-07-23 | 2023-09-12 | 维沃移动通信(杭州)有限公司 | Video recording method, video recording device, electronic apparatus, and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP5783696B2 (en) | 2015-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4245185B2 (en) | Imaging device | |
JP5144487B2 (en) | Main face selection device, control method thereof, imaging device, and program | |
TWI419552B (en) | Imaging apparatus, subject tracking method and storage medium | |
US10270978B2 (en) | Zoom control device with scene composition selection, and imaging apparatus, control method of zoom control device, and recording medium therewith | |
US10277823B2 (en) | Zoom control device, imaging apparatus, control method of zoom control device, and recording medium | |
JP4906893B2 (en) | IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD | |
WO2013153919A1 (en) | Image processing device, image processing method, and program | |
US8648960B2 (en) | Digital photographing apparatus and control method thereof | |
US11184524B2 (en) | Focus control device, focus control method, program, and imaging device | |
JP5783696B2 (en) | Imaging apparatus, auto zoom method, and program | |
WO2013133142A1 (en) | Image processing device, image processing method, program | |
JP6300550B2 (en) | Automatic focusing device and automatic focusing method | |
JP6589635B2 (en) | Imaging apparatus and method, and program | |
JP6465566B2 (en) | Imaging apparatus and imaging method | |
JP2020088810A (en) | Imaging apparatus and control method of imaging apparatus | |
JP4807582B2 (en) | Image processing apparatus, imaging apparatus, and program thereof | |
JP2015034895A (en) | Imaging device and control method for the same | |
JP2011017754A (en) | Imaging device, control method of the same, and computer program | |
US11843846B2 (en) | Information processing apparatus and control method therefor | |
WO2020129620A1 (en) | Imaging control device, imaging device, and imaging control method | |
KR101700360B1 (en) | Digital photographing apparatus, method for controlling the apparatus, and medium for recording the method | |
JP2020188297A (en) | Imaging apparatus, imaging system, and control method of the same | |
JP7549453B2 (en) | Image processing device and control method thereof, imaging device, program, and storage medium | |
US20240179393A1 (en) | Imaging apparatus, control method of the same, and storage medium | |
JP2019216398A (en) | Imaging apparatus and control method therefor, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130827 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140523 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140603 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140804 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20141118 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150119 |
|
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: 20150623 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150721 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5783696 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |