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
JP7765200B2 - Information processing device, information processing method, and program - Google Patents
[go: Go Back, main page]

JP7765200B2 - Information processing device, information processing method, and program - Google Patents

Information processing device, information processing method, and program

Info

Publication number
JP7765200B2
JP7765200B2 JP2021091808A JP2021091808A JP7765200B2 JP 7765200 B2 JP7765200 B2 JP 7765200B2 JP 2021091808 A JP2021091808 A JP 2021091808A JP 2021091808 A JP2021091808 A JP 2021091808A JP 7765200 B2 JP7765200 B2 JP 7765200B2
Authority
JP
Japan
Prior art keywords
area
partial area
partial
information processing
exposure
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
JP2021091808A
Other languages
Japanese (ja)
Other versions
JP2022184137A (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 JP2021091808A priority Critical patent/JP7765200B2/en
Publication of JP2022184137A publication Critical patent/JP2022184137A/en
Application granted granted Critical
Publication of JP7765200B2 publication Critical patent/JP7765200B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Exposure Control For Cameras (AREA)
  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Description

本発明は、情報処理装置、情報処理方法、及びプログラムに関する。 The present invention relates to an information processing device, an information processing method, and a program.

撮像装置のイメージセンサ内で、領域ごとに露出条件を変更する技術がある。特許文献1では、イメージセンサの領域ごとに露出条件(露出時間、及びアナログゲインの設定)の変更を可能とする撮像装置が開示されている。 There is technology that changes exposure conditions for each region within the image sensor of an imaging device. Patent Document 1 discloses an imaging device that allows exposure conditions (exposure time and analog gain settings) to be changed for each region of the image sensor.

また、撮像装置のオートフォーカス(以下、AF)においては、コントラストAFが置く採用されている。コントラストAFでは、撮像光学系のうち焦点調節に作用するフォーカスレンズを、焦点調節範囲にわたって移動させながら撮像を行い、部分領域内の出力画像信号から高周波成分を抽出して、合焦のためのコントラスト評価値を逐次算出することができる。そして、このコントラスト評価値が最大になるフォーカスレンズの位置が合焦位置であるとして設定される。 In addition, contrast AF is often used in autofocus (hereinafter referred to as AF) for imaging devices. In contrast AF, the focus lens, which is part of the imaging optical system and affects focus adjustment, is moved throughout the focus adjustment range while capturing an image, and high-frequency components are extracted from the output image signal within a partial area, allowing a contrast evaluation value for focusing to be calculated sequentially. The position of the focus lens where this contrast evaluation value is maximized is then set as the in-focus position.

特開2010-136205号公報JP 2010-136205 A

しかしながら、特許文献1に記載の技術では、露出領域ごとに露出条件が設定されるため、画像内において高ゲインに設定した領域(高ゲイン領域)と低ゲインに設定した領域(低ゲイン領域)とが混在するケースが生じる。この場合、高ゲイン領域と低ゲイン領域との境にはゲインの急峻な変化が生じている箇所である露出段差が発生する。AFで参照する領域にこの露出段差が含まれてしまうと、露出段差部分のエッジにより、コントラスト評価値が意図せず高くなってしまい、正確にピント面を合わせることが困難となる。 However, with the technology described in Patent Document 1, exposure conditions are set for each exposure area, which can result in areas within an image that are set to high gain (high gain areas) and areas that are set to low gain (low gain areas). In this case, an exposure step occurs at the boundary between the high gain and low gain areas, where the gain changes sharply. If this exposure step is included in the area referenced by AF, the edge of the exposure step will unintentionally increase the contrast evaluation value, making it difficult to accurately focus on the plane.

本発明は、領域ごとに露出条件を設定することが可能なイメージセンサにおいて、オートフォーカスによる合焦精度を向上させることを目的とする。 The present invention aims to improve the autofocus accuracy in an image sensor that allows exposure conditions to be set for each area.

本発明の目的を達成するために、例えば、一実施形態に係る情報処理装置は以下の構成を備える。すなわち、イメージセンサの受光面の部分領域ごとに露出の条件を設定することが可能な撮像装置のオートフォーカスを行う情報処理装置であって、前記受光面に、第1の露出の条件で撮像を行う第1の部分領域と、前記第1の部分領域と隣接する、前記第1の露出の条件とは異なる第2の露出の条件で撮像を行う第2の部分領域と、を設定する第1の設定手段と、前記第1の部分領域と前記第2の部分領域との境界部である露出段差を含まない第3の部分領域を、前記オートフォーカスに用いる領域として設定する第2の設定手段と、前記第3の部分領域の画像信号に基づく画像のコントラストに応じて、前記撮像装置のオートフォーカスを制御する制御手段と、前記第2の設定手段によって前記露出段差を含まないように設定された前記オートフォーカスに用いる領域を表示させる表示制御手段と、を備えることを特徴とする。 To achieve the object of the present invention, for example, an information processing apparatus according to one embodiment has the following configuration: That is, an information processing apparatus that performs autofocusing on an imaging device capable of setting exposure conditions for each partial region of a light-receiving surface of an image sensor, comprising: first setting means for setting, on the light-receiving surface, a first partial region for capturing an image under first exposure conditions and a second partial region adjacent to the first partial region for capturing an image under second exposure conditions different from the first exposure conditions, second setting means for setting, as an area to be used for the autofocusing, a third partial region that does not include an exposure step that is a boundary between the first partial region and the second partial region, control means for controlling the autofocusing of the imaging device in accordance with image contrast based on an image signal of the third partial region, and display control means for displaying the area to be used for the autofocusing that has been set by the second setting means so as not to include the exposure step .

領域ごとに露出条件を設定することが可能なイメージセンサにおいて、オートフォーカスによる合焦精度を向上させる。 Improves autofocus accuracy in image sensors that allow exposure conditions to be set for each area.

実施形態1に係る撮像装置を含む撮像システムの機能構成の一例を示す図。FIG. 1 is a diagram showing an example of the functional configuration of an imaging system including an imaging apparatus according to a first embodiment. 実施形態1に係る撮像装置の領域ごとに露出の異なる画像の一例を示す図。5A and 5B are diagrams showing examples of images in which exposure differs for each region of the imaging device according to the first embodiment. 実施形態1に係る撮像装置が行う情報処理の一例を示すフローチャート。6 is a flowchart showing an example of information processing performed by the imaging device according to the first embodiment. 実施形態1に係る撮像装置のAF領域の再設定表示の一例を示す図。5A and 5B are diagrams showing an example of a reset display of an AF area of the imaging device according to the first embodiment. 実施形態1に係る撮像装置のAF領域が問題なく設定される一例を示す図。5A and 5B are diagrams showing an example in which an AF area of the imaging device according to the first embodiment is set without any problems. 実施形態2に係る撮像装置が行う情報処理の一例を示すフローチャート。10 is a flowchart showing an example of information processing performed by an imaging apparatus according to a second embodiment. 実施形態2に係る撮像装置によるAF領域の補正を説明するための図。10A and 10B are diagrams for explaining correction of an AF area by an imaging apparatus according to a second embodiment. 実施形態2に係る撮像装置による補正前後のAF領域の一例を示す図。10A and 10B are diagrams showing an example of an AF area before and after correction by an imaging apparatus according to a second embodiment. 実施形態2に係る撮像装置による補正前後のAF領域の別の例を示す図。10A and 10B are diagrams showing another example of an AF area before and after correction by the imaging apparatus according to the second embodiment. 実施形態2に係る撮像装置による補正前後のAF領域の別の例を示す図。10A and 10B are diagrams showing another example of an AF area before and after correction by the imaging apparatus according to the second embodiment. 実施形態3に係る撮像装置による情報処理の一例を示すフローチャート。11 is a flowchart showing an example of information processing by an imaging device according to a third embodiment. 実施形態3に係る撮像装置による複数のAF領域設定の一例を示す図。10A and 10B are diagrams showing an example of setting a plurality of AF areas by an imaging apparatus according to a third embodiment. 実施形態1に係る撮像装置による被写体位置からAF領域を設定する図。5A and 5B are diagrams illustrating how an AF area is set based on a subject position by the imaging apparatus according to the first embodiment. 実施形態3に係る撮像装置による被写体位置からAF領域を設定する図。10A and 10B are diagrams illustrating how an AF area is set based on a subject position by an imaging apparatus according to a third embodiment. 実施形態4に係るコンピュータの機能構成を示す図。FIG. 10 is a diagram showing the functional configuration of a computer according to a fourth embodiment.

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

[実施形態1]
図1は、本実施形態に係る情報処理装置である撮像装置を含む撮像システムの一例を示すブロック図である。撮像装置100は、画像を撮像する撮像装置であり、例えばデジタルカメラ、又はカメラを備えたスマートフォン若しくはタブレット型端末などである。本実施形態においては、撮像装置100の行う各処理を、撮像装置100に内蔵されるプロセッサが行うものとする。クライアント装置110は、撮像装置100による撮像画像の確認、及び撮像装置の操作をユーザが行うための装置であり、例えばパーソナルコンピュータ、スマートフォン、又はタブレット型端末などである。本実施形態においては、撮像装置100とクライアント装置110が別体の装置であるものとして説明を行うが、これらの装置が同一の装置として実装されてもよい。
[Embodiment 1]
FIG. 1 is a block diagram showing an example of an imaging system including an imaging device, which is an information processing device according to this embodiment. The imaging device 100 is an imaging device that captures images, such as a digital camera, or a smartphone or tablet device equipped with a camera. In this embodiment, each process performed by the imaging device 100 is performed by a processor built into the imaging device 100. The client device 110 is a device that allows a user to check images captured by the imaging device 100 and operate the imaging device, such as a personal computer, smartphone, or tablet device. In this embodiment, the imaging device 100 and the client device 110 are described as separate devices, but these devices may also be implemented as the same device.

本実施形態に係るクライアント装置110は、入力部111、表示部112、操作部113、及び出力部114を備える。表示部112は、例えば液晶ディスプレイであり、撮像装置100による撮像画像と、各機能部による処理を行うためのUIと、を表示する。操作部113は、例えばキーボード及びマウス、又はタッチパネルなどで構成され、ユーザからの入力を受け付ける。ユーザは、操作部113を介して、後述するAF領域の設定など、撮像装置100への各種入力を行うことができる。入力部111は、撮像画像などの撮像装置100からの各種情報を取得し、出力部114は、撮像装置100へとAF領域の設定などの各種情報を送信する。 The client device 110 according to this embodiment includes an input unit 111, a display unit 112, an operation unit 113, and an output unit 114. The display unit 112 is, for example, an LCD display, and displays images captured by the imaging device 100 and UIs for performing processing by each functional unit. The operation unit 113 is composed of, for example, a keyboard and mouse, or a touch panel, and accepts input from the user. The user can perform various inputs to the imaging device 100, such as setting the AF area described below, via the operation unit 113. The input unit 111 acquires various information from the imaging device 100, such as captured images, and the output unit 114 transmits various information, such as the AF area setting, to the imaging device 100.

本実施形態に係る撮像装置100は、撮像素子部101、レンズ102、映像処理部103、出力部104、演算部105、レンズ制御部106、条件設定部107、及び入力部108を備える。撮像装置100は、レンズ102へと入射した画像光を、イメージセンサである撮像素子部101の受光面において結像し、画像データを出力する。映像処理部103は、撮像素子部101が出力した画像データを、クライアント装置110で読み込み可能なフォーマットへと変換することができる。出力部104は、撮像装置100が生成した各データをクライアント装置110へと送信する。本実施形態においては、出力部104は、映像処理部103が変換した画像データをクライアント装置110へと出力することができる。 The imaging device 100 according to this embodiment includes an image sensor unit 101, a lens 102, an image processing unit 103, an output unit 104, a calculation unit 105, a lens control unit 106, a condition setting unit 107, and an input unit 108. The imaging device 100 focuses image light incident on the lens 102 on the light receiving surface of the image sensor unit 101, which is an image sensor, and outputs image data. The image processing unit 103 can convert the image data output by the image sensor unit 101 into a format readable by the client device 110. The output unit 104 transmits each piece of data generated by the imaging device 100 to the client device 110. In this embodiment, the output unit 104 can output the image data converted by the image processing unit 103 to the client device 110.

条件設定部107は、撮像素子部101の露出の条件を、受光面の部分領域ごとに設定する。ここで、露出の条件(以下、露出条件とも書く)とは、画素ごとのイメージセンサの露出時間(シャッタースピード)、又はゲイン(アナログゲイン又はデジタルゲイン)の値など、画像データの明るさに関わる設定値である。本実施形態に係る撮像素子部101は、条件設定部107が設定する露出条件に基づいて画像光の結像を行う。条件設定部107は、受光面の画素一単位ごとに露出条件の設定が可能であるが、例えば後述する図2の画面201に対応するように、撮像素子部101の受光面を等分割(ここでは、4×4の16分割)した単位領域203ごとに露出条件を設定してもよい。以下、条件設定部107は、受光面の部分領域ごとに露出条件を設定するものとして説明を行う。 The condition setting unit 107 sets exposure conditions for the image sensor unit 101 for each partial region of the light-receiving surface. Here, exposure conditions (hereinafter also referred to as exposure conditions) refer to setting values related to the brightness of image data, such as the exposure time (shutter speed) or gain (analog gain or digital gain) value of the image sensor for each pixel. The image sensor unit 101 according to this embodiment forms an image of image light based on the exposure conditions set by the condition setting unit 107. The condition setting unit 107 can set exposure conditions for each pixel of the light-receiving surface, but it may also set exposure conditions for each unit region 203 obtained by equally dividing the light-receiving surface of the image sensor unit 101 (here, divided into 16 equal parts, 4 x 4), corresponding to, for example, the screen 201 in Figure 2 described below. The following description will be given assuming that the condition setting unit 107 sets exposure conditions for each partial region of the light-receiving surface.

また、条件設定部107は、露出条件の異なる領域間に露出段差を設定する。本実施形態に係る露出段差とは、受光面において露出条件の異なる、隣接する領域間の境界部のことである。露出段差においては、露出条件の差に基づく明るさの違いによりエッジが生じやすい。そのため条件設定部107は、受光面から、露出段差を含まない部分領域を、コントラストAFにおいて画素値を参照する領域(AF領域)として設定する。なお、露出段差は、露出条件の異なる画素領域間の境界部のことを指す(すなわち、画素領域ではない)ものとするが、エッジ領域をより確実にAF領域から外すために、例えばその境界部を中心として数画素分の幅の領域などの画素領域を露出段差としてもよい。 The condition setting unit 107 also sets an exposure step between areas with different exposure conditions. An exposure step in this embodiment refers to the boundary between adjacent areas on the light-receiving surface that have different exposure conditions. Edges are likely to appear in exposure steps due to differences in brightness based on differences in exposure conditions. For this reason, the condition setting unit 107 sets a partial area on the light-receiving surface that does not include an exposure step as an area where pixel values are referenced in contrast AF (AF area). Note that the exposure step refers to the boundary between pixel areas with different exposure conditions (i.e., not a pixel area), but to more reliably exclude edge areas from the AF area, a pixel area, such as an area several pixels wide centered on the boundary, may be set as the exposure step.

撮像装置100は、AF領域の画素値に基づいた画像のコントラストに応じてコントラストAFを行う。具体的には、撮像装置100は、レンズ102の位置を焦点調節範囲にわたって調整しながら撮像を行い、AF領域内の画像信号から高周波成分を抽出して、合焦のためのコントラストの評価値(以下、コントラスト評価値)を逐次算出する。次いで撮像装置100は、逐次算出されるコントラスト評価値が最大になるレンズ102の位置を合焦位置として設定する。 The imaging device 100 performs contrast AF according to the contrast of the image based on the pixel values of the AF area. Specifically, the imaging device 100 captures an image while adjusting the position of the lens 102 over the focus adjustment range, extracts high-frequency components from the image signal within the AF area, and sequentially calculates a contrast evaluation value for focusing (hereinafter referred to as the contrast evaluation value). The imaging device 100 then sets the position of the lens 102 where the sequentially calculated contrast evaluation value is maximized as the focus position.

レンズ制御部106は、コントラストAFのためにレンズ102の位置を制御する。映像処理部103は、レンズ102の位置ごとに撮像素子部101による画像データを取得し、AF領域内の出力画像信号を演算部105へと送信する。演算部105は、レンズ102の位置ごとに、AF領域の出力画像信号から合唱のためのコントラスト評価値を算出する。次いで演算部105は、算出したコントラスト評価値が最大になるレンズ102の位置を合焦位置として設定し、その合焦位置へのレンズ制御部106によるレンズ位置の制御が行われる。 The lens control unit 106 controls the position of the lens 102 for contrast AF. The image processing unit 103 acquires image data from the image sensor unit 101 for each position of the lens 102 and transmits the output image signal within the AF area to the calculation unit 105. The calculation unit 105 calculates a contrast evaluation value for the chorus from the output image signal of the AF area for each position of the lens 102. The calculation unit 105 then sets the position of the lens 102 where the calculated contrast evaluation value is maximized as the focus position, and the lens control unit 106 controls the lens position to that focus position.

本実施形態においては、AF領域の出力画像信号のコントラスト評価値に基づいてオートフォーカスが行われる。コントラスト評価値は、AF領域内のコントラストの高低を評価するための画像内パラメータである。コントラスト評価値としては、一般的なコントラスト評価手法において用いられる任意のパラメータが用いられてよいものとするが、以下、本実施形態に係るコントラスト評価値は、AF領域の出力画像信号の高周波成分の和であるものとして説明を行う。 In this embodiment, autofocus is performed based on the contrast evaluation value of the output image signal of the AF area. The contrast evaluation value is an intra-image parameter used to evaluate the level of contrast within the AF area. Any parameter used in general contrast evaluation methods may be used as the contrast evaluation value, but in the following explanation of this embodiment, the contrast evaluation value will be described as the sum of the high-frequency components of the output image signal of the AF area.

図2は、本実施形態に係る出力部104によってクライアント装置110に送信されてユーザに表示される、条件設定部107が設定した露出条件に基づく画像データの、クライアント装置110のUI上での表示例である。本実施形態においては、露出条件としてアナログゲインの値(以下、これを単にゲインと呼ぶ)が設定されるが、上述の通り露出時間などの異なる条件が用いられてもよい。図2の例では、上述のように画面201を16分割した単位領域203ごとに条件設定部107が露出条件を設定しており、画面201は、ゲインの値が低いほど色が濃くなるよう、露出条件に応じた色分けによって表示されている。領域204~207は、そのそれぞれが領域内に同一のゲインが設定されている領域(以下、これをゲイン領域と呼ぶ)である。 Figure 2 shows an example of image data displayed on the UI of the client device 110 based on exposure conditions set by the condition setting unit 107, which is transmitted to the client device 110 by the output unit 104 according to this embodiment and displayed to the user. In this embodiment, an analog gain value (hereinafter simply referred to as gain) is set as the exposure condition, but as described above, different conditions such as exposure time may also be used. In the example of Figure 2, the condition setting unit 107 sets exposure conditions for each of the unit areas 203 obtained by dividing the screen 201 into 16 parts, as described above, and the screen 201 is displayed in a color-coded manner according to the exposure conditions, with the color becoming darker as the gain value decreases. Each of areas 204 to 207 is an area in which the same gain is set (hereinafter referred to as a gain area).

条件設定部107は、ゲイン領域204~207それぞれの境界部に、露出段差210を設定している。図2の例で条件設定部107は、画面201上にAF領域として領域202を設定しているが、この領域202は領域内に露出段差210を含んでいる。露出段差を含む領域を参照してコントラストAFを行う場合、露出段差のエッジにより、算出されるコントラスト評価値が意図せず高くなってしまうことが多い。したがって、露出段差を含まないようにAF領域を設定してコントラストAFを行うことにより、AFの合焦精度を向上させることが可能となる。なお、後述する図4~5、図7~10、及び図12~14において示される画面においても、画面上の各領域に図2と同様の露出条件が設定されているものとする。 The condition setting unit 107 sets exposure steps 210 at the boundaries of each of the gain areas 204-207. In the example of Figure 2, the condition setting unit 107 sets area 202 on screen 201 as the AF area, and this area 202 includes exposure steps 210 within it. When performing contrast AF by referencing an area that includes an exposure step, the calculated contrast evaluation value often becomes unintentionally high due to the edges of the exposure step. Therefore, by performing contrast AF by setting an AF area so that it does not include the exposure step, it is possible to improve AF focusing accuracy. Note that in the screens shown in Figures 4-5, 7-10, and 12-14, which will be described later, the same exposure conditions as in Figure 2 are set for each area on the screen.

ここで、条件設定部107は、露出段差の異なる領域間の境界部全てを露出段差として設定してもよく、それらのうち条件を満たす境界部のみを露出段差とする条件を設けてもよい。例えば条件設定部107は、ゲインの差が軽微であり生じるエッジが無視できる程度である場合を考慮して、設定されたゲインの値に所定の閾値以上の差がある場合にのみ、それらの領域間の境界部を露出段差として設定するようにしてもよい。このような設定によれば、不要な露出段差の設定を省略し、処理の負荷を軽減することができる。以下、2つの領域が「同一露出条件」であるとは、領域間の露出条件の設定が同一である場合に加え、それらの設定の差が露出段差として設定を行うための条件を満たさない場合を含むものとして説明を行う。 Here, the condition setting unit 107 may set all boundaries between regions with different exposure steps as exposure steps, or may set a condition for only those boundaries that satisfy a condition to be set as exposure steps. For example, the condition setting unit 107 may take into account cases where the gain difference is slight and the resulting edges are negligible, and set the boundary between those regions as an exposure step only when the difference in the set gain values is equal to or greater than a predetermined threshold. This setting makes it possible to omit setting unnecessary exposure steps and reduce the processing load. In the following explanation, when two regions are described as having "the same exposure conditions," it is understood to include cases where the exposure condition settings between the regions are the same, as well as cases where the difference in those settings does not satisfy the condition for setting an exposure step.

この例では、ユーザがクライアント装置110の表示部112に表示されるUI208を介して、画面201上にAF領域を設定することができる。条件設定部107は、例えばユーザのタッチ操作に応じて、又はマウスを介したクリック操作に応じて、AF領域の設定を行ってもよい。ここで、条件設定部107は、ユーザの入力によって、領域内に出段差を含むAF領域が設定される場合に、ユーザにその旨を伝える通知を行うことでAF領域の再設定を促してもよく、ユーザ入力に従いつつ露出段差を含まないようにAF領域を設定してもよい。また、画面201にはAF設定枠109が表示されており、ユーザがAF設定枠109を介した操作を行うことにより、AF領域の設定をマニュアルで行うか自動(オート)で行うかの選択を行うことができる。AF領域は、ユーザの入力に応じて、ユーザの入力から所定の期間だけ画面201上に枠線(例えば点線、若しくは実線、又は明滅表示される線)と共に表示されてもよい。または、AF領域はAF領域の設定終了まで枠線と共に表示されてもよく、AF領域の表示を行わずにAFのみが行われてもよい。 In this example, the user can set an AF area on the screen 201 via the UI 208 displayed on the display unit 112 of the client device 110. The condition setting unit 107 may set the AF area, for example, in response to a user touch operation or a mouse click operation. Here, if the user input causes an AF area that includes an exposure step within the area, the condition setting unit 107 may notify the user of this and prompt the user to reset the AF area, or may set the AF area so that it does not include an exposure step while following the user input. Furthermore, an AF setting frame 109 is displayed on the screen 201, and the user can select whether to set the AF area manually or automatically (auto) by operating the AF setting frame 109. The AF area may be displayed on the screen 201 with a frame (e.g., a dotted line, a solid line, or a blinking line) for a predetermined period of time after the user input, depending on the user input. Alternatively, the AF area may be displayed with a border until the AF area is set, or only AF may be performed without displaying the AF area.

AF領域の設定を自動で行う場合、条件設定部107は、露出段差を含まないように自動で取得した受光面上の部分領域を、AF領域として設定する。この場合、条件設定部107は、注目領域からAF領域を設定してもよく、受光面全体から無作為に取得した部分領域をAF領域として設定してもよい。本実施形態においては、注目領域は、ユーザによって指定された領域であってもよく、撮像装置100が撮像画像内の被写体の追尾機能を有する場合に追尾する被写体が位置している領域であってもよく、合焦を行うことを期待される領域であれば特に限定されない。 When the AF area is set automatically, the condition setting unit 107 sets a partial area on the light-receiving surface that is automatically acquired so as not to include exposure gaps as the AF area. In this case, the condition setting unit 107 may set the AF area from a region of interest, or may set a partial area randomly acquired from the entire light-receiving surface as the AF area. In this embodiment, the region of interest may be a region specified by the user, or may be a region in which a subject to be tracked is located if the imaging device 100 has a function for tracking a subject in a captured image, and is not particularly limited as long as it is a region in which focusing is expected to occur.

撮像装置100が被写体の追尾機能を有しており、追尾中の被写体が露出段差上に位置している場合には、条件設定部107は、被写体の追尾位置に基づいてAF領域を設定することができる。例えば、条件設定部107は、被写体の追尾位置をAF領域としてもよく、被写体が露出段差上に移動する直前に位置していたゲイン領域の全体又は一部をAF領域として設定してもよい。また、条件設定部107は、露出段差上に存在する被写体が次に移動するゲイン領域を推定し、その推定したゲイン領域の全体又は一部をAF領域として設定してもよい。ここで、条件設定部107は、被写体が次に移動するゲイン領域を、公知の追尾技術によって、露出段差を跨いで被写体が位置する複数のゲイン領域のうちから推定することができる。AF領域の設定をマニュアルで行う場合の処理は後述する。 When the imaging device 100 has a subject tracking function and the subject being tracked is located on an exposure step, the condition setting unit 107 can set an AF area based on the tracking position of the subject. For example, the condition setting unit 107 may set the tracking position of the subject as the AF area, or may set all or part of the gain area in which the subject was located immediately before moving onto the exposure step as the AF area. The condition setting unit 107 may also estimate the gain area to which a subject residing on an exposure step will next move, and set all or part of the estimated gain area as the AF area. Here, the condition setting unit 107 can estimate the gain area to which the subject will next move from among multiple gain areas in which the subject is located across the exposure step, using known tracking technology. The process for manually setting the AF area will be described later.

図13は、被写体を追尾する撮像装置100による、被写体の追尾位置に応じて決定されるAF領域を説明するための図である。この図では、UI208上に追尾を行うか否かのモード選択を行うプルダウンのリストが表示され、ユーザによって、追尾を行うモードが選択されている。図13においては、ゲイン領域206からゲイン領域204への方向に移動している被写体1301が、ゲイン領域206を構成する単位領域内に位置している。したがって条件設定部107は、ゲイン領域206の被写体1301が位置する単位領域内にAF領域1302を設定している。 Figure 13 is a diagram illustrating an AF area determined by the imaging device 100 tracking a subject according to the tracking position of the subject. In this figure, a pull-down list for selecting whether or not to perform tracking is displayed on the UI 208, and the user selects a tracking mode. In Figure 13, a subject 1301 moving in the direction from gain area 206 to gain area 204 is located within a unit area that makes up gain area 206. Therefore, the condition setting unit 107 sets an AF area 1302 within the unit area of gain area 206 where subject 1301 is located.

以下、図3~図5を参照して、本実施形態に係る撮像装置100が行う、露出条件の異なる部分領域を少なくとも2つ以上含む映像を撮像する場合のAF領域の設定処理についての説明を行う。なお、この例においては、上述のように露出条件の異なる部分領域が少なくとも2つ以上設定されるが、受光面全体の露出条件が同一に設定される場合には、通常のコントラストAFが行われる(すなわち、露出段差の設定が行われない)。 The following describes, with reference to Figures 3 to 5, the AF area setting process performed by the imaging device 100 according to this embodiment when capturing an image including at least two partial areas with different exposure conditions. Note that in this example, as described above, at least two partial areas with different exposure conditions are set, but if the exposure conditions for the entire light-receiving surface are set to the same, normal contrast AF is performed (i.e., no exposure step is set).

図3は、本実施形態に係る撮像装置100による処理の一例を示すフローチャートである。S301で条件設定部107は、撮像素子部101の露出条件を、受光面の部分領域ごとに設定する。 Figure 3 is a flowchart showing an example of processing by the imaging device 100 according to this embodiment. In S301, the condition setting unit 107 sets the exposure conditions of the imaging element unit 101 for each partial area of the light receiving surface.

S302で条件設定部107は、イメージセンサの受光面の全領域に対して露出条件を設定したか否かを判断する。設定している場合には処理がS303へと進み、そうでない場合には処理はS301へと戻る。 In S302, the condition setting unit 107 determines whether exposure conditions have been set for the entire area of the light-receiving surface of the image sensor. If so, processing proceeds to S303; if not, processing returns to S301.

S303で条件設定部107は、受光面上に同一露出条件となる領域をそれぞれ設定する。図2の例では、条件設定部107は、領域204~207を、それぞれ同一露出条件であるとして設定している。 In S303, the condition setting unit 107 sets areas on the light receiving surface that have the same exposure conditions. In the example of Figure 2, the condition setting unit 107 sets areas 204 to 207 as having the same exposure conditions.

S304で条件設定部107は、同一露出条件である各領域に基づいて、露出段差の設定を行う。図2の例では、条件設定部107は、領域204~領域207のそれぞれの境界を、露出段差210として設定している。上述したように、条件設定部107は、領域間の露出条件が所定の閾値よりも小さい場合には、その境界部に露出段差の設定を行わなくてもよい。 In S304, the condition setting unit 107 sets exposure steps based on each region with the same exposure conditions. In the example of Figure 2, the condition setting unit 107 sets the boundaries between regions 204 to 207 as exposure steps 210. As described above, if the exposure conditions between regions are smaller than a predetermined threshold, the condition setting unit 107 does not need to set exposure steps at those boundaries.

S305で条件設定部107は、AF領域の設定を自動で行うかマニュアルで行うかの判別を行う。この例では、条件設定部107は、図2のAF設定枠209へのユーザ入力を参照することによって判別を行うが、例えばAF領域の設定は初期設定としてマニュアル(又は自動)で行うものと設定されていてもよい。AF領域の設定を自動で行う場合には処理がS306へと進み、マニュアルで行う場合処理はS307へと進む。 In S305, the condition setting unit 107 determines whether the AF area is to be set automatically or manually. In this example, the condition setting unit 107 makes this determination by referring to the user input into the AF setting frame 209 in Figure 2, but for example, the AF area may be set manually (or automatically) as an initial setting. If the AF area is to be set automatically, processing proceeds to S306, and if it is to be set manually, processing proceeds to S307.

S306で条件設定部107は、露出段差を含まないように自動でAF領域の設定を行い、処理をS311へと進める。ステップS307で条件設定部107は、露出段差をユーザに提示し、処理をS308へと進める。条件設定部107は、例えば図2に示すように、露出段差210を点線表示によって提示してもよいが、例えば所定色(赤色など)の線による表示など、ユーザに認識される表示形式であればその提示の方法は特に限定はされない。なお、S307を省略し、露出段差の表示を行わずにAF領域の設定処理に進んでもよい。 In S306, the condition setting unit 107 automatically sets the AF area so that it does not include the exposure step, and the process proceeds to S311. In step S307, the condition setting unit 107 presents the exposure step to the user, and the process proceeds to S308. The condition setting unit 107 may present the exposure step 210 by displaying it as a dotted line, as shown in FIG. 2, for example, but the method of presentation is not particularly limited as long as it is a display format that is recognizable to the user, such as displaying it as a line of a predetermined color (e.g., red). Note that S307 may be omitted, and the process may proceed to the AF area setting process without displaying the exposure step.

S308で条件設定部107は、クライアント装置110からユーザの入力を取得し、取得した入力に基づいてAF領域の設定を行う。S309で条件設定部107は、S308で設定したAF領域が、領域内に露出段差を含んでいるか否かを判定する。露出段差を含んでいる場合には処理がS310へと進み、含んでいない場合には処理はS311へと進む。 In S308, the condition setting unit 107 acquires user input from the client device 110 and sets the AF area based on the acquired input. In S309, the condition setting unit 107 determines whether the AF area set in S308 includes an exposure step within the area. If an exposure step is included, processing proceeds to S310; if not, processing proceeds to S311.

S310で条件設定部107は、設定されるAF領域内に露出段差が含まれている旨をユーザに通知し、AF領域の再設定を促す。図4は、S310において表示されるメッセージの一例を示す図である。図4の例では、UI208上に「AF領域を再設定してください」とAF領域の再設定を促すメッセージが表示されている。なお、条件設定部107によるAF領域の再設定を促す方法はこれには限定されず、例えば音声による通知を行ってもよく、設定に失敗したことを示す表示(例えば、×表示など)を行って再び設定画面へと戻してもよい。次いで、処理はS308へと戻り、図5のようにAF領域が同一露出条件の領域内で設定されるまで、S308~S310の処理が繰り返される。図5は、図2の画面上において同一露出条件の領域206内にAF領域501が設定された場合を示す図である。 In S310, the condition setting unit 107 notifies the user that the AF area to be set contains an exposure gap, and prompts the user to reset the AF area. Figure 4 is a diagram showing an example of a message displayed in S310. In the example of Figure 4, a message prompting the user to reset the AF area, stating "Please reset the AF area," is displayed on the UI 208. Note that the method by which the condition setting unit 107 prompts the user to reset the AF area is not limited to this; for example, a sound notification may be used, or a display indicating that the setting failed (e.g., an X display) may be displayed, returning the user to the setting screen. Next, processing returns to S308, and the processing of S308 to S310 is repeated until the AF area is set within an area with the same exposure conditions, as shown in Figure 5. Figure 5 is a diagram showing a case in which the AF area 501 has been set within the area 206 with the same exposure conditions on the screen of Figure 2.

S311で演算部105は、AF領域の出力画像信号からコントラスト評価値を算出し、レンズ制御部106は、算出されるコントラスト評価値が最も高くなる位置にレンズ102を駆動させる。 In S311, the calculation unit 105 calculates a contrast evaluation value from the output image signal of the AF area, and the lens control unit 106 drives the lens 102 to a position where the calculated contrast evaluation value is highest.

このような処理によれば、露出段差の位置を避けてAF領域を設定することができる。したがって、AFのコントラスト評価値の算出においてノイズとなる露出段差位置のエッジによる高周波成分を避けることができるため、合焦精度を向上させることが可能となる。 This type of processing allows the AF area to be set while avoiding the position of the exposure step. Therefore, it is possible to avoid high-frequency components due to the edges of the exposure step position, which can cause noise in the calculation of the AF contrast evaluation value, thereby improving focusing accuracy.

[実施形態2]
実施形態1に係る撮像装置は、露出段差を含まないようにAF領域を設定し、AF領域の出力画像信号からコントラスト評価値を算出してAFを行った。本実施形態に係る撮像装置は、ユーザによるAF領域の指定を取得し、指定された領域を補正することによりAF領域を設定する。ここでは、条件設定部107が、指定された領域が露出段差を領域内に含んでいる場合に、その露出段差を含まないように補正した領域をAF領域として設定する。本実施形態においては、撮像装置100及びクライアント装置110は図1に示されるものと同様の構成を有する。また、露出段差の設定処理と、AF領域の設定から後続する処理とについては実施形態1と同様に行われるため、重複する説明は省略する。
[Embodiment 2]
The imaging device according to the first embodiment sets an AF area so as not to include an exposure step, and performs AF by calculating a contrast evaluation value from the output image signal of the AF area. The imaging device according to this embodiment acquires a user's designation of an AF area and sets the AF area by correcting the designated area. Here, if the designated area includes an exposure step, the condition setting unit 107 sets the corrected area so as not to include the exposure step as the AF area. In this embodiment, the imaging device 100 and the client device 110 have the same configuration as those shown in FIG. 1. Furthermore, the exposure step setting process and the processes subsequent to the AF area setting are performed in the same manner as in the first embodiment, and therefore redundant description will be omitted.

本実施形態においては、クライアント装置110の操作部113を介して、ユーザがAF領域の指定を入力する。次いで条件設定部107は、ユーザ入力によって指定されたAF領域(指定領域)に基づいて、露出段差が領域内に含まれないAF領域を設定する。ここでは、条件設定部107は、指定領域が領域内に露出段差を含んでいない場合には、指定領域をそのままAF領域として設定してもよい。一方で、指定領域が領域内に露出段差を含んでいる場合には、条件設定部107は、領域内に露出段差が含まれないように指定領域を補正することにより、AF領域の設定を行う。 In this embodiment, the user inputs a designation for the AF area via the operation unit 113 of the client device 110. Next, the condition setting unit 107 sets an AF area that does not include an exposure step based on the AF area (designated area) designated by the user input. Here, if the designated area does not include an exposure step, the condition setting unit 107 may set the designated area as the AF area as is. On the other hand, if the designated area includes an exposure step, the condition setting unit 107 sets the AF area by correcting the designated area so that an exposure step is not included within the area.

以下、基本的には指定領域が露出段差を含んでいるものとして説明を行う。条件設定部107は、イメージセンサの受光面において、指定領域とゲイン領域とが重複する領域を抽出し、抽出した領域をAF領域として設定することができる。また、条件設定部107は、指定領域が、2つ以上のゲイン領域と重複する領域を有している場合には、そのうちの1つのゲイン領域と重複する領域をAF領域としてもよく、そのうちの複数のゲイン領域それぞれと重複する領域をAF領域として設定してもよい。AF領域を複数設定する場合については、実施形態3において詳細な説明を行う。また、ここで条件設定部107は、指定領域とゲイン領域との重複する領域全体をAF領域として設定してもよく、露出段差による影響を受ける可能性を低減するために、露出段差を構成する境界部から所定数の画素幅を除いた領域をAF領域として設定してもよい。 The following description will basically assume that the specified area includes an exposure step. The condition setting unit 107 can extract an area on the light receiving surface of the image sensor where the specified area and a gain area overlap, and set the extracted area as an AF area. Furthermore, if the specified area has an area that overlaps with two or more gain areas, the condition setting unit 107 may set the area that overlaps with one of those gain areas as the AF area, or may set the areas that overlap with each of multiple gain areas as AF areas. The case where multiple AF areas are set will be described in detail in embodiment 3. Furthermore, here, the condition setting unit 107 may set the entire area where the specified area and the gain area overlap as the AF area, or may set an area that excludes a predetermined number of pixels from the boundary that constitutes the exposure step as the AF area to reduce the possibility of being affected by the exposure step.

図7は、本実施形態に係る条件設定部107が指定領域に基づいてAF領域を設定する例を説明するための図である。図7においては、AF領域としてAF領域701が設定されている。ここで、指定領域としては図2における領域202が指定されており、領域202は露出段差210を含んでいる。したがって、条件設定部107は、領域202とゲイン領域204との重複する領域702をAF領域として設定している。 Figure 7 is a diagram illustrating an example in which the condition setting unit 107 according to this embodiment sets an AF area based on a specified area. In Figure 7, AF area 701 is set as the AF area. Here, area 202 in Figure 2 is specified as the specified area, and area 202 includes exposure step 210. Therefore, the condition setting unit 107 sets area 702, where area 202 and gain area 204 overlap, as the AF area.

また、条件設定部107は、指定領域とゲイン領域とが重複する領域が所定の条件を満たす場合に、その領域をAF領域として設定してもよい。以下、条件を満たす領域をAF領域として設定する例について説明する。例えば、条件設定部107は、指定領域とゲイン領域とが重複する領域が閾値以上の面積を有する場合に、その領域をAF領域として設定してもよい(なお、ここでの面積は受光面上での面積であるものとする)。ここで設定される面積の閾値の設定は特に限定されない。例えば、面積の閾値は、ユーザが所望の値として設定してもよく、そのゲイン領域の半分以上の面積であってもよく、各ゲイン領域と指定領域とが重複する領域の面積の平均(指定領域の面積/指定領域と重複する領域を有するゲイン領域の数)であってもよい。この場合、条件設定部107は、指定領域とゲイン領域とが重複する領域のいずれも面積が閾値未満となる場合には、AF領域の再設定を促す旨の通知をユーザに行う。AF領域の面積を十分に確保することにより、AF領域から算出されるコントラスト評価値の信頼性を向上させることが可能となる。 Furthermore, the condition setting unit 107 may set an overlapping area between a specified area and a gain area as an AF area if that area satisfies a predetermined condition. An example of setting an overlapping area as an AF area that satisfies a condition will be described below. For example, the condition setting unit 107 may set an overlapping area between a specified area and a gain area as an AF area if the overlapping area has an area equal to or greater than a threshold (note that the area here refers to the area on the light receiving surface). The area threshold set here is not particularly limited. For example, the area threshold may be set as desired by the user, or may be equal to or greater than half the area of the gain area, or may be the average area of the overlapping areas between each gain area and the specified area (area of the specified area / number of gain areas that overlap with the specified area). In this case, if the area of any of the overlapping areas between the specified area and the gain area is less than the threshold, the condition setting unit 107 notifies the user to urge them to reset the AF area. By ensuring sufficient area for the AF area, it is possible to improve the reliability of the contrast evaluation value calculated from the AF area.

また例えば、条件設定部107は、指定領域とゲイン領域とが重複する領域が複数存在する場合に、その中で最も面積が大きい領域をAF領域として設定してもよい。図8は、そのように最も面積の大きい領域がAF領域として設定される一例を説明するための図である。図8(a)は指定領域801を点線で示す図であり、図8(b)は指定領域801に基づいて設定されるAF領域802を示す図である。指定領域801は、ゲイン領域204~206の3つと重複している。ここで、条件設定部107は、それらの3つのゲイン領域から、指定領域との重複する領域が最も大きい領域としてゲイン領域204を選択し、指定領域801とゲイン領域204とが重複する領域をAF領域802として設定している。 Furthermore, for example, when there are multiple areas where the designated area and the gain area overlap, the condition setting unit 107 may set the area with the largest area as the AF area. Figure 8 is a diagram illustrating an example in which the area with the largest area is set as the AF area. Figure 8(a) is a diagram showing the designated area 801 indicated by a dotted line, and Figure 8(b) is a diagram showing the AF area 802 set based on the designated area 801. The designated area 801 overlaps with three gain areas 204 to 206. Here, the condition setting unit 107 selects gain area 204 from the three gain areas as the area with the largest overlap with the designated area, and sets the area where the designated area 801 and the gain area 204 overlap as the AF area 802.

また例えば、条件設定部107は、指定領域と重複するゲイン領域の露出の条件(ここでは、ゲインの量)が閾値よりも小さい場合に、そのゲイン領域と指定領域とが重複する領域をAF領域として設定してもよい。ここで設定されるゲインの閾値は、ユーザが所望の値として設定してもよく、各ゲイン領域のゲインの量の平均値であってもよく、指定領域内のゲインの平均値であってもよく、特に限定はされない。この場合、条件設定部107は、指定領域と重複する領域を有するゲイン領域のいずれにも閾値以上のゲインの量が設定されている場合には、AF領域の再設定を促す旨の通知をユーザに行う。AF領域のゲインの値を十分に小さくすることにより、ゲインが大きすぎることを原因としてコントラストが正常に評価できなくなる可能性を低減することが可能となる。 For example, if the exposure condition (here, the amount of gain) of a gain area that overlaps with the specified area is smaller than a threshold, the condition setting unit 107 may set the area where the gain area overlaps with the specified area as an AF area. The gain threshold set here may be set as a value desired by the user, may be the average value of the gain amounts of each gain area, or may be the average value of the gain within the specified area, and is not particularly limited. In this case, if a gain amount equal to or greater than the threshold is set in any of the gain areas that overlap with the specified area, the condition setting unit 107 notifies the user to prompt them to reset the AF area. By setting the gain value of the AF area sufficiently small, it is possible to reduce the possibility that contrast will not be evaluated correctly due to excessive gain.

また例えば、条件設定部107は、指定領域とゲイン領域とが重複する領域が複数存在する場合に、複数のゲイン領域の中で最もゲインの量が小さい領域と指定領域とが重複する領域をAF領域として設定してもよい。さらに例えば、条件設定部107は、各ゲイン領域のうちの注目領域であるゲイン領域と指定領域とが重複する領域を、AF領域として設定してもよい。また、条件設定部107は、複数のゲイン領域のうちユーザが選択した領域と指定領域とが重複する領域をAF領域として設定してもよい。 For another example, when there are multiple areas where the specified area and the gain area overlap, the condition setting unit 107 may set the area where the specified area overlaps with the area with the smallest gain among the multiple gain areas as the AF area. For another example, the condition setting unit 107 may set the area where the gain area that is the area of interest among each gain area overlaps with the specified area as the AF area. Furthermore, the condition setting unit 107 may set the area where the specified area overlaps with the area selected by the user among the multiple gain areas as the AF area.

なお、条件設定部107は、上述したこれらの条件を1つ満たす領域をAF領域として設定してもよく、これらの条件を複数満たす領域をAF領域として設定してもよい。図9は、指定領域とゲイン領域とが重複する領域のうち、面積が閾値以上であり、かつゲインの値が最も小さい領域をAF領域として設定する例を示す図である。図9(a)は指定領域901を点線で示す図であり、図9(b)は指定領域901に基づいて設定されるAF領域902を示す図である。指定領域901は、ゲイン領域204~206の3つと重複している。ここで、それらの3つゲイン領域のうち、指定領域との重複する領域が面積が閾値以上となるのは領域204と領域206との二つであり、そのうちで最もゲインの値の小さい領域206と指定領域とが重複する領域がAF領域902として設定されている。 The condition setting unit 107 may set an area that satisfies one of the above-mentioned conditions as the AF area, or may set an area that satisfies multiple conditions as the AF area. Figure 9 shows an example in which, among the areas where the designated area and gain area overlap, an area whose area is equal to or greater than the threshold and has the smallest gain value is set as the AF area. Figure 9(a) shows the designated area 901 indicated by a dotted line, and Figure 9(b) shows the AF area 902 set based on the designated area 901. The designated area 901 overlaps with three gain areas 204 to 206. Of these three gain areas, area 204 and area 206 are the only two areas where the area that overlaps with the designated area is equal to or greater than the threshold, and the area where area 206, which has the smallest gain value, overlaps with the designated area is set as the AF area 902.

ここでは、指定領域からゲイン領域と重複している領域をAF領域として抽出する例、すなわち指定領域を縮小することによってAF領域として補正する例について説明を行った。しかしながら条件設定部107は、補正として、指定領域を拡大することによってAF領域を設定してもよい。これは、指定領域をそのまま拡大する処理であってもよく、指定領域から抽出された、指定領域とゲイン領域とが重複する領域を拡大する処理であってもよい。以下、このように補正した指定領域を拡大する処理も含めて「指定領域を拡大する」処理と呼ぶものとする。 Here, we have explained an example in which an area that overlaps with a gain area from a specified area is extracted as an AF area, that is, an example in which the specified area is corrected as an AF area by shrinking it. However, the condition setting unit 107 may also set an AF area by enlarging the specified area as a correction. This may be a process in which the specified area is enlarged as is, or a process in which the area extracted from the specified area where the specified area and gain area overlap is enlarged. Hereinafter, the process of enlarging a corrected specified area in this way will be referred to as the process of "enlarging a specified area."

条件設定部107は、例えば、ユーザによるAF領域の拡大指示を取得した場合に指定領域を拡大してもよく、指定領域が拡大される条件を満たす場合に拡大してもよい。ここで、指定領域が拡大される条件は特に限定されないが、例えば、指定領域の面積が所定の値以下である場合など、指定された領域でのAFの精度の向上が見込める場合であってもよい。また、ユーザによるAF領域の拡大指示は、例えばUI208上に設けられた拡大の実行ボタン(不図示)の押下として取得されてもよい。また例えば、AF領域の拡大指示は、画面201に対するユーザの入力(例えば、カーソルを用いたドラッグ操作又はタッチパネルを介したスワイプ操作による領域の指定)によって取得されてもよい。 The condition setting unit 107 may enlarge the specified area, for example, when it receives an instruction from the user to enlarge the AF area, or when the specified area satisfies the conditions for enlarging the area. Here, the conditions for enlarging the specified area are not particularly limited, but may be, for example, when the area of the specified area is equal to or less than a predetermined value, or when it is expected that the AF accuracy in the specified area will be improved. Furthermore, the instruction from the user to enlarge the AF area may be obtained by, for example, pressing an enlargement execution button (not shown) provided on the UI 208. Furthermore, for example, the instruction to enlarge the AF area may be obtained by user input on the screen 201 (for example, specifying an area by dragging with the cursor or swiping via a touch panel).

条件設定部107は、指定領域を、領域内に露出段差を含まないように拡大し、AF領域として設定する。ここで、条件設定部107は、ユーザの入力に従って指定領域を拡大してもよく、(例えば指定領域が重複しているゲイン領域全体がAF領域となるように)自動で指定領域を拡大してもよい。図10は、そのように拡大される指定領域の一例を説明するための図である。図10(a)では、AF領域1001に対して、ユーザから領域1002へと拡大する指示が入力されてる。図10(a)の例では、全領域において露出の条件が均一に設定されているため、領域1002においても全域にわたって露出条件は均一となる。したがって、条件設定部107は、AF領域を領域1002へと設定する。一方で、図10(b)では、領域1002は複数のゲイン領域を跨いでいるため、AF領域は領域1002へと拡大はされない。そのため、条件設定部107は、AF領域1001の拡大指示に対して、その拡大範囲をゲイン領域204内に制限し、領域1003をAF領域として設定している。これは、領域1001から最大限に拡大されたAF領域を示す例であり、例えば、露出段差210を構成する境界部から所定数の画素幅をAF領域1003から除いた領域をAF領域として設定するなど、所望の条件を満たすように補正が行われてもよい。 The condition setting unit 107 expands the specified area so that it does not include exposure gaps within the area, and sets it as an AF area. Here, the condition setting unit 107 may expand the specified area according to user input, or may expand the specified area automatically (for example, so that the entire gain area where the specified area overlaps becomes the AF area). Figure 10 is a diagram illustrating an example of a specified area expanded in this manner. In Figure 10(a), the user inputs an instruction to expand AF area 1001 to area 1002. In the example of Figure 10(a), the exposure conditions are set uniformly across the entire area, so the exposure conditions are also uniform across the entire area of area 1002. Therefore, the condition setting unit 107 sets the AF area to area 1002. On the other hand, in Figure 10(b), area 1002 spans multiple gain areas, so the AF area is not expanded to area 1002. Therefore, in response to an instruction to expand the AF area 1001, the condition setting unit 107 limits the expansion range to within the gain area 204 and sets area 1003 as the AF area. This is an example showing an AF area that has been expanded to the maximum extent possible from area 1001; corrections may be made to satisfy desired conditions, such as setting an AF area obtained by excluding a predetermined number of pixels from the boundary that forms the exposure step 210 from AF area 1003.

図6は、本実施形態に係る撮像装置100による処理の一例を示すフローチャートである。図6の処理は、S307に後続する処理としてS601が追加され、S308及びS310に代わってそれぞれS602及びS603の処理が行われることを除き、実施形態1の図3に示される処理と同様に行われるため、重複する説明は省略する。 Figure 6 is a flowchart showing an example of processing by the imaging device 100 according to this embodiment. The processing in Figure 6 is performed in the same manner as the processing shown in Figure 3 of embodiment 1, except that S601 is added as processing subsequent to S307, and processing of S602 and S603 is performed instead of S308 and S310, respectively, and therefore a duplicated description will be omitted.

S601で撮像装置100は、クライアント装置110を介してユーザによる指定領域の入力を取得する。続くS602で条件設定部107は、取得した指定領域を参照してAF領域の設定を行い、処理をS309へと進める。ここでは、例えば上述したように、指定領域を補正することによってAF領域の設定が行われる。 In S601, the imaging device 100 acquires a specified area input by the user via the client device 110. In the following S602, the condition setting unit 107 sets the AF area by referencing the acquired specified area, and the process proceeds to S309. Here, the AF area is set by correcting the specified area, for example, as described above.

S309でAF領域に露出段差が含まれていると判断された場合であるS603で、条件設定部107は、露出段差を含まないようにAF領域を縮小(補正)する。例えば条件設定部107は、上述したように、ゲイン領域と重複する領域を抽出することにより、AF領域を補正することができる。S603の後、処理はS311へと進む。 If it is determined in S309 that the AF area includes an exposure step, then in S603 the condition setting unit 107 reduces (corrects) the AF area so that it does not include the exposure step. For example, as described above, the condition setting unit 107 can correct the AF area by extracting an area that overlaps with the gain area. After S603, processing proceeds to S311.

このような処理によれば、ユーザによって指定された領域を補正し、露出段差を含まないAF領域を設定することができる。したがって、AFのコントラスト評価値の算出においてノイズとなる露出段差位置のエッジによる高周波成分を避けることができるため、合焦精度を向上させることが可能となる。また、指定領域を補正することにより、面積、又は露出の条件が所定の条件を満たすようにAF領域の設定を行うことで、より適した条件でAFを行うことができる。 This type of processing allows the area specified by the user to be corrected and an AF area that does not include exposure gaps to be set. This makes it possible to avoid high-frequency components due to the edges at the exposure gap positions that become noise in the calculation of the AF contrast evaluation value, thereby improving focusing accuracy. Furthermore, by correcting the specified area and setting the AF area so that the area or exposure conditions meet specified conditions, AF can be performed under more suitable conditions.

なお、条件設定部107は、指定領域が露出段差を領域内に含んでいる場合に、AFのコントラスト評価値算出時にのみその指定領域の全域にわたって露出の条件を均一に変更することにより、指定領域をそのままAF領域として設定してもよい。すなわち、条件設定部107は、コントラスト評価値の算出時に一時的に露出段差を消すことにより、領域内に露出段差を含まないAF領域の設定を行ってもよい。このように処理を行うことで、ユーザが指定した領域を用いて、露出段差を含まないAF領域を設定してAFの処理を行うことが可能となる。 Note that if the specified area includes an exposure step within the area, the condition setting unit 107 may set the specified area as the AF area by uniformly changing the exposure conditions across the entire specified area only when calculating the AF contrast evaluation value. In other words, the condition setting unit 107 may set an AF area that does not include an exposure step within the area by temporarily erasing the exposure step when calculating the contrast evaluation value. By performing processing in this manner, it becomes possible to set an AF area that does not include an exposure step using the area specified by the user and perform AF processing.

[実施形態3]
実施形態1及び2においては、AF領域を1つ設定した後に、そのAF領域のコントラスト評価値が最も高くなるレンズ位置へとレンズを制御することによってAFを行った。本実施形態に係る撮像装置100は、AF領域を複数設定し、設定した複数のAF領域それぞれのコントラスト評価値に基づいてAFを行う。
[Embodiment 3]
In the first and second embodiments, AF is performed by setting one AF area and then controlling the lens to a lens position where the contrast evaluation value of that AF area is the highest. The imaging device 100 according to this embodiment sets multiple AF areas and performs AF based on the contrast evaluation value of each of the multiple AF areas that have been set.

本実施形態に係る条件設定部107は、実施形態2と同様に指定領域を取得する。次いで、その指定領域が露出段差を領域内に含んでいる場合に、指定領域に基づいて、領域内に露出段差を含まないAF領域を複数設定する。ここでは、条件設定部107は、例えば指定領域が2つ以上のゲイン領域と重複する領域を有する場合に、そのゲイン領域それぞれについて、実施形態2と同様にして指定領域と重複している領域を抽出する。次いで条件設定部107は、抽出した各領域のうちの複数をAF領域として選択して、そのそれぞれから算出されるコントラスト評価値に基づいてAFの制御を行う。ここで条件設定部107は、指定領域と重複する領域を有するゲイン領域全てからAF領域を設定してもよく、ゲインの値、又は指定領域と重複する領域の面積などに閾値を設け、閾値に対する条件を満たす領域のみをAF領域として設定してもよい。ここのゲインの値の閾値と面積の閾値とは実施形態2のものと同様に設定されるものとするが、実施形態2のものとは別の値として設定されてもよい。 The condition setting unit 107 according to this embodiment acquires a designated region in the same manner as in embodiment 2. Next, if the designated region includes an exposure step within the region, it sets multiple AF regions that do not include an exposure step within the region based on the designated region. Here, for example, if the designated region has areas that overlap with two or more gain regions, the condition setting unit 107 extracts the areas that overlap with the designated region for each of the gain regions in the same manner as in embodiment 2. Next, the condition setting unit 107 selects multiple of the extracted regions as AF regions and controls AF based on the contrast evaluation value calculated from each of the selected regions. Here, the condition setting unit 107 may set AF regions from all gain regions that overlap with the designated region, or may set thresholds for the gain value or the area of the region that overlaps with the designated region, and set only regions that satisfy the conditions for the thresholds as AF regions. The gain value threshold and area threshold here are set in the same manner as in embodiment 2, but may also be set to values different from those in embodiment 2.

本実施形態に係る演算部105は、複数のAF領域の出力画像信号からコントラスト評価値を算出し、レンズ制御部106は、算出されるコントラスト評価値が最も高くなる位置にレンズ102を駆動させる。演算部105は、例えば複数のAF領域それぞれから実施形態1と同様にしてコントラスト評価値を算出して、算出したそれぞれの値に基づいて本実施形態に係るコントラスト評価値を算出してもよい。例えば、演算部105は、AF領域それぞれから算出されるコントラスト評価値の平均値、中央値、又は受光面におけるAF領域の面積に応じた重みづけによる加重平均値などを、AFに用いるコントラスト評価値として用いることができる。 The calculation unit 105 according to this embodiment calculates a contrast evaluation value from the output image signals of the multiple AF areas, and the lens control unit 106 drives the lens 102 to a position where the calculated contrast evaluation value is highest. The calculation unit 105 may, for example, calculate a contrast evaluation value from each of the multiple AF areas in the same manner as in embodiment 1, and calculate the contrast evaluation value according to this embodiment based on each calculated value. For example, the calculation unit 105 may use, as the contrast evaluation value to be used for AF, the average value, median value, or weighted average value of the contrast evaluation values calculated from each AF area, weighted according to the area of the AF area on the light receiving surface.

図12は、AF領域を複数設定する例を説明するための図である。ここでは、指定領域としては図2における領域202が指定されており、領域202は露出段差を含んでいる。したがって、条件設定部107は、領域202とゲイン領域204とが重複する領域をAF領域1201として、領域202とゲイン領域206とが重複する領域をAF領域1202として設定している。この図の例では、領域202を分割して露出段差を含まない2つのAF領域が設定されているが、指定領域をそのままAF領域とし、AFのコントラスト評価値算出時にのみAF領域内の露出の条件が均一に変更されてもよい。 Figure 12 is a diagram illustrating an example of setting multiple AF areas. Here, area 202 in Figure 2 is specified as the specified area, and area 202 includes an exposure step. Therefore, the condition setting unit 107 sets the area where area 202 and gain area 204 overlap as AF area 1201, and the area where area 202 and gain area 206 overlap as AF area 1202. In the example shown in this figure, area 202 is divided and two AF areas that do not include an exposure step are set, but the specified area may be used as the AF area as is, and the exposure conditions within the AF area may be changed uniformly only when the AF contrast evaluation value is calculated.

また、撮像装置100が被写体の追尾機能を有しており、追尾中の被写体が露出段差上に位置している場合には、条件設定部107は、被写体の追尾位置に基づいて、露出段差を跨いで被写体が位置する複数のゲイン領域から複数のAF領域を設定してもよい。例えば条件設定部107は、被写体が露出段差上に移動する直前に位置していたゲイン領域と、露出段差上に存在する被写体が次に移動すると推定されるゲイン領域と、のそれぞれからAF領域を設定することができる。被写体が直前に位置していたゲイン領域を参照してAFを行う場合には、被写体が露出段差上を移動している間もピント位置を維持することが可能となる。また、被写体が移動すると推定されるゲイン領域を参照してAFを行う場合には、ピント位置を、露出段差上から移動した後の被写体にピントが焦点が合う位置に合わせることができる。これらの領域を両方用いてAF領域を行う場合には、被写体の露出段差上への移動前と移動後との両方を考慮した上で合唱を行うことが可能となる。 Furthermore, if the imaging device 100 has a subject tracking function and the subject being tracked is located on an exposure step, the condition setting unit 107 may set multiple AF areas from multiple gain areas in which the subject is located across the exposure step, based on the tracking position of the subject. For example, the condition setting unit 107 can set AF areas from the gain area in which the subject was located immediately before moving onto the exposure step and the gain area to which the subject on the exposure step is estimated to move next. When AF is performed by referencing the gain area in which the subject was immediately located, it is possible to maintain the focus position even while the subject is moving on the exposure step. When AF is performed by referencing the gain area to which the subject is estimated to move, it is possible to adjust the focus position to a position where the subject will be in focus after moving off the exposure step. When AF areas are performed using both of these areas, it is possible to perform a chorus taking into account both the subject's movements before and after they move onto the exposure step.

図14は、被写体を追尾する撮像装置100による、被写体の追尾位置に応じて決定されるAF領域を説明するための図である。図14においては、図13と同様の被写体1301が、ゲイン領域206とゲイン領域204との境界部(露出段差210)に位置している。この場合、条件設定部107は、被写体1301が露出段差210上に位置する直前に位置していたゲイン領域206にAF領域1401を設定してもよい。また条件設定部107は、追尾結果に基づいて次に被写体1301が移動することが推定されるゲイン領域204にAF領域1402を設定してもよく、AF領域1401とAF領域1402との両方を用いてAFを行ってもよい。 Figure 14 is a diagram illustrating an AF area determined by the imaging device 100 tracking a subject according to the tracking position of the subject. In Figure 14, the same subject 1301 as in Figure 13 is located at the boundary (exposure step 210) between the gain area 206 and the gain area 204. In this case, the condition setting unit 107 may set an AF area 1401 in the gain area 206 where the subject 1301 was located immediately before it was positioned on the exposure step 210. The condition setting unit 107 may also set an AF area 1402 in the gain area 204 where the subject 1301 is estimated to move next based on the tracking results, or may perform AF using both the AF area 1401 and the AF area 1402.

以下、図11を参照して本実施形態に係る撮像装置100が行う処理について説明を行う。図11は、本実施形態に係る撮像装置100による処理の一例を示すフローチャートである。図11の処理は、S603に代わって、S309に後続する処理としてS1101~S1103が行われることを除き、実施形態2の図6に示される処理と同様に行われるため、重複する説明は省略する。 The processing performed by the imaging device 100 according to this embodiment will be described below with reference to FIG. 11. FIG. 11 is a flowchart showing an example of processing performed by the imaging device 100 according to this embodiment. The processing in FIG. 11 is performed in the same way as the processing shown in FIG. 6 of the second embodiment, except that steps S1101 to S1103 are performed as processing subsequent to S309 instead of S603, and therefore a duplicated description will be omitted.

S309で条件設定部107は、S602で設定したAF領域が、領域内に露出段差を含んでいるか否かを判定する。露出段差を含んでいる場合には処理がS1101へと進み、含んでいない場合には処理はS311へと進む。 In S309, the condition setting unit 107 determines whether the AF area set in S602 includes an exposure step within the area. If an exposure step is included, processing proceeds to S1101; if not, processing proceeds to S311.

S1101で条件設定部107は、S602で設定したAF領域に基づいて、AF領域を複数に設定する。条件設定部107は、例えば図12に示されるようにAF領域(指定領域)を分割して複数のAF領域を設定する。 In S1101, the condition setting unit 107 sets multiple AF areas based on the AF area set in S602. The condition setting unit 107 divides the AF area (specified area) and sets multiple AF areas, for example, as shown in FIG. 12.

S1102で条件設定部107は、設定した複数のAF領域それぞれからコントラスト評価値を算出する。この処理では、AF領域それぞれに対してS311と同様の計算が行われる。 In S1102, the condition setting unit 107 calculates a contrast evaluation value for each of the multiple AF areas that have been set. In this process, the same calculation as in S311 is performed for each AF area.

S1103で条件設定部107は、S1102で算出したコントラスト評価値それぞれに基づいて、AFに用いるコントラスト評価値を算出する。上述したように、条件設定部107は、例えば各評価値の平均値などを、最終的なコントラスト評価値として算出することができる。レンズ制御部106は、S1103で算出されるコントラスト評価値が最も高くなる位置にレンズ102を駆動させる。 In S1103, the condition setting unit 107 calculates a contrast evaluation value to be used for AF based on each of the contrast evaluation values calculated in S1102. As described above, the condition setting unit 107 can calculate, for example, the average value of each evaluation value as the final contrast evaluation value. The lens control unit 106 drives the lens 102 to a position where the contrast evaluation value calculated in S1103 is highest.

このような処理によれば、露出段差の位置を避けるように、複数のAF領域を設定することができる。したがって、AFのコントラスト評価値の算出においてノイズとなる露出段差位置のエッジによる高周波成分を避けることができるため、合焦精度を向上させることが可能となる。 This type of processing allows multiple AF areas to be set so as to avoid the positions of exposure gaps. This means that high-frequency components caused by the edges of exposure gap positions, which can become noise in the calculation of AF contrast evaluation values, can be avoided, improving focusing accuracy.

[実施形態4]
上述の実施形態においては、例えば図1等に示される各処理部は、上述したように例えば情報処理装置としてのカメラなど、専用のハードウェアによって実現される。しかしながら、撮像装置100(及び、クライアント装置110)の有する一部又は全部の処理部が、コンピュータにより実現されてもよい。本実施形態では、上述の各実施形態に係る処理の少なくとも一部がコンピュータにより実行される。
[Embodiment 4]
In the above-described embodiments, each processing unit shown in, for example, FIG. 1 is realized by dedicated hardware, such as a camera serving as an information processing device, as described above. However, some or all of the processing units of the imaging device 100 (and the client device 110) may be realized by a computer. In this embodiment, at least some of the processing according to each of the above-described embodiments is executed by a computer.

図15はコンピュータの基本構成を示す図である。図15においてプロセッサ1501は、例えばCPUであり、コンピュータ全体の動作をコントロールする。メモリ1502は、例えばRAMであり、プログラム及びデータ等を一時的に記憶する。コンピュータが読み取り可能な記憶媒体1503は、例えばハードディスク又はCD-ROM等であり、プログラム及びデータ等を長期的に記憶する。本実施形態においては、記憶媒体1503が格納している、各部の機能を実現するプログラムが、メモリ1502へと読み出される。そして、プロセッサ1501が、メモリ1502上のプログラムに従って動作することにより、各部の機能が実現される。 Figure 15 is a diagram showing the basic configuration of a computer. In Figure 15, processor 1501 is, for example, a CPU, and controls the operation of the entire computer. Memory 1502 is, for example, RAM, and temporarily stores programs, data, etc. Computer-readable storage medium 1503 is, for example, a hard disk or CD-ROM, and stores programs, data, etc. long-term. In this embodiment, programs that realize the functions of each unit, stored in storage medium 1503, are read into memory 1502. Then, the functions of each unit are realized by processor 1501 operating in accordance with the programs on memory 1502.

図15において、入力インタフェース1504は外部の装置から情報を取得するためのインタフェースである。入力インタフェース1504は、クライアント装置110が撮像装置100の外部の装置である場合に、クライアント装置110からユーザによって入力された情報を取得してもよい。また、出力インタフェース1505は外部の装置へと情報を出力するためのインタフェースである。バス1506は、上述の各部を接続し、データのやりとりを可能とする。 In FIG. 15, input interface 1504 is an interface for acquiring information from an external device. If the client device 110 is an external device to the imaging device 100, the input interface 1504 may acquire information input by a user from the client device 110. Furthermore, output interface 1505 is an interface for outputting information to an external device. Bus 1506 connects the above-mentioned components and enables data exchange.

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

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

100:撮像装置、101:撮像素子部、102:レンズ、103:映像処理部、104:出力部、105:演算部、106:レンズ制御部、107:条件設定部、108:入力部、110:クライアント装置、111:入力部、112:表示部、113:操作部、114:入力部 100: Imaging device, 101: Imaging element, 102: Lens, 103: Image processing unit, 104: Output unit, 105: Calculation unit, 106: Lens control unit, 107: Condition setting unit, 108: Input unit, 110: Client device, 111: Input unit, 112: Display unit, 113: Operation unit, 114: Input unit

Claims (18)

イメージセンサの受光面の部分領域ごとに露出の条件を設定することが可能な撮像装置のオートフォーカスを行う情報処理装置であって、An information processing device that performs autofocusing of an imaging device that can set exposure conditions for each partial area of a light receiving surface of an image sensor,
前記受光面に、第1の露出の条件で撮像を行う第1の部分領域と、前記第1の部分領域と隣接する、前記第1の露出の条件とは異なる第2の露出の条件で撮像を行う第2の部分領域と、を設定する第1の設定手段と、a first setting means for setting, on the light receiving surface, a first partial area for which an image is captured under a first exposure condition, and a second partial area adjacent to the first partial area for which an image is captured under a second exposure condition different from the first exposure condition;
前記第1の部分領域と前記第2の部分領域との境界部である露出段差を含まない第3の部分領域を、前記オートフォーカスに用いる領域として設定する第2の設定手段と、a second setting means for setting a third partial area that does not include an exposure step that is a boundary between the first partial area and the second partial area as an area to be used for autofocus;
前記第3の部分領域の画像信号に基づく画像のコントラストに応じて、前記撮像装置のオートフォーカスを制御する制御手段と、a control unit that controls autofocus of the imaging device in accordance with the contrast of an image based on the image signal of the third partial region;
前記撮像装置による撮像画像内の被写体を追尾する追尾手段と、を備え、a tracking means for tracking a subject in an image captured by the imaging device,
前記第2の設定手段は、前記第3の部分領域を、前記受光面の前記被写体の領域から設定し、the second setting means sets the third partial area from an area of the subject on the light receiving surface;
前記第2の設定手段は、前記被写体が前記露出段差上に位置する場合に、前記第3の部分領域を、前記第1の部分領域と前記第2の部分領域とのうち、前記被写体が前記露出段差上に移動する直前に位置していた部分領域から設定することを特徴とする、情報処理装置。The information processing device is characterized in that, when the subject is located on the exposure step, the second setting means sets the third partial area from the partial area, of the first partial area and the second partial area, in which the subject was located immediately before moving onto the exposure step.
前記第1の露出の条件及び第2の露出の条件が、露出時間又はゲインの値であり、
前記第1の露出の条件と前記第2の露出の条件との差が所定の閾値以上であることを特徴とする、請求項1に記載の情報処理装置。
the first exposure condition and the second exposure condition are exposure time or gain value,
The information processing apparatus according to claim 1 , wherein a difference between the first exposure condition and the second exposure condition is equal to or greater than a predetermined threshold value.
前記オートフォーカスに用いる領域を指定するユーザ入力を取得する第1の取得手段をさらに備え、
前記第2の設定手段は、前記露出段差を含まない前記第3の部分領域を、前記ユーザ入力に基づいて設定することを特徴とする、請求項1又は2に記載の情報処理装置。
a first acquisition means for acquiring a user input specifying an area to be used for the autofocus;
3. The information processing apparatus according to claim 1, wherein the second setting means sets the third partial region that does not include the exposure step based on the user input.
前記第2の設定手段は、前記ユーザ入力により、前記受光面において前記露出段差を含む第4の部分領域が指定されている場合に、前記露出段差が領域内に含まれないように前記第4の部分領域を補正した領域を、前記第3の部分領域として設定することを特徴とする、請求項3に記載の情報処理装置。 The information processing device described in claim 3, characterized in that, when a fourth partial area including the exposure step on the light receiving surface is specified by the user input, the second setting means corrects the fourth partial area so that the exposure step is not included within the area and sets the area as the third partial area. 前記第2の設定手段は、前記第4の部分領域と前記第1の部分領域との重複する領域と、前記第4の部分領域と前記第2の部分領域との重複する領域とのうち、所定の面積を超える領域が存在する場合に、前記所定の面積を超える領域を前記第3の部分領域として設定することを特徴とする、請求項4に記載の情報処理装置。 The information processing device of claim 4, wherein the second setting means, when there is an area between the overlapping area of the fourth partial area and the first partial area and the overlapping area of the fourth partial area and the second partial area that exceeds a predetermined area, sets the area that exceeds the predetermined area as the third partial area. 前記第2の設定手段は、前記第4の部分領域と前記第1の部分領域との重複する領域と、前記第4の部分領域と前記第2の部分領域との重複する領域とのうち、より面積の大きい領域を前記第3の部分領域として設定することを特徴とする、請求項4又は5に記載の情報処理装置。 The information processing device described in claim 4 or 5, characterized in that the second setting means sets the larger area of the overlapping area between the fourth partial area and the first partial area and the overlapping area between the fourth partial area and the second partial area as the third partial area. 前記第2の設定手段は、前記第4の部分領域と前記第1の部分領域との重複する領域と、前記第4の部分領域と前記第2の部分領域との重複する領域とのうち、ゲインの量が所定の閾値よりも小さい領域が存在する場合に、前記ゲインの量が前記所定の閾値よりも小さい領域を前記第3の部分領域として設定することを特徴とする、請求項4に記載の情報処理装置。 The information processing device of claim 4, wherein the second setting means, when there is an area in which the gain amount is smaller than a predetermined threshold value among the overlapping area between the fourth partial area and the first partial area and the overlapping area between the fourth partial area and the second partial area, sets the area in which the gain amount is smaller than the predetermined threshold value as the third partial area. 前記第2の設定手段は、前記第4の部分領域と前記第1の部分領域との重複する領域と、前記第4の部分領域と前記第2の部分領域との重複する領域とのうち、ゲインの量がより小さい領域を前記第3の部分領域として設定することを特徴とする、請求項4又は7に記載の情報処理装置。 The information processing device described in claim 4 or 7, characterized in that the second setting means sets, as the third partial region, the region where the amount of gain is smaller between the overlapping region between the fourth partial region and the first partial region and the overlapping region between the fourth partial region and the second partial region. 前記オートフォーカスに用いる領域を、前記第3の部分領域から拡大するユーザの指示を取得する第2の取得手段をさらに備え、
前記制御手段は、前記第2の取得手段が取得したユーザの指示に基づいて前記第3の部分領域から拡大された前記受光面の第5の部分領域の、画像信号に基づく画像のコントラストに応じて、前記撮像装置のオートフォーカスを制御することを特徴とする、請求項1乃至8の何れか一項に記載の情報処理装置。
a second acquisition means for acquiring a user's instruction to enlarge the area used for the autofocus from the third partial area;
9. The information processing device according to claim 1, wherein the control means controls the autofocus of the imaging device in accordance with the contrast of an image based on an image signal of a fifth partial area of the light receiving surface expanded from the third partial area based on a user instruction acquired by the second acquisition means.
前記オートフォーカスに用いる領域を指定するユーザ入力を取得する第3の取得手段をさらに備え、
前記制御手段は、前記第3の取得手段が取得したユーザ入力により、前記受光面において前記露出段差を含む第6の部分領域が指定されている場合に、前記第6の部分領域の全域にわたって露出の条件を均一に設定した場合の前記第6の部分領域の画像信号に基づく画像のコントラストに基づいて、前記撮像装置のオートフォーカスを制御することを特徴とする、請求項1又は2に記載の情報処理装置。
a third acquisition means for acquiring a user input specifying an area to be used for the autofocus;
3. The information processing device according to claim 1, wherein the control means controls the autofocus of the imaging device based on the contrast of an image based on an image signal of the sixth partial area when exposure conditions are set uniformly across the entire sixth partial area when a sixth partial area including the exposure step is specified on the light receiving surface by user input acquired by the third acquisition means.
前記第2の設定手段は、前記オートフォーカスに用いる領域として、前記第3の部分領域とは異なる、前記露出段差を含まない前記受光面の第7の部分領域をさらに設定し、
前記制御手段は、前記第3の部分領域の画像信号に基づく画像のコントラストと、前記第7の部分領域の画像信号に基づく画像のコントラストと、に応じて、前記撮像装置のオートフォーカスを制御することを特徴とする、請求項1乃至10の何れか一項に記載の情報処理装置。
the second setting means further sets a seventh partial area of the light receiving surface, which is different from the third partial area and does not include the exposure step, as the area to be used for the autofocus;
11. The information processing device according to claim 1, wherein the control means controls autofocus of the imaging device in accordance with the contrast of an image based on the image signal of the third partial region and the contrast of an image based on the image signal of the seventh partial region.
前記制御手段は、前記第3の部分領域の画像信号に基づく画像のコントラストの評価値と、前記第7の部分領域の画像信号に基づく画像のコントラストの評価値と、の平均値が最大となるように、前記撮像装置のレンズの位置を調整することにより、前記撮像装置のオートフォーカスを制御することを特徴とする、請求項11に記載の情報処理装置。 The information processing device described in claim 11, characterized in that the control means controls the autofocus of the imaging device by adjusting the position of the lens of the imaging device so as to maximize the average value of the evaluation value of the contrast of the image based on the image signal of the third partial region and the evaluation value of the contrast of the image based on the image signal of the seventh partial region. 前記撮像装置による撮像画像内の被写体を追尾する追尾手段をさらに備え、
前記第2の設定手段は、前記第3の部分領域を、前記受光面の前記被写体の領域から設定することを特徴とする、請求項1又は2に記載の情報処理装置。
a tracking unit configured to track a subject in an image captured by the imaging device;
3. The information processing apparatus according to claim 1, wherein the second setting means sets the third partial area from an area of the subject on the light receiving surface.
イメージセンサの受光面の部分領域ごとに露出の条件を設定することが可能な撮像装置のオートフォーカスを行う情報処理装置であって、
前記受光面に、第1の露出の条件で撮像を行う第1の部分領域と、前記第1の部分領域と隣接する、前記第1の露出の条件とは異なる第2の露出の条件で撮像を行う第2の部分領域と、を設定する第1の設定手段と、
前記第1の部分領域と前記第2の部分領域との境界部である露出段差を含まない第3の部分領域を、前記オートフォーカスに用いる領域として設定する第2の設定手段と、
前記第3の部分領域の画像信号に基づく画像のコントラストに応じて、前記撮像装置のオートフォーカスを制御する制御手段と、
前記撮像装置による撮像画像内の被写体を追尾する追尾手段と、
前記被写体が前記露出段差上に位置する場合に、前記第1の部分領域と前記第2の部分領域とのうちから、前記被写体が次に移動する部分領域を推定する推定手段と、を備え、
前記第2の設定手段は、前記第3の部分領域を、前記受光面の前記被写体の領域から設定し、前記推定手段によって推定された、前記被写体が次に移動する部分領域から前記第3の部分領域を設定することを特徴とする、情報処理装置。
An information processing device that performs autofocusing of an imaging device that can set exposure conditions for each partial area of a light receiving surface of an image sensor,
a first setting means for setting, on the light receiving surface, a first partial area for which an image is captured under a first exposure condition, and a second partial area adjacent to the first partial area for which an image is captured under a second exposure condition different from the first exposure condition;
a second setting means for setting a third partial area that does not include an exposure step that is a boundary between the first partial area and the second partial area as an area to be used for autofocus;
a control unit that controls autofocus of the imaging device in accordance with the contrast of an image based on the image signal of the third partial region;
a tracking means for tracking a subject in an image captured by the imaging device;
an estimation means for estimating a partial region to which the subject will next move from the first partial region and the second partial region when the subject is located on the exposure step,
an information processing device, characterized in that the second setting means sets the third partial area from the area of the subject on the light receiving surface, and sets the third partial area from the partial area to which the subject will next move, estimated by the estimation means.
前記第2の設定手段は、前記第1の部分領域と前記第2の部分領域とのうちの、前記被写体が前記露出段差上に移動する直前に位置していた部分領域から、前記第3の部分領域とは異なる、前記露出段差を含まない前記受光面の第8の部分領域をさらに設定し、
前記制御手段は、前記第3の部分領域の画像信号に基づく画像のコントラストと、前記第8の部分領域の画像信号に基づく画像のコントラストと、に応じて、前記撮像装置のオートフォーカスを制御することを特徴とする、請求項14に記載の情報処理装置。
the second setting means further sets an eighth partial area of the light receiving surface, which is different from the third partial area and does not include the exposure step, from a partial area of the first partial area and the second partial area where the subject was located immediately before moving onto the exposure step;
15. The information processing device according to claim 14, wherein the control means controls autofocus of the imaging device in accordance with the contrast of an image based on the image signal of the third partial region and the contrast of an image based on the image signal of the eighth partial region.
前記情報処理装置は、前記撮像装置に内蔵されていることを特徴とする、請求項1乃至15の何れか一項に記載の情報処理装置。 The information processing device according to claim 1 , wherein the information processing device is built into the imaging device. イメージセンサの受光面の部分領域ごとに露出の条件を設定することが可能な撮像装置のオートフォーカスを行う情報処理方法であって、An information processing method for performing autofocusing on an imaging device capable of setting exposure conditions for each partial area of a light receiving surface of an image sensor, comprising:
前記受光面に、第1の露出の条件で撮像を行う第1の部分領域と、前記第1の部分領域と隣接する、前記第1の露出の条件とは異なる第2の露出の条件で撮像を行う第2の部分領域と、を設定する工程と、setting, on the light receiving surface, a first partial area in which an image is captured under a first exposure condition, and a second partial area adjacent to the first partial area in which an image is captured under a second exposure condition different from the first exposure condition;
前記第1の部分領域と前記第2の部分領域との境界部である露出段差を含まない第3の部分領域を、前記オートフォーカスに用いる領域として設定する工程と、setting a third partial area that does not include an exposure step that is a boundary between the first partial area and the second partial area as an area to be used for autofocus;
前記第3の部分領域の画像信号に基づく画像のコントラストに応じて、前記撮像装置のオートフォーカスを制御する工程と、controlling autofocus of the imaging device in accordance with the contrast of an image based on the image signal of the third partial region;
前記撮像装置による撮像画像内の被写体を追尾する工程と、を備え、and tracking a subject in an image captured by the imaging device,
前記第3の部分領域は、前記受光面の前記被写体の領域から設定され、the third partial area is set from an area of the subject on the light receiving surface,
前記第3の部分領域は、前記被写体が前記露出段差上に位置する場合に、前記第1の部分領域と前記第2の部分領域とのうち、前記被写体が前記露出段差上に移動する直前に位置していた部分領域から設定されることを特徴とする、情報処理方法。An information processing method characterized in that, when the subject is located on the exposure step, the third partial area is set from the partial area between the first partial area and the second partial area in which the subject was located immediately before moving onto the exposure step.
コンピュータを、請求項1乃至16の何れか一項に記載の情報処理装置の各手段として機能させるためのプログラム。 A program for causing a computer to function as each of the means of the information processing device according to any one of claims 1 to 16 .
JP2021091808A 2021-05-31 2021-05-31 Information processing device, information processing method, and program Active JP7765200B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021091808A JP7765200B2 (en) 2021-05-31 2021-05-31 Information processing device, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021091808A JP7765200B2 (en) 2021-05-31 2021-05-31 Information processing device, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2022184137A JP2022184137A (en) 2022-12-13
JP7765200B2 true JP7765200B2 (en) 2025-11-06

Family

ID=84437296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021091808A Active JP7765200B2 (en) 2021-05-31 2021-05-31 Information processing device, information processing method, and program

Country Status (1)

Country Link
JP (1) JP7765200B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012118192A (en) 2010-11-30 2012-06-21 Canon Inc Imaging device
JP2016109766A (en) 2014-12-03 2016-06-20 キヤノン株式会社 Imaging device
WO2017057292A1 (en) 2015-09-30 2017-04-06 株式会社ニコン Imaging device and image processing device
WO2017170716A1 (en) 2016-03-31 2017-10-05 株式会社ニコン Image pickup device, image processing device, and electronic apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012118192A (en) 2010-11-30 2012-06-21 Canon Inc Imaging device
JP2016109766A (en) 2014-12-03 2016-06-20 キヤノン株式会社 Imaging device
WO2017057292A1 (en) 2015-09-30 2017-04-06 株式会社ニコン Imaging device and image processing device
WO2017170716A1 (en) 2016-03-31 2017-10-05 株式会社ニコン Image pickup device, image processing device, and electronic apparatus

Also Published As

Publication number Publication date
JP2022184137A (en) 2022-12-13

Similar Documents

Publication Publication Date Title
US10291854B2 (en) Image capture apparatus and method of controlling the same
US10200590B2 (en) Image pickup apparatus and method of controlling the same
US10542206B2 (en) Image processing apparatus, capable of independently displaying gazing region information and main object information to the user, imaging apparatus, and control method
US9832361B2 (en) Imaging apparatus capable of accurately focusing an object intended by a user and method of controlling imaging apparatus
US10044943B2 (en) Display control apparatus, display controlling method, and program, for enlarging and displaying part of image around focus detection area
US11343423B2 (en) Focus adjustment apparatus, image capturing apparatus, focus adjustment method, and storage medium
KR102121528B1 (en) Photographing apparatus and method
US11812133B2 (en) Image processing apparatus and method for controlling image processing apparatus
US10694093B2 (en) Image processing apparatus, image capturing apparatus, image processing method, and storage medium
US10368012B2 (en) Image capture apparatus, image processing system, and control method thereof
JP6354385B2 (en) Display device, display method, and program
JP7765200B2 (en) Information processing device, information processing method, and program
US11778321B2 (en) Image capturing apparatus capable of performing omnifocal photographing, method of controlling same, and storage medium
US11233931B2 (en) Image processing device, imaging device, control method for image processing device, and recording medium
US20240414429A1 (en) Video processing apparatus and method, image capturing apparatus, video distribution system, and storage medium
US11622172B2 (en) Image capture apparatus and control method for a display control of a lens brightness
JP2017011351A (en) Imaging device, control method thereof, and control program
JP2017204787A (en) Image processing apparatus, control method thereof, imaging apparatus, and program
US12526513B2 (en) Imaging device, control method for controlling imaging device, and storage medium
US12501146B2 (en) Image processing apparatus, image capturing apparatus, control method of image processing apparatus, and storage medium
US20250310651A1 (en) Image capturing apparatus capable of acquiring image balanced in light portions and dark portions, method of controlling image capturing apparatus, and storage medium
US20260095641A1 (en) Image pickup apparatus capable of suppressing time lag until photographing, control method for image pickup apparatus, and storage medium
JP5338248B2 (en) Image processing apparatus, electronic camera, and image processing program
JP7098419B2 (en) Imaging device and its control method, program
US20210243379A1 (en) Image processing device, control method thereof, imaging device, and recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240529

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20250319

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250328

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250527

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20250609

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250909

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20251024

R150 Certificate of patent or registration of utility model

Ref document number: 7765200

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150