JP6335520B2 - IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND IMAGING DEVICE CONTROL PROGRAM - Google Patents

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

Info

Publication number
JP6335520B2
JP6335520B2 JP2014008875A JP2014008875A JP6335520B2 JP 6335520 B2 JP6335520 B2 JP 6335520B2 JP 2014008875 A JP2014008875 A JP 2014008875A JP 2014008875 A JP2014008875 A JP 2014008875A JP 6335520 B2 JP6335520 B2 JP 6335520B2
Authority
JP
Japan
Prior art keywords
zoom
subject
mode
size
zoom operation
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
JP2014008875A
Other languages
Japanese (ja)
Other versions
JP2015043557A5 (en
JP2015043557A (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 JP2014008875A priority Critical patent/JP6335520B2/en
Publication of JP2015043557A publication Critical patent/JP2015043557A/en
Publication of JP2015043557A5 publication Critical patent/JP2015043557A5/ja
Application granted granted Critical
Publication of JP6335520B2 publication Critical patent/JP6335520B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

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

従来から、ズームレンズを駆動して光学的な変倍(光学ズーム)を行う機能、及び、撮影画像の一部を拡大して電子的な変倍(電子ズーム)を行う機能を有する撮像装置が知られている。また特許文献1には、被写体がフレームアウトした際に迅速に被写体を捉える機能として、フレーミング支援ズーム機能(FAズーム機能)を有する撮像装置が開示されている。特許文献1の構成によれば、FAズーム開始が指示された場合にズーム位置を広角方向にズームアウトさせ、FAズーム機能の終了が指示された場合にFAズーム開始時のズーム位置にズームインさせる制御を行う。   2. Description of the Related Art Conventionally, there has been an imaging apparatus having a function of driving a zoom lens to perform optical scaling (optical zoom) and a function of enlarging a part of a captured image to perform electronic scaling (electronic zoom). Are known. Patent Document 1 discloses an imaging apparatus having a framing support zoom function (FA zoom function) as a function of quickly capturing a subject when the subject is out of frame. According to the configuration of Patent Document 1, when the start of FA zoom is instructed, the zoom position is zoomed out in the wide-angle direction, and when the end of the FA zoom function is instructed, control is performed to zoom in to the zoom position at the start of FA zoom. I do.

また、被写体の検出情報に応じて自動でズーム位置を変更するオートズーム機能を有する撮像装置が知られている。特許文献2では、被写体の大きさを一定に維持するオートズーム機能を搭載するカメラの構成が開示されている。また、特許文献2では、画面内において画面の中心から被写体までの距離が遠い場合や被写体の大きさが大きい場合にズーム速度を遅くすることで、被写体をフレームアウトしにくくする方法が開示されている。   There is also known an imaging apparatus having an auto zoom function that automatically changes the zoom position according to subject detection information. Patent Document 2 discloses a configuration of a camera equipped with an auto-zoom function that keeps the size of a subject constant. Further, Patent Document 2 discloses a method that makes it difficult to frame out a subject by slowing the zoom speed when the distance from the center of the screen to the subject is far within the screen or when the size of the subject is large. Yes.

特開2012−60595号公報JP 2012-60595 A 特開2011−259285号公報JP2011-259285A

しかしながら、特許文献2で開示されている構成では、被写体が画面外に向かって移動したときに撮影者のフレーミング操作が遅れた場合や、カメラが三脚に固定されている場合には、被写体がフレームアウトしてしまう恐れがある。また、ズームが望遠状態のときには、手ぶれ等によってもフレームアウトする可能性が高くなる。そのような問題を解決するために、被写体の大きさを維持するためのオートズーム機能と、被写体を画面周辺で検出した場合にズームアウトさせてフレームアウトを防止するオートズーム機能とを並行して機能させる構成とすることが考えられる。このような構成においては、適切なタイミングで二つのズーム機能を切り替えないとオートズーム動作によって誤って被写体がフレームアウトしてしまったり、所望の大きさを維持できなくなったりする恐れがある。   However, in the configuration disclosed in Patent Document 2, when the photographer's framing operation is delayed when the subject moves toward the outside of the screen, or when the camera is fixed to a tripod, the subject is a frame. There is a risk of going out. Further, when the zoom is in the telephoto state, the possibility of being out of frame due to camera shake or the like increases. In order to solve such problems, an auto zoom function for maintaining the size of the subject and an auto zoom function for preventing the frame out by zooming out when the subject is detected around the screen are performed in parallel. It is conceivable to have a configuration that functions. In such a configuration, if the two zoom functions are not switched at an appropriate timing, the subject may accidentally frame out due to the auto zoom operation, or the desired size may not be maintained.

本発明の目的は、被写体のフレームアウトを防ぐためのズーム制御と、被写体の大きさを維持し続けるためのズーム制御を両立させることが可能な撮像装置を提供することである。   An object of the present invention is to provide an imaging apparatus capable of achieving both zoom control for preventing the subject from being out of frame and zoom control for maintaining the size of the subject.

上記目的を達成するために、第1の本発明は、ユーザがズーム動作を指示するための操作部と、画像から被写体を検出する被写体検出手段と、前記操作部の操作に応じてズーム動作を制御する制御手段とを有し、前記制御手段は、被写体の位置に基づいてズーム動作を制御する第1のモードと、被写体の大きさに基づいてズーム動作を制御する第2のモードを実行可能であって、前記制御手段は、前記第1のモードで広角側へのズーム動作を行ってから望遠側へのズーム動作を完了するまでの間、前記第2のモードの実行を制限することを特徴とする。 In order to achieve the above object, according to a first aspect of the present invention, an operation unit for a user to instruct a zoom operation, subject detection means for detecting a subject from an image, and a zoom operation according to an operation of the operation unit. and control means for controlling, the control means executes a first mode for controlling the zoom operation based on the position of the object, and a second mode for controlling the zoom operation based on the size of the subject Preferably, the control means limits the execution of the second mode from the time when the zoom operation to the wide angle side is performed to the time when the zoom operation to the telephoto side is completed in the first mode. It is characterized by.

第2の本発明は、ユーザがズーム動作を指示するための操作部を有する撮像装置の制御方法であって、画像から被写体を検出する被写体検出ステップと、前記操作部の操作に応じてズーム動作を制御する制御ステップとを有し、前記制御ステップにおいて、被写体の位置に基づいてズーム動作を制御する第1のモードと、被写体の大きさに基づいてズーム動作を制御する第2のモードを実行可能であって、前記第1のモードで広角側へのズーム動作を行ってから望遠側へのズーム動作を完了するまでの間、前記第2のモードの実行を制限することを特徴とする。 According to a second aspect of the present invention, there is provided a control method for an imaging apparatus having an operation unit for a user to instruct a zoom operation, a subject detection step for detecting a subject from an image, and a zoom operation according to an operation of the operation unit A first mode for controlling the zoom operation based on the position of the subject and a second mode for controlling the zoom operation based on the size of the subject in the control step. It is possible to limit the execution of the second mode from the time when the zoom operation to the wide angle side is performed in the first mode to the time when the zoom operation to the telephoto side is completed .

本発明によれば、被写体のフレームアウトを防ぐためのズーム制御と、被写体の大きさを維持し続けるためのズーム制御を両立させることが可能になる。   According to the present invention, it is possible to achieve both zoom control for preventing the subject from being out of frame and zoom control for maintaining the size of the subject.

本発明の実施形態に係るデジタルカメラの構成例を示すブロック図である。It is a block diagram which shows the structural example of the digital camera which concerns on embodiment of this invention. 焦点距離と、被写体距離ごとのフォーカスレンズ位置との関係を例示した図である。It is the figure which illustrated the relationship between a focal distance and a focus lens position for every subject distance. 被写体探索状態での画角及び撮影準備状態での画角を例示した図である。It is the figure which illustrated the angle of view in the subject search state and the angle of view in the shooting preparation state. 被写体(モノ)の画面外へのフレームアウトを防止するための処理を説明する図である。It is a figure explaining the process for preventing the frame out of the subject (thing) outside the screen. 被写体(人物)の画面外へのフレームアウトを防止するための処理を説明する図である。It is a figure explaining the process for preventing the frame out of the screen of a subject (person). 被写体(人物)の画面内でのサイズ変化を防止するための処理を説明する図である。It is a figure explaining the process for preventing the size change in the screen of a to-be-photographed object (person). FAズーム機能の処理の流れを説明するフローチャートである。It is a flowchart explaining the flow of a process of FA zoom function. 図7とともに、FAズーム機能の処理の流れを説明するフローチャートである。FIG. 8 is a flowchart illustrating the flow of processing of the FA zoom function together with FIG. 7. 被写体指定処理を説明するフローチャートである。It is a flowchart explaining a subject designation process. FAズームアウト動作及びFAズームイン動作を説明するフローチャートである。It is a flowchart explaining FA zoom-out operation | movement and FA zoom-in operation | movement. ズーム停止判定を説明するフローチャートである。It is a flowchart explaining zoom stop determination. 被写体(人物)の向きの変化による誤動作を防止するための処理を説明する図である。It is a figure explaining the process for preventing the malfunctioning by the change of the direction of a to-be-photographed object (person).

以下に、本発明の一実施形態を添付図面に基づいて詳細に説明する。なお、本実施形態によって実現される機能は、ユーザによるフレーミングを支援するフレーミング支援ズーム機能であり、便宜上、フレーミングアシストズーム機能(以下、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 the present embodiment is a framing support zoom function that supports framing by the user, and is referred to as a framing assist zoom function (hereinafter abbreviated as FA zoom function) for convenience.

図1は、本実施形態における撮像装置の一例としての、デジタルカメラ100の構成例を示すブロック図である。デジタルカメラ100は、FAズーム機能を実行可能に構成されている。   FIG. 1 is a block diagram illustrating a configuration example of a digital camera 100 as an example of an imaging apparatus according to the present embodiment. The digital camera 100 is configured to be able to execute the FA zoom function.

レンズ鏡筒101は、その内部にレンズ群を保持している。ズームレンズ102は、光軸方向に移動することで焦点距離を調節し、光学的に画角を変更(ズーム位置を移動)する。フォーカスレンズ103は、光軸方向に移動することでピントを調節する。防振レンズ104は、手ぶれに起因する像振れを補正する補正用レンズである。絞り及びシャッタ105は、光量を調節可能に構成されており、露出制御に用いられる。なお、本実施形態において、デジタルカメラ100は、レンズ鏡筒101とカメラ本体とが一体的に構成された撮像装置であるが、これに限定されるものではない。本実施形態は、カメラ本体と、カメラ本体に着脱可能な交換レンズとを備えて構成される撮像システムにも適用可能である。   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 (moves the zoom position). 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. The aperture and shutter 105 are configured to be able to adjust the amount of light, and are used for exposure control. In the present embodiment, the digital camera 100 is an imaging device in which the lens barrel 101 and the camera body are integrally configured, but is not limited to this. The present embodiment is also applicable to an imaging system that includes a camera body and an interchangeable lens that can be attached to and detached from the camera body.

レンズ鏡筒101を通過した光は、CCD(電荷結合素子)またはCMOS(相補型金属酸化膜半導体)等を備えて構成される撮像素子106により受光される。撮像素子106は、光電変換によって被写体像を電気信号に変換することで、撮像信号を生成する。撮像信号は、画像処理回路107に入力される。画像処理回路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 imaging device 106 that includes a CCD (charge coupled device) or a CMOS (complementary metal oxide semiconductor). The imaging element 106 generates an imaging signal by converting a subject image into an electrical signal by photoelectric conversion. The imaging signal is input to the image processing circuit 107. The image processing circuit 107 performs various processing such as pixel interpolation processing and color conversion processing on the input image pickup signal, and outputs image data (image data after various processing) to the image memory 108. The image memory 108 is a storage means that includes a DRAM (Dynamic Random Access Memory), an SRAM (Static Random Access Memory), and the like.

表示部109は、TFT型LCD(薄膜トランジスタ駆動型液晶表示器)等を備えて構成され、撮影画像(画像データ)を表示する。また表示部109は、撮影画像とともに、特定の情報(例えば、撮影情報や後述するFAズーム枠等)を表示する。このようなライブビュー等の情報表示により、撮影者が画角合わせを行うための電子ビューファインダ(EVF)機能を実現している。   The display unit 109 includes a TFT type LCD (Thin Film Transistor Driven Liquid Crystal Display) and the like, and displays a captured image (image data). The display unit 109 displays specific information (for example, shooting information and an FA zoom frame described later) along with the shot image. 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は、ジャイロセンサ等の角速度センサの情報に基づいてデジタルカメラ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. To do. Thereby, AE (automatic exposure) control is performed. The anti-vibration lens driving unit 111 calculates an amount of shake applied to the digital camera 100 based on information from an angular velocity sensor such as a gyro sensor, and drives the anti-vibration lens 104 so as to cancel (reduce) the shake amount.

フォーカスレンズ駆動部112は、フォーカスレンズ103を駆動する。本実施形態において、デジタルカメラ100は、コントラスト方式でAF(オートフォーカス)制御を行う。このためフォーカスレンズ駆動部112は、画像処理回路107の画像処理により得られた撮影光学系の焦点調節情報(コントラスト評価値)に基づいて、被写体にピントが合うようにフォーカスレンズ103を駆動する。ただし、本実施形態はこれに限定されるものではなく、位相差AF方式等のコントラスト方式以外のAF制御や、コントラスト方式と他の方式との組み合わせ等複数の方式を用いたAF制御を行うように構成してもよい。   The focus lens driving unit 112 drives the focus lens 103. In the present embodiment, the digital camera 100 performs AF (autofocus) control using a contrast method. For this reason, the focus lens driving unit 112 drives the focus lens 103 so that the subject is in focus based on the focus adjustment information (contrast evaluation value) of the photographing optical system obtained by the image processing of the image processing circuit 107. However, the present embodiment is not limited to this, and AF control using a plurality of methods such as AF control other than the contrast method such as the phase difference AF method or a combination of the contrast method and another method is performed. You may comprise.

ズームレンズ駆動部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 includes a zoom lever, a zoom button, or the like 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 is moved along the optical axis according to the calculation result.

撮影動作によって生成された画像データは、インターフェース部(以下I/F部と呼ぶ)115を介して記録部116に送られて記録される。画像データは、デジタルカメラ100に装着して使用されるメモリカード等の外部記録媒体またはデジタルカメラ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 on an external recording medium such as a memory card used by being attached to the digital camera 100, a nonvolatile memory 118 built in the digital camera 100, or both.

操作部117は、前記ズーム操作部材に加えて、撮影開始を指示するレリーズスイッチ、FAズーム機能の開始や終了を指示するFAズーム操作スイッチ等を含む。操作部117からの信号は、後述のシステム制御部114に送られる。メモリ118は、プログラムデータや画像データの他に、デジタルカメラ100の設定情報や、後述するFAズーム機能におけるズームイン位置等の情報を記憶する。ここで、ズームイン位置とは、FAズームの終了時にズームインする際の目標となるズーム戻り位置であり、その詳細については後述する。   In addition to the zoom operation member, the operation unit 117 includes a release switch for instructing start of photographing, an FA zoom operation switch for instructing start and end of an FA zoom function, and the like. A signal from the operation unit 117 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. Here, the zoom-in position is a zoom return position which is a target when zooming in at the end of the FA zoom, and details thereof will be described later.

システム制御部114は、CPU(中央演算処理装置)等の演算装置を備えて構成され、撮影者の操作に応じて各部に制御命令を送ることによりデジタルカメラ100全体を制御する。システム制御部114は、メモリ118に記憶されている各種の制御プログラム、例えば撮像素子106の制御やAE/AF制御、ズーム制御(FAズーム処理を含む)等を行うためのプログラムを実行する。   The system control unit 114 is configured to include an arithmetic device such as a CPU (Central Processing Unit), and controls the entire digital camera 100 by sending a control command to each unit in accordance with 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は、CZ制御部119、電子ズーム制御部120、FAズーム枠制御部121、FAズーム制御部122、および、被写体検出部123を備えて構成される。   Next, control related to the FA zoom function in the system control unit 114 will be described. As shown in FIG. 1, the system control unit 114 includes a CZ control unit 119, an electronic zoom control unit 120, an FA zoom frame control unit 121, an FA zoom control unit 122, and a subject detection unit 123. .

光学ズームによる画角変更時に合焦状態を維持するには、レンズ鏡筒101のようなリアフォーカスタイプのレンズ鏡筒の場合、ズームレンズ102の位置に応じてフォーカスレンズ103を適正なフォーカス位置へ移動させる必要がある。このような制御をコンピュータズーム(CZ)制御という。図2は、ズームレンズの焦点距離と被写体距離ごとのフォーカス位置との関係図である。図2では、ズームレンズの焦点距離とピントが合うフォーカス位置との関係を、被写体までの距離ごとに示すデータデーブルとしてグラフ化している。本実施形態において、このテーブルはフォーカスカムテーブルと称する。図2において、横軸はズーム位置に対応する焦点距離を示し、縦軸はフォーカス位置を示している。各グラフ線の横には、デジタルカメラ100から被写体までの距離(被写体距離)を示している。   In order to maintain the in-focus state when the angle of view is changed by the optical zoom, in the case of a rear focus type lens barrel such as 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. FIG. 2 is a relationship diagram between the focal length of the zoom lens and the focus position for each subject distance. In FIG. 2, the relationship between the focal length of the zoom lens and the in-focus focus position is graphed as a data table indicating each distance to the subject. In the present embodiment, this table is referred to as a focus cam table. In FIG. 2, the horizontal axis indicates the focal length corresponding to the zoom position, and the vertical axis indicates the focus position. Next to each graph line, the distance from the digital camera 100 to the subject (subject distance) is shown.

システム制御部114は、AF制御を行う際にフォーカスレンズ駆動部112を制御して、フォーカスレンズ103を所定の範囲において移動させることによりスキャン動作を行う。この動作中に得られるコントラスト評価値等を用いて既知の方法により、合焦点であるフォーカス位置が検出される。そのときのズーム位置およびフォーカス位置を用い、フォーカスカムテーブルを参照することにより、被写体距離を計測することができる。   The system control unit 114 controls the focus lens driving unit 112 when performing AF control, and performs a scanning operation by moving the focus lens 103 within a predetermined range. A focus position which is a focal point is detected by a known method using a contrast evaluation value or the like obtained during this operation. The subject distance can be measured by referring to the focus cam table using the zoom position and the focus position at that time.

デジタルカメラ100は、光学ズーム機能及び電子ズーム機能を有する。CZ制御部119及びズームレンズ駆動部113は、光学ズームを行う。CZ制御部119は、ズーム動作時に、所定の制御周期ごとにズームレンズ102のズーム位置を検出する。そしてCZ制御部119は、そのズーム位置に応じたAF制御にて計測された被写体距離でのフォーカスカムテーブルに追従するように、フォーカスレンズ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 perform optical zoom. The CZ control unit 119 detects the zoom position of the zoom lens 102 at every predetermined control period during the zoom operation. Then, the CZ control unit 119 drives the focus lens 103 so as to follow the focus cam table at the subject distance measured by the AF control according to the zoom position. This makes it possible to perform an optical zoom operation while maintaining the in-focus state.

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

被写体検出部123は、画像メモリ108に記憶された画像データから所望の被写体領域を検出する。本実施形態では、画像データに含まれる顔情報または色情報に基づいて被写体(顔または物体)を検出する被写体検出方法(顔検出処理、色検出処理)について説明する。   The subject detection unit 123 detects a desired subject region from the image data stored in the image memory 108. In the present embodiment, a subject detection method (face detection processing, color detection processing) for detecting a subject (face or object) based on face information or color information included in image data will be described.

顔検出処理は、画像データ中に存在する顔領域を公知のアルゴリズムにより検出する処理である。例えば、被写体検出部123は、画像データ上の正方形状の部分領域から特徴量を抽出し、その特徴量を予め用意された顔の特徴量と比較する。そして被写体検出部123は、両者の相関が所定の閾値を超える場合、その部分領域を顔領域であると判定する。この判定を、部分領域のサイズ、配置位置、配置角度の組み合わせを変更しながら繰り返すことにより、画像データ中に存在する種々の顔領域を検出することができる。また、目や鼻、髪などの特徴量を示す領域が顔領域のどの位置にあるかを判定することによって、顔の向きを検出することができる。   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 amount from a square partial region on the image data, and compares the feature amount with a facial feature amount prepared in advance. If the correlation between the two exceeds a predetermined threshold, the subject detection unit 123 determines that the partial area is a face area. By repeating this determination while changing the combination of the size, the arrangement position, and the arrangement angle of the partial areas, various face areas existing in the image data can be detected. Further, the orientation of the face can be detected by determining at which position in the face area the area indicating the feature amount such as eyes, nose, and hair is located.

色検出処理では、後述の被写体指定方法に従って指定された被写体領域の色情報を特徴色として記憶する。色検出処理は、検出対象の被写体が物体(人物以外の「モノ」)である場合に実行される。色情報としては、画像処理回路107からの出力信号であるRGBや輝度Y及び色差R−Y、B−Y等が用いられる。被写体検出時において、被写体検出部123は、画像データを複数の部分領域に分割し、部分領域ごとの輝度及び色差の平均値を算出する。また、被写体検出部123は、予め記憶された特徴色情報と被写体検出時の各領域の色情報を比較し、輝度及び色差の差分が所定量以下の部分領域を被写体領域の候補とする。この領域候補で隣り合う部分領域の塊を同一色領域として、同一色領域が所定のサイズ範囲となる領域を最終的な被写体領域とする。   In the color detection process, the color information of the subject area designated according to the subject designation method described later is stored as a characteristic color. The color detection process is executed when the subject to be detected is an object (a “thing” other than a person). As the color information, RGB, luminance Y, color differences RY, BY, and the like, which are output signals from the image processing circuit 107, are used. At the time of subject detection, the subject detection unit 123 divides the image data into a plurality of partial areas, and calculates an average value of luminance and color difference for each partial area. In addition, the subject detection unit 123 compares the characteristic color information stored in advance with the color information of each region at the time of subject detection, and sets a partial region in which the difference in luminance and color difference is equal to or less than a predetermined amount as a subject region candidate. A group of partial areas adjacent to each other in this area candidate is defined as the same color area, and an area where the same color area falls within a predetermined size range is defined as a final subject area.

被写体検出部123は、顔情報及び色情報とともに、CZ制御部119で計測された被写体距離情報及びズームレンズ102の焦点距離情報を用いることにより、画像データ上での被写体領域の大きさを推定することができる。   The subject detection unit 123 estimates the size of the subject region on the image data by using the subject distance information measured by the CZ control unit 119 and the focal length information of the zoom lens 102 together with the face information and the color information. be able to.

姿勢検出部124は、加速度センサの情報に基づいて、デジタルカメラ100の姿勢(正位置/グリップ上/グリップ下)を検出する。揺れ検出部125は、ジャイロセンサ等の情報に基づいて、デジタルカメラ100の振れ状態を検出する。揺れ検出部125は、ジャイロセンサ等に加わる振れ量が所定量以上である場合には手持ち状態であることを検出し、所定量未満である場合には三脚等に固定された状態であることを検出する。姿勢検出及び揺れ検出に用いる加速度センサ及びジャイロセンサは、防振レンズ駆動部111の制御情報として用いるセンサと兼用する構成でもよい。   The posture detection unit 124 detects the posture of the digital camera 100 (normal position / above grip / under the grip) based on information from the acceleration sensor. The shake detection unit 125 detects the shake state of the digital camera 100 based on information such as a gyro sensor. The shake detection unit 125 detects that the gyro sensor or the like is in a hand-held state when the shake amount applied to the gyro sensor or the like is equal to or greater than a predetermined amount, and indicates that the shake detection unit 125 is fixed to a tripod or the like when the shake amount is less than the predetermined amount. To detect. The acceleration sensor and the gyro sensor used for posture detection and shaking detection may be configured to be used also as a sensor used as control information for the anti-vibration lens driving unit 111.

次に、FAズーム機能の概要と、FAズーム枠制御部121及びFAズーム制御部122について説明する。本実施形態のデジタルカメラ100は、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 the present embodiment has two modes, a manual search mode and an automatic tracking mode, as modes for executing FA zoom. These two modes are modes in which the photographer operates the FA zoom operation switch when the subject is out of the frame to recapture the subject, or the camera automatically detects the subject and supports angle adjustment. It is different in whether it is. Hereinafter, an overview of the functions of each mode will be described.

FAズーム機能が非搭載のカメラでは、撮影者が望遠状態でフレーミングしてシャッタチャンスを待っている間に被写体が動いてフレームアウトした場合等において、撮影者は以下の操作が必要であった。すなわち、まず、ズーム操作部材の操作によりズームアウトを行ってから被写体を探索する。そして被写体を探索した後、再び所望の画角になるまでズーム操作を行って画角調整する。   In a camera not equipped with the FA zoom function, the photographer needs to perform the following operations when the subject moves out of the frame while framing in the telephoto state and waiting for a photo opportunity. That is, first, the subject is searched after zooming out by operating the zoom operation member. Then, after searching for the subject, the angle of view is adjusted by zooming until the desired angle of view is reached again.

一方、FAズーム機能の手動探索モードを有するデジタルカメラ100では、撮影前に画角合わせ等を行う状態(以下、撮影準備状態という)で被写体を見失ってしまった場合、撮影者はFAズーム操作スイッチを操作すればよい。このFAズーム操作スイッチは、FAズーム機能のために割り当てられたスイッチであり、ズーム操作部材とは別の部材である。FAズーム操作スイッチの押下により、FAズーム機能の開始をカメラに指示する。FAズーム制御部122は、FAズーム操作スイッチからのFAズーム開始指示により、電子ズーム及び光学ズームの各ズーム位置をメモリ118に記憶させる。またFAズーム制御部122は、後述の処理手順に従って、CZ制御部119または電子ズーム制御部120に対して広角方向にズームアウトの指示を行い、撮影準備状態よりも画角がズームアウトされた状態(以下、被写体探索状態という)にする。   On the other hand, in the digital camera 100 having the manual search mode of the FA zoom function, when the subject is lost in a state in which the angle of view is adjusted before photographing (hereinafter referred to as a photographing preparation state), the photographer switches the FA zoom operation switch. Can be operated. This FA zoom operation switch is a switch assigned for the FA zoom function, and is a member different from the zoom operation member. By pressing the FA zoom operation switch, the camera is instructed to start the FA zoom function. The FA zoom control unit 122 stores each zoom position of the electronic zoom and the optical zoom in the memory 118 in response to an FA zoom start instruction from the FA zoom operation switch. Further, the FA zoom control unit 122 instructs the CZ control unit 119 or the electronic zoom control unit 120 to zoom out in the wide-angle direction according to the processing procedure described below, and the angle of view is zoomed out from the shooting preparation state. (Hereinafter referred to as subject search state).

続いて、図3を参照して、撮影準備状態および被写体探索状態のそれぞれの画角について説明する。図3は、被写体探索状態での画角および撮影準備状態での画角の説明図である。図3(A)及び図3(D)はズームイン状態(撮影準備状態)での画角を示し、図3(B)及び図3(C)はズームアウト状態(被写体探索状態)での画角を示している。   Next, with reference to FIG. 3, each angle of view in the shooting preparation state and the subject search state will be described. FIG. 3 is an explanatory diagram of the angle of view in the subject search state and the angle of view in the shooting preparation state. 3A and 3D show the angle of view in the zoom-in state (shooting preparation state), and FIGS. 3B and 3C show the angle of view in the zoom-out state (subject search state). Is shown.

図3(A)に示されるように被写体がフレームアウトした(しそうな)場合、撮影者は被写体を探索するためにFAズーム操作スイッチを押下する。FAズーム操作スイッチの押下中、ズームアウト状態が保持されるとともに、ズームイン位置を示すFAズーム枠300が画像に重畳して表示部109に表示される。   When the subject is out of frame as shown in FIG. 3A, the photographer presses the FA zoom operation switch to search for the subject. While the FA zoom operation switch is pressed, the zoom-out state is maintained, and the FA zoom frame 300 indicating the zoom-in position is displayed on the display unit 109 so as to be superimposed on the image.

図3(B)に示されるようにズームアウト状態(被写体探索状態)で所望の被写体を発見した場合、図3(C)に示されるようにFAズーム枠300の内側に被写体が収まるように撮影者がフレーミングを行う。その後、撮影者がFAズーム操作スイッチを開放することにより、FAズーム終了がFAズーム制御部122に指示される。このとき、FAズーム制御部122は、記憶された撮影準備状態のズーム位置(ズームイン位置)まで電子ズームまたは光学ズームによるズームイン動作を行う。これにより、図3(D)に示されるような最適なフレーミング状態が得られる。   When a desired subject is found in the zoom-out state (subject search state) as shown in FIG. 3B, the subject is photographed so as to fit inside the FA zoom frame 300 as shown in FIG. Perform framing. Thereafter, the photographer releases the FA zoom operation switch to instruct the FA zoom control unit 122 to end the FA zoom. At this time, the FA zoom control unit 122 performs a zoom-in operation by electronic zoom or optical zoom up to the stored zoom position (zoom-in position) in the shooting preparation state. Thereby, the optimal framing state as shown in FIG. 3D is obtained.

FAズーム枠制御部121は、図3(B)及び図3(C)に示されるように、記憶された撮影準備状態での画角を示す大きさを算出し、表示部109のEVFの中心部にFAズーム枠300を表示させる。FAズーム枠300の大きさは、ズームアウトした時点でのズーム倍率を元に計算される。例えば、撮影準備状態から2倍の電子ズーム倍率および3倍の光学ズーム倍率でズームアウトして被写体探索状態となった場合、被写体探索状態でEVFに表示される画角に対して、(1/2)×(1/3)=1/6倍の大きさのFAズーム枠が表示される。このような処理により、撮影者は簡単な操作で、フレームアウトした被写体を再度フレームインさせながら所望の画角で撮影することができる。   As shown in FIGS. 3B and 3C, the FA zoom frame control unit 121 calculates the size indicating the angle of view in the stored shooting preparation state, and the EVF center of the display unit 109 is calculated. The FA zoom frame 300 is displayed on the screen. The size of the FA zoom frame 300 is calculated based on the zoom magnification at the time of zooming out. For example, when the subject search state is entered by zooming out from the shooting preparation state at 2 × electronic zoom magnification and 3 × optical zoom magnification, the angle of view displayed on the EVF in the subject search state is (1 / 2) A FA zoom frame with a size of (1/3) = 1/6 times is displayed. By such processing, the photographer can shoot at a desired angle of view while re-framing the subject out of the frame with a simple operation.

また、動いている被写体を撮影する場合など被写体がフレームアウトしやすいシーンを撮影する場合、カメラが自動的にズーム位置を変更する自動追尾モードにより、より簡単にフレームアウトを防止することができる。特に望遠状態での撮影においては、画角が狭いため、手ぶれ等に起因する微少なカメラの動きでも被写体がフレームアウトする場合がある。   Also, when shooting a scene where the subject is likely to be out of frame, such as when shooting a moving subject, frame out can be more easily prevented by the automatic tracking mode in which the camera automatically changes the zoom position. In particular, when shooting in the telephoto state, since the angle of view is narrow, there is a case where the subject is out of frame even by a slight camera movement caused by camera shake or the like.

本実施形態のデジタルカメラ100は、FAズーム機能の自動追尾モードを有する。このため、自動追尾モードを設定した後、タッチパネル等で被写体を指定する操作を実施することにより、撮影したい被写体を指定しておけばよい。被写体の指定方法としては、タッチパネル操作以外でも、特定のボタンを押下したときに中央付近にいる被写体を指定する方法や、カメラが検出した被写体の中から自動的に主被写体を選択する方法などが考えられる。   The digital camera 100 of the present embodiment has an automatic tracking mode with an FA zoom function. For this reason, after setting the automatic tracking mode, the subject to be photographed may be designated by performing an operation of designating the subject on the touch panel or the like. Other than touch panel operation, the subject can be specified by 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. Conceivable.

被写体検出部123は、画像メモリ108から指定された被写体領域の画像データ上での位置や大きさを算出する。これをライブビューとして表示する毎サンプリングの画像データに対して連続的に行なうことにより、被写体の動きを追尾することが可能となる。追尾している被写体を後述するズームアウト領域で検出した場合や所定の大きさよりも大きくなった場合、CZ制御部119または電子ズーム制御部120に対してFAズーム制御部122が広角方向にズームアウトの指示を行う。被写体をFAズーム枠300のズームイン領域内に検出し、かつ、所定の大きさの範囲内に収まった場合、FAズーム枠300が示す望遠側のズーム位置までズームイン動作を行う。このような処理により、撮影者はズーム操作を気にせず被写体を画面に収めるようにカメラを動かすだけでよい。仮に、被写体がフレームアウトしそうになった場合でも、自動的にズーム位置が変更されるため、より簡単に画角合わせを行うことが可能となる。本実施形態は、このような自動追尾モードにおけるズームアウト動作及びズームイン動作を最適なタイミングで実施することにより、撮影者が容易にフレーミングすることが可能となる。   The subject detection unit 123 calculates the position and size of the subject region designated from the image memory 108 on the image data. It is possible to track the movement of the subject by continuously performing this for each sampled image data displayed as a live view. When the subject being tracked is detected in a zoom-out area to be described later or becomes larger than a predetermined size, the FA zoom control unit 122 zooms out in the wide-angle direction with respect to the CZ control unit 119 or the electronic zoom control unit 120. The instructions are given. When the subject is detected within the zoom-in area of the FA zoom frame 300 and falls within a predetermined size range, the zoom-in operation is performed to the telephoto zoom position indicated by the FA zoom frame 300. By such processing, the photographer only has to move the camera so that the subject is placed on the screen without worrying about the zoom operation. Even if the subject is about to be out of frame, the zoom position is automatically changed, so that the angle of view can be adjusted more easily. In the present embodiment, the photographer can easily perform framing by performing the zoom-out operation and the zoom-in operation in the automatic tracking mode at the optimal timing.

次に、図4乃至図6を参照して、ズームアウト動作やズームイン動作の開始条件について説明する。図4は、被写体(モノ)の画面外へのフレームアウトを防止する処理の説明図である。図5は、被写体(人物)の画面外へのフレームアウトを防止する処理の説明図である。   Next, the start conditions for the zoom-out operation and the zoom-in operation will be described with reference to FIGS. FIG. 4 is an explanatory diagram of processing for preventing the subject (thing) from being out of the frame. FIG. 5 is an explanatory diagram of processing for preventing a subject (person) from being out of the frame.

図4および図5において、400は被写体(人物以外のモノ)を追尾するモノ追尾枠、500は被写体(人物の顔)を追尾する顔追尾枠である。本実施形態において、被写体が人物とモノのいずれにも適用可能な場合、モノ追尾枠400および顔追尾枠500をまとめて被写体追尾枠ということもある。被写体追尾枠は、撮影者が指定した被写体が分かるように、表示部109のEVF上に被写体を囲むように表示される。被写体追尾枠の画面上での位置及び大きさは、顔情報及び色情報に基づいて被写体検出部123により算出され、フレームレート周期で更新される。   4 and 5, 400 is a mono tracking frame for tracking a subject (thing other than a person), and 500 is a face tracking frame for tracking a subject (person's face). In the present embodiment, when the subject is applicable to both a person and a thing, the thing tracking frame 400 and the face tracking frame 500 may be collectively referred to as a subject tracking frame. The subject tracking frame is displayed on the EVF of the display unit 109 so as to surround the subject so that the subject designated by the photographer can be seen. The position and size of the subject tracking frame on the screen are calculated by the subject detection unit 123 based on the face information and the color information, and are updated at a frame rate cycle.

図4は、被写体(飛行機)の画面外へのフレームアウトを防止する処理の説明図であり、図4(A)はEVFで表示される画角全体(画面全体)に対して所定の比率よりも外側の領域をズームアウト領域ZO(第1の領域外)として示している。例えば、画面の中心点を0%、画面全体を100%とし、画面全体に対して80%となる位置をズームアウト領域ZOの境界として設定する場合、画面全体における80〜100%の領域がズームアウト領域ZOとなる。画像内のズームアウト領域ZOにモノ追尾枠400aの一部が進入すると、ズームアウト動作を開始する。また、ズーム移動前のズーム位置(第2のズーム位置、ズームイン画角に相当)をメモリ118に記憶する。ズームアウト動作中のズーム倍率やズーム速度は、被写体のサイズや移動速度に応じて予め設定される。また、ズーム倍率やズーム速度を被写体のサイズや移動速度に応じて適宜算出してもよい。ズームアウト動作は、その倍率やズーム速度に従って実行される。これにより、被写体のフレームアウトを効果的に防止することができる。   FIG. 4 is an explanatory diagram of a process for preventing the subject (airplane) from being out of the screen. FIG. 4A shows a predetermined ratio with respect to the entire angle of view (the entire screen) displayed in the EVF. The outer region is also shown as a zoom-out region ZO (outside the first region). For example, when the center point of the screen is set to 0%, the entire screen is set to 100%, and a position that is 80% of the entire screen is set as the boundary of the zoom-out area ZO, the area of 80 to 100% in the entire screen is zoomed. It becomes the out area ZO. When a part of the mono tracking frame 400a enters the zoom-out area ZO in the image, the zoom-out operation is started. Also, the zoom position before zoom movement (second zoom position, corresponding to the zoom-in angle of view) is stored in the memory 118. The zoom magnification and zoom speed during the zoom-out operation are preset according to the size and moving speed of the subject. Further, the zoom magnification and the zoom speed may be appropriately calculated according to the size and moving speed of the subject. The zoom-out operation is executed according to the magnification and zoom speed. Thereby, it is possible to effectively prevent the subject from being out of frame.

図4(B)は、図4(A)の画角から所定のズーム駆動量分ズームアウトした画角(第1のズーム位置)を示している。図4(B)において、被写体探索状態においてFAズーム枠300で示されるズームイン画角に対して所定の比率よりも内側の領域をズームイン領域ZI(第2の領域)として示している。例えば、画面の中心点を0%、FAズーム枠300(ズームイン画角)を100%とし、ズームイン画角に対して70%となる位置をズームイン領域ZIの境界として設定する場合、FAズーム枠300の全体における0〜70%の領域がズームイン領域ZIとなる。このとき、ズームアウト倍率が例えば1/2倍である場合、FAズーム枠300は画面全体に対して50%の大きさとなる。したがって、ズームイン領域ZIは、画面全体に対して0〜35%(=70%×(1/2))の領域であるとも言える。撮影者が、ズームイン領域ZIの内部にモノ追尾枠400bが収まるようにカメラの向きを変更すると、ズームイン動作が開始する。   FIG. 4B shows an angle of view (first zoom position) obtained by zooming out from the angle of view of FIG. 4A by a predetermined zoom drive amount. In FIG. 4B, an area inside a predetermined ratio with respect to the zoom-in angle of view indicated by the FA zoom frame 300 in the subject search state is shown as a zoom-in area ZI (second area). For example, when the center point of the screen is set to 0%, the FA zoom frame 300 (zoom-in angle of view) is set to 100%, and a position that is 70% of the zoom-in angle of view is set as the boundary of the zoom-in area ZI, the FA zoom frame 300 A zoom-in area ZI is an area of 0 to 70% in the whole. At this time, when the zoom-out magnification is 1/2, for example, the FA zoom frame 300 is 50% of the entire screen. Therefore, it can be said that the zoom-in area ZI is an area of 0 to 35% (= 70% × (1/2)) with respect to the entire screen. When the photographer changes the orientation of the camera so that the mono tracking frame 400b fits inside the zoom-in area ZI, the zoom-in operation starts.

図5は、被写体(人物)の画面外へのフレームアウトを防止する処理の説明図である。被写体が人物である場合にも、顔追尾枠500の一部がズームアウト領域ZOに進入するとズームアウト動作を開始し、顔追尾枠500がズームイン領域ZIの内部に収まるとズームイン動作を行う。被写体が人物である場合とモノである場合との違いは、被写体が人物である場合には移動する方向がある程度予測できるため、予測される移動方向の領域にのみズームアウト領域ZO及びズームイン領域ZIを設定することである。   FIG. 5 is an explanatory diagram of processing for preventing a subject (person) from being out of the frame. Even when the subject is a person, the zoom-out operation starts when a part of the face tracking frame 500 enters the zoom-out area ZO, and the zoom-in operation is performed when the face tracking frame 500 falls within the zoom-in area ZI. The difference between the case where the subject is a person and the case where the subject is a person is that if the subject is a person, the moving direction can be predicted to some extent, so the zoom-out region ZO and the zoom-in region ZI only in the region of the predicted moving direction. Is to set.

また、手持ちで撮影している場合には、手ぶれ等の影響によって被写体がフレームアウトしてしまう恐れがある。しかしながら、手ぶれによってフレームアウトした場合には、撮影者が被写体をフレームインさせようとする動作によってフレームインし直すことが可能である。ここで、画面の上部にズームアウト領域ZOを設定した場合、人物を中央付近に配置して撮影するときにもズームアウト領域ZOに顔追尾枠500が進入してしまい、意図せずズームアウトする場合がある。そこで、被写体が人物であり、かつ手持ち状態である場合には、撮影者のフレーミング操作を考慮して、画面の上部にはズームアウト領域ZOを設定しない。   In addition, when shooting with a hand, the subject may be out of frame due to the influence of camera shake or the like. However, if the camera is out of the frame due to camera shake, the photographer can re-frame in by an operation to try to frame the subject. Here, when the zoom-out area ZO is set at the top of the screen, the face tracking frame 500 enters the zoom-out area ZO even when a person is placed near the center for shooting, and the zoom-out area ZO is unintentionally zoomed out. There is a case. Therefore, when the subject is a person and is in a handheld state, the zoom-out area ZO is not set at the top of the screen in consideration of the framing operation of the photographer.

このように、本実施形態では、被写体検出部123で顔が検出された場合、姿勢検出部124により検出されたカメラの姿勢や揺れ検出部125による検出結果に応じて、ズームアウト領域ZO及びズームイン領域ZIの領域を動的に変更する。ここでの揺れ検出部125による検出結果とは、手持ち状態か否かの検出である。   As described above, in the present embodiment, when the face is detected by the subject detection unit 123, the zoom-out area ZO and the zoom-in are determined in accordance with the camera posture detected by the posture detection unit 124 and the detection result by the shake detection unit 125. The area of the area ZI is dynamically changed. Here, the detection result by the shaking detection unit 125 is detection of whether or not the hand is held.

図5(A)は、手持ちでカメラを正位置に構えたときに設定されるズームアウト領域ZO及びズームイン領域ZIを示している。このような撮影シーンで、被写体が水平方向に移動してフレームアウトする場合、画面内での被写体の位置は正位置の画面に対して水平方向(長手方向)に移動する。そこで、図5(A)に示すように、正位置の画面に対して垂直方向(短手方向)の縦帯状にズームアウト領域ZO及びズームイン領域ZIを配置する。そして、顔追尾枠500aがズームアウト領域ZO内に進入すると、ズームアウト開始を判定し、所定ズーム倍率分のズームアウトを行う。また、顔追尾枠500bがズームイン領域ZI内に包含されると、ズームイン開始を判定し、ズーム戻り位置501まで所定ズーム倍率分のズームインを行う。このようにズームアウト領域ZO及びズームイン領域ZIを設定することで、フレームアウトを効果的に防止することができる。   FIG. 5A shows a zoom-out area ZO and a zoom-in area ZI that are set when the camera is held in a normal position by hand. In such a shooting scene, when the subject moves in the horizontal direction and goes out of the frame, the position of the subject in the screen moves in the horizontal direction (longitudinal direction) with respect to the screen at the normal position. Accordingly, as shown in FIG. 5A, the zoom-out area ZO and the zoom-in area ZI are arranged in a vertical band (vertical direction) with respect to the screen at the normal position. When the face tracking frame 500a enters the zoom-out area ZO, it is determined that zoom-out has started, and zoom-out is performed by a predetermined zoom magnification. When the face tracking frame 500b is included in the zoom-in area ZI, the zoom-in start is determined, and zoom-in is performed up to a zoom return position 501 by a predetermined zoom magnification. By setting the zoom-out area ZO and the zoom-in area ZI in this way, frame-out can be effectively prevented.

図5(B)は、同様の撮影シーンに置いて、グリップ下もしくはグリップ上の縦位置状態にカメラを構えたときに設定されるズームアウト領域ZO及びズームイン領域ZIを示している。この場合、縦位置の画面に対して垂直方向(長手方向)の縦帯状にズームアウト領域ZO及びズームイン領域ZIを配置する。そして、顔追尾枠500cがズームアウト領域ZO内に進入すると、ズームアウト開始を判定し、所定ズーム倍率分のズームアウトを行う。また、顔追尾枠500dがズームイン領域ZI内に包含されると、ズームイン開始を判定し、ズーム戻り位置502まで所定ズーム倍率分のズームインを行う。このようにズームアウト領域ZO及びズームイン領域ZIを設定することで、水平方向への被写体の動きを検出し、フレームアウトを効果的に防止することができる。   FIG. 5B shows a zoom-out area ZO and a zoom-in area ZI that are set when the camera is held under the grip or in the vertical position on the grip in the same shooting scene. In this case, the zoom-out area ZO and the zoom-in area ZI are arranged in a vertical band shape in the vertical direction (longitudinal direction) with respect to the screen at the vertical position. Then, when the face tracking frame 500c enters the zoom-out area ZO, it is determined that zoom-out has started, and zoom-out is performed by a predetermined zoom magnification. When the face tracking frame 500d is included in the zoom-in area ZI, the zoom-in start is determined, and zoom-in is performed up to a zoom return position 502 by a predetermined zoom magnification. By setting the zoom-out area ZO and the zoom-in area ZI in this way, it is possible to detect the movement of the subject in the horizontal direction and effectively prevent frame-out.

図5(C)は、揺れ検出部125での検出状態が固定状態のときに設定されるズームアウト領域ZO及びズームイン領域ZIを示している。三脚等によって固定されているときには、手ぶれによるフレームアウトの恐れがない。さらに、画面の中央付近に被写体がフレームインしていないときにズームインすると、その動作によってフレームアウトしてしまう恐れがある。したがって、画面周辺部全体にズームアウト領域ZOを、ズームイン画角よりも内側にズームイン領域ZIを設定する。そして、顔追尾枠500eがズームアウト領域ZO内に進入すると、ズームアウト開始を判定し、所定ズーム倍率分のズームアウトを行う。また、顔追尾枠500fがズームイン領域ZI内に包含されると、ズームイン開始を判定し、ズーム戻り位置503まで所定ズーム倍率分のズームインを行う。   FIG. 5C shows a zoom-out area ZO and a zoom-in area ZI that are set when the detection state in the shake detection unit 125 is a fixed state. When fixed with a tripod or the like, there is no risk of frame-out due to camera shake. Furthermore, if the subject zooms in when the subject is not in the vicinity of the center of the screen, there is a risk that the operation will cause the subject to be out of the frame. Therefore, the zoom-out area ZO is set on the entire periphery of the screen, and the zoom-in area ZI is set inside the zoom-in angle of view. When the face tracking frame 500e enters the zoom-out area ZO, it is determined that the zoom-out has started, and zoom-out is performed by a predetermined zoom magnification. When the face tracking frame 500f is included in the zoom-in area ZI, the zoom-in start is determined and zoom-in is performed up to a zoom return position 503 by a predetermined zoom magnification.

このように、カメラの姿勢や撮影状態(手持ち状態/固定状態)の変化に応じてズームアウト領域ZO及びズームイン領域ZIの領域を動的に変更することにより、手ぶれ等による誤作動を防止しながら、被写体のフレームアウトを効果的に防ぐことができる。なお、カメラの姿勢と撮影状態(手持ち状態/固定状態)のいずれか一方に応じてズームアウト領域ZO又はズームイン領域ZIの領域を変更するようにしてもよい。また、ズームアウト領域ZOとズームイン領域ZIの領域のいずれか一方のみを変更するようにしてもよい。   As described above, the zoom-out area ZO and the zoom-in area ZI are dynamically changed according to changes in the posture of the camera and the photographing state (hand-held state / fixed state), thereby preventing malfunction due to camera shake or the like. The frame out of the subject can be effectively prevented. Note that the zoom-out area ZO or the zoom-in area ZI may be changed in accordance with either the camera posture or the shooting state (handheld state / fixed state). Further, only one of the zoom-out area ZO and the zoom-in area ZI may be changed.

図6(A)〜(C)は、被写体である人物がカメラに近づいてきた場合に、カメラが自動的に被写体が画面に占める割合を所定の比率内に収めるようにズーム動作させる例を示している。顔追尾枠500は、被写体である人物の特徴領域として顔領域を囲むように表示している。したがって、ここでは顔追尾枠500の大きさ=被写体サイズとして説明する。   FIGS. 6A to 6C show an example in which, when a person who is a subject approaches the camera, the camera automatically performs a zoom operation so that the ratio of the subject to the screen falls within a predetermined ratio. ing. The face tracking frame 500 is displayed so as to surround the face region as a feature region of the person who is the subject. Therefore, here, the description will be made assuming that the size of the face tracking frame 500 = the subject size.

図6(A)は、後述する被写体指定方法に従って被写体を指定されたときの画角を示している。被写体指定時の顔追尾枠600aの大きさは、基準の被写体サイズ(基準サイズ)としてメモリ118に記憶される。   FIG. 6A shows the angle of view when a subject is designated according to a subject designation method described later. The size of the face tracking frame 600a at the time of subject designation is stored in the memory 118 as a reference subject size (reference size).

図6(B)は、図6(A)の状態からズーム位置を変更しない状態で、被写体がカメラに向かって近づいてきたときの画角を示している。例えば、基準の被写体サイズである顔追尾枠600aの大きさに対して150%となる大きさをズームアウト動作の開始サイズとする。被写体追尾枠(顔追尾枠)の関係が、顔追尾枠600b>顔追尾枠600a×150%となったとき(基準サイズに対して所定の変化量を超えて変化)、FAズーム制御部122は、ズームアウト動作の開始を判定する。   FIG. 6B shows the angle of view when the subject approaches the camera without changing the zoom position from the state of FIG. For example, a size that is 150% of the size of the face tracking frame 600a that is the reference subject size is set as the start size of the zoom-out operation. When the relationship between the subject tracking frame (face tracking frame) is face tracking frame 600b> face tracking frame 600a × 150% (changes exceeding a predetermined change amount with respect to the reference size), the FA zoom control unit 122 The start of the zoom-out operation is determined.

図6(C)は、図6(B)の画角601から所定ズーム倍率分ズームアウトした画角と、顔追尾枠600cを示している。ここでは、ズームアウト動作を開始するときの顔追尾枠サイズの基準被写体サイズからの変化率(150%)を考慮して、所定ズーム倍率を1/1.5倍としている。この後、さらに被写体が近づいてくる場合、さらに広角側へズームアウトを行うことにより、被写体を所定の比率内に収め続けることができる。そのため、撮影者は、レリーズスイッチの操作だけに集中することが可能である。   FIG. 6C shows an angle of view zoomed out from the angle of view 601 of FIG. 6B by a predetermined zoom magnification, and a face tracking frame 600c. Here, the predetermined zoom magnification is set to 1 / 1.5 in consideration of the rate of change (150%) from the reference subject size of the face tracking frame size when starting the zoom-out operation. Thereafter, when the subject approaches further, the subject can be kept within a predetermined ratio by zooming out further to the wide angle side. Therefore, the photographer can concentrate only on the operation of the release switch.

一方、図6(D)〜(F)は、被写体である人物がカメラから遠ざかる場合に、カメラが自動的に被写体が画面に占める割合を所定の比率内に収めるようにズーム動作させる例を示している。   On the other hand, FIGS. 6D to 6F show examples in which when the person who is the subject moves away from the camera, the camera automatically performs the zoom operation so that the ratio of the subject to the screen falls within a predetermined ratio. ing.

図6(D)は、後述する被写体指定方法に従って被写体を指定されたときの画角を示している。被写体指定時の顔追尾枠600dの大きさは、基準の被写体サイズとしてメモリ118に記憶される。   FIG. 6D shows an angle of view when a subject is designated according to a subject designation method described later. The size of the face tracking frame 600d at the time of subject designation is stored in the memory 118 as a reference subject size.

図6(E)は、図6(D)の状態からズーム位置を変更しない状態で、被写体がカメラから遠ざかったときの画角を示している。例えば、基準の被写体サイズである顔追尾枠600dの大きさに対して50%となる大きさをズームイン動作の開始サイズとする。被写体追尾枠(顔追尾枠)の関係が、顔追尾枠600e<顔追尾枠600d×50%となり(基準サイズに対して所定の変化量を超えて変化)、かつ、顔追尾枠600eがズームイン領域ZI内に包含されると判定したとき、FAズーム制御部122はズームイン動作の開始を判定する。ここで、図6(E)の画角に対して所定のズーム倍率分ズームインした画角602より内側に、ズームイン領域ZIが設定される。   FIG. 6E shows the angle of view when the subject has moved away from the camera without changing the zoom position from the state of FIG. For example, a size that is 50% of the size of the face tracking frame 600d, which is the reference subject size, is set as the start size of the zoom-in operation. The relationship between the subject tracking frame (face tracking frame) is as follows: face tracking frame 600e <face tracking frame 600d × 50% (changes exceeding a predetermined change amount with respect to the reference size), and the face tracking frame 600e is a zoom-in area. When it is determined that it is included in the ZI, the FA zoom control unit 122 determines the start of the zoom-in operation. Here, the zoom-in area ZI is set inside the angle of view 602 zoomed in by a predetermined zoom magnification with respect to the angle of view of FIG.

図6(F)は、図6(E)の画角から所定ズーム倍率分ズームインした画角(画角602に対応)と、顔追尾枠600fを示している。ここでは、ズームイン動作を開始するときの顔追尾枠サイズの基準被写体サイズからの変化率(50%)を考慮して、所定ズーム倍率を1/0.5倍としている。   FIG. 6F shows an angle of view (corresponding to the angle of view 602) zoomed in by a predetermined zoom magnification from the angle of view of FIG. 6E, and a face tracking frame 600f. Here, the predetermined zoom magnification is set to 1 / 0.5 in consideration of the rate of change (50%) from the reference subject size of the face tracking frame size when starting the zoom-in operation.

図12(A)〜(C)は、被写体である人物が顔の向きを変えた場合に、被写体が画面に占める割合が変わってしまうことや、被写体が移動していないときにズームが誤動作してしまうことを防止する例を示している。   FIGS. 12A to 12C show that when the person who is the subject changes the orientation of the face, the ratio of the subject to the screen changes, or the zoom malfunctions when the subject is not moving. An example of preventing this is shown.

図12(A)は、被写体がカメラに対して正面向きで、後述する被写体指定方法に従って被写体を指定されたときの画角と、顔追尾枠1200aを示している。被写体指定時の顔追尾枠1200aの大きさは、基準の被写体サイズとしてメモリ118に記憶される。   FIG. 12A shows an angle of view and a face tracking frame 1200a when the subject is facing the front of the camera and the subject is designated according to the subject designation method described later. The size of the face tracking frame 1200a at the time of subject designation is stored in the memory 118 as a reference subject size.

図12(B)は、図12(A)の状態から被写体の顔が斜め向きとなったときの顔追尾枠1200bを示している。被写体検出部123では、前述のアルゴリズムに基づいて顔の向きを検出することができる。また、被写体検出部123で検出される顔追尾枠の大きさは、正面向きの顔追尾枠1200aに対して斜め向きとなった顔追尾枠1200bの方が小さくなる。例えば、顔追尾枠1200aの向きを0°とすると、顔追尾枠1200bでは45°という検出結果が得られるとする。さらに、顔追尾枠1200aと顔追尾枠1200bとのサイズの関係は、顔追尾枠1200a=顔追尾枠1200b×120%という関係が得られるとする。このとき、図12(B)の状態から被写体がカメラに近づく、もしくは、カメラから遠ざかる場合に、基準サイズである顔追尾枠1200aの大きさを保つようにズーム動作を行うと、顔の向きが変わったことによる顔追尾枠の大きさの変化量(この場合、120%)だけズームインしすぎた大きさとなってしまう。   FIG. 12B shows the face tracking frame 1200b when the face of the subject is inclined from the state of FIG. The subject detection unit 123 can detect the face orientation based on the algorithm described above. In addition, the size of the face tracking frame detected by the subject detection unit 123 is smaller in the face tracking frame 1200b that is inclined with respect to the face tracking frame 1200a in the front direction. For example, when the orientation of the face tracking frame 1200a is 0 °, a detection result of 45 ° is obtained in the face tracking frame 1200b. Furthermore, it is assumed that the size relationship between the face tracking frame 1200a and the face tracking frame 1200b is obtained as follows: face tracking frame 1200a = face tracking frame 1200b × 120%. At this time, when the subject moves closer to the camera from the state of FIG. 12B or moves away from the camera, if the zoom operation is performed so as to maintain the size of the face tracking frame 1200a which is the reference size, the face orientation is changed. The size of the face tracking frame that has changed due to the amount of change (120% in this case) is too large.

そこで、本実施形態では、検出された顔の向きに応じて、顔追尾枠の大きさに所定の倍率をかけて顔追尾枠の大きさを補正する。例えば図12(B)の例では、顔の向きが斜めに45°変化したので、顔追尾枠1200bのサイズに1.2をかけることで、顔追尾枠のサイズを補正することができる。   Therefore, in the present embodiment, the size of the face tracking frame is corrected by multiplying the size of the face tracking frame by a predetermined magnification in accordance with the detected face orientation. For example, in the example of FIG. 12B, the face orientation has changed by 45 ° diagonally, so the size of the face tracking frame 1200b can be corrected by multiplying the size of the face tracking frame 1200b by 1.2.

このように顔追尾枠のサイズを補正することで、基準サイズを記憶したときと顔の向きが違っていても被写体が画面に占める割合が同じ大きさとなるようにする。なお、顔追尾枠の表示は変えずにズーム動作開始の判定に用いる被写体の大きさのみを補正する構成や、顔の向きに応じてメモリ118に記憶した基準の被写体サイズを補正する構成としてもよい。   By correcting the size of the face tracking frame in this way, the ratio of the subject to the screen is the same even if the face orientation is different from when the reference size is stored. It should be noted that the display of the face tracking frame is not changed, and only the size of the subject used for the determination of the zoom operation start is corrected, or the reference subject size stored in the memory 118 is corrected according to the face orientation. Good.

図12(C)は、図12(B)の状態から被写体の顔がさらに横向きとなったときの顔追尾枠1200cを示している。被写体検出部123で検出される顔追尾枠の大きさは、斜め向きの顔追尾枠1200bよりも横向きとなった顔追尾枠1200cの方がさらに小さくなる。例えば、被写体検出部123によって、顔追尾枠1200cの顔の向きが90°という検出結果が得られるとする。さらに、顔追尾枠1200aと顔追尾枠1200cとのサイズの関係は、顔追尾枠1200a=顔追尾枠1200c×150%という関係が得られるとする。ここで、基準サイズである顔追尾枠1200aの大きさに対して67%(1/1.5倍)となる大きさをズームイン動作の開始サイズとする。すると、顔追尾枠の大きさの補正を行わない場合、図12(C)のように顔の向きが変わって顔追尾枠1200cの状態となっただけでズームイン動作が誤動作してしまう。また、横向きの顔では顔領域の特徴量が正面向きの顔と違うことなどによって、被写体検出部123で検出する被写体サイズのばらつきが大きい。したがって、正面向きの顔追尾枠の大きさに対する横向きの顔追尾枠の大きさの補正精度が低くなってしまう。   FIG. 12C shows a face tracking frame 1200c when the face of the subject is further turned sideways from the state of FIG. The size of the face tracking frame detected by the subject detection unit 123 is smaller in the face tracking frame 1200c that is in the horizontal direction than in the face tracking frame 1200b in the oblique direction. For example, it is assumed that the subject detection unit 123 obtains a detection result that the face direction of the face tracking frame 1200c is 90 °. Furthermore, it is assumed that the relationship between the size of the face tracking frame 1200a and the face tracking frame 1200c is obtained as follows: face tracking frame 1200a = face tracking frame 1200c × 150%. Here, the size that is 67% (1 / 1.5 times) the size of the face tracking frame 1200a, which is the reference size, is set as the start size of the zoom-in operation. Then, when the size of the face tracking frame is not corrected, the zoom-in operation malfunctions just by changing the face orientation to the state of the face tracking frame 1200c as shown in FIG. In addition, the size of the subject detected by the subject detection unit 123 is large due to the feature amount of the face region being different from that of the face facing the front side. Therefore, the correction accuracy of the size of the face tracking frame in the lateral direction with respect to the size of the face tracking frame in the front direction is lowered.

そこで、本実施形態では、検出された顔の向きが所定角度よりも大きい場合にはサイズ変化防止のズーム動作を禁止する。これにより、検出精度の低い向きの顔が検出された場合に、被写体が移動していないにもかかわらずズームが誤動作することを防止することができる。   Therefore, in this embodiment, when the detected face orientation is larger than a predetermined angle, the zoom operation for preventing the size change is prohibited. Accordingly, when a face with a low detection accuracy is detected, it is possible to prevent the zoom from malfunctioning even though the subject has not moved.

図4及び図5では、被写体がモノまたは人物である場合にフレームアウトを防止する処理について説明した。また、図6では、被写体が人物である場合に被写体の大きさを所定の比率に収める処理について説明した。なお、追尾する被写体がモノの場合においても、被写体が人物の場合と同様に図6で示した被写体サイズ保持制御のためのズーム動作開始判定を行ってもよい。さらに、図12では、被写体が人物である場合に顔の向きが変わったときの誤動作を防止する処理について説明した。   In FIG. 4 and FIG. 5, the processing for preventing frame-out when the subject is a thing or a person has been described. Further, in FIG. 6, the processing for keeping the size of the subject within a predetermined ratio when the subject is a person has been described. Even when the subject to be tracked is a thing, the zoom operation start determination for the subject size holding control shown in FIG. 6 may be performed as in the case where the subject is a person. Furthermore, FIG. 12 illustrates the processing for preventing a malfunction when the orientation of the face changes when the subject is a person.

次に図7乃至図11を用いて、FAズーム機能の処理について説明する。図7及び図8は、FAズーム機能の全体の処理を示すフローチャートである。図7及び図8のFAズーム機能は、特に記載がない限りFAズーム制御部122の指令に基づいて行われるものとする。   Next, processing of the FA zoom function will be described with reference to FIGS. 7 and 8 are flowcharts showing the overall processing of the FA zoom function. The FA zoom function in FIGS. 7 and 8 is performed based on a command from the FA zoom control unit 122 unless otherwise specified.

まずステップS100において、FAズーム制御部122は、操作部117のFAズーム操作スイッチが押下されたか否かを判定する。FAズーム操作スイッチが押下されると、ステップS101に進み、FAズーム制御部122は、FAズーム操作スイッチの押下時間を測定する。   First, in step S100, the FA zoom control unit 122 determines whether or not the FA zoom operation switch of the operation unit 117 is pressed. When the FA zoom operation switch is pressed, the process proceeds to step S101, and the FA zoom control unit 122 measures the pressing time of the FA zoom operation switch.

ステップS101において、FAズーム制御部122は、FAズーム操作スイッチの押下された後、FAズーム操作スイッチが所定の時間内に開放されたか否かを判定する。すなわちFAズーム制御部122は、FAズーム操作スイッチの長押し(第2の操作)または短押し(第1の操作)の判定を行い、押下時間によって実行するモードを変更する。FAズーム操作スイッチの長押し時には、図8のステップS121に進み、FAズーム制御部122は手動探索モード(第3のモード)を選択し、選択されたモードをメモリ118に記憶する。一方、FAズーム操作スイッチの短押し時には、ステップS106に進み、FAズーム制御部122は自動追尾モードを選択し、選択されたモードをメモリ118に記憶する。   In step S101, the FA zoom control unit 122 determines whether the FA zoom operation switch is released within a predetermined time after the FA zoom operation switch is pressed. That is, the FA zoom control unit 122 determines whether the FA zoom operation switch is long-pressed (second operation) or short-pressed (first operation), and changes the mode to be executed according to the pressing time. When the FA zoom operation switch is pressed for a long time, the process proceeds to step S121 in FIG. 8, and the FA zoom control unit 122 selects the manual search mode (third mode) and stores the selected mode in the memory 118. On the other hand, when the FA zoom operation switch is pressed shortly, the process proceeds to step S106, where the FA zoom control unit 122 selects the automatic tracking mode and stores the selected mode in the memory 118.

手動探索モードが記憶された場合、ステップS122において、FAズーム制御部122は、ズームアウト開始時の光学ズーム位置及び電子ズーム位置を記憶する。さらにFAズーム制御部122は、所定の駆動量をCZ制御部119または電子ズーム制御部120に指令して図10(A)で後述するFAズームアウト動作を行う。FAズームアウト動作が終了すると、ステップS123に進む。   When the manual search mode is stored, in step S122, the FA zoom control unit 122 stores the optical zoom position and the electronic zoom position at the start of zoom-out. Further, the FA zoom control unit 122 instructs a predetermined drive amount to the CZ control unit 119 or the electronic zoom control unit 120 to perform an FA zoom-out operation which will be described later with reference to FIG. When the FA zoom-out operation ends, the process proceeds to step S123.

ステップS123において、FAズーム制御部122は、FAズーム操作スイッチが長押し状態から開放されたか否かを判定する。FAズーム操作スイッチが開放された(第3の操作)場合、FAズームの終了が判定される。すなわちFAズーム制御部122は、手動探索モードにおいて、操作部117を押下(操作)している間、フレーミング支援ズームを継続する。そして操作部117の押下が終了した場合、ステップS124に進む。ステップS124において、FAズーム制御部122は、記憶した光学ズーム位置および電子ズーム位置(ズームイン位置)まで駆動を行うようにCZ制御部119または電子ズーム制御部120に指令して、図10(B)で後述するFAズームイン動作を行う。これにより、手動探索モードによるFAズーム機能は終了する。   In step S123, the FA zoom control unit 122 determines whether or not the FA zoom operation switch has been released from the long press state. When the FA zoom operation switch is opened (third operation), the end of the FA zoom is determined. That is, the FA zoom control unit 122 continues the framing support zoom while the operation unit 117 is pressed (operated) in the manual search mode. When the pressing of the operation unit 117 ends, the process proceeds to step S124. In step S124, 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 (zoom-in position), and FIG. The FA zoom-in operation described later is performed. Thereby, the FA zoom function in the manual search mode ends.

一方、自動追尾モードが選択された場合には、ステップS106で自動追尾モードをメモリ118に記憶した後、ステップS107において被写体指定処理を行う。   On the other hand, if the automatic tracking mode is selected, the automatic tracking mode is stored in the memory 118 in step S106, and then subject designation processing is performed in step S107.

ここで、図9を参照して、ステップS107の被写体指定処理について説明する。図9(A)は、操作部117を構成する部材であるタッチパネルを用いて表示部109に表示された被写体をタッチして指定する操作例のフローチャートを示している。ステップS200において、FAズーム制御部122は、タッチパネルが押下されたか否かを判定する。タッチパネルが押下された場合、ステップS201に進み、FAズーム制御部122は、タッチされた位置(タッチ位置)の情報を取得する。   Here, the subject designation processing in step S107 will be described with reference to FIG. FIG. 9A 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 constituting the operation unit 117. In step S200, the FA zoom control unit 122 determines whether the touch panel has been pressed. When the touch panel is pressed, the process proceeds to step S201, and the FA zoom control unit 122 acquires information on a touched position (touch position).

続いてステップS202において、FAズーム制御部122は、タッチ位置を被写体検出部123に通知し、被写体検出部123はタッチ位置付近で顔検出を行う。タッチ位置付近に顔を検出した場合、主被写体は人物であると判定し、ステップS203に進む。ステップS203において、FAズーム制御部122は、自動追尾の対象である人物の顔情報をメモリ118に記憶する。具体的な顔情報としては、被写体指定時の顔のサイズや顔の検出位置、顔の向きなどがある。また、顔認証機能を有するカメラにおいては、認証IDなども記憶する。   Subsequently, in step S202, 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 step S203. In step S <b> 203, the FA zoom control unit 122 stores the face information of the person who is the target of automatic tracking in the memory 118. Specific face information includes the face size, face detection position, face orientation, etc. when the subject is designated. Further, in a camera having a face authentication function, an authentication ID is also stored.

一方、ステップS202にてタッチ位置付近に顔を検出しなかった場合、主被写体は人物以外のモノであると判定し、ステップS204に進む。ステップS204において、FAズーム制御部122は、タッチ位置付近の特徴色を自動追尾対象の色情報としてメモリ118に記憶する。具体的な色情報としては、被写体指定時の特徴色の色や輝度、色差の値や同一色領域のサイズ、同一色領域の重心位置などがある。顔情報および色情報を、以下の説明ではまとめて被写体情報(被写体サイズ、被写体検出位置など)という。   On the other hand, if no face is detected in the vicinity of the touch position in step S202, it is determined that the main subject is an object other than a person, and the process proceeds to step S204. In step S <b> 204, the FA zoom control unit 122 stores the characteristic color near the touch position in the memory 118 as automatic tracking target color information. 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. The face information and color information are collectively referred to as subject information (subject size, subject detection position, etc.) in the following description.

ステップS203またはS204にて被写体情報が記憶されると、ステップS205に進む。ステップS205において、FAズーム制御部122は、被写体検出位置を中心に被写体サイズに対応した大きさの被写体追尾枠(モノ追尾枠400または顔追尾枠500)を表示部109に表示する。これにより、被写体指定処理は終了する。   When the subject information is stored in step S203 or S204, the process proceeds to step S205. In step S205, the FA zoom control unit 122 displays on the display unit 109 a subject tracking frame (mono tracking frame 400 or face tracking frame 500) having a size corresponding to the subject size with the subject detection position as the center. Thus, the subject designation process ends.

このようにシステム制御部114(被写体検出部123)は、モードが自動追尾モードである場合、表示部109において撮影者により指定された位置または指定された位置の近傍で被写体を検出する。そしてシステム制御部114(FAズーム制御部122)は被写体追尾枠を表示部109に表示する。図9(A)のフローチャートによれば、撮影者が追尾したい被写体を直感的な指定方法で簡単に指定することが可能となる。   As described above, when the mode is the automatic tracking mode, the system control unit 114 (subject detection unit 123) detects the subject at the position designated by the photographer on the display unit 109 or in the vicinity of the designated position. Then, the system control unit 114 (FA zoom control unit 122) displays the subject tracking frame on the display unit 109. According to the flowchart of FIG. 9A, it is possible for the photographer to easily specify the subject to be tracked by an intuitive designation method.

図9(B)は、操作部117を構成する部材であるFAズーム操作スイッチとは別のスイッチ(被写体指定用スイッチ)によって被写体を指定する操作例のフローチャートを示している。まずステップS206において、FAズーム制御部122は、表示部109の画面中央付近に被写体指定の目安となる枠を表示する。撮影者は、この枠を目安として追尾したい被写体を中央付近に収めるようにカメラの向きを調整する。続いてステップS207において、FAズーム制御部122は、被写体指定用スイッチが押下されたか否かを判定する。被写体指定用スイッチが押下された場合、ステップS208に進む。   FIG. 9B shows a flowchart of an operation example in which the subject is designated by a switch (subject designation switch) different from the FA zoom operation switch which is a member constituting the operation unit 117. First, in step S <b> 206, the FA zoom control unit 122 displays a frame that serves as a standard for subject specification 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 located near the center using this frame as a guide. Subsequently, in step S207, the FA zoom control unit 122 determines whether or not the subject specifying switch has been pressed. If the subject designation switch is pressed, the process proceeds to step S208.

ステップS208において、被写体検出部123は、画面中央付近で顔検出を行う。画面中央付近に顔を検出した場合、主被写体は人物であると判定し、ステップS209に進む。一方、画面中央付近に顔を検出しなかった場合、主被写体は人物以外のモノであると判定し、ステップS210に進む。ステップS209またはS210にて被写体情報を記憶すると、ステップS211に進む。ステップS211において、被写体追尾枠(モノ追尾枠400または顔追尾枠500)が表示され、被写体指定処理は終了となる。図9(B)のステップS209、S210、S211の基本的な処理は、図9(A)のステップS203、S204、S205とそれぞれ同様である。   In step S208, the subject detection unit 123 performs face detection near the center of the screen. If a face is detected near the center of the screen, it is determined that the main subject is a person, and the process proceeds to step S209. On the other hand, if no face is detected near the center of the screen, it is determined that the main subject is something other than a person, and the process proceeds to step S210. When the subject information is stored in step S209 or S210, the process proceeds to step S211. In step S211, the subject tracking frame (the mono tracking frame 400 or the face tracking frame 500) is displayed, and the subject designation process ends. The basic processes in steps S209, S210, and S211 in FIG. 9B are the same as steps S203, S204, and S205 in FIG. 9A, respectively.

このようにシステム制御部114(被写体検出部123)は、モードが自動追尾モードである場合、表示部109の画面中央位置または画面中央位置の近傍で被写体を検出する。そしてシステム制御部114(FAズーム制御部122)は、被写体の位置を示す被写体追尾枠を表示部109に表示する。図9(B)のフローチャートによれば、タッチパネルなどの操作部材を搭載しないカメラにおいても、被写体を簡単に指定することが可能となる。   As described above, when the mode is the automatic tracking mode, the system control unit 114 (subject detection unit 123) detects the subject at the screen center position of the display unit 109 or in the vicinity of the screen center position. The system control unit 114 (FA zoom control unit 122) displays a subject tracking frame indicating the position of the subject on the display unit 109. According to the flowchart in FIG. 9B, it is possible to easily specify a subject even in a camera not equipped with an operation member such as a touch panel.

図9(C)は、操作部117を構成する部材であるFAズーム操作スイッチが短押しされた時点で検出された顔の中から追尾する被写体を自動的に選択する例のフローチャートを示している。まずステップS212において、被写体検出部123は、画面全体で顔検出を行う。画面全体で一人でも顔を検出した場合には、主被写体は人物であると判定し、ステップS213に進む。ステップS213において、被写体検出部123は、検出した顔が一人の場合、その顔を主顔とする。被写体検出部123は、検出した顔が複数の場合、その顔の中から追尾する被写体とする主顔を選択する。主顔選択の判定基準としては、例えば、顔検出位置がより画面中央付近に位置する顔を選択する方法がある。また、同程度の位置に複数の顔がある場合、サイズのより大きい顔を主顔として選択する方法がある。また、顔認証機能を有するカメラにおいては、認証登録されている顔がある場合、その顔を優先して主顔とする方法がある。そしてステップS213において、FAズーム制御部122は、選択された主顔の顔情報をメモリ118に記憶する。ステップS214にて顔情報を記憶すると、ステップS215に進み、FAズーム制御部122は、顔追尾枠500を表示する。   FIG. 9C 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 constituting the operation unit 117 is short-pressed. . First, in step S212, the subject detection unit 123 performs face detection on the entire screen. If even one person is detected on the entire screen, it is determined that the main subject is a person, and the process proceeds to step S213. In step S213, the subject detection unit 123 sets the face as the main face when the detected face is one person. When there are a plurality of detected faces, the subject detection unit 123 selects a main face as a subject to be tracked from the faces. As a determination criterion for main face selection, for example, there is a method of selecting a face whose face detection position is located near the center of the screen. In addition, when there are a plurality of faces at the same position, there is a method of selecting a larger face as the main face. In addition, in a camera having a face authentication function, when there is a face registered for authentication, there is a method in which the face is given priority as a main face. In step S213, the FA zoom control unit 122 stores the face information of the selected main face in the memory 118. When the face information is stored in step S214, the process proceeds to step S215, and the FA zoom control unit 122 displays the face tracking frame 500.

続いてステップS216において、複数の顔が検出された場合に自動で選択された主顔が撮影者の意図しない顔である場合、撮影者が主顔を変更することが可能である。このとき、操作部117のスイッチ(FAズーム操作スイッチでも他のスイッチでもよい)を押下すると、顔追尾枠500が検出された顔の中から主顔として選択されなかった顔に主顔を変更する。主顔が変更された場合、再度、ステップS214に進み、FAズーム制御部122は、記憶する顔情報を更新する。また、ステップS215にて顔追尾枠500を新たに選択された主顔のサイズおよび検出位置に変更する。   Subsequently, in step S216, if the main face automatically selected when a plurality of faces is detected is a face not intended by the photographer, the photographer can change the main face. 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 that has not been selected as the main face from the detected face tracking frame 500. . If the main face has been changed, the process proceeds to step S214 again, and the FA zoom control unit 122 updates the stored face information. In step S215, the face tracking frame 500 is changed to the size and detection position of the newly selected main face.

一方、ステップS212にて画面全体で顔が検出されない場合、主被写体は人物以外のモノであると判定し、ステップS217に進む。ステップS217において、FAズーム制御部122は、画面中央付近の特徴色を自動追尾対象の色情報として、メモリ118に記憶する。ステップS217にてモノ情報を記憶すると、ステップS218に進み、モノ追尾枠400を表示する。これにより、被写体指定処理は終了する。図9(C)のステップS214、S217、S215(S218)における基本的な処理は、図9(A)のステップS203、S204、S205とそれぞれ同様である。   On the other hand, if no face is detected on the entire screen in step S212, it is determined that the main subject is something other than a person, and the process proceeds to step S217. In step S217, the FA zoom control unit 122 stores the characteristic color near the center of the screen in the memory 118 as the color information for the automatic tracking target. When the mono information is stored in step S217, the process proceeds to step S218, and the mono tracking frame 400 is displayed. Thus, the subject designation process ends. The basic processes in steps S214, S217, and S215 (S218) in FIG. 9C are the same as steps S203, S204, and S205 in FIG. 9A, respectively.

このようにシステム制御部114(被写体検出部123)は、モードが自動追尾モードである場合、表示部109の画面全体において顔検出を行う。システム制御部114(FAズーム制御部122)は、複数の顔が検出された場合、複数の顔の中から被写体として第1の顔の位置を示す被写体追尾枠を表示部109に表示する。またシステム制御部114(FAズーム制御部122)は、被写体として第1の顔が第2の顔に変更された場合、第2の顔の位置を示す被写体追尾枠を表示部109に表示する。図9(C)のフローチャートによれば、より少ない操作回数で被写体を簡単に指定することが可能となる。   Thus, the system control unit 114 (subject detection unit 123) performs face detection on the entire screen of the display unit 109 when the mode is the automatic tracking mode. When a plurality of faces are detected, the system control unit 114 (FA zoom control unit 122) displays a subject tracking frame indicating the position of the first face as a subject on the display unit 109 from among the plurality of faces. In addition, when the first face is changed to the second face as the subject, the system control unit 114 (FA zoom control unit 122) displays a subject tracking frame indicating the position of the second face on the display unit 109. According to the flowchart of FIG. 9C, the subject can be easily specified with a smaller number of operations.

図9に示される被写体指定処理を終了すると、図7のステップS108に進む。ステップS108からの処理において、FAズーム制御部122は、被写体指定時の基準被写体情報および周期的に検出する被写体情報に基づいて、FAズーム動作を開始するか否かを判定する。この判定は、FAズーム開始の条件を満たすまで所定の制御周期で繰り返される。   When the subject designation process shown in FIG. 9 is completed, the process proceeds to step S108 in FIG. In the processing from step S108, the FA zoom control unit 122 determines whether or not to start the FA zoom operation based on the reference subject information at the time of subject designation and the subject information periodically detected. This determination is repeated at a predetermined control cycle until the condition for starting FA zoom is satisfied.

ステップS108において、被写体検出部123は、画面全体の中から基準被写体情報と同じ特徴を持つ被写体、すなわち、基準被写体が人物である場合には顔が、モノである場合には同一の特徴色が検出されるか否かを判定する。追尾する被写体が検出されなかった場合、ステップS111に進む。一方、追尾する被写体が検出された場合、ステップS109に進む。   In step S108, the subject detection unit 123 displays a subject having the same characteristics as the reference subject information from the entire screen, that is, the face is the same when the reference subject is a person, and the same characteristic color when the subject is a thing. It is determined whether or not it is detected. If the subject to be tracked is not detected, the process proceeds to step S111. On the other hand, when the subject to be tracked is detected, the process proceeds to step S109.

ステップS109、S113、S114の判定は、被写体がフレームアウトすることを防止するための(フレームアウト防止制御の)FAズームの開始判定である。ステップS109において、FAズーム制御部122は、追尾する被写体の被写体追尾枠がズームアウト領域ZOに進入したか否かを判定する。ステップS109にて追尾枠がズームアウト領域ZOに進入した場合、すなわち、被写体がフレームアウトする可能性が大きい場合、ステップS110に進み、FAズームアウト動作を開始する。ここでのFAズームアウト動作は、フレームアウト防止制御のズームアウト動作に相当する。   The determinations in steps S109, S113, and S114 are FA zoom start determinations (for frame-out prevention control) for preventing the subject from being out of frame. In step S109, the FA zoom control unit 122 determines whether the subject tracking frame of the subject to be tracked has entered the zoom-out area ZO. If the tracking frame enters the zoom-out area ZO in step S109, that is, if there is a high possibility that the subject is out of the frame, the process proceeds to step S110, and the FA zoom-out operation is started. The FA zoom-out operation here corresponds to the zoom-out operation of the frame-out prevention control.

一方、ステップS109にて被写体追尾枠がズームアウト領域ZOに進入していない場合、すなわち、画面中央付近で被写体を捉えられている場合、ステップS113に進む。ステップS113では、直前のズーム動作がステップS109でズームアウト領域ZOに進入したことによるズームアウト動作、すなわち、フレームアウト防止制御のズームアウト動作であるか否かを判定する。フレームアウト防止制御のズームアウト動作後である場合には、ステップS114に進む。   On the other hand, if the subject tracking frame has not entered the zoom-out area ZO in step S109, that is, if the subject is captured near the center of the screen, the process proceeds to step S113. In step S113, it is determined whether or not the previous zoom operation is a zoom-out operation caused by entering the zoom-out area ZO in step S109, that is, a zoom-out operation for frame-out prevention control. If it is after the zoom-out operation of the frame-out prevention control, the process proceeds to step S114.

ステップS114において、追尾する被写体の被写体追尾枠がズームイン領域ZIの内部に収まっている(包含されている)か否かを判定する。ここでのズームイン領域ZIは、図4(B)、図5(A)〜(C)で説明したズームイン領域ZIに相当する。ステップS114にて追尾枠(被写体)がズームイン領域ZIに収まっていない場合、ステップS111に進む。一方、追尾枠がズームイン領域ZIに収まっている場合、すなわち、画面中央付近でかつズーム戻り位置の画角内の被写体サイズとなるように被写体を捉えられている場合、ステップS115に進み、FAズームイン動作を開始する。ここでのFAズームイン動作は、フレームアウト防止制御のズームイン動作に相当する。   In step S114, it is determined whether or not the subject tracking frame of the subject to be tracked is contained (included) in the zoom-in area ZI. The zoom-in area ZI here corresponds to the zoom-in area ZI described with reference to FIGS. 4B and 5A to 5C. If the tracking frame (subject) does not fit in the zoom-in area ZI in step S114, the process proceeds to step S111. On the other hand, if the tracking frame is within the zoom-in area ZI, that is, if the subject is captured so that the subject size is near the center of the screen and within the angle of view at the zoom return position, the process proceeds to step S115 and FA zoom-in is performed. Start operation. The FA zoom-in operation here corresponds to the zoom-out operation of the frame-out prevention control.

本実施形態では、自動追尾モードにおけるフレームアウト防止制御(第1のモード)とサイズ保持制御(第2のモード)を両立させることを目的としている。そこで、まずフレームアウト防止制御により被写体を画面中央付近に捉えたうえで、サイズ保持制御を実行可能にしている。そのため、フレームアウト防止制御のズームアウト動作後の状態では、以降で説明する被写体サイズを一定に維持する(サイズ保持制御の)FAズーム処理(ステップS116〜S120)を行わないようにしている。換言すると、フレームアウト防止制御を行った場合は、フレームアウト防止制御のズームイン動作が完了するまでサイズ保持制御が制限される。   The object of the present embodiment is to achieve both frame-out prevention control (first mode) and size retention control (second mode) in the automatic tracking mode. In view of this, first, the size holding control can be executed after the subject is caught near the center of the screen by the frame-out prevention control. For this reason, in the state after the zoom-out operation of the frame-out prevention control, the FA zoom process (steps S116 to S120) for maintaining a constant subject size (size holding control) described below is not performed. In other words, when the frame-out prevention control is performed, the size holding control is limited until the zoom-in operation of the frame-out prevention control is completed.

ステップS113でフレームアウト防止制御のズームアウト動作後でないと判断された場合、ステップS116に進む。ステップS116において、FAズーム制御部122は、基準被写体情報の被写体サイズとステップS108にて検出された被写体サイズとの比較を行う。ステップS108にて検出された被写体のサイズが基準被写体のサイズに対して所定のN1倍より大きい場合(N1>1)、すなわち被写体が画面に占める比率が所定値を超える場合、ステップS117に進み、FAズームアウト動作を開始する。ここでのFAズームアウト動作は、サイズ保持制御のズームアウト動作に相当する。   If it is determined in step S113 that it is not after the zoom-out operation of the frame-out prevention control, the process proceeds to step S116. In step S116, the FA zoom control unit 122 compares the subject size of the reference subject information with the subject size detected in step S108. If the size of the subject detected in step S108 is larger than the reference subject size by a predetermined N1 (N1> 1), that is, if the ratio of the subject to the screen exceeds a predetermined value, the process proceeds to step S117. The FA zoom out operation is started. The FA zoom-out operation here corresponds to the zoom-out operation of size retention control.

一方、ステップS116において、ステップS108にて検出された被写体のサイズが基準被写体のサイズに対してN1倍以下である場合、ステップS118に進む。ステップS118において、FAズーム制御部122は、基準被写体情報の被写体サイズとステップS108にて検出された被写体のサイズとの比較を行う。検出された被写体のサイズが基準被写体のサイズに対して所定のN2倍未満である場合(N2<1)、すなわち被写体が画面に占める比率が所定値未満である場合、ステップS119に進む。一方、検出された被写体のサイズが基準被写体のサイズに対してN2倍以上である場合、ステップS111に進む。   On the other hand, if it is determined in step S116 that the size of the subject detected in step S108 is not more than N1 times the size of the reference subject, the process proceeds to step S118. In step S118, the FA zoom control unit 122 compares the subject size of the reference subject information with the subject size detected in step S108. If the size of the detected subject is less than a predetermined N2 times the size of the reference subject (N2 <1), that is, if the ratio of the subject to the screen is less than the predetermined value, the process proceeds to step S119. On the other hand, when the detected size of the subject is N2 times or more than the size of the reference subject, the process proceeds to step S111.

ステップS119において、FAズーム制御部122は、追尾する被写体の被写体追尾枠がズームイン領域ZIの内部に収まっている(包含されている)か否かを判定する。これは、被写体が画面の周辺にいる場合にズームイン動作によってフレームアウトしてしまうことを防ぐためである。ここでのズームイン領域ZIは、図6(E)で説明したズームイン領域ZIに相当する。ステップS119で被写体追尾枠がズームイン領域ZIに収まっていないと判定された場合、ステップS111に進む。一方、被写体追尾枠がズームイン領域ZIに収まっていると判定された場合、ステップS120に進む。ステップS120において、FAズーム制御部122は、FAズームイン動作を開始する。ここでのFAズームイン動作は、サイズ保持制御のズームイン動作に相当する。このように、本実施形態では、サイズ保持制御のズームイン動作においても被写体のフレームアウトを防ぐため、被写体がズームイン領域ZIの内部に収まってからズームイン動作を開始する。   In step S119, the FA zoom control unit 122 determines whether or not the subject tracking frame of the subject to be tracked is within (included in) the zoom-in area ZI. This is to prevent the subject from being out of frame by the zoom-in operation when the subject is in the periphery of the screen. The zoom-in area ZI here corresponds to the zoom-in area ZI described with reference to FIG. If it is determined in step S119 that the subject tracking frame does not fit in the zoom-in area ZI, the process proceeds to step S111. On the other hand, if it is determined that the subject tracking frame is within the zoom-in area ZI, the process proceeds to step S120. In step S120, the FA zoom control unit 122 starts an FA zoom-in operation. The FA zoom-in operation here corresponds to a zoom-in operation of size retention control. As described above, in this embodiment, in order to prevent the subject from being out of the frame even in the zoom-in operation of the size holding control, the zoom-in operation is started after the subject is within the zoom-in area ZI.

ステップS111にて、FAズーム制御部122は、操作部117のFAズーム操作スイッチが押下されたか否かを判定する。FAズーム操作スイッチが押下されていない場合には、再度、ステップS108に進み、FAズーム開始判定を継続する。   In step S111, the FA zoom control unit 122 determines whether the FA zoom operation switch of the operation unit 117 has been pressed. If the FA zoom operation switch has not been pressed, the process proceeds to step S108 again, and the FA zoom start determination is continued.

一方、FAズーム操作スイッチが押下されると、ステップS112に進み、FAズーム制御部122は、FAズーム操作スイッチの押下時間を測定する。自動追尾モード実行中であっても、その後FAズーム操作スイッチの長押しが判定されると、モードは手動探索モードに変更され、図8のS121へ進んで手動探索モードによるFAズームを開始する。これにより、FAズーム制御部122が被写体を検出できない場合であっても、撮影者が被写体のフレームアウトを認識すると即座に手動探索モードによってズームアウト動作の指示を行い、フレームアウトを防止することができる。ステップS112でFAズーム操作スイッチの短押しが判定されると、自動追尾モードによるFAズーム機能は終了する。   On the other hand, when the FA zoom operation switch is pressed, the process proceeds to step S112, and the FA zoom control unit 122 measures the pressing time of the FA zoom operation switch. Even if the automatic tracking mode is being executed, if it is determined that the FA zoom operation switch is pressed for a long time, the mode is changed to the manual search mode, and the process proceeds to S121 in FIG. 8 to start FA zoom in the manual search mode. As a result, even when the FA zoom control unit 122 cannot detect the subject, when the photographer recognizes that the subject is out of frame, the zoom-out operation is instructed immediately in the manual search mode to prevent out-of-frame. it can. When it is determined in step S112 that the FA zoom operation switch is pressed shortly, the FA zoom function in the automatic tracking mode ends.

次に、図10を参照して、FAズーム動作について説明する。図10(A)は、図7のステップS110、S117、および図8のステップS122で行われるFAズームアウト動作のフローチャートである。まずS300において、FAズーム制御部122は、光学ズーム位置をCZ制御部119から取得し、電子ズーム位置を電子ズーム制御部120から取得する。またFAズーム制御部122は、光学ズーム位置および電子ズーム位置のデータをメモリ118に記憶する。光学ズーム位置は、光学ズーム機能によって変更可能なズーム倍率に相当するズームレンズの位置を表す。また、電子ズーム位置は、電子ズーム機能によって変更可能な画像拡大および縮小の倍率に相当する制御位置を表す。手動探索モードの場合、ここで記憶したズーム位置がズーム戻り位置(第3のズーム位置)に設定される。   Next, the FA zoom operation will be described with reference to FIG. FIG. 10A is a flowchart of the FA zoom-out operation performed in steps S110 and S117 in FIG. 7 and step S122 in FIG. First, in S300, the FA zoom control unit 122 acquires the optical zoom position 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. The electronic zoom position represents a control position corresponding to the magnification of image enlargement and reduction that can be changed by the electronic zoom function. In the manual search mode, the zoom position stored here is set as the zoom return position (third zoom position).

続いてS301において、FAズーム制御部122は、ズームアウト駆動量を取得する。FAズーム機能のモードが手動探索モード(図8のステップS122)の場合、ズームアウト駆動量はメモリ118に記憶された所定の駆動量とする。また、この駆動量は、撮影者が設定メニューからの操作によって変更可能にしてもよい。FAズーム機能のモードが自動追尾モード(図7のステップS110、S117)の場合、ズームアウト駆動量は検出された被写体情報に応じて設定される。具体的には、フレームアウト防止のズームアウト動作(図7のステップS110)においては、被写体のサイズが小さいほどズームアウト駆動量は小さく設定される。それにより、ズームアウト動作によって被写体のサイズが小さくなりすぎるために被写体が検出できなくなるのを防ぐことができる。なお、被写体検出可能な最小サイズを考慮して、被写体のサイズが所定のサイズより小さい場合は、ズームアウトを行わないようにしてもよい。また、サイズを維持するためのズームアウト動作(図7のステップS117)においては、ステップS116の判定に用いる所定のN1倍に相当するズームアウト駆動量(1/N1倍)に設定する。それにより、被写体が検出できない場合でも、被写体のサイズが基準被写体のサイズとなるまでの最低限のズームアウト動作を行うことができる。ただし、ズームアウト動作中に被写体がカメラに向かって近寄り続けている場合に一定のサイズに維持するためには、所定倍相当のズームアウト駆動量以上ズームを動作させる必要があるが、その詳細は図11を用いて後述する。   Subsequently, in S301, the FA zoom control unit 122 acquires a zoom-out drive amount. When the FA zoom function mode is the manual search mode (step S122 in FIG. 8), the zoom-out drive amount is a predetermined drive amount stored in the memory 118. The driving amount may be changed by the photographer by an operation from the setting menu. When the FA zoom function mode is the automatic tracking mode (steps S110 and S117 in FIG. 7), the zoom-out drive amount is set according to the detected subject information. Specifically, in the zoom-out operation for preventing frame-out (step S110 in FIG. 7), the smaller the subject size, the smaller the zoom-out drive amount is set. Thereby, it is possible to prevent the subject from becoming undetectable because the size of the subject becomes too small due to the zoom-out operation. In consideration of the minimum size that can be detected by the subject, zoom-out may not be performed when the size of the subject is smaller than a predetermined size. In the zoom-out operation for maintaining the size (step S117 in FIG. 7), the zoom-out drive amount (1 / N1 times) corresponding to the predetermined N1 times used for the determination in step S116 is set. Thereby, even when the subject cannot be detected, a minimum zoom-out operation until the size of the subject reaches the size of the reference subject can be performed. However, in order to maintain a constant size when the subject keeps moving closer to the camera during the zoom-out operation, it is necessary to operate the zoom more than the zoom-out drive amount equivalent to the predetermined magnification. This will be described later with reference to FIG.

そしてステップS302において、FAズーム制御部122は、ズーム状態が電子ズーム状態であるか否かを判定する。一般的なズーム操作では、操作部117のズーム操作スイッチが押下されると、光学ズーム位置がワイド端からテレ端の間である場合、CZ制御部119により光学ズームを駆動させる。光学ズーム位置がテレ端であって、さらに望遠方向への操作指示がなされた場合、電子ズーム制御部120が電子ズームを駆動させることで超望遠撮影が可能となる。ズーム操作スイッチの操作によるズーム動作とFAズーム動作との整合性を取るため、FAズーム動作においても、ズーム状態が電子ズーム状態の場合には電子ズームを先に駆動させる。すなわち、メモリ118に記憶した時点のズーム位置が優先すべきズーム状態でのズーム領域内にあるか否かが判定される。本実施形態では電子ズームが優先されるため、S302では、ズーム位置が電子ズーム領域にあるか否かが判定される。FAズーム開始時のズーム状態が電子ズーム状態である場合、ステップS303に進む。   In step S302, the FA zoom control unit 122 determines whether the zoom state is an electronic zoom state. 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 CZ control unit 119 drives the optical zoom. When the optical zoom position is at the telephoto end and an operation instruction is further given in the telephoto direction, 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 is the electronic zoom state, the electronic zoom is driven first. That is, it is determined whether or not the zoom position stored in the memory 118 is within the zoom area in the zoom state to be prioritized. In this embodiment, since electronic zoom is prioritized, in S302, it is determined whether or not the zoom position is in the electronic zoom area. If the zoom state at the start of FA zoom is the electronic zoom state, the process proceeds to step S303.

ステップS303において、FAズーム制御部122は、ステップS300にて取得された電子ズーム位置とステップS301にて取得されたズームアウト駆動量に基づいて電子ズームのズームアウト位置を算出し、電子ズーム制御部120に設定する。FAズーム制御部122は、電子ズーム制御部120に対して、設定された電子ズームのズームアウト位置まで変倍処理を行うように指示する。そして電子ズーム制御部120は、電子ズームによるズームアウト動作を開始し、ステップS304へ進む。   In step S303, the FA zoom control unit 122 calculates the zoom-out position of the electronic zoom based on the electronic zoom position acquired in step S300 and the zoom-out drive amount acquired in step S301, and the electronic zoom control unit. Set to 120. The FA zoom control unit 122 instructs the electronic zoom control unit 120 to perform the scaling process up to the set zoom-out position of the electronic zoom. Then, the electronic zoom control unit 120 starts a zoom-out operation using the electronic zoom, and proceeds to step S304.

ステップS304でFAズーム制御部122は、設定されているモードや自動追尾モードでの制御状態、被写体の検出状態など、図11で後述するズーム停止の判定条件にしたがって、電子ズーム制御部120を停止させる。ステップS302にてズーム位置が光学ズーム領域にあると判定された場合、または、ステップS304にて電子ズームのズームアウト動作が停止された場合、ステップS305に進む。   In step S304, the FA zoom control unit 122 stops the electronic zoom control unit 120 according to the zoom stop determination conditions described later with reference to FIG. 11 such as the set mode, the control state in the automatic tracking mode, and the subject detection state. Let If it is determined in step S302 that the zoom position is in the optical zoom region, or if the zoom-out operation of the electronic zoom is stopped in step S304, the process proceeds to step S305.

ステップS305において、FAズーム制御部122は、さらに光学ズームによるズームアウトが必要であるか否かを判定する。すなわち、電子ズームだけでは、設定したズームアウト駆動量のズーム駆動に十分でない場合、残りのズームアウト駆動量を光学ズームで補う必要がある。光学ズームによるズームアウトが必要と判定された場合、ステップS306に進む。ステップS306において、FAズーム制御部122は、光学ズーム位置およびズームアウト駆動量に基づいて光学ズームのズームアウト位置を算出し、CZ制御部119に設定する。FAズーム制御部122は、CZ制御部119に対して、設定された光学ズームのズームアウト位置までズーム駆動するように指示する。そしてCZ制御部119は、ズームレンズ駆動部113を制御し、光学ズームのズームアウト動作を開始し、ステップS307へ進む。   In step S305, the FA zoom control unit 122 determines whether it is necessary to further zoom out by optical zoom. That is, if the electronic zoom alone is not sufficient for the zoom drive of the set zoom-out drive amount, it is necessary to supplement the remaining zoom-out drive amount with the optical zoom. If it is determined that zoom-out by optical zoom is necessary, the process proceeds to step S306. In step S306, the FA zoom control unit 122 calculates the zoom-out position of the optical zoom based on the optical zoom position and the zoom-out drive amount, and sets the calculated zoom-out position in the CZ control unit 119. The FA zoom control unit 122 instructs the CZ control unit 119 to perform zoom driving to the set zoom-out position of the optical zoom. Then, the CZ control unit 119 controls the zoom lens driving unit 113, starts a zoom-out operation of optical zoom, and proceeds to step S307.

ステップS307でFAズームアウト制御部122は、図11で後述するズーム停止の判定条件にしたがってCZ制御部119を停止させる。ステップS305にて光学ズームによるズームアウトが不要と判定された場合、または、ステップS307にて光学ズームのズームアウト動作が停止された場合、ズームアウト動作を終了する。   In step S307, the FA zoom-out control unit 122 stops the CZ control unit 119 in accordance with a zoom stop determination condition described later with reference to FIG. If it is determined in step S305 that zoom-out by optical zoom is unnecessary, or if the zoom-out operation of optical zoom is stopped in step S307, the zoom-out operation is terminated.

図10(B)は、図7のステップS115、S120、および図8のステップS124で行われるFAズームイン動作のフローチャートである。まず、ステップS308において、FAズーム制御部122は、ズームイン駆動量を取得する。モードが手動追尾モード(図8のステップS124)の場合、または、自動追尾モードのフレームアウト防止のズームイン動作(図7のステップS115)の場合、ズームイン駆動量は図10(A)のステップS300にてメモリ118に記憶したズーム戻り位置までズームインする駆動量とする。また、自動追尾モードのサイズ保持制御のズームイン動作(図7のステップS120)の場合には、ステップS118の判定に用いる所定のN2倍に相当するズームイン駆動量(1/N2倍)とする。   FIG. 10B is a flowchart of the FA zoom-in operation performed in steps S115 and S120 in FIG. 7 and step S124 in FIG. First, in step S308, the FA zoom control unit 122 acquires a zoom-in drive amount. When the mode is the manual tracking mode (step S124 in FIG. 8) or the zoom-out operation for preventing frame-out in the automatic tracking mode (step S115 in FIG. 7), the zoom-in drive amount is set to step S300 in FIG. Thus, the driving amount for zooming in to the zoom return position stored in the memory 118 is set. In the case of the zoom-in operation (step S120 in FIG. 7) of the size keeping control in the automatic tracking mode, the zoom-in driving amount (1 / N2 times) corresponding to the predetermined N2 times used for the determination in step S118 is set.

続いてステップS309において、FAズーム制御部122は、ズーム状態が光学ズーム状態であるか否かを判定する。ズーム状態が光学ズーム状態である場合、光学ズームを優先してズームインを行うため、ステップS310に進む。一方、ズーム状態が電子ズーム状態である場合、電子ズームのみでズームインを行うため、ステップS312に進む。   Subsequently, in step S309, the FA zoom control unit 122 determines whether or not the zoom state is an optical zoom state. If the zoom state is the optical zoom state, the process proceeds to step S310 in order to zoom in with priority on the optical zoom. On the other hand, if the zoom state is the electronic zoom state, the process proceeds to step S312 in order to perform zoom-in with only the electronic zoom.

ステップS310において、FAズーム制御部122は、光学ズーム位置とステップS308にて取得されたズームイン駆動量に基づいて光学ズームのズームイン位置を算出し、CZ制御部119に設定する。ステップS310にてFAズーム制御部122は、CZ制御部119に対して、設定された光学ズームのズームイン位置までズーム駆動するように指示する。そしてCZ制御部119は、ズームレンズ駆動部113を制御し、光学ズームのズームイン動作を開始し、ステップS311へ進む。ステップS311では、図11で後述するズーム停止の判定条件にしたがってCZ制御部119を停止させる。   In step S <b> 310, the FA zoom control unit 122 calculates the zoom-in position of the optical zoom based on the optical zoom position and the zoom-in driving amount acquired in step S <b> 308, and sets it in the CZ control unit 119. In step S310, the FA zoom control unit 122 instructs the CZ control unit 119 to drive the zoom to the zoomed-in position of the set optical zoom. Then, the CZ control unit 119 controls the zoom lens driving unit 113 to start the optical zoom-in operation, and proceeds to step S311. In step S311, the CZ control unit 119 is stopped according to a zoom stop determination condition described later with reference to FIG.

ステップS309にてズーム位置が電子ズーム領域内であると判定された場合や、ステップS311で光学ズームのズームイン動作を停止した場合、ステップS312に進む。ステップS312において、FAズーム制御部122は、さらに電子ズームによるズームインが必要か否かを判定する。電子ズームによるズームインが必要な場合、ステップS313に進む。一方、電子ズームによるズームインが不要な場合には、ズームイン動作を終了する。   If it is determined in step S309 that the zoom position is within the electronic zoom area, or if the optical zoom-in operation is stopped in step S311, the process proceeds to step S312. In step S312, the FA zoom control unit 122 determines whether it is necessary to further zoom in by electronic zoom. If zooming in by electronic zoom is necessary, the process proceeds to step S313. On the other hand, when zoom-in by electronic zoom is not necessary, the zoom-in operation is terminated.

ステップS313において、FAズーム制御部122は、ステップS308にて取得したズームイン駆動量に基づいて電子ズームのズームイン位置を算出し、電子ズーム制御部120に設定する。FAズーム制御部122は、電子ズーム制御部120に対して、設定された電子ズームのズームイン位置まで変倍処理を行うように指示する。そして電子ズーム制御部120は、電子ズームによるズームイン動作を開始し、ステップS314へ進む。ステップS314では、図11で後述するズーム停止の判定条件にしたがって電子ズーム制御部120を停止させる。ステップS312にて電子ズームによるズームインが不要と判定された場合、または、ステップS314にて電子ズームのズームイン動作が停止された場合、ズームイン動作を終了する。   In step S313, the FA zoom control unit 122 calculates the zoom-in position of the electronic zoom based on the zoom-in driving amount acquired in step S308, and sets it in the electronic zoom control unit 120. The FA zoom control unit 122 instructs the electronic zoom control unit 120 to perform the scaling process up to the set zoom-in position of the electronic zoom. Then, the electronic zoom control unit 120 starts a zoom-in operation using the electronic zoom, and proceeds to step S314. In step S314, the electronic zoom control unit 120 is stopped according to the zoom stop determination condition described later with reference to FIG. If it is determined in step S312 that zoom-in by electronic zoom is unnecessary, or if zoom-in operation of electronic zoom is stopped in step S314, the zoom-in operation is terminated.

次に図11を参照して、図10(A)のステップS304、S307、および図10(B)のステップS311、S314で行うズーム停止処理について説明する。まずステップS400にて、FAズーム制御部122は、動作中のズームが光学ズームである場合(図10(A)のステップS307、図10(B)のステップS311)、CZ制御部119から光学ズーム位置を取得する。一方、動作中のズームが電子ズームである場合(図10(A)のステップS304、図10(B)のステップS314)、電子ズーム位置を電子ズーム制御部120から取得する。取得したズーム位置が光学ズームワイド端(ズームアウト動作の場合)または電子ズームテレ端(ズームイン動作の場合)に到達した場合にはステップS407に進み、当該ズームを停止させる。取得したズーム位置がズーム端に到達していない場合には、ステップS401に進む。   Next, with reference to FIG. 11, the zoom stop process performed in steps S304 and S307 in FIG. 10A and steps S311 and S314 in FIG. 10B will be described. First, in step S400, when the zoom in operation is an optical zoom (step S307 in FIG. 10A and step S311 in FIG. 10B), the FA zoom control unit 122 performs optical zoom from the CZ control unit 119. Get the position. On the other hand, when the zoom in operation is the electronic zoom (step S304 in FIG. 10A and step S314 in FIG. 10B), the electronic zoom position is acquired from the electronic zoom control unit 120. If the acquired zoom position has reached the optical zoom wide end (in the case of zoom-out operation) or the electronic zoom tele end (in the case of zoom-in operation), the process proceeds to step S407 and the zoom is stopped. If the acquired zoom position has not reached the zoom end, the process proceeds to step S401.

ステップS401では、FAズーム制御部122は、図7のステップS106または図8のステップS121でメモリ118に記憶したモード情報を取得し、現在のモードが手動探索モードであるか、自動追尾モードであるかの判定を行う。現在のモードが手動探索モードである場合(図8のステップS122、S124)はステップS405に進む。一方、現在のモードが自動追尾モードである場合(図7のステップS110、S115、S117、S120)はステップS402に進む。   In step S401, the FA zoom control unit 122 acquires the mode information stored in the memory 118 in step S106 of FIG. 7 or step S121 of FIG. 8, and the current mode is the manual search mode or the automatic tracking mode. Judgment is made. If the current mode is the manual search mode (steps S122 and S124 in FIG. 8), the process proceeds to step S405. On the other hand, when the current mode is the automatic tracking mode (steps S110, S115, S117, and S120 in FIG. 7), the process proceeds to step S402.

次にステップS402にて、FAズーム制御部122は、自動追尾モードにおいて何れのズーム動作中であるかの判定を行う。動作中のズームがフレームアウト防止制御のズームアウト動作である場合(図7のステップS110)はステップS405に進み、それ以外の場合はステップS403に進む。   Next, in step S402, the FA zoom control unit 122 determines which zoom operation is being performed in the automatic tracking mode. When the zoom in operation is the zoom-out operation of the frame-out prevention control (step S110 in FIG. 7), the process proceeds to step S405. Otherwise, the process proceeds to step S403.

さらにステップS403では、FAズーム制御部122は、被写体検出部123によって被写体が検出されているか否かの判定を行う。被写体が検出されている場合にはステップS404に進み、被写体が検出されていない場合にはステップS405に進む。   In step S <b> 403, the FA zoom control unit 122 determines whether the subject is detected by the subject detection unit 123. When the subject is detected, the process proceeds to step S404, and when the subject is not detected, the process proceeds to step S405.

ステップS404では、基準被写体情報の被写体のサイズとステップS403で検出された被写体のサイズとの比較を行う。比較の結果、ステップS403にて検出された被写体のサイズと基準被写体のサイズとの差が所定の範囲内(所定の変化量以内)に収まらない場合には、再度、ステップS400に進み、ズーム停止の判定を継続する。ズーム動作によって、その差が所定の範囲内となった場合、ステップS406に進み、残ズーム駆動量をクリアする(無とする)。これは、図10(A)のステップS301または図10(B)のステップS308で取得したズーム駆動量を駆動していない場合でも、残ズーム駆動量をクリアすることで、図10(A)のステップS305または図10(B)のステップS312の判定をnoに進め、ズーム動作を終了させるためである。ステップS406で残ズーム駆動量のクリア処理が終わるとステップS407に進み、実際に動作中のズームを停止させる。   In step S404, the size of the subject in the reference subject information is compared with the size of the subject detected in step S403. As a result of the comparison, if the difference between the size of the subject detected in step S403 and the size of the reference subject does not fall within a predetermined range (within a predetermined change amount), the process proceeds to step S400 again to stop zooming. Continue the determination. If the difference is within a predetermined range due to the zoom operation, the process proceeds to step S406, and the remaining zoom drive amount is cleared (not set). This is because the remaining zoom drive amount is cleared even when the zoom drive amount acquired in step S301 in FIG. 10A or step S308 in FIG. This is because the determination in step S305 or step S312 in FIG. 10B is advanced to no and the zoom operation is terminated. When the remaining zoom drive amount clearing process is completed in step S406, the process proceeds to step S407 to stop the zoom currently being operated.

ステップS401〜S403の判定によって、FAズーム機能の現在のモードが手動探索モードの場合、または、自動追尾モードのフレームアウト防止制御のズームアウト動作中の場合、または、サイズ保持制御のズーム動作中で被写体が検出されない場合にはステップS405に進む。   As a result of the determination in steps S401 to S403, when the current mode of the FA zoom function is the manual search mode, when the zoom-out operation of the frame-out prevention control in the automatic tracking mode is being performed, or during the zoom operation of the size holding control If no subject is detected, the process proceeds to step S405.

ステップS405にて、FAズーム制御部122は、図10(A)のステップS301または図10(B)のステップS308で取得したズーム駆動量に基づき、各ズーム動作に応じた所定量分のズーム駆動量を駆動したか否かを判定する。所定のズーム駆動量を駆動していない場合には、再度ステップS400に進み、ズーム停止の判定を継続する。所定のズーム駆動量を駆動した場合には、ステップS407に進み、動作中のズームを停止させる。   In step S405, the FA zoom control unit 122 performs a predetermined amount of zoom driving based on the zoom driving amount acquired in step S301 of FIG. 10A or step S308 of FIG. 10B. Determine whether the amount has been driven. When the predetermined zoom drive amount is not driven, the process proceeds to step S400 again, and the zoom stop determination is continued. If the predetermined zoom drive amount is driven, the process proceeds to step S407, and the zoom in operation is stopped.

以上説明したように、本実施形態では、FAズーム機能のモードや、自動追尾モードにおける制御状態、被写体の検出状態等に基づいてズーム動作の開始及び停止判定を行う。これにより、被写体のフレームアウト防止制御と被写体のサイズ維持制御を両立させることができ、撮影者の画角合わせを容易にすることが可能となる。   As described above, in this embodiment, the start and stop of the zoom operation are determined based on the FA zoom function mode, the control state in the automatic tracking mode, the subject detection state, and the like. As a result, it is possible to achieve both the subject frame-out prevention control and the subject size maintenance control, and to easily adjust the angle of view of the photographer.

(他の実施形態)
本発明の目的は以下のようにしても達成できる。すなわち、前述した実施形態の機能を実現するための手順が記述されたソフトウェアのプログラムコードを記録した記憶媒体を、システムまたは装置に供給する。そしてそのシステムまたは装置のコンピュータ(またはCPU、MPU等)が記憶媒体に格納されたプログラムコードを読み出して実行する。この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体およびプログラムは本発明を構成することになる。
(Other embodiments)
The object of the present invention can also be achieved as follows. That is, a storage medium in which a program code of software in which a procedure for realizing the functions of the above-described embodiments is described is recorded is supplied to the system or apparatus. A computer (or CPU, MPU, etc.) of the system or apparatus reads out and executes the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium and program storing the program code constitute the present invention.

また、プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスクなどが挙げられる。また、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD−R、磁気テープ、不揮発性のメモリカード、ROM等も用いることができる。   Examples of the storage medium for supplying the program code include a flexible disk, a hard disk, an optical disk, and a magneto-optical disk. Further, a CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD-R, magnetic tape, nonvolatile memory card, ROM, or the like can also be used.

また、コンピュータが読み出したプログラムコードを実行可能とすることにより、前述した各実施形態の機能が実現される。さらに、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した各実施形態の機能が実現される場合も含まれる。   Further, by making the program code read by the computer executable, the functions of the above-described embodiments are realized. Furthermore, when the OS (operating system) running on the computer performs part or all of the actual processing based on the instruction of the program code, the functions of the above-described embodiments are realized by the processing. Is also included.

更に、以下の場合も含まれる。まず記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行う。   Furthermore, the following cases are also included. First, the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, based on the instruction of the program code, the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing.

また、本発明はデジタルカメラのような撮影を主目的とした機器に限定されず、携帯電話、パーソナルコンピュータ(ラップトップ型、デスクトップ型、タブレット型など)、ゲーム機など、撮像装置を内蔵もしくは外部接続する任意の機器に適用可能である。従って、本明細書における「撮像装置」は、撮像機能を備えた任意の電子機器を包含することが意図されている。   Further, the present invention is not limited to a device mainly intended for shooting such as a digital camera, and includes an imaging device such as a mobile phone, a personal computer (laptop type, desktop type, tablet type, etc.), a game machine, or the like. Applicable to any device to be connected. Therefore, the “imaging device” in this specification is intended to include any electronic device having an imaging function.

以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。適用するシーンとして、静止画撮影のための画角合わせ中のみでなく、動画記録中の画角合わせの際に実施しても構わない。   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. 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.

100 デジタルカメラ
102 ズームレンズ
109 表示部
113 ズームレンズ駆動部
117 操作部
118 メモリ
119 CZ制御部
120 電子ズーム制御部
122 FAズーム制御部
123 被写体検出部
DESCRIPTION OF SYMBOLS 100 Digital camera 102 Zoom lens 109 Display part 113 Zoom lens drive part 117 Operation part 118 Memory 119 CZ control part 120 Electronic zoom control part 122 FA zoom control part 123 Subject detection part

Claims (26)

ユーザがズーム動作を指示するための操作部と、
画像から被写体を検出する被写体検出手段と、
前記操作部の操作に応じてズーム動作を制御する制御手段とを有し、
前記制御手段は、被写体の位置に基づいてズーム動作を制御する第1のモードと、被写体の大きさに基づいてズーム動作を制御する第2のモードとを実行可能であって、前記制御手段は、前記第1のモードで広角側へのズーム動作を行ってから望遠側へのズーム動作を完了するまでの間、前記第2のモードの実行を制限することを特徴とする撮像装置。
An operation unit for a user to instruct a zoom operation;
Subject detection means for detecting a subject from an image;
Control means for controlling the zoom operation according to the operation of the operation unit,
The control means can execute a first mode for controlling the zoom operation based on the position of the subject, and a second mode for controlling the zoom operation based on the size of the subject. The imaging apparatus is characterized in that execution of the second mode is restricted from when the zoom operation to the wide angle side is performed in the first mode until the zoom operation to the telephoto side is completed.
前記制御手段は、
第1のモードにおいて広角側へズーム動作を行う場合、
前記被写体検出手段によって検出された前記被写体の大きさに基づいて変更されるズームアウト駆動量分、ズームアウト動作を行うことを特徴とする請求項1に記載の撮像装置。
The control means includes
When zooming to the wide angle side in the first mode,
The imaging apparatus according to claim 1, wherein the zoom-out operation is performed by a zoom-out drive amount that is changed based on the size of the subject detected by the subject detection unit.
ユーザがズーム動作を指示するための操作部と、
画像から被写体を検出する被写体検出手段と、
前記操作部の操作に応じてズーム動作を制御する制御手段とを有し、
前記制御手段が被写体の位置に基づいてズーム動作を制御する第1のモードと、被写体の大きさに基づいてズーム動作を制御する第2のモードを実行可能であって、
前記制御手段は、前記被写体検出手段による被写体の検出状態とズーム動作の制御状態との少なくともいずれかに基づいて、ズーム動作の開始及び停止の条件を変更し、第1のモードにおいて広角側へズーム動作を行う場合、
前記被写体検出手段によって検出された前記被写体の大きさに基づいて変更されるズームアウト駆動量分、ズームアウト動作を行うことを特徴とする撮像装置。
An operation unit for a user to instruct a zoom operation;
Subject detection means for detecting a subject from an image;
Control means for controlling the zoom operation according to the operation of the operation unit,
The control means can execute a first mode in which a zoom operation is controlled based on the position of the subject, and a second mode in which the zoom operation is controlled based on the size of the subject,
The control unit changes a zoom operation start / stop condition based on at least one of a subject detection state and a zoom operation control state by the subject detection unit, and zooms to a wide angle side in the first mode. When performing an action,
An image pickup apparatus that performs a zoom-out operation by a zoom-out drive amount that is changed based on the size of the subject detected by the subject detection unit.
前記ズームアウト駆動量は、前記被写体検出手段によって検出された前記被写体の大きさが第1の大きさの場合よりも、前記第1の大きさよりも小さい第2の大きさの場合のほうが小さいことを特徴とする請求項2または3に記載の撮像装置。   The zoom-out drive amount is smaller in the case of the second size smaller than the first size than in the case where the size of the subject detected by the subject detection means is the first size. The imaging apparatus according to claim 2 or 3, wherein 前記第2のモードにおいて、前記制御手段は、前記被写体検出手段により検出された被写体のサイズが基準サイズに対して所定の変化量を超えて変化した場合、当該被写体のサイズが前記基準サイズに近づく方向にズーム位置を移動するよう制御することを特徴とする請求項1乃至4のいずれか1項に記載の撮像装置。   In the second mode, when the size of the subject detected by the subject detection unit changes beyond a predetermined change amount with respect to the reference size, the control unit approaches the size of the subject. The imaging apparatus according to claim 1, wherein the image pickup apparatus is controlled to move the zoom position in a direction. 前記第2のモードにおいて、前記制御手段は、前記被写体検出手段により検出された被写体の向きに応じてズーム動作の開始条件を変更することを特徴とする請求項5に記載の撮像装置。   6. The imaging apparatus according to claim 5, wherein, in the second mode, the control unit changes a start condition of a zoom operation according to a direction of the subject detected by the subject detection unit. ユーザがズーム動作を指示するための操作部と、
画像から被写体を検出する被写体検出手段と、
前記操作部の操作に応じてズーム動作を制御する制御手段とを有し、
前記制御手段が被写体の位置に基づいてズーム動作を制御する第1のモードと、被写体の大きさに基づいてズーム動作を制御する第2のモードを実行可能であって、
前記制御手段は前記第2のモードにおいて、
前記被写体検出手段により検出された被写体のサイズが基準サイズに対して所定の変化量を超えて変化した場合、当該被写体のサイズが前記基準サイズに近づく方向にズーム位置を移動するよう制御を行い、且つ、前記被写体検出手段により検出された被写体の向きに応じてズーム動作の開始条件を変更することを特徴とする撮像装置。
An operation unit for a user to instruct a zoom operation;
Subject detection means for detecting a subject from an image;
Control means for controlling the zoom operation according to the operation of the operation unit,
The control means can execute a first mode in which a zoom operation is controlled based on the position of the subject, and a second mode in which the zoom operation is controlled based on the size of the subject,
The control means is in the second mode,
When the size of the subject detected by the subject detection unit changes beyond a predetermined change amount with respect to a reference size, control is performed so that the zoom position is moved in a direction in which the size of the subject approaches the reference size, An image pickup apparatus characterized in that a zoom operation start condition is changed in accordance with the direction of the subject detected by the subject detection means.
前記第2のモードでズーム動作を行っている際に、前記被写体検出手段により被写体が検出されなかった場合、前記制御手段は、所定量分のズーム動作を行ってからズーム動作を停止するよう制御することを特徴とする請求項5乃至7のいずれか1項に記載の撮像装置。   When the subject is not detected by the subject detection means during the zoom operation in the second mode, the control means controls to stop the zoom operation after performing a zoom operation for a predetermined amount. The image pickup apparatus according to claim 5, wherein the image pickup apparatus is an image pickup apparatus. ユーザがズーム動作を指示するための操作部と、
画像から被写体を検出する被写体検出手段と、
前記操作部の操作に応じてズーム動作を制御する制御手段とを有し、
前記制御手段が被写体の位置に基づいてズーム動作を制御する第1のモードと、被写体の大きさに基づいてズーム動作を制御する第2のモードを実行可能であって、
前記制御手段は、前記第2のモードにおいて、
前記被写体検出手段により検出された被写体のサイズが基準サイズに対して所定の変化量を超えて変化した場合、当該被写体のサイズが前記基準サイズに近づく方向にズーム位置を移動するよう制御を行い、前記第2のモードでズーム動作を行っている際に、前記被写体検出手段により被写体が検出されなかった場合、所定量分のズーム動作を行ってからズーム動作を停止するよう制御することを特徴とする撮像装置。
An operation unit for a user to instruct a zoom operation;
Subject detection means for detecting a subject from an image;
Control means for controlling the zoom operation according to the operation of the operation unit,
The control means can execute a first mode in which a zoom operation is controlled based on the position of the subject, and a second mode in which the zoom operation is controlled based on the size of the subject,
The control means in the second mode,
When the size of the subject detected by the subject detection unit changes beyond a predetermined change amount with respect to a reference size, control is performed so that the zoom position is moved in a direction in which the size of the subject approaches the reference size, When performing a zoom operation in the second mode, if no subject is detected by the subject detection means, control is performed to stop the zoom operation after performing a zoom operation for a predetermined amount. An imaging device.
前記第2のモードにおいて、前記被写体検出手段により検出された被写体のサイズが前記基準サイズに対して所定の変化量を超えて小さく変化した場合、前記制御手段は、さらに当該被写体が画像内の第3の領域に包含されたら、ズーム位置を望遠側に移動するよう制御することを特徴とする請求項5乃至9のいずれか1項に記載の撮像装置。   In the second mode, when the size of the subject detected by the subject detection unit changes slightly beyond a predetermined change amount with respect to the reference size, the control unit further includes the subject in the image. 10. The image pickup apparatus according to claim 5, wherein the zoom position is controlled to move to the telephoto side when included in the region 3. 前記第2のモードにおいて、前記被写体検出手段により検出された被写体の向きに応じて、前記被写体検出手段により検出された被写体のサイズを所定の倍率分変更することを特徴とする請求項5乃至10のいずれか1項に記載の撮像装置。   11. In the second mode, the size of the subject detected by the subject detection unit is changed by a predetermined magnification according to the direction of the subject detected by the subject detection unit. The imaging device according to any one of the above. 前記第2のモードにおいて、前記被写体検出手段により検出された被写体の向きが所定の角度よりも大きい場合、前記被写体検出手段により検出された被写体のサイズが前記基準サイズに対して前記所定の変化量を超えて変化しても、ズーム位置を移動するよう制御しないことを特徴とする請求項5乃至11のいずれか1項に記載の撮像装置。   In the second mode, when the direction of the subject detected by the subject detection unit is larger than a predetermined angle, the size of the subject detected by the subject detection unit is the predetermined change amount with respect to the reference size. The imaging apparatus according to any one of claims 5 to 11, wherein control is not performed so as to move the zoom position even if the zoom position is changed beyond. 前記第2のモードでズーム動作を行っている際に、前記被写体検出手段により検出された被写体のサイズが前記基準サイズに対して前記所定の変化量以内になった場合、前記制御手段は、ズーム動作を停止するよう制御することを特徴とする請求項5乃至12のいずれか1項に記載の撮像装置。   When performing the zoom operation in the second mode, if the size of the subject detected by the subject detection means falls within the predetermined change amount with respect to the reference size, the control means The imaging apparatus according to claim 5, wherein the imaging apparatus is controlled to stop the operation. 前記制御手段は、前記被写体検出手段により検出された被写体が画像内に設定された第1の領域外に含まれる場合、前記第1のモードを実行することを特徴とする請求項1乃至13のいずれか1項に記載の撮像装置。   14. The control unit according to claim 1, wherein the control unit executes the first mode when the subject detected by the subject detection unit is included outside the first region set in the image. The imaging device according to any one of the above. 前記第1のモードにおいて、前記制御手段は、前記被写体検出手段により検出された被写体が画像内の第1の領域外に含まれる場合、ズーム位置を広角側の第1のズーム位置に移動するよう制御するとともに、ズーム移動前のズーム位置を第2のズーム位置に設定し、前記第1のズーム位置において、前記被写体検出手段により検出された被写体が画像内の第2の領域内に包含される場合、ズーム位置を前記第2のズーム位置に移動するよう制御することを特徴とする請求項1乃至14のいずれか1項に記載の撮像装置。   In the first mode, the control means moves the zoom position to the first zoom position on the wide angle side when the subject detected by the subject detection means is included outside the first region in the image. At the same time, the zoom position before the zoom movement is set to the second zoom position, and the subject detected by the subject detection means is included in the second region in the image at the first zoom position. In this case, the image pickup apparatus according to claim 1, wherein the zoom position is controlled to move to the second zoom position. 前記第1の領域は、前記撮像装置の姿勢または撮影状態に応じて変更されることを特徴とする請求項15に記載の撮像装置。   The imaging apparatus according to claim 15, wherein the first area is changed according to a posture or a shooting state of the imaging apparatus. 前記第2の領域は、前記撮像装置の姿勢または撮影状態に応じて変更されることを特徴とする請求項15又は16に記載の撮像装置。   The imaging device according to claim 15 or 16, wherein the second area is changed according to an attitude or a shooting state of the imaging device. 前記第1のモードで望遠側にズーム動作を行っている際に、前記被写体検出手段により被写体が検出されなかった場合、前記制御手段は、ズーム位置を前記第2のズーム位置に移動してからズーム動作を停止するよう制御することを特徴とする請求項15乃至17のいずれか1項に記載の撮像装置。   When the subject is not detected by the subject detection means during zooming to the telephoto side in the first mode, the control means moves the zoom position to the second zoom position. The image pickup apparatus according to claim 15, wherein control is performed so as to stop the zoom operation. 前記第1のモードでズーム動作を行っている際に、前記被写体検出手段により検出された被写体のサイズが基準サイズに対して所定の変化量以内になった場合、前記制御手段は、ズーム動作を停止するよう制御することを特徴とする請求項15乃至18のいずれか1項に記載の撮像装置。   When performing the zoom operation in the first mode, if the size of the subject detected by the subject detection unit falls within a predetermined change amount with respect to a reference size, the control unit performs the zoom operation. The imaging apparatus according to claim 15, wherein the imaging apparatus is controlled to stop. 前記制御手段は、前記操作部を介して第1の操作が行われた場合、前記第1のモード又は前記第2のモードのいずれかを実行し、前記操作部を介して前記第1の操作と異なる第2の操作が行われた場合、第3のモードを実行し、
前記第3のモードにおいて、前記制御手段は、前記第2の操作に応じてズーム位置を広角側に移動するとともに、移動前のズーム位置を第3のズーム位置に設定し、さらに第3の操作が行われたら、ズーム位置を前記第3のズーム位置に移動するよう制御することを特徴とする請求項1乃至19のいずれか1項に記載の撮像装置。
When the first operation is performed via the operation unit, the control unit executes either the first mode or the second mode, and performs the first operation via the operation unit. When a second operation different from that is performed, the third mode is executed,
In the third mode, the control means moves the zoom position to the wide-angle side according to the second operation, sets the zoom position before the movement to the third zoom position, and further performs the third operation. The image pickup apparatus according to any one of claims 1 to 19, wherein when the operation is performed, the zoom position is controlled to move to the third zoom position.
前記制御手段は、前記第1のモード又は前記第2のモードを実行中に前記操作部を介して前記第2の操作が行われた場合、前記第3のモードを実行することを特徴とする請求項20に記載の撮像装置。   The control means executes the third mode when the second operation is performed via the operation unit during the execution of the first mode or the second mode. The imaging device according to claim 20. ユーザがズーム動作を指示するための操作部を有する撮像装置の制御方法であって、
画像から被写体を検出する被写体検出ステップと、
前記操作部の操作に応じてズーム動作を制御する制御ステップとを有し、
前記制御ステップにおいて、被写体の位置に基づいてズーム動作を制御する第1のモードと、被写体の大きさに基づいてズーム動作を制御する第2のモードを実行可能であって、前記第1のモードで広角側へのズーム動作を行ってから望遠側へのズーム動作を完了するまでの間、前記第2のモードの実行を制限することを特徴とする撮像装置の制御方法。
A method for controlling an imaging apparatus having an operation unit for a user to instruct a zoom operation,
A subject detection step for detecting the subject from the image;
A control step for controlling a zoom operation according to an operation of the operation unit,
In the control step, a first mode for controlling the zoom operation based on the position of the subject and a second mode for controlling the zoom operation based on the size of the subject can be executed. A control method for an image pickup apparatus, wherein execution of the second mode is limited from when the zoom operation to the wide angle side is completed until the zoom operation to the telephoto side is completed.
ユーザがズーム動作を指示するための操作部を有する撮像装置の制御方法であって、画像から被写体を検出する被写体検出ステップと、
前記操作部の操作に応じてズーム動作を制御する制御ステップとを有し、
前記制御ステップにおいて、被写体の位置に基づいてズーム動作を制御する第1のモードと、被写体の大きさに基づいてズーム動作を制御する第2のモードを実行可能であって、前記被写体検出ステップによる被写体の検出状態とズーム動作の制御状態との少なくともいずれかに基づいて、ズーム動作の開始及び停止の条件を変更し、
前記第1のモードにおいて広角側へズーム動作を行う場合、
前記被写体検出ステップによって検出された前記被写体の大きさに基づいて変更されるズームアウト駆動量分、ズームアウト動作を行うことを特徴とする撮像装置の制御方法。
A method of controlling an imaging apparatus having an operation unit for a user to instruct a zoom operation, a subject detection step of detecting a subject from an image;
A control step for controlling a zoom operation according to an operation of the operation unit,
In the control step, a first mode for controlling the zoom operation based on the position of the subject and a second mode for controlling the zoom operation based on the size of the subject can be executed. Based on at least one of the object detection state and the zoom operation control state, the zoom operation start and stop conditions are changed,
When zooming to the wide angle side in the first mode,
A method for controlling an imaging apparatus, wherein a zoom-out operation is performed by a zoom-out drive amount that is changed based on the size of the subject detected in the subject detection step .
ユーザがズーム動作を指示するための操作部を有する撮像装置の制御方法であって、画像から被写体を検出する被写体検出ステップと、
前記操作部の操作に応じてズーム動作を制御する制御ステップとを有し、
前記制御ステップにおいて、被写体の位置に基づいてズーム動作を制御する第1のモードと、被写体の大きさに基づいてズーム動作を制御する第2のモードを実行可能であって、前記第2のモードにおいて、
前記被写体検出ステップにより検出された被写体のサイズが基準サイズに対して所定の変化量を超えて変化した場合、当該被写体のサイズが前記基準サイズに近づく方向にズーム位置を移動するよう制御を行い、且つ、前記被写体検出ステップにより検出された被写体の向きに応じてズーム動作の開始条件を変更することを特徴とする撮像装置の制御方法。
A method of controlling an imaging apparatus having an operation unit for a user to instruct a zoom operation, a subject detection step of detecting a subject from an image;
A control step for controlling a zoom operation according to an operation of the operation unit,
In the control step, a first mode for controlling the zoom operation based on the position of the subject and a second mode for controlling the zoom operation based on the size of the subject can be executed, and the second mode In
When the size of the subject detected by the subject detection step changes beyond a predetermined change amount with respect to the reference size, control is performed so that the zoom position is moved in a direction in which the size of the subject approaches the reference size, A control method for an image pickup apparatus, wherein the start condition of the zoom operation is changed according to the orientation of the subject detected in the subject detection step.
ユーザがズーム動作を指示するための操作部を有する撮像装置の制御方法であって、画像から被写体を検出する被写体検出ステップと、
前記操作部の操作に応じてズーム動作を制御する制御ステップとを有し、
前記制御ステップにおいて、被写体の位置に基づいてズーム動作を制御する第1のモードと、被写体の大きさに基づいてズーム動作を制御する第2のモードを実行可能であって、前記第2のモードにおいて、
前記被写体検出ステップにより検出された被写体のサイズが基準サイズに対して所定の変化量を超えて変化した場合、当該被写体のサイズが前記基準サイズに近づく方向にズーム位置を移動するよう制御を行い、且つ、前記第2のモードでズーム動作を行っている際に、前記被写体検出ステップにより被写体が検出されなかった場合、所定量分のズーム動作を行ってからズーム動作を停止するように制御することを特徴とする撮像装置の制御方法。
A method of controlling an imaging apparatus having an operation unit for a user to instruct a zoom operation, a subject detection step of detecting a subject from an image;
A control step for controlling a zoom operation according to an operation of the operation unit,
In the control step, a first mode for controlling the zoom operation based on the position of the subject and a second mode for controlling the zoom operation based on the size of the subject can be executed, and the second mode In
When the size of the subject detected by the subject detection step changes beyond a predetermined change amount with respect to the reference size, control is performed so that the zoom position is moved in a direction in which the size of the subject approaches the reference size, In addition, when the zoom operation is performed in the second mode, if a subject is not detected by the subject detection step , the zoom operation is controlled after a predetermined amount of zoom operation is performed. A method for controlling an image pickup apparatus.
請求項22乃至25のいずれか1項に記載の撮像装置の制御方法をコンピュータに実行させるように構成されていることを特徴とする撮像装置の制御プログラム。 An image pickup apparatus control program configured to cause a computer to execute the image pickup apparatus control method according to any one of claims 22 to 25 .
JP2014008875A 2013-07-24 2014-01-21 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND IMAGING DEVICE CONTROL PROGRAM Active JP6335520B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014008875A JP6335520B2 (en) 2013-07-24 2014-01-21 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND IMAGING DEVICE CONTROL PROGRAM

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2013153788 2013-07-24
JP2013153788 2013-07-24
JP2014008875A JP6335520B2 (en) 2013-07-24 2014-01-21 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND IMAGING DEVICE CONTROL PROGRAM

Publications (3)

Publication Number Publication Date
JP2015043557A JP2015043557A (en) 2015-03-05
JP2015043557A5 JP2015043557A5 (en) 2017-02-23
JP6335520B2 true JP6335520B2 (en) 2018-05-30

Family

ID=52696890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014008875A Active JP6335520B2 (en) 2013-07-24 2014-01-21 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND IMAGING DEVICE CONTROL PROGRAM

Country Status (1)

Country Link
JP (1) JP6335520B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6500535B2 (en) * 2015-03-23 2019-04-17 カシオ計算機株式会社 Image processing apparatus, image processing method and program
JP6735583B2 (en) * 2016-03-17 2020-08-05 キヤノン株式会社 Zoom control device, imaging device and control method thereof, program, and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5309490B2 (en) * 2007-07-26 2013-10-09 カシオ計算機株式会社 Imaging device, subject tracking zooming method, and subject tracking zooming program
JP2010147925A (en) * 2008-12-19 2010-07-01 Sanyo Electric Co Ltd Imaging apparatus
JP5565041B2 (en) * 2010-03-30 2014-08-06 ソニー株式会社 Image processing apparatus and method, and program
JP5864938B2 (en) * 2011-07-25 2016-02-17 キヤノン株式会社 Imaging apparatus and control method thereof

Also Published As

Publication number Publication date
JP2015043557A (en) 2015-03-05

Similar Documents

Publication Publication Date Title
JP6429454B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND IMAGING DEVICE CONTROL PROGRAM
US10165191B2 (en) Image pickup apparatus having zoom function, method of controlling the same, and storage medium
US9344634B2 (en) Imaging apparatus having subject detection function, method for controlling the imaging apparatus, and storage medium
US10419683B2 (en) Zoom control device, imaging apparatus, control method of zoom control device, and recording medium
US9253410B2 (en) Object detection apparatus, control method therefor, image capturing apparatus, and storage medium
JP6436760B2 (en) Zoom control device, imaging device, control method for zoom control device, and control program for zoom control device
JP6366395B2 (en) Zoom control device, imaging device, control method for zoom control device, control program for subject detection device, and storage medium
JP6512897B2 (en) Zoom control device, control method of zoom control device
JP6370140B2 (en) Zoom control device, imaging device, control method for zoom control device, control program for zoom control device, and storage medium
CN110542975B (en) Zoom control device, image pickup apparatus, and control method of zoom control device
US11128805B2 (en) Zoom control device, zoom control method, control program, and imaging apparatus equipped with zoom control device
JP2021078154A (en) Zoom control device, imaging apparatus, control method of zoom control device, and control program of zoom control device
JP6188474B2 (en) Zoom control device, control method for zoom control device, control program for zoom control device, and storage medium
JP6463123B2 (en) Zoom control device, imaging device, control method for zoom control device, and control program for zoom control device
JP6335520B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND IMAGING DEVICE CONTROL PROGRAM
JP6224925B2 (en) Control device and angle of view control method
JP6289207B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, IMAGING DEVICE CONTROL PROGRAM, AND STORAGE MEDIUM
JP6188455B2 (en) Control apparatus, imaging system, angle of view control method, program, and storage medium
JP6437066B2 (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

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170120

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171025

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171031

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180123

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180320

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180501

R151 Written notification of patent or utility model registration

Ref document number: 6335520

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151