Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3569352B2 - White balance adjustment device - Google Patents
[go: Go Back, main page]

JP3569352B2 - White balance adjustment device - Google Patents

White balance adjustment device Download PDF

Info

Publication number
JP3569352B2
JP3569352B2 JP15260095A JP15260095A JP3569352B2 JP 3569352 B2 JP3569352 B2 JP 3569352B2 JP 15260095 A JP15260095 A JP 15260095A JP 15260095 A JP15260095 A JP 15260095A JP 3569352 B2 JP3569352 B2 JP 3569352B2
Authority
JP
Japan
Prior art keywords
white balance
balance adjustment
luminance
light
strobe
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 - Lifetime
Application number
JP15260095A
Other languages
Japanese (ja)
Other versions
JPH0851632A (en
Inventor
紳聡 阿部
Original Assignee
ペンタックス株式会社
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 ペンタックス株式会社 filed Critical ペンタックス株式会社
Priority to JP15260095A priority Critical patent/JP3569352B2/en
Publication of JPH0851632A publication Critical patent/JPH0851632A/en
Application granted granted Critical
Publication of JP3569352B2 publication Critical patent/JP3569352B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【産業上の利用分野】
本発明は、電子スチルカメラに関し、特にホワイトバランス調整を行う装置の改良に関する。
【0002】
【従来の技術】
従来電子スチルカメラでは、照明光の色温度にかかわらず、白い被写体が白く撮影されるようにするため、ホワイトバランス調整が行われている。例えば照明光の色温度が高い場合には、B信号を含んだ色差信号Cbに乗じられる係数が、R信号を含んだ色差信号Crに乗じられる係数よりも小さく定められ、これによりブルーの光に対する感度が抑えられて、被写体像が青みがかることが防止される。
【0003】
【発明が解決しようとする課題】
ストロボ撮影を行う場合、ストロボ光がとどく距離には限界があるため、カメラ本体に比較的近い被写体の色温度はストロボ光のそれに近く、またカメラ本体から比較的遠い被写体の色温度は外光のそれに近い。したがってストロボ光の色温度に基づいてホワイトバランス調整を行うと、遠距離の被写体についてホワイトバランス調整がとれなくなり、逆に外光の色温度に基づいてホワイトバランス調整を行うと、近距離の被写体についてホワイトバランス調整がとれなくなるという問題が発生する。
【0004】
本発明は、以上のような問題点に鑑み、ストロボ撮影において、被写体距離に関係なく高精度にホワイトバランス調整を行うことができ、しかもその調整処理を短時間の間に行うことができる装置を提供することを目的としている。
【0005】
【課題を解決するための手段】
本発明に係るホワイトバランス調整装置は、ストロボを発光させた状態における露出条件を決定する手段と、その露出条件においてストロボを発光させずに得られた画像データを格納する第1のメモリと、その露出条件においてストロボを発光させて得られた画像データを格納する第2のメモリと、第1および第2のメモリに格納された各画像データを読み出し、同一画素の輝度を比較した結果に応じて、第2のメモリから読み出された画像データにホワイトバランス調整を施すホワイトバランス調整手段とを備えたことを特徴としている。
【0006】
【実施例】
以下図示実施例に基づいて本発明を説明する。
図1は本発明の一実施例であるホワイトバランス調整装置を備えた電子スチルカメラのブロック図である。
【0007】
レンズ11と絞り12を通った光線はCCD(固体撮像素子)13の受光面上に照射され、CCD13に被写体像が結像する。CCD12の受光面には多数の光電変換素子が配設され、また光電変換素子の上面には、例えばR、G、Bの各色フィルタ要素から成るカラーフィルタが設けられている。各光電変換素子はひとつの画素データに対応している。被写体像は、各光電変換素子によって所定の色に対応した電気信号に変換され、信号処理回路14において所定の処理を施され、輝度信号Yと色差信号Cb、Crから成る画像データが生成される。
【0008】
また信号処理回路14では、撮影動作に先立ち、CCD13から出力された画素データに基づいて測光値が計算され、露出ストロボ制御回路15に入力される。露出ストロボ制御回路15では、測光値に基づいて絞り12の開度(絞り値)とシャッタースピード、すなわち露出条件が決定されるとともに、露出制御(電荷蓄積制御)やストロボ16の発光動作の制御が行われる。本実施例では、この露出条件下で、ストロボの発光動作を伴わない第1の露出動作と、ストロボの発光動作を伴う第2の露出動作とが行われる。
【0009】
信号処理回路14から出力された画像データは、A/D変換器17においてデジタル信号に変換され、第1の画像メモリ21または第2の画像メモリ22に入力される。第1の画像メモリ21には、ストロボ16を発光させない第1の露出動作で得られた画像データ(第1の輝度信号Y)が格納され、第2の画像メモリ22には、ストロボ16を発光させた第2の露出動作で得られた画像データ(第2の輝度信号Y、色差信号Cb、Cr)が格納される。第2の画像メモリ22は輝度信号Yおよび色差信号Cb、Crをそれぞれ格納するために、相互に独立したメモリ領域に分割されており、各メモリ領域は1画像分の記憶容量を有している。
【0010】
第1の画像メモリ21から読み出された第1の輝度信号Yは、ラスタ/ブロック変換回路23においてラスタ/ブロック変換され、1画像分の画素データがN個の8×8画素のブロックに分割される。すなわち、1画像の画素数が約40万である場合、Nは約6200である。ブロックに分割された第1の輝度信号BYは、輝度比較回路24に入力される。
【0011】
第2の画像メモリ22から読み出された第2の輝度信号Yと色差信号Cb、Crは、ラスタ/ブロック変換回路25においてそれぞれラスタ/ブロック変換される。ブロックに分割された第2の輝度信号BYは輝度比較回路24に入力され、ブロックに分割された色差信号BCb、BCrはそれぞれホワイトバランス調整回路26に入力される。なお、図中、ラスタ/ブロック変換回路25は1つだけ示されているが、実際には各信号毎に設けられる。
【0012】
図2は8×8画素のブロックを示す。パラメータxは画素の水平方向の位置を示し、パラメータyは画素の垂直方向の位置を示す。各パラメータx,yは0から7の範囲の値をとり、例えば左端から4番目で、上端から5番目の位置の画素の輝度信号はBY(3,4) により表される。なお、この座標(x,y) は各ブロック毎に定義される相対的な座標である。
【0013】
輝度比較回路24では、第1および第2の輝度信号BY、BYが比較され、下式(1)に従って輝度比較関数L(x,y) が求められる。
L(x,y) =BY(x,y)−BY(x,y) (1)
すなわち輝度比較関数L(x,y) は同一画素の輝度信号BY、BYの差であり、各ブロック毎に代表画素(例えば(3,4) の画素)に関して求められる。なお、この代表画素はそのブロックの平均的な輝度値を示す画素であると仮定しているが、そのブロックの中央付近に位置している必要はない。
【0014】
CCDの受光画素において、被写体によるストロボ光の反射光を受けた画素においては、第2の輝度信号BYの方が第1の輝度信号BYよりも実質的に大きな値を有し、ストロボ光が照射されない被写体の画素では、第2の輝度信号BYは第1の輝度信号BYとほぼ同じ値を有する。したがって本実施例では、輝度比較関数L(x,y) の値が所定の基準レベルよりも大きい時、ストロボ光に基づいてホワイトバランス調整し、輝度比較関数L(x,y) の値が基準レベルよりも小さい時、外光に基づいてホワイトバランス調整している。この基準レベルは所定の範囲の値を有しており、輝度比較関数L(x,y) の値がその範囲内にある時、ストロボ光と外光の中間の光に基づいてホワイトバランス調整が行われる。
【0015】
輝度比較回路24では、全てのブロックにおいて代表画素の輝度比較関数L(x,y) の値が求められ、ホワイトバランス調整回路26では、輝度比較関数L(x,y) に基づいて、各ブロック毎にホワイトバランス調整が行われる。すなわち、輝度比較関数L(x,y) に応じた係数Ab、Arが色差信号BCb、BCrにそれぞれ乗じられ、これによりホワイトバランス調整された色差信号BCb、BCrが求められる。
【0016】
ストロボ光の色温度は一定であるため、ストロボ光に基づいたホワイトバランス調整の係数は定数であり、予めホワイトバランス調整回路26に記憶されている。これに対し、外光の色温度は撮影の条件に応じて変化するため、外光に基づいたホワイトバランス調整の係数は、カメラ本体の外面に設けられたホワイトバランスセンサ27から得られる信号に基づいて、ホワイトバランス調整回路26において生成される。
【0017】
ホワイトバランス調整回路26から出力された色差信号BCb、BCrと、輝度比較回路24から出力された第2の輝度信号BYは、データ圧縮処理回路28において、例えばJPEGアルゴリズムに準拠して、離散コサイン変換、量子化およびハフマン符号化等の処理が施され、圧縮処理される。圧縮された画像信号(D, DCb,DCr)は、ICメモリカード(記録媒体)Mに記録される。
【0018】
図3は本実施例におけるホワイトバランス調整の処理ルーチンを示すフローチャートである。
ステップ101では、ホワイトバランスセンサ27による得られる信号に基づいて、外光のホワイトバランス情報が求められる。ステップ102では、露出ストロボ制御回路15において、信号処理回路14から入力される測光値に基づいて、ストロボ16を使用した場合の適正絞り値とシャッタースピード、すなわち露出条件が決定される。次いで、ステップ103において図示しないレリーズスイッチがオン状態に定められていないと判断された場合、ステップ101へ戻るが、レリーズスイッチがオン状態に切り換えられている時、ステップ104以下において撮影動作が行われ、画像の圧縮データが記録媒体Mに記録される。
【0019】
ステップ104では、前述の露出条件による、ストロボ16を発光させない状態で撮影(第1露出動作)が行われる。この撮影によりCCD13において発生した電気信号は、信号処理回路14において第1の輝度信号Y(画像データ)に変換され、第1の輝度信号Yはステップ105において第1の画像メモリ21に格納される。ステップ106では、ストロボ16を発光させた状態で撮影(第1露出動作)が行われ、第2の輝度信号Y、色差信号Cb、Cr(画像データ)が得られる。これらの画像データはステップ107において第2の画像メモリ22に格納される。
【0020】
ステップ108では、第1の輝度信号Yが第1の画像メモリ21から読み出され、ラスタ/ブロック変換回路23においてラスタ/ブロック変換される。同様に、第2の輝度信号Yと色差信号Cb、Crが第2の画像メモリ22から読み出され、ラスタ/ブロック変換回路25においてラスタ/ブロック変換される。ステップ109では、ブロック番号Nが1にセットされる。ステップ110では、第1および第2の画像メモリ21、22からブロック番号Nのブロックの代表画素(x,y) の輝度信号BY(x,y)、BY(x,y)が読み出される。ステップ111では、輝度比較回路24において、第1および第2の輝度信号BY(x,y) 、BY(x,y)の差すなわち輝度比較関数L(x,y) が上記(1)式に従って計算される。
【0021】
ステップ112〜117では、輝度比較関数L(x,y) の値に応じてホワイトバランス調整の係数が設定される。図4は、輝度比較関数L(x,y) の値とホワイトバランス調整において基準にされる光との関係を示している。この図から理解されるようにホワイトバランス調整の係数は、輝度比較関数L(x,y) が第1の基準値S1よりも大きい時、ストロボ光に基づいて設定される。またホワイトバランス調整の係数は、輝度比較関数L(x,y) が第1の基準値S1と第2の基準値S2の間にある時、ストロボ光と外光の中間の光に基づいて設定され、輝度比較関数L(x,y) が第2の基準値S2よりも小さい時、外光に基づいて設定される。
【0022】
図5において実線Cで示されるように、被写体に照射されるストロボ光量(ストロボ反射光量)は、被写体距離が短くなるほど大きくなり、また第1の基準値S1は第2の基準値よりも所定値だけ大きい値を有する。すなわち、例えば距離hにある被写体を考えると、この被写体に照射されるストロボ光量Chは第1の基準値S1よりも大きいので、この被写体に対応する画素におけるホワイトバランス調整はストロボ光に基づいて行われる。一方、背景部分(∞)に対応する画素は、ストロボ光量が0に等しく、S2よりも小さくなるので、ホワイトバランス調整は外光に基づいて行われる。
【0023】
さてステップ112では、輝度比較関数L(x,y) が第1の基準値S1よりも大きいか否かが判定される。輝度比較関数L(x,y) が第1の基準値S1よりも大きい時、ステップ113において、ストロボ光に基づいてホワイトバランス調整の係数が設定される。ステップ112において輝度比較関数L(x,y) が第1の基準値S1よりも小さいと判定された時、ステップ114において輝度比較関数L(x,y) が第2の基準値S2よりも小さいか否かが判定される。輝度比較関数L(x,y) が第2の基準値S2よりも小さい時、ステップ115において、外光に基づいてホワイトバランス調整の係数が設定される。輝度比較関数L(x,y) が第1の基準値S1と第2の基準値S2の間にある時、ステップ116において、ストロボ光と外光の中間の光に基づいてホワイトバランス調整の係数が設定される。
【0024】
ステップ117では、ステップ113、115または116において求められたホワイトバランス調整係数を用いて、ブロック番号Nのブロックについてホワイトバランス調整が行われ、色差信号BCb、BCrが生成される。ステップ118では、第2の輝度信号BYと色差信号BCb、BCrがデータ圧縮処理回路28に出力される。ステップ119では、各信号BY、BCb、BCrが圧縮処理され、記録媒体Mに記録される。
【0025】
ステップ120では、ブロック番号Nが1画像のブロック数n(例えば6200)に達したか否かが判定される。ブロック番号がブロック数nに達していない場合、ステップ121においてブロック番号Nが1だけインクリメントされ、ステップ110へ戻って上述した動作が繰り返される。これに対し、ステップ120においてブロック番号Nがブロック数nに達していると判定された場合、ステップ122において記録媒体Mへの書き込み禁止処理等の記録動作完了処理が行われ、この処理ルーチンは終了する。
【0026】
以上のように本実施例は、各ブロック毎に、ストロボ光が照射された場合と照射されない場合との比較を行い、ストロボ光の影響が大きいブロックについてはストロボ光に基づいてホワイトバランス調整を行い、ストロボ光の影響が小さいブロックについては外光に基づいてホワイトバランス調整を行うように構成されている。したがって、遠距離の被写体と近距離の被写体が混在した1つの画像に対してストロボ撮影を行う場合であっても、各ブロック毎に、しかも簡単な処理により短時間でホワイトバランス調整を行うことができる。
【0027】
また本実施例では、ホワイトバランス調整における単位ブロックの画素数はデータ圧縮処理回路28における画像圧縮の単位ブロックの画素数に一致しているので、データ処理の効率が高い。
【0028】
なお上記実施例では、各ブロック毎にホワイトバランス調整を行っていたが、いくつかのブロックに対して1つのホワイトバランス調整を行うようにしてもよい。
【0029】
また上記実施例では、ホワイトバランス調整を3段階に分けて行っていたが、基準値を1つとして2段階としたり、あるいは3段階以上に分けてもよい。
【0030】
【発明の効果】
以上のように本発明によれば、ストロボ撮影において、被写体距離に関係なく高精度にホワイトバランス調整を行うことができ、しかもその調整処理を短時間の間に行うことができる。
【図面の簡単な説明】
【図1】本発明の一実施例であるホワイトバランス調整装置を備えた電子スチルカメラのブロック図である。
【図2】8×8画素のブロックを示すである。
【図3】ホワイトバランス調整を示すフローチャートである。
【図4】輝度比較関数の値とホワイトバランス調整において基準にされる光との関係を示す図である。
【図5】被写体に照射されるストロボ光量と被写体距離の関係を示す図である。
【符号の説明】
13 CCD
16 ストロボ
21 第1の画像メモリ
22 第2の画像メモリ
26 ホワイトバランス調整回路
27 ホワイトバランスセンサ
[0001]
[Industrial applications]
The present invention relates to an electronic still camera, and more particularly to an improvement in a device for performing white balance adjustment.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in an electronic still camera, white balance adjustment is performed so that a white subject is photographed white regardless of the color temperature of illumination light. For example, when the color temperature of the illuminating light is high, the coefficient multiplied by the color difference signal Cb including the B signal is determined to be smaller than the coefficient multiplied by the color difference signal Cr including the R signal. The sensitivity is suppressed, and the subject image is prevented from becoming bluish.
[0003]
[Problems to be solved by the invention]
When performing flash photography, since the flash light travels at a limited distance, the color temperature of the subject relatively close to the camera body is close to that of the flash light, and the color temperature of the subject relatively far from the camera body is the external temperature. Close to that. Therefore, if white balance adjustment is performed based on the color temperature of the strobe light, white balance adjustment cannot be performed for a distant subject. Conversely, if white balance adjustment is performed based on the color temperature of external light, a white balance adjustment can be performed for a short-distance subject. There is a problem that the white balance cannot be adjusted.
[0004]
In view of the above problems, the present invention provides an apparatus capable of performing white balance adjustment with high accuracy regardless of the subject distance in flash photography, and performing the adjustment processing in a short time. It is intended to provide.
[0005]
[Means for Solving the Problems]
A white balance adjusting device according to the present invention includes: a means for determining an exposure condition in a state where a strobe is fired; a first memory for storing image data obtained without firing the strobe in the exposure condition; A second memory for storing image data obtained by emitting a strobe under an exposure condition and each image data stored in the first and second memories are read, and according to a result of comparing the luminance of the same pixel. And white balance adjustment means for performing white balance adjustment on the image data read from the second memory.
[0006]
【Example】
Hereinafter, the present invention will be described based on illustrated embodiments.
FIG. 1 is a block diagram of an electronic still camera provided with a white balance adjusting device according to one embodiment of the present invention.
[0007]
Light rays passing through the lens 11 and the aperture 12 are irradiated on a light receiving surface of a CCD (solid-state imaging device) 13, and a subject image is formed on the CCD 13. A large number of photoelectric conversion elements are provided on the light receiving surface of the CCD 12, and a color filter including, for example, R, G, and B color filter elements is provided on the upper surface of the photoelectric conversion element. Each photoelectric conversion element corresponds to one pixel data. The subject image is converted into an electric signal corresponding to a predetermined color by each photoelectric conversion element, and subjected to predetermined processing in a signal processing circuit 14 to generate image data including a luminance signal Y and color difference signals Cb and Cr. .
[0008]
Further, in the signal processing circuit 14, a photometric value is calculated based on the pixel data output from the CCD 13 before the photographing operation, and is input to the exposure strobe control circuit 15. The exposure strobe control circuit 15 determines the opening degree (aperture value) of the aperture 12 and the shutter speed, that is, the exposure condition, based on the photometric value, and controls the exposure control (charge accumulation control) and the light emission operation of the strobe 16. Done. In the present embodiment, under this exposure condition, the first exposure operation without the flash light emission operation and the second exposure operation with the flash light emission operation are performed.
[0009]
The image data output from the signal processing circuit 14 is converted into a digital signal in the A / D converter 17 and input to the first image memory 21 or the second image memory 22. The first image memory 21 stores image data (first luminance signal Y 1 ) obtained by the first exposure operation in which the strobe 16 does not emit light, and the second image memory 22 stores the strobe 16. The image data (second luminance signal Y 2 , color difference signals Cb 2 , Cr 2 ) obtained by the second exposure operation for emitting light is stored. For the second image memory 22 stores each luminance signal Y 2 and the color difference signals Cb 2, Cr 2 a, is divided into separate memory areas mutually, each memory area have a storage capacity of one image are doing.
[0010]
First luminance signal Y 1 read out from the first image memory 21, the raster / in block conversion circuit 23 is a raster / block conversion, one image pixel data into blocks of N 8 × 8 pixels Divided. That is, when the number of pixels of one image is about 400,000, N is about 6,200. First luminance signal BY 1 which is divided into blocks is input to the luminance comparison circuit 24.
[0011]
The second luminance signal Y 2 and the color difference signals Cb 2 and Cr 2 read from the second image memory 22 are subjected to raster / block conversion in a raster / block conversion circuit 25. Second luminance signals BY 2 that is divided into blocks is inputted to the luminance comparing circuit 24, the color difference signals are divided into blocks BCb 2, BCr 2 is inputted to the white balance adjustment circuit 26, respectively. Although only one raster / block conversion circuit 25 is shown in the figure, it is actually provided for each signal.
[0012]
FIG. 2 shows a block of 8 × 8 pixels. The parameter x indicates the horizontal position of the pixel, and the parameter y indicates the vertical position of the pixel. Each of the parameters x and y takes a value in the range of 0 to 7. For example, the luminance signal of the pixel at the fourth position from the left end and at the fifth position from the upper end is represented by BY n (3, 4). The coordinates (x, y) are relative coordinates defined for each block.
[0013]
In the luminance comparison circuit 24, the first and second luminance signals BY 1 and BY 2 are compared, and a luminance comparison function L (x, y) is obtained according to the following equation (1).
L (x, y) = BY 2 (x, y) −BY 1 (x, y) (1)
That is, the luminance comparison function L (x, y) is the difference between the luminance signals BY 1 and BY 2 of the same pixel, and is obtained for the representative pixel (for example, (3, 4) pixel) for each block. Note that this representative pixel is assumed to be a pixel indicating the average luminance value of the block, but need not be located near the center of the block.
[0014]
In the CCD light receiving pixel in the pixel which receives the reflected light of the flash light by the object having a substantially larger value than the luminance signal BY 1 towards the first second luminance signals BY 2, strobe light There the pixel of the subject is not irradiated, the second luminance signal bY 2 has a first substantially the same value as the luminance signal bY 1 in. Therefore, in this embodiment, when the value of the luminance comparison function L (x, y) is larger than a predetermined reference level, the white balance is adjusted based on the strobe light, and the value of the luminance comparison function L (x, y) is set to the reference value. When the level is lower than the level, the white balance is adjusted based on external light. This reference level has a value in a predetermined range, and when the value of the luminance comparison function L (x, y) is within the range, white balance adjustment is performed based on light intermediate between strobe light and external light. Done.
[0015]
In the luminance comparison circuit 24, the value of the luminance comparison function L (x, y) of the representative pixel is obtained in all the blocks. In the white balance adjustment circuit 26, each block is calculated based on the luminance comparison function L (x, y). White balance adjustment is performed every time. That is, the coefficients Ab and Ar according to the luminance comparison function L (x, y) are multiplied by the color difference signals BCb 2 and BCr 2 , respectively, to obtain the color difference signals BCb 3 and BCr 3 whose white balance has been adjusted.
[0016]
Since the color temperature of the strobe light is constant, the coefficient of the white balance adjustment based on the strobe light is a constant and is stored in the white balance adjustment circuit 26 in advance. On the other hand, since the color temperature of the external light changes according to the shooting conditions, the coefficient of the white balance adjustment based on the external light is based on the signal obtained from the white balance sensor 27 provided on the outer surface of the camera body. Thus, it is generated in the white balance adjustment circuit 26.
[0017]
The color difference signals BCb 3 and BCr 3 output from the white balance adjustment circuit 26 and the second luminance signal BY 2 output from the luminance comparison circuit 24 are output from the data compression processing circuit 28 in accordance with, for example, the JPEG algorithm. Processing such as discrete cosine transform, quantization, and Huffman coding is performed, and compression processing is performed. The compressed image signals (D Y , D Cb , D Cr ) are recorded on an IC memory card (recording medium) M.
[0018]
FIG. 3 is a flowchart showing a processing routine for white balance adjustment in the present embodiment.
In step 101, white balance information of external light is obtained based on a signal obtained by the white balance sensor 27. In step 102, the exposure strobe control circuit 15 determines an appropriate aperture value and shutter speed when the strobe 16 is used, that is, exposure conditions, based on the photometric value input from the signal processing circuit 14. Next, when it is determined in step 103 that the release switch (not shown) is not set to the ON state, the process returns to step 101. However, when the release switch is switched to the ON state, the photographing operation is performed in step 104 and subsequent steps. , The compressed data of the image is recorded on the recording medium M.
[0019]
In step 104, shooting (first exposure operation) is performed with the strobe 16 not emitting light under the above-described exposure conditions. The electric signal generated in the CCD 13 by this photographing is converted into a first luminance signal Y 1 (image data) in the signal processing circuit 14, and the first luminance signal Y 1 is stored in the first image memory 21 in step 105. Is done. In step 106, shooting (first exposure operation) is performed with the strobe 16 emitting light, and a second luminance signal Y 2 , color difference signals Cb 2 , and Cr 2 (image data) are obtained. These image data are stored in the second image memory 22 in step 107.
[0020]
In step 108, the first luminance signal Y 1 is read from the first image memory 21 and subjected to raster / block conversion in the raster / block conversion circuit 23. Similarly, the second luminance signal Y 2 and the color difference signals Cb 2 and Cr 2 are read from the second image memory 22 and are raster / block converted by the raster / block conversion circuit 25. In step 109, the block number N is set to 1. In step 110, the luminance signals BY 1 (x, y) and BY 2 (x, y) of the representative pixel (x, y) of the block with the block number N are read from the first and second image memories 21 and 22. . In step 111, the first and second luminance signals BY 1 (x, y) are output from the luminance comparing circuit 24. , BY 2 (x, y), that is, the luminance comparison function L (x, y) is calculated according to the above equation (1).
[0021]
In steps 112 to 117, a coefficient for white balance adjustment is set according to the value of the luminance comparison function L (x, y). FIG. 4 shows the relationship between the value of the luminance comparison function L (x, y) and light used as a reference in white balance adjustment. As understood from this figure, the white balance adjustment coefficient is set based on the strobe light when the brightness comparison function L (x, y) is larger than the first reference value S1. When the brightness comparison function L (x, y) is between the first reference value S1 and the second reference value S2, the white balance adjustment coefficient is set based on the intermediate light between the strobe light and the external light. When the brightness comparison function L (x, y) is smaller than the second reference value S2, the brightness comparison function is set based on external light.
[0022]
As shown by a solid line C in FIG. 5, the amount of strobe light (the amount of reflected strobe light) applied to the subject increases as the subject distance decreases, and the first reference value S1 is a predetermined value greater than the second reference value. Only have larger values. That is, for example, when a subject located at a distance h is considered, the amount of strobe light Ch applied to the subject is larger than the first reference value S1, so that the white balance adjustment of the pixel corresponding to the subject is performed based on the strobe light. Is On the other hand, the pixel corresponding to the background portion (∞) has a strobe light amount equal to 0 and smaller than S2, so that the white balance adjustment is performed based on external light.
[0023]
In step 112, it is determined whether the brightness comparison function L (x, y) is larger than the first reference value S1. When the brightness comparison function L (x, y) is larger than the first reference value S1, in step 113, a white balance adjustment coefficient is set based on the strobe light. When it is determined in step 112 that the brightness comparison function L (x, y) is smaller than the first reference value S1, in step 114, the brightness comparison function L (x, y) is smaller than the second reference value S2. It is determined whether or not. When the brightness comparison function L (x, y) is smaller than the second reference value S2, in step 115, a white balance adjustment coefficient is set based on external light. When the brightness comparison function L (x, y) is between the first reference value S1 and the second reference value S2, in step 116, the coefficient of white balance adjustment is performed based on light intermediate between strobe light and external light. Is set.
[0024]
In step 117, the white balance adjustment is performed for the block with the block number N using the white balance adjustment coefficient obtained in step 113, 115 or 116, and the color difference signals BCb 3 and BCr 3 are generated. In step 118, the second luminance signal BY 2 and the color difference signals BCb 3 and BCr 3 are output to the data compression processing circuit 28. In step 119, the signals BY 2 , BCb 3 , and BCr 3 are subjected to compression processing and recorded on the recording medium M.
[0025]
In step 120, it is determined whether or not the block number N has reached the number n of blocks of one image (for example, 6200). If the block number has not reached the block number n, the block number N is incremented by 1 in step 121, and the process returns to step 110 and the above-described operation is repeated. On the other hand, if it is determined in step 120 that the block number N has reached the number of blocks n, a recording operation completion process such as a write prohibition process on the recording medium M is performed in step 122, and this processing routine ends. I do.
[0026]
As described above, in this embodiment, for each block, a comparison is made between the case where the strobe light is irradiated and the case where the strobe light is not irradiated, and the white balance adjustment based on the strobe light is performed for the block where the influence of the strobe light is large. The white balance adjustment is performed based on the external light for the blocks that are less affected by the strobe light. Therefore, even when flash photography is performed on one image in which a long-distance subject and a short-distance subject are mixed, white balance adjustment can be performed for each block in a short time by simple processing. it can.
[0027]
Further, in this embodiment, the number of pixels of the unit block in the white balance adjustment is equal to the number of pixels of the unit block of the image compression in the data compression processing circuit 28, so that the efficiency of the data processing is high.
[0028]
In the above embodiment, the white balance adjustment is performed for each block. However, one white balance adjustment may be performed for some blocks.
[0029]
Further, in the above-described embodiment, the white balance adjustment is performed in three steps, but may be performed in two steps with one reference value, or may be performed in three or more steps.
[0030]
【The invention's effect】
As described above, according to the present invention, in flash photography, white balance adjustment can be performed with high accuracy regardless of the subject distance, and the adjustment processing can be performed in a short time.
[Brief description of the drawings]
FIG. 1 is a block diagram of an electronic still camera including a white balance adjustment device according to an embodiment of the present invention.
FIG. 2 shows a block of 8 × 8 pixels.
FIG. 3 is a flowchart illustrating white balance adjustment.
FIG. 4 is a diagram illustrating a relationship between a value of a luminance comparison function and light used as a reference in white balance adjustment.
FIG. 5 is a diagram showing the relationship between the amount of strobe light applied to a subject and the subject distance.
[Explanation of symbols]
13 CCD
16 Strobe 21 First image memory 22 Second image memory 26 White balance adjustment circuit 27 White balance sensor

Claims (5)

ストロボを発光させた状態における露出条件を決定する手段と、前記露出条件においてストロボを発光させずに得られた画像データを格納する第1のメモリと、前記露出条件においてストロボを発光させて得られた画像データを格納する第2のメモリと、前記第1および第2のメモリに格納された各画像データを読み出し、同一画素の輝度を比較した結果に応じて、前記第2のメモリから読み出された画像データにホワイトバランス調整を施すホワイトバランス調整手段とを備えたことを特徴とするホワイトバランス調整装置。Means for determining an exposure condition in a state in which the strobe is fired, a first memory for storing image data obtained without the strobe being fired in the exposure condition; A second memory for storing the read image data and each image data stored in the first and second memories, and reading out the second memory according to the result of comparing the luminance of the same pixel. A white balance adjustment unit for performing white balance adjustment on the image data obtained. 前記ホワイトバランス調整手段は、第1のメモリから読み出された輝度と第2のメモリから読み出された輝度との差が、基準レベルよりも大きい時、ストロボ光に基づいてホワイトバランス調整し、前記輝度の差が、基準レベルよりも小さい時、外光に基づいてホワイトバランス調整することを特徴とする請求項1に記載のホワイトバランス調整装置。The white balance adjusting means adjusts white balance based on strobe light when a difference between the luminance read from the first memory and the luminance read from the second memory is larger than a reference level, The white balance adjustment device according to claim 1, wherein when the difference in luminance is smaller than a reference level, white balance adjustment is performed based on external light. 前記基準レベルは、所定の範囲の値を有し、前記ホワイトバランス調整手段は、前記輝度の差が前記所定の範囲にある時、ストロボ光と外光の中間の光に基づいてホワイトバランス調整することを特徴とする請求項2の記載のホワイトバランス調整装置。The reference level has a value within a predetermined range, and the white balance adjustment means adjusts white balance based on light intermediate between strobe light and external light when the difference in luminance is within the predetermined range. 3. The white balance adjusting device according to claim 2, wherein: 前記ホワイトバランス調整手段は、前記第1および第2のメモリに格納された各画像データを、所定の画素数からなる単位ブロック毎に読み出し、各ブロックについて、対応する位置の画素の輝度を比較した結果に応じて、前記第2のメモリから読み出された画像データにホワイトバランス調整を施すことを特徴とする請求項1に記載のホワイトバランス調整装置。The white balance adjustment unit reads out each image data stored in the first and second memories for each unit block having a predetermined number of pixels, and compares the luminance of pixels at corresponding positions for each block. The white balance adjustment device according to claim 1, wherein white balance adjustment is performed on the image data read from the second memory according to a result. 画像圧縮処理回路を備え、前記単位ブロックの画素数が前記画像圧縮処理回路により実行される画像圧縮処理の単位ブロックの画素数と一致することを特徴とする請求項4に記載のホワイトバランス調整装置。The white balance adjusting device according to claim 4, further comprising an image compression processing circuit, wherein the number of pixels of the unit block is equal to the number of pixels of the unit block of the image compression processing performed by the image compression processing circuit. .
JP15260095A 1994-05-31 1995-05-26 White balance adjustment device Expired - Lifetime JP3569352B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15260095A JP3569352B2 (en) 1994-05-31 1995-05-26 White balance adjustment device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP6-140866 1994-05-31
JP14086694 1994-05-31
JP15260095A JP3569352B2 (en) 1994-05-31 1995-05-26 White balance adjustment device

Publications (2)

Publication Number Publication Date
JPH0851632A JPH0851632A (en) 1996-02-20
JP3569352B2 true JP3569352B2 (en) 2004-09-22

Family

ID=26473254

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15260095A Expired - Lifetime JP3569352B2 (en) 1994-05-31 1995-05-26 White balance adjustment device

Country Status (1)

Country Link
JP (1) JP3569352B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9025047B2 (en) 2012-12-13 2015-05-05 Samsung Electronics Co., Ltd. Photographing apparatus and method
EP2426927B1 (en) * 2010-09-02 2019-05-22 Canon Kabushiki Kaisha Image processing apparatus, image processing method and computer program

Families Citing this family (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3903094B2 (en) * 2002-01-29 2007-04-11 富士フイルム株式会社 White balance control method and digital camera
US7602969B2 (en) 2002-07-18 2009-10-13 Sony Corporation Imaging data processing method, imaging data processing device, and computer program
JP4324404B2 (en) 2003-04-22 2009-09-02 富士フイルム株式会社 Solid-state imaging device and digital camera
JP3838243B2 (en) 2003-09-04 2006-10-25 ソニー株式会社 Image processing method, image processing apparatus, and computer program
US7423674B2 (en) 2003-12-08 2008-09-09 Nikon Corporation Electronic camera having color adjustment function and program therefor
KR101014662B1 (en) * 2004-01-14 2011-02-16 삼성전자주식회사 How to set and apply preset white balance data on a digital recording device
JP4379129B2 (en) * 2004-01-23 2009-12-09 ソニー株式会社 Image processing method, image processing apparatus, and computer program
JP2006019929A (en) * 2004-06-30 2006-01-19 Canon Inc IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
US8149291B2 (en) 2004-05-21 2012-04-03 Canon Kabushiki Kaisha Image capture apparatus, control method thereof, program, and storage medium
CN100365473C (en) * 2004-06-07 2008-01-30 南京Lg新港显示有限公司 Apparatus for regulating contrast of liquid crystal displaying method and regulating method thereof
US7457477B2 (en) * 2004-07-06 2008-11-25 Microsoft Corporation Digital photography with flash/no flash extension
US7652717B2 (en) * 2005-01-11 2010-01-26 Eastman Kodak Company White balance correction in digital camera images
JP4735039B2 (en) * 2005-05-18 2011-07-27 カシオ計算機株式会社 White balance adjusting device, white balance adjusting method and program
JP4635828B2 (en) * 2005-11-07 2011-02-23 コニカミノルタホールディングス株式会社 Imaging apparatus, image processing apparatus, image processing method, and image processing program
JP4832899B2 (en) * 2006-01-05 2011-12-07 イーストマン コダック カンパニー Gain calculation device
JP5220054B2 (en) * 2006-02-10 2013-06-26 富士フイルム株式会社 Digital camera
JP4716182B2 (en) * 2006-05-16 2011-07-06 富士フイルム株式会社 Imaging apparatus and imaging control program
JP4761066B2 (en) * 2006-09-22 2011-08-31 富士フイルム株式会社 White balance correction method and imaging apparatus
US8040391B2 (en) 2007-08-06 2011-10-18 Panasonic Corporation White balance adjustment device, image capture device, white balance adjustment method, storage medium, and integrated circuit
JP4525717B2 (en) * 2007-08-22 2010-08-18 カシオ計算機株式会社 Electronic camera device and strobe color correction method
JP5169318B2 (en) * 2007-09-18 2013-03-27 株式会社リコー Imaging apparatus and imaging method
JP5108093B2 (en) 2008-05-14 2012-12-26 パナソニック株式会社 Imaging apparatus and imaging method
JP2010068064A (en) * 2008-09-09 2010-03-25 Ricoh Co Ltd Imaging device and imaging method
KR101589493B1 (en) * 2009-02-24 2016-01-28 삼성전자주식회사 White ballance control method and apparatus using a flash and digital photographing apparatus using thereof
JP4528349B2 (en) * 2009-06-25 2010-08-18 オリンパス株式会社 Imaging device
JP5988093B2 (en) * 2012-07-30 2016-09-07 株式会社豊田中央研究所 Image processing apparatus, object identification apparatus, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2426927B1 (en) * 2010-09-02 2019-05-22 Canon Kabushiki Kaisha Image processing apparatus, image processing method and computer program
US9025047B2 (en) 2012-12-13 2015-05-05 Samsung Electronics Co., Ltd. Photographing apparatus and method

Also Published As

Publication number Publication date
JPH0851632A (en) 1996-02-20

Similar Documents

Publication Publication Date Title
JP3569352B2 (en) White balance adjustment device
US5568194A (en) Adjusting a white balance in a camera using a flash
US7176962B2 (en) Digital camera and digital processing system for correcting motion blur using spatial frequency
US7623727B2 (en) Image binarization apparatus, image binarization method, image pickup apparatus, image pickup method, and a computer product
CN100594736C (en) Image capture apparatus and control method thereof
US7009641B2 (en) Electronic camera with gain adjustment
US20030081141A1 (en) Brightness adjustment method
JP2014033276A (en) Image processing device, image processing method and program
JP4129338B2 (en) Color imaging device and imaging apparatus
JPH11113018A (en) Image pickup device
JP3427820B2 (en) Compression encoding method, recording medium recording compression encoding program, and electronic camera for implementing compression encoding method
KR20090095920A (en) Apparatus for Photographing Digital Images, Method of Controlling Exposure, Method of Photographing Digital Images, and Computer Readable Recording Medium Storing Program for the Same Method of Photographing
JP2005167476A (en) White balance control apparatus
JP4626432B2 (en) Color discriminating method and apparatus in imaging apparatus and exposure control method of imaging apparatus
JP4178046B2 (en) Digital camera
JP3358584B2 (en) 3D information input camera
JP3563508B2 (en) Automatic focusing device
JP4765240B2 (en) Compression encoding method, recording medium storing a compression encoding program, and electronic camera for implementing the compression encoding method
JP3275873B2 (en) 3D information input camera
EP0998130A2 (en) Digital camera and image processing method
JP3643201B2 (en) Digital camera
JP3269484B2 (en) 3D information input camera
Allen et al. Digital cameras and scanners
JP3631575B2 (en) Digital camera
JPH10210287A (en) Digital camera

Legal Events

Date Code Title Description
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: 20040602

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040618

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080625

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090625

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100625

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100625

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110625

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120625

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120625

Year of fee payment: 8

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20120625

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20120625

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120625

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130625

Year of fee payment: 9

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term