JP2004177396A - Image forming method - Google Patents

Image forming method Download PDF

Info

Publication number
JP2004177396A
JP2004177396A JP2003056784A JP2003056784A JP2004177396A JP 2004177396 A JP2004177396 A JP 2004177396A JP 2003056784 A JP2003056784 A JP 2003056784A JP 2003056784 A JP2003056784 A JP 2003056784A JP 2004177396 A JP2004177396 A JP 2004177396A
Authority
JP
Japan
Prior art keywords
light source
sensor
image forming
forming method
sensor output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2003056784A
Other languages
Japanese (ja)
Other versions
JP4098122B2 (en
Inventor
Kimiharu Takahashi
公治 高橋
Hideyasu Ishibashi
磴  秀康
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 JP2003056784A priority Critical patent/JP4098122B2/en
Priority to US10/678,632 priority patent/US7206072B2/en
Publication of JP2004177396A publication Critical patent/JP2004177396A/en
Application granted granted Critical
Publication of JP4098122B2 publication Critical patent/JP4098122B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Color Image Communication Systems (AREA)
  • Spectrometry And Color Measurement (AREA)
  • Radiation Pyrometers (AREA)
  • Control Of Exposure In Printing And Copying (AREA)
  • Image Processing (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image forming method for estimating the kinds of photographing light sources including fluorescent lamps, namely the kinds of light sources, and performing proper image processing, based on the estimated result. <P>SOLUTION: In the image forming method, a color temperature(including the types of fluorescent lamps) for minimizing a difference between sensor output value data being recorded a known color temperature (including the types of fluorescent lamps) and sensor output value data by the color temperature (including the types of fluorescent lamps) of the light source for illuminating the subject being prepared in a plurality of numbers is set to be the types of the photographing light sources. Then, by a color conversion method defined by the sensor output obtained by the estimated kind of the light source, and a sensor output obtained by a desired type of the light source, a sensor output value obtained by the estimated kind of the light source is used, thus achieving an image formation method for achieving appropriate image processing, based on the estimation result of the type of the photographing light source, namely the type of the light source. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、画像形成方法に関し、より具体的には、人口光源(例えば、CIEで規定している12種類の蛍光灯)を含む撮影光源の種類を推定し、この結果に基づいて適正な画像処理を施すことを可能とした画像形成方法に関する。
【0002】
【従来の技術】
フィルム画像を印画紙等の複写感材へ焼付けるときの焼付露光量は、フィルムが撮影時に被写体から受けた光量によって決定され、1コマ毎に異っている。色再現性の良好なプリントを得るためには、撮影条件に応じた焼付露光量の補正が必要となる。このため、一般に、カラー原画から複写感材へカラー画像を再現するときの露光量は、色素フィルタや蒸着フィルタで構成された色分解フィルタを備えた測光装置を用いて赤(R),緑(G),青(B)光の積算透過濃度を測定し、R,G,B光各々について決定することによって、グレイバランスを定めている。
【0003】
しかしながら、背景等のカラーフェリアや現像条件等によって撮影光質情報が変化することがあるため、光質を正確に推定することができず、被写体照明光の光質の変化によって色再現性が悪化することがある。これは、写真フィルム上の何れの位置がグレイであるかの判断ができないためである。
この写真フィルム上にあるグレイを検出するのに最も有効な方法は、撮影光源の色温度を推定することである。
【0004】
ここで問題になるのは、室内撮影の場合には、蛍光灯下での撮影が多いことであり、周知のように、蛍光灯はそれ以外の一般的な光源とは異なり、上述のような色温度検出によっては、光源種を適正に推定できないということである。
【0005】
この問題を解消しようとして、従来から種々の提案がなされているが、未だに完全な(少なくとも、実用上、十分な精度を持つの意)対応方法は見出されてはいない。
【0006】
【発明が解決しようとする課題】
本発明は、上記事情に鑑みてなされたものであり、その目的とするところは、蛍光灯を含めた撮影光源の種類、すなわち光源種を推定し、この結果に基づいて適正な画像処理を施すことを可能とした画像形成方法を提供することにある。
【0007】
なお、本発明は、特願平6−253656号(特開平8−122157号公報参照、以下、先願という)により提案された、「色温度推定方法、色温度推定装置、及び露光量決定方法」を改良した、蛍光灯を含めた撮影光源の種類を識別可能とした光源種の識別方法を用いて、この方法により識別した撮影光源の種類に基づいて、適正な画像処理を施すことを可能としたものということができるものである。
【0008】
【課題を解決するための手段】
上記目的を達成するため、本発明に係る画像形成方法は、入力画像の画像データを読み取って、これに必要な補正を加える画像形成方法であって、撮像系を構成するセンサとして、一般的なカラー画像の解析に用いられるR,G,B3色に対応する分光感度を有するセンサに加えて、前記R,G,B3色に対応する分光感度と重複しない分光感度を有する第4のセンサXを配して、これらR,G,B,X4つのセンサから得た情報を用いて光源種を推定し、上記推定された光源種で得られるセンサ出力と所望の光源種で得られるセンサ出力とから定義される色変換方法により、上記推定された光源種で得られるセンサ出力値を用いることを特徴とするものである。
【0009】
ここで、前記第4のセンサXとしては、前記Rセンサの有する吸収のピークよりも30nm以上長波側で、かつ、700nm以下の領域に吸収のピークを有するもの、または、前記GセンサとBセンサの中間に吸収のピークを有し、かつ、500nm〜520nmの領域に吸収のピークを有するものを用いることが可能である。
【0010】
また、ここで、前記色変換方法は、前記入力画像中のグレイ部分もしくはこれに準ずる部分に関し、その推定された光源種に対応するセンサ出力EijZEが、基準光源に対応するセンサ出力EijZ0となるように補正するものであることを特徴とする。

Figure 2004177396
である。
【0011】
また、前記センサ出力EijZE→EijZ0の補正は、
【数4】
Figure 2004177396
となるような係数行列A,Cを求めるものであることを特徴とする。
ここで、係数行列Cは0であってもよい。
【0012】
前記センサ出力EijZE→EijZ0の補正は、
【数5】
Figure 2004177396
となるような係数行列A,Cを求めるものであることを特徴とする請求項5に記載の画像形成方法。
ここで、係数行列Cは0であってもよい。
【0013】
また、前記センサ出力EijZE→EijZ0の補正は、
【数6】
Figure 2004177396
となるような係数行列A,Cを求めるものであることを特徴とする。
ここで、係数行列Cは0であってもよい。
【0014】
なお、前記R,G,B,X4つのセンサから得た情報を用いての光源種の識別は、色温度が既知の黒体放射に基づく光源および分光エネルギー分布が規定されている蛍光灯の分光エネルギー分布、測光系の分光感度分布並びに予め定めた前記4つのセンサ出力信号関数の1次結合で表わした分光反射率分布の積の積和または積分値で定められる基準値を求め、色温度もしくは蛍光灯種別推定対象光源からの反射光の少なくとも一部を前記各センサにより信号として測定し、前記基準値とこの各センサによる測定値との差が最小となる分光反射率分布を黒体放射光源の色温度毎並びに蛍光灯種別毎に求め、さらにここで求めた分光反射率の最大値が1.0を越えた異常成分の和を評価値として求め、この評価値の最小値に対応する黒体放射光源の色温度もしくは蛍光灯種別を前記光源種の識別結果とするものである。
【0015】
本発明に係る画像形成方法は、これを組み込んだ写真プリンタとして構成することが可能である。
【0016】
具体的には、本発明に係る画像形成方法を適用した写真プリンタは、前記光源種の識別装置により推定した光源種に応じて、例えば予め用意された露光補正アルゴリズムを選択し、これに基づいて補正した露光量による露光を行って写真プリントを得るものである。
【0017】
【発明の実施の形態】
以下、本発明に係る画像形成方法の基礎となる、蛍光灯を含む光源種の推定方法について説明した後、本発明の実施の形態を詳細に説明する。
なお、以下に説明する光源種の推定方法は、光源類似度の指標を基準とする方法であり、ここでは、R,G,Bの3原色に対応させて設けた3個のセンサに加えて、適宜の波長域に吸収のピークを有する第4のセンサ(本明細書中では、これを、Xセンサという)を配して、このR,G,BおよびXの4つのセンサを用いて、光源および被写体に関する先見情報なしに、撮像手段(カラーネガフィルム,DSC:デジタルスチルカメラ等)からのセンサ信号だけから、撮影光源を推定しようとするものである。
【0018】
ここで説明する蛍光灯を含む光源種の推定方法においては、色温度T=5500Kの黒体放射に対して、反射率1.0の白色の信号値がSb=Sg=Sr=1.0となるようにセンサ出力を調整し、また、任意の光源に対して白色信号のG信号が一定(Sg=1.0)となるようにセンサの露光量調整を行う。
以上の条件の下で、マクベスチャートNo.19の白色の信号値を、CIE蛍光灯12種(F1〜F12),黒体放射光源4種(T=3000K,5000K,7000K,9000K)について求めた。
【0019】
また、ここでは、上述の信号値を基に光源の色温度を推定するとともに、上記12種の蛍光灯(現状では、上記F1〜F12)をも含めて識別可能としようとするものである。図1に、上述の、CIEにより規定されている12種類の蛍光灯(F1〜F12)の概略の特性を、また、図2に、色温度Tの黒体放射光源の特性を示した。なお、被写体の分光反射率は、下記の式(4)に示すように固有ベクトル(例を、図3に示す)の加重和で近似できると仮定する。
【0020】
【数7】
Figure 2004177396
【0021】
この仮定により、被写体の分光反射率には奇想天外なもの(例えば、ギザギザな反射率)は論外にして、現実にありそうな分光反射率の変化のスムーズなものだけを対象にすることができる。なお、図3に示した固有ベクトルは、マクベスチャート24色を主成分分析して求めたものである。
【0022】
さて、前述の光源類似度の指標についてであるが、ある光源のセンサ信号値を基準として、他の光源のセンサ信号値がこれに近いか否かの指標として、下記の式(5)で定義されるΔb,Δr,Δxを用いることとする。
【0023】
【数8】
Figure 2004177396
【0024】
上述の式(5)中において、Δb,Δr,Δxは基準光源のセンサ信号(Δb 0,Δr 0,Δx 0 )と他光源のセンサ信号(Δb,Δr,Δx )との対数信号差を示している。一例として、CIE蛍光灯F8を基準光源とした場合について、ΔbとΔrをプロットしたもの(3信号系)を、図4に示す。
【0025】
図4において、原点は基準のCIE蛍光灯F8であり、原点からの距離が大きいほど、基準光源(F8)と他光源との類似度は小さいことになる。
4信号系では、図4の紙面に垂直方向の成分Δx が加わる。三次元空間における原点との距離Lにより、4信号系における基準光源(F8)と他光源との類似度(下記の式(6)参照)が評価できる。
【0026】
【数9】
Figure 2004177396
【0027】
式(6)中のLに添字を付けてLi(j)と表記し、基準光源がiのときの他光源jとの距離を示すことにする。例えば、基準光源と他光源がともにCIE蛍光灯(12種)とすれば、Li(j)は各基準光源毎に11個存在することになる。そこで、その11個の中の最小値をL(i)min とし、下記の式(7)によりLmin を計算する。
【0028】
【数10】
Figure 2004177396
【0029】
ここで、Lmin はCIE蛍光灯12種間の平均最小距離であり、この値が小さいほど、蛍光灯同士の類似度が大きいことを意味し、誤認を起こしやすいことになる。
【0030】
図5は、前述のXセンサ(第4のセンサ)の分光感度のピーク位置(波長)を変化させた場合の、上記CIE蛍光灯12種間の平均最小距離Lmin の動きを示している。図5に示したように、Xセンサのピーク波長675nm付近で上記Lmin が最大になることが判る。すなわち、CIE蛍光灯(12種)同士をなるべく誤認しないようにするためには、第4のセンサのピーク波長は、675nm付近に設定するのがよいことになる。
【0031】
また、蛍光灯と黒体放射光源との類似度についても、同様の方法で調べた結果を、図6に示す。図6に示す結果では、第4のセンサの分光感度のピーク位置が長波長になるほど、平均最小距離Lmin が大きくなり、蛍光灯と黒体放射光源との誤認は生じ難くなることが判る。
【0032】
以上の結果から、第4のセンサの分光感度のピーク位置は680nm付近に設定するのが最適といえる。
図7に、この場合の各センサの分光感度特性をまとめた。
【0033】
以下、よリ具体的に説明する。
ここでは、光源データとして、CIE蛍光灯12種と黒体放射光源4種(いずれも、前述)を対象とし、光源推定プログラムとして、前述の先願に示したものを用いた。なお、センサ分光感度対は、3信号系,4信号系(Xセンサのピーク波長645nm),4信号系(Xセンサのピーク波長675nm)の三つで比較した。
【0034】
また、上述の、先願に係る光源推定プログラムは、簡単にいえば、入力画像に対して、その画像がある光源(仮想光源)下で作成されたものと仮定し、各画素の分光反射率を再生した場合、仮想光源が実際に撮影に用いられた光源(実写光源という)と違っていると、分光反射率に異常(反射率1.0を越える)が観測されることを利用して、反射率異常が最小となる光源を、実写光源と推定するものである。
【0035】
ここでは、R,G,Bの3原色に対応させて設けた3個のセンサ(3信号系の場合)に加えて、第4のセンサとして645nm(4信号系の場合の▲1▼),680nm(4信号系の場合の▲2▼)に吸収のピークを有するセンサを配して,これらのセンサを用いるものとする。
【0036】
一般的に、ある色温度の黒体放射光源またはある種類の蛍光灯で照明された被写体を撮影した場合のセンサ出力信号Eij Z は、下記の式(8)で表わすことができる。なお、ここで、Zは色温度Tの黒体放射光源またはある種類の蛍光灯を示す。
【0037】
【数11】
Figure 2004177396
【0038】
ここで、上記センサ信号Eij Z は、二つの未知な変量PZ(λ)とρi(λ)を含む積分値であり、センサ信号Eij Z を与えるPZ(λ)とρi(λ)の可能な組み合わせは、多数考えられる。従って、一般には、光源PZ(λ)を特定することは不可能であるが、可能な組み合わせの中には、数学的には矛盾しないが物理的に矛盾するものも多数含まれると考えられ、それらを除くと光源の推定が、ある精度内で可能になる。
【0039】
なお、上記式(8)中の被写体の分光反射率分布ρi(λ)は、データを得るための情報形態によってiが定まる。すなわち、被写体を撮影したときの撮影画像を想定すると、その撮影画像を多数に分割した各々の画素から情報を得ることができるので、i番目の画素に対応する被写体の分光反射率分布がρi(λ)となる。
【0040】
前記式(4)を式(8)に代入し、PZ(λ)をP(T;λ)と表記し直すと、センサ信号Eij Z は、下記の式(9)となる。
【0041】
【数12】
Figure 2004177396
【0042】
ここでは、この条件で、光源と被写体の可能な組み合わせを求めるために、未知数の一つである色温度Tを固定して被写体の分光反射率を復元する。このため、加重係数αikに初期値を与え、式(9)の右辺の積分値がセンサ信号Eij Z に一致するまで、加重係数αikの最適化計算を繰り返した。収束した加重係数αikを用いることにより、式(4)から被写体の分光反射率が復元することができる。
【0043】
この一例を、図8に示す。この例では、センサ信号Eij Z をEB=EG=ER=EX=0.6とし、色温度を、T=3000K,5000K,7000K,9000Kと変化させている。T=3000Kと9000Kでは、分光反射率の一部が反射率1.0を超えており、前述の物理的に矛盾したデータ(反射率異常)になっている。これから、撮影光源の色温度が、3000Kまたは9000Kである可能性は低いということができる。
【0044】
上述のように、分光反射率の復元データは、色温度の推定に利用することができると考えられる。また、この際に用いる推定に寄与する評価値も、幾つか考えられる。ここでは、その一つとして、分光反射率ρi(λ)は0≦ρi(λ)≦1.0であるという事実を重視して、分光反射率ρi(λ)が1.0を越える程度が強いほど「真の色温度」からのずれが大きいと考えて、式(10)に示すような評価値vを導入した。
【0045】
【数13】
Figure 2004177396
【0046】
この評価値vは、色温度Tの関数となるが、それを多くの画素について集計したものをVとする。ここで、Vは下記の式(11)で表わされる。なお、ここで、ρi(λ)maxはρi(λ)の最大値を示すものとする。
【0047】
【数14】
Figure 2004177396
【0048】
図9に、上述の色温度の変化に対応する評価値Vの変化の模式的な一例を示した。図9は光源種が色温度5000Kの黒体放射光源の場合を示すものであり、図中のU字状曲線の底に対応する部分は、前述の、被写体の分光反射率が反射率1.0を超える確率が最も小さい部分と言えるので、これに対応する色温度を、撮影光源の色温度と推定(識別)することができる。
【0049】
図10には、光源種が蛍光灯F1である場合を例示している。蛍光灯を含めた光源種識別を行う場合には、前述の式(11)の評価値Vを黒体放射光源の色温度および蛍光灯光源種の種別(12種)に対して計算し、U字状ないしV字状の曲線の最小値に対応する色温度もしくは蛍光灯の種類を、撮影光源の光源種と推定する。図10では、最小値に対応する光源種は、蛍光灯F1と読み取れる。
【0050】
図11は、ここでの光源種の識別動作の流れを示すフローチャートである。なお、ここでは、カラーネガフィルムを濃度測定して、その結果に基づいて撮影光源の種類を識別する場合を例に挙げる。
【0051】
ステップ12:事前準備として、ここでは、種々の光源種(前述のように、蛍光灯種別を含む)を仮定し、測定対象カラーネガフィルムについて、加重係数αikに任意の4つの数値対を与えることにより分光反射率を復元し(式(4))、式(8)によってEij Z を計算してメモリに蓄積しておく。これを繰り返すことにより、(αik対Eij Z )のデータ対を構成できる。この計算結果は、テーブル化しておいてもよい。
【0052】
ステップ14:実際の動作では、未知の光源種におけるカラーネガフィルムの測光データ(Eij 0 )を得て、次の式(12)に示すように、データEij 0 とセンサ出力値Eij Z との差ΔEを最小にする分光反射率(すなわちαik)を求める。これは、前述の、蓄積されている多数のEij Z を用いることによって実行できる。
【0053】
【数15】
Figure 2004177396
【0054】
ステップ16:ΔEを最小にする分光反射率に対して評価値Vを計算し、評価値Vの最小値に対応する光源種を撮影光源と推定する。
【0055】
表1に、3信号系,4信号系の▲1▼(X1センサを用いた場合),4信号系の▲2▼(X2センサを用いた場合)とにおける、各種の光源種に対応して評価値Vが最小値となった点を示した。
【0056】
【表1】
Figure 2004177396
【0057】
この表1は、ある光源種が、本実施形態に係る光源種の識別方法によってどのように識別されたかを、従来の方法、すなわちR,G,Bの3センサのみを用いた3信号系の場合との対比の形で示しているものである。光源種が蛍光灯F1〜F12である場合における識別結果の欄を見れば判るように、殆どの光源種が正しく識別されているということを示しているものである。
【0058】
また、例えば、黒体放射5000Kという色温度が、3信号系の場合(表1中では、3ch入力と示されている)では4419kであるのに対して、X1センサを用いた場合(表1中では、4ch入力(645nm)と示されている)では4510Kとなっており、さらに、X2センサを用いた場合(表1中では、4ch入力(675nm)と示されている)では、4541Kとなっている点からも判るように、色温度の推定においても精度が向上する効果が得られている。
【0059】
すなわち、この、先願に係る光源推定プログラムによれば、第4のセンサを導入したことにより、未知の光源種におけるカラーネガフィルムの測光データ(Eij 0 )を得た場合に、そのカラーネガフィルムの撮影に用いられた光源の種別を、蛍光灯の種別までを含めて、適確に識別することが可能になるという効果が得られる。
【0060】
以下、上述のような光源推定プログラムにより、前述の、R,G,B,X4つのセンサを用いて識別(推定)した光源種に基づいて、入力画像データを、色バランスの取れた画像として再現する画像形成方法について説明する。
【0061】
上記光源推定プログラムにより推定(識別)された光源種をZE、再現したい光源種をZ0とする。上記Z0は、昼光撮影用のフィルムを用いる撮影の場合には、昼光光源で撮影するのが設計に合致し、色バランスの良好な画像が得られる。ここでは、例えば、約5500Kの黒体放射の光源を再現したい光源を、上記Z0とする。
【0062】
撮影光源Zに対応するセンサ出力EijZは、前述の式(8),(9)で与えられ、これも前述の、事前準備ステップ(段落0051参照)において、種々の光源Z毎にテーブル化されて、メモリに蓄積されているものとする。
【0063】
また、ここでは、推定された光源種ZEに対し、各色分光感度毎のセンサ出力EijZE(j=R,G,B,X)が得られるとする。
一方、再現したい光源種Z0に対しては、上述のテーブルを参照することにより、各色分光感度毎のセンサ出力EijZ0(j=R,G,B,X)が得られるとする。
【0064】
上述のような状況下で、入力画像中のグレイ部(あるいは、LATD的に考えた平均的な部分)iについて、センサ出力EijZE(j=R,G,B,X)がセンサ出力EijZ0(j=R,G,B,X)となるような係数行列を求める。
【0065】
【数16】
Figure 2004177396
【0066】
より具体的には、下記の通りである。
【数17】
Figure 2004177396
ここで、係数Cは0であってもよい。
【0067】
また、上式の要素数は、最低で3色でもよく、通常の撮影に利用される、感度がR,G,Bの3色の場合には、Xの項は考慮しなくてもよい。
係数行列Aが対角行列であるこの場合は、光源種の違いに合わせて、それぞれの色の分光感度の感度比を調節したことになり、すなわち、グレイのバランスを調整したことになる。
【0068】
上記変換処理によって、取得画像(すなわち、光源種ZEでの画像)から、バランス調整された画像(すなわち、光源種Z0での画像)が計算される。
実際にこれを画像として出力するためには、上記バランス調整された画像の信号に対し、各種の色信号処理等を実施してもよい。
【0069】
例えば、適正な出力を得るための、装置に依存した色信号変換が例示される。また、上述のバランス調整された画像信号を対数処理して露光濃度として扱い、優れた色再現を有する感光材料によるプリント作製に供するための濃度信号に変換してもよい。なお、これらの適宜の組み合わせも有効である。
【0070】
また、上述の説明においては、感光材料(カラーネガフィルム)を撮影材料として用いた例を説明したが、本発明はこれに限定されるものではなく、いわゆるデジタルカメラ(DSC)の分光感度特性に付いても、全く同様に扱うことが可能である。
【0071】
前述の変換式では、係数行列Aが対角行列である場合を説明したが、本発明においては、係数行列Aが非対角成分を持つような色変換の実施も含まれる(下記式(3)参照)。
【0072】
【数18】
Figure 2004177396
【0073】
このためには、マクベスカラーチェッカに例示される豊富な色を含むデータについて、係数行列A,Cを求めればよく、後段の処理は、上記実施例の場合と同様に行えばよい。この場合の効果としては、グレイ部以外の他の色についても色合わせが可能となることが挙げられる。
【0074】
また、色修正として、ここでは、信号の線形変換を行う場合を例に挙げたが、いわゆる、2次以上の信号成分を考慮した変換行列を用いることなども、本発明に係る画像形成方法の範囲内で実施することが可能である。
さらに、撮影光源の雰囲気を残すために、式(1)で得られたセンサ出力EijZ0(j=R,G,B,X)と、撮像光源のセンサ出力EijZE(j=R,G,B,X)の内分操作を行うことが有効な場合もあり、これも、本発明に係る画像形成方法の範囲内で実施することが可能である。
【0075】
なお、上記実施形態は本発明の一例を示したものであり、本発明はこれに限定されるものではなく、本発明の要旨を逸脱しない範囲内で、適宜の変更・改良を行ってもよいことはいうまでもないことである。
【0076】
例えば、前述の色変換処理としては、本出願人の先願に係る特願平9−338639号「画像処理方法および装置」(特開平11−177832号公報参照)、特願平10−311090号「色補正方法および装置」(特開2000−137305号公報参照)等、各種の処理を適用することが可能である。
【0077】
【発明の効果】
以上、詳細に説明したように、本発明に係る画像生成方法によれば、光源種識別対象の光源からの反射光の少なくとも一部を用いて、光源種の識別(推定)を行った後に、この推定された光源種と所望(基準)の光源種で得られるセンサ出力から定義される色変換方法に基づいて、画像データの変換を行うようにしたので、撮影光源の種類、すなわち光源種の推定結果に基づく適正な画像処理を施すことを可能とした画像形成方法を実現できるという顕著な効果が得られるものである。
【図面の簡単な説明】
【図1】(a)〜(d)は、CIEに規定される12種類の蛍光灯(F1〜F12)の概略特性を示す図である。
【図2】色温度Tの黒体放射の概念を説明する図である。
【図3】被写体の固有ベクトルの分光分布を例示する図である。
【図4】本発明の原理である光源類似度の指標についての説明図である。
【図5】実施形態に係るXセンサの分光感度のピーク位置(波長)を変化させた場合の蛍光灯間の平均最小距離の動きを示す説明図である。
【図6】同、蛍光灯と黒体放射光源とを含めた場合の類似度の変化を示す説明図である。
【図7】実施形態において用いたR,G,BおよびXの各センサの分光感度を例示した図である。
【図8】被写体の分光反射率を復元した状況を例示する図である。
【図9】一実施形態における、色温度Tと評価値Vとの関係を例示する図である。
【図10】実施形態における、色温度Tおよび12種類の蛍光灯と評価値Vとの関係を例示する図である。
【図11】実施形態における光源種の識別動作の流れを示すフローチャートである。
【符号の説明】
12,14,16 処理ステップ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image forming method. More specifically, the present invention estimates the type of imaging light source including artificial light sources (for example, 12 types of fluorescent lamps stipulated by CIE), and determines an appropriate image based on the result. The present invention relates to an image forming method capable of performing processing.
[0002]
[Prior art]
The amount of exposure for printing when a film image is printed on a copy-sensitive material such as photographic paper is determined by the amount of light received from the subject when the film is photographed, and is different for each frame. In order to obtain a print with good color reproducibility, it is necessary to correct the printing exposure amount according to the photographing conditions. For this reason, in general, the exposure amount when reproducing a color image from a color original image to a copy light-sensitive material is determined by using a photometric device equipped with a color separation filter composed of a dye filter and a vapor deposition filter. The gray balance is determined by measuring the integrated transmission density of G) and blue (B) light and determining each of the R, G, and B light.
[0003]
However, since the photographic light quality information may change depending on the color feria such as the background and development conditions, the light quality cannot be estimated accurately, and the color reproducibility deteriorates due to the change in the light quality of the subject illumination light. There are things to do. This is because it cannot be determined which position on the photographic film is gray.
The most effective way to detect gray on this photographic film is to estimate the color temperature of the photographic light source.
[0004]
The problem here is that in indoor shooting, shooting under fluorescent lamps is often performed. As is well known, fluorescent lamps differ from other general light sources as described above. This means that the type of light source cannot be estimated properly depending on the color temperature detection.
[0005]
Various proposals have heretofore been made to solve this problem, but a perfect response method has not yet been found (at least it has sufficient accuracy for practical use).
[0006]
[Problems to be solved by the invention]
The present invention has been made in view of the above circumstances, and an object of the present invention is to estimate the type of photographing light source including a fluorescent lamp, that is, the light source type, and to perform appropriate image processing based on the result. An object of the present invention is to provide an image forming method that makes it possible.
[0007]
The present invention proposes a “color temperature estimation method, a color temperature estimation device, and an exposure amount determination method” proposed by Japanese Patent Application No. 6-253656 (see Japanese Patent Application Laid-Open No. 8-122157, hereinafter referred to as a prior application). Using the light source type identification method that makes it possible to identify the type of imaging light source including fluorescent lamps, it is possible to perform appropriate image processing based on the type of imaging light source identified by this method It can be said that.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, an image forming method according to the present invention is an image forming method that reads image data of an input image and applies necessary corrections to the image data, and is generally used as a sensor constituting an imaging system. In addition to sensors having spectral sensitivities corresponding to R, G, B3 colors used for color image analysis, a fourth sensor X having spectral sensitivities that do not overlap with the spectral sensitivities corresponding to the R, G, B3 colors is provided. The light source type is estimated using information obtained from these four R, G, B, and X sensors, and the sensor output obtained from the estimated light source type and the sensor output obtained from the desired light source type are used. The sensor output value obtained by the estimated light source type is used according to the defined color conversion method.
[0009]
Here, as the fourth sensor X, a sensor having an absorption peak at a wavelength longer than 30 nm and 700 nm or less from the absorption peak of the R sensor, or the G sensor and the B sensor. It is possible to use those having an absorption peak in the middle of the region and an absorption peak in the region of 500 nm to 520 nm.
[0010]
Here, in the color conversion method, the sensor output Eij ZE corresponding to the estimated light source type is the sensor output Eij Z0 corresponding to the reference light source with respect to the gray portion in the input image or a portion equivalent thereto. It is what correct | amends so that it may become.
Figure 2004177396
It is.
[0011]
The sensor output Eij ZE → Eij Z0 is corrected as follows:
[Expression 4]
Figure 2004177396
It is characterized in that coefficient matrices A and C are obtained as follows.
Here, the coefficient matrix C may be zero.
[0012]
The sensor output Eij ZE → Eij Z0 is corrected as follows:
[Equation 5]
Figure 2004177396
6. The image forming method according to claim 5, wherein the coefficient matrices A and C are calculated as follows.
Here, the coefficient matrix C may be zero.
[0013]
The sensor output Eij ZE → Eij Z0 is corrected as follows:
[Formula 6]
Figure 2004177396
It is characterized in that coefficient matrices A and C are obtained as follows.
Here, the coefficient matrix C may be zero.
[0014]
The identification of the light source type using the information obtained from the R, G, B, and X sensors is based on the light source based on the black body radiation whose color temperature is known and the spectrum of the fluorescent lamp in which the spectral energy distribution is defined. A reference value defined by the product sum or integral value of the product of the energy distribution, the spectral sensitivity distribution of the photometric system and the spectral reflectance distribution represented by the linear combination of the four sensor output signal functions determined in advance is obtained. At least a part of the reflected light from the fluorescent lamp type estimation target light source is measured as a signal by each sensor, and a spectral reflectance distribution in which the difference between the reference value and the measured value by each sensor is minimized is a black body radiation light source. For each color temperature and fluorescent lamp type, the sum of the abnormal components whose maximum spectral reflectance calculated here exceeds 1.0 is obtained as an evaluation value, and black corresponding to the minimum value of the evaluation value is obtained. Body radiation source The color temperature or fluorescent lamp type is used as the identification result of the light source type.
[0015]
The image forming method according to the present invention can be configured as a photographic printer incorporating the image forming method.
[0016]
Specifically, the photographic printer to which the image forming method according to the present invention is applied selects, for example, an exposure correction algorithm prepared in advance according to the light source type estimated by the light source type identification device, and based on this A photographic print is obtained by performing exposure with the corrected exposure amount.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, after describing a method for estimating a light source type including a fluorescent lamp, which is the basis of an image forming method according to the present invention, an embodiment of the present invention will be described in detail.
The light source type estimation method described below is based on a light source similarity index, and here, in addition to the three sensors provided corresponding to the three primary colors of R, G, and B. A fourth sensor having an absorption peak in an appropriate wavelength range (in the present specification, this is referred to as an X sensor), and using these four sensors R, G, B, and X, The photographic light source is to be estimated from only the sensor signal from the imaging means (color negative film, DSC: digital still camera, etc.) without foreseeing information about the light source and the subject.
[0018]
In the light source type estimation method including the fluorescent lamp described here, the white signal value of reflectance 1.0 is S b = S g = S r = 1 with respect to the black body radiation having the color temperature T = 5500K. The sensor output is adjusted so as to be 0.0, and the exposure amount of the sensor is adjusted so that the white signal G signal is constant (S g = 1.0) with respect to an arbitrary light source.
Under the above conditions, the white signal value of Macbeth chart No. 19 was determined for 12 types of CIE fluorescent lamps (F1 to F12) and 4 types of black body radiation light sources (T = 3000K, 5000K, 7000K, 9000K). .
[0019]
In addition, here, the color temperature of the light source is estimated based on the above-described signal value, and the above-mentioned 12 types of fluorescent lamps (currently, the above F1 to F12) are to be identified. FIG. 1 shows the general characteristics of the above-described 12 types of fluorescent lamps (F1 to F12) defined by the CIE, and FIG. 2 shows the characteristics of a black body radiation light source having a color temperature T. It is assumed that the spectral reflectance of the subject can be approximated by a weighted sum of eigenvectors (for example, shown in FIG. 3) as shown in the following equation (4).
[0020]
[Expression 7]
Figure 2004177396
[0021]
With this assumption, it is possible to target only the smooth change of the spectral reflectance that seems to be real, while the spectral reflectance of the subject is out of the question (for example, jagged reflectance). . Note that the eigenvectors shown in FIG. 3 are obtained by principal component analysis of 24 colors of Macbeth chart.
[0022]
Now, with respect to the above-mentioned light source similarity index, the following equation (5) is used as an index as to whether or not the sensor signal value of another light source is close to this, based on the sensor signal value of a certain light source. Let Δ b , Δ r , and Δ x be used.
[0023]
[Equation 8]
Figure 2004177396
[0024]
During the above equation (5), Δ b, Δ r, Δ x sensor signal of the reference light source (Δ b 0, Δ r 0 , Δ x 0) and other light sources of the sensor signal (Δ b, Δ r, Δ x ) is the logarithmic signal difference. As an example, FIG. 4 shows a plot of Δ b and Δ r (3-signal system) when the CIE fluorescent lamp F8 is used as a reference light source.
[0025]
In FIG. 4, the origin is the reference CIE fluorescent lamp F8, and the greater the distance from the origin, the smaller the similarity between the reference light source (F8) and the other light sources.
The 4 signal system, applied in the vertical direction component delta x in the plane of FIG. Based on the distance L from the origin in the three-dimensional space, the similarity between the reference light source (F8) and other light sources in the four-signal system (see the following formula (6)) can be evaluated.
[0026]
[Equation 9]
Figure 2004177396
[0027]
A subscript is added to L in Equation (6) to denote Li (j), which indicates the distance from another light source j when the reference light source is i. For example, if the reference light source and the other light source are both CIE fluorescent lamps (12 types), 11 Li (j) exist for each reference light source. Therefore, the minimum value among the 11 is L (i) min, and L min is calculated by the following equation (7).
[0028]
[Expression 10]
Figure 2004177396
[0029]
Here, L min is the average minimum distance between the 12 types of CIE fluorescent lamps, and the smaller this value, the greater the degree of similarity between the fluorescent lamps, and the more likely to be misidentified.
[0030]
FIG. 5 shows the movement of the average minimum distance L min between the 12 types of CIE fluorescent lamps when the spectral sensitivity peak position (wavelength) of the X sensor (fourth sensor) is changed. As shown in FIG. 5, it can be seen that the L min is maximized in the vicinity of the X sensor peak wavelength of 675 nm. That is, in order to avoid misidentifying the CIE fluorescent lamps (12 types) as much as possible, the peak wavelength of the fourth sensor should be set to around 675 nm.
[0031]
Further, the similarity between the fluorescent lamp and the black body radiation source is also shown in FIG. From the results shown in FIG. 6, it can be seen that as the peak position of the spectral sensitivity of the fourth sensor becomes longer, the average minimum distance Lmin becomes larger, and misidentification between the fluorescent lamp and the blackbody radiation source is less likely to occur.
[0032]
From the above results, it can be said that it is optimal to set the peak position of the spectral sensitivity of the fourth sensor around 680 nm.
FIG. 7 summarizes the spectral sensitivity characteristics of each sensor in this case.
[0033]
This will be described in detail below.
Here, as the light source data, 12 types of CIE fluorescent lamps and 4 types of black body radiation light sources (both described above) were used, and the light source estimation program shown in the previous application was used. The sensor spectral sensitivity pairs were compared for three signal systems, four signal systems (X sensor peak wavelength 645 nm), and four signal systems (X sensor peak wavelength 675 nm).
[0034]
In addition, the light source estimation program according to the prior application described above is simply assumed that the input image is created under a certain light source (virtual light source), and the spectral reflectance of each pixel is assumed. If the virtual light source is different from the light source actually used for shooting (referred to as the “real-shot light source”), an abnormality (exceeding a reflectance of 1.0) is observed in the spectral reflectance. The light source that minimizes the reflectance anomaly is estimated as a real light source.
[0035]
Here, in addition to the three sensors (corresponding to the three-signal system) provided corresponding to the three primary colors of R, G, and B, the fourth sensor is 645 nm ((1) in the case of the four-signal system), Sensors having an absorption peak are arranged at 680 nm (2 in the case of a four-signal system), and these sensors are used.
[0036]
In general, the sensor output signal E ij Z when a subject illuminated with a black body radiation source having a certain color temperature or a certain type of fluorescent lamp is photographed can be expressed by the following equation (8). Here, Z indicates a black body radiation source having a color temperature T or a kind of fluorescent lamp.
[0037]
## EQU11 ##
Figure 2004177396
[0038]
Here, the sensor signal E ij Z is an integrated value including two unknown variables P Z (λ) and ρ i (λ), and P Z (λ) and ρ i (giving the sensor signal E ij Z ). Many possible combinations of λ) are possible. Therefore, in general, it is impossible to specify the light source P Z (λ), but it is considered that there are many possible combinations that are not mathematically contradictory but physically contradictory. If they are excluded, the light source can be estimated within a certain accuracy.
[0039]
Note that i in the spectral reflectance distribution ρ i (λ) of the subject in the above formula (8) is determined by the information form for obtaining data. That is, assuming a photographed image when a subject is photographed, information can be obtained from each pixel obtained by dividing the photographed image into a large number, so that the spectral reflectance distribution of the subject corresponding to the i-th pixel is ρ i. (Λ).
[0040]
When the equation (4) is substituted into the equation (8) and P Z (λ) is rewritten as P (T; λ), the sensor signal E ij Z becomes the following equation (9).
[0041]
[Expression 12]
Figure 2004177396
[0042]
Here, in order to obtain possible combinations of the light source and the subject under this condition, the color temperature T, which is one of the unknowns, is fixed and the spectral reflectance of the subject is restored. Thus, it is given an initial value to a weighting factor alpha ik, until the integral value of the right side of the equation (9) matches the sensor signal E ij Z, repeated optimization calculation of the weighting coefficients alpha ik. By using the converged weighting coefficient α ik , the spectral reflectance of the subject can be restored from the equation (4).
[0043]
An example of this is shown in FIG. In this example, the sensor signal E ij Z is set to E B = E G = E R = E X = 0.6, and the color temperature is changed to T = 3000K, 5000K, 7000K, and 9000K. At T = 3000K and 9000K, a part of the spectral reflectance exceeds the reflectance of 1.0, which is the physically inconsistent data (reflectance abnormality) described above. From this, it can be said that the possibility that the color temperature of the photographing light source is 3000K or 9000K is low.
[0044]
As described above, it is considered that the spectral reflectance restoration data can be used for estimating the color temperature. Several evaluation values that contribute to the estimation used at this time are also conceivable. Here, as one of them, emphasizing the fact that the spectral reflectance ρ i (λ) is 0 ≦ ρ i (λ) ≦ 1.0, the spectral reflectance ρ i (λ) is set to 1.0. Considering that the deviation from the “true color temperature” increases as the degree of excess increases, an evaluation value v as shown in Expression (10) is introduced.
[0045]
[Formula 13]
Figure 2004177396
[0046]
This evaluation value v is a function of the color temperature T, and V is a summation of many pixels. Here, V is represented by the following formula (11). Here, ρ i (λ) max represents the maximum value of ρ i (λ).
[0047]
[Expression 14]
Figure 2004177396
[0048]
FIG. 9 shows a schematic example of a change in the evaluation value V corresponding to the change in the color temperature described above. FIG. 9 shows a case where the light source type is a black body radiation light source having a color temperature of 5000 K. In the portion corresponding to the bottom of the U-shaped curve in the figure, the above-described spectral reflectance of the subject has a reflectance of 1. Since it can be said that the probability of exceeding 0 is the smallest, the color temperature corresponding to this can be estimated (identified) as the color temperature of the imaging light source.
[0049]
FIG. 10 illustrates a case where the light source type is the fluorescent lamp F1. When identifying the light source type including the fluorescent lamp, the evaluation value V of the above-described equation (11) is calculated with respect to the color temperature of the black body radiation light source and the type (12 types) of the fluorescent light source type. The color temperature or fluorescent lamp type corresponding to the minimum value of the letter-shaped or V-shaped curve is estimated as the light source type of the photographing light source. In FIG. 10, the light source type corresponding to the minimum value can be read as the fluorescent lamp F1.
[0050]
FIG. 11 is a flowchart showing the flow of the light source type identification operation here. Here, an example is given in which the density of a color negative film is measured, and the type of photographing light source is identified based on the result.
[0051]
Step 12: As a preparatory step, here, assuming various light source types (including the type of fluorescent light as described above), for the color negative film to be measured, give arbitrary four numerical pairs to the weighting coefficient α ik The spectral reflectance is restored by (Equation (4)), and E ij Z is calculated by Equation (8) and stored in the memory. By repeating this, a data pair of (α ik vs. E ij Z ) can be constructed. The calculation results may be tabulated.
[0052]
Step 14: In actual operation, photometric data (E ij 0 ) of a color negative film for an unknown light source type is obtained, and data E ij 0 and sensor output value E ij Z are obtained as shown in the following equation (12). Spectral reflectance (ie, α ik ) that minimizes the difference ΔE between the two is obtained. This can be done by using the large number of stored E ij Z as described above.
[0053]
[Expression 15]
Figure 2004177396
[0054]
Step 16: An evaluation value V is calculated for the spectral reflectance that minimizes ΔE, and a light source type corresponding to the minimum value of the evaluation value V is estimated as an imaging light source.
[0055]
Table 1 shows the correspondence to various light source types in (3) and (4) signal system (1) (when using X1 sensor) and (4) signal system (2) (when using X2 sensor). The point at which the evaluation value V became the minimum value is shown.
[0056]
[Table 1]
Figure 2004177396
[0057]
This table 1 shows how a certain light source type is identified by the light source type identification method according to the present embodiment, in a conventional method, that is, a three-signal system using only three sensors of R, G, and B. It is shown in the form of contrast with the case. As can be seen from the identification result column when the light source types are fluorescent lamps F1 to F12, this indicates that most of the light source types are correctly identified.
[0058]
Also, for example, the color temperature of black body radiation 5000K is 4419k in the case of a three-signal system (shown as 3ch input in Table 1), whereas when the X1 sensor is used (Table 1). In the case of 4ch input (indicated as 645nm), it is 4510K, and in the case of using the X2 sensor (indicated in Table 1 as 4ch input (675nm)), it is 4541K. As can be seen from the above, the effect of improving the accuracy is also obtained in the estimation of the color temperature.
[0059]
That is, according to the light source estimation program according to the prior application, when the photometric data (E ij 0 ) of a color negative film for an unknown light source type is obtained by introducing the fourth sensor, the color negative film There is an effect that it is possible to accurately identify the type of the light source used for photographing including the type of the fluorescent lamp.
[0060]
The input image data is reproduced as a color balanced image based on the light source type identified (estimated) using the above-described four R, G, B, and X sensors by the light source estimation program as described above. An image forming method will be described.
[0061]
The light source type estimated (identified) by the light source estimation program is ZE, and the light source type to be reproduced is Z0. In the case of shooting using a film for daylight shooting, Z0 matches the design of shooting with a daylight light source, and an image with a good color balance can be obtained. Here, for example, a light source that is desired to reproduce a light source of about 5500K blackbody radiation is referred to as Z0.
[0062]
The sensor output Eij Z corresponding to the photographic light source Z is given by the above-described equations (8) and (9), and this is also tabulated for each of the various light sources Z in the above-mentioned preparatory step (see paragraph 0051). And stored in the memory.
[0063]
Here, it is assumed that sensor outputs Eij ZE (j = R, G, B, X) for each color spectral sensitivity are obtained for the estimated light source type ZE.
On the other hand, for the light source type Z0 to be reproduced, the sensor output Eij Z0 (j = R, G, B, X) for each color spectral sensitivity is obtained by referring to the above table.
[0064]
Under the above situation, the sensor output Eij ZE (j = R, G, B, X) becomes the sensor output Eij Z0 for the gray portion (or the average portion considered in LATD) i in the input image. A coefficient matrix such that (j = R, G, B, X) is obtained.
[0065]
[Expression 16]
Figure 2004177396
[0066]
More specifically, it is as follows.
[Expression 17]
Figure 2004177396
Here, the coefficient C may be zero.
[0067]
The number of elements in the above equation may be at least three colors. If the sensitivity is three colors of R, G, and B that are used for normal photographing, the term of X need not be considered.
In this case, where the coefficient matrix A is a diagonal matrix, the sensitivity ratio of the spectral sensitivities of the respective colors is adjusted according to the difference in the type of light source, that is, the gray balance is adjusted.
[0068]
By the conversion process, a balance-adjusted image (that is, the image with the light source type Z0) is calculated from the acquired image (that is, the image with the light source type ZE).
In order to actually output this as an image, various color signal processing or the like may be performed on the signal of the balance-adjusted image.
[0069]
For example, device-dependent color signal conversion for obtaining an appropriate output is exemplified. Also, the above-balanced image signal may be logarithmically processed and treated as an exposure density, and converted to a density signal for use in printing with a photosensitive material having excellent color reproduction. An appropriate combination of these is also effective.
[0070]
In the above description, an example in which a photosensitive material (color negative film) is used as a photographing material has been described. However, the present invention is not limited to this, and is attached to the spectral sensitivity characteristics of a so-called digital camera (DSC). However, it can be handled in exactly the same way.
[0071]
In the above conversion formula, the case where the coefficient matrix A is a diagonal matrix has been described. However, the present invention also includes color conversion in which the coefficient matrix A has a non-diagonal component (the following formula (3) )reference).
[0072]
[Expression 18]
Figure 2004177396
[0073]
For this purpose, the coefficient matrices A and C may be obtained for data including abundant colors exemplified by the Macbeth color checker, and the subsequent processing may be performed in the same manner as in the above embodiment. As an effect in this case, it is possible to perform color matching for colors other than the gray portion.
[0074]
Further, here, as an example of color correction, a case where linear conversion of a signal is performed has been described as an example. It is possible to implement within the range.
Further, in order to leave the atmosphere of the imaging light source, the sensor output Eij Z0 (j = R, G, B, X) obtained by the expression (1) and the sensor output Eij ZE (j = R, G, X) of the imaging light source are obtained. B, X) may be effective in some cases, and this can also be carried out within the scope of the image forming method according to the present invention.
[0075]
The above embodiment shows an example of the present invention, and the present invention is not limited to this, and appropriate changes and improvements may be made without departing from the scope of the present invention. It goes without saying.
[0076]
For example, as the above-described color conversion processing, Japanese Patent Application No. 9-338639 “Image Processing Method and Apparatus” (Japanese Patent Application Laid-Open No. 11-177732) and Japanese Patent Application No. 10-311090 related to the prior application of the present applicant. Various processes such as “color correction method and apparatus” (see JP 2000-137305 A) can be applied.
[0077]
【The invention's effect】
As described above in detail, according to the image generation method according to the present invention, after performing identification (estimation) of the light source type using at least a part of the reflected light from the light source of the light source type identification target, Since the image data conversion is performed based on the color conversion method defined from the sensor output obtained from the estimated light source type and the desired (reference) light source type, the type of photographing light source, that is, the light source type It is possible to obtain a remarkable effect that it is possible to realize an image forming method capable of performing appropriate image processing based on the estimation result.
[Brief description of the drawings]
FIGS. 1A to 1D are diagrams showing schematic characteristics of 12 types of fluorescent lamps (F1 to F12) defined by CIE.
FIG. 2 is a diagram for explaining the concept of black body radiation at a color temperature T;
FIG. 3 is a diagram illustrating a spectral distribution of an eigenvector of a subject.
FIG. 4 is an explanatory diagram of a light source similarity index that is the principle of the present invention.
FIG. 5 is an explanatory diagram showing the movement of the average minimum distance between fluorescent lamps when the peak position (wavelength) of the spectral sensitivity of the X sensor according to the embodiment is changed.
FIG. 6 is an explanatory diagram showing a change in similarity when a fluorescent lamp and a black body light source are included.
FIG. 7 is a diagram illustrating spectral sensitivities of R, G, B, and X sensors used in the embodiment.
FIG. 8 is a diagram illustrating a situation where the spectral reflectance of a subject is restored.
FIG. 9 is a diagram illustrating a relationship between a color temperature T and an evaluation value V in an embodiment.
FIG. 10 is a diagram illustrating the relationship between a color temperature T, 12 types of fluorescent lamps, and an evaluation value V in the embodiment.
FIG. 11 is a flowchart showing a flow of a light source type identification operation in the embodiment.
[Explanation of symbols]
12, 14, 16 processing steps

Claims (7)

入力画像の画像データを読み取って、これに必要な補正を加える画像形成方法であって、
撮像系を構成するセンサとして、一般的なカラー画像の解析に用いられるR,G,B3色に対応する分光感度を有するセンサに加えて、前記R,G,B3色に対応する分光感度と重複しない分光感度を有する第4のセンサXを配して、
これらR,G,B,X4つのセンサから得た情報を用いて光源種を推定し、
上記推定された光源種で得られるセンサ出力と所望の光源種で得られるセンサ出力とから定義される色変換方法により、上記推定された光源種で得られるセンサ出力値を用いることを特徴とする画像形成方法。
An image forming method for reading image data of an input image and adding necessary corrections thereto,
In addition to sensors having spectral sensitivities corresponding to R, G, B3 colors used for general color image analysis as sensors constituting the imaging system, they overlap with the spectral sensitivities corresponding to the R, G, B3 colors. A fourth sensor X having a spectral sensitivity that is not
Using the information obtained from these four R, G, B, and X sensors, the light source type is estimated,
A sensor output value obtained with the estimated light source type is used by a color conversion method defined by a sensor output obtained with the estimated light source type and a sensor output obtained with a desired light source type. Image forming method.
前記第4のセンサXとして、前記Rセンサの有する吸収のピークよりも30nm以上長波側で、かつ、700nm以下の領域に吸収のピークを有するものを用いることを特徴とする請求項1に記載の画像形成方法。2. The sensor according to claim 1, wherein the fourth sensor X is one having an absorption peak in a region longer than 30 nm and 700 nm or less than the absorption peak of the R sensor. Image forming method. 前記第4のセンサXとして、前記GセンサとBセンサの中間に吸収のピークを有し、かつ、500nm〜520nmの領域に吸収のピークを有するものを用いることを特徴とする請求項1に記載の画像形成方法。2. The sensor having an absorption peak in the middle of the G sensor and the B sensor and having an absorption peak in a region of 500 nm to 520 nm is used as the fourth sensor X. Image forming method. 前記色変換方法は、前記入力画像中のグレイ部分もしくはこれに準ずる部分に関し、その推定された光源種に対応するセンサ出力EijZEが、基準光源に対応するセンサ出力EijZ0となるように補正するものであることを特徴とする請求項1〜3のいずれか1項に記載の画像形成方法。
Figure 2004177396
The color conversion method corrects the sensor output Eij ZE corresponding to the estimated light source type to the sensor output Eij Z0 corresponding to the reference light source with respect to the gray portion in the input image or a portion equivalent thereto. The image forming method according to claim 1, wherein the image forming method is one.
Figure 2004177396
前記センサ出力EijZE→EijZ0の補正は、
Figure 2004177396
となるような係数行列A,Cを求めるものであることを特徴とする請求項4に記載の画像形成方法。
ここで、係数行列Cは0であってもよい。
The sensor output Eij ZE → Eij Z0 is corrected as follows:
Figure 2004177396
5. The image forming method according to claim 4, wherein the coefficient matrices A and C are calculated as follows.
Here, the coefficient matrix C may be zero.
前記センサ出力EijZE→EijZ0の補正は、
Figure 2004177396
となるような係数行列A,Cを求めるものであることを特徴とする請求項5に記載の画像形成方法。
ここで、係数行列Cは0であってもよい。
The sensor output Eij ZE → Eij Z0 is corrected as follows:
Figure 2004177396
6. The image forming method according to claim 5, wherein the coefficient matrices A and C are calculated as follows.
Here, the coefficient matrix C may be zero.
前記センサ出力EijZE→EijZ0の補正は、
Figure 2004177396
となるような係数行列A,Cを求めるものであることを特徴とする請求項5に記載の画像形成方法。
ここで、係数行列Cは0であってもよい。
The sensor output Eij ZE → Eij Z0 is corrected as follows:
Figure 2004177396
6. The image forming method according to claim 5, wherein the coefficient matrices A and C are calculated as follows.
Here, the coefficient matrix C may be zero.
JP2003056784A 2002-10-04 2003-03-04 Image forming method Expired - Fee Related JP4098122B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2003056784A JP4098122B2 (en) 2002-10-04 2003-03-04 Image forming method
US10/678,632 US7206072B2 (en) 2002-10-04 2003-10-06 Light source type discriminating method, image forming method, method and apparatus for estimating light source energy distribution, and exposure amount determining method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002292032 2002-10-04
JP2003056784A JP4098122B2 (en) 2002-10-04 2003-03-04 Image forming method

Publications (2)

Publication Number Publication Date
JP2004177396A true JP2004177396A (en) 2004-06-24
JP4098122B2 JP4098122B2 (en) 2008-06-11

Family

ID=32715670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003056784A Expired - Fee Related JP4098122B2 (en) 2002-10-04 2003-03-04 Image forming method

Country Status (1)

Country Link
JP (1) JP4098122B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006126189A (en) * 2004-10-29 2006-05-18 Agilent Technol Inc Method and apparatus for distinguishing sensed light environment
US8059165B2 (en) 2008-04-15 2011-11-15 Canon Kabushiki Kaisha Color processing apparatus, image processing apparatus, and method therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006126189A (en) * 2004-10-29 2006-05-18 Agilent Technol Inc Method and apparatus for distinguishing sensed light environment
US8059165B2 (en) 2008-04-15 2011-11-15 Canon Kabushiki Kaisha Color processing apparatus, image processing apparatus, and method therefor

Also Published As

Publication number Publication date
JP4098122B2 (en) 2008-06-11

Similar Documents

Publication Publication Date Title
US6956967B2 (en) Color transformation for processing digital images
JP4287179B2 (en) Method for automatic white balance of digital images
US7146041B2 (en) Method and apparatus for correcting white balance, method for correcting density and recording medium on which program for carrying out the methods is recorded
JP4478358B2 (en) Digital image processing method and apparatus for brightness adjustment of digital image
US5767983A (en) Color copying apparatus for determining exposure amount from image data of an original image and a reference image
US7206072B2 (en) Light source type discriminating method, image forming method, method and apparatus for estimating light source energy distribution, and exposure amount determining method
US4974017A (en) Method of determining exposure
US5719661A (en) Image reproducing apparatus and method of determining reproduction conditions
JP3338569B2 (en) Color temperature estimation method, color temperature estimation device, and exposure amount determination method
JP4098122B2 (en) Image forming method
JP4139705B2 (en) Identification method of light source type
JPH04159534A (en) Printing method for photograph printing device
US5703672A (en) Method of making a photographic print
JP3583184B2 (en) Color copier
JP2502131B2 (en) Method for determining photoprint exposure
JP2520020B2 (en) Exposure amount determination method for image copying apparatus
JP2004279186A (en) Method and apparatus for estimating light source energy distribution, and method for determining exposure amount
JP2515382B2 (en) Exposure amount determination method for image copying apparatus
JP3903103B2 (en) How to create a photo print
JP2625269B2 (en) Method for estimating spectral distribution of film
JP2625271B2 (en) Exposure determination method
JPH08262597A (en) Color copying device
JP3029918B2 (en) Method and apparatus for determining exposure amount of copying apparatus
JP2520021B2 (en) Exposure amount determination method for image copying apparatus
JP2625270B2 (en) Exposure determination method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060906

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070409

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070703

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070903

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080312

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110321

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120321

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120321

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130321

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130321

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140321

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees