JP4525717B2 - Electronic camera device and strobe color correction method - Google Patents

Electronic camera device and strobe color correction method Download PDF

Info

Publication number
JP4525717B2
JP4525717B2 JP2007215416A JP2007215416A JP4525717B2 JP 4525717 B2 JP4525717 B2 JP 4525717B2 JP 2007215416 A JP2007215416 A JP 2007215416A JP 2007215416 A JP2007215416 A JP 2007215416A JP 4525717 B2 JP4525717 B2 JP 4525717B2
Authority
JP
Japan
Prior art keywords
strobe
image
luminance
captured image
imaging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007215416A
Other languages
Japanese (ja)
Other versions
JP2008011560A (en
Inventor
英雄 阿部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2007215416A priority Critical patent/JP4525717B2/en
Publication of JP2008011560A publication Critical patent/JP2008011560A/en
Application granted granted Critical
Publication of JP4525717B2 publication Critical patent/JP4525717B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Stroboscope Apparatuses (AREA)

Description

本発明はデジタルカメラ等の電子カメラ装置に関し、特に、ストロボ撮像画像の補正技術に関する。   The present invention relates to an electronic camera device such as a digital camera, and more particularly to a technique for correcting a strobe image.

従来、光量の足りない場所での撮像は、光学カメラ(銀塩カメラ)では露光時間を長くして撮像するか、或いはストロボを発光させることで光量を補って撮像を行なっている。後者の場合、ストロボを用いると露光時間を短くできるので、暗所でもカメラを固定することなく撮像できる。   Conventionally, in an area where the amount of light is insufficient, an optical camera (silver salt camera) captures an image with a longer exposure time or compensates for the amount of light by emitting a strobe light. In the latter case, if the strobe is used, the exposure time can be shortened, so that images can be taken without fixing the camera even in a dark place.

一方、デジタルカメラ等の電子カメラ装置では、暗所(光量が不足している場所をいう)ではCCDの感度を上げて(CCDからの信号を増幅して)明るい画像を撮像する手法が用いられているが、光量の足りない場所で撮像するために撮像素子の感度を上げ過ぎると撮像された画像に電気的なノイズ成分が目立つようになり良好な画像が得られないという問題点があるので、ある程度以上暗いところでは電子カメラ装置での撮像の際ストロボを用いて光量を補い、撮像できるように構成されたものがある。   On the other hand, in an electronic camera device such as a digital camera, in a dark place (referring to a place where the amount of light is insufficient), a technique is used to pick up a bright image by increasing the sensitivity of the CCD (amplifying the signal from the CCD). However, there is a problem that if the sensitivity of the image sensor is increased too much in order to capture an image in a place where the amount of light is insufficient, an electrical noise component becomes conspicuous in the captured image and a good image cannot be obtained. In some places where the image is darker than a certain level, the electronic camera device is configured to be able to capture an image by using a strobe to compensate for the amount of light.

このような電子カメラ装置ではストロボ撮像を行うと撮像画像にストロボ光の色合いが加わり、不自然になるのでストロボ撮像の際ストロボ光の持つ色合いを打ち消して自然な色合いとする目的で一定の補正量を撮像画像全体に施していた。   In such an electronic camera device, when taking a strobe image, the color of the strobe light is added to the captured image, which is unnatural. Was applied to the entire captured image.

しかしながら、上記従来のストロボ色補正方法では一定の補正量を画像全体一律に施すためにストロボ撮像された画像中でストロボ光の影響が少ない部分では色補正が過多となり、補正によってかえって不自然な色になってしまうといった問題点があった。例えば、図5(a)に示すように比較的明るい室内で白い壁53を背景に人物51をストロボ撮影した場合、ストロボ光がちゃんとあたる人物51は色補正によって自然な色合いに撮れるが、背景の白い壁53や人物51より後にある物体52はストロボ光のあたる程度が少ないので人物51と同様の色補正(図5(b))を行うと図5(c)に示すような不自然な色合いとなる(背景が白い壁53の場合は黄ばんだ色となる。また、物体52についても色合いが不自然になる)といった問題点があった。   However, since the above-mentioned conventional strobe color correction method uniformly applies a constant correction amount to the entire image, the color correction is excessive in the portion where the effect of strobe light is small in the image captured by the strobe light. There was a problem of becoming. For example, as shown in FIG. 5A, when a person 51 is flash-photographed against a white wall 53 in a relatively bright room, the person 51 that is properly exposed to the flash light can be photographed in natural colors by color correction. Since the white wall 53 and the object 52 behind the person 51 are less exposed to strobe light, if the same color correction as that of the person 51 (FIG. 5B) is performed, an unnatural color as shown in FIG. (When the background is the white wall 53, the color is yellow. In addition, the object 52 is unnatural in color).

本発明は、上記従来技術の問題点および解決課題に基づいてなされたものであり、ストロボ撮像時に自然な色合の画像を得ることのできる電子カメラ装置およびストロボ色補正方法の提供を目的とする。   The present invention has been made based on the above-described problems and solutions of the prior art, and an object thereof is to provide an electronic camera device and a strobe color correction method capable of obtaining a natural color image during strobe imaging.

上記の目的を達成するために、請求項1記載の発明の電子カメラ装置は、ストロボ撮像が可能な電子カメラ装置において、非ストロボ撮像画像とストロボ撮像画像を得る撮像手段と、この撮像手段により得られる非ストロボ撮像画像の輝度とストロボ撮像画像の輝度を抽出する輝度抽出手段と、この輝度抽出手段により抽出された非ストロボ撮像画像の輝度とストロボ撮像画像の輝度との輝度差を得る輝度差取得手段と、この輝度差取得手段により得られた輝度差に比例した補正量で前記撮像手段により得られるストロボ撮像画像の色補正を行うことにより、ストロボ撮像画像に含まれるストロボ光のもつ色合いを打ち消すストロボ撮像画像補正手段と、を備え、前記非ストロボ画像は、スルー画像であり、前記撮像手段により得られるスルー画像を表示する表示手段を更に備えたことを特徴とする。
また、請求項2記載の発明は、上記請求項1記載の電子カメラ装置において、前記輝度差取得手段は前記非ストロボ撮像画像と前記ストロボ撮像画像の複数部分の輝度から各部分の輝度差を得る手段を含み、前記ストロボ撮像画像補正手段は前記各部分の輝度差に比例した複数の補正量で前記ストロボ撮像画像の複数部分の色補正を行うことを特徴とする。
In order to achieve the above object, an electronic camera device according to a first aspect of the present invention is an electronic camera device capable of strobe imaging, an imaging unit that obtains a non-strobe captured image and a strobe captured image, and an imaging unit obtained by the imaging unit. Brightness extraction means for extracting the brightness of the non-strobe captured image and the brightness of the strobe captured image, and obtaining a brightness difference to obtain a brightness difference between the brightness of the non-strobe captured image extracted by the brightness extraction means and the brightness of the strobe captured image And the color correction of the strobe image obtained by the imaging unit with a correction amount proportional to the luminance difference obtained by the luminance difference acquisition unit, thereby canceling the hue of the strobe light included in the strobe image. comprising a strobe captured image correcting means, wherein the non-flash image is through image, sul obtained by the image pickup means And further comprising a display means for displaying an image.
According to a second aspect of the present invention , in the electronic camera device according to the first aspect, the luminance difference acquisition unit obtains a luminance difference of each part from luminances of a plurality of parts of the non-strobe captured image and the strobe captured image. And the stroboscopic image correction unit performs color correction of a plurality of portions of the stroboscopic image with a plurality of correction amounts proportional to a luminance difference between the portions.

また、請求項記載の発明は、上記請求項2記載の電子カメラ装置において、前記輝度抽出手段は、前記ストロボ撮像画像の直前または直後に前記撮像手段により得られるスルー画像の輝度とストロボ撮像画像の輝度を抽出することを特徴とする。 The invention of claim 3, wherein, in the electronic camera device of the second aspect, the luminance extraction means, brightness and flash captured image through image obtained by the imaging means immediately before or immediately after the strobe captured image The luminance is extracted.

また、請求項記載の発明は、上記請求項1又は2記載の電子カメラ装置において、前記撮像手段は、ストロボ撮像指示により前記非ストロボ撮像画像とストロボ撮像画像を得ることを特徴とする。
また、請求項記載の発明は、請求項1乃至のいずれかに記載の電子カメラ装置において、上記前記ストロボ撮像画像補正手段により色補正されたストロボ撮像画像を記録する記録手段を備えたことを特徴とする。
The invention of claim 4, wherein, in the electronic camera device of the above claim 1 or 2, wherein said imaging means is characterized by obtaining the non-flash captured image and flash captured image by strobe imaging instruction.
The invention of claim 5, wherein, in the electronic camera device according to any one of claims 1 to 4, further comprising a recording means for recording the flash captured image color correction by the said flash captured image correcting means It is characterized by.

また、請求項6記載の発明は、ストロボ撮像が可能な電子カメラ装置におけるストロボ色補正方法であって、非ストロボ撮像画像とストロボ撮像画像を得る撮像ステップと、この撮像ステップにて得られる非ストロボ撮像画像の輝度とストロボ撮像画像の輝度を抽出する輝度抽出ステップと、この輝度抽出ステップにて抽出された非ストロボ撮像画像の輝度とストロボ撮像画像の輝度との輝度差を得る輝度差取得ステップと、この輝度差取得ステップにて得られた輝度差に比例した補正量で前記撮像ステップにより得られるストロボ撮像画像の色補正を行うことにより、ストロボ撮像画像に含まれるストロボ光のもつ色合いを打ち消すストロボ撮像画像補正ステップと、を含み、前記非ストロボ画像は、スルー画像であり、前記撮像ステップにより得られるスルー画像を表示する表示ステップを更に含むことを特徴とする。 Further, an invention according to claim 6, wherein a strobe color correction method definitive electronic camera apparatus capable of stroboscopic imaging, an imaging step of obtaining a non-flash captured image and flash captured image obtained in the imaging step non a luminance extracting a luminance of a strobe captured image of the strobe captured image obtained Ru brightness difference acquiring the luminance difference between the luminance brightness and flash captured image of the non-flash captured image extracted by the luminance extraction step The color of the strobe image obtained in the imaging step is corrected with a correction amount proportional to the luminance difference obtained in the step and the luminance difference acquisition step , so that the color of the strobe light included in the strobe image is obtained. includes a flash captured image correcting step of canceling, the, the non-flash image is through image, the imaging step And further comprising a display step of displaying a through image more obtained.

本発明によれば、ストロボ発光時に目的の被写体に対するストロボ光のあたり具合によってストロボ撮像画像に生じる影響を検出できることから、ストロボ撮像画像に対して精度の高い補正を行うことができる。 According to the present invention, it is possible to detect the effect on the strobe captured image due to how the strobe light strikes the target subject at the time of strobe light emission. Therefore, it is possible to perform highly accurate correction on the strobe captured image.

[回路構成例]
図1は、本発明を適用した電子カメラ装置の一実施例としてのデジタルカメラの回路構成例を示すブロック図であり、図1(a)で、デジタルカメラ100は、光学系10、ストロボ発光部11、信号変換部12、信号処理部13、DRAM14、制御部20、操作部30、表示部40、保存記録メモリ(メモリーカード)50を有している。
[Circuit configuration example]
FIG. 1 is a block diagram illustrating a circuit configuration example of a digital camera as an embodiment of an electronic camera device to which the present invention is applied. In FIG. 1A, the digital camera 100 includes an optical system 10 and a strobe light emitting unit. 11, a signal conversion unit 12, a signal processing unit 13, a DRAM 14, a control unit 20, an operation unit 30, a display unit 40, and a storage recording memory (memory card) 50.

光学系10は、撮像レンズ101と光量検出部102および合焦機構(図示せず)から構成され、撮像レンズ101を介して集光された被写体像の光束を後段のCCD(撮像素子)121上に結像させる。   The optical system 10 includes an imaging lens 101, a light amount detection unit 102, and a focusing mechanism (not shown). A light beam of a subject image collected through the imaging lens 101 is displayed on a CCD (imaging device) 121 at the subsequent stage. To form an image.

ストロボ発光部11は、制御部20からシャッター押下げ信号を受け取ると極めて短い時間内に所定の光量を放出(発光)し、周辺の光量を補う。   When the strobe light emitting unit 11 receives a shutter pressing signal from the control unit 20, the strobe light emitting unit 11 emits (emits light) a predetermined amount of light within an extremely short time to compensate for the surrounding light amount.

信号変換部12は、CCD121、CCD駆動用タイミング信号生成回路(TG)122,CCD駆動用垂直ドライバ123,自動利得制御回路(AGC)124およびA/D変換器125を含み、前段の光学系10を介してCCD121に結像した画像を電気信号に変換し、デジタルデータ(以下、画像データ)に変換して一定の周期で出力する。AGC124はストロボ設定がされているか周辺光量が閾値(φmin〜φmax)の下限以上の場合にはCCD121からの信号の増幅率を所定値に保つが、ストロボ設定がされておらず且つ周辺光量が適正閾値(φmin〜φmax)の下限φminより低い場合にはCPUの制御によりCCD121からの信号がAGC124により増幅されてA/D変換器に与えられ、増幅の結果を制御部20で光量に変換して閾値と比較し、比較結果はAGC124にフィードバックされる。これによりCCD121からの信号は光量が適正閾値内になるまで増幅される。   The signal conversion unit 12 includes a CCD 121, a CCD drive timing signal generation circuit (TG) 122, a CCD drive vertical driver 123, an automatic gain control circuit (AGC) 124, and an A / D converter 125. Then, the image formed on the CCD 121 is converted into an electric signal, converted into digital data (hereinafter referred to as image data), and output at a constant cycle. The AGC 124 maintains the amplification factor of the signal from the CCD 121 at a predetermined value when the strobe is set or the peripheral light amount is not less than the lower limit of the threshold (φmin to φmax), but the strobe is not set and the peripheral light amount is appropriate. When the value is lower than the lower limit φmin of the threshold value (φmin to φmax), the signal from the CCD 121 is amplified by the AGC 124 under the control of the CPU and supplied to the A / D converter. The comparison result is fed back to the AGC 124 in comparison with the threshold value. As a result, the signal from the CCD 121 is amplified until the amount of light falls within the appropriate threshold.

信号処理部13は図1(b)に示すようにカラープロセス回路131およびDMAコントローラ132を有し、信号変換部12からの出力をカラープロセス処理してデジタルの輝度、色差マルチプレクス信号(YUVデータ)とし、YUVデータをDRAM14の指定領域にDMA(ダイレクトメモリーアクセス)転送する。   As shown in FIG. 1B, the signal processing unit 13 includes a color process circuit 131 and a DMA controller 132. The signal processing unit 13 performs color process processing on the output from the signal conversion unit 12 to generate digital luminance and color difference multiplexed signals (YUV data). The YUV data is transferred to a designated area of the DRAM 14 by DMA (direct memory access).

制御部20は、CPU、RAM、プログラム格納用ROMを備えたマイクロプロセッサ構成を有しており、CPUは上述の各回路等にバスラインを介して接続し、プログラム格納用ROMに格納されている制御プログラムによりデジタルカメラ100全体の制御を行なうと共に、操作部30からの状態信号に対応してデジタルカメラ100の各機能の実行制御等を行なう。また、プログラム格納用ROMはPROMやFROM(フラッシュROM)等が用いられる、制御プログラムやデジタルカメラの各処理モード用の処理プログラムの他、ストロボ色補正プログラムが格納されている。また、RAMの代りとしてDRAM14に割当てられた領域を用いるようにしてもよい。   The control unit 20 has a microprocessor configuration including a CPU, a RAM, and a program storage ROM. The CPU is connected to the above-described circuits via a bus line and stored in the program storage ROM. The entire digital camera 100 is controlled by the control program, and execution control of each function of the digital camera 100 is performed in response to the status signal from the operation unit 30. The program storage ROM uses a PROM, FROM (flash ROM), etc., and stores a strobe color correction program in addition to a control program and a processing program for each processing mode of the digital camera. Further, an area allocated to the DRAM 14 may be used instead of the RAM.

操作部30は、図2に示すようにシャッターボタン35およびストロボ設定ボタン36のほか、図示しない主電源スイッチ、RECモード/再生モード切換えスイッチ、機能選択用ボタン、カーソル移動キー等のキーを構成部分としたデジタルカメラ100の操作入力手段であり、これらのキーが操作されると操作されたキーの状態に対応する状態信号が制御部20に送出される。また、プラス・マイナス(+・−)キー37に色調整キーとしての機能を割り付けてもよい。   As shown in FIG. 2, in addition to the shutter button 35 and the strobe setting button 36, the operation unit 30 includes keys such as a main power switch, a REC mode / playback mode switching switch, a function selection button, and a cursor movement key (not shown). When these keys are operated, a status signal corresponding to the status of the operated key is sent to the control unit 20. Further, a function as a color adjustment key may be assigned to the plus / minus (+ .−) key 37.

表示部40はVRAM(Video Random Access Memory)及び液晶画面等の表示装置から構成されており、撮像時に液晶画面に被写体画像(スルー画像)が表示されるので、液晶画面をファインダとして用いることができる。また、再生モード時には再生画像を表示できる。   The display unit 40 is composed of a display device such as a video random access memory (VRAM) and a liquid crystal screen. Since a subject image (through image) is displayed on the liquid crystal screen during imaging, the liquid crystal screen can be used as a viewfinder. . In addition, a playback image can be displayed in the playback mode.

保存記録用メモリ50はフラッシュメモリー等のリムーバブルな記録媒体からなり、画像データや画像情報を記録する。なお、実施例では保存記録メモリ50としてデジタルカメラ100の本体に着脱自在なメモリーカードを用いたが、これに限定されない。   The storage recording memory 50 is composed of a removable recording medium such as a flash memory, and records image data and image information. In the embodiment, a memory card that is detachably attached to the main body of the digital camera 100 is used as the storage recording memory 50, but the present invention is not limited to this.

[装置外観例]
図2は、図1のデジタルカメラ100の概観図であり、(a)は正面図、(b)は背面図である。デジタルカメラ100の正面には(a)に示すようにストロボ発光部11、撮像レンズ101及び光量検出部102が設けられている。また、背面には(b)に示すように表示部40の液晶画面及びストロボ表示ランプ111のほか、主電源スイッチ及びRECモード/再生モード切換えスイッチ等(図示せず)が設けられている。また、上面には、シャッターボタン35、ストロボ設定ボタン36および色調整ボタン37のほか機能選択用ボタン等のキー(図示せず)が設けられている。なお、ストロボ表示ランプ111はLED等で構成され、実施例では赤および緑の2種類の発光表示(点灯)が可能である。
[Example of equipment appearance]
2A and 2B are schematic views of the digital camera 100 of FIG. 1, in which FIG. 2A is a front view and FIG. 2B is a rear view. A strobe light emitting unit 11, an imaging lens 101, and a light amount detecting unit 102 are provided on the front surface of the digital camera 100 as shown in FIG. In addition to the liquid crystal screen of the display unit 40 and the strobe display lamp 111, a main power switch, a REC mode / reproduction mode switching switch, and the like (not shown) are provided on the rear surface as shown in FIG. On the top surface, keys (not shown) such as a function selection button in addition to the shutter button 35, the strobe setting button 36, and the color adjustment button 37 are provided. The strobe display lamp 111 is composed of an LED or the like, and in the embodiment, two types of light emission display (lighting) of red and green are possible.

[DRAM14の領域設定例]
図3は、図1のデジタルカメラ100の回路構成を例としたDRAM14内の各バッファ等の領域設定例を示す説明図である。本実施例では信号処理部13からの画像データ、VRAMへの画像データの出力およびデータ圧縮/伸張の際の画像データの書込/読み出しに同じDRAM14を用いている。このためにDRAM14上の画像データ記録用の領域の構成として、図3に示すようにいくつかの領域に分割したバッファを用意することで、目的に応じて各領域を設定できる。また、図3で記号141はスルー画像バッファを、142はストロボ撮像直前(或いは直後)のスルー画像を記憶する画像バッファ、143はストロボ撮像により取り込まれるストロボ撮像画像を記憶するバッファ(以下、ストロボ画像バッファ)を、144は色補正後の画像を記憶する色補正画像バッファを、145は撮像直前(あるいは直後)の輝度分布データ、ストロボ撮像時の輝度分布データ及びその差分等や定数等を記録する予備領域、146はワークエリア(作業用エリア)を示す。なお、図3の例では画像バッファ142を設けたが設けなくてもよい(図7)。また、色補正画像バッファ144を設けることなくストロボ画像バッファ143と色補正画像バッファ144を同一の画像バッファとしてもよい。
[DRAM 14 area setting example]
FIG. 3 is an explanatory diagram showing an example of setting areas of each buffer and the like in the DRAM 14 taking the circuit configuration of the digital camera 100 of FIG. 1 as an example. In this embodiment, the same DRAM 14 is used for image data output from the signal processing unit 13, image data output to the VRAM, and image data writing / reading at the time of data compression / decompression. Therefore, by preparing a buffer divided into several areas as shown in FIG. 3 as the configuration of the area for recording image data on the DRAM 14, each area can be set according to the purpose. In FIG. 3, symbol 141 is a through image buffer, 142 is an image buffer for storing a through image immediately before (or immediately after) the strobe imaging, and 143 is a buffer for storing a strobe image captured by strobe imaging (hereinafter referred to as a strobe image). 144), a color-corrected image buffer for storing an image after color correction, and 145 for recording luminance distribution data immediately before (or immediately after) imaging, luminance distribution data at the time of strobe imaging, and their differences and constants. A spare area 146 indicates a work area (work area). Although the image buffer 142 is provided in the example of FIG. 3, it may not be provided (FIG. 7). Further, the strobe image buffer 143 and the color correction image buffer 144 may be the same image buffer without providing the color correction image buffer 144.

[輝度分布の例]
図4は、図5(a)に示す2つの被写体51,52と背景(白い壁)53を含む画像の輝度分布の説明図であり、図5はストロボ撮影及びストロボ色補正処理による撮像画像の説明図である。また、図4(a)は図5(a)の被写体のスルー画像の実際の輝度分布を示し、図4(b)は図5(a)の人物51に合焦してストロボ撮像を行なった結果のX方向の輝度分布を示し、図4(c)は図4(b)の輝度分布から図4(a)の輝度分布を差し引いた差分の分布を示し、図4(d)は図4(c)の差分をその大きさにより1〜3のランクk1、k2、k3にランク付けして示した分布図である。なお、図4の例ではX方向の輝度分布のみを示したが、実施例ではY方向の輝度分布も同様に取得する(図6、図7)。
[Example of luminance distribution]
FIG. 4 is an explanatory diagram of the luminance distribution of the image including the two subjects 51 and 52 and the background (white wall) 53 shown in FIG. 5A. FIG. 5 shows the captured image obtained by the strobe shooting and the strobe color correction process. It is explanatory drawing. FIG. 4A shows the actual luminance distribution of the through image of the subject in FIG. 5A, and FIG. 4B focuses on the person 51 in FIG. 5A and performs strobe imaging. FIG. 4C shows the resulting luminance distribution in the X direction, FIG. 4C shows the difference distribution obtained by subtracting the luminance distribution of FIG. 4A from the luminance distribution of FIG. 4B, and FIG. It is the distribution map which ranked and showed the difference of (c) to the ranks k1, k2, and k3 of 1-3 according to the magnitude | size. Although only the luminance distribution in the X direction is shown in the example of FIG. 4, the luminance distribution in the Y direction is acquired in the same manner in the embodiment (FIGS. 6 and 7).

また、図5(a)はスルー画像の例を示す図であり、(b)、(c)は従来のストロボ色補正方法およびその結果の説明図である。また、(b’)、(c’)は本発明のストロボ色補正およびその結果の説明図である。   FIG. 5A is a diagram showing an example of a through image, and FIGS. 5B and 5C are explanatory diagrams of a conventional strobe color correction method and results thereof. Further, (b ') and (c') are explanatory diagrams of the strobe color correction and the result of the present invention.

[ストロボ色補正方法]
(1)本発明のストロボ色補正方法の一実施例では、図6のフローチャートのステップS6〜S9に示すように、1シャッター動作で、ストロボ撮像直前(あるいは直後)のスルー画像の撮像とストロボ撮像画像の撮像を行いそれぞれの撮像画像から輝度を取り出してそれらの差分(図4(c))の分布を得てから、輝度の差分の分布に比例する補正量を付加してストロボ光のもつ色合いを打ち消す処理を行う。
(2)また、他の実施例として、図7のフローチャートのステップT3、T5〜T8(又はT3’〜T8)に示すように、ストロボ撮像直前(あるいは撮像直後)のスルー画像の輝度分布を取得して保持(一時記憶)すると共に、ストロボ撮像画像の輝度分布を取得し、両者の輝度分布の差分の分布を得てから、輝度の差分の分布に比例する補正量を付加してストロボ光のもつ色合いを打ち消す処理を行う。
(3)また、他の実施例として、図8に示すように図6又は図7のストロボ色補正方法で得た輝度の差分の分布を2又は3程度に分類してランク付けし、ランクの同じ部分ごとに対応するストロボ色補正を施し、ユーザが再生画像を見て色合いを修正できるようにする。
なお、上述した3つの実施例において、スルー画像の輝度とストロボ撮像画像の輝度を比較してその差が所定の範囲内の部分にはストロボ色補正を行わないようにしてもよい。
[Flash color correction method]
(1) In one embodiment of the strobe color correction method of the present invention, as shown in steps S6 to S9 of the flowchart in FIG. 6, through image capturing and strobe imaging immediately before (or immediately after) the strobe imaging with one shutter operation. After taking the image and extracting the luminance from each captured image to obtain the distribution of the difference (FIG. 4 (c)), a correction amount proportional to the luminance difference distribution is added and the color of the strobe light Process to cancel.
(2) As another embodiment, as shown in steps T3 and T5 to T8 (or T3 ′ to T8) of the flowchart of FIG. 7, the luminance distribution of the through image immediately before (or immediately after) the strobe is acquired. And store (temporarily store) the brightness distribution of the strobe image, obtain the distribution of the difference between the two brightness distributions, add a correction amount proportional to the distribution of the brightness difference, and Performs processing to cancel the tint.
(3) As another embodiment, as shown in FIG. 8, the distribution of luminance differences obtained by the strobe color correction method of FIG. 6 or 7 is classified into about 2 or 3, and ranked. Strobe color correction corresponding to each part is performed so that the user can see the reproduced image and correct the hue.
In the above-described three embodiments, the brightness of the through image and the brightness of the strobe image may be compared, and the strobe color correction may not be performed on a portion where the difference is within a predetermined range.

[動作例1]
図6はストロボ撮像モード下でのデジタルカメラの動作の一例を示すフローチャートである。また、図6で、(a)はストロボ撮像直前のスルー画像を比較対象とする例であり、ステップS6〜S9がストロボ光補正処理に相当する。また、(b)はストロボ撮像直後のスルー画像を比較対象とする例である。
[Operation Example 1]
FIG. 6 is a flowchart showing an example of the operation of the digital camera under the strobe imaging mode. In FIG. 6, (a) is an example in which a through image immediately before strobe imaging is used for comparison, and steps S6 to S9 correspond to strobe light correction processing. Further, (b) is an example in which a through image immediately after the strobe imaging is used as a comparison target.

ステップS1:(ストロボ設定の有無判定)
図6で、撮像モードが選択されるとスルー画像が表示部40に表示される。ここで、ユーザは周辺の明るさか表示部40の液晶画面の明るさのいずれかからストロボ撮影が必要と判断した場合にはストロボ設定ボタン36を押す。
Step S1: (Determining whether or not the flash is set)
In FIG. 6, when the imaging mode is selected, a through image is displayed on the display unit 40. If the user determines that flash photography is necessary from either the surrounding brightness or the brightness of the liquid crystal screen of the display unit 40, the user presses the flash setting button 36.

撮像モードが選択されると制御部20は操作部30からの状態信号を調べてストロボ設定ボタン36が押されたか否かを判定し、ストロボ設定ボタン36が押された場合にはストロボ発光部11への電荷印加を開始すると共にストロボ表示ランプ111を点灯してS2に遷移し、そうでない場合には他の撮像モードに遷移する。ストロボ表示ランプ111はストロボ充電状態では赤、ストロボ発光可能状態では青色に点灯する。   When the imaging mode is selected, the control unit 20 checks the status signal from the operation unit 30 to determine whether or not the strobe setting button 36 has been pressed. If the strobe setting button 36 has been pressed, the strobe light emitting unit 11 is selected. Then, the strobe display lamp 111 is turned on and the process proceeds to S2, and if not, the process proceeds to another imaging mode. The strobe indicator lamp 111 lights red when the strobe is charged, and blue when the strobe is ready to emit light.

ステップS2:(ストロボ撮像の可否判定)
次に、制御部20は光量検出部102からの検出光量Lと撮像に必要とする光量(閾値φ)を比較し、L<φの場合にはS3に移行する。また、L≧φの場合にはストロボ撮像不要としてストロボ設定を解除しストロボ表示ランプ111による発光表示を中止すると共に、ストロボ発光部11への電荷印加を中止して通常の撮像モードに遷移する。
Step S2: (determining whether or not flash photography is possible)
Next, the control unit 20 compares the detected light amount L from the light amount detection unit 102 with the light amount required for imaging (threshold value φ), and if L <φ, the process proceeds to S3. Further, when L ≧ φ, the strobe setting is canceled so that the strobe image is not required, the light emission display by the strobe display lamp 111 is stopped, the charge application to the strobe light emitting unit 11 is stopped, and the normal image pickup mode is changed.

ステップS3:(撮像指示)
ストロボが発光可能状態になった以降の任意のタイミングでユーザーがシャッターボタン35を押すと、制御部20はAGC124に対してゲインを通常値(実際の光量による値)にするための制御信号を送出すると共に、ストロボ発光部11に発光指示信号を与える。
Step S3: (imaging instruction)
When the user presses the shutter button 35 at an arbitrary timing after the strobe is ready to emit light, the control unit 20 sends a control signal for setting the gain to a normal value (value based on the actual light amount) to the AGC 124. At the same time, a light emission instruction signal is given to the strobe light emitting unit 11.

ステップS4:(撮像:直前のスルー画像)
制御部20は、また、ストロボ発光直前のスルー画像バッファ141に取り込まれている画像(直前のスルー画像)を画像バッファ142に記憶すると共に、CCD121から取込む画像データのDRAM14上の記憶領域をストロボ画像バッファ143に切換えてS5に遷移する。
Step S4: (Imaging: the previous through image)
The control unit 20 also stores the image (previous through image) captured in the through image buffer 141 immediately before the flash emission in the image buffer 142, and stores the storage area on the DRAM 14 for image data captured from the CCD 121. Switching to the image buffer 143, the process proceeds to S5.

ステップS5:(撮像:ストロボ撮像画像)
上記ステップS3、S4の動作後に、CCD121からの信号の増幅率が通常値に戻され、ストロボが発光して発光量Pだけ周囲の光量を補う。CCD121からの信号はストロボ発光により補われた光量Pを加えた分増加する。また、ストロボ画像バッファ143にはストロボ撮像画像が取り込まれて記憶される。また、制御部20はCCD121から取込むデータのDRAM14上の記憶領域をスルー画像バッファ141に切換える。
Step S5: (Imaging: Strobe image)
After the operations in steps S3 and S4, the amplification factor of the signal from the CCD 121 is returned to the normal value, the strobe emits light, and the surrounding light amount is compensated by the light emission amount P. The signal from the CCD 121 increases by adding the light amount P supplemented by strobe light emission. The strobe image buffer 143 captures and stores a strobe image. Further, the control unit 20 switches the storage area on the DRAM 14 for data taken from the CCD 121 to the through image buffer 141.

ステップS6:(スルー画像の輝度分布の取得)
次に、制御部20は画像バッファ142に記憶された撮像画像のX方向(図4(a))およびY方向の輝度分布を取得(抽出)してDRAM14の予備領域145の所定領域に記憶(上書き)する。
Step S6: (Acquisition of luminance distribution of through image)
Next, the control unit 20 acquires (extracts) luminance distributions in the X direction (FIG. 4A) and Y direction of the captured image stored in the image buffer 142 and stores them in a predetermined area of the spare area 145 of the DRAM 14 ( Overwrite.

ステップS7:(ストロボ撮像画像の輝度分布取得)
制御部20はCCD121からストロボ画像バッファ143に取込まれたストロボ撮像画像のX方向(図4(b))およびY方向の輝度分布を取得してDRAM14の予備領域145の所定領域(スルー画像の輝度分布の記憶領域とは別の場所)に記憶(上書き)する。
Step S7: (Acquisition of luminance distribution of strobe image)
The control unit 20 acquires the luminance distribution in the X direction (FIG. 4B) and Y direction of the strobe image captured from the CCD 121 into the strobe image buffer 143, and obtains a predetermined area (through image of the through image) in the spare area 145 of the DRAM 14. It is stored (overwritten) in a different location from the storage area of the luminance distribution.

ステップS8:(輝度分布の差分の取得)
制御部20は上記ステップS6で得たストロボ発光直前の撮像画像の輝度分布値からステップS7で得たストロボ撮像画像の輝度分布値をそれぞれ差し引いてX方向(図4(c))およびY方向の差分の分布を取得してDRAM14の予備領域145の所定領域(ストロボ発光直前の撮像画像やストロボ撮像画像の輝度分布の記憶領域とは別の場所)に記憶する。
Step S8: (Acquisition of luminance distribution difference)
The control unit 20 subtracts the luminance distribution value of the strobe image obtained in step S7 from the luminance distribution value of the captured image immediately before strobe emission obtained in step S6, respectively, in the X direction (FIG. 4C) and the Y direction. The difference distribution is acquired and stored in a predetermined area of the spare area 145 of the DRAM 14 (a place different from the storage area of the captured image immediately before the flash emission or the luminance distribution storage area of the flash image).

ステップS9:(差分に比例させたストロボ色補正)
制御部20はストロボ光のもつ色合いを打ち消すための補正色を上記ステップS6で得たX方向およびY方向の輝度の差分に比例するようにストロボ画像バッファ143に記憶されているストロボ撮像画像に合成し、その結果(ストロボ光の色合いが打ち消された画像(合成画像))を色補正画像バッファ144に記憶する。
Step S9: (Strobe color correction proportional to the difference)
The control unit 20 synthesizes a correction color for canceling the hue of the strobe light with the strobe image stored in the strobe image buffer 143 so as to be proportional to the difference in luminance between the X direction and the Y direction obtained in step S6. Then, the result (image in which the color of the strobe light is canceled (composite image)) is stored in the color correction image buffer 144.

ステップS10:(画像の保存記録処理)
上記ステップS9の処理が終了すると制御部20は色補正画像バッファ144の画像(ストロボ色補正処理後の画像)にJPEG圧縮処理を施してからメモリーカード50に撮影情報と共に保存記録する。
Step S10: (Image saving and recording process)
When the processing in step S9 is completed, the control unit 20 performs JPEG compression processing on the image in the color correction image buffer 144 (image after the strobe color correction processing), and then saves and records the image on the memory card 50 together with shooting information.

上記ストロボ色補正処理により、ストロボ撮像画像に対してストロボ発光直前の撮像画像の輝度とストロボ撮像時の輝度の差分に比例したストロボ光の打消しが行われるので、従来のストロボ色補正の場合のようにストロボ撮像画像に対する一律的なストロボ光の打ち消し処理のようにストロボ光があたらない部分での補正過多(図5(c))が生ぜず自然な色合いのストロボ撮像画像を得ることができる(図5(c’))。   The strobe color correction process cancels the strobe light in proportion to the difference between the brightness of the captured image immediately before the strobe fires and the brightness at the time of strobe shooting. In this way, a strobe image with a natural color can be obtained without excessive correction (FIG. 5C) in a portion where the strobe light is not applied, as in the uniform cancellation of strobe light on the strobe image (see FIG. 5C). FIG. 5 (c ′)).

なお、上記動作例ではストロボ発光直前の撮像画像とストロボ撮像画像の輝度を比較する(差分をとる)ようにしたが、図6(b)に示すようにストロボ撮像画像とストロボ撮像直後の撮像画像の輝度を比較するようにしてもよい。   In the above operation example, the brightness of the captured image immediately before the flash emission is compared with the brightness of the captured flash image (difference is taken). However, as shown in FIG. 6B, the captured image and the captured image immediately after the flash are captured. You may make it compare the brightness | luminance of.

[動作例2]
図7はストロボ撮像モード下でのデジタルカメラの動作の一例を示すフローチャートである。また、図7で、(a)はストロボ撮像直前のスルー画像を比較対象とする例であり、ステップT3、T5〜T8がストロボ光補正処理に相当する。また、(b)はストロボ撮像直後のスルー画像を比較対象とする例であり、ステップT4’〜T6’がストロボ光補正処理に相当する。また、ステップT1、T2の動作は図6のステップS1、S2の動作と同様である。
[Operation example 2]
FIG. 7 is a flowchart showing an example of the operation of the digital camera under the strobe imaging mode. In FIG. 7, (a) is an example in which a through image immediately before the strobe is captured is compared, and steps T3 and T5 to T8 correspond to strobe light correction processing. Further, (b) is an example in which a through image immediately after the strobe is captured is compared, and steps T4 ′ to T6 ′ correspond to strobe light correction processing. Further, the operations in steps T1 and T2 are the same as the operations in steps S1 and S2 in FIG.

ステップT3:(スルー画像の輝度分布の取得)
図7のステップT2でストロボ撮像を要すると判定された場合には、制御部20はCCD121からスルー画像バッファ141に取込まれるスルー画像のX方向およびY方向の輝度分布を1フレームの書き換えごとに取得(抽出)してDRAM14の予備領域145の所定領域に記憶(上書き)する。輝度分布はカラープロセス回路131の出力から取り出す(抽出する)ことができる。
Step T3: (Acquisition of luminance distribution of through image)
If it is determined in step T2 in FIG. 7 that strobe imaging is required, the control unit 20 determines the luminance distribution in the X direction and Y direction of the through image captured from the CCD 121 to the through image buffer 141 every time one frame is rewritten. Obtained (extracted) and stored (overwritten) in a predetermined area of the spare area 145 of the DRAM 14. The luminance distribution can be extracted (extracted) from the output of the color process circuit 131.

ステップT4:(撮像指示)
ストロボが発光可能状態になった以降の任意のタイミングでユーザーがシャッターボタン35を押すと、制御部20はAGC124に対してゲインを通常値にするための制御信号を送出すると共に、ストロボ発光部11に発光指示信号を与え、また、CCD121から取込むデータのDRAM14上の記憶領域をストロボ画像バッファ143に切換えてT5に遷移する。
Step T4: (Imaging instruction)
When the user presses the shutter button 35 at an arbitrary timing after the strobe is ready to emit light, the control unit 20 sends a control signal for setting the gain to a normal value to the AGC 124 and also uses the strobe light emitting unit 11. A light emission instruction signal is given to the flash memory, and the storage area on the DRAM 14 for data taken in from the CCD 121 is switched to the strobe image buffer 143 to shift to T5.

ステップT5:(ストロボ撮像)
上記ステップT4の動作後、CCD121からの信号の増幅率が通常値に戻され、次に、ストロボが発光して発光量Pだけ周囲の光量を補う。CCD121からの信号はストロボ発光により補われた光量Pを加えた分増加し、ストロボ画像バッファ143にはストロボ撮像画像が取り込まれる。
Step T5: (Strobe imaging)
After the operation of step T4, the amplification factor of the signal from the CCD 121 is returned to the normal value, and then the strobe emits light to compensate the surrounding light amount by the light emission amount P. The signal from the CCD 121 increases by adding the light amount P supplemented by the strobe light emission, and the strobe image buffer 143 captures the strobe image.

ステップT6:(ストロボ撮像画像の輝度分布取得)
制御部20はCCD121からストロボ画像バッファ143に取込まれたストロボ撮像画像のX方向およびY方向の輝度分布を取得してDRAM14の予備領域145の所定領域(スルー画像の輝度分布の記憶領域とは別の場所)に記憶(上書き)する。輝度分布はカラープロセス回路131の出力から取り出すこともできる。
Step T6: (Acquisition of luminance distribution of strobe image)
The control unit 20 acquires the luminance distribution in the X direction and the Y direction of the strobe image captured from the CCD 121 into the strobe image buffer 143, and obtains a predetermined area in the spare area 145 of the DRAM 14 (the storage area for the luminance distribution of the through image). Store (overwrite) in another location. The luminance distribution can also be extracted from the output of the color process circuit 131.

ステップT7:(輝度分布の差分の取得)
制御部20は上記ステップT3で得た撮像直前のスルー画像の輝度分布値からステップT6で得たストロボ撮像画像の輝度分布値をそれぞれ差し引いてX方向(図4(c))およびY方向の差分の分布を取得してDRAM14の予備領域145の所定領域(スルー画像やストロボ撮像画像の輝度分布の記憶領域とは別の場所)に記憶する。
Step T7: (Acquisition of luminance distribution difference)
The control unit 20 subtracts the luminance distribution value of the strobe captured image obtained in step T6 from the luminance distribution value of the through image obtained immediately before imaging obtained in step T3 to obtain a difference between the X direction (FIG. 4C) and the Y direction. Is stored in a predetermined area of the spare area 145 of the DRAM 14 (a place different from the storage area of the luminance distribution of the through image or the strobe image).

ステップT8:(差分に比例させたストロボ色補正)
制御部20はストロボ光のもつ色合いを打ち消すための補正色を上記ステップT7で得たX方向およびY方向の輝度の差分の分布に比例するようにストロボ画像バッファ143に記憶されているストロボ撮像画像に合成し、その結果(ストロボ光の色合いが打ち消された画像(合成画像))を色補正画像バッファ144に記憶する。
Step T8: (Strobe color correction proportional to the difference)
The controller 20 captures the strobe image stored in the strobe image buffer 143 so that the correction color for canceling the hue of the strobe light is proportional to the distribution of the luminance difference in the X and Y directions obtained in step T7. And the result (an image in which the color of the strobe light is canceled (synthesized image)) is stored in the color correction image buffer 144.

ステップT9:(画像記録処理)
上記ステップT8の処理が終了すると制御部20は色補正画像バッファ144の画像にJPEG圧縮処理を施してからメモリーカード50に撮影情報と共に保存記録する。
Step T9: (Image recording process)
When the processing in step T8 is completed, the control unit 20 performs JPEG compression processing on the image in the color correction image buffer 144, and then saves and records it together with shooting information on the memory card 50.

上記ストロボ色補正処理により、ストロボ撮像画像に対してストロボ撮像直前のスルー画像の輝度とストロボ撮像時の輝度の差分に比例したストロボ光の打消しが行われるので、動作例1(図6)の場合と同様に、補正過多の生じない自然な色合いのストロボ撮像画像を得ることができる。   The strobe color correction process cancels strobe light in proportion to the difference between the brightness of the through image immediately before the strobe imaging and the brightness at the time of strobe imaging with respect to the strobe captured image. Similarly to the case, it is possible to obtain a stroboscopic image having a natural hue without excessive correction.

なお、上記動作例では撮像直前のスルー画像とストロボ撮像画像の輝度を比較する(差分をとる)ようにしたが、図7(b)に示すようにストロボ撮像画像と撮像直後のスルー画像の輝度を比較するようにしてもよい。   In the above operation example, the brightness of the through image immediately before imaging is compared with the brightness of the strobe captured image (difference is taken). However, as shown in FIG. May be compared.

[動作例3]
図8はストロボ撮像モード下でのデジタルカメラの動作の一例を示すフローチャートである。本実施例は図6のステップS8及び図7のステップT7での撮像直前(或いは直後)のスルー画像の輝度とストロボ撮像画像との輝度の差分の分布をその大きさによりいくつかに分類してランク付けし、そのランクに対応するストロボ色補正を行う例である。
[Operation Example 3]
FIG. 8 is a flowchart showing an example of the operation of the digital camera under the strobe imaging mode. In this embodiment, the distribution of the difference between the brightness of the through image immediately before (or immediately after) the imaging in step S8 in FIG. 6 and step T7 in FIG. This is an example of ranking and performing strobe color correction corresponding to the rank.

ステップU1:(差分の分類)
制御部20は差分の分布を2〜3のランクに分類する。分類方法としては、例えば、差分のX方向の分布のうち最も差の多い部分と最も少ない部分の差で差分のX方向の各差分の比率を求めて高いほうから2又は3程度の数にグループ分けしてランク付けすることにより分類することができる(図4(d))。また、Y方向の分布についても同様に分類することができる。
Step U1: (Difference classification)
The control unit 20 classifies the difference distribution into 2-3 ranks. As a classification method, for example, the ratio of each difference in the X direction of the difference is determined by the difference between the portion with the largest difference and the portion with the smallest difference in the distribution in the X direction. It can classify | categorize by dividing and ranking (FIG.4 (d)). The distribution in the Y direction can also be classified in the same manner.

ステップU2:(画像領域のランク付け)
制御部20は上記ステップU2で得たX方向の分布のランクとY方向の分布のランクを組み合わせて、図9に示すようなランク付けされた領域(ストロボ撮像画像上で最も輝度の高いランク(K1)に属する領域、最も輝度の少ないランク(K3)に属する領域、中間ランク(K2)に属する領域)を得る。
Step U2: (Image area ranking)
The control unit 20 combines the rank of the distribution in the X direction obtained in step U2 and the rank of the distribution in the Y direction to obtain a ranked region as shown in FIG. 9 (the rank with the highest luminance on the strobe captured image ( A region belonging to K1), a region belonging to the rank (K3) with the lowest luminance, and a region belonging to the intermediate rank (K2)).

ステップU3:(ランク付けされた領域ごとのストロボ色補正)
制御部20は上記ステップU2で得たストロボ撮像画像のランク付けされた領域(図9の例ではK1、K2、K3)のストロボ光のもつ色合いを打ち消すための補正色(輝度ランクK1、K2、K3の領域の平均輝度(又は中央値、最大値)γ1、γ2、γ3に対応した補正量δ1、δ2、δ3)を各部分領域に加え、その結果(ストロボ光の色合いが打ち消された画像(合成画像))を色補正画像バッファ144に記憶する。
Step U3: (Strobe color correction for each ranked area)
The control unit 20 corrects the correction colors (luminance ranks K1, K2,... For canceling the tint of the strobe light in the ranked areas (K1, K2, K3 in the example of FIG. 9) of the strobe captured image obtained in step U2. Correction amounts [delta] 1, [delta] 2, [delta] 3) corresponding to the average luminance (or median value, maximum value) [gamma] 1, [gamma] 2, [gamma] 3 of the area K3 are added to each partial area, and the result (an image in which the color of the strobe light is canceled ( The composite image)) is stored in the color corrected image buffer 144.

ステップU4:(ストロボ色補正後のストロボ撮像画像の表示)
制御部20は色補正画像バッファ144のストロボ撮像画像を取り出して表示部40に送り液晶画面上に静止画表示すると共に、図10に示すような操作案内71〜73を表示する。
Step U4: (Display of strobe image after strobe color correction)
The control unit 20 takes out the strobe image captured from the color correction image buffer 144 and sends it to the display unit 40 to display a still image on the liquid crystal screen and display operation guides 71 to 73 as shown in FIG.

ステップU5、U6:(操作内容の判定)
制御部20は操作部30からの状態信号を調べ、ユーザが確認(OK)キー(シャッターボタン35)を押した場合にはU9に遷移し、色調整キー(+・−キー)37を押した場合にはU7に遷移し、キャンセルキーを押した場合にはU4に戻る。
Steps U5 and U6: (Determination of operation content)
The control unit 20 examines the status signal from the operation unit 30. When the user presses the confirmation (OK) key (shutter button 35), the control unit 20 shifts to U9 and presses the color adjustment key (+/− key) 37. In this case, the process proceeds to U7, and if the cancel key is pressed, the process returns to U4.

ステップU7:(部分領域の色調整操作)
上記ステップU6で色調整キー37が操作されると、制御部20はカーソルを画面上に表示する。ユーザはカーソルキーでカーソルを移動させて色調整したい部分を指定し、色調整ボタン37を操作(+/−)して色調整指示を行う。
Step U7: (Partial area color adjustment operation)
When the color adjustment key 37 is operated in step U6, the control unit 20 displays a cursor on the screen. The user moves the cursor with the cursor key to designate a part to be color-adjusted, and operates the color adjustment button 37 (+/−) to give a color adjustment instruction.

ステップU8:(部分領域の色調整処理)
制御部20は操作部30からの状態信号を調べ、色調整キー37が+操作されたか−操作されたかを判定し、+操作された場合には色補正量δi(δiは領域K1〜K3のうちユーザがカーソルでポイントした部分を含む領域Kiの色補正量)を所定量増加させ、−操作の場合には色補正量δiを所定量減少させて、ポイントされた部分領域Kiに加え、その結果を色補正画像バッファ144に記憶する。
Step U8: (Partial area color adjustment processing)
The control unit 20 examines the status signal from the operation unit 30 to determine whether the color adjustment key 37 is + operated or −operated, and when it is + operated, the color correction amount δi (δi is the region K1 to K3). Among them, the color correction amount of the area Ki including the part pointed by the cursor is increased by a predetermined amount, and in the case of -operation, the color correction amount δi is decreased by a predetermined amount and added to the pointed partial area Ki, The result is stored in the color correction image buffer 144.

ステップU9:(画像記録処理)
制御部20は色補正画像バッファ144の画像にJPEG圧縮処理を施してからメモリーカード50に撮影情報と共に保存記録する。
Step U9: (Image recording process)
The control unit 20 performs JPEG compression processing on the image in the color correction image buffer 144 and then saves and records the image on the memory card 50 together with shooting information.

上記ストロボ色補正処理により輝度を大別して分類した領域ごとにストロボ撮像画像のストロボ色補正ができるので高速なストロボ色補正処理を行うことができる。また、ランク付けした領域ごとにストロボ光の影響に対するストロボ色補正の調整が行えるので、領域ごとのストロボ色補正の結果に不自然な部分があっても簡単に調整できる。   Since the strobe color correction of the strobe image can be performed for each area classified roughly according to the luminance by the strobe color correction process, a high-speed strobe color correction process can be performed. In addition, since the strobe color correction can be adjusted for the effect of the strobe light for each ranked area, even if there is an unnatural part in the result of the strobe color correction for each area, it can be easily adjusted.

なお、上記ステップU5でランク付けされた領域の境界をカーソルでポイントした場合には境界近傍の色合いがなだらかになるようにストロボ色補正の調整を行うようにすることもできる。   If the cursor is pointed at the boundary of the area ranked in step U5, the strobe color correction can be adjusted so that the color near the boundary becomes gentle.

本発明を適用した電子カメラ装置の一実施例としてのデジタルカメラの回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of the digital camera as one Example of the electronic camera apparatus to which this invention is applied. デジタルカメラの概観図である。It is a general-view figure of a digital camera. DRAMの各画像バッファの領域設定例を示す説明図である。It is explanatory drawing which shows the example of a region setting of each image buffer of DRAM. スルー画像およびストロボ撮像画像の輝度分布の説明図である。It is explanatory drawing of the luminance distribution of a through image and a strobe image. ストロボ撮影及びストロボ色補正処理による撮像画像の説明図である。It is explanatory drawing of the captured image by strobe photography and strobe color correction processing. ストロボ撮像モード下でのデジタルカメラの動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of the digital camera under strobe imaging mode. ストロボ撮像モード下でのデジタルカメラの動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of the digital camera under strobe imaging mode. ストロボ撮像モード下でのデジタルカメラの動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of the digital camera under strobe imaging mode. 輝度の差分の分布の大小によりランク付けされた(ストロボ撮像画像上の)領域の説明図である。It is explanatory drawing of the area | region (on a strobe captured image) ranked by the magnitude of the difference distribution of a brightness | luminance. ストロボ色補正の結果(静止画)に対する確認(又は修正)用画面の一実施例を示す図である。It is a figure which shows one Example of the screen for a confirmation (or correction) with respect to the result (still image) of strobe color correction.

符号の説明Explanation of symbols

10 光学系(撮像手段)
12 信号変換部(撮像手段)
13 信号処理部(撮像手段)
20 制御部(画像比較手段、ストロボ撮像画像補正手段)
37 色調整キー
40 表示部
50 保存記録メモリ、メモリーカード
100 デジタルカメラ(電子カメラ装置)
131 カラープロセス回路(輝度抽出手段)
10 Optical system (imaging means)
12 Signal converter (imaging means)
13 Signal processor (imaging means)
20 control unit (image comparison means, strobe image correction means)
37 Color Adjustment Key 40 Display Unit 50 Storage Recording Memory, Memory Card 100 Digital Camera (Electronic Camera Device)
131 Color process circuit (luminance extraction means)

Claims (6)

ストロボ撮像が可能な電子カメラ装置において、
非ストロボ撮像画像とストロボ撮像画像を得る撮像手段と、
この撮像手段により得られる非ストロボ撮像画像の輝度とストロボ撮像画像の輝度を抽出する輝度抽出手段と、
この輝度抽出手段により抽出された非ストロボ撮像画像の輝度とストロボ撮像画像の輝度との輝度差を得る輝度差取得手段と、
この輝度差取得手段により得られた輝度差に比例した補正量で前記撮像手段により得られるストロボ撮像画像の色補正を行うことにより、ストロボ撮像画像に含まれるストロボ光のもつ色合いを打ち消すストロボ撮像画像補正手段と、
を備え、
前記非ストロボ画像は、スルー画像であり、前記撮像手段により得られるスルー画像を表示する表示手段を更に備えたことを特徴とする電子カメラ装置。
In an electronic camera device capable of strobe imaging,
Imaging means for obtaining a non-strobe captured image and a strobe captured image;
A brightness extraction means for extracting the brightness of the non-strobe captured image obtained by the imaging means and the brightness of the strobe captured image;
A luminance difference obtaining unit for obtaining a luminance difference between the luminance of the non-strobe captured image and the luminance of the strobe captured image extracted by the luminance extracting unit;
The stroboscopic image that cancels the hue of the stroboscopic light contained in the stroboscopic image by performing color correction of the stroboscopic image obtained by the imaging unit with a correction amount proportional to the luminance difference obtained by the luminance difference acquisition unit Correction means;
With
The non-stroboscopic image is a through image, and further includes display means for displaying a through image obtained by the imaging means.
前記輝度差取得手段は前記非ストロボ撮像画像と前記ストロボ撮像画像の複数部分の輝度から各部分の輝度差を得る手段を含み、
前記ストロボ撮像画像補正手段は前記各部分の輝度差に比例した複数の補正量で前記ストロボ撮像画像の複数部分の色補正を行うことを特徴とする請求項1記載の電子カメラ装置。
The brightness difference acquisition means includes means for obtaining a brightness difference of each part from the brightness of a plurality of parts of the non-strobe captured image and the strobe captured image,
2. The electronic camera apparatus according to claim 1, wherein the strobe captured image correction unit performs color correction of a plurality of portions of the strobe captured image with a plurality of correction amounts proportional to a luminance difference between the portions.
前記輝度抽出手段は、前記ストロボ撮像画像の直前または直後に前記撮像手段により得られるスルー画像の輝度とストロボ撮像画像の輝度を抽出することを特徴とする請求項2記載の電子カメラ装置。   3. The electronic camera apparatus according to claim 2, wherein the luminance extraction unit extracts the luminance of the through image obtained by the imaging unit and the luminance of the strobe captured image immediately before or immediately after the strobe captured image. 前記撮像手段は、ストロボ撮像指示により前記非ストロボ撮像画像とストロボ撮像画像を得ることを特徴とする請求項1又は2記載の電子カメラ装置。   The electronic camera apparatus according to claim 1, wherein the imaging unit obtains the non-strobe captured image and the strobe captured image in response to a strobe imaging instruction. 前記ストロボ撮像画像補正手段により色補正されたストロボ撮像画像を記録する記録手段を備えたことを特徴とする請求項1乃至4のいずれか1項に記載の電子カメラ装置。   5. The electronic camera device according to claim 1, further comprising a recording unit that records the strobe image that has been color-corrected by the strobe image correction unit. 6. ストロボ撮像が可能な電子カメラ装置におけるストロボ色補正方法であって、
非ストロボ撮像画像とストロボ撮像画像を得る撮像ステップと、
この撮像ステップにて得られる非ストロボ撮像画像の輝度とストロボ撮像画像の輝度を抽出する輝度抽出ステップと、
この輝度抽出ステップにて抽出された非ストロボ撮像画像の輝度とストロボ撮像画像の輝度との輝度差を得る輝度差取得ステップと、
この輝度差取得ステップにて得られた輝度差に比例した補正量で前記撮像ステップにより得られるストロボ撮像画像の色補正を行うことにより、ストロボ撮像画像に含まれるストロボ光のもつ色合いを打ち消すストロボ撮像画像補正ステップと、
を含み、
前記非ストロボ画像は、スルー画像であり、前記撮像ステップにより得られるスルー画像を表示部に表示させる表示ステップを更に含むことを特徴とするストロボ色補正方法。
A strobe color correction method in an electronic camera device capable of strobe imaging,
An imaging step of obtaining a non-strobe captured image and a strobe captured image;
A luminance extraction step for extracting the luminance of the non-strobe captured image obtained in this imaging step and the luminance of the strobe captured image;
A luminance difference acquisition step for obtaining a luminance difference between the luminance of the non-strobe captured image extracted in this luminance extraction step and the luminance of the strobe captured image;
Strobe imaging that cancels the tint of the strobe light contained in the strobe image by performing color correction of the strobe image obtained in the imaging step with a correction amount proportional to the brightness difference obtained in the brightness difference acquisition step An image correction step;
Including
The non-stroboscopic image is a through image, and further includes a display step of displaying a through image obtained in the imaging step on a display unit.
JP2007215416A 2007-08-22 2007-08-22 Electronic camera device and strobe color correction method Expired - Fee Related JP4525717B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007215416A JP4525717B2 (en) 2007-08-22 2007-08-22 Electronic camera device and strobe color correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007215416A JP4525717B2 (en) 2007-08-22 2007-08-22 Electronic camera device and strobe color correction method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP11934799A Division JP4081917B2 (en) 1999-04-27 1999-04-27 Electronic camera device and strobe color correction method

Publications (2)

Publication Number Publication Date
JP2008011560A JP2008011560A (en) 2008-01-17
JP4525717B2 true JP4525717B2 (en) 2010-08-18

Family

ID=39069251

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007215416A Expired - Fee Related JP4525717B2 (en) 2007-08-22 2007-08-22 Electronic camera device and strobe color correction method

Country Status (1)

Country Link
JP (1) JP4525717B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009300871A (en) * 2008-06-16 2009-12-24 Edm Kk Illuminating device and method for image processing apparatus
JP5136369B2 (en) * 2008-11-13 2013-02-06 株式会社ニコン Imaging device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0851632A (en) * 1994-05-31 1996-02-20 Asahi Optical Co Ltd White balance adjustment device
JPH08340542A (en) * 1995-04-13 1996-12-24 Ricoh Co Ltd Electronic still camera

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0851632A (en) * 1994-05-31 1996-02-20 Asahi Optical Co Ltd White balance adjustment device
JPH08340542A (en) * 1995-04-13 1996-12-24 Ricoh Co Ltd Electronic still camera

Also Published As

Publication number Publication date
JP2008011560A (en) 2008-01-17

Similar Documents

Publication Publication Date Title
JP4432054B2 (en) Imaging apparatus and method
JP3873157B2 (en) Electronic camera device and imaging method
TWI508555B (en) Image processing apparatus and image processing method for performing image synthesis
US8106961B2 (en) Image processing method, apparatus and computer program product, and imaging apparatus, method and computer program product
JP5281878B2 (en) IMAGING DEVICE, LIGHTING PROCESSING DEVICE, LIGHTING PROCESSING METHOD, AND LIGHTING PROCESSING PROGRAM
US7808546B2 (en) Image processing system, image capturing apparatus and system and method for detecting backlight status
JP4774915B2 (en) Imaging apparatus, gradation correction method, and program
WO2009139154A1 (en) Image pickup device and image pickup method
US20090002518A1 (en) Image processing apparatus, method, and computer program product
US20070206938A1 (en) Distance measuring apparatus and method
JP2021128791A (en) Image processing apparatus, image processing method, and program
JP5225137B2 (en) Imaging apparatus, image processing method, and program
JP4525717B2 (en) Electronic camera device and strobe color correction method
JP4081917B2 (en) Electronic camera device and strobe color correction method
JP4760496B2 (en) Image data generation apparatus and image data generation method
JP2008298847A (en) Photographing method and digital camera
JP2012119756A (en) Imaging apparatus and white-balance control method
JP2009063674A (en) Imaging apparatus and flash control method
JP2009124309A (en) Image device
JP4885079B2 (en) Digital camera, photographing method and photographing program
JP4422353B2 (en) Electronic camera
JP4355859B2 (en) Electronic camera device and imaging method
JP2016220031A (en) Image processing device and image processing method
JP2007235531A (en) Digital camera
JP5136369B2 (en) Imaging device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090929

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100119

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100317

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100524

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

Free format text: PAYMENT UNTIL: 20130611

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees