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
JP7614737B2 - Photographing control device, imaging device, photographing control method, and program - Google Patents
[go: Go Back, main page]

JP7614737B2 - Photographing control device, imaging device, photographing control method, and program - Google Patents

Photographing control device, imaging device, photographing control method, and program Download PDF

Info

Publication number
JP7614737B2
JP7614737B2 JP2020084791A JP2020084791A JP7614737B2 JP 7614737 B2 JP7614737 B2 JP 7614737B2 JP 2020084791 A JP2020084791 A JP 2020084791A JP 2020084791 A JP2020084791 A JP 2020084791A JP 7614737 B2 JP7614737 B2 JP 7614737B2
Authority
JP
Japan
Prior art keywords
subject
area
partial
degree
control
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
JP2020084791A
Other languages
Japanese (ja)
Other versions
JP2021179527A (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 JP2020084791A priority Critical patent/JP7614737B2/en
Priority to US17/308,491 priority patent/US11533422B2/en
Publication of JP2021179527A publication Critical patent/JP2021179527A/en
Application granted granted Critical
Publication of JP7614737B2 publication Critical patent/JP7614737B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/663Remote control of cameras or camera parts, e.g. by remote control devices for controlling interchangeable camera parts based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • H04N23/671Focus control based on electronic image sensor signals in combination with active ranging signals, e.g. using light or sound signals emitted toward objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • H04N23/672Focus control based on electronic image sensor signals based on the phase difference signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • H04N23/675Focus control based on electronic image sensor signals comprising setting of focusing regions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/72Combination of two or more compensation controls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/70SSIS architectures; Circuits associated therewith
    • H04N25/703SSIS architectures incorporating pixels for producing signals other than image signals
    • H04N25/704Pixels specially adapted for focusing, e.g. phase difference pixel sets

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)
  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Exposure Control For Cameras (AREA)

Description

本発明は、撮影制御装置、撮像装置、撮影制御方法、及びプログラムに関する。 The present invention relates to an imaging control device, an imaging device, an imaging control method, and a program.

従来、被写体を検出して検出箇所で測距演算を行うことにより焦点調節を行う方法が知られている。特許文献1の技術では、検出した被写体の部位に応じて、焦点検出信号の検出方向を決定することで、被写体に応じた最適な測距を行うことができる。 Conventionally, a method of adjusting focus by detecting a subject and performing distance measurement calculations at the detected location is known. The technology in Patent Document 1 determines the detection direction of the focus detection signal according to the part of the detected subject, making it possible to perform optimal distance measurement according to the subject.

特開2009-192774号公報JP 2009-192774 A

一般的な被写体検出処理では、検出対象の被写体が存在する領域と存在しない領域とが厳密に区別される訳ではなく、検出対象の被写体が存在しない領域(例えば背景領域)も含んだ領域が被写体領域として検出される。そのため、例えば被写体領域に基づいて焦点調節(フォーカス制御)を行った場合でも、検出対象の被写体が存在しない領域(例えば背景領域)に合焦する可能性がある。この点はフォーカス制御以外の撮影制御(例えば露光制御)を行う場合でも同様であり、被写体領域に基づいて撮影制御を行った場合でも、必ずしも検出対象の被写体に適した制御結果が得られるとは限らない。 In general subject detection processing, there is no strict distinction between areas where the subject to be detected exists and areas where it does not exist, and areas including areas where the subject to be detected does not exist (e.g. background areas) are detected as the subject area. For this reason, even if focus adjustment (focus control) is performed based on the subject area, there is a possibility that the focus will be set on an area where the subject to be detected does not exist (e.g. background areas). This is also true when performing shooting control other than focus control (e.g. exposure control), and even if shooting control is performed based on the subject area, it is not necessarily the case that a control result suitable for the subject to be detected is obtained.

本発明はこのような状況に鑑みてなされたものであり、検出対象の被写体を部分的に含んだ被写体検出領域に基づく撮影制御の精度を向上させる技術を提供することを目的とする。 The present invention was made in consideration of these circumstances, and aims to provide a technology that improves the accuracy of shooting control based on a subject detection area that partially contains the subject to be detected.

上記課題を解決するために、本発明は、撮影範囲において検出対象の被写体を部分的に含んだ被写体領域を検出する検出手段と、前記被写体領域を含む測距領域内の複数の測距点に対応する複数のデフォーカス量を取得する取得手段と、前記複数のデフォーカス量に基づいて前記測距領域を複数の部分領域に分類する分類手段であって、前記複数の部分領域の各々は前記複数のデフォーカス量の範囲における異なる部分範囲に対応する、分類手段と、前記複数の部分領域の各々と前記被写体領域との間の幾何学的な関係に基づいて、前記複数の部分領域の各々について前記検出対象の被写体が存在する可能性を示す被写体度合いを判定する判定手段と、前記複数の部分領域に基づいて撮影制御を行う制御手段であって、第1の被写体度合いを持つ部分領域の寄与が前記第1の被写体度合いより小さい第2の被写体度合いを持つ部分領域の寄与よりも大きくなるように前記撮影制御を行う、制御手段と、を備え、前記撮影制御は、フォーカス制御を含み、前記制御手段は、前記複数のデフォーカス量のうちの、前記第1の被写体度合いを持つ部分領域に対応するデフォーカス量から得られる代表デフォーカス量に基づいて前記フォーカス制御を行うことを特徴とする撮影制御装置を提供する。 In order to solve the above problem, the present invention provides an imaging control device comprising: a detection means for detecting a subject area in a shooting range that partially includes a subject to be detected; an acquisition means for acquiring a plurality of defocus amounts corresponding to a plurality of ranging points in a ranging area including the subject area; a classification means for classifying the ranging area into a plurality of partial areas based on the plurality of defocus amounts, each of the plurality of partial areas corresponding to a different partial range in the range of the plurality of defocus amounts; a determination means for determining a subject degree indicating the possibility that the subject to be detected is present for each of the plurality of partial areas based on a geometric relationship between each of the plurality of partial areas and the subject area; and a control means for performing imaging control based on the plurality of partial areas, the control means performing the imaging control such that a contribution of a partial area having a first subject degree is greater than a contribution of a partial area having a second subject degree that is smaller than the first subject degree, the imaging control including a focus control, and the control means performing the focus control based on a representative defocus amount obtained from a defocus amount corresponding to the partial area having the first subject degree among the plurality of defocus amounts.

本発明によれば、検出対象の被写体を部分的に含んだ被写体検出領域に基づく撮影制御の精度を向上させることが可能となる。 The present invention makes it possible to improve the accuracy of shooting control based on a subject detection area that partially includes the subject to be detected.

なお、本発明のその他の特徴及び利点は、添付図面及び以下の発明を実施するための形態における記載によって更に明らかになるものである。 Other features and advantages of the present invention will become apparent from the accompanying drawings and the following detailed description of the invention.

撮像制御装置を備える撮像装置10の構成を示すブロック図。1 is a block diagram showing a configuration of an imaging apparatus 10 including an imaging control device. 撮像素子122の撮像画素(及び焦点検出画素)の配列の概略図。3 is a schematic diagram of an array of imaging pixels (and focus detection pixels) of an image sensor 122. (a)図2に示した撮像素子122の1つの画素200Gを、撮像素子122の受光面側(+z側)から見た平面図、(b)図3(a)のa-a断面を-y側から見た断面図。3A is a plan view of one pixel 200G of the image sensor 122 shown in FIG. 2, as viewed from the light receiving surface side (+z side) of the image sensor 122; FIG. 3B is a cross-sectional view of the aa cross section of FIG. 3A, as viewed from the -y side. 図3に示した本実施形態の画素構造と瞳分割との対応関係を示した概略説明図。4 is a schematic explanatory diagram showing the correspondence between the pixel structure and pupil division according to the embodiment shown in FIG. 3; 撮像素子122と瞳分割との対応関係を示した概略図。5 is a schematic diagram showing the correspondence between the image sensor 122 and pupil division. 第1焦点検出信号と第2焦点検出信号に基づくデフォーカス量と第1焦点検出信号と第2焦点検出信号との間の像ずれ量との概略関係図。11 is a schematic diagram showing the relationship between a defocus amount based on a first focus detection signal and a second focus detection signal and an image shift amount between the first focus detection signal and the second focus detection signal. 撮影処理のフローチャート。4 is a flowchart of a photographing process. 被写体(検出対象)と検出領域(被写体領域)との概略関係図。3 is a schematic diagram showing the relationship between a subject (detection target) and a detection area (subject area). 図7のS703における焦点調節処理の詳細を示すフローチャート。8 is a flowchart showing details of the focus adjustment process in S703 of FIG. 7; 被写体領域801~806それぞれに関して、被写体領域の位置及び大きさを基準に設定された測距領域の概略説明図。FIG. 8 is a schematic explanatory diagram of distance measurement areas set for each of the subject areas 801 to 806 based on the position and size of the subject area. 図10の測距領域内のデフォーカス量をクラス分類した状態を示す概略説明図。FIG. 11 is a schematic explanatory diagram showing a state in which defocus amounts in the distance measurement area in FIG. 10 are classified into classes. S905において検出されるクラス領域の概略説明図。FIG. 13 is a schematic explanatory diagram of class regions detected in S905. 図7のS705におけるホワイトバランス調整処理の詳細を示すフローチャート。8 is a flowchart showing details of the white balance adjustment process in S705 of FIG. 7. 図7のS706における露光調節処理の詳細を示すフローチャート。8 is a flowchart showing details of the exposure adjustment process in S706 of FIG. 7; 図9のS906における被写体度合いの判定処理の詳細を示すフローチャート。10 is a flowchart showing details of the subject degree determination process in S906 of FIG. 9;

以下、添付図面を参照して実施形態を詳しく説明する。尚、以下の実施形態は特許請求の範囲に係る発明を限定するものではない。実施形態には複数の特徴が記載されているが、これらの複数の特徴の全てが発明に必須のものとは限らず、また、複数の特徴は任意に組み合わせられてもよい。さらに、添付図面においては、同一若しくは同様の構成に同一の参照番号を付し、重複した説明は省略する。 The following embodiments are described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe multiple features, not all of these multiple features are necessarily essential to the invention, and multiple features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicate explanations are omitted.

[第1の実施形態]
(撮像装置10の構成)
図1は、撮像制御装置を備える撮像装置10の構成を示すブロック図である。図1の例においては、撮像装置10は、レンズ交換可能な一眼レフタイプのデジタルカメラである。撮像装置10は、レンズユニット100(交換レンズ)とカメラ本体120とを有するカメラシステムの形態を持つ。レンズユニット100は、図1において点線で示されるマウントMを介して、カメラ本体120と着脱可能に取り付けられる。但し、本実施形態は、図1に示す構成に限定されるものではなく、レンズユニット(撮像光学系)とカメラ本体とが一体的に構成された撮像装置(デジタルカメラ)にも適用可能である。また、本実施形態は、デジタルカメラに限定されるものではなく、ビデオカメラなど他の撮像装置にも適用可能である。
[First embodiment]
(Configuration of imaging device 10)
FIG. 1 is a block diagram showing the configuration of an imaging device 10 equipped with an imaging control device. In the example of FIG. 1, the imaging device 10 is a single-lens reflex type digital camera with interchangeable lenses. The imaging device 10 has the form of a camera system having a lens unit 100 (interchangeable lens) and a camera body 120. The lens unit 100 is detachably attached to the camera body 120 via a mount M shown by a dotted line in FIG. 1. However, this embodiment is not limited to the configuration shown in FIG. 1, and can also be applied to an imaging device (digital camera) in which a lens unit (imaging optical system) and a camera body are integrally configured. In addition, this embodiment is not limited to a digital camera, and can also be applied to other imaging devices such as a video camera.

レンズユニット100は、光学系としての第1レンズ群101、絞り102、第2レンズ群103、フォーカスレンズ群(以下、単に「フォーカスレンズ」という)104、及び、駆動/制御系とを有する。このようにレンズユニット100は、フォーカスレンズ104を含み、被写体像を形成する撮影レンズ(撮像光学系)である。 The lens unit 100 has a first lens group 101, an aperture 102, a second lens group 103, a focus lens group (hereinafter simply referred to as "focus lens") 104, and a drive/control system as an optical system. In this way, the lens unit 100 is a photographing lens (imaging optical system) that includes the focus lens 104 and forms a subject image.

第1レンズ群101は、レンズユニット100の先端に配置され、光軸方向OAに進退可能に保持される。絞り102は、その開口径を調節することで撮影時の光量調節を行い、また静止画撮影時においては露光秒時調節用シャッタとして機能する。絞り102及び第2レンズ群103は、一体的に光軸方向OAに移動可能であり、第1レンズ群101の進退動作との連動によりズーム機能を実現する。フォーカスレンズ104は、光軸方向OAに移動可能であり、その位置に応じてレンズユニット100が合焦する被写体距離(合焦距離)が変化する。フォーカスレンズ104の光軸方向OAにおける位置を制御することにより、レンズユニット100の合焦距離を調節する焦点調節(フォーカス制御)が可能である。 The first lens group 101 is disposed at the tip of the lens unit 100 and is held so that it can move forward and backward in the optical axis direction OA. The diaphragm 102 adjusts the amount of light during shooting by adjusting its aperture diameter, and also functions as a shutter for adjusting the exposure time when shooting still images. The diaphragm 102 and the second lens group 103 can move together in the optical axis direction OA, and a zoom function is achieved by linking with the forward and backward movement of the first lens group 101. The focus lens 104 can move in the optical axis direction OA, and the subject distance (focus distance) at which the lens unit 100 focuses changes depending on its position. By controlling the position of the focus lens 104 in the optical axis direction OA, focus adjustment (focus control) that adjusts the focus distance of the lens unit 100 is possible.

駆動/制御系は、ズームアクチュエータ111、絞りアクチュエータ112、フォーカスアクチュエータ113、ズーム駆動回路114、絞り駆動回路115、フォーカス駆動回路116、レンズMPU117、及び、レンズメモリ118を有する。ズーム駆動回路114は、ズームアクチュエータ111を用いて第1レンズ群101や第2レンズ群103を光軸方向OAに駆動し、レンズユニット100の光学系の画角を制御する(ズーム操作を行う)。絞り駆動回路115は、絞りアクチュエータ112を用いて絞り102を駆動し、絞り102の開口径や開閉動作を制御する。フォーカス駆動回路116は、フォーカスアクチュエータ113を用いてフォーカスレンズ104を光軸方向OAに駆動し、レンズユニット100の光学系の合焦距離を制御する(フォーカス制御を行う)。また、フォーカス駆動回路116は、フォーカスアクチュエータ113を用いてフォーカスレンズ104の現在位置(レンズ位置)を検出する位置検出部としての機能を有する。 The drive/control system includes a zoom actuator 111, an aperture actuator 112, a focus actuator 113, a zoom drive circuit 114, an aperture drive circuit 115, a focus drive circuit 116, a lens MPU 117, and a lens memory 118. The zoom drive circuit 114 drives the first lens group 101 and the second lens group 103 in the optical axis direction OA using the zoom actuator 111 to control the angle of view of the optical system of the lens unit 100 (performs a zoom operation). The aperture drive circuit 115 drives the aperture 102 using the aperture actuator 112 to control the aperture diameter and opening/closing operation of the aperture 102. The focus drive circuit 116 drives the focus lens 104 in the optical axis direction OA using the focus actuator 113 to control the focal distance of the optical system of the lens unit 100 (performs focus control). The focus drive circuit 116 also functions as a position detector that detects the current position (lens position) of the focus lens 104 using the focus actuator 113.

レンズMPU117(プロセッサ)は、レンズユニット100に係る全ての演算、制御を行い、ズーム駆動回路114、絞り駆動回路115、及び、フォーカス駆動回路116を制御する。また、レンズMPU117は、マウントMを通じてカメラMPU125と接続され、コマンドやデータを通信する。例えば、レンズMPU117はフォーカスレンズ104の位置を検出し、カメラMPU125からの要求に対してレンズ位置情報を通知する。このレンズ位置情報は、フォーカスレンズ104の光軸方向OAにおける位置、光学系が移動していない状態の射出瞳の光軸方向OAにおける位置及び直径、及び、射出瞳の光束を制限するレンズ枠の光軸方向OAにおける位置及び直径などの情報を含む。またレンズMPU117は、カメラMPU125からの要求に応じて、ズーム駆動回路114、絞り駆動回路115、及び、フォーカス駆動回路116を制御する。レンズメモリ118は、自動焦点調節(AF制御)に必要な光学情報を記憶している。カメラMPU125は、例えば内蔵の不揮発性メモリやレンズメモリ118に記憶されているプログラムを実行することにより、レンズユニット100の動作を制御する。 The lens MPU 117 (processor) performs all calculations and controls related to the lens unit 100, and controls the zoom drive circuit 114, the aperture drive circuit 115, and the focus drive circuit 116. The lens MPU 117 is also connected to the camera MPU 125 through the mount M to communicate commands and data. For example, the lens MPU 117 detects the position of the focus lens 104 and notifies the lens position information in response to a request from the camera MPU 125. This lens position information includes information such as the position of the focus lens 104 in the optical axis direction OA, the position and diameter of the exit pupil in the optical axis direction OA when the optical system is not moving, and the position and diameter of the lens frame that limits the light beam of the exit pupil in the optical axis direction OA. The lens MPU 117 also controls the zoom drive circuit 114, the aperture drive circuit 115, and the focus drive circuit 116 in response to a request from the camera MPU 125. The lens memory 118 stores optical information necessary for automatic focus adjustment (AF control). The camera MPU 125 controls the operation of the lens unit 100 by executing programs stored, for example, in the built-in non-volatile memory or the lens memory 118.

カメラ本体120は、光学的ローパスフィルタ121、撮像素子122、及び、駆動/制御系を有する。光学的ローパスフィルタ121及び撮像素子122は、レンズユニット100を介して形成された被写体像(光学像)を光電変換し、画像データを出力する撮像部(撮像部)として機能する。本実施形態において、撮像素子122は、撮影光学系を介して形成された被写体像を光電変換し、画像データとして、撮像信号及び焦点検出信号をそれぞれ出力する。また本実施形態において、第1レンズ群101、絞り102、第2レンズ群103、フォーカスレンズ104、及び、光学的ローパスフィルタ121は、撮像光学系を構成する。 The camera body 120 has an optical low-pass filter 121, an image sensor 122, and a drive/control system. The optical low-pass filter 121 and the image sensor 122 function as an image sensor (imaging section) that photoelectrically converts the subject image (optical image) formed via the lens unit 100 and outputs image data. In this embodiment, the image sensor 122 photoelectrically converts the subject image formed via the imaging optical system and outputs an imaging signal and a focus detection signal as image data. In this embodiment, the first lens group 101, the aperture 102, the second lens group 103, the focus lens 104, and the optical low-pass filter 121 constitute an imaging optical system.

光学的ローパスフィルタ121は、撮影画像の偽色やモアレを軽減する。撮像素子122は、CMOSイメージセンサ及びその周辺回路で構成され、横方向m画素、縦方向n画素(m、nは2以上の整数)が配置されている。本実施形態の撮像素子122は焦点検出素子の役割も果たし、瞳分割機能を有し、画像データ(画像信号)を用いた位相差検出方式の焦点検出(位相差AF)が可能な瞳分割画素を有する。画像処理回路124は、撮像素子122から出力される画像データに基づいて、位相差AF用のデータと、表示、記録、及び、被写体検出用の画像データとを生成する。 The optical low-pass filter 121 reduces false colors and moiré in the captured image. The image sensor 122 is composed of a CMOS image sensor and its peripheral circuits, and is arranged with m pixels in the horizontal direction and n pixels in the vertical direction (m and n are integers of 2 or more). In this embodiment, the image sensor 122 also serves as a focus detection element, has a pupil division function, and has pupil division pixels that are capable of phase difference detection focus detection (phase difference AF) using image data (image signal). The image processing circuit 124 generates data for phase difference AF and image data for display, recording, and subject detection based on the image data output from the image sensor 122.

駆動/制御系は、撮像素子駆動回路123、画像処理回路124、カメラMPU125、表示器126、操作スイッチ群(操作SW)127、メモリ128、位相差AF部129(撮像面位相差焦点検出部、制御部)、AE部130(制御部)、ホワイトバランス調整部131(制御部)、及び被写体検出部132(検出部)を有する。撮像素子駆動回路123は、撮像素子122の動作を制御するとともに、撮像素子122から出力された画像信号(画像データ)をA/D変換し、カメラMPU125に送信する。画像処理回路124は、撮像素子122から出力された画像信号に対して、γ変換、色補間処理、圧縮符号化処理など、デジタルカメラで行われる一般的な画像処理を行う。また画像処理回路124は、位相差AF用の信号、AE用の信号、ホワイトバランス調整用の信号、及び、被写体検出用の信号を生成する。本実施形態では、位相差AF用の信号、AE用の信号、ホワイトバランス調整用の信号、及び、被写体検出用の信号をそれぞれ生成しているが、例えばAE用の信号、ホワイトバランス調整用の信号、被写体検出用の信号を共通の信号として生成してもよい。また、共通とする信号の組み合わせはこの限りではない。 The drive/control system includes an image sensor drive circuit 123, an image processing circuit 124, a camera MPU 125, a display 126, a group of operation switches (operation SW) 127, a memory 128, a phase difference AF section 129 (image plane phase difference focus detection section, control section), an AE section 130 (control section), a white balance adjustment section 131 (control section), and a subject detection section 132 (detection section). The image sensor drive circuit 123 controls the operation of the image sensor 122, and performs A/D conversion on the image signal (image data) output from the image sensor 122 and transmits it to the camera MPU 125. The image processing circuit 124 performs general image processing performed in digital cameras, such as gamma conversion, color interpolation processing, and compression encoding processing, on the image signal output from the image sensor 122. The image processing circuit 124 also generates a signal for phase difference AF, a signal for AE, a signal for white balance adjustment, and a signal for subject detection. In this embodiment, a signal for phase difference AF, a signal for AE, a signal for white balance adjustment, and a signal for subject detection are generated, but for example, a signal for AE, a signal for white balance adjustment, and a signal for subject detection may be generated as a common signal. Also, the combination of common signals is not limited to this.

カメラMPU125(プロセッサ、制御装置)は、カメラ本体120に係る全ての演算及び制御を行う。即ちカメラMPU125は、撮像素子駆動回路123、画像処理回路124、表示器126、操作スイッチ群127、メモリ128、位相差AF部129、AE部130、ホワイトバランス調整部131、及び、被写体検出部132を制御する。カメラMPU125は、マウントMの信号線を介してレンズMPU117と接続され、レンズMPU117とコマンドやデータを通信する。カメラMPU125は、レンズMPU117に対して、レンズ位置の取得や所定の駆動量でのレンズ駆動要求を発行し、また、レンズMPU117からレンズユニット100に固有の光学情報の取得要求などを発行する。 The camera MPU 125 (processor, control device) performs all calculations and control related to the camera body 120. That is, the camera MPU 125 controls the image sensor drive circuit 123, image processing circuit 124, display 126, operation switch group 127, memory 128, phase difference AF section 129, AE section 130, white balance adjustment section 131, and subject detection section 132. The camera MPU 125 is connected to the lens MPU 117 via the signal line of the mount M, and communicates commands and data with the lens MPU 117. The camera MPU 125 issues requests to the lens MPU 117 to acquire the lens position and drive the lens at a specified drive amount, and also issues requests to acquire optical information specific to the lens unit 100 from the lens MPU 117.

カメラMPU125には、カメラ本体120の動作を制御するプログラムを格納したROM125a、変数を記憶するRAM125b(カメラメモリ)、及び、各種のパラメータを記憶するEEPROM125cが内蔵されている。またカメラMPU125は、ROM125aに格納されているプログラムに基づいて、焦点検出処理を実行する。焦点検出処理においては、撮像光学系の互いに異なる瞳領域(瞳部分領域)を通過した光束により形成される光学像を光電変換した対の像信号を用いて、公知の相関演算処理が実行される。 The camera MPU 125 incorporates a ROM 125a that stores a program for controlling the operation of the camera body 120, a RAM 125b (camera memory) that stores variables, and an EEPROM 125c that stores various parameters. The camera MPU 125 also executes focus detection processing based on the program stored in the ROM 125a. In the focus detection processing, a known correlation calculation process is executed using a pair of image signals obtained by photoelectrically converting optical images formed by light beams that have passed through different pupil regions (pupil partial regions) of the imaging optical system.

表示器126はLCDなどから構成され、撮像装置10の撮影モードに関する情報、撮影前のプレビュー画像と撮影後の確認用画像、焦点検出時の合焦状態表示画像などを表示する。操作スイッチ群127は、電源スイッチ、レリーズ(撮影トリガ)スイッチ、ズーム操作スイッチ、撮影モード選択スイッチなどで構成される。メモリ128(記録部)は、着脱可能なフラッシュメモリであり、撮影済み画像を記録する。 The display 126 is comprised of an LCD and the like, and displays information regarding the shooting mode of the imaging device 10, a preview image before shooting and a confirmation image after shooting, and an in-focus state display image at the time of focus detection. The operation switch group 127 is comprised of a power switch, a release (shooting trigger) switch, a zoom operation switch, a shooting mode selection switch, and the like. The memory 128 (recording unit) is a removable flash memory, and records captured images.

位相差AF部129は、撮像素子122及び画像処理回路124から得られる焦点検出用画像データの像信号(位相差AF用の信号)に基づいて、位相差検出方式による焦点検出処理を行う。より具体的には、画像処理回路124は、撮像光学系の一対の瞳領域を通過する光束で形成される一対の像データを焦点検出用データとして生成し、位相差AF部129は、一対の像データのずれ量に基づいて焦点ずれ量を検出する。このように、本実施形態の位相差AF部129は、専用のAFセンサを用いず、撮像素子122の出力に基づく位相差AF(撮像面位相差AF)を行う。本実施形態において、位相差AF部129は、取得部129a及び算出部129bを有する。これらの各部の動作については後述する。 The phase difference AF unit 129 performs focus detection processing using a phase difference detection method based on the image signal (signal for phase difference AF) of the focus detection image data obtained from the image sensor 122 and the image processing circuit 124. More specifically, the image processing circuit 124 generates a pair of image data formed by light beams passing through a pair of pupil regions of the image pickup optical system as focus detection data, and the phase difference AF unit 129 detects the amount of focus deviation based on the amount of deviation of the pair of image data. In this manner, the phase difference AF unit 129 of this embodiment performs phase difference AF (image plane phase difference AF) based on the output of the image sensor 122 without using a dedicated AF sensor. In this embodiment, the phase difference AF unit 129 has an acquisition unit 129a and a calculation unit 129b. The operation of each of these units will be described later.

なお、位相差AF部129の少なくとも一部(取得部129a又は算出部129bの一部)を、カメラMPU125に設けてもよい。位相差AF部129の動作の詳細については後述する。位相差AF部129は、焦点検出結果を用いてフォーカスレンズ104の位置を制御するフォーカス制御部として機能する。 At least a part of the phase difference AF unit 129 (a part of the acquisition unit 129a or the calculation unit 129b) may be provided in the camera MPU 125. Details of the operation of the phase difference AF unit 129 will be described later. The phase difference AF unit 129 functions as a focus control unit that controls the position of the focus lens 104 using the focus detection result.

AE部130は、撮像素子122及び画像処理回路124から得られるAE用の信号に基づいて測光を行うことで、撮影条件を適切にする露光調整処理を行う。具体的には、AE用の信号に基づいて測光を行い、設定中の絞り値、シャッタスピード、ISO感度での露光量を算出する。算出した露光量と、予め定められた適正露光量との差から、撮影時に設定する適切な絞り値、シャッタスピード、ISO感度を演算し撮影条件として設定することで露光調整処理を行う。AE部130は、測光結果を用いて撮影時の露光条件を算出し、絞り102の絞り値、シャッタスピード、ISO感度を制御する露光調整部として機能する。 The AE unit 130 performs exposure adjustment processing to set appropriate shooting conditions by performing photometry based on the AE signal obtained from the image sensor 122 and the image processing circuit 124. Specifically, it performs photometry based on the AE signal and calculates the exposure amount at the currently set aperture value, shutter speed, and ISO sensitivity. From the difference between the calculated exposure amount and a predetermined appropriate exposure amount, it performs exposure adjustment processing by calculating the appropriate aperture value, shutter speed, and ISO sensitivity to be set at the time of shooting and setting these as the shooting conditions. The AE unit 130 functions as an exposure adjustment unit that calculates the exposure conditions at the time of shooting using the photometry results and controls the aperture value, shutter speed, and ISO sensitivity of the aperture 102.

ホワイトバランス調整部131は、撮像素子122及び画像処理回路124から得られるホワイトバランス調整用の信号に基づいてホワイトバランス調整処理を行う。具体的には、ホワイトバランス調整用の信号のホワイトバランスを算出し、予め定められた適切なホワイトバランスとの差に基づいて、色の重みを調整することで、ホワイトバランス調整処理を行う。 The white balance adjustment unit 131 performs white balance adjustment processing based on a signal for white balance adjustment obtained from the image sensor 122 and the image processing circuit 124. Specifically, the white balance adjustment processing is performed by calculating the white balance of the signal for white balance adjustment and adjusting the color weight based on the difference from a predetermined appropriate white balance.

被写体検出部132は、画像処理回路124により生成される被写体検出用の信号に基づいて、被写体検出処理を行う。被写体検出処理により、被写体の種類や状態(検出属性)、被写体の位置と大きさ(検出領域)が検出される。なお、被写体検出部132の動作の詳細については後述する。 The subject detection unit 132 performs subject detection processing based on a subject detection signal generated by the image processing circuit 124. The subject detection processing detects the type and state of the subject (detection attributes) and the position and size of the subject (detection area). The operation of the subject detection unit 132 will be described in detail later.

このように、本実施形態の撮像装置10は、位相差AF、測光(露光調整)、ホワイトバランス調整と、被写体検出を組み合わせて実行可能であり、被写体検出の結果に応じて、位相差AF、測光、ホワイトバランス調整を行う位置(像高範囲)を選択することができる。 In this way, the imaging device 10 of this embodiment can perform a combination of phase difference AF, photometry (exposure adjustment), white balance adjustment, and subject detection, and can select the position (image height range) for performing phase difference AF, photometry, and white balance adjustment depending on the result of subject detection.

(撮像素子122の構成)
図2は、撮像素子122の撮像画素(及び焦点検出画素)の配列の概略図である。図2は、本実施形態の2次元CMOSセンサー(撮像素子122)の画素(撮像画素)配列を4列×4行の範囲で、焦点検出画素配列を8列×4行の範囲で示したものである。第1の実施形態において、図2に示した2列×2行の画素群200は、R(赤)の分光感度を有する画素200Rが左上に、G(緑)の分光感度を有する画素200Gが右上と左下に、B(青)の分光感度を有する画素200Bが右下に配置されている。更に、各画素は2列×1行に配列された第1焦点検出画素201と第2焦点検出画素202により構成されている。
(Configuration of the image sensor 122)
2 is a schematic diagram of the array of imaging pixels (and focus detection pixels) of the image sensor 122. FIG. 2 shows the pixel (imaging pixel) array of the two-dimensional CMOS sensor (image sensor 122) of this embodiment in a range of 4 columns x 4 rows, and the focus detection pixel array in a range of 8 columns x 4 rows. In the first embodiment, the 2 columns x 2 rows pixel group 200 shown in FIG. 2 has a pixel 200R having a spectral sensitivity of R (red) arranged at the upper left, a pixel 200G having a spectral sensitivity of G (green) arranged at the upper right and lower left, and a pixel 200B having a spectral sensitivity of B (blue) arranged at the lower right. Furthermore, each pixel is composed of a first focus detection pixel 201 and a second focus detection pixel 202 arranged in 2 columns x 1 row.

図2に示した4列×4行の画素(8列×4行の焦点検出画素)を面上に多数配置し、撮像画像(焦点検出信号)の取得を可能としている。本実施形態では、画素の周期Pが4μm、画素数Nが横5575列×縦3725行=約2075万画素、焦点検出画素の列方向周期PAFが2μm、焦点検出画素数NAFが横11150列×縦3725行=約4150万画素であるものとする。 A large number of 4 columns x 4 rows of pixels (8 columns x 4 rows of focus detection pixels) as shown in Figure 2 are arranged on a surface, making it possible to acquire a captured image (focus detection signal). In this embodiment, the pixel period P is 4 μm, the number of pixels N is 5,575 columns horizontally x 3,725 rows vertically = approximately 20.75 million pixels, the column direction period PAF of the focus detection pixels is 2 μm, and the number of focus detection pixels NAF is 11,150 columns horizontally x 3,725 rows vertically = approximately 41.5 million pixels.

図3(a)は、図2に示した撮像素子122の1つの画素200Gを、撮像素子122の受光面側(+z側)から見た平面図であり、図3(b)は、図3(a)のa-a断面を-y側から見た断面図である。 Figure 3(a) is a plan view of one pixel 200G of the image sensor 122 shown in Figure 2, as viewed from the light receiving surface side (+z side) of the image sensor 122, and Figure 3(b) is a cross-sectional view of the a-a cross section of Figure 3(a) as viewed from the -y side.

図3に示すように、本実施形態の画素200Gでは、各画素の受光側に入射光を集光するためのマイクロレンズ305が形成され、x方向にNH分割(2分割)、y方向にNV分割(1分割)された光電変換部301と光電変換部302が形成される。光電変換部301と光電変換部302が、それぞれ、第1焦点検出画素201と第2焦点検出画素202に対応する。 As shown in FIG. 3, in the pixel 200G of this embodiment, a microlens 305 for focusing incident light is formed on the light receiving side of each pixel, and a photoelectric conversion unit 301 and a photoelectric conversion unit 302 are formed that are NH-divided (2-divided) in the x direction and NV-divided (1-divided) in the y direction. The photoelectric conversion unit 301 and the photoelectric conversion unit 302 correspond to the first focus detection pixel 201 and the second focus detection pixel 202, respectively.

光電変換部301と光電変換部302は、p型層とn型層の間にイントリンシック層を挟んだpin構造フォトダイオードであってもよいし、必要に応じて、イントリンシック層を省略し、pn接合フォトダイオードであってもよい。各画素には、マイクロレンズ305と、光電変換部301及び光電変換部302との間に、カラーフィルター306が形成される。また、必要に応じて、副画素毎にカラーフィルター306の分光透過率を変えてもよいし、カラーフィルター306を省略してもよい。 The photoelectric conversion units 301 and 302 may be pin structure photodiodes with an intrinsic layer sandwiched between a p-type layer and an n-type layer, or may be pn junction photodiodes with the intrinsic layer omitted as necessary. In each pixel, a color filter 306 is formed between the microlens 305 and the photoelectric conversion units 301 and 302. Furthermore, as necessary, the spectral transmittance of the color filter 306 may be changed for each subpixel, or the color filter 306 may be omitted.

図3に示した画素200Gに入射した光は、マイクロレンズ305により集光され、カラーフィルター306で分光されたのち、光電変換部301と光電変換部302で受光される。光電変換部301と光電変換部302では、受光量に応じて電子とホールが対生成され、空乏層で分離された後、負電荷の電子はn型層(不図示)に蓄積される。一方、ホールは定電圧源(不図示)に接続されたp型層を通じて撮像素子122の外部へ排出される。光電変換部301と光電変換部302のn型層(不図示)に蓄積された電子は、転送ゲートを介して、静電容量部(FD)に転送され、電圧信号に変換される。 The light incident on pixel 200G shown in FIG. 3 is collected by microlens 305, dispersed by color filter 306, and then received by photoelectric conversion unit 301 and photoelectric conversion unit 302. In photoelectric conversion unit 301 and photoelectric conversion unit 302, pairs of electrons and holes are generated according to the amount of received light, and after separation by a depletion layer, negatively charged electrons are accumulated in an n-type layer (not shown). Meanwhile, holes are discharged to the outside of image sensor 122 through a p-type layer connected to a constant voltage source (not shown). The electrons accumulated in the n-type layers (not shown) of photoelectric conversion unit 301 and photoelectric conversion unit 302 are transferred to a capacitance unit (FD) via a transfer gate and converted into a voltage signal.

図4は、図3に示した本実施形態の画素構造と瞳分割との対応関係を示した概略説明図である。図4には、図3(a)に示した本実施形態の画素構造のa-a断面を+y側から見た断面図と撮像素子122の瞳面(瞳距離Ds)とが示されている。図4では、撮像素子122の瞳面の座標軸と対応を取るために、断面図のx軸とy軸を図3に対して反転させている。 Figure 4 is a schematic diagram showing the correspondence between the pixel structure of this embodiment shown in Figure 3 and pupil division. Figure 4 shows a cross-sectional view of the a-a cross section of the pixel structure of this embodiment shown in Figure 3(a) viewed from the +y side, and the pupil plane (pupil distance Ds) of the image sensor 122. In Figure 4, the x-axis and y-axis of the cross-sectional view are inverted with respect to Figure 3 in order to correspond to the coordinate axes of the pupil plane of the image sensor 122.

図4において、第1焦点検出画素201の第1瞳部分領域501は、重心が-x方向に偏心している光電変換部301の受光面と、マイクロレンズによって、概ね、共役関係になっており、第1焦点検出画素201で受光可能な瞳領域を表している。第1焦点検出画素201の第1瞳部分領域501は、瞳面上で+X側に重心が偏心している。図4で、第2焦点検出画素202の第2瞳部分領域502は、重心が+x方向に偏心している光電変換部302の受光面と、マイクロレンズによって、概ね、共役関係になっており、第2焦点検出画素202で受光可能な瞳領域を表している。第2焦点検出画素202の第2瞳部分領域502は、瞳面上で-X側に重心が偏心している。また、図4で、瞳領域500は、光電変換部301と光電変換部302(第1焦点検出画素201と第2焦点検出画素202)を全て合わせた際の画素200G全体で受光可能な瞳領域である。 In FIG. 4, the first pupil partial region 501 of the first focus detection pixel 201 is in a roughly conjugate relationship with the light receiving surface of the photoelectric conversion unit 301, whose center of gravity is decentered in the -x direction, due to the microlens, and represents the pupil region that can receive light at the first focus detection pixel 201. The first pupil partial region 501 of the first focus detection pixel 201 has its center of gravity decentered on the +X side on the pupil plane. In FIG. 4, the second pupil partial region 502 of the second focus detection pixel 202 is in a roughly conjugate relationship with the light receiving surface of the photoelectric conversion unit 302, whose center of gravity is decentered in the +x direction, due to the microlens, and represents the pupil region that can receive light at the second focus detection pixel 202. The second pupil partial region 502 of the second focus detection pixel 202 has its center of gravity decentered on the -X side on the pupil plane. Also, in FIG. 4, pupil region 500 is the pupil region that can receive light in the entire pixel 200G when the photoelectric conversion unit 301 and the photoelectric conversion unit 302 (the first focus detection pixel 201 and the second focus detection pixel 202) are all combined.

撮像面位相差AFでは、撮像素子のマイクロレンズを利用して瞳分割するため回折の影響を受ける。図4で、撮像素子の瞳面までの瞳距離が数10mmであるのに対し、マイクロレンズの直径は数μmである。そのため、マイクロレンズの絞り値が数万となり、数10mmレベルの回折ボケが生じる。よって、光電変換部の受光面の像は、明瞭な瞳領域や瞳部分領域とはならずに、受光感度特性(受光率の入射角分布)となる。 In image plane phase difference AF, the pupil is divided using the microlenses of the image sensor, and is therefore subject to the effects of diffraction. In Figure 4, the pupil distance to the pupil plane of the image sensor is several tens of mm, while the diameter of the microlens is several μm. This results in an aperture value of several tens of thousands for the microlens, resulting in diffraction blurring on the level of several tens of mm. As a result, the image on the light receiving surface of the photoelectric conversion unit does not become a clear pupil region or pupil partial region, but becomes a light receiving sensitivity characteristic (incident angle distribution of light receiving rate).

図5は、撮像素子122と瞳分割との対応関係を示した概略図である。撮像面600に撮像素子122が配置される。第1瞳部分領域501と第2瞳部分領域502の異なる瞳部分領域を通過した光束は、撮像素子122の各画素に、それぞれ、異なる角度で入射し、2×1分割された第1焦点検出画素201と第2焦点検出画素202で受光される。本実施形態は、瞳領域が水平方向に2つに瞳分割されている例である。必要に応じて、垂直方向に瞳分割を行ってもよい。 Figure 5 is a schematic diagram showing the correspondence between the image sensor 122 and pupil division. The image sensor 122 is disposed on the imaging surface 600. Light beams that pass through different pupil partial regions, the first pupil partial region 501 and the second pupil partial region 502, are incident on each pixel of the image sensor 122 at different angles, and are received by the first focus detection pixel 201 and the second focus detection pixel 202, which are divided into 2 x 1 regions. This embodiment is an example in which the pupil region is divided into two in the horizontal direction. If necessary, pupil division may also be performed in the vertical direction.

本実施形態の撮像素子122では、第1焦点検出画素201と、第2焦点検出画素202とを有する撮像画素が複数配列されている。第1焦点検出画素201は、撮影光学系の第1瞳部分領域501を通過する光束を受光する。また、第2焦点検出画素202は、第1瞳部分領域501と異なる撮影光学系の第2瞳部分領域502を通過する光束を受光する。また、撮像画素は、撮影光学系の第1瞳部分領域501と第2瞳部分領域502を合わせた瞳領域を通過する光束を受光する。 The image sensor 122 of this embodiment has an array of imaging pixels each having a first focus detection pixel 201 and a second focus detection pixel 202. The first focus detection pixel 201 receives a light beam that passes through a first pupil partial region 501 of the imaging optical system. The second focus detection pixel 202 receives a light beam that passes through a second pupil partial region 502 of the imaging optical system that is different from the first pupil partial region 501. The imaging pixel receives a light beam that passes through a pupil region that is the combined first pupil partial region 501 and second pupil partial region 502 of the imaging optical system.

本実施形態の撮像素子122では、それぞれの撮像画素が第1焦点検出画素201と第2焦点検出画素202から構成されている。必要に応じて、撮像画素と第1焦点検出画素201、第2焦点検出画素202を個別の画素構成とし、撮像画素配列の一部に、第1焦点検出画素201と第2焦点検出画素202を部分的に配置する構成としてもよい。 In the image sensor 122 of this embodiment, each imaging pixel is composed of a first focus detection pixel 201 and a second focus detection pixel 202. If necessary, the imaging pixel, the first focus detection pixel 201, and the second focus detection pixel 202 may be configured as separate pixels, and the first focus detection pixel 201 and the second focus detection pixel 202 may be partially arranged in a portion of the imaging pixel array.

本実施形態では、撮像素子122の各画素の第1焦点検出画素201の受光信号を集めて第1焦点信号を生成し、各画素の第2焦点検出画素202の受光信号を集めて第2焦点信号を生成して焦点検出を行う。また、撮像素子122の画素毎に、第1焦点検出画素201と第2焦点検出画素202の信号を加算することで、有効画素数Nの解像度の撮像信号(撮像画像)を生成する。各信号の生成方法は、前述の方法に限らず、例えば、第2焦点検出信号は、撮像信号と第1焦点信号の差分から生成してもよい。 In this embodiment, focus detection is performed by collecting the light receiving signals of the first focus detection pixels 201 of each pixel of the image sensor 122 to generate a first focus signal, and collecting the light receiving signals of the second focus detection pixels 202 of each pixel to generate a second focus signal. In addition, an image signal (captured image) with a resolution of N effective pixels is generated by adding the signals of the first focus detection pixels 201 and the second focus detection pixels 202 for each pixel of the image sensor 122. The method of generating each signal is not limited to the above-mentioned method, and for example, the second focus detection signal may be generated from the difference between the image signal and the first focus signal.

(デフォーカス量と像ずれ量の関係)
以下、本実施形態の撮像素子122により取得される第1焦点検出信号と第2焦点検出信号に基づくデフォーカス量と像ずれ量の関係について説明する。
(Relationship between defocus amount and image shift amount)
The relationship between the defocus amount and the image shift amount based on the first focus detection signal and the second focus detection signal acquired by the image sensor 122 of this embodiment will be described below.

図6は、第1焦点検出信号と第2焦点検出信号に基づくデフォーカス量と第1焦点検出信号と第2焦点検出信号との間の像ずれ量との概略関係図である。撮像面600に撮像素子122が配置される。図4及び図5と同様に、撮像素子122の瞳面が、第1瞳部分領域501と第2瞳部分領域502とに2分割される。 Figure 6 is a schematic diagram showing the relationship between the defocus amount based on the first focus detection signal and the second focus detection signal and the image shift amount between the first focus detection signal and the second focus detection signal. The image sensor 122 is disposed on the imaging plane 600. As in Figures 4 and 5, the pupil plane of the image sensor 122 is divided into a first pupil partial region 501 and a second pupil partial region 502.

デフォーカス量dは、被写体の結像位置から撮像面までの距離を大きさ|d|とし、被写体の結像位置が撮像面より被写体側にある前ピン状態を負符号(d<0)として定義される。また、被写体の結像位置が撮像面より被写体の反対側にある後ピン状態を正符号(d>0)として定義される。被写体の結像位置が撮像面(合焦位置)にある合焦状態において、d=0である。図6において、被写体601は合焦状態(d=0)の例を示しており、被写体602は前ピン状態(d<0)の例を示している。前ピン状態(d<0)と後ピン状態(d>0)を合わせて、デフォーカス状態(|d|>0)とする。 The defocus amount d has a magnitude |d|, which is the distance from the subject's imaging position to the imaging plane, and is defined as a negative sign (d<0) in a front-focus state where the subject's imaging position is on the subject side of the imaging plane. Also, a back-focus state where the subject's imaging position is on the opposite side of the subject from the imaging plane is defined as a positive sign (d>0). In a focused state where the subject's imaging position is on the imaging plane (focused position), d=0. In FIG. 6, subject 601 shows an example of a focused state (d=0), and subject 602 shows an example of a front-focus state (d<0). The front-focus state (d<0) and the back-focus state (d>0) are combined to form a defocused state (|d|>0).

前ピン状態(d<0)では、被写体602からの光束のうち、第1瞳部分領域501(第2瞳部分領域502)を通過した光束は、一度、集光した後、光束の重心位置G1(G2)を中心として幅Γ1(Γ2)に広がり、撮像面600でボケた像となる。ボケた像は、撮像素子122に配列された各画素を構成する第1焦点検出画素201(第2焦点検出画素202)により受光され、第1焦点検出信号(第2焦点検出信号)が生成される。よって、第1焦点検出信号(第2焦点検出信号)は、撮像面600上の重心位置G1(G2)に、被写体602が幅Γ1(Γ2)にボケた被写体像として記録される。被写体像のボケ幅Γ1(Γ2)は、デフォーカス量dの大きさ|d|が増加するのに伴い、概ね、比例して増加していく。同様に、第1焦点検出信号と第2焦点検出信号との間の被写体像の像ずれ量p(=光束の重心位置の差G1-G2)の大きさ|p|も、デフォーカス量dの大きさ|d|が増加するのに伴い、概ね、比例して増加していく。後ピン状態(d>0)でも、第1焦点検出信号と第2焦点検出信号との間の被写体像の像ずれ方向が前ピン状態と反対となるが、同様である。 In the front focus state (d<0), the light beam from the subject 602 that passes through the first pupil partial region 501 (second pupil partial region 502) is once focused, and then spreads to a width Γ1 (Γ2) centered on the center of gravity position G1 (G2) of the light beam, forming a blurred image on the imaging surface 600. The blurred image is received by the first focus detection pixel 201 (second focus detection pixel 202) constituting each pixel arranged on the image sensor 122, and a first focus detection signal (second focus detection signal) is generated. Therefore, the first focus detection signal (second focus detection signal) is recorded as a subject image in which the subject 602 is blurred to a width Γ1 (Γ2) at the center of gravity position G1 (G2) on the imaging surface 600. The blur width Γ1 (Γ2) of the subject image increases roughly in proportion to the increase in the magnitude |d| of the defocus amount d. Similarly, the magnitude |p| of the image shift amount p (= the difference G1-G2 in the center of gravity position of the light beam) of the subject image between the first focus detection signal and the second focus detection signal also increases roughly in proportion to the increase in the magnitude |d| of the defocus amount d. In the back focus state (d>0), the direction of the image shift of the subject image between the first focus detection signal and the second focus detection signal is the opposite to that in the front focus state, but the same is true.

第1焦点検出信号と第2焦点検出信号、又は、第1焦点検出信号と第2焦点検出信号とを加算した撮像信号のデフォーカス量の大きさが増加するのに伴い、第1焦点検出信号と第2焦点検出信号との間の像ずれ量の大きさが増加する。従って、本実施形態で位相差AF部129は、撮像信号のデフォーカス量の大きさが増加するのに伴って第1焦点検出信号と第2焦点検出信号との間の像ずれ量の大きさが増加する関係性を利用し、基線長に基づいて算出された変換係数により、像ずれ量を検出デフォーカス量に変換する。 As the magnitude of the defocus amount of the imaging signal obtained by adding the first focus detection signal and the second focus detection signal, or the first focus detection signal and the second focus detection signal, increases, the magnitude of the image shift amount between the first focus detection signal and the second focus detection signal increases. Therefore, in this embodiment, the phase difference AF unit 129 utilizes the relationship in which the magnitude of the image shift amount between the first focus detection signal and the second focus detection signal increases as the magnitude of the defocus amount of the imaging signal increases, and converts the image shift amount into a detected defocus amount using a conversion coefficient calculated based on the baseline length.

(撮影処理の流れ)
図7は、撮影処理のフローチャートである。この撮影処理は、カメラMPU125によって実行される。また、必要に応じてレンズMPU117が処理の一部を分担する。
(Flow of the photography process)
7 is a flowchart of the photographing process. This photographing process is executed by the camera MPU 125. Also, the lens MPU 117 shares part of the process as necessary.

S701で、カメラMPU125は、撮像素子122により生成された撮像データ(例えば、ライブビュー撮影により得られたデータ)に基づいて、被写体検出部132を制御し被写体検出を実行する。以下、本実施形態の被写体検出部132により検出される被写体の位置及び大きさ(被写体領域)について説明する。 In S701, the camera MPU 125 controls the subject detection unit 132 to perform subject detection based on the imaging data (e.g., data obtained by live view shooting) generated by the image sensor 122. The position and size of the subject (subject area) detected by the subject detection unit 132 in this embodiment will be described below.

図8は、被写体(検出対象)と検出領域(被写体領域)との概略関係図である。図8において被写体領域801~806は、被写体検出部132が検出した被写体領域である。図8から理解できるように、被写体領域は、検出対象の被写体(図8の例では犬)を部分的に含んだ領域である。換言すると、被写体領域は、検出対象の被写体を含まない領域(例えば、ポールや背景などの領域)も含んでいる。即ち、本実施形態において「被写体検出」又は「被写体を検出する」のように言う場合、厳密に特定の被写体のみを含んだ領域が検出される訳ではなく、検出対象の被写体を部分的に含んだ領域が検出される。 Figure 8 is a schematic diagram showing the relationship between a subject (detection target) and a detection area (subject area). In Figure 8, subject areas 801 to 806 are subject areas detected by the subject detection unit 132. As can be seen from Figure 8, a subject area is an area that partially includes the subject to be detected (a dog in the example of Figure 8). In other words, a subject area also includes an area that does not include the subject to be detected (for example, an area such as a pole or the background). That is, when referring to "subject detection" or "detecting a subject" in this embodiment, it does not mean that an area that strictly includes only a specific subject is detected, but rather that an area that partially includes the subject to be detected is detected.

各被写体領域の位置及び大きさは、表1のように表される。被写体検出部132は、画像処理回路124により生成される被写体検出用の信号に基づいて、撮影範囲において被写体領域の検出を行う。被写体領域には、検出対象の被写体と検出対象外の被写体の両方が含まれる。 The position and size of each subject area are shown in Table 1. The subject detection unit 132 detects subject areas within the shooting range based on the subject detection signal generated by the image processing circuit 124. The subject area includes both subjects to be detected and subjects not to be detected.

Figure 0007614737000001
Figure 0007614737000001

図8において、符号810、820、830、840、850、及び860は、背景(検出対象外の被写体)を示す。符号811、821、831、841、851、及び861は、犬(検出対象の被写体)を示す。符号812~817は、ポール(検出対象外の被写体)を示し、符号822、823、及び852は、三角コーン(検出対象外の被写体)を示し、符号832、833、及び853は、犬が通り抜ける輪(検出対象外の被写体)を示す。符号842は、犬(検出対象の被写体)よりも大きい檻(検出対象外の被写体)を示し、符号862は、犬(検出対象の被写体)と同程度の大きさの檻(検出対象外の被写体)を示す。 In FIG. 8, reference numerals 810, 820, 830, 840, 850, and 860 indicate the background (subject not to be detected). Reference numerals 811, 821, 831, 841, 851, and 861 indicate the dog (subject to be detected). Reference numerals 812 to 817 indicate poles (subjects not to be detected), reference numerals 822, 823, and 852 indicate triangular cones (subjects not to be detected), and reference numerals 832, 833, and 853 indicate loops (subjects not to be detected) through which the dog passes. Reference numeral 842 indicates a cage (subject not to be detected) that is larger than the dog (subject to be detected), and reference numeral 862 indicates a cage (subject not to be detected) that is about the same size as the dog (subject to be detected).

図8の例では、1つの被写体検出用の信号から検出対象の被写体に関する複数の被写体領域が検出されている。しかしながら、被写体検出部132は、主被写体である可能性が最も高い被写体領域のみを検出してもよい。また、ここでは、犬を被写体として検出するものとしたが、猫や鳥などの他の動物や、車や飛行機などの乗り物を検出してもよい。また、ここでは、犬の全身を被写体として検出するものとしたが、顔や瞳などの特定部位を検出してもよい。また、乗り物の運転者や運転者の頭部などの特定部分を検出してもよい。 In the example of FIG. 8, multiple subject regions related to the subject to be detected are detected from one subject detection signal. However, the subject detection unit 132 may detect only the subject region that is most likely to be the main subject. In addition, although a dog is detected as the subject here, other animals such as cats and birds, or vehicles such as cars and airplanes may also be detected. In addition, although the entire body of a dog is detected as the subject here, specific parts such as the face or eyes may also be detected. Also, specific parts such as the driver of a vehicle or the driver's head may also be detected.

図7に戻り、S702で、カメラMPU125は、S701で検出された被写体の中から主被写体を選択する。主被写体は、予め定められた被写体領域(位置、大きさ)の優先順位に応じて選択(決定)される。例えば、被写体領域の位置が中央像高ほど優先順位を高く設定し、位置が同じ場合(中央像高からの距離が同じ場合)には、被写体領域の大きさが大きいものほど優先順位を高く設定する。 Returning to FIG. 7, in S702, the camera MPU 125 selects a main subject from among the subjects detected in S701. The main subject is selected (determined) according to a predetermined priority order of the subject area (position, size). For example, the closer the subject area is to the central image height, the higher the priority order is set, and when the positions are the same (when the distance from the central image height is the same), the larger the subject area is, the higher the priority order is set.

S703で、カメラMPU125は、位相差AF部129を制御し焦点調節(フォーカス制御)を実行する。焦点調節の詳細については後述する。 In S703, the camera MPU 125 controls the phase difference AF unit 129 to perform focus adjustment (focus control). Details of focus adjustment will be described later.

S704で、カメラMPU125は、合焦判定を実施する。合焦と判定された場合、処理はS705へ進み、合焦でないと判定された場合、処理はS701へ戻る。 In S704, the camera MPU 125 performs a focus determination. If it is determined that the focus is achieved, the process proceeds to S705, and if it is determined that the focus is not achieved, the process returns to S701.

S705で、カメラMPU125は、ホワイトバランス調整部131を制御しホワイトバランス調整(ホワイトバランス制御)を実行する。ホワイトバランス調整の詳細については後述する。 In S705, the camera MPU 125 controls the white balance adjustment unit 131 to perform white balance adjustment (white balance control). Details of the white balance adjustment will be described later.

S706で、カメラMPU125は、AE部130を制御し露光調節(露光制御)を実行する。露光調節の詳細については後述する。 In S706, the camera MPU 125 controls the AE unit 130 to perform exposure adjustment (exposure control). Details of exposure adjustment will be described later.

S707で、カメラMPU125は、本撮影(記録用画像の撮影)を実行する。 In S707, the camera MPU 125 performs the actual shooting (taking an image for recording).

(S703の焦点調節処理の詳細)
図9は、図7のS703における焦点調節処理の詳細を示すフローチャートである。なお、図9の処理は、カメラMPU125及び位相差AF部129によって実行される。
(Details of the focus adjustment process in S703)
Fig. 9 is a flowchart showing details of the focus adjustment process in S703 of Fig. 7. The process in Fig. 9 is executed by the camera MPU 125 and the phase difference AF unit 129.

S901で、位相差AF部129は、S701~S702で検出した主被写体の被写体検出結果(被写体領域)を取得する。 In S901, the phase difference AF unit 129 obtains the subject detection result (subject area) of the main subject detected in S701 to S702.

S902で、位相差AF部129は、S901で取得した被写体領域の位置及び大きさを基準に、測距領域(デフォーカス量算出領域)を設定する。 In S902, the phase difference AF unit 129 sets a ranging area (defocus amount calculation area) based on the position and size of the subject area acquired in S901.

図10は、被写体領域801~806それぞれに関して、被写体領域の位置及び大きさを基準に設定された測距領域の概略説明図である。図10(a)は、被写体領域801、図10(b)は、被写体領域802、図10(c)は、被写体領域803、図10(d)は、被写体領域804、図10(e)は、被写体領域805、図10(f)は、被写体領域806にそれぞれ対応する。符号1010、1020、1030、1040、1050、及び1060は測距領域を示す。 Figure 10 is a schematic diagram of the distance measurement areas set for each of the subject areas 801 to 806 based on the position and size of the subject area. Figure 10(a) corresponds to subject area 801, Figure 10(b) corresponds to subject area 802, Figure 10(c) corresponds to subject area 803, Figure 10(d) corresponds to subject area 804, Figure 10(e) corresponds to subject area 805, and Figure 10(f) corresponds to subject area 806. Reference numerals 1010, 1020, 1030, 1040, 1050, and 1060 indicate distance measurement areas.

図10の例では、位相差AF部129は、被写体領域801~806それぞれに関して、被写体領域の位置を基準に測距領域の中心を設定し、被写体領域の縦方向及び横方向それぞれの大きさを3倍した大きさで測距領域の範囲を設定している。本実施形態では、被写体領域を3倍した大きさで測距領域の範囲を設定したが、その限りではなく、他の倍率で被写体領域の大きさに応じた測距領域の範囲を設定してもよい。図10の例では測距領域は被写体領域より大きく被写体領域の全体を包含しているが、測距領域は被写体領域の一部のみを含んでもよいし、また、測距領域は被写体領域より小さくてもよい。符号1001_n~1006_nは、各測距領域の測距点の1つである。 In the example of FIG. 10, the phase difference AF unit 129 sets the center of the ranging area for each of the subject areas 801 to 806 based on the position of the subject area, and sets the range of the ranging area to a size three times the vertical and horizontal size of the subject area. In this embodiment, the range of the ranging area is set to a size three times the size of the subject area, but this is not limited to this, and the range of the ranging area may be set according to the size of the subject area at another magnification. In the example of FIG. 10, the ranging area is larger than the subject area and includes the entire subject area, but the ranging area may include only a part of the subject area, or the ranging area may be smaller than the subject area. Reference symbols 1001_n to 1006_n are one of the ranging points of each ranging area.

このように、被写体領域の位置を基準に測距領域を設定することで、同時に演算可能な測距点数が限られていた場合においても、主被写体近傍の測距結果を高密度に得ることができる。そして、得られた測距結果の中から最適な測距結果を選択することで、主被写体へ適切に合焦させることが可能となる。また、被写体領域の大きさに対する倍率で測距領域範囲を設定することで、被写体度合いを判定する際に、被写体領域に対して常に同じ倍率の測距領域範囲の結果を用いることができ、被写体度合いの判定精度が向上する。 In this way, by setting the ranging area based on the position of the subject area, it is possible to obtain a high density of ranging results near the main subject, even when the number of ranging points that can be calculated simultaneously is limited. Then, by selecting the optimal ranging result from the obtained ranging results, it becomes possible to properly focus on the main subject. In addition, by setting the ranging area range with a magnification relative to the size of the subject area, it is possible to always use the results of the ranging area range with the same magnification for the subject area when determining the subject degree, improving the accuracy of determining the subject degree.

図9に戻り、S903で、位相差AF部129は、S902で設定した測距領域内の各測距点のデフォーカス量を算出する。 Returning to FIG. 9, in S903, the phase difference AF unit 129 calculates the defocus amount for each ranging point within the ranging area set in S902.

S904で、カメラMPU125は、S903で算出したデフォーカス量をクラス分類する。 In S904, the camera MPU 125 classifies the defocus amount calculated in S903.

図11は、図10の測距領域内のデフォーカス量をクラス分類した状態を示す概略説明図である。図11において、横軸はデフォーカス量を示し、縦軸はデフォーカス量の頻度を示す。図11(a)は、測距領域1010、図11(b)は、測距領域1020、図11(c)は、測距領域1030、図11(d)は、測距領域1040、図11(e)は、測距領域1050、図11(f)は、測距領域1060にそれぞれ対応する。 Figure 11 is a schematic diagram showing the state in which the defocus amount in the ranging area of Figure 10 has been classified. In Figure 11, the horizontal axis indicates the defocus amount, and the vertical axis indicates the frequency of the defocus amount. Figure 11(a) corresponds to ranging area 1010, Figure 11(b) corresponds to ranging area 1020, Figure 11(c) corresponds to ranging area 1030, Figure 11(d) corresponds to ranging area 1040, Figure 11(e) corresponds to ranging area 1050, and Figure 11(f) corresponds to ranging area 1060.

符号1110、1120、1130、1140、1150、1160は、背景810、820、830、840、850、860のデフォーカス量のクラスを示す。符号1111、1121、1131、1141、1151、1161は、被写体811、821、831、841、851、861のデフォーカス量のクラスを示す。符号1112~1117は、ポール812~817のデフォーカス量のクラスを示す。符号1122、1123、1152は、三角コーン822、823、852のデフォーカス量のクラスを示す。符号1132、1133、1153は、犬が通り抜ける輪832、833、853のデフォーカス量のクラスを示す。符号1142は、犬(検出対象の被写体)よりも大きい檻842のデフォーカス量のクラスを示す。符号1162は、犬(検出対象の被写体)と同程度の大きさの檻862のデフォーカス量のクラスを示す。 Reference numerals 1110, 1120, 1130, 1140, 1150, and 1160 indicate the class of the defocus amount of the backgrounds 810, 820, 830, 840, 850, and 860. Reference numerals 1111, 1121, 1131, 1141, 1151, and 1161 indicate the class of the defocus amount of the subjects 811, 821, 831, 841, 851, and 861. Reference numerals 1112 to 1117 indicate the class of the defocus amount of the poles 812 to 817. Reference numerals 1122, 1123, and 1152 indicate the class of the defocus amount of the triangular cones 822, 823, and 852. Reference numerals 1132, 1133, and 1153 indicate the class of the defocus amount of the rings 832, 833, and 853 through which the dog passes. Reference numeral 1142 indicates the class of the defocus amount for a cage 842 that is larger than a dog (the subject to be detected). Reference numeral 1162 indicates the class of the defocus amount for a cage 862 that is about the same size as a dog (the subject to be detected).

このように、S904では、デフォーカス量をクラス分類する(複数の測距点に対応する複数のデフォーカス量の範囲を複数の部分範囲に分類する)ことで、被写体領域内を光軸方向(デフォーカス方向)に区分する処理が行われる。 In this way, in S904, the defocus amount is classified (the multiple defocus amount ranges corresponding to the multiple distance measurement points are classified into multiple partial ranges) to divide the subject area in the optical axis direction (defocus direction).

図9に戻り、S905で、カメラMPU125は、S902で設定した測距領域において、S904で得られた各クラスに対応するクラス領域を検出する。クラス領域は、対応するクラスに属するデフォーカス量を持つ画素の集合である。クラス領域内(部分領域内)の画素の位置は連続している必要はなく、離散的であってもよい。 Returning to FIG. 9, in S905, the camera MPU 125 detects class areas corresponding to each class obtained in S904 in the ranging area set in S902. A class area is a collection of pixels having defocus amounts that belong to the corresponding class. The positions of the pixels in the class area (partial area) do not need to be continuous and may be discrete.

図12は、S905において検出されるクラス領域の概略説明図である。図12(a)は、測距領域1010、図12(b)は、測距領域1020、図12(c)は、測距領域1030、図12(d)は、測距領域1040、図12(e)は、測距領域1050、図12(f)は、測距領域1060にそれぞれ対応する。灰色部分が各クラスに対応するクラス領域を示している。このように、測距領域は、複数のクラス領域(部分領域)に分類され、複数のクラス領域(部分領域)の各々は異なるデフォーカス量のクラス(複数の測距点に対応する複数のデフォーカス量の範囲における異なる部分範囲)に対応する。 Figure 12 is a schematic diagram of the class areas detected in S905. Figure 12(a) corresponds to the ranging area 1010, Figure 12(b) corresponds to the ranging area 1020, Figure 12(c) corresponds to the ranging area 1030, Figure 12(d) corresponds to the ranging area 1040, Figure 12(e) corresponds to the ranging area 1050, and Figure 12(f) corresponds to the ranging area 1060. The gray areas indicate the class areas corresponding to each class. In this way, the ranging area is classified into multiple class areas (partial areas), and each of the multiple class areas (partial areas) corresponds to a different defocus amount class (a different partial range in the multiple defocus amount ranges corresponding to multiple ranging points).

符号1011、1021、1031、1041、1051、1061は、被写体度合いを判定する際に算出する評価値を規格化する範囲を示しており、被写体領域の中心位置を基準として被写体領域の縦方向及び横方向それぞれの大きさのβ倍の範囲で設定される。図12の例では、β=2である。 Reference numerals 1011, 1021, 1031, 1041, 1051, and 1061 indicate the range for normalizing the evaluation value calculated when determining the subject degree, and are set within a range β times the vertical and horizontal sizes of the subject region based on the center position of the subject region. In the example of FIG. 12, β=2.

符号1210、1220、1230、1240、1250、1260は、背景810、820、830、840、850、860に対応するクラス1110、1120、1130、1140、1150、1160に対応するクラス領域を示す。符号1211、1221、1231、1241、1251、1261は、被写体811、821、831、841、851、861に対応するクラス1111、1121、1131、1141、1151、1161に対応するクラス領域を示す。符号1212~1217は、ポール812~817に対応するクラス1112~1117に対応するクラス領域を示す。符号1222、1223、1252は、三角コーン822、823、852に対応するクラス1122、1123、1152に対応するクラス領域を示す。符号1232、1233、1253は、犬が通り抜ける輪832、833、853に対応するクラス1132、1133、1153に対応するクラス領域を示す。符号1242は、犬(検出対象の被写体)よりも大きい檻842に対応するクラス1142に対応するクラス領域を示す。符号1262は、犬(検出対象の被写体)と同程度の大きさの檻862に対応するクラス1162に対応するクラス領域を示す。 Reference numerals 1210, 1220, 1230, 1240, 1250, and 1260 indicate class regions corresponding to classes 1110, 1120, 1130, 1140, 1150, and 1160, which correspond to backgrounds 810, 820, 830, 840, 850, and 860. Reference numerals 1211, 1221, 1231, 1241, 1251, and 1261 indicate class regions corresponding to classes 1111, 1121, 1131, 1141, 1151, and 1161, which correspond to subjects 811, 821, 831, 841, 851, and 861. Reference numerals 1212 to 1217 indicate class regions corresponding to classes 1112 to 1117, which correspond to poles 812 to 817. Reference numerals 1222, 1223, and 1252 indicate class regions corresponding to classes 1122, 1123, and 1152, which correspond to triangular cones 822, 823, and 852. Reference numerals 1232, 1233, and 1253 indicate class regions corresponding to classes 1132, 1133, and 1153, which correspond to rings 832, 833, and 853 through which the dog passes. Reference numeral 1242 indicates a class region corresponding to class 1142, which corresponds to a cage 842 that is larger than a dog (subject to be detected). Reference numeral 1262 indicates a class region corresponding to class 1162, which corresponds to a cage 862 that is about the same size as a dog (subject to be detected).

このように、S905でクラス領域を検出する(測距領域を複数のクラス領域に分類する)ことで、デフォーカス量の各クラスが測距領域内でどのように分布しているかを把握することができる。 In this way, by detecting the class area in S905 (classifying the ranging area into multiple class areas), it is possible to understand how each defocus amount class is distributed within the ranging area.

図9に戻り、S906で、カメラMPU125は、S901で取得した被写体領域とS905で検出した各クラス領域とに基づいて、各クラス領域について検出対象の被写体が存在する可能性を示す被写体度合いを判定する。各クラス領域の被写体度合いの判定は、例えば、各クラス領域と被写体領域との間の幾何学的な関係(以下の例では、位置関係と大きさの関係)に基づいて行われる。或いは、各クラス領域の被写体度合いの判定は、幾何学的な関係に加えて、各クラス領域の形状に基づいて行われてもよい。 Returning to FIG. 9, in S906, the camera MPU 125 determines the subject degree, which indicates the possibility that a subject to be detected exists, for each class area based on the subject area acquired in S901 and each class area detected in S905. The subject degree of each class area is determined, for example, based on the geometric relationship between each class area and the subject area (in the following example, the relationship between positional relationship and size). Alternatively, the subject degree of each class area may be determined based on the shape of each class area in addition to the geometric relationship.

図15を参照して、被写体度合いの判定処理について説明する。なお、図15の処理は、カメラMPU125によって実行される。 The subject degree determination process will be described with reference to FIG. 15. Note that the process in FIG. 15 is executed by the camera MPU 125.

S1501で、カメラMPU125は、各クラス領域に対して、位置、大きさ、形状の各項目の評価値を算出する。各項目の評価値(位置:E1、大きさ:E2、形状:E3)は、以下の式で算出される。以下の式において、クラス領域の重心位置を(x,y)、被写体領域の大きさで規格化したクラス領域の大きさ(最大x座標、最大y座標)を(w,h)、クラス領域の面積をSで表す。なお、クラス領域の重心位置を(x,y)は、被写体領域の中心位置に対する相対位置であり、被写体領域の右上隅(1,1)、左下隅が(-1,-1)となるように規格化されている。 In S1501, the camera MPU 125 calculates an evaluation value for each item of position, size, and shape for each class area. The evaluation value for each item (position: E1, size: E2, shape: E3) is calculated by the following formula. In the following formula, the position of the center of gravity of the class area is represented by ( xc , yc ), the size of the class area normalized by the size of the subject area (maximum x coordinate, maximum y coordinate) is represented by ( wc , hc ), and the area of the class area is represented by Sc . Note that the position of the center of gravity of the class area ( xc , yc ) is a relative position with respect to the center position of the subject area, and is normalized so that the upper right corner of the subject area is (1, 1) and the lower left corner is (-1, -1).

Figure 0007614737000002
Figure 0007614737000002

Figure 0007614737000003
Figure 0007614737000003

Figure 0007614737000004
Figure 0007614737000004

位置の評価値E1は、クラス領域の重心位置(x,y)が、被写体領域の中心位置に近いほど1(100%)に近づき、離れるほど0(0%)に近づく。被写体領域の中心位置とクラス領域の重心位置(x,y)との間の距離が評価値を規格化するβを超えると、評価値E1は0(0%)となる。図12(a)の例で言えば、クラス領域の重心位置(x,y)が、規格化範囲1011の内接円の中に入らない場合に、評価値E1は0(0%)となる。 The position evaluation value E1 approaches 1 (100%) as the center of gravity position ( xc , yc ) of the class area is closer to the center of the subject area, and approaches 0 (0%) as the center of gravity position (xc, yc ) of the class area is farther away. If the distance between the center of the subject area and the center of gravity position ( xc , yc) of the class area exceeds β, which normalizes the evaluation value, the evaluation value E1 becomes 0 (0%). In the example of Fig. 12(a), if the center of gravity position ( xc , yc ) of the class area is not within the inscribed circle of the normalization range 1011, the evaluation value E1 becomes 0 (0%).

大きさの評価値E2は、クラス領域の大きさ(w,h)が、被写体領域の大きさに近いほど1(100%)に近づき、離れるほど0(0%)に近づき、評価値を規格化するβを超えると0(0%)となる。また、評価値E2は、(w,h)のうち、被写体領域の大きさとの差が大きい方を用いて算出される。 The size evaluation value E2 approaches 1 (100%) as the class area size ( wc , hc ) is closer to the size of the subject area, approaches 0 (0%) as it is farther away, and becomes 0 (0%) when it exceeds β, which normalizes the evaluation value. Moreover, the evaluation value E2 is calculated using the one of ( wc , hc ) that has the largest difference from the size of the subject area.

形状の評価値E3は、クラス領域を外接するように囲む矩形領域内におけるクラス領域の密度を表しており、密であるほど1(100%)に近づき、疎であるほど0(0%)に近づく。 The shape evaluation value E3 represents the density of the class area within a rectangular area that circumscribes the class area; the denser it is, the closer it is to 1 (100%), and the sparser it is, the closer it is to 0 (0%).

次に、S1502で、カメラMPU125は、S1501で算出した各クラス領域の評価値E1~E3を参照し、評価値=0%の項目を持つクラス領域について、被写体度合いを0%と判定する。従って、例えば(E1=93%,E2=0%,E3=88%)のように、1つの項目でも評価値が0%となっている場合には、他の項目の評価値に関わらず、検出対象の被写体である可能性が実質的にないと判定される。 Next, in S1502, the camera MPU 125 refers to the evaluation values E1 to E3 of each class area calculated in S1501, and determines the subject likelihood to be 0% for class areas having items with an evaluation value = 0%. Therefore, if even one item has an evaluation value of 0%, for example (E1 = 93%, E2 = 0%, E3 = 88%), it is determined that there is virtually no possibility that the object is the subject of the detection target, regardless of the evaluation values of the other items.

S1503で、カメラMPU125は、各項目の評価値について、評価値が50%以上のクラス領域の数(被写体度合い=0%と判定済みのクラス領域を除く)を判定する。 At S1503, the camera MPU 125 determines the number of class areas with an evaluation value of 50% or more for each item (excluding class areas that have been determined to have a subject degree of 0%).

S1504で、カメラMPU125は、評価値が50%以上のクラス領域の数が1である項目が1つだけ存在するか否かを判定する。そのような項目が1つだけ存在する場合、処理はS1505に進み、そうでない場合、処理はS1506に進む。S1504の判定における評価値の閾値は50%に限定されず、他の値(例えば、60%)を閾値としてもよい。 In S1504, the camera MPU 125 determines whether there is only one item in which the number of class regions with an evaluation value of 50% or more is 1. If there is only one such item, processing proceeds to S1505; if not, processing proceeds to S1506. The evaluation value threshold in the determination in S1504 is not limited to 50%, and another value (e.g., 60%) may be used as the threshold.

S1505で、カメラMPU125は、評価値が50%以上のクラス領域の数が1である項目の評価値に基づいて、各クラス領域(被写体度合い=0%と判定済みのクラス領域を除く)の被写体度合いを判定する。例えば、カメラMPU125は、そのような項目の評価値をそのまま被写体度合いとして用いる。評価値が50%以上のクラス領域の数が1である項目が1つだけ存在する場合、その項目の評価値が50%以上であるクラス領域が検出対象の被写体である可能性が高いと考えられるため、その項目以外の項目は使用せずに被写体度合いの判定が行われる。 In S1505, the camera MPU 125 determines the subject degree of each class area (excluding class areas that have been determined to have a subject degree of 0%) based on the evaluation value of the item that has one class area with an evaluation value of 50% or more. For example, the camera MPU 125 uses the evaluation value of such an item as is as the subject degree. If there is only one item that has one class area with an evaluation value of 50% or more, the class area with that item's evaluation value of 50% or more is considered to have a high probability of being the subject to be detected, and the subject degree is determined without using items other than that item.

S1506では、カメラMPU125は、S1501で算出した全項目の評価値に基づいて、各クラス領域(被写体度合い=0%と判定済みのクラス領域を除く)の被写体度合いを判定する。例えば、カメラMPU125は、全項目の評価値の平均値を被写体度合いとして用いる。或いは、カメラMPU125は、全項目の評価値を重みづけ平均することにより被写体度合いを判定してもよい。重みづけは、予め定められた各項目の重要度に基づいて設定してもよいし、他の項目と評価値の差が大きい項目の重みを大きくしたり、評価値が大きい項目の重みを大きく設定したりするようにしてもよい。 In S1506, the camera MPU 125 determines the subject degree of each class area (excluding class areas that have already been determined to have a subject degree of 0%) based on the evaluation values of all items calculated in S1501. For example, the camera MPU 125 uses the average of the evaluation values of all items as the subject degree. Alternatively, the camera MPU 125 may determine the subject degree by taking a weighted average of the evaluation values of all items. The weighting may be set based on the predetermined importance of each item, or a larger weight may be set for an item whose evaluation value differs greatly from other items, or a larger weight may be set for an item whose evaluation value is large.

ここで、図12及び図15を参照して、被写体領域801~806それぞれに対応するクラス領域について、被写体度合いの判定処理の具体例を説明する。 Now, with reference to Figures 12 and 15, we will explain a specific example of the subject degree determination process for the class areas corresponding to each of the subject areas 801 to 806.

まず、図12(a)を参照して、被写体領域801のクラス領域に対する被写体度合いの判定処理について説明する。表2は、被写体領域801の位置及び大きさにより規格化された各クラス領域の位置及び大きさと、S1501において各クラス領域に対して算出された各項目の評価値と、各クラス領域の被写体度合いとを示す。 First, referring to FIG. 12(a), the process of determining the subject degree for the class areas of the subject area 801 will be described. Table 2 shows the position and size of each class area normalized by the position and size of the subject area 801, the evaluation value of each item calculated for each class area in S1501, and the subject degree of each class area.

Figure 0007614737000005
Figure 0007614737000005

表2において、クラス領域1210の大きさの評価値が0%、クラス領域1217の位置の評価値が0%である。そのため、S1502で、クラス領域1210及びクラス領域1217の被写体度合いが0%と判定される。 In Table 2, the evaluation value of the size of class area 1210 is 0%, and the evaluation value of the position of class area 1217 is 0%. Therefore, in S1502, the subject degree of class area 1210 and class area 1217 is determined to be 0%.

S1503以降の処理は、被写体度合いが未判定であるクラス領域1211~1216に対して行われる。位置及び形状の評価値については、50%以上の評価値を持つクラス領域の数が2以上である。大きさの評価値については、50%以上の評価値を持つクラス領域の数が1である(クラス領域1211)。そのため、50%以上の評価値を持つクラス領域の数が1である項目が1つだけ存在する(大きさの評価値)。従って、クラス領域1211~1216については、S1505において大きさの評価値が被写体度合いとして判定される。 The processing from S1503 onwards is carried out on class areas 1211 to 1216 whose subject degree has not yet been determined. For the position and shape evaluation values, there are two or more class areas with evaluation values of 50% or more. For the size evaluation value, there is one class area with an evaluation value of 50% or more (class area 1211). Therefore, there is only one item in which the number of class areas with an evaluation value of 50% or more is one (size evaluation value). Therefore, for class areas 1211 to 1216, the size evaluation value is determined as the subject degree in S1505.

このようにして、検出対象の被写体に対応するクラス領域1211の被写体度合いを正しく高いと判定できる。 In this way, the subject likelihood of the class area 1211 corresponding to the subject being detected can be correctly determined to be high.

次に、図12(b)を参照して、被写体領域802のクラス領域に対する被写体度合いの判定処理について説明する。表3は、被写体領域802の位置及び大きさにより規格化された各クラス領域の位置及び大きさと、S1501において各クラス領域に対して算出された各項目の評価値と、各クラス領域の被写体度合いとを示す。 Next, the process of determining the subject degree for the class areas of the subject area 802 will be described with reference to FIG. 12(b). Table 3 shows the position and size of each class area normalized by the position and size of the subject area 802, the evaluation value of each item calculated for each class area in S1501, and the subject degree of each class area.

Figure 0007614737000006
Figure 0007614737000006

表3において、クラス領域1220の大きさの評価値が0%である。そのため、S1502で、クラス領域1220の被写体度合いが0%と判定される。 In Table 3, the evaluation value of the size of class area 1220 is 0%. Therefore, in S1502, the subject degree of class area 1220 is determined to be 0%.

S1503以降の処理は、被写体度合いが未判定であるクラス領域1221~1223に対して行われる。大きさの評価値については、50%以上の評価値を持つクラス領域の数が2以上である。形状の評価値については、50%以上の評価値を持つクラス領域が存在しない。位置の評価値については、50%以上の評価値を持つクラス領域の数が1である(クラス領域1221)。そのため、50%以上の評価値を持つクラス領域の数が1である項目が1つだけ存在する(位置の評価値)。従って、クラス領域1221~1223については、S1505において位置の評価値が被写体度合いとして判定される。 The processing from S1503 onwards is carried out for class areas 1221 to 1223 whose subject degree has not yet been determined. For the size evaluation value, there are two or more class areas with an evaluation value of 50% or more. For the shape evaluation value, there are no class areas with an evaluation value of 50% or more. For the position evaluation value, there is one class area with an evaluation value of 50% or more (class area 1221). Therefore, there is only one item in which the number of class areas with an evaluation value of 50% or more exists (position evaluation value). Therefore, for class areas 1221 to 1223, the position evaluation value is determined as the subject degree in S1505.

このようにして、検出対象の被写体に対応するクラス領域1221の被写体度合いを正しく高いと判定できる。 In this way, the subject likelihood of the class area 1221 corresponding to the subject being detected can be correctly determined to be high.

次に、図12(c)を参照して、被写体領域803のクラス領域に対する被写体度合いの判定処理について説明する。表4は、被写体領域803の位置及び大きさにより規格化された各クラス領域の位置及び大きさと、S1501において各クラス領域に対して算出された各項目の評価値と、各クラス領域の被写体度合いとを示す。 Next, the process of determining the subject degree for the class areas of the subject area 803 will be described with reference to FIG. 12(c). Table 4 shows the position and size of each class area normalized by the position and size of the subject area 803, the evaluation value of each item calculated for each class area in S1501, and the subject degree of each class area.

Figure 0007614737000007
Figure 0007614737000007

表4において、クラス領域1230の大きさの評価値が0%である。そのため、S1502で、クラス領域1230の被写体度合いが0%と判定される。 In Table 4, the evaluation value of the size of class area 1230 is 0%. Therefore, in S1502, the subject degree of class area 1230 is determined to be 0%.

S1503以降の処理は、被写体度合いが未判定であるクラス領域1231~1233に対して行われる。位置及び大きさの評価値については、50%以上の評価値を持つクラス領域の数が2以上である。形状の評価値については、50%以上の評価値を持つクラス領域数が1である(クラス領域1231)。そのため、50%以上の評価値を持つクラス領域の数が1である項目が1つだけ存在する(形状の評価値)。従って、クラス領域1231~1233については、S1505において形状の評価値が被写体度合いとして判定される。 The processing from S1503 onwards is carried out on class areas 1231 to 1233 whose subject degree has not yet been determined. For the position and size evaluation values, there are two or more class areas with evaluation values of 50% or more. For the shape evaluation value, there is one class area with an evaluation value of 50% or more (class area 1231). Therefore, there is only one item in which the number of class areas with an evaluation value of 50% or more is one (shape evaluation value). Therefore, for class areas 1231 to 1233, the shape evaluation value is determined as the subject degree in S1505.

このようにして、検出対象の被写体に対応するクラス領域1231の被写体度合いを正しく高いと判定できる。 In this way, the subject likelihood of the class area 1231 corresponding to the subject being detected can be correctly determined to be high.

次に、図12(d)を参照して、被写体領域804のクラス領域に対する被写体度合いの判定処理について説明する。表5は、被写体領域804の位置及び大きさにより規格化された各クラス領域の位置及び大きさと、S1501において各クラス領域に対して算出された各項目の評価値と、各クラス領域の被写体度合いとを示す。 Next, the process of determining the subject degree for the class area of the subject area 804 will be described with reference to FIG. 12(d). Table 5 shows the position and size of each class area normalized by the position and size of the subject area 804, the evaluation value of each item calculated for each class area in S1501, and the subject degree of each class area.

Figure 0007614737000008
Figure 0007614737000008

表5において、クラス領域1240及びクラス領域1242の大きさの評価値が0%である。そのため、S1502で、クラス領域1240及びクラス領域1242の被写体度合いが0%と判定される。 In Table 5, the evaluation value of the size of class area 1240 and class area 1242 is 0%. Therefore, in S1502, the subject degree of class area 1240 and class area 1242 is determined to be 0%.

S1503以降の処理は、被写体度合いが未判定であるクラス領域1241に対して行われる。形状の評価値については、50%以上の評価値を持つクラス領域が存在しない。位置及び大きさの評価値については、50%以上の評価値を持つクラス領域の数が1である(クラス領域1241)。そのため、50%以上の評価値を持つクラス領域の数が1である項目が2つ存在する(位置及び大きさの評価値)。従って、クラス領域1241については、S1505において全項目の評価値の平均値が被写体度合いとして判定される。 The processing from S1503 onwards is performed on class areas 1241 whose subject degree has not been determined. For the shape evaluation value, there are no class areas with an evaluation value of 50% or more. For the position and size evaluation values, there is one class area with an evaluation value of 50% or more (class area 1241). Therefore, there are two items for which there is one class area with an evaluation value of 50% or more (position and size evaluation values). Therefore, for class area 1241, the average evaluation value of all items is determined as the subject degree in S1505.

このようにして、検出対象の被写体に対応するクラス領域1241の被写体度合いを正しく高いと判定できる。 In this way, the subject likelihood of the class area 1241 corresponding to the subject being detected can be correctly determined to be high.

次に、図12(e)を参照して、被写体領域805のクラス領域に対する被写体度合いの判定処理について説明する。表6は、被写体領域805の位置及び大きさにより規格化された各クラス領域の位置及び大きさと、S1501において各クラス領域に対して算出された各項目の評価値と、各クラス領域の被写体度合いとを示す。 Next, the process of determining the subject degree for the class areas of the subject area 805 will be described with reference to FIG. 12(e). Table 6 shows the position and size of each class area normalized by the position and size of the subject area 805, the evaluation value of each item calculated for each class area in S1501, and the subject degree of each class area.

Figure 0007614737000009
Figure 0007614737000009

表6において、クラス領域1250の大きさの評価値が0%である。そのため、S1502で、クラス領域1250の被写体度合いが0%と判定される。 In Table 6, the evaluation value of the size of class area 1250 is 0%. Therefore, in S1502, the subject degree of class area 1250 is determined to be 0%.

S1503以降の処理は、被写体度合いが未判定であるクラス領域1251~1253に対して行われる。位置及び大きさの評価値については、50%以上の評価値を持つクラス領域の数が2以上である。形状の評価値については、50%以上の評価値を持つクラス領域が存在しない。そのため、50%以上の評価値を持つクラス領域の数が1である項目が存在しない。従って、クラス領域1251~1253については、S1505において全項目の評価値の平均値が被写体度合いとして判定される。 The processing from S1503 onwards is carried out on class areas 1251 to 1253 whose subject degree has not yet been determined. For the evaluation values of position and size, there are two or more class areas with evaluation values of 50% or more. For the evaluation value of shape, there are no class areas with evaluation values of 50% or more. Therefore, there is no item in which the number of class areas with an evaluation value of 50% or more is one. Therefore, for class areas 1251 to 1253, the average evaluation value of all items is determined as the subject degree in S1505.

このようにして、検出対象の被写体に対応するクラス領域1251の被写体度合いを正しく高いと判定できる。 In this way, the subject likelihood of the class area 1251 corresponding to the subject being detected can be correctly determined to be high.

次に、図12(f)を参照して、被写体領域806のクラス領域に対する被写体度合いの判定処理について説明する。表7は、被写体領域806の位置及び大きさにより規格化された各クラス領域の位置及び大きさと、S1501において各クラス領域に対して算出された各項目の評価値と、各クラス領域の被写体度合いとを示す。 Next, the process of determining the subject degree for the class areas of the subject area 806 will be described with reference to FIG. 12(f). Table 7 shows the position and size of each class area normalized by the position and size of the subject area 806, the evaluation value of each item calculated for each class area in S1501, and the subject degree of each class area.

Figure 0007614737000010
Figure 0007614737000010

表7において、クラス領域1260の大きさの評価値が0%である。そのため、S1502で、クラス領域1260の被写体度合いが0%と判定される。 In Table 7, the evaluation value of the size of class area 1260 is 0%. Therefore, in S1502, the subject degree of class area 1260 is determined to be 0%.

S1503以降の処理は、被写体度合いが未判定であるクラス領域1261~1262に対して行われる。全項目の評価値について、50%以上の評価値を持つクラス領域の数が2以上である。そのため、50%以上の評価値を持つクラス領域の数が1である項目が存在しない。従って、クラス領域1261~1262については、S1505において全項目の評価値の平均値が被写体度合いとして判定される。 The processing from S1503 onwards is carried out on class areas 1261 to 1262 whose subject degree has not yet been determined. For the evaluation values of all items, the number of class areas with evaluation values of 50% or more is two or more. Therefore, there is no item for which the number of class areas with evaluation values of 50% or more is one. Therefore, for class areas 1261 to 1262, the average evaluation value of all items is determined as the subject degree in S1505.

このようにして、検出対象の被写体に対応するクラス領域1261の被写体度合いを正しく高いと判定できる。 In this way, the subject likelihood of the class area 1261 corresponding to the subject being detected can be correctly determined to be high.

以上のように被写体度合いを判定することにより、被写体領域内に検出対象外の被写体が存在する場合にも、検出対象の被写体に対応するクラス領域を高精度で識別することが可能になる。なお、上の説明では、クラス領域の被写体度合いを判定したが、クラス領域が属するクラスの被写体度合いを判定してもよい。 By determining the subject degree in the above manner, it becomes possible to identify with high accuracy the class area corresponding to the subject to be detected, even if a subject other than the subject to be detected is present within the subject area. Note that in the above explanation, the subject degree of the class area was determined, but it is also possible to determine the subject degree of the class to which the class area belongs.

図9に戻り、S907で、位相差AF部129は、S906で判定した被写体度合いに基づいて測距点を選択する。位相差AF部129は、被写体度合いが最高のクラス領域内に、測距結果の信頼性(デフォーカス量の信頼性)が所定閾値より高い測距点が存在すれば、その中で被写体領域中心に近い測距点を選択する。換言すると、位相差AF部129は、最高の被写体度合いを持つクラス領域内の複数の測距点に対応する複数のデフォーカス量(第1の複数のデフォーカス量)の中から、信頼度閾値以上の信頼度を持つ第1のデフォーカス量(例えば被写体領域中心に近い測距点のデフォーカス量)を選択する。 Returning to FIG. 9, in S907, the phase difference AF unit 129 selects a ranging point based on the subject degree determined in S906. If there is a ranging point in the class area with the highest subject degree whose reliability of the ranging result (reliability of the defocus amount) is higher than a predetermined threshold, the phase difference AF unit 129 selects the ranging point closest to the center of the subject area. In other words, the phase difference AF unit 129 selects a first defocus amount (e.g., the defocus amount of a ranging point close to the center of the subject area) having a reliability equal to or higher than the reliability threshold from among multiple defocus amounts (first multiple defocus amounts) corresponding to multiple ranging points in the class area with the highest subject degree.

被写体度合いが最高のクラス領域内に、信頼性が所定閾値より高い測距点が存在しない場合、位相差AF部129は、被写体度合いが2番目に高いクラス領域において選択を行う。即ち、位相差AF部129は、被写体度合いが2番目に高いクラス領域内に、信頼性が所定閾値より高い測距点が存在すれば、その中で被写体領域中心に近い測距点を選択する。換言すると、位相差AF部129は、最高の被写体度合いの次に高い被写体度合いを持つクラス領域内の複数の測距点に対応する複数のデフォーカス量(第2の複数のデフォーカス量)の中から、信頼度閾値以上の信頼度を持つ第2のデフォーカス量(例えば被写体領域中心に近い測距点のデフォーカス量)を選択する。 If there is no ranging point with reliability higher than a predetermined threshold in the class area with the highest subject degree, the phase difference AF unit 129 selects in the class area with the second highest subject degree. That is, if there is a ranging point with reliability higher than a predetermined threshold in the class area with the second highest subject degree, the phase difference AF unit 129 selects the ranging point closest to the center of the subject area. In other words, the phase difference AF unit 129 selects a second defocus amount (e.g., the defocus amount of a ranging point close to the center of the subject area) with reliability equal to or higher than the reliability threshold from among multiple defocus amounts (second multiple defocus amounts) corresponding to multiple ranging points in the class area with the next highest subject degree after the highest subject degree.

被写体度合いが2番目に高いクラス領域内に、信頼性が所定閾値より高い測距点が存在しない場合、以下同様に、3番目以降に高い被写体度合いを持つクラス領域において測距点(デフォーカス量)の選択が行われる。 If there is no ranging point with a reliability higher than the predetermined threshold in the class area with the second highest subject degree, then similarly, a ranging point (defocus amount) is selected in the class area with the third or higher subject degree.

被写体度合いが等しいクラス領域が複数存在する場合には、位相差AF部129は、最至近でないクラス領域から測距点を選択する。被写体度合いが等しくなるような状況では、検出対象の被写体の前(至近側)に障害物等がある可能性が高く、最至近のクラス領域は障害物に対応する可能性が高いと考えられるため、測距点選択の優先度を下げる。また、最至近でないクラス領域で、被写体度合いが等しいクラス領域が複数存在する場合は、位相差AF部129は、クラスの代表デフォーカス量が至近側に近いクラス領域から順に、選択可能な測距点(信頼性が所定閾値より高い測距点)を探す。 When there are multiple class areas with the same subject degree, the phase difference AF unit 129 selects a ranging point from a class area that is not the closest. In a situation where the subject degree is equal, there is a high possibility that an obstacle is in front of the subject to be detected (on the close side), and since it is considered that the closest class area is likely to correspond to an obstacle, the priority of the ranging point selection is lowered. Also, when there are multiple class areas with the same subject degree in class areas that are not the closest, the phase difference AF unit 129 searches for a selectable ranging point (ranging point whose reliability is higher than a predetermined threshold) in order from the class area whose representative defocus amount for the class is closest to the close side.

このように、被写体度合いの高い領域の中から優先的に測距点を選択することで、検出対象の被写体である確率の高い領域における測距点を選択することができる。従って、被写体領域内に検出対象外の被写体が含まれる場合においても、検出対象の被写体に対して適切なフォーカス制御を行うことが可能となる。 In this way, by preferentially selecting ranging points from areas with a high degree of subjectivity, it is possible to select ranging points in areas that are highly likely to be the subject of the detection target. Therefore, even if the subject area includes a subject that is not the subject of the detection target, it is possible to perform appropriate focus control on the subject of the detection target.

S908で、位相差AF部129は、S908で選択した測距点において検出されたデフォーカス量に基づいて、フォーカスレンズ駆動量を算出する。なお、S907及びS908の説明において、被写体度合いの高いクラス領域において、信頼性が所定閾値より高い測距点の中で被写体領域中心に近い測距点を選択し、選択した測距点のデフォーカス量を使用するものとした。しかしながら、本実施形態はこの構成に限定されず、被写体度合いの高いクラス領域の属するクラスの代表デフォーカス量を使用してもよい。代表デフォーカス量は、クラスの平均デフォーカス量や中心デフォーカス量などである。 In S908, the phase difference AF unit 129 calculates the focus lens drive amount based on the defocus amount detected at the ranging point selected in S908. In the explanation of S907 and S908, it was assumed that in a class area with a high degree of subjectivity, a ranging point close to the center of the subject area is selected from among ranging points with reliability higher than a predetermined threshold, and the defocus amount of the selected ranging point is used. However, this embodiment is not limited to this configuration, and a representative defocus amount of the class to which the class area with a high degree of subjectivity belongs may be used. The representative defocus amount is, for example, the average defocus amount or central defocus amount of the class.

S909で、位相差AF部129は、S908で算出したフォーカスレンズ駆動量に基づいて、フォーカスレンズ104を駆動するための制御を行う。 In S909, the phase difference AF unit 129 performs control to drive the focus lens 104 based on the focus lens drive amount calculated in S908.

(S705のホワイトバランス調整処理の詳細)
図13は、図7のS705におけるホワイトバランス調整処理の詳細を示すフローチャートである。なお、図13の処理は、カメラMPU125により制御されるホワイトバランス調整部131によって実行される。
(Details of the white balance adjustment process in S705)
Fig. 13 is a flowchart showing details of the white balance adjustment process in S705 of Fig. 7. Note that the process in Fig. 13 is executed by the white balance adjustment unit 131 controlled by the camera MPU 125.

S1301で、ホワイトバランス調整部131は、S701~S702で検出した主被写体の被写体検出結果(被写体領域)を取得する。 In S1301, the white balance adjustment unit 131 obtains the subject detection result (subject area) of the main subject detected in S701 to S702.

S1302で、ホワイトバランス調整部131は、S906で判定した、各クラス領域の被写体度合いを取得する。 In S1302, the white balance adjustment unit 131 obtains the subject degree of each class area determined in S906.

S1303で、ホワイトバランス調整部131は、S1302で取得した各クラス領域の被写体度合いに基づいてホワイトバランスを算出する。ホワイトバランス調整部131は、クラス領域毎にホワイトバランスを算出し、S1302で取得した被写体度合いで各クラス領域のホワイトバランスを重みづけすることにより、現在のホワイトバランスを算出する。ホワイトバランス算出に用いる重みは、被写体度合いの値をそのまま用いてもよい。従って、ここでのホワイトバランス調整(ホワイトバランス制御)は、複数のクラス領域の各々を対象のクラス領域として、対象のクラス領域の画素値を対象のクラス領域の被写体度合いで重みづけする演算を含む。このような重みづけの演算による撮影制御は、前述した焦点調節(フォーカス制御)及び後述する露光調節(露光制御)に対しても同様に適用可能である。 In S1303, the white balance adjustment unit 131 calculates the white balance based on the subject degree of each class area acquired in S1302. The white balance adjustment unit 131 calculates the white balance for each class area, and calculates the current white balance by weighting the white balance of each class area with the subject degree acquired in S1302. The weight used in the white balance calculation may be the subject degree value as it is. Therefore, the white balance adjustment (white balance control) here includes a calculation in which each of the multiple class areas is treated as a target class area and the pixel value of the target class area is weighted by the subject degree of the target class area. Shooting control using such weighting calculation can be similarly applied to the focus adjustment (focus control) described above and the exposure adjustment (exposure control) described below.

なお、ホワイトバランスの算出方法は特に限定されず、例えば、ホワイトバランス調整部131は、被写体度合いが最高のクラス領域のホワイトバランスを現在のホワイトバランスとして算出してもよい。換言すると、ホワイトバランス調整部131は、複数のクラス領域のうちの最高の被写体度合いを持つクラス領域のみに基づいてホワイトバランス制御を行ってもよい。このような最高の被写体度合いを持つクラス領域のみに基づく撮影制御は、前述した焦点調節(フォーカス制御)及び後述する露光調節(露光制御)に対しても同様に適用可能である。 The method of calculating the white balance is not particularly limited, and for example, the white balance adjustment unit 131 may calculate the white balance of the class area with the highest subject degree as the current white balance. In other words, the white balance adjustment unit 131 may perform white balance control based only on the class area with the highest subject degree among multiple class areas. Such shooting control based only on the class area with the highest subject degree can be similarly applied to the focus adjustment (focus control) described above and the exposure adjustment (exposure control) described below.

また、被写体度合いが等しいクラス領域が複数存在する場合には、その中に最至近のクラス領域があれば、最至近のクラス領域の重みをその中で一番小さく設定し、残りのクラス領域については、至近側に近いほど重みを大きく設定するようにしてもよい。 In addition, if there are multiple class areas with the same subject degree, if there is a closest class area among them, the weight of the closest class area may be set to the smallest, and for the remaining class areas, the weight may be set to a larger value the closer they are to the closest side.

S1304で、ホワイトバランス調整部131は、予め定められた適切なホワイトバランスを取得する。 In S1304, the white balance adjustment unit 131 obtains a predetermined appropriate white balance.

S1305で、ホワイトバランス調整部131は、S1303で算出した現在のホワイトバランスと、S1304で取得した適切なホワイトバランスとの差を演算し、撮像データ(撮像信号)に対するホワイトバランスを調整する。 In S1305, the white balance adjustment unit 131 calculates the difference between the current white balance calculated in S1303 and the appropriate white balance obtained in S1304, and adjusts the white balance for the imaging data (imaging signal).

(S706の露光調節処理の詳細)
図14は、図7のS706における露光調節処理の詳細を示すフローチャートである。なお、図14の処理は、カメラMPU125により制御されるAE部130によって実行される。
(Details of Exposure Adjustment Processing in S706)
Fig. 14 is a flowchart showing details of the exposure adjustment process in S706 of Fig. 7. Note that the process in Fig. 14 is executed by the AE unit 130 controlled by the camera MPU 125.

S1401で、AE部130は、S701~S702で検出した主被写体の被写体検出結果(被写体領域)を取得する。 In S1401, the AE unit 130 obtains the subject detection result (subject area) of the main subject detected in S701 and S702.

S1402で、AE部130は、S906で判定した、各クラス領域の被写体度合いを取得する。 In S1402, the AE unit 130 obtains the subject degree of each class area determined in S906.

S1403で、AE部130は、S1402で取得した各クラス領域の被写体度合いに基づいて各クラス領域の測光結果を重みづけすることにより露光量を算出する。露光量算出に用いる重みは、被写体度合いの最高のクラス領域を1、他のクラス領域を0としてもよい。また、被写体度合いが等しいクラス領域が複数存在する場合には、その中に最至近のクラス領域があれば、最至近のクラス領域の重みをその中で一番小さく設定し、残りのクラス領域については、至近側に近いほど重みを大きく設定するようにしてもよい。また、ホワイトバランス算出(S1303)と露光量算出(S1403)とで同じ重みを用いてもよいし、異なる重みを用いてもよい。 In S1403, the AE unit 130 calculates the exposure by weighting the photometry results of each class area based on the subject degree of each class area acquired in S1402. The weight used in the exposure calculation may be 1 for the class area with the highest subject degree and 0 for the other class areas. In addition, if there are multiple class areas with the same subject degree, and if there is a closest class area among them, the weight of the closest class area may be set to the smallest, and for the remaining class areas, the weight may be set to a larger value the closer they are to the closest side. In addition, the same weight may be used for the white balance calculation (S1303) and the exposure calculation (S1403), or different weights may be used.

S1404で、AE部130は、予め定められた適切な露光量を取得する。 In S1404, the AE unit 130 obtains a predetermined appropriate exposure amount.

S1405で、AE部130は、S1403で算出した露光量と、S1404で取得した露光量との差を演算し、撮影時の露光条件を調整する。 In S1405, the AE unit 130 calculates the difference between the exposure amount calculated in S1403 and the exposure amount obtained in S1404, and adjusts the exposure conditions during shooting.

以上説明したように、第1の実施形態によれば、撮像装置10は、撮影範囲において検出対象の被写体を部分的に含んだ被写体領域を検出し、被写体領域を含む測距領域内の複数の測距点に対応する複数のデフォーカス量を取得する。そして、撮像装置10は、複数のデフォーカス量に基づいて測距領域を複数のクラス領域に分類する。複数のクラス領域の各々は異なるデフォーカス量のクラス(複数のデフォーカス量の範囲における異なる部分範囲)に対応する。撮像装置10は、複数のクラス領域の各々と被写体領域との間の幾何学的な関係(例えば、位置関係と大きさの関係とのうちの少なくとも一方)に基づいて、複数のクラス領域の各々について被写体度合いを判定する。そして、撮像装置10は、第1の被写体度合いを持つクラス領域の寄与が前記第1の被写体度合いより小さい第2の被写体度合いを持つクラス領域の寄与よりも大きくなるように、複数のクラス領域に基づいて撮影制御を行う。そのような撮影制御の具体例として、図9に示す焦点調節(フォーカス制御)、図12に示すホワイトバランス調整(ホワイトバランス制御)、図14に示す露光調節(露光制御)などがあるが、本実施形態の撮影制御はこれらの具体例に限定されない。 As described above, according to the first embodiment, the imaging device 10 detects a subject area that partially includes a subject to be detected in the shooting range, and acquires multiple defocus amounts corresponding to multiple distance measurement points in the distance measurement area that includes the subject area. Then, the imaging device 10 classifies the distance measurement area into multiple class areas based on the multiple defocus amounts. Each of the multiple class areas corresponds to a different defocus amount class (a different partial range in the range of the multiple defocus amounts). The imaging device 10 determines the subject degree for each of the multiple class areas based on a geometric relationship (e.g., at least one of a positional relationship and a size relationship) between each of the multiple class areas and the subject area. Then, the imaging device 10 performs shooting control based on the multiple class areas so that the contribution of a class area having a first subject degree is greater than the contribution of a class area having a second subject degree that is smaller than the first subject degree. Specific examples of such shooting control include focus adjustment (focus control) shown in FIG. 9, white balance adjustment (white balance control) shown in FIG. 12, and exposure adjustment (exposure control) shown in FIG. 14, but the shooting control of this embodiment is not limited to these specific examples.

本実施形態は、上述の構成により、検出対象の被写体を部分的に含んだ被写体検出領域に基づく撮影制御の精度を向上させることが可能である。 With the above-described configuration, this embodiment makes it possible to improve the accuracy of shooting control based on a subject detection area that partially includes the subject to be detected.

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

発明は上記実施形態に制限されるものではなく、発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。従って、発明の範囲を公にするために請求項を添付する。 The invention is not limited to the above-described embodiment, and various modifications and variations are possible without departing from the spirit and scope of the invention. Therefore, the following claims are appended to disclose the scope of the invention.

10…撮像装置、100…レンズユニット、120…カメラ本体、122…撮像素子、125…カメラMPU、129…位相差AF部、130…AE部、131…ホワイトバランス調整部、132…被写体検出部 10...imaging device, 100...lens unit, 120...camera body, 122...imaging element, 125...camera MPU, 129...phase difference AF section, 130...AE section, 131...white balance adjustment section, 132...subject detection section

Claims (13)

撮影範囲において検出対象の被写体を部分的に含んだ被写体領域を検出する検出手段と、
前記被写体領域を含む測距領域内の複数の測距点に対応する複数のデフォーカス量を取得する取得手段と、
前記複数のデフォーカス量に基づいて前記測距領域を複数の部分領域に分類する分類手段であって、前記複数の部分領域の各々は前記複数のデフォーカス量の範囲における異なる部分範囲に対応する、分類手段と、
前記複数の部分領域の各々と前記被写体領域との間の幾何学的な関係に基づいて、前記複数の部分領域の各々について前記検出対象の被写体が存在する可能性を示す被写体度合いを判定する判定手段と、
前記複数の部分領域に基づいて撮影制御を行う制御手段であって、第1の被写体度合いを持つ部分領域の寄与が前記第1の被写体度合いより小さい第2の被写体度合いを持つ部分領域の寄与よりも大きくなるように前記撮影制御を行う、制御手段と、
を備え、
前記撮影制御は、フォーカス制御を含み、
前記制御手段は、前記複数のデフォーカス量のうちの、前記第1の被写体度合いを持つ部分領域に対応するデフォーカス量から得られる代表デフォーカス量に基づいて前記フォーカス制御を行う
ことを特徴とする撮影制御装置。
a detection means for detecting a subject area that partially includes a subject to be detected within a shooting range;
an acquisition means for acquiring a plurality of defocus amounts corresponding to a plurality of distance measuring points within a distance measuring area including the subject area;
a classification means for classifying the distance measurement area into a plurality of partial areas based on the plurality of defocus amounts, each of the plurality of partial areas corresponding to a different partial range in a range of the plurality of defocus amounts;
a determination means for determining a subject degree indicating a possibility that the detection target subject exists for each of the plurality of partial regions based on a geometric relationship between each of the plurality of partial regions and the subject region;
a control means for controlling photography based on the plurality of partial regions, the control means performing the photography control such that a contribution of a partial region having a first subject degree is greater than a contribution of a partial region having a second subject degree smaller than the first subject degree;
Equipped with
The photographing control includes a focus control,
the control means performs the focus control based on a representative defocus amount obtained from among the plurality of defocus amounts, the representative defocus amount being obtained from a defocus amount corresponding to a partial region having the first subject degree.
前記複数の部分領域の各々と前記被写体領域との間の幾何学的な関係は、位置関係と大きさの関係とのうちの少なくとも一方を含む
ことを特徴とする請求項1に記載の撮影制御装置。
The imaging control device according to claim 1 , wherein the geometric relationship between each of the plurality of partial regions and the subject region includes at least one of a positional relationship and a size relationship.
前記判定手段は、前記複数の部分領域の各々と前記被写体領域との間の幾何学的な関係に加えて、前記複数の部分領域の各々の形状に基づいて、前記複数の部分領域の各々の被写体度合いを判定する
ことを特徴とする請求項1又は2に記載の撮影制御装置。
3. The imaging control device according to claim 1, wherein the determining means determines the subject degree of each of the plurality of partial regions based on a shape of each of the plurality of partial regions in addition to a geometric relationship between each of the plurality of partial regions and the subject region.
前記判定手段は、
前記複数の部分領域の各々と前記被写体領域との間の位置関係に基づいて、前記複数の部分領域の各々の第1の評価値を算出し、
前記複数の部分領域の各々と前記被写体領域との間の大きさの関係に基づいて、前記複数の部分領域の各々の第2の評価値を算出し、
前記複数の部分領域の各々の形状に基づいて、前記複数の部分領域の各々の第3の評価値を算出し、
前記複数の部分領域の各々の前記第1の評価値と前記第2の評価値と前記第3の評価値とに基づいて、前記複数の部分領域の各々の被写体度合いを判定する
ことを特徴とする請求項1に記載の撮影制御装置。
The determination means is
calculating a first evaluation value for each of the plurality of partial regions based on a positional relationship between each of the plurality of partial regions and the subject region;
calculating a second evaluation value for each of the plurality of partial regions based on a size relationship between each of the plurality of partial regions and the subject region;
calculating a third evaluation value for each of the plurality of partial regions based on a shape of each of the plurality of partial regions;
The imaging control device according to claim 1 , further comprising: determining a subject degree of each of the plurality of partial regions based on the first evaluation value, the second evaluation value, and the third evaluation value of each of the plurality of partial regions.
前記測距領域は、前記被写体領域より大きく前記被写体領域の全体を包含する
ことを特徴とする請求項1乃至4のいずれか1項に記載の撮影制御装置。
The photographing control device according to claim 1 , wherein the distance measurement area is larger than the subject area and includes the entire subject area.
前記制御手段は、前記複数の部分領域のうちの最高の被写体度合いを持つ部分領域のみに基づいて前記撮影制御を行う
ことを特徴とする請求項1乃至5のいずれか1項に記載の撮影制御装置。
6. The photographing control device according to claim 1, wherein the control means performs the photographing control based only on the partial region having the highest subject degree among the plurality of partial regions.
前記撮影制御は、前記複数の部分領域の各々を対象の部分領域として、前記対象の部分領域の画素値又は測光結果を前記対象の部分領域の被写体度合いで重みづけする演算を含む
ことを特徴とする請求項1乃至5のいずれか1項に記載の撮影制御装置。
The photographing control device according to any one of claims 1 to 5, characterized in that the photographing control includes a calculation for weighting the pixel values or photometry results of each of the plurality of partial regions as a target partial region by a degree of subjectivity of the target partial region.
前記撮影制御は、ホワイトバランス制御及び露光制御の少なくとも一方を更に含む
ことを特徴とする請求項1乃至7のいずれか1項に記載の撮影制御装置。
The photographing control device according to claim 1 , wherein the photographing control further includes at least one of white balance control and exposure control.
撮影範囲において検出対象の被写体を部分的に含んだ被写体領域を検出する検出手段と、
前記被写体領域を含む測距領域内の複数の測距点に対応する複数のデフォーカス量を取得する取得手段と、
前記複数のデフォーカス量に基づいて前記測距領域を複数の部分領域に分類する分類手段であって、前記複数の部分領域の各々は前記複数のデフォーカス量の範囲における異なる部分範囲に対応する、分類手段と、
前記複数の部分領域の各々と前記被写体領域との間の幾何学的な関係に基づいて、前記複数の部分領域の各々について前記検出対象の被写体が存在する可能性を示す被写体度合いを判定する判定手段と、
前記複数の部分領域に基づいて撮影制御を行う制御手段であって、第1の被写体度合いを持つ部分領域の寄与が前記第1の被写体度合いより小さい第2の被写体度合いを持つ部分領域の寄与よりも大きくなるように前記撮影制御を行う、制御手段と、
を備え、
前記撮影制御は、フォーカス制御を含み、
前記制御手段は、前記判定手段により判定された前記複数の部分領域の各々の被写体度合いに基づいて前記複数のデフォーカス量のうちのいずれかのデフォーカス量を選択し、当該選択したデフォーカス量に基づいて前記フォーカス制御を行い、
前記制御手段は、
前記複数の部分領域のうちの最高の被写体度合いを持つ部分領域内の複数の測距点に対応する第1の複数のデフォーカス量の中から、信頼度閾値以上の信頼度を持つ第1のデフォーカス量を選択し、
前記第1のデフォーカス量に基づいて前記フォーカス制御を行う
ことを特徴とする撮影制御装置。
a detection means for detecting a subject area that partially includes a subject to be detected within a shooting range;
an acquisition means for acquiring a plurality of defocus amounts corresponding to a plurality of distance measuring points within a distance measuring area including the subject area;
a classification means for classifying the distance measurement area into a plurality of partial areas based on the plurality of defocus amounts, each of the plurality of partial areas corresponding to a different partial range in a range of the plurality of defocus amounts;
a determination means for determining a subject degree indicating a possibility that the detection target subject exists for each of the plurality of partial regions based on a geometric relationship between each of the plurality of partial regions and the subject region;
a control means for controlling photography based on the plurality of partial regions, the control means performing the photography control such that a contribution of a partial region having a first subject degree is greater than a contribution of a partial region having a second subject degree smaller than the first subject degree;
Equipped with
The photographing control includes a focus control,
the control means selects one of the plurality of defocus amounts based on the subject degree of each of the plurality of partial regions determined by the determination means, and performs the focus control based on the selected defocus amount;
The control means
selecting a first defocus amount having a reliability equal to or greater than a reliability threshold from among a plurality of first defocus amounts corresponding to a plurality of distance measuring points in a partial area having a highest subject degree among the plurality of partial areas;
The imaging control device performs the focus control based on the first defocus amount.
前記第1の複数のデフォーカス量の中に前記信頼度閾値以上の信頼度を持つデフォーカス量が存在しない場合、前記制御手段は、
前記複数の部分領域のうちの前記最高の被写体度合いの次に高い被写体度合いを持つ部分領域内の複数の測距点に対応する第2の複数のデフォーカス量の中から、前記信頼度閾値以上の信頼度を持つ第2のデフォーカス量を選択し、
前記第2のデフォーカス量に基づいて前記フォーカス制御を行う
ことを特徴とする請求項9に記載の撮影制御装置。
When the first plurality of defocus amounts does not include a defocus amount having a reliability equal to or greater than the reliability threshold, the control unit
selecting a second defocus amount having a reliability equal to or greater than the reliability threshold from among a plurality of second defocus amounts corresponding to a plurality of ranging points in a partial region having a subject degree next to the highest subject degree among the plurality of partial regions;
The imaging control device according to claim 9 , wherein the focus control is performed based on the second defocus amount.
請求項1乃至10のいずれか1項に記載の撮影制御装置と、
撮像手段と、
を備えることを特徴とする撮像装置。
The imaging control device according to any one of claims 1 to 10,
An imaging means;
An imaging device comprising:
撮影制御装置が実行する撮影制御方法であって、
撮影範囲において検出対象の被写体を部分的に含んだ被写体領域を検出する検出工程と、
前記被写体領域を含む測距領域内の複数の測距点に対応する複数のデフォーカス量を取得する取得工程と、
前記複数のデフォーカス量に基づいて前記測距領域を複数の部分領域に分類する分類工程であって、前記複数の部分領域の各々は前記複数のデフォーカス量の範囲における異なる部分範囲に対応する、分類工程と、
前記複数の部分領域の各々と前記被写体領域との間の幾何学的な関係に基づいて、前記複数の部分領域の各々について前記検出対象の被写体が存在する可能性を示す被写体度合いを判定する判定工程と、
前記複数の部分領域に基づいて撮影制御を行う制御工程であって、第1の被写体度合いを持つ部分領域の寄与が前記第1の被写体度合いより小さい第2の被写体度合いを持つ部分領域の寄与よりも大きくなるように前記撮影制御を行う、制御工程と、
を備え、
前記撮影制御は、フォーカス制御を含み、
前記制御工程は、前記複数のデフォーカス量のうちの、前記第1の被写体度合いを持つ部分領域に対応するデフォーカス量から得られる代表デフォーカス量に基づいて前記フォーカス制御を行う
ことを特徴とする撮影制御方法。
A photographing control method executed by a photographing control device,
a detection step of detecting a subject area that partially includes a subject to be detected within a shooting range;
acquiring a plurality of defocus amounts corresponding to a plurality of distance measuring points within a distance measuring area including the subject area;
a classification step of classifying the ranging area into a plurality of partial areas based on the plurality of defocus amounts, each of the plurality of partial areas corresponding to a different partial range in the range of the plurality of defocus amounts;
a determination step of determining a subject degree indicating a possibility that the detection target subject exists for each of the plurality of partial regions based on a geometric relationship between each of the plurality of partial regions and the subject region;
a control step of performing photography control based on the plurality of partial regions, the photography control being performed such that a contribution of a partial region having a first subject degree is greater than a contribution of a partial region having a second subject degree smaller than the first subject degree;
Equipped with
The photographing control includes a focus control,
the control step performs the focus control based on a representative defocus amount obtained from a defocus amount corresponding to a partial region having the first subject degree among the plurality of defocus amounts.
コンピュータを、請求項1乃至10のいずれか1項に記載の撮影制御装置の各手段として機能させるためのプログラム。 A program for causing a computer to function as each of the means of the imaging control device according to any one of claims 1 to 10.
JP2020084791A 2020-05-13 2020-05-13 Photographing control device, imaging device, photographing control method, and program Active JP7614737B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2020084791A JP7614737B2 (en) 2020-05-13 2020-05-13 Photographing control device, imaging device, photographing control method, and program
US17/308,491 US11533422B2 (en) 2020-05-13 2021-05-05 Apparatus, image capturing apparatus, method, and storage medium for performing shooting control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020084791A JP7614737B2 (en) 2020-05-13 2020-05-13 Photographing control device, imaging device, photographing control method, and program

Publications (2)

Publication Number Publication Date
JP2021179527A JP2021179527A (en) 2021-11-18
JP7614737B2 true JP7614737B2 (en) 2025-01-16

Family

ID=78509806

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020084791A Active JP7614737B2 (en) 2020-05-13 2020-05-13 Photographing control device, imaging device, photographing control method, and program

Country Status (2)

Country Link
US (1) US11533422B2 (en)
JP (1) JP7614737B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN121713493A (en) * 2023-08-31 2026-03-20 高通股份有限公司 Improved focusing performance of phase detection autofocus (PDAF)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008233470A (en) 2007-03-20 2008-10-02 Sanyo Electric Co Ltd Aperture control apparatus and image processing apparatus
JP2010183559A (en) 2009-01-07 2010-08-19 Canon Inc Image capturing apparatus, control method thereof, and program
JP2014123070A (en) 2012-12-21 2014-07-03 Canon Inc Image capturing device and control method therefor
JP2014137567A (en) 2013-01-18 2014-07-28 Olympus Imaging Corp Imaging device
WO2017037978A1 (en) 2015-08-31 2017-03-09 ソニー株式会社 Detection device, detection method, detection program, and imaging device
WO2018179695A1 (en) 2017-03-31 2018-10-04 ソニー株式会社 Control device, imaging device, control method and program
JP2019121860A (en) 2017-12-28 2019-07-22 キヤノン株式会社 Image processing apparatus and control method therefor

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2955662B1 (en) * 2003-07-18 2018-04-04 Canon Kabushiki Kaisha Image processing device, imaging device, image processing method
JP2005269604A (en) * 2004-02-20 2005-09-29 Fuji Photo Film Co Ltd Imaging device, imaging method, and imaging program
JP3817566B2 (en) * 2005-01-24 2006-09-06 キヤノン株式会社 Imaging apparatus, imaging method, imaging program, and storage medium
JP2007311861A (en) * 2006-05-16 2007-11-29 Fujifilm Corp Imaging apparatus and method
JP4902562B2 (en) * 2007-02-07 2012-03-21 パナソニック株式会社 Imaging apparatus, image processing apparatus, control method, and program
US20080278589A1 (en) * 2007-05-11 2008-11-13 Karl Ola Thorn Methods for identifying a target subject to automatically focus a digital camera and related systems, and computer program products
JP4518131B2 (en) * 2007-10-05 2010-08-04 富士フイルム株式会社 Imaging method and apparatus
JP4998308B2 (en) 2008-02-14 2012-08-15 株式会社ニコン Focus adjustment device and imaging device
JP5294647B2 (en) * 2008-02-19 2013-09-18 キヤノン株式会社 Focus adjustment apparatus and control method thereof
JP2012044564A (en) * 2010-08-20 2012-03-01 Sanyo Electric Co Ltd Imaging apparatus
JP2012054810A (en) * 2010-09-02 2012-03-15 Olympus Corp Image processing device, image processing method, imaging apparatus, and image processing program
RU2549143C1 (en) * 2011-03-17 2015-04-20 Кэнон Кабусики Кайся Image capturing device and control method thereof
JP6080417B2 (en) * 2011-08-19 2017-02-15 キヤノン株式会社 Image processing apparatus and image processing method
US20150227023A1 (en) * 2014-02-13 2015-08-13 Canon Kabushiki Kaisha Focus control apparatus and control method therefor
US10091411B2 (en) * 2014-06-17 2018-10-02 Lg Electronics Inc. Mobile terminal and controlling method thereof for continuously tracking object included in video
JP6546474B2 (en) * 2015-07-31 2019-07-17 キヤノン株式会社 Image pickup apparatus and control method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008233470A (en) 2007-03-20 2008-10-02 Sanyo Electric Co Ltd Aperture control apparatus and image processing apparatus
JP2010183559A (en) 2009-01-07 2010-08-19 Canon Inc Image capturing apparatus, control method thereof, and program
JP2014123070A (en) 2012-12-21 2014-07-03 Canon Inc Image capturing device and control method therefor
JP2014137567A (en) 2013-01-18 2014-07-28 Olympus Imaging Corp Imaging device
WO2017037978A1 (en) 2015-08-31 2017-03-09 ソニー株式会社 Detection device, detection method, detection program, and imaging device
WO2018179695A1 (en) 2017-03-31 2018-10-04 ソニー株式会社 Control device, imaging device, control method and program
US20200084369A1 (en) 2017-03-31 2020-03-12 Sony Corporation Control device, imaging device, control method, and program
JP2019121860A (en) 2017-12-28 2019-07-22 キヤノン株式会社 Image processing apparatus and control method therefor

Also Published As

Publication number Publication date
JP2021179527A (en) 2021-11-18
US20210360165A1 (en) 2021-11-18
US11533422B2 (en) 2022-12-20

Similar Documents

Publication Publication Date Title
US10321044B2 (en) Image pickup apparatus and image pickup system with point image intensity distribution calculation
JP7522571B2 (en) Imaging device, control method thereof, program, and storage medium
CN108710192A (en) Autofocus system based on statistical data and method
US12412290B2 (en) Subject tracking apparatus, image capturing apparatus, subject tracking method, and storage medium
US20260025582A1 (en) Inference apparatus, image capturing apparatus, training apparatus, inference method, training method, and storage medium
US12141999B2 (en) Shooting control apparatus, image capturing apparatus, shooting control method, and storage medium
JP2017032646A (en) Imaging apparatus and control method thereof
JP2025142229A (en) Imaging device and control method therefor
JP7614737B2 (en) Photographing control device, imaging device, photographing control method, and program
JP7395326B2 (en) Lens device, imaging device, communication method, and program
JP7706929B2 (en) Imaging device and control method thereof
US11729502B2 (en) Apparatus including focusing function and method of the same
JP6845912B2 (en) Imaging device and its control method
JP2017219786A (en) Control device, imaging device, control method, program, and storage medium
US20250350830A1 (en) Information processing apparatus, image capturing apparatus, control method, and recording medium
US20260122359A1 (en) Image processing apparatus, image pickup apparatus, image processing method, and storage medium
US20240284043A1 (en) Apparatus, control method for apparatus, and storage medium
JP2025132819A (en) Imaging device, control method thereof, program, and storage medium
JP2025040995A (en) Focus adjustment device, focus adjustment method, and program
JP6714434B2 (en) Imaging device, control method thereof, program, and storage medium
JP2025170603A (en) Image capture device, image capture device control method, program, and storage medium
JP2021096320A (en) Control device and control method thereof

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

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240401

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240510

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240805

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241003

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241227

R150 Certificate of patent or registration of utility model

Ref document number: 7614737

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150