JP2011022044A - Apparatus and method for estimating light source - Google Patents

Apparatus and method for estimating light source Download PDF

Info

Publication number
JP2011022044A
JP2011022044A JP2009168279A JP2009168279A JP2011022044A JP 2011022044 A JP2011022044 A JP 2011022044A JP 2009168279 A JP2009168279 A JP 2009168279A JP 2009168279 A JP2009168279 A JP 2009168279A JP 2011022044 A JP2011022044 A JP 2011022044A
Authority
JP
Japan
Prior art keywords
spectral distribution
light source
difference
strobe
distribution information
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
JP2009168279A
Other languages
Japanese (ja)
Inventor
Kimitaka Arai
公崇 新井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2009168279A priority Critical patent/JP2011022044A/en
Publication of JP2011022044A publication Critical patent/JP2011022044A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To easily obtain spectral distribution information of an illumination light source to a subject having known reflectance without having to photograph the subject or to measure a spectral distribution of illumination. <P>SOLUTION: An image difference computation part 111 computes image differences between image data obtained by photographing the subject 12 under a stroboscopic light source 13 by an imaging part 10 for multiband photographing and image data obtained by photographing it under the illumination light source 14. A spectral distribution difference computation part 113 computes a spectral distribution difference, the difference with spectral distribution information of the stroboscopic light source 13 set by a stroboscopic setting part 116 on various types of spectral distribution information held in a spectral distribution holding database 112. A difference comparison part 114 selects a spectral distribution difference having a highest degree of matching with the image differences. A spectral distribution estimation part 115 estimates spectral distribution information corresponding to the selected spectral distribution difference as spectral distribution information to the illumination light source 14. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、撮影画像から光源の分光分布を推定する光源推定装置および光源推定方法に関する。   The present invention relates to a light source estimation apparatus and a light source estimation method for estimating a spectral distribution of a light source from a captured image.

撮影対象の分光波形を実用上十分な精度で復元可能とするマルチバンドカメラが知られている。マルチバンドカメラとしては、4種類以上の複数フィルタを用いるものが一般的であり、特殊な6バンドフィルタ配列とデモザイクによってワンショットでマルチバンド情報を取得するカメラも実用化されている。このようなマルチバンドカメラは、撮像されたマルチバンド画像に基づき、物体の分光反射率を正確に予測するために利用される。   A multiband camera that can restore a spectral waveform to be imaged with sufficient accuracy for practical use is known. A multiband camera generally uses four or more types of filters, and a camera that acquires multiband information in one shot by using a special 6-band filter array and demosaic has been put into practical use. Such a multiband camera is used for accurately predicting the spectral reflectance of an object based on the captured multiband image.

マルチバンドカメラによって実際に取得されるマルチバンド情報は分光放射輝度であるため、該分光放射輝度を、光源の分光分布と物体の分光反射率データに分離する必要がある。そのため従来では、以下のような方法によって物体の分光反射率を推定していた。   Since the multiband information actually obtained by the multiband camera is the spectral radiance, it is necessary to separate the spectral radiance into the spectral distribution of the light source and the spectral reflectance data of the object. Therefore, conventionally, the spectral reflectance of an object has been estimated by the following method.

まず、本撮影を行うに先立って、シーン中に分光反射率が既知である被写体を入れて撮影を行い、該撮影によって得られたマルチバンド情報を該被写体の分光反射率で除算することによって、光源の分光分布データを得ておく。そして本撮影においては、得られたマルチバンド情報を光源の分光分布データで除算することによって、該撮影された被写体の分光反射率が得られる。また、撮影時の光源の分光分布を測定器等により入手し、この測定データに基づいて、被写体の分光反射率を求めることも可能である。   First, prior to performing the main shooting, a subject with a known spectral reflectance is put in the scene, and the multiband information obtained by the shooting is divided by the spectral reflectance of the subject. Obtain spectral distribution data of the light source. In the actual photographing, the obtained multiband information is divided by the spectral distribution data of the light source to obtain the spectral reflectance of the photographed subject. It is also possible to obtain the spectral distribution of the light source at the time of photographing with a measuring instrument or the like and obtain the spectral reflectance of the subject based on this measurement data.

このように、分光分布が既知である光源を用いたマルチバンド撮影によって被写体の分光分布を推定する方法として、特許文献1に記載された方法が知られている。この方法においては、液晶チューナブルフィルタと既知の分光分布を持つプローブ光源を利用している。すなわち、プローブ光源と照明光源を照射したマルチバンド情報と、照明光源のみを照射したマルチバンド情報との差分を、プローブ光の分光分布で除算することによって、被写体の分光分布を推定している。   As described above, as a method for estimating the spectral distribution of a subject by multiband imaging using a light source having a known spectral distribution, a method described in Patent Document 1 is known. In this method, a liquid crystal tunable filter and a probe light source having a known spectral distribution are used. That is, the spectral distribution of the subject is estimated by dividing the difference between the multiband information irradiated with the probe light source and the illumination light source and the multiband information irradiated only with the illumination light source by the spectral distribution of the probe light.

以上説明したように従来のマルチバンド撮影では、被写体の分光反射率を推定する際に、光源の分光分布を利用していた。   As described above, in the conventional multiband imaging, the spectral distribution of the light source is used when estimating the spectral reflectance of the subject.

特開2001−083009号公報Japanese Patent Laid-Open No. 2001-083009

しかしながら、上記特許文献1による分光分布の推定方法によれば、プローブ光源毎に撮影を行う必要があり、最大で16回もの撮影を必要とする。そのため、動被写体についての撮影では、被写体の位置がずれてしまうため、正確なマルチバンド情報を取得することができない。また、撮影時間内に照明の条件が変動する場合にも、正確なマルチバンド情報は取得できない。更に、撮像バンド数を削減して撮像回数を削減した場合には、分光反射率の推定精度が著しく低下してしまう。また、使用する液晶チューナブルフィルタや各波長のプローブ光が安定するまでには所定の時間を要するため、これら機器に精通していない一般のユーザでは容易に操作することはできなかった。   However, according to the spectral distribution estimation method disclosed in Patent Document 1, it is necessary to perform imaging for each probe light source, and imaging is required up to 16 times. For this reason, in shooting a moving subject, the position of the subject is shifted, so that accurate multiband information cannot be acquired. In addition, accurate multiband information cannot be acquired even when the illumination conditions fluctuate within the photographing time. Furthermore, when the number of imaging bands is reduced to reduce the number of times of imaging, the spectral reflectance estimation accuracy is significantly reduced. Further, since a predetermined time is required until the liquid crystal tunable filter to be used and the probe light of each wavelength are stabilized, it cannot be easily operated by a general user who is not familiar with these devices.

上述したように、一般のユーザでは、マルチバンドカメラによる撮影時に、光源の分光分布の測定用に測定器を用意して操作することは困難であり、さらに、撮影時に既知の分光反射率の被写体を撮影することも困難である。このような場合には光源の分光分布が得られないため、被写体の分光情報を推定することができない。そこで、測定器の扱いに精通していない一般ユーザでも、光源の分光分布を取得できるような技術が求められる。   As described above, it is difficult for a general user to prepare and operate a measuring instrument for measuring the spectral distribution of a light source when photographing with a multi-band camera. It is also difficult to shoot. In such a case, since the spectral distribution of the light source cannot be obtained, the spectral information of the subject cannot be estimated. Therefore, there is a need for a technique that enables even general users who are not familiar with the handling of measuring instruments to acquire the spectral distribution of the light source.

本発明は上述した問題を解決するためになされたものであり、被写体に対する光源の分光分布を簡易に取得可能とする光源推定装置および光源推定方法を提供することを目的とする。   The present invention has been made to solve the above-described problem, and an object of the present invention is to provide a light source estimation device and a light source estimation method that can easily obtain a spectral distribution of a light source with respect to a subject.

上記目的を達成するための一手段として、本発明の光源推定装置は以下の構成を備える。   As a means for achieving the above object, a light source estimation apparatus of the present invention comprises the following arrangement.

すなわち、被写体に対する照明光源の分光分布情報を推定する光源推定装置であって、複数の分光特性によるマルチバンド撮影を行ってマルチバンド画像情報を得る撮像手段と、複数種類の光源の分光分布情報を保持する分光分布保持手段と、ストロボ光源の分光分布情報を設定するストロボ設定手段と、前記撮像手段によって、前記被写体を前記ストロボ光源の下でマルチバンド撮影したマルチバンド画像情報と、前記被写体を前記照明光源の下でマルチバンド撮影したマルチバンド画像情報と、の差分であるマルチバンド画像差分を算出する画像差分算出手段と、前記分光分布保持手段に保持された複数の分光分布情報のそれぞれについて、前記ストロボ光源の分光分布情報との差分である分光分布差分を算出する分光分布差分算出手段と、該算出された複数の分光分布差分のそれぞれについて、前記マルチバンド画像差分と比較した一致度を算出し、該一致度が最も高い分光分布差分を選択する差分比較手段と、前記差分比較手段で選択された分光分布差分に対応する分光分布情報を、前記照明光源に対する分光分布情報として推定する分光分布推定手段と、を有することを特徴とする。   That is, a light source estimation device for estimating spectral distribution information of an illumination light source for a subject, imaging means for obtaining multiband image information by performing multiband imaging with a plurality of spectral characteristics, and spectral distribution information of a plurality of types of light sources. Spectral distribution holding means for holding, strobe setting means for setting spectral distribution information of a strobe light source, multiband image information obtained by photographing the subject under the strobe light source by the imaging means, and the subject For each of the plurality of spectral distribution information held in the spectral distribution holding means, the image difference calculation means for calculating the multiband image difference that is the difference between the multiband image information taken by the multiband under the illumination light source, Spectral distribution difference calculation means for calculating a spectral distribution difference that is a difference from the spectral distribution information of the strobe light source For each of the calculated spectral distribution differences, a degree of coincidence compared with the multiband image difference is calculated, and a difference comparison unit that selects the spectral distribution difference having the highest degree of coincidence, and the difference comparison unit Spectral distribution estimation means for estimating spectral distribution information corresponding to the selected spectral distribution difference as spectral distribution information for the illumination light source.

上記構成からなる本発明によれば、被写体に対する光源の分光分布を簡易に取得することができる。   According to the present invention having the above-described configuration, the spectral distribution of the light source with respect to the subject can be easily obtained.

本発明に係る一実施形態における光源推定装置の構成を示すブロック図、The block diagram which shows the structure of the light source estimation apparatus in one Embodiment which concerns on this invention, 本実施形態における光源推定処理を示すフローチャート、The flowchart which shows the light source estimation process in this embodiment, 本実施形態におけるストロボ設定UIを説明する図、The figure explaining the strobe setting UI in this embodiment. 本実施形態における分光分布差分算出処理を示すフローチャート、The flowchart which shows the spectral distribution difference calculation process in this embodiment, 本実施形態における分光分布データベースの模式図、Schematic diagram of the spectral distribution database in the present embodiment, 本実施形態における光源比較処理を示すフローチャート、The flowchart which shows the light source comparison process in this embodiment, 第2実施形態における光源推定装置の構成を示すブロック図、The block diagram which shows the structure of the light source estimation apparatus in 2nd Embodiment, 第2実施形態における光源推定処理を示すフローチャート、The flowchart which shows the light source estimation process in 2nd Embodiment, 第2実施形態における仮想MIX光源比較処理を示すフローチャート、である。It is a flowchart which shows the virtual MIX light source comparison process in 2nd Embodiment.

以下、添付の図面を参照して、本発明をその好適な実施形態に基づいて詳細に説明する。なお、以下の実施形態において示す構成は一例に過ぎず、本発明は図示された構成に限定されるものではない。   Hereinafter, the present invention will be described in detail based on preferred embodiments with reference to the accompanying drawings. The configurations shown in the following embodiments are merely examples, and the present invention is not limited to the illustrated configurations.

<第1実施形態>
●システム構成
図1は、本実施形態における光源推定装置の構成を示すブロック図である。同図において、10は撮像部、11は画像処理部、12は被写体、13はストロボ光源、14は照明光源、である。撮像部10は、例えば6種類の分光特性によるマルチバンド撮影を行ってマルチバンド画像情報を得る、6バンドカメラである。本実施形態では、ストロボ光源13および照明光源14でそれぞれ照射された被写体12に対し、撮像部10のマルチバンド撮影によって得られたマルチバンド画像情報(ストロボ画像情報および照明画像情報)を画像処理部11に転送する。画像処理部11ではこれらのマルチバンド画像情報から照明光源の分光分布を推定する。
<First Embodiment>
System Configuration FIG. 1 is a block diagram showing the configuration of the light source estimation apparatus in this embodiment. In the figure, 10 is an imaging unit, 11 is an image processing unit, 12 is a subject, 13 is a strobe light source, and 14 is an illumination light source. The imaging unit 10 is, for example, a 6-band camera that obtains multiband image information by performing multiband imaging with six types of spectral characteristics. In the present embodiment, multiband image information (strobe image information and illumination image information) obtained by multiband imaging of the imaging unit 10 is applied to the subject 12 irradiated with the strobe light source 13 and the illumination light source 14, respectively, as an image processing unit. 11 for transfer. The image processing unit 11 estimates the spectral distribution of the illumination light source from these multiband image information.

画像処理部11は概略として以下の構成を有する。まず、ストロボ画像情報と照明画像情報の差分(マルチバンド画像差分)を算出する画像差分演算部111と、複数種類の光源に対する分光分布情報を格納する、分光分布保持手段としての分光分布データベース112を有する。そして、ストロボ分光分布と分光分布データベース112内の照明分光分布の差分を算出する分光分布差分演算部113と、マルチバンド画像差分と分光分布差分を比較する差分比較部114を有する。さらに、差分比較結果に基づいて照明光源14の分光分布を推定する分光分布推定部115と、ストロボ光源13の分光分布情報をユーザ指示に応じて設定するストロボ設定部116、を有する。   The image processing unit 11 generally has the following configuration. First, an image difference calculation unit 111 for calculating a difference (multiband image difference) between strobe image information and illumination image information, and a spectral distribution database 112 as spectral distribution holding means for storing spectral distribution information for a plurality of types of light sources. Have. And it has the spectral distribution difference calculating part 113 which calculates the difference of strobe spectral distribution and the illumination spectral distribution in the spectral distribution database 112, and the difference comparison part 114 which compares a multiband image difference and spectral distribution difference. Furthermore, a spectral distribution estimation unit 115 that estimates the spectral distribution of the illumination light source 14 based on the difference comparison result and a strobe setting unit 116 that sets the spectral distribution information of the strobe light source 13 according to a user instruction.

なお、ストロボ光源13としては、大型フラッシュ、小型フラッシュ、マクロ用フラッシュ、内蔵フラッシュのいずれでもかまわないが、広い波長域にスペクトルをもつブロードな特性の光源であることが望ましい。本実施形態では、ストロボ光源13として小型フラッシュのキセノンガス、グリップオンタイプを想定している。分光分布データベース112には、ストロボ光源13として使用可能な様々なストロボ光源の分光分布をはじめ、標準光源、各種蛍光灯、特殊光源の分光反射率、等が格納されている。   The strobe light source 13 may be a large flash, a small flash, a macro flash, or a built-in flash, but is preferably a light source with a broad characteristic having a spectrum in a wide wavelength range. In this embodiment, the flash light source 13 is assumed to be a small flash xenon gas, grip-on type. The spectral distribution database 112 stores spectral distributions of various strobe light sources that can be used as the strobe light source 13, as well as standard light sources, various fluorescent lamps, spectral reflectances of special light sources, and the like.

●光源推定処理
上記構成における光源推定処理について、図2のフローチャートを用いて説明する。まずS201において、ストロボ設定部116で制御されるUIにより、使用するストロボ光源13の種類を設定する。このストロボ設定の詳細については後述するが、この処理によってストロボ光源13の分光分布が設定される。その後、S202で撮像部10がストロボ光源13を用いて、被写体12のマルチバンド撮影を行うことによって、ストロボ画素値Ps_n(nはバンド1〜6を示す)を得る。そしてS203では、撮像部10が照明光源14の下で被写体12のマルチバンド撮影を行うことによって、照明下画素値Px_nを得る。
Light Source Estimation Process The light source estimation process in the above configuration will be described using the flowchart of FIG. First, in S201, the type of the strobe light source 13 to be used is set by the UI controlled by the strobe setting unit 116. Although details of the strobe setting will be described later, the spectral distribution of the strobe light source 13 is set by this processing. Thereafter, in S202, the imaging unit 10 performs multiband shooting of the subject 12 using the strobe light source 13, thereby obtaining a strobe pixel value Ps_n (n indicates bands 1 to 6). In step S <b> 203, the imaging unit 10 performs multiband imaging of the subject 12 under the illumination light source 14, thereby obtaining a pixel value Px_n under illumination.

するとS204でマルチバンド画像差分算出処理を行う。すなわち、画像差分演算部111において、S202で撮影したストロボ画素値Ps_nとS203で撮影した照明下画素値Px_nとの差分(マルチバンド画像差分Dp)を、以下の式(1)より求める。   In step S204, multiband image difference calculation processing is performed. That is, the image difference calculation unit 111 obtains a difference (multiband image difference Dp) between the strobe pixel value Ps_n photographed in S202 and the under-illumination pixel value Px_n photographed in S203 by the following equation (1).

Dp=Σ(Ps_n−Px_n) ・・・(1)
次にS205では分光分布差分算出処理を行う。すなわち、分光分布差分演算部113において、ストロボ光源13の分光分布Is_nと、複数の分光分布Ii_n(iは分光分布番号)に対する差分(分光分布差分Ds_i)を、以下の式(2)より算出する。なお、これらの分光分布Is_n,Ii_nは、分光分布データベース112に予め保持されている。この分光分布差分算出処理の詳細については後述する。
Dp = Σ (Ps_n−Px_n) (1)
In step S205, spectral distribution difference calculation processing is performed. That is, the spectral distribution difference calculation unit 113 calculates a difference (spectral distribution difference Ds_i) with respect to the spectral distribution Is_n of the strobe light source 13 and a plurality of spectral distributions Ii_n (i is a spectral distribution number) by the following equation (2). . Note that these spectral distributions Is_n and Ii_n are held in the spectral distribution database 112 in advance. Details of the spectral distribution difference calculation processing will be described later.

Ds_i=Σ(Is_n−Ii_n) ・・・(2)
次にS206で差分比較部114において、S204で求めたマルチバンド画像差分DpとS205で求めた分光分布差分Ds_iとを比較して、差分評価値Piを求める。この比較処理の詳細については後述する。
Ds_i = Σ (Is_n−Ii_n) (2)
Next, in S206, the difference comparison unit 114 compares the multiband image difference Dp obtained in S204 with the spectral distribution difference Ds_i obtained in S205 to obtain a difference evaluation value Pi. Details of this comparison processing will be described later.

そしてS207で分光分布推定部115において、S206で得られた差分評価値Piに基づいて、分光分布データベース112に保持されている複数の分光分布のうち、照明光源14に最も近いと判定される光源を選出する。このように選出された光源が、照明光源14として推定されることになる。   In S207, the spectral distribution estimation unit 115 determines the light source closest to the illumination light source 14 among the plurality of spectral distributions held in the spectral distribution database 112 based on the difference evaluation value Pi obtained in S206. Is elected. The light source selected in this way is estimated as the illumination light source 14.

●ストロボ設定UI
図3(a)に、上記S201においてストロボ情報を指定するためのUI例を示す。同図において、210はストロボ形態選択コンボボックスであり、ユーザが使用するストロボ光源13について、外付タイプと内蔵タイプのいずれかを選択すると、該選択された項目が反転表示される。211はストロボ種類選択コンボボックスであり、ユーザがストロボ光源13の型番を選択すると、選択した項目が反転表示される。212は分光分布表示ウィンドウであり、設定されたストロボ光源13に該当する分光分布が、分光分布データベース112から選択されて表示される。このように、選択したストロボの分光分布がUI表示されることにより、該ストロボが照明光源14を推定するのに適しているかをユーザが判断する一助となる。
● Flash setting UI
FIG. 3A shows an example of a UI for designating strobe information in S201. In the figure, reference numeral 210 denotes a strobe type selection combo box. When the user selects either the external type or the built-in type for the strobe light source 13 used by the user, the selected item is highlighted. Reference numeral 211 denotes a strobe type selection combo box. When the user selects the model number of the strobe light source 13, the selected item is highlighted. A spectral distribution display window 212 is a spectral distribution corresponding to the set strobe light source 13 selected from the spectral distribution database 112 and displayed. In this way, the spectral distribution of the selected strobe is displayed in the UI, which helps the user determine whether the strobe is suitable for estimating the illumination light source 14.

213は選択ボタンであり、ユーザによって押下されると、各コンボボックスの設定内容に応じたストロボの分光分布情報がメモリに保持される。214はキャンセルボタンであり、ユーザによって押下されるとメモリの解放等を行って設定UIのダイアログウィンドウを終了する。   Reference numeral 213 denotes a selection button. When pressed by the user, strobe spectral distribution information corresponding to the setting contents of each combo box is held in the memory. Reference numeral 214 denotes a cancel button which, when pressed by the user, releases the memory and ends the dialog window of the setting UI.

以下、上記ストロボ設定UIにおけるストロボ種類設定動作について、図3(b)の状態遷移図を用いて説明する。まずステート220では、初期設定の読み込みや、図2BのUIを表示する等の初期化動作を行い、ステート221へ移行する。   The strobe type setting operation in the strobe setting UI will be described below with reference to the state transition diagram of FIG. First, in state 220, initialization operations such as reading of initial settings and displaying the UI of FIG. 2B are performed, and the state transitions to state 221.

ステート221では、図3(a)のUIにおけるユーザ操作待ち状態となる。ここで、ストロボ形態選択コンボボックス210にて項目選択が行われるとステート222へ移行する。同じく、ストロボ種類選択コンボボックス211にて項目選択が行われるとステート223へ移行する。また、選択ボタン213が押下されるとステート225へ移行し、キャンセルボタン214が押下されるとステート226へ移行する。   In the state 221, a user operation waiting state in the UI of FIG. Here, when an item is selected in the strobe form selection combo box 210, the flow proceeds to the state 222. Similarly, when an item is selected in the strobe type selection combo box 211, the flow proceeds to the state 223. When the selection button 213 is pressed, the state shifts to the state 225, and when the cancel button 214 is pressed, the state shifts to the state 226.

ステート222では、ストロボ形態選択コンボボックス210にて選択された項目を反転表示し、ステート223へ移行する。ステート223では、ストロボ種類選択コンボボックス211にて選択された項目を反転表示し、ステート224へ移行する。   In state 222, the item selected in the strobe form selection combo box 210 is highlighted and the process proceeds to state 223. In the state 223, the item selected in the strobe type selection combo box 211 is highlighted, and the process proceeds to the state 224.

ステート224では、ステート222およびステート223にて選択された項目、すなわち設定されたストロボ情報に従って、対応する分光分布を分光分布データベース112から選択して描画ウィンドウ212に描画し、ステート221へ移行する。   In the state 224, the corresponding spectral distribution is selected from the spectral distribution database 112 according to the item selected in the state 222 and the state 223, that is, the set strobe information, drawn on the drawing window 212, and the state transitions to the state 221.

ステート225では、設定したストロボの分光分布をメモリ(不図示)に格納し、ステート226へ移行する。そしてステート226では、終了に関する動作を行う。   In the state 225, the set spectral distribution of the strobe is stored in a memory (not shown), and the process proceeds to the state 226. In state 226, an operation related to termination is performed.

なお、本実施形態ではストロボの形態や種類を図3(a)のUIにより取得する例を示したが、取得方法はこの例に限定されない。例えば、通信ケーブルを介して外部より取得するようにしても良い。   In the present embodiment, an example in which the form and type of the strobe is acquired using the UI of FIG. 3A is shown, but the acquisition method is not limited to this example. For example, it may be acquired from the outside via a communication cable.

●分光分布差分算出処理
以下、上記S205における、ストロボ光源13の分光分布Is_nと分光分布データベース112に保持された複数の分光分布Ii_nとの差分である、分光分布差分Ds_iの算出処理について、図4のフローチャートを用いて説明する。
Spectral Distribution Difference Calculation Processing Hereinafter, the calculation processing of the spectral distribution difference Ds_i, which is the difference between the spectral distribution Is_n of the strobe light source 13 and the plurality of spectral distributions Ii_n held in the spectral distribution database 112 in S205 will be described with reference to FIG. It demonstrates using the flowchart of these.

まずS301において、分光分布データベース112に保持された光源の番号を表す変数iを1に設定し、メモリ確保等の初期化処理を行う。次にS302において、ストロボ光源13の分光分布として以下の式(3)より、ストロボ分光分布Ls(λ)とフィルタ特性Tn(λ)の乗算値の全波長域における積分値(6バンド積分値)を算出する。   First, in S301, the variable i representing the light source number held in the spectral distribution database 112 is set to 1, and initialization processing such as memory reservation is performed. Next, in S302, the integral value (6-band integral value) in the entire wavelength region of the multiplication value of the strobe spectral distribution Ls (λ) and the filter characteristic Tn (λ) is obtained as the spectral distribution of the strobe light source 13 from the following equation (3). Is calculated.

Is_n=Σ{Ls(λ)×Tn(λ)} ・・・(3)
次にS303では、光源iの分光分布として以下の式(4)より、光源iの分光分布Li(λ)とフィルタ特性Tn(λ)の乗算値の全波長域における積分値(6バンド積分値)を算出する。なお、光源iの分光分布Li(λ)は分光分布データベース112に格納されており、例えば図5に示すように、380〜780nmの10nm間隔にて、各波長域のスペクトル情報が光源番号の順にラスタライズされているとする。
Is_n = Σ {Ls (λ) × Tn (λ)} (3)
Next, in S303, the integral value (6-band integral value) in the entire wavelength region of the product of the spectral distribution Li (λ) of the light source i and the filter characteristic Tn (λ) is obtained from the following equation (4) as the spectral distribution of the light source i. ) Is calculated. The spectral distribution Li (λ) of the light source i is stored in the spectral distribution database 112. For example, as shown in FIG. 5, the spectral information of each wavelength region is in the order of the light source number at 10 nm intervals of 380 to 780 nm. Assume that it is rasterized.

Ii_n=Σ{Li(λ)×Tn(λ)} ・・・(4)
次にS304では、上記式(2)により、S302による積分値Is_nとS303による積分値Ii_nの差分Ds_i(6バンド差分)を算出し、メモリに格納する。
Ii_n = Σ {Li (λ) × Tn (λ)} (4)
Next, in S304, the difference Ds_i (6-band difference) between the integral value Is_n obtained in S302 and the integral value Ii_n obtained in S303 is calculated by the above equation (2) and stored in the memory.

そしてS305において、分光分布データベース112内の全ての光源について処理を行ったか否かを判定し、未処理の光源が残っていればiに1を加算してS303へ戻り、残っていなければ終了に関する処理を行う。   In step S305, it is determined whether or not processing has been performed for all light sources in the spectral distribution database 112. If there is any unprocessed light source, 1 is added to i, and the process returns to step S303. Process.

●光源比較処理
以下、上記S206における、マルチバンド画像差分Dpと分光分布差分Ds_iによる光源比較処理について、図6のフローチャートを用いて説明する。
Light Source Comparison Processing Hereinafter, the light source comparison processing based on the multiband image difference Dp and the spectral distribution difference Ds_i in S206 will be described with reference to the flowchart of FIG.

まずS501において、分光分布データベース112に保持された光源の番号を表す変数iに1を設定し、後述する差分評価値の最小値を格納するための変数MINに所定の定数kを設定して、メモリ確保等の初期化処理を行う。次にS502において、以下の式(5)により、差分評価値Piを算出する。式(5)に示す差分評価値Piは、バンド毎の差分として示されるマルチバンド画像差分Dpと分光分布差分Ds_iの一致度(差分ノルム)を、全バンドについて合計した値として算出される。差分評価値Piは、その値が小さいほど、マルチバンド画像差分Dpと分光分布差分Ds_iの一致度が高いことを示す。   First, in S501, 1 is set to a variable i representing a light source number held in the spectral distribution database 112, a predetermined constant k is set to a variable MIN for storing a minimum value of a difference evaluation value described later, Performs initialization processing such as memory allocation. Next, in S502, the difference evaluation value Pi is calculated by the following equation (5). The difference evaluation value Pi shown in the equation (5) is calculated as a value obtained by summing the degree of coincidence (difference norm) between the multiband image difference Dp and the spectral distribution difference Ds_i shown as the difference for each band. The difference evaluation value Pi indicates that the smaller the value, the higher the degree of coincidence between the multiband image difference Dp and the spectral distribution difference Ds_i.

Pi=Dp−Ds_i ・・・(5)
次にS503において、差分評価値PiがMINより小さければS504へ進み、MINの値を差分評価値Piで置き換え、この際の光源ID、すなわち分光分布データベース112において変数iに対応する光源のIDをメモリに格納した後、S505に進む。一方、S503で差分評価値PiがMIN以上であれば、そのままS505へ進む。S505では、分光分布データベース112内の全ての光源について処理を行ったか否かを判定し、未処理の光源が残っていればiに1を加算してS502へ戻り、残っていなければ終了に関する処理を行う。
Pi = Dp−Ds_i (5)
Next, in S503, if the difference evaluation value Pi is smaller than MIN, the process proceeds to S504, where the value of MIN is replaced with the difference evaluation value Pi, and the light source ID at this time, that is, the ID of the light source corresponding to the variable i in the spectral distribution database 112 is set. After storing in the memory, the process proceeds to S505. On the other hand, if the difference evaluation value Pi is equal to or greater than MIN in S503, the process proceeds to S505 as it is. In S505, it is determined whether or not processing has been performed for all the light sources in the spectral distribution database 112. If there is any unprocessed light source, 1 is added to i, and the process returns to S502. I do.

図6のフローチャートに示す処理が終了した時点で、S504にて最終的に設定された最小の差分評価値Piに対応する光源IDが、S207で照明光源14として選出される。   When the process shown in the flowchart of FIG. 6 ends, the light source ID corresponding to the minimum difference evaluation value Pi finally set in S504 is selected as the illumination light source 14 in S207.

このように本実施形態においては、既知のストロボ光源に対する差分であるマルチバンド画像差分Dpと、同じく既知のストロボ光源に対する差分である分光分布差分Ds_iについて、その一致度(ノルム)を検証する。そして、分光分布データベース112内で該一致度が最も高い光源が、照明光源14として選出される。   As described above, in this embodiment, the degree of coincidence (norm) of the multiband image difference Dp that is a difference with respect to a known strobe light source and the spectral distribution difference Ds_i that is also a difference with respect to a known strobe light source are verified. Then, the light source having the highest coincidence in the spectral distribution database 112 is selected as the illumination light source 14.

以上説明した様に本実施形態によれば、ストロボ光と照明光による実際のマルチバンド撮影情報と、ストロボおよび所定光源の既知の分光分布との一致度に基づき、照明光源の分光分布を推定する。これにより、既知の反射率を持つ被写体を撮影したり、測定器による分光分布測定を行うことなく、照明光源の分光分布を推定することができる。   As described above, according to the present embodiment, the spectral distribution of the illumination light source is estimated on the basis of the degree of coincidence between the actual multiband imaging information using the strobe light and the illumination light and the known spectral distribution of the strobe and the predetermined light source. . Thereby, the spectral distribution of the illumination light source can be estimated without photographing a subject having a known reflectance or performing spectral distribution measurement with a measuring instrument.

更に、様々な光源情報を有する分光分布データベースを参照するため、様々な光源に対して高精度な推定を行うことが可能であり、全波長での撮像を行わなくとも、1〜数回の撮影で、照明の分光分布を簡易に推定することができる。   Furthermore, since the spectral distribution database having various light source information is referred to, it is possible to perform highly accurate estimation for various light sources, and it is possible to take one to several times without imaging at all wavelengths. Thus, the spectral distribution of illumination can be easily estimated.

なお、本実施形態では一致度として6バンドの差分ノルムを用いる例を示したが、この差分に代えて、6バンドから算出される色差を用いることも可能である。更に、6バンドの差分ノルムと6バンドから算出される色差との組み合わせからなる差分評価値等、様々な評価値を用いることが可能である。   In the present embodiment, an example of using a 6-band difference norm as the degree of coincidence has been shown, but it is also possible to use a color difference calculated from 6 bands instead of this difference. Furthermore, various evaluation values such as a difference evaluation value composed of a combination of a difference norm of 6 bands and a color difference calculated from the 6 bands can be used.

また、データベース内のストロボ光源については、各機種ごとに分光分布を格納する例を示したが、個体差を考慮して測定値に基づく分光分布をストロボ個体ごとに格納することも可能である。また、経時変化を考慮して分光分布情報を更新することも有効である。   In addition, for the strobe light source in the database, an example is shown in which the spectral distribution is stored for each model. However, it is also possible to store the spectral distribution based on the measured value for each strobe individual in consideration of individual differences. It is also effective to update the spectral distribution information in consideration of changes over time.

<第2実施形態>
以下、本発明に係る第2実施形態について説明する。上述した第1実施形態では、照明が単一光源であると仮定して分光分布を推定する例を示したが、第2実施形態ではさらに、複数の光源、すなわち混合光源(以下、MIX光源)の分光分布も推定可能とする例を示す。以下では、特に第1実施形態と異なる部分のみについて説明する。
Second Embodiment
Hereinafter, a second embodiment according to the present invention will be described. In the first embodiment described above, an example is shown in which the spectral distribution is estimated on the assumption that the illumination is a single light source. However, in the second embodiment, a plurality of light sources, that is, a mixed light source (hereinafter, MIX light source) is further illustrated. An example in which the spectral distribution of can be estimated is shown. Below, only a different part from 1st Embodiment is demonstrated especially.

図7は、第2実施形態における光源推定装置の構成を示すブロック図である。同図においては画像処理部6の構成が、上述した第1実施形態での図1に示した画像処理部11と異なる。画像処理部6は、概略として以下の構成を有する。まず、上述した第1実施形態と同様に、画像差分演算部601と分光分布データベース602、分光分布差分演算部603、差分比較部604、分光分布推定部605、およびストロボ設定部606を有する。そして第2実施形態における特徴的な構成として、MIX光源推定を行うか否かの判定処理を行うMIX光源推定判定部607と、MIX光源の分光分布を生成するMIX光源分光分布生成部608を有する。   FIG. 7 is a block diagram showing the configuration of the light source estimation apparatus in the second embodiment. In the figure, the configuration of the image processing unit 6 is different from the image processing unit 11 shown in FIG. 1 in the first embodiment described above. The image processing unit 6 generally has the following configuration. First, similarly to the first embodiment described above, the image difference calculation unit 601 and the spectral distribution database 602, the spectral distribution difference calculation unit 603, the difference comparison unit 604, the spectral distribution estimation unit 605, and the strobe setting unit 606 are included. The characteristic configuration of the second embodiment includes a MIX light source estimation / determination unit 607 that determines whether to perform MIX light source estimation, and a MIX light source spectral distribution generation unit 608 that generates a spectral distribution of the MIX light source. .

●光源推定処理
以下、第2実施形態における光源推定処理について、図8のフローチャートを用いて説明する。まずS701において、ストロボ設定部606で制御されるUI等によって、使用するストロボ光源13の情報を設定する。その後、S702で撮像部10がストロボ光源13を用いて、被写体のマルチバンド撮影を行う。そしてS703では、撮像部10が照明光源14の下で被写体のマルチバンド撮影を行う。するとS704で画像差分演算部601において、S702で撮影した画素値とS703で撮影した画素値との差分(マルチバンド画像差分Dp)を、上記式(1)より求める。次にS705では分光分布差分演算部603において、予め保持しているストロボの分光分布と、分光分布データベース602に保持されている複数の分光分布に対する差分(分光分布差分Ds_i)を、上記式(2)より算出する。次にS706で差分比較部604において、S704で求めたマルチバンド画像差分DpとS705で求めた分光分布差分Ds_iとを比較して、差分評価値Piを求める。ここまでは、上述した第1実施形態に示した図2のS201〜S206と同様である。
Light Source Estimation Process Hereinafter, the light source estimation process in the second embodiment will be described using the flowchart of FIG. First, in step S <b> 701, information on the strobe light source 13 to be used is set by a UI or the like controlled by the strobe setting unit 606. Thereafter, in step S <b> 702, the imaging unit 10 performs multiband shooting of the subject using the strobe light source 13. In step S <b> 703, the imaging unit 10 performs multiband shooting of the subject under the illumination light source 14. Then, in S704, the image difference calculation unit 601 obtains a difference (multiband image difference Dp) between the pixel value photographed in S702 and the pixel value photographed in S703 from the above equation (1). In step S <b> 705, the spectral distribution difference calculation unit 603 calculates the difference between the spectral distribution of the strobe held in advance and a plurality of spectral distributions held in the spectral distribution database 602 (spectral distribution difference Ds_i) by the above formula (2 ) In step S706, the difference comparison unit 604 compares the multiband image difference Dp obtained in step S704 with the spectral distribution difference Ds_i obtained in step S705 to obtain a difference evaluation value Pi. Up to this point, the process is the same as S201 to S206 of FIG. 2 described in the first embodiment.

第2実施形態では次にS707でMIX光源推定判定部607において、S706で得られた差分評価値Piに基づいて、MIX光源推定処理の可否を判定する。すなわち、最小の差分評価値Piが所定の値よりも大きい場合に、マルチバンド画像差分Dpと分光分布差分Ds_iとにおいて満足する一致度が得られなかったとして、S708に進む。S708では仮想MIX光源についての比較処理を行うが、その詳細については後述する。一方、S707で満足する一致度が得られた場合には、S708の仮想MIX光源比較処理を行わずに、そのままS709へ進む。   In the second embodiment, in step S707, the MIX light source estimation determination unit 607 determines whether or not the MIX light source estimation process is possible based on the difference evaluation value Pi obtained in step S706. That is, if the minimum difference evaluation value Pi is larger than the predetermined value, it is determined that a satisfactory degree of coincidence is not obtained in the multiband image difference Dp and the spectral distribution difference Ds_i, and the process proceeds to S708. In S708, a comparison process for the virtual MIX light source is performed, details of which will be described later. On the other hand, if the degree of coincidence satisfied in S707 is obtained, the process proceeds directly to S709 without performing the virtual MIX light source comparison process of S708.

そしてS709では分光分布推定部605において、S706またはS708で得られた差分評価値Piに基づいて、分光分布データベース602に保持されている複数の分光分布から、照明光源14に最も近いと判定される光源を選出する。すなわち第2実施形態では、差分評価値Piに対応する単独光源またはMIX光源に係る光源が、照明光源14として選出される。   In step S709, the spectral distribution estimation unit 605 determines that the light source 14 is closest to the illumination light source 14 from the plurality of spectral distributions held in the spectral distribution database 602 based on the difference evaluation value Pi obtained in step S706 or S708. Select a light source. That is, in the second embodiment, a light source related to a single light source or a MIX light source corresponding to the difference evaluation value Pi is selected as the illumination light source 14.

●仮想MIX光源比較処理
以下、上記S708における仮想MIX光源比較処理について、図9のフローチャートを用いて説明する。まずS801でMIX光源分光分布生成部608において、分光分布データベース602に保持された複数の分光分布の組み合わせによるMIX光源の複数組について、以下の式(6)により、仮想MIX光源の分光分布(混合分光分布情報)を生成する。式(6)は、j番目の組み合わせとしてのi1光源とi2光源のMIX光源による分光分布モデルを示し、α,βはゲイン、kは混合比である。すなわち仮想MIX光源の分光分布は、MIX光源を構成する各光源に対する分光分布情報を、ゲインα,βおよび混合比kに基づいて合成することによって算出される。なお、ここでMIX光源としては、分光分布データベース602に保持された全ての分光分布の組み合わせとしても良いし、所定の分光分布の組み合わせのみに対応させても良い。
Virtual MIX Light Source Comparison Processing Hereinafter, the virtual MIX light source comparison processing in S708 will be described with reference to the flowchart of FIG. First, in step S <b> 801, the MIX light source spectral distribution generation unit 608 uses the following equation (6) to calculate the spectral distribution (mixing of the virtual MIX light source) for a plurality of MIX light source combinations obtained by combining a plurality of spectral distributions held in the spectral distribution database 602. Spectral distribution information) is generated. Equation (6) shows a spectral distribution model by the MIX light source of the i1 light source and the i2 light source as the jth combination, α and β are gains, and k is a mixing ratio. That is, the spectral distribution of the virtual MIX light source is calculated by combining the spectral distribution information for each light source constituting the MIX light source based on the gains α and β and the mixing ratio k. Here, the MIX light source may be a combination of all the spectral distributions held in the spectral distribution database 602, or may correspond to only a predetermined spectral distribution combination.

Imix_j_n=Σ{(α×k×Li1(λ)+β×(1-k)×Li2(λ))×Tn(λ)} ・・・(6)
次にS802で分光分布差分演算部603において、予め保持しているストロボの分光分布Is_nと、S801で生成された複数の仮想MIX光源の分光分布Imix_j_nの差分(混合分光分布差分)Ds_jを、以下の式(7)より算出する。
Imix_j_n = Σ {(α × k × Li1 (λ) + β × (1-k) × Li2 (λ)) × Tn (λ)} (6)
In step S802, the spectral distribution difference calculation unit 603 calculates a difference (mixed spectral distribution difference) Ds_j between the strobe spectral distribution Is_n held in advance and the spectral distributions Imix_j_n of the plurality of virtual MIX light sources generated in step S801 below. This is calculated from Equation (7).

Ds_j=Σ(Is_n−Imix_j_n) ・・・(7)
そしてS803において差分比較部604が、上述した第1実施形態の図6と同様の方法で、S704で求めたマルチバンド画像差分Dpと、S802で求めた仮想MIX光源の分光分布差分Ds_jの全てを比較し、新たな差分評価値Piを得る。
Ds_j = Σ (Is_n−Imix_j_n) (7)
In step S803, the difference comparison unit 604 calculates all of the multiband image difference Dp obtained in step S704 and the spectral distribution difference Ds_j of the virtual MIX light source obtained in step S802 in the same manner as in FIG. 6 of the first embodiment described above. Comparison is made to obtain a new difference evaluation value Pi.

以上説明した様に第2実施形態によれば、ストロボ光と照明光による実際の撮影情報と、ストロボと仮想MIX光源の分光分布とに基づき、照明光源の分光分布を推定することができる。これにより、データベースに保持された所定光源からは十分な推定が行えない場合にも、それらの組み合わせからなる仮想MIX光に対する推定が可能となるため、より詳細な推定を行うことができる。   As described above, according to the second embodiment, the spectral distribution of the illumination light source can be estimated based on the actual photographing information by the strobe light and the illumination light and the spectral distribution of the strobe and the virtual MIX light source. As a result, even when sufficient estimation cannot be performed from the predetermined light source stored in the database, it is possible to estimate the virtual MIX light composed of the combination, and therefore more detailed estimation can be performed.

なお、第2実施形態では、差分一致度が所定のレベルを満たしていない場合にMIX光源推定を行う例を示したが、2種類以上の光源に対して同等の最良一致度をもつ光源があった場合に、該MIX光源推定処理を実施するようにしても良い。   In the second embodiment, an example in which MIX light source estimation is performed when the difference coincidence does not satisfy a predetermined level has been described. However, there are light sources having the same best coincidence for two or more types of light sources. In this case, the MIX light source estimation process may be performed.

また、データベース内の全ての光源の組み合わせから仮想MIX光を生成する例を示したが、一致度が最も高い光源と2番目に高い光源に限定して仮想MIX光を生成することで、処理時間を短縮することができる。   Moreover, although the example which produces | generates virtual MIX light from the combination of all the light sources in a database was shown, processing time is limited by producing | generating virtual MIX light only in the light source with the highest coincidence, and a 2nd highest light source. Can be shortened.

<その他の実施形態>
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
<Other embodiments>
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

Claims (9)

被写体に対する照明光源の分光分布情報を推定する光源推定装置であって、
複数の分光特性によるマルチバンド撮影を行ってマルチバンド画像情報を得る撮像手段と、
複数種類の光源の分光分布情報を保持する分光分布保持手段と、
ストロボ光源の分光分布情報を設定するストロボ設定手段と、
前記撮像手段によって、前記被写体を前記ストロボ光源の下でマルチバンド撮影したマルチバンド画像情報と、前記被写体を前記照明光源の下でマルチバンド撮影したマルチバンド画像情報と、の差分であるマルチバンド画像差分を算出する画像差分算出手段と、
前記分光分布保持手段に保持された複数の分光分布情報のそれぞれについて、前記ストロボ光源の分光分布情報との差分である分光分布差分を算出する分光分布差分算出手段と、
該算出された複数の分光分布差分のそれぞれについて、前記マルチバンド画像差分と比較した一致度を算出し、該一致度が最も高い分光分布差分を選択する差分比較手段と、
前記差分比較手段で選択された分光分布差分に対応する分光分布情報を、前記照明光源に対する分光分布情報として推定する分光分布推定手段と、
を有することを特徴とする光源推定装置。
A light source estimation device for estimating spectral distribution information of an illumination light source for a subject,
Imaging means for obtaining multiband image information by performing multiband imaging with a plurality of spectral characteristics;
Spectral distribution holding means for holding spectral distribution information of a plurality of types of light sources;
Strobe setting means for setting the spectral distribution information of the strobe light source,
A multi-band image that is a difference between multi-band image information obtained by photographing the subject with a multi-band under the strobe light source and multi-band image information obtained by photographing the subject with a multi-band under the illumination light source. Image difference calculating means for calculating the difference;
Spectral distribution difference calculation means for calculating a spectral distribution difference that is a difference from the spectral distribution information of the strobe light source for each of a plurality of spectral distribution information held in the spectral distribution holding means,
For each of the plurality of calculated spectral distribution differences, a degree of coincidence compared with the multiband image difference is calculated, and difference comparison means for selecting the spectral distribution difference having the highest degree of coincidence,
Spectral distribution estimation means for estimating spectral distribution information corresponding to the spectral distribution difference selected by the difference comparison means as spectral distribution information for the illumination light source;
A light source estimation device comprising:
前記ストロボ設定手段は、前記ストロボ光源の種類に応じた分光分布情報を前記分光分布保持手段より選出して設定することを特徴とする請求項1に記載の光源推定装置。   The light source estimation apparatus according to claim 1, wherein the strobe setting unit selects and sets spectral distribution information corresponding to a type of the strobe light source from the spectral distribution holding unit. 前記ストロボ設定手段は、ユーザ指示に応じた種類の前記ストロボ光源の分光分布情報を設定することを特徴とする請求項2に記載の光源推定装置。   The light source estimation apparatus according to claim 2, wherein the strobe setting unit sets spectral distribution information of the type of strobe light source according to a user instruction. 前記分光分布保持手段は、前記複数種類の光源の分光分布情報として、それぞれの光源の分光分布に前記撮像手段の分光特性を乗じた値を全波長域において積分した値を保持することを特徴とする請求項1乃至3のいずれか1項に記載の光源推定装置。   The spectral distribution holding unit holds, as spectral distribution information of the plurality of types of light sources, a value obtained by integrating a value obtained by multiplying the spectral distribution of each light source by the spectral characteristics of the imaging unit in all wavelength ranges. The light source estimation apparatus according to any one of claims 1 to 3. 前記差分比較手段は、前記一致度として、前記分光分布差分と前記マルチバンド画像差分とにおけるバンド毎の差分を全バンドについて合計した値を算出することを特徴とする請求項1に記載の光源推定装置。   2. The light source estimation according to claim 1, wherein the difference comparison unit calculates, as the degree of coincidence, a value obtained by adding a difference for each band in the spectral distribution difference and the multiband image difference for all bands. apparatus. さらに、前記差分比較手段で算出された最も高い一致度が予め定められたレベルに満たない場合に、前記分光分布保持手段に保持された複数の光源の組み合わせによる混合光源の複数組に対し、それぞれの混合分光分布情報を生成する混合分光分布の生成手段を有し、
前記分光分布差分算出手段は、前記混合分光分布情報のそれぞれについて、前記ストロボ光源の分光分布情報との差分である混合分光分布差分を算出し、
前記差分比較手段は、前記混合分光分布差分のそれぞれについて前記マルチバンド画像差分と比較した一致度を算出して該一致度が最も高い混合分光分布差分を選択し、
前記分光分布推定手段は、前記差分比較手段で選択された混合分光分布差分に対応する混合分光分布情報を、前記照明光源に対する分光分布情報として推定する
ことを特徴とする請求項1に記載の光源推定装置。
Further, when the highest degree of coincidence calculated by the difference comparison unit is less than a predetermined level, for each of a plurality of sets of mixed light sources by a combination of a plurality of light sources held in the spectral distribution holding unit, respectively Having a mixed spectral distribution generating means for generating mixed spectral distribution information of
The spectral distribution difference calculating means calculates a mixed spectral distribution difference that is a difference from the spectral distribution information of the strobe light source for each of the mixed spectral distribution information,
The difference comparison means calculates the degree of coincidence compared to the multiband image difference for each of the mixed spectral distribution differences, and selects the mixed spectral distribution difference having the highest degree of coincidence,
The light source according to claim 1, wherein the spectral distribution estimation unit estimates mixed spectral distribution information corresponding to the mixed spectral distribution difference selected by the difference comparison unit as spectral distribution information for the illumination light source. Estimating device.
前記混合分光分布の生成手段は、前記混合光源に対し、それぞれの光源に対する分光分布情報を予め定められたゲインおよび混合比に基づいて合成することによって、前記混合分光分布情報を算出することを特徴とする請求項6に記載の光源推定装置。   The mixed spectral distribution generation means calculates the mixed spectral distribution information by combining the spectral distribution information for each light source based on a predetermined gain and mixing ratio with respect to the mixed light source. The light source estimation apparatus according to claim 6. 被写体に対する照明光源の分光分布情報を推定する光源推定方法であって、
ストロボ光源の分光分布情報を設定するストロボ設定ステップと、
複数の分光特性によるマルチバンド撮影を行ってマルチバンド画像情報を得る撮像装置によって、前記被写体を前記ストロボ光源の下でマルチバンド撮影したマルチバンド画像情報と、前記被写体を前記照明光源の下でマルチバンド撮影したマルチバンド画像情報と、の差分であるマルチバンド画像差分を算出する画像差分算出ステップと、
分光分布データベースに保持された複数種類の光源の分光分布情報のそれぞれについて、前記ストロボ光源の分光分布情報との差分である分光分布差分を算出する分光分布差分算出ステップと、
該算出された複数の分光分布差分のそれぞれについて、前記マルチバンド画像差分と比較した一致度を算出し、該一致度が最も高い分光分布差分を選択する差分比較ステップと、
該選択された分光分布差分に対応する分光分布情報を、前記照明光源に対する分光分布情報として推定する分光分布推定ステップと、
を有することを特徴とする光源推定方法。
A light source estimation method for estimating spectral distribution information of an illumination light source for a subject,
A strobe setting step for setting the spectral distribution information of the strobe light source;
Multi-band image information obtained by performing multi-band shooting with a plurality of spectral characteristics to obtain multi-band image information, and shooting the subject in a multi-band under the strobe light source, and the subject under the illumination light source. An image difference calculating step for calculating a multiband image difference that is a difference between the band-captured multiband image information,
A spectral distribution difference calculating step for calculating a spectral distribution difference that is a difference from the spectral distribution information of the strobe light source for each of the spectral distribution information of the plurality of types of light sources held in the spectral distribution database;
For each of the plurality of calculated spectral distribution differences, a degree of coincidence compared with the multiband image difference is calculated, and a difference comparison step of selecting a spectral distribution difference having the highest degree of coincidence,
A spectral distribution estimation step for estimating spectral distribution information corresponding to the selected spectral distribution difference as spectral distribution information for the illumination light source;
A light source estimation method comprising:
コンピュータで実行されることにより、該コンピュータを請求項1乃至7のいずれか1項に記載の光源推定装置の各手段として機能させるためのプログラム。   A program for causing a computer to function as each unit of the light source estimation device according to any one of claims 1 to 7 when executed by the computer.
JP2009168279A 2009-07-16 2009-07-16 Apparatus and method for estimating light source Withdrawn JP2011022044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009168279A JP2011022044A (en) 2009-07-16 2009-07-16 Apparatus and method for estimating light source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009168279A JP2011022044A (en) 2009-07-16 2009-07-16 Apparatus and method for estimating light source

Publications (1)

Publication Number Publication Date
JP2011022044A true JP2011022044A (en) 2011-02-03

Family

ID=43632252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009168279A Withdrawn JP2011022044A (en) 2009-07-16 2009-07-16 Apparatus and method for estimating light source

Country Status (1)

Country Link
JP (1) JP2011022044A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014203453A1 (en) * 2013-06-19 2014-12-24 日本電気株式会社 Illumination estimation device, illumination estimation method, and illumination estimation program
JP2016510408A (en) * 2013-01-31 2016-04-07 ベンタナ メディカル システムズ, インコーポレイテッド System and method for calibrating, configuring, and determining validity of an imaging device or system for multiple tissue assays
JP2020094985A (en) * 2018-12-14 2020-06-18 凸版印刷株式会社 Spectral image estimation system, spectral image estimation method, and program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016510408A (en) * 2013-01-31 2016-04-07 ベンタナ メディカル システムズ, インコーポレイテッド System and method for calibrating, configuring, and determining validity of an imaging device or system for multiple tissue assays
US10012537B2 (en) 2013-01-31 2018-07-03 Ventana Medical Systems, Inc. Systems and methods for calibrating, configuring and validating an imaging device or system for multiplex tissue assays
US10598548B2 (en) 2013-01-31 2020-03-24 Ventana Medical Systems, Inc. Systems and methods for calibrating, configuring and validating an imaging device or system for multiplex tissue assays
US11566941B2 (en) 2013-01-31 2023-01-31 Ventana Medical Systems, Inc. Systems and methods for calibrating, configuring and validating an imaging device or system for multiplex tissue assays
WO2014203453A1 (en) * 2013-06-19 2014-12-24 日本電気株式会社 Illumination estimation device, illumination estimation method, and illumination estimation program
JPWO2014203453A1 (en) * 2013-06-19 2017-02-23 日本電気株式会社 Illumination estimation apparatus, illumination estimation method, and illumination estimation program
US9692993B2 (en) 2013-06-19 2017-06-27 Nec Corporation Illumination estimation device, illumination estimation method, and storage medium
JP2020094985A (en) * 2018-12-14 2020-06-18 凸版印刷株式会社 Spectral image estimation system, spectral image estimation method, and program
JP7206878B2 (en) 2018-12-14 2023-01-18 凸版印刷株式会社 SPECTRAL IMAGE ESTIMATION SYSTEM, SPECTRAL IMAGE ESTIMATION METHOD, AND PROGRAM

Similar Documents

Publication Publication Date Title
US20170054910A1 (en) Image processing apparatus and image capturing apparatus
US10354366B2 (en) Image processing device, image processing method, and recording medium
JP6945620B2 (en) System operating method and program
EP2407926A1 (en) Image processing apparatus, image processing method, and recording medium
JP2010034955A (en) White balance correction apparatus and signal processing program
CN111373436A (en) Image processing method, terminal device and storage medium
JP2011022044A (en) Apparatus and method for estimating light source
JP5591090B2 (en) Image processing apparatus and method
KR101662407B1 (en) Method for vignetting correction of image and apparatus therefor
JP4728265B2 (en) Noise characteristic measuring apparatus and noise characteristic measuring method
JP6201507B2 (en) Image processing apparatus, image processing method, and image processing program
JP6772838B2 (en) Image information processing device, image information processing system, image information processing method, and image information processing program
US9781399B2 (en) Lighting and material editing using flash photography
US9491331B2 (en) Image processing method, image processing device, and program for restoring spectral characteristics of an object and an illumination, respectively
JP2008206163A (en) Color image processor
CN104427322A (en) Information processing device, imaging device, information processing method, and program
US9293113B2 (en) Image processing apparatus and control method thereof
JP2023017091A (en) Estimation apparatus, estimation method and program
JP4615430B2 (en) Image generation apparatus, image generation method, and image generation program
JP6369153B2 (en) Display processing apparatus, display processing method, and program
TWI721288B (en) Image processing device, image processing method and program recording medium
JP2012127700A (en) Image processing apparatus and method therefor
US9927630B2 (en) Color calibration for pathology slides
JP2014052426A (en) Imaging device, control method for imaging device, and program
JP5282356B2 (en) Spectral data classification method, spectral data classification device, and spectral data classification program

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