JP2019080358A - Imaging apparatus and control method of imaging apparatus - Google Patents

Imaging apparatus and control method of imaging apparatus Download PDF

Info

Publication number
JP2019080358A
JP2019080358A JP2019024474A JP2019024474A JP2019080358A JP 2019080358 A JP2019080358 A JP 2019080358A JP 2019024474 A JP2019024474 A JP 2019024474A JP 2019024474 A JP2019024474 A JP 2019024474A JP 2019080358 A JP2019080358 A JP 2019080358A
Authority
JP
Japan
Prior art keywords
luminance
correction
correction value
brightness
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019024474A
Other languages
Japanese (ja)
Other versions
JP6638101B2 (en
Inventor
雅隼 野田
Masatoshi Noda
雅隼 野田
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.)
Olympus Corp
Original Assignee
Olympus Corp
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 Olympus Corp filed Critical Olympus Corp
Priority to JP2019024474A priority Critical patent/JP6638101B2/en
Publication of JP2019080358A publication Critical patent/JP2019080358A/en
Application granted granted Critical
Publication of JP6638101B2 publication Critical patent/JP6638101B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Exposure Control For Cameras (AREA)
  • Studio Devices (AREA)

Abstract

To provide an imaging apparatus that can calculate a correction value of exposure control from white image data not including a chromatic color area.SOLUTION: An imaging apparatus 10 includes: an imaging part 2 that acquires image data from a subject image formed by an imaging lens part 1; a high-luminance white determination part 6ac that calculates a high-luminance white area from the image data; a high-luminance white area occupancy calculation part 6ad that calculates high-luminance white area occupancy that is proportion of the high-luminance white area to the image data; an exposure condition correction value calculation part 6ae that calculates a correction value on the basis of the high-luminance white area occupancy; and an exposure control part 6ai that controls exposure of the imaging part on the basis of the correction value.SELECTED DRAWING: Figure 1

Description

本発明は、撮像装置及び撮像装置の制御方法に関する。   The present invention relates to an imaging device and a control method of the imaging device.

一般的な撮像装置は、被写体から発せられた光を撮像素子の撮像領域に結像させて画像データを得る。この画像データは、表示や記録に用いられ得る。撮像素子で得られる画像データの露出(明るさ)を適切なものとするため、自動露出制御(AE)が行われる。自動露出制御では、例えば画像データの明るさを測光し、測光の結果に基づいて例えば、シャッタースピード又は絞りが設定される。   A general imaging device focuses light emitted from a subject on an imaging area of an imaging device to obtain image data. This image data can be used for display and recording. Automatic exposure control (AE) is performed to make the exposure (brightness) of the image data obtained by the imaging element appropriate. In the automatic exposure control, for example, the brightness of image data is measured, and, for example, the shutter speed or the aperture is set based on the result of the light measurement.

測光の1つの方式として、多分割測光方式が知られている。多分割測光方式は、画像データを複数の測光エリアに分割し、測光エリアごとに輝度を算出して測光エリアごとの輝度を評価する、例えば重み付け平均することにより露出条件を設定する方式である。このような多分割測光方式では、背景の大部分に白色を含む画像データが得られた場合に高輝度であるとの判定がなされて実際に必要な明るさよりも暗くするように露出制御がされることがある。   As one method of photometry, multi-division photometry is known. In the multi-division photometry method, image data is divided into a plurality of photometry areas, luminance is calculated for each photometry area, and the luminance for each photometry area is evaluated. For example, weighted exposure is performed to set an exposure condition. In such a multi-division photometry method, when image data containing white on most of the background is obtained, it is determined that the brightness is high, and exposure control is performed so as to make the brightness darker than actually necessary. There is a thing.

特許文献1に示す撮像装置は、有彩色の測光エリアと無彩色の測光エリアとをそれぞれ検出し、有彩色の測光エリアの重みを無彩色の測光エリアの重みよりも大きくすることで、有彩色のエリア、すなわち被写体のエリアの露出が適切となるように露出制御をしている。   The imaging apparatus disclosed in Patent Document 1 detects a chromatic photometric area and an achromatic photometric area, respectively, and makes the chromatic photometric area weight larger than the achromatic photometric area weight, thereby forming a chromatic color. The exposure control is performed so that the exposure of the area of, that is, the area of the subject becomes appropriate.

特許第4304628号公報Patent No. 4304628

ここで、特許文献1の撮像装置では、被写体が有彩色であることが前提となっている。すなわち、特許文献1の撮像装置では、例えば被写体が白色である場合には被写体に対して無彩色の重みづけがされてしまう。この場合、被写体は、本来の見た目よりも暗く撮影されてしまう。   Here, in the imaging device of Patent Document 1, it is assumed that the subject is a chromatic color. That is, in the imaging device of Patent Document 1, for example, when the subject is white, the subject is achromatically weighted. In this case, the subject is photographed darker than expected.

本発明は、このような事情を鑑みてなされたものである。本発明は、被写体が有彩色でなくても、被写体の露出が適切になるような露出制御を行う撮像装置及び撮像装置の制御方法を提供する。   The present invention has been made in view of such circumstances. The present invention provides an imaging apparatus and an imaging apparatus control method that perform exposure control such that the exposure of the subject becomes appropriate even if the subject is not a chromatic color.

本発明の一態様の撮像装置は、撮像領域に結像された被写体像を撮像して画像データを生成する撮像部と、前記撮像部により生成された画像データに基づき、画像全体の輝度である補正前の輝度を算出する補正前輝度算出部と、前記撮像部により生成された画像データにおいて、高輝度かつ白色のエリアを判定する高輝度白色判定部と、前記撮像部により生成された画像データの画像全体に対する前記高輝度かつ白色のエリアである高輝度白色エリアの割合である高輝度白色エリア支配率を算出する高輝度白色エリア支配率算出部と、前記高輝度白色エリア支配率が大きいほど露出量が大きくなるように、露出条件としての輝度を補正するための補正値を算出する補正値算出部と、前記補正前の輝度と、前記撮像部により被写体像として撮像される撮影シーンの切り替わりの基準に対応する第1の輝度及び第2の輝度との比較に応じて前記補正値を調整するための効果率を算出する効果率算出部と、前記効果率により前記補正値を調整し、調整された補正値によって補正された輝度に基づいて前記撮像部の露出を制御する露出制御部とを具備する。   An image pickup apparatus according to an aspect of the present invention is an image pickup unit that picks up an object image formed in an image pickup area to generate image data, and the brightness of the entire image based on the image data generated by the image pickup unit. Pre-correction luminance calculation unit for calculating luminance before correction; High-brightness white judgment unit for judging high-brightness and white area in image data generated by the imaging unit; Image data generated by the imaging unit A high brightness white area dominance calculation unit that calculates a high brightness white area dominance ratio, which is a ratio of the high brightness white area that is the high brightness and white area to the entire image; A correction value calculation unit that calculates a correction value for correcting the luminance as an exposure condition so that the exposure amount becomes large, the luminance before the correction, and imaging as a subject image by the imaging unit The effect rate calculation unit for calculating an effect rate for adjusting the correction value according to a comparison between the first luminance and the second luminance corresponding to the reference of switching of the photographed scene; And an exposure control unit that adjusts the value and controls the exposure of the imaging unit based on the luminance corrected by the adjusted correction value.

本発明の一態様の撮像装置の制御方法は、撮像領域に結像された被写体像を撮像部が撮像して画像データを生成することと、前記生成された画像データに基づき、画像全体の輝度である補正前の輝度を算出することと、前記生成された画像データにおいて、高輝度かつ白色のエリアを判定することと、前記生成された画像データ画像全体に対する前記高輝度かつ白色のエリアである高輝度白色エリアの割合である高輝度白色エリア支配率を算出することと、前記高輝度白色エリア支配率が大きいほど露出量が大きくなるように、露出条件としての輝度を補正するための補正値を算出することと、補正前の輝度と、前記撮像部により被写体像として撮像される撮影シーンの切り替わりの基準に対応する第1の輝度及び第2の輝度との比較に応じて前記補正値を調整するための効果率を算出することと、前記効果率により前記補正値を調整し、調整された補正値によって補正された輝度に基づいて露出を制御することとを具備する。   In the control method of an imaging apparatus according to an aspect of the present invention, an imaging unit captures an object image formed in an imaging region to generate image data, and based on the generated image data, luminance of the entire image is generated. Calculating the luminance before correction, determining the high luminance and white area in the generated image data, and the high luminance and white area with respect to the entire generated image data image A correction value for correcting the luminance as an exposure condition so that the higher the luminance white area dominance, which is the proportion of the high luminance white area, is calculated, and the exposure amount increases as the high luminance white area dominance increases. According to the comparison between the luminance before correction and the first luminance and the second luminance corresponding to the reference of the switching of the photographed scene imaged as a subject image by the imaging unit. And calculating the effectiveness factor for adjusting the correction value, the correction value is adjusted by the effect index comprises and controlling the exposure based on the corrected luminance by the adjustment correction value.

この本発明によれば、被写体が有彩色でなくても、被写体の露出が適切になるような露出制御を行う撮像装置及び撮像装置の制御方法を提供することができる。   According to the present invention, it is possible to provide an imaging apparatus and an imaging apparatus control method that perform exposure control such that the exposure of the subject becomes appropriate even if the subject is not a chromatic color.

図1は、本発明の実施形態に係る撮像装置の構成例を示すブロック図である。FIG. 1 is a block diagram showing a configuration example of an imaging device according to an embodiment of the present invention. 図2は、制御部の機能の一例を示す図である。FIG. 2 is a diagram illustrating an example of the function of the control unit. 図3は、白色の定義を示す図である。FIG. 3 shows the definition of white. 図4は、実施形態に係る撮像装置のメイン動作の例を示すフローチャートである。FIG. 4 is a flowchart showing an example of the main operation of the imaging device according to the embodiment. 図5は、補正値の決定に係る判定例を示すフローチャートである。FIG. 5 is a flowchart showing a determination example related to the determination of the correction value. 図6は、高輝度白色エリア支配率と補正値との対応関係を例示する図である。FIG. 6 is a diagram illustrating the correspondence between the high-intensity white area dominance and the correction value. 図7は、効果率の決定に係る判定例を示すフローチャートである。FIG. 7 is a flowchart showing a determination example related to the determination of the effect rate. 図8は、補正前輝度と効果率との対応関係を示す図である。FIG. 8 is a diagram showing the correspondence between the pre-correction luminance and the effect rate. 図9は、撮影シーンに応じた補正後輝度について説明するための図である。FIG. 9 is a diagram for explaining the post-correction luminance according to the shooting scene. 図10は、実施形態の概略図である。FIG. 10 is a schematic view of the embodiment.

以下、本発明に係る撮像装置の実施形態について説明する。撮像装置10の構成例について図1を参照して説明する。この撮像装置10は、撮影レンズ部1と、撮像部2と、状況表示部3と、操作部4と、一時記憶部5と、制御部6とを有する。   Hereinafter, an embodiment of an imaging device according to the present invention will be described. A configuration example of the imaging device 10 will be described with reference to FIG. The imaging device 10 includes a photographing lens unit 1, an imaging unit 2, a status display unit 3, an operation unit 4, a temporary storage unit 5, and a control unit 6.

撮影レンズ部1は、被写体から発せられる光を撮像部2に入射させる。この撮影レンズ部1は、フォーカスレンズやズームレンズといった単一又は複数のレンズと、絞りとを含む。撮像部2は、撮影レンズ部1を介して入射した光に基づく被写体像から画像データを生成する。この撮像部2は、撮像素子と、アナログ処理回路と、A/D変換回路とを有する。撮像素子は、撮影レンズ部1を介して入射した光が結像される撮像領域を有する。撮像領域には、画素が2次元状に配置されている。各画素は、例えばフォトダイオードである。また、各画素には、例えば原色系ベイヤ配列のカラーフィルタが形成されている。このような構成において、撮像素子は、各画素に入射した光の量に応じた電気信号(画像信号)を出力する。アナログ処理回路は、撮像素子から出力された画像信号に対して相関二重サンプリング処理や自動ゲイン調整処理などのアナログ処理を施す。A/D変換回路は、アナログ処理回路でアナログ処理された画像信号をデジタルの画像信号(画像データ)に変換する。   The imaging lens unit 1 causes the light emitted from the subject to be incident on the imaging unit 2. The photographing lens unit 1 includes a single or a plurality of lenses such as a focus lens and a zoom lens, and a stop. The imaging unit 2 generates image data from a subject image based on light incident through the photographing lens unit 1. The imaging unit 2 includes an imaging element, an analog processing circuit, and an A / D conversion circuit. The imaging element has an imaging area on which light incident through the imaging lens unit 1 is imaged. Pixels are two-dimensionally arranged in the imaging region. Each pixel is, for example, a photodiode. Further, for each pixel, for example, a color filter of primary color Bayer array is formed. In such a configuration, the imaging device outputs an electrical signal (image signal) according to the amount of light incident on each pixel. The analog processing circuit performs analog processing such as correlated double sampling processing and automatic gain adjustment processing on the image signal output from the imaging device. The A / D conversion circuit converts the image signal analog-processed by the analog processing circuit into a digital image signal (image data).

状況表示部3は、例えば、液晶ディスプレイ又は有機ELディスプレイであって、画像データに基づく画像を表示する。   The status display unit 3 is, for example, a liquid crystal display or an organic EL display, and displays an image based on image data.

操作部4は、ボタンやスイッチなどの機械式の操作部材やタッチパネルなどの操作部材を含む。ユーザによって何れかの操作部材が操作された場合には、操作部4は、操作された操作部材に応じた所定の信号を制御部6に出力する。この操作部4は、例えば、レリーズボタンや電源スイッチを含む。レリーズボタンは、ユーザが撮影の実行を制御部6に対して指示するためのボタンである。電源スイッチは、ユーザが撮像装置10の電源のオン又はオフを指示するためのスイッチである。   The operation unit 4 includes mechanical operation members such as buttons and switches, and operation members such as a touch panel. When one of the operation members is operated by the user, the operation unit 4 outputs a predetermined signal according to the operated operation member to the control unit 6. The operation unit 4 includes, for example, a release button and a power switch. The release button is a button for the user to instruct the control unit 6 to execute shooting. The power switch is a switch for instructing the user to turn on or off the power of the imaging device 10.

一時記憶部5は、例えばSDRAMであり、データを一時的に記憶する。このデータは、例えば、撮像部2で得られた画像データや制御部6により算出されたデータである。   The temporary storage unit 5 is, for example, an SDRAM, and temporarily stores data. This data is, for example, image data obtained by the imaging unit 2 or data calculated by the control unit 6.

制御部6は、例えばCPUやASICであり、撮像装置10の全体の動作を制御する。この制御部6は、被補正露出部6aと、撮影制御部6bとを有している。被補正露出部6aは、撮像部2に対する露出制御を行う。この被補正露出部6aは、測光エリア輝度算出部6aaと、補正前露出条件算出部6abと、高輝度白色判定部6acと、高輝度白色エリア支配率算出部6adと、露出条件補正値算出部6aeと、効果率算出部6afと、最後の露出条件補正値算出部6agと、補正後輝度決定部6ahと、露出制御部6aiとを有している。   The control unit 6 is, for example, a CPU or an ASIC, and controls the overall operation of the imaging device 10. The control unit 6 includes a correction exposure unit 6 a and a photographing control unit 6 b. The corrected exposure unit 6 a performs exposure control on the imaging unit 2. The correction exposure unit 6 a includes a photometric area luminance calculation unit 6 aa, a pre-correction exposure condition calculation unit 6 ab, a high luminance white determination unit 6 ac, a high luminance white area dominance ratio calculation unit 6 ad, and an exposure condition correction value calculation unit 6ae, an effect rate calculation unit 6af, a final exposure condition correction value calculation unit 6ag, a corrected luminance determination unit 6ah, and an exposure control unit 6ai.

制御部6が有する各構成の機能例について図2を参照して説明する。図2は、画像データの露出の算出について説明する図である。   A functional example of each configuration of the control unit 6 will be described with reference to FIG. FIG. 2 is a diagram for explaining the calculation of the exposure of the image data.

測光エリア輝度算出部6aaは、撮像部2で得られて一時記憶部5に記憶された画像データを複数の測光エリアに分割し、分割した測光データ毎の輝度を算出する。図2に測光エリアを示す。図2に示すように、画像データの縦方向をx方向とし、画像データの横方向をy方向と定義したとき、画像データは、x方向及びy方向に沿って複数の測光エリアに分割する。図2では、画像データは、18×18の測光エリアに分割されている。画像データの分割の後、測光エリア輝度算出部6aaは、分割した測光エリアごとに輝度を算出する。輝度の算出手法は、測光エリア内の同色画素のデータを積算する手法などの各種の手法が知られている。本実施形態では、輝度の算出手法が特定の手法に限定されない。なお、以後の説明では、輝度は、APEX値に換算されているものとして扱う。   The photometric area luminance calculator 6aa divides the image data obtained by the imaging unit 2 and stored in the temporary storage 5 into a plurality of photometric areas, and calculates the luminance of each of the divided photometric data. The photometric area is shown in FIG. As shown in FIG. 2, assuming that the vertical direction of the image data is the x direction and the horizontal direction of the image data is the y direction, the image data is divided into a plurality of photometric areas along the x direction and the y direction. In FIG. 2, the image data is divided into 18 × 18 photometric areas. After dividing the image data, the photometric area luminance calculator 6aa calculates the luminance for each of the divided photometric areas. As a calculation method of luminance, various methods such as a method of integrating data of pixels of the same color in the photometric area are known. In the present embodiment, the method of calculating the luminance is not limited to a specific method. In the following description, the luminance is treated as being converted to an APEX value.

補正前露出条件算出部6abは、測光エリア輝度算出部6aaにおいて測光エリアごとに算出された輝度に基づいて露出条件としての画像全体の輝度を算出する。画像全体の輝度は、例えば、測光エリアごとに算出された輝度の重みづけ平均によって算出される。以後、この画像全体の輝度を補正前輝度BVと呼称する。   The pre-correction exposure condition calculation unit 6ab calculates the luminance of the entire image as the exposure condition based on the luminance calculated for each photometric area in the photometric area luminance calculation unit 6aa. The brightness of the entire image is calculated, for example, by a weighted average of the brightness calculated for each photometric area. Hereinafter, the brightness of the entire image is referred to as pre-correction brightness BV.

高輝度白色判定部6acは、画像データの中の高輝度かつ白色(高輝度白色)の測光エリアを判定する。本実施形態における「白色」は、図3の色度図に示す点線の範囲内の色と定義されている。図3の白色の範囲内の色は、RGB比で表すと、以下の式(1)及び式(2)に示す関係を有している。式(1)及び式(2)に示すR、G、Bは、測光エリアに含まれる同色画素のデータの例えば平均値である。式(1)及び式(2)を満足し、かつ、輝度が所定値以上の測光エリアが高輝度白色の測光エリアである。例えば、図2の例では、高輝度白色の測光エリアは、白地の測光エリアWである。また、高輝度白色ではない測光エリアは、図2の斜線の測光エリア及び主要被写体Oの測光エリアである。
0.6<B/R<1.9 …(1)
0.6<G/R<1.9 …(2)
ただし、このRGB比は一例である。このRGB比は、例えば、図示しない撮像素子の分光感度によって変わり得る。
The high luminance white determination unit 6ac determines a high luminance and white (high luminance white) photometric area in the image data. "White" in the present embodiment is defined as a color within the dotted line range shown in the chromaticity diagram of FIG. The colors in the range of white in FIG. 3 have the relationships shown in the following formulas (1) and (2) when expressed in RGB ratios. R, G, and B shown in Equation (1) and Equation (2) are, for example, average values of data of pixels of the same color included in the photometric area. A photometric area which satisfies the expressions (1) and (2) and whose luminance is equal to or greater than a predetermined value is a high luminance white photometric area. For example, in the example of FIG. 2, the high brightness white photometric area is the white photometric area W. Further, the photometric area which is not high brightness white is the photometric area of the oblique line in FIG. 2 and the photometric area of the main subject O.
0.6 <B / R <1.9 (1)
0.6 <G / R <1.9 (2)
However, this RGB ratio is an example. This RGB ratio may vary depending on, for example, the spectral sensitivity of the imaging device (not shown).

高輝度白色エリア支配率算出部6adは、撮像領域に含まれる測光エリアの数に対する高輝度白色の測光エリアの数である高輝度白色エリア支配率[%]を算出する。   The high brightness white area dominance factor calculation unit 6 ad calculates a high brightness white area dominance factor [%] which is the number of high brightness white photometric areas with respect to the number of photometric areas included in the imaging area.

露出条件補正値算出部6aeは、高輝度白色エリア支配率に基づいて露出条件の補正値を算出する。補正値は、補正前輝度BVの値を小さくするため、補正前輝度BVから減算される補正値である。この補正値は、基本的には、高輝度白色エリア支配率が大きいほど、すなわち画像全体における高輝度白色の測光エリアの影響度が大きいほど大きくなる。ただし、補正値の基本値は、上限値と下限値を有する。   The exposure condition correction value calculation unit 6 ae calculates a correction value of the exposure condition based on the high luminance white area dominance. The correction value is a correction value to be subtracted from the pre-correction luminance BV in order to reduce the value of the pre-correction luminance BV. The correction value basically increases as the high brightness white area dominance rate increases, that is, as the degree of influence of the high brightness white photometric area in the entire image increases. However, the basic value of the correction value has an upper limit value and a lower limit value.

効果率算出部6afは、補正前輝度BVに基づいて補正値の効果率を算出する。この効果率は、撮影シーンの明るさに応じて補正値を調整するために用いられる値である。効果率は、基本的には、補正前輝度BVが大きいほどに、すなわち明るい撮影シーンであるほど大きくなる。ただし、効果率は、0から1までの値である。   The effect rate calculation unit 6af calculates the effect rate of the correction value based on the pre-correction luminance BV. The effect rate is a value used to adjust the correction value in accordance with the brightness of the shooting scene. The effect rate basically increases as the pre-correction brightness BV increases, that is, as a bright captured scene. However, the effect rate is a value from 0 to 1.

最後の露出条件補正値算出部6agは、補正値と効果率とに基づいて、露出条件を決定するために補正前輝度BVから減算される補正値(最後の露出条件補正値)を算出する。最後の露出条件補正値は、後述する基本補正値に効果率が乗じられることによって得られる。   The final exposure condition correction value calculation unit 6ag calculates a correction value (final exposure condition correction value) to be subtracted from the pre-correction luminance BV to determine the exposure condition based on the correction value and the effect rate. The final exposure condition correction value is obtained by multiplying the basic correction value described later by the effect rate.

補正後輝度決定部6ahは、最後の露出条件補正値を補正前輝度BVから減算することによって、露出条件としての補正後輝度BVを算出する。   The post-correction luminance determination unit 6ah calculates the post-correction luminance BV as the exposure condition by subtracting the final exposure condition correction value from the pre-correction luminance BV.

露出制御部6aiは、補正後輝度BVを用いて露出制御を行う。この露出制御は、撮像部2で得られる画像データの露出を所定の基準露出とするために必要な撮影条件を設定する処理である。この撮影条件は、シャッタースピードと絞り値との何れか又は両方を含む。   The exposure control unit 6 ai performs exposure control using the corrected brightness BV. The exposure control is processing for setting a photographing condition necessary to set the exposure of the image data obtained by the imaging unit 2 to a predetermined reference exposure. The shooting conditions include either or both of the shutter speed and the aperture value.

撮影制御部6bは、撮像部2や状況表示部3の動作を制御する。例えば、撮影制御部6bは、露出制御の結果に従って撮像部2の動.作を制御する。また、撮影制御部6bは、撮像部2で得られた画像データに対する画像処理を行う。さらに、撮影制御部6bは、画像処理された画像データに基づいた画像を状況表示部3に表示させる。   The imaging control unit 6 b controls the operation of the imaging unit 2 and the status display unit 3. For example, the photographing control unit 6b controls the operation of the imaging unit 2 according to the result of the exposure control. Further, the imaging control unit 6 b performs image processing on the image data obtained by the imaging unit 2. Further, the photographing control unit 6 b causes the situation display unit 3 to display an image based on the image data subjected to the image processing.

図1乃至図3で説明した撮像装置10の動作について、図4のフローチャートを参照して説明する。この動作は、制御部6によって行われる。図4の処理は、例えばユーザによってレリーズボタンが操作された後の撮影動作の実行時や撮像装置10の電源がオンされた後のライブビュー表示時に行われる。まず、制御部6の撮影制御部6bは、撮像部2を制御して撮像部2による被写体の撮影動作を実行する(ステップS101)。撮影動作によって撮像部2で得られた画像データは、一時記憶部5に記憶される。ステップS101の後、制御部6の測光エリア輝度算出部6aaは、一時記憶部5に記憶された画像データを複数の測光エリアに分割し、測光エリアごとの輝度を算出する(ステップS102)。ステップS102の後、制御部6の補正前露出条件算出部6abは、すべての測光エリアの輝度に基づいて補正前輝度BVを算出する(ステップS103)。ステップS103の後、制御部6の高輝度白色判定部6acは、高輝度白色のエリアを検出する(ステップS104)。高輝度白色判定部6acは、式(1)及び式(2)に示すようなRGB比を有する測光エリアであって、輝度が所定値以上の測光エリアを高輝度白色エリアとして検出する。ステップS104の後、制御部6は、高輝度白色エリアの総数をカウントし、測光エリアの総数に対する高輝度白色エリアの割合である高輝度白色エリア支配率を算出する(ステップS105)。   The operation of the imaging device 10 described with reference to FIGS. 1 to 3 will be described with reference to the flowchart of FIG. 4. This operation is performed by the control unit 6. The processing in FIG. 4 is performed, for example, when a shooting operation is performed after the user operates the release button, or when a live view is displayed after the power of the imaging apparatus 10 is turned on. First, the photographing control unit 6b of the control unit 6 controls the imaging unit 2 to execute the photographing operation of the subject by the imaging unit 2 (step S101). The image data obtained by the imaging unit 2 by the photographing operation is stored in the temporary storage unit 5. After step S101, the photometric area luminance calculator 6aa of the controller 6 divides the image data stored in the temporary storage 5 into a plurality of photometric areas, and calculates the luminance of each photometric area (step S102). After step S102, the pre-correction exposure condition calculation unit 6ab of the control unit 6 calculates the pre-correction luminance BV based on the luminances of all the photometric areas (step S103). After step S103, the high brightness white determination unit 6ac of the control unit 6 detects a high brightness white area (step S104). The high luminance white determination unit 6ac is a photometric area having an RGB ratio as shown in the equations (1) and (2), and detects a photometric area having a luminance of a predetermined value or more as a high luminance white area. After step S104, the control unit 6 counts the total number of high brightness white areas, and calculates a high brightness white area dominant rate that is a ratio of the high brightness white areas to the total number of photometric areas (step S105).

ステップS105の後、制御部6の露出条件補正値算出部6aeは、高輝度白色エリア支配率に基づいて補正前輝度BVの補正値を算出する(ステップS106)。以下、図5のフローチャートを参照して補正値の算出例を説明する。   After step S105, the exposure condition correction value calculation unit 6ae of the control unit 6 calculates a correction value of the pre-correction brightness BV based on the high-brightness white area dominance rate (step S106). Hereinafter, an example of calculation of the correction value will be described with reference to the flowchart of FIG.

まず、露出条件補正値算出部6aeは、以下の式(3)に基づいて基本補正値を算出する(ステップS201)。   First, the exposure condition correction value calculation unit 6ae calculates a basic correction value based on the following equation (3) (step S201).

基本補正値=a*高輝度白色エリア支配率[%]−b (3)
ここで、a及びbは輝度を表す定数である。定数a及びbは、例えばAPEX値に変換された値が用いられる。
Basic correction value = a * high brightness white area control rate [%] − b (3)
Here, a and b are constants representing luminance. For the constants a and b, for example, values converted to APEX values are used.

ステップS201の後、露出条件補正値算出部6aeは、算出した基本補正値が上限値A2より小さいか否かを判定する(ステップ202)。上限値A2は、定数a、bと同様、輝度を表す定数である。上限値A2もAPEX値に変換された値が用いられる。   After step S201, the exposure condition correction value calculation unit 6ae determines whether the calculated basic correction value is smaller than the upper limit value A2 (step 202). The upper limit value A2 is a constant representing luminance, as with the constants a and b. The upper limit value A2 is also used as a value converted to the APEX value.

露出条件補正値算出部6aeは、基本補正値が上限値A2より小さくないと判定したとき(ステップS202でNOのとき)、基本補正値を上限値A2にクリップする(ステップS203)。ステップS203の後、露出条件補正値算出部6aeは処理を終了させる。   When it is determined that the basic correction value is not smaller than the upper limit value A2 (when NO in step S202), the exposure condition correction value calculation unit 6ae clips the basic correction value to the upper limit value A2 (step S203). After step S203, the exposure condition correction value calculation unit 6ae ends the process.

一方、露出条件補正値算出部6aeは、基本補正値が上限値A2より小さいと判定したとき(ステップS202でYESのとき)、基本補正値が下限値A1より大きいか否かを判定する(ステップS204)。下限値A1は、定数a、bと同様、輝度を表す定数であって、A1<A2の関係を有する。下限値A1もAPEX値に変換された値が用いられる。   On the other hand, when exposure condition correction value calculation unit 6ae determines that the basic correction value is smaller than upper limit value A2 (when YES in step S202), it determines whether the basic correction value is larger than lower limit value A1 (step S204). The lower limit value A1 is, like the constants a and b, a constant representing luminance, and has a relationship of A1 <A2. The lower limit value A1 is also used as a value converted to the APEX value.

露出条件補正値算出部6aeは、基本補正値が下限値A1より大きいと判定したとき(ステップS204でYESのとき)、処理を終了させる。露出条件補正値算出部6aeは、基本補正値が下限値A1より大きくないと判定したとき(ステップS204でNOのとき)、基本補正値を下限値A1にクリップする(ステップS205)。ステップS205の後、露出条件補正値算出部6aeは、処理を終了させる。   If the exposure condition correction value calculation unit 6ae determines that the basic correction value is larger than the lower limit value A1 (YES in step S204), the process ends. The exposure condition correction value calculation unit 6ae clips the basic correction value to the lower limit value A1 (step S205) when it determines that the basic correction value is not larger than the lower limit value A1 (when NO in step S204). After step S205, the exposure condition correction value calculation unit 6ae ends the process.

図6は、図5の処理に従って算出される基本補正値と高輝度白色エリア支配率との関係を示している。基本補正値は、下限値A1から上限値A2までの範囲で、高輝度白色エリア支配率の変化に対して線形に変化する。   FIG. 6 shows the relationship between the basic correction value calculated according to the process of FIG. 5 and the high luminance white area dominance. The basic correction value changes linearly with respect to the change of the high luminance white area dominance in the range from the lower limit value A1 to the upper limit value A2.

ここで、図4の説明に戻る。ステップS106で補正値が算出された後、制御部6の効果率算出部6afは、基本補正値を調整するための効果率を算出する(ステップS107)。以下、図7を参照して効果率の算出例を説明する。まず、効果率算出部6afは、以下の式(4)に基づいて効果率を算出する(ステップS301)。   Here, it returns to the explanation of FIG. After the correction value is calculated in step S106, the effect rate calculation unit 6af of the control unit 6 calculates an effect rate for adjusting the basic correction value (step S107). Hereinafter, a calculation example of the effect rate will be described with reference to FIG. First, the effect rate calculating unit 6af calculates the effect rate based on the following equation (4) (step S301).

効果率=(補正前輝度BV−補正前輝度TH1)/(補正前輝度TH2−補正前輝度TH1) (4)
ここで、補正前輝度TH1及び補正前輝度TH2は、撮影シーンの切り替わりの基準となる輝度の閾値であって、補正前輝度TH1<補正前輝度TH2である。補正前輝度TH1及び補正前輝度TH2もAPEX値に変換された値である。補正前輝度TH1は、例えばBV5.5である。また、補正前輝度TH2は、例えば、BV7.5である。なお、補正前輝度TH1及び補正前輝度TH2は、撮影シーンに応じた適切な値であれば、例示した値に限らずとも良い。補正前輝度TH1より小さい補正前輝度BVを有する撮影シーンは、例えば、日没後の屋外、通常の明るさの室内、日中の日陰、暗闇環境などの画像全体が暗い撮影シーンに対応する。また、補正前輝度TH2より大きい補正前輝度BVを有する撮影シーンは、例えば、日中晴天環境下の白壁、若しくは、日中晴天環境下の雲、日中曇天環境下の空、日中の雪原などの画像全体が明るい撮影シーンに対応している。さらに、補正前輝度TH1と補正前輝度TH2との間の補正前輝度BVを有する撮影シーンは、例えば、早朝若しくは夕方の白壁若しくは雲、早朝若しくは夕刻の曇天時の空、若しくは、日中の日陰混合シーンなどの撮影シーンである。
Effect ratio = (pre-correction luminance BV−pre-correction luminance TH1) / (pre-correction luminance TH−pre-correction luminance TH1) (4)
Here, the pre-correction luminance TH1 and the pre-correction luminance TH2 are threshold values of the luminance serving as a reference for switching of the shooting scene, and the pre-correction luminance TH1 <the pre-correction luminance TH2. The pre-correction luminance TH1 and the pre-correction luminance TH2 are also values converted into APEX values. The pre-correction luminance TH1 is, for example, BV5.5. The pre-correction luminance TH2 is, for example, BV7.5. The pre-correction luminance TH1 and the pre-correction luminance TH2 are not limited to the illustrated values as long as they are appropriate values according to the shooting scene. The shooting scene having the pre-correction brightness BV smaller than the pre-correction brightness TH1 corresponds to, for example, a shooting scene where the entire image is dark, such as an outdoor after sunset, a room with normal brightness, a daytime shade and a dark environment. In addition, a shooting scene having a pre-correction brightness BV greater than the pre-correction brightness TH2 may be, for example, a white wall in a daytime sunny environment, or a cloud in a daytime sunny environment, a sky in a daytime cloudy environment, a daytime snowfield The entire image, such as, corresponds to a bright shooting scene. Furthermore, a shooting scene having a pre-correction brightness BV between the pre-correction brightness TH1 and the pre-correction brightness TH2 is, for example, a white wall or a cloud in the early morning or evening, the sky in the early morning or evening cloudy weather, or a daytime shade. It is a shooting scene such as a mixed scene.

ステップS301の後、効果率算出部6afは、効果率の大きさが上限値(例えば1)未満であるか否かを判定する(ステップS302)。効果率算出部6afは、効果率の値が1未満ではなかったと判定したとき(ステップS302でNOのとき)、効果率の値を1にクリップする(ステップS303)。ステップS303の後、効果率算出部6afは、処理を終了させる。   After step S301, the effect rate calculation unit 6af determines whether the magnitude of the effect rate is less than the upper limit (for example, 1) (step S302). When it is determined that the value of the effect rate is not less than 1 (when NO in step S302), the effect rate calculator 6af clips the value of the effect rate to 1 (step S303). After step S303, the effectiveness calculating unit 6af ends the process.

一方、効果率算出部6afは、効果率が1未満であったと判定したとき(ステップS302でYESのとき)、効果率の値が下限値(例えば0)より大きいか否かを判定する(ステップS304)。効果率算出部6afは、効果率の値が0より大きくなかったと判定したとき(ステップS304でNOのとき)、効果率の値を0にクリップする(ステップS305)。ステップS304でYESのとき、又は、ステップS305の後、効果率算出部6afは、処理を終了させる。   On the other hand, when the effect rate calculating unit 6af determines that the effect rate is less than 1 (YES in step S302), it determines whether the value of the effect rate is greater than the lower limit (for example, 0) (step S304). When it is determined that the value of the effect rate is not larger than 0 (when NO in step S304), the effect rate calculation unit 6af clips the value of the effect rate to 0 (step S305). When YES in step S304 or after step S305, the effectiveness rate calculation unit 6af ends the process.

図8は、図7の処理に従って算出される効果率と補正前輝度BVとの関係を示している。効果率は、補正前輝度BVが補正前輝度TH2よりも大きいときに上限値1になる。また、効果率は、補正前輝度BVが補正前輝度TH1よりも小さいときに下限値0になる。さらに、効果率は、補正前輝度BVが補正前輝度TH1と補正前輝度TH2との間の値のときに、補正前輝度BVの変化に対して線形に変化する。   FIG. 8 shows the relationship between the effect rate calculated according to the process of FIG. 7 and the luminance BV before correction. The effect rate becomes the upper limit value 1 when the pre-correction luminance BV is larger than the pre-correction luminance TH2. Further, the effect rate becomes the lower limit value 0 when the pre-correction luminance BV is smaller than the pre-correction luminance TH1. Furthermore, the effect rate changes linearly with the change in the pre-correction luminance BV when the pre-correction luminance BV is a value between the pre-correction luminance TH1 and the pre-correction luminance TH2.

ここで、図4の説明に戻る。ステップS107で効果率が算出された後、制御部6の最後の補正値算出部6agは、ステップS106で算出された基本補正値とステップS107で算出された効果率とから以下の式(5)に基づいて最後の露出条件補正値(最終補正値、以下では最後の補正値と称す)を算出する(ステップS108)。   Here, it returns to the explanation of FIG. After the effect rate is calculated in step S107, the last correction value calculation unit 6ag of the control unit 6 calculates the following equation (5) from the basic correction value calculated in step S106 and the effect rate calculated in step S107. The final exposure condition correction value (final correction value, hereinafter referred to as the last correction value) is calculated based on (step S108).

最後の補正値=基本補正値*効果率 (5)
ステップS108の後、制御部6の補正後輝度決定部6ahは、補正前輝度BVから最後の補正値を減算して補正後輝度BVを算出する(ステップS109)。図9は、補正前輝度BVと補正後輝度BVとの関係を示している。補正前輝度BVに対する補正後輝度BVの変化量は、最後の補正値によって変化する。そして、最後の補正値は、効果率によって変化する。前述したように、効果率は、補正前輝度BVと補正前輝度TH1及び補正前輝度TH2との関係によって変化する。したがって、補正後輝度BVの変化量も、補正前輝度TH1及び補正前輝度TH2をそれぞれ境にして変化する。
Last correction value = basic correction value * effect rate (5)
After step S108, the after-correction luminance determination unit 6ah of the control unit 6 subtracts the last correction value from the before-correction luminance BV to calculate the after-correction luminance BV (step S109). FIG. 9 shows the relationship between the pre-correction luminance BV and the post-correction luminance BV. The variation of the post-correction brightness BV with respect to the pre-correction brightness BV changes with the last correction value. And the last correction value changes with an effect rate. As described above, the effect rate changes according to the relationship between the pre-correction luminance BV, the pre-correction luminance TH1, and the pre-correction luminance TH2. Therefore, the change amount of the post-correction luminance BV also changes with the pre-correction luminance TH1 and the pre-correction luminance TH2 as boundaries.

図9のエリアB1は、補正前輝度BVが補正前輝度TH1よりも小さくなっているエリアである。このエリアB1では、効果率は、下限値になる。したがって、エリアB1では、最後の補正値は、最小値になる。図9は、エリアB1の効果率が0である例を示している。この場合、補正前輝度BVと補正後輝度BVとは等しくなる。   Area B1 in FIG. 9 is an area in which the pre-correction luminance BV is smaller than the pre-correction luminance TH1. In the area B1, the effectiveness rate becomes the lower limit value. Therefore, in the area B1, the last correction value is the minimum value. FIG. 9 shows an example in which the effect rate of the area B1 is zero. In this case, the pre-correction luminance BV and the post-correction luminance BV become equal.

図9のエリアB2は、補正前輝度BVが補正前輝度TH2よりも大きくなっているエリアである。このエリアB2では、効果率は、上限値になる。したがって、エリアB2では、最後の補正値は、最大値になる。図9は、エリアB2の効果率が1である例を示している。この場合、補正後輝度BVは、高輝度白色エリア支配率に応じて決定される基本補正値の分だけ補正前輝度BVよりも小さくなる。   Area B2 in FIG. 9 is an area in which the pre-correction luminance BV is larger than the pre-correction luminance TH2. In the area B2, the effectiveness rate is the upper limit value. Therefore, in the area B2, the last correction value is the maximum value. FIG. 9 shows an example in which the effect rate of the area B2 is one. In this case, the post-correction brightness BV is smaller than the pre-correction brightness BV by the basic correction value determined according to the high-brightness white area dominance.

図9のエリアB3は、補正前輝度BVが補正前輝度TH1と補正前輝度TH2との間の値であるエリアである。このエリアB3では、効果率は、補正前輝度BVの大きさに応じて直線状に変化する。この場合、補正後輝度BVは、補正前輝度BVに応じて、エリアB1とエリアB2との間を結ぶ直線状に変化する。   Area B3 in FIG. 9 is an area in which the pre-correction luminance BV is a value between the pre-correction luminance TH1 and the pre-correction luminance TH2. In the area B3, the effect rate linearly changes in accordance with the size of the pre-correction luminance BV. In this case, the post-correction brightness BV changes in a straight line connecting the area B1 and the area B2 according to the pre-correction brightness BV.

ステップS109の後、制御部6の露出制御部6aiと撮影制御部6bとは露出制御を実行する(ステップS110)。露出制御に際し、露出制御部6aiは、以下の計算式(6)に基づいて補正後の露出EVを算出する。   After step S109, the exposure control unit 6ai of the control unit 6 and the photographing control unit 6b execute exposure control (step S110). At the time of exposure control, the exposure control unit 6ai calculates the corrected exposure EV based on the following formula (6).

補正後の露出EV=補正後輝度BV+SV (6)
ここで、SVは、撮像素子の感度値をAPEX値に換算したものである。補正後の露出EVを算出した後、露出制御部6aiは、補正後の露出EVを用いて、所定の基準露出(例えば18%グレーに対応した露出)で撮像部2による撮像が行われるのに必要な撮影条件(シャッタースピードと絞り値の何れか又は両方)を設定する。そして、制御部6の撮影制御部6bは、露出制御部6aiで設定されたシャッタースピードと絞り値に基づいて撮像部2を制御する。続いて、撮影制御部6bは、撮像部2によって撮像され、一時記憶部5に記憶された画像データに対して画像処理を施す。その後、撮影制御部6bは、画像処理した画像データに基づく画像を状況表示部3に表示させる(ステップS111)。
Corrected exposure EV = corrected brightness BV + SV (6)
Here, SV is obtained by converting the sensitivity value of the imaging device into an APEX value. After calculating the exposure EV after correction, the exposure control unit 6ai uses the corrected exposure EV to perform imaging by the imaging unit 2 at a predetermined reference exposure (for example, an exposure corresponding to 18% gray). Set the necessary shooting conditions (shutter speed and / or aperture value or both). Then, the photographing control unit 6b of the control unit 6 controls the imaging unit 2 based on the shutter speed and the aperture value set by the exposure control unit 6ai. Subsequently, the imaging control unit 6 b performs image processing on the image data captured by the imaging unit 2 and stored in the temporary storage unit 5. Thereafter, the photographing control unit 6b causes the situation display unit 3 to display an image based on the image data subjected to the image processing (step S111).

以上、本発明に係る撮像装置の実施形態の効果について図10を参照して説明する。多分割測光の場合、背景に多くの高輝度白色エリアが含まれている撮影シーンは、明るいシーンであると判定される。この場合、背景の露出を基準露出に合わせようとして被写体が本来の見た目よりも暗く撮影されてしまうことがある。これに対し、本実施形態の撮像装置10は、補正前輝度BVを、高輝度白色エリア支配率(高輝度白色エリアの影響度合い)に応じて小さくするように補正してから露出制御を行う。したがって、本実施形態では、露出制御によって被写体が暗く撮影される程度を抑制することが可能である。また、基本補正値は、高輝度白色エリア支配率に基づいて決定される。したがって、被写体のエリアが高輝度白色エリアであっても基本補正値を算出することができる。また、基本補正値には、上限値と下限値が設けられているので輝度の過補正が抑制される。   The effects of the embodiment of the imaging device according to the present invention are described above with reference to FIG. In the case of multi-segment photometry, a shooting scene in which a large number of high brightness white areas are included in the background is determined to be a bright scene. In this case, the subject may be photographed darker than originally expected in order to match the background exposure with the reference exposure. On the other hand, the imaging device 10 according to the present embodiment performs the exposure control after correcting the pre-correction luminance BV to be smaller according to the high luminance white area dominant ratio (the degree of influence of the high luminance white area). Therefore, in the present embodiment, it is possible to suppress the degree to which the subject is photographed dark by the exposure control. Also, the basic correction value is determined based on the high luminance white area dominance. Therefore, even if the area of the subject is a high luminance white area, the basic correction value can be calculated. Further, since the upper limit value and the lower limit value are provided in the basic correction value, overcorrection of the luminance is suppressed.

また、この撮像装置10は、基本補正値を効果率によって調整している。この効果率を補正前輝度BV、すなわち撮影シーンの明るさに応じて変化させることで撮影シーンに応じた補正値で露出制御が行われる。例えば、図9のエリアB1では、補正値を小さくするように調整することで、暗い撮影シーンが必要以上に明るく撮影されてしまうことがない。逆に、図9のエリアB2では、補正値を大きくするように調整することで、高輝度白色エリアの影響によって被写体が暗くされてしまう程度を抑制することが可能である。さらに、図9のエリアB3では、例えばライブビュー表示時において補正前輝度BVが変化したときの急激な撮影条件の変化を抑制することができる。暗い撮影シーンが必要以上に明るく撮影されてしまうことが防止される。
また、効果率を算出する際に、撮影シーンに応じて補正前輝度TH1、TH2を変更してもよい。上記実施例においては、補正前輝度TH1=5.5、補正前輝度TH2=7.5としているが、たとえば、撮影シーンが室内であると判定される場合は補正前輝度TH1=2.5、補正前輝度TH2=4.5と低輝度側に変更してもよい。また、たとえば撮影シーンが早朝・夕刻時の曇天であると判定される場合は、補正前輝度TH1=4、補正前輝度TH2=6と低輝度側に変更してもよい。このように、撮影シーンに応じて補正前輝度TH1、TH2を適切に設定することによって、より適切な露出を行うことが可能となる。なお、撮影シーンの判定は、輝度、光源の種類、時刻等に応じて公知の方法で行えばよい。
また、高輝度白色判定を行う際に、撮影シーンに応じて白色と判定する範囲を変更してもよい。すなわち、撮影シーンに応じて、B/R、G/Rの範囲を式(1)、式(2)の範囲から変更してもよい。これにより撮影シーンによらず適切な高輝度白色判定を行うことができる。
ここで、上述した実施形態における撮像装置による各処理は、何れも実行させることができるプログラムとして記憶しても良い。このプログラムは、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フロッピー(登録商標)ディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の外部記憶装置の記憶媒体に記憶されたプログラムを読み込み、この読み込んだプログラムによって動作が制御されることにより、上述した処理を実行することができる。
Further, in the imaging device 10, the basic correction value is adjusted by the effect rate. Exposure control is performed with a correction value according to the shooting scene by changing the effect rate according to the pre-correction brightness BV, that is, the brightness of the shooting scene. For example, in the area B1 of FIG. 9, by adjusting the correction value to be small, a dark photographed scene is not photographed brighter than necessary. On the contrary, in the area B2 of FIG. 9, by adjusting the correction value to be large, it is possible to suppress the extent to which the subject is darkened by the influence of the high luminance white area. Furthermore, in the area B3 of FIG. 9, it is possible to suppress a rapid change in the imaging condition when, for example, the pre-correction luminance BV changes during live view display. It is prevented that the dark shooting scene is shot brighter than necessary.
In addition, when calculating the effect rate, the pre-correction luminances TH1 and TH2 may be changed according to the shooting scene. In the above embodiment, although the pre-correction luminance TH1 = 5.5 and the pre-correction luminance TH2 = 7.5, for example, the pre-correction luminance TH1 = 2.5 when it is determined that the shooting scene is indoors. The pre-correction luminance TH2 may be changed to the low luminance side of 4.5. Further, for example, when it is determined that the photographed scene is cloudy in the early morning / evening, the pre-correction luminance TH1 = 4 and the pre-correction luminance TH2 = 6 may be changed to the low luminance side. As described above, by setting the pre-correction luminances TH1 and TH2 appropriately according to the shooting scene, it is possible to perform more appropriate exposure. The determination of the shooting scene may be performed by a known method according to the brightness, the type of the light source, the time, and the like.
In addition, when performing high-intensity white determination, the range determined to be white may be changed according to the shooting scene. That is, the ranges of B / R and G / R may be changed from the ranges of Formula (1) and Formula (2) according to the shooting scene. As a result, appropriate high brightness white determination can be performed regardless of the shooting scene.
Here, each process by the imaging device in the above-described embodiment may be stored as a program that can be executed. This program is used as a storage medium for external storage devices such as memory cards (ROM cards, RAM cards, etc.), magnetic disks (floppy (registered trademark), hard disks, etc.), optical disks (CD-ROM, DVD, etc.), semiconductor memory, etc. The above-described processing can be executed by loading a stored program and controlling the operation by the loaded program.

1…撮影レンズ部、 2…撮像部、 3…状況表示部、 4…操作部、 5…一時記憶部、 6…制御部、 6a…被補正露出部、 6aa…測光エリア輝度算出部、 6ab…補正前露出条件算出部、 6ac…高輝度白色判定部、 6ad…高輝度白色エリア支配率算出部、 6ae…露出条件補正値算出部、 6af…効果率算出部、 6ag…最後の露出条件補正値算出部、 6ah…補正後輝度決定部、 6ai…露出制御部、 6b…撮影制御部、 10…撮像装置、 A1…補正値の下限値、 A2…補正値の上限値、 BV…輝度、 B1、B2、B3…エリア、 Ev…露出、 O…主要被写体、 Sv…感度、 TH1、TH2…所定の補正前輝度閾値、 W…高輝度白色の測光エリア。   DESCRIPTION OF SYMBOLS 1 ... photography lens part, 2 ... imaging part, 3 ... status display part, 4 ... operation part, 5 ... temporary memory part, 6 ... control part, 6a ... correction | amendment exposure part to be corrected, 6aa ... metering area brightness calculation part, 6ab ... Correction pre-exposure condition calculation unit, 6ac: high brightness white judgment unit, 6ad: high brightness white area dominance calculation unit, 6ae: exposure condition correction value calculation unit, 6af: effect ratio calculation unit, 6ag: last exposure condition correction value Calculation unit 6ah: corrected luminance determination unit 6ai: exposure control unit 6b: imaging control unit 10: imaging device, A1: lower limit value of correction value, A2: upper limit value of correction value, BV: luminance, B1, B2, B3 ... area, Ev ... exposure, O ... main subject, Sv ... sensitivity, TH1, TH2 ... predetermined pre-correction luminance threshold, W ... high luminance white photometric area.

Claims (4)

撮像領域に結像された被写体像を撮像して画像データを生成する撮像部と、
前記撮像部により生成された画像データに基づき、画像全体の輝度である補正前の輝度を算出する補正前輝度算出部と、
前記撮像部により生成された画像データにおいて、高輝度かつ白色のエリアを判定する高輝度白色判定部と、
前記撮像部により生成された画像データの画像全体に対する前記高輝度かつ白色のエリアである高輝度白色エリアの割合である高輝度白色エリア支配率を算出する高輝度白色エリア支配率算出部と、
前記高輝度白色エリア支配率が大きいほど露出量が大きくなるように、露出条件としての輝度を補正するための補正値を算出する補正値算出部と、
前記補正前の輝度と、前記撮像部により被写体像として撮像される撮影シーンの切り替わりの基準に対応する第1の輝度及び第2の輝度との比較に応じて前記補正値を調整するための効果率を算出する効果率算出部と、
前記効果率により前記補正値を調整し、調整された補正値によって補正された輝度に基づいて前記撮像部の露出を制御する露出制御部と、
を具備する撮像装置。
An imaging unit that captures an object image formed in an imaging region to generate image data;
An uncorrected luminance calculation unit that calculates the uncorrected luminance that is the luminance of the entire image based on the image data generated by the imaging unit;
In the image data generated by the imaging unit, a high brightness white determination unit that determines a high brightness and white area;
A high brightness white area dominance ratio calculation unit that calculates a high brightness white area dominance ratio that is a ratio of the high brightness white area that is the high brightness and white area to the entire image of the image data generated by the imaging unit;
A correction value calculation unit that calculates a correction value for correcting the luminance as the exposure condition such that the exposure amount becomes larger as the high-brightness white area dominance rate becomes larger;
An effect of adjusting the correction value according to a comparison between the luminance before the correction and the first luminance and the second luminance corresponding to a reference of switching of a photographed scene imaged as a subject image by the imaging unit An efficiency calculation unit that calculates the ratio;
An exposure control unit which adjusts the correction value by the effect rate and controls the exposure of the imaging unit based on the luminance corrected by the adjusted correction value;
An imaging device equipped with
前記補正値は、所定の上限値と所定の下限値とを有する請求項1に記載の撮像装置。   The imaging device according to claim 1, wherein the correction value has a predetermined upper limit value and a predetermined lower limit value. 前記効果率算出部は、前記補正前の輝度と前記第1の輝度との差を、前記第1の輝度と前記第2の輝度との差で除算することで前記効果率を算出する請求項1に記載の撮像装置。   The effect ratio calculation unit calculates the effect ratio by dividing the difference between the brightness before the correction and the first brightness by the difference between the first brightness and the second brightness. The imaging device according to 1. 撮像領域に結像された被写体像を撮像部が撮像して画像データを生成することと、
前記生成された画像データに基づき、画像全体の輝度である補正前の輝度を算出することと、
前記生成された画像データにおいて、高輝度かつ白色のエリアを判定することと、
前記生成された画像データ画像全体に対する前記高輝度かつ白色のエリアである高輝度白色エリアの割合である高輝度白色エリア支配率を算出することと、
前記高輝度白色エリア支配率が大きいほど露出量が大きくなるように、露出条件としての輝度を補正するための補正値を算出することと、
補正前の輝度と、撮像部により被写体像として撮像される撮影シーンの切り替わりの基準に対応する第1の輝度及び第2の輝度との比較に応じて前記補正値を調整するための効果率を算出することと、
前記効果率により前記補正値を調整し、調整された補正値によって補正された輝度に基づいて露出を制御することと、
を具備する撮像装置の制御方法。
The image pickup unit picks up an image of a subject formed in the image pickup area to generate image data;
Calculating the luminance before correction, which is the luminance of the entire image, based on the generated image data;
Determining a high brightness and white area in the generated image data;
Calculating a high brightness white area dominance rate that is a ratio of the high brightness white area that is the high brightness and white area to the entire generated image data image;
Calculating a correction value for correcting the luminance as an exposure condition so that the exposure amount becomes larger as the high-brightness white area dominance rate becomes larger;
The effect rate for adjusting the correction value according to the comparison between the luminance before correction and the first luminance and the second luminance corresponding to the reference of the switching of the photographed scene captured as a subject image by the imaging unit Calculating and
Adjusting the correction value by the effect rate, and controlling the exposure based on the brightness corrected by the adjusted correction value;
Method of controlling an imaging device comprising the
JP2019024474A 2019-02-14 2019-02-14 Imaging device and control method of imaging device Active JP6638101B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019024474A JP6638101B2 (en) 2019-02-14 2019-02-14 Imaging device and control method of imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019024474A JP6638101B2 (en) 2019-02-14 2019-02-14 Imaging device and control method of imaging device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2014093055A Division JP6483351B2 (en) 2014-04-28 2014-04-28 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND IMAGING DEVICE CONTROL PROGRAM

Publications (2)

Publication Number Publication Date
JP2019080358A true JP2019080358A (en) 2019-05-23
JP6638101B2 JP6638101B2 (en) 2020-01-29

Family

ID=66628167

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019024474A Active JP6638101B2 (en) 2019-02-14 2019-02-14 Imaging device and control method of imaging device

Country Status (1)

Country Link
JP (1) JP6638101B2 (en)

Also Published As

Publication number Publication date
JP6638101B2 (en) 2020-01-29

Similar Documents

Publication Publication Date Title
US10574961B2 (en) Image processing apparatus and image processing method thereof
US9467672B2 (en) Image processing device that performs white balance control, method of controlling the same, and image pickup apparatus
KR100478064B1 (en) Illumination light color estimating method of obtaining white balance and image sensing apparatus
JP5749224B2 (en) The camera module
JP2011039449A (en) Imaging apparatus and control method thereof
JP2017112462A (en) Imaging device and control method, program therefor and storage medium
US20080298794A1 (en) Methods and apparatuses for image exposure correction
JP5898509B2 (en) Imaging apparatus, control method therefor, program, 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
JP2012222469A (en) Image capturing apparatus and control method therefor
JP2008219838A (en) Imaging apparatus, white balance control device and white balance control method
JP2007036438A (en) Color discrimination method and device of imaging apparatus, and exposure control method of imaging apparatus
JP2015005927A (en) Image processing apparatus and control method of the same
JP5875307B2 (en) Imaging apparatus and control method thereof
JP6638101B2 (en) Imaging device and control method of imaging device
JP2006135601A (en) Imaging apparatus
JP6483351B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND IMAGING DEVICE CONTROL PROGRAM
JP2012191645A (en) Imaging apparatus and control method of the same
JP4396225B2 (en) White balance control device and electronic device
JP2004186876A (en) Digital camera
JP2011188186A (en) Device for calculating white balance gain
Kang et al. Bayer patterned high dynamic range image reconstruction using adaptive weighting function
JP2016019081A (en) Image processing system, control method thereof, and control program
JP5791454B2 (en) Imaging apparatus and control method thereof
TWI798837B (en) Control circuit and control method of image sensor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191008

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191223

R151 Written notification of patent or utility model registration

Ref document number: 6638101

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250