JP2020052400A - Zoom control device and control method thereof - Google Patents

Zoom control device and control method thereof Download PDF

Info

Publication number
JP2020052400A
JP2020052400A JP2019170808A JP2019170808A JP2020052400A JP 2020052400 A JP2020052400 A JP 2020052400A JP 2019170808 A JP2019170808 A JP 2019170808A JP 2019170808 A JP2019170808 A JP 2019170808A JP 2020052400 A JP2020052400 A JP 2020052400A
Authority
JP
Japan
Prior art keywords
zoom
subject
display
focus
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019170808A
Other languages
Japanese (ja)
Other versions
JP7204622B2 (en
Inventor
勇祐 茂木
Yusuke Mogi
勇祐 茂木
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
Publication of JP2020052400A publication Critical patent/JP2020052400A/en
Application granted granted Critical
Publication of JP7204622B2 publication Critical patent/JP7204622B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a zoom control device capable of ensuring focus on a particular subject even when zooming and a control method thereof.SOLUTION: The zoom control device is configured to display a display that indicates the optical zoom position for focusing on a specific subject even when in a state out of focus on a specific subject on the basis of the defocus amount acquired for a focus detection area corresponding to the specific subject.SELECTED DRAWING: Figure 4

Description

本発明は、ズーム制御装置およびその制御方法に関する。   The present invention relates to a zoom control device and a control method thereof.

ズームレンズは、レンズを交換することなく、かつ連続的に画角を変化させることができるため、撮像装置を代表とする光学装置に広く用いられている。しかしながら、ズームレンズは、合焦可能な距離範囲、特に合焦可能な最短距離(最短撮影距離)が画角(焦点距離)に応じて変化する。そのため、例えば、広角端での最短撮影距離に合焦した状態で望遠端にズームすると、途中から合焦しなくなる。ズーム中に画像がぼけることは特に動画撮影時に問題となる。   The zoom lens is widely used in an optical device represented by an imaging device because the angle of view can be continuously changed without changing the lens. However, in the zoom lens, a focusable distance range, in particular, a focusable shortest distance (shortest shooting distance) changes according to an angle of view (focal length). Therefore, for example, when zooming to the telephoto end while focusing on the shortest photographing distance at the wide-angle end, focusing is stopped halfway. Blurring of an image during zooming is a problem particularly when shooting a moving image.

特許文献1には、ズームレンズの現在の焦点距離に応じて、合焦可能な距離範囲(被写体までの距離の範囲)を数値や指標によって表示することにより、合焦不能な距離の被写体に対してユーザが合焦操作することを回避させるカメラ装置が記載されている。   Patent Document 1 discloses that a focusable distance range (a range of a distance to a subject) is displayed by a numerical value or an index according to a current focal length of a zoom lens, so that a subject at a non-focusable distance is displayed. There is described a camera device for preventing a user from performing a focusing operation.

特開2006−47602号公報JP 2006-47602 A

特許文献1に記載された技術は、合焦可能な距離範囲を示すものであって、合焦可能なズーム倍率の範囲は考慮されていない。特許文献1では、現在合焦していない被写体について、どの程度までズームアップしても合焦させることが可能なのかを知ることはできない。   The technique described in Patent Literature 1 shows a focusable distance range, and does not consider a focusable zoom magnification range. In Patent Literature 1, it is impossible to know how far a subject that is not currently focused can be focused even when zoomed up.

本発明は上記課題に鑑み、特定の被写体について、ズームすることによって合焦させることができなくなることを抑制するズーム制御装置およびその制御方法を提供することを目的とする。   The present invention has been made in view of the above circumstances, and has as its object to provide a zoom control device and a control method thereof that suppress a situation in which a specific subject cannot be brought into focus by zooming.

上述の目的は、特定の被写体に対応する焦点検出領域についてのデフォーカス量を取得する取得手段と、ズーム指示に応じて光学ズームするように制御する制御手段と、取得手段が取得したデフォーカス量に基づき、特定の被写体に合焦していない状態においても、特定の被写体に合焦させることが可能な限界の光学ズーム位置である限界位置を示す表示を表示手段に表示するように制御する表示制御手段と、を有することを特徴とする、ズーム制御装置によって達成される。   The above object is achieved by an obtaining unit that obtains a defocus amount for a focus detection area corresponding to a specific subject, a control unit that controls optical zoom according to a zoom instruction, and a defocus amount that is obtained by the obtaining unit. A display that controls the display means to display, on the display means, a limit position that is a limit optical zoom position at which a specific subject can be focused even when the specific subject is not focused. Control means, and a zoom control device.

本発明によれば、特定の被写体について、ズームすることによって合焦させることができなくなることを抑制することができる。   According to the present invention, it is possible to prevent a specific subject from being unable to be focused by zooming.

本発明の実施形態に係るズーム制御装置を適用した撮像装置の機能構成例を示すブロック図FIG. 1 is a block diagram illustrating a functional configuration example of an imaging device to which a zoom control device according to an embodiment of the present invention has been applied. 同一の被写体距離に合焦するフォーカスレンズの位置と変倍レンズの位置との関係を示した図Diagram showing the relationship between the position of the focus lens and the position of the zoom lens that focus on the same subject distance 第1実施形態における限界ズーム倍率の表示動作に関するフローチャートFlowchart regarding display operation of limit zoom magnification in the first embodiment 第1実施形態における限界ズーム倍率の表示例に関する図FIG. 6 is a diagram illustrating a display example of a limit zoom magnification according to the first embodiment. 第2実施形態におけるズーム制御動作に関するフローチャートFlowchart for zoom control operation in the second embodiment

添付図面を参照して、本発明を例示的な実施形態に基づいて詳細に説明する。なお、ここでは本発明に係るズーム制御装置をデジタルカメラのような撮像装置に適用した実施形態について説明する。しかし、本発明はズームレンズのズームアップ(ズームイン)およびズームダウン(ズームアウト)を指示が可能な任意の電子機器に適用可能である。このような電子機器には、デジタル(ビデオ)カメラ、監視または観測カメラシステム、カメラ付きインターフォンシステムをはじめ、コンピュータ機器、携帯電話機、ゲーム機、ロボット、ドローン、ドライブレコーダが含まれる。また、撮影機能は必須でなく、望遠鏡、顕微鏡などにも適用可能である。以下において被写体と記載しているものは、撮影機能を有さない望遠鏡や顕微鏡などの装置においては、撮影の対象ではなく、画角内の観測対象と言うことができる。なお、ここで列挙したシステムや機器は単なる例示であり、本発明を適用可能な対象を限定するものではない。   The present invention will be described in detail based on exemplary embodiments with reference to the accompanying drawings. Here, an embodiment in which the zoom control device according to the present invention is applied to an imaging device such as a digital camera will be described. However, the present invention is applicable to any electronic device capable of instructing zoom up (zoom in) and zoom down (zoom out) of a zoom lens. Such electronic devices include digital (video) cameras, surveillance or observation camera systems, camera intercom systems, as well as computer devices, mobile phones, game consoles, robots, drones, and drive recorders. Further, a photographing function is not essential, and the present invention can be applied to a telescope, a microscope, and the like. In the following, what is described as a subject is not an object to be photographed but an observation object within an angle of view in an apparatus such as a telescope or a microscope having no photographing function. The systems and devices listed here are merely examples, and do not limit the scope of the present invention.

<第1実施形態>
<装置の構成>
図1は、本発明の実施形態に係る撮像装置100の機能構成例を示すブロック図である。レンズユニット101は、第1固定レンズ102、変倍レンズ103、絞り104、第2固定レンズ105、フォーカスレンズ106、変倍レンズ駆動部107、およびフォーカスレンズ駆動部108を有する。レンズユニット101は防振レンズなど、他のレンズを含んでもよい。第1固定レンズ102、変倍レンズ103、第2固定レンズ105、フォーカスレンズ106はそれぞれ1枚または複数枚のレンズにより構成される。レンズユニット101は焦点距離が可変のズームレンズであり、撮像装置100と一体であっても、撮像装置100の本体から着脱可能な交換レンズであってもよい。
<First embodiment>
<Apparatus configuration>
FIG. 1 is a block diagram illustrating a functional configuration example of an imaging device 100 according to an embodiment of the present invention. The lens unit 101 includes a first fixed lens 102, a variable power lens 103, an aperture 104, a second fixed lens 105, a focus lens 106, a variable power lens driving unit 107, and a focus lens driving unit 108. The lens unit 101 may include another lens such as an anti-vibration lens. Each of the first fixed lens 102, the variable power lens 103, the second fixed lens 105, and the focus lens 106 is composed of one or more lenses. The lens unit 101 is a zoom lens with a variable focal length, and may be integrated with the imaging device 100 or may be an interchangeable lens that is detachable from the main body of the imaging device 100.

レンズユニット101が有するレンズのうち、変倍レンズ103およびフォーカスレンズ106は光軸方向の所定範囲内で移動可能に構成されている。変倍レンズ駆動部107は、変倍レンズ103を光軸方向に移動させ、レンズユニット101の焦点距離を光学的に変化させる光学ズーム機能を実現する。また、フォーカスレンズ駆動部108は、フォーカスレンズ106を光軸方向に移動させ、レンズユニット101が合焦する被写体距離を調節する焦点調節機能や、光学ズームに伴う焦点面の移動を補正する補正機能を実現する。   Among the lenses included in the lens unit 101, the variable power lens 103 and the focus lens 106 are configured to be movable within a predetermined range in the optical axis direction. The variable power lens driving unit 107 realizes an optical zoom function of moving the variable power lens 103 in the optical axis direction and optically changing the focal length of the lens unit 101. Further, the focus lens driving unit 108 moves the focus lens 106 in the optical axis direction to adjust a subject distance at which the lens unit 101 focuses, and a correction function to correct a focal plane shift accompanying optical zoom. To achieve.

変倍レンズ駆動部107およびフォーカスレンズ駆動部108はそれぞれ、駆動対象のレンズを駆動するためのアクチュエータ(ステッピングモータ、DCモータ、振動型モータ、およびボイスコイルモータなど)を有する。また変倍レンズ駆動部107およびフォーカスレンズ駆動部108は、駆動対象のレンズの位置を検出するための回路(センサなど)も有する。   Each of the variable-magnification lens driving unit 107 and the focus lens driving unit 108 has an actuator (a stepping motor, a DC motor, a vibration motor, a voice coil motor, and the like) for driving a lens to be driven. The variable-magnification lens driving unit 107 and the focus lens driving unit 108 also have a circuit (such as a sensor) for detecting the position of the lens to be driven.

透過ミラー125は光束を2つに分岐し、光束を撮像素子109および測距センサ126へ結像させることができる。
測距センサ126は例えば位相差センサであり、入射した光束を2つに分岐して位相差センサに結像させ、2つの画像の間隔からピントがずれている方向と量(デフォーカス量)を求めることができる。システム制御部114は、フォーカスレンズ駆動部108を制御し、フォーカスレンズ106を、デフォーカス量に基づく方向および量、現在位置から移動させて、位相差検出方式の自動焦点検出(オートフォーカス、AF)を実現する。
透過ミラー125および測距センサ126は、レンズユニット101に含まれていてもよく、撮像装置100とレンズユニット101の間に装着する所謂マウントアダプターであってもよい。
The transmission mirror 125 splits the light beam into two, and can form the image on the image sensor 109 and the distance measurement sensor 126.
The distance measurement sensor 126 is, for example, a phase difference sensor, and divides the incident light beam into two, forms an image on the phase difference sensor, and determines the direction and amount (defocus amount) of defocus from the interval between the two images. You can ask. The system control unit 114 controls the focus lens driving unit 108 to move the focus lens 106 from the current position and the direction based on the defocus amount, and to perform automatic focus detection (autofocus, AF) using the phase difference detection method. To achieve.
The transmission mirror 125 and the distance measurement sensor 126 may be included in the lens unit 101, or may be a so-called mount adapter mounted between the imaging device 100 and the lens unit 101.

撮像素子109は例えばCCDイメージセンサやCMOSイメージセンサであり、2次元配置された複数の画素や、画素が有する光電変換部が蓄積した電荷を電圧に変換して読み出すための垂直および水平走査回路、タイミングジェネレータなどを有する。撮像素子109は、レンズユニット101が形成する被写体の光学像を複数の画素によって電気信号群に変換してアナログ画像信号として出力する。なお、撮像素子109がA/D変換機能を有してもよい。   The image sensor 109 is, for example, a CCD image sensor or a CMOS image sensor, and includes a plurality of two-dimensionally arranged pixels and a vertical and horizontal scanning circuit for converting electric charges accumulated by a photoelectric conversion unit included in the pixels into a voltage and reading the voltage. It has a timing generator and the like. The image sensor 109 converts an optical image of the subject formed by the lens unit 101 into a group of electric signals by a plurality of pixels and outputs the group as an analog image signal. Note that the imaging element 109 may have an A / D conversion function.

なお、本実施形態の撮像素子109は、画素ごとに1つのマイクロレンズと、水平または垂直方向に分割された2つの光電変換部を有する。そして、光電変換部ごとに信号を読み出すことができる。   Note that the imaging element 109 of the present embodiment has one microlens for each pixel and two photoelectric conversion units divided in the horizontal or vertical direction. Then, a signal can be read for each photoelectric conversion unit.

撮像素子109から読み出された画像信号は、画像処理部110に入力される。画像処理部110は、画像信号に対し、A/D変換、ノイズ抑制、ホワイトバランス調整、画素補間(デモザイキング)、リサイズ、色変換、階調補正、符号化、復号などの画像処理を適用する。また、画像処理部110は、画像データに対し、顔や人体といった特定の被写体が含まれる領域の検出や認識、追尾といった処理を適用してもよい。画像処理部110は、処理を適用した画像データをメモリ制御部111に出力する。メモリ制御部111は画像データをメモリ112に格納する。   The image signal read from the image sensor 109 is input to the image processing unit 110. The image processing unit 110 applies image processing such as A / D conversion, noise suppression, white balance adjustment, pixel interpolation (demosaicing), resize, color conversion, gradation correction, encoding, and decoding to an image signal. . Further, the image processing unit 110 may apply processing such as detection, recognition, and tracking of an area including a specific subject such as a face or a human body to the image data. The image processing unit 110 outputs the image data to which the processing has been applied to the memory control unit 111. The memory control unit 111 stores the image data in the memory 112.

また、画像処理部110は、画像データから自動焦点検出(AF)や自動露出制御(AE)に用いる評価値を生成し、システム制御部114に供給することができる。これら評価値を用いてシステム制御部114は、AFおよび/またはAE処理を実行することができる。例えば画像処理部110は、複数の画素から読み出した信号に基づいて、一方の光電変換部の信号群と、他方の光電変換部の信号群とを取得し、1対の像信号を生成する。画像処理部110は、この1対の像信号からレンズユニット101のデフォーカス量を求め、AF評価値としてシステム制御部114に出力する。システム制御部114は、フォーカスレンズ駆動部108を制御し、フォーカスレンズ106を、デフォーカス量に基づく方向および量、現在位置から移動させて、位相差検出方式の自動焦点検出(AF)を実現する。すなわち、システム制御部114は、いわゆる撮像面位相差AFを実施することができる。撮像面位相差AFの詳細については、例えば特開2010−28397号公報に開示されている。   Further, the image processing unit 110 can generate an evaluation value used for automatic focus detection (AF) and automatic exposure control (AE) from the image data and supply the evaluation value to the system control unit 114. Using these evaluation values, the system control unit 114 can execute AF and / or AE processing. For example, the image processing unit 110 acquires a signal group of one photoelectric conversion unit and a signal group of the other photoelectric conversion unit based on signals read from a plurality of pixels, and generates a pair of image signals. The image processing unit 110 obtains the defocus amount of the lens unit 101 from the pair of image signals, and outputs the defocus amount to the system control unit 114 as an AF evaluation value. The system control unit 114 controls the focus lens drive unit 108 to move the focus lens 106 in a direction and an amount based on the defocus amount and from the current position, thereby realizing a phase difference detection type automatic focus detection (AF). . That is, the system control unit 114 can perform so-called imaging plane phase difference AF. Details of the imaging surface phase difference AF are disclosed in, for example, Japanese Patent Application Laid-Open No. 2010-28397.

あるいは、画像処理部110は、撮像素子109から得られる画像信号についてコントラスト評価値を生成し、AF評価値としてシステム制御部114に出力することができる。システム制御部114は、フォーカスレンズ駆動部108を制御し、フォーカスレンズ106の複数の位置に対するコントラスト評価値を取得し、コントラスト評価値が最大となるフォーカスレンズ106の位置を探索する。これにより、システム制御部114は、コントラスト方式のAFを実現することもできる。   Alternatively, the image processing unit 110 can generate a contrast evaluation value for an image signal obtained from the imaging element 109 and output the contrast evaluation value to the system control unit 114 as an AF evaluation value. The system control unit 114 controls the focus lens driving unit 108, acquires contrast evaluation values for a plurality of positions of the focus lens 106, and searches for a position of the focus lens 106 at which the contrast evaluation value is maximum. Thereby, the system control unit 114 can also realize a contrast AF.

画像処理部110はまた、画像の一部を抽出したり拡大したりすることにより、電子ズーム機能を実現する。画像処理部110は、システム制御部114の指示に基づいて、メモリ112に格納されている画像データの部分領域を抽出し、さらに必要に応じて拡大処理を適用することによって電子ズーム機能を実現することができる。なお、抽出する領域の大きさをフレームごとに徐々に拡大または縮小することにより、滑らかな電子ズーム効果を得ることができる。   The image processing unit 110 also implements an electronic zoom function by extracting or enlarging a part of the image. The image processing unit 110 implements an electronic zoom function by extracting a partial area of the image data stored in the memory 112 based on an instruction from the system control unit 114, and further applying an enlargement process as necessary. be able to. Note that a smooth electronic zoom effect can be obtained by gradually enlarging or reducing the size of the region to be extracted for each frame.

メモリ制御部111は、メモリ112に対するアクセスを制御する。メモリ112は、画像処理部110で処理する画像データ、処理中の画像データ、処理済みの画像データや、表示部113に表示するための画像データなどを格納するために用いられる。メモリ112は、所定時間分の動画および音声データと、その付属データ(座標など)を格納できる記録容量を有する。また、メモリ112はOSD表示用のフレームバッファおよび画像表示用のフレームバッファを兼ねている。システム制御部114または画像処理部110は、不揮発性メモリ117に記憶されているアイコンなどのGUIパーツの画像データや、設定値や各種の情報などを表す画像データを、メモリ112のOSD表示用のフレームバッファの所定位置に書き込む。画像表示用のフレームバッファの内容とOSD表示用のフレームバッファの内容を合成した画像のビデオ信号を表示部113で表示することにより、例えば撮影中の動画にGUIパーツや設定値などが重畳された表示がなされる。   The memory control unit 111 controls access to the memory 112. The memory 112 is used to store image data to be processed by the image processing unit 110, image data being processed, processed image data, image data to be displayed on the display unit 113, and the like. The memory 112 has a recording capacity capable of storing moving image and audio data for a predetermined period of time and its accompanying data (such as coordinates). The memory 112 also serves as a frame buffer for OSD display and a frame buffer for image display. The system control unit 114 or the image processing unit 110 converts image data of GUI parts such as icons stored in the non-volatile memory 117 and image data representing set values and various information into an OSD display of the memory 112. Write to a predetermined position in the frame buffer. By displaying a video signal of an image obtained by combining the contents of the frame buffer for image display and the contents of the frame buffer for OSD display on the display unit 113, for example, GUI parts and setting values are superimposed on a moving image being shot. The display is made.

表示部113は、LCDなどの表示装置を有し、メモリ112のフレームバッファに記憶されたデータからビデオ信号を生成し、表示装置で表示する。表示部113はタッチパネル機能を備えたタッチディスプレイであってもよい。動画像を撮影しながら表示部113に順次表示することで、表示部113をEVFとして機能させることができる。表示部113で表示可能な情報に特に制限はないが、変倍レンズ103の光学ズーム倍率またはレンズユニット101の焦点距離や、焦点検出領域を示すAF枠、後述する、合焦可能な距離範囲を示すGUIなどがある。なお、表示部113とは別に、あるいは表示部113の代わりに、例えば外部I/F123を通じて通信可能な外部の表示装置に表示を行ってもよい。この場合、外部の表示装置に送信するデータは、表示用の画像データであってもよいし、ビデオ信号であってもよい。   The display unit 113 has a display device such as an LCD, generates a video signal from data stored in the frame buffer of the memory 112, and displays the video signal on the display device. The display unit 113 may be a touch display having a touch panel function. By sequentially displaying the moving image on the display unit 113 while capturing the moving image, the display unit 113 can function as an EVF. Although there is no particular limitation on the information that can be displayed on the display unit 113, the optical zoom magnification of the variable power lens 103, the focal length of the lens unit 101, the AF frame indicating the focus detection area, and the focusable distance range described later There is a GUI shown. The display may be performed separately from the display unit 113 or instead of the display unit 113, for example, on an external display device that can communicate via the external I / F 123. In this case, the data to be transmitted to the external display device may be display image data or a video signal.

不揮発性メモリ117は、電気的に消去・記録可能なEEPROMなどであってよい。不揮発性メモリ117には、システム制御部114が実行するプログラム、プログラムの実行に必要な定数、設定値、GUIデータ、撮像装置100の固有情報などが記憶される。   The nonvolatile memory 117 may be an electrically erasable / recordable EEPROM or the like. The non-volatile memory 117 stores a program executed by the system control unit 114, constants necessary for executing the program, set values, GUI data, unique information of the imaging apparatus 100, and the like.

システム制御部114は、少なくとも1つのプログラマブルプロセッサまたは少なくとも1つの回路を有する。システム制御部114は、不揮発性メモリ117に記録されたプログラムをシステムメモリ116にロードして実行することにより、撮像装置100の各部や、接続された外部装置の動作を制御する。本実施形態に係るズーム制御装置はシステム制御部114が実現する。システムメモリ116は、例えばRAMであり、システム制御部114が実行するプログラムやプログラムを実行するため定数、変数などを記憶する。システムメモリ116とメモリ112とは同じメモリ空間の別領域であってもよい。システムタイマー115は内蔵時計の時刻を取得したり、経過時間を計測したりする。   The system control unit 114 has at least one programmable processor or at least one circuit. The system control unit 114 controls the operation of each unit of the imaging apparatus 100 and the connected external device by loading the program recorded in the nonvolatile memory 117 into the system memory 116 and executing the program. The system control unit 114 realizes the zoom control device according to the present embodiment. The system memory 116 is, for example, a RAM, and stores a program executed by the system control unit 114 and constants, variables, and the like for executing the program. The system memory 116 and the memory 112 may be different areas in the same memory space. The system timer 115 acquires the time of the internal clock and measures the elapsed time.

電源制御部118は、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路などを有する。電源制御部118は、電池やACアダプタの装着状態、電池の種類、電池残量など、電源部119に関する情報を検出する。また、電源制御部118は電源部119に関する検出結果およびシステム制御部114の指示に基づいてDC−DCコンバータを制御し、電力の供給先や供給する電圧などを制御する。電源部119は、アルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、ACアダプタなどであってよい。   The power control unit 118 includes a battery detection circuit, a DC-DC converter, a switch circuit for switching a block to be energized, and the like. The power supply control unit 118 detects information about the power supply unit 119, such as the mounting state of the battery and the AC adapter, the type of battery, and the remaining battery level. In addition, the power supply control unit 118 controls the DC-DC converter based on the detection result regarding the power supply unit 119 and the instruction of the system control unit 114, and controls a power supply destination, a supply voltage, and the like. The power supply unit 119 may be a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery, a Li battery, or an AC adapter.

操作部120は、ユーザからの操作を受け付ける入力部材の総称である。操作部120が有する代表的な入力部材としてはボタン、キー、ダイヤル、タッチセンサ、レバー、スライドスイッチ、ジョイスティック、回転リングなどがあるが、これらに限定されない。操作部120が有する入力部材は、割り当てられた機能により、メニューボタン、方向キー、決定ボタン、戻る(キャンセル)ボタン、シャッタボタン、動画撮影ボタン、電源スイッチなどとして用いられる。   The operation unit 120 is a general term for an input member that receives an operation from a user. Representative input members of the operation unit 120 include, but are not limited to, buttons, keys, dials, touch sensors, levers, slide switches, joysticks, and rotating rings. The input member of the operation unit 120 is used as a menu button, a direction key, an enter button, a return (cancel) button, a shutter button, a moving image shooting button, a power switch, and the like according to the assigned function.

ズームレバー121およびタッチパネル122は、操作部120が含む操作部材の例である。ズームレバー121はレンズユニット101の倍率変更指示を入力する機能が割り当てられたレバーである。タッチパネル122は例えば表示部113に設けられてもよいし、表示部113とは別個に設けられてもよい。システム制御部114は、タッチパネル122に物体が接している(あるいは近接している)1つ以上の位置の座標を検出することができる。そのため、タッチパネル122は表示部113に表示される画像と組み合わせて所謂ソフトウェアスイッチを実現することができる。また、システム制御部114は、タッチパネル122に物体が接している位置の変化や接触状態の変化に基づいて、タッチパネル122に対するタップ、スライド、ピンチといったタッチ操作(ジェスチャ)を認識することができる。そして、認識可能なタッチ操作および/またはその組み合わせに対して、様々な機能を割り当てることできる   The zoom lever 121 and the touch panel 122 are examples of operation members included in the operation unit 120. The zoom lever 121 is a lever to which a function of inputting a magnification change instruction of the lens unit 101 is assigned. The touch panel 122 may be provided on the display unit 113, for example, or may be provided separately from the display unit 113. The system control unit 114 can detect the coordinates of one or more positions where the object touches (or approaches) the touch panel 122. Therefore, the touch panel 122 can realize a so-called software switch in combination with an image displayed on the display unit 113. Further, the system control unit 114 can recognize a touch operation (gesture) such as a tap, a slide, and a pinch on the touch panel 122 based on a change in a position where an object is in contact with the touch panel 122 or a change in a contact state. Then, various functions can be assigned to the recognizable touch operation and / or a combination thereof.

システム制御部114は、操作部120に含まれる入力部材の操作を検出すると、その時点でその操作に割り当てられている機能を実現するように各部を制御する。例えば、メニュー表示機能が割り当てられたボタン(メニューボタン)が押されると、システム制御部114は、各種の設定を行うためのメニュー画面を表示部113に表示させる。ユーザは、メニュー画面を見ながら、方向ボタンや決定ボタン、戻るボタンなどを用い、各種の設定を行うことができる。   When the operation of the input member included in the operation unit 120 is detected, the system control unit 114 controls each unit to realize the function assigned to the operation at that time. For example, when a button (menu button) to which a menu display function is assigned is pressed, the system control unit 114 causes the display unit 113 to display a menu screen for performing various settings. The user can make various settings using the direction button, the enter button, the return button, and the like while looking at the menu screen.

なお、ある機能をどのような入力部材に割り当てるかは適宜定めることができる。例えば、ここではズーム指示の入力機能をレバーに割り当てたが、2方向に回転可能なダイヤルやリングに割り当ててもよい。リングは例えばレンズユニット101の外周に沿って回転可能に形成され、回転量、回転方向、回転速度をシステム制御部114が検知可能な入力部材であってよい。また、ズームインの指示入力機能と、ズームアウトの指示入力機能とを別個の入力部材に割り当ててもよい。また、タッチパネル122と表示部113の表示とを組み合わせて実現するスライドスイッチや、タッチパネル122に対する特定のジェスチャ(例えば特定方向のスライド操作)にズームインおよびズームアウトの指示入力機能を割り当ててもよい。また、入力部材の操作量や操作速度を、ズームインやズームアウトの速度に関連づけてもよい。   In addition, it is possible to appropriately determine to which input member a certain function is assigned. For example, here, the input function of the zoom instruction is assigned to the lever, but it may be assigned to a dial or ring that can rotate in two directions. The ring may be an input member that is formed to be rotatable, for example, along the outer periphery of the lens unit 101, and that can detect the amount of rotation, the rotation direction, and the rotation speed by the system control unit 114. Further, the zoom-in instruction input function and the zoom-out instruction input function may be assigned to separate input members. Further, a slide switch realized by combining the touch panel 122 and the display on the display unit 113 or a specific gesture (for example, a slide operation in a specific direction) on the touch panel 122 may be assigned a zoom-in and zoom-out instruction input function. Further, the operation amount and operation speed of the input member may be associated with the zoom-in and zoom-out speed.

外部I/F123は、撮像装置100を外部装置と有線または無線によって接続するためのインタフェースである。例えばHDMI(登録商標)、LANC(登録商標)、USB、無線LAN、Bluetooth(登録商標)といった、さまざまな規格に準拠した1つ以上のインタフェースであってよい。あるいは、コンポジットビデオ信号の入出力インタフェースであってもよい。   The external I / F 123 is an interface for connecting the imaging device 100 to an external device by wire or wirelessly. For example, one or more interfaces conforming to various standards such as HDMI (registered trademark), LANC (registered trademark), USB, wireless LAN, and Bluetooth (registered trademark) may be used. Alternatively, it may be an input / output interface for a composite video signal.

外部I/F123を通じて通信可能な外部装置から受信した信号やコマンドに基づいて、システム制御部114が各部を制御することにより、外部装置から撮像装置100を遠隔操作することを可能にする。遠隔操作可能な機能にはレンズユニット101のズーム機能も含まれる。また、システム制御部114が、メモリ112内のフレームバッファに格納されている表示画像データもしくは表示画像データに基づくビデオ信号を外部I/F123を通じて外部装置に出力して、外部装置において後述する画面表示を実現することができる。外部I/F123には、撮像装置100とレンズユニット101を有線または無線によって接続する場合のインタフェースも含まれる。   The system control unit 114 controls each unit based on a signal or a command received from an external device communicable via the external I / F 123, thereby enabling the external device to remotely control the imaging apparatus 100. The functions that can be remotely controlled include a zoom function of the lens unit 101. Further, the system control unit 114 outputs display image data stored in a frame buffer in the memory 112 or a video signal based on the display image data to an external device through the external I / F 123, and displays a screen display described later in the external device. Can be realized. The external I / F 123 also includes an interface for connecting the imaging device 100 and the lens unit 101 by wire or wirelessly.

また、外部I/F123にはマウスやトラックパッドなどのポインティングデバイスを接続することもできる。この場合、接続されたポインティングデバイスは操作部120が有する入力デバイスの1つとして扱うことができる。例えば、システム制御部114は、外部I/F123にポインティングデバイスが接続された場合、マウスカーソルを表示画像に含める。そして、システム制御部114は、クリックやタップ操作の検出時におけるマウスカーソルの位置に応じた動作を実行することができる。   In addition, a pointing device such as a mouse or a track pad can be connected to the external I / F 123. In this case, the connected pointing device can be treated as one of the input devices of the operation unit 120. For example, when a pointing device is connected to the external I / F 123, the system control unit 114 includes a mouse cursor in the display image. Then, the system control unit 114 can execute an operation according to the position of the mouse cursor when a click or a tap operation is detected.

記録媒体124は、撮影で得られた静止画、動画(および音声)などのデータの記録先として用いられる。記録媒体124はメモリカードの様に撮像装置100から取り外し可能な媒体でも、不揮発性メモリ117の一部のように、撮像装置100から取り外し不能な媒体でもよい。記録媒体124に記録された静止画や動画のデータは、メモリ112に一旦読み込まれた後、必要に応じて画像処理部110で復号されたのち、表示部113に表示される。   The recording medium 124 is used as a recording destination of data such as still images and moving images (and audio) obtained by shooting. The recording medium 124 may be a medium that can be removed from the imaging device 100 such as a memory card, or a medium that cannot be removed from the imaging device 100 such as a part of the nonvolatile memory 117. The still image data and the moving image data recorded on the recording medium 124 are once read into the memory 112, decoded by the image processing unit 110 as necessary, and then displayed on the display unit 113.

<ズームレンズ及びフォーカスレンズの動作領域>
図2は、複数の被写体距離について、レンズユニット101が合焦する際のフォーカスレンズ106の位置と変倍レンズ103の位置(レンズユニット101の焦点距離)との関係を示した図である。横軸は変倍レンズ103の可動範囲を示している。レンズユニット101の焦点距離が最小になる(画角が最大になる)変倍レンズ103の位置が広角端、レンズユニット101の焦点距離が最大になる(画角が最小になる)変倍レンズ103の位置が望遠端である。また、縦軸はフォーカスレンズ106の可動範囲を示し、レンズユニット101の合焦距離を小さくする方向の移動限界が至近端、レンズユニット101の合焦距離を大きくする方向の移動限界が無限端である。
<Operation area of zoom lens and focus lens>
FIG. 2 is a diagram illustrating the relationship between the position of the focus lens 106 and the position of the variable power lens 103 (the focal length of the lens unit 101) when the lens unit 101 focuses on a plurality of subject distances. The horizontal axis indicates the movable range of the variable power lens 103. The position of the zoom lens 103 where the focal length of the lens unit 101 is minimum (the angle of view is maximum) is at the wide angle end, and the zoom lens 103 where the focal length of the lens unit 101 is maximum (the angle of view is minimum). Is the telephoto end. The vertical axis indicates the movable range of the focus lens 106, and the movement limit in the direction of decreasing the focusing distance of the lens unit 101 is the closest end, and the movement limit in the direction of increasing the focusing distance of the lens unit 101 is infinite. It is.

L1〜L5は、それぞれ被写体距離が無限遠、1m、70cm、40cm、1cmであるときに、レンズユニット101が合焦するフォーカスレンズ位置と、変倍レンズ103の位置との組み合わせを示している。L1およびL2は、実線が変倍レンズ103の可動域全体に存在する。これは、無限遠から1mまでの距離範囲の被写体については、画角(焦点距離)によらず、合焦させることが可能であることを示している。つまり、無限遠から1mまでの距離範囲の被写体については、どのような画角であっても合焦状態を維持できる。   L1 to L5 indicate combinations of the focus lens position where the lens unit 101 focuses and the position of the variable power lens 103 when the subject distance is infinity, 1 m, 70 cm, 40 cm, and 1 cm, respectively. As for L1 and L2, solid lines exist in the entire movable range of the variable power lens 103. This indicates that a subject in a distance range from infinity to 1 m can be focused regardless of the angle of view (focal length). That is, a subject in a range of distance from infinity to 1 m can be kept in focus at any angle of view.

一方、L3からL5は、望遠端よりも手前で実線が途切れている。これは、被写体距離が70cm以下の場合、広角端で被写体に合焦させて、連続的にズームアップした場合、途中から被写体がボケることを意味する。ただし、被写体距離が70cmの場合には、望遠端付近で再び合焦可能な範囲が存在する。ここでは、実線が途切れている変倍レンズ103の位置範囲(レンズユニット101の焦点距離の範囲)を、デフォーカス領域と呼ぶ。   On the other hand, in L3 to L5, the solid line is interrupted before the telephoto end. This means that, when the subject distance is 70 cm or less, the subject is focused at the wide-angle end, and when the subject is continuously zoomed up, the subject is blurred in the middle. However, when the subject distance is 70 cm, there is a focusable range near the telephoto end. Here, the position range of the variable power lens 103 (the range of the focal length of the lens unit 101) where the solid line is interrupted is referred to as a defocus area.

また、デフォーカス領域の広角端に対応する変倍レンズ103の位置、同一距離に合焦できなくなるズーム倍率の最小値、または広角端からの拡大ズーム時に同一距離に合焦した状態を維持できる最大のズーム倍率を最小限界ズーム倍率とよぶ。最小限界ズーム倍率(ズームインの限界位置)は、測距対象の被写体に合焦した状態を維持できるズーム位置からの光学ズーム駆動中(ズームイン駆動中)に、デフォーカス領域に入る前のデフォーカス領域との境界の光学ズーム位置である。   Also, the position of the zoom lens 103 corresponding to the wide-angle end of the defocus area, the minimum value of the zoom magnification at which focusing cannot be performed at the same distance, or the maximum that can maintain the state of focusing at the same distance during enlarged zooming from the wide-angle end Is called the minimum limit zoom magnification. The minimum limit zoom magnification (the limit position of zoom-in) is a defocus area before entering the defocus area during optical zoom drive (during zoom-in drive) from a zoom position that can maintain a focused state on the subject to be measured. Is the optical zoom position at the boundary with.

さらに、デフォーカス領域の望遠端に対応する変倍レンズ103の位置、同一距離に合焦できなくなるズーム倍率の最大値、または望遠端からの縮小ズーム時に同一距離に合焦した状態を維持可能な最小のズーム倍率を最大限界ズーム倍率と呼ぶ。最大限界ズーム倍率(ズームアウトの限界位置)は、測距対象の被写体に合焦した状態を維持できるズーム位置からの光学ズーム駆動中(ズームアウト駆動中)に、デフォーカス領域に入る前のデフォーカス領域との境界の光学ズーム位置である。   Further, the position of the variable power lens 103 corresponding to the telephoto end of the defocus area, the maximum value of the zoom magnification at which focusing cannot be performed at the same distance, or the state where focusing is performed at the same distance during reduced zooming from the telephoto end can be maintained. The minimum zoom magnification is called the maximum limit zoom magnification. The maximum limit zoom magnification (the limit position of the zoom-out) is determined before the defocus area is entered during the optical zoom drive (during the zoom-out drive) from the zoom position at which the in-focus object can be maintained. This is the optical zoom position at the boundary with the focus area.

図2の例で最大限界ズーム倍率が存在するのは、L3(被写体距離70cm)の場合のみである。また、ある被写体距離についての最小限界ズーム倍率と最大限界ズーム倍率をまとめて合焦限界ズーム倍率(限界位置)と呼ぶ。最大限界ズーム倍率が存在しない場合には、最小限界ズーム倍率と合焦限界ズーム倍率は同一である。   In the example of FIG. 2, the maximum limit zoom magnification exists only in the case of L3 (object distance 70 cm). Further, the minimum limit zoom magnification and the maximum limit zoom magnification for a certain subject distance are collectively referred to as a focus limit zoom magnification (limit position). When there is no maximum limit zoom magnification, the minimum limit zoom magnification and the focusing limit zoom magnification are the same.

なお、図2に示す関係を表す情報を例えば不揮発性メモリ117に記憶しておくことができる。例えば、変倍レンズ103の位置と、フォーカスレンズ106の位置との組み合わせごとに、合焦する被写体距離を記憶しておくことができる。あるいは、変倍レンズ103の位置と、フォーカスレンズ106の位置とを変数として被写体距離を算出する関数を記憶してもよい。他の方法で記憶してもよい。   Note that information indicating the relationship shown in FIG. 2 can be stored in the nonvolatile memory 117, for example. For example, the in-focus subject distance can be stored for each combination of the position of the variable power lens 103 and the position of the focus lens 106. Alternatively, a function for calculating the subject distance using the position of the variable power lens 103 and the position of the focus lens 106 as variables may be stored. It may be stored in another way.

<最小/最大限界ズーム倍率の表示>
次に、システム制御部114が実施する、限界ズーム倍率の表示制御動作について図3のフローチャートを用いて説明する。以下に説明する表示制御動作は、不揮発性メモリ117に記憶されたプログラムをシステムメモリ116にロードしてシステム制御部114が実行することで実現される。なお、以下の説明における「ズーム倍率」は、「変倍レンズ103の位置」または「レンズユニット101の焦点距離」と読み替えることができる。
<Display of minimum / maximum limit zoom magnification>
Next, a display control operation of the limit zoom magnification performed by the system control unit 114 will be described with reference to a flowchart of FIG. The display control operation described below is implemented by loading a program stored in the nonvolatile memory 117 into the system memory 116 and executing the program by the system control unit 114. Note that “zoom magnification” in the following description can be read as “position of the zoom lens 103” or “focal length of the lens unit 101”.

図3に示す表示制御動作は、表示部113(および/または外部表示装置)にライブビュー(LV)画像を表示している状態(撮影スタンバイ時および動画記録中)に実行することができるが、例えばユーザ設定に応じた他の状態で実行してもよい。   The display control operation shown in FIG. 3 can be executed in a state where a live view (LV) image is displayed on the display unit 113 (and / or the external display device) (during standby for shooting and during recording of a moving image). For example, it may be executed in another state according to the user setting.

撮像装置100を起動すると、システム制御部114は撮影スタンバイ状態の動作を実行する。撮影スタンバイ状態においてシステム制御部114は、撮像素子109による撮像を行い、画像処理部110で表示用データを生成させてメモリ112に順次格納し、表示部113にライブビュー画像を表示する。   When the imaging apparatus 100 is started, the system control unit 114 executes an operation in a shooting standby state. In the shooting standby state, the system control unit 114 performs imaging by the imaging element 109, causes the image processing unit 110 to generate display data, sequentially stores the display data in the memory 112, and displays a live view image on the display unit 113.

ユーザは、図示しないメニュー画面から所望の項目を選択することや、操作部120に含まれるタッチパネル122などにより所望の座標位置を指定すること等により、本フローチャートにおける動作条件を予め設定する。   The user sets the operation conditions in this flowchart in advance by selecting a desired item from a menu screen (not shown), or by specifying a desired coordinate position using the touch panel 122 or the like included in the operation unit 120.

S101では、システム制御部114は、被写体距離を計測する方法を決定する。本実施形態では、撮像装置100が有するAF機能で用いるものと同様の測距機能を用いて被写体距離を計測するものとする。上述の通り、本実施形態では撮像素子109を用いて得られる画像信号に基づいて位相差検出方式とコントラスト検出方式のAF機能が実現できる。また、測距センサ126を用いた位相差検出方式のAF機能も実現できる。そのため、システム制御部114はS101でどのAFでの測距機能を用いて被写体距離を計測するかを決定する。決定方法に特に制限はなく、例えばユーザが変更可能な設定値に従って決定することができる。なお、利用できる被写体距離の計測方法が1つだけの場合や、予め定められた計測方法を用いることが決まっている場合などには、S101を実行しなくてもよい。   In S101, the system control unit 114 determines a method for measuring the subject distance. In the present embodiment, it is assumed that the subject distance is measured using the same distance measurement function as that used in the AF function of the imaging apparatus 100. As described above, in the present embodiment, the AF functions of the phase difference detection method and the contrast detection method can be realized based on the image signal obtained using the image sensor 109. Further, an AF function of a phase difference detection method using the distance measurement sensor 126 can be realized. Therefore, in step S101, the system control unit 114 determines which AF distance measurement function is used to measure the subject distance. There is no particular limitation on the determination method. For example, the determination method can be determined according to a set value that can be changed by the user. Note that when there is only one available method of measuring the subject distance or when a predetermined measurement method is determined to be used, S101 may not be performed.

なお、被写体距離の計測方法は上述したAFでの測距機能に限定されず、被写体と撮像素子109との距離を検出可能な任意の方法を用いることができる。例えば、位相差検出方式のAF用に設けられた専用のセンサ(ラインセンサ)を用い、デフォーカス量に基づいて被写体距離を計測する方法や、超音波や赤外線を照射して反射波の受信時間に基づいて被写体距離を計測する方法などを用いてもよい。また、複数の方法を組み合わせて計測してもよい。外部機器を利用して被写体距離を計測し、計測値を外部I/F123を通じて取得する構成であってもよい。本実施形態では、デフォーカス量に基づいて距離を検出する方法で説明を行う。   Note that the method of measuring the subject distance is not limited to the above-described AF distance measurement function, and any method capable of detecting the distance between the subject and the image sensor 109 can be used. For example, a method of measuring a subject distance based on a defocus amount using a dedicated sensor (line sensor) provided for AF of a phase difference detection method, a reception time of a reflected wave by irradiating ultrasonic waves or infrared rays, or the like. For example, a method of measuring the subject distance based on the distance may be used. Moreover, you may measure by combining a some method. A configuration in which the subject distance is measured using an external device and the measured value is obtained through the external I / F 123 may be employed. In the present embodiment, a method for detecting a distance based on the defocus amount will be described.

S102でシステム制御部114は、距離計測の対象被写体を決定する。被写体の決定は、表示部113に表示されているライブビュー画像の部分領域を被写体領域として決定することであってよい。例えば、システム制御部114は、タッチパネル122などを通じてユーザが指定した画像内の位置を中心とした所定の大きさの領域を、被写体領域として決定することができる。ユーザーは、複数の被写体を距離計測する被写体として指定できる。距離計測する被写体として指定されると、対応する焦点検出領域が設定され、デフォーカス量が取得される。   In S102, the system control unit 114 determines a target subject for distance measurement. The determination of the subject may be to determine a partial area of the live view image displayed on the display unit 113 as the subject area. For example, the system control unit 114 can determine a region of a predetermined size centered on a position in an image specified by the user through the touch panel 122 or the like as a subject region. The user can designate a plurality of subjects as subjects for distance measurement. When a subject to be measured for distance is specified, a corresponding focus detection area is set, and a defocus amount is obtained.

あるいは、システム制御部114は、ユーザ入力なしに、画像の特定の位置(例えば中央)を中心とした所定の大きさの領域を被写体領域として決定してもよい。また、マニュアルフォーカスモードにおいて枠内の被写体の合焦度合いを表示するフォーカスガイド枠内の領域を被写体領域として決定してもよい。また、システム制御部114は、現在合焦している領域から所定の大きさの領域を被写体領域として決定してもよい。   Alternatively, the system control unit 114 may determine a region of a predetermined size centered on a specific position (for example, the center) of the image as a subject region without user input. In the manual focus mode, an area in the focus guide frame that displays the degree of focus of the object in the frame may be determined as the object area. In addition, the system control unit 114 may determine a region of a predetermined size from the currently focused region as the subject region.

画像処理部110が画像から特定の特徴領域(例えば人物の顔領域)を検出している場合、システム制御部114は、画像処理部110によって検出された特徴領域を被写体領域として決定してもよい。また、システム制御部114は、予め定められた複数の選択肢(例えば設定可能なAF枠)から、ユーザもしくは他の条件によって1つの領域を被写体領域として決定してもよい。なお、距離計測の方法によって選択できる被写体領域の位置などに制限がある場合、システム制御部114は、その制限を考慮して被写体領域を決定する。なお、ここで決定する被写体領域は複数であってもよい。また、被写体領域はAF対象領域(すなわち、AFの対象となる主被写体領域)と同一の領域であってもよく、異なる領域であってもよい。   When the image processing unit 110 detects a specific characteristic region (for example, a person's face region) from an image, the system control unit 114 may determine the characteristic region detected by the image processing unit 110 as a subject region. . Further, the system control unit 114 may determine one area as a subject area from a plurality of predetermined options (for example, a settable AF frame) according to the user or other conditions. If there is a limit on the position of the subject area that can be selected by the distance measurement method, the system control unit 114 determines the subject area in consideration of the limitation. Note that the number of subject areas determined here may be plural. The subject area may be the same area as the AF target area (that is, the main subject area to be subjected to AF) or may be a different area.

S103でシステム制御部114は、S102で決定した被写体(被写体領域)が、AF対象の主被写体である場合に、主被写体にレンズユニット101が合焦するように焦点調節を行う。システム制御部114は、例えばS101で決定した測距方法を用いてフォーカスレンズ駆動部108を駆動し、焦点調節を行うことができる。撮像素子109から得られる画像信号に基づく位相差検出方式およびコントラスト検出方式、および測距センサ126に基づく位相差検出方式のAF処理は公知の方法で実現できるため、詳細については説明を省略する。なおS103では、被写体への合焦動作を開始したら、合焦動作を行いながら(フォーカスレンズ駆動部108を制御しながら)すぐにS104へ進むことができる。即ち、S104へ進む際に被写体への合焦完了を待つ必要はない。また、撮像装置100がマニュアルフォーカスモードに設定されている場合は、S103の処理は省略する。なお、S102で決定した距離計測する被写体のうち、主被写体ではない被写体については、このタイミングでは合焦しない。   In step S103, when the subject (subject area) determined in step S102 is the main subject to be subjected to AF, the system control unit 114 performs focus adjustment so that the lens unit 101 focuses on the main subject. The system control unit 114 can perform focus adjustment by driving the focus lens driving unit 108 using, for example, the distance measurement method determined in S101. The AF processing of the phase difference detection method and the contrast detection method based on the image signal obtained from the image sensor 109 and the AF processing of the phase difference detection method based on the distance measurement sensor 126 can be realized by a known method, and thus the detailed description is omitted. In S103, when the focusing operation on the subject is started, the process can immediately proceed to S104 while performing the focusing operation (while controlling the focus lens driving unit 108). That is, there is no need to wait for the completion of focusing on the subject before proceeding to S104. When the imaging apparatus 100 is set to the manual focus mode, the process of S103 is omitted. Note that, of the subjects whose distance is determined in S102, the subject that is not the main subject is not focused at this timing.

S104でシステム制御部114は、S101で決定した測距方法を用いて、S102で決定した被写体の距離(被写体と撮像素子109との距離)を求め、システムメモリ116に記憶する。例えば、距離計測する被写体に対応して設定された焦点検出領域からデフォーカス量を取得し、現在のフォーカスレンズ106と変倍レンズ103の位置と、取得したデフォーカス量とに基づき、距離計測する被写体として決定した被写体の距離を算出する。距離計測する被写体として複数の被写体が設定されている場合には、複数の被写体それぞれについて、現在のフォーカスレンズ106と変倍レンズ103の位置と、それぞれ対応する焦点検出領域から取得されたデフォーカス量とに基づいて、距離が算出される。上述したように、フォーカスレンズ106の位置は、フォーカスレンズ駆動部108によって検出できる。S102で距離を計測する被写体として決定された被写体のうち、AF対象とならない副被写体(主被写体ではない被写体)については、合焦していない。これらの副被写体についても、フォーカスレンズ106の位置と、変倍レンズ103の位置、および、副被写体の領域についてのデフォーカス量に基づいて被写体距離を得る。   In step S104, the system control unit 114 obtains the subject distance (distance between the subject and the image sensor 109) determined in step S102 using the distance measurement method determined in step S101, and stores the distance in the system memory 116. For example, a defocus amount is obtained from a focus detection area set corresponding to a subject whose distance is to be measured, and the distance is measured based on the current positions of the focus lens 106 and the variable power lens 103 and the obtained defocus amount. The distance of the subject determined as the subject is calculated. When a plurality of subjects are set as subjects to be measured for the distance, the current positions of the focus lens 106 and the variable power lens 103 and the defocus amounts acquired from the corresponding focus detection areas for each of the plurality of subjects. Is calculated based on the distance. As described above, the position of the focus lens 106 can be detected by the focus lens driving unit 108. Of the subjects determined as the subject for which the distance is to be measured in S102, the sub-subject (subject that is not the main subject) that is not the AF target is out of focus. Also for these sub-subjects, the subject distance is obtained based on the position of the focus lens 106, the position of the variable power lens 103, and the defocus amount for the sub-subject area.

例えば、図2に示したような、複数の離散的な被写体距離について、合焦時の変倍レンズ103の位置とフォーカスレンズ106の位置との関係を示す情報が不揮発性メモリ117に記憶されているとする。この場合、システム制御部114は、距離計測対象の被写体に合焦している、すなわちS102で決定した被写体領域に合焦しているときのフォーカスレンズ106の位置と、変倍レンズ103の位置とから、被写体距離を得ることができる。   For example, for a plurality of discrete object distances as shown in FIG. 2, information indicating the relationship between the position of the variable power lens 103 and the position of the focus lens 106 during focusing is stored in the nonvolatile memory 117. Suppose you have In this case, the system control unit 114 determines the position of the focus lens 106 and the position of the variable power lens 103 when focusing on the subject of the distance measurement target, that is, when focusing on the subject area determined in S102. , The subject distance can be obtained.

なお、S102で決定した距離計測をする被写体が、画像処理部110が検出した特定の特徴領域であり、かつ、この特徴領域が画角内で移動する場合(例えば追尾対象として指定された被写体が移動する場合)がある。この場合、距離計測をする被写体領域を特徴領域の移動に追従して移動させてもよいし、一度決定した位置に固定してもよい。
また、ここでは被写体領域を決定してから、被写体領域に合焦する距離を求める構成について説明した。しかし、例えば画素ごとの被写体距離を示す距離画像を生成してから被写体領域を決定し、被写体領域に対応する距離(例えば被写体領域内の画素が表す距離の平均値)を距離画像から求めてもよい。
Note that the subject for which the distance measurement determined in S102 is a specific feature area detected by the image processing unit 110 and this feature area moves within the angle of view (for example, if the subject specified as a tracking target is If you move). In this case, the subject region for which the distance is to be measured may be moved following the movement of the characteristic region, or may be fixed at a position once determined.
Also, here, a configuration has been described in which a subject area is determined, and then a distance at which the subject area is focused is obtained. However, for example, a subject image is determined after generating a range image indicating the subject distance for each pixel, and a distance corresponding to the subject region (for example, an average value of distances represented by pixels in the subject region) is obtained from the range image. Good.

例えば、コントラスト評価値が極大となるフォーカスレンズ位置を画素ごとに求めることで、画素ごとに被写体距離を取得することができる。また、合焦距離を変えて同一シーンを複数回撮影して得られる画像データと光学系の点像分布関数(PSF)とから、ぼけ量と距離との相関関係に基づいて画素ごとの距離情報を求めることもできる。これらの技術に関しては例えば特開2010−177741号公報や米国特許第4,965,840号公報などに記載されている。   For example, the subject distance can be obtained for each pixel by obtaining the focus lens position at which the contrast evaluation value is maximized for each pixel. Also, distance information for each pixel is obtained based on the correlation between the amount of blur and the distance from image data obtained by shooting the same scene a plurality of times while changing the focusing distance and the point spread function (PSF) of the optical system. Can also be requested. These techniques are described in, for example, JP-A-2010-177741 and U.S. Pat. No. 4,965,840.

また、本実施形態の様に、撮像素子109によって視差画像対を取得可能な場合には、ステレオマッチング等の手法で画素ごとに被写体距離を取得することができる。このように、先に被写体距離を求めておくことで、S102において、特定の距離に位置する被写体(例えば最も近くに存在する被写体)を、距離計測対象の被写体として決定することも可能である。   When a parallax image pair can be acquired by the image sensor 109 as in the present embodiment, the subject distance can be acquired for each pixel by a method such as stereo matching. In this way, by previously obtaining the subject distance, in S102, the subject located at a specific distance (for example, the closest subject) can be determined as the subject of the distance measurement.

S105でシステム制御部114は、S104で算出した被写体距離と、例えば不揮発性メモリ117に記憶した、変倍レンズ103の位置と、フォーカスレンズ106の位置と、合焦距離との関係を表す情報から、合焦限界ズーム倍率を求める。例えば、システム制御部114は、S104で算出した被写体距離に合焦するフォーカスレンズ位置が至近端である変倍レンズ103の位置を探索することにより、合焦限界ズーム倍率を求めることができる。ある被写体距離についてフォーカスレンズ位置が至近端で合焦する変倍レンズ103の位置が2つ見つかった場合、その被写体距離には最大限界ズーム倍率と最小限界ズーム倍率が存在する。一方、ある被写体距離についてフォーカスレンズ位置が至近端で合焦する変倍レンズ103の位置が1つ見つかった場合、その被写体距離には最小限界ズーム倍率だけが存在する。   In step S <b> 105, the system control unit 114 uses the subject distance calculated in step S <b> 104 and information indicating the relationship between the position of the variable power lens 103, the position of the focus lens 106, and the focusing distance stored in, for example, the nonvolatile memory 117. Then, the focus limit zoom magnification is obtained. For example, the system control unit 114 can obtain the focusing limit zoom magnification by searching for the position of the variable power lens 103 where the focus lens position for focusing on the subject distance calculated in S104 is the closest end. When two positions of the variable power lens 103 where the focus lens position is focused at the closest end for a certain subject distance are found, the subject distance has a maximum limit zoom magnification and a minimum limit zoom magnification. On the other hand, when one position of the variable power lens 103 at which the focus lens position is focused at the closest end for a certain subject distance is found, the subject distance has only the minimum limit zoom magnification.

システム制御部114は、取得した合焦限界ズーム倍率を示す表示を行う。合焦限界ズーム倍率は、表示部113に常に表示してもよいが、特に表示部113が小さい場合にはライブビュー画像の視認性を低下させる可能性がある。そのため、本実施形態では、特定の条件を満たしたときのみ、合焦限界ズーム倍率を表示部113に表示することとする。   The system control unit 114 performs a display indicating the acquired focusing limit zoom magnification. The focus limit zoom magnification may always be displayed on the display unit 113, but particularly when the display unit 113 is small, the visibility of the live view image may be reduced. Therefore, in the present embodiment, the focus limit zoom magnification is displayed on the display unit 113 only when a specific condition is satisfied.

具体的には、本実施形態では、S106、S107に示す以下のような撮影状況の変化を条件とする。
・ユーザによるズーム操作が行われた場合(ズーム倍率が変化する)
・被写体距離が変化した場合(合焦限界ズーム倍率が変化する)
Specifically, in the present embodiment, the following changes in the shooting conditions shown in S106 and S107 are conditions.
-When the user performs a zoom operation (the zoom magnification changes)
・ When the subject distance changes (the focus limit zoom magnification changes)

S106でシステム制御部114は、ズーム指示が入力されているか否かを判定する。そして、システム制御部114は、ズーム指示が入力されていればS108に進み、そうでない場合はS107に進む。ここで、システム制御部114は、ズームレバー121または、ズーム機能が割り当てられている他の操作部材の操作が検出されるか、外部I/F123を通してズーム指示を受信している場合に、ズーム指示が入力されていると判定することができる。   In S106, the system control unit 114 determines whether a zoom instruction has been input. If the zoom instruction has been input, the system control unit 114 proceeds to S108, otherwise proceeds to S107. Here, when the operation of the zoom lever 121 or another operation member to which the zoom function is assigned is detected or the zoom instruction is received through the external I / F 123, the system control unit 114 performs the zoom instruction. Can be determined to have been input.

S107でシステム制御部114は、S104で算出した被写体距離が、1回前にS104を実行した際に算出した被写体距離に対して閾値以上変化したか否かを判定する。なお、この判定に用いる閾値は、現在の被写体距離やズーム倍率などに応じた動的な値とする。あるいは、S104で算出した被写体距離が、デフォーカス領域を有さない距離の範囲(図2の例では無限遠から1mまでの範囲)で変化していれば、変化なしと判定してもよい。システム制御部114は、被写体距離が閾値以上変化した場合はS108に進み、そうでない場合はS109に進む。   In S107, the system control unit 114 determines whether or not the subject distance calculated in S104 has changed by a threshold or more from the subject distance calculated when S104 was executed one time before. The threshold value used for this determination is a dynamic value according to the current subject distance, zoom magnification, and the like. Alternatively, if the subject distance calculated in S104 changes within a range of a distance having no defocus area (a range from infinity to 1 m in the example of FIG. 2), it may be determined that there is no change. If the subject distance has changed by the threshold or more, the system control unit 114 proceeds to S108, otherwise proceeds to S109.

これにより、ズーム操作が行われた場合や、被写体距離が変化した場合など、ズーム倍率と合焦限界ズーム倍率との関係が変化する場合にのみ合焦限界ズーム倍率を表示することができ、ライブビュー画像の視認性を必要以上に低下させることを抑制できる。なお、合焦限界ズーム倍率の表示条件として、ズーム操作および被写体距離の変化の一方のみとしてもよい。また、表示条件をユーザが選択可能にしてもよい。   Thus, the focus limit zoom magnification can be displayed only when the relationship between the zoom magnification and the focus limit zoom magnification changes, such as when a zoom operation is performed or when the subject distance changes. Unnecessarily lowering the visibility of the view image can be suppressed. Note that only one of the zoom operation and the change in the subject distance may be used as the display condition of the focusing limit zoom magnification. The display condition may be selectable by the user.

S108でシステム制御部114(表示制御手段)は、S105で取得した合焦限界ズーム倍率を示す表示を行う。この時の表示例は図4(a)〜(d)を用いて後述する。そして、システム制御部114は、S103に戻って上述した処理を繰り返し実行する。   In S108, the system control unit 114 (display control unit) performs a display indicating the focusing limit zoom magnification acquired in S105. A display example at this time will be described later with reference to FIGS. Then, the system control unit 114 returns to S103 and repeatedly executes the above-described processing.

S109でシステム制御部114は、S108で表示した合焦限界ズーム倍率を示す表示を終了する(非表示とする)。そして、システム制御部114は、S103に戻って上述した処理を繰り返し実行する。   In step S109, the system control unit 114 ends the display indicating the in-focus limit zoom magnification displayed in step S108 (not displayed). Then, the system control unit 114 returns to S103 and repeatedly executes the above-described processing.

なお、合焦限界ズーム倍率の非表示の状態が継続している間は、S109の実行をスキップするものとする。また、S104における被写体距離の算出は、必ずしも毎フレーム実行する必要はない。   Note that the execution of S109 is skipped while the non-display state of the focusing limit zoom magnification continues. The calculation of the subject distance in S104 does not necessarily need to be executed for each frame.

図4は、S108における合焦限界ズーム倍率を示す表示の例として、現在のズーム倍率(現在のズーム位置)を示す表示アイテム(ズームバー表示部)を用いて合焦限界ズーム倍率(限界位置)を示す例を図示する。
図4(a)において、画面200は、表示部113または外部I/F123を通じて通信可能な外部装置の表示領域である。画面200の全面にライブビュー画像201が表示され、ズームバー202、ズームバー表示部203、広角端アイコン204、望遠端アイコン205、被写体枠206がライブビュー画像201に重畳表示されている。
FIG. 4 shows a focus limit zoom magnification (limit position) using a display item (zoom bar display unit) indicating the current zoom magnification (current zoom position) as an example of a display showing the focus limit zoom magnification in S108. The illustrated example is illustrated.
In FIG. 4A, a screen 200 is a display area of an external device communicable through the display unit 113 or the external I / F 123. A live view image 201 is displayed on the entire screen 200, and a zoom bar 202, a zoom bar display unit 203, a wide-angle end icon 204, a telephoto end icon 205, and a subject frame 206 are superimposed on the live view image 201.

横長の矩形状のズームバー表示部203は、変倍レンズ103の可動域全体を示しており、左端が広角端、右端が望遠端に対応する。ズームバー202は、倍率に応じて、倍率が高くなるほど右側に拡がる領域であり、図では黒く塗られている。ズームバー202は右端の位置が現在のズーム倍率(変倍レンズ103の位置)を示すが、視認性を確保するため、ズーム倍率が最小である場合にもある程度の幅を有している。また、広角端アイコン204はズームバー表示部203の左端が広角端であることを示すとともに、例えば現在のズーム倍率が最小(広角端)である場合に例えば反転表示されてもよい。同様に、望遠端アイコン205はズームバー表示部203の右端が望遠端であることを示すとともに、例えば現在のズーム倍率が最大(望遠端)である場合に反転表示されてよい。   The horizontally long rectangular zoom bar display unit 203 indicates the entire movable range of the variable power lens 103, and the left end corresponds to the wide-angle end and the right end corresponds to the telephoto end. The zoom bar 202 is an area that expands to the right as the magnification increases, according to the magnification, and is painted black in the figure. The position of the right end of the zoom bar 202 indicates the current zoom magnification (the position of the zoom lens 103), but has a certain width even when the zoom magnification is minimum, in order to ensure visibility. Further, the wide-angle end icon 204 indicates that the left end of the zoom bar display unit 203 is the wide-angle end, and may be, for example, inverted when the current zoom magnification is the minimum (wide-angle end). Similarly, the telephoto end icon 205 indicates that the right end of the zoom bar display unit 203 is the telephoto end, and may be displayed in reverse video, for example, when the current zoom magnification is the maximum (telephoto end).

図4(a)は、ズーム倍率が最小(広角端)である場合の合焦限界ズーム倍率の表示例を示す。被写体枠206は、S104で距離を算出した被写体を示す指標である。ここでは、被写体の距離が40cmであり、被写体枠206の距離に合焦しているものとする。最小限界ズーム倍率を示す線状の指標207がズームバー表示部203に表示されている。このとき、ズームバー202が指標207より左側に表示されている(現在のズーム倍率<最小限界ズーム倍率である)ことから、指標207の位置までボケずにズームアップ可能であることを示している。また、指標207を超えてズームアップすると被写体がボケることを示している。被写体距離が40cmの場合、図2に示したように、最大限界ズーム倍率が存在しないため、最大限界ズーム倍率は表示されない。   FIG. 4A shows a display example of the focus limit zoom magnification when the zoom magnification is the minimum (wide-angle end). The subject frame 206 is an index indicating the subject whose distance has been calculated in S104. Here, it is assumed that the distance of the subject is 40 cm and the subject is in focus at the distance of the subject frame 206. A linear indicator 207 indicating the minimum limit zoom magnification is displayed on the zoom bar display unit 203. At this time, since the zoom bar 202 is displayed on the left side of the index 207 (current zoom magnification <minimum limit zoom magnification), it indicates that it is possible to zoom up to the position of the index 207 without blurring. Also, it indicates that the subject is blurred when zooming up beyond the index 207. When the subject distance is 40 cm, as shown in FIG. 2, there is no maximum limit zoom magnification, and thus the maximum limit zoom magnification is not displayed.

図4(b)は、図4(a)の状態において、ズーム倍率は最小のままで、被写体距離が70cmに変化し、被写体枠206の距離に合焦した状態の表示例を示している。被写体距離70cmでは最小限界ズーム倍率と最大限界ズーム倍率の両方が存在するため、最大限界ズーム倍率を示す線状の指標208がズームバー表示部203に追加表示されている。また、最小限界ズーム倍率と最大限界ズーム倍率との間のデフォーカス領域に相当するズーム倍率の範囲を、コの字型の図形211と、レンズユニットの焦点距離の数値範囲212で表示している。   FIG. 4B shows a display example in a state where the subject distance has changed to 70 cm and the subject is focused on the distance of the subject frame 206 in the state of FIG. At a subject distance of 70 cm, both the minimum limit zoom magnification and the maximum limit zoom magnification exist, so a linear indicator 208 indicating the maximum limit zoom magnification is additionally displayed on the zoom bar display unit 203. Further, a range of the zoom magnification corresponding to the defocus area between the minimum limit zoom magnification and the maximum limit zoom magnification is indicated by a U-shaped figure 211 and a numerical range 212 of the focal length of the lens unit. .

このとき、図4(a)と同様に、ズームバー202が指標207より左側に表示されていることから、ユーザは指標207の位置までボケずにズームアップ可能であること示している。また、指標207と指標208の間のズーム倍率では被写体がボケることを示している。さらに、指標208を超えてズームアップすると再び合焦可能となることを示している。なお、最小限界ズーム倍率と、最大限界ズーム倍率とを、変倍レンズ103の広角端を基準としたズーム倍率の数値範囲として表示してもよい。   At this time, similarly to FIG. 4A, the zoom bar 202 is displayed on the left side of the index 207, indicating that the user can zoom up to the position of the index 207 without blurring. The zoom magnification between the index 207 and the index 208 indicates that the subject is blurred. Further, it indicates that focusing can be performed again when zooming up beyond the index 208. Note that the minimum limit zoom magnification and the maximum limit zoom magnification may be displayed as numerical ranges of the zoom magnification based on the wide-angle end of the variable power lens 103.

図4(c)は、図4(b)の状態において、被写体距離は70cmのままで、ズーム倍率が最小限界ズーム倍率と最大限界ズーム倍率との間の倍率に変化した状態の表示例を示している。現在のズーム倍率がデフォーカス領域内に存在し被写体枠206内の被写体がボケていることを、最大限界ズーム倍率までの範囲を網掛け部221のように、異なる色または模様で表示することにより表している。このとき、図4(b)と同様に、指標208を超えてズームアップすると再び合焦可能となることを示している。なお、図中においては、ライブビュー画像201の中のボケている被写体について、ボケている様子を斑点で模式的に表している。   FIG. 4C shows a display example in a state where the subject distance remains 70 cm and the zoom magnification changes to a magnification between the minimum limit zoom magnification and the maximum limit zoom magnification in the state of FIG. 4B. ing. The fact that the current zoom magnification is in the defocus area and the subject in the subject frame 206 is blurred is displayed by displaying the range up to the maximum limit zoom magnification in a different color or pattern as shown by a shaded portion 221. Represents. At this time, as in FIG. 4B, it is shown that when the zoom-in is performed beyond the index 208, focusing can be performed again. In the drawing, the blurred subject in the live view image 201 is schematically represented by spots.

図4(d)は、図4(a)と同じ状況において、S102で決定された被写体が複数である場合の表示例を示している。この場合、ズームバー表示部203には、個々の被写体についての合焦限界ズーム倍率の指標を表示する。ライブビュー画像201には、決定された被写体を示す指標である被写体枠231および232が重畳表示される。これにより、ユーザは複数指定した被写体それぞれの合焦限界ズーム倍率を知ることができる。   FIG. 4D shows a display example in a case where there are a plurality of subjects determined in S102 in the same situation as in FIG. 4A. In this case, the zoom bar display unit 203 displays an index of the focusing limit zoom magnification for each subject. On the live view image 201, subject frames 231 and 232, which are indices indicating the determined subject, are superimposed and displayed. Thereby, the user can know the focus limit zoom magnification of each of the plurality of designated subjects.

また、ライブビュー画像201には、被写体枠231および232にそれぞれ対応する被写体の合焦度合いを示すフォーカスアシスト図形235および236が重畳表示されている。フォーカスアシスト図形は、例えば特許第6537325号公報に開示されている形状であり、図形235の三角形2つの配置で合焦状態、図形236の三角形3つの配置で前ピンの非合焦状態を示す。これにより、ユーザは複数指定した被写体それぞれについて、合焦限界ズーム倍率と合焦度合いを同時に知ることができる。   Further, on the live view image 201, focus assist figures 235 and 236 indicating the degree of focus of the subject corresponding to the subject frames 231 and 232, respectively, are superimposed and displayed. The focus assist graphic has a shape disclosed in, for example, Japanese Patent No. 6537325, in which the two triangles in FIG. 235 indicate the in-focus state, and the three triangles in FIG. 236 indicate the out-of-focus state of the front pin. This allows the user to simultaneously know the focus limit zoom magnification and the degree of focus for each of the plurality of designated subjects.

被写体枠231が示す被写体が主被写体(AFモードでAFの対象となる被写体)であり、被写体枠232が示す被写体が副被写体(AFモードでAFの対象となっていない被写体)である。被写体枠231および232は、視覚的に区別が付くように、色や表示パターンが互いに異なっている。ここでは、被写体枠231は実線で、被写体枠232は点線で描画されている。そして、ズームバー表示部203における合焦限界ズーム倍率の指標233および234や、フォーカスアシスト図形235および236についても、対応する被写体ごとに異なる表現で表示している。   The subject indicated by the subject frame 231 is a main subject (subject to be subjected to AF in the AF mode), and the subject indicated by the subject frame 232 is a sub subject (subject not subject to AF in the AF mode). The subject frames 231 and 232 have different colors and display patterns so that they can be visually distinguished. Here, the subject frame 231 is drawn by a solid line, and the subject frame 232 is drawn by a dotted line. The indices 233 and 234 of the focus limit zoom magnification in the zoom bar display unit 203 and the focus assist figures 235 and 236 are also displayed in different expressions for each corresponding subject.

ここでは同一被写体に対する被写体枠と合焦限界ズーム倍率の指標の表現(線の種類、色など)を合わせることで、ユーザが被写体と合焦限界ズーム倍率との対応関係を容易に把握できるようにしている。したがって、実線の指標233は被写体枠231で示される被写体についての合焦限界ズーム倍率(最小限界ズーム倍率)を示している。また、点線の指標234は、被写体枠232で示される被写体についての合焦限界ズーム倍率(最小限界ズーム倍率)を示している。   Here, the user can easily grasp the correspondence between the subject and the focusing limit zoom magnification by matching the expression of the index of the focusing limit zoom magnification (line type, color, etc.) with the subject frame for the same subject. ing. Therefore, the solid line index 233 indicates the focus limit zoom magnification (minimum limit zoom magnification) of the subject indicated by the subject frame 231. An index 234 indicated by a dotted line indicates a focus limit zoom magnification (minimum limit zoom magnification) of the subject indicated by the subject frame 232.

なお、被写体枠と合焦限界ズーム倍率の指標の表示形態は全ての被写体に対して共通とし、対応する被写体枠と合焦限界ズーム倍率の指標の近傍に同じ数字を表示するなど、他の方法で対応関係を表してもよい。   Note that the display form of the subject frame and the focus limit zoom magnification index is common to all subjects, and other methods such as displaying the same number near the corresponding subject frame and the focus limit zoom magnification index are used. May represent the correspondence.

図4に示した例では、合焦限界ズーム倍率を表す指標を、変倍レンズの可動範囲(レンズユニットの焦点距離またはズーム倍率の範囲)に対する現在の変倍レンズ位置(レンズユニットの焦点距離またはズーム倍率)を示す表示アイテム中に表示している。そのため、合焦限界ズーム倍率の表示をすることでライブビュー画像の視認性を低下させずにすむ。また、ユーザは、現在のズーム倍率と、合焦限界ズーム倍率とを同時に確認できるため、合焦限界ズーム倍率を考慮しながらのズーム操作が容易である。なお、合焦限界ズーム倍率(限界位置)をズームバー表示部に指標(インジケータ)で示す例を説明したが、ズーム倍率や焦点距離といった数値で表示しても良い。   In the example illustrated in FIG. 4, an index indicating the focus limit zoom magnification is determined by using the current zoom lens position (the focal length of the lens unit or the focal length of the lens unit or the focal length of the lens unit or the zoom range of the lens unit). It is displayed in the display item indicating (zoom magnification). Therefore, by displaying the focusing limit zoom magnification, the visibility of the live view image does not need to be reduced. In addition, since the user can simultaneously check the current zoom magnification and the focusing limit zoom magnification, the user can easily perform the zoom operation while considering the focusing limit zoom magnification. Although the example in which the focus limit zoom magnification (limit position) is indicated on the zoom bar display unit by an index (indicator) has been described, it may be displayed by a numerical value such as the zoom magnification or the focal length.

以上説明したように、本実施形態では、装置の距離測定部(撮像素子109や測距センサ126)から、距離測定の対象となる被写体までの距離(被写体距離)に基づく合焦限界ズーム倍率を表示するようにした。そのため、ユーザは、特定の被写体についての合焦状態を維持したままズーム可能な範囲を知ることができる。ユーザは、合焦限界ズーム倍率の表示を確認しながらズーム操作を行うことで、ズーム操作によって、合焦していた特定の被写体がユーザの意図に反してボケる(合焦状態でなくなる)ことを防止できる。また、特定の被写体の距離の変化を合焦限界ズーム倍率の表示に反映させるため、特定の被写体の距離が変化するような撮影であっても、適切にズーム倍率を調整することができる。   As described above, in the present embodiment, the focus limit zoom magnification based on the distance (subject distance) from the distance measurement unit (the image sensor 109 or the distance measurement sensor 126) of the apparatus to the subject whose distance is to be measured is determined. Displayed. Therefore, the user can know the zoomable range while maintaining the in-focus state of the specific subject. The user performs the zoom operation while confirming the display of the focusing limit zoom magnification, so that the specific subject that has been in focus is blurred (out of focus) against the user's intention by the zoom operation. Can be prevented. In addition, since the change in the distance to the specific subject is reflected in the display of the focus limit zoom magnification, the zoom magnification can be appropriately adjusted even in shooting in which the distance to the specific subject changes.

また、画角内で被写体が移動するのに追従して合焦限界ズーム倍率を計算する領域を移動(追尾)させることができる。これにより、撮像装置100のパン・チルト動作や被写体の移動により画角内で被写体の位置が変化する場合でも、所望の被写体を追尾して合焦限界ズーム倍率を計算し表示することができる。   Further, it is possible to move (track) the area for calculating the focusing limit zoom magnification following the movement of the subject within the angle of view. Thus, even when the position of the subject changes within the angle of view due to the pan / tilt operation of the imaging device 100 or the movement of the subject, the desired subject can be tracked and the focusing limit zoom magnification can be calculated and displayed.

また、撮像素子109や測距センサ126における位相差検出方式を用いることで、ピントの合っていない被写体についても被写体距離を計算することができる。これにより、マニュアルフォーカス(MF)モードでユーザがフォーカス調整を行う場合や、AFモードで被写体距離が急激に変化し、合焦するためにフォーカスレンズ106が移動中の場合でも、現在の合焦位置に関わらず合焦限界ズーム倍率を表示できる。   In addition, by using the phase difference detection method in the image sensor 109 and the distance measuring sensor 126, the subject distance can be calculated even for an out-of-focus subject. Accordingly, even when the user performs focus adjustment in the manual focus (MF) mode, or when the subject distance changes rapidly in the AF mode and the focus lens 106 is moving to focus, the current focus position is maintained. Regardless of this, the focus limit zoom magnification can be displayed.

また、ユーザが合焦限界ズーム倍率を表示させたい被写体に合焦しているかどうかに関わらず、画角内の任意の領域かつ複数の被写体に対する合焦限界ズーム倍率を表示することができる。   Further, regardless of whether or not the user is in focus on the subject for which the focus limit zoom magnification is to be displayed, it is possible to display the focus limit zoom magnification for an arbitrary region within the angle of view and for a plurality of subjects.

例えば、距離の異なる2つの被写体の動画をMFモードで撮影する場合を考える。最初は遠くの被写体Aに合焦させたままズームアップを行い、その後手動で至近側にピント送りを行い、近くの被写体Bに合焦させるものとする。この場合、被写体Aに合焦させたまま行うズームアップを、後で被写体Bに合焦させた場合にボケないズーム倍率の範囲で行う必要がある。即ち、ユーザは、ズームアップ操作時に、合焦していない被写体Bについての合焦限界ズーム倍率を把握する必要がある。撮像素子109や測距センサ126における位相差検出方式を用いることで、ピントの合っていない被写体に対しても、被写体距離の測定及び合焦限界ズーム倍率の表示が可能である。これにより、被写体Aから被写体Bにピント送りをした場合でも、近くの被写体Bがボケることなく合焦させることができる。   For example, consider a case where moving images of two subjects having different distances are photographed in the MF mode. At first, zoom-in is performed while focusing on a distant subject A, and then focus is manually moved to a close side to focus on a near subject B. In this case, it is necessary to perform the zoom-up performed while keeping the object A in focus within a zoom magnification range that does not cause blurring when the object B is focused later. That is, the user needs to know the focus limit zoom magnification for the subject B that is not focused during the zoom-up operation. By using the phase difference detection method in the image sensor 109 and the distance measuring sensor 126, it is possible to measure the subject distance and display the focusing limit zoom magnification even for an out-of-focus subject. Thereby, even when the subject A is focused on the subject B, the nearby subject B can be focused without blurring.

また、例えば高ズーム倍率で遠くの被写体Cの動画を撮影中に、突然近くにいる別の被写体Dが画角内に入ってきて、被写体Dに合焦させたい場合を考える。このとき、図4(c)における被写体枠206が被写体Dであり、ボケて撮影されている。ここで、AFが有効の場合、システム制御部114は被写体Dに合焦させようとするが、現在のズーム倍率は被写体Dの距離においてはデフォーカス領域であるため、合焦させることができない。   Further, for example, it is assumed that while a moving image of a distant subject C is being shot at a high zoom magnification, another subject D that is suddenly close comes into the angle of view and it is desired to focus on the subject D. At this time, the subject frame 206 in FIG. 4C is the subject D, and is photographed out of focus. Here, when AF is enabled, the system control unit 114 attempts to focus on the subject D, but cannot perform focusing because the current zoom magnification is a defocus area at the distance of the subject D.

このとき、ズームバー表示部203には、現在のズーム倍率が最小限界ズーム倍率の指標207と最大限界ズーム倍率の指標208の間であり合焦させることができない意味の表示がなされている。即ち、ユーザはズームバー表示部203を確認することで、現在のズーム倍率では被写体Dに合焦できず、被写体Dに合焦させるためにはズームアウトする必要があることを把握することができる。また同時に、どのズーム倍率までズームアウトすれば合焦可能となるかを把握することができる。このように、合焦限界ズーム倍率を表示することで、突然近くに別の被写体が画角内に入ってきた場合に、単に被写体に合焦していないだけなのか、デフォーカス領域のため合焦できないのかをユーザが把握することができる。これにより、デフォーカス領域の被写体がボケる原因をユーザが把握できずに撮影され続けるのを防ぐことができる。   At this time, the zoom bar display unit 203 displays that the current zoom magnification is between the minimum limit zoom magnification index 207 and the maximum limit zoom magnification index 208 and cannot be focused. That is, by checking the zoom bar display unit 203, the user can understand that the subject D cannot be focused at the current zoom magnification, and that the user needs to zoom out to focus on the subject D. At the same time, it is possible to know to which zoom magnification the focusing can be performed. In this way, by displaying the focusing limit zoom magnification, if another subject suddenly enters the field of view, it is likely that the subject is simply not in focus. The user can know whether or not the user can be impatient. Thus, it is possible to prevent the user from being unable to grasp the cause of the blur of the subject in the defocus area and to continue shooting.

<第2実施形態>
次に、本発明の第2実施形態について説明する。本実施形態は第1実施形態で説明した撮像装置100で実施可能であるため、撮像装置の構成に関する説明は省略する。第1実施形態の構成により、ユーザは特定の被写体の合焦状態を維持したままズーム可能な範囲を知ることができた。しかし、ズーム中にズームバー表示部203を見落としたり、操作を誤ったりして、デフォーカス領域までズームしてしまうことが考えられる。そのため、本実施形態では、ズーム中に現在のズーム倍率が合焦限界ズーム倍率に近づくと、自動的にズームを停止させるようにする。
<Second embodiment>
Next, a second embodiment of the present invention will be described. Since the present embodiment can be implemented by the imaging device 100 described in the first embodiment, description of the configuration of the imaging device will be omitted. According to the configuration of the first embodiment, the user can know the zoomable range while maintaining the in-focus state of the specific subject. However, it is conceivable that the zoom bar display unit 203 may be overlooked during zooming or the operation may be erroneously performed to zoom to the defocus area. Therefore, in the present embodiment, when the current zoom magnification approaches the focusing limit zoom magnification during zooming, zooming is automatically stopped.

次に、本実施形態においてシステム制御部114が実施するズーム制御動作について、図5のフローチャートを用いて説明する。以下に説明する動作は、不揮発性メモリ117に記憶されたプログラムをシステムメモリ116にロードしてシステム制御部114が実行することで実現される。なお、以下の説明における「ズーム倍率」は、「変倍レンズ103の位置」または「レンズユニット101の焦点距離」と読み替えることができる。また、図5において、第1実施形態と同様の処理を行うステップには同じ参照数字を付し、重複する説明を省略する。   Next, a zoom control operation performed by the system control unit 114 in the present embodiment will be described with reference to the flowchart in FIG. The operation described below is realized by loading a program stored in the nonvolatile memory 117 into the system memory 116 and executing the program by the system control unit 114. Note that “zoom magnification” in the following description can be read as “position of the zoom lens 103” or “focal length of the lens unit 101”. In FIG. 5, steps for performing the same processing as in the first embodiment are denoted by the same reference numerals, and redundant description will be omitted.

S101〜S102は、第1実施形態と同様である。ただし、S102で決定した被写体は、距離計測対象であるとともに、本実施形態のズーム動作制御を行う対象でもある。   S101 to S102 are the same as in the first embodiment. However, the subject determined in S102 is not only a distance measurement target but also a target for performing the zoom operation control of the present embodiment.

S203でシステム制御部114は、被写体に合焦しないズーム倍率の範囲(デフォーカス領域)でのズーム方法を決定する。具体的には、システム制御部114は、デフォーカス領域に含まれるズーム倍率で画像をズームさせることが必要な場合に、光学ズームと電子ズームのどちらを用いるかを決定する。光学ズームでは被写体に合焦しないため、画像中の距離計測の対象被写体がぼける(他の被写体については合焦しているものも含まれうる)。一方、デフォーカス領域以外のズーム倍率で得られた画像を電子ズームする場合、電子ズームの倍率が高くなると画像全体の解像度が低下するが、距離計測対象の被写体が光学的な要因でボケることは無い。   In step S <b> 203, the system control unit 114 determines a zoom method in a zoom magnification range (a defocus area) where the subject is not focused. Specifically, when it is necessary to zoom the image at the zoom magnification included in the defocus area, the system control unit 114 determines whether to use the optical zoom or the electronic zoom. Since the optical zoom does not focus on the subject, the target subject for distance measurement in the image is blurred (other subjects may be in focus). On the other hand, when electronic zooming is performed on an image obtained at a zoom magnification other than the defocus area, the resolution of the entire image decreases as the electronic zoom magnification increases, but the subject to be measured for distance is blurred due to optical factors. There is no.

システム制御部114は、例えばユーザ設定にしたがってズーム方法を決定することができる。ユーザ設定は事前に行われていてもよいし、S203の実行時にユーザに設定させるようにしてもよい。なお、デフォーカス領域のズーム倍率に対応する画像の画質を向上させるために、光学ズームと電子ズームを併用してもよい。例えば、電子ズームで得られた画像と、光学ズームで得られた画像とを、光学ズームにおいて合焦している領域を優先して合成することにより、デフォーカス領域のズーム倍率に対応する画像を生成してもよい。   The system control unit 114 can determine a zoom method according to, for example, a user setting. The user setting may be performed in advance, or may be set by the user when executing S203. Note that, in order to improve the image quality of an image corresponding to the zoom magnification of the defocus area, the optical zoom and the electronic zoom may be used together. For example, by combining an image obtained by the electronic zoom and an image obtained by the optical zoom by giving priority to an area in focus in the optical zoom, an image corresponding to the zoom magnification of the defocus area is obtained. May be generated.

S204でシステム制御部114は、現在のズーム倍率が合焦限界ズーム倍率に近づいたことを表すフラグ(限界フラグ)を0にリセットする。限界フラグは例えばシステムメモリ116に保存した変数であり、1が合焦限界ズーム倍率に近づいたことを表すものとする。   In step S204, the system control unit 114 resets a flag (limit flag) indicating that the current zoom magnification has approached the focusing limit zoom magnification to zero. The limit flag is a variable stored in the system memory 116, for example, and indicates that 1 approaches the focusing limit zoom magnification.

S103〜S105は、第1実施形態と同様であるため、説明を省略する。
S207でシステム制御部114は、ズーム倍率を上げる指示(拡大ズーム指示、ズームイン指示)が入力されているか否かを判定する。そして、システム制御部114は、拡大ズーム指示が入力されていればS208に進み、そうでない場合はS220に進む。ここで、システム制御部114は、ズームレバー121または、ズーム機能が割り当てられている他の操作部材について、ズーム倍率を上げる操作が検出されていれば、拡大ズーム指示が入力されていると判定することができる。また、システム制御部114は、外部I/F123を通してズーム倍率を上げる指示を受信している場合にも、拡大ズーム指示が入力されていると判定することができる。
Steps S103 to S105 are the same as those in the first embodiment, and a description thereof will not be repeated.
In step S207, the system control unit 114 determines whether an instruction to increase the zoom magnification (an enlargement zoom instruction or a zoom-in instruction) has been input. Then, the system control unit 114 proceeds to S208 if the enlargement zoom instruction has been input, and otherwise proceeds to S220. Here, if an operation to increase the zoom magnification is detected for the zoom lever 121 or another operation member to which the zoom function is assigned, the system control unit 114 determines that the enlargement zoom instruction has been input. be able to. Also, the system control unit 114 can determine that the enlargement zoom instruction has been input even when an instruction to increase the zoom magnification has been received through the external I / F 123.

変倍レンズ103の位置が望遠端であれば、光学ズーム倍率を上げることができない。そのため、S208でシステム制御部114は、変倍レンズ駆動部107を通じて変倍レンズ103の位置を取得し、変倍レンズ103の位置が望遠端であるか否かを判定する。システム制御部114は、変倍レンズ103の位置が望遠端である場合はズームイン駆動することなくS220に進み、そうでない場合はS209に進む。   If the position of the zoom lens 103 is at the telephoto end, the optical zoom magnification cannot be increased. Therefore, in step S208, the system control unit 114 acquires the position of the variable power lens 103 through the variable power lens driving unit 107, and determines whether the position of the variable power lens 103 is at the telephoto end. If the position of the zoom lens 103 is at the telephoto end, the system control unit 114 proceeds to S220 without performing zoom-in driving, and otherwise proceeds to S209.

S209およびS210でシステム制御部114は、変倍レンズ駆動部107を介して得られる現在の変倍レンズ103の位置に対応するズーム倍率(現ズーム倍率)と、S105で取得した最小限界ズーム倍率とを比較する。   In steps S209 and S210, the system control unit 114 calculates the zoom magnification (current zoom magnification) corresponding to the current position of the zoom lens 103 obtained via the zoom lens driving unit 107, and the minimum limit zoom magnification acquired in step S105. Compare.

現在のズーム倍率が最小限界ズーム倍率より小さく(広角側で)、かつ、現在のズーム倍率が最小限界ズーム倍率の近傍である場合(S209およびS210でYの場合)、システム制御部114はS211に進み、そうでない場合にはS219に進む。なお、S210における近傍とは、現在のズーム倍率と最小限界ズーム倍率との差が閾値未満であることを示す。この閾値は、後述するS213でズームが停止した後に被写体距離が変化し、合焦できなくなる可能性を考慮して、現在の被写体距離やズーム倍率などに基づいて動的に決定することができる。あるいは、閾値は固定値であってもよい。また、閾値はユーザが設定(変更)可能であってよい。S209及びS210でYの場合とは、言いかえれば、ズームイン中にズーム倍率が最小限界ズーム倍率より広角側における、最小限界ズーム倍率近傍となったことを示す閾値倍率までズームインされた場合である。   If the current zoom magnification is smaller than the minimum limit zoom magnification (on the wide angle side) and the current zoom magnification is near the minimum limit zoom magnification (Y in S209 and S210), the system control unit 114 proceeds to S211. Proceed, otherwise proceed to S219. Note that the vicinity in S210 indicates that the difference between the current zoom magnification and the minimum limit zoom magnification is less than the threshold. This threshold value can be dynamically determined based on the current subject distance, zoom magnification, and the like in consideration of the possibility that the subject distance changes after the zoom is stopped in S213 to be described later and focusing cannot be performed. Alternatively, the threshold may be a fixed value. The threshold may be set (changed) by the user. The case of Y in S209 and S210 is, in other words, the case where the zoom magnification is zoomed in to the threshold magnification indicating that the zoom magnification is closer to the minimum limit zoom magnification on the wide angle side than the minimum limit zoom magnification during zooming in.

なお、S209およびS210の判定処理の代わりに、システム制御部114が、現在のズーム倍率が最小限界ズーム倍率に等しい(現在のズーム倍率と最小限界ズーム倍率との差が無い)か否かを判定する処理にしてもよい。この場合、システム制御部114は、現在のズーム倍率が最小限界ズーム倍率に等しい場合にS211に進み、そうでない場合はS219に進む。   Instead of the determination processing in S209 and S210, the system control unit 114 determines whether the current zoom magnification is equal to the minimum limit zoom magnification (there is no difference between the current zoom magnification and the minimum limit zoom magnification). May be performed. In this case, the system control unit 114 proceeds to S211 when the current zoom magnification is equal to the minimum limit zoom magnification, and proceeds to S219 otherwise.

S211を実行するのは、拡大ズームの過程でズーム倍率が最小限界ズーム倍率に近づいた(あるいは合致した)状態である。そのため、S211でシステム制御部114は、限界フラグが1であるか否かを判定する。そして、システム制御部114は、限界フラグが1の場合はS212に進み、そうでない場合はS215に進む。   The step S211 is executed when the zoom magnification approaches (or matches) the minimum limit zoom magnification in the process of the enlargement zoom. Therefore, in S211, the system control unit 114 determines whether or not the limit flag is 1. Then, the system control unit 114 proceeds to S212 when the limit flag is 1, and proceeds to S215 otherwise.

S212でシステム制御部114は、限界フラグを1にセットする。なお、この限界フラグは、ズーム指示が逆向きに行われると0にリセットする。すなわち、ズームイン中に限界フラグを1にセットした場合には、ズームアウトするとリセットし、ズームアウト中に限界フラグを1にセットした場合には、ズームインするとリセットする。   In S212, the system control unit 114 sets the limit flag to 1. Note that this limit flag is reset to 0 when the zoom instruction is performed in the reverse direction. That is, when the limit flag is set to 1 during zooming in, the zoom flag is reset when zoomed out, and when the limit flag is set to 1 during zoom out, zooming is reset.

S213でシステム制御部114は、変倍レンズ駆動部107を通じて変倍レンズ103を停止させる。すなわち、広角ズーム指示が継続されていても(ズームイン操作が継続されていても)、ズーム駆動を一旦停止する。これによって、ズームインすることによってズーム倍率がデフォーカス領域に入って特定の被写体がボケてしまうことを未然に防止することができる。
S214でシステム制御部114は、システムタイマー115を起動し、変倍レンズ103の移動停止からの経過時間の計測を開始する。
In step S <b> 213, the system control unit 114 stops the zoom lens 103 through the zoom lens driving unit 107. That is, even if the wide-angle zoom instruction is continued (even if the zoom-in operation is continued), the zoom driving is temporarily stopped. As a result, it is possible to prevent a specific subject from being blurred due to the zoom magnification entering the defocus area due to the zoom-in.
In step S214, the system control unit 114 starts the system timer 115, and starts measuring the elapsed time from the stop of the movement of the variable power lens 103.

S215でシステム制御部114は、S214で起動したシステムタイマー115の計測時間が所定時間に達したか否かを判定する。この所定時間は、現在のズーム倍率が最小限界ズーム倍率に到達または近づいたことによって停止したズーム動作を、後述するS217またはS218で再開する条件として用いられる。そのため、ズーム動作が停止したことをユーザが十分認識できる程度の長さであればよい。あまり長くすると、ユーザに不安を与える可能性があるため、例えば0.5秒〜1秒程度とすることができるが、この時間は単なる例示である。システム制御部114は、システムタイマー115の計測時間が所定時間に達した場合はS216に進み、そうでない場合はS103に戻る。   In S215, the system control unit 114 determines whether the measurement time of the system timer 115 started in S214 has reached a predetermined time. This predetermined time is used as a condition for restarting the zoom operation stopped when the current zoom magnification reaches or approaches the minimum limit zoom magnification in S217 or S218 described later. Therefore, it is sufficient if the length is long enough for the user to sufficiently recognize that the zoom operation has stopped. If the length is too long, there is a possibility of giving anxiety to the user. For example, the time can be set to about 0.5 to 1 second, but this time is merely an example. If the time measured by the system timer 115 has reached the predetermined time, the system control unit 114 proceeds to S216, otherwise returns to S103.

S216でシステム制御部114は、S203で決定したズーム方法が光学ズームであるか否かを判定する。システム制御部114は、ズーム方法が光学ズームの場合はS217に進み、そうでない場合(電子ズームの場合)はS218に進む。なお、本フローチャートではS203で光学ズームと電子ズームの一方を決定することを前提としているが、前述のように、光学ズームと電子ズームを併用してよい。システム制御部114は、光学ズームと電子ズームを併用する場合にはS217に進む。   In step S216, the system control unit 114 determines whether the zoom method determined in step S203 is the optical zoom. If the zoom method is the optical zoom, the system control unit 114 proceeds to S217; otherwise (the case of electronic zoom), the system control unit 114 proceeds to S218. In this flowchart, it is assumed that one of the optical zoom and the electronic zoom is determined in S203, but the optical zoom and the electronic zoom may be used in combination as described above. When the optical zoom and the electronic zoom are used together, the system control unit 114 proceeds to S217.

S217およびS219でシステム制御部114は、変倍レンズ駆動部107を通じて変倍レンズ103を望遠側へ所定量移動させて、S103に戻る。
S218でシステム制御部114は、メモリ112に転送された画像データから対象領域を切り出し、望遠側へ所定量の電子ズーム処理を行うように画像処理部110を制御したのち、S103に戻る。
In steps S217 and S219, the system control unit 114 moves the variable power lens 103 to the telephoto side by a predetermined amount through the variable power lens driving unit 107, and returns to S103.
In step S218, the system control unit 114 cuts out the target area from the image data transferred to the memory 112, controls the image processing unit 110 to perform a predetermined amount of electronic zoom processing toward the telephoto side, and then returns to step S103.

なお、S213で自動的にズームを停止した後に、ズーム指示が一旦解除(ズーム操作を一旦解除)され、再度ズームイン指示(ズームイン操作)があった場合に、S215の所定時間の経過を待つことなくS216へ進んでズームインを行うようにしてもよい。これによって、所定時間の経過を待つことなく素早くズームインしたい場合に、一旦自動停止することでデフォーカス領域との境界をユーザが認識した上で、意図的に素早くズームインさせることができる。   After the zoom is automatically stopped in S213, the zoom instruction is temporarily released (temporarily cancels the zoom operation), and if there is a zoom-in instruction (zoom-in operation) again, without waiting for the elapse of the predetermined time in S215. The process may proceed to S216 to zoom in. Thus, when the user wants to quickly zoom in without waiting for the elapse of the predetermined time, the user can recognize the boundary with the defocus area by performing automatic stop once and then quickly zoom in intentionally.

S220〜S230の処理は、縮小方向へのズームに関してS207〜S219と同様の処理を実行するように置き換えたものである。
S220でシステム制御部114は、ズーム倍率を下げる指示(縮小ズーム指示、ズームアウト指示)が入力されているか否かを判定する。そして、システム制御部114は、縮小ズーム指示が入力されていればS221に進み、そうでない場合はS231に進む。ここで、システム制御部114は、ズームレバー121または、ズーム機能が割り当てられている他の操作部材について、ズーム倍率を下げる操作が検出されていれば、縮小ズーム指示が入力されていると判定することができる。また、システム制御部114は、外部I/F123を通してズーム倍率を下げる指示を受信している場合にも、縮小ズーム指示が入力されていると判定することができる。
The processing of S220 to S230 is replaced by executing the same processing as that of S207 to S219 for zooming in the reduction direction.
In S220, the system control unit 114 determines whether an instruction to reduce the zoom magnification (a reduction zoom instruction, a zoom out instruction) has been input. Then, the system control unit 114 proceeds to S221 if the reduction zoom instruction has been input, otherwise proceeds to S231. Here, the system control unit 114 determines that a reduction zoom instruction has been input if an operation of lowering the zoom magnification is detected for the zoom lever 121 or another operation member to which the zoom function is assigned. be able to. Also, the system control unit 114 can determine that the reduction zoom instruction has been input even when receiving an instruction to lower the zoom magnification through the external I / F 123.

変倍レンズ103の位置が広角端であれば、光学ズーム倍率を下げることができない。そのため、S221でシステム制御部114は、変倍レンズ駆動部107を通じて変倍レンズ103の位置を取得し、変倍レンズ103の位置が広角端であるか否かを判定する。システム制御部114は、変倍レンズ103の位置が広角端である場合はS231に進み、そうでない場合はS222に進む。   If the position of the variable power lens 103 is at the wide angle end, the optical zoom magnification cannot be reduced. Therefore, in step S <b> 221, the system control unit 114 acquires the position of the variable power lens 103 through the variable power lens driving unit 107 and determines whether the position of the variable power lens 103 is at the wide angle end. If the position of the zoom lens 103 is at the wide-angle end, the system control unit 114 proceeds to S231, otherwise proceeds to S222.

なお、S222に進む前に、システム制御部114は、S105で最大限界ズーム倍率が取得されているか否かを判定してもよい。図2を用いて説明したように、最大限界ズーム倍率が存在しない場合があるからである。システム制御部114は、最大限界ズーム倍率が取得されている場合にはS222に進み、そうでない場合はS230に進む。   Before proceeding to S222, the system control unit 114 may determine whether or not the maximum limit zoom magnification has been acquired in S105. This is because there is a case where the maximum limit zoom magnification does not exist as described with reference to FIG. If the maximum limit zoom magnification has been acquired, the system control unit 114 proceeds to S222, otherwise proceeds to S230.

S222およびS223でシステム制御部114は、変倍レンズ駆動部107を介して得られる現在の変倍レンズ103の位置に対応するズーム倍率(現ズーム倍率)と、S105で取得した最大限界ズーム倍率とを比較する。   In steps S222 and S223, the system control unit 114 sets the zoom magnification (current zoom magnification) corresponding to the current position of the variable power lens 103 obtained via the variable power lens driving unit 107, and the maximum limit zoom magnification acquired in step S105. Compare.

現在のズーム倍率が最大限界ズーム倍率より大きく(望遠側で)、かつ、現在のズーム倍率が最大限界ズーム倍率の近傍である場合(S222およびS223でYの場合)、システム制御部114はS224に進み、そうでない場合にはS230に進む。なお、S223における近傍とは、現在のズーム倍率と最大限界ズーム倍率との差が閾値以下であることを示す。この閾値は、S210で用いる値と同じであってもよいし、異なる値であってもよい。閾値の決め方はS210で説明した通りである。S222及びS223でYの場合とは、言いかえれば、ズームアウト中にズーム倍率が最大限界ズーム倍率より望遠側における、最大限界ズーム倍率近傍となったことを示す閾値倍率までズームアウトされた場合である。   If the current zoom magnification is larger than the maximum limit zoom magnification (on the telephoto side) and the current zoom magnification is near the maximum limit zoom magnification (Y in S222 and S223), the system control unit 114 proceeds to S224. Proceed, otherwise proceed to S230. Note that the vicinity in S223 indicates that the difference between the current zoom magnification and the maximum limit zoom magnification is equal to or smaller than the threshold. This threshold value may be the same as the value used in S210, or may be a different value. How to determine the threshold value is as described in S210. The case of Y in S222 and S223 is, in other words, the case where the zoom magnification is zoomed out to a threshold magnification indicating that the zoom magnification is closer to the maximum limit zoom magnification on the telephoto side than the maximum limit zoom magnification during zooming out. is there.

なお、S222およびS223の判定処理の代わりに、システム制御部114が、現在のズーム倍率が最大限界ズーム倍率に等しいか否かを判定する処理にしてもよい。この場合、システム制御部114は、現在のズーム倍率が最大限界ズーム倍率に等しい場合にS224に進み、そうでない場合はS230に進む。   Note that, instead of the determination processing of S222 and S223, the system control unit 114 may determine whether the current zoom magnification is equal to the maximum limit zoom magnification. In this case, the system control unit 114 proceeds to S224 if the current zoom magnification is equal to the maximum limit zoom magnification, otherwise proceeds to S230.

S224を実行するのは、縮小ズームの過程でズーム倍率が最大限界ズーム倍率に近づいた(あるいは合致した)状態である。そのため、S224でシステム制御部114は、限界フラグが1であるか否かを判定する。そして、システム制御部114は、限界フラグが1の場合はS225に進み、そうでない場合はS228に進む。   S224 is executed in a state where the zoom magnification approaches (or matches) the maximum limit zoom magnification in the process of the reduction zoom. Therefore, in S224, the system control unit 114 determines whether or not the limit flag is 1. Then, the system control unit 114 proceeds to S225 if the limit flag is 1, and proceeds to S228 otherwise.

S225でシステム制御部114は、限界フラグを1にセットする。
S226でシステム制御部114は、変倍レンズ駆動部107を通じて変倍レンズ103を停止させる。すなわち、縮小ズーム指示が継続されていても(ズームアウト操作が継続されていても)、ズーム駆動を一旦停止する。これによって、ズームアウトすることによってズーム倍率がデフォーカス領域に入って特定の被写体がボケてしまうことを未然に防止することができる。
S227でシステム制御部114は、システムタイマー115を起動し、変倍レンズ103の移動停止からの経過時間の計測を開始する。
In S225, the system control unit 114 sets the limit flag to 1.
In step S <b> 226, the system control unit 114 stops the zoom lens 103 through the zoom lens driving unit 107. That is, even if the reduction zoom instruction is continued (even if the zoom-out operation is continued), the zoom driving is temporarily stopped. As a result, it is possible to prevent a specific subject from being blurred due to the zoom magnification entering the defocus area due to zooming out.
In step S227, the system control unit 114 activates the system timer 115 and starts measuring the elapsed time from the stop of the movement of the variable power lens 103.

S228でシステム制御部114は、S227で起動したシステムタイマー115の計測時間が所定時間に達したか否かを判定する。この所定時間は、現在のズーム倍率が最大限界ズーム倍率に到達または近づいたことによって停止したズーム動作を、後述するS229で再開する条件として用いられる。そのため、ズーム動作が停止したことをユーザが十分認識できる程度の長さであればよい。ここでは、S215と同じ所定時間とするが、異ならせてもよい。システム制御部114は、システムタイマー115の計測時間が所定時間に達した場合はS229に進み、そうでない場合はS103に戻る。   In S228, the system control unit 114 determines whether or not the measurement time of the system timer 115 started in S227 has reached a predetermined time. This predetermined time is used as a condition for resuming the zoom operation stopped when the current zoom magnification reaches or approaches the maximum limit zoom magnification in S229 described later. Therefore, it is sufficient if the length is long enough for the user to sufficiently recognize that the zoom operation has stopped. Here, the predetermined time is the same as S215, but may be different. If the measurement time of the system timer 115 has reached the predetermined time, the system control unit 114 proceeds to S229, otherwise returns to S103.

なお、S226で自動的にズームを停止した後に、ズーム指示(操作)が一旦解除され、再度ズームアウト指示(操作)があった場合、S228の所定時間の経過を待たずにS226へ進んでデフォーカス領域に突入するズームアウトを行うようにしてもよい。これによって、所定時間の経過を待つことなく素早くズームアウトしたい場合に、一旦自動停止することでデフォーカス領域との境界をユーザが認識した上で、意図的に素早くズームアウトさせることができる。   After the zoom is automatically stopped in S226, the zoom instruction (operation) is temporarily released, and if there is a zoom-out instruction (operation) again, the process proceeds to S226 without waiting for the elapse of the predetermined time in S228, and the data is deleted. Zoom-out that enters the focus area may be performed. Thus, when the user wants to quickly zoom out without waiting for the elapse of a predetermined time, the user can recognize the boundary with the defocus area by automatically stopping once, and can quickly zoom out intentionally.

なお、縮小方向へのズーム中にはS216に相当する処理は行わない。これは、予め電子ズームに相当する処理がなされていた場合を除き、電子ズームにより縮小ズームするのは不可能だからである。   Note that the process corresponding to S216 is not performed during zooming in the reduction direction. This is because it is impossible to reduce the zoom by the electronic zoom unless a process corresponding to the electronic zoom has been performed in advance.

S229およびS230でシステム制御部114は、変倍レンズ駆動部107を通じて変倍レンズ103を広角側へ所定量移動させて、S103に戻る。なお、S230においては、変倍レンズ103が停止中であれば、システム制御部114は、システムタイマー115および限界フラグをリセットしてから変倍レンズ103を移動させる。   In S229 and S230, the system control unit 114 moves the variable power lens 103 to the wide angle side by a predetermined amount through the variable power lens driving unit 107, and returns to S103. In step S230, if the zoom lens 103 is stopped, the system control unit 114 resets the system timer 115 and the limit flag, and then moves the zoom lens 103.

S231でシステム制御部114は、限界フラグを0にリセットする。
S232でシステム制御部114は、変倍レンズ駆動部107を通じて変倍レンズ103を停止させる。
S233でシステム制御部114は、S214またはS227により計測を開始したタイマーを解除する。
In S231, the system control unit 114 resets the limit flag to 0.
In step S <b> 232, the system control unit 114 stops the zoom lens 103 through the zoom lens driving unit 107.
In S233, the system control unit 114 cancels the timer whose measurement has been started in S214 or S227.

ここで、具体例として、広角端から拡大ズーム操作が継続して行われ続けた場合を考える。システム制御部114は、拡大ズーム操作に応じて、変倍レンズ103の望遠側への移動を継続して実施する。そして、現在のズーム倍率が最小限界ズーム倍率近傍になった際に、自動的に変倍レンズ103を停止させる。拡大ズーム操作が継続されたまま所定時間経過すると、システム制御部114は、変倍レンズ103の望遠側への移動を再開する。   Here, as a specific example, consider a case where the enlargement zoom operation is continuously performed from the wide-angle end. The system control unit 114 continuously moves the zoom lens 103 to the telephoto side according to the enlargement zoom operation. Then, when the current zoom magnification is close to the minimum limit zoom magnification, the zoom lens 103 is automatically stopped. When a predetermined time has elapsed while the enlargement zoom operation is continued, the system control unit 114 resumes moving the variable power lens 103 to the telephoto side.

この場合、図5のフローチャートでは、システム制御部114は、まずS201からS105まで処理したのち、S207からS208に進む。現在のズーム倍率は広角端のため、システム制御部114はS208からS209に進む。さらに、現在のズーム倍率は最小ズーム倍率より小さいものの、最小ズーム倍率の近傍の値ではないため、システム制御部114はS219で変倍レンズ103を所定量望遠側に移動させ、S103に戻る。現在のズーム倍率が最小限界ズーム倍率の近傍の値になるまで、システム制御部114はS103〜S210〜S219の処理を繰り返す。これにより、被写体像が拡大される。   In this case, in the flowchart of FIG. 5, the system control unit 114 first performs the processing from S201 to S105, and then proceeds from S207 to S208. Since the current zoom magnification is at the wide-angle end, the system control unit 114 proceeds from S208 to S209. Further, although the current zoom magnification is smaller than the minimum zoom magnification, it is not a value near the minimum zoom magnification. Therefore, the system control unit 114 moves the variable power lens 103 to the telephoto side by a predetermined amount in S219, and returns to S103. Until the current zoom magnification becomes a value near the minimum limit zoom magnification, the system control unit 114 repeats the processing of S103 to S210 to S219. As a result, the subject image is enlarged.

現在のズーム倍率が最小限界ズーム倍率の近傍の値になると、システム制御部114は、S210からS211に進む。S204でフラグが0にリセットされてからセットされていないので、システム制御部114はS212〜S214の処理が行う。このとき、S213で変倍レンズ103が停止する。   When the current zoom magnification becomes a value near the minimum limit zoom magnification, the system control unit 114 proceeds from S210 to S211. Since the flag has not been set since it was reset to 0 in S204, the system control unit 114 performs the processing of S212 to S214. At this time, the variable power lens 103 stops in S213.

S214でセットしたシステムタイマー115の計測時間が所定時間になるまで、システム制御部114は、S104〜S215のループを繰り返し実行する。このとき、2回目以降の処理ではS212〜S214の処理はスキップされる。また、変倍レンズ103は停止した状態を維持する。   Until the measurement time of the system timer 115 set in S214 reaches a predetermined time, the system control unit 114 repeatedly executes the loop of S104 to S215. At this time, in the second and subsequent processes, the processes of S212 to S214 are skipped. Further, the variable power lens 103 maintains the stopped state.

システムタイマー115の計測時間が所定時間になると、システム制御部114はS215からS216に進む。例えばデフォーカス領域で光学ズームを行うものとすると、S217でシステム制御部114は、変倍レンズ103の望遠側への移動を再開し、S104〜S217のループを繰り返し実行する。このときS212〜S214の処理は行われない。   When the measurement time of the system timer 115 reaches a predetermined time, the system control unit 114 proceeds from S215 to S216. For example, assuming that the optical zoom is performed in the defocus area, the system control unit 114 restarts moving the variable power lens 103 to the telephoto side in S217, and repeatedly executes the loop of S104 to S217. At this time, the processing of S212 to S214 is not performed.

その後、現在のズーム倍率が最小限界ズーム倍率に達すると、システム制御部114は、S209からS219に進むようになる。その後ズーム倍率が望遠端に達するまで、システム制御部114は、S104〜S209〜S219のループを繰り返し実行する。
ズーム倍率が望遠端に達すると、システム制御部114はS208からS220へ、さらにS231に進み、S231〜S233の処理を実行して変倍レンズ103を停止させる。
Thereafter, when the current zoom magnification reaches the minimum limit zoom magnification, the system control unit 114 proceeds from S209 to S219. Thereafter, the system control unit 114 repeatedly executes a loop of S104 to S209 to S219 until the zoom magnification reaches the telephoto end.
When the zoom magnification reaches the telephoto end, the system control unit 114 proceeds from S208 to S220, further proceeds to S231, executes the processing of S231 to S233, and stops the variable power lens 103.

なお、図5に示したズーム制御動作は、第1実施形態で説明した限界ズーム倍率の表示処理と組み合わせて実行することができる。   The zoom control operation shown in FIG. 5 can be executed in combination with the limit zoom magnification display process described in the first embodiment.

以上説明したように本実施形態では、現在のズーム倍率が、特定の被写体についての限界ズーム倍率に近づくと、自動的にズーム動作を停止するようにした。そのため、ユーザはズーム操作を継続し、ズームが自動停止したことに気付いた時点でズーム操作を止めれば、被写体がぼけることを確実に回避できる。   As described above, in the present embodiment, when the current zoom magnification approaches the limit zoom magnification for a specific subject, the zoom operation is automatically stopped. Therefore, if the user continues the zoom operation and stops the zoom operation at the time of noticing that the zoom has automatically stopped, the subject can be reliably prevented from being blurred.

さらに、ズームを自動停止させている間も所定時間以上継続してズーム操作が継続された場合には、ズーム動作を再開させるようにした。これにより、ユーザの意図を反映した撮影を可能としている。また、光学ズームで被写体に合焦させられないズーム倍率に対応する画像を得る方法として、光学ズームおよび電子ズームを選択可能としたので、ユーザの希望に応じた画像を得ることができる。   Furthermore, when the zoom operation is continued for a predetermined time or more while the zoom is automatically stopped, the zoom operation is restarted. This enables photographing that reflects the user's intention. Further, as a method for obtaining an image corresponding to a zoom magnification at which the subject cannot be focused by the optical zoom, the optical zoom and the electronic zoom can be selected, so that an image according to the user's desire can be obtained.

また、例えば被写体距離が所定量以上変化した場合など、限界ズーム倍率が変化した場合には、ズーム動作も変化後の限界ズーム倍率に基づいて実施されるので、被写体ぼけを精度良く回避することができる。例えば、拡大ズーム中に被写体領域内の被写体が変わるなどして被写体距離が短くなった場合には、短くなった被写体距離に対する合焦限界ズーム倍率に基づいてズーム動作制御が行われる。   Further, when the limit zoom magnification changes, for example, when the subject distance changes by a predetermined amount or more, the zoom operation is also performed based on the changed limit zoom magnification, so that it is possible to accurately avoid subject blur. it can. For example, when the subject distance is shortened due to a change in the subject in the subject area during the enlargement zoom, the zoom operation control is performed based on the focusing limit zoom magnification for the shortened subject distance.

さらに、本実施形態では、現在のズーム倍率が合焦限界ズーム倍率の近傍の値(S210の判定が真となるズーム倍率)であり、ズーム指示がない状態で、新たにズーム指示がなされた場合も、所定時間継続してズーム指示が検出されればズーム動作を開始する。これにより、ユーザは、合焦限界ズーム倍率に近いズーム倍率からズームを行う場合も、光学ズームを行うと合焦できなくなることを知ることができる。また、ズーム操作に応じて直ちにズーム動作が行われない場合、ユーザはその時点でズーム操作を止めればズーム動作は行われない。そのため、意図せずぼけた画像が撮影されるのを防ぐことが可能である。   Further, in the present embodiment, when the current zoom magnification is a value near the focus limit zoom magnification (the zoom magnification at which the determination in S210 is true), and a new zoom instruction is issued without a zoom instruction. Also, when a zoom instruction is detected continuously for a predetermined time, the zoom operation is started. Thereby, even when performing zooming from a zoom magnification close to the focusing limit zoom magnification, the user can know that focusing cannot be performed by optical zooming. If the zoom operation is not performed immediately in response to the zoom operation, the user stops the zoom operation at that point, and the zoom operation is not performed. Therefore, it is possible to prevent an unintentionally blurred image from being shot.

本実施形態においては、測距方法および被写体を複数指定することも可能である。この場合、現在のズーム倍率が、複数の最小限界ズーム倍率のうち最も低い値の近傍に達したときのみ変倍レンズ103を停止させてもよいし、最小限界ズーム倍率の近傍に達するごとに変倍レンズ103を停止させてもよい。個々の最小限界ズーム倍率で変倍レンズ103を停止させる場合、距離の異なる2つの被写体を対象としていれば、近い方の被写体についての最小限界ズーム倍率と、遠い方の被写体についての最小限界ズーム倍率とのそれぞれで変倍レンズ103が停止する。これにより、ユーザは複数指定した被写体それぞれの合焦限界ズーム倍率を知ることができる。   In the present embodiment, it is also possible to specify a plurality of distance measuring methods and a plurality of subjects. In this case, the zoom lens 103 may be stopped only when the current zoom magnification reaches the vicinity of the lowest value among the plurality of minimum limit zoom magnifications, or may change every time the current zoom magnification reaches the vicinity of the minimum limit zoom magnification. The double lens 103 may be stopped. When the variable power lens 103 is stopped at the individual minimum limit zoom magnifications, if two subjects at different distances are targeted, the minimum limit zoom magnification for the nearer subject and the minimum limit zoom magnification for the farther subject In each case, the variable power lens 103 stops. Thereby, the user can know the focus limit zoom magnification of each of the plurality of designated subjects.

なお、図5に示す処理は静止画の撮影待機中、動画の記録待機中、動画の記録中のいずれでも行うことができる。動画の記録中に図5に示す処理を行えば、特定の被写体がズームインまたはズームアウトによってボケて写った映像が記録されてしまうことを防止することができる。   Note that the processing shown in FIG. 5 can be performed during standby for capturing a still image, during standby for recording a moving image, or during recording of a moving image. If the processing shown in FIG. 5 is performed during the recording of a moving image, it is possible to prevent a video in which a specific subject is blurred due to zoom-in or zoom-out from being recorded.

また、図5に示した処理を、特定の条件を満たしたときにのみ行うようにしてもよい。例えば、撮像装置100の撮影モードが、動画モードのような連続的に画像を記録するモードの場合は、録画待機中にのみ図5の処理を行うようにしてもよい。この場合、録画中にはズーム動作が自動的に停止しないため、ユーザの意図を尊重した撮影ができる。一方、録画待機中は合焦限界ズーム倍率の近傍でズーム動作を一旦停止することで、ユーザは合焦限界ズーム倍率を容易に知ることができ、撮影画角を決めやすくなる。これにより、合焦限界ズーム倍率をユーザが知ることと、自動的にズームが停止する映像が記録されるのを避けることが両立できる。   Further, the processing shown in FIG. 5 may be performed only when a specific condition is satisfied. For example, when the shooting mode of the image capturing apparatus 100 is a mode in which images are continuously recorded, such as a moving image mode, the processing in FIG. 5 may be performed only during recording standby. In this case, since the zoom operation does not stop automatically during recording, it is possible to take a picture that respects the user's intention. On the other hand, by temporarily stopping the zoom operation in the vicinity of the focus limit zoom magnification during recording standby, the user can easily know the focus limit zoom magnification and easily determine the shooting angle of view. This makes it possible for the user to know the focus limit zoom magnification and to avoid recording an image in which the zoom is automatically stopped.

<他の実施形態>
なお、システム制御部114が行うものとして説明した上述の各種制御は1つのハードウェアが行ってもよいし、複数のハードウェア(例えば、複数のプロセッサーや回路)が処理を分担することで、装置全体の制御を行ってもよい。
<Other embodiments>
Note that the above-described various controls described as being performed by the system control unit 114 may be performed by a single piece of hardware, or a plurality of pieces of hardware (for example, a plurality of processors or circuits) may share the processing, and Overall control may be performed.

また、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。さらに、上述した各実施形態は本発明の一実施形態を示すものにすぎず、各実施形態を適宜組み合わせることも可能である。   Although the present invention has been described in detail based on the preferred embodiments, the present invention is not limited to these specific embodiments, and various forms that do not depart from the gist of the present invention are also included in the present invention. included. Furthermore, each of the above-described embodiments is merely an embodiment of the present invention, and the embodiments can be appropriately combined.

本発明は、撮像装置本体に限らず、有線または無線通信を介して撮像装置(ネットワークカメラを含む)と通信し、撮像装置を遠隔で制御する制御装置にも本発明を適用可能である。撮像装置を遠隔で制御する装置としては、例えば、スマートフォンやタブレットPC、デスクトップPC等の装置がある。制御装置側で行われた操作や制御装置側で行われた処理に基づいて、制御装置側から撮像装置に各種動作や設定を行わせるコマンドを通知することにより、撮像装置を遠隔から制御可能である。また、撮像装置で撮影したライブビュー画像を有線または無線通信を介して受信して制御装置側で表示できるようにしてもよい。   The present invention is not limited to the imaging device main body, and can be applied to a control device that communicates with an imaging device (including a network camera) via wired or wireless communication and controls the imaging device remotely. Examples of a device that remotely controls the imaging device include devices such as a smartphone, a tablet PC, and a desktop PC. It is possible to remotely control the imaging device by notifying the imaging device of commands for performing various operations and settings from the control device based on operations performed on the control device and processes performed on the control device. is there. Alternatively, the live view image captured by the imaging device may be received via a wired or wireless communication and displayed on the control device side.

本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。   The present invention supplies a program for realizing one or more functions of the above-described embodiments to a system or an apparatus via a network or a storage medium, and one or more processors in a computer of the system or the apparatus read and execute the program. This processing can be realized. Further, it can also be realized by a circuit (for example, an ASIC) that realizes one or more functions.

100…撮像装置、101…レンズユニット、103…変倍レンズ、106…フォーカスレンズ、107…ズームレンズ駆動部、108…フォーカスレンズ駆動部、109…撮像素子、114…システム制御部 REFERENCE SIGNS LIST 100 imaging device 101 lens unit 103 zoom lens 106 focus lens 107 zoom lens driving unit 108 focus lens driving unit 109 imaging device 114 system control unit

Claims (18)

特定の被写体に対応する焦点検出領域についてのデフォーカス量を取得する取得手段と、
ズーム指示に応じて光学ズームするように制御する制御手段と、
前記取得手段が取得したデフォーカス量に基づき、前記特定の被写体に合焦していない状態においても、前記特定の被写体に合焦させることが可能な限界の光学ズーム位置である限界位置を示す表示を表示手段に表示するように制御する表示制御手段と、
を有することを特徴とする、ズーム制御装置。
Acquiring means for acquiring a defocus amount for a focus detection area corresponding to a specific subject;
Control means for controlling to perform optical zoom according to the zoom instruction;
A display indicating a limit position that is a limit optical zoom position at which the specific subject can be focused even when the specific subject is not focused based on the defocus amount acquired by the acquisition unit. Display control means for controlling the display on the display means,
A zoom control device, comprising:
前記取得手段は、複数の被写体にそれぞれ対応する複数の焦点検出領域についてのデフォーカス量を取得可能であり、前記特定の被写体は前記複数の被写体のうちの1つであることを特徴とする請求項1に記載のズーム制御装置。   The said acquisition means can acquire the defocus amount about the some focus detection area | region corresponding to each several object, and the said specific object is one of the several objects, The characterized by the above-mentioned. Item 2. The zoom control device according to item 1. 前記特定の被写体は、前記複数の被写体のうち合焦している被写体とは異なる被写体であることを特徴とする請求項2に記載のズーム制御装置。   The zoom control device according to claim 2, wherein the specific subject is a different subject from the focused subject among the plurality of subjects. 前記特定の被写体は、前記複数の被写体のうちオートフォーカスの対象となる主被写体とは異なる被写体であることを特徴とする請求項2または3に記載のズーム制御装置。   4. The zoom control device according to claim 2, wherein the specific subject is a subject different from a main subject to be subjected to autofocus among the plurality of subjects. 5. 前記表示制御手段は、前記取得手段が取得した複数の焦点検出領域についてのデフォーカス量に基づき、前記複数の被写体のそれぞれに対応する、合焦させることが可能な限界の光学ズーム位置である複数の限界位置を示す表示を行うように制御することを特徴とする請求項2ないし4のいずれか1項に記載のズーム制御装置。   The display control unit is a plurality of optical zoom positions corresponding to each of the plurality of subjects, each of which is capable of being focused, based on the defocus amounts of the plurality of focus detection areas acquired by the acquisition unit. The zoom control device according to any one of claims 2 to 4, wherein control is performed so as to display a limit position of the zoom lens. 前記表示制御手段は、光学ズームが行われた際に前記限界位置を表示し、光学ズームが行われる前であって、ズームが停止しており、前記取得手段で取得されたデフォーカス量に変化が無い状態では前記限界位置を表示しないように制御することを特徴とする請求項1乃至5のいずれか1項に記載のズーム制御装置。   The display control unit displays the limit position when the optical zoom is performed, and before the optical zoom is performed, the zoom is stopped, and the display control unit changes the defocus amount acquired by the acquisition unit. The zoom control device according to any one of claims 1 to 5, wherein control is performed such that the limit position is not displayed in a state where there is no image. 前記表示制御手段は、前記取得手段が取得したデフォーカス量が所定量以上変化した場合に前記限界位置を表示するように制御することを特徴とする請求項6に記載のズーム制御装置。   7. The zoom control device according to claim 6, wherein the display control unit controls to display the limit position when the defocus amount acquired by the acquisition unit changes by a predetermined amount or more. 前記表示制御手段は、前記表示手段において、前記限界位置に加え、現在のズーム位置を示す表示を行うことを特徴とする請求項1乃至7のいずれか1項に記載のズーム制御装置。   The zoom control device according to any one of claims 1 to 7, wherein the display control means displays on the display means a current zoom position in addition to the limit position. 前記表示制御手段は、広角端から望遠端に対する現在のズーム位置を示す表示アイテムを用いて、前記限界位置を示すように表示することを特徴とする請求項8に記載のズーム制御装置。   9. The zoom control device according to claim 8, wherein the display control means displays the limit position using a display item indicating a current zoom position from a wide-angle end to a telephoto end. 前記制御手段は、合焦している被写体に合焦した状態を維持できるズーム位置からの光学ズームの駆動中に現在のズーム位置と、合焦している被写体に合焦した状態を維持できる限界の光学ズーム位置である、合焦している被写体についての限界位置との差がなくなるか閾値以下になると自動的にズームを停止させることを特徴とする請求項1乃至9のいずれか1項に記載のズーム制御装置。   The control means controls the current zoom position during the driving of the optical zoom from the zoom position at which the in-focus subject can be kept in focus, and a limit at which the in-focus subject can be kept in focus. The optical zoom position according to any one of claims 1 to 9, wherein the zoom is automatically stopped when the difference from the limit position of the focused object disappears or becomes equal to or less than a threshold value. The zoom control device according to any one of the preceding claims. 前記制御手段によって自動的にズームを停止させた後、自動的にズームを停止させる前から継続するズーム指示が所定時間継続して行われると、前記制御手段は予め定められた方法でズームを再開することを特徴とする請求項10に記載のズーム制御装置。   After the zoom is automatically stopped by the control means, if a zoom instruction to be continued for a predetermined time is continuously performed before the zoom is automatically stopped, the control means restarts the zoom in a predetermined method. The zoom control device according to claim 10, wherein the zoom control is performed. 前記制御手段によって自動的にズームを停止させた後、自動的にズームを停止させる前から継続するズーム指示が一旦解除され、再び同じ方向へのズーム指示が行われると、前記制御手段は予め定められた方法でズームを行うことを特徴とする請求項10または11に記載のズーム制御装置。   After the zooming is automatically stopped by the control means, the zoom instruction to be continued from before the zoom is automatically stopped is temporarily released, and when the zoom instruction in the same direction is performed again, the control means sets a predetermined value. The zoom control device according to claim 10, wherein the zoom is performed by a given method. 前記予め定められた方法は、前記合焦している被写体についての限界位置を超えて光学ズームする方法であることを特徴とする請求項11または12に記載のズーム制御装置。   13. The zoom control device according to claim 11, wherein the predetermined method is a method of performing optical zoom beyond a limit position of the focused object. 前記予め定められた方法は、電子ズームを用いて前記合焦している被写体に合焦した状態を維持してズームする方法であることを特徴とする請求項11または12に記載のズーム制御装置。   13. The zoom control device according to claim 11, wherein the predetermined method is a method of performing zooming while maintaining a focused state on the focused object using an electronic zoom. . 被写体を撮像する撮像手段を更に有することを特徴とする請求項1乃至14のいずれか1項に記載のズーム制御装置。   15. The zoom control device according to claim 1, further comprising an imaging unit configured to image a subject. ズーム制御装置の制御方法であって、
特定の被写体に対応する焦点検出領域についてのデフォーカス量を取得する取得ステップと、
ズーム指示に応じて光学ズームするように制御する制御ステップと、前記取得ステップで取得したデフォーカス量に基づき、前記特定の被写体に合焦していない状態においても、前記特定の被写体に合焦させることが可能な限界の光学ズーム位置である限界位置を示す表示を表示手段に表示するように制御する表示制御ステップと、
を有することを特徴とする、ズーム制御装置の制御方法。
A control method of a zoom control device,
An acquisition step of acquiring a defocus amount for a focus detection area corresponding to a specific subject;
Controlling the optical zoom in response to a zoom instruction, and focusing on the specific subject based on the defocus amount acquired in the acquiring step even when the specific subject is not focused. A display control step of controlling a display indicating a limit position that is an optical zoom position of a limit capable of being displayed on the display means,
A control method for a zoom control device, comprising:
コンピュータを、請求項1から15のいずれか1項に記載されたズーム制御装置の各手段として機能させるためのプログラム。   A program for causing a computer to function as each unit of the zoom control device according to claim 1. コンピュータを、請求項1から15のいずれか1項に記載されたズーム制御装置の各手段として機能させるためのプログラムを格納したコンピュータが読み取り可能な記憶媒体。   A computer-readable storage medium storing a program for causing a computer to function as each unit of the zoom control device according to claim 1.
JP2019170808A 2018-09-21 2019-09-19 Zoom control device and its control method Active JP7204622B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018178075 2018-09-21
JP2018178075 2018-09-21

Publications (2)

Publication Number Publication Date
JP2020052400A true JP2020052400A (en) 2020-04-02
JP7204622B2 JP7204622B2 (en) 2023-01-16

Family

ID=69997020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019170808A Active JP7204622B2 (en) 2018-09-21 2019-09-19 Zoom control device and its control method

Country Status (1)

Country Link
JP (1) JP7204622B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0315808A (en) * 1989-06-13 1991-01-24 Minolta Camera Co Ltd Camera
JP2005208395A (en) * 2004-01-23 2005-08-04 Canon Inc Imaging apparatus, its control method and program
JP2005338519A (en) * 2004-05-28 2005-12-08 Casio Comput Co Ltd Camera device, and method and program for displaying information related to optical system
JP2012133218A (en) * 2010-12-22 2012-07-12 Canon Inc Imaging apparatus, lens system and control method thereof
JP2014178643A (en) * 2013-03-15 2014-09-25 Olympus Imaging Corp Display device
WO2017057510A1 (en) * 2015-09-30 2017-04-06 富士フイルム株式会社 Imaging device and control method thereof
JP2017134363A (en) * 2016-01-29 2017-08-03 キヤノン株式会社 Lens control device, lens control method, program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0315808A (en) * 1989-06-13 1991-01-24 Minolta Camera Co Ltd Camera
JP2005208395A (en) * 2004-01-23 2005-08-04 Canon Inc Imaging apparatus, its control method and program
JP2005338519A (en) * 2004-05-28 2005-12-08 Casio Comput Co Ltd Camera device, and method and program for displaying information related to optical system
JP2012133218A (en) * 2010-12-22 2012-07-12 Canon Inc Imaging apparatus, lens system and control method thereof
JP2014178643A (en) * 2013-03-15 2014-09-25 Olympus Imaging Corp Display device
WO2017057510A1 (en) * 2015-09-30 2017-04-06 富士フイルム株式会社 Imaging device and control method thereof
JP2017134363A (en) * 2016-01-29 2017-08-03 キヤノン株式会社 Lens control device, lens control method, program

Also Published As

Publication number Publication date
JP7204622B2 (en) 2023-01-16

Similar Documents

Publication Publication Date Title
US10270978B2 (en) Zoom control device with scene composition selection, and imaging apparatus, control method of zoom control device, and recording medium therewith
US10419683B2 (en) Zoom control device, imaging apparatus, control method of zoom control device, and recording medium
JP4843002B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM
JP5914364B2 (en) Auto focus system
US20160191811A1 (en) Zoom control device, imaging apparatus, control method of zoom control device, and recording medium
JP4730478B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
JP6774233B2 (en) Focus detector, control method and program
EP3567844B1 (en) Control apparatus and control method
JP7418104B2 (en) Image processing device and method of controlling the image processing device
JP6188474B2 (en) Zoom control device, control method for zoom control device, control program for zoom control device, and storage medium
JP6431429B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2016057463A (en) Focus adjustment device and control method of the same
JP6501536B2 (en) Imaging device, control method therefor, program, storage medium
JP6465566B2 (en) Imaging apparatus and imaging method
JP2015076707A (en) Imaging apparatus, method for controlling imaging apparatus, program for controlling imaging apparatus, and storage medium
JP7204622B2 (en) Zoom control device and its control method
JP2014225854A (en) Imaging device and method for controlling the same
JP2013242408A (en) Imaging device and control method of the same
JP2019216398A (en) Imaging apparatus and control method therefor, and program
JP2019219529A (en) Control device, imaging device, control method, program, and storage medium
JP6234103B2 (en) Zoom control device, control method for zoom control device, control program for zoom control device, and storage medium
JP2018180372A (en) Imaging apparatus and control method thereof
JP5938268B2 (en) Imaging apparatus and control method thereof
JP6799712B2 (en) Focus control device, focus control method, and program
JP2017175304A (en) Imaging apparatus

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20210103

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210113

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220106

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221019

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221228

R151 Written notification of patent or utility model registration

Ref document number: 7204622

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151