JP2004088602A - Method and apparatus for determining fluorescent lamp light source - Google Patents

Method and apparatus for determining fluorescent lamp light source Download PDF

Info

Publication number
JP2004088602A
JP2004088602A JP2002249027A JP2002249027A JP2004088602A JP 2004088602 A JP2004088602 A JP 2004088602A JP 2002249027 A JP2002249027 A JP 2002249027A JP 2002249027 A JP2002249027 A JP 2002249027A JP 2004088602 A JP2004088602 A JP 2004088602A
Authority
JP
Japan
Prior art keywords
light source
fluorescent lamp
exposure amount
image
illumination light
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.)
Withdrawn
Application number
JP2002249027A
Other languages
Japanese (ja)
Inventor
Makoto Yamada
山田 誠
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2002249027A priority Critical patent/JP2004088602A/en
Publication of JP2004088602A publication Critical patent/JP2004088602A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Exposure Control For Cameras (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)
  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To determine whether a light source which illuminates an object is a fluorescent lamp or not. <P>SOLUTION: In the fluorescent lamp light source determining method, when photographing the object while illuminating it with an illumination light source, an image photographed by absorbing light in a predetermined bright line area out of light from the object and an image photographed without absorbing the light of the predetermined bright line area are acquired, an exposure difference is calculated for each pixel of each image and by using the exposure difference for each pixel, it is determined whether the illumination source is a fluorescent lamp or not. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、被写体を照明している光源の種類を判別する光源種判別方法の技術分野に属し、特に、光源が蛍光灯であるか否かを判定する蛍光灯光源判定方法及び装置に関する。
【0002】
【従来の技術】
写真やビデオ画像の色再現においては、被写体を照明している光源の色が再現画像の色再現に大きな影響を与えている。例えば、タングステンランプで照明された被写体から来る光は、多くの赤味を含んでおり、タングステンランプで照明された被写体を撮影した画像を、通常の昼光下で撮影した画像と同じ手法で再現した場合には、非常に赤味がかった画像となってしまう。すなわち、被写体から来る光が実際には変わっているにもかかわらず、照明光源の光質を一定として再現すると、照明光源の色味が直接再現画像に反映されてしまい、人間の目には不自然に見えてしまう。
【0003】
このように、ある照明光源の下で、被写体をカメラ等で撮影する場合に、その被写体がどのような光源で照明されているかによって、取得される画像の色情報が大きく異なることがある。照明光源の色温度が異なる場合はもちろんであるが、照明光源の色温度がほぼ等しい場合でも、ある種の蛍光灯と特定の銀塩感光材料を組み合わせた場合に、通常のデイライト下で撮影された場合とは色バランスが異なってしまうことがある。
【0004】
このことから、被写体の撮影をする際に、被写体がどのような光源で照明されているかを、予め知っておくことで、後の色バランス調整時に非常に役立つことがある。このような観点から、従来、照明光源の色を推定する方法がいろいろ提案されている。
【0005】
【発明が解決しようとする課題】
しかしながら、従来の照明光源の色を推定する方法の多くは、照明光源の色温度を推定するものであり、これでは、色温度が等しい場合の照明種の判別を行うことはできないという問題があった。
一方で、特に蛍光灯は、いわゆるデイライトに対して分光分布特性が大きく異なり、いくつかの銀塩感光材料やCCDセンサ等との組み合わせでは色が異なって取得されることから、蛍光灯と蛍光灯以外の光源とを分離することが強く望まれていた。
【0006】
本発明は、前記従来の問題に鑑みてなされたものであり、被写体を照明している光源が、蛍光灯であるかそうでないかを判別することのできる蛍光灯光源判定方法及び装置を提供することを課題とする。
【0007】
【課題を解決するための手段】
前記課題を解決するために、本発明の第一の態様は、照明光源で被写体を照明して撮影する際、前記被写体からの光のうち、所定の輝線領域の光を吸収して撮影された画像と、前記所定の輝線領域の光を吸収せずに撮影された画像とを取得し、前記各画像の各画素毎の露光量差を算出し、前記各画素毎の露光量差を用いて前記照明光源が蛍光灯であるか否かを判定することを特徴とする蛍光灯光源判定方法を提供する。
【0008】
また、前記各画素毎の露光量差の平均値が所定の閾値を超える場合に、前記照明光源が蛍光灯であると判定し、かつ、前記各画素毎の露光量差の平均値が所定の閾値を超えない場合に、前記照明光源が蛍光灯ではないと判定することが好ましい。
【0009】
また、同様に前記課題を解決するために、本発明の第二の態様は、照明光源で被写体を照明して撮影する際、前記被写体からの光のうち、所定の輝線領域の光を吸収して撮影された画像及び前記所定の輝線領域の光を吸収せずに撮影された画像とを取得する手段と、前記各画像の各画素毎の露光量差を算出する手段と、前記露光量差から前記照明光源が蛍光灯であるか否かを判定する光源判定手段と、を有することを特徴とする蛍光灯光源判定装置を提供する。
【0010】
また、前記光源判定手段は、前記各画素毎の露光量差の平均値を算出する手段と、該平均値を所定の閾値と比較する手段とを備え、前記平均値が前記閾値を超える場合に、前記照明光源は蛍光灯であると判定し、かつ、前記平均値が前記閾値を超えない場合には、前記照明光源は蛍光灯ではないと判定することが好ましい。
【0011】
【発明の実施の形態】
以下、本発明の蛍光灯光源判定方法及び装置について、添付の図面に示される好適実施形態を基に詳細に説明する。
【0012】
図1は、本発明に係る蛍光灯光源判定方法を実行する蛍光灯光源判定装置の概略構成を示すブロック図である。
図1に示すように、蛍光灯光源判定装置10は、照明光源2によって照明された被写体4を撮像手段6によって撮像して得られた画像データから、前記照明光源2の光源種を判定するものであり、露光量算出手段12、露光量差算出手段14及び光源種判定手段16から成る。
また、光源種判定手段16は、平均露光量差算出手段18及び比較手段20を有して構成されている。
【0013】
照明光源2としては、本発明の蛍光灯光源判定装置10により、その光源種(特に、蛍光灯であるか否か)が判定されるものであり、後述するように各種の蛍光灯やタングステンランプあるいはデイライト等の蛍光灯以外の各種の光源が用いられる。
被写体4も特に限定はされないが、光源種判定のためには、色のはっきりしたカラーチャート等を用いることが好ましい。
【0014】
撮影手段6及び蛍光灯光源判定装置10を構成する各手段の説明をする前に、本発明の蛍光灯光源判定方法の原理について説明する。
図2に一般型蛍光灯の分光分布を、また、図3に3波長型蛍光灯の分光分布をそれぞれ示す。図2及び図3からわかるように、一般型蛍光灯も3波長型蛍光灯も、ともに波長が430あるいは545付近という同じ領域に輝線を有している。また、図4に、デイライト及び蛍光灯の分光分布に対し、主成分分析を適用した結果得られた第一主成分の波形を示す。
【0015】
図4と、図2及び図3を比較すると、図4に示す第一主成分の波形の凹んだ部分が、蛍光灯の輝線部分に相当することがわかる。
これから、このような図4の波形の凹み、あるいは図2(あるいは図3)の波形の山を有することが、蛍光灯の特徴であると言える。従って、本発明の方法は、このような蛍光灯の分光分布波形に特有の輝線に相当する山が存在するか否かで、蛍光灯か否かを判定しようというものである。
【0016】
すなわち、本発明の方法は、被写体からの光のうち、蛍光灯が輝線を有する領域の光を吸収して(その吸収された後の光で)撮影された画像と、前記蛍光灯が輝線を有する領域の光を吸収せずに(その波長領域の光を含んだ光で)撮影された画像とを得て、各画像の露光量差から前記輝線部分に相当する山の存在を判定することにより、照明光源が蛍光灯であるか否か判定するものである。
【0017】
このため、例えば、波長が545付近の輝線部分を検出しようとする場合には、この波長領域に吸収を有するフィルタをカメラの前に装着して撮影するとともに、このフィルタを装着しないで(あるいは、この波長領域に吸収を持たないフィルタを装着して)2つの画像を撮影するようにすればよい。これにより、波長545付近の輝線領域の光を吸収して撮影した画像と、吸収しないで撮影した画像とを得ることができる。
【0018】
また、このように特定の波長領域にのみ吸収を有するフィルタがない場合には、例えば図5に示すように、破線で示す略波長550以下の光を吸収(カット)するフィルタと、少し帯域のずれた、実線で示すような略波長530以下の光を吸収するフィルタとを用いて、それぞれ撮影し、得られた画像において各露光量を算出してその差をとるようにしてもよい。
【0019】
あるいは、図5に示すような2枚のフィルタを組み合わせて1枚のフィルタとして用いてもよい。
また、図3のような3波長型蛍光灯の3つの輝線部分のそれぞれに吸収を持つような1つのフィルタがあれば、それを用いて3つの輝線部分を同時に検出することもできる。
【0020】
以上説明したように、撮像手段6は、被写体4からの光のうち、蛍光灯が輝線を有する領域の光を吸収して撮影された画像と、前記蛍光灯が輝線を有する領域の光を吸収せずに撮影された画像とを得ることのできるものである必要がある。
例えば、撮像手段6としては、CCDカメラの前に蛍光灯の輝線領域に吸収を持つフィルタを取り付けたもの、及びこの輝線領域に吸収を持たないフィルタを取り付けたものが好適に例示される。このフィルタは取り外し自在とし、種類の異なるフィルタに交換して撮影したり、あるいはフィルタを取り外してフィルタなしで撮影することができるようにすれば、1つのカメラで複数枚の画像を撮影することができる。
また、このようなフィルタを使わずに、撮像手段6として、異なる波長領域に感度を有する複数のCCDセンサを用いるようにしてもよい。
【0021】
露光量算出手段12は、撮像手段6から、被写体4からの光のうち、蛍光灯が輝線を有する領域の光を吸収して撮影された画像と、前記蛍光灯が輝線を有する領域の光を吸収せずに撮影された画像とを受け取り、各画像の各画素の値から露光量を算出するものである。
また、露光量差算出手段14は、各画像の各画素毎の露光量の差を算出するものである。
【0022】
また、光源種判定手段16を構成する平均露光量差算出手段18は、上でもとめた各画素毎の露光量差をその画像の画素全体について足し合わせ、露光量差の総和を算出し、さらに、それを全画素数で除算して、平均露光量差を算出するものである。
また、光源種判定手段16を構成する比較手段20は、上で算出した平均露光量差を所定の閾値と比較するものであり、この比較の結果、平均露光量差が前記閾値を超えた場合には、照明光源2は蛍光灯であると判定し、前記閾値を超えない場合には、照明光源2は蛍光灯ではないと判定する。
【0023】
以下、本実施形態の作用を、図6のフローチャートに沿って説明する。
まず、図6のステップ100において、照明光源2で被写体4を照明し、特定の輝線領域(蛍光灯の輝線領域)に吸収を有するフィルタを装着した撮像手段6で画像を撮影するとともに、前記輝線領域に吸収を持たないフィルタを装着した(あるいはフィルタを装着しない)CCDカメラ等の撮像手段6で画像を撮影し、2種類の画像を取得する。撮像手段6で撮影した画像は蛍光灯光源判定装置10の露光量算出手段12に送られる。
【0024】
次に、ステップ110で、露光量算出手段12において各画像について、各画素の値から各画素毎の露光量を算出する。
次に、ステップ120で、露光量差算出手段14において各画素毎の露光量差を算出する。
【0025】
次に、ステップ130で、平均露光量差算出手段18において画像を構成する画素全体について各画素毎の露光量差を足し合わせてその総和を算出し、それを全画素数で除算し、1画素あたりの平均露光量差を算出する。
次に、ステップ140で、比較手段20において上で求めた1画素あたりの平均露光量差を所定の閾値と比較する。
そして、比較の結果、平均露光量差が前記閾値を超えた場合には、ステップ150において、前記照明光源2は蛍光灯であると判定し、また平均露光量差が前記閾値を超えない場合には、ステップ160において、前記照明光源2は蛍光灯ではないと判定する。
【0026】
このように、本実施形態によれば、例えばある輝線領域に吸収を持つようなフィルタを用いて撮影した画像データを基にして、照明光源が蛍光灯であるか否か、判定することが可能となる。また、この光源種に関する情報を後の画像処理ユニットに伝達することにより、その後、適切な色処理を画像に施すことが可能となる。
【0027】
以下、より具体的な実施例について説明する。
(実施例)
撮像手段6として、モノクロCCDカメラ(DALSA社製、CA−DA−1024A)にKodak社製ラッテンフィルタNo.16またはNo.21を装着したものを用い、被写体4として、GretagMacbeth社製Color Checkerを用い、後述するような各種照明光源の下で撮影した。
なお、上記ラッテンフィルタの分光分布は図5に示すようなものであり、実線のグラフがNo.16に対応し、破線のグラフがNo.21に対応している。
【0028】
また、各フィルタを用いた際の露光量は、色温度5500Kのデイライト下で同一の露光量が得られるように予め調整をしておいた。
撮影した画像の各画像信号G(0〜255の8ビット信号)を、次の式(1)により露光量gに変換した。
g=[{(G/255.0)+0.099}/1.099]1/0.45・・・(1)
【0029】
その後、ラッテンフィルタNo.16を用いて撮影した画像と、ラッテンフィルタNo.21を用いて撮影した画像の各画素の露光量gの差分値を計算し、それをすべての画素について加算して、全画素数で除算し、1画素あたりの平均値を求め、これをΔgmとした。
照明光源として、9種類の蛍光灯A〜I及び4種類の非蛍光灯(タングステンランプ、日向、明るい日陰、ストロボ)を用いて、上記Δgmを求めた。
【0030】
その結果を図7に示す。図7からわかるように、蛍光灯A〜Iについては、Δgmは、いずれも正の値となったが、非蛍光灯については、Δgmはいずれも負の値となっており、はっきりと蛍光灯と非蛍光灯との差が出ている。
従ってこの場合には、閾値として0をとることにより、蛍光灯か否かを判定することができた。
【0031】
以上、本発明の蛍光灯光源判定方法及び装置について、詳細に説明したが、本発明は、以上の実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において、各種の改良や変更を行ってもよいのはもちろんである。
【0032】
【発明の効果】
以上、説明した通り、本発明によれば、照明光源により照明された被写体からの光のうち、蛍光灯が輝線を有する領域の光を吸収して撮影された画像と、前記蛍光灯が輝線を有する領域の光を吸収せずに撮影された画像の画像データを基にして、その露光量差から照明光源が蛍光灯であるか否かを判定することが可能となる。
【図面の簡単な説明】
【図1】本発明に係る蛍光灯光源判定方法を実行する蛍光灯光源判定装置の概略構成を示すブロック図である。
【図2】一般型蛍光灯の分光分布を示す線図である。
【図3】3波長型蛍光灯の分光分布を示す線図である。
【図4】デイライト及び蛍光灯の分光分布に主成分分析を適用して得た第一主成分を示す線図である。
【図5】吸収波長帯域の異なるフィルタの分光透過率を示す線図である。
【図6】本実施形態の作用を示すフローチャートである。
【図7】本発明の具体的な実施例において算出された各種光源に対する平均露光量差を示す説明図である。
【符号の説明】
2  照明光源
4  被写体
6  撮像手段
10 蛍光灯光源判定装置
12 露光量算出手段
14 露光量差算出手段
16 光源種判定手段
18 平均露光量差算出手段
20 比較手段
[0001]
BACKGROUND OF THE INVENTION
The present invention belongs to the technical field of a light source type discrimination method for discriminating the type of a light source illuminating a subject, and particularly relates to a fluorescent lamp light source determination method and apparatus for determining whether a light source is a fluorescent lamp.
[0002]
[Prior art]
In color reproduction of photographs and video images, the color of the light source illuminating the subject has a great influence on the color reproduction of the reproduced image. For example, the light coming from a subject illuminated with a tungsten lamp contains a lot of redness, and an image of the subject illuminated with a tungsten lamp is reproduced in the same way as an image taken under normal daylight. In this case, the image becomes very reddish. In other words, even if the light coming from the subject has actually changed, if the light quality of the illumination light source is reproduced at a constant level, the color of the illumination light source is directly reflected in the reproduced image, which is inconvenient for the human eye. It looks natural.
[0003]
Thus, when a subject is photographed with a camera or the like under a certain illumination light source, the color information of the acquired image may differ greatly depending on what light source the subject is illuminated with. Of course, when the color temperature of the illumination light source is different, even when the color temperature of the illumination light source is almost the same, shooting under normal daylight when a certain type of fluorescent lamp and a specific silver halide photosensitive material are combined The color balance may be different from the case where it is done.
[0004]
For this reason, when photographing a subject, knowing in advance what light source the subject is illuminated with may be very useful in the subsequent color balance adjustment. From such a viewpoint, various methods for estimating the color of the illumination light source have been proposed.
[0005]
[Problems to be solved by the invention]
However, many of the conventional methods for estimating the color of the illumination light source estimate the color temperature of the illumination light source, and this has the problem that the illumination type cannot be determined when the color temperatures are equal. It was.
On the other hand, fluorescent lamps, in particular, have a spectral distribution characteristic that is significantly different from that of so-called daylight, and they are obtained in different colors when combined with some silver salt photosensitive materials and CCD sensors. There has been a strong desire to separate light sources other than lamps.
[0006]
The present invention has been made in view of the above-described conventional problems, and provides a fluorescent lamp light source determination method and apparatus capable of determining whether a light source illuminating a subject is a fluorescent lamp or not. This is the issue.
[0007]
[Means for Solving the Problems]
In order to solve the above-described problem, the first aspect of the present invention is that when photographing a subject by illuminating the subject with an illumination light source, the light from the subject is photographed by absorbing light in a predetermined bright line region. An image and an image captured without absorbing the light in the predetermined bright line area are obtained, an exposure amount difference for each pixel of each image is calculated, and the exposure amount difference for each pixel is used. A fluorescent lamp light source determination method is provided that determines whether or not the illumination light source is a fluorescent lamp.
[0008]
Further, when the average value of the exposure amount difference for each pixel exceeds a predetermined threshold value, it is determined that the illumination light source is a fluorescent lamp, and the average value of the exposure amount difference for each pixel is a predetermined value. If the threshold is not exceeded, it is preferable to determine that the illumination light source is not a fluorescent lamp.
[0009]
Similarly, in order to solve the above-described problem, the second aspect of the present invention absorbs light in a predetermined bright line region out of light from the subject when the subject is illuminated with an illumination light source. Means for obtaining an image photographed without absorbing light in the predetermined bright line region, means for calculating an exposure amount difference for each pixel of each image, and the exposure amount difference And a light source determination unit that determines whether or not the illumination light source is a fluorescent lamp.
[0010]
In addition, the light source determination unit includes a unit that calculates an average value of the exposure amount difference for each pixel and a unit that compares the average value with a predetermined threshold value, and the average value exceeds the threshold value. Preferably, it is determined that the illumination light source is a fluorescent lamp, and if the average value does not exceed the threshold value, the illumination light source is not a fluorescent lamp.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a fluorescent lamp light source determination method and apparatus according to the present invention will be described in detail based on preferred embodiments shown in the accompanying drawings.
[0012]
FIG. 1 is a block diagram showing a schematic configuration of a fluorescent lamp light source determination apparatus that executes a fluorescent lamp light source determination method according to the present invention.
As shown in FIG. 1, the fluorescent lamp light source determination device 10 determines a light source type of the illumination light source 2 from image data obtained by imaging the subject 4 illuminated by the illumination light source 2 by the imaging means 6. And comprises an exposure amount calculation means 12, an exposure amount difference calculation means 14, and a light source type determination means 16.
The light source type determination unit 16 includes an average exposure amount difference calculation unit 18 and a comparison unit 20.
[0013]
As the illumination light source 2, the fluorescent light source determination device 10 of the present invention determines the type of the light source (particularly, whether or not it is a fluorescent lamp). As will be described later, various fluorescent lamps and tungsten lamps are used. Or various light sources other than fluorescent lights, such as a daylight, are used.
The subject 4 is also not particularly limited, but it is preferable to use a color chart or the like with a clear color for determining the light source type.
[0014]
Before describing each means constituting the photographing means 6 and the fluorescent light source determination device 10, the principle of the fluorescent light source determination method of the present invention will be described.
FIG. 2 shows the spectral distribution of a general fluorescent lamp, and FIG. 3 shows the spectral distribution of a three-wavelength fluorescent lamp. As can be seen from FIGS. 2 and 3, both the general fluorescent lamp and the three-wavelength fluorescent lamp have bright lines in the same region where the wavelength is around 430 or 545. FIG. 4 shows the waveform of the first principal component obtained as a result of applying principal component analysis to the spectral distribution of daylight and fluorescent lamp.
[0015]
Comparing FIG. 4 with FIGS. 2 and 3, it can be seen that the concave portion of the waveform of the first main component shown in FIG. 4 corresponds to the bright line portion of the fluorescent lamp.
From this, it can be said that it is a feature of the fluorescent lamp to have such a dent of the waveform of FIG. 4 or a peak of the waveform of FIG. 2 (or FIG. 3). Therefore, the method of the present invention is to determine whether or not the lamp is a fluorescent lamp based on whether or not there is a mountain corresponding to the bright line peculiar to the spectral distribution waveform of the fluorescent lamp.
[0016]
That is, according to the method of the present invention, among the light from the subject, the image captured by absorbing the light in the region where the fluorescent lamp has the bright line (with the light after the absorption), and the fluorescent lamp displays the bright line. To obtain a photographed image without absorbing the light of the area it has (with the light containing the light of the wavelength area), and determine the presence of a mountain corresponding to the bright line portion from the exposure amount difference of each image Thus, it is determined whether or not the illumination light source is a fluorescent lamp.
[0017]
For this reason, for example, when trying to detect a bright line portion having a wavelength of around 545, a filter having absorption in this wavelength region is photographed while being mounted in front of the camera, and this filter is not mounted (or Two images may be taken by attaching a filter having no absorption in this wavelength region. As a result, an image captured by absorbing light in the bright line region near the wavelength 545 and an image captured without absorption can be obtained.
[0018]
In addition, when there is no filter having absorption only in a specific wavelength region as described above, for example, as shown in FIG. 5, a filter that absorbs (cuts) light having a wavelength of about 550 or less indicated by a broken line, Images may be taken using a shifted filter that absorbs light having a wavelength of about 530 or less as indicated by a solid line, and each exposure amount may be calculated in the obtained image to take the difference.
[0019]
Alternatively, two filters as shown in FIG. 5 may be combined and used as one filter.
Further, if there is one filter having absorption in each of the three bright line portions of the three-wavelength fluorescent lamp as shown in FIG. 3, it is possible to simultaneously detect the three bright line portions.
[0020]
As described above, the imaging unit 6 absorbs the image of the light from the subject 4 that is captured by absorbing the light in the region where the fluorescent lamp has the bright line and the light in the region where the fluorescent lamp has the bright line. It is necessary to be able to obtain a photographed image without using it.
For example, the imaging means 6 is preferably exemplified by a filter in which a filter having absorption in the bright line region of a fluorescent lamp is attached in front of a CCD camera, and a filter having a filter having no absorption in this bright line region. This filter can be removed and replaced with a different type of filter, or if the filter can be removed and taken without a filter, multiple images can be taken with a single camera. it can.
In addition, a plurality of CCD sensors having sensitivity in different wavelength regions may be used as the imaging unit 6 without using such a filter.
[0021]
The exposure amount calculation means 12 receives from the imaging means 6 an image captured by absorbing light in a region where the fluorescent lamp has a bright line out of light from the subject 4, and light in a region where the fluorescent lamp has a bright line. An image captured without absorption is received, and an exposure amount is calculated from the value of each pixel of each image.
Further, the exposure amount difference calculating means 14 calculates a difference in exposure amount for each pixel of each image.
[0022]
Further, the average exposure amount difference calculating unit 18 constituting the light source type determining unit 16 adds the exposure amount difference for each pixel, which has been stopped as described above, with respect to all the pixels of the image, and calculates the sum of the exposure amount differences. This is divided by the total number of pixels to calculate the average exposure amount difference.
Moreover, the comparison means 20 which comprises the light source kind determination means 16 compares the average exposure amount difference calculated above with a predetermined threshold value. As a result of this comparison, when the average exposure amount difference exceeds the threshold value, In this case, it is determined that the illumination light source 2 is a fluorescent lamp. If the threshold value is not exceeded, it is determined that the illumination light source 2 is not a fluorescent lamp.
[0023]
Hereinafter, the operation of the present embodiment will be described along the flowchart of FIG.
First, in step 100 of FIG. 6, the subject 4 is illuminated with the illumination light source 2, and an image is taken by the imaging means 6 with a filter having absorption in a specific bright line area (fluorescent lamp bright line area). An image is photographed by an imaging means 6 such as a CCD camera equipped with a filter having no absorption in the region (or not fitted with a filter), and two types of images are acquired. The image photographed by the imaging means 6 is sent to the exposure amount calculation means 12 of the fluorescent lamp light source determination device 10.
[0024]
Next, in step 110, the exposure amount calculation means 12 calculates the exposure amount for each pixel from the value of each pixel for each image.
Next, in step 120, the exposure amount difference calculating means 14 calculates an exposure amount difference for each pixel.
[0025]
Next, in step 130, the average exposure amount difference calculating means 18 adds the exposure amount differences for each pixel for all the pixels constituting the image, calculates the sum, and divides it by the total number of pixels to obtain one pixel. The average exposure amount difference per unit is calculated.
Next, in step 140, the comparison unit 20 compares the average exposure amount difference per pixel obtained above with a predetermined threshold value.
As a result of comparison, if the average exposure amount difference exceeds the threshold value, it is determined in step 150 that the illumination light source 2 is a fluorescent lamp, and if the average exposure amount difference does not exceed the threshold value. In step 160, it is determined that the illumination light source 2 is not a fluorescent lamp.
[0026]
As described above, according to the present embodiment, it is possible to determine whether the illumination light source is a fluorescent lamp based on, for example, image data captured using a filter having absorption in a certain bright line region. It becomes. In addition, by transmitting information on the light source type to a subsequent image processing unit, it is possible to perform appropriate color processing on the image thereafter.
[0027]
Hereinafter, more specific examples will be described.
(Example)
As the imaging means 6, a monochrome CCD camera (DALSA, CA-DA-1024A) and Kodak's Latin filter No. 16 or No. 21 was used, and the subject 4 was a color checker manufactured by GretagMacbeth, and photographed under various illumination sources as described later.
The spectral distribution of the Latin filter is as shown in FIG. 16 and the broken line graph is No. 16. 21.
[0028]
The exposure amount when using each filter was adjusted in advance so that the same exposure amount was obtained under daylight with a color temperature of 5500K.
Each image signal G (8-bit signal from 0 to 255) of the photographed image was converted into an exposure amount g by the following equation (1).
g = [{(G / 255.0) +0.099} /1.099] 1 / 0.45 (1)
[0029]
After that, the Latin filter No. 16 and a Latin filter No. 21 is used to calculate the difference value of the exposure amount g of each pixel of the image photographed using 21 and add it for all the pixels and divide by the total number of pixels to obtain an average value per pixel, which is Δgm It was.
Using the nine types of fluorescent lamps A to I and four types of non-fluorescent lamps (tungsten lamp, sun, bright shade, strobe) as the illumination light source, the above Δgm was determined.
[0030]
The result is shown in FIG. As can be seen from FIG. 7, Δgm is a positive value for fluorescent lamps A to I, but Δgm is a negative value for non-fluorescent lamps. There is a difference between non-fluorescent lamps.
Therefore, in this case, it was possible to determine whether or not the lamp is a fluorescent lamp by taking 0 as a threshold value.
[0031]
As mentioned above, although the fluorescent lamp light source determination method and apparatus of the present invention have been described in detail, the present invention is not limited to the above embodiment, and various improvements and modifications can be made without departing from the gist of the present invention. Of course, changes may be made.
[0032]
【The invention's effect】
As described above, according to the present invention, of the light from the subject illuminated by the illumination light source, the image captured by absorbing the light in the region where the fluorescent lamp has the bright line, and the fluorescent lamp displays the bright line. It is possible to determine whether the illumination light source is a fluorescent lamp based on the exposure amount difference based on the image data of an image taken without absorbing the light of the area it has.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of a fluorescent lamp light source determination apparatus that executes a fluorescent lamp light source determination method according to the present invention.
FIG. 2 is a diagram showing a spectral distribution of a general fluorescent lamp.
FIG. 3 is a diagram showing a spectral distribution of a three-wavelength fluorescent lamp.
FIG. 4 is a diagram showing a first principal component obtained by applying principal component analysis to spectral distributions of daylight and fluorescent lamp.
FIG. 5 is a diagram showing spectral transmittances of filters having different absorption wavelength bands.
FIG. 6 is a flowchart showing the operation of the present embodiment.
FIG. 7 is an explanatory diagram showing an average exposure amount difference for various light sources calculated in a specific embodiment of the present invention.
[Explanation of symbols]
2 Illumination light source 4 Subject 6 Imaging means 10 Fluorescent lamp light source determination device 12 Exposure amount calculation means 14 Exposure amount difference calculation means 16 Light source type determination means 18 Average exposure amount difference calculation means 20 Comparison means

Claims (4)

照明光源で被写体を照明して撮影する際、前記被写体からの光のうち、所定の輝線領域の光を吸収して撮影された画像と、前記所定の輝線領域の光を吸収せずに撮影された画像とを取得し、
前記各画像の各画素毎の露光量差を算出し、
前記各画素毎の露光量差を用いて前記照明光源が蛍光灯であるか否かを判定することを特徴とする蛍光灯光源判定方法。
When illuminating a subject with an illumination light source and taking a picture, the image taken by absorbing the light in the predetermined bright line area out of the light from the subject and the picture taken without absorbing the light in the predetermined bright line area Get images and
Calculate the exposure amount difference for each pixel of each image,
A fluorescent lamp light source determination method, comprising: determining whether or not the illumination light source is a fluorescent lamp using an exposure amount difference for each pixel.
前記各画素毎の露光量差の平均値が所定の閾値を超える場合に、前記照明光源が蛍光灯であると判定し、かつ、前記各画素毎の露光量差の平均値が所定の閾値を超えない場合に、前記照明光源が蛍光灯ではないと判定する請求項1に記載の蛍光灯光源判定方法。When the average value of the exposure amount difference for each pixel exceeds a predetermined threshold value, it is determined that the illumination light source is a fluorescent lamp, and the average value of the exposure amount difference for each pixel exceeds the predetermined threshold value. The fluorescent lamp light source determination method according to claim 1, wherein if it does not exceed, the illumination light source is determined not to be a fluorescent lamp. 照明光源で被写体を照明して撮影する際、前記被写体からの光のうち、所定の輝線領域の光を吸収して撮影された画像及び前記所定の輝線領域の光を吸収せずに撮影された画像とを取得する手段と、
前記各画像の各画素毎の露光量差を算出する手段と、
前記露光量差から前記照明光源が蛍光灯であるか否かを判定する光源判定手段と、を有することを特徴とする蛍光灯光源判定装置。
When photographing an object with an illumination light source, an image photographed by absorbing light in a predetermined bright line region out of light from the subject and photographed without absorbing light in the predetermined bright line region Means for acquiring images;
Means for calculating an exposure amount difference for each pixel of each image;
A fluorescent light source determination device, comprising: a light source determination unit configured to determine whether the illumination light source is a fluorescent lamp from the exposure amount difference.
前記光源判定手段は、前記各画素毎の露光量差の平均値を算出する手段と、該平均値を所定の閾値と比較する手段とを備え、前記平均値が前記閾値を超える場合に、前記照明光源は蛍光灯であると判定し、かつ、前記平均値が前記閾値を超えない場合には、前記照明光源は蛍光灯ではないと判定する請求項3に記載の蛍光灯光源判定装置。The light source determination means includes means for calculating an average value of the exposure amount difference for each pixel, and means for comparing the average value with a predetermined threshold, and when the average value exceeds the threshold, The fluorescent light source determination device according to claim 3, wherein the illumination light source is determined to be a fluorescent lamp, and if the average value does not exceed the threshold value, the illumination light source is determined not to be a fluorescent lamp.
JP2002249027A 2002-08-28 2002-08-28 Method and apparatus for determining fluorescent lamp light source Withdrawn JP2004088602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002249027A JP2004088602A (en) 2002-08-28 2002-08-28 Method and apparatus for determining fluorescent lamp light source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002249027A JP2004088602A (en) 2002-08-28 2002-08-28 Method and apparatus for determining fluorescent lamp light source

Publications (1)

Publication Number Publication Date
JP2004088602A true JP2004088602A (en) 2004-03-18

Family

ID=32056249

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002249027A Withdrawn JP2004088602A (en) 2002-08-28 2002-08-28 Method and apparatus for determining fluorescent lamp light source

Country Status (1)

Country Link
JP (1) JP2004088602A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014102190A (en) * 2012-11-21 2014-06-05 Photoscience Japan Corp Ultraviolet lamp deterioration detection device and method
JP2015133685A (en) * 2013-12-13 2015-07-23 キヤノン株式会社 Imaging apparatus having light source identification and image quality-correcting functions and control method therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014102190A (en) * 2012-11-21 2014-06-05 Photoscience Japan Corp Ultraviolet lamp deterioration detection device and method
JP2015133685A (en) * 2013-12-13 2015-07-23 キヤノン株式会社 Imaging apparatus having light source identification and image quality-correcting functions and control method therefor

Similar Documents

Publication Publication Date Title
US7084907B2 (en) Image-capturing device
JP5530440B2 (en) In-camera based method for detecting defects with high accuracy
US7133070B2 (en) System and method for deciding when to correct image-specific defects based on camera, scene, display and demographic data
JP2907120B2 (en) Red-eye detection correction device
EP2220863B1 (en) Camera flash module and method for controlling the same
US7042505B1 (en) Red-eye filter method and apparatus
EP1351524B1 (en) Method for automatic white balance of digital images
US9165377B2 (en) Imaging apparatus with scene analysis
US20020085100A1 (en) Electronic camera
JP2002290979A (en) Camera having verification display with reverse white balanced viewer adaptation compensation and capturing method therefor
CN110225248A (en) Image-pickup method and device, electronic equipment, computer readable storage medium
JP2002287235A (en) Camera and method for displaying principal color of multicolor scene and/or photographed multicolor image in the scene
KR930701761A (en) The process of determining the extra system speed and automatically optimizing the exposure parameters of the picture.
JPH03163538A (en) Device for deciding kind of light source for camera
JP3986349B2 (en) Image acquisition method
JP4029206B2 (en) Imaging device
Burrows et al. A fatal drug interaction between oxycodone and clonazepam
JP2003234950A (en) Image processing device, image processing program, and image processing method
JPH08122157A (en) Method for estimating color temperature, device for estimating color temperature, and method for determining exposure
JP2004088602A (en) Method and apparatus for determining fluorescent lamp light source
JP2005292784A (en) Photometric device equipped with color measuring function and camera equipped with photometric device
JP2009124309A (en) Image device
JP5256912B2 (en) Electronic camera
JP7278764B2 (en) IMAGING DEVICE, ELECTRONIC DEVICE, IMAGING DEVICE CONTROL METHOD AND PROGRAM
JP2003259392A (en) White balance correction method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20051101