Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6548435B2 - Display control apparatus, control method therefor, and imaging apparatus - Google Patents
[go: Go Back, main page]

JP6548435B2 - Display control apparatus, control method therefor, and imaging apparatus - Google Patents

Display control apparatus, control method therefor, and imaging apparatus Download PDF

Info

Publication number
JP6548435B2
JP6548435B2 JP2015077146A JP2015077146A JP6548435B2 JP 6548435 B2 JP6548435 B2 JP 6548435B2 JP 2015077146 A JP2015077146 A JP 2015077146A JP 2015077146 A JP2015077146 A JP 2015077146A JP 6548435 B2 JP6548435 B2 JP 6548435B2
Authority
JP
Japan
Prior art keywords
focus
focus detection
display
display control
amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015077146A
Other languages
Japanese (ja)
Other versions
JP2016197177A5 (en
JP2016197177A (en
Inventor
英育 本宮
英育 本宮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2015077146A priority Critical patent/JP6548435B2/en
Priority to CN201610181553.0A priority patent/CN106060373B/en
Priority to US15/083,697 priority patent/US10306131B2/en
Priority to DE102016105764.9A priority patent/DE102016105764A1/en
Priority to GB1605617.8A priority patent/GB2539996B/en
Publication of JP2016197177A publication Critical patent/JP2016197177A/en
Publication of JP2016197177A5 publication Critical patent/JP2016197177A5/ja
Priority to US16/376,559 priority patent/US10516821B2/en
Application granted granted Critical
Publication of JP6548435B2 publication Critical patent/JP6548435B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Description

本発明は、手動による焦点調節時に焦点状態の表示制御を行う表示制御装置及びその制御方法、及び撮像装置に関する。   The present invention relates to a display control apparatus that performs display control of a focus state at the time of manual focus adjustment, a control method thereof, and an imaging apparatus.

近年のフルハイビジョンや4Kなどに対応した高精細ビデオカメラ等の焦点調節装置は従来以上に解像力が高く、撮影者がマニュアルによるフォーカス操作(MF操作)で被写体にピントを合わせる場合、厳密なピント合わせを行うことは容易ではない。特に、カメラに搭載されたビューファインダーや表示パネル等で確認しながらMF操作を行う場合、ビューファインダーや表示パネル等では確認できない程度のピントのずれが生じる場合があり、意図した焦点状態となっているかどうか判断することが難しい。   Focusing devices such as high-definition video cameras compatible with full high-definition cameras and 4K in recent years have higher resolution than before, and when the photographer focuses on an object by manual focus operation (MF operation), strict focus adjustment It is not easy to do. In particular, when performing an MF operation while confirming with a viewfinder or display panel or the like mounted on the camera, a shift in focus may occur to an extent that can not be confirmed with the viewfinder or display panel or the like. It is difficult to judge if

そこで、MF操作のアシストを行うフォーカスアシスト方法が提案されている。特許文献1には、MF操作時に合焦評価値を算出して合焦度合をバー表示する方法が提案されている。また、特許文献2には、撮像装置におけるフォーカスアシスト方法として、フォーカスレンズの移動に伴う焦点状態の変化を表す複数の表示方法が提案されている。また、特許文献3では、フォーカスレンズの操作に応じて焦点状態の表示の表示時間を変更する方法が提案されている。   Therefore, a focus assist method for assisting MF operation has been proposed. Patent Document 1 proposes a method of calculating a focus evaluation value at the time of MF operation and displaying a focus degree on a bar. Further, Patent Document 2 proposes, as a focus assist method in an imaging apparatus, a plurality of display methods representing a change in focus state caused by the movement of a focus lens. Further, Patent Document 3 proposes a method of changing the display time of the display of the focus state in accordance with the operation of the focus lens.

特開2007−248615号公報Japanese Patent Application Publication No. 2007-248615 特開2005−140943号公報JP, 2005-140943, A 特開2009−122593号公報JP, 2009-122593, A

上述したような従来のフォーカスアシスト方法では、例えば、ユーザが焦点検出領域を移動させた場合、焦点検出領域内の絵柄の変化などにより、焦点検出結果が安定しないという問題が発生する。その場合、焦点状態の表示の指標が滑らかに変化せずにユーザのフォーカス操作の妨げになってしまう。しかしながら、特許文献1から3のいずれにも、焦点検出領域の位置が変化した場合について、何ら考慮されていない。   In the conventional focus assist method as described above, for example, when the user moves the focus detection area, a problem occurs that the focus detection result is not stable due to a change in the pattern in the focus detection area. In that case, the index of the display of the focus state does not change smoothly, which hinders the user's focus operation. However, none of Patent Documents 1 to 3 takes into consideration the case where the position of the focus detection area changes.

このように、ユーザが焦点検出領域を移動させた場合、焦点検出領域内の絵柄の変化などにより焦点状態の表示の指標が滑らかに変化しない。また、焦点検出領域が移動していない場合に、過去に取得した複数の焦点検出結果を平均することにより、焦点検出結果を安定させることは可能であるが、焦点検出領域を移動させた場合、平均を取ると表示の応答性が低下してしまう。   As described above, when the user moves the focus detection area, the index of the display of the focus state does not change smoothly due to the change of the pattern in the focus detection area. In addition, when the focus detection area is not moved, it is possible to stabilize the focus detection result by averaging a plurality of focus detection results acquired in the past, but when the focus detection area is moved, If the average is taken, the responsiveness of the display will decrease.

本発明は上記問題点を鑑みてなされたものであり、手動焦点調節時にユーザの焦点調節操作を補助するための安定性と応答性を両立したフォーカスアシスト表示を行うことを目的とする。   The present invention has been made in view of the above problems, and has as its object to perform focus assist display in which stability and responsiveness for supporting a user's focusing operation at the time of manual focusing are compatible.

上記目的を達成するために、本発明は、撮影光学系を介して入射される光束を受光して光電変換する撮像手段で生成された信号に基づく画像を表示手段に表示する表示制御装置であって、前記撮像手段の受光領域に設定された焦点検出領域から出力される一対の像信号に基づいて、繰り返し焦点状態を検出する焦点検出手段と、前記焦点検出手段により検出された前記焦点状態に基づく指標を前記画像に重畳して前記表示手段に表示する表示制御手段と、前記焦点検出領域の位置を指定する操作を受け付ける指定手段と、を有し、前記表示制御手段は、前記指定手段を介して指定された前記焦点検出領域の位置の変化量に応じて、前記焦点検出手段による前記焦点状態の検出結果に対する前記指標の表示の応答性を変更する。 In order to achieve the above object, the present invention is a display control device for displaying on a display means an image based on a signal generated by an imaging means for receiving and photoelectrically converting a light flux incident through an imaging optical system. Focus detection means for repeatedly detecting a focus state based on a pair of image signals output from the focus detection area set in the light receiving area of the imaging means, and the focus state detected by the focus detection means Display control means for superimposing the index based on the image on the image and displaying it on the display means, and designation means for receiving an operation for designating the position of the focus detection area, the display control means comprising the designation means The responsiveness of the display of the indicator to the detection result of the focus state by the focus detection means is changed according to the amount of change of the position of the focus detection area designated via the display.

本発明によれば、手動焦点調節時にユーザの焦点調節操作を補助するための安定性と応答性を両立したフォーカスアシスト表示を実現することができる。   According to the present invention, it is possible to realize a focus assist display having both stability and responsiveness for assisting the user in focusing operation at the time of manual focusing.

本発明の実施形態における撮像システムの概略構成を示すブロック図。BRIEF DESCRIPTION OF THE DRAWINGS The block diagram which shows schematic structure of the imaging system in embodiment of this invention. 実施の形態における撮像素子の画素配列の概略図。Schematic of the pixel array of the image pick-up element in embodiment. 本実施形態におけるフォーカスアシスト表示の一例を示す図。FIG. 6 is a view showing an example of focus assist display in the present embodiment. 本実施形態における焦点検出領域の移動量と、フォーカスアシスト表示との関係を示す図。FIG. 6 is a view showing the relationship between the amount of movement of a focus detection area and focus assist display in the present embodiment. 本実施形態におけるフォーカスアシスト表示制御のメインフローを示すフローチャート。5 is a flowchart showing a main flow of focus assist display control in the present embodiment. 本実施形態における焦点検出領域の設定処理を説明するための図。FIG. 6 is a view for explaining setting processing of a focus detection area in the present embodiment. 本実施形態における焦点検出領域の設定処理の一例を示すフローチャート。6 is a flowchart illustrating an example of focus detection area setting processing according to the present embodiment. 本実施形態における焦点検出処理を示すフローチャート。5 is a flowchart showing focus detection processing in the present embodiment. 本実施形態における焦点検出領域から得られる像信号の一例を示す図。FIG. 3 is a view showing an example of an image signal obtained from a focus detection area in the present embodiment. 本実施形態における相関演算方法を説明する図。FIG. 6 is a diagram for explaining a correlation calculation method in the present embodiment. 本実施形態における相関演算方法を説明する図。FIG. 6 is a diagram for explaining a correlation calculation method in the present embodiment. 本実施形態における焦点検出結果平均処理を示すフローチャート。6 is a flowchart showing focus detection result averaging processing in the present embodiment. 本実施形態における角度指標算出処理を示すフローチャート。6 is a flowchart showing angle index calculation processing in the present embodiment. 本実施形態における方向指標算出処理を示すフローチャート。6 is a flowchart showing direction index calculation processing in the present embodiment. 本実施形態における被写体検出時の焦点検出領域の追加設定例を示す図。FIG. 6 is a view showing an example of additional setting of a focus detection area at the time of subject detection in the present embodiment.

以下、添付図面を参照して本発明を実施するための形態を詳細に説明する。なお、以下に説明する実施の形態は、本発明の実現手段としての一例であり、本発明が適用される装置の構成や各種条件によって適宜修正又は変更されるべきものであり、本発明は以下の実施の形態に限定されるものではない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the attached drawings. The embodiment described below is an example as a realization means of the present invention, and it should be appropriately corrected or changed according to the configuration of the apparatus to which the present invention is applied and various conditions. It is not limited to the embodiment of the invention.

●撮像システムの構成
図1は、本発明の実施形態に係るフォーカスアシスト機能を備える撮像システムの概略構成を示すブロック図である。なお、本実施形態では、レンズ交換可能な撮像システムとして説明するが、固定レンズを有する撮像装置であってもよい。
Configuration of Imaging System FIG. 1 is a block diagram showing a schematic configuration of an imaging system provided with a focus assist function according to an embodiment of the present invention. In addition, in this embodiment, although demonstrated as a lens exchangeable imaging system, it may be an imaging device which has a fixed lens.

図1に示すように、本実施形態における撮像システムは、レンズユニット10とカメラ本体20から構成されている。そして、レンズユニット10全体の動作を統括制御するレンズ制御部106と、撮像システム全体の動作を統括するカメラ制御部207がデータを通信している。   As shown in FIG. 1, the imaging system in the present embodiment is composed of a lens unit 10 and a camera body 20. A lens control unit 106 that generally controls the operation of the entire lens unit 10 and a camera control unit 207 that generally controls the operation of the entire imaging system communicate data.

まず、レンズユニット10の構成について説明する。レンズユニット10は、固定レンズ101、絞り102、フォーカスレンズ103、ズームレンズ(不図示)等により構成される撮影光学系を有する。絞り102は、絞り駆動部104によって駆動され、後述する撮像素子201への入射光量を制御する。フォーカスレンズ103は、フォーカスレンズ駆動部105によって駆動され、焦点調節に用いられる。不図示のズームレンズは、ズームレンズ駆動部によって駆動されることにより、ズームの調節に用いられる。なお、本実施形態においては、ズームレンズ及びズームレンズ駆動部は必須の構成ではなく、無くても構わない。   First, the configuration of the lens unit 10 will be described. The lens unit 10 has an imaging optical system including a fixed lens 101, an aperture 102, a focus lens 103, a zoom lens (not shown), and the like. The diaphragm 102 is driven by the diaphragm driving unit 104, and controls the amount of light incident on the image sensor 201 described later. The focus lens 103 is driven by the focus lens drive unit 105 and used for focusing. The zoom lens (not shown) is used for zoom adjustment by being driven by a zoom lens drive unit. In the present embodiment, the zoom lens and the zoom lens drive unit are not essential components, and may be omitted.

絞り駆動部104、フォーカスレンズ駆動部105、ズームレンズ駆動部はレンズ制御部106によって制御され、絞り102の開口径や、フォーカスレンズ103及びズームレンズの位置が制御される。ユーザによりレンズ操作部107に備えられたフォーカスリングやズームリング等の操作により、フォーカスやズームなどの操作が行われた場合には、レンズ制御部106がユーザ操作に応じた制御を行う。レンズ制御部106は、後述するカメラ制御部207から受信した制御命令や制御情報に応じて、絞り駆動部104やフォーカスレンズ駆動部105、ズームレンズ駆動部の制御を行うと共に、レンズ情報をカメラ制御部207に送信する。   The diaphragm drive unit 104, the focus lens drive unit 105, and the zoom lens drive unit are controlled by the lens control unit 106, and the aperture diameter of the diaphragm 102 and the positions of the focus lens 103 and the zoom lens are controlled. When an operation such as focusing or zooming is performed by the user operating the focus ring or the zoom ring provided in the lens operation unit 107, the lens control unit 106 performs control according to the user operation. The lens control unit 106 controls the diaphragm drive unit 104, the focus lens drive unit 105, and the zoom lens drive unit according to control commands and control information received from a camera control unit 207 described later, and controls the camera for lens information. Send to the unit 207.

次に、本実施形態に係るフォーカスアシスト機能を備えるカメラ本体20の構成について説明する。カメラ本体20において、撮像素子201は、CCDやCMOSセンサにより構成され、レンズユニット10の撮影光学系を通過した光束が撮像素子201の受光面上に結像される。そして、形成された被写体像が撮像素子201のフォトダイオード(光電変換部)によって入射光量に応じた電荷に光電変換され、蓄積される。各フォトダイオードに蓄積された電荷は、カメラ制御部207の指令に従ってタイミングジェネレータ209から与えられる駆動パルスに基づいて、電荷に応じた電圧信号として撮像素子201から順次読み出される。なお、撮像素子201の詳細構成については後述するが、本実施形態における撮像素子201は、通常の撮像信号の他に、位相差方式の焦点検出に用いることのできる一対のフォーカス用信号を出力することができる。   Next, the configuration of the camera body 20 provided with the focus assist function according to the present embodiment will be described. In the camera body 20, the imaging device 201 is formed of a CCD or a CMOS sensor, and a light flux passing through the imaging optical system of the lens unit 10 is imaged on the light receiving surface of the imaging device 201. Then, the formed object image is photoelectrically converted by the photodiode (photoelectric conversion unit) of the imaging device 201 into a charge corresponding to the amount of incident light, and is stored. The charge stored in each photodiode is sequentially read out from the imaging device 201 as a voltage signal corresponding to the charge based on the drive pulse supplied from the timing generator 209 in accordance with an instruction from the camera control unit 207. Although the detailed configuration of the imaging device 201 will be described later, the imaging device 201 in this embodiment outputs a pair of focusing signals that can be used for phase difference focus detection in addition to a normal imaging signal. be able to.

撮像素子201から読み出された撮像信号及びフォーカス用信号は、CDS/AGC回路202に入力され、リセットノイズを除去する為の相関二重サンプリング、ゲインの調節、信号のデジタル化を行う。CDS/AGC回路202は、処理した撮像信号をカメラ信号処理部203及び被写体検出部210に、フォーカス用信号をフォーカス信号処理部204に出力する。   The imaging signal and the focusing signal read out from the imaging element 201 are input to the CDS / AGC circuit 202, and correlated double sampling for removing reset noise, adjustment of gain, and digitization of a signal are performed. The CDS / AGC circuit 202 outputs the processed imaging signal to the camera signal processing unit 203 and the subject detection unit 210, and the focusing signal to the focusing signal processing unit 204.

カメラ信号処理部203は、CDS/AGC回路202から出力された撮像信号に対して各種の画像処理を施して、映像信号を生成する。表示部205は、LCDや有機EL等の表示デバイスであり、カメラ信号処理部203から出力された映像信号に基づく画像を表示する。また、撮像信号の記録を行う記録モードの時には、撮像信号はカメラ信号処理部203から記録部206に送られ、光ディスク、半導体メモリ、磁気テープ等の記録媒体に記録される。   The camera signal processing unit 203 performs various types of image processing on the imaging signal output from the CDS / AGC circuit 202 to generate a video signal. The display unit 205 is a display device such as an LCD or an organic EL, and displays an image based on the video signal output from the camera signal processing unit 203. In the recording mode for recording an imaging signal, the imaging signal is sent from the camera signal processing unit 203 to the recording unit 206, and is recorded on a recording medium such as an optical disk, a semiconductor memory, a magnetic tape, or the like.

フォーカス信号処理部204は、CDS/AGC回路202から出力された一対のフォーカス用信号を基に相関演算を行い、デフォーカス量と信頼性情報(二像一致度、二像急峻度、コントラスト情報、飽和情報、キズ情報等)を算出する。そして、算出したデフォーカス量と信頼性情報をカメラ制御部207へ出力する。なお、相関演算の詳細については、図9及び図10を用いて後述する。   The focus signal processing unit 204 performs correlation calculation based on the pair of focusing signals output from the CDS / AGC circuit 202, and the defocus amount and reliability information (two-image coincidence, two-image steepness, contrast information, Calculate saturation information, flaw information, etc.). Then, the calculated defocus amount and reliability information are output to the camera control unit 207. The details of the correlation calculation will be described later with reference to FIGS. 9 and 10.

カメラ制御部207は、カメラ本体20内の各構成と情報をやり取りして制御を行う。また、カメラ本体20内の処理だけでなく、ユーザにより操作されたカメラ操作部208からの入力に応じて、電源のON/OFF、設定の変更、記録を制御する。更に、オートフォーカス(AF)/マニュアルフォーカス(MF)制御の切り替え、記録画像の確認、焦点検出領域の選択等、ユーザ操作に応じた様々な機能を実行する。また、先述したようにレンズユニット10内のレンズ制御部106と情報をやり取りし、撮影光学系の制御命令や制御情報を送信したり、レンズユニット10内の情報を取得する。   The camera control unit 207 performs control by exchanging information with each component in the camera body 20. In addition to the processing in the camera body 20, power ON / OFF, setting change, and recording are controlled according to an input from the camera operation unit 208 operated by the user. Furthermore, various functions are performed according to the user's operation, such as switching between autofocus (AF) / manual focus (MF) control, confirmation of a recorded image, and selection of a focus detection area. Further, as described above, information is exchanged with the lens control unit 106 in the lens unit 10, and a control instruction and control information of the photographing optical system are transmitted, and information in the lens unit 10 is acquired.

被写体検出部210は、CDS/AGC回路202から出力された撮像信号に対して公知の検出処理を施し、顔検出や人体検出など、撮影画面から特定の被写体領域を検出する。また、顔検出時は、顔の向き(正面、横向き、後ろ向き)も検出する。なお、以下の説明では、被写体として人物の顔を検出するものとして説明する。   The subject detection unit 210 performs known detection processing on the imaging signal output from the CDS / AGC circuit 202, and detects a specific subject area from the photographing screen such as face detection or human body detection. In addition, at the time of face detection, the face direction (front, sideways, backward) is also detected. In the following description, it is assumed that the face of a person is detected as a subject.

●撮像素子の構成
図2は、本実施形態における撮像素子201の画素配列の概略を示す図である。図2は、本実施形態で撮像素子201として用いられる2次元CMOSセンサの画素配列を、撮像画素の4列×4行の範囲で(焦点検出画素の配列としては8列×4行の範囲)で示したものである。
Configuration of Image Pickup Element FIG. 2 is a diagram showing an outline of a pixel array of the image pickup element 201 in the present embodiment. FIG. 2 shows the pixel array of the two-dimensional CMOS sensor used as the imaging element 201 in this embodiment in a range of 4 columns × 4 rows of imaging pixels (a range of 8 columns × 4 rows as an array of focus detection pixels) It is shown by.

本実施形態において、画素群200は2列×2行の画素からなり、ベイヤー配列のカラーフィルタにより覆われているものとする。そして、各画素群200において、R(赤)の分光感度を有する画素200Rが左上の位置に、G(緑)の分光感度を有する画素200Gが右上と左下の位置に、B(青)の分光感度を有する画素200Bが右下の位置に配置されている。さらに、本実施形態の撮像素子201は、撮像面位相差方式の焦点検出を行うために、各画素は、1つのマイクロレンズ215に対し、複数のフォトダイオード(光電変換部)を保持している。本実施形態では、各画素、2列×1行に配列された2つのフォトダイオード211、212により構成されているものとする。   In the present embodiment, it is assumed that the pixel group 200 consists of 2 columns × 2 rows of pixels and is covered by a Bayer-arranged color filter. Then, in each pixel group 200, the pixel 200R having R (red) spectral sensitivity is at the upper left position, and the pixel 200 G having G (green) spectral sensitivity is at the upper right and lower left positions. A pixel 200B having sensitivity is disposed at the lower right position. Furthermore, in order to perform focus detection in the imaging surface phase difference method, the imaging device 201 according to the present embodiment holds a plurality of photodiodes (photoelectric conversion units) with respect to one microlens 215. . In this embodiment, it is assumed that each pixel is constituted by two photodiodes 211 and 212 arranged in 2 columns × 1 row.

撮像素子201は、図2に示す4列×4行の画素(8列×4行のフォトダイオード)からなる画素群200を撮像面上に多数配置することで、撮像信号及びフォーカス用信号の取得を可能としている。   The image pickup element 201 acquires a large number of image pickup signals and a signal for focusing by arranging a large number of pixel groups 200 consisting of 4 columns × 4 rows of pixels (8 columns × 4 rows of photodiodes) shown in FIG. Is possible.

このような構成を有する各画素では、光束をマイクロレンズ215で分離し、フォトダイオード211、212に結像する。そして、2つのフォトダイオード211、212からの信号を加算した信号(A+B信号)を撮像信号、個々のフォトダイオード211、212からそれぞれ読み出した2つの信号(A、B像信号)をフォーカス用信号として用いる。なお、撮像信号とフォーカス用信号とをそれぞれ読み出してもよいが、本実施形態では、処理負荷を考慮して、次のようにしてもよい。即ち、撮像信号(A+B信号)と、フォトダイオード211、212のいずれか一方のフォーカス用信号(例えばA信号)とを読み出し、差分を取ることで、もう一方のフォーカス用信号(例えばB信号)を取得する。   In each pixel having such a configuration, the light flux is separated by the microlens 215 and is imaged on the photodiodes 211 and 212. Then, a signal (A + B signal) obtained by adding the signals from the two photodiodes 211 and 212 is used as an imaging signal, and two signals (A and B image signals) read from the respective photodiodes 211 and 212 as focusing signals. Use. Note that although the imaging signal and the focusing signal may be read out respectively, in the present embodiment, the processing load may be taken into consideration as follows. That is, the imaging signal (A + B signal) and the focusing signal (for example, A signal) of one of the photodiodes 211 and 212 are read out, and the other focusing signal (for example, B signal) is obtained by taking the difference. get.

なお、本実施形態では各画素において、1つのマイクロレンズ215に対して2つのフォトダイオード211、212を有する構成としているが、フォトダイオードの数は2つに限定されず、それ以上であってもよい。また、マイクロレンズ215に対して受光部の開口位置が異なる画素を複数有するようにしてもよい。つまり、結果としてA像信号とB像信号といった位相差検出可能な位相差検出用の2つの信号が得られる構成であればよい。また、本発明は図2に示すように全ての画素が複数のフォトダイオードを有する構成に限らず、撮像素子201を構成する通常画素内に、図2に示すような焦点検出用画素を離散的に設ける構成であってもよい。   In the present embodiment, in each pixel, one micro lens 215 is configured to have two photodiodes 211 and 212, but the number of photodiodes is not limited to two, and may be more than two. Good. Further, a plurality of pixels in which the opening position of the light receiving unit is different from the microlens 215 may be provided. That is, any configuration may be employed as long as two signals for phase difference detection, such as A image signal and B image signal, can be obtained as a result. Further, the present invention is not limited to the configuration in which all the pixels have a plurality of photodiodes as shown in FIG. 2, but the focus detection pixels as shown in FIG. It may be provided in

●フォーカスアシストの表示形態
次に、本実施形態におけるフォーカスアシストの表示形態について、図3及び図4を用いて説明する。図3(a)は焦点状態を表すフォーカスアシスト表示300の一例を示している。焦点検出領域301は焦点状態を検出する領域を示し、表示パーツ302〜305により、検出された焦点状態を表現する。フォーカスアシスト表示を行う際、各表示パーツが画像と重畳して表示部205に表示される。
Display Form of Focus Assist Next, a display mode of focus assist in the present embodiment will be described with reference to FIGS. 3 and 4. FIG. 3A shows an example of the focus assist display 300 representing the focus state. A focus detection area 301 indicates an area for detecting a focus state, and the display parts 302 to 305 express the detected focus state. When the focus assist display is performed, each display part is displayed on the display unit 205 so as to be superimposed on the image.

角度表示パーツ302は合焦位置までの距離(デフォーカス量に対応する)を示す指標であり、合焦位置表示パーツ303は合焦位置を示している。角度表示パーツ302は焦点状態に応じて円形パーツ304に沿って移動し、合焦した場合は合焦位置表示パーツ303と同じ位置に表示される。また、合焦した場合は、各表示パーツの色を合焦でない場合と異なる色にしてもよい。なお、角度表示パーツ302と合焦位置表示パーツ303が作る角度は、焦点検出領域301から取得される焦点検出結果(デフォーカス量)に応じて変化する。また、方向表示パーツ305は合焦までの方向を示す指標である。これは、合焦位置に対して、至近側にボケているか、無限側にボケているかを表すものである。以上説明したように、焦点状態表示は、合焦までの距離、方向、及び、合焦状態を示す表示パーツにより行われる。   The angle display part 302 is an index indicating the distance to the in-focus position (corresponding to the defocus amount), and the in-focus position display part 303 indicates the in-focus position. The angle display part 302 moves along the circular part 304 in accordance with the focus state, and is displayed at the same position as the in-focus position display part 303 when focused. Further, in the case of focusing, the color of each display part may be different from that in the case of not focusing. The angle formed by the angle display part 302 and the in-focus position display part 303 changes in accordance with the focus detection result (defocus amount) acquired from the focus detection area 301. Further, the direction display part 305 is an index indicating the direction to the in-focus state. This represents whether the image is blurred to the near side or to the infinite side with respect to the in-focus position. As described above, the focus state display is performed by the display part indicating the distance to the in-focus state, the direction, and the in-focus state.

上述したように構成されたフォーカスアシスト表示300はユーザに合焦状態であるか否かを分かりやすく通知するために、図3(b)に示すように状態を変化させる。まず、フォーカスレンズ103が合焦位置から遠い位置にある(大ボケ)場合と、合焦位置から近い位置にある(小ボケ)場合とでは、合焦位置表示パーツ303と角度表示パーツ302とが作る角度を変える。すなわち、図3(b)に示すように、大ボケ時の角度θ1を小ボケ時の角度θ2よりも大きくすることで、合焦位置からの距離をユーザに通知している。なお、この角度は、焦点状態に応じてなめらかに変化し、合焦時には、角度を示す角度表示パーツ302と合焦位置表示パーツ303が重なった表示になる。さらに、円形パーツ304の表示の色や太さを変更してもよい。   The focus assist display 300 configured as described above changes the state as shown in FIG. 3B in order to notify the user whether it is in focus or not. First, in the case where the focus lens 103 is far from the in-focus position (large blur) and in the case close to the in-focus position (small blur), the in-focus position display part 303 and the angle display part 302 Change the angle you make. That is, as shown in FIG. 3B, the distance from the in-focus position is notified to the user by setting the angle θ1 at the large blur to be larger than the angle θ2 at the small blur. Note that this angle changes smoothly in accordance with the focus state, and at the time of focusing, the angle display part 302 indicating the angle and the focus position display part 303 are displayed in an overlapping manner. Furthermore, the display color and thickness of the circular part 304 may be changed.

また、合焦位置までの距離(デフォーカス量)が使用できない場合であって、合焦方向のみ使用できる場合は、角度表示パーツ302を表示せずに、方向表示パーツ305を表示する。また、合焦までの距離、方向どちらも使用できない場合は、角度表示パーツ302及び方向表示パーツ305を両方共表示せずに、測距不可であることを示す。この場合、焦点検出領域301及び、または円形パーツ304の色や形状を変化させてもよい。   When the distance to the in-focus position (defocus amount) can not be used and only the in-focus direction can be used, the direction display part 305 is displayed without displaying the angle display part 302. If neither the distance to the in-focus position nor the direction can be used, both the angle display part 302 and the direction display part 305 are not displayed, indicating that distance measurement is not possible. In this case, the color and shape of the focus detection area 301 and / or the circular part 304 may be changed.

なお、合焦位置までの距離及び方向を使用できるか否かを、フォーカス用信号の信頼度に基づいて判定してもよい。例えば、信頼度が第1の閾値よりも高い場合には、合焦位置までの距離と方向の両方が使用できると判定する。信頼度が第1の閾値以下で、第2の閾値よりも高い場合には、合焦方向のみが使用できると判定する。信頼度が第2の閾値以下の場合には、合焦位置までの距離と方向のどちらも使用できないと判定する。
なお、これらのフォーカスアシスト表示は一例であり、本発明はこれらの表示形態に限定されるものではない。
Whether or not the distance and direction to the in-focus position can be used may be determined based on the reliability of the focusing signal. For example, if the reliability is higher than the first threshold, it is determined that both the distance to the in-focus position and the direction can be used. If the reliability is less than the first threshold and higher than the second threshold, it is determined that only the in-focus direction can be used. If the reliability is less than or equal to the second threshold, it is determined that neither the distance to the in-focus position nor the direction can be used.
Note that these focus assist displays are an example, and the present invention is not limited to these display forms.

また、フォーカスアシスト表示300は、表示部205へのタッチ操作や不図示の十字キー等により、ユーザが指定した任意の位置に移動可能である。また、被写体検出時は特徴的な部分に自動的に表示することが望ましく、例えば、被写体307が検出された場合、図3(c)のように、フォーカスアシスト表示300を、被写体307(人物の顔)の特徴的な部分である目や鼻の位置になるように自動的に配置する。   Further, the focus assist display 300 can be moved to any position designated by the user by a touch operation on the display unit 205 or a cross key (not shown). In addition, it is desirable to automatically display in a characteristic part at the time of subject detection. For example, when the subject 307 is detected, as shown in FIG. 3C, the focus assist display 300 is displayed on the subject 307 (person's The face is automatically placed at the eye or nose position, which is a characteristic part of the face.

ここで、ユーザが焦点検出領域301を移動させた場合や、被写体内に自動的にフォーカスアシスト表示300を行う場合などに、焦点検出領域301内の絵柄の変化などにより、焦点検出結果が安定しないという問題が発生する。その場合、角度表示パーツ302や方向表示パーツ305が滑らかに変化せずに、ユーザにフォーカス操作の不安感を与えてしまう。そこで、複数回焦点検出を行った結果を平均して利用することで表示300の安定性を向上することができる。しかし、角度表示パーツ302や方向表示パーツ305の表示は安定するが、平均値を使用することにより、焦点検出領域を移動させた場合など、被写体が変化した場合には過去に検出された被写体のデータを使用するため、応答性が損なわれてしまう。   Here, when the user moves the focus detection area 301 or when the focus assist display 300 is automatically performed in the subject, the focus detection result is not stable due to a change in the design in the focus detection area 301, etc. The problem of In that case, the angle display part 302 and the direction display part 305 do not change smoothly and give the user a sense of anxiety in the focus operation. Therefore, the stability of the display 300 can be improved by averaging and using the results of focus detection performed a plurality of times. However, although the display of the angle display part 302 and the direction display part 305 is stable, when the focus detection area is moved by using the average value, the subject is detected in the past when the subject changes. Responsiveness is lost due to the use of data.

そこで、本実施形態では、図4に示すように、焦点検出領域の位置の変化量(移動量)に応じて、フォーカスアシスト表示制御を変更する。その例として、本実施形態では、フォーカスアシスト表示の内容(項目)、及び、角度表示に使用する焦点検出結果の平均回数、焦点検出領域の位置等を変更する。また、フォーカスアシスト表示制御を、手動で移動させた場合と自動で移動する場合(被写体検出時)とでフォーカスアシスト表示制御を変更する。   Therefore, in the present embodiment, as shown in FIG. 4, the focus assist display control is changed according to the amount of change (the amount of movement) of the position of the focus detection area. As an example, in the present embodiment, the contents (items) of the focus assist display, the average number of times of focus detection results used for angle display, the position of the focus detection area, and the like are changed. In addition, focus assist display control is changed between manual movement and automatic movement (when an object is detected).

手動で焦点検出領域を移動させる場合は、焦点検出領域の移動を大きく3パターンに分ける。焦点検出領域の位置の変化量の判定は、前回の焦点状態の検出時と今回の焦点状態の検出時の焦点検出領域の重複率で判定する。重複率が100〜80%の場合(変化量が第2の量以下)は「移動なし」、重複率が80〜50%の場合(変化量が第2の量より大きく、第1の量以下)は「移動小(速度小)」と判断する。また、重複率が50〜0%の場合(変化量が第1の量より大きい)は「移動大(速度大)」と判断する。なお、焦点検出は所定の周期で繰り返し行うため、焦点検出領域の変化量(移動量)が大きい場合とは、焦点検出領域の移動速度が大きい場合と換言することができる。このように、本実施形態では、前回の焦点検出時と今回の焦点検出時における焦点検出領域の位置の変化を判定し、判定結果に基づいて後述するようにフォーカスアシスト制御を変更する。具体的には、焦点検出領域の位置の変化が大きいほど、フォーカスアシスト表示の応答性を高くする。   When the focus detection area is moved manually, the movement of the focus detection area is roughly divided into three patterns. The determination of the amount of change in the position of the focus detection area is made based on the overlapping rate of the focus detection area at the time of the previous detection of the focus state and the detection of the current focus state. If the overlap rate is 100 to 80% (the amount of change is less than the second amount), "no movement", if the overlap rate is 80 to 50% (the amount of change is greater than the second amount, less than the first amount ) Is determined to be "moving small (speed small)". Further, when the overlapping rate is 50 to 0% (the amount of change is larger than the first amount), it is determined as "moving large (speed large)". In addition, since focus detection is repeatedly performed in a predetermined cycle, the case where the amount of change (the amount of movement) of the focus detection area is large can be said to be the case where the moving speed of the focus detection area is large. As described above, in the present embodiment, the change in the position of the focus detection area at the time of the previous focus detection and the current focus detection is determined, and focus assist control is changed as described later based on the determination result. Specifically, as the change in the position of the focus detection area is larger, the responsiveness of the focus assist display is increased.

「移動なし」および「移動小」の場合は、焦点状態を複数回検出した結果を平均し、平均した結果に基づいて「角度」と「方向」を示すフォーカスアシスト表示を行う。ここで、「角度」はデフォーカス量に、「方向」は合焦への方向に対応する。また、「移動小」の場合は、「移動なし」の場合と比較して、焦点状態の検出結果を平均する回数を少なくすることで、フォーカスアシスト表示の応答性を高くする。   In the case of "no movement" and "small movement", the results of detection of the focus state a plurality of times are averaged, and focus assist display indicating "angle" and "direction" is performed based on the averaged result. Here, the "angle" corresponds to the defocus amount, and the "direction" corresponds to the direction to focus. Further, in the case of “small movement”, the responsiveness of the focus assist display is enhanced by reducing the number of times of averaging the detection results of the focus state as compared with the case of “no movement”.

図4に示すように、「移動なし」の場合は、表示内容を「角度」と「方向」とし、角度表示に使用する焦点検出結果の平均回数を10回として安定した表示を実現する。また、「移動小」の場合は、表示内容を「角度」と「方向」とし、角度表示に使用する焦点検出結果の平均回数を5回とすることで、「移動なし」の場合と比較して、安定した表示よりも応答性を重視させる。   As shown in FIG. 4, in the case of "no movement", stable display is realized with the display content being "angle" and "direction" and the average number of focus detection results used for angle display being 10 times. In the case of "small movement", the display content is "angle" and "direction", and the average number of focus detection results used for angle display is five times, compared to "no movement". Emphasis on responsiveness rather than stable display.

また、「移動大」の場合は、表示内容を「方向」のみとし、角度表示に使用する焦点検出結果の平均算出処理は行わない。これは、移動量が大きい場合、複数周期分の焦点検出結果を平均すると、過去の異なる被写体に対する焦点検出結果を用いてしまう可能性があるからである。よって、焦点検出結果を平均せずに、移動後の焦点検出領域から得られたフォーカス用信号に基づいて得られた値をそのままフォーカスアシスト表示に利用する。ただし、この場合、合焦位置までの距離(デフォーカス量)を示す角度表示が不安定になってしまうため、角度表示は行わず、方向表示のみにする。これは、「移動大」の場合、ユーザが被写体を変更している可能性があるため、不安定でかつ不必要な表示をするよりも、角度表示をしない方が画面上の煩雑さを低減できるからである。   Further, in the case of “moving large”, the display content is only “direction”, and the average calculation processing of the focus detection results used for angle display is not performed. This is because when the amount of movement is large, there is a possibility that the focus detection results for different subjects in the past may be used if the focus detection results for a plurality of cycles are averaged. Therefore, without averaging the focus detection results, the value obtained based on the focusing signal obtained from the moved focus detection area is used as it is for focus assist display. However, in this case, since the angle display indicating the distance (the defocus amount) to the in-focus position becomes unstable, the angle display is not performed but only the direction display. This is because in the case of “moving large”, the user may be changing the subject, and therefore it is less complicated on the screen to display the angle rather than displaying the unstable and unnecessary display. It is because it can.

一方、被写体検出時等において自動で焦点検出領域を移動させる場合は、表示内容を「角度」と「方向」とする。角度表示に使用する焦点検出結果の平均算出処理は行わないが、検出された被写体内に後述するようにして設定された複数の焦点検出領域における焦点検出結果を用いて、角度表示及び方向表示を行う。   On the other hand, in the case of automatically moving the focus detection area at the time of object detection or the like, the display content is set to “angle” and “direction”. Although average calculation processing of focus detection results used for angle display is not performed, angle display and direction display are performed using focus detection results in a plurality of focus detection areas set as described later in the detected subject. Do.

なお、上述したように、フォーカス用信号の信頼度などに基づいて、合焦位置までの距離及び方向を使用できるか否かを判定する場合には、該判定結果を優先して表示内容を決定する。つまり、合焦位置までの距離と方向の両方が使用できない場合には、測距不可であることを示し、合焦までの方向のみが使用できる場合には、表示内容を「方向」のみとする。合焦位置までの距離及び方向の両方が使用できる場合には、図4で説明したように、焦点検出領域の位置の変化量に応じて表示内容を決定する。ここで、「移動なし」と「移動小」の場合において、焦点検出結果の平均回数のうち、合焦位置までの距離が使用できると判定された回数が所定回数以上であれば、「角度」(と「方向」)の表示を行うようにしてもよい。この場合、合焦位置までの距離が使用できると判定された回数が所定回数に満たなければ、「方向」のみの表示としてもよい。   As described above, when it is determined whether or not the distance and direction to the in-focus position can be used based on the reliability of the focusing signal, etc., the display content is determined with priority given to the determination result. Do. That is, when both the distance to the in-focus position and the direction can not be used, it indicates that distance measurement is not possible, and when only the direction to the in-focus can be used, the display content is only "direction". . If both the distance to the in-focus position and the direction can be used, the display content is determined according to the amount of change in the position of the focus detection area as described in FIG. Here, in the case of “no movement” and “small movement”, “angle” if the number of times it is determined that the distance to the in-focus position can be used out of the average number of focus detection results, Display of (and "direction") may be performed. In this case, if the number of times it is determined that the distance to the in-focus position can be used is less than the predetermined number, it may be displayed only in the “direction”.

これは、顔などの被写体が検出された場合、顔内では距離変化がほとんどないため、顔枠内の複数の焦点検出領域からの焦点検出結果を利用することにより、焦点検出の精度を上げることができるからである。   This is because when a subject such as a face is detected, there is almost no change in distance in the face, and therefore the accuracy of focus detection is improved by using focus detection results from a plurality of focus detection areas in the face frame. It is because

また、人物などの被写体の場合、画面内を動き回ることが予想される。そのため、手動で焦点検出領域を移動させる場合と同様の表示方法とすると、焦点検出領域の移動量が「移動大」と判定されて角度表示が出せなくなるケースが起こりやすく、ユーザにとってデメリットが大きい。従って、被写体検出時のフォーカスアシスト表示は、被写体検出枠内に複数配置された焦点検出領域の焦点検出結果を用いて、角度表示及び方向表示を行う。これにより、複数の焦点検出結果を使用することによる安定した角度表示と平均処理を行わないことによる応答性を両立させることが可能になる。   In the case of a subject such as a person, it is expected to move around in the screen. Therefore, if the display method is the same as in the case of moving the focus detection area manually, it is likely that the movement amount of the focus detection area is determined to be "large movement" and the angle display can not be displayed, which is a disadvantage for the user. Therefore, in the focus assist display at the time of object detection, angle display and direction display are performed using focus detection results of a plurality of focus detection areas arranged in the object detection frame. This makes it possible to achieve both stable angle display by using a plurality of focus detection results and responsiveness by not performing averaging processing.

また、人物の場合は、被写体の顔の角度に応じて、使用する焦点検出領域を変更することにより、さらなるフォーカスアシスト表示の精度向上が可能になる。   Further, in the case of a person, the accuracy of focus assist display can be further improved by changing the focus detection area to be used according to the angle of the face of the subject.

●フォーカスアシストの表示制御
次に、カメラ本体20における本実施形態のフォーカスアシスト表示制御について説明する。図5は、カメラ制御部207が実行するフォーカスアシスト表示制御のメイン処理の手順を示すフローチャートである。この処理は、カメラ制御部207内に格納されたコンピュータプログラムに従って所定周期で実行される。例えば、1フレーム(または1フィールド)分の画像を生成するための撮像素子201からの撮像信号の読み出し周期(垂直同期期間毎)で実行しても良いし、垂直同期期間内で複数回繰り返すようにしてもよい。
Display Control of Focus Assist Next, focus assist display control of the present embodiment in the camera body 20 will be described. FIG. 5 is a flowchart showing a procedure of main processing of focus assist display control performed by the camera control unit 207. This process is executed in a predetermined cycle according to a computer program stored in the camera control unit 207. For example, it may be executed at a readout cycle (every vertical synchronization period) of an imaging signal from the imaging device 201 for generating an image for one frame (or one field), or may be repeated a plurality of times within the vertical synchronization period. You may

まず、S101において、カメラ制御部207は、マニュアルフォーカス操作が可能かどうかの判定を行う。マニュアルフォーカス操作が可能である場合はS102に遷移し、そうでない場合は、そのまま処理を終了する。S102では、カメラ制御部207は、焦点検出領域の設定処理を行う。   First, in step S101, the camera control unit 207 determines whether a manual focus operation is possible. If the manual focus operation is possible, the process proceeds to step S102. If not, the process ends. In S102, the camera control unit 207 performs setting processing of the focus detection area.

ここで、S102で行われる焦点検出領域の設定処理について、図6及び図7を用いて説明する。   Here, the setting process of the focus detection area performed in S102 will be described using FIGS. 6 and 7.

図6は、焦点検出領域の一例を示す図である。図6(a)は、撮像素子201を構成する画素アレイ401(受光領域)上に設定された焦点検出領域402を示す図である。後述する相関演算を行う為に必要なフォーカス用信号を読み出す演算領域404は、焦点検出領域402及び相関演算に必要なシフト領域403を合わせた領域である。図6(a)中のp、q、s、tは、それぞれx軸方向の座標を表し、演算領域404はpからqの範囲にあり、焦点検出領域402はsからtの範囲にある。   FIG. 6 is a diagram showing an example of the focus detection area. FIG. 6A is a view showing the focus detection area 402 set on the pixel array 401 (light receiving area) constituting the imaging device 201. As shown in FIG. The calculation area 404 for reading out the focus signal necessary for performing the correlation calculation described later is an area in which the focus detection area 402 and the shift area 403 necessary for the correlation calculation are combined. In FIG. 6A, p, q, s, and t respectively indicate coordinates in the x-axis direction, the calculation area 404 is in the range of p to q, and the focus detection area 402 is in the range of s to t.

図6(b)は、焦点検出領域402が5つの焦点検出領域405〜409に分かれている場合を示す図である。一例として、本実施形態では、この焦点検出領域405〜409毎にピントずれ量を算出し、焦点検出を行う。そして、複数の焦点検出領域405〜409それぞれについて得られた焦点検出結果の中から最も信頼できる焦点検出結果を選択し、その焦点検出結果から算出したデフォーカス量をフォーカスアシスト表示に用いる。なお、焦点検出領域数は5つに限定されるものではない。   FIG. 6B shows the case where the focus detection area 402 is divided into five focus detection areas 405 to 409. As an example, in this embodiment, the focus shift amount is calculated for each of the focus detection areas 405 to 409 to perform focus detection. Then, the most reliable focus detection result is selected from the focus detection results obtained for each of the plurality of focus detection areas 405 to 409, and the defocus amount calculated from the focus detection result is used for focus assist display. The number of focus detection areas is not limited to five.

図6(c)は、図6(b)の焦点検出領域405〜409を連結した仮の焦点検出領域410を示す図である。実施形態の一例として、このように複数の焦点検出領域を連結した領域から得られたフォーカス用信号から算出したデフォーカス量をフォーカスアシスト表示に用いても良い。   FIG. 6C is a view showing a temporary focus detection area 410 in which the focus detection areas 405 to 409 of FIG. 6B are connected. As an example of the embodiment, the defocus amount calculated from the focusing signal obtained from the area in which the plurality of focus detection areas are connected as described above may be used for the focus assist display.

また、被写体検出機能が有効であるカメラの場合、図6(d)に示すように、検出した顔420の位置に焦点検出領域419を設定することも可能である。この場合、検出した顔420に対して、焦点検出領域419を一つ、または複数設定し、設定した焦点検出領域から得られる焦点検出結果から、1つの有効デフォーカス量及び有効デフォーカス方向を算出する。そして、この有効デフォーカス量及び/または有効デフォーカス方向をフォーカスアシスト表示に用いる。   Further, in the case of a camera in which the subject detection function is effective, as shown in FIG. 6D, it is possible to set the focus detection area 419 at the position of the detected face 420. In this case, one or a plurality of focus detection areas 419 are set for the detected face 420, and one effective defocus amount and an effective defocus direction are calculated from the focus detection result obtained from the set focus detection areas. Do. Then, the effective defocus amount and / or the effective defocus direction are used for focus assist display.

また、タッチ入力などの機能を有する撮像装置においては、ユーザの指定により焦点検出領域を自由に設定することが可能である。図6(e)に示すように、指定した位置421に焦点検出領域を設定することができる。   In addition, in an imaging apparatus having a function such as touch input, it is possible to freely set the focus detection area by designation of the user. As shown in FIG. 6E, the focus detection area can be set at the designated position 421.

図7は、焦点検出領域の設定処理の一例を示すフローチャートである。まず、S201において、カメラ制御部207は、焦点検出領域の位置が指定されているかについての判定を行う。焦点検出領域の位置が指定されている場合は、S205に進み、そうでない場合は、S202に進む。なお、指定方法は本発明の主旨とは異なるため詳細は省略するが、例えば、不図示のタッチパネルや十字キー操作によりユーザが指定することができる。S205では、カメラ制御部207は、図6(e)に示したように、指定された位置に焦点検出領域の設定を行う。   FIG. 7 is a flowchart showing an example of setting processing of the focus detection area. First, in S201, the camera control unit 207 determines whether the position of the focus detection area is designated. If the position of the focus detection area is designated, the process proceeds to step S205. If not, the process proceeds to step S202. The specification method is different from the subject matter of the present invention, and thus details thereof will be omitted. However, for example, the user can specify by a touch panel (not shown) or the cross key operation. In step S205, as illustrated in FIG. 6E, the camera control unit 207 sets the focus detection area at the designated position.

S202において、カメラ制御部207は、被写体検出機能(ここでは顔検出機能)がONかOFFかの判定を行う。被写体検出機能がONの場合はS204に進み、そうでない場合はS203に進む。S203では、顔検出されず、また、焦点検出領域の位置も指定されていないため、カメラ制御部207は、所定の位置(例えば中央)に焦点検出領域を設定する。S204では、カメラ制御部207は、図6(d)に示したように、検出された顔の位置に焦点検出領域を設定する。なお、顔が検出されていない場合には、S203と同様に、所定の位置に焦点検出領域を設定すれば良い。   In step S202, the camera control unit 207 determines whether the subject detection function (here, the face detection function) is on or off. If the subject detection function is ON, the process proceeds to step S204. If not, the process proceeds to step S203. In S203, the face is not detected, and the position of the focus detection area is not designated, so the camera control unit 207 sets the focus detection area at a predetermined position (for example, the center). In S204, as shown in FIG. 6D, the camera control unit 207 sets a focus detection area at the position of the detected face. If no face is detected, the focus detection area may be set at a predetermined position, as in S203.

なお、焦点検出領域の配置の仕方、領域の広さ等は、図6及び図7に示す例に限られるものではなく、発明の要旨を逸脱しない範囲で設定することができる。   Note that the arrangement of the focus detection area, the size of the area, and the like are not limited to the examples shown in FIGS. 6 and 7, and can be set without departing from the scope of the invention.

以上のようにしてS102における焦点検出領域の設定が終了すると、S103に進む。S103では、カメラ制御部207は、焦点検出領域が被写体検出部210により検出された顔の位置に設定されているかを判定する。顔の位置に設定されている場合は、S112に遷移し、そうでない場合は、S104に遷移する。   As described above, when the setting of the focus detection area in S102 is completed, the process proceeds to S103. In step S103, the camera control unit 207 determines whether the focus detection area is set to the position of the face detected by the subject detection unit 210. If the position of the face is set, the process proceeds to step S112. If not, the process proceeds to step S104.

S104では焦点検出処理を行う。ここで、S104で行われる焦点検出処理について、図8〜図11を用いて説明する。   In S104, focus detection processing is performed. Here, the focus detection process performed in S104 will be described using FIGS.

図8は、焦点検出処理を示すフローチャートであり、フォーカス信号処理部204により行われる。まず、S301において、フォーカス信号処理部204は、S102で設定された焦点検出領域から一対のフォーカス用信号を取得する。次に、S302において、フォーカス信号処理部204は、S301で取得した一対のフォーカス用信号から相関量を算出する。続いて、S303では、フォーカス信号処理部204は、S302で算出した相関量から相関変化量を算出する。そして、S304において、フォーカス信号処理部204は、S303で算出した相関変化量からピントずれ量を算出する。また、S305では、フォーカス信号処理部204は、S301で取得したフォーカス用信号の信頼度を算出する。この信頼度は、S304で算出したピントずれ量がどれだけ信頼できるのかを表す信頼度に相当する。これらの処理を設定された焦点検出領域の数だけ行う。そして、S306では、フォーカス信号処理部204は、焦点検出領域毎にピントずれ量をデフォーカス量に変換する。   FIG. 8 is a flowchart showing focus detection processing, which is performed by the focus signal processing unit 204. First, in S301, the focus signal processing unit 204 acquires a pair of focusing signals from the focus detection area set in S102. Next, in S302, the focus signal processing unit 204 calculates a correlation amount from the pair of focusing signals acquired in S301. Subsequently, in S303, the focus signal processing unit 204 calculates a correlation change amount from the correlation amount calculated in S302. Then, in S304, the focus signal processing unit 204 calculates the out-of-focus amount from the correlation change amount calculated in S303. In step S305, the focus signal processing unit 204 calculates the reliability of the focusing signal acquired in step S301. This degree of reliability corresponds to the degree of reliability which indicates how reliable the defocus amount calculated in S304 is. These processes are performed as many as the number of focus detection areas set. Then, in S306, the focus signal processing unit 204 converts the defocus amount into the defocus amount for each focus detection area.

なお、デフォーカス量は、合焦位置からの絶対的な距離や、フォーカスレンズ103を合焦位置に移動させるために必要なパルス数で表しても良いし、そういった表現と次元、単位の異なる表現や、相対的な表現であってもよい。すなわち、どれだけ合焦状態から離れていると判断できるか、どれだけフォーカス制御すれば合焦状態に移行できると判断できるかを示すものであればよい。   The defocus amount may be expressed by an absolute distance from the in-focus position or the number of pulses necessary to move the focus lens 103 to the in-focus position, and such an expression different from such an expression in terms of dimension and unit Or, it may be a relative expression. That is, it may be any value as long as it can be determined how far away from the in-focus state it can be determined, and it can be determined that it can shift to the in-focus state if it is focus controlled.

図9及び図10を用いて、図8で説明した焦点検出処理を詳細に説明する。図9は、S102で設定された焦点検出領域から取得されたフォーカス用信号の一例を示す図であり、ここでは、図6(b)で示すように5つの焦点検出領域405〜409が設定された場合を示している。sからtが焦点検出領域に対応し、pからqがシフト量を踏まえた相関量演算に必要な演算領域404に対応している。またxからyは、1つ分の焦点検出領域を表している。実線501はA像信号、破線502はB像信号を示している。   The focus detection process described with reference to FIG. 8 will be described in detail with reference to FIGS. 9 and 10. FIG. 9 is a view showing an example of the focus signal acquired from the focus detection area set in S102, where five focus detection areas 405 to 409 are set as shown in FIG. 6 (b). Case is shown. s to t correspond to the focus detection area, and p to q correspond to the calculation area 404 required for the correlation amount calculation based on the shift amount. Also, x to y represent one focus detection area. A solid line 501 represents an A image signal, and a broken line 502 represents a B image signal.

図9(a)は、シフト前のA像信号501、B像信号502を波形で表した図である。図9(b)は、図9(a)に示すシフト前のA像信号501、B像信号502の波形に対しプラス方向にシフトした図であり、図9(c)は、図9(a)に示すシフト前のA像信号501、B像信号502の波形に対しマイナス方向にシフトした図である。相関量を算出する際には、それぞれ矢印の方向にA像信号501、B像信号502を1ビットずつシフトする。   FIG. 9A is a diagram representing the A image signal 501 and the B image signal 502 before shifting by waveforms. FIG. 9 (b) is a diagram shifted in the positive direction with respect to the waveforms of the A image signal 501 and the B image signal 502 before the shift shown in FIG. 9 (a), and FIG. The image is shifted in the negative direction with respect to the waveforms of the A image signal 501 and the B image signal 502 before the shift shown in FIG. When calculating the amount of correlation, the A image signal 501 and the B image signal 502 are shifted by one bit in the direction of the arrows.

続いて、S302における相関量CORの算出法について説明する。まず、図9(b)と(c)で説明したように、A像信号501とB像信号502を1ビットずつシフトしていき、各シフト状態におけるA像信号501とB像信号502との差の絶対値の和を、焦点検出領域405〜409それぞれについて算出する。ここで、最小シフト数はp−s、最大シフト数はq−tである。また、シフト量をiで表し、xを焦点検出領域の開始座標、yを焦点検出領域の終了座標とすると、以下の式(1)によって相関量CORを算出することができる。   Subsequently, a method of calculating the correlation amount COR in S302 will be described. First, as described in FIGS. 9B and 9C, the A image signal 501 and the B image signal 502 are shifted by 1 bit each, and the A image signal 501 and the B image signal 502 in each shift state are shifted. The sum of the absolute values of the differences is calculated for each of the focus detection areas 405 to 409. Here, the minimum shift number is p−s and the maximum shift number is q−t. Further, assuming that the shift amount is i, x is a start coordinate of the focus detection area, and y is an end coordinate of the focus detection area, the correlation amount COR can be calculated by the following equation (1).

Figure 0006548435
Figure 0006548435

図10(a)は、相関量の変化の一例を示した図であり、グラフの横軸はシフト量、縦軸は相関量を示す。相関量波形601において、602、603は極値周辺を示している。この中でも相関量が小さい方ほど、A像信号501とB像信号502の一致度が高いと言える。   FIG. 10A is a diagram showing an example of changes in the amount of correlation, in which the horizontal axis of the graph indicates the amount of shift and the vertical axis indicates the amount of correlation. In the correlation amount waveform 601, 602 and 603 indicate around the extreme value. Among them, the smaller the correlation amount, the higher the degree of coincidence between the A image signal 501 and the B image signal 502.

続いて、S303における相関変化量ΔCORの算出法について説明する。まず、図10(a)に示す相関量波形より、1シフト飛ばしの相関量の差から相関変化量を算出する。この時、最小シフト数は図9中のp−s、最大シフト数は図9中のq−tである。シフト量をiで表すと、以下の式(2)によって相関変化量ΔCORを算出することができる。
ΔCOR[i]=ΔCOR[i−1]−ΔCOR[i+1]
(p−s+1)<i<(q−t−1) …(2)
Subsequently, a method of calculating the correlation change amount ΔCOR in S303 will be described. First, from the correlation amount waveform shown in FIG. 10A, the correlation change amount is calculated from the difference between the correlation amounts of one shift skipping. At this time, the minimum shift number is p−s in FIG. 9 and the maximum shift number is q−t in FIG. When the shift amount is represented by i, the correlation change amount ΔCOR can be calculated by the following equation (2).
ΔCOR [i] = ΔCOR [i−1] −ΔCOR [i + 1]
(P−s + 1) <i <(q−t−1) (2)

図10(b)は、相関変化量ΔCORの一例を示した図であり、グラフの横軸はシフト量、縦軸は相関変化量を示す。相関変化量波形604において、605、606は相関変化量がプラスからマイナスになる周辺である。この605、606において相関変化量が0となった状態をゼロクロスと呼び、A像信号501とB像信号502の一致度が最も高く、その時のシフト量に基づいてピントずれ量が得られる。   FIG. 10B is a diagram showing an example of the correlation change amount ΔCOR. The horizontal axis of the graph indicates the shift amount, and the vertical axis indicates the correlation change amount. In the correlation change amount waveform 604, reference numerals 605 and 606 denote areas where the correlation change amount changes from plus to minus. The state in which the amount of change in correlation becomes zero in 605 and 606 is called zero cross, the degree of coincidence between the A image signal 501 and the B image signal 502 is the highest, and the defocus amount is obtained based on the shift amount at that time.

図11(a)は、図10(b)の部分605を拡大したもので、607は相関変化量波形604の一部分である。図11(a)を用いて、S304におけるピントずれ量PRDの算出法について説明する。まず、ピントずれ量PRDは整数部分βと小数部分αに分けられる。小数部分αは、図11(a)中の三角形ABCと三角形ADEの相似の関係から、以下の式(3)によって算出することができる。   FIG. 11A is an enlarged view of a portion 605 of FIG. 10B, and 607 is a part of the correlation change amount waveform 604. A method of calculating the focus deviation amount PRD in S304 will be described with reference to FIG. First, the defocus amount PRD is divided into an integral part β and a fractional part α. The fractional part α can be calculated by the following equation (3) from the similarity relationship between the triangle ABC and the triangle ADE in FIG. 11 (a).

Figure 0006548435
一方、整数部分βは、図11(a)より、以下の式(4)によって算出することができる。
β=k−1 …(4)
以上のようにして得られたαとβの和から、ピントずれ量PRDを算出することができる。
Figure 0006548435
On the other hand, the integer part β can be calculated by the following equation (4) from FIG. 11 (a).
β = k−1 (4)
The focus shift amount PRD can be calculated from the sum of α and β obtained as described above.

また、図10(b)のように複数のゼロクロスが存在する場合は、ゼロクロスでの相関量変化の急峻性maxder(以下、「急峻性」と呼ぶ。)が大きいところを第1のゼロクロスとする。この急峻性は合焦位置の特定のし易さを示す指標で、値が大きいほど合焦位置を特定し易い点であることを示す。急峻性は以下の式(5)によって算出することができる。
maxder=|ΔCOR[k−1]|+|ΔCOR[k]| …(5)
When there are a plurality of zero crossings as shown in FIG. 10 (b), the place where the steepness maxder (hereinafter referred to as "steepness") of the correlation amount change at the zero crossings is large is taken as the first zero crossing. . The steepness is an index indicating the ease of specifying the in-focus position, and indicates that the larger the value, the easier it is to specify the in-focus position. The steepness can be calculated by the following equation (5).
maxder = | ΔCOR [k−1] | + | ΔCOR [k] | (5)

以上のように、ゼロクロスが複数存在する場合は、ゼロクロスでの急峻性によって第1のゼロクロスを決定する。   As described above, when there are a plurality of zero crossings, the first zero crossing is determined by the steepness at the zero crossing.

続いて、S305における像信号(フォーカス用信号)の信頼度の算出法について説明する。信頼度は、前述した急峻性や、A像信号とB像信号との一致度fnclvl(以下、「2像一致度」と呼ぶ。)によって定義することができる。2像一致度はピントずれ量の精度を表す指標で、値が小さいほど精度が良い。   Subsequently, a method of calculating the reliability of the image signal (focusing signal) in S305 will be described. The reliability can be defined by the above-described sharpness and the coincidence fnclvl between the A and B image signals (hereinafter referred to as "two-image coincidence"). The degree of image coincidence is an index that represents the accuracy of the amount of focus shift, and the smaller the value, the better the accuracy.

図11(b)は、図10(a)の極地付近602の部分を拡大したもので、608は相関量波形601の一部分である。2像一致度は以下の式(6)によって算出することができる。
(i) ΔCOR[k−1]×2≦maxderのとき
fnclvl=COR[k−1]+ΔCOR[k−1]/4
(ii) ΔCOR[k-1]×2>maxderのとき
fnclvl=COR[k]−ΔCOR[k]/4 …(6)
FIG. 11B is an enlarged view of a portion near the polar region 602 in FIG. 10A, and 608 is a part of the correlation amount waveform 601. The degree of image coincidence can be calculated by the following equation (6).
(i) When ΔCOR [k−1] × 2 ≦ maxder
fnclvl = COR [k-1] + ΔCOR [k-1] / 4
(ii) When ΔCOR [k-1] × 2> maxder
fnclvl = COR [k] -ΔCOR [k] / 4 (6)

S104において上述したようにして焦点検出処理を終了すると、S105に進む。S105では、カメラ制御部207は、焦点検出領域の移動量を判定する。移動量の判定は、図4を参照して上述したように、前回の焦点状態の検出時と今回の焦点状態の検出時との焦点検出領域の重複率で判定する。重複率が100〜80%の場合は「移動なし」、重複率が80〜50%の場合は「移動小」、重複率が50〜0%の場合は「移動大」と判断する。移動大の場合は、S106に遷移し、移動小の場合は、S107に遷移し、移動なしの場合はS108に遷移する。なお、移動量の判定方法は上述の方法に限定されず、例えば、前回の検出時と今回の焦点検出時との焦点検出領域の中心位置の座標変化などに基づいて判定してもよい。   When the focus detection process ends as described above in S104, the process proceeds to S105. In S105, the camera control unit 207 determines the movement amount of the focus detection area. As described above with reference to FIG. 4, the determination of the movement amount is made based on the overlapping rate of the focus detection area between the previous detection of the focus state and the current detection of the focus state. If the duplication rate is 100 to 80%, it is determined that "no movement", if the duplication rate is 80 to 50%, "small movement", and if the duplication rate is 50 to 0%, "high movement". If the movement is large, the process proceeds to step S106. If the movement is small, the process proceeds to step S107. If the movement is small, the process proceeds to step S108. The method of determining the movement amount is not limited to the above-described method, and may be determined based on, for example, a change in coordinates of the center position of the focus detection area between the previous detection time and the current focus detection time.

S106、S107、S108では、カメラ制御部207は、焦点検出結果の平均を求める。それぞれの平均回数をパラメータとして処理を行う。ここで図12を用いて、図5のS106、S107、S108で行われる焦点検出結果平均処理について説明する。   In S106, S107, and S108, the camera control unit 207 obtains an average of the focus detection results. Processing is performed using the average number of times as a parameter. Here, the focus detection result averaging process performed in S106, S107, and S108 of FIG. 5 will be described with reference to FIG.

S401では、カメラ制御部207は、図4で説明した平均回数Th_Aを取得し、S402に遷移する。S402では、カメラ制御部207は、平均回数Th_Aが0か否かの判定を行う。平均回数Th_Aが0である場合は、S403に遷移する。S403では平均処理を行わず、今回の焦点検出結果(デフォーカス量と信頼度)をフォーカスアシスト表示に用いるデータとして設定する。   In step S401, the camera control unit 207 acquires the average number of times Th_A described in FIG. 4 and transitions to step S402. In step S402, the camera control unit 207 determines whether the average number of times Th_A is zero. If the average number Th_A is 0, the process proceeds to step S403. In S403, the averaging process is not performed, and the current focus detection result (the defocus amount and the reliability) is set as data used for focus assist display.

一方、0ではない場合は、S404に遷移し、カメラ制御部207は、直近のTh_A回の焦点検出によって得られたデフォーカス量の総和をTh_Aで割ることで、デフォーカス量の平均を算出する。続いてS405では、カメラ制御部207は、直近のTh_A回の焦点検出によって得られた信頼度の総和をTh_Aで割ることで、信頼度の平均を算出する。   On the other hand, if not 0, the process proceeds to step S404, and the camera control unit 207 calculates the average of the defocus amounts by dividing the sum of the defocus amounts obtained by the most recent Th_A focus detections by Th_A. . Subsequently, in S405, the camera control unit 207 calculates the average of the reliability by dividing the sum of the reliability obtained by the most recent Th_A times of focus detection by Th_A.

S406では、カメラ制御部207は、S404及びS405で得られた、焦点検出結果(デフォーカス量と信頼度)の平均をフォーカスアシスト表示に用いるデータとして設定する。以上のようにして焦点検出結果平均処理を終了すると、図5の処理に戻る。   In step S406, the camera control unit 207 sets the average of the focus detection results (defocus amount and reliability) obtained in steps S404 and S405 as data used for focus assist display. When the focus detection result averaging process is completed as described above, the process returns to the process of FIG.

S107及びS108における処理後、S109では、カメラ制御部207は、フォーカスアシスト表示に用いる角度表示パーツの表示位置を示す角度指標の算出処理を行う。なお、S105で移動量が「移動大」と判断された場合には、図4を参照して説明したように角度表示パーツを表示しないため、S106の処理後、角度指標を算出せずに、S110に進む。   After the processing in S107 and S108, in S109, the camera control unit 207 performs calculation processing of an angle index indicating the display position of the angle display part used for the focus assist display. In addition, when the movement amount is determined to be “moving large” in S105, the angle display part is not displayed as described with reference to FIG. 4, so after the processing in S106, the angle index is not calculated. It progresses to S110.

ここで図13を用いて、S109で行われる角度指標算出処理について説明する。S501では、カメラ制御部207は、S107またはS108で算出された信頼度の平均が予め決められた閾値Th_B以上かどうかの判定を行う。この判定は、S107またはS108で算出されたデフォーカス量の平均を用いて角度指標を算出して良いかどうかを判定するために行われる。信頼度が閾値Th_B以上であれば、デフォーカス量は信頼できる値であると判断し、S502に遷移する。閾値Th_Bより小さければ、デフォーカス量が信頼できない可能性があると判断し、S504に遷移する。   Here, the angle index calculation process performed in S109 will be described using FIG. In step S501, the camera control unit 207 determines whether the average of the degrees of reliability calculated in step S107 or S108 is equal to or greater than a predetermined threshold Th_B. This determination is performed to determine whether the angle index may be calculated using the average of the defocus amounts calculated in step S107 or S108. If the degree of reliability is equal to or higher than the threshold Th_B, it is determined that the defocus amount is a reliable value, and the process transitions to S502. If it is smaller than the threshold Th_B, it is determined that the defocus amount may not be reliable, and the process transitions to S504.

S502では、カメラ制御部207は、デフォーカス量を角度に変換する。変換の一例としては、焦点深度を1°とし、デフォーカス量が焦点深度の何倍かを算出することにより角度指標を算出する。なお、角度への変換方法は、フォーカスリングの敏感度などに応じて変化させるなど、この算出方法に限定されるものではない。   In step S502, the camera control unit 207 converts the defocus amount into an angle. As an example of conversion, the depth of focus is 1 °, and the angle index is calculated by calculating how many times the defocus amount is the depth of focus. Note that the conversion method to the angle is not limited to this calculation method, such as changing according to the sensitivity of the focus ring or the like.

S503では、カメラ制御部207は、角度表示パーツの表示を行うことを示すフラグを設定し、S504では、カメラ制御部207は、角度表示パーツの表示を行わないことを示すフラグを設定して、図5のS110に進む。   In S503, the camera control unit 207 sets a flag indicating that the angle display part is to be displayed, and in S504, the camera control unit 207 sets a flag indicating that the angle display part is not to be displayed, It progresses to S110 of FIG.

S110では、カメラ制御部207は、フォーカスアシスト表示に用いる方向表示パーツの表示方向を示す方向指標の算出処理を行う。ここで図14を用いて、S110で行われる方向指標算出処理について説明する。S601では、カメラ制御部207は、S106、S107、またはS108で得られた信頼度が予め決められた閾値Th_C以上かどうかの判定を行う。この判定は、S106、S107またはS108で算出されたデフォーカス量を用いて方向指標を算出して良いかどうかを判定するために行われる。信頼度が閾値Th_C以上であれば、デフォーカス量から算出される方向が信頼できる値であると判断し、S602に遷移する。閾値Th_Cより小さい場合は、デフォーカス量から算出される方向が信頼できない可能性があると判断し、S604に遷移する。なお、閾値Th_Bは閾値Th_Cよりもより高い信頼度を示す閾値とする。   In S110, the camera control unit 207 performs calculation processing of a direction index indicating the display direction of the direction display part used for focus assist display. Here, the direction index calculation process performed in S110 will be described using FIG. In S601, the camera control unit 207 determines whether the reliability obtained in S106, S107 or S108 is equal to or greater than a predetermined threshold Th_C. This determination is performed to determine whether or not the direction indicator may be calculated using the defocus amount calculated in S106, S107 or S108. If the reliability is equal to or higher than the threshold Th_C, it is determined that the direction calculated from the defocus amount is a reliable value, and the process transitions to S602. If smaller than the threshold Th_C, it is determined that the direction calculated from the defocus amount may be unreliable, and the process transitions to S604. The threshold Th_B is a threshold indicating a higher degree of reliability than the threshold Th_C.

S602では、カメラ制御部207は、デフォーカス量を方向に変換する。一例として、デフォーカス量の符号から方向を算出する。カメラ制御部207は、S603では、方向表示を行うことを示すフラグを設定し、S604では、方向表示を行わないことを示すフラグを設定して、図5のS111に進む。   In step S602, the camera control unit 207 converts the defocus amount into a direction. As an example, the direction is calculated from the sign of the defocus amount. In step S603, the camera control unit 207 sets a flag indicating that direction display is to be performed, and in step S604, sets a flag indicating that direction display is not performed, and the process proceeds to step S111 in FIG.

S111では、カメラ制御部207は、フォーカスアシスト表示処理を行う。この処理では、角度表示及び方向表示のフラグや、算出された角度指標及び方向指標に基づいて、図3を参照して説明したフォーカスアシスト表示に必要なパーツの表示や、焦点状態、焦点検出不可の表示を表示部205に行う。   In S111, the camera control unit 207 performs focus assist display processing. In this process, the display of parts necessary for the focus assist display described with reference to FIG. 3, the focus state, and the focus detection can not be performed based on the flag of the angle display and the direction display, and the calculated angle index and direction index. Is displayed on the display unit 205.

一方、S103において被写体検出部210により検出された顔の位置に焦点検出領域が設定されている場合はS112に遷移し、カメラ制御部207は、顔の向きの判定を行う。顔の向きが横顔であると判定された場合はS113に遷移し、正面向きまたは後ろ向きと判定された場合はS114に遷移する。   On the other hand, when the focus detection area is set at the position of the face detected by the subject detection unit 210 in S103, the process proceeds to S112, and the camera control unit 207 determines the direction of the face. If it is determined that the face direction is a side face, the process proceeds to step S113. If it is determined that the face direction is the front direction or the backward direction, the process proceeds to step S114.

S113及びS114では、カメラ制御部207は、それぞれ焦点検出領域を追加設定する。ここでは、図15に示すように、顔の向きに応じて、使用する焦点検出領域を追加設定する。図15(a)は正面顔の場合の焦点検出領域の設定方法を説明するための図である。正面顔701に対して、焦点検出領域702、703、704を設定する。正面顔の場合、例えば、S102で焦点検出領域702が設定されていたとすると、焦点検出領域703及び704を水平方向に追加設定する。ここで、S102で設定される焦点検出領域702と同じ顔の領域内に焦点検出領域を追加設定することで、焦点検出領域702と追加設定される焦点検出領域703及び704がほぼ同一距離となる。このように、焦点検出領域を水平に複数配置し、複数の焦点検出結果を利用してフォーカスアシスト表示を行う。   In S113 and S114, the camera control unit 207 sets an additional focus detection area. Here, as shown in FIG. 15, the focus detection area to be used is additionally set in accordance with the direction of the face. FIG. 15A is a view for explaining a setting method of the focus detection area in the case of the front face. Focus detection areas 702, 703, and 704 are set for the front face 701. In the case of the frontal face, for example, if the focus detection area 702 is set in S102, the focus detection areas 703 and 704 are additionally set in the horizontal direction. Here, by additionally setting the focus detection area within the same face area as the focus detection area 702 set in S102, the focus detection area 703 and the focus detection areas 703 and 704 to be additionally set become substantially the same distance. . Thus, a plurality of focus detection areas are arranged horizontally, and focus assist display is performed using a plurality of focus detection results.

一方、図15(b)は横向きの場合の焦点検出領域の設定方法を説明するための図である。横顔705に対して、焦点検出領域706、707、708を設定する。横向きの場合、例えば、S102で焦点検出領域707が設定されていたとすると、焦点検出領域706及び708を垂直方向に追加設定する。ここで、S102で設定される焦点検出領域707と同じ顔の領域内に焦点検出領域を追加設定することで、焦点検出領域707と追加設定される焦点検出領域706及び708がほぼ同一距離となる。顔が横向きの場合は、水平方向に焦点検出領域を配置すると顔の領域から外れてしまう可能性が高いため、垂直方向に焦点検出領域を配置する。このように、焦点検出領域を垂直方向に複数配置し、複数の焦点検出結果を利用してフォーカスアシスト表示を行う。なお、本実施形態では、焦点検出領域を3つとしているが、これは一例であり、焦点検出領域の個数はこの例に限定されない。   On the other hand, FIG. 15 (b) is a diagram for explaining the setting method of the focus detection area in the case of horizontal orientation. Focus detection areas 706, 707, and 708 are set for the profile 705. In the case of horizontal orientation, for example, assuming that the focus detection area 707 is set in S102, the focus detection areas 706 and 708 are additionally set in the vertical direction. Here, by additionally setting the focus detection area within the same face area as the focus detection area 707 set in S102, the focus detection areas 706 and 708 to be additionally set are approximately the same distance as the focus detection area 707. . When the face is in the horizontal orientation, if the focus detection area is arranged in the horizontal direction, the focus detection area is arranged in the vertical direction since it is likely to be out of the face area. Thus, a plurality of focus detection areas are arranged in the vertical direction, and focus assist display is performed using a plurality of focus detection results. Although three focus detection areas are provided in this embodiment, this is an example, and the number of focus detection areas is not limited to this example.

S115では複数の焦点検出領域それぞれについて、図8〜図10を参照して上述したようにして焦点検出処理を行う。S116はS115で得られた複数の焦点検出結果に基づく算出処理であり、具体的には、カメラ制御部207は、S115で算出された複数の焦点検出結果を平均する。なお、本実施形態では平均を使用しているが、焦点検出結果の信頼度等を考慮し、使用する焦点検出結果を選択することも可能である。   In S115, focus detection processing is performed on each of the plurality of focus detection areas as described above with reference to FIGS. S116 is a calculation process based on the plurality of focus detection results obtained in S115. Specifically, the camera control unit 207 averages the plurality of focus detection results calculated in S115. Although the average is used in the present embodiment, it is also possible to select the focus detection result to be used in consideration of the reliability of the focus detection result and the like.

焦点検出結果の処理後、S109、S110において上述した処理を行い、S111において、カメラ制御部207は、フォーカスアシスト表示処理を行う。   After processing of the focus detection result, the above-described processing is performed in S109 and S110, and the camera control unit 207 performs focus assist display processing in S111.

上記の通り本実施形態によれば、手動焦点調節時のフォーカスアシスト表示において、焦点状態表示の安定性を維持しながら、且つ、応答性を向上することができる。なお、本実施形態では、カメラ本体20に備えられた表示部205においてフォーカスアシスト表示を行う構成について説明したが、カメラ本体20と別の表示部において、カメラ本体20から取得した情報を用いてフォーカスアシスト表示を行ってもよい。   As described above, according to the present embodiment, in the focus assist display at the time of manual focus adjustment, the responsiveness can be improved while maintaining the stability of the focus state display. In the present embodiment, the configuration for performing the focus assist display on the display unit 205 provided in the camera body 20 has been described. However, in a display unit different from the camera body 20, focus is obtained using information acquired from the camera body 20. An assist display may be performed.

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

以上、本発明をその好適な実施形態に基づいて詳述したが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。   Although the present invention has been described in detail based on its preferred embodiments, the present invention is not limited to these specific embodiments, and various forms within the scope of the present invention are also included in the present invention. Be

103:フォーカスレンズ、105:フォーカスレンズ駆動部、106:レンズ制御部、107:レンズ操作部、201:撮像素子、203:カメラ信号処理部、204:フォーカス信号処理部、205:表示部、207:カメラ制御部、210:被写体検出部、211,212:フォトダイオード、301:焦点検出領域、302:角度表示パーツ、303:合焦位置表示パーツ、304:円形パーツ、305方向表示パーツ   103: focus lens, 105: focus lens drive unit, 106: lens control unit, 107: lens operation unit, 201: imaging device, 203: camera signal processing unit, 204: focus signal processing unit, 205: display unit, 207: Camera control unit, 210: subject detection unit, 211, 212: photodiode, 301: focus detection area, 302: angle display part, 303: focusing position display part, 304: circular part, 305 direction display part

Claims (17)

撮影光学系を介して入射される光束を受光して光電変換する撮像手段で生成された信号に基づく画像を表示手段に表示する表示制御装置であって、
前記撮像手段の受光領域に設定された焦点検出領域から出力される一対の像信号に基づいて、繰り返し焦点状態を検出する焦点検出手段と、
前記焦点検出手段により検出された前記焦点状態に基づく指標を前記画像に重畳して前記表示手段に表示する表示制御手段と、
前記焦点検出領域の位置を指定する操作を受け付ける指定手段と、
を有し、
前記表示制御手段は、前記指定手段を介して指定された前記焦点検出領域の位置の変化量に応じて、前記焦点検出手段による前記焦点状態の検出結果に対する前記指標の表示の応答性を変更することを特徴とする表示制御装置。
A display control apparatus for displaying on a display means an image based on a signal generated by an imaging means for receiving and photoelectrically converting a light flux incident through an imaging optical system,
Focus detection means for repeatedly detecting a focus state on the basis of a pair of image signals output from a focus detection area set in a light receiving area of the imaging means;
Display control means for superimposing an index based on the focus state detected by the focus detection means on the image and displaying it on the display means;
Specifying means for receiving an operation for specifying the position of the focus detection area;
Have
The display control means changes the responsiveness of the display of the indicator to the detection result of the focus state by the focus detection means in accordance with the amount of change of the position of the focus detection area specified via the specification means. A display control device characterized by
前記表示制御手段は、前記指定手段を介して指定された前記焦点検出領域の位置の変化量に応じて、前記指標が表示する項目を変更することを特徴とする請求項1に記載の表示制御装置。 The display control according to claim 1, wherein the display control means changes an item displayed by the index in accordance with a change amount of a position of the focus detection area specified through the specification means. apparatus. 前記焦点状態は、デフォーカス量と合焦位置への方向を含み、
前記指標の表示形態として、前記デフォーカス量と前記合焦位置への方向を示す第1の表示形態と、前記デフォーカス量を示さずに、前記合焦位置への方向を示す第2の表示形態を備え、
前記表示制御手段は、前記指定手段を介して指定された前記焦点検出領域の位置の変化量に基づいて、前記第1の表示形態と前記第2の表示形態を切り替えることを特徴とする請求項1または2に記載の表示制御装置。
The focus state includes the defocus amount and the direction to the in-focus position,
As the indication form of the index, a first indication form indicating the defocus amount and the direction to the in-focus position, and a second indication indicating the direction to the in-focus position without indicating the defocus amount With form
The display control means switches the first display form and the second display form on the basis of the amount of change in position of the focus detection area designated through the designation means. The display control device according to 1 or 2 .
前記表示制御手段は、前記指定手段を介して指定された前記焦点検出領域の位置の変化量が第1の量より大きい場合に前記第2の表示形態で前記指標を表示し、当該変化量が前記第1の量以下の場合に前記第1の表示形態で前記指標を表示することを特徴とする請求項に記載の表示制御装置。 The display control means displays the index in the second display mode when the amount of change in the position of the focus detection area designated through the designation means is larger than the first amount, and the amount of change is The display control device according to claim 3 , wherein the index is displayed in the first display mode when the first amount is smaller than or equal to the first amount. 前記第2の表示形態で前記指標を表示する場合、前記表示制御手段は、前記指定手段を介した操作により位置が変更された後の前記焦点検出領域に基づく前記合焦位置への方向を示す表示を行うことを特徴とする請求項またはに記載の表示制御装置。 When displaying the index in the second display mode, the display control means indicates the direction to the in-focus position based on the focus detection area after the position is changed by the operation through the specifying means. The display control device according to claim 3 or 4 , wherein display is performed. 前記第1の表示形態で前記指標を表示する場合、前記表示制御手段は、前記焦点検出手段が前記焦点状態を複数回検出した結果の平均に基づいて、前記指標を表示することを特徴とする請求項乃至のいずれか1項に記載の表示制御装置。 When displaying the indicator in the first display mode, the display control unit displays the indicator based on an average of results of the focus detection unit detecting the focus state a plurality of times. The display control apparatus according to any one of claims 3 to 5 . 前記第1の表示形態で前記指標を表示する場合、前記表示制御手段は、前記指定手段を介して指定された前記焦点検出領域の位置の変化量が第2の量より大きい場合に、当該第2の量以下の場合と比較して、前記焦点状態を平均する回数を少なくすることを特徴とする請求項に記載の表示制御装置。 When the index is displayed in the first display mode, the display control means may change the amount of change in the position of the focus detection area specified via the specifying means, if the amount of change in the position is larger than a second amount. 7. The display control device according to claim 6 , wherein the number of times of averaging the focus state is reduced as compared with the case where the amount is 2 or less. 前記表示制御手段は、前記像信号の信頼度に基づいて前記デフォーカス量が使用できると判定された場合に、前記指定手段を介して指定された前記焦点検出領域の位置の変化量に応じて、前記指標の表示を変更することを特徴とする請求項乃至のいずれか1項に記載の表示制御装置。 When it is determined that the defocus amount can be used based on the reliability of the image signal, the display control means responds to the amount of change in the position of the focus detection area designated via the designation means. The display control apparatus according to any one of claims 3 to 7 , wherein display of the index is changed. 前記画像から所定の被写体を検出する被写体検出手段を更に有し、
前記指定手段を介した前記焦点検出領域の位置の指定を受け付ける第1のモードと、前記被写体検出手段により検出された前記所定の被写体の位置に基づいて前記焦点検出領域を設定する第2のモードとを有することを特徴とする請求項1乃至のいずれか1項に記載の表示制御装置。
It further comprises subject detection means for detecting a predetermined subject from the image,
A first mode for receiving specification of the position of the focus detection area via the specification means, and a second mode for setting the focus detection area based on the position of the predetermined subject detected by the subject detection means The display control device according to any one of claims 1 to 8 , characterized in that
前記表示制御手段は、前記第1のモードにおいて、前記指定手段を介して指定された前記焦点検出領域の位置の変化量に応じて、前記指標の表示を変更することを特徴とする請求項に記載の表示制御装置。 10. The display control method according to claim 9 , wherein the display control means changes the display of the index in the first mode in accordance with the amount of change in the position of the focus detection area specified via the specification means. The display control device according to. 前記被写体検出手段により前記所定の被写体が検出された場合に、前記第2のモードが設定されることを特徴とする請求項または10に記載の表示制御装置。 The subject when the predetermined subject is detected by the detection means, the display control device according to claim 9 or 10, wherein the second mode is set. 前記第2のモードの場合に、前記所定の被写体の領域内に複数の焦点検出領域が設定されることを特徴とする請求項乃至11のいずれか1項に記載の表示制御装置。 The display control device according to any one of claims 9 to 11 , wherein, in the case of the second mode, a plurality of focus detection areas are set in the area of the predetermined subject. 前記所定の被写体は人物の顔であって、前記被写体検出手段は更に顔の向きを検出し、
前記顔の向きが正面向きまたは後ろ向きである場合には、前記複数の焦点検出領域が水平方向に配置され、前記顔の向きが横向きである場合には、前記複数の焦点検出領域が垂直方向に配置されることを特徴とする請求項12に記載の表示制御装置。
The predetermined subject is a face of a person, and the subject detection means further detects the direction of the face,
When the face orientation is front or back, the plurality of focus detection areas are arranged horizontally, and when the face is oriented horizontally, the plurality of focus detection areas are vertically oriented. The display control device according to claim 12 , wherein the display control device is arranged.
請求項1乃至13のいずれか1項に記載の表示制御装置と、
前記撮像手段とを有し、
前記撮像手段は、1つのマイクロレンズに対して複数の光電変換部を備えた画素を複数有し、前記撮影光学系を介して入射する光束を前記複数の光電変換部で光電変換して一対の像信号を出力することを特徴とする撮像装置。
The display control device according to any one of claims 1 to 13 .
And the imaging means,
The imaging unit has a plurality of pixels provided with a plurality of photoelectric conversion units for one microlens, and photoelectric conversion of a light flux incident through the photographing optical system is performed by the plurality of photoelectric conversion units to perform a pair of An image pickup apparatus characterized by outputting an image signal.
撮影光学系を介して入射される光束を受光して光電変換する撮像手段で生成された信号に基づく画像を表示手段に表示する表示制御装置の制御方法であって、
前記撮像手段の受光領域に設定された焦点検出領域から出力される一対の像信号に基づいて、繰り返し焦点状態を検出する焦点検出工程と、
前記焦点検出工程で検出された前記焦点状態に基づく指標を前記画像に重畳して表示手段に表示する表示制御工程と、
指定手段を介した前記焦点検出領域の位置を指定する操作を受け付ける受け付け工程と、を有し、
前記表示制御工程において、前記指定手段を介して指定された前記焦点検出領域の位置の変化量に応じて、前記焦点検出工程による前記焦点状態の検出結果に対する前記指標の表示の応答性を変更することを特徴とする制御方法。
A control method of a display control apparatus, which displays an image based on a signal generated by an imaging unit that receives a light flux incident through a photographing optical system and performs photoelectric conversion,
A focus detection step of repeatedly detecting a focus state on the basis of a pair of image signals output from a focus detection area set in a light receiving area of the imaging unit;
A display control step of superimposing an index based on the focus state detected in the focus detection step on the image and displaying it on a display unit;
Receiving an operation of specifying the position of the focus detection area via a specification unit;
In the display control step, the responsiveness of the display of the indicator to the detection result of the focus state by the focus detection step is changed according to the amount of change of the position of the focus detection area designated through the designation unit. Control method characterized by
コンピュータに、請求項15に記載の制御方法の各工程を実行させるためのプログラム。 The program for making a computer perform each process of the control method of Claim 15 . 請求項16に記載のプログラムを格納したコンピュータが読み取り可能な記憶媒体。 A computer readable storage medium storing the program according to claim 16 .
JP2015077146A 2015-04-03 2015-04-03 Display control apparatus, control method therefor, and imaging apparatus Active JP6548435B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2015077146A JP6548435B2 (en) 2015-04-03 2015-04-03 Display control apparatus, control method therefor, and imaging apparatus
CN201610181553.0A CN106060373B (en) 2015-04-03 2016-03-25 Focus detection apparatus and control method thereof
US15/083,697 US10306131B2 (en) 2015-04-03 2016-03-29 Focus detection apparatus and control method therefor
DE102016105764.9A DE102016105764A1 (en) 2015-04-03 2016-03-30 FOCUS DETECTION DEVICE AND CONTROL PROCEDURE THEREFOR
GB1605617.8A GB2539996B (en) 2015-04-03 2016-04-01 Focus detection apparatus and control method therefor
US16/376,559 US10516821B2 (en) 2015-04-03 2019-04-05 Focus detection apparatus and control method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015077146A JP6548435B2 (en) 2015-04-03 2015-04-03 Display control apparatus, control method therefor, and imaging apparatus

Publications (3)

Publication Number Publication Date
JP2016197177A JP2016197177A (en) 2016-11-24
JP2016197177A5 JP2016197177A5 (en) 2018-05-24
JP6548435B2 true JP6548435B2 (en) 2019-07-24

Family

ID=57358376

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015077146A Active JP6548435B2 (en) 2015-04-03 2015-04-03 Display control apparatus, control method therefor, and imaging apparatus

Country Status (1)

Country Link
JP (1) JP6548435B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6953163B2 (en) * 2017-04-04 2021-10-27 キヤノン株式会社 Imaging device and control method
JP7071061B2 (en) * 2017-04-27 2022-05-18 キヤノン株式会社 Imaging device and its control method
JP6625093B2 (en) 2017-05-24 2019-12-25 キヤノン株式会社 Display control device and imaging device
JP6991033B2 (en) * 2017-10-17 2022-01-12 キヤノン株式会社 Electronic devices and their control methods
JP6971824B2 (en) * 2017-12-13 2021-11-24 キヤノン株式会社 Display control device and its control method
JP7071165B2 (en) * 2018-03-02 2022-05-18 キヤノン株式会社 Display control device and method, and image pickup device
US11467371B2 (en) 2018-03-30 2022-10-11 Sony Corporation Imaging device and control method thereof
JP7121568B2 (en) * 2018-07-13 2022-08-18 キヤノン株式会社 FOCUS ADJUSTMENT DEVICE, IMAGING DEVICE, FOCUS ADJUSTMENT METHOD, AND PROGRAM
JP7435592B2 (en) * 2019-03-27 2024-02-21 ソニーグループ株式会社 Image processing device, image processing method, program, imaging device
JP7608061B2 (en) * 2020-03-09 2025-01-06 キヤノン株式会社 CONTROL DEVICE, IMAGING DEVICE, CONTROL METHOD, AND PROGRAM
JP2022175606A (en) * 2021-05-14 2022-11-25 キヤノン株式会社 Image processing device, image processing device control method, and program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002014276A (en) * 2000-06-29 2002-01-18 Tamron Co Ltd Camera with focal information display device
JP2007240935A (en) * 2006-03-09 2007-09-20 Nikon Corp Focus assist device and camera
JP4998308B2 (en) * 2008-02-14 2012-08-15 株式会社ニコン Focus adjustment device and imaging device
JP5421691B2 (en) * 2009-08-18 2014-02-19 キヤノン株式会社 Focus adjustment device and focus adjustment method
JP5832078B2 (en) * 2010-09-29 2015-12-16 キヤノン株式会社 Imaging apparatus and control method thereof
JP5738606B2 (en) * 2011-01-13 2015-06-24 オリンパス株式会社 Imaging device
KR20140091959A (en) * 2013-01-14 2014-07-23 삼성전자주식회사 A focus Aid System
JP6112925B2 (en) * 2013-03-15 2017-04-12 オリンパス株式会社 Display device and display method

Also Published As

Publication number Publication date
JP2016197177A (en) 2016-11-24

Similar Documents

Publication Publication Date Title
JP6548435B2 (en) Display control apparatus, control method therefor, and imaging apparatus
US10516821B2 (en) Focus detection apparatus and control method therefor
JP6548436B2 (en) Focus detection apparatus and control method thereof
US11095806B2 (en) Display control apparatus, display control method, and image capturing apparatus
JP6506560B2 (en) Focus control device and method therefor, program, storage medium
CN102472882B (en) Image pickup apparatus that performs automatic focus control and control method for the image pickup apparatus
JP6045214B2 (en) Focus adjustment apparatus and control method thereof
JP6808333B2 (en) Display control device and method, and imaging device
JP6501536B2 (en) Imaging device, control method therefor, program, storage medium
JP2018091977A (en) Focus controller, imaging apparatus, focus control method, and focus control program
JP6818814B2 (en) Focus detector and its control method
JP6833405B2 (en) Focus detection device, focus adjustment device, imaging device and focus detection method
JP2020003693A (en) Imaging device and control method for imaging device
JP6305017B2 (en) Focus control device and control method thereof
US12432442B2 (en) Control apparatus, control method, image pickup apparatus, and storage medium
JP7079161B2 (en) Imaging device and its control method
JP6625093B2 (en) Display control device and imaging device
JP7071165B2 (en) Display control device and method, and image pickup device
JP2018010245A (en) Signal processor and control method therefor
JP2015087705A (en) Focus control device and control method thereof
US20250310634A1 (en) Display control apparatus, control method for display control apparatus, and storage medium
JP2016167721A (en) Imaging device
JP7207874B2 (en) CONTROL DEVICE, IMAGING DEVICE, CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
CN117793523A (en) Display control device, display control method and storage medium
JP2018026768A (en) Imaging apparatus, control method of the same, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180402

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180402

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180926

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181102

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181226

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190625

R151 Written notification of patent or utility model registration

Ref document number: 6548435

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151