JP6245923B2 - IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, IMAGING DEVICE CONTROL PROGRAM, AND STORAGE MEDIUM - Google Patents

IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, IMAGING DEVICE CONTROL PROGRAM, AND STORAGE MEDIUM Download PDF

Info

Publication number
JP6245923B2
JP6245923B2 JP2013211274A JP2013211274A JP6245923B2 JP 6245923 B2 JP6245923 B2 JP 6245923B2 JP 2013211274 A JP2013211274 A JP 2013211274A JP 2013211274 A JP2013211274 A JP 2013211274A JP 6245923 B2 JP6245923 B2 JP 6245923B2
Authority
JP
Japan
Prior art keywords
zoom
subject
zoom position
detected
imaging apparatus
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.)
Active
Application number
JP2013211274A
Other languages
Japanese (ja)
Other versions
JP2015076707A (en
Inventor
裕子 山内
裕子 山内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2013211274A priority Critical patent/JP6245923B2/en
Publication of JP2015076707A publication Critical patent/JP2015076707A/en
Application granted granted Critical
Publication of JP6245923B2 publication Critical patent/JP6245923B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lens Barrels (AREA)
  • Studio Devices (AREA)

Description

本発明は、ズーム機能を有する撮像装置及びその制御方法等に関するものである。   The present invention relates to an imaging apparatus having a zoom function, a control method thereof, and the like.

デジタルカメラ等の撮像装置には、ズームレンズの駆動による光学的な変倍(光学ズーム)機能と、撮像した領域の一部を拡大する電子的な変倍(電子ズーム)機能を備えたものがある。近年、ズームレンズの性能向上により超広角から超望遠まで同一のレンズで撮影でき、また撮像素子の高画素化によって、拡大倍率を高くしても十分な解像感の得られる撮影が可能になってきている。   Some imaging devices such as a digital camera have an optical scaling function by driving a zoom lens (optical zoom) and an electronic scaling function (electronic zoom) function for enlarging a part of an imaged area. is there. In recent years, it has become possible to shoot with the same lens from ultra-wide angle to super-telephoto due to the performance improvement of the zoom lens, and with the increase in the number of pixels of the image sensor, it has become possible to shoot with sufficient resolution even when the magnification is increased. It is coming.

高倍率のズーム機能を備える撮像装置では、望遠状態での画角合わせの際、被写体のわずかな移動でフレームアウトが起こりうる。また、カメラを少し動かすだけで画角が大きくずれてしまう。そこで、被写体がフレームアウトした(又はフレームアウトしそうな)場合でも、簡単な操作で被写体を捉え直すことができるようにするための方法が提案されている。   In an imaging apparatus having a high-magnification zoom function, out-of-frame may occur due to slight movement of the subject when the angle of view is adjusted in the telephoto state. In addition, the angle of view can be greatly shifted by slightly moving the camera. Therefore, a method has been proposed for enabling a subject to be re-acquired with a simple operation even when the subject is out of frame (or is likely to be out of frame).

特許文献1では、所定の操作スイッチの押下中は被写体を探索しやくするために画角をズームアウトさせ、該操作スイッチが開放されるともとのズーム位置までズームインするフレーミングアシスト機能(FAズーム機能)が開示されている。この機能によれば、被写体がフレームアウトした場合でも、撮影者は簡単な操作で即座に被写体を捉え直しつつ、所望の画角で撮影を行うことができる。   In Patent Document 1, a framing assist function (FA zoom function) that zooms out the angle of view to make it easier to search for a subject while a predetermined operation switch is pressed, and zooms in to the original zoom position when the operation switch is released. ) Is disclosed. According to this function, even when the subject goes out of the frame, the photographer can take a picture at a desired angle of view while immediately recapturing the subject with a simple operation.

一方、画面内の被写体をカメラで検出し、被写体の検出情報に応じてカメラが自動でズーム位置を変更する機能として、いわゆるオートズーム機能が知られている。特許文献2では、被写体が画面内の特定領域の限界位置に達したときにズーム位置を広角方向にズームアウトさせる方法が提示されている。また、特許文献2では、被写体が画面内の中央部分にある場合にズーム位置を望遠方向にズームインさせる方法が提示されている。   On the other hand, a so-called auto-zoom function is known as a function for detecting a subject in the screen by a camera and automatically changing the zoom position according to the subject detection information. Japanese Patent Application Laid-Open No. 2004-228688 proposes a method of zooming out the zoom position in the wide-angle direction when the subject reaches the limit position of a specific area in the screen. Japanese Patent Application Laid-Open No. 2004-228620 proposes a method of zooming in on the zoom position in the telephoto direction when the subject is in the center of the screen.

特開2012−60595号公報JP 2012-60595 A 特許第2052653号公報Japanese Patent No. 20526553

上記のFAズーム機能では、撮影者による手動操作に応じてズームアウトとズームインを行っていた。ここで、撮影者の利便性を高めるため、FAズーム機能においても被写体の状態に応じて自動でズーム動作を行うことが想定される。例えば、フレームアウトした(又はフレームアウトしそうな)被写体を画角内に捉えるため、特許文献2に記載のように、被写体が画面内のどの領域に存在するかに応じて、ズームアウトを行うことが考えられる。   In the above FA zoom function, zoom-out and zoom-in are performed according to a manual operation by a photographer. Here, in order to enhance the convenience of the photographer, it is assumed that the zoom operation is automatically performed according to the state of the subject even in the FA zoom function. For example, in order to capture a subject that is out of frame (or likely to be out of frame) within the angle of view, zooming out is performed according to which region in the screen the subject exists as described in Patent Document 2. Can be considered.

しかしながら、FAズーム機能において自動でズーム動作を行う場合に、必要以上のズーム動作を行ってしまう可能性がある。例えば、フレームアウトしそうな被写体を画角内に捉え直す場合を想定する。この場合、設定された駆動量で自動的にズームアウトが行われるのと同時に、撮影者がカメラを動かすことでズームアウト中に被写体を画角内に捉えられる可能性がある。すると、被写体がフレームアウトしそうな状態で設定されたズーム駆動量では、必要以上にズームアウトを行ってしまう場合があり、撮影タイミングを逃してしまうおそれがある。   However, when the zoom operation is automatically performed in the FA zoom function, there is a possibility that the zoom operation is performed more than necessary. For example, assume that a subject that is likely to be out of frame is re-captured within the angle of view. In this case, zooming out is automatically performed with the set drive amount, and at the same time, the photographer may be able to capture the subject within the angle of view during zooming out by moving the camera. Then, when the zoom drive amount is set so that the subject is likely to be out of frame, the zoom out may be performed more than necessary, and the shooting timing may be missed.

本発明は、フレーミングを支援するための機能として被写体の検出結果に応じて自動的にズーム動作を行う撮像装置において、必要以上のズーム動作を抑制し、撮影タイミングを逃さないようにすることを目的とする。   An object of the present invention is to suppress an excessive zoom operation and prevent a shooting timing from being missed in an imaging apparatus that automatically performs a zoom operation according to a detection result of a subject as a function for supporting framing. And

上記目的を達成するために、本発明は、被写体を繰り返し検出する被写体検出手段と、前記被写体検出手段の検出結果に応じて、前記被写体を画角内に保つためのズーム動作を制御する制御手段とを有する撮像装置であって、広角側の第1のズーム位置へのズーム動作において、前記第1のズーム位置より望遠側の第2のズーム位置に達した状態で、第1の所定時間内に前記被写体検出手段により検出された被写体が画面内に設定された第1の領域内に検出された場合、前記制御手段は、広角側へのズーム動作を前記第2のズーム位置で停止することを特徴とする。   In order to achieve the above object, the present invention provides subject detection means for repeatedly detecting a subject and control means for controlling a zoom operation for keeping the subject within an angle of view in accordance with a detection result of the subject detection means. In the zoom operation to the first zoom position on the wide-angle side, the second zoom position on the telephoto side from the first zoom position is reached within a first predetermined time in the zoom operation to the first zoom position on the wide-angle side. When the subject detected by the subject detection means is detected in the first area set in the screen, the control means stops the zoom operation to the wide angle side at the second zoom position. It is characterized by.

本発明によれば、フレーミングを支援するための機能として被写体の検出結果に応じて自動的にズーム動作を行う撮像装置において、必要以上のズーム動作を抑制し、撮影タイミングを逃さないようにすることができる。   According to the present invention, in an imaging apparatus that automatically performs a zoom operation according to the detection result of a subject as a function for supporting framing, the zoom operation is suppressed more than necessary and the shooting timing is not missed. Can do.

本発明の実施形態に係るデジタルカメラの構成例を示すブロック図。1 is a block diagram illustrating a configuration example of a digital camera according to an embodiment of the present invention. 本実施形態における、ズーム位置の関係を説明した図。The figure explaining the relationship of the zoom position in this embodiment. 本実施形態における、画角と被写体および焦点距離の関係を説明した図。The figure explaining the relationship between a field angle, a to-be-photographed object, and a focal distance in this embodiment. 本実施形態における、FAズーム機能の処理の流れを説明するフローチャート。6 is a flowchart for explaining a flow of processing of an FA zoom function in the present embodiment. 本実施形態における、FAズーム開始判定処理を説明するフローチャート。6 is a flowchart for explaining FA zoom start determination processing in the present embodiment. 本実施形態における、被写体指定処理を説明するフローチャート。6 is a flowchart for explaining subject designation processing in the present embodiment. 本実施形態における、FAズームアウト動作処理を説明するフローチャート。6 is a flowchart for explaining FA zoom-out operation processing in the present embodiment. 本実施形態における、停止判定有りズームアウト動作処理を説明するフローチャート。7 is a flowchart for explaining a zoom-out operation process with stop determination in the present embodiment. 本実施形態における、FAズームイン動作処理を説明するフローチャート。The flowchart explaining FA zoom-in operation processing in this embodiment. 本実施形態における、各種パラメータの関係を示した図。The figure which showed the relationship of the various parameters in this embodiment. 自動FAズーム機能の概要を説明した図。The figure explaining the outline | summary of the automatic FA zoom function. 電子ズームおよび光学ズームにおけるズーム駆動量を説明した図。The figure explaining the zoom drive amount in electronic zoom and optical zoom.

以下に、本発明の一実施形態について、添付図面を参照して詳細に説明する。なお、本実施形態によって実現される機能は、撮影者によるフレーミングを支援するフレーミング支援ズーム機能であり、便宜上、フレーミングアシストズーム機能(以下、FAズーム機能と略記する)と呼ぶこととする。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings. Note that the function realized by this embodiment is a framing support zoom function that supports framing by a photographer, and for convenience, will be referred to as a framing assist zoom function (hereinafter abbreviated as FA zoom function).

図1は、本発明の撮像装置の一実施形態としての、デジタルカメラ100の構成を示すブロック図である。レンズ鏡筒101は、その内部にレンズ群を保持している。ズームレンズ102は、光軸方向に移動することで焦点距離を調節し、光学的に画角を変更する。フォーカスレンズ103は、光軸方向に移動することでピントを調節する。防振レンズ104は、手ぶれに起因する像振れを補正する補正用レンズである。光量を調節する絞り及びシャッタ105は、露出制御に使用される。   FIG. 1 is a block diagram showing a configuration of a digital camera 100 as an embodiment of an imaging apparatus of the present invention. The lens barrel 101 holds a lens group therein. The zoom lens 102 adjusts the focal length by moving in the optical axis direction, and optically changes the angle of view. The focus lens 103 adjusts the focus by moving in the optical axis direction. The anti-vibration lens 104 is a correction lens that corrects image blur caused by camera shake. A diaphragm and shutter 105 for adjusting the amount of light are used for exposure control.

レンズ鏡筒101を通過した光は、CCD(電荷結合素子)やCMOS(相補型金属酸化膜半導体)等を用いた撮像素子106にて受光され、光電変換されて撮像信号が生成される。撮像信号は、画像処理回路107に入力されて、画素補間処理や色変換処理等が施された後、画像データとして画像メモリ108に送られる。画像メモリ108は、DRAM(Dynamic Random Access Memory)やSRAM(Static Random Access Memory)等で構成される。   The light that has passed through the lens barrel 101 is received by an image sensor 106 using a CCD (charge coupled device), a CMOS (complementary metal oxide semiconductor), or the like, and is subjected to photoelectric conversion to generate an image signal. The imaging signal is input to the image processing circuit 107, subjected to pixel interpolation processing, color conversion processing, and the like, and then sent to the image memory 108 as image data. The image memory 108 includes a DRAM (Dynamic Random Access Memory), a SRAM (Static Random Access Memory), or the like.

表示手段としての表示部109は、TFT型LCD(薄膜トランジスタ駆動型液晶表示器)等で構成され、撮影した画像データとともに、特定の情報(例えば、撮影情報や後述するFAズーム枠等)を表示する。このようなライブビュー等の情報表示により、撮影者が画角合わせを行うための電子ビューファインダ(EVF)機能を実現している。   The display unit 109 as a display unit is configured by a TFT type LCD (Thin Film Transistor Driven Liquid Crystal Display) or the like, and displays specific information (for example, shooting information, an FA zoom frame described later, etc.) together with the shot image data. . By displaying information such as live view, an electronic viewfinder (EVF) function for the photographer to adjust the angle of view is realized.

絞りシャッタ駆動部110は、画像処理回路107での画像処理によって得られた輝度情報に基づいて露出制御値(絞り値及びシャッタ速度)を演算し、この演算結果に基づき絞り及びシャッタ105を駆動する。これによって、自動露出(AE)制御が行われる。防振レンズ駆動部111は、ジャイロセンサ等の角速度センサから構成される振れ検出部124の情報に基づいてデジタルカメラ100に加わる振れ量を演算し、振れを打ち消すように防振レンズ104を駆動する。   The aperture shutter drive unit 110 calculates an exposure control value (aperture value and shutter speed) based on luminance information obtained by image processing in the image processing circuit 107, and drives the aperture and shutter 105 based on the calculation result. . Thereby, automatic exposure (AE) control is performed. The anti-vibration lens driving unit 111 calculates the amount of shake applied to the digital camera 100 based on information from the shake detection unit 124 including an angular velocity sensor such as a gyro sensor, and drives the anti-vibration lens 104 so as to cancel out the shake. .

フォーカスレンズ駆動部112は、フォーカスレンズ103を駆動する。例えば、コントラストAF(オートフォーカス)方式の制御では、画像処理回路107の画像処理によって得られた撮影光学系の焦点調節情報(コントラスト評価値)に基づき、被写体にピントが合うようにフォーカスレンズ103が駆動される。なお、本実施形態においては、焦点調節制御の如何は問わないので、位相差AF方式や他の方式と組み合わせた方式が採用可能である。   The focus lens driving unit 112 drives the focus lens 103. For example, in contrast AF (autofocus) control, the focus lens 103 is focused on the subject based on focus adjustment information (contrast evaluation value) of the photographing optical system obtained by image processing of the image processing circuit 107. Driven. In the present embodiment, focus adjustment control does not matter, and a phase difference AF method or a method combined with another method can be employed.

ズームレンズ駆動部113は、ズーム操作指示に従ってズームレンズ102を駆動する。操作部117には、撮影者がカメラにズーミングを指示するためのズーム操作部材としてのズームレバーまたはズームボタン等が設けられている。ズーム指示操作に用いるズーム操作部材の操作量及び操作方向に基づいて、システム制御部114によりズーム駆動速度や駆動方向が演算され、演算結果に従ってズームレンズ102が光軸に沿って移動する。   The zoom lens driving unit 113 drives the zoom lens 102 in accordance with a zoom operation instruction. The operation unit 117 is provided with a zoom lever or a zoom button as a zoom operation member for the photographer to instruct the camera to perform zooming. Based on the operation amount and operation direction of the zoom operation member used for the zoom instruction operation, the system control unit 114 calculates the zoom drive speed and drive direction, and the zoom lens 102 moves along the optical axis according to the calculation result.

撮影動作によって生成された画像データは、インターフェース部(以下I/F部と呼ぶ)115を介して記録部116に送られて記録される。画像データは、カメラに装着して使用するメモリカード等の外部記録媒体や、デジタルカメラ100に内蔵されている不揮発性のメモリ118、あるいは両方に記録される。   The image data generated by the shooting operation is sent to the recording unit 116 via the interface unit (hereinafter referred to as I / F unit) 115 and recorded. The image data is recorded in an external recording medium such as a memory card used by being mounted on the camera, a nonvolatile memory 118 built in the digital camera 100, or both.

操作部117は前記ズーム操作部材の他、撮影開始を指示するレリーズスイッチ、各種撮影モードを切り替えるための撮影モード切り替えスイッチ、FAズーム機能の開始や終了を指示するFAズーム操作スイッチ、表示部109に設けられたタッチパネル等を含む。操作信号は後述のシステム制御部114に送られる。メモリ118は、プログラムデータや画像データの他に、デジタルカメラ100の設定情報や、後述するFAズーム機能におけるズームイン位置等の情報を記憶する。   In addition to the zoom operation member, the operation unit 117 includes a release switch for instructing start of shooting, a shooting mode switching switch for switching various shooting modes, an FA zoom operation switch for instructing start and end of the FA zoom function, and a display unit 109. Includes a touch panel provided. The operation signal is sent to the system control unit 114 described later. In addition to program data and image data, the memory 118 stores setting information of the digital camera 100 and information such as a zoom-in position in an FA zoom function described later.

制御手段としてのシステム制御部114は、CPU(中央演算処理装置)等の演算装置を用いて構成され、撮影者の操作に応じて各部に制御命令を送ることでカメラ全体を制御する。システム制御部114は、メモリ118に記憶されている各種の制御プログラム、例えば撮像素子106の制御やAE/AF制御、ズーム制御(FAズーム処理を含む)等を行うためのプログラムを実行する。   The system control unit 114 as a control unit is configured by using an arithmetic device such as a CPU (Central Processing Unit), and controls the entire camera by sending a control command to each unit according to a photographer's operation. The system control unit 114 executes various control programs stored in the memory 118, for example, programs for performing control of the image sensor 106, AE / AF control, zoom control (including FA zoom processing), and the like.

次に、システム制御部114のうち、FAズーム機能に関連する制御について説明する。なお、図1にはシステム制御部114の内部処理を119乃至122の各機能ブロックで表している。   Next, control related to the FA zoom function in the system control unit 114 will be described. In FIG. 1, internal processing of the system control unit 114 is represented by functional blocks 119 to 122.

光学ズームによる画角変更時でも合焦状態を維持するためには、レンズ鏡筒101に示すリアフォーカスタイプの鏡筒の場合、ズームレンズ102の位置に応じてフォーカスレンズ103を適正なフォーカス位置へ移動させる必要がある。このような制御をコンピュータズーム(CZ)制御という。CZ制御を行うに当たって、ズームレンズの焦点距離と、ピントが合うフォーカス位置との関係についての被写体距離ごとの情報(フォーカスカム情報)がデジタルカメラ100に記憶されている。   In order to maintain the in-focus state even when the angle of view is changed by the optical zoom, in the case of the rear focus type lens barrel shown in the lens barrel 101, the focus lens 103 is moved to an appropriate focus position according to the position of the zoom lens 102. Must be moved. Such control is called computer zoom (CZ) control. In performing the CZ control, information (focus cam information) for each subject distance regarding the relationship between the focal length of the zoom lens and the focus position in focus is stored in the digital camera 100.

デジタルカメラ100は、光学ズーム機能と電子ズーム機能を有する。CZ制御部119とズームレンズ駆動部113は、光学ズーム駆動を担当する。CZ制御部119は、ズーム動作時にて所定の制御周期ごとにズームレンズ102のズーム位置を検出し、フォーカスカム情報に基づいて、ズーム位置に応じたフォーカスレンズ位置にフォーカスレンズ103を駆動させる。これによって、合焦状態を維持したまま光学ズーム動作を行うことが可能になる。   The digital camera 100 has an optical zoom function and an electronic zoom function. The CZ control unit 119 and the zoom lens driving unit 113 are in charge of optical zoom driving. The CZ control unit 119 detects the zoom position of the zoom lens 102 at every predetermined control period during the zoom operation, and drives the focus lens 103 to the focus lens position corresponding to the zoom position based on the focus cam information. This makes it possible to perform an optical zoom operation while maintaining the focused state.

一方、電子ズーム制御部120及び画像メモリ108は、電子ズーム駆動を担当する。電子ズーム制御部120は、画像メモリ108に転送された画像データから対象領域を切り出すことによって電子ズーム機能を実現する。また、撮像素子106に取り込む映像のフレームレート周期で切り出す範囲を徐々に大きくし、表示部109に表示させることで滑らかな電子ズーム表示が実現される。   On the other hand, the electronic zoom control unit 120 and the image memory 108 are in charge of electronic zoom driving. The electronic zoom control unit 120 realizes an electronic zoom function by cutting out a target area from the image data transferred to the image memory 108. In addition, a smooth electronic zoom display can be realized by gradually increasing the range to be extracted at the frame rate period of the video to be captured by the image sensor 106 and displaying the range on the display unit 109.

被写体検出部123は、画像メモリ108の画像データから所望の被写体領域を検出する。本実施形態では顔情報を元に被写体を検出(顔検出)する被写体検出方法について説明する。顔検出処理は、画像データ中に存在する顔領域を公知のアルゴリズムにより検出する処理である。例えば、被写体検出部123は、画像データ上の正方形状の部分領域から特徴量を抽出し、その特徴量を予め用意された顔の特徴量と比較し、両者の相関が一定の閾値を超えるときに、その部分領域を顔領域と判定する。この判定を、部分領域のサイズ、配置位置、配置角度の組み合わせを様々に変更しながら繰り返せば、画像データ中に存在する様々な顔領域が検出される。被写体検出部123は、検出結果に基づき、画像データ上での被写体領域の大きさや位置・速度を求めることができる。   The subject detection unit 123 detects a desired subject region from the image data in the image memory 108. In this embodiment, a subject detection method for detecting a subject (face detection) based on face information will be described. The face detection process is a process for detecting a face area existing in image data by a known algorithm. For example, the subject detection unit 123 extracts a feature value from a square-shaped partial region on the image data, compares the feature value with a feature value of a face prepared in advance, and the correlation between the two exceeds a certain threshold value Then, the partial area is determined as a face area. If this determination is repeated while changing the combination of the size, arrangement position, and arrangement angle of the partial areas, various face areas existing in the image data are detected. The subject detection unit 123 can obtain the size, position, and speed of the subject region on the image data based on the detection result.

次に、FAズーム機能の概要と、FAズーム枠制御部121及びFAズーム制御部122について説明する。本実施形態のデジタルカメラ100は、FAズーム機能として自動FAモードを備えている。自動FAモードは、カメラが被写体を検出して自動的に画角合わせを支援するモードである。   Next, an overview of the FA zoom function and the FA zoom frame control unit 121 and the FA zoom control unit 122 will be described. The digital camera 100 of this embodiment has an automatic FA mode as an FA zoom function. The automatic FA mode is a mode in which the camera detects a subject and automatically supports angle-of-view adjustment.

本実施形態のデジタルカメラ100の自動FAモードでは、追尾している被写体の位置や大きさに応じて、自動でズームアウト動作やズームイン動作を行う。まず、モードを自動FAモードとした後、タッチパネル等から被写体を指定する操作を実施することにより撮影したい被写体を指定する。被写体の指定方法としては、タッチパネル操作以外に、特定のボタンを押下したときに中央付近にいる被写体を指定する方法や、カメラが検出した被写体の中から自動で主被写体を選択する方法なども考えられる。被写体検出部123では、画像メモリ108から指定された被写体領域の画像データ上での位置や大きさを算出する。これをライブビューとして表示するサンプリングごとの画像データに対して連続的に行なうことで被写体の動きを追尾することが可能となる。   In the automatic FA mode of the digital camera 100 of the present embodiment, the zoom-out operation and the zoom-in operation are automatically performed according to the position and size of the tracked subject. First, after setting the mode to the automatic FA mode, the subject to be photographed is designated by performing an operation for designating the subject from the touch panel or the like. In addition to touch panel operations, there are other ways to specify the subject, such as specifying the subject near the center when a specific button is pressed, or automatically selecting the main subject from the subjects detected by the camera. It is done. The subject detection unit 123 calculates the position and size of the subject region designated from the image memory 108 on the image data. By continuously performing this on image data for each sampling displayed as a live view, it is possible to track the movement of the subject.

図11(A)〜(D)を用いて、自動FAモードにおけるズームアウト動作やズームイン動作の開始条件について説明する。まず、図11(A)では、表示部109に示される画面内に被写体601が検出されている様子を示している。図11(A)では、表示部109に示される画面において、点線602よりも外側の領域をズームアウト領域(ZO)としている。ZOは画面全体に対して所定の比率のサイズで設定される。例えば、画面の中心点を0%、画面全体を100%とし、画面全体に対して80%となる位置をZOの境界とした場合、80〜100%の領域をZOとする。このZOに被写体の一部が進入した場合や、被写体のサイズが所定の大きさより大きくなった場合、ズームアウト動作を開始する。被写体のサイズや移動速度に応じてズームアウトするズーム倍率やズーム速度を算出しておき、その倍率や速度に従ってズームアウト動作を行うことで、被写体のフレームアウトを防止することができる。また、ズームアウト開始時のズーム位置を後述するズーム戻り位置として記憶しておく。   The start conditions for the zoom-out operation and the zoom-in operation in the automatic FA mode will be described with reference to FIGS. First, FIG. 11A shows a state where the subject 601 is detected in the screen shown on the display unit 109. In FIG. 11A, a region outside the dotted line 602 on the screen shown on the display unit 109 is a zoom-out region (ZO). ZO is set at a predetermined size for the entire screen. For example, assuming that the center point of the screen is 0%, the entire screen is 100%, and a position that is 80% of the entire screen is a ZO boundary, an area of 80 to 100% is defined as ZO. When a part of the subject enters this ZO or when the size of the subject becomes larger than a predetermined size, the zoom-out operation is started. By calculating the zoom magnification and zoom speed for zooming out according to the size and moving speed of the subject and performing the zoom-out operation according to the magnification and speed, it is possible to prevent the subject from being out of frame. Also, the zoom position at the start of zoom out is stored as a zoom return position to be described later.

図11(B)は、ズームアウト動作中の状態を示している。算出したズーム倍率分のズームアウト動作が完了すると、図11(C)のようにズーム戻り位置を示すFAズーム枠603が表示される。ユーザーがカメラの方向を変更してFAズーム枠603内に被写体601が収まると、記憶していたズーム戻り位置までズームイン動作を行い、図11(D)のように被写体601を画角内に捉えることができる。   FIG. 11B shows a state during the zoom-out operation. When the zoom-out operation for the calculated zoom magnification is completed, an FA zoom frame 603 indicating the zoom return position is displayed as shown in FIG. When the user changes the camera direction and the subject 601 is within the FA zoom frame 603, the zoom-in operation is performed to the stored zoom return position, and the subject 601 is captured within the angle of view as shown in FIG. be able to.

次に、図12を用いて自動FAモードにおける電子ズーム及び光学ズームの目標ズームアウト位置もしくはズームイン位置の例について説明する。図12では、光学ズームの焦点距離が24〜840mmの範囲で光学ズーム倍率を最大35倍とし、電子ズーム倍率を最大4倍としており、目標ズームアウト駆動量はズーム倍率に換算して1/8倍、ズームイン駆動量は8倍とする。なお、図中の「光学ワイド端」、「光学テレ端」は光学ズーム動作におけるワイド端(焦点距離24mm)、テレ端(焦点距離840mm)をそれぞれ示し、光学ズーム領域の境界を表す。「電子ワイド端」、「電子テレ端」は電子ズーム動作におけるワイド端(焦点距離840mm相当)、テレ端(焦点距離3360mm相当)をそれぞれ示し、電子ズーム領域の境界を表す。なお、光学テレ端位置と電子ワイド端位置は一致している。   Next, an example of electronic zoom and optical zoom target zoom-out positions or zoom-in positions in the automatic FA mode will be described with reference to FIG. In FIG. 12, the optical zoom magnification is set to a maximum of 35 times and the electronic zoom magnification is set to a maximum of 4 times in the range of the focal length of the optical zoom of 24 to 840 mm. The zoom-in drive amount is 8 times. In the figure, “optical wide end” and “optical tele end” indicate the wide end (focal length 24 mm) and tele end (focal length 840 mm) in the optical zoom operation, respectively, and represent the boundaries of the optical zoom region. “Electronic wide end” and “electronic tele end” indicate a wide end (equivalent to a focal length of 840 mm) and a tele end (equivalent to a focal length of 3360 mm) in the electronic zoom operation, respectively, and represent the boundaries of the electronic zoom region. The optical tele end position and the electronic wide end position coincide.

パターン1は、撮影準備状態でのズーム位置が、電子テレ端位置の場合を示している。電子ズーム倍率は最大4倍であるため、電子ズームのズームアウト位置は電子ワイド端位置とし、残りの2倍分については光学ズームでのズームアウト動作が行われる。したがって、光学ズームによるズームアウト位置は840mm×(1/2倍)=420mmの焦点距離に対応する位置となる。   Pattern 1 shows a case where the zoom position in the shooting preparation state is the electronic telephoto end position. Since the electronic zoom magnification is a maximum of four times, the zoom-out position of the electronic zoom is set to the electronic wide end position, and the zoom-out operation with the optical zoom is performed for the remaining two times. Therefore, the zoom-out position by the optical zoom is a position corresponding to a focal length of 840 mm × (½ times) = 420 mm.

パターン2は、撮影準備状態でのズーム位置が、光学テレ端位置で焦点距離840mmの場合を示している。撮影準備状態でのズーム状態は光学ズーム状態であるため、電子ズーム位置は電子ワイド端位置のままである。ズーム倍率1/8倍に対応するズームアウト駆動量で光学ズーム位置を変更した場合、840mm×(1/8倍)=105mmの焦点距離に対応する位置がズームアウト位置となる。   Pattern 2 shows a case where the zoom position in the shooting preparation state is a focal length of 840 mm at the optical telephoto end position. Since the zoom state in the shooting preparation state is the optical zoom state, the electronic zoom position remains at the electronic wide end position. When the optical zoom position is changed with the zoom-out drive amount corresponding to the zoom magnification of 1/8, the position corresponding to the focal length of 840 mm × (1/8 times) = 105 mm is the zoom-out position.

パターン3は、撮影準備状態でのズーム位置が、光学ミドル位置で焦点距離192mmの場合を示している。このときの光学ズームのズームアウト位置は、192mm×(1/8倍)=24mmの焦点距離に対応する位置(光学ワイド端位置)となる。   Pattern 3 shows a case where the zoom position in the shooting preparation state is a focal length of 192 mm at the optical middle position. The zoom-out position of the optical zoom at this time is a position (optical wide end position) corresponding to a focal length of 192 mm × (1/8 ×) = 24 mm.

パターン4は、撮影準備状態でのズーム位置が、光学ミドル位置で焦点距離72mmの場合を示している。光学ズームのズームアウト位置の算出結果は、72mm×(1/8倍)=9mmとなり、光学ワイド端位置よりも広角側の位置となる。この場合、光学ワイド端位置である焦点距離24mmをズームアウト位置とする。   Pattern 4 shows a case where the zoom position in the shooting preparation state is the optical middle position and the focal length is 72 mm. The calculation result of the zoom-out position of the optical zoom is 72 mm × (1/8 times) = 9 mm, which is a position on the wide angle side from the optical wide end position. In this case, the focal length of 24 mm, which is the optical wide end position, is set as the zoom-out position.

ここで、自動FAモードでFAズーム機能を使用する場合の問題点として、必要以上にズームアウトを行ってしまうケースを説明する。上述した図11(B)の状態において、表示部109に表示される被写体601の位置を確認しながら撮影者がカメラを動かしてフレーミングを行い、被写体601がすでに画角内に十分捉えられているとする。その場合、撮影者はこれ以上ズームアウトをして被写体を探索する必要はない。しかしながら、撮像装置は予め設定されたズームアウト位置までズームアウト動作を行ってしまい、必要以上のズームアウト動作を行うこととなる。そして、所定のズームアウト位置までズームアウトした状態で、被写体がFAズーム枠603内に入ったかを判定し、ズームインを行う。つまり、所定のズームアウト駆動量だけズームアウト動作を完了してからズームイン動作の判定を行うため、被写体を画角内に捉えてから実際に所望の画角で撮影できるようになるまでに必要以上の時間を要する。そのため、場合によっては決定的な撮影タイミングを逃してしまうことも考えられる。   Here, as a problem when the FA zoom function is used in the automatic FA mode, a case where the zoom-out is performed more than necessary will be described. In the state of FIG. 11B described above, the photographer performs framing by moving the camera while checking the position of the subject 601 displayed on the display unit 109, and the subject 601 is already sufficiently captured within the angle of view. And In that case, the photographer does not need to zoom out any more and search for the subject. However, the imaging apparatus performs a zoom-out operation to a preset zoom-out position, and performs a zoom-out operation more than necessary. Then, it is determined whether or not the subject has entered the FA zoom frame 603 while zoomed out to a predetermined zoom-out position, and zoom-in is performed. In other words, since the zoom-out operation is determined after the zoom-out operation is completed by a predetermined zoom-out drive amount, it is more than necessary until the subject can be actually captured at the desired angle of view after being captured within the angle of view. Takes time. Therefore, depending on the case, it may be possible to miss a definitive shooting timing.

上述の問題点を解決するために、本実施形態の自動FAモードでは、ズームアウト動作中に被写体が十分画角内に捉えられていると判断された場合は、目標ズームアウト位置に到達していなくても、途中でズームアウト動作を停止する。そのため、画面内にズームアウト停止検出領域を設定し、ズームアウト動作中に検出された被写体と該領域との位置関係に応じて、ズームアウト動作を途中で停止するか否かの判定(ズームアウト停止判定)を行う。FAズーム制御部122は、ズームアウト開始時のズーム位置を基準として所定倍率分だけズームアウトしたら、ズームアウト停止判定有効ズーム位置に達したとして、ズームアウト停止判定を有効にする。ズームアウト停止判定が有効になると、所定時間内に画面内に被写体が検出され、かつズームアウト停止検出領域内に入った場合に、目標ズームアウト位置に到達していなくてもズームアウト動作を停止する。また、上記所定時間は、振れ検出部124によって検出された振れ情報に応じて設定する。   In order to solve the above-described problems, in the automatic FA mode of the present embodiment, the target zoom-out position is reached when it is determined that the subject is sufficiently captured within the angle of view during the zoom-out operation. Even if not, the zoom-out operation stops halfway. Therefore, a zoom-out stop detection area is set in the screen, and whether to stop the zoom-out operation halfway according to the positional relationship between the subject detected during the zoom-out operation and the area (zoom-out operation) Stop). The FA zoom control unit 122 validates the zoom-out stop determination as reaching the zoom-out stop determination effective zoom position after zooming out by a predetermined magnification with reference to the zoom position at the start of zoom-out. When the zoom-out stop judgment is enabled, if the subject is detected within the specified time and enters the zoom-out stop detection area, the zoom-out operation stops even if the target zoom-out position has not been reached. To do. The predetermined time is set according to the shake information detected by the shake detection unit 124.

次に、本実施形態における自動FAモードでのズームアウト停止判定の詳細について説明する。   Next, details of the zoom-out stop determination in the automatic FA mode in the present embodiment will be described.

まず、本実施形態の自動FAモードの処理の流れを、図4のフローチャートを用いて説明する。S401にて、FAズーム制御部122は、FAズームを開始するか否かを判定する。ここでは、被写体検出結果を元にFAズーム開始の判定を行う。S401のFAズーム開始判定にてFAズームの開始判定がなされると、S402に進む。   First, the flow of processing in the automatic FA mode of this embodiment will be described using the flowchart of FIG. In S401, the FA zoom control unit 122 determines whether or not to start FA zoom. Here, the FA zoom start is determined based on the subject detection result. If the FA zoom start determination is made in S401, the process proceeds to S402.

S402でFAズーム制御部122は、ズームアウト開始時の光学ズーム位置及び電子ズーム位置を記憶するとともに、所定の駆動量だけCZ制御部119もしくは電子ズーム制御部120に指令してFAズームアウト動作を行う。   In S402, the FA zoom control unit 122 stores the optical zoom position and the electronic zoom position at the start of zoom-out, and instructs the CZ control unit 119 or the electronic zoom control unit 120 by a predetermined drive amount to perform the FA zoom-out operation. Do.

FAズームアウト動作が終了するとS403に進み、FAズーム枠制御部121は、表示部109に記憶したズーム位置を示すFAズーム枠を表示する。FAズーム枠を目安として、撮影者は撮影したい被写体を画面中央付近に収めるようにフレーミング操作を行う。   When the FA zoom-out operation ends, the process proceeds to S403, and the FA zoom frame control unit 121 displays an FA zoom frame indicating the zoom position stored in the display unit 109. Using the FA zoom frame as a guide, the photographer performs a framing operation so that the subject to be photographed is placed near the center of the screen.

S404でFAズーム制御部122は、FAズームを終了するか否かを判定し、FAズームイン動作を行う。ここでは、まず、被写体検出結果を元にFAズーム終了の判定を行う。FAズーム終了の判定がなされると、FAズーム制御部122は、記憶した光学ズーム位置及び電子ズーム位置まで駆動するようにCZ制御部119もしくは電子ズーム制御部120に指令してFAズームイン動作を行い、処理を終了する。   In S404, the FA zoom control unit 122 determines whether or not to end the FA zoom, and performs an FA zoom-in operation. Here, first, the end of the FA zoom is determined based on the subject detection result. When the FA zoom end determination is made, the FA zoom control unit 122 instructs the CZ control unit 119 or the electronic zoom control unit 120 to drive to the stored optical zoom position and electronic zoom position, and performs the FA zoom-in operation. The process is terminated.

次に、図5乃至図9を用いて、図4で示したFAズーム機能の処理の流れに従って各処理の詳細を説明する。   Next, details of each process will be described with reference to FIGS. 5 to 9 according to the process flow of the FA zoom function shown in FIG.

図5は、図4のS401で示されるFAズーム開始判定処理を説明するフローチャートである。S501でFAズーム制御部122は、操作部117のFAズーム操作スイッチが押下されて自動FAズームモードがONになったか否かの判定を行う。FAズーム操作スイッチが押下されるとS502に進み、追尾する被写体(基準被写体)の被写体指定処理を行う。なお、本実施形態では、FAズーム機能として自動FAモードのみを説明しているが、上述した特許文献1のように手動でFAズーム動作を指示するモードを選択可能にしてもよい。   FIG. 5 is a flowchart for explaining the FA zoom start determination process shown in S401 of FIG. In step S501, the FA zoom control unit 122 determines whether the FA zoom operation switch of the operation unit 117 is pressed and the automatic FA zoom mode is turned on. When the FA zoom operation switch is pressed, the process proceeds to S502, and subject designation processing for the subject to be tracked (reference subject) is performed. In the present embodiment, only the automatic FA mode has been described as the FA zoom function. However, a mode for manually instructing the FA zoom operation may be selectable as in Patent Document 1 described above.

ここで、図6を用いてS502の被写体指定処理について説明する。図6(A)は操作部117の部材であるタッチパネルを用いて、表示部109に表示された被写体をタッチして指定する操作例のフローチャートを示している。S601では、タッチパネルが押下されたか否かの判定を行う。タッチパネルが押下された場合にはS602に進み、FAズーム制御部122はタッチされた位置の座標を取得する。   Here, the subject designation processing in S502 will be described with reference to FIG. FIG. 6A shows a flowchart of an operation example in which a subject displayed on the display unit 109 is touched and specified using a touch panel which is a member of the operation unit 117. In S601, it is determined whether or not the touch panel has been pressed. When the touch panel is pressed, the process proceeds to S602, and the FA zoom control unit 122 acquires the coordinates of the touched position.

S603では、FAズーム制御部122はタッチ位置を被写体検出部123に通知し、被写体検出部123はタッチ位置付近で顔検出を行う。タッチ位置付近に顔を検出した場合には主被写体は人物であると判定しS604へと進む。S604では、自動追尾の対象である人物の顔情報をメモリ118に記憶する。具体的な顔情報としては、被写体指定時の顔のサイズや顔の検出位置、顔の向き等がある。また、顔認証機能を有するカメラにおいては認証ID等も記憶する。   In step S603, the FA zoom control unit 122 notifies the subject detection unit 123 of the touch position, and the subject detection unit 123 performs face detection near the touch position. If a face is detected near the touch position, it is determined that the main subject is a person, and the process proceeds to S604. In step S <b> 604, face information of the person who is the target of automatic tracking is stored in the memory 118. Specific face information includes the face size, face detection position, face orientation, etc. when the subject is designated. In addition, an authentication ID or the like is stored in a camera having a face authentication function.

S603でタッチ位置付近に顔を検出しなかった場合には、主被写体は人物以外のモノであると判定しS605へと進む。S605では、タッチ位置付近の特徴色を自動追尾対象の色情報としてメモリ118に記憶する。具体的な色情報としては、被写体指定時の特徴色の色や輝度、色差の値や同一色領域のサイズ、同一色領域の重心位置等がある。顔情報及び色情報のことを以降の説明ではまとめて被写体情報(被写体サイズ/被写体検出位置)として説明に用いることとする。   If no face is detected in the vicinity of the touch position in S603, it is determined that the main subject is something other than a person, and the process proceeds to S605. In step S605, the characteristic color near the touch position is stored in the memory 118 as color information for the automatic tracking target. Specific color information includes the color and brightness of the characteristic color when the subject is designated, the value of the color difference, the size of the same color area, the center of gravity position of the same color area, and the like. In the following description, face information and color information are collectively used as subject information (subject size / subject detection position) for explanation.

S604又はS605で被写体情報を記憶するとS606に進む。S606では、被写体検出位置を中心に被写体サイズに対応した大きさの被写体追尾枠(モノ追尾枠もしくは顔追尾枠)を表示部109に表示すると被写体指定処理が終了となる。図6(A)の方法を用いると、撮影者が追尾したい被写体を直感的な指定方法で簡単に指定することが可能となる。   When the subject information is stored in S604 or S605, the process proceeds to S606. In S606, when the subject tracking frame (mono tracking frame or face tracking frame) having a size corresponding to the subject size with the subject detection position as the center is displayed on the display unit 109, the subject designation processing ends. When the method of FIG. 6A is used, the photographer can easily specify the subject to be tracked by an intuitive specification method.

一方、図6(B)は、操作部117の部材であるFAズーム操作スイッチとは別のスイッチによって被写体を指定する操作例のフローチャートを示している。S607でFAズーム制御部122は、表示部109の画面中央付近に被写体指定の目安となる枠を表示する。撮影者はこの枠を目安として追尾したい被写体を中央付近に収めるようにカメラの向きを調整する。S608では、被写体指定用のスイッチが押下されたか否かの判定を行い、被写体指定用スイッチが押下された場合にはS609に進む。S609で被写体検出部123は、画面中央付近で顔検出を行う。   On the other hand, FIG. 6B shows a flowchart of an operation example in which a subject is designated by a switch different from the FA zoom operation switch which is a member of the operation unit 117. In step S <b> 607, the FA zoom control unit 122 displays a frame serving as a target for specifying the subject near the center of the screen of the display unit 109. The photographer adjusts the direction of the camera so that the subject to be tracked is placed near the center using this frame as a guide. In S608, it is determined whether or not the subject specifying switch has been pressed. If the subject specifying switch has been pressed, the process proceeds to S609. In step S609, the subject detection unit 123 performs face detection near the center of the screen.

画面中央付近に顔を検出した場合には主被写体は人物であると判定しS610へと進み、画面中央付近に顔を検出しなかった場合には主被写体は人物以外のモノであると判定しS611へと進む。S610乃至S612の処理については被写体検出を行う領域が画面中央付近となること以外は図6(A)と同様であるため説明を省略する。S610又はS611で被写体情報を記憶すると、S612に進み、被写体追尾枠(モノ追尾枠もしくは顔追尾枠)を表示して被写体指定処理が終了となる。このように、図6(B)の方法を用いると、タッチパネルのような操作部材を搭載しないカメラにおいても被写体を簡単に指定することが可能となる。   If a face is detected near the center of the screen, the main subject is determined to be a person and the process proceeds to S610. If no face is detected near the center of the screen, the main subject is determined to be something other than a person. Proceed to S611. Since the processing from S610 to S612 is the same as that in FIG. 6A except that the area for subject detection is near the center of the screen, the description thereof is omitted. When the subject information is stored in S610 or S611, the process proceeds to S612, where the subject tracking frame (mono tracking frame or face tracking frame) is displayed, and the subject designation process ends. As described above, when the method of FIG. 6B is used, a subject can be easily specified even in a camera not equipped with an operation member such as a touch panel.

図6(C)は、操作部117の部材であるFAズーム操作スイッチが短時間押された時点で検出された顔の中から追尾する被写体を自動で選択する例のフローチャートを示している。S613で被写体検出部123は、画面全体で顔検出を行う。画面全体で一つでも顔を検出した場合には、主被写体は人物であると判定しS614に進む。   FIG. 6C shows a flowchart of an example in which the subject to be tracked is automatically selected from the faces detected when the FA zoom operation switch which is a member of the operation unit 117 is pressed for a short time. In step S613, the subject detection unit 123 performs face detection on the entire screen. If even one face is detected on the entire screen, the main subject is determined to be a person and the process proceeds to S614.

S614で被写体検出部123は、検出した顔が一人の場合にはその顔を主顔とし、複数の場合にはその顔の中から追尾する被写体とする主顔を選択する。主顔選択の判定基準としては、例えば、顔検出位置がより画面中央付近にいるものを選択する方法や、同程度の位置であれば顔サイズが大きいものを主顔として選択する方法がある。また、顔認証機能を有するカメラにおいては認証登録されている顔がある場合には、その顔を優先して主顔としてもよい。   In step S <b> 614, the subject detection unit 123 selects the main face as the main face when the detected face is one person, and selects the main face as the subject to be tracked from the faces when there are a plurality of detected faces. As a determination criterion for main face selection, for example, there are a method of selecting a face detection position closer to the center of the screen, and a method of selecting a main face having a large face size if the position is the same. In the case of a camera having a face authentication function, if there is a face registered for authentication, that face may be given priority as the main face.

S615では、選択された主顔の顔情報をメモリ118に記憶する。S615で顔情報を記憶するとS616に進み、顔追尾枠を表示する。S617では、複数の顔から自動で選択された主顔が撮影者の意図しない顔である場合に撮影者が主顔を変更することが可能である。このとき、操作部117のスイッチ(FAズーム操作スイッチでも他のスイッチでもよい)を押下すると、検出された顔の中から主顔として選択されなかった顔に主顔を変更する。主顔が変更された場合には再度S615に進み、記憶する顔情報を更新するとともに、S616で顔追尾枠を新たに選択された主顔のサイズ及び検出位置に変更する。   In S615, the face information of the selected main face is stored in the memory 118. When the face information is stored in S615, the process proceeds to S616, and a face tracking frame is displayed. In S617, the photographer can change the main face when the main face automatically selected from the plurality of faces is a face not intended by the photographer. At this time, when a switch on the operation unit 117 (which may be an FA zoom operation switch or another switch) is pressed, the main face is changed to a face not selected as the main face from the detected faces. If the main face is changed, the process proceeds to S615 again, the stored face information is updated, and the face tracking frame is changed to the newly selected main face size and detection position in S616.

S613にて画面全体で顔を検出しない場合には、主被写体は人物以外のモノであると判定しS618へと進む。S618では、画面中央付近の特徴色を自動追尾対象の色情報としてメモリ118に記憶する。さらに、S618でモノ情報を記憶するとS619に進み、モノ追尾枠400を表示して被写体指定処理が終了となる。S615、616、618、619の処理については、被写体検出を行う領域が顔の場合には画面全体、色の場合には画面中央付近となること以外は図6(A)と同様であるため説明を省略する。図6(C)の方法を用いると、より少ない操作回数で被写体を簡単に指定することが可能となる。   If the face is not detected in the entire screen in S613, it is determined that the main subject is something other than a person, and the process proceeds to S618. In S618, the characteristic color near the center of the screen is stored in the memory 118 as the color information for the automatic tracking target. Further, when the mono information is stored in S618, the process proceeds to S619, the mono tracking frame 400 is displayed, and the subject designation process is ended. The processes in S615, 616, 618, and 619 are the same as those in FIG. 6A except that the entire area to be detected is the face when the subject detection area is a face, and the area near the center of the screen when the area is a color. Is omitted. When the method of FIG. 6C is used, the subject can be easily specified with a smaller number of operations.

被写体指定処理を終了すると図5のS503へと進む。S503乃至S505では、被写体指定時に指定した基準となる被写体情報と、周期的に検出する被写体情報とを元にFAズームを開始するか否かの判定を行う。FAズーム開始の条件を満たすまで所定の制御周期でこの判定は繰り返される。   When the subject designation process is completed, the process proceeds to S503 in FIG. In steps S503 to S505, it is determined whether or not to start the FA zoom based on the subject information that is the reference designated when the subject is designated and the subject information that is periodically detected. This determination is repeated at a predetermined control cycle until the condition for starting FA zooming is satisfied.

S503で被写体検出部123は、画面全体の中から基準被写体情報と同じ特徴を持つ被写体、すなわち、基準被写体が人物である場合には顔が、モノである場合には同一の特徴色が検出されたか否かを判定する。追尾する被写体が検出されなかった場合にはS502へ戻り、再度被写体指定処理を行う。一方、追尾する被写体が検出された場合にはS504に進む。S504では、追尾する被写体の被写体追尾枠が上述したズームアウト領域(ZO)に含まれるか否かを判定する。S504で追尾枠がズームアウト領域に含まれる、すなわち、被写体が画面周辺付近にありフレームアウトする恐れがある場合にはS506に進み、FAズームの開始をすべきことが判定される。   In step S503, the subject detection unit 123 detects a subject having the same characteristics as the reference subject information from the entire screen, that is, if the reference subject is a person, the face is detected, and if it is a thing, the same feature color is detected. It is determined whether or not. If the subject to be tracked is not detected, the process returns to S502 and the subject designation process is performed again. On the other hand, if the subject to be tracked is detected, the process proceeds to S504. In S504, it is determined whether or not the subject tracking frame of the subject to be tracked is included in the zoom-out area (ZO) described above. If the tracking frame is included in the zoom-out area in S504, that is, if the subject is in the vicinity of the screen and there is a risk of frame-out, the process proceeds to S506, and it is determined that the FA zoom should be started.

図3(A)は、S504でyesとなってS506でFAズームが開始される状態を示したもので、望遠側にズームインした状態の画角を示している。ここで、被写体検出部123によって取得された被写体201が画面内において点線202よりも外側のZO(第2の領域外)に含まれているため(S504でyes)、S506でFAズーム制御部122はズームアウト動作の開始を判定する。ズームアウトする際の目標ズームアウト駆動量(ズームアウト倍率)は、図12で説明したのと同様に予め設定されているが、メニュー画面などでユーザーが設定することも可能である。   FIG. 3A shows a state in which the answer is YES in S504 and the FA zoom is started in S506, and shows the angle of view in a state of zooming in on the telephoto side. Here, since the subject 201 acquired by the subject detection unit 123 is included in the ZO outside the dotted line 202 (outside the second region) in the screen (yes in S504), the FA zoom control unit 122 in S506. Determines the start of the zoom-out operation. The target zoom-out drive amount (zoom-out magnification) at the time of zooming out is preset in the same manner as described with reference to FIG. 12, but can also be set by the user on the menu screen or the like.

一方、S504で被写体追尾枠がズームアウト領域に含まれていない、すなわち、画面中央付近で被写体を捉えられている場合には、S505に進む。S505では、基準被写体情報の被写体サイズとS503で検出した被写体サイズとの比較を行う。S503で検出した被写体サイズが基準の被写体サイズに対して所定倍以上となって被写体が画面に占める比率が大きくなってしまう場合にはS506に進み、FAズームの開始をすべきことが判定される。S506でFAズームの開始判定がなされると、図4のS402に進み、FAズームアウト動作を開始する。一方、S503で検出した被写体が画面中央付近でかつ被写体サイズが基準の被写体サイズに対して所定サイズ以内である場合には、再度S503に進み、被写体の検出を判定する。   On the other hand, if the subject tracking frame is not included in the zoom-out area in S504, that is, if the subject is captured near the center of the screen, the process proceeds to S505. In S505, the subject size of the reference subject information is compared with the subject size detected in S503. If the subject size detected in S503 is greater than or equal to the reference subject size and the ratio of the subject to the screen increases, the process proceeds to S506 and it is determined that the FA zoom should be started. . When the FA zoom start determination is made in S506, the process proceeds to S402 in FIG. 4 to start the FA zoom-out operation. On the other hand, if the subject detected in S503 is near the center of the screen and the subject size is within a predetermined size with respect to the reference subject size, the process proceeds to S503 again to determine subject detection.

図7は、図4のS402で示されるFAズームアウト動作の処理を説明するフローチャートである。S701でFAズーム制御部122は、撮影準備状態での光学ズーム位置をCZ制御部119から取得し、電子ズーム位置を電子ズーム制御部120から取得する。さらにFAズーム制御部122は光学ズーム位置及び電子ズーム位置のデータをメモリ118に記憶する。なお、光学ズーム位置は、光学ズーム機能によって変更可能なズーム倍率に相当するズームレンズの位置を表し、電子ズーム位置は電子ズーム機能によって変更可能な画像拡大及び縮小の倍率に相当する制御位置を表す。   FIG. 7 is a flowchart for explaining processing of the FA zoom-out operation shown in S402 of FIG. In step S <b> 701, the FA zoom control unit 122 acquires the optical zoom position in the shooting preparation state from the CZ control unit 119 and acquires the electronic zoom position from the electronic zoom control unit 120. Further, the FA zoom control unit 122 stores the data of the optical zoom position and the electronic zoom position in the memory 118. The optical zoom position represents the position of the zoom lens corresponding to the zoom magnification that can be changed by the optical zoom function, and the electronic zoom position represents the control position corresponding to the magnification of image enlargement and reduction that can be changed by the electronic zoom function. .

次に、S702でFAズーム制御部122は、被写体の大きさや速度についての情報をメモリ118に記憶する。そして、S703でFAズーム制御部122は、ズームアウト駆動量を算出する。ここで算出するズームアウト駆動量は、途中でズームアウト停止が判定されなかった場合の駆動量であり、駆動量の上限値に相当する。また、ズームアウト駆動量は、検出された被写体のサイズに応じて設定される。具体的には、被写体のサイズが小さいほどズームアウト駆動量は小さく設定される。なお、被写体検出可能な最小サイズを考慮して、被写体のサイズが所定のサイズより小さい場合は、ズームアウトを行わないようにする。また、ズームアウト駆動量は、撮影者が設定メニューからの操作によって変更可能にしてもよい。   Next, in step S <b> 702, the FA zoom control unit 122 stores information on the size and speed of the subject in the memory 118. In step S703, the FA zoom control unit 122 calculates a zoom-out drive amount. The zoom-out drive amount calculated here is a drive amount when zoom-out stop is not determined in the middle, and corresponds to an upper limit value of the drive amount. Further, the zoom-out drive amount is set according to the detected size of the subject. Specifically, the zoom-out drive amount is set smaller as the subject size is smaller. In consideration of the minimum size that can be detected by the subject, if the size of the subject is smaller than a predetermined size, the zoom-out is not performed. The zoom-out drive amount may be changeable by the photographer by an operation from the setting menu.

次に、S704でFAズーム制御部122は、ズームアウト停止検出領域を算出する。ズームアウト停止検出領域は、後述するズームアウト停止判定が有効の状態で被写体が画面内のズームアウト停止検出領域内に含まれると、ズームアウト動作を停止する領域である。そして、S705でFAズーム制御部122は、ズームアウト停止判定が有効となるズーム位置を算出する。すなわち、ズームアウトを行って、ズーム位置が所定のズームアウト停止判定有効ズーム位置に達すると、ズームアウト停止判定が有効になる。   Next, in S704, the FA zoom control unit 122 calculates a zoom-out stop detection area. The zoom-out stop detection area is an area where the zoom-out operation is stopped when the subject is included in the zoom-out stop detection area in the screen in a state where the zoom-out stop determination described later is valid. In step S <b> 705, the FA zoom control unit 122 calculates a zoom position where the zoom-out stop determination is valid. That is, when the zoom-out is performed and the zoom position reaches a predetermined zoom-out stop determination effective zoom position, the zoom-out stop determination becomes valid.

S703〜S705で算出される数値と各種情報との関係性を示したのが図10である。図10では、カメラ撮影モード、被写体の大きさ、被写体の速さに応じて、ズームアウト駆動量、ズームアウト停止検出領域、ズームアウト停止判定有効ズーム位置をどのように変更するのかを示している。例えば、被写体の動く速度が小さい場合には、画角の端付近に被写体が位置しているときにズームアウトを停止させたとしても、急に画角からフレームアウトする可能性は少ない。その一方で、被写体の動く速度が大きい場合には、画角の端付近でズームアウトを停止してしまうと、再びフレームアウトして被写体を見失ってしまう可能性がある。そこで被写体の動く速度が大きい場合には、より確実に被写体を画角内に捉えるため、速度が小さいときと比べて「ズームアウト駆動量」を大きく設定する。また、「ズームアウト停止検出領域」は、速度が小さいときと比べて小さく(内側に)設定する。また、「ズームアウト停止検出有効ズーム位置」については、被写体の速度が小さい場合には、より望遠側でズームアウト停止判定を有効にすることで、早い段階でズームアウトを停止できるようになり、フレーミングの時間を短縮できる場合がある。また、被写体の大きさが大きい場合や、スポーツモードのように動きの速い被写体を撮影する撮影モードが設定されている場合も、被写体の速度が大きい場合と同様の設定を行う。なお、図10に示したのは一例であり、被写体のフレームアウトしやすさに影響するものに対して本実施形態のような設定値の変更を適用できる。また、ズームアウト駆動量、ズームアウト停止検出領域、ズームアウト停止判定有効ズーム位置の全てを変更するようにしてもよいし、一部のみ変更するようにしてもよい。   FIG. 10 shows the relationship between the numerical values calculated in S703 to S705 and various information. FIG. 10 shows how to change the zoom-out drive amount, the zoom-out stop detection area, and the zoom-out stop determination effective zoom position according to the camera shooting mode, the size of the subject, and the speed of the subject. . For example, when the moving speed of the subject is low, even if the zoom-out is stopped when the subject is located near the end of the angle of view, there is little possibility of sudden out of the frame from the angle of view. On the other hand, when the moving speed of the subject is high, if the zoom-out is stopped near the end of the angle of view, there is a possibility that the subject will be out of the frame and the subject may be lost. Therefore, when the moving speed of the subject is high, the “zoom-out drive amount” is set larger than when the speed is low in order to capture the subject within the angle of view more reliably. The “zoom-out stop detection area” is set smaller (inward) than when the speed is low. In addition, regarding the “zoom-out stop detection effective zoom position”, if the subject speed is low, the zoom-out stop determination is enabled on the telephoto side, so that zoom-out can be stopped at an early stage. The framing time may be shortened. Also, when the subject size is large, or when a shooting mode for shooting a fast-moving subject like the sports mode is set, the same setting as when the subject speed is high is performed. Note that the example shown in FIG. 10 is an example, and the change of the set value as in the present embodiment can be applied to what affects the ease of frame-out of the subject. Further, all of the zoom-out drive amount, the zoom-out stop detection area, and the zoom-out stop determination effective zoom position may be changed, or only a part thereof may be changed.

図7に戻り、S706でFAズーム制御部122は、停止判定有りズームアウト動作を行い、FAズームアウト動作を終了する。停止判定有りズームアウト動作の詳細については、図8を用いて後述する。FAズームアウト動作が終了すると、図4のS403に進む。   Returning to FIG. 7, in step S706, the FA zoom control unit 122 performs a zoom-out operation with a stop determination, and ends the FA zoom-out operation. Details of the zoom-out operation with stop determination will be described later with reference to FIG. When the FA zoom-out operation ends, the process proceeds to S403 in FIG.

ここで、停止判定有りズームアウト動作について、図8を用いて説明する。S801でFAズーム制御部122は、S703で取得したズームアウト駆動量からズームアウト位置を算出し、電子ズーム制御部120またはCZ制御部119に設定する。一般的なズーム操作では、操作部117のズーム操作スイッチが押下されると、光学ズーム位置がワイド端からテレ端の間である場合には、CZ制御部119の制御下で光学ズームを駆動させる。光学ズーム位置がテレ端であって、さらに望遠方向への操作指示がなされた場合には電子ズーム制御部120が電子ズームを駆動させることで超望遠撮影が可能となる。ズーム操作スイッチの操作によるズーム動作とFAズーム動作との整合性を取るために、FAズーム動作においても、撮影準備状態でのズーム状態が電子ズーム状態の場合には電子ズームを先に駆動させる。   Here, the zoom-out operation with stop determination will be described with reference to FIG. In step S801, the FA zoom control unit 122 calculates the zoom-out position from the zoom-out drive amount acquired in step S703, and sets the zoom-out position in the electronic zoom control unit 120 or the CZ control unit 119. In a general zoom operation, when the zoom operation switch of the operation unit 117 is pressed, if the optical zoom position is between the wide end and the tele end, the optical zoom is driven under the control of the CZ control unit 119. . When the optical zoom position is at the telephoto end and an operation instruction in the telephoto direction is given, the electronic zoom control unit 120 drives the electronic zoom to enable super telephoto shooting. In order to ensure consistency between the zoom operation by the operation of the zoom operation switch and the FA zoom operation, even in the FA zoom operation, when the zoom state in the shooting preparation state is the electronic zoom state, the electronic zoom is driven first.

S802でFAズーム制御部122は、電子ズーム制御部120またはCZ制御部119に対して、S801で設定したズームアウト位置まで変倍処理を行うように指示する。電子ズーム制御部120またはCZ制御部119はズームアウト動作を行う。   In step S802, the FA zoom control unit 122 instructs the electronic zoom control unit 120 or the CZ control unit 119 to perform the scaling process up to the zoom-out position set in step S801. The electronic zoom control unit 120 or the CZ control unit 119 performs a zoom-out operation.

S803でFAズーム制御部122は、ズーム位置が図7のS705で算出したズームアウト停止判定有効ズーム位置に達しているか否かを判定する。ズームアウト停止判定有効ズーム位置に達したらS804に進む。   In step S803, the FA zoom control unit 122 determines whether the zoom position has reached the zoom-out stop determination effective zoom position calculated in step S705 in FIG. When the zoom-out stop determination effective zoom position is reached, the process proceeds to S804.

S804でFAズーム制御部122は、振れ検出部124の検出結果に基づいて、時間T1(第1の所定時間)を設定する。ここで、撮影者が被写体を探索している状態においては、振れ量が大きくなることが予測される。そこで、振れ量が大きくなるほど時間T1を長く設定することで、撮影者が被写体を探索している際に十分な判定時間を設けるとともに、必要以上にズームアウトを中断するのを防ぐことができる。   In S804, the FA zoom control unit 122 sets a time T1 (first predetermined time) based on the detection result of the shake detection unit 124. Here, in a state where the photographer is searching for a subject, it is predicted that the shake amount will increase. Therefore, by setting the time T1 longer as the shake amount increases, it is possible to provide a sufficient determination time when the photographer searches for the subject and to prevent the zoom-out from being interrupted more than necessary.

S805でFAズーム制御部122は、被写体検出部123により画面内に被写体が検出されているか否かを判定する。ズームアウト停止判定有効ズーム位置に達してから時間T1以内に被写体が検出された場合、S810に処理を進める。一方、被写体が検出されないまま時間T1が経過した場合(S806でyes)、S807に処理を進める。   In step S <b> 805, the FA zoom control unit 122 determines whether the subject is detected in the screen by the subject detection unit 123. If the subject is detected within the time T1 after reaching the zoom-out stop determination effective zoom position, the process proceeds to S810. On the other hand, when the time T1 has passed without the subject being detected (Yes in S806), the process proceeds to S807.

S807でFAズーム制御部122は、電子ズーム制御部120またはCZ制御部119に対して、S801で設定したズームアウト位置まで変倍処理を行うように指示する。電子ズーム制御部120またはCZ制御部119は、残りのズームアウト移動量分のズームアウト動作を行う。S808でFAズーム制御部122は、図7のS703で取得したズームアウト移動量分のズームアウトが完了したか否かを判定し、完了したらS809に処理を進める。   In step S807, the FA zoom control unit 122 instructs the electronic zoom control unit 120 or the CZ control unit 119 to perform the scaling process up to the zoom-out position set in step S801. The electronic zoom control unit 120 or the CZ control unit 119 performs a zoom-out operation for the remaining zoom-out movement amount. In step S808, the FA zoom control unit 122 determines whether zoom-out for the amount of zoom-out movement acquired in step S703 in FIG. 7 has been completed. If completed, the process proceeds to step S809.

S809でFAズーム制御部122は、被写体検出部123により画面内に被写体が検出されているか否かを判定する。なお、S804乃至S806と同様に、ここでも時間T1を設定し、目標ズーム位置に達してから時間T1以内に被写体が検出されたか否かを判定するようにしてもよい。被写体が検出された場合、S811に進み、被写体が検出されなかった場合、FAズーム機能を終了する。   In step S <b> 809, the FA zoom control unit 122 determines whether the subject is detected in the screen by the subject detection unit 123. Note that, similarly to S804 to S806, the time T1 may be set here, and it may be determined whether or not the subject is detected within the time T1 after reaching the target zoom position. If the subject is detected, the process proceeds to S811, and if the subject is not detected, the FA zoom function is terminated.

一方、S805で時間T1以内に被写体が検出された場合、S810でFAズーム制御部122は、検出された被写体が図7のS704で算出したズームアウト停止検出領域内に含まれるか否かを判定する。被写体が検出されてから時間T1の間に被写体がズームアウト停止検出領域内に含まれると判定された場合は、S811に進む。   On the other hand, if a subject is detected within time T1 in S805, the FA zoom control unit 122 determines whether the detected subject is included in the zoom-out stop detection area calculated in S704 of FIG. 7 in S810. To do. If it is determined that the subject is included in the zoom-out stop detection area during the time T1 after the subject is detected, the process proceeds to S811.

S811でFAズーム制御部は、振れ検出部124の検出結果に基づいて、時間T2(第2の所定時間)を設定する。ここでも、時間T1と同様に、振れ量が大きくなるほど時間T2を長く設定する。時間T2を設定すると、停止判定有りズームアウト動作を終了し、図4のS403のFAズーム枠表示処理に進む。   In S811, the FA zoom control unit sets a time T2 (second predetermined time) based on the detection result of the shake detection unit 124. Here, similarly to the time T1, the time T2 is set longer as the shake amount increases. When the time T2 is set, the zoom-out operation with stop determination is terminated, and the process proceeds to the FA zoom frame display process of S403 in FIG.

図3(B)は、図3(A)のズーム位置から所定倍率ズームアウトして、ズーム停止判定が有効になったときの状態を示しており、画面内にズームアウト停止検出領域203が設定されている。ズーム停止判定が有効の場合、被写体201がズームアウト停止検出領域203の内側に検出されていれば、被写体を十分に画角内にとらえることができていると判断する。そして、予め設定されたズームアウト駆動量に到達する前であってもズームアウト動作を停止させる。なお、本実施形態では、被写体領域の一部でもズームアウト停止検出領域203に含まれればズームアウトを停止するが、被写体領域の全部、または所定比率以上の領域がズームアウト停止検出領域に含まれた場合に停止させてもよい。   FIG. 3B shows a state where the zoom stop determination is enabled after zooming out from the zoom position of FIG. 3A by a predetermined magnification, and the zoom-out stop detection area 203 is set in the screen. Has been. When the zoom stop determination is valid, if the subject 201 is detected inside the zoom-out stop detection area 203, it is determined that the subject can be sufficiently captured within the angle of view. Then, the zoom-out operation is stopped even before reaching a preset zoom-out drive amount. In the present embodiment, the zoom-out is stopped if a part of the subject area is included in the zoom-out stop detection area 203, but the entire subject area or an area of a predetermined ratio or more is included in the zoom-out stop detection area. It may be stopped if

以上、図7および図8で説明したFAズームアウト動作が終了すると、図4のS403で示されるFAズーム枠表示処理に進む。S403でFAズーム制御部122は、ズーム戻り位置に対応するFAズーム枠の表示をFAズーム枠制御部121に指示する。ここでは、図7のS701で記憶したFAズームアウト開始時のズーム位置に対応する画角をFAズーム枠として、撮影画像に重畳して表示する。なお、本実施形態では、撮影者にとってフレーミングの目安となるFAズーム枠は表示するが、カメラ内部の判定処理に用いるZO領域およびズームアウト停止検出領域は表示しなくてもよい。FAズーム枠を表示すると、S404のFAズームイン動作に進む。   As described above, when the FA zoom-out operation described with reference to FIGS. 7 and 8 ends, the process proceeds to the FA zoom frame display process shown in S403 of FIG. In step S403, the FA zoom control unit 122 instructs the FA zoom frame control unit 121 to display the FA zoom frame corresponding to the zoom return position. Here, the angle of view corresponding to the zoom position at the start of FA zoom-out stored in S701 of FIG. 7 is displayed as an FA zoom frame superimposed on the captured image. In this embodiment, the FA zoom frame that is a guide for framing is displayed for the photographer, but the ZO region and the zoom-out stop detection region used for the determination process inside the camera may not be displayed. When the FA zoom frame is displayed, the process proceeds to the FA zoom-in operation in S404.

FAズームアウト動作後のズーム位置にて、撮影者は被写体201がFAズーム枠204内に収まるように撮像装置を動かしてフレーミングを行う(図3(C))。被写体201がFAズーム枠204内に収まると、FAズーム制御部122は自動的にFAズーム枠204に対応するズーム位置までズームイン動作を行う。   At the zoom position after the FA zoom-out operation, the photographer performs framing by moving the imaging device so that the subject 201 is within the FA zoom frame 204 (FIG. 3C). When the subject 201 is within the FA zoom frame 204, the FA zoom control unit 122 automatically performs a zoom-in operation to a zoom position corresponding to the FA zoom frame 204.

図9は、図4のS404で示されるFAズームイン動作の処理を説明するフローチャートである。S901でFAズーム制御部122は、撮影者により自動FAモードをキャンセルする操作が行われたか否かを判定する。なお、本実施形態では、自動FAモード中にFAズーム操作スイッチが押下されると自動FAモードがキャンセルされたと判定し、その時点のズーム位置でFAズーム機能が終了となる。自動FAモードがキャンセルされなければ、S902に進む。   FIG. 9 is a flowchart for explaining processing of the FA zoom-in operation shown in S404 of FIG. In step S901, the FA zoom control unit 122 determines whether an operation for canceling the automatic FA mode has been performed by the photographer. In the present embodiment, when the FA zoom operation switch is pressed during the automatic FA mode, it is determined that the automatic FA mode has been canceled, and the FA zoom function ends at the zoom position at that time. If the automatic FA mode is not canceled, the process proceeds to S902.

S902でFAズーム制御部122は、被写体がFAズーム枠内に包含されているか否かを判定する。被写体がFAズーム枠内に包含されている場合はS903へ進み、包含されていない場合はS906へ進む。本実施形態では、被写体追尾枠がFAズーム枠に完全に含まれる場合にズームイン動作を行うが、被写体追尾枠のうち所定比率以上の領域がFAズーム枠に含まれる場合にズームイン動作を行ってもよい。   In step S902, the FA zoom control unit 122 determines whether the subject is included in the FA zoom frame. If the subject is included in the FA zoom frame, the process proceeds to S903, and if it is not included, the process proceeds to S906. In this embodiment, the zoom-in operation is performed when the subject tracking frame is completely included in the FA zoom frame. However, even if the zoom-in operation is performed when an area of the subject tracking frame that includes a predetermined ratio or more is included in the FA zoom frame. Good.

S906でFAズーム制御部は、図8のS805またはS809で被写体が検出されてから時間T2が経過したか否かを判定する。時間T2は図8のS811で設定された時間である。被写体がFAズーム枠内に包含されずに時間T2が経過した場合(S906でyes)、FAズーム機能を終了する。一方、時間T2以内に被写体がFAズーム枠内に包含された場合、S903に進む。   In S906, the FA zoom control unit determines whether time T2 has elapsed since the subject was detected in S805 or S809 in FIG. Time T2 is the time set in S811 of FIG. If the time T2 has elapsed without the subject being included in the FA zoom frame (yes in S906), the FA zoom function is terminated. On the other hand, if the subject is included in the FA zoom frame within the time T2, the process proceeds to S903.

S903でFAズーム制御部122は、図7のS701で記憶したズーム位置(ズーム戻り位置)のデータをメモリ118から読み込む。   In step S903, the FA zoom control unit 122 reads the zoom position (zoom return position) data stored in step S701 in FIG.

S904でFAズーム制御部122は、S903で読み込んだズーム戻り位置に基づいて、ズームイン位置をCZ制御部119または電子ズーム制御部120に設定する。本実施形態では、光学ズームを優先してズームインを行う。S905でFAズーム制御部122は、CZ制御部119または電子ズーム制御部120に対して、S904で設定したズームイン位置までズームイン動作を行うように指示する。これによってズーム戻り位置へと復帰し、FAズームイン動作を終了する。   In S904, the FA zoom control unit 122 sets the zoom-in position in the CZ control unit 119 or the electronic zoom control unit 120 based on the zoom return position read in S903. In this embodiment, zoom-in is performed with priority given to optical zoom. In step S905, the FA zoom control unit 122 instructs the CZ control unit 119 or the electronic zoom control unit 120 to perform a zoom-in operation up to the zoom-in position set in step S904. This returns to the zoom return position, and the FA zoom-in operation ends.

図3(D)は、ズームイン動作が完了した状態を示している。図3(D)で示されるように、FAズーム枠204が表示部109の画角全体に一致するまでズームインが行われる。このように、自動FAモードを用いることで、望遠状態で被写体201を画角内に捉えた画像を簡単な操作で撮影することができる。   FIG. 3D shows a state where the zoom-in operation has been completed. As shown in FIG. 3D, zoom-in is performed until the FA zoom frame 204 matches the entire angle of view of the display unit 109. In this way, by using the automatic FA mode, an image in which the subject 201 is captured within the angle of view in a telephoto state can be taken with a simple operation.

次に、図2を用いて、本実施形態の自動FAモードにおけるズームアウトもしくはズームイン位置について説明する。図2の例では、図12と同様に、光学ズームの焦点距離が24〜840mmの範囲で光学ズーム倍率を最大35倍とし、電子ズーム倍率を最大4倍としており、目標ズームアウト駆動量はズーム倍率に換算して1/8倍、ズームイン駆動量は8倍とする。なお、図中の「光学ワイド端」、「光学テレ端」は光学ズーム動作におけるワイド端(焦点距離24mm)、テレ端(焦点距離840mm)をそれぞれ示し、光学ズーム領域の境界を表す。「電子ワイド端」、「電子テレ端」は電子ズーム動作におけるワイド端(焦点距離840mm相当)、テレ端(焦点距離3360mm相当)をそれぞれ示し、電子ズーム領域の境界を表す。なお、光学テレ端位置と電子ワイド端位置は一致している。   Next, the zoom-out or zoom-in position in the automatic FA mode of this embodiment will be described with reference to FIG. In the example of FIG. 2, as in FIG. 12, the optical zoom magnification is set to a maximum of 35 times and the electronic zoom magnification is set to a maximum of 4 times in the range of the optical zoom focal length of 24 to 840 mm. In terms of magnification, the zoom-in drive amount is 1/8 times and the zoom-in drive amount is 8 times. In the figure, “optical wide end” and “optical tele end” indicate the wide end (focal length 24 mm) and tele end (focal length 840 mm) in the optical zoom operation, respectively, and represent the boundaries of the optical zoom region. “Electronic wide end” and “electronic tele end” indicate a wide end (equivalent to a focal length of 840 mm) and a tele end (equivalent to a focal length of 3360 mm) in the electronic zoom operation, respectively, and represent the boundaries of the electronic zoom region. The optical tele end position and the electronic wide end position coincide.

また、ズームアウト開始時からズームアウト停止判定有効ズーム位置までのズーム駆動量は、自動FAモードで設定されるズームアウト駆動量より小さい。図2では、ズームアウト停止判定有効ズーム位置を、ズームアウト開始時のズーム位置からズーム倍率に換算して1/2倍とする。なお、これらの数値は一例であり、本実施形態の適用は上記の値に限定されない。   Further, the zoom drive amount from the start of zoom out to the zoom out stop determination effective zoom position is smaller than the zoom out drive amount set in the automatic FA mode. In FIG. 2, the zoom-out stop determination effective zoom position is set to ½ times in terms of the zoom magnification from the zoom position at the start of zoom-out. In addition, these numerical values are examples, and application of this embodiment is not limited to said value.

図2では、ズームアウト開始位置が焦点距離840mmの場合を例に説明する。この場合のズームアウト駆動量は、焦点距離が840mm×(1/8倍)=105mmのズーム位置までの駆動量となる。また、840mm×(1/2倍)=420mmより、焦点距離840〜420mmの間はズームアウト停止判定が無効、焦点距離420mmより広角側においてズームアウト停止判定が有効となる。   In FIG. 2, a case where the zoom-out start position is a focal length of 840 mm will be described as an example. The zoom-out drive amount in this case is the drive amount up to the zoom position where the focal length is 840 mm × (1/8 times) = 105 mm. Further, from 840 mm × (½ times) = 420 mm, the zoom-out stop determination is invalid during the focal distance of 840 to 420 mm, and the zoom-out stop determination is valid at the wide angle side from the focal distance of 420 mm.

パターン1は、ズームアウト駆動量の焦点距離105mmまで駆動する間に、被写体がズームアウト停止検出領域203内に含まれなかった場合である。すなわち、ズームアウト動作の完了までズームアウト停止が判定されなかったケースである。この場合、設定されたズームアウト駆動量に対応する焦点距離105mmのズーム位置でズームアウト動作が停止し、その状態で被写体をFAズーム枠内にフレーミングし、被写体がFAズーム枠内に包含されれば、焦点距離840mmまでズームイン動作を行う。   Pattern 1 is a case where the subject is not included in the zoom-out stop detection area 203 while driving to the focal length 105 mm of the zoom-out drive amount. That is, the zoom-out stop is not determined until the zoom-out operation is completed. In this case, the zoom-out operation stops at a zoom position with a focal length of 105 mm corresponding to the set zoom-out drive amount, and in this state, the subject is framed within the FA zoom frame, and the subject is included in the FA zoom frame. For example, the zoom-in operation is performed up to a focal length of 840 mm.

一方、パターン2は、ズームアウト駆動量の焦点距離105mmまで駆動する前に、ズームアウト停止判定された場合である。この例では、焦点距離210mmの時点でズームアウト停止検出領域203内に被写体が含まれたことを判定している。そのため、ズームアウト動作を焦点距離210mmで停止し、停止したズーム位置で被写体がFAズーム枠204に入ったか否かの判定を行う。その後、FAズーム枠204に入ったという判定がされると、焦点距離840mmのズーム位置までズームイン動作を行う。   On the other hand, pattern 2 is a case where it is determined that zoom-out is stopped before the zoom-out drive amount is driven to a focal length of 105 mm. In this example, it is determined that the subject is included in the zoom-out stop detection area 203 at the focal length of 210 mm. Therefore, the zoom-out operation is stopped at a focal length of 210 mm, and it is determined whether or not the subject has entered the FA zoom frame 204 at the stopped zoom position. Thereafter, when it is determined that the camera has entered the FA zoom frame 204, a zoom-in operation is performed to a zoom position with a focal length of 840 mm.

本実施形態では、FAズームアウト動作中にズームアウト停止判定有効ズーム位置に達したら、ズームアウト停止検出領域203と被写体との位置関係に基づくズームアウト停止判定を有効にする。自動FAズームモードが設定される場合、撮影者は被写体がフレームアウトしそうな状況で被写体を画角内に捉えようとしていることが想定されるため、ある程度ズームアウトを行う必要がある。そのため、本実施形態では、ズームアウト開始時からズームアウト停止判定を有効にするのではなく、所定量ズームアウトを行ってズームアウト停止判定有効ズーム位置に達してからズームアウト停止判定を有効にしている。   In this embodiment, when the zoom-out stop determination effective zoom position is reached during the FA zoom-out operation, the zoom-out stop determination based on the positional relationship between the zoom-out stop detection area 203 and the subject is validated. When the automatic FA zoom mode is set, it is assumed that the photographer is trying to capture the subject within the angle of view in a situation where the subject is likely to be out of the frame, so it is necessary to zoom out to some extent. Therefore, in this embodiment, the zoom-out stop determination is not enabled from the start of zoom-out, but the zoom-out stop determination is enabled after reaching a zoom-out stop determination effective zoom position by performing a predetermined amount of zoom-out. Yes.

以上説明したように、本実施形態では、画面内にズームアウト停止検出領域を設定することにより、FAズームアウト動作中に検出された被写体と該領域との位置関係に応じて、ズームアウト動作を停止させるか否かの判定を行う。より具体的には、ズームアウト停止判定有効ズーム位置において被写体がズームアウト停止検出領域内に検出された場合、ズームアウト動作を停止させる。これにより、被写体がある程度画角内に捉えられている場合は、ズームアウト動作を途中で停止させることができるため、必要以上のズームアウト動作を抑制することができる。   As described above, in this embodiment, by setting the zoom-out stop detection area in the screen, the zoom-out operation is performed according to the positional relationship between the subject detected during the FA zoom-out operation and the area. It is determined whether or not to stop. More specifically, when the subject is detected in the zoom-out stop detection area at the zoom-out stop determination effective zoom position, the zoom-out operation is stopped. As a result, when the subject is captured within a certain angle of view, the zoom-out operation can be stopped halfway, so that the zoom-out operation more than necessary can be suppressed.

さらに、本実施形態では、カメラの振れ量に応じて所定時間を設定し、ズームアウト停止判定有効ズーム位置に達してから所定時間内に被写体が検出されたどうかを判定している。そのため、撮影者が被写体を探索している場合には十分な判定時間を確保するとともに、必要以上にズームアウト動作を中断するのを防ぐことができる。   Furthermore, in this embodiment, a predetermined time is set according to the camera shake amount, and it is determined whether or not the subject is detected within the predetermined time after reaching the zoom-out stop determination effective zoom position. Therefore, when the photographer is searching for a subject, it is possible to secure a sufficient determination time and prevent the zoom-out operation from being interrupted more than necessary.

以上より、本実施形態によれば、フレーミングを支援するための機能として被写体の検出結果に応じて自動的にズーム動作を行う撮像装置において、必要以上のズームアウト動作を効果的に抑制することで、撮影タイミングを逃すのを防ぐことが可能になる。   As described above, according to the present embodiment, in an imaging apparatus that automatically performs a zoom operation according to a detection result of a subject as a function for supporting framing, it is possible to effectively suppress an unnecessary zoom-out operation. It becomes possible to prevent missing the shooting timing.

以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。また、適用するシーンとしても、静止画撮影のための画角合わせ中のみでなく、動画記録中の画角合わせの際に実施しても構わない。   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. Also, the scene to be applied may be performed not only during angle adjustment for still image shooting but also during angle adjustment during moving image recording.

また、本発明は、上述した実施形態の機能を実現するソフトウェア(プログラム)をネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムコードを読み出して実行する処理を含む。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。   In addition, the present invention supplies software (program) that realizes the functions of the above-described embodiments to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus performs the program. Includes processing to read and execute code. In this case, the program and the storage medium storing the program constitute the present invention.

100 デジタルカメラ
102 ズームレンズ
109 表示部
114 システム制御部
116 記録部
117 操作部
118 メモリ
119 CZ制御部
120 電子ズーム制御部
121 FAズーム枠制御部
122 FAズーム制御部
123 被写体検出部
124 振れ検出部
DESCRIPTION OF SYMBOLS 100 Digital camera 102 Zoom lens 109 Display part 114 System control part 116 Recording part 117 Operation part 118 Memory 119 CZ control part 120 Electronic zoom control part 121 FA zoom frame control part 122 FA zoom control part 123 Subject detection part 124 Shake detection part

Claims (14)

被写体を繰り返し検出する被写体検出手段と、
前記被写体検出手段の検出結果に応じて、前記被写体を画角内に保つためのズーム動作を制御する制御手段とを有し、
広角側の第1のズーム位置へのズーム動作において、前記第1のズーム位置より望遠側の第2のズーム位置に達した状態で、第1の所定時間内に前記被写体検出手段により検出された被写体が画面内に設定された第1の領域内に検出された場合、前記制御手段は、広角側へのズーム動作を前記第2のズーム位置で停止することを特徴とする撮像装置。
Subject detection means for repeatedly detecting the subject;
Control means for controlling a zoom operation for keeping the subject within an angle of view in accordance with a detection result of the subject detection means;
In the zoom operation to the first zoom position on the wide angle side, the object detection means detects the first zoom position within the first predetermined time in a state where the second zoom position on the telephoto side is reached from the first zoom position. The imaging device, wherein when the subject is detected within a first area set in the screen, the control means stops the zoom operation toward the wide angle side at the second zoom position.
撮像装置の振れ量を検出する振れ検出手段を有し、
前記第1の所定時間は、前記振れ検出手段によって検出された振れ量に基づいて設定されることを特徴とする請求項1に記載の撮像装置。
Having shake detection means for detecting the shake amount of the imaging device;
The imaging apparatus according to claim 1, wherein the first predetermined time is set based on a shake amount detected by the shake detection unit.
前記第2のズーム位置に達した状態で、前記第1の所定時間内に前記被写体検出手段により被写体が検出されなかった場合、前記制御手段は、前記第1のズーム位置までズーム動作を行うことを特徴とする請求項1又は2に記載の撮像装置。   When the subject is not detected by the subject detection means within the first predetermined time in the state where the second zoom position has been reached, the control means performs a zoom operation to the first zoom position. The imaging device according to claim 1, wherein: 前記第2のズーム位置に達した状態で、前記第1の所定時間内に前記被写体検出手段により検出された被写体が前記第1の領域内に検出されなかった場合、前記制御手段は、前記第1のズーム位置までズーム動作を行うことを特徴とする請求項1乃至3のいずれか1項に記載の撮像装置。   If the subject detected by the subject detection means within the first predetermined time is not detected within the first area in the state where the second zoom position has been reached, the control means The imaging apparatus according to claim 1, wherein the zoom operation is performed up to one zoom position. 前記制御手段は、広角側へのズーム動作において、前記第2のズーム位置に達したか否かに応じて、広角側へのズーム動作停止するか否かの判定を有効にするか否かを切り換えることを特徴とする請求項1乃至4のいずれか1項に記載の撮像装置。 Whether the control means validates whether or not to stop the zoom operation toward the wide angle side in accordance with whether or not the second zoom position has been reached in the zoom operation toward the wide angle side. The imaging apparatus according to claim 1, wherein the imaging device is switched. 撮影画像を表示する表示手段を有し、
前記制御手段は、広角側へのズーム動作を開始する前の第3のズーム位置を記憶し、撮影画像に重畳して当該第3のズーム位置に対応する画角を示す表示を前記表示手段に行うよう制御することを特徴とする請求項1乃至5のいずれか1項に記載の撮像装置。
Having a display means for displaying a photographed image;
The control means stores a third zoom position before the zoom operation to the wide angle side is started, and displays on the display means a display showing an angle of view corresponding to the third zoom position superimposed on the captured image. The imaging apparatus according to claim 1, wherein the imaging apparatus is controlled to perform.
広角側へのズーム動作を停止した状態において、前記被写体検出手段により被写体が検出されてから第2の所定時間内に前記被写体が画面内の前記第3のズーム位置に対応する画角内に検出された場合、前記制御手段は、当該第3のズーム位置までズーム動作を行うことを特徴とする請求項6に記載の撮像装置。   In a state where the zoom operation to the wide angle side is stopped, the subject is detected within an angle of view corresponding to the third zoom position in the screen within a second predetermined time after the subject is detected by the subject detection means. The imaging apparatus according to claim 6, wherein the control unit performs a zoom operation up to the third zoom position. 撮像装置の振れ量を検出する振れ検出手段を有し、
前記第2の所定時間は、前記振れ検出手段によって検出された振れ量に基づいて設定されることを特徴とする請求項7に記載の撮像装置。
Having shake detection means for detecting the shake amount of the imaging device;
The imaging apparatus according to claim 7, wherein the second predetermined time is set based on a shake amount detected by the shake detection unit.
ズーム動作を停止した状態において、前記被写体が画面内に設定された第2の領域外に検出された場合、前記制御手段は、広角側の前記第1のズーム位置へのズーム動作を開始するよう制御することを特徴とする請求項1乃至8のいずれか1項に記載の撮像装置。   In a state where the zoom operation is stopped, when the subject is detected outside the second area set in the screen, the control means starts the zoom operation to the first zoom position on the wide angle side. The imaging apparatus according to claim 1, wherein the imaging apparatus is controlled. 前記制御手段は、前記被写体の情報または撮影モードに応じて、前記第1の領域、前記第1のズーム位置、前記第2のズーム位置の少なくとも一つを変更することを特徴とする請求項1乃至9のいずれか1項に記載の撮像装置。   2. The control unit according to claim 1, wherein at least one of the first area, the first zoom position, and the second zoom position is changed according to information on the subject or a shooting mode. The imaging device according to any one of 1 to 9. 前記被写体の情報は、前記被写体の大きさ又は速度の情報であることを特徴とする請求項10に記載の撮像装置。   The imaging apparatus according to claim 10, wherein the subject information is information on a size or a speed of the subject. 撮像装置の制御方法であって、
被写体を繰り返し検出する被写体検出ステップと、
前記被写体検出ステップの検出結果に応じて、前記被写体を画角内に保つためのズーム動作を制御する制御ステップとを有し、
広角側の第1のズーム位置へのズーム動作において、前記第1のズーム位置より望遠側の第2のズーム位置に達した状態で、第1の所定時間内に前記被写体検出ステップにおいて検出された被写体が画面内に設定された第1の領域内に検出された場合、広角側へのズーム動作を前記第2のズーム位置で停止することを特徴とする撮像装置の制御方法。
A method for controlling an imaging apparatus,
A subject detection step for repeatedly detecting the subject;
A control step for controlling a zoom operation for keeping the subject within an angle of view according to a detection result of the subject detection step,
In the zoom operation to the first zoom position on the wide angle side, the object is detected in the subject detection step within a first predetermined time in a state where the second zoom position on the telephoto side is reached from the first zoom position. A method for controlling an imaging apparatus, comprising: stopping a zoom operation toward a wide-angle side at the second zoom position when a subject is detected in a first area set in a screen.
請求項12に記載の撮像装置の制御方法をコンピュータに実行させるように構成されていることを特徴とする撮像装置の制御プログラム。   An image pickup apparatus control program configured to cause a computer to execute the image pickup apparatus control method according to claim 12. 請求項13に記載の撮像装置の制御プログラムを記憶していることを特徴とするコンピュータ読み取り可能な記憶媒体。 A computer-readable storage medium storing a control program for the imaging apparatus according to claim 13.
JP2013211274A 2013-10-08 2013-10-08 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, IMAGING DEVICE CONTROL PROGRAM, AND STORAGE MEDIUM Active JP6245923B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013211274A JP6245923B2 (en) 2013-10-08 2013-10-08 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, IMAGING DEVICE CONTROL PROGRAM, AND STORAGE MEDIUM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013211274A JP6245923B2 (en) 2013-10-08 2013-10-08 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, IMAGING DEVICE CONTROL PROGRAM, AND STORAGE MEDIUM

Publications (2)

Publication Number Publication Date
JP2015076707A JP2015076707A (en) 2015-04-20
JP6245923B2 true JP6245923B2 (en) 2017-12-13

Family

ID=53001261

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013211274A Active JP6245923B2 (en) 2013-10-08 2013-10-08 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, IMAGING DEVICE CONTROL PROGRAM, AND STORAGE MEDIUM

Country Status (1)

Country Link
JP (1) JP6245923B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7401272B2 (en) 2019-11-26 2023-12-19 キヤノン株式会社 Imaging device, method of controlling the imaging device, and program
KR20220023632A (en) * 2020-08-21 2022-03-02 삼성전자주식회사 Method for stabilization and electronic device thereof
WO2023189829A1 (en) * 2022-03-31 2023-10-05 ソニーグループ株式会社 Information processing device, information processing method, and program
WO2024014761A1 (en) * 2022-07-15 2024-01-18 삼성전자 주식회사 Method for correcting camera shake and electronic device supporting same

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4375070B2 (en) * 2004-03-22 2009-12-02 住友電気工業株式会社 Modulation / demodulation system for vehicle, receiver and transmitter
JP5309490B2 (en) * 2007-07-26 2013-10-09 カシオ計算機株式会社 Imaging device, subject tracking zooming method, and subject tracking zooming program
JP5864938B2 (en) * 2011-07-25 2016-02-17 キヤノン株式会社 Imaging apparatus and control method thereof
JP5984349B2 (en) * 2011-08-23 2016-09-06 キヤノン株式会社 Imaging apparatus and control method thereof

Also Published As

Publication number Publication date
JP2015076707A (en) 2015-04-20

Similar Documents

Publication Publication Date Title
US9992421B2 (en) Image pickup apparatus having FA zoom function, method for controlling the apparatus, and recording medium
US9253410B2 (en) Object detection apparatus, control method therefor, image capturing apparatus, and storage medium
US10165191B2 (en) Image pickup apparatus having zoom function, method of controlling the same, and storage medium
JP5623207B2 (en) Imaging apparatus and control method thereof
US9380201B2 (en) Image capture apparatus and control method therefor
JP2019029998A (en) Imaging apparatus, control method of imaging apparatus and control program
JP6643036B2 (en) Zoom control device, control method for zoom control device, control program for zoom control device, and storage medium
JP6188474B2 (en) Zoom control device, control method for zoom control device, control program for zoom control device, and storage medium
JP6245923B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, IMAGING DEVICE CONTROL PROGRAM, AND STORAGE MEDIUM
JP5744581B2 (en) Imaging apparatus and control method thereof
JP6289207B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, IMAGING DEVICE CONTROL PROGRAM, AND STORAGE MEDIUM
JP6224925B2 (en) Control device and angle of view control method
JP2014103489A (en) Imaging apparatus and control method thereof
JP6188455B2 (en) Control apparatus, imaging system, angle of view control method, program, and storage medium
JP6335520B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND IMAGING DEVICE CONTROL PROGRAM
JP6234103B2 (en) Zoom control device, control method for zoom control device, control program for zoom control device, and storage medium
JP2021019255A (en) Imaging device and method of controlling the same
JP2017134363A (en) Lens control device, lens control method, program
JP6104425B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2019219529A (en) Control device, imaging device, control method, program, and storage medium
JP2015026906A (en) Imaging apparatus, imaging apparatus control method, imaging apparatus control program, and storage medium
JP6231768B2 (en) Imaging apparatus and control method thereof
JP6347862B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP6437066B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND IMAGING DEVICE CONTROL PROGRAM
JP5917641B2 (en) Zoom control device, imaging device, and control method of zoom control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161005

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170801

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170927

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171114

R151 Written notification of patent or utility model registration

Ref document number: 6245923

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151