JP2006324851A - White balance adjusting device and digital camera, white balance adjustment method, and program - Google Patents

White balance adjusting device and digital camera, white balance adjustment method, and program Download PDF

Info

Publication number
JP2006324851A
JP2006324851A JP2005145074A JP2005145074A JP2006324851A JP 2006324851 A JP2006324851 A JP 2006324851A JP 2005145074 A JP2005145074 A JP 2005145074A JP 2005145074 A JP2005145074 A JP 2005145074A JP 2006324851 A JP2006324851 A JP 2006324851A
Authority
JP
Japan
Prior art keywords
white balance
strobe
balance adjustment
brightness
luminance
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
JP2005145074A
Other languages
Japanese (ja)
Other versions
JP4735039B2 (en
JP2006324851A5 (en
Inventor
Takeshi Matsunaga
剛 松永
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2005145074A priority Critical patent/JP4735039B2/en
Publication of JP2006324851A publication Critical patent/JP2006324851A/en
Publication of JP2006324851A5 publication Critical patent/JP2006324851A5/ja
Application granted granted Critical
Publication of JP4735039B2 publication Critical patent/JP4735039B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Of Color Television Signals (AREA)
  • Color Television Image Signal Generators (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a white balance adjusting device, a digital camera, a white balance adjusting method and a program capable of carrying out white balance adjustment with high accuracy at strobe photography, even under constitution or photography conditions in which an objective distance can not be obtained. <P>SOLUTION: At photography with strobe light, a control unit 8 acquires a ratio between brightness of photographed image and brightness of an image displayed as a through-image just before on a display unit 10, and white balance adjustment is carried out based on the ratio. At the white balance adjustment, the white balance adjustment value is set by weighting, according to the ratio, between a first adjustment value of non-strobe photography and a second adjustment value of non-strobe photography. At the strobe photography, the white balance of photographed image is adjusted according to the degree of influence of strobe light, so that white balance adjustment with high accuracy can be performed. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、デジタルカメラに用いて好適なホワイトバランス調整装置と、デジタルカメラ、ホワイトバランス調整方法、それらの実現に際して使用されるプログラムに関するものである。   The present invention relates to a white balance adjustment device suitable for use in a digital camera, a digital camera, a white balance adjustment method, and a program used for realizing them.

従来、デジタルカメラにおいては、画像信号におけるR(赤),B(青)成分のゲインを、例えば撮影環境下における光源種別に応じた値に制御することによる撮影画像に対するホワイトバランス調整が一般に行われている。   Conventionally, in a digital camera, white balance adjustment for a captured image is generally performed by controlling the gains of R (red) and B (blue) components in an image signal to values corresponding to, for example, the type of light source in a shooting environment. ing.

そして、ストロボ撮影時に最適なホワイトバランス調整を行うための技術として、例えば下記特許文献1には、画像信号のRゲインとBゲイン、すなわちホワイトバランスの調整値として非ストロボ撮影用とストロボ撮影用との2種類の値を決めておき、実際に使用する調整値を、被写体距離に応じ非ストロボ撮影時用の調整値とストロボ撮影時用の調整値との重み付けを変えた値に制御する技術が記載されている。
特開2004−166310号公報
As a technique for performing the optimum white balance adjustment at the time of flash photography, for example, in Patent Document 1 below, R gain and B gain of an image signal, that is, white balance adjustment values for non-strobe photography and strobe photography are used. Is a technology that controls the actual adjustment value to a value that changes the weighting of the adjustment value for non-strobe shooting and the adjustment value for strobe shooting according to the subject distance. Are listed.
JP 2004-166310 A

しかしながら、上述したホワイトバランス調整を行うためには、ストロボ撮影時に被写体距離を取得することが不可欠である。そのため被写体距離を取得することができない構成、例えばフォーカス調整機能や測距機能を有していないデジタルカメラ等においては実施することができない。また、被写体距離の取得が可能な構成であっても、被写体距離を得ることができない撮影環境、例えば被写体が暗い等の理由により測距不能な状態での撮影時には、精度の良いホワイトバランス調整を行うことができないという問題があった。   However, in order to perform the above-described white balance adjustment, it is indispensable to acquire the subject distance during flash photography. Therefore, it cannot be implemented in a configuration in which the subject distance cannot be acquired, such as a digital camera that does not have a focus adjustment function or a distance measurement function. Even when the subject distance can be obtained, a precise white balance adjustment is necessary when shooting in a shooting environment where the subject distance cannot be obtained, such as when the subject cannot be measured because the subject is dark. There was a problem that could not be done.

本発明は、かかる従来の課題に鑑みてなされたものであり、被写体距離を得ることができない構成や撮影環境下においても、ストロボ撮影に際して精度の良いホワイトバランス調整を行うことが可能となるホワイトバランス調整装置と、デジタルカメラ、ホワイトバランス調整方法、それらの実現に際して使用されるプログラムを提供することを目的とする。   The present invention has been made in view of such a conventional problem, and enables white balance adjustment with high accuracy in strobe shooting even in a configuration and shooting environment in which the subject distance cannot be obtained. An object of the present invention is to provide an adjustment device, a digital camera, a white balance adjustment method, and a program used for realizing them.

前記課題を解決するため請求項1の発明にあっては、撮像素子により撮像された画像のホワイトバランスを調整するホワイトバランス調整装置において、ストロボ発光を伴わない非ストロボ撮像時に前記撮像素子により撮像された画像から第1の被写体輝度を取得する第1の輝度取得手段と、ストロボ発光を伴う撮影操作に応じたストロボ撮像時に前記撮像素子により撮像された撮影画像から第2の被写体輝度を取得する第2の輝度取得手段と、前記第1の輝度取得手段により取得された第1の被写体輝度に対する前記第2の輝度取得手段により取得された第2の被写体輝度の変化度合を取得する変化度合取得手段と、この変化度合取得手段により取得された変化度合に基づき、前記撮影画像のホワイトバランスを調整するホワイトバランス調整手段とを備えたものとした。   In order to solve the above-mentioned problem, in the invention of claim 1, in the white balance adjustment device that adjusts the white balance of the image captured by the image sensor, the image is captured by the image sensor during non-strobe imaging without strobe light emission. First luminance acquisition means for acquiring the first subject luminance from the captured image, and second luminance for acquiring the second subject luminance from the captured image captured by the image sensor during strobe imaging in accordance with a photographing operation involving strobe light emission. And a change degree acquisition means for acquiring a change degree of the second subject brightness acquired by the second brightness acquisition means with respect to the first subject brightness acquired by the first brightness acquisition means. And a white balance for adjusting the white balance of the photographed image based on the degree of change acquired by the degree-of-change acquiring means. It was that a settling unit.

かかる構成においては、非ストロボ撮像時の画像と撮影操作に応じたストロボ撮像時の撮影画像とにおける被写体輝度の変化度合に基づき、撮影画像のホワイトバランスが調整される。つまり撮影画像におけるホワイトバランスをストロボ光の影響度合に応じて調整することにより精度の高いホワイトバランス調整を行うことができる。   In such a configuration, the white balance of the photographed image is adjusted based on the degree of change in subject brightness between the image at the time of non-strobe photographing and the photographed image at the time of strobe photographing according to the photographing operation. In other words, highly accurate white balance adjustment can be performed by adjusting the white balance in the captured image in accordance with the degree of influence of the strobe light.

また、請求項2の発明にあっては、前記第1の輝度取得手段により取得された第1の被写体輝度及び/又は前記第2の輝度取得手段により取得された第2の被写体輝度を、前記ストロボ発光を伴わない非ストロボ撮像に際して設定されていた撮影条件と、前記撮影操作に応じたストロボ発光を伴うストロボ撮像に際して設定されていた撮影条件との違いに応じて補正する輝度補正手段を備え、前記変化度合取得手段は、前記輝度補正手段により補正された後の第1の被写体輝度及び/又は第2の被写体輝度に基づき前記変化度合を取得するものとした。   In the invention of claim 2, the first subject luminance acquired by the first luminance acquisition unit and / or the second subject luminance acquired by the second luminance acquisition unit is Brightness correction means for correcting according to the difference between the shooting conditions set for non-strobe imaging without strobe light emission and the shooting conditions set for strobe imaging with strobe light emission according to the shooting operation; The change degree acquisition unit acquires the change degree based on the first subject brightness and / or the second subject brightness after being corrected by the brightness correction unit.

かかる構成においては、非ストロボ撮像時とストロボ撮像時との撮影条件が異なる場合であっても、双方の撮影条件の違いが反映された正確なストロボ光の影響度合に基づいたホワイトバランス調整を行うことができる。   In such a configuration, even when the shooting conditions are different between non-strobe shooting and strobe shooting, white balance adjustment is performed based on the exact degree of influence of strobe light that reflects the difference between the two shooting conditions. be able to.

また、請求項3の発明にあっては、前記第1の輝度取得手段は、前記撮影操作が行われる直前の撮影待機状態で撮像された画像から第1の被写体輝度を取得する   According to a third aspect of the present invention, the first luminance acquisition means acquires the first subject luminance from an image captured in a shooting standby state immediately before the shooting operation is performed.

かかる構成においては、ストロボ撮影された撮影画像のホワイトバランス調整のための、ストロボ発光を伴わない無駄な撮像動作をなくすことができる。   In such a configuration, it is possible to eliminate a wasteful imaging operation without strobe light emission for white balance adjustment of a captured image taken with a flash.

また、請求項4の発明にあっては、前記ホワイトバランス調整手段は、前記変化度合取得手段により取得された変化度合と、前記ストロボ撮像時におけるストロボ発光量とに基づき、前記撮影画像のホワイトバランスを調整するものとした。   According to a fourth aspect of the present invention, the white balance adjusting unit is configured to adjust the white balance of the photographed image based on the degree of change acquired by the degree of change acquisition unit and the amount of flash emission at the time of the strobe imaging. Was to be adjusted.

かかる構成においては、ストロボ発光量によって異なるストロボ光の色の違いに応じたホワイトバランス調整を行うことができる。   In such a configuration, it is possible to perform white balance adjustment according to the color difference of the strobe light that varies depending on the amount of strobe light emission.

また、請求項5の発明にあっては、前記ストロボ撮像時の被写体の明るさを取得する明るさ取得手段と、この明るさ取得手段により取得された被写体の明るさに対応する、撮影操作に応じたストロボ発光を伴うストロボ撮像時用のホワイトバランス調整値を取得する調整値取得手段とを備え、前記ホワイトバランス調整手段は、前記変化度合取得手段により取得された変化度合と、ストロボ発光を伴わない非ストロボ撮像時用のホワイトバランス調整値と、前記調整値取得手段により取得されたストロボ撮像時用のホワイトバランス調整値とに基づき、前記撮影画像のホワイトバランスを調整するものとした。   According to the invention of claim 5, brightness acquisition means for acquiring the brightness of the subject at the time of the strobe imaging, and shooting operation corresponding to the brightness of the subject acquired by the brightness acquisition means. Adjustment value acquiring means for acquiring a white balance adjustment value for strobe imaging with corresponding strobe light emission, wherein the white balance adjustment means accompanies the degree of change acquired by the change degree acquisition means and the strobe light emission. The white balance of the photographed image is adjusted based on the white balance adjustment value for non-strobe imaging and the white balance adjustment value for strobe imaging acquired by the adjustment value acquisition unit.

かかる構成においては、撮影時における定常光の量の違いに応じたホワイトバランス調整を行うことができる。   In such a configuration, it is possible to perform white balance adjustment according to the difference in the amount of steady light during shooting.

また、請求項6の発明にあっては、前記非ストロボ撮像により得られた撮像画像に基づき、前記非ストロボ撮像時の光源種別を判定する光源判定手段を備え、前記ホワイトバランス調整手段は、前記変化度合取得手段により取得された変化度合と、前記光源判定手段により判定された光源種別とに基づき、前記撮影画像のホワイトバランスを調整するものとした。   According to a sixth aspect of the present invention, the image processing apparatus includes a light source determination unit that determines a light source type at the time of the non-stroboscopic imaging based on a captured image obtained by the non-stroboscopic imaging. The white balance of the photographed image is adjusted based on the degree of change acquired by the degree-of-change acquiring unit and the light source type determined by the light source determining unit.

かかる構成においては、撮影環境下の光源の特性の違いに応じたホワイトバランス調整を行うことができる。   In such a configuration, the white balance can be adjusted according to the difference in the characteristics of the light source under the shooting environment.

また、請求項7の発明にあっては、前記ホワイトバランス調整手段による撮影画像に対するホワイトバランスの調整には、ホワイトバランス調整値を、非ストロボ撮像時用の第1の調整値とストロボ撮像時用の第2の調整値との間における、前記変化度合取得手段により取得された変化度合に基づく重み付けにより設定する処理と、当該処理により設定される前記ホワイトバランス調整値における、前記変化度合に応じて変化する前記第1の調整値と前記第2の調整値との間における重み付けの変化率を前記光源判定手段により判別された光源種別に応じて設定する処理とが含まれるものとした。   In the invention of claim 7, the white balance adjustment for the photographed image by the white balance adjusting means is performed by using the white balance adjustment value as the first adjustment value for non-strobe imaging and the strobe imaging. According to the degree of change in the white balance adjustment value that is set by the weighting based on the degree of change acquired by the degree-of-change acquisition unit and the white balance adjustment value that is set by the process. And a process of setting a weighting change rate between the changing first adjustment value and the second adjustment value in accordance with the light source type determined by the light source determination means.

かかる構成においては、ホワイトバランス調整値として、撮影環境下の光源によって異なるストロボ光との色温度の差や光の回り込み等の特性に対応した値を得ることができる。   In such a configuration, as the white balance adjustment value, it is possible to obtain a value corresponding to characteristics such as a color temperature difference from strobe light that varies depending on the light source in the shooting environment, and light wraparound.

また、請求項8の発明にあっては、前記ホワイトバランス調整手段による撮影画像に対するホワイトバランスの調整には、ホワイトバランス調整値を、非ストロボ撮像時用の第1の調整値、またはストロボ撮像時用の第2の調整値に設定する処理が含まれるものとした。   In the invention of claim 8, the white balance adjustment for the photographed image by the white balance adjusting means is performed by using the white balance adjustment value as the first adjustment value for non-strobe imaging, or during strobe imaging. It is assumed that the process for setting the second adjustment value is included.

また、請求項9の発明にあっては、前記ホワイトバランス調整手段による撮影画像に対するホワイトバランスの調整には、ホワイトバランスの調整値を非ストロボ撮像時用の第1の調整値とストロボ撮像時用の第2の調整値との間における重み付けにより設定する処理が含まれるものとした。   According to the ninth aspect of the present invention, the white balance adjustment for the photographed image by the white balance adjusting means is performed by using the white balance adjustment value as the first adjustment value for non-strobe imaging and the strobe imaging. It is assumed that a process of setting by weighting with the second adjustment value is included.

かかる構成においては、ホワイトバランスの調整値を、非ストロボ撮像時用の第1の調整値とストロボ撮像時用の第2の調整値との間において被写体に対するストロボ光の影響度合に応じて変化させることにより、ホワイトバランス調整が行われる。   In such a configuration, the white balance adjustment value is changed between the first adjustment value for non-strobe imaging and the second adjustment value for strobe imaging according to the degree of influence of strobe light on the subject. Thus, white balance adjustment is performed.

また、請求項10の発明にあっては、前記ホワイトバランス調整手段は、ホワイトバランスの調整値における前記第2の調整値の側への調整限界を制限する制限手段を含むものとした。   In the invention of claim 10, the white balance adjusting means includes a limiting means for limiting an adjustment limit of the white balance adjustment value toward the second adjustment value.

かかる構成においては、撮影画像におけるストロボ光の影響度合が僅かであっても色の変化が大きい撮影環境下で、ストロボ光の影響度合が僅かであった場合についても正確なホワイトバランス調整を行うことができる。   In such a configuration, accurate white balance adjustment is performed even in the case where the influence of the strobe light is slight even in a shooting environment where the color change is large even if the influence of the strobe light in the photographed image is slight. Can do.

また、請求項11の発明にあっては、前記制限手段は、ホワイトバランスの調整値における前記第2の調整値の側への調整限界を、前記光源判定手段により判別された光源種別、又はストロボ発光量に応じて制限するものとした。   In the invention of claim 11, the limiting means sets the adjustment limit to the second adjustment value side in the white balance adjustment value, the light source type determined by the light source determination means, or the strobe. The limit was set according to the amount of luminescence.

かかる構成においても、撮影画像におけるストロボ光の影響度合が僅かであっても色の変化が大きい撮影環境下で、ストロボ光の影響度合が僅かであった場合においても正確なホワイトバランス調整を行うことができる。   Even in such a configuration, accurate white balance adjustment can be performed even in a shooting environment where the change in color is large even in the case of a shooting environment where the change in color is large even if the influence of the strobe light on the captured image is slight. Can do.

また、請求項12の発明にあっては、前記第1の輝度取得手段は、ストロボ発光を伴わない非ストロボ撮像により得られた撮像画像における予め決められている所定領域から第1の被写体輝度を取得し、前記第2の輝度取得手段は、撮影操作に応じたストロボ発光を伴うストロボ撮像により得られた撮影画像における前記所定領域から第2の被写体輝度を取得ものとした。   In the twelfth aspect of the invention, the first luminance acquisition unit obtains the first subject luminance from a predetermined region in a captured image obtained by non-strobe imaging without strobe light emission. The second luminance acquisition means acquires the second subject luminance from the predetermined area in the photographed image obtained by strobe imaging with strobe light emission according to the photographing operation.

かかる構成においては、非ストロボ撮像時の画像の被写体輝度と撮影操作に応じたストロボ撮像時の撮影画像の被写体輝度とのうちのいずれか一方にだけに、突発的な外来光の影響が反映される確率が低くなる。   In such a configuration, the influence of sudden external light is reflected only on one of the subject brightness of the image at the time of non-strobe imaging and the subject brightness of the captured image at the time of strobe imaging according to the shooting operation. The probability of

また、請求項13の発明にあっては、撮影操作に応じて撮像素子により撮像された撮影画像を画像データとして記録媒体に記録するとともに、必要に応じてストロボ発光を行う発光手段を備えたデジタルカメラにおいて、前記発光手段によるストロボ発光を伴わない非ストロボ撮像により得られた撮像画像から第1の被写体輝度を取得する第1の輝度取得手段と、撮影操作に応じたストロボ発光を伴うストロボ撮像により得られた撮影画像から第2の被写体輝度を取得する第2の輝度取得手段と、前記第1の輝度取得手段により取得された第1の被写体輝度に対する前記第2の輝度取得手段により取得された第2の被写体輝度の変化度合を取得する変化度合取得手段と、この変化度合取得手段により取得された変化度合に基づき、前記撮影画像のホワイトバランスを調整するホワイトバランス調整手段とを備えたものとした。   According to a thirteenth aspect of the present invention, a digital image provided with a light emitting means for recording a photographic image picked up by an image pickup device in accordance with a photographing operation on a recording medium as image data and performing strobe light emission as necessary. In the camera, a first luminance acquisition unit that acquires a first subject luminance from a captured image obtained by non-strobe imaging without strobe light emission by the light emission unit, and strobe imaging with strobe light emission according to a shooting operation. Acquired by the second luminance acquisition means for acquiring the second subject luminance from the obtained photographed image, and the second luminance acquisition means for the first subject luminance acquired by the first luminance acquisition means. Based on the degree of change acquired by the degree-of-change acquiring means for acquiring the degree of change of the second subject luminance, Was that a white balance adjusting means for adjusting the white balance of.

かかる構成においては、デジタルカメラにおいてストロボ撮影を行ったとき、撮影画像におけるホワイトバランスをストロボ光の影響度合に応じて調整することにより精度の高いホワイトバランス調整を行うことができる。   In such a configuration, when the digital camera performs strobe shooting, it is possible to perform white balance adjustment with high accuracy by adjusting the white balance in the captured image in accordance with the degree of influence of the strobe light.

また、請求項14の発明にあっては、撮像素子により撮像された画像のホワイトバランスを調整するホワイトバランス調整装置におけるホワイトバランス調整方法において、ストロボ発光を伴わない非ストロボ撮像、及び撮影操作に応じたストロボ発光を伴うストロボ撮像を相前後して行う工程と、前記非ストロボ撮像により得られた撮像画像から第1の被写体輝度を取得する工程と、前記ストロボ撮像により得られた撮像画像から第2の被写体輝度を取得する工程と、前記第1の被写体輝度に対する前記第2の輝度の変化度合を取得する工程と、前記変化度合に基づき前記撮影画像のホワイトバランスを調整する工程とを含む方法とした。   According to the fourteenth aspect of the present invention, in the white balance adjustment method in the white balance adjustment device for adjusting the white balance of the image picked up by the image pickup device, the non-strobe image pickup without strobe emission and the shooting operation are performed. A step of performing strobe imaging with strobe emission, a step of acquiring a first subject luminance from a captured image obtained by the non-strobe imaging, and a second from the captured image obtained by the strobe imaging. A method including: obtaining a subject brightness of the subject; obtaining a change degree of the second brightness with respect to the first subject brightness; and adjusting a white balance of the captured image based on the change degree; did.

かかる方法によれば、撮影画像におけるホワイトバランスをストロボ光の影響度合に応じて調整することにより精度の高いホワイトバランス調整を行うことができる。   According to this method, it is possible to adjust the white balance with high accuracy by adjusting the white balance in the captured image in accordance with the degree of influence of the strobe light.

また、請求項15の発明にあっては、撮像素子により撮像された画像のホワイトバランスを調整するホワイトバランス調整装置が有するコンピュータに、ストロボ発光を伴わない非ストロボ撮像により得られた撮像画像から第1の被写体輝度を取得する処理と、撮影操作に応じたストロボ発光を伴うストロボ撮像により得られた撮影画像から第2の被写体輝度を取得する処理と、前記第1の被写体輝度に対する前記第2の輝度の変化度合を取得する処理と、前記変化度合に基づき前記撮影画像のホワイトバランスを調整する処理とを実行させるためのプログラムとした。   In a fifteenth aspect of the present invention, a computer having a white balance adjustment device for adjusting white balance of an image picked up by an image pickup device is provided with a computer based on a picked-up image obtained by non-strobe image pickup without strobe light emission. A process for obtaining one subject brightness, a process for obtaining a second subject brightness from a captured image obtained by strobe imaging with strobe emission in accordance with a photographing operation, and the second subject brightness with respect to the first subject brightness. A program for executing a process of acquiring a luminance change degree and a process of adjusting the white balance of the captured image based on the change degree is provided.

以上のように本発明においては、撮影画像におけるホワイトバランスをストロボ光の影響度合に応じて調整することにより精度の高いホワイトバランス調整を行うことができるようにした。よって、被写体距離を得ることができない構成や撮影環境下においても、ストロボ撮影に際して精度の良いホワイトバランス調整を行うことが可能となる。   As described above, in the present invention, it is possible to perform white balance adjustment with high accuracy by adjusting the white balance in the captured image in accordance with the degree of influence of the strobe light. Therefore, it is possible to perform white balance adjustment with high accuracy in strobe shooting even in a configuration in which the subject distance cannot be obtained or in a shooting environment.

また、非ストロボ撮像時とストロボ撮像時との撮影条件が異なる場合であっても、双方の撮影条件の違いが反映された正確なストロボ光の影響度合に基づいたホワイトバランス調整を行うことができる。   In addition, even when shooting conditions differ between non-strobe shooting and strobe shooting, it is possible to perform white balance adjustment based on the precise degree of strobe light that reflects the difference between the two shooting conditions. .

さらに、本発明のホワイトバランス調整装置においては、ストロボ撮影された撮影画像のホワイトバランス調整のための、ストロボ発光を伴わない無駄な撮像動作をなくすことができるようにした。よって、効率的なホワイトバランス調整を行うことができる。   Furthermore, in the white balance adjustment device of the present invention, it is possible to eliminate a wasteful image pickup operation without strobe light emission for white balance adjustment of a photographed image taken with a flash. Therefore, efficient white balance adjustment can be performed.

また、ストロボ発光時間によって異なるストロボ光の色の違いに応じたホワイトバランス調整や、撮影時における定常光の量の違いに応じた正確なホワイトバランス調整や、撮影環境下の光源の特性の違いに応じたホワイトバランス調整を行うことができるようにした。よって、より精度の良いホワイトバランス調整を行うことができる。   In addition, the white balance adjustment according to the difference in the color of the strobe light that varies depending on the flash emission time, the accurate white balance adjustment according to the difference in the amount of steady light during shooting, and the difference in the characteristics of the light source under the shooting environment The white balance can be adjusted accordingly. Therefore, more accurate white balance adjustment can be performed.

また、ホワイトバランス調整値として、撮影環境下の光源によって異なるストロボ光との色温度の差や光の回り込み等の特性に対応した値を得ることができるようにした。よって、より精度の高いホワイトバランス調整を行うことができる。   In addition, as a white balance adjustment value, it is possible to obtain a value corresponding to characteristics such as a difference in color temperature from strobe light and light wraparound depending on a light source in a shooting environment. Therefore, it is possible to perform white balance adjustment with higher accuracy.

また、撮影画像におけるストロボ光の影響度合が僅かであっても色の変化が大きい撮影環境下で、ストロボ光の影響度合が僅かであった場合についても正確なホワイトバランス調整を行うことができるようにした。よって、多様な撮影状況下に対応可能となる。   In addition, accurate white balance adjustment can be performed even in the case where the effect of the strobe light is small even in a shooting environment where the color change is large even if the effect of the strobe light in the captured image is slight. I made it. Therefore, it is possible to cope with various shooting situations.

非ストロボ撮像時の画像の被写体輝度と撮影操作に応じたストロボ撮像時の撮影画像の被写体輝度とのうちのいずれか一方にだけに、突発的な外来光の影響が反映される確率が低くなる。よって、突発的に発生した外来光に起因するホワイトバランスの調整精度の低下を未然に防止することができる。   There is a low probability that the influence of sudden extraneous light is reflected only on either the subject brightness of the image during non-strobe imaging or the subject brightness of the captured image during strobe imaging according to the shooting operation. . Therefore, it is possible to prevent a decrease in white balance adjustment accuracy due to suddenly generated external light.

以下、本発明の一実施の形態を図にしたがって説明する。
(実施形態1)
図1は、本発明に係るデジタルカメラ1の全体構成を示すブロック図である。このデジタルカメラ1は、光学レンズ群2と、光学レンズ群2を構成するズームレンズ及びフォーカスレンズ(絞り機構を含む)を駆動するためのレンズ駆動回路3、光学レンズ群2を介して被写体を撮像する撮像手段であるCCD4、キセノン管等の発光管、及び発光管を駆動する駆動回路等を含むストロボ回路(発光手段)5を備えている。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
(Embodiment 1)
FIG. 1 is a block diagram showing the overall configuration of a digital camera 1 according to the present invention. The digital camera 1 picks up an image of an object via an optical lens group 2, a lens driving circuit 3 for driving a zoom lens and a focus lens (including a diaphragm mechanism) constituting the optical lens group 2, and the optical lens group 2. And a strobe circuit (light emitting means) 5 including a CCD 4 as an imaging means, a light emitting tube such as a xenon tube, and a drive circuit for driving the light emitting tube.

CCD4は、TG(Timing Generator:タイミング発生器)6により所定の周期で走査駆動され、光学レンズ群2により集光された被写体の光学像を画素毎に光電変換し、アナログの撮像信号をアナログ処理部7に出力する。アナログ処理部7は、CCD4から入力した撮像信号に含まれるノイズを除去するCDS(Correlated Double Sampling:相関二重サンプリング回路)と、ノイズ除去後の撮像信号を増幅するAGC(ゲイン調整アンプ)、増幅後の撮像信号をデジタル変換するAD(A/D変換器)からなり、デジタルデータ化した撮像信号(ベイヤーデータ)を制御部8に出力する。   The CCD 4 is scan-driven by a TG (Timing Generator: timing generator) 6 at a predetermined cycle, photoelectrically converts the optical image of the subject collected by the optical lens group 2 for each pixel, and performs analog processing on the analog imaging signal. Output to unit 7. The analog processing unit 7 includes a CDS (Correlated Double Sampling) that removes noise included in the image pickup signal input from the CCD 4, an AGC (gain adjustment amplifier) that amplifies the image pickup signal after noise removal, and amplification. It comprises an AD (A / D converter) for digitally converting the subsequent imaging signal, and outputs the imaging signal (Bayer data) converted into digital data to the control unit 8.

制御部8は、図2に示したように、主としてデジタルカメラ1を制御するCPU81と、後述する各種の画像処理を行う画像処理ブロック82、及び図示しないデータの入出力インターフェース等を備えたMCP(Media Communications Processor)であり、前記画像処理ブロック82は、補間回路821、バッファメモリ822、ゲイン調整回路823、ガンマ補正回路824、YCマトリクス回路825から構成されている。   As shown in FIG. 2, the control unit 8 mainly includes a CPU 81 that controls the digital camera 1, an image processing block 82 that performs various image processing to be described later, and a data input / output interface (not shown). The image processing block 82 includes an interpolation circuit 821, a buffer memory 822, a gain adjustment circuit 823, a gamma correction circuit 824, and a YC matrix circuit 825.

前記アナログ処理部7から制御部8へ出力されたベイヤーデータは、画像処理ブロック82の補間回路821によって画素毎のR,G,Bの色成分データ(RGBデータ)に変換された後、バッファメモリ822を介してゲイン調整回路823においてRデータとBデータとのゲイン調整によるホワイトバランス調整が行われる。さらに、ガンマ補正回路824によってホワイトバランス調整後のRGBデータに対するガンマ特性(階調特性)の補正が行われた後、YCマトリクス回路825において、RGBデータから輝度信号(Y)と色差信号(U、V)からなる画素毎のYUVデータが生成される。   The Bayer data output from the analog processing unit 7 to the control unit 8 is converted into R, G, B color component data (RGB data) for each pixel by the interpolation circuit 821 of the image processing block 82, and then the buffer memory. The white balance adjustment is performed in the gain adjustment circuit 823 through the gain adjustment of the R data and the B data via the reference numeral 822. Further, after the gamma characteristic (gradation characteristic) is corrected for the RGB data after white balance adjustment by the gamma correction circuit 824, the luminance signal (Y) and the color difference signal (U, U) are converted from the RGB data in the YC matrix circuit 825. Y) data for each pixel consisting of V) is generated.

画像処理ブロック82で生成されたYUVデータは、前記メモリ9に一時保存されるとともに画像表示装置10に送られる。画像表示装置10はビデオエンコーダー、VRAM、液晶モニタ及びその駆動回路を含み、送られたYUVデータに基づくビデオ信号をビデオエンコーダーによって生成し、それに基づく表示画像すなわちCCD4によって撮像された被写体のスルー画像が液晶モニタにより表示される。   The YUV data generated in the image processing block 82 is temporarily stored in the memory 9 and sent to the image display device 10. The image display device 10 includes a video encoder, a VRAM, a liquid crystal monitor, and a driving circuit thereof. The image display device 10 generates a video signal based on the transmitted YUV data by the video encoder, and a display image based on the video signal, that is, a through image of a subject imaged by the CCD 4 is generated. Displayed on the LCD monitor.

また、記録モードでの撮影操作時にCCD4によって撮像され画像処理ブロック82で生成されたYUVデータは、CPU81によって所定の方式で圧縮符号化された、圧縮画像データとして画像記録媒体11に記録される。画像記録媒体11に記録された圧縮画像データは、再生モードにおいてCPU81により伸張復号化された後、画像表示装置10において表示される。   Further, the YUV data imaged by the CCD 4 during the shooting operation in the recording mode and generated by the image processing block 82 is recorded on the image recording medium 11 as compressed image data compressed and encoded by the CPU 81 by a predetermined method. The compressed image data recorded on the image recording medium 11 is displayed on the image display device 10 after being decompressed and decoded by the CPU 81 in the reproduction mode.

また、制御部8には操作キー部12が接続されている。操作キー部12は、撮影用の記録モードと記録画像の表示用の再生モード等とを切り替えるためのモード切替キーや、シャッターボタン、ズームキー、ストロボモード切替キー、各種の設定操作に用いられる設定キー等のスイッチ類から構成されており、各スイッチ類の操作状態がCPU81により定期的にスキャンされる。   An operation key unit 12 is connected to the control unit 8. The operation key unit 12 includes a mode switching key for switching between a recording mode for shooting and a playback mode for displaying a recorded image, a shutter button, a zoom key, a strobe mode switching key, and setting keys used for various setting operations. The operation state of each switch is periodically scanned by the CPU 81.

前記画像記録媒体11はフラッシュメモリ等であり、図3に示したように、前述した圧縮画像データを記憶する画像記憶領域11aとは別にプログラム領域11bが確保されている。プログラム領域11bには、CPU81に前述した画像データの圧縮・伸張や、AE制御、AF制御、後述するホワイトバランス調整に関する制御等の各種制御を行わせるための制御プログラムと、それらの制御に際して使用される各種データが記憶されている。各種データは、AE制御に使用されるスルー画像用、及び撮影用のプログラム線図や、スルー画像用及びストロボ撮影用のゲイン取得テーブル等であり、ゲイン取得テーブルは、前記ゲイン調整回路823に設定すべきRデータ用のRゲインとBデータ用のBゲインとの値を示すテーブルである。   The image recording medium 11 is a flash memory or the like. As shown in FIG. 3, a program area 11b is secured separately from the image storage area 11a for storing the compressed image data described above. In the program area 11b, a control program for causing the CPU 81 to perform various controls such as the above-described compression / decompression of image data, AE control, AF control, control related to white balance adjustment described later, and the like are used. Various data are stored. The various data are a program diagram for through image and shooting used for AE control, a gain acquisition table for through image and strobe shooting, and the like. The gain acquisition table is set in the gain adjustment circuit 823. It is a table which shows the value of R gain for R data and B gain for B data which should be performed.

そして、本実施の形態においては、CPU81は上記制御プログラムに従い動作することにより本発明の第1の輝度取得手段、第2の輝度取得手段、変化度合取得手段、ホワイトバランス調整手段、輝度補正手段として機能する。   In this embodiment, the CPU 81 operates in accordance with the control program as a first luminance acquisition unit, a second luminance acquisition unit, a change degree acquisition unit, a white balance adjustment unit, and a luminance correction unit of the present invention. Function.

次に、以上の構成からなるデジタルカメラ1の本発明に係る動作について説明する。図4及び図5は、ユーザによる操作キー部12のモード切替キーの操作により記録モードが設定されているときの制御部8のCPU81における処理内容を示したフローチャートである。   Next, an operation according to the present invention of the digital camera 1 having the above configuration will be described. 4 and 5 are flowcharts showing processing contents in the CPU 81 of the control unit 8 when the recording mode is set by the operation of the mode switching key of the operation key unit 12 by the user.

CPU81は記録モードの設定とともに動作を開始し、CCD4による一定周期での撮像、及び撮像した画像データに基づくスルー画像の表示を開始する(ステップSA1)。そして、画像処理ブロック82の補間回路821から送られるRGBデータの色情報に基づき光源種別を判定し、前記画像記録媒体11のプログラム領域11bに記憶されているスルー画像用のゲイン取得テーブル(光源種別とゲイン値との対応テーブル)を参照することにより、前記ゲイン調整回路823におけるホワイトバランス調整用のR成分及びB成分のゲイン値として、上記判定した光源種別に適したゲイン値(R0,B0)を設定するとともに、図示せぬ自己の内部メモリに記憶する(ステップSA2)。また、画像処理ブロック82のYCマトリクス回路825から送られる輝度信号に基づき、そのときの被写体の明るさに応じた適切なEv値(Ev0)を決定し、自己の内部メモリに記憶する(ステップSA3)。なお、Ev値は、シャッター速度(Tv)と絞り値(Av)とゲイン値(Sv:ISO感度相等値)とを加算した値と等価であるものとする。また、ステップSA3で決定するEv値には、スルー画像の輝度を上げて視認性を向上させるため、前記スルー画像用のプログラム線図(図3)を用いて、ストロボ撮影時に決定される値よりも明るい値を設定する。しかる後、画像処理ブロック82のYCマトリクス回路825から送られる輝度信号に基づき、画像データにおける画素毎の輝度Yの積分値(Y0)を計測し、内部メモリに記憶する(ステップSA4)。   The CPU 81 starts the operation together with the setting of the recording mode, and starts imaging with a fixed period by the CCD 4 and display of a through image based on the captured image data (step SA1). Then, the light source type is determined based on the color information of the RGB data sent from the interpolation circuit 821 of the image processing block 82, and a through image gain acquisition table (light source type) stored in the program area 11 b of the image recording medium 11. And the gain value correspondence table), the gain values (R0, B0) suitable for the determined light source type are used as the white balance adjustment R component and B component gain values in the gain adjustment circuit 823. Is stored in its own internal memory (not shown) (step SA2). Further, based on the luminance signal sent from the YC matrix circuit 825 of the image processing block 82, an appropriate Ev value (Ev0) corresponding to the brightness of the subject at that time is determined and stored in its own internal memory (step SA3). ). The Ev value is equivalent to a value obtained by adding the shutter speed (Tv), the aperture value (Av), and the gain value (Sv: ISO sensitivity equivalence value). Also, the Ev value determined in step SA3 is higher than the value determined during flash photography using the through image program diagram (FIG. 3) in order to increase the brightness of the through image and improve the visibility. Also set a bright value. Thereafter, based on the luminance signal sent from the YC matrix circuit 825 of the image processing block 82, the integral value (Y0) of the luminance Y for each pixel in the image data is measured and stored in the internal memory (step SA4).

以後、シャッターボタンが操作されなければ(ステップSA5でNO)、ステップSA2〜SA4の処理を繰り返し、内部メモリの前述したゲイン値(R0,B0)、Ev値(Ev0)、輝度Yの積分値(Y0)を逐次更新する。そして、シャッターボタンが操作されたら(ステップSA5でYES)、その時点のストロボモードの設定状態を確認するとともに、設定されているストロボモードの内容に応じて、以下の処理を行う。   Thereafter, if the shutter button is not operated (NO in step SA5), the processing in steps SA2 to SA4 is repeated, and the gain value (R0, B0), Ev value (Ev0), and integral value of luminance Y in the internal memory ( Y0) is updated sequentially. When the shutter button is operated (YES in step SA5), the strobe mode setting state at that time is confirmed, and the following processing is performed according to the contents of the set strobe mode.

すなわち、ユーザによる操作キー部12のストロボモード切替キーの操作により現在設定されているストロボモードがオート・ストロボモード、又は強制発光モード以外のモード、つまり発光禁止モードであった場合には(ステップSA6,SA7が共にNO)、通常の撮影処理を行い、撮影した画像を前記バッファメモリ822に記憶する(ステップSA8)。しかる後、ホワイトバランス調整用のゲイン値として、撮影操作時に前記ゲイン調整回路823に設定されていたゲイン値(R0,B0)をそのまま使用して、前記バッファメモリ822に一時保存されているRGBデータに対するホワイトバランス調整を行い(ステップSA9)、ホワイトバランス調整後のRGBデータに基づく画像を画像記録媒体11(画像記憶領域11a)に記録する(ステップSA28:図5)。   That is, when the strobe mode currently set by the user operating the strobe mode switching key of the operation key section 12 is a mode other than the auto strobe mode or the forced flash mode, that is, the flash prohibition mode (step SA6). , SA7 are NO), a normal photographing process is performed, and the photographed image is stored in the buffer memory 822 (step SA8). Thereafter, the RGB data temporarily stored in the buffer memory 822 using the gain values (R0, B0) set in the gain adjustment circuit 823 at the time of shooting operation as they are as gain values for white balance adjustment. Is adjusted (step SA9), and an image based on the RGB data after the white balance adjustment is recorded on the image recording medium 11 (image storage area 11a) (step SA28: FIG. 5).

また、ストロボモードが強制発光モードであった場合には(ステップSA6がNO、ステップSA7がYES)、プリ発光撮影を行って撮影画像を取得し(ステップSA10)、その撮影画像の輝度、つまり画像処理ブロック82のYCマトリクス回路825から送られる輝度信号に基づき、本撮影時のストロボ発光時間(t1)を決定するとともに、内部メモリに記憶する(ステップSA11)。そして、係る発光時間(t1)によるストロボ撮影(本撮影)を行い、撮影した画像を前記バッファメモリ822上に記憶する(ステップSA12)。しかる後、前記バッファメモリ822に一時保存されているRGBデータに対し、被写体へのストロボ光の影響度合に応じたホワイトバランス調整処理を行い(ステップSA13)、ホワイトバランス調整後のRGBデータに基づく記録画像を生成し前記画像記録媒体11に記録する(ステップSA28:図5)。なお、上記ホワイトバランス調整処理は、一部の処理を除き後述するステップSA19〜SA27と同様である。また、詳細についての説明はここでは省略する。   If the strobe mode is the forced flash mode (NO at step SA6, YES at step SA7), pre-flash shooting is performed to obtain a shot image (step SA10), and the brightness of the shot image, that is, the image Based on the luminance signal sent from the YC matrix circuit 825 of the processing block 82, the flash emission time (t1) at the time of actual photographing is determined and stored in the internal memory (step SA11). Then, strobe shooting (main shooting) is performed with the light emission time (t1), and the shot image is stored in the buffer memory 822 (step SA12). Thereafter, white balance adjustment processing is performed on the RGB data temporarily stored in the buffer memory 822 in accordance with the degree of influence of the strobe light on the subject (step SA13), and recording based on the RGB data after white balance adjustment is performed. An image is generated and recorded on the image recording medium 11 (step SA28: FIG. 5). The white balance adjustment process is the same as steps SA19 to SA27 described later except for some processes. The detailed description is omitted here.

また、シャッターボタンが操作された撮影時に、ストロボモードとしてオート・ストロボモードが設定されていた場合には(ステップSA6でYES)、さらにストロボ発光が必要か否かを判断する(ステップSA14)。なお、ストロボ発光の要否は、直前のステップSA3で記憶していたEv値(Ev0)が予め決められているリミット値に達しているか否かに基づき判断する。そして、ストロボ発光が不要であると判断した場合には(ステップSA14でNO)、前述したステップSA8以降の処理を行う。   If the auto / strobe mode is set as the strobe mode at the time of shooting when the shutter button is operated (YES in step SA6), it is further determined whether or not strobe light emission is necessary (step SA14). Whether or not strobe light emission is necessary is determined based on whether or not the Ev value (Ev0) stored in the previous step SA3 has reached a predetermined limit value. If it is determined that the strobe light emission is unnecessary (NO in step SA14), the processing after step SA8 described above is performed.

一方、ストロボ発光が必要であると判断した場合には(ステップSA14でYES)、ストロボ撮影用のEv値(Ev1)、具体的にはストロボ発光を考慮したスルー画像表示時に決定される値よりも暗い値を設定するとともに内部メモリに記憶する(ステップSA15)。すなわち係るEv値(Ev1)を得るためのシャッター速度と絞り値とゲイン値を前記撮影用のプログラム線図(図3)に基づき設定する。しかる後、プリ発光撮影を行って撮影画像を取得し(ステップSA16)、その撮影画像の輝度、つまり画像処理ブロック82のYCマトリクス回路825から送られる輝度信号に基づき、本撮影時のストロボ発光時間(t1)を決定し、内部メモリに記憶する(ステップSA17)。そして、係る発光時間(t1)によるストロボ撮影(本撮影)を行い、撮影した画像を前記バッファメモリ822上に記憶する(ステップSA18)。また、記憶した画像は後段の回路にも送られ、記憶画像(ストロボ撮影画像)における輝度値(Y1)をYCマトリクス回路825から送られる輝度信号に基づき計測して内部メモリに記憶する(ステップSA19)。   On the other hand, if it is determined that strobe light emission is necessary (YES in step SA14), the Ev value for strobe shooting (Ev1), specifically, a value determined at the time of displaying a through image in consideration of strobe light emission. A dark value is set and stored in the internal memory (step SA15). That is, the shutter speed, aperture value, and gain value for obtaining the Ev value (Ev1) are set based on the shooting program diagram (FIG. 3). Thereafter, pre-flash photography is performed to obtain a photographed image (step SA16). Based on the brightness of the photographed image, that is, the brightness signal sent from the YC matrix circuit 825 of the image processing block 82, the flash emission time at the time of actual photography. (T1) is determined and stored in the internal memory (step SA17). Then, strobe shooting (main shooting) is performed with the light emission time (t1), and the shot image is stored in the buffer memory 822 (step SA18). The stored image is also sent to the subsequent circuit, and the luminance value (Y1) in the stored image (flash image) is measured based on the luminance signal sent from the YC matrix circuit 825 and stored in the internal memory (step SA19). ).

引き続き、図5に示したように、前記ストロボ撮影用のゲイン取得テーブルを参照し、前記ストロボ発光時間(t1)に対応するホワイトバランス調整用のゲイン値(R1,B1)を取得し、内部メモリに一時記憶する(ステップSA20)。さらに、内部メモリに記憶されている撮影直前(スルー画像表示中)の被写体の輝度(Y0)とストロボ撮影時の被写体の輝度とを正しく比較するために、撮影直前のEv値(Ev0)と、ストロボ撮影(本撮影)時のEv値(Ev1)との差分から、ストロボ撮影時の前記輝度値(Y1)を補正する(ステップSA21)。すなわちEv値の差の画像輝度への影響は一般的に1Evで2倍となるため、その関係に基づき次式により補正輝度(Y1')を得る。なお補正輝度(Y1')の取得方法はこれ以外でもよい。
・Y1'=Y1×2^(Ev1−Ev0)
Subsequently, as shown in FIG. 5, the gain acquisition table for strobe shooting is referred to, and the gain value (R1, B1) for white balance adjustment corresponding to the strobe light emission time (t1) is acquired. (Step SA20). Further, in order to correctly compare the luminance of the subject (Y0) immediately before shooting (while displaying a through image) stored in the internal memory with the luminance of the subject at the time of flash shooting, the Ev value (Ev0) immediately before shooting is The brightness value (Y1) at the time of flash photography is corrected from the difference from the Ev value (Ev1) at the time of flash photography (main photography) (step SA21). That is, since the influence of the difference in Ev value on the image luminance is generally doubled at 1 Ev, the corrected luminance (Y1 ′) is obtained by the following equation based on the relationship. The method for obtaining the corrected luminance (Y1 ′) may be other than this.
・ Y1 ′ = Y1 × 2 ^ (Ev1-Ev0)

引き続き、撮影直前の輝度(Y0)と補正輝度(Y1')との比率を計算して、それが予め決められている閾値(Kmax)、例えば"3"よりも大きいか否かを確認し、閾値よりも大きい場合、つまりストロボ光の画像輝度への影響度合が大きい場合には(ステップSA22でYES)、前記ゲイン調整回路823のホワイトバランス調整用のゲイン値をストロボ発光時間(t1)に対応するゲイン値(R1,B1)に設定して、前記バッファメモリ822上のRGBデータに対するホワイトバランス調整を行い(ステップSA23)、ホワイトバランス調整後のRGBデータに基づく画像を前記画像記録媒体11に記録する(ステップSA28)。   Subsequently, the ratio between the luminance immediately before photographing (Y0) and the corrected luminance (Y1 ′) is calculated, and it is confirmed whether or not it is larger than a predetermined threshold (Kmax), for example, “3”. When it is larger than the threshold value, that is, when the degree of influence of the strobe light on the image brightness is large (YES in step SA22), the gain value for white balance adjustment of the gain adjustment circuit 823 corresponds to the strobe light emission time (t1). The gain values (R1, B1) to be set are set, and white balance adjustment is performed on the RGB data on the buffer memory 822 (step SA23), and an image based on the RGB data after the white balance adjustment is recorded on the image recording medium 11. (Step SA28).

また、上記比率が閾値(Kmax)以下であるが、"1"以上である場合、つまりストロボ光の画像輝度への影響度合が僅かである場合には(ステップSA22,SA24が共にNO)、まず、撮影直前に設定されていた(光源種別に適した)ホワイトバランス調整用のゲイン値(R0,B0)と、ストロボ発光時間(t1)に対応するゲイン値(R1,B1)との間におけるゲイン値であって、撮影直前の輝度値(Y0)と前述した補正輝度(Y1')との比率(ストロボ光の画像輝度への影響度合)に応じた重み付けを行ったゲイン値(R2,B2)を、次式によって算出する(ステップSA25)。なお、次式におけるkはカメラの機種に固有の定数であるとともに、上記重み付けは他の式を用いて行ってもよい。
・R2 = k×{(R1−R0)×Y1'/Y0+R0)}
・B2 = k×{(B1−B0)×Y1'/Y0+B0)}
When the ratio is equal to or less than the threshold value (Kmax) but is equal to or greater than “1”, that is, when the degree of influence of the strobe light on the image luminance is small (both steps SA22 and SA24 are NO), first, The gain between the gain value (R0, B0) for white balance adjustment (suitable for the light source type) set immediately before shooting and the gain value (R1, B1) corresponding to the flash emission time (t1) Gain value (R2, B2) that is weighted according to the ratio of the luminance value (Y0) immediately before photographing and the correction luminance (Y1 ′) described above (the degree of influence of strobe light on the image luminance) Is calculated by the following equation (step SA25). Note that k in the following equation is a constant specific to the camera model, and the weighting may be performed using another equation.
* R2 = k * {(R1-R0) * Y1 '/ Y0 + R0)}
B2 = k * {(B1-B0) * Y1 '/ Y0 + B0)}

そして、算出したゲイン値(R2,B2)を前記ゲイン調整回路823に設定することによるホワイトバランス調整をバッファメモリ822上のRGBデータ(ストロボ撮影画像データ)に対して行い(ステップSA26)、ホワイトバランス調整後のRGBデータに基づく画像を画像記録媒体11に記録する(ステップSA28)。   Then, white balance adjustment by setting the calculated gain values (R2, B2) in the gain adjustment circuit 823 is performed on the RGB data (strobe image data) on the buffer memory 822 (step SA26), and white balance is performed. An image based on the adjusted RGB data is recorded on the image recording medium 11 (step SA28).

一方、上記比率が閾値(Kmax)以下で、しかも"1"よりも小さい場合、つまり上述した場合以外では(ステップSA22でNO、ステップSA24でYES)、前記ゲイン調整回路823のホワイトバランス調整用のゲイン値を撮影操作時に設定されていたゲイン値(R0,B0)としてバッファメモリ822上のRGBデータに対するホワイトバランス調整を行い(ステップSA27)、ホワイトバランス調整後のRGBデータに基づく画像を前記画像記録媒体11に記録する(ステップSA28)。   On the other hand, when the ratio is equal to or less than the threshold (Kmax) and smaller than “1”, that is, except for the case described above (NO in step SA22, YES in step SA24), the gain adjustment circuit 823 is used for white balance adjustment. White balance adjustment is performed on the RGB data on the buffer memory 822 as the gain value (R0, B0) set at the time of the shooting operation (step SA27), and an image based on the RGB data after white balance adjustment is recorded in the image. Recording is performed on the medium 11 (step SA28).

ここで、先に説明を省略したステップSA13の処理、つまりストロボモードが強制発光モードであったときのホワイトバランス調整処理について説明する。すなわちステップSA13の処理においても前述したSA19〜SA27の処理を行うが、強制発光モードではオート・ストロボモードと異なり、ストロボ撮影時(本撮影時)にEv値としてストロボ撮影用のEv値(Ev1)を設定せずに撮影を行うため、ステップSA13では、前述したステップSA21におけるストロボ撮影時の輝度値(Y)を補正する処理を省略し、かつ前述したステップSA22,SA24,SA25において補正後の輝度(Y1')ではなく補正前の輝度(Y1)をそのまま使用する処理を行う。   Here, the processing in step SA13, which has not been described above, that is, the white balance adjustment processing when the strobe mode is the forced flash mode will be described. That is, in the process of step SA13, the above-described processes of SA19 to SA27 are also performed. In the forced flash mode, unlike the auto flash mode, the Ev value for flash photography (Ev1) is used as the Ev value during flash photography (main photography). In step SA13, the process of correcting the luminance value (Y) during strobe shooting in step SA21 is omitted, and the brightness after correction in steps SA22, SA24, and SA25 described above is performed. A process of using the luminance (Y1) before correction as it is instead of (Y1 ′) is performed.

以上のように本実施の形態においては、ストロボ撮影時にホワイトバランス調整用のゲイン値(R2,B2)を、ストロボ撮影の直前の輝度値(Y0)とストロボ撮影時の輝度値(Y1)との比率に応じた重み付けによって算出したり(強制発光モード)、又はストロボ撮影の直前の輝度値(Y0)と、ストロボ撮影時の輝度値(Y1)を撮影前後のEv値の差分(Ev1−Ev0)により補正した補正後の輝度(Y1')との比率に応じた重み付けによって算出したりする(オート・ストロボモード)。つまり撮影画像におけるホワイトバランスをストロボ光の影響度合に応じて調整することにより精度の高いホワイトバランス調整を行うことができる。   As described above, in the present embodiment, the gain value (R2, B2) for white balance adjustment at the time of flash photography is calculated using the brightness value (Y0) immediately before the flash photography and the brightness value (Y1) at the time of flash photography. It is calculated by weighting according to the ratio (forced flash mode) or the luminance value (Y0) immediately before the flash photography and the luminance value (Y1) at the time of flash photography are the difference between the Ev values before and after the photography (Ev1-Ev0) It is calculated by weighting according to the ratio with the corrected luminance (Y1 ′) corrected by (auto flash mode). In other words, highly accurate white balance adjustment can be performed by adjusting the white balance in the captured image in accordance with the degree of influence of the strobe light.

したがって、撮影時に被写体距離を得ることができない撮影環境下においても、ストロボ撮影に際して精度の良いホワイトバランス調整を行うことができる。また、本実施の形態におけるホワイトバランス調整方法では、上記のように被写体距離を取得する必要がないことから、フォーカス調整機能や測距機能を有しておらず、被写体距離を取得することができない構成のデジタルカメラ等においても、ストロボ撮影に際して精度の良いホワイトバランス調整を行うことができる。   Therefore, accurate white balance adjustment can be performed in strobe shooting even in a shooting environment where the subject distance cannot be obtained during shooting. Further, in the white balance adjustment method according to the present embodiment, since it is not necessary to acquire the subject distance as described above, the focus adjustment function and the distance measuring function are not provided, and the subject distance cannot be acquired. Even in a digital camera having a configuration, it is possible to perform white balance adjustment with high accuracy during flash photography.

なお、本実施の形態においては、ストロボ発光を伴わない通常の撮影時において、撮影操作時に前記ゲイン調整回路823に設定されていたゲイン値(R0,B0)をそのまま使用して、前記バッファメモリ822に一時保存されているRGBデータに対するホワイトバランス調整を行うようにしたが、前記バッファメモリ822に一時保存されているRGBデータに基づき光源を判定し、前記画像記録媒体11のプログラム領域11bに記憶されているスルー画像用のゲイン取得テーブルを参照することにより、前記ゲイン調整回路823におけるホワイトバランス調整用のR成分及びB成分のゲイン値として、上記判定した光源種別に適したゲイン値(R0,B0)を設定した後、前記バッファメモリ822に一時保存されているRGBデータに対するホワイトバランス調整を行うようにしてもよい。   In the present embodiment, the gain value (R0, B0) set in the gain adjustment circuit 823 at the time of shooting operation is used as it is during normal shooting without strobe light emission, and the buffer memory 822 is used as it is. The white balance adjustment is performed on the RGB data temporarily stored in the buffer memory 822. The light source is determined based on the RGB data temporarily stored in the buffer memory 822, and stored in the program area 11b of the image recording medium 11. By referring to the gain acquisition table for the live image, the gain values (R0, B0) suitable for the determined light source type are used as the gain values of the R component and B component for white balance adjustment in the gain adjustment circuit 823. ), And RGB stored temporarily in the buffer memory 822 It may be the white balance adjustment for over data.

また、本実施の形態においては、撮影直前(スルー画像表示中)の被写体の輝度(Y0)とストロボ撮影時の被写体の輝度とを正しく比較するため、ステップSA21において、撮影直前のEv値(Ev0)とストロボ撮影(本撮影)時のEv値(Ev1)との差分からストロボ撮影時の前記輝度値(Y1)を補正し、補正後の輝度値(Y1')を用いてストロボ光の影響度合(Y1'/Y0)を取得するようにしたが、これに限らず、撮影直前のEv値(Ev0)とストロボ撮影(本撮影)時のEv値(Ev1)との差分から、ストロボ撮影直前の輝度(Y0)を補正し、その補正後の輝度値を用いてストロボ光の影響度合を取得するようにしてもよい。   In the present embodiment, in order to correctly compare the luminance (Y0) of the subject immediately before shooting (while displaying a through image) and the luminance of the subject at the time of flash shooting, in step SA21, the Ev value (Ev0) immediately before shooting. ) And the Ev value (Ev1) at the time of strobe shooting (main shooting), the luminance value (Y1) at the time of flash shooting is corrected, and the degree of influence of the strobe light using the corrected luminance value (Y1 ′) (Y1 '/ Y0) is acquired, but the present invention is not limited to this. From the difference between the Ev value (Ev0) immediately before shooting and the Ev value (Ev1) at the time of flash shooting (main shooting), The luminance (Y0) may be corrected, and the degree of influence of the strobe light may be acquired using the corrected luminance value.

また、本実施の形態においては、ストロボ撮影直前のスルー画像の輝度値(Y0)を用いて、ストロボ撮影により取得した撮影画像におけるストロボ光の影響度合(Y1'/Y0)を得るようにしたことから、例えばストロボ撮影の直前(直後でもよい)にストロボ発光を伴わない撮像動作を別途行う場合に比べると、ホワイトバランス調整のためだけの無駄な撮像動作がなく、効率的なホワイトバランス調整を行うことができる。   In the present embodiment, the brightness value (Y1 ′ / Y0) of the strobe light in the captured image obtained by the strobe shooting is obtained using the brightness value (Y0) of the through image immediately before the strobe shooting. Therefore, for example, compared to a case where a separate imaging operation without flash emission is performed immediately before (or immediately after) flash photography, there is no wasteful imaging operation only for white balance adjustment, and efficient white balance adjustment is performed. be able to.

(実施形態2)
次に本発明の第2の実施の形態を説明する。第1の実施の形態によるホワイトバランス調整では、前述したようにストロボ光の発光前後における被写体の明るさの違いが小さくなる、つまりY1'/Y0の値が"1"に近づくに従い、ホワイトバランス調整用のゲイン値はスルー画像表示中のゲイン値(R0,B0)に近づくこととなる。そのため、例えばタングステン光下での撮影時のように、ストロボ光の発光前後において被写体の明るさの変化が僅かであっても色の変化が大きい撮影環境下では、ストロボ光の発光前後における被写体の明るさの変化がごく僅かであった場合、ホワイトバランス調整用のゲイン値として正確な値を得ることができない。
(Embodiment 2)
Next, a second embodiment of the present invention will be described. In the white balance adjustment according to the first embodiment, as described above, the difference in the brightness of the subject before and after the strobe light emission is reduced, that is, as the value of Y1 ′ / Y0 approaches “1”, the white balance adjustment is performed. The gain value for use will approach the gain value (R0, B0) during live view display. Therefore, for example, when shooting under tungsten light, even under slight changes in the brightness of the subject before and after the strobe light emission, under a shooting environment where the color change is large, the subject When the change in brightness is negligible, an accurate value cannot be obtained as a gain value for white balance adjustment.

本実施の形態はそれを防止するため、CPU81を本発明の制限手段として機能させることにより、ストロボ撮影に際しては、撮影直前の輝度(Y0)とストロボ撮影時(本撮影時)の補正輝度(Y1')との比率(Y1'/Y0)が閾値(Kmax)以下の場合におけるホワイトバランス調整用のゲイン値が、撮影直前のゲイン値(R0,B0)に一定以上近づくことを制限するようにしたものである。   In the present embodiment, in order to prevent this, the CPU 81 functions as the limiting means of the present invention, so that the luminance immediately before shooting (Y0) and the corrected luminance (Y1) at the time of flash shooting (at the time of main shooting) are taken. ') The white balance adjustment gain value when the ratio (Y1' / Y0) to the threshold value (Kmax) is less than or equal to the gain value (R0, B0) immediately before shooting is limited. Is.

具体的には、第1の実施の形態におけるステップSA20〜SA28の処理に代えて、図6に示したステップSB20〜SB29の処理を行う。すなわちステップSB20〜SB23までの処理は第1の実施の形態におけるステップSA20〜SA23と同一の処理を行う。一方、ステップSB22の判別結果がNOであって、前述した撮影直前の輝度(Y0)とストロボ撮影時(本撮影時)の補正輝度(Y1')との比率が閾値(Kmax)よりも小さい場合には、さらにその比率が予め決められている下限比率(Klimit)、例えば"2"を超えているか否かを確認する(ステップSB24)。   Specifically, instead of the processes of steps SA20 to SA28 in the first embodiment, the processes of steps SB20 to SB29 shown in FIG. 6 are performed. That is, the processes from step SB20 to SB23 are the same as steps SA20 to SA23 in the first embodiment. On the other hand, when the determination result in step SB22 is NO and the ratio between the luminance immediately before shooting (Y0) and the corrected luminance (Y1 ′) at the time of flash shooting (at the time of actual shooting) is smaller than the threshold (Kmax). Then, it is confirmed whether or not the ratio exceeds a predetermined lower limit ratio (Klimit), for example, “2” (step SB24).

そして、前記下限比率(Klimit)を超えている場合については(ステップSB24でYES)、ホワイトバランス調整用のゲイン値として、第1の実施の形態と同様に、撮影直前の輝度値(Y0)と補正輝度(Y1')との比率に応じた重み付けを行ったゲイン値(R2,B2)を算出した後(ステップSB25)、算出したゲイン値(R2,B2)によるホワイトバランス調整を前記バッファメモリ822上のRGBデータに対して行う(ステップSB26)。しかる後、ホワイトバランス調整後のRGBデータに基づく画像を画像記録媒体11に記録する(ステップSB29)。   If the lower limit ratio (Klimit) is exceeded (YES in step SB24), the gain value for white balance adjustment is set to the luminance value (Y0) immediately before shooting as in the first embodiment. After calculating the gain value (R2, B2) weighted according to the ratio to the corrected luminance (Y1 ′) (step SB25), the buffer memory 822 performs white balance adjustment using the calculated gain value (R2, B2). This is performed on the upper RGB data (step SB26). Thereafter, an image based on the RGB data after the white balance adjustment is recorded on the image recording medium 11 (step SB29).

これに対し、前記比率が下限比率(Klimit)以下であった場合には(ステップSB24でNO)、ホワイトバランス調整用のゲイン値として、前記下限比率(Klimit)に応じた重み付けを行ったゲイン値(R3、B3)を、次式によって算出する(ステップSB27)。なお、次式においてもkはカメラの機種に固有の定数である。
・R3=k×{(R1−R0)×Klimit+R0)}
・B3=k×{(B1−B0)×Klimit+B0)}
On the other hand, when the ratio is equal to or lower than the lower limit ratio (Klimit) (NO in step SB24), a gain value weighted according to the lower limit ratio (Klimit) is used as a gain value for white balance adjustment. (R3, B3) is calculated by the following equation (step SB27). In the following equation, k is a constant specific to the camera model.
R3 = k * {(R1-R0) * Klimit + R0)}
B3 = k * {(B1-B0) * Klimit + B0)}

そして、算出したゲイン値(R3,B3)によるホワイトバランス調整を前記バッファメモリ822上のRGBデータに対して行い(ステップSB28)、ホワイトバランス調整後のRGBデータに基づく画像を画像記録媒体11に記録する(ステップSB29)。   Then, white balance adjustment based on the calculated gain values (R3, B3) is performed on the RGB data on the buffer memory 822 (step SB28), and an image based on the RGB data after white balance adjustment is recorded on the image recording medium 11. (Step SB29).

以上の処理により本実施の形態においては、ストロボ撮影に際して、ストロボ光の発光前後における被写体の明るさの違いが少なく、ホワイトバランス調整用のゲイン値が撮影直前の(光源種別に適した)ゲイン値(R0,B0)に近づくような場合であっても、実際に使用されるゲイン値が上記ゲイン値(R0,B0)に一定以上近づくことを制限されるため、常に撮影直前のゲイン値(R0,B0)よりも、ストロボ発光時間(t1)に対応するゲイン値(R1,B1)にシフトしたゲイン値とすることができる。   With the above processing, in the present embodiment, there is little difference in the brightness of the subject before and after the flash light is emitted, and the gain value for white balance adjustment is the gain value immediately before shooting (suitable for the light source type). Even in the case of approaching (R0, B0), since the gain value actually used is restricted from approaching the gain value (R0, B0) above a certain level, the gain value (R0 immediately before photographing) is always set. , B0) can be a gain value shifted to a gain value (R1, B1) corresponding to the flash emission time (t1).

このため、例えばタングステン光下での撮影時のように、ストロボ光の発光前後において被写体の明るさの変化(ストロボ光の影響度合)が僅かであっても色の変化が大きい撮影環境下で、かつストロボ光の発光前後における被写体の明るさの変化がごく僅かであった場合についても、良好なホワイトバランスを得ることができ、より多様な撮影状況に対応することができる。   For this reason, for example, when shooting under tungsten light, even in a shooting environment where the color change is large even if the change in the brightness of the subject (the degree of influence of the flash light) is slight before and after the flash light emission, In addition, even when the change in the brightness of the subject before and after the flash light emission is negligible, a good white balance can be obtained, and more various shooting situations can be handled.

(実施形態3)
次に本発明の第3の実施の形態を説明する。本実施の形態は、第2の実施の形態で固定値としていた前記閾値(Kmax)と前記下限比率(Klimit)と前記機種毎の定数kとを光源の種類別に予め複数用意し、光源の種類に対応する上記の各定数(Kmax,Klimit,k)を示す定数テーブル100(図7参照)を、前記画像記録媒体11のプログラム領域11aに記憶しておくものである。そして、本実施の形態では、CPU81を本発明の光源判定手段、変化率設定手段として機能させることにより、ストロボ撮影時には、撮影直前のスルー画像の表示中に判定した光源種別に対応する各定数(Kmax,Klimit,k)を前記定数テーブル100から参照して設定し、前述したステップSB20〜SB29の処理を行う。
(Embodiment 3)
Next, a third embodiment of the present invention will be described. In this embodiment, a plurality of the threshold value (Kmax), the lower limit ratio (Klimit), and the constant k for each model, which are fixed values in the second embodiment, are prepared in advance for each type of light source. A constant table 100 (see FIG. 7) showing the above constants (Kmax, Klimit, k) corresponding to is stored in the program area 11a of the image recording medium 11. In this embodiment, by causing the CPU 81 to function as the light source determination unit and the change rate setting unit of the present invention, at the time of strobe shooting, each constant (corresponding to the light source type determined during display of the through image immediately before shooting) Kmax, Klimit, k) are set with reference to the constant table 100, and the processes of steps SB20 to SB29 described above are performed.

係る実施の形態においては、上記の各定数(Kmax,Klimit,k)を撮影直前の光源種別の判定結果に適した値に設定することにより、ストロボ撮影時には、ホワイトバランス調整用のゲイン値として、撮影環境下の光源によって異なるストロボ光との色温度の差や光の回り込み等の特性に対応したゲイン値を得ることができるため、より精度の高いホワイトバランス調整を行うことができる。   In such an embodiment, by setting each of the above constants (Kmax, Klimit, k) to a value suitable for the determination result of the light source type immediately before shooting, as a gain value for white balance adjustment during flash shooting, Since it is possible to obtain a gain value corresponding to characteristics such as a color temperature difference from strobe light and light wraparound depending on the light source under the shooting environment, white balance adjustment with higher accuracy can be performed.

なお、本実施の形態においては、第2の実施の形態で説明した処理を基本とし、その処理中に使用する各定数(Kmax,Klimit,k)を撮影直前の光源種別の判定結果に適した値に設定するものについて説明したが、これに限らず、第1の実施の形態で説明した処理を基本として、その処理中に使用する各定数(Kmax,k)を撮影直前の光源種別の判定結果に適した値に設定するものとすることもできる。その場合であっても、上記と同様の効果を得ることができる。   In the present embodiment, the processing described in the second embodiment is basically used, and each constant (Kmax, Klimit, k) used during the processing is suitable for the determination result of the light source type immediately before photographing. Although what is set as a value has been described, the present invention is not limited to this, and based on the processing described in the first embodiment, each constant (Kmax, k) used during the processing is determined as the light source type immediately before shooting. It can also be set to a value suitable for the result. Even in that case, the same effect as described above can be obtained.

(実施形態4)
次に、本発明の第4の実施の形態を説明する。本実施の形態は、前述したストロボ発光時間(t1)に対応するホワイトバランス調整用のゲイン値(R1,B1)を撮影直前のEv値(Ev0)に応じて変化させるものである。より具体的には、画像記録媒体11のプログラム領域11aに、前述したストロボ撮影用のゲイン取得テーブルと同様のテーブルを異なるEv値毎に複数種類記憶しておくとともに、CPU81を本発明の明るさ取得手段、調整値取得手段として機能させることにより、ストロボ撮影時に以下の処理を行わせる。すなわち前述したステップSA20において、撮影直前のEv値(Ev0)に対応する何れかのストロボ撮影用のゲイン取得テーブルを参照することにより、ストロボ発光時間(t1)に対応するホワイトバランス調整用のゲイン値(R1,B1)を取得させる。
(Embodiment 4)
Next, a fourth embodiment of the present invention will be described. In the present embodiment, the gain value (R1, B1) for white balance adjustment corresponding to the strobe light emission time (t1) is changed according to the Ev value (Ev0) immediately before photographing. More specifically, in the program area 11a of the image recording medium 11, a plurality of types of tables similar to the gain acquisition table for strobe shooting described above are stored for each different Ev value, and the CPU 81 has the brightness of the present invention. By functioning as an acquisition unit and an adjustment value acquisition unit, the following processing is performed during flash photography. That is, in step SA20 described above, the gain value for white balance adjustment corresponding to the strobe light emission time (t1) is referred to by referring to any strobe shooting gain acquisition table corresponding to the Ev value (Ev0) immediately before shooting. (R1, B1) is acquired.

係る実施の形態によれば、所謂日中シンクロ撮影が行われる場合のように定常光が多い撮影環境下と、一般的なストロボ撮影が行われる場合のように定常光が少なく、撮像された画像データの色成分においてストロボ光の色が支配的となる撮影環境下との双方において、精度の高いホワイトバランス調整を行うことができる。   According to such an embodiment, the imaged image is captured in a shooting environment with a lot of constant light as in the case of so-called daytime synchro shooting, and in a shooting environment with a low amount of constant light as in the case of general strobe shooting. High-precision white balance adjustment can be performed both in a shooting environment where the color of the strobe light is dominant in the color component of the data.

なお、ストロボ発光時間(t1)に対応するホワイトバランス調整用のゲイン値(R1,B1)は、ストロボ撮影直前の被写体の明るさに応じて変化させるものであればよく、必ずしも撮影直前のEv値(Ev0)に応じて変化させなくともよい。例えばCCD4とは別に周囲の明るさを検出するための光センサを設け、その光センサの検出結果に応じて前記ゲイン値(R1,B1)を変化させる構成とすることもできる。   Note that the white balance adjustment gain values (R1, B1) corresponding to the flash emission time (t1) may be changed according to the brightness of the subject immediately before the flash photography, and the Ev value immediately before the photography is not necessarily required. It is not necessary to change according to (Ev0). For example, an optical sensor for detecting ambient brightness can be provided separately from the CCD 4, and the gain values (R1, B1) can be changed according to the detection result of the optical sensor.

また、前述したストロボ発光時間(t1)に対応するホワイトバランス調整用のゲイン値(R1,B1)を撮影直前のスルー画像の表示中に判定した光源種別に応じて変化させるようにしてもよい。より具体的には、画像記録媒体11のプログラム領域11aに、前述したストロボ撮影用のゲイン取得テーブルと同様のテーブルを異なる光源毎に複数種類記憶しておくことにより、ストロボ撮影時に以下の処理を行わせる。すなわち前述したステップSA20において、撮影直前のスルー画像の表示中に判定した光源種別に対応する何れかのストロボ撮影用のゲイン取得テーブルを参照することにより、ストロボ発光時間(t1)に対応するホワイトバランス調整用のゲイン値(R1,B1)を取得させる。   Further, the gain value (R1, B1) for white balance adjustment corresponding to the strobe light emission time (t1) described above may be changed according to the light source type determined during the display of the through image immediately before shooting. More specifically, a plurality of types of tables similar to the above-described gain acquisition table for flash photography are stored for each different light source in the program area 11a of the image recording medium 11, so that the following processing is performed at the time of flash photography. Let it be done. That is, in step SA20 described above, by referring to any strobe shooting gain acquisition table corresponding to the light source type determined during the display of the through image immediately before shooting, the white balance corresponding to the strobe lighting time (t1). Gain values (R1, B1) for adjustment are acquired.

また、第1の実施の形態で説明した処理を行うものに限らず、第2の実施の形態や第3の実施の形態で説明した処理を行う場合についても、ストロボ発光時間(t1)に対応するホワイトバランス調整用のゲイン値(R1,B1)を撮影直前のEv値(Ev0)に応じて変化させれば、本実施の形態と同様の効果を得ることができる。   Further, not only the processing described in the first embodiment but also the processing described in the second embodiment and the third embodiment corresponds to the flash emission time (t1). If the gain value (R1, B1) for white balance adjustment to be performed is changed according to the Ev value (Ev0) immediately before photographing, the same effect as in the present embodiment can be obtained.

(実施形態5)
次に、本発明の第5の実施の形態を説明する。第1の実施の形態によるホワイトバランス調整では、前述した閾値(Kmax)や機種毎の定数kが固定値であるため、以下のことが予想される。すなわち一般にストロボ光の色温度は発光時間が短くなるほど高くなる傾向にあり、発光時間が極端に短い領域ではそれが顕著となる。そのため例えばマクロ撮影に際して被写体の反射率が高い場合には、発光時間が極端に短くストロボ光の色温度が通常よりも高くなる。したがって、そのような撮影環境下ではホワイトバランス調整用のゲイン値として正確な値を得ることができない。
(Embodiment 5)
Next, a fifth embodiment of the present invention will be described. In the white balance adjustment according to the first embodiment, since the threshold value (Kmax) and the constant k for each model are fixed values, the following is expected. That is, in general, the color temperature of strobe light tends to increase as the light emission time becomes shorter, and this becomes remarkable in a region where the light emission time is extremely short. Therefore, for example, when the reflectance of the subject is high during macro photography, the light emission time is extremely short and the color temperature of the strobe light becomes higher than usual. Therefore, an accurate value cannot be obtained as a gain value for white balance adjustment under such a shooting environment.

本実施の形態はそれを防止するため、前述した閾値(Kmax)や機種毎の定数kの値をストロボ発光時間(t1)に応じて変化させるものである。具体的には、第1の実施の形態におけるステップSA20〜SA28の処理に代えて、図8に示したステップSC20〜SC28の処理を行う。図から明らかなようにステップSC22とステップSC25の処理以外は第1の実施の形態と同様である。   In the present embodiment, in order to prevent this, the threshold value (Kmax) and the value of the constant k for each model are changed according to the strobe light emission time (t1). Specifically, instead of the processes of steps SA20 to SA28 in the first embodiment, the processes of steps SC20 to SC28 shown in FIG. 8 are performed. As is apparent from the figure, the processing is the same as that of the first embodiment except for the processing of step SC22 and step SC25.

すなわちステップSC22の処理では、撮影直前の輝度(Y0)と補正輝度(Y1')との比率が、ストロボ発光時間(t1)に応じた閾値(Ktmax)よりも大きいか否かを確認する。その際、上記閾値(Ktmax)にはストロボ発光時間(t1)が短いときほど小さな値を使用する。より具体的には、例えば前記画像記録媒体11のプログラム領域に予め記憶されているとともに、異なるストロボ発光時間に対応する閾値を示す閾値テーブルから取得した値や、所定の基準値とストロボ発光時間(t1)とに基づいて算出した値を使用する。   That is, in the process of step SC22, it is confirmed whether or not the ratio between the luminance immediately before photographing (Y0) and the corrected luminance (Y1 ′) is larger than the threshold value (Ktmax) corresponding to the flash emission time (t1). At this time, a smaller value is used for the threshold value (Ktmax) as the strobe light emission time (t1) is shorter. More specifically, for example, a value that is stored in advance in the program area of the image recording medium 11 and that is obtained from a threshold table indicating threshold values corresponding to different strobe lighting times, or a predetermined reference value and strobe lighting time ( The value calculated based on t1) is used.

また、ステップSC25の処理では、撮影直前の輝度(Y0)と補正輝度(Y1')との比率に応じたゲイン値(R2,B2)を、次式によって算出する。その際、係数ktには、カメラの機種に固有であると同時に、ストロボ発光時間(t1)が短いときほど大きな値を使用する。より具体的には、例えば前記画像記録媒体11のプログラム領域に予め記憶されているとともに、異なるストロボ発光時間に対応する係数を示す所定の係数テーブルから取得した値や、所定の基準値とストロボ発光時間(t1)とに基づいて算出した値とする。
・R2 = kt×{(R1−R0)×Y1'/Y0+R0)}
・B2 = kt×{(B1−B0)×Y1'/Y0+B0)}
In the process of step SC25, the gain value (R2, B2) corresponding to the ratio between the luminance (Y0) immediately before photographing and the corrected luminance (Y1 ′) is calculated by the following equation. At this time, the coefficient kt is specific to the camera model, and at the same time, a larger value is used as the strobe light emission time (t1) is shorter. More specifically, for example, a value that is stored in advance in the program area of the image recording medium 11 and that is obtained from a predetermined coefficient table indicating coefficients corresponding to different strobe light emission times, or a predetermined reference value and strobe light emission. The value is calculated based on time (t1).
* R2 = kt * {(R1-R0) * Y1 '/ Y0 + R0)}
* B2 = kt * {(B1-B0) * Y1 '/ Y0 + B0)}

係る実施の形態によれば、前述した撮影直前の輝度(Y0)とストロボ撮影時(本撮影時)の補正輝度(Y1')との比率が同一の撮影環境下であっても、ストロボ発光時間(t1)が短いときほど、ホワイトバランス調整用のゲイン値(R2,B2)をストロボ発光時間(t1)に対応するゲイン値(R1,B1)側にシフトさせることができる。したがって、例えばマクロ撮影時において被写体の反射率が高い場合であっても、ホワイトバランス調整用のゲイン値として正確な値を得ることができ、他の場合と同様に精度の高いホワイトバランス調整を行うことができる。   According to such an embodiment, even if the ratio between the luminance immediately before shooting (Y0) and the correction luminance (Y1 ′) at the time of flash shooting (main shooting) is the same, the flash emission time As (t1) is shorter, the gain value (R2, B2) for white balance adjustment can be shifted to the gain value (R1, B1) side corresponding to the strobe light emission time (t1). Therefore, for example, even when the reflectance of the subject is high during macro photography, an accurate value can be obtained as a gain value for white balance adjustment, and high-precision white balance adjustment is performed as in other cases. be able to.

なお、本実施の形態においては、第1の実施の形態で説明した処理を基本とし、その処理中で使用する閾値(Kmax)や機種毎の定数kをストロボ発光時間(t1)に応じて変化させるものについて説明したが、これに限らず、第2乃至第4の実施の形態で説明した処理を基本とし、その処理中で使用する閾値(Kmax)や機種毎の定数k、さらには前述した下限比率(Klimit)をストロボ発光時間(t1)に応じて変化させてもよい。その場合であっても本実施の形態と同様の効果を得ることができる。   In the present embodiment, the processing described in the first embodiment is basically used, and the threshold (Kmax) used in the processing and the constant k for each model are changed according to the strobe light emission time (t1). However, the present invention is not limited to this, and based on the processing described in the second to fourth embodiments, the threshold (Kmax) used in the processing, the constant k for each model, and the above-mentioned The lower limit ratio (Klimit) may be changed according to the strobe light emission time (t1). Even in that case, the same effect as the present embodiment can be obtained.

また、ストロボ撮影時におけるストロボの発光量を発光時間(t1)ではなく、例えば単位時間当たりの発光量を変化させることにより制御する構成においては、単位時間当たりの発光量に応じて閾値(Kmax)や機種毎の定数k、下限比率(Klimit)を変化させてもよい。   Further, in a configuration in which the amount of light emitted by the flash at the time of flash photography is controlled not by the light emission time (t1) but by changing the amount of light emitted per unit time, for example, the threshold (Kmax) is set according to the amount of light emitted per unit time. Alternatively, the constant k and the lower limit ratio (Klimit) for each model may be changed.

(実施形態6)
次に、本発明の第6の実施の形態を説明する。本実施の形態は、前述した第1乃至第5の実施の形態で説明したいずれかの処理を行うとともに、輝度Yの積分値の計測処理(第1の実施の形態ではステップSA4,SA19)を行う際、図9に示した中央部にて交差する十字形状の輝度検出エリア200における画素毎の輝度Yの積分値を計測するものである。すなわち、ストロボ撮影時におけるホワイトバランス調整用のゲイン値の取得処理(第1の実施の形態ではステップSA21,SA22,SA24,SA25)で使用される前述した輝度Y0,Y1を、スルー画像中、及びストロボ撮影時(本撮影時)に撮像された画像に設定した、図9に示した中央部にて交差する十字形状の輝度検出エリア200における画素毎の輝度Yの積分値とするものである。
(Embodiment 6)
Next, a sixth embodiment of the present invention will be described. In the present embodiment, one of the processes described in the first to fifth embodiments is performed, and the measurement process of the integral value of luminance Y (steps SA4 and SA19 in the first embodiment) is performed. When performing, the integral value of the luminance Y for each pixel in the cross-shaped luminance detection area 200 intersecting at the center shown in FIG. 9 is measured. That is, the brightness Y0 and Y1 used in the white balance adjustment gain value acquisition processing (steps SA21, SA22, SA24, and SA25 in the first embodiment) at the time of flash photography are set in the through image, and This is an integral value of the luminance Y for each pixel in the cross-shaped luminance detection area 200 intersecting at the center shown in FIG. 9, which is set in the image captured at the time of flash photography (at the time of actual photography).

本実施の形態においては、輝度Y0,Y1の計測対象を上記輝度検出エリア200とすることにより、計測対象を画像全域とする場合に比べ、輝度Y0,Y1が突発的な外来光の影響を受ける度合が低下する。したがって、ストロボ光の画像輝度への影響度合、つまり撮影直前の輝度(Y0)と補正輝度(Y1')との比率をより正確に判定することができる。その結果、突発的に外来光が発生した際におけるホワイトバランスの調整精度の低下を未然に防止することができる。   In the present embodiment, by setting the measurement target of the luminances Y0 and Y1 to the luminance detection area 200, the luminances Y0 and Y1 are affected by sudden external light compared to the case where the measurement target is the entire image. The degree decreases. Therefore, the degree of influence of the strobe light on the image luminance, that is, the ratio between the luminance immediately before photographing (Y0) and the corrected luminance (Y1 ′) can be determined more accurately. As a result, it is possible to prevent a decrease in white balance adjustment accuracy when sudden extraneous light is generated.

なお、輝度検出エリア200の形状は、一般的なストロボの配光特性とストロボ光が届く範囲の被写体形状等を考慮したものであればよく、図示した形状以外の領域を検出エリアとして設定することもできる。   Note that the shape of the luminance detection area 200 may be any shape that takes into consideration the light distribution characteristics of a typical strobe and the shape of the subject within the range that the strobe light can reach, and an area other than the illustrated shape is set as the detection area. You can also.

本発明の各実施の形態に共通するデジタルカメラのブロック図である。It is a block diagram of a digital camera common to each embodiment of the present invention. 同デジタルカメラの制御部の構成を示すブロック図である。It is a block diagram which shows the structure of the control part of the digital camera. 画像記録媒体の記憶領域を示す概念図である。It is a conceptual diagram which shows the storage area of an image recording medium. 第1の実施の形態における動作を示すフローチャートである。It is a flowchart which shows the operation | movement in 1st Embodiment. 図4に続くフローチャートである。It is a flowchart following FIG. 第2の実施の形態における動作を示す、図5に対応するフローチャートである。FIG. 6 is a flowchart corresponding to FIG. 5 illustrating an operation in the second embodiment. FIG. 第3の実施の形態における動作で使用される定数テーブルを示す概念図である。It is a conceptual diagram which shows the constant table used by the operation | movement in 3rd Embodiment. 第5の実施の形態における動作を示す、図5に対応するフローチャートである。FIG. 6 is a flowchart corresponding to FIG. 5 and showing an operation in the fifth embodiment. 第6の実施の形態において画像に設定される輝度検出エリアを示す図である。It is a figure which shows the brightness | luminance detection area set to the image in 6th Embodiment.

符号の説明Explanation of symbols

1 デジタルカメラ
4 CCD
5 ストロボ回路
7 アナログ処理部
8 制御部
81 CPU
82 画像処理ブロック
821 補間回路
822 バッファメモリ
823 ゲイン調整回路
824 ガンマ補正回路
825 YCマトリクス回路
9 メモリ
10 画像表示装置
11 画像記録媒体
100 定数テーブル
200 輝度検出エリア
1 Digital camera 4 CCD
5 Strobe Circuit 7 Analog Processing Unit 8 Control Unit 81 CPU
82 Image processing block 821 Interpolation circuit 822 Buffer memory 823 Gain adjustment circuit 824 Gamma correction circuit 825 YC matrix circuit 9 Memory 10 Image display device 11 Image recording medium 100 Constant table 200 Brightness detection area

Claims (15)

撮像画像のホワイトバランスを調整するホワイトバランス調整装置において、
ストロボ発光を伴わない非ストロボ撮像により得られた撮像画像から第1の被写体輝度を取得する第1の輝度取得手段と、
撮影操作に応じたストロボ発光を伴うストロボ撮像により得られた撮影画像から第2の被写体輝度を取得する第2の輝度取得手段と、
前記第1の輝度取得手段により取得された第1の被写体輝度に対する前記第2の輝度取得手段により取得された第2の被写体輝度の変化度合を取得する変化度合取得手段と、
この変化度合取得手段により取得された変化度合に基づき、前記撮影画像のホワイトバランスを調整するホワイトバランス調整手段と
を備えたことを特徴とするホワイトバランス調整装置。
In the white balance adjustment device that adjusts the white balance of the captured image,
First luminance acquisition means for acquiring a first subject luminance from a captured image obtained by non-strobe imaging without strobe light emission;
Second brightness acquisition means for acquiring a second subject brightness from a captured image obtained by strobe imaging with strobe light emission according to a shooting operation;
A degree of change acquisition means for acquiring a degree of change in the second subject brightness acquired by the second brightness acquisition means with respect to the first subject brightness acquired by the first brightness acquisition means;
A white balance adjustment device comprising: white balance adjustment means for adjusting white balance of the photographed image based on the change degree acquired by the change degree acquisition means.
前記第1の輝度取得手段により取得された第1の被写体輝度及び/又は前記第2の輝度取得手段により取得された第2の被写体輝度を、前記ストロボ発光を伴わない非ストロボ撮像に際して設定されていた撮影条件と、前記撮影操作に応じたストロボ発光を伴うストロボ撮像に際して設定されていた撮影条件との違いに応じて補正する輝度補正手段を備え、
前記変化度合取得手段は、前記輝度補正手段により補正された後の第1の被写体輝度及び/又は第2の被写体輝度に基づき前記変化度合を取得する
ことを特徴とする請求項1記載のホワイトバランス調整装置。
The first subject luminance acquired by the first luminance acquisition unit and / or the second subject luminance acquired by the second luminance acquisition unit is set in the non-strobe imaging without the strobe light emission. Brightness correction means for correcting according to the difference between the shooting conditions and the shooting conditions set for strobe imaging with strobe emission according to the shooting operation,
2. The white balance according to claim 1, wherein the change degree acquisition unit acquires the change degree based on the first subject brightness and / or the second subject brightness after correction by the brightness correction unit. Adjustment device.
前記第1の輝度取得手段は、前記撮影操作が行われる直前の撮影待機状態で撮像された画像から第1の被写体輝度を取得することを特徴とする請求項1記載のホワイトバランス調整装置。   2. The white balance adjustment device according to claim 1, wherein the first luminance acquisition unit acquires the first subject luminance from an image captured in a shooting standby state immediately before the shooting operation is performed. 前記ホワイトバランス調整手段は、前記変化度合取得手段により取得された変化度合と、前記ストロボ撮像時におけるストロボ発光量とに基づき、前記撮影画像のホワイトバランスを調整することを特徴とする請求項1又は2記載のホワイトバランス調整装置。   The white balance adjusting means adjusts the white balance of the photographed image based on the degree of change acquired by the degree of change acquisition means and the amount of flash emission at the time of the strobe imaging. 2. The white balance adjusting device according to 2. 前記ストロボ撮像時の被写体の明るさを取得する明るさ取得手段と、
この明るさ取得手段により取得された被写体の明るさに対応する、撮影操作に応じたストロボ発光を伴うストロボ撮像時用のホワイトバランス調整値を取得する調整値取得手段とを備え、
前記ホワイトバランス調整手段は、前記変化度合取得手段により取得された変化度合と、ストロボ発光を伴わない非ストロボ撮像時用のホワイトバランス調整値と、前記調整値取得手段により取得されたストロボ撮像時用のホワイトバランス調整値とに基づき、前記撮影画像のホワイトバランスを調整することを特徴とする請求項1,2又は3記載のホワイトバランス調整装置。
Brightness acquisition means for acquiring the brightness of the subject during the strobe imaging;
Adjustment value acquisition means for acquiring a white balance adjustment value for strobe imaging with strobe light emission corresponding to the shooting operation corresponding to the brightness of the subject acquired by the brightness acquisition means,
The white balance adjustment means is a change degree acquired by the change degree acquisition means, a white balance adjustment value for non-strobe imaging without strobe light emission, and a strobe image acquisition time acquired by the adjustment value acquisition means. 4. The white balance adjustment device according to claim 1, wherein the white balance of the photographed image is adjusted based on the white balance adjustment value.
前記非ストロボ撮像により得られた撮像画像に基づき、前記非ストロボ撮像時の光源種別を判定する光源判定手段を備え、
前記ホワイトバランス調整手段は、前記変化度合取得手段により取得された変化度合と、前記光源判定手段により判定された光源種別とに基づき、前記撮影画像のホワイトバランスを調整する
ことを特徴とする請求項1乃至5いずれか記載のホワイトバランス調整装置。
Based on a captured image obtained by the non-stroboscopic imaging, comprising a light source determination means for determining a light source type at the time of the non-stroboscopic imaging,
The white balance adjustment means adjusts the white balance of the captured image based on the degree of change acquired by the degree of change acquisition means and the light source type determined by the light source determination means. The white balance adjusting device according to any one of 1 to 5.
前記ホワイトバランス調整手段による撮影画像に対するホワイトバランスの調整には、ホワイトバランス調整値を、非ストロボ撮像時用の第1の調整値とストロボ撮像時用の第2の調整値との間における、前記変化度合取得手段により取得された変化度合に基づく重み付けにより設定する処理と、当該処理により設定される前記ホワイトバランス調整値における、前記変化度合に応じて変化する前記第1の調整値と前記第2の調整値との間における重み付けの変化率を前記光源判定手段により判別された光源種別に応じて設定する処理とが含まれることを特徴とする6記載のホワイトバランス調整装置。   In the white balance adjustment for the photographed image by the white balance adjusting means, the white balance adjustment value is set between the first adjustment value for non-strobe imaging and the second adjustment value for strobe imaging. A process of setting by weighting based on the degree of change acquired by the degree of change acquisition means, and the first adjustment value and the second of the white balance adjustment value set by the process, which change according to the degree of change The white balance adjustment apparatus according to claim 6, further comprising: a process of setting a change rate of weighting with respect to the adjustment value according to the light source type determined by the light source determination unit. 前記ホワイトバランス調整手段による撮影画像に対するホワイトバランスの調整には、ホワイトバランス調整値を、非ストロボ撮像時用の第1の調整値、またはストロボ撮像時用の第2の調整値に設定する処理が含まれることを特徴とする請求項1乃至7いずれか記載のホワイトバランス調整装置。   The white balance adjustment for the photographed image by the white balance adjusting means includes a process of setting the white balance adjustment value to the first adjustment value for non-strobe imaging or the second adjustment value for strobe imaging. The white balance adjustment device according to claim 1, wherein the white balance adjustment device is included. 前記ホワイトバランス調整手段による撮影画像に対するホワイトバランスの調整には、ホワイトバランスの調整値を非ストロボ撮像時用の第1の調整値とストロボ撮像時用の第2の調整値との間における重み付けにより設定する処理が含まれることを特徴とする請求項1乃至6いずれか記載のホワイトバランス調整装置。   The white balance adjustment for the photographed image by the white balance adjusting means is performed by weighting the white balance adjustment value between the first adjustment value for non-strobe imaging and the second adjustment value for strobe imaging. The white balance adjustment apparatus according to claim 1, further comprising a setting process. 前記ホワイトバランス調整手段は、ホワイトバランスの調整値における前記第2の調整値の側への調整限界を制限する制限手段を含むことを特徴とする請求項7又は9記載のホワイトバランス調整装置。   The white balance adjustment device according to claim 7, wherein the white balance adjustment unit includes a limit unit that limits an adjustment limit of the white balance adjustment value toward the second adjustment value. 前記制限手段は、ホワイトバランスの調整値における前記第2の調整値の側への調整限界を、前記光源判定手段により判別された光源種別、又はストロボ発光量に応じて制限することを特徴とする請求項10記載のホワイトバランス調整装置。   The limiting means limits an adjustment limit of the white balance adjustment value toward the second adjustment value according to a light source type or strobe light emission determined by the light source determination means. The white balance adjustment device according to claim 10. 前記第1の輝度取得手段は、ストロボ発光を伴わない非ストロボ撮像により得られた撮像画像における予め決められている所定領域から第1の被写体輝度を取得し、
前記第2の輝度取得手段は、撮影操作に応じたストロボ発光を伴うストロボ撮像により得られた撮影画像における前記所定領域から第2の被写体輝度を取得する請求項1乃至11いずれか記載のホワイトバランス調整装置。
The first luminance acquisition means acquires a first subject luminance from a predetermined area in a captured image obtained by non-strobe imaging without strobe light emission,
12. The white balance according to claim 1, wherein the second brightness acquisition unit acquires the second subject brightness from the predetermined area in a captured image obtained by strobe imaging with strobe light emission according to a shooting operation. Adjustment device.
撮影操作に応じて撮像素子により撮像された撮影画像を画像データとして記録媒体に記録するとともに、必要に応じてストロボ発光を行う発光手段を備えたデジタルカメラにおいて、
前記発光手段によるストロボ発光を伴わない非ストロボ撮像により得られた撮像画像から第1の被写体輝度を取得する第1の輝度取得手段と、
撮影操作に応じたストロボ発光を伴うストロボ撮像により得られた撮影画像から第2の被写体輝度を取得する第2の輝度取得手段と、
前記第1の輝度取得手段により取得された第1の被写体輝度に対する前記第2の輝度取得手段により取得された第2の被写体輝度の変化度合を取得する変化度合取得手段と、
この変化度合取得手段により取得された変化度合に基づき、前記撮影画像のホワイトバランスを調整するホワイトバランス調整手段と
を備えたことを特徴とするデジタルカメラ。
In a digital camera provided with light emitting means for recording a photographic image captured by an image sensor in accordance with a photographing operation on a recording medium as image data and performing strobe light emission as necessary.
First luminance acquisition means for acquiring first subject luminance from a captured image obtained by non-strobe imaging without strobe emission by the light emitting means;
Second brightness acquisition means for acquiring a second subject brightness from a captured image obtained by strobe imaging with strobe light emission according to a shooting operation;
A degree of change acquisition means for acquiring a degree of change in the second subject brightness acquired by the second brightness acquisition means with respect to the first subject brightness acquired by the first brightness acquisition means;
A digital camera comprising: white balance adjustment means for adjusting white balance of the captured image based on the change degree acquired by the change degree acquisition means.
撮像素子により撮像された画像のホワイトバランスを調整するホワイトバランス調整装置におけるホワイトバランス調整方法において、
ストロボ発光を伴わない非ストロボ撮像、及び撮影操作に応じたストロボ発光を伴うストロボ撮像を相前後して行う工程と、
前記非ストロボ撮像により得られた撮像画像から第1の被写体輝度を取得する工程と、
前記ストロボ撮像により得られた撮像画像から第2の被写体輝度を取得する工程と、
前記第1の被写体輝度に対する前記第2の輝度の変化度合を取得する工程と、
前記変化度合に基づき前記撮影画像のホワイトバランスを調整する工程と
を含むことを特徴とするホワイトバランス調整方法。
In the white balance adjustment method in the white balance adjustment device for adjusting the white balance of the image captured by the image sensor,
A process of performing non-strobe imaging without strobe light emission and strobe imaging with strobe light emission according to the shooting operation;
Obtaining a first subject brightness from a captured image obtained by the non-stroboscopic imaging;
Obtaining a second subject luminance from a captured image obtained by the strobe imaging;
Obtaining a change degree of the second luminance with respect to the first subject luminance;
Adjusting the white balance of the captured image based on the degree of change.
撮像素子により撮像された画像のホワイトバランスを調整するホワイトバランス調整装置が有するコンピュータに、
ストロボ発光を伴わない非ストロボ撮像により得られた撮像画像から第1の被写体輝度を取得する処理と、
撮影操作に応じたストロボ発光を伴うストロボ撮像により得られた撮影画像から第2の被写体輝度を取得する処理と、
前記第1の被写体輝度に対する前記第2の輝度の変化度合を取得する処理と、
前記変化度合に基づき前記撮影画像のホワイトバランスを調整する処理と
を実行させるためのプログラム。
A computer having a white balance adjustment device that adjusts the white balance of an image captured by an image sensor,
A process of acquiring a first subject brightness from a captured image obtained by non-strobe imaging without strobe light emission;
A process of acquiring a second subject luminance from a captured image obtained by strobe imaging with strobe emission according to a shooting operation;
Processing for obtaining a change degree of the second luminance with respect to the first subject luminance;
A program for executing a process of adjusting a white balance of the photographed image based on the degree of change.
JP2005145074A 2005-05-18 2005-05-18 White balance adjusting device, white balance adjusting method and program Expired - Fee Related JP4735039B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005145074A JP4735039B2 (en) 2005-05-18 2005-05-18 White balance adjusting device, white balance adjusting method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005145074A JP4735039B2 (en) 2005-05-18 2005-05-18 White balance adjusting device, white balance adjusting method and program

Publications (3)

Publication Number Publication Date
JP2006324851A true JP2006324851A (en) 2006-11-30
JP2006324851A5 JP2006324851A5 (en) 2008-06-26
JP4735039B2 JP4735039B2 (en) 2011-07-27

Family

ID=37544207

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005145074A Expired - Fee Related JP4735039B2 (en) 2005-05-18 2005-05-18 White balance adjusting device, white balance adjusting method and program

Country Status (1)

Country Link
JP (1) JP4735039B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008079143A (en) * 2006-09-22 2008-04-03 Fujifilm Corp White balance correction method and imaging apparatus
JP2009060586A (en) * 2007-08-06 2009-03-19 Panasonic Corp White balance adjustment device, image capture device, white balance adjustment method, program and integrated circuit
JP2010187204A (en) * 2009-02-12 2010-08-26 Olympus Corp Image pickup device, image processing method, and image processing program
KR100978675B1 (en) 2008-07-21 2010-08-30 삼성전기주식회사 Method of controlling white balance at flashlight photographing
JP2010193048A (en) * 2009-02-17 2010-09-02 Nikon Corp Electronic camera and image processing program
JP2011135378A (en) * 2009-12-24 2011-07-07 Samsung Electronics Co Ltd Imaging device and imaging method
JP2011135377A (en) * 2009-12-24 2011-07-07 Samsung Electronics Co Ltd Imaging device and imaging method
US8421879B2 (en) 2007-08-06 2013-04-16 Panasonic Corporation White balance adjustment device, image capture device, white balance adjustment method, storage medium, and integrated circuit
US8717454B2 (en) 2009-12-24 2014-05-06 Samsung Electronics Co., Ltd. Image pickup apparatus and image pickup method for adjusting white balance to account for flash and external light sources

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0470179A (en) * 1990-07-10 1992-03-05 Matsushita Electric Ind Co Ltd Electronic still camera device
JPH0851632A (en) * 1994-05-31 1996-02-20 Asahi Optical Co Ltd White balance adjustment device
JP2001358986A (en) * 2000-06-13 2001-12-26 Sony Corp Image processing unit, image processing method, and recording medium
JP2004297650A (en) * 2003-03-28 2004-10-21 Fuji Photo Film Co Ltd Control method of white balance and digital camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0470179A (en) * 1990-07-10 1992-03-05 Matsushita Electric Ind Co Ltd Electronic still camera device
JPH0851632A (en) * 1994-05-31 1996-02-20 Asahi Optical Co Ltd White balance adjustment device
JP2001358986A (en) * 2000-06-13 2001-12-26 Sony Corp Image processing unit, image processing method, and recording medium
JP2004297650A (en) * 2003-03-28 2004-10-21 Fuji Photo Film Co Ltd Control method of white balance and digital camera

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008079143A (en) * 2006-09-22 2008-04-03 Fujifilm Corp White balance correction method and imaging apparatus
JP2009060586A (en) * 2007-08-06 2009-03-19 Panasonic Corp White balance adjustment device, image capture device, white balance adjustment method, program and integrated circuit
US8421879B2 (en) 2007-08-06 2013-04-16 Panasonic Corporation White balance adjustment device, image capture device, white balance adjustment method, storage medium, and integrated circuit
KR100978675B1 (en) 2008-07-21 2010-08-30 삼성전기주식회사 Method of controlling white balance at flashlight photographing
JP2010187204A (en) * 2009-02-12 2010-08-26 Olympus Corp Image pickup device, image processing method, and image processing program
JP2010193048A (en) * 2009-02-17 2010-09-02 Nikon Corp Electronic camera and image processing program
JP2011135378A (en) * 2009-12-24 2011-07-07 Samsung Electronics Co Ltd Imaging device and imaging method
JP2011135377A (en) * 2009-12-24 2011-07-07 Samsung Electronics Co Ltd Imaging device and imaging method
US8717454B2 (en) 2009-12-24 2014-05-06 Samsung Electronics Co., Ltd. Image pickup apparatus and image pickup method for adjusting white balance to account for flash and external light sources

Also Published As

Publication number Publication date
JP4735039B2 (en) 2011-07-27

Similar Documents

Publication Publication Date Title
JP4735039B2 (en) White balance adjusting device, white balance adjusting method and program
JP5076716B2 (en) Imaging device
JP5007523B2 (en) Imaging apparatus and program thereof
JP5347707B2 (en) Imaging apparatus and imaging method
US7697034B2 (en) Moving image playback device with camera-shake correction function
JP5665436B2 (en) Image processing apparatus, image processing method, and program
JP2007019973A (en) Imaging device and imaging method
JP2009141834A (en) Image pickup device and its exposure control method and exposure control program
US8885078B2 (en) Image processing apparatus, image processing method, and recording medium storing image processing program
JP5156991B2 (en) Imaging apparatus, imaging method, and imaging program
US7945155B2 (en) Apparatus for capturing images, method of controlling exposure in the apparatus, and computer readable recording medium storing program
US20090027514A1 (en) Image pickup apparatus and method
JP2009171062A (en) Image processor, imaging apparatus, method, and program
WO2019111659A1 (en) Image processing device, imaging device, image processing method, and program
JP5277863B2 (en) Imaging apparatus and imaging method
JP7247609B2 (en) Imaging device, imaging method and program
JP2012095223A (en) Imaging device, imaging method, and program
JP4887680B2 (en) White balance adjusting device and white balance adjusting method
JP5191251B2 (en) Imaging device
JP5482428B2 (en) Imaging apparatus, camera shake correction method, and program
KR101589493B1 (en) White ballance control method and apparatus using a flash and digital photographing apparatus using thereof
JP4941424B2 (en) Imaging apparatus and image processing program
JP2005080011A (en) Imaging method, imaging apparatus, program, and storage medium
JP2000050160A (en) Picture compositing device and its method, and storage medium storing picture composition method
JP2005176102A (en) Apparatus and method of imaging and imaging system

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080514

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080514

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100513

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100615

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100812

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110411

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4735039

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140513

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees