JP2020088802A - Imaging apparatus and control method therefor, program, storage medium - Google Patents

Imaging apparatus and control method therefor, program, storage medium Download PDF

Info

Publication number
JP2020088802A
JP2020088802A JP2018225353A JP2018225353A JP2020088802A JP 2020088802 A JP2020088802 A JP 2020088802A JP 2018225353 A JP2018225353 A JP 2018225353A JP 2018225353 A JP2018225353 A JP 2018225353A JP 2020088802 A JP2020088802 A JP 2020088802A
Authority
JP
Japan
Prior art keywords
exposure
image
value
amount
whiteout
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.)
Pending
Application number
JP2018225353A
Other languages
Japanese (ja)
Inventor
正雄 岡田
Masao Okada
正雄 岡田
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 JP2018225353A priority Critical patent/JP2020088802A/en
Publication of JP2020088802A publication Critical patent/JP2020088802A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

To provide an imaging apparatus allowing for higher accurate photometric arithmetic operation in a scanning type photometric arithmetic operation.SOLUTION: The imaging apparatus comprises: an imaging part that captures a subject image; an image control part that causes the imaging part to perform photographing at each of a plurality of preset different exposure values, and generates a plurality of photographed images having different exposure; a detection part that detects a halation quantity or quantity of loss of shadow detail in each of the plurality of photographed images; and a calculation part that selects at least two photographed images from among the plurality of photographed images on the basis of the halation quantity or the quantity of loss of shadow detail, and calculates an exposure value at a regular exposure on the basis of the exposure value of the selected photographed image.SELECTED DRAWING: Figure 2

Description

本発明は、デジタルカメラ等の撮像装置における露出制御技術に関するものである。 The present invention relates to an exposure control technique in an image pickup apparatus such as a digital camera.

デジタルカメラ等の撮像装置において、露出を決定するための方法の1つとして、予め設定された複数種類の露出で複数枚の画像を撮影し、その複数枚の画像の輝度データに基づいて最適露出を決定するスキャン型の露出決定方法が知られている。 In an imaging device such as a digital camera, as one of methods for determining exposure, a plurality of images are captured with a plurality of preset exposures, and an optimum exposure is obtained based on brightness data of the plurality of images. There is known a scan type exposure determining method for determining.

この方法では、複数の露出値で複数枚の画像を撮影し、それぞれの露出値における画像の輝度値と目標輝度値との差である露出差分値を求める。この複数枚の画像の中から、上記の露出差分値の絶対値の一番小さい画像と二番目に小さい画像の少なくとも2枚の第1及び第2の画像を選択する。そして、第1の画像の露出値と露出差分値、および第2の画像の露出値と露出差分値とに基づいて、本露光時の露出値を決定する。 In this method, a plurality of images are photographed at a plurality of exposure values, and an exposure difference value, which is the difference between the image brightness value and the target brightness value at each exposure value, is obtained. At least two first and second images, the image having the smallest absolute value of the exposure difference value and the image having the second smallest absolute value, are selected from the plurality of images. Then, the exposure value at the time of main exposure is determined based on the exposure value and the exposure difference value of the first image and the exposure value and the exposure difference value of the second image.

例えば、特許文献1には、このような方法で最適露出を決定するスキャン型の測光技術が開示されている。 For example, Patent Document 1 discloses a scan-type photometric technique for determining the optimum exposure by such a method.

特開2002−277918号公報JP, 2002-277918, A

上記の特許文献1では、以下のようにしてスキャン測光演算を行っている。 In the above-mentioned Patent Document 1, scan photometry calculation is performed as follows.

予め設定されている3つの異なる露出値ScanBv0,ScanBv1,ScanBv2で撮影された画像データから、3つの異なる露出値毎に、目標露出値に対する露出差分値(ΔBv0,ΔBv1,ΔBv2)を下記のようにして算出する。 The exposure difference values (ΔBv0, ΔBv1, ΔBv2) with respect to the target exposure value are set as follows for each of the three different exposure values from the image data shot with the three different preset exposure values ScanBv0, ScanBv1, and ScanBv2. To calculate.

まず、画像データを縦24×横16のブロックに分割した24×16のブロック毎の平均輝度値Y(i,j)(i=0〜23,j=0〜15)を算出する。そして、24×16のブロック毎の平均輝度値Y(i,j)から、下記演算式に基づいて露出差分値が算出される。ただし、Yrefは画像の目標輝度値、Weight(i,j)はブロック毎の重み係数である。 First, the average luminance value Y(i, j) (i=0 to 23, j=0 to 15) for each 24×16 block obtained by dividing the image data into vertical 24×horizontal 16 blocks is calculated. Then, the exposure difference value is calculated from the average luminance value Y(i, j) for each 24×16 block based on the following arithmetic expression. However, Yref is a target luminance value of the image, and Weight(i,j) is a weighting coefficient for each block.

ΔBv=log2 (Σ(Y(i, j)×Weight(i, j))/(ΣWeight(i, j)×Yref))
これによって、異なる3つの露出値ScanBv0,ScanBv1,ScanBv2で撮影された3つの画像データそれぞれについて、目標露出値に対する露出差分値ΔBv0,ΔBv1,ΔBv2が算出される。
ΔBv=log 2 (Σ(Y(i, j)×Weight(i, j))/(ΣWeight(i, j)×Yref))
As a result, the exposure difference values ΔBv0, ΔBv1, and ΔBv2 with respect to the target exposure value are calculated for each of the three image data captured with the three different exposure values ScanBv0, ScanBv1, and ScanBv2.

ここで、ΔBv0,ΔBv1,ΔBv2の絶対値ABS(ΔBv0),ABS(ΔBv1),ABS(ΔBv2)の大小関係が例えば、ABS(ΔBv0)>ABS(ΔBv1)>ABS(ΔBv2)であったとする。この場合、本露光時の露出値Bvは、露出値ScanBv1,ScanBv2および、露出差分値ΔBv1,ΔBv2を使用して次の式のように算出される。 Here, it is assumed that the absolute value ABS(ΔBv0), ABS(ΔBv1), and ABS(ΔBv2) of ΔBv0, ΔBv1, and ΔBv2 are, for example, ABS(ΔBv0)>ABS(ΔBv1)>ABS(ΔBv2). In this case, the exposure value Bv at the time of the main exposure is calculated using the exposure values ScanBv1 and ScanBv2 and the exposure difference values ΔBv1 and ΔBv2 as in the following formula.

Bv=ScanBv1×ΔBv2/(ΔBv1+ΔBv2)+
ScanBv2×ΔBv1/(ΔBv1+ΔBv2)
この方法では、露出差分値の絶対値の一番小さい画像の露出値(ScanBv1)とその露出差分値(ΔBv1)、および露出差分値の絶対値の二番目に小さい画像の露出値(ScanBv2)とその露出差分値(ΔBv2)を使用して本露光時の露出値Bvを算出する。具体的には、露出値ScanBv1,ScanBv2を露出差分値ΔBv1,ΔBv2の絶対値に基づいて加重平均しており、露出差分値ΔBvが小さいほうの画像の露出値ScanBvの値をより重視する演算となっている。
Bv=ScanBv1×ΔBv2/(ΔBv1+ΔBv2)+
ScanBv2×ΔBv1/(ΔBv1+ΔBv2)
In this method, the exposure value (ScanBv1) of the image with the smallest absolute value of the exposure difference value and its exposure difference value (ΔBv1), and the exposure value (ScanBv2) of the image with the second smallest absolute value of the exposure difference value are used. The exposure value Bv during the main exposure is calculated using the exposure difference value (ΔBv2). Specifically, the exposure values ScanBv1 and ScanBv2 are weighted and averaged based on the absolute values of the exposure difference values ΔBv1 and ΔBv2, and the value of the exposure value ScanBv of the image with the smaller exposure difference value ΔBv is emphasized. Is becoming

しかしながら、上記の従来技術のようなスキャン測光演算を行う場合、撮像素子の飽和特性等の影響によっては、スキャン測光演算の精度が低下する場合がある。 However, in the case of performing the scan photometric calculation as in the above-described conventional technique, the accuracy of the scan photometric calculation may decrease depending on the saturation characteristics of the image sensor.

例えば、本露光時の露出値Bvを求める際に、露出差分値ΔBvが小さいほうの画像の露出値ScanBvの値をより重視して演算するようにしているが、撮影した画像データに「白飛び」や「黒潰れ」が発生している画素が多く存在する場合がある。ここで、「白飛び」「黒潰れ」とは、次のように定義されるものとする。つまり、画像の各画素の輝度値が例えば、8bitの分解能で算出されている場合、輝度値が255になっている画素を「白飛び」、輝度値が0になっている画素を「黒潰れ」と表現する。 For example, when the exposure value Bv at the time of the main exposure is calculated, the exposure value ScanBv of the image with the smaller exposure difference value ΔBv is more emphasized in the calculation. There are cases where there are many pixels in which “blackout” or “blackout” occurs. Here, "whiteout" and "blackout" are defined as follows. That is, when the brightness value of each pixel of the image is calculated with, for example, a resolution of 8 bits, a pixel having a brightness value of 255 is “blurred” and a pixel having a brightness value of 0 is “black out”. ".

この場合、露出差分値ΔBvが正確に算出されないため、たとえ露出差分値ΔBvが小さくても、その画像の露出値ScanBvの値をより重視して本露光時の露出値Bvを算出すると、本露光時の露出値Bvが正確に求まらない場合が出てくる。 In this case, since the exposure difference value ΔBv is not accurately calculated, even if the exposure difference value ΔBv is small, if the exposure value Bv in the main exposure is calculated by giving more importance to the value of the exposure value ScanBv of the image, In some cases, the exposure value Bv at that time cannot be obtained accurately.

本発明は上述した課題に鑑みてなされたものであり、その目的は、スキャン型の測光演算において、より精度の高い測光演算を行うことを可能にした撮像装置を提供することである。 The present invention has been made in view of the above-described problems, and an object thereof is to provide an imaging device capable of performing more accurate photometric calculation in scan-type photometric calculation.

本発明に係わる撮像装置は、被写体像を撮像する撮像手段と、前記撮像手段に、予め設定された複数の異なる露出値でそれぞれ撮影を行わせ、露出の異なる複数の撮影画像を生成する撮像制御手段と、前記複数の撮影画像のそれぞれにおける白飛び量または黒潰れ量を検出する検出手段と、前記白飛び量または黒潰れ量に基づいて、前記複数の撮影画像の内の少なくとも2枚の撮影画像を選択し、該選択された撮影画像の露出値に基づいて本露光時の露出値を算出する算出手段と、を備えることを特徴とする。 An image pickup apparatus according to the present invention includes an image pickup unit for picking up a subject image, and an image pickup control for causing the image pickup unit to perform image pickup at a plurality of preset different exposure values to generate a plurality of photographed images having different exposures. Means for detecting the amount of blown-out highlights or the amount of blown-out shadows in each of the plurality of picked-up images, and at least two of the plurality of picked-up images are shot based on the amount of blown-out highlights or the amount of blown-out blacks. Calculating means for selecting an image and calculating an exposure value at the time of main exposure based on the exposure value of the selected photographed image.

本発明によれば、スキャン型の測光演算において、より精度の高い測光演算を行うことが可能となる。 According to the present invention, it is possible to perform more accurate photometric calculation in scan-type photometric calculation.

本発明の一実施形態に係わる撮像装置の概略構成を示すブロック図。FIG. 1 is a block diagram showing a schematic configuration of an image pickup device according to an embodiment of the present invention. 本発明の一実施形態における露出決定動作を示すフローチャート。6 is a flowchart showing an exposure determining operation according to the embodiment of the present invention.

以下、本発明の一実施形態について、添付図面を参照して詳細に説明する。図1は、本発明の一実施形態に係わる撮像装置100の概略構成を示すブロック図である。 Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing a schematic configuration of an image pickup apparatus 100 according to an embodiment of the present invention.

図1において、撮影光学系101は、入射した光を集光し被写体像を結像させる。メカニカルシャッタ102は、撮影光学系101の光路を開閉し、撮像素子103の露光時間を制御する。撮像素子103は、撮影光学系101により結像された被写体像を光電変換し、アナログの画像信号を出力する。CDS回路104は、画像信号に対してアナログ信号処理を行う。A/D変換器105は、アナログ画像信号をデジタル画像信号に変換する。タイミング信号発生回路106は、CDS回路104およびA/D変換器105を動作させる信号を発生する。駆動回路107は、撮影光学系101、メカニカルシャッタ102、および撮像素子103を駆動する。信号処理回路108は、画像データに必要な信号処理を行う。画像メモリ109は、信号処理された画像データを一時記憶する。記録媒体110は、撮像装置100に対して取り外し可能に配置され、画像データを記録する。記録回路111は、信号処理された画像データを記録媒体110に記録する処理を行う。画像表示装置112は、信号処理された画像データを表示する。表示回路113は、画像表示装置112を駆動して画像を表示させる。システム制御部114は、撮像装置100の全体を制御する。ROM115は、撮像装置100の全体を制御するためにシステム制御部114が実行するプログラムを記憶している。ROM115に格納されているプログラムがRAM116に展開されてシステム制御部114により実行される。RAM116は、システム制御部114の作業領域としても使用される。 In FIG. 1, a photographing optical system 101 collects incident light and forms a subject image. The mechanical shutter 102 opens and closes the optical path of the photographing optical system 101 and controls the exposure time of the image sensor 103. The image pickup element 103 photoelectrically converts the subject image formed by the photographing optical system 101 and outputs an analog image signal. The CDS circuit 104 performs analog signal processing on the image signal. The A/D converter 105 converts an analog image signal into a digital image signal. The timing signal generation circuit 106 generates a signal for operating the CDS circuit 104 and the A/D converter 105. The drive circuit 107 drives the photographing optical system 101, the mechanical shutter 102, and the image sensor 103. The signal processing circuit 108 performs signal processing necessary for image data. The image memory 109 temporarily stores the signal-processed image data. The recording medium 110 is arranged so as to be removable from the imaging device 100 and records image data. The recording circuit 111 performs a process of recording the image data that has been subjected to signal processing on the recording medium 110. The image display device 112 displays the image data subjected to signal processing. The display circuit 113 drives the image display device 112 to display an image. The system control unit 114 controls the entire imaging device 100. The ROM 115 stores a program executed by the system control unit 114 to control the entire imaging device 100. The program stored in the ROM 115 is expanded in the RAM 116 and executed by the system control unit 114. The RAM 116 is also used as a work area of the system control unit 114.

以下、上述のように構成された撮像装置100における撮影動作について説明する。 Hereinafter, a shooting operation in the image pickup apparatus 100 configured as described above will be described.

まず、撮影光学系101は、システム制御部114からの制御信号により、光学系を駆動して、適切な明るさに設定された被写体像を撮像素子103上に結像させる。次に、メカニカルシャッタ102は、システム制御部114からの制御信号により、必要な露光時間となるように撮像素子103の動作に合わせて撮像素子103を遮光するように駆動される。この時、撮像素子103が電子シャッタ機能を有する場合は、メカニカルシャッタ102と併用して、必要な露光時間を確保してもよい。 First, the photographing optical system 101 drives the optical system in response to a control signal from the system control unit 114 to form a subject image having an appropriate brightness on the image sensor 103. Next, the mechanical shutter 102 is driven by the control signal from the system control unit 114 so as to shield the image sensor 103 in accordance with the operation of the image sensor 103 so that the required exposure time is obtained. At this time, when the image sensor 103 has an electronic shutter function, it may be used together with the mechanical shutter 102 to secure a necessary exposure time.

撮像素子103は、システム制御部114により制御されるタイミング信号発生回路106が発生する動作パルスに基づいて駆動され、被写体像を光電変換により電気信号に変換してアナログ画像信号として出力する。撮像素子103から出力されたアナログの画像信号は、システム制御部114により制御されるタイミング信号発生回路106が発生する動作パルスに基づいて、CDS回路104でクロック同期性ノイズが除去される。そして、A/D変換器105によりデジタル画像信号に変換される。A/D変換器105から出力されたデジタル画像信号は、信号処理回路108において、色変換処理、ホワイトバランス処理、ガンマ補正処理等の画像処理、解像度変換処理、画像圧縮処理等が施される。 The image sensor 103 is driven based on the operation pulse generated by the timing signal generation circuit 106 controlled by the system control unit 114, photoelectrically converts the subject image into an electric signal, and outputs the electric signal as an analog image signal. The clock synchronism noise of the analog image signal output from the image sensor 103 is removed by the CDS circuit 104 based on the operation pulse generated by the timing signal generation circuit 106 controlled by the system control unit 114. Then, it is converted into a digital image signal by the A/D converter 105. The digital image signal output from the A/D converter 105 is subjected to image processing such as color conversion processing, white balance processing, gamma correction processing, resolution conversion processing, and image compression processing in the signal processing circuit 108.

画像メモリ109は、信号処理中のデジタル画像信号を一時的に記憶したり、信号処理されたデジタル画像信号である画像データを記憶したりするために用いられる。信号処理回路108で信号処理された画像データや画像メモリ109に記憶されている画像データは、記録回路111において記録媒体110に適したデータ(例えば階層構造を持つファイルシステムデータ)に変換されて記録媒体110に記録される。あるいは、信号処理回路108で解像度変換処理を実施された後、表示回路113において画像表示装置112に適した信号(例えばNTSC方式のアナログ信号等)に変換されて画像表示装置112に表示される。 The image memory 109 is used to temporarily store a digital image signal that is being signal-processed or to store image data that is a signal-processed digital image signal. The image data signal-processed by the signal processing circuit 108 and the image data stored in the image memory 109 are converted into data (for example, file system data having a hierarchical structure) suitable for the recording medium 110 in the recording circuit 111 and recorded. It is recorded on the medium 110. Alternatively, after the resolution conversion processing is performed by the signal processing circuit 108, the signal is converted into a signal suitable for the image display device 112 (for example, an analog signal of NTSC system) in the display circuit 113 and displayed on the image display device 112.

さらに、記録媒体110に画像データが記録されている場合の再生動作について説明する。システム制御部114からの制御信号により記録回路111は、記録媒体110から画像データを読み出す。同じくシステム制御部114からの制御信号により信号処理回路108は、画像データが圧縮画像であった場合には、画像伸長処理を行い、画像メモリ109に記憶する。画像メモリ109に記憶された画像データは、信号処理回路108において解像度変換処理が施された後、表示回路113において画像表示装置112に適した信号に変換されて画像表示装置112に表示される。 Further, a reproducing operation when image data is recorded on the recording medium 110 will be described. The recording circuit 111 reads image data from the recording medium 110 in response to a control signal from the system control unit 114. Similarly, in response to a control signal from the system control unit 114, the signal processing circuit 108 performs image expansion processing when the image data is a compressed image, and stores it in the image memory 109. The image data stored in the image memory 109 is subjected to resolution conversion processing in the signal processing circuit 108, converted into a signal suitable for the image display device 112 in the display circuit 113, and displayed on the image display device 112.

次に、図2は、本実施形態における露出制御処理の動作を示すフローチャートである。本実施形態における露出制御は、システム制御部114がROM115に格納されているプログラムを実行することにより行われる。 Next, FIG. 2 is a flowchart showing the operation of the exposure control processing in the present embodiment. The exposure control in this embodiment is performed by the system control unit 114 executing a program stored in the ROM 115.

初めに、ステップS201において、システム制御部114は、スキャン測光用に予め設定されている複数の露出値を用いて、複数回の撮像を行い、複数の画像データ(撮影画像)を取得(生成)する撮像制御を行う。3つの露出値を用いてスキャン測光を行う場合は、異なる3つの露出値ScanBv0,ScanBv1,ScanBv2で撮影された3つの画像データを取得する。なお、露出値を示すBvはAPEX(ADDITIVE SYSTEM OF PHOTOGRAPHIC EXPOSURE)システムにより定義される。 First, in step S201, the system control unit 114 captures (generates) a plurality of image data (captured images) a plurality of times by using a plurality of exposure values preset for scan photometry. The imaging control is performed. When performing scanning photometry using three exposure values, three image data captured with three different exposure values ScanBv0, ScanBv1, ScanBv2 are acquired. The Bv indicating the exposure value is defined by an APEX (ADDITIVE SYSTEM OF PHOTOGRAPHIC EXPOSURE) system.

次にステップS202において、システム制御部114は、信号処理回路108を制御して、各画像をブロック分割したときのブロック毎の輝度値を算出(検出)する。本実施形態では、画像を縦24×横16にブロック分割した24×16のブロック毎の平均輝度値Y(i,j) (i=0〜23,j=0〜15)を算出する。 Next, in step S202, the system control unit 114 controls the signal processing circuit 108 to calculate (detect) a brightness value for each block when each image is divided into blocks. In the present embodiment, an average luminance value Y(i,j) (i=0 to 23, j=0 to 15) is calculated for each block of 24×16 obtained by dividing an image into blocks of 24×16.

ステップS203において、システム制御部114は、ステップS202で求めた24×16のブロック毎の平均輝度値Y(i,j)に基づいて、24×16のブロックの中で、白飛び又は黒潰れしているブロック数の全体のブロック数に対する割合(比率)を算出する。つまり、露出値ScanBv0,ScanBv1,ScanBv2で撮影された3つの画像データ毎に、それぞれ白飛び又は黒潰れしているブロック数の比率Ratio0,Ratio1,Ratio2を算出する。 In step S203, the system control unit 114, based on the average luminance value Y(i,j) of each 24×16 block obtained in step S202, blows out white or black in a block of 24×16. The ratio (ratio) of the number of existing blocks to the total number of blocks is calculated. That is, the ratios Ratio0, Ratio1, and Ratio2 of the numbers of blocks that are overexposed or blackened are calculated for each of the three image data captured with the exposure values ScanBv0, ScanBv1, and ScanBv2.

最後にステップS204において、システム制御部114は、異なる3つの露出値ScanBv0,ScanBv1,ScanBv2および、ステップS203において算出されたRatio0,Ratio1,Ratio2に基づいて、本露光時の露出値を算出する。 Finally, in step S204, the system control unit 114 calculates the exposure value at the time of main exposure based on the three different exposure values ScanBv0, ScanBv1, ScanBv2, and Ratio0, Ratio1, and Ratio2 calculated in step S203.

具体的には、本露光時の露出値Bvは、以下のようにして算出される。比率Ratio0,Ratio1,Ratio2の大小関係が例えば、Ratio0> Ratio1> Ratio2であったとすると、露出値Bvは、白飛び又は黒潰れしているブロック数の比率が小さい2つの画像を用いて算出される。つまり、露出値ScanBv1,ScanBv2、および比率Ratio1,Ratio2を用いて次式のように算出される。 Specifically, the exposure value Bv at the time of main exposure is calculated as follows. If the magnitude relationship between the ratios Ratio0, Ratio1, and Ratio2 is, for example, Ratio0> Ratio1> Ratio2, the exposure value Bv is calculated using two images in which the ratio of the number of blocks with overexposure or blackout is small. .. That is, the exposure values ScanBv1 and ScanBv2, and the ratios Ratio1 and Ratio2 are used to calculate as in the following equation.

Bv=ScanBv1×Rtio2/(Ratio1+Ratio2)+
ScanBv2×Ratio1/(Ratio1+Ratio2)
この方法では、24×16のブロックの中で、白飛び又は黒潰れしているブロック数の割合(Ratio)の一番小さい画像の露出値(ScanBv1)と、そのときの白飛び又は黒潰れしているブロック数の割合(Ratio1)を用いる。また、同時に白飛び又は黒潰れしているブロック数の割合の二番目に小さい画像の露出値(ScanBv2)と、そのときの白飛び又は黒潰れしているブロック数の割合(Ratio2)を用いる。これらを全て使用して本露光時の露出値Bvを算出する。具体的には、露出値ScanBv1,ScanBv2を比率Ratio1,Ratio2の値に基づいて加重平均(重み付け加算し平均)しており、比率Ratioが小さいほうの画像の露出値ScanBvの値をより重視するような演算となっている。言い換えれば、比率Ratioの逆数に基づいて加重平均を行う。
Bv=ScanBv1×Rtio2/(Ratio1+Ratio2)+
ScanBv2×Ratio1/(Ratio1+Ratio2)
In this method, the exposure value (ScanBv1) of the image having the smallest ratio (Ratio) of the number of blocks that are overexposure or underexposure in the 24×16 block and the overexposure or underexposure at that time. The ratio of the number of blocks (Ratio1) is used. At the same time, the exposure value (ScanBv2) of the image having the second smallest ratio of the number of blocks that are overexposed or blackened and the ratio of the number of blocks that are overexposed or blackened (Ratio2) at that time are used. The exposure value Bv at the time of main exposure is calculated using all of these. Specifically, the exposure values ScanBv1 and ScanBv2 are weighted averaged (weighted and averaged) based on the values of the ratios Ratio1 and Ratio2, and the value of the exposure value ScanBv of the image with the smaller ratio Ratio is emphasized more. It is a calculation. In other words, the weighted average is performed based on the reciprocal of the ratio Ratio.

上述したように、従来技術では、2個の異なる露出値ScanBvから本露光時の露出値Bvを算出する際に、露出差分値ΔBvの小さいほうの画像の露出値ScanBvの値をより重視するような演算にしている。しかし、露出差分値ΔBvが小さくても撮影した画像データに白飛び又は黒潰れしている画素が多く存在すると、露出差分値ΔBvの値自体が正確でない可能性が高い。その結果、露出差分値ΔBvの小さいほうの画像の露出値ScanBvの値をより重視するような演算にしていても、結果として本露光時の露出値Bvが正確に算出されないことになってしまう。 As described above, in the related art, when calculating the exposure value Bv during the main exposure from the two different exposure values ScanBv, the exposure value ScanBv of the image with the smaller exposure difference value ΔBv should be more emphasized. The calculation is done. However, even if the exposure difference value ΔBv is small, if there are many pixels that are blown out or blacked out in the captured image data, the exposure difference value ΔBv itself is likely to be inaccurate. As a result, even if the calculation is performed so that the value of the exposure value ScanBv of the image with the smaller exposure difference value ΔBv is more emphasized, the exposure value Bv at the time of the main exposure will not be accurately calculated as a result.

そこで、本実施形態では、2個の異なる露出値ScanBvから本露光時の露出値Bvを算出する際に、白飛び又は黒潰れしているブロック数の比率(Ratio)の小さいほうの画像の露出値ScanBvの値をより重視するような演算にしている。比率Ratioが小さい画像の露出値ScanBvの値のほうが露出値としてより正確である可能性が高い。そのため、比率Ratioが小さいほうの画像の露出値ScanBvの値をより重視するような演算にすることにより、本露光時の露出値Bvがより正確に算出される可能性が高まる。 Therefore, in the present embodiment, when the exposure value Bv at the time of main exposure is calculated from the two different exposure values ScanBv, the exposure of the image with the smaller ratio (Ratio) of the number of blocks that are overexposed or blackened. The calculation is performed so that the value of the value ScanBv is more important. The exposure value ScanBv of an image with a small ratio Ratio is more likely to be accurate as the exposure value. Therefore, the exposure value Bv at the time of main exposure is more likely to be calculated more accurately by performing a calculation that gives more importance to the value of the exposure value ScanBv of the image with the smaller ratio Ratio.

なお、上述した実施形態は、一例を示すものであり、これに限定されるものではない。本実施形態では、露出スキャンを3つの露出値を用いて行ったが、これは3つに限られるものではなく、2つ以上の数で設定すれば、3つ以外の設定でももちろん構わない。
また、画像をブロック分割する際に、縦24×横16に分割しているが、それ以外の分割数でももちろん構わない。
It should be noted that the above-described embodiment is an example, and the present invention is not limited to this. In the present embodiment, the exposure scan is performed using three exposure values, but the number is not limited to three, and any number other than three may be set as long as the number is set to two or more.
Further, when the image is divided into blocks, it is divided into vertical 24×horizontal 16; however, any other number of divisions may be used.

また、1つ目の露出値で撮影した画像データのブロックの中で、白飛び又は黒潰れしているブロック数の比率(Ratio)が0であるか、またはその比率が非常に小さい場合(所定値未満)には、予定していた2つ目および3つ目の露出値での撮影を取りやめてもよい。その場合、1つ目の露出値で撮影した画像データのみを使って本露光時の露出値Bvを算出する。 In addition, when the ratio (Ratio) of the number of blocks that are overexposed or blackened in the block of the image data captured with the first exposure value is 0 or the ratio is very small (predetermined (Less than the value), shooting at the second and third exposure values planned may be canceled. In that case, the exposure value Bv at the time of the main exposure is calculated using only the image data captured with the first exposure value.

このときの露出値Bvは、1つ目の露出値で撮影した画像データから求めた露出差分値ΔBv1および露出値ScanBv1を用いて、次の式で算出される。 The exposure value Bv at this time is calculated by the following equation using the exposure difference value ΔBv1 and the exposure value ScanBv1 obtained from the image data captured with the first exposure value.

Bv=ScanBv1+ΔBv1
このように、1つ目(1回目)の露出値で撮影した画像データのブロックの中で、白飛び又は黒潰れしているブロック数の割合(Ratio)が0であるか、または非常に小さい場合は、1つ目の露出値で撮影した画像データから求めたΔBvの値が正確である可能性が高い。そのため、上述した実施形態のように、2個の露出値からの情報をミックスして使う必要が無いと考えられる。これによって2つ目以降(2回目以降)の画像を撮影する必要が無くなり、測光時間の短縮につながる効果がある。
Bv=ScanBv1+ΔBv1
In this way, the ratio (Ratio) of the number of blocks with whiteout or blackout is 0 or very small among the blocks of the image data captured with the first (first) exposure value. In this case, there is a high possibility that the value of ΔBv obtained from the image data captured with the first exposure value is accurate. Therefore, it is considered that there is no need to mix and use information from two exposure values as in the above-described embodiment. This eliminates the need to capture the second and subsequent (second and subsequent) images, which has the effect of shortening the photometric time.

また、白飛び又は黒潰れしているブロック数の割合(Ratio)が所定値以上である画像データの露出値は、本露光時の露出値の算出に用いないようにしてもよい。これにより、本露光時の露出値の算出誤差を低減することができる。 Further, the exposure value of the image data in which the ratio (Ratio) of the number of blocks with overexposure or blackout is not less than a predetermined value may not be used in the calculation of the exposure value during the main exposure. As a result, it is possible to reduce the calculation error of the exposure value during the main exposure.

以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。 Although the preferred embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and various modifications and changes can be made within the scope of the gist thereof.

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

100:撮像装置、101:撮影光学系、103:撮像素子、105:A/D変換器、108:信号処理回路、114:システム制御部 100: imaging device, 101: photographing optical system, 103: imaging element, 105: A/D converter, 108: signal processing circuit, 114: system control unit

Claims (10)

被写体像を撮像する撮像手段と、
前記撮像手段に、予め設定された複数の異なる露出値でそれぞれ撮影を行わせ、露出の異なる複数の撮影画像を生成する撮像制御手段と、
前記複数の撮影画像のそれぞれにおける白飛び量または黒潰れ量を検出する検出手段と、
前記白飛び量または黒潰れ量に基づいて、前記複数の撮影画像の内の少なくとも2枚の撮影画像を選択し、該選択された撮影画像の露出値に基づいて本露光時の露出値を算出する算出手段と、
を備えることを特徴とする撮像装置。
An image pickup means for picking up a subject image,
Imaging control means for causing the imaging means to perform photography with a plurality of preset different exposure values, respectively, and generating a plurality of photographed images with different exposures;
A detection unit that detects the amount of whiteout or the amount of blackout in each of the plurality of captured images,
At least two captured images are selected from the plurality of captured images based on the whiteout amount or the blackout amount, and the exposure value at the time of main exposure is calculated based on the exposure value of the selected captured images. Calculating means to
An imaging device comprising:
前記検出手段は、前記撮影画像を複数のブロックに分割してブロックごとの平均輝度値を算出することにより、前記白飛び量または黒潰れ量を検出することを特徴とする請求項1に記載の撮像装置。 2. The detection unit detects the whiteout amount or blackout amount by dividing the captured image into a plurality of blocks and calculating an average luminance value for each block. Imaging device. 前記検出手段は、前記ブロックごとの平均輝度値に基づいて、白飛びまたは黒潰れしているブロックの数を求め、前記複数のブロックの数に対する白飛びまたは黒潰れしているブロックの数の割合を前記白飛び量または黒潰れ量として求めることを特徴とする請求項2に記載の撮像装置。 The detection means obtains the number of blocks that are whiteout or blackout based on the average luminance value of each block, and the ratio of the number of whiteout or blackened blocks to the number of the plurality of blocks. The image pickup apparatus according to claim 2, wherein is calculated as the amount of whiteout or the amount of blackout. 前記算出手段は、前記白飛びまたは黒潰れしているブロックの数の割合に基づいて、前記複数の撮影画像の露出値を重み付け加算して平均することにより、前記本露光時の露出値を算出することを特徴とする請求項3に記載の撮像装置。 The calculating means calculates the exposure value at the time of the main exposure by weighting and adding the exposure values of the plurality of photographed images and averaging the exposure values based on the ratio of the number of blocks that are whiteout or blackout. The image pickup apparatus according to claim 3, wherein 前記算出手段は、前記白飛びまたは黒潰れしているブロックの数の割合の逆数に基づく比率で、前記複数の撮影画像の露出値を重み付け加算して平均することにより、前記本露光時の露出値を算出することを特徴とする請求項4に記載の撮像装置。 The calculating means weights and adds the exposure values of the plurality of photographed images at a ratio based on the reciprocal of the ratio of the number of blocks that have been blown out or blacked out to obtain the exposure at the time of the main exposure. The imaging device according to claim 4, wherein a value is calculated. 前記算出手段は、1回目の撮影画像において、前記白飛びまたは黒潰れしているブロックの数の割合が所定値よりも小さい場合には、2回目以降の撮影は行わず、1回目の撮影画像の露出値のみを用いて、前記本露光時の露出値を算出することを特徴とする請求項4または5に記載の撮像装置。 In the first captured image, the calculating unit does not capture the second and subsequent images when the ratio of the number of whiteout or blackout blocks is smaller than a predetermined value, and the first captured image The image pickup apparatus according to claim 4, wherein the exposure value at the time of the main exposure is calculated using only the exposure value of. 前記算出手段は、前記白飛びまたは黒潰れしているブロックの数の割合が所定値以上である撮影画像については、該撮影画像の露出値を前記本露光時の露出値の算出に用いないことを特徴とする請求項4または5に記載の撮像装置。 For the photographed image in which the ratio of the number of blocks that are blown out or blackened is a predetermined value or more, the calculating unit does not use the exposure value of the photographed image for calculating the exposure value during the main exposure. The image pickup apparatus according to claim 4 or 5, characterized in that. 被写体像を撮像する撮像手段を備える撮像装置を制御する方法であって、
前記撮像手段に、予め設定された複数の異なる露出値でそれぞれ撮影を行わせ、露出の異なる複数の撮影画像を生成する撮像制御工程と、
前記複数の撮影画像のそれぞれにおける白飛び量または黒潰れ量を検出する検出工程と、
前記白飛び量または黒潰れ量に基づいて、前記複数の撮影画像の内の少なくとも2枚の撮影画像を選択し、該選択された撮影画像の露出値に基づいて本露光時の露出値を算出する算出工程と、
を有することを特徴とする撮像装置の制御方法。
A method for controlling an image pickup apparatus including an image pickup unit for picking up a subject image, comprising:
An image capturing control step of causing the image capturing unit to perform image capturing with a plurality of different exposure values set in advance, and generating a plurality of captured images with different exposures,
A detection step of detecting the amount of whiteout or the amount of blackout in each of the plurality of captured images;
At least two captured images are selected from the plurality of captured images based on the whiteout amount or the blackout amount, and the exposure value at the time of main exposure is calculated based on the exposure value of the selected captured images. The calculation process to
A method for controlling an imaging device, comprising:
請求項8に記載の制御方法の各工程をコンピュータに実行させるためのプログラム。 A program for causing a computer to execute each step of the control method according to claim 8. 請求項8に記載の制御方法の各工程をコンピュータに実行させるためのプログラムを記憶したコンピュータが読み取り可能な記憶媒体。 A computer-readable storage medium storing a program for causing a computer to execute each step of the control method according to claim 8.
JP2018225353A 2018-11-30 2018-11-30 Imaging apparatus and control method therefor, program, storage medium Pending JP2020088802A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018225353A JP2020088802A (en) 2018-11-30 2018-11-30 Imaging apparatus and control method therefor, program, storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018225353A JP2020088802A (en) 2018-11-30 2018-11-30 Imaging apparatus and control method therefor, program, storage medium

Publications (1)

Publication Number Publication Date
JP2020088802A true JP2020088802A (en) 2020-06-04

Family

ID=70910204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018225353A Pending JP2020088802A (en) 2018-11-30 2018-11-30 Imaging apparatus and control method therefor, program, storage medium

Country Status (1)

Country Link
JP (1) JP2020088802A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006157348A (en) * 2004-11-29 2006-06-15 Nikon Corp Digital still camera
JP2013009316A (en) * 2011-05-24 2013-01-10 Canon Inc Imaging apparatus performing exposure control, control method of imaging apparatus, program, and recording medium
JP2016066892A (en) * 2014-09-24 2016-04-28 キヤノン株式会社 Image processing device, control method for the same and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006157348A (en) * 2004-11-29 2006-06-15 Nikon Corp Digital still camera
JP2013009316A (en) * 2011-05-24 2013-01-10 Canon Inc Imaging apparatus performing exposure control, control method of imaging apparatus, program, and recording medium
JP2016066892A (en) * 2014-09-24 2016-04-28 キヤノン株式会社 Image processing device, control method for the same and program

Similar Documents

Publication Publication Date Title
KR101633460B1 (en) Method and Apparatus for controlling multi-exposure
CN111684788A (en) Image processing method and device
JP2012235332A (en) Imaging apparatus, imaging apparatus control method and program
US8294795B2 (en) Image capturing apparatus and medium storing image processing program
JP2015035796A (en) Method for controlling exposure duration of high dynamic range image
JP2013106149A (en) Imaging apparatus, control method of the same and program
US9071766B2 (en) Image capturing apparatus and control method thereof
JP6351271B2 (en) Image composition apparatus, image composition method, and program
JP2017108309A (en) Imaging apparatus and imaging method
JP4136464B2 (en) Imaging apparatus and imaging method
JP2014014069A (en) Imaging apparatus and control method of the same
JP2009017229A (en) Imaging device and imaging control method
JP2015144475A (en) Imaging apparatus, control method of the same, program and storage medium
JP3999321B2 (en) Electronic camera
US20130063622A1 (en) Image sensor and method of capturing an image
JP5238931B2 (en) HDR image generation method and digital imaging device using the method
JP5225137B2 (en) Imaging apparatus, image processing method, and program
JP2007329620A (en) Imaging device and video signal processing program
JP7190355B2 (en) Image processing device and image processing method
JP4905513B2 (en) Image processing method, image processing apparatus, and computer program
JP2014179920A (en) Imaging apparatus, control method thereof, program, and storage medium
JP2012109849A (en) Imaging device
JP4181753B2 (en) Exposure determining apparatus and imaging apparatus provided with the exposure determining apparatus
CN111212240B (en) Image generation device, image generation method, and recording medium
JP2020088802A (en) Imaging apparatus and control method therefor, program, storage medium

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20210103

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210113

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220818

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220909

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20230306