JP4532682B2 - Method and apparatus for converting color image data under different light sources, and medium recording program for color image data conversion - Google Patents

Method and apparatus for converting color image data under different light sources, and medium recording program for color image data conversion Download PDF

Info

Publication number
JP4532682B2
JP4532682B2 JP2000196410A JP2000196410A JP4532682B2 JP 4532682 B2 JP4532682 B2 JP 4532682B2 JP 2000196410 A JP2000196410 A JP 2000196410A JP 2000196410 A JP2000196410 A JP 2000196410A JP 4532682 B2 JP4532682 B2 JP 4532682B2
Authority
JP
Japan
Prior art keywords
color
image data
light source
represented
photographing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000196410A
Other languages
Japanese (ja)
Other versions
JP2002016935A (en
Inventor
真次 芝野
泰広 岡田
祐子 福井
幸久 勝元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Japan Research Institute Ltd
Suntory Holdings Ltd
Original Assignee
Japan Research Institute Ltd
Suntory Holdings 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 Japan Research Institute Ltd, Suntory Holdings Ltd filed Critical Japan Research Institute Ltd
Priority to JP2000196410A priority Critical patent/JP4532682B2/en
Publication of JP2002016935A publication Critical patent/JP2002016935A/en
Application granted granted Critical
Publication of JP4532682B2 publication Critical patent/JP4532682B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Processing Of Color Television Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

【0001】
【技術分野】
この発明は外光条件が異なるなど,参照(または標準)とすべき光源下とは異なる光源下で撮影された対象物の画像データを参照光源下で得られるであろう画像データに変換ないしはシミュレートするための方法,装置,および画像データ変換のためのコンピュータ・プログラムを格納した媒体に関する。
【0002】
【背景技術】
同一の対象物でも撮影条件,特に光源の違い(光を発する特定の器機のみならず,晴天,曇天,雨天等の天候が異なる場合も光源が異なるという)により,撮影により得られた画像の色あいが大きく異なる。このため種々の問題がある。
【0003】
たとえば,気象条件等の異なる各地の農場で花を栽培し,開花した直後にそのときの撮影条件下で農家が撮影したディジタルカメラ画像を電送してきた場合,各画像の撮影時の外光環境やカメラ性能などの撮影条件により花の色合いが種々異なるため,標準測色空間における測色計値を得ることができない。また陳列や広告をしている服が,各種外光環境下でどのような色合いに見えるかを予測することができれば経費節減または販売促進に有効である。たとえば室内環境で展示している服が外の光のもとでどのような色合いにみえるかを見せることができる。さらに遠隔地医療において,電送されてきた患者の顔色や患部のディジタル画像では肉眼で見た場合と色合いが異なり,判定に支障をきたすことがありうる。
【0004】
【発明の開示】
この発明は対象物を一の光源(撮影光源という)下で撮影(測色を含む)することにより得られる画像データを他の光源(参照光源という)で撮影(測色を含む)することにより得られるであろう画像データに変換する,換言すれば参照光源下で得られるであろう画像データをシミュレートする方法,装置,およびその処理をコンピュータに実行させるプログラムを記録した媒体を提供することを目的とする。
【0005】
この発明はまた,ユーザの操作性にすぐれたコンピュータ,その動作方法およびコンピュータを制御するための記録媒体を提供するものである。
【0006】
この発明の方法においては,複数の異なる色のカラーパレットが配列されたカラープレートを用いる。カラーパレットの色は色空間において可能な限り色空間の全体の色を代表するように均等に選択されることが好ましい。カラーパレットの数は後述する画像データ変換の誤差ができるだけ小さくなるように定めることが好ましい。
【0007】
この発明方法においては,まず参照光源下におけるカラープレートの参照画像データを作成する。参照光源とは最も一般的には標準光源であるが,用途によってはどのような光源でもよい。後述する撮影光源を他の画像データ変換のための参照光源とすることもできる。参照画像データの作成方法には種々の態様がある。最も代表的には,カラープレートを参照光源下で実際に撮影して(測色して)得られる画像データを参照画像データとすることである。カラープレートの複数のカラーパレットの色として画像データ(L* ,a* ,b* ,X,Y,Z,Y,x,y,R,G,Bの値など)が既知の場合(または予想できる場合)には,その値を参照画像データとして採用することができる。たとえば,その値を参照画像データとしてコンピュータに登録する。このような場合には参照光源は実在しない架空のものとなる。参照光源はこのように実在しないものも含む。
【0008】
次にこの発明では,撮影光源下で上記と同じカラープレートおよび対象物を撮影することにより,上記カラープレートの撮影画像データおよび対象物についての対象画像データを得る。撮影には最も好ましくはディジタルカメラが用いられよう。遠隔地で撮影により得られた画像データを通信回線を通して伝送してもよい。撮影光源とは各種照明灯のような人工的な光源のみならず,太陽光でもよい。太陽光の場合には,天候,時刻等によりそれぞれ光が異なるので,それぞれは互いに異なる撮影光源と考えてよい。
【0009】
この発明の方法によると,上記カラープレートの参照画像データと撮影画像データとを用いて撮影色空間から参照色空間への色空間の変換式を求め,上記色空間変換式を用いて上記対象画像データを参照光源下において得られるであろう画像データに変換する。この変換は撮影色空間から参照色空間への変換といえる。色空間変換式の算出および画像データの変換は最も一般的にはコンピュータにより実行されるであろう。
【0010】
このようにして,この発明によると,一の光源(撮影光源)の下での撮影により得られた画像データを他の光源(参照光源)の下で得られるであろう画像データに変換(シミュレート)することができる。したがって,背景技術で説明したようなさまざまな場合に,所望の光源下での色合いを予測することができるようになる。
【0011】
好ましい実施態様では,カラープレートの参照画像データおよび撮影画像データをL*** 表色系により表わし,明度指数L* ならびに知覚色度指数a* およびb* のそれぞれについて,撮影色空間から参照色空間への色空間変換式を求め,明度指数L* ならびに知覚色度指数a* およびb* のそれぞれについて,上記色空間変換式を用いて上記対象画像データを参照光源下において得られるであろう画像データに変換する。
【0012】
*** 表色系における画像データを用いると色空間変換式を線形関数で表現することが可能となり,取扱いまたは処理が容易ないしは簡素となる。
【0013】
さらに好ましい実施態様では,明度指数L* ならびに知覚色度指数a* およびb* のそれぞれについて,その範囲を複数の区画に分割し,区画ごとに直線近似式を求めて色空間変換式とする。画像データの存在する範囲を複数の区間に分割し,区間ごとに色空間変換式を求めているから,誤差を少なくすることができる。
【0014】
コンピュータ・システムを用いて画像データ変換を行う実施態様では,表示画面上に,各カラーパレットを表わす参照画像データと撮影画像データとによって定まる点をカラーパレットごとに直交座標上に描き,かつ求められた変換式によって表わされるグラフを描いて表示する。ユーザはどのような変換が行なわれているかを視認することができる。
【0015】
上記のようにコンピュータを動作させるためのプログラムは次のように規定することができる。
【0016】
すなわち,このプログラムは,複数の異なる色のカラーパレットが配列されたカラープレートの参照光源下において得られる参照画像データと,撮影光源下で上記カラープレートを撮影することにより得られる上記カラープレートの撮影画像データとを用いて撮影色空間から参照色空間への色空間の変換式を求め,表示画面上において,各カラーパレットを表わす参照画像データと撮影画像データとによって定まる点をカラーパレットごとに直交座標上に描き,かつ求められた変換式によって表わされるグラフを描いて表示し,撮影光源下で対象物を撮影することにより得られる対象画像データを,上記色空間変換式を用いて,参照光源下において得られるであろう画像データに変換するようにコンピュータを制御するものである。この発明はこのようなプログラムを記録した媒体を提供している。
【0017】
*** 表色系を用いた場合には,明度指数L* ならびに知覚色度指数a* およびb* のそれぞれについて,表示装置の表示画面上において,各カラーパレットを表わす参照画像データと撮影画像データとによって定まる点をカラーパレットごとに直交座標上に描き,かつ求められた変換式によって表わされるグラフを描いて表示する。
【0018】
コンピュータを用いた他の実施態様では,カラープレートの参照画像データによって表わされる色を,カラーパレットごとに区分して表示装置に表示する。ユーザは参照光源下でのカラープレートの色合いを知ることができる。
【0019】
さらに好ましい態様では,カラーパレットの参照画像データによって表わされる色および撮影画像データによって表わされる色のそれぞれをカラーパレットごとに区分してかつ参照画像データによって表わされる色と撮影画像データによって表わされる色とを対比させた形態で表示装置に表示する。ユーザは参照光源下でのカラープレートの色合いと撮影光源下でのカラープレートの色合いを対比して見ることができる。
【0020】
このようにコンピュータを制御するプログラムは,複数の異なる色のカラーパレットが配列されたカラープレートの参照光源下において得られる参照画像データと,撮影光源下で上記カラープレートを撮影することにより得られる上記カラープレートの撮影画像データとを用いて,上記カラーパレットの参照画像データによって表わされる色および撮影画像データによって表わされる色のそれぞれをカラーパレットごとに区分してかつ参照画像データによって表わされる色と撮影画像データによって表わされる色とを対比させた形態で表示装置に表示し,上記カラープレートの参照画像データと撮影画像データとを用いて撮影色空間から参照色空間への色空間の変換式を求め,撮影光源下で対象物を撮影することにより得られる対象画像データを,上記色空間変換式を用いて,参照光源下において得られるであろう画像データに変換するようにコンピュータを制御するものである。この発明はこのようなプログラムを記録した媒体も提供している。
【0021】
一層好ましい実施態様ではカラーパレットが複数列複数行に配置されたカラーパレットを用いる。コンピュータを用いて,カラーパレットの参照画像データによって表わされる色および撮影画像データによって表わされる色のそれぞれを複数列複数行に配置し,かつ参照画像データによって表わされる色の列または行と撮影画像データによって表わされる色の列または行とを交互に配置して表示する。参照光源下でのカラーパレットの色合いと撮影光源下でのカラーパレットの色合いとを一層良く対比することが可能である。
【0022】
他の実施態様では,コンピュータ・システムを用いて,対象物を表わす対象画像データによって表わされる対象画像を表示画面に表示し,上記変換式により変換された対象画像データによって表わされる画像を表示画面に表示する。ユーザは変換前後の対象画像の色合いを視認することができる。
【0023】
さらに他の実施態様では,対象物を表わす対象画像データによって表わされる対象画像を表示画面に表示し,表示された対象画像において指定された領域内に含まれる対象画像データを変換式により変換する。ユーザは所望の範囲を指定して変換することができる。指定した範囲が小さければ処理時間を短縮できる。
【0024】
さらに他の実施態様では,対象物を表わす対象画像データによって表わされる対象画像を表示画面に表示し,表示された対象画像上で指定された画素の画像データを表示する。ユーザは対象画像上の所望の画素の画像データを知ることができる。
【0025】
さらに好ましくは,多数の既知の色についての画像データを含むカラーチャート画像データをあらかじめ用意しておく。たとえばコンピュータに入力しておく。少なくとも色差についての条件を含む検索条件の入力に応答して,上記の指定された画素の画像データに関して検索条件を満たす画像データを上記カラーチャート画像データにおいて検索し,検索結果を表示する。ユーザは指定した画素の画像データがカラーチャート上のどの色に似ているかを数値(色差)で確認することができる。
【0026】
上記の検索結果は,一実施態様では,検索により見つかった画像データによって表わされる色とその名前と色差とを含むデータにより表示される。
【0027】
この発明による画像データ変換装置は,複数の異なる色のカラーパレットが配列されたカラープレートの参照光源下において得られる参照画像データの第1の入力手段,撮影光源下で上記カラープレートおよび対象物を撮影することにより得られる上記カラープレートの撮影画像データおよび対象画像データの第2の入力手段,上記カラープレートの参照画像データと撮影画像データとを用いて撮影色空間から参照色空間への色空間の変換式を求める第1の手段,ならびに上記色空間変換式を用いて上記対象画像データを参照光源下において得られるであろう画像データに変換する第2の手段を備えている。
【0028】
第1の入力手段には画像データをディジタルカメラや記録媒体から取込む装置や数値データを入力する装置,画像データを通信により受信する装置等が含まれる。第2の入力手段には画像データをディジタルカメラや記録媒体から取込む装置や画像データを通信により受信する装置等が含まれよう。
【0029】
この発明はさらに,上述したプログラムがインストールされるコンピュータ装置もまた提供している。
【0030】
【実施例】
図1は光源の違いによる対象画像の色変化をシミュレート(ディジタル画像データの色変換)する装置の構成を示すブロック図である。
【0031】
このシミュレーション装置はコンピュータ・システムにより実現される。コンピュータ・システムは,コンピュータ10,プログラムメモリ11,記憶装置(データベース)12,表示装置(CRTまたはLCD)13,マウス,キーボードを含む入力装置14,FDドライブ15,CD−ROMドライブ16,MOドライブ17,ディジタルカメラインターフェイス18,およびメモリカードインターフェイス19を備えている。
【0032】
プログラムメモリ11は後に詳述する色変化のシミュレーション,その他の処理を実行するプログラムを格納するもので,通常はハードディスク装置または半導体メモリにより実現される。
【0033】
記憶装置12もまたハードディスク装置または半導体メモリにより実現される。記憶装置12は,色変化のシミュレーション,その他の処理に必要なデータを格納するもので,カラープレートの参照画像データを記憶する領域12A,表示用色変換データを格納する領域12B,カラーチャート画像データ(RHS)を格納する領域12C,カラーチャート画像データ(JHS)を格納する領域12D,およびユーザ画像データを格納する領域12Eを含む。
【0034】
カラーチャート画像データとは,既知の(または特定のないしは定められた)複数の色について,色の色識別記号(色名,色の名前を含む)と色を表わす画像データとをそれぞれ対応させたもの(ファイル)であり,具体的にはRHS(英国王立園芸協会:The Royal Horticultural Society )発行の色票やJHS((財)日本色彩研究所発行の「日本園芸植物標準色票」)などがある。カラーチャートは色票,色票カード,配色カードとも呼ばれる。
【0035】
色変化のシミュレーションのためにカラープレートが用いられる。カラープレートは1枚(色の数が多い場合には複数枚に分けてもよい)の板状体(シートを含む)上に,複数の色を場所を互いに異ならせて表わしたものである。端的に言えば,1枚の板状体の表面を複数の領域に分割し(たとえば,縦方向および横方向に複数に分割する),各領域に異なる色を表わしたものである。板状体の各領域に異なる色を塗る,または着色されたシートを貼るなどにより,異なる色が表わされる。カラープレートは耐久性のあることが好ましい。光の反射も考慮する(たとえば鏡面のように反射するものは避ける)。できるだけ誤差の少ないシミュレーションができる範囲で色の数を選定することが好ましい。色の数が少なくても,多すぎても誤差が生じやすい。具体的には数十色(たとえば60色)程度がよい。これらの色は,可能な限り色空間内のすべての色を代表するように均等に選択される。異なる色が表わされた領域をパレットという。カラープレートは複数の異なる色のパレットを備えているといえる。
【0036】
領域12Aに記憶されるカラープレートの参照画像データは,参照光源下でカラープレートを測色(撮影)することにより得られるカラープレートのパレットごとのカラー画像データである。カラー画像データはさまざまな表色系により表わされるが,この実施例ではカラープレートの参照画像データはL*** 表色系で表わされている(L* は明度指数,a* ,b* は知覚色度指数である)。したがって,この領域12Aには,参照画像データ名(ファイル名),カラープレートのパレット数,ならびにパレットごとの色名およびL* ,a* ,b* 値が格納されている。色名とはカラーパレットの色を表わす名前である。この色名は自由に付けることもできるし,もし上述したカラーチャート(RHS,JHS)に含まれる色をカラーパレットに用いている場合にはカラーチャートの色識別記号を色名として用いることもできる。複数の参照画像データ(ファイル)が存在してもよい。たとえば,異なる参照光源が用いられた場合には複数の参照画像データが得られる。参照画像データ名(ファイル名)はこれらの複数の参照画像データを識別するためのものである。
【0037】
最も一般的には,カラープレートの参照画像データは参照光源下で実際にカラープレートを測色(ディジタルカメラ等による撮影を含む)することにより得られた画像データである。参照光源には,いかなる光源(太陽光を含む)を用いてもよい。最も標準的には参照光源は標準光源C(相対色温度が6774Kの光を出す光源)である。後述するユーザ画像データに含まれるカラープレートの撮影画像データもカラープレートの参照画像データとして用いることも可能である。この場合には,参照光源は撮影画像データを得たときの撮影において用いられた光源である。画像データは光源の影響を強く受けるが,撮影に用いるディジタルカメラの機種の違いによる影響は小さい。参照光源には実際には存在しない架空の光源も含まれる。たとえば,カラープレートの参照画像データを人為的に作成して(または,たとえば上述したカラーチャートの画像データのように,カラーパレットに応じてあらかじめ定められたものを用いて)コンピュータ10に入力して領域12Aに蓄えるようにしてもよい。これらのすべての態様を含めて,「参照光源下でカラープレートを測色することにより得られたカラープレートの参照画像データ」,または「参照光源下で作成されたカラープレートの参照画像データ」という。
【0038】
表示装置13,たとえばCRT表示装置は,表示色が個々に異なる場合があるし,経時変化などにより表示色が変わることがある。一つの画像データでも表示装置によって,または時間を異にすると,異なる色に表示されることがある。このような表示装置における表示色を補正するためのデータが領域12Bに格納される表示用変換データ(L*** /RGB変換のための式)である。特定の色,たとえば赤,緑,青,白(これらを指示するのがIDである)について,それを表わすL* ,a* ,b* 値(国際規格に基づく指標)と,それらの色を表示装置上に正しく表示させるための画像データY,x,yとが格納されている。上記の4つの色以外については補間により画像データの変換が行なわれる。変換のための式はテーブル等で実現してもよい。表示装置に表示するときにL*** からRGBへの変換が,表示装置の画面上で指定された色を取込むときにはRGBからL*** への変換が行なわれる。
【0039】
画像データY,x,yはXYZ表色系における値である。すなわち,XYZ表色系では刺激値X,Y,Zが用いられるが,色度x,yは刺激値X,YをそれぞれX+Y+Zで基準化した値である。RGB表色系とXYZ表色系とは一次式により相互に変換が可能である。
【0040】
領域12Cにはカラーチャート画像データ(RHS)において,カラーチャートを構成する色ごとの色識別記号,グループ名,L*** 表色系におけるL* ,a* ,b* 値,RGB表色系におけるR,G,B値,マンセル表色系における色相H,明度V,クロマC,ハンター均等知覚色空間における明度指数L,知覚色度指数a,b,ならびにXYZ表色系における刺激値Yおよび色度x,yが格納されている。グループ名(色系統名)とは,ユーザにカラーチャートの各色を直感的に分りやすくするために赤色系,黄色系,ピンク系というように色系統に分けたときのその色系統を表わすもの(記号)である。領域12Dにはカラーチャート画像(JHS)について同様のデータが格納されている。
【0041】
領域12Eには,ユーザが撮影したカラープレートの画像データ(カラープレートの撮影画像データという)とユーザが撮影した対象物の画像データ(対象画像データという)とが相互に関連づけて格納されている。カラープレートの撮影画像データと対象画像データとの対を特定するのがファイル名である。
【0042】
ユーザは対象物が置かれた,または存在する場所(現場)において,その場所で利用可能な光源(撮影光源という,太陽光,室内光,ストロボ光など)を用いて,ディジタルカメラ(または測色計)を用いて,対象物を撮影する。対象物とカラープレートとの両方を視野内に収めて同時に撮影する場合もあるし,同一の撮影光源下で別個に撮影する場合もある。いずれにしても撮影により得られたカラープレートの撮影画像データおよび対象画像データは相互に関連づけられて(たとえば1つのファイルに入れられて)領域12Eに格納される。
【0043】
これらの画像データは,画素ごとに,L*** 表色系におけるL* ,a* ,b* 値,RGB表色系におけるR,G,B値,マンセル表色系におけるH,V,C値,ハンター均等知覚色空間における明度指数L,知覚色度指数a,b,ならびにXYZ表色系における刺激値Yおよび色度x,yのうちの1つまたは2つ以上によって表わされている。これらの表色系間の相互変換は公知の手法により可能である。
【0044】
表示装置13は,後に詳述するように,カラープレートの参照画像,カラープレートの撮影画像,対象画像,色空間変換のグラフ,各種の数値,および処理を進めるためのモード,ボタン類を表示する。
【0045】
入力装置14は表示装置13の表示にしたがって処理を進めるための命令(マウスのクリック),マウスによる表示画面上の場所の指定,参照画像データ等のデータ値の入力等を行うためのものである。
【0046】
FDドライブ15はFDからのデータの読取り,FDへのデータの書込みを行う。たとえば,参照画像データ,カラーチャート画像データ,ユーザ画像データ等がFDに格納されている場合には,FDドライブ15はこれらの画像データをFDから読取る。読取られた画像データはコンピュータ10によって記憶装置12の対応する領域(12A,12C,12D,12Eなど)に記憶される。
【0047】
CR−ROMドライブ16はCD−ROMからデータを読取るものである。たとえばCD−ROMには色変換のシミュレーション等のためのプログラムが格納されている。このプログラムはCD−ROMからドライブ16によって読取られ,プログラムメモリ11に記憶される。MOドライブ17はFDまたはCD−ROMに代えて画像データやプログラムがMO(磁気光学または光磁気)ディスクに収められている場合に使用される。
【0048】
上述したようにカラープレートがディジタルカメラを用いて参照光源下で撮影されることがある。また,カラープレートおよび対象物がディジタルカメラを用いて撮影光源下で撮影される。ディジタルカメラにおいて得られたこれらの画像データはディジタルカメラインターフェイス18を通してディジタルカメラからコンピュータ10に転送され,記憶装置12内の対応する領域(12Aまたは12E)に格納される。
【0049】
ディジタルカメラにおいて得られた画像データがメモリカードに格納されている場合には,そのメモリカードがメモリカードインターフェイス19に接続される。メモリカードからコンピュータ10によってインターフェイス19を通して画像データが読取られ,記憶装置12の対応する領域に格納される。
【0050】
さらにシミュレーション装置のコンピュータ10にはMODEMを含む通信装置と通信(インターネット通信を含む)のためのプログラムが必要に応じて設けられる。公衆回線,専用回線またはインターネットを通して伝送されてきたユーザ画像データは記憶装置12の領域12Eに格納される。
【0051】
図2はカラープレートの参照画像とカラープレートの撮影画像の例を示すものである。カラープレートは5行3列計15個のパレットを備えている。これらのカラーパレットの色をそれぞれC1〜C15(Cn:n=1〜15)で表わす。
【0052】
参照画像において,カラープレートのカラーパレットの色C1〜C15を参照光源下で撮影(測色を含む)することにより得られたカラー画像データがそれぞれC1,1 〜C15,1(Cn,1 )で表わされている。同じように,同じカラープレートのカラーパレットの色C1〜C15を撮影光源下で撮影(測色を含む)することにより得られた画像データがそれぞれC1,2 〜C15,2(Cn,2 )で表わされている。各カラーパレットは均一な色を表現しているので,一つの画像データによって表わされるものとする(カラーパレットに色むらがある場合には,カラーパレットを表わす画素の画像データの平均値を採用すればよい)。
【0053】
参照光源下での参照画像データCn,1 と撮影光源下での撮影画像データCn,2 との間には光源の違いに基づく違いがある。これらの違いはすべての可視色の範囲で(カラープレート上のカラーパレットの色の範囲で)一般的には,きわめて複雑な関数によって表わされることが予想される。
【0054】
しかしながら,発明者らが行った検証作業によると,画像データをL*** 表色系で表現し,明度指数L* ならびに知覚色度指数a* およびb* のそれぞれにおいて,それらのとりうる値の範囲を複数の(好ましくは4〜5程度の)区間(区画)に分割すると,各区間において,参照画像データと撮影画像データとの間の関係は線形近似できることが分った。
【0055】
その様子が図3に示されている。図3において,(A) は明度指数L* を,(B) ,(C) はそれぞれ知覚色度指数a* ,b* をそれぞれ示すものであり,これらのグラフにおいていずれも横軸が参照画像データ(L* ,a* ,b* をL1,a1,b1でそれぞれ表わす),縦軸が撮影画像データ(L* ,a* ,b* をL2,a2,b2でそれぞれ表わす)である。これらのグラフにおいて,カラープレート上のカラーパレットの各色C1〜C15を表わす参照画像データと撮影画像データによって定まる座標上の点が黒丸で示されている。
【0056】
横軸上の全範囲(L* ,a* ,b* のレンジ)が4つの区間(区間はあらかじめ定めておくことが好ましい)に分割され,各区間において参照画像データと撮影画像データとの関係について最小2乗近似(1次)を行い,これにより得られた1次近似直線が示されている(1次近似直線は3点で折れる折れ線である)。
【0057】
これらの1次近似直線は,撮影光源下における色空間(撮影色空間という)を参照光源下における色空間(参照色空間という)に変換するものである。したがって,撮影光源下における撮影により得られた対象画像データを,L*** 表色系において図3に示す1次近似直線により参照光源下で得られるであろう画像データに変換することができる。
【0058】
図1に示すシミュレーション装置は画像変換モード,色データ検索モード等のいくつかのモードを持っている。これらのモードは最初に現われるメニュー画面において,および後述するように各モードの処理の進行の途中においてユーザによって選択される。
【0059】
図4は画像変換モードにおけるコンピュータのプログラムに従う処理の流れを示すものである。
【0060】
カラープレートの参照画像データは既に作成され,記憶装置12の領域12Aに格納されているものとする。たとえば,カラープレートが参照光源下でディジタルカメラを用いて撮影され,または測色計を用いて計測され,これにより得られた画像データ(たとえばRGB表色系により表わされている)が,FDドライブ15により(FDに格納されている場合),ディジタルカメラインターフェイス18を通してディジタルカメラから直接に,またはメモリカードインターフェイス19を通してメモりカードからコンピュータ10に読込まれ,L*** 表色系に変換されて領域12Aに格納される。または,ユーザが入力装置14のキーボードから参照画像データを入力する。これに代えてユーザはカラーチャート画像データの中からカラーパレットの色を指定する。これらの画像データは参照画像データとして領域12Aに格納される。
【0061】
また,ユーザ画像データも領域12Eに格納されているものとする。ユーザは対象物とカラープレートをディジタルカメラで撮影する。これにより得られる画像データはディジタルカメラインターフェイス18を通してカメラから直接に,またはメモリカードインターフェイス19を通してディジタルカメラから取外されたメモリカードからコンピュータ10に取込まれ,L*** 表色系のデータに変換されて領域12Eに格納される。
【0062】
ユーザは参照画像データ領域12Aに格納されているものの中から所望の参照光源下における参照画像データを指定する(参照画像データ名指定)。一種類の参照画像データしか領域12Aに格納されていない場合にはデータ名の指定は不要である。
【0063】
すると,コンピュータ10は記憶装置12の領域12Aから指定された参照画像データを読出して,表示のための形式に変換して(領域12B内の表示用変換データを参照してL*** からRGBへ変換することを含む),表示装置13の表示画面に表示する(ステップ21)。
【0064】
さらにユーザは,後述する「ユーザ画像データ読込み」ボタンB8(図5参照)を押して,ユーザ画像データのうちの色変換(シミュレーション)の対象としたい所望のファイル名を指定する。すると,指定されたユーザ画像データ(カラープレートの撮影画像データと対象画像データ)が記憶装置(ハードディスク)12の領域12Eから読出され,表示装置13に表示される(ステップ22)。表示画面上のボタンを押すとは,そのボタンの領域をカーソルで指定してマウスをクリックすることである。
【0065】
参照画像データ,撮影画像データおよび対象画像データが表示されている様子が図5に示されている。
【0066】
表示画面には,右半分(半分よりもやや小さい)にカラープレート表示ウインドウW1が,左半分(半分よりもやや大きい)にユーザ画像表示ウインドウW2がそれぞれ現れる。
【0067】
カラーパレット表示ウインドウW1の上半分にはカラープレート領域Pがあり,その下にいくつかのボタンB5,B6,B7が現れる。
【0068】
カラープレート領域Pには,カラープレート2個分のカラーパレットが表示される。左から数えて奇数列M1,M3,M5は参照画像用であり,偶数列M2,M4,M6は撮影画像用である。すなわち,列M1には参照画像データC1,1 〜C5,1 によって表わされるカラーパレット画像が,列M3には参照画像データC6,1 〜C10,1によって表わされるカラーパレット画像が,列M5には参照画像データC11,1〜C15,1によって表わされるカラーパレット画像がそれぞれ表示される。ここでカラーパレット画像とは,カラープレートのカラーパレットと同一または類似形状(四角形の場合,縦横比が同じ)である必要はなく,参照光源下での撮影により得られた色と同じ色が表わされていればよい。このことは,撮影画像についても同じである。カラープレート領域Pにおいて,列M2には撮影画像データC1,2 〜C5,2 によって表わされるカラーパレット画像が,列M4には撮影画像データC6,2 〜C10,2によって表わされるカラーパレット画像が,列M6には撮影画像データC11,2〜C15,2によって表わされるカラーパレット画像がそれぞれ現われることになる(図6参照)。
【0069】
このように,カラープレート領域Pにおいて,参照画像データによって表わされるカラーパレット画像と撮影画像データによって表わされるカラーパレット画像とが一列ごとに隣接して表示されることにより,ユーザは参照光源下での色と撮影光源下での色とを容易に対比することができる。画像を一列ごとではなく,1行ごとに隣接して表示してもよい。
【0070】
「プレート位置設定開始」ボタンB5は次に説明する撮影画像(カラーパレット画像)I2の領域をカーソルで指定するときに押される。「変換データ作成」ボタンB6は上述した一次近似による直線を表わすデータ(変換データ)を作成することを指令するものである。「変換」ボタンB7は次に述べる対象画像I1の変換領域を指定した後に,画像データ変換の開始を指令するものである。
【0071】
ユーザ画像表示ウインドウW2において,ユーザが選択した対象画像データによって表わされる対象画像(符号I1で示す)と,カラープレートの撮影画像データによって表わされる撮影画像(カラーパレット画像)(符号I2で示す)が表示される。このとき,記憶装置12の領域12Bの表示用変換データが用いられるのはいうまでもない。
【0072】
このウインドウW2の下方には,4つのボタンB1,B2,B3,B4が現れている。「領域指定開始」ボタンB1は,対象画像I1上において,画像データの色変換(シミュレーション)をしたい領域をカーソルを用いて指定するときに押される。「形状」ボタンB2は,指定する領域の形状を選択するためのものである。「領域クリア」ボタンB3は,対象画像I1上で指定した領域をキャンセルして,再び領域を指定するときに押される(ボタンB1を用いて再び領域指定を開始する)。「検索」ボタンB4は色データ検索モードへ移るときに押される。ウインドウW1の下方にも2つのボタンB8,B9が現れる。「ユーザ画像データ読込み」ボタンB8は,記憶装置12の領域12Eからのユーザ画像データの読出し開始を指令するものである。「終了」ボタンB9はすべての処理を終了するときに押される。
【0073】
ユーザはまず,「プレート位置設定開始」ボタンB5を押し,続いてマウスを用いて,カーソルによりウインドウW2内のカラープレート画像I2の位置を指定する。たとえば画像I2の左上のカラーパレット画像の左上の角隅と右下のカラーパレット画像の右下の角隅とをカーソルにより指定する。
【0074】
するとコンピュータ10は指定された2点によって規定される四角形内の画像データを取込む(ステップ23)。すなわち,表示用メモリにある画像データをメモのワークエリアに転送する。このとき,記憶装置12の領域12Bの表示用変換データを用いて表示用画像データから元の画像データへの逆変換が行なわれる。もっとも,記憶装置12の領域12E内のユーザ画像データ中の撮影画像データを用いてもよい。カラープレート画像I2の位置が指定されればそれを構成するカラーパレットの位置はあらかじめ分っているので,コンピュータは各カラーパレットの撮影画像データを得ることができる。
【0075】
取込まれた撮影画像データに基づいて,上述したように,ウインドウW1のカラープレート領域Pの偶数列に撮影画像データによって表わされる色のカラーパレットが表示される(ステップ24)(図6も参照)。
【0076】
ユーザが「変換データ作成」ボタンB6を押すと,色空間変換のための1次近似直線の算出が行なわれる(ステップ25)。上述したように,参照画像データと撮影画像データの値L* ,a* およびb* を用いて,各値ごとに,複数の分割された区間ごとに最小2乗線形近似により,変換のための直線を表わす1次式が求められる。
【0077】
ユーザはタグT1,T2を用いてウインドウW2の表示画面を切換えることができる。図5は「画像」表示画面(ウインドウ)である(「画像」タグT1)。ユーザが「変換」タグT2を選択すると(カーソルでタグT2を指定してマウスをクリックする),表示装置13の表示画面中のウインドウW2は,図6に示すように,「変換」表示画面(ウインドウ)(またはグラフ表示ウインドウ)W3に変わる。ウインドウW3には,図3に示した3つのグラフが表示される。このグラフ表示によりユーザは色空間の変換式を目で見ることができる。
【0078】
また,このウインドウW3には,カラーパレットC1〜C15のそれぞれについて,参照画像データの色名,L* ,a* およびb* の値(L1,a1,b1),ならびに撮影画像データのL* ,a* およびb* の値(L2,a2,b2)が表示される。ユーザはこの一覧表をみて,参照画像データの値と撮影画像データの値とがどのくらい異なるかを知ることができる。
【0079】
続いてユーザは,「画像」タグT1を選択して,ウインドウW1をユーザ画像表示用に戻す(図7参照)。「領域指定開始」ボタンB1を押し,「形状」ボタンB2で指定領域の形状を選択する。図7では四角形が選択されている。ボタンB2を押すことにより,形状を表わす文字が六角形,八角形のように変化するので,ユーザは複数の形状のうちのいずれかを選択することができる。ユーザはこの後,対象画像I1上において,色変換を実施したい領域を指定する。たとえばカーソルの位置とマウスクリックにより,選択した形状に応じた代表点(たとえば,四角形の場合にはその対角線の両端の2点)を指定する。図7においては,破線で囲まれた領域がユーザによって指定された領域である。このようにユーザは対象画像I1の全体を指定することもできるし,一部を指定することもできる。一部を指定した場合には変換のために要する時間が短くてすみ,かつユーザは色がどのように変わるのかをおおよそ知ることができる。コンピュータ10は指定された領域を表わす座標を取得する(ステップ26)。
【0080】
この後,「変換」ボタンB7がユーザによって押されると,先に指定された領域内の対象画像データが,作成された直線近似式に基づいて,参照光源下で撮影されたならば得られるであろう色の画像データに変換される(ステップ27)。変換後の対象画像は図8にI11で示すように,ウインドウW2内において,先の対象画像I1の位置に,対象画像I1に代えて表示される。
【0081】
ユーザが「領域指定開始」ボタンB1を押せば(ステップ28),ステップ26に戻って,ユーザは対象画像I1上で再び別の領域を指定して色変換を実施することができる。ユーザはまた,「ユーザ画像データ読込み」ボタンB8を押して(ステップ28),別のユーザ画像(ファイル)を記憶装置12の領域12Eから読出してステップ22からの処理を繰返すことができる。
【0082】
ユーザは色データ検索モードに移ることもできる。この場合には,ユーザはウインドウW2内に表示されている対象画像I1上で任意の一点をカーソルで指定してマウスをクリックする。また,「検索」ボタンB4を押す(ステップ29)。
【0083】
ユーザが「終了」ボタンB9を押せば,すべての処理が終わる。
【0084】
図9は色データ検索モードの処理を示すものである。色データ検索モードとは,ウインドウW2に表示された対象画像I1(またはI11)においてユーザが指定した点(画素)の色が,カラーチャート(RHSまたはJHS)に規定されたどの色と近いかを調べてその結果を出力するものである。
【0085】
上述したように,ユーザが,対象画像I1(またはI11)上の所望の点をカーソルにより指定し,「検索」ボタンB4を押すと,図10に示すように,検索条件入力画面が表示される(ステップ31)。この表示画面において,ウインドウW11には,ユーザが指定した画素のL* 値,a* 値およびb* 値が表示されるとともに,色差(ΔE)を入力するボックスが現れる。対象画像I1またはI11上においてユーザが指定した画素が色変換前の画像部分であれば色変換前のL* ,a* ,b* 値が,色変換後の画像部分であれば色変換後のL* ,a* ,b* 値が表示されることになる。
【0086】
色差ΔEはL*** 色空間における色差(色空間内の2点間の幾何学的距離)である。このボックスに入力する値(色差)は,検索すべき色の範囲(最大の色差)を定めるものである。図10では,色差「13」以下と入力されている。
【0087】
ウインドウW12は検索の対象となるカラーチャートを指定するものであり,RHSかJHSのいずれかが指定される。図10の例ではJHSが指定されている。ウインドウW13は色データ検索がL*** 表色系で行なわれることを示している。
【0088】
ユーザが上記のような検索条件を入力して,「OK」ボタンB11を押すと(ステップ32),コンピュータ10は入力された検索条件,すなわち,ウインドウW11内に表示されたL* 値(75.7636 )a* 値(6.8109),b* 値(3.1253),色差(ΔE)は13以下,カラーチャートはJHS,L*** 表色系を取込む(ステップ33)。
【0089】
コンピュータ10は指定されたカラーチャートJHSを記憶装置12の領域12Dからメモリのワークエリアに読込み(ステップ34),そのカラーチャートの画像データにおいて,指定されたL* ,a* ,b* 値と色差が13以下の画像データをすべて見つける(ステップ35)。
【0090】
この検索結果は図11に示すように色差の小さい順に表示される。この表示画面において,左上には色差が13以下の色データとして10の画像データが見つかったことが検索数として表示されている(ステップ36)。
【0091】
画面の左半分には,図10のウインドウW11に表示された指定画素の画像データの色およびL* ,a* ,b* 値が表示され,右半分には検索により見付かったカラーチャートJHS内の色データが,色差の小さい順に,表示されている。表示される項目は,色識別記号,グループ名,色(その色で表示),色差ΔE,L* ,a* ,b* 値,およびR,B,G値である。
【0092】
ユーザが「戻る」ボタンB14を押すと,再びステップ31に戻る(ステップ37)。図10において,ステップ32で「キャンセル」ボタンB12が押されると,画像変換モード(図4)に戻る。また,図11において「印刷」ボタンB13が押されると,図11の一覧表がプリンタによって印刷される。
【図面の簡単な説明】
【図1】色変化のシミュレーション装置の構成を示すブロック図である。
【図2】カラープレートの参照画像データと撮影画像データの例を示す。
【図3】 (A) ,(B) および(C) は色変換のための近似直線が求められた様子を示すグラフである。
【図4】画像変換モードの処理手順を示すフローチャートである。
【図5】ユーザ画像を表示した画面を示す。
【図6】色変換のための近似直線を求めた様子をグラフで示す画面である。
【図7】色変換すべき対象画像の領域を指定する画面を示す。
【図8】色変換後の対象画像が表示されている画面である。
【図9】色データ検索モードの処理手順を示すフローチャートである。
【図10】検索条件の入力画面を示す。
【図11】検索結果の表示画面を示す。
【符号の説明】
10 コンピュータ
11 プログラムメモリ
12 記憶装置
12A 参照画像データ記憶領域
12B 表示用変換データ記憶領域
12C カラーチャート画像データ(RHS)記憶領域
12D カラーチャート画像データ(JHS)記憶領域
12E ユーザ画像データ記憶領域
13 表示装置
14 入力装置
15 FDドライブ
16 CD−ROMドライブ
17 MOドライブ
18 ディジタルカメラインターフェイス
19 メモリカードインターフェイス
[0001]
【Technical field】
The present invention converts or simulates image data of an object photographed under a light source different from the light source that should be a reference (or standard), such as different external light conditions, into image data that would be obtained under the reference light source. The present invention relates to a method, an apparatus, and a medium storing a computer program for image data conversion.
[0002]
[Background]
Even with the same object, the color of the image obtained by the shooting depends on the shooting conditions, especially the light source (not only the specific equipment that emits light, but also the light source in different weather conditions such as sunny, cloudy, and rainy). Are very different. For this reason, there are various problems.
[0003]
For example, when a flower is cultivated on a farm in various places with different weather conditions, and a digital camera image taken by the farmer is sent immediately after flowering, the ambient light environment at the time of shooting each image Since the color of the flower varies depending on the shooting conditions such as camera performance, it is not possible to obtain colorimeter values in the standard colorimetric space. Moreover, if it is possible to predict how the clothes that are being displayed or advertised look under various external light environments, it will be effective for cost reduction or sales promotion. For example, you can show how the clothes displayed in the indoor environment look under the light of the outside. Furthermore, in remote medical treatment, the color of the patient's facial color and the digital image of the affected area that have been transmitted are different from those seen with the naked eye, which may hinder the determination.
[0004]
DISCLOSURE OF THE INVENTION
In the present invention, image data obtained by photographing (including colorimetry) an object under one light source (referred to as a photographing light source) is photographed (including colorimetric) using another light source (referred to as a reference light source). PROBLEM TO BE SOLVED: To provide a method and apparatus for converting image data that will be obtained, in other words, a method for simulating image data that will be obtained under a reference light source, and a medium on which a program for causing a computer to execute the processing is recorded With the goal.
[0005]
The present invention also provides a computer excellent in user operability, an operating method thereof, and a recording medium for controlling the computer.
[0006]
In the method of the present invention, a color plate on which a plurality of different color palettes are arranged is used. The colors in the color palette are preferably selected equally in the color space to represent the entire color space as much as possible. It is preferable to determine the number of color palettes so that an error in image data conversion described later is as small as possible.
[0007]
In the method of the present invention, first, reference image data of a color plate under a reference light source is created. The reference light source is most commonly a standard light source, but may be any light source depending on the application. An imaging light source described later can also be used as a reference light source for other image data conversion. There are various modes for creating reference image data. Most typically, image data obtained by actually photographing (colorimetrically) a color plate under a reference light source is used as reference image data. Image data (L * , A * , B * , X, Y, Z, Y, x, y, R, G, B, etc.) are known (or can be predicted), the values can be used as reference image data. For example, the value is registered in the computer as reference image data. In such a case, the reference light source is an imaginary thing that does not exist. Reference light sources include those that do not exist in this way.
[0008]
Next, according to the present invention, the same color plate and object as described above are photographed under a photographing light source to obtain photographed image data of the color plate and object image data regarding the object. Most preferably, a digital camera will be used for shooting. Image data obtained by photographing at a remote place may be transmitted through a communication line. The photographing light source may be not only an artificial light source such as various lighting lamps but also sunlight. In the case of sunlight, the light differs depending on the weather, time of day, etc., so each may be considered as a different photographing light source.
[0009]
According to the method of the present invention, a color space conversion formula from a photographic color space to a reference color space is obtained using the reference image data and photographic image data of the color plate, and the target image is obtained using the color space conversion formula. The data is converted into image data that would be obtained under a reference light source. This conversion can be said to be from the photographing color space to the reference color space. The calculation of the color space conversion formula and the conversion of the image data will most commonly be performed by a computer.
[0010]
In this way, according to the present invention, image data obtained by photographing under one light source (imaging light source) is converted (simulated) into image data that would be obtained under another light source (reference light source). G) Therefore, in various cases as described in the background art, it is possible to predict a color tone under a desired light source.
[0011]
In a preferred embodiment, the reference image data and photographed image data of the color plate are stored in L * a * b * Represented by the color system, brightness index L * And perceptual chromaticity index a * And b * For each of these, a color space conversion formula from the photographing color space to the reference color space is obtained, and the brightness index L * And perceptual chromaticity index a * And b * For each of the above, the target image data is converted into image data that would be obtained under a reference light source using the color space conversion formula.
[0012]
L * a * b * If image data in the color system is used, the color space conversion formula can be expressed by a linear function, and handling or processing becomes easy or simple.
[0013]
In a further preferred embodiment, the lightness index L * And perceptual chromaticity index a * And b * For each of the above, the range is divided into a plurality of sections, and a linear approximation formula is obtained for each section to obtain a color space conversion formula. Since the range in which the image data exists is divided into a plurality of sections and the color space conversion formula is obtained for each section, the error can be reduced.
[0014]
In an embodiment in which image data conversion is performed using a computer system, a point determined by reference image data representing each color palette and captured image data is drawn on Cartesian coordinates for each color palette on the display screen. A graph represented by the conversion formula is drawn and displayed. The user can visually recognize what conversion is being performed.
[0015]
The program for operating the computer as described above can be defined as follows.
[0016]
That is, this program captures the reference image data obtained under the reference light source of the color plate on which a plurality of color palettes of different colors are arranged, and the photographing of the color plate obtained by photographing the color plate under the photographing light source. Using the image data, the color space conversion formula from the photographic color space to the reference color space is obtained, and the points determined by the reference image data representing each color pallet and the photographic image data on the display screen are orthogonal to each color pallet. The target image data obtained by drawing on the coordinates and displaying the graph represented by the obtained conversion formula and photographing the object under the photographing light source is converted into the reference light source using the color space conversion formula. The computer is controlled to convert the image data that will be obtained below. The present invention provides a medium on which such a program is recorded.
[0017]
L * a * b * When using a color system, the brightness index L * And perceptual chromaticity index a * And b * For each of the above, on the display screen of the display device, a point determined by the reference image data representing each color pallet and the photographed image data is drawn on the Cartesian coordinates for each color pallet, and a graph represented by the obtained conversion formula is obtained. Draw and display.
[0018]
In another embodiment using a computer, the color represented by the reference image data of the color plate is displayed for each color pallet on the display device. The user can know the color of the color plate under the reference light source.
[0019]
In a further preferred aspect, the color represented by the reference image data of the color palette and the color represented by the photographed image data are divided for each color palette, and the color represented by the reference image data and the color represented by the photographed image data Are displayed on the display device in a contrasted form. The user can see the hue of the color plate under the reference light source and the hue of the color plate under the photographing light source.
[0020]
In this way, the program for controlling the computer includes the reference image data obtained under the reference light source of the color plate on which a plurality of color palettes of different colors are arranged, and the above-described image obtained by photographing the color plate under the photographing light source. Using the photographed image data of the color plate, the color represented by the reference image data of the color palette and the color represented by the photographed image data are classified for each color palette, and the color represented by the reference image data and the photographed image The color represented by the image data is displayed on the display device in a contrasted form, and a color space conversion formula from the photographing color space to the reference color space is obtained using the reference image data and the photographed image data of the color plate. , Target image data obtained by shooting an object under a shooting light source And it is for controlling a computer to use the color space conversion formula, and converts the image data that would be obtained under the reference light source. The present invention also provides a medium on which such a program is recorded.
[0021]
In a more preferred embodiment, a color palette in which color palettes are arranged in a plurality of columns and rows is used. Using a computer, each of the color represented by the reference image data of the color palette and the color represented by the photographed image data is arranged in a plurality of columns and rows, and the color column or row represented by the reference image data and the photographed image data The columns or rows of colors represented by are alternately displayed. It is possible to better compare the hue of the color palette under the reference light source and the hue of the color palette under the imaging light source.
[0022]
In another embodiment, a target image represented by target image data representing a target object is displayed on a display screen using a computer system, and an image represented by the target image data converted by the above conversion formula is displayed on the display screen. indicate. The user can visually recognize the hue of the target image before and after conversion.
[0023]
In yet another embodiment, the target image represented by the target image data representing the target is displayed on the display screen, and the target image data included in the area specified in the displayed target image is converted by a conversion formula. The user can designate and convert a desired range. If the specified range is small, the processing time can be shortened.
[0024]
In still another embodiment, a target image represented by target image data representing a target object is displayed on a display screen, and image data of a pixel designated on the displayed target image is displayed. The user can know the image data of a desired pixel on the target image.
[0025]
More preferably, color chart image data including image data for many known colors is prepared in advance. For example, input to a computer. In response to an input of a search condition including at least a color difference condition, image data satisfying the search condition with respect to the image data of the designated pixel is searched in the color chart image data, and the search result is displayed. The user can confirm by numerical values (color difference) which color on the color chart the image data of the designated pixel is similar to.
[0026]
In one embodiment, the search results are displayed by data including the color represented by the image data found by the search, its name, and the color difference.
[0027]
The image data conversion apparatus according to the present invention includes a first input means for reference image data obtained under a reference light source of a color plate in which a plurality of color palettes of different colors are arranged, the color plate and the object under a photographing light source. Color space from the photographing color space to the reference color space using the second input means of the photographed image data and target image data of the color plate obtained by photographing, the reference image data and photographed image data of the color plate And a second means for converting the target image data into image data that would be obtained under a reference light source by using the color space conversion expression.
[0028]
The first input means includes a device that captures image data from a digital camera or a recording medium, a device that inputs numerical data, a device that receives image data by communication, and the like. The second input means may include a device that captures image data from a digital camera or a recording medium, a device that receives image data by communication, and the like.
[0029]
The present invention further provides a computer apparatus in which the above-described program is installed.
[0030]
【Example】
FIG. 1 is a block diagram showing a configuration of an apparatus for simulating a color change of a target image due to a light source difference (color conversion of digital image data).
[0031]
This simulation apparatus is realized by a computer system. The computer system includes a computer 10, a program memory 11, a storage device (database) 12, a display device (CRT or LCD) 13, an input device 14 including a mouse and a keyboard, an FD drive 15, a CD-ROM drive 16, and an MO drive 17. , A digital camera interface 18, and a memory card interface 19.
[0032]
The program memory 11 stores a program for executing a color change simulation and other processing, which will be described in detail later, and is usually realized by a hard disk device or a semiconductor memory.
[0033]
The storage device 12 is also realized by a hard disk device or a semiconductor memory. The storage device 12 stores data necessary for color change simulation and other processing. An area 12A for storing color plate reference image data, an area 12B for storing display color conversion data, and color chart image data. It includes an area 12C for storing (RHS), an area 12D for storing color chart image data (JHS), and an area 12E for storing user image data.
[0034]
For color chart image data, color identification symbols (including color names and color names) and image data representing colors are associated with each other for a plurality of known (or specific or defined) colors. This is a file (file), specifically RHS (The Royal Horticultural Society) color chart and JHS ("Japan Horticultural Plant Standard Color Chart" published by the Japan Color Research Institute) is there. Color charts are also called color charts, color chart cards, and color cards.
[0035]
A color plate is used for color change simulation. The color plate represents a plurality of colors in different locations on a single plate (including a sheet) (which may be divided into a plurality of sheets when the number of colors is large). In short, the surface of one plate-like body is divided into a plurality of regions (for example, divided into a plurality of portions in the vertical direction and the horizontal direction), and each region represents a different color. Different colors are expressed by applying different colors to each region of the plate-like body or attaching a colored sheet. The color plate is preferably durable. Consider reflection of light (for example, avoid reflections such as mirror surfaces). It is preferable to select the number of colors within a range where simulation can be performed with as little error as possible. Even if the number of colors is small or too large, errors are likely to occur. Specifically, about several tens of colors (for example, 60 colors) are preferable. These colors are chosen equally to represent all colors in the color space as much as possible. An area in which different colors are expressed is called a palette. It can be said that the color plate has a plurality of different color palettes.
[0036]
The color plate reference image data stored in the region 12A is color image data for each color plate palette obtained by measuring (photographing) the color plate under a reference light source. The color image data is represented by various color systems. In this embodiment, the reference image data of the color plate is L * a * b * Expressed in the color system (L * Is the brightness index, a * , B * Is the perceptual chromaticity index). Therefore, in this area 12A, the reference image data name (file name), the number of palettes of the color plate, the color name for each palette and L * , A * , B * A value is stored. The color name is a name representing the color of the color palette. This color name can be given freely, and if the color included in the color chart (RHS, JHS) is used in the color palette, the color identification symbol of the color chart can be used as the color name. . There may be a plurality of reference image data (files). For example, when different reference light sources are used, a plurality of reference image data is obtained. The reference image data name (file name) is for identifying the plurality of reference image data.
[0037]
Most generally, the reference image data of the color plate is image data obtained by actually measuring the color plate (including photographing with a digital camera or the like) under a reference light source. Any light source (including sunlight) may be used as the reference light source. Most typically, the reference light source is a standard light source C (a light source that emits light having a relative color temperature of 6774K). Color plate photographed image data included in user image data, which will be described later, can also be used as color plate reference image data. In this case, the reference light source is a light source used in photographing when photographed image data is obtained. The image data is strongly influenced by the light source, but the influence of the difference in the type of digital camera used for shooting is small. The reference light source includes an imaginary light source that does not actually exist. For example, the reference image data of the color plate is artificially created (or input into the computer 10 using a predetermined color palette according to the color chart as described above, for example). You may make it store in the area | region 12A. Including all these aspects, it is referred to as “reference image data of a color plate obtained by measuring a color plate under a reference light source” or “reference image data of a color plate created under a reference light source”. .
[0038]
The display device 13, such as a CRT display device, may have different display colors, and the display color may change due to changes over time. Even one image data may be displayed in different colors depending on the display device or at different times. Display conversion data (L) in which data for correcting the display color in such a display device is stored in the area 12B. * a * b * / RGB conversion formula). L for a particular color, such as red, green, blue, white (which indicates an ID) * , A * , B * Values (indicators based on international standards) and image data Y, x, and y for correctly displaying these colors on the display device are stored. For the colors other than the above four colors, image data is converted by interpolation. The expression for conversion may be realized by a table or the like. L when displaying on the display device * a * b * When the conversion from RGB to RGB takes in the color specified on the screen of the display device, RGB to L * a * b * Conversion to is performed.
[0039]
Image data Y, x, and y are values in the XYZ color system. That is, in the XYZ color system, the stimulus values X, Y, and Z are used, but the chromaticities x and y are values obtained by standardizing the stimulus values X and Y by X + Y + Z, respectively. The RGB color system and the XYZ color system can be mutually converted by a linear expression.
[0040]
In the area 12C, in the color chart image data (RHS), a color identification symbol, a group name, L for each color constituting the color chart * a * b * L in the color system * , A * , B * Value, R, G, B value in RGB color system, Hue H, Lightness V, Chroma C in Munsell color system, Lightness index L in Hunter uniform perceptual color space, Perceptual color index a, b, and XYZ color The stimulus value Y and chromaticity x, y in the system are stored. The group name (color system name) represents the color system when it is divided into color systems such as red, yellow, and pink to make it easier for the user to intuitively understand each color on the color chart ( Symbol). In the area 12D, similar data is stored for the color chart image (JHS).
[0041]
In the area 12E, color plate image data (referred to as color plate captured image data) captured by the user and object image data (referred to as target image data) captured by the user are stored in association with each other. The file name specifies a pair of the image data and target image data of the color plate.
[0042]
The user uses a digital camera (or colorimetry) at the place where the object is placed or exists (site) using a light source (photographing light source, such as sunlight, room light, strobe light, etc.) available at that place. Take a picture of the object. There are cases where both the object and the color plate are placed in the field of view and photographed at the same time, or they may be photographed separately under the same photographing light source. In any case, the photographic image data and target image data of the color plate obtained by photographing are stored in the region 12E in association with each other (for example, put in one file).
[0043]
These image data are L, for each pixel. * a * b * L in the color system * , A * , B * Value, R, G, B value in RGB color system, H, V, C value in Munsell color system, lightness index L in Hunter uniform perceptual color space, perceptual color index a, b, and in XYZ color system It is represented by one or more of the stimulus value Y and chromaticity x, y. Mutual conversion between these color systems can be performed by a known method.
[0044]
As will be described in detail later, the display device 13 displays a color plate reference image, a color plate photographed image, a target image, a color space conversion graph, various numerical values, and modes and buttons for proceeding with processing. .
[0045]
The input device 14 is a command for proceeding with processing according to the display on the display device 13 (clicking the mouse), specifying a location on the display screen with the mouse, inputting data values such as reference image data, and the like. .
[0046]
The FD drive 15 reads data from the FD and writes data to the FD. For example, when reference image data, color chart image data, user image data, and the like are stored in the FD, the FD drive 15 reads these image data from the FD. The read image data is stored in the corresponding area (12A, 12C, 12D, 12E, etc.) of the storage device 12 by the computer 10.
[0047]
The CR-ROM drive 16 reads data from a CD-ROM. For example, a CD-ROM stores a program for color conversion simulation and the like. This program is read from the CD-ROM by the drive 16 and stored in the program memory 11. The MO drive 17 is used when image data or a program is stored in an MO (magneto-optic or magneto-optical) disk instead of the FD or CD-ROM.
[0048]
As described above, a color plate may be photographed under a reference light source using a digital camera. Further, the color plate and the object are photographed under a photographing light source using a digital camera. These image data obtained in the digital camera are transferred from the digital camera to the computer 10 through the digital camera interface 18 and stored in a corresponding area (12A or 12E) in the storage device 12.
[0049]
When image data obtained by the digital camera is stored in a memory card, the memory card is connected to the memory card interface 19. Image data is read from the memory card by the computer 10 through the interface 19 and stored in a corresponding area of the storage device 12.
[0050]
Further, the computer 10 of the simulation apparatus is provided with a program for communication (including Internet communication) with a communication apparatus including MODEM as necessary. User image data transmitted through a public line, a dedicated line or the Internet is stored in the area 12E of the storage device 12.
[0051]
FIG. 2 shows an example of a color plate reference image and a color plate photographed image. The color plate has 15 pallets in 5 rows and 3 columns. The colors of these color palettes are represented by C1 to C15 (Cn: n = 1 to 15), respectively.
[0052]
In the reference image, color image data obtained by photographing (including colorimetry) colors C1 to C15 of the color palette of the color plate under the reference light source are C1,1 to C15,1 (Cn, 1), respectively. It is represented. Similarly, image data obtained by photographing (including colorimetry) colors C1 to C15 of the color palette of the same color plate under a photographing light source are C1,2 to C15,2 (Cn, 2), respectively. It is represented. Since each color palette represents a uniform color, it shall be represented by a single image data (if the color palette has uneven color, use the average value of the image data of the pixels representing the color palette. Just fine).
[0053]
There is a difference between the reference image data Cn, 1 under the reference light source and the photographed image data Cn, 2 under the photographing light source based on the difference in the light source. These differences are generally expected to be represented by very complex functions in all visible color ranges (in the color palette color range on the color plate).
[0054]
However, according to the verification work performed by the inventors, the image data is * a * b * Expressed in the color system, brightness index L * And perceptual chromaticity index a * And b * When the range of possible values is divided into a plurality of (preferably about 4 to 5) sections (sections), the relationship between the reference image data and the captured image data is linear approximation in each section. I found what I could do.
[0055]
This is shown in FIG. In FIG. 3, (A) is the lightness index L * , (B) and (C) are perceptual chromaticity indices a * , B * In each of these graphs, the horizontal axis represents the reference image data (L * , A * , B * Are represented by L1, a1, and b1, respectively, and the vertical axis represents captured image data (L * , A * , B * Are represented by L2, a2 and b2, respectively). In these graphs, points on the coordinates determined by the reference image data and the photographed image data representing the colors C1 to C15 of the color palette on the color plate are indicated by black circles.
[0056]
Full range on the horizontal axis (L * , A * , B * Is divided into four sections (the sections are preferably determined in advance), and the least square approximation (first order) is performed on the relationship between the reference image data and the captured image data in each section. The primary approximate straight line is shown (the primary approximate straight line is a broken line that breaks at three points).
[0057]
These linear approximation lines are used to convert a color space (referred to as a photographing color space) under a photographing light source into a color space (referred to as a reference color space) under a reference light source. Therefore, the target image data obtained by photographing under the photographing light source is expressed as L * a * b * In the color system, it can be converted into image data that would be obtained under a reference light source by a linear approximation line shown in FIG.
[0058]
The simulation apparatus shown in FIG. 1 has several modes such as an image conversion mode and a color data search mode. These modes are selected by the user on the menu screen that appears first and in the course of the processing of each mode, as will be described later.
[0059]
FIG. 4 shows the flow of processing according to the computer program in the image conversion mode.
[0060]
It is assumed that the color plate reference image data is already created and stored in the area 12A of the storage device 12. For example, a color plate is photographed using a digital camera under a reference light source, or measured using a colorimeter, and image data obtained thereby (for example, represented by an RGB color system) is converted into FD. Read by the drive 15 (if stored in the FD) directly from the digital camera through the digital camera interface 18 or from the memory card through the memory card interface 19 to the computer 10; * a * b * It is converted into the color system and stored in the area 12A. Alternatively, the user inputs reference image data from the keyboard of the input device 14. Instead, the user designates the color of the color palette from the color chart image data. These image data are stored in the area 12A as reference image data.
[0061]
It is assumed that user image data is also stored in the area 12E. The user photographs the object and the color plate with a digital camera. The image data thus obtained is taken into the computer 10 directly from the camera through the digital camera interface 18 or from a memory card removed from the digital camera through the memory card interface 19. * a * b * It is converted into color system data and stored in the area 12E.
[0062]
The user designates reference image data under a desired reference light source from those stored in the reference image data area 12A (designation of reference image data name). When only one type of reference image data is stored in the area 12A, it is not necessary to specify a data name.
[0063]
Then, the computer 10 reads the designated reference image data from the area 12A of the storage device 12 and converts it into a format for display (refer to the display conversion data in the area 12B and read L). * a * b * Display to the display screen of the display device 13 (step 21).
[0064]
Further, the user presses a “user image data read” button B8 (see FIG. 5) described later, and designates a desired file name to be subjected to color conversion (simulation) in the user image data. Then, designated user image data (color plate image data and target image data) is read from the area 12E of the storage device (hard disk) 12 and displayed on the display device 13 (step 22). When a button on the display screen is pressed, the area of the button is designated with a cursor and the mouse is clicked.
[0065]
FIG. 5 shows a state in which the reference image data, captured image data, and target image data are displayed.
[0066]
On the display screen, a color plate display window W1 appears on the right half (slightly smaller than half), and a user image display window W2 appears on the left half (slightly larger than half).
[0067]
There is a color plate area P in the upper half of the color palette display window W1, and several buttons B5, B6, B7 appear below it.
[0068]
In the color plate area P, a color palette for two color plates is displayed. The odd columns M1, M3, M5 counted from the left are for reference images, and the even columns M2, M4, M6 are for captured images. That is, the color palette image represented by the reference image data C1,1 to C5,1 is displayed in the column M1, the color palette image represented by the reference image data C6,1 to C10,1 is displayed in the column M3, and the column M5 is displayed in the column M5. The color palette images represented by the reference image data C11,1 to C15,1 are respectively displayed. Here, the color palette image need not have the same or similar shape as the color plate color palette (in the case of a square, the aspect ratio is the same), and the same color as that obtained by photographing under a reference light source is displayed. It only has to be told. The same applies to the photographed image. In the color plate region P, the color palette image represented by the photographed image data C1,2 to C5,2 is displayed in the column M2, and the color palette image represented by the photographed image data C6,2 to C10,2 is represented in the column M4. In the column M6, color palette images represented by the photographed image data C11,2 to C15,2 appear (see FIG. 6).
[0069]
In this way, in the color plate region P, the color palette image represented by the reference image data and the color palette image represented by the photographed image data are displayed adjacent to each other in a row, so that the user can use the reference light source. It is possible to easily compare the color with the color under the photographing light source. The images may be displayed adjacent to each other instead of every column.
[0070]
The “plate position setting start” button B5 is pressed when a region of a photographed image (color palette image) I2 described below is designated with a cursor. A “conversion data creation” button B6 instructs to create data (conversion data) representing a straight line by the above-mentioned first order approximation. The “conversion” button B7 is used to instruct the start of image data conversion after designating the conversion area of the target image I1 described below.
[0071]
In the user image display window W2, there are a target image (indicated by reference numeral I1) represented by the target image data selected by the user and a captured image (color palette image) (indicated by reference numeral I2) represented by the captured image data of the color plate. Is displayed. At this time, it goes without saying that the display conversion data in the area 12B of the storage device 12 is used.
[0072]
Four buttons B1, B2, B3, and B4 appear below the window W2. The “region designation start” button B1 is pressed when a region for color conversion (simulation) of image data is designated using the cursor on the target image I1. The “shape” button B2 is for selecting the shape of the area to be designated. The “area clear” button B3 is pressed when the area designated on the target image I1 is canceled and the area is designated again (the area designation is started again using the button B1). The “search” button B4 is pressed when shifting to the color data search mode. Two buttons B8 and B9 also appear below the window W1. The “read user image data” button B8 instructs to start reading user image data from the area 12E of the storage device 12. An “end” button B9 is pressed to end all the processes.
[0073]
The user first presses the “plate position setting start” button B5, and then uses the mouse to designate the position of the color plate image I2 in the window W2 with the cursor. For example, the upper left corner of the upper left color palette image of the image I2 and the lower right corner of the lower right color palette image are designated by the cursor.
[0074]
Then, the computer 10 takes in the image data in the rectangle defined by the designated two points (step 23). That is, the image data in the display memory is transferred to the memo work area. At this time, reverse conversion from the display image data to the original image data is performed using the display conversion data in the area 12B of the storage device 12. However, the captured image data in the user image data in the area 12E of the storage device 12 may be used. If the position of the color plate image I2 is designated, the position of the color palette constituting it is known in advance, so that the computer can obtain the photographed image data of each color palette.
[0075]
Based on the captured image data, the color palette of the color represented by the captured image data is displayed in the even columns of the color plate area P of the window W1 as described above (step 24) (see also FIG. 6). ).
[0076]
When the user presses the “conversion data creation” button B6, a primary approximation line for color space conversion is calculated (step 25). As described above, the value L of the reference image data and the captured image data * , A * And b * For each value, a linear expression representing a straight line for conversion is obtained by least square linear approximation for each of a plurality of divided sections.
[0077]
The user can switch the display screen of the window W2 using the tags T1 and T2. FIG. 5 shows an “image” display screen (window) (“image” tag T1). When the user selects the “conversion” tag T2 (designates the tag T2 with the cursor and clicks the mouse), the window W2 in the display screen of the display device 13 is displayed on the “conversion” display screen (see FIG. 6). Window) (or graph display window) W3. In the window W3, the three graphs shown in FIG. 3 are displayed. This graph display allows the user to see the color space conversion formula visually.
[0078]
Further, in this window W3, for each of the color palettes C1 to C15, the color name of the reference image data, L * , A * And b * Value (L1, a1, b1) and L of the captured image data * , A * And b * Values (L2, a2, b2) are displayed. The user can know how much the value of the reference image data differs from the value of the photographed image data by viewing this list.
[0079]
Subsequently, the user selects the “image” tag T1 and returns the window W1 to display the user image (see FIG. 7). The “region designation start” button B1 is pressed, and the shape of the designated region is selected with the “shape” button B2. In FIG. 7, a square is selected. By pressing the button B2, the character representing the shape changes like a hexagon or an octagon, so that the user can select one of a plurality of shapes. Thereafter, the user designates an area on which the color conversion is to be performed on the target image I1. For example, the representative point (for example, two points at both ends of the diagonal line in the case of a square) is designated by the cursor position and mouse click. In FIG. 7, an area surrounded by a broken line is an area designated by the user. In this way, the user can designate the entire target image I1 or a part thereof. If a part is specified, the time required for the conversion can be shortened, and the user can roughly know how the color changes. The computer 10 acquires coordinates representing the designated area (step 26).
[0080]
Thereafter, when the “conversion” button B7 is pressed by the user, the target image data in the previously designated area can be obtained if it is photographed under the reference light source based on the created linear approximation formula. It is converted into image data of a dark color (step 27). As shown by I11 in FIG. 8, the converted target image is displayed in place of the target image I1 at the position of the previous target image I1 in the window W2.
[0081]
If the user presses the “region designation start” button B1 (step 28), the process returns to step 26, and the user can designate another region on the target image I1 again and perform color conversion. The user can also press the “read user image data” button B8 (step 28), read another user image (file) from the area 12E of the storage device 12, and repeat the processing from step 22.
[0082]
The user can also move to the color data search mode. In this case, the user designates an arbitrary point with the cursor on the target image I1 displayed in the window W2 and clicks the mouse. Further, the “search” button B4 is pressed (step 29).
[0083]
If the user presses the “end” button B9, all processing is completed.
[0084]
FIG. 9 shows processing in the color data search mode. In the color data search mode, the color of the point (pixel) specified by the user in the target image I1 (or I11) displayed in the window W2 is close to which color specified in the color chart (RHS or JHS). It examines and outputs the result.
[0085]
As described above, when the user designates a desired point on the target image I1 (or I11) with the cursor and presses the “search” button B4, a search condition input screen is displayed as shown in FIG. (Step 31). In this display screen, the window W11 includes the pixel L specified by the user. * Value, a * Value and b * A value is displayed and a box for entering the color difference (ΔE) appears. If the pixel specified by the user on the target image I1 or I11 is an image part before color conversion, L before color conversion * , A * , B * If the value is an image part after color conversion, L after color conversion * , A * , B * The value will be displayed.
[0086]
Color difference ΔE is L * a * b * Color difference in color space (geometric distance between two points in color space). The value (color difference) entered in this box defines the color range (maximum color difference) to be searched. In FIG. 10, the color difference “13” or less is input.
[0087]
The window W12 designates a color chart to be searched, and either RHS or JHS is designated. In the example of FIG. 10, JHS is designated. Window W13 is L for color data search * a * b * This shows that the color system is used.
[0088]
When the user inputs the search condition as described above and presses the “OK” button B11 (step 32), the computer 10 displays the input search condition, that is, the L displayed in the window W11. * Value (75.7636) a * Value (6.8109), b * Value (3.1253), color difference (ΔE) is 13 or less, color chart is JHS, L * a * b * The color system is imported (step 33).
[0089]
The computer 10 reads the designated color chart JHS from the area 12D of the storage device 12 into the work area of the memory (step 34), and in the image data of the color chart, the designated L * , A * , B * Find all image data with a value and color difference of 13 or less (step 35).
[0090]
The search results are displayed in ascending order of color difference as shown in FIG. On this display screen, the number of searches that 10 image data are found as color data having a color difference of 13 or less is displayed as the number of searches in the upper left (step 36).
[0091]
In the left half of the screen, the color and L of the image data of the designated pixel displayed in the window W11 in FIG. * , A * , B * Values are displayed, and the color data in the color chart JHS found by the search is displayed in the right half in ascending order of color difference. The displayed items are color identification symbol, group name, color (displayed in that color), color difference ΔE, L * , A * , B * Values, and R, B, and G values.
[0092]
When the user presses the “return” button B14, the process returns to step 31 (step 37). In FIG. 10, when the “cancel” button B12 is pressed in step 32, the process returns to the image conversion mode (FIG. 4). When the “print” button B13 is pressed in FIG. 11, the list of FIG. 11 is printed by the printer.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a color change simulation apparatus.
FIG. 2 shows an example of reference image data and captured image data of a color plate.
FIGS. 3A, 3B, and 3C are graphs showing how approximate lines for color conversion are obtained.
FIG. 4 is a flowchart illustrating a processing procedure in an image conversion mode.
FIG. 5 shows a screen on which a user image is displayed.
FIG. 6 is a screen showing a state in which an approximate straight line for color conversion is obtained in a graph.
FIG. 7 shows a screen for designating a target image area to be color-converted.
FIG. 8 is a screen on which a target image after color conversion is displayed.
FIG. 9 is a flowchart illustrating a processing procedure in a color data search mode.
FIG. 10 shows a search condition input screen.
FIG. 11 shows a search result display screen.
[Explanation of symbols]
10 computers
11 Program memory
12 Storage device
12A Reference image data storage area
12B Conversion data storage area for display
12C Color chart image data (RHS) storage area
12D color chart image data (JHS) storage area
12E User image data storage area
13 Display device
14 Input device
15 FD drive
16 CD-ROM drive
17 MO drive
18 Digital camera interface
19 Memory card interface

Claims (5)

複数の異なる色のカラーパレットが配列されたカラープレートを用意し,
参照光源下におけるカラープレートの参照画像データを * * * 表色系によって表わし
撮影光源下で上記カラープレートおよび対象物を撮影することにより得られる上記カラープレートの撮影画像データおよび対象画像データを * * * 表色系によって表わし
上記カラープレートの参照画像データと撮影画像データとを用いて,明度指数L * ならびに知覚色度指数a * およびb * のそれぞれについてその範囲を複数の区画に分割し,明度指数L * ならびに知覚色度指数a * およびb * のそれぞれについての撮影色空間から参照色空間への色空間の変換式を表す直線近似式を,上記分割された複数の区画ごとに求め,
上記色空間変換式を表す直線近似式を用いて上記対象画像データを参照光源下において得られるであろう画像データに変換する方法。
Prepare a color plate in which multiple color palettes of different colors are arranged,
The reference image data of the color plate under the reference light source is represented by the L * a * b * color system ,
The photographed image data and target image data of the color plate obtained by photographing the color plate and the object under a photographing light source are represented by the L * a * b * color system ,
Using the reference image data and photographed image data of the color plate, the range of each of the lightness index L * and the perceptual color index a * and b * is divided into a plurality of sections, and the lightness index L * and the perceptual color A linear approximation formula representing a color space conversion formula from the photographing color space to the reference color space for each of the degree indices a * and b * is obtained for each of the plurality of divided sections.
A method of converting the target image data into image data that would be obtained under a reference light source using a linear approximation formula representing the color space conversion formula.
複数の異なる色のカラーパレットが配列されたカラープレートの参照光源下において得られる * * * 表色系により表わされた参照画像データと,撮影光源下で上記カラープレートを撮影することにより得られる上記カラープレートの * * * 表色系により表わされた撮影画像データとを用いて撮影色空間から参照色空間への色空間の変換式を求め,
明度指数L * ならびに知覚色度指数a * およびb * のそれぞれについて,表示画面上において,各カラーパレットを表わす参照画像データと撮影画像データとによって定まる点をカラーパレットごとに直交座標上に描き,かつ明度指数L * ならびに知覚色度指数a * およびb * のそれぞれについて,求められた色空間変換式によって表わされるグラフを描いて表示し,
撮影光源下で対象物を撮影することにより得られる対象画像データを,上記色空間変換式を用いて,参照光源下において得られるであろう画像データに変換するようにコンピュータを制御するためのプログラムを記録した媒体において,
上記プログラムが,明度指数L * ならびに知覚色度指数a * およびb * のそれぞれについてその範囲を複数の区画に分割し,区画ごとに求められる直線近似式を上記色空間変換式とするようにコンピュータを制御するものである,媒体。
Photographing the reference image data represented by the L * a * b * color system obtained under the reference light source of the color plate on which a plurality of different color palettes are arranged, and the color plate under the photographing light source A color space conversion formula from the photographing color space to the reference color space is obtained using the photographed image data represented by the L * a * b * color system of the color plate obtained by
For each of the lightness index L * and the perceptual chromaticity indices a * and b *, a point determined by the reference image data representing each color palette and the photographed image data is drawn on the orthogonal coordinates for each color palette on the display screen. For each of the lightness index L * and the perceptual chromaticity index a * and b * , a graph represented by the obtained color space conversion formula is drawn and displayed.
A program for controlling a computer to convert target image data obtained by photographing an object under a photographing light source into image data that would be obtained under a reference light source using the color space conversion formula. in the recorded medium,
The computer divides the range of each of the lightness index L * and the perceptual chromaticity index a * and b * into a plurality of sections, and sets the linear approximation formula obtained for each section as the color space conversion formula. The medium that controls
複数の異なる色のカラーパレットが配列されたカラープレートの参照光源下において得られる * * * 表色系により表わされた参照画像データと,撮影光源下で上記カラープレートを撮影することにより得られる上記カラープレートの * * * 表色系により表わされた撮影画像データとを用いて,上記カラーパレットの参照画像データによって表わされる色および撮影画像データによって表わされる色のそれぞれをカラーパレットごとに区分してかつ参照画像データによって表わされる色と撮影画像データによって表わされる色とを対比させた形態で表示装置に表示し,
上記カラープレートの参照画像データと撮影画像データとを用いて,明度指数L * ならびに知覚色度指数a * およびb * のそれぞれについてその範囲を複数の区画に分割し,明度指数L * ならびに知覚色度指数a * およびb * のそれぞれについての撮影色空間から参照色空間への色空間の変換式を表す直線近似式を,分割された複数の区画ごとに求め,
撮影光源下で対象物を撮影することにより得られる対象画像データを,上記色空間変換式を表す直線近似式を用いて,参照光源下において得られるであろう画像データに変換するようにコンピュータを制御するプログラムを記録した媒体。
Photographing the reference image data represented by the L * a * b * color system obtained under the reference light source of the color plate on which a plurality of different color palettes are arranged, and the color plate under the photographing light source Each of the color represented by the reference image data of the color palette and the color represented by the photographed image data using the photographed image data represented by the L * a * b * color system of the color plate obtained by Are displayed on the display device in a form in which the color represented by the reference image data and the color represented by the photographed image data are contrasted.
Using the reference image data and photographed image data of the color plate , the range of the lightness index L * and the perceptual color index a * and b * is divided into a plurality of sections, and the lightness index L * and the perceptual color are divided. A linear approximation formula representing a color space conversion formula from the shooting color space to the reference color space for each of the degree indices a * and b * is obtained for each of a plurality of divided sections .
A computer is used to convert target image data obtained by photographing an object under a photographing light source into image data that would be obtained under a reference light source by using the linear approximation formula representing the color space conversion formula. A medium that records the program to be controlled.
複数の異なる色のカラーパレットが配列されたカラープレートの参照光源下において得られる * * * 表色系により表わされた参照画像データの第1の入力手段,
撮影光源下で上記カラープレートおよび対象物を撮影することにより得られる上記カラープレートの * * * 表色系により表わされた撮影画像データおよび * * * 表色系により表わされた対象画像データの第2の入力手段,
上記カラープレートの参照画像データと撮影画像データとを用いて,明度指数L * ならびに知覚色度指数a * およびb * のそれぞれについてその範囲を複数の区画に分割し,明度指数L * ならびに知覚色度指数a * およびb * のそれぞれについての撮影色空間から参照色空間への色空間の変換式を表す直線近似式を,分割された複数の区画ごとに求める第1の手段,ならびに
上記色空間変換式を表す直線近似式を用いて上記対象画像データを参照光源下において得られるであろう画像データに変換する第2の手段,
を備えた装置。
First input means for reference image data represented by an L * a * b * color system obtained under a reference light source of a color plate in which a plurality of color palettes of different colors are arranged;
Obtained by photographing the color plates and the object under imaging light source, by the color plates of the L * a * b * photographed image data and the L * a * b * color system represented by a color system Second input means for the represented target image data;
Using the reference image data and photographed image data of the color plate , the range of the lightness index L * and the perceptual color index a * and b * is divided into a plurality of sections, and the lightness index L * and the perceptual color are divided. A first means for obtaining, for each of a plurality of divided sections, a linear approximation expression representing a color space conversion expression from a photographing color space to a reference color space for each of the degree indices a * and b * ; A second means for converting the target image data into image data that would be obtained under a reference light source using a linear approximation expression representing the conversion expression;
With a device.
求項2または3に記載の媒体に記録されたプログラムがインストールされたコンピュータ装置。 Motomeko computer device the program recorded medium as claimed it has been installed on 2 or 3.
JP2000196410A 2000-06-29 2000-06-29 Method and apparatus for converting color image data under different light sources, and medium recording program for color image data conversion Expired - Fee Related JP4532682B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000196410A JP4532682B2 (en) 2000-06-29 2000-06-29 Method and apparatus for converting color image data under different light sources, and medium recording program for color image data conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000196410A JP4532682B2 (en) 2000-06-29 2000-06-29 Method and apparatus for converting color image data under different light sources, and medium recording program for color image data conversion

Publications (2)

Publication Number Publication Date
JP2002016935A JP2002016935A (en) 2002-01-18
JP4532682B2 true JP4532682B2 (en) 2010-08-25

Family

ID=18694914

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000196410A Expired - Fee Related JP4532682B2 (en) 2000-06-29 2000-06-29 Method and apparatus for converting color image data under different light sources, and medium recording program for color image data conversion

Country Status (1)

Country Link
JP (1) JP4532682B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101100930B1 (en) 2003-08-13 2012-01-02 산토리 홀딩스 가부시키가이샤 Process for producing rose with modified color
JP4501824B2 (en) * 2005-09-15 2010-07-14 セイコーエプソン株式会社 Color adjustment of color image data
JP4681489B2 (en) * 2006-03-31 2011-05-11 株式会社沖データ Toner cartridge, developing device, and image forming apparatus
JP5552795B2 (en) * 2009-10-26 2014-07-16 株式会社ニコン Imaging apparatus, image processing apparatus, and program
JP6525921B2 (en) 2016-05-13 2019-06-05 キヤノン株式会社 Image processing apparatus, image processing method, search apparatus
JP7467247B2 (en) 2020-06-11 2024-04-15 キヤノン株式会社 Image processing device, image processing method, and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09233494A (en) * 1996-02-23 1997-09-05 Toshiba Corp Color image processing system
JPH10269264A (en) * 1997-03-25 1998-10-09 Koito Mfg Co Ltd Method for generating and displaying color image in accordance with illuminance of lamp
JP2000013628A (en) * 1998-06-26 2000-01-14 Ricoh System Kaihatsu Kk Color correcting method and recording medium storing the method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09233494A (en) * 1996-02-23 1997-09-05 Toshiba Corp Color image processing system
JPH10269264A (en) * 1997-03-25 1998-10-09 Koito Mfg Co Ltd Method for generating and displaying color image in accordance with illuminance of lamp
JP2000013628A (en) * 1998-06-26 2000-01-14 Ricoh System Kaihatsu Kk Color correcting method and recording medium storing the method

Also Published As

Publication number Publication date
JP2002016935A (en) 2002-01-18

Similar Documents

Publication Publication Date Title
JP3219511B2 (en) Graphic user interface device and color control correction system
KR100899150B1 (en) Image processing apparatus and image processing method
JP4375781B2 (en) Image processing apparatus, image processing method, program, and recording medium
US7417642B2 (en) Image display device and image display method
US20190138168A1 (en) Paint color selection and display system and method
US7747074B2 (en) Selection of decorative picture suitable for input picture
JP4435355B2 (en) Color image conversion method, conversion device, and recording medium
JP2005202469A (en) Image processor, image processing method and program
JP2002218261A (en) Image information transmission method, image information preparation device, image information output device, image information preparation program, image information output program, recording medium having the programs recorded thereon and image information transmission system
JP2001189875A (en) Configuration of profile to compensate nonlinearity of image acquisition
JP5122920B2 (en) Color reproduction system, color reproduction device, color reproduction method, and color reproduction program
JP4532682B2 (en) Method and apparatus for converting color image data under different light sources, and medium recording program for color image data conversion
US7177468B2 (en) Image processing system, imaging device, and parameter-determining program
WO2005036114A1 (en) Image display device and image display method
JP2009545804A (en) Method and system for converting at least one first spectral image into a second spectral image
US7348993B2 (en) System and method for obtaining accurate image content
JP2010539822A (en) Method for generating a profile with high colorimetric accuracy over a wide luminance range
JP3130589B2 (en) Color arrangement support method and apparatus
JP2008177783A (en) Color conversion device and program
JP2002325735A (en) Method, device and program for displaying medical image and recording medium
US7982914B2 (en) Image processing apparatus
CN101669356A (en) True color communication
JP2001218070A (en) Method and device for image processing
JPH11262030A (en) Digital still camera and its operation control method
JP2015210231A (en) Color sample, apparatus and method for creating the same, and image processing system using the color sample

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070611

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20090424

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20090424

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100316

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100514

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100611

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees