JP5917142B2 - Imaging apparatus, control method therefor, and program - Google Patents

Imaging apparatus, control method therefor, and program Download PDF

Info

Publication number
JP5917142B2
JP5917142B2 JP2011288269A JP2011288269A JP5917142B2 JP 5917142 B2 JP5917142 B2 JP 5917142B2 JP 2011288269 A JP2011288269 A JP 2011288269A JP 2011288269 A JP2011288269 A JP 2011288269A JP 5917142 B2 JP5917142 B2 JP 5917142B2
Authority
JP
Japan
Prior art keywords
image
region
background
subject
brightness
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.)
Expired - Fee Related
Application number
JP2011288269A
Other languages
Japanese (ja)
Other versions
JP2013138336A (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 JP2011288269A priority Critical patent/JP5917142B2/en
Publication of JP2013138336A publication Critical patent/JP2013138336A/en
Application granted granted Critical
Publication of JP5917142B2 publication Critical patent/JP5917142B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)

Description

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

従来より、逆光シーンなど被写体が暗くなるシーンでは、ストロボ発光や露出をオーバー方向に補正するようにして、被写体の明るさを適正にする露出補正機能が知られている。   2. Description of the Related Art Conventionally, an exposure correction function that corrects the flash emission and exposure in the over direction in a scene where the subject becomes dark, such as a backlight scene, has been known to make the brightness of the subject appropriate.

一方、乳幼児などの光の刺激に対して敏感な被写体に対してストロボ発光を行うことは好ましくない。そこで、ストロボを非発光にし、ストロボ発光時よりも露出補正量を大きくして補正を実施することで、被写体の明るさを適正に近づけることが可能となる。   On the other hand, it is not preferable to perform strobe light emission on a subject sensitive to light stimulation such as an infant. Therefore, the brightness of the subject can be brought close to an appropriate level by setting the exposure correction amount to be larger than that at the time of strobe light emission, by making the strobe non-light-emitting.

この場合、単に露出をオーバーにするだけでは、逆光シーンにおける背景部分など、被写体が明るい領域が、より明るくなり白飛びしやすくなる弊害がある。   In this case, simply overexposure has a problem that an area where the subject is bright, such as a background portion in a backlight scene, becomes brighter and more likely to be overexposed.

そこで、人物被写体と背景の輝度から撮影シーンが逆光であるか否かを検出する撮像装置において、背景の輝度を見て、背景が白飛びせず、かつ、人物被写体が可能な限り明るくなるよう露出補正を行う方法が開示されている(例えば、特許文献1参照)。   Therefore, in an imaging device that detects whether or not a shooting scene is backlit from the brightness of the person subject and the background, the background brightness is checked so that the background does not fly out and the person subject is as bright as possible. A method of performing exposure correction is disclosed (for example, see Patent Document 1).

特開2010−283593号公報JP 2010-283593 A

しかしながら、白い壁を背景として被写体を撮影する場合など、撮影シーンによっては必ずしも背景の白飛びを抑制する必要がないことがある。   However, when shooting a subject with a white wall as a background, it may not always be necessary to suppress white background blur depending on the shooting scene.

特許文献1に開示された従来技術では、白飛びを抑制する必要のないシーンにおいても、白飛びしないように露出補正量を小さくし、人物被写体が所望の明るさよりも暗くなる可能性がある。   In the prior art disclosed in Patent Document 1, even in a scene where it is not necessary to suppress overexposure, the exposure correction amount may be reduced so that overexposure does not occur, and the human subject may become darker than desired.

本発明の目的は、適正な露出制御が可能な撮像装置及びその制御方法、並びにプログラムを提供することにある。   An object of the present invention is to provide an imaging apparatus capable of appropriate exposure control, a control method thereof, and a program.

上記目的を達成するために、請求項1の撮像装置は、被写体を示す画像信号を取得する取得手段と、前記取得手段により取得された画像信号に示される画像における主被写体を示す領域を検出する検出手段と、前記検出手段により検出された領域を用いて、前記画像を主被写体領域及び1つ以上の背景領域に分割する分割手段と、前記分割手段により分割された背景領域における彩度または輝度を用いて、白飛び許容しないシーンであるか否かを判定する判定手段と、前記判定手段により、白飛び許容しないシーンであると判定されたときであって前記分割手段が前記画像を2つ以上の背景領域に分割した場合に、隣接する背景領域同士の輝度が、飽和輝度を下回るように露出補正量を決定する決定手段とを備えたことを特徴とする。 To achieve the above object, an imaging apparatus according to claim 1, detects an area indicating an acquisition unit for acquiring an image signal representing a subject, the main object in the image shown in the image signal acquired by the acquisition unit using a detection means, the area detected by the previous SL detecting means, dividing means for dividing the image into the main subject region and one or more background regions, the saturation in the background regions divided by the dividing means or using the luminance, whiteout judging means for judging whether a scene that does not permit, the by determination means, white the dividing means effected even if it is determined that the scene that does not permit skipping said image the when divided into two or more background areas, the brightness of the background region between you adjacent, characterized by comprising determination means for determining the exposure compensation amount to be below the saturation intensity.

本発明によれば、適正な露出制御が可能な撮像装置及びその制御方法、並びにプログラムを提供することができる。   According to the present invention, it is possible to provide an imaging apparatus capable of appropriate exposure control, a control method therefor, and a program.

本発明の実施の形態に係る撮像装置の概略構成を示す図である。1 is a diagram illustrating a schematic configuration of an imaging apparatus according to an embodiment of the present invention. 図1における露出補正量算出処理部により実行される露出補正量算出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the exposure correction amount calculation process performed by the exposure correction amount calculation process part in FIG. 図1における白飛び許容判定部により実行される白飛び許容判定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the white-out permission determination process performed by the white-out permission determination part in FIG. 図1における露出補正量変更部により、白飛び許容しない場合に実行される露出補正量変更処理の手順を示すフローチャートである。3 is a flowchart showing a procedure of exposure correction amount changing processing executed when whiteout is not permitted by the exposure correction amount changing unit in FIG. 1.

以下、本発明の実施の形態について図面を参照しながら詳述する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の実施の形態に係る撮像装置100の概略構成を示す図である。   FIG. 1 is a diagram illustrating a schematic configuration of an imaging apparatus 100 according to an embodiment of the present invention.

図1において、画像信号取得部101(取得手段)は、被写体を示す画像信号であるデジタル画像信号を取得する。このデジタル画像信号は以下のようにして取得される。   In FIG. 1, an image signal acquisition unit 101 (acquisition means) acquires a digital image signal that is an image signal indicating a subject. This digital image signal is acquired as follows.

まず、レンズ等で構成される光学部(不図示)を介して入射される光を受け、撮像素子部(不図示)で光量に応じた電荷によるアナログ画像信号が出力される。そして、A/D変換部(不図示)で撮像素子部から出力されたアナログ画像信号に対して、サンプリング、ゲイン調整、A/D変換等を実施することで、デジタル画像信号が得られる。このデジタル画像信号が、画像信号取得部101に入力されることで、画像信号取得部101は画像信号を取得する。   First, an incident light is received through an optical unit (not shown) composed of a lens or the like, and an analog image signal with an electric charge corresponding to the amount of light is output from an image sensor unit (not shown). Then, a digital image signal is obtained by performing sampling, gain adjustment, A / D conversion, and the like on the analog image signal output from the imaging element unit by an A / D conversion unit (not shown). When this digital image signal is input to the image signal acquisition unit 101, the image signal acquisition unit 101 acquires the image signal.

画像信号取得部101により取得されたデジタル画像信号は、画像処理部(不図示)により、各種の画像処理が実施されたのち、YUV画像信号に変換されて被写体検出部102に出力される。以下の説明では、画像信号取得部101から出力される信号を、単に画像信号と表現する。   The digital image signal acquired by the image signal acquisition unit 101 is subjected to various types of image processing by an image processing unit (not shown), and then converted into a YUV image signal and output to the subject detection unit 102. In the following description, a signal output from the image signal acquisition unit 101 is simply expressed as an image signal.

被写体検出部102(検出手段)は、画像における主被写体を示す領域を検出する。例えば、画像信号が示す画像内の色情報やコントラスト等によって、顔領域を主被写体を示す領域として検出する。   The subject detection unit 102 (detection means) detects an area indicating the main subject in the image. For example, the face area is detected as an area indicating the main subject based on color information or contrast in the image indicated by the image signal.

露出補正量算出部103(算出手段)は、画像信号取得部101により取得された画像信号に示される画像における輝度を用いて露出補正量を算出する。この露出補正量の算出には、画像内の輝度分布や被写体検出部102で検出された被写体領域の輝度値が使用される。   The exposure correction amount calculation unit 103 (calculation unit) calculates the exposure correction amount using the luminance in the image indicated by the image signal acquired by the image signal acquisition unit 101. In calculating the exposure correction amount, the luminance distribution in the image and the luminance value of the subject area detected by the subject detection unit 102 are used.

例えば、露出補正量算出部103は、顔検出機能によって検出された顔領域を適正輝度に近づけるように露出補正量の算出を行う。その際に、画像全体に占める主被写体の大きさに応じて露出補正量を算出しても良い。   For example, the exposure correction amount calculation unit 103 calculates the exposure correction amount so that the face area detected by the face detection function approaches the appropriate luminance. At that time, the exposure correction amount may be calculated according to the size of the main subject in the entire image.

この場合、露出補正量算出部103は、主被写体が画像に占める割合が大きいほど、主被写体を優先した撮影であるとみなし、主被写体をより適正に近づけるよう露出補正量を大きくする。   In this case, the exposure correction amount calculation unit 103 considers the main subject to be taken with priority as the proportion of the main subject in the image increases, and increases the exposure correction amount so that the main subject is more appropriately brought closer.

また、顔領域の画像をもとに特定された人物によっても補正量を変えてもよい。例えば、露出補正量算出部103は、逆光シーンにおいて乳幼児などの光の刺激に対して敏感な被写体を撮影することを撮影前に把握できれば、ストロボを非発光とし、代わりに露出補正量を大きくする。   Further, the correction amount may be changed depending on the person specified based on the face area image. For example, if the exposure correction amount calculation unit 103 can grasp before photographing that a subject sensitive to light stimulation such as an infant in a backlight scene is taken, the strobe is not emitted and the exposure correction amount is increased instead. .

一方、ストロボ発光による影響が小さい被写体であると特定されれば、ストロボを発光し、代わりに露出補正量を小さくする。   On the other hand, if it is determined that the subject is less affected by the flash emission, the flash is emitted and the exposure correction amount is reduced instead.

白飛び許容判定部104(分割手段、判定手段)は、被写体検出部102により検出された領域を用いて、画像を主被写体領域及び1つ以上の背景領域に分割する。そして、分割された背景領域における彩度または輝度を用いて、画像が白飛びが許容不可能な画像であるか否かを判定する。   The whitening allowance determination unit 104 (dividing unit, determination unit) divides an image into a main subject region and one or more background regions using the region detected by the subject detection unit 102. Then, using the saturation or luminance in the divided background region, it is determined whether or not the image is an image in which whiteout is unacceptable.

例えば、白飛び許容判定部104は、被写体が暗い一方で背景に白い壁など無彩色の領域が多く存在するシーンならば白飛びを許容しやすくし、背景に有彩色領域が多く存在すれば白飛びを許容しづらくする。   For example, the whitening allowance determination unit 104 makes it easy to allow whiteout in a scene where the subject is dark but there are many achromatic areas such as white walls in the background, and whiteout if there are many chromatic areas in the background. It is difficult to tolerate flying.

また、白飛び許容判定部104は、画像内の隣接する背景領域間の境界線が露出補正によって目立たなくなるようなシーンならば、白飛びを許容しづらくする。画像内の隣接する背景領域とは、例えば屋外の建物領域とそれに接する空領域を指す。境界線が目立たなくなるかどうかの判定には、例えば隣接する背景領域の輝度値を使用する。   In addition, the whiteout allowance determining unit 104 makes it difficult to allow whiteout if the scene is such that the boundary line between adjacent background regions in the image is not noticeable by exposure correction. The adjacent background area in the image refers to, for example, an outdoor building area and an empty area in contact therewith. For example, the brightness value of the adjacent background region is used to determine whether or not the boundary line becomes inconspicuous.

逆光シーンにおいて露出をオーバー方向に補正することで空領域の輝度が飽和した場合、さらに露出をオーバー方向に補正すると、建物領域のみ輝度値が高くなることから、輝度差が小さくなる。そうすると、建物領域と空領域の境界線が目立ちにくくなってしまう為、このようなシーンでは白飛びを許容しづらくする。   When the brightness of the sky area is saturated by correcting the exposure in the backlight scene, if the exposure is further corrected in the over direction, the brightness value is increased only in the building area, and the brightness difference is reduced. Then, the boundary line between the building area and the sky area becomes inconspicuous, and it is difficult to allow overexposure in such a scene.

露出補正量変更部105(変更手段)は、白飛び許容判定部104により、画像が白飛びが許容不可能な画像と判定されたとき、隣接する背景領域における輝度が、飽和輝度を下回るように露出補正量算出部103により算出された露出補正量を変更する。   The exposure correction amount changing unit 105 (changing unit) adjusts the luminance in the adjacent background region to be lower than the saturation luminance when the whiteout allowable determination unit 104 determines that the image is an image in which whiteout is not allowable. The exposure correction amount calculated by the exposure correction amount calculation unit 103 is changed.

例えば、露出補正によって隣接する背景領域の境界線が目立たなくなるようなシーンならば、隣接する背景領域のうち輝度値の高い領域の輝度値が飽和しない範囲までしか露出補正を行わないようにする。   For example, in a scene in which the boundary line between adjacent background areas is not noticeable due to exposure correction, exposure correction is performed only to a range where the luminance value of a high luminance value area in the adjacent background areas is not saturated.

露出補正量出力部106は、露出補正量算出部103により算出され、露出補正量変更部105により必要に応じて変更された露出補正量を出力する。出力された露出補正量に応じて、露出機構を制御する処理を行う。以上説明した構成により、シーンに応じた適正な露出補正量を決定することが可能となる。   The exposure correction amount output unit 106 outputs the exposure correction amount calculated by the exposure correction amount calculation unit 103 and changed as necessary by the exposure correction amount change unit 105. A process for controlling the exposure mechanism is performed in accordance with the output exposure correction amount. With the configuration described above, it is possible to determine an appropriate exposure correction amount according to the scene.

図2は、図1における露出補正量算出部103により実行される露出補正量算出処理の流れを示すフローチャートである。   FIG. 2 is a flowchart showing the flow of exposure correction amount calculation processing executed by the exposure correction amount calculation unit 103 in FIG.

図2において、まず輝度ターゲットを設定する(ステップS201)。この輝度ターゲットは、例えば顔領域が適正輝度になるとみなす輝度や、画面全体が適正輝度になるとみなす輝度を示している。   In FIG. 2, first, a luminance target is set (step S201). This luminance target indicates, for example, the luminance that the face area is considered to have proper luminance or the luminance that the entire screen is considered to have proper luminance.

次いで、被写体検出部102により画像内に顔が検出されたか否か判別する(ステップS202)。   Next, it is determined whether or not a face is detected in the image by the subject detection unit 102 (step S202).

ステップS202の判別の結果、顔が検出されていないときは(ステップS202でNO)、ステップS204に進む。一方、顔が検出されたときは(ステップS202でYES)、顔を含む領域である顔領域の輝度を算出する(ステップS203)。この算出方法については後述する。   If the result of determination in step S202 is that a face has not been detected (NO in step S202), the process proceeds to step S204. On the other hand, when a face is detected (YES in step S202), the brightness of the face area that is an area including the face is calculated (step S203). This calculation method will be described later.

次いで、画像全体の輝度を算出する(ステップS204)。この算出方法については後述する。そして、算出された顔領域と画像全体との輝度を用いて、露出補正量を算出し(ステップS205)、本処理を終了する。   Next, the brightness of the entire image is calculated (step S204). This calculation method will be described later. Then, using the brightness of the calculated face area and the entire image, an exposure correction amount is calculated (step S205), and this process ends.

まず、ステップS201での輝度ターゲットについて、顔領域が適正輝度になるとみなす輝度ターゲットをYrefFaceとし、画面全体が適正輝度になるとみなす輝度ターゲットをYrefとする。   First, regarding the luminance target in step S201, a luminance target that assumes that the face area has appropriate luminance is YrefFace, and a luminance target that assumes that the entire screen has appropriate luminance is Yref.

次に、ステップS203の顔領域と画像全体との輝度の算出方法について説明する。この輝度の算出方法では、画像をM×Nの複数ブロックに分割し、各ブロックについて算出された平均輝度Y(m,n)(m=0〜M−1,n=0〜N−1)を使用する。   Next, a method of calculating the luminance between the face area and the entire image in step S203 will be described. In this luminance calculation method, an image is divided into a plurality of M × N blocks, and the average luminance Y (m, n) calculated for each block (m = 0 to M−1, n = 0 to N−1). Is used.

例えば、M=32,N=24とし、各ブロックのうち、顔領域に対応するブロックの平均輝度値YLFaceを顔領域の輝度として算出する。   For example, assuming that M = 32 and N = 24, the average luminance value YLFace of the block corresponding to the face area among the blocks is calculated as the luminance of the face area.

また、画像全体の輝度の算出方法には、測光重みW(m,n)(m=0〜M−1,n=0〜N−1)を使用する。   In addition, photometric weights W (m, n) (m = 0 to M−1, n = 0 to N−1) are used as a method for calculating the luminance of the entire image.

この測光重みを用いて、画像全体の輝度値YLAllを以下の式で算出する。
YLAll=(ΣY(m,n)×W(m,n))/ΣW(m,n)
上記Σは、m=0〜M−1,n=0〜N−1の和である。また、測光重みW(m,n)は、例えば画面中心に近づくほど大きい値にする。
Using this photometric weight, the luminance value YLAll of the entire image is calculated by the following equation.
YLAll = (ΣY (m, n) × W (m, n)) / ΣW (m, n)
Σ is the sum of m = 0 to M−1 and n = 0 to N−1. The photometric weight W (m, n) is set to a larger value as it approaches the center of the screen, for example.

こうして得られた顔領域の輝度YLFace、及び画像全体の輝度YLAllから、露出補正量を算出する。   The exposure correction amount is calculated from the brightness YLFace of the face area thus obtained and the brightness YLAAll of the entire image.

露出補正量の算出には、まず顔領域および画像全体の輝度ターゲットからの輝度の段数差を算出する。   In calculating the exposure correction amount, first, the difference in the number of steps from the luminance target of the face area and the entire image is calculated.

顔領域の適正輝度からの段数差DeltaBvFace、及び画像全体の適正輝度からの段数差DeltaBvAllを以下のように算出する。
DeltaBvFace=log(YLFace/YrefFace)
DeltaBvAll=log(YrefFace/Yref)
上記式の対数の底は2である。
A step number difference DeltaBvFace from the appropriate luminance of the face area and a step number difference DeltaBvAll from the appropriate luminance of the entire image are calculated as follows.
DeltaBvFace = log (YLFace / YrefFace)
DeltaBvAll = log (YrefFace / Yref)
The base of the logarithm of the above formula is 2.

次に、DeltaBvFaceとDeltaBvAllとの差分に応じて補正量を算出する。   Next, a correction amount is calculated according to the difference between DeltaBvFace and DeltaBvAll.

例えば、顔領域よりも背景領域の方が明るくなる逆光シーンのように、DeltaBvFace<DeltaBvAllとなる場合、まずDelta=|DeltaBvAll−DeltaBvFace|を算出する。   For example, when DeltaBvFace <DeltaBvAll, as in a backlight scene where the background area is brighter than the face area, Delta = | DeltaBvAll-DeltaBvFace | is first calculated.

Deltaが小さい場合、つまり、顔と背景との明るさの差が小さい場合には顔領域が適正になる露出補正量とする。   When Delta is small, that is, when the difference in brightness between the face and the background is small, the exposure correction amount is set so that the face area is appropriate.

一方、Deltaが大きい場合には、顔領域が適正になるまで露出補正を行うようにすると、補正量が大きくなり背景領域が白飛びしやすくなる可能性がある。   On the other hand, when Delta is large, if the exposure correction is performed until the face area becomes appropriate, the correction amount increases and the background area may be easily overexposed.

そこで、Deltaが大きくなるほど大きくなるような比例関係をもつTh_FaceUnderを用いる。   Therefore, Th_FaceUnder having a proportional relationship that increases as Delta increases is used.

そして、顔領域が適正よりもTh_FaceUnderだけ小さくなるように露出補正量を算出することで、顔領域を適正に近づけつつ、背景を白飛びしづらくすることが可能となる。   Then, by calculating the exposure correction amount so that the face area becomes smaller by Th_FaceUnder than appropriate, it becomes possible to make the background difficult to white out while appropriately approaching the face area.

また、Th_FaceUnderは、Deltaと比例関係にあるので、顔輝度が適正から大きく暗くなるほど、露出補正後の顔輝度も明るくなりすぎないようになり、背景の白飛びを抑えることが可能となる。   Further, since Th_FaceUnder is in a proportional relationship with Delta, the face brightness after exposure correction does not become too bright as the face brightness becomes much darker than appropriate, and it is possible to suppress overexposure of the background.

DeltaBvFace>DeltaBvAllとなるシーンでも、上述した方法と同様に顔や背景が白飛び、黒つぶれしないように露出補正量を算出する。   Even in a scene where DeltaBvFace> DeltaBvAll, the exposure correction amount is calculated so that the face and background are not overexposure and blackout is caused in the same manner as described above.

なお、顔領域の画像をもとに個人を特定し、特定した結果に応じてTh_FaceUnderの値を切り替えても良い。   An individual may be specified based on the face area image, and the value of Th_FaceUnder may be switched according to the specified result.

例えば、被写体に対して光を照射するストロボが備えられているとき、逆光シーンにおいて乳幼児などのストロボ発光が好ましくない人物が被写体であることがわかれば、ストロボ非発光で撮影する代わりに、Th_FaceUnderの値を小さくする。   For example, if a subject is equipped with a strobe that illuminates the light, and a person who does not want to emit strobe light such as an infant in a backlit scene is known to be the subject, instead of shooting without the strobe, Th_FaceUnder Decrease the value.

そうすることで、ストロボ非発光が好ましい被写体に対しては露出補正量を大きくして、被写体輝度をより適正に近づけることが可能となる。   By doing so, it is possible to increase the exposure correction amount and to bring the subject luminance closer to the subject more appropriately for a subject for which strobe non-emission is preferable.

このように、被写体検出部102により検出された主被写体を示す領域の画像が予め定められた被写体(乳児または幼児)を示す画像の場合には、ストロボによる照射を行わないようにする。そして、露出補正量算出部103は、予め定められた被写体ではない場合に算出する露出補正量よりも、露出補正量を大きく算出する。   As described above, when the image of the region indicating the main subject detected by the subject detection unit 102 is an image showing a predetermined subject (an infant or an infant), irradiation with a strobe is not performed. Then, the exposure correction amount calculation unit 103 calculates the exposure correction amount larger than the exposure correction amount calculated when the subject is not a predetermined subject.

また、被写体検出部102により検出された主被写体を示す領域の画像が予め定められた他の被写体を示す画像の場合には、ストロボによる照射を行うようにする。そして、露出補正量算出部103は、予め定められた被写体(乳児または幼児)の場合に算出する露出補正量よりも、露出補正量を小さく算出するようにしてもよい。なお、予め定められた他の被写体とは、ストロボを発光しても影響の小さい被写体である。   In addition, when the image of the area indicating the main subject detected by the subject detection unit 102 is an image indicating another predetermined subject, irradiation with a strobe is performed. Then, the exposure correction amount calculation unit 103 may calculate the exposure correction amount smaller than the exposure correction amount calculated in the case of a predetermined subject (infant or infant). It should be noted that the other predetermined subject is a subject that has little influence even when the flash is emitted.

さらに、顔領域が画像に占める割合が大きいほど、主被写体を優先した撮影であるとみなし、主被写体をより適正に近づけるようTh_FaceUnderの値を小さくして露出補正量を大きく算出するようにしてもよい。このように、露出補正量算出部103は、被写体検出部102により検出された主被写体を示す領域が画像で占める大きさに応じて前記露出補正量を算出する。   Further, as the ratio of the face area to the image increases, it is considered that the main subject is preferentially shot, and the value of Th_FaceUnder is decreased so that the main subject is more appropriately brought closer to the exposure correction amount. Good. As described above, the exposure correction amount calculation unit 103 calculates the exposure correction amount according to the size occupied by the area indicating the main subject detected by the subject detection unit 102.

以上の方法により、画像内の輝度情報をもとに、露出補正量を決定することが可能となる。   With the above method, it is possible to determine the exposure correction amount based on the luminance information in the image.

図3は、図1における白飛び許容判定部104により実行される白飛び許容判定処理の手順を示すフローチャートである。   FIG. 3 is a flowchart showing a procedure of the white-out permission determination process executed by the white-out permission determination unit 104 in FIG.

なお、この白飛び許容判定処理では、逆光シーンにおける白飛び許容判定について説明する。   In this whiteout allowance determination process, whiteout allowance determination in a backlight scene will be described.

図3において、まず画像をM×Nのブロックに分割する(ステップS301)。次いで、ループ変数n,mを0で初期化し(ステップS302)、各ブロックの特徴量を算出する(ステップS303)。この特徴量の算出については後述する。   In FIG. 3, first, the image is divided into M × N blocks (step S301). Next, the loop variables n and m are initialized with 0 (step S302), and the feature amount of each block is calculated (step S303). The calculation of the feature amount will be described later.

次いで、(n×M+m)番目のブロックと、そのブロックの上のブロック、及び左のブロックとの特徴量を比較する(ステップS304)。   Next, feature quantities of the (n × M + m) -th block, the block above the block, and the left block are compared (step S304).

(n×M+m)番目のブロックの特徴量と、上のブロックとの特徴量との差の絶対値が予め定められた閾値Th_same以内か否か判別する(ステップS305)。この閾値Th_sameは実験等により定めておく。   It is determined whether or not the absolute value of the difference between the feature value of the (n × M + m) -th block and the feature value of the upper block is within a predetermined threshold Th_same (step S305). This threshold value Th_same is determined by experiments or the like.

ステップS305の判別の結果、差の絶対値が予め定められた閾値Th_same以内ではないとき(ステップS305でNO)、ステップS307に進む。   As a result of the determination in step S305, when the absolute value of the difference is not within the predetermined threshold Th_same (NO in step S305), the process proceeds to step S307.

一方、ステップS305の判別の結果、差の絶対値が予め定められた閾値Th_same以内のとき(ステップS305でYES)、(n×M+m)番目のブロックは、上のブロックと同一グループとする(ステップS306)。   On the other hand, if the absolute value of the difference is within the predetermined threshold Th_same as a result of the determination in step S305 (YES in step S305), the (n × M + m) th block is set to the same group as the upper block (step S306).

次いで、(n×M+m)番目のブロックの特徴量と、左のブロックとの特徴量との差の絶対値が予め定められた閾値Th_same以内か否か判別する(ステップS307)。   Next, it is determined whether or not the absolute value of the difference between the feature value of the (n × M + m) th block and the feature value of the left block is within a predetermined threshold Th_same (step S307).

ステップS307の判別の結果、差の絶対値が予め定められた閾値Th_same以内ではないとき(ステップS307でNO)、ステップS309に進む。   As a result of the determination in step S307, when the absolute value of the difference is not within the predetermined threshold Th_same (NO in step S307), the process proceeds to step S309.

一方、ステップS307の判別の結果、差の絶対値が予め定められた閾値Th_same以内のとき(ステップS307でYES)、(n×M+m)番目のブロックは、左のブロックと同一グループとする(ステップS308)。   On the other hand, as a result of the determination in step S307, when the absolute value of the difference is within a predetermined threshold Th_name (YES in step S307), the (n × M + m) th block is set to the same group as the left block (step S308).

次いで、mを1だけ増分し(ステップS309)、mがM−1より大きいか否か判別する(ステップS310)。   Next, m is incremented by 1 (step S309), and it is determined whether m is larger than M-1 (step S310).

ステップS310の判別の結果、mがM−1以下のとき(ステップS310でNO)、上記ステップS304に進む。一方、mがM−1より大きいとき(ステップS310でYES)、mを0で初期化し、nを1だけ増分し(ステップS311)、nがN−1より大きいか否か判別する(ステップS312)。   If it is determined in step S310 that m is equal to or less than M-1 (NO in step S310), the process proceeds to step S304. On the other hand, when m is larger than M-1 (YES in step S310), m is initialized with 0, n is incremented by 1 (step S311), and it is determined whether n is larger than N-1 (step S312). ).

ステップS312の判別の結果、nがN−1以下のとき(ステップS312でNO)、上記ステップS304に進む。一方、nがN−1より大きいとき(ステップS312でYES)、グループごとに主被写体領域か背景領域かを判定する(ステップS313)。この判定方法については後述する。   As a result of the determination in step S312, when n is N−1 or less (NO in step S312), the process proceeds to step S304. On the other hand, when n is larger than N−1 (YES in step S312), it is determined for each group whether the main subject area or the background area (step S313). This determination method will be described later.

次いで、背景領域と判定されたグループのうち、面積がTh_Area_1以上、かつ平均彩度がTh_Chroma以上のグループが存在するか否か判別する(ステップS314)。ステップS314の判別の結果、肯定判別されたとき(ステップS314でYES)、白とびを許容しないことを判定し(ステップS316)、本処理を終了する。   Next, it is determined whether or not there is a group having an area greater than or equal to Th_Area_1 and an average saturation greater than or equal to Th_Chroma among the groups determined to be the background region (step S314). If the result of determination in step S314 is affirmative (YES in step S314), it is determined that overexposure is not permitted (step S316), and this process ends.

一方、ステップS314の判別の結果、否定判別されたとき(ステップS314でNO)、以下の処理行う。すなわち、背景領域と判定されたグループのうち、面積がTh_Area_2以上、かつ平均輝度がTh_Y_1以上、かつ隣接する背景グループの平均輝度がTh_Y_2以下のグループが存在するか否か判別する(ステップS315)。   On the other hand, if the result of determination in step S314 is negative (NO in step S314), the following processing is performed. That is, it is determined whether there is a group having an area of Th_Area_2 or more, an average luminance of Th_Y_1 or more, and an adjacent background group having an average luminance of Th_Y_2 or less among the groups determined as the background region (step S315).

ステップS315の判別の結果、肯定判別されたとき(ステップS315でYES)、上記ステップS316に進む。一方、否定判別されたとき(ステップS315でNO)、白とびを許容することを判定し(ステップS317)、本処理を終了する。   If the result of determination in step S315 is affirmative (YES in step S315), the process proceeds to step S316. On the other hand, when a negative determination is made (NO in step S315), it is determined that over-exposure is permitted (step S317), and this process ends.

まず、上記ステップS303の特徴量の算出方法について説明する。特徴量は、例えば、各ブロックをさらに複数の小領域に分割して小領域ごとに輝度値を算出し、複数の小領域で最も小さい輝度値をブロックの特徴量にする。   First, the feature value calculation method in step S303 will be described. As for the feature amount, for example, each block is further divided into a plurality of small regions, a luminance value is calculated for each small region, and the smallest luminance value in the plurality of small regions is used as the feature amount of the block.

また、各小領域の中で閾値Th_HighLevel以上の輝度値を持つものがあれば、複数の小領域で最も大きい輝度値を特徴量とする。この閾値Th_HighLevelは実験等により定めておく。   Further, if there is a small area having a luminance value equal to or higher than the threshold Th_HighLevel, the largest luminance value in the plurality of small areas is used as the feature amount. This threshold Th_HighLevel is determined by experiments or the like.

例えばブロック内に極端な低輝度領域と高輝度領域のみ存在する場合に、平均値を特徴量とする方法では低輝度でも高輝度でもどちらでもない値が特徴量となる可能性がある。しかし、上述した方法によりブロック内に存在する低輝度か高輝度どちらかの輝度値を特徴量とすることが可能となる。   For example, when only an extremely low luminance region and a high luminance region exist in a block, a value that is neither low luminance nor high luminance may be a feature amount in a method using an average value as a feature amount. However, the luminance value of either low luminance or high luminance existing in the block can be used as the feature amount by the method described above.

次に、ステップS304〜312の処理についてであるが、算出した特徴量をもとに、各ブロックをグループ化する処理がされている。   Next, with regard to the processing of steps S304 to S312, processing for grouping each block is performed based on the calculated feature amount.

上記ステップは、隣り合ったブロックの特徴量をもとに同一グループか否かを判別する処理を、画像内の左上のブロックから右側へと順番に実施し、右端まで走査すれば1行下の左端から右側へ走査する、というように繰り返していく処理となっている。   In the above steps, the process of determining whether or not they are in the same group based on the feature values of adjacent blocks is performed in order from the upper left block in the image to the right side, and if scanning to the right end is performed, the next lower line This process is repeated such as scanning from the left end to the right side.

そして、同一グループか否かを判別するブロックは、対象とするブロックの上に位置するブロック、及び左に位置するブロックとしている。   And the block which discriminate | determines whether it is the same group is made into the block located on the target block, and the block located on the left.

また、同一グループか否かの判別には、例えば隣り合った2つのブロックの特徴量の差分の絶対値の大小を使用する。特徴量の差分の絶対値が小さい場合には同一グループとみなし、そうでない場合には同一グループとはみなさない。   For determining whether or not they are in the same group, for example, the magnitude of the absolute value of the difference between the feature amounts of two adjacent blocks is used. When the absolute value of the difference between the feature amounts is small, the same group is regarded as the same group. Otherwise, it is not regarded as the same group.

これらの処理を画像内の全ブロックで実施することで、類似した特徴量のブロックをグルーピングする。このように、白飛び許容判定部104は、画像を複数のブロックに分割し、分割された各々のブロックごとにおける輝度を用いて、複数のブロックをグループ化することで画像をグループに分割する。そして、当該グループ単位で画像を主被写体領域及び1つ以上の背景領域に分割する。また、複数のブロックをグループ化する際に用いる輝度は、複数のブロックにおける各々のブロックの平均輝度である。   By performing these processes on all blocks in the image, blocks having similar feature amounts are grouped. As described above, the whitening allowance determination unit 104 divides the image into a plurality of blocks, and divides the image into groups by grouping the plurality of blocks using the luminance for each of the divided blocks. Then, the image is divided into a main subject area and one or more background areas for each group. The luminance used when grouping a plurality of blocks is the average luminance of each block in the plurality of blocks.

次に、ステップS313のグループごとに被写体領域か背景領域かを判定する処理について説明する。まず各グループの平均輝度、彩度を算出する。そして、顔検出機能により検出された顔領域、及び顔領域周辺の低輝度領域を主被写体領域とし、画像内で主被写体領域以外の全領域を背景領域としている。   Next, the process of determining whether the subject area or the background area for each group in step S313 will be described. First, the average brightness and saturation of each group are calculated. Then, the face area detected by the face detection function and the low luminance area around the face area are set as the main subject area, and all areas other than the main subject area in the image are set as the background area.

次に、ステップS314で肯定判別された場合、画面内の大部分を占めている有彩色の背景領域が存在することとなる。このとき、露出補正によりその領域が白飛びすると画像の見栄えが異なる可能性がある。その為、このようなグループが見つかれば白飛びは許容しないと判定する。   Next, when an affirmative determination is made in step S314, a chromatic background region occupying most of the screen is present. At this time, the appearance of the image may be different if the area is blown out by exposure correction. Therefore, if such a group is found, it is determined that whiteout is not allowed.

また、ステップS315で肯定判別された場合、画像内にある大きさ以上の高輝度領域が存在し、隣接する背景グループの輝度値との差が大きいということである。この場合、実際のシーンでは隣接するグループ間の境界を撮影時に目視で判別することが可能である。   On the other hand, if the determination in step S315 is affirmative, it means that there is a high-luminance region that is equal to or greater than a certain size in the image, and the difference between the luminance values of adjacent background groups is large. In this case, in an actual scene, it is possible to visually determine the boundary between adjacent groups at the time of shooting.

しかし、露出補正により高輝度の背景領域が飽和輝度以上となるまで補正すると、グループ間の輝度差が小さくなり、撮影画像では境界を目視で判別することが困難となるため、実際のシーンと画像の見栄えが異なる可能性がある。その為、ステップS315で肯定判別された場合は、白飛びは許容しないと判定する。   However, if exposure correction is performed until the high-luminance background area becomes equal to or higher than the saturation luminance, the difference in luminance between groups will be small, and it will be difficult to visually distinguish the boundaries in the captured image. May look different. Therefore, if an affirmative determination is made in step S315, it is determined that whiteout is not allowed.

ステップS314、S315のいずれも満たさない場合は、白飛びを許容すると判定する。   If neither step S314 nor S315 is satisfied, it is determined that whiteout is allowed.

以上の方法により、画像が白飛び許容であるかどうかを判定することが可能となる。なお、上述した各閾値であるTh_Area_1、Th_Area_2、Th_Chroma、Th_Y_1、Th_Y_2は実験等により定めておく。   With the above method, it is possible to determine whether or not an image is allowed to be overexposed. Note that the above-described threshold values Th_Area_1, Th_Area_2, Th_Chroma, Th_Y_1, and Th_Y_2 are determined through experiments or the like.

図4は、図1における露出補正量変更部105により、白飛び許容しない場合に実行される露出補正量変更処理の手順を示すフローチャートである。   FIG. 4 is a flowchart showing the procedure of the exposure correction amount changing process executed when the exposure correction amount changing unit 105 in FIG.

図4において、背景領域と判定された各グループで、面積がTh_Area_1以上、かつ、平均彩度がTh_Chroma以上のグループのうち、全ての最高輝度がTh_Ylimit_1以下となる露出補正量Value_1を算出する(ステップS401)。   In FIG. 4, in each group determined to be the background region, an exposure correction value Value_1 is calculated so that all of the maximum luminances of the groups having an area of Th_Area_1 or more and an average saturation of Th_Chroma or more are Th_Ylimit_1 or less (step). S401).

露出補正前に有彩色である背景領域が、露出補正により無彩色に近づかないよう、露出補正により増加する輝度値の上限を設ける。そうすることで、背景領域が高彩度を保ったままの範囲で露出補正量を変更することが可能となる。   Before the exposure correction, an upper limit of the luminance value that is increased by the exposure correction is set so that the background area that is a chromatic color does not approach an achromatic color by the exposure correction. By doing so, it is possible to change the exposure correction amount in a range in which the background region maintains high saturation.

次のステップS402は、背景領域と判定された各グループのうち、面積がTh_Area_2以上、かつ平均輝度がTh_Y_1以上、かつ隣接する背景グループの平均輝度がTh_Y_2以下のグループを対象とする処理である。対象となったグループにおけるすべての最高輝度がTh_Ylimit_2以下となる露出補正量Value_2を算出する(ステップS402)。   The next step S402 is processing that targets groups having an area of Th_Area_2 or more, an average luminance of Th_Y_1 or more, and an adjacent background group having an average luminance of Th_Y_2 or less among the groups determined as background regions. An exposure correction value Value_2 is calculated so that all the maximum luminances in the target group are equal to or less than Th_Ylimit_2 (step S402).

隣接する背景グループ間でどちらの領域も飽和輝度を下回るよう、露出補正により増加する輝度値の上限を設ける。そうすることで、背景グループ間の輝度差を保ったままの範囲で露出補正量を変更することができる。   An upper limit of the luminance value that is increased by exposure correction is set so that both areas are lower than the saturation luminance between adjacent background groups. By doing so, the exposure correction amount can be changed within a range in which the luminance difference between the background groups is maintained.

次いで、Value_1とValue_2のうち、値の小さい方をValueにクリップする(ステップS403)。図2のフローチャートで算出された露出補正量がValueを超えているときには、露出補正量をValueに変更する。   Next, the smaller one of Value_1 and Value_2 is clipped to Value (step S403). When the exposure correction amount calculated in the flowchart of FIG. 2 exceeds Value, the exposure correction amount is changed to Value.

なお、上述した各閾値であるTh_Ylimit_1、Th_Ylimit_2は実験等により定めておく。   The above-described threshold values Th_Ylimit_1 and Th_Ylimit_2 are determined through experiments or the like.

以上の方法により、画像をもとに算出された露出補正量、および、画像が白飛び許容であるかどうかの判定結果をもとに、露出補正量を変更することが可能となる。   By the above method, the exposure correction amount can be changed based on the exposure correction amount calculated based on the image and the determination result of whether or not the image is allowable for overexposure.

上述した実施の形態によれば、撮像装置100は、被写体を示す画像信号を取得し、画像で主被写体を示す領域を検出し、取得された画像信号に示される画像における輝度を用いて露出補正量を算出する。   According to the above-described embodiment, the imaging apparatus 100 acquires an image signal indicating a subject, detects an area indicating a main subject in the image, and performs exposure correction using the luminance in the image indicated in the acquired image signal. Calculate the amount.

そして、検出された領域を用いて、画像を主被写体領域及び1つ以上の背景領域に分割し、分割された背景領域における彩度または輝度を用いて、画像が白飛びが許容不可能な画像であるか否かを判定する。   The detected area is used to divide the image into a main subject area and one or more background areas, and the saturation or brightness in the divided background area is used to make the image unacceptable for overexposure. It is determined whether or not.

次いで、画像が白飛びが許容不可能な画像と判定されたとき、隣接する背景領域における輝度が、飽和輝度を下回るように算出された露出補正量を変更するので、適正な露出制御が可能となる。   Next, when it is determined that the image is unacceptable for overexposure, the exposure correction amount calculated so that the brightness in the adjacent background area is lower than the saturation brightness is changed, so that proper exposure control is possible. Become.

以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。   As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to these embodiment, A various deformation | transformation and change are possible within the range of the summary.

(他の実施の形態)
本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)をネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムコードを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。
(Other embodiments)
The present invention is also realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program code. It is a process to be executed. In this case, the program and the storage medium storing the program constitute the present invention.

100 撮像装置
101 画像信号取得部
102 被写体検出部
103 露出補正量算出部
104 白飛び許容判定部
105 露出補正量変更部
106 露出補正量出力部
DESCRIPTION OF SYMBOLS 100 Imaging device 101 Image signal acquisition part 102 Subject detection part 103 Exposure correction amount calculation part 104 Overexposure allowance determination part 105 Exposure correction amount change part 106 Exposure correction amount output part

Claims (11)

被写体を示す画像信号を取得する取得手段と、
前記取得手段により取得された画像信号に示される画像における主被写体を示す領域を検出する検出手段と
記検出手段により検出された領域を用いて、前記画像を主被写体領域及び1つ以上の背景領域に分割する分割手段と、
前記分割手段により分割された背景領域における彩度または輝度を用いて、白飛び許容しないシーンであるか否かを判定する判定手段と、
前記判定手段により、白飛び許容しないシーンであると判定されたときであって前記分割手段が前記画像を2つ以上の背景領域に分割した場合に、隣接する背景領域同士の輝度が、飽和輝度を下回るように露出補正量を決定する決定手段と
を備えたことを特徴とする撮像装置。
Obtaining means for obtaining an image signal indicating a subject;
Detecting means for detecting a region showing main object in an image represented by an image signal acquired by the acquisition unit,
Using a region detected by the front Symbol detection means, dividing means for dividing the image into the main subject region and one or more background regions,
Using saturation or brightness in the divided background region by the dividing means, determining means for determining whether a scene that does not permit whiteout,
By the determination unit, when overexposure said dividing means effected even if it is determined that the scene that does not permit it obtained by dividing the image into two or more background areas, the brightness of the background region between you adjacent the imaging apparatus characterized by comprising a determination means for determining the exposure compensation amount to be below the saturation intensity.
前記決定手段は、前記判定手段により、白飛びを許容しないシーンであると判定されたときであって前記分割手段が前記画像を2つ以上の背景領域に分割した場合に、隣接する背景領域同士の輝度差が、所定の輝度差以上となるように露出補正量を決定することを特徴とする請求項1に記載の撮像装置。The determining means determines that adjacent background areas are determined when the determining means determines that the scene does not allow overexposure and the dividing means divides the image into two or more background areas. The image pickup apparatus according to claim 1, wherein the exposure correction amount is determined so that the difference in brightness is equal to or greater than a predetermined difference in brightness. 前記判定手段は、前記分割領域が前記画像を2つ以上の背景領域に分割した場合に、隣接する背景領域同士の輝度が所定の閾値以下である背景領域が存在し、当該隣接するそれぞれの背景領域の面積が所定の面積以上である場合を、前記白飛びを許容しないシーンと判定することを特徴とする請求項1または2に記載の撮像装置。When the divided region divides the image into two or more background regions, the determination unit includes a background region in which the luminance between adjacent background regions is equal to or less than a predetermined threshold, and each of the adjacent backgrounds The imaging apparatus according to claim 1, wherein when the area of the region is equal to or larger than a predetermined area, the scene is determined not to allow the whiteout. 前記決定手段は、前記検出手段により検出された主被写体を示す領域が前記画像で占める大きさに応じて前記露出補正量を決定することを特徴とする請求項1乃至3のいずれか1項に記載の撮像装置。 Said determining means, to any one of claims 1 to 3 region showing a main subject detected and determines the exposure correction amount according to the size occupied by the image by said detecting means The imaging device described. 前記分割手段は、前記画像を複数のブロックに分割し、分割された各々のブロックごとにおける輝度を用いて、前記複数のブロックをグループ化し、当該グループ単位で前記画像を主被写体領域及び1つ以上の背景領域に分割することを特徴とする請求項1乃至4のいずれか1項に記載の撮像装置。 The dividing unit divides the image into a plurality of blocks, groups the plurality of blocks using the luminance for each of the divided blocks, and divides the image into a main subject region and one or more groups by the group unit. the imaging apparatus according to any one of claims 1 to 4, wherein the dividing of the background area. 前記複数のブロックをグループ化する際に用いる輝度は、前記複数のブロックにおける各々のブロックの平均輝度であることを特徴とする請求項5に記載の撮像装置。 The imaging apparatus according to claim 5 , wherein the luminance used when grouping the plurality of blocks is an average luminance of each of the plurality of blocks. 前記被写体に対して光を照射するストロボが備えられており、
前記検出手段により検出された主被写体が予め定められた被写体である場合には、前記ストロボによる照射を行わずに、前記決定手段は、前記予め定められた被写体ではない場合よりも、露出補正量を大きくすることを特徴とする請求項1乃至のいずれか1項に記載の撮像装置。
A strobe for irradiating the subject with light;
Wherein when the main object scene object detected by the detection means is a subject that has been previously determined, without irradiation by the flash, the determining means, said not a predetermined subject If I remote the imaging apparatus according to any one of claims 1 to 6, wherein the magnitude camphor Rukoto the exposure correction amount.
前記検出手段により検出された主被写前記予め定められた被写体以外の他の被写体である場合には、前記ストロボによる照射を行い、前記決定手段は、前記予め定められた被写体の場合よりも、露出補正量を小さくすることを特徴とする請求項7に記載の撮像装置。 Wherein when the main object scene object detected by the detection means is another object other than the object said predetermined performs irradiation by the flash, the determining means, if the subject said predetermined O remote imaging apparatus according to claim 7, wherein the small camphor Rukoto the exposure correction amount. 前記予め定められた被写体は、乳児または幼児であることを特徴とする請求項または8に記載の撮像装置。 The photographic material, said predetermined imaging apparatus according to claim 7 or 8 characterized in that it is a baby or infant. 撮像装置の制御方法であって、
被写体を示す画像信号を取得する取得ステップと、
前記取得ステップにより取得された画像信号に示される画像における主被写体を示す領域を検出する検出ステップと
記検出ステップにより検出された領域を用いて、前記画像を主被写体領域及び1つ以上の背景領域に分割する分割ステップと、
前記分割ステップにより分割された背景領域における彩度または輝度を用いて、白飛び許容しないシーンであるか否かを判定する判定ステップと、
前記判定ステップにより、白飛び許容しないシーンであると判定されたときであって前記画像が2つ以上の背景領域に分割された場合に、隣接する背景領域同士の輝度が、飽和輝度を下回るように露出補正量を決定する決定ステップと
を備えたことを特徴とする制御方法。
A method for controlling an imaging apparatus,
An acquisition step of acquiring an image signal indicating a subject;
A detection step of detecting a region showing main object in an image represented by an image signal acquired by the acquisition step,
Using a region detected by the front Symbol detection step, a dividing step of dividing the image into the main subject region and one or more background regions,
The resolved using saturation or brightness in the divided background area in step, a determining step of determining whether a scene that does not permit whiteout,
Wherein the determination step, when the effected even if it is determined that the scene that does not permit whiteout image is divided into two or more background areas, the brightness of the background region between you adjacent, saturated brightness control method characterized by comprising a determination step of determining the exposure compensation amount to below.
撮像装置の制御方法をコンピュータに実行させるためのプログラムであって、
前記制御方法は、
被写体を示す画像信号を取得する取得ステップと、
前記取得ステップにより取得された画像信号に示される画像における主被写体を示す領域を検出する検出ステップと
記検出ステップにより検出された領域を用いて、前記画像を主被写体領域及び1つ以上の背景領域に分割する分割ステップと、
前記分割ステップにより分割された背景領域における彩度または輝度を用いて、白飛び許容しないシーンであるか否かを判定する判定ステップと、
前記判定ステップにより、白飛び許容しないシーンであると判定されたときであって前記画像が2つ以上の背景領域に分割された場合に、隣接する背景領域同士の輝度が、飽和輝度を下回るように露出補正量を決定する決定ステップと
を備えたことを特徴とするプログラム。
A program for causing a computer to execute a control method of an imaging apparatus,
The control method is:
An acquisition step of acquiring an image signal indicating a subject;
A detection step of detecting a region showing main object in an image represented by an image signal acquired by the acquisition step,
Using a region detected by the front Symbol detection step, a dividing step of dividing the image into the main subject region and one or more background regions,
The resolved using saturation or brightness in the divided background area in step, a determining step of determining whether a scene that does not permit whiteout,
Wherein the determination step, when the effected even if it is determined that the scene that does not permit whiteout image is divided into two or more background areas, the brightness of the background region between you adjacent, saturated brightness a program characterized by comprising a determination step of determining the exposure compensation amount to below.
JP2011288269A 2011-12-28 2011-12-28 Imaging apparatus, control method therefor, and program Expired - Fee Related JP5917142B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011288269A JP5917142B2 (en) 2011-12-28 2011-12-28 Imaging apparatus, control method therefor, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011288269A JP5917142B2 (en) 2011-12-28 2011-12-28 Imaging apparatus, control method therefor, and program

Publications (2)

Publication Number Publication Date
JP2013138336A JP2013138336A (en) 2013-07-11
JP5917142B2 true JP5917142B2 (en) 2016-05-11

Family

ID=48913722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011288269A Expired - Fee Related JP5917142B2 (en) 2011-12-28 2011-12-28 Imaging apparatus, control method therefor, and program

Country Status (1)

Country Link
JP (1) JP5917142B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009124264A (en) * 2007-11-12 2009-06-04 Ricoh Co Ltd Image processing apparatus and image processing method
JP5223663B2 (en) * 2008-12-25 2013-06-26 株式会社ニコン Imaging device

Also Published As

Publication number Publication date
JP2013138336A (en) 2013-07-11

Similar Documents

Publication Publication Date Title
CN110536051B (en) Image pickup apparatus, control method thereof, and storage medium
EP2357786B1 (en) Image pickup apparatus and controlling method therefor
CN101365070B (en) Imaging apparatus
JP5814799B2 (en) Image processing apparatus and image processing method
JP4948591B2 (en) Image processing apparatus, image processing method, and program
JP2015130615A (en) Imaging device, control method of the same, and program
US7859573B2 (en) Methods and apparatuses for image exposure correction
JP2004229054A (en) Electronic camera
JP6562770B2 (en) Image processing apparatus, image processing method, program, and storage medium
US11115637B2 (en) Image processing apparatus, image capturing apparatus, image processing method, and storage medium
US9191573B2 (en) Image capturing apparatus for determining an exposure condition by calculating aphotmetric value for each object region and method of controlling the same
US10863103B2 (en) Setting apparatus, setting method, and storage medium
US9762805B2 (en) Image processing apparatus performing tone correction process and method, and image capturing apparatus performing tone correction process
JP5917142B2 (en) Imaging apparatus, control method therefor, and program
JP2011223378A (en) Electronic camera
JP2009063674A (en) Imaging apparatus and flash control method
JP2014098859A (en) Imaging apparatus and imaging method
JP2010062699A (en) Image analyzer and image analysis program
JP6272006B2 (en) Imaging apparatus, image processing method, and program
JP6638101B2 (en) Imaging device and control method of imaging device
JP5398860B2 (en) Image processing apparatus, image processing apparatus control method, program, and storage medium
JP7309508B2 (en) IMAGING DEVICE, ITS CONTROL METHOD AND PROGRAM
JP2013132065A (en) Imaging apparatus and flash control method
JP2003259231A (en) Automatic exposure controller and program thereof
JP6483351B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND IMAGING DEVICE CONTROL PROGRAM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141203

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150915

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151013

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151209

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160406

R151 Written notification of patent or utility model registration

Ref document number: 5917142

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees