JP4178788B2 - Color chart, image data generation device, profile creation method using color chart, and recording medium recording profile creation program - Google Patents

Color chart, image data generation device, profile creation method using color chart, and recording medium recording profile creation program Download PDF

Info

Publication number
JP4178788B2
JP4178788B2 JP2001377323A JP2001377323A JP4178788B2 JP 4178788 B2 JP4178788 B2 JP 4178788B2 JP 2001377323 A JP2001377323 A JP 2001377323A JP 2001377323 A JP2001377323 A JP 2001377323A JP 4178788 B2 JP4178788 B2 JP 4178788B2
Authority
JP
Japan
Prior art keywords
color
image data
chart
color chart
generated
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
JP2001377323A
Other languages
Japanese (ja)
Other versions
JP2003179939A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2001377323A priority Critical patent/JP4178788B2/en
Publication of JP2003179939A publication Critical patent/JP2003179939A/en
Application granted granted Critical
Publication of JP4178788B2 publication Critical patent/JP4178788B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、ディジタルカメラ等の画像データ生成装置によって撮影されるカラーチャートとこれを用いた装置等に関する。
【0002】
【従来の技術】
近年、被写体の撮影によりデジタル画像データを生成する装置(例えば、ディジタルスチルカメラ、ディジタルビデオカメラ等)の需要は、撮影や画像加工を業とする専門家のみならず、専門的知識を有しない一般人にまで広がっている。
【0003】
従来、専門家の間では、上記の画像データ生成装置で被写体を撮影するにあたり、画像データ生成装置の色再現特性を把握するために、複数の色のカラーパッチが縦横に配列されたカラーチャートを撮影することがしばしば行なわれていた。具体的には、撮影により取得されたカラーチャート画像(例えば、フォトペーパーに印刷されたカラーチャート画像)とカラーチャート現物とを比較して各カラーパッチの色差を目視で確認すると共に、この色差に対応する色補正処理を被写体の撮影画像に施し、被写体の画像の色を現実の被写体の色に近づけていた。なお、以下の説明において、カラーチャートの実体と該カラーチャートの撮影により取得されたカラーチャート画像との間に生じる色差や、被写体の実体と該被写体の撮影により取得された被写体画像との間に生じる色差のことを、「実体−画像間色差ΔE」という。
【0004】
こうした色補正処理の従来例を図23のCase1に示す。図23のCase1は、カラーパッチを有するカラーチャートJVを太陽光の下でディジタルスチルカメラJ10により撮影した場合における画像データについての色補正処理の様子を示している。この図23では、カラーチャートJVの各画像データ(チャートデータJVD1,JVD2,JVDaw1,JVDaw2,JVDw1,JVDw2)に関し、各画像データがディジタルスチルカメラJ10の色空間において具現化された場合の画像イメージを表わしている。
【0005】
このCase1では、ディジタルスチルカメラJ10側のホワイトバランスを「オート」に設定した状態(この状態を、図23では「AWB」と表わす)で撮影している。この「オート」という設定は、撮影場所の光を検知したディジタルスチルカメラJ10が、検知結果に基づいて撮影光源の色温度を自動的に決定し、決定された色温度に合わせてホワイトバランスの調整を行なう設定である。
【0006】
Case1において、カラーチャートJVと該カラーチャートJVの撮影により生成されたチャートデータJVD1との間の実体−画像間色差ΔEは値Jcg1となっている。このチャートデータJVD1を受け取ったコンピュータJ90は、チャートデータJVD1について色補正処理を行ない、色補正処理後のデータをチャートデータJVD2としてプリンタJ40に出力する。この色補正処理において、チャートデータJVD1からチャートデータJVD2への補正値Jre1は、プリンタJ40の色再現特性やディジタルスチルカメラJ10とプリンタJ40との色空間の相違を考慮し、プリンタJ40によって印刷されたときの色がカラーチャートJVに近似した色になるように決定される。このような色補正処理が行なわれたチャートデータJVD2をプリンタJ40が受け取ることで、プリンタJ40においてカラーチャートJVに近似した色のチャート画像JEを印刷することが可能となる。
【0007】
【発明が解決しようとする課題】
しかしながら、上記した従来の手法では、カラーチャートと同じ色の被写体をカラーチャートの撮影時光源とは異なる光源下で撮影した場合に、たとえホワイトバランスを取って撮影しても被写体の実体と画像との間にカラーチャートの場合とは異なる実体−画像間色差ΔEが生じてしまい、カラーチャートの撮影に基づいて作り出された色補正処理の基準(図23における補正値Jre1)を被写体画像についての色補正の基準として利用することができなかった。このような難点につき、以下、図23を参照しつつ具体的に説明する。
【0008】
図23のCase2は、Case1と同じカラーパッチを有するカラーチャートJVを被写体とし、この被写体を蛍光灯の下でディジタルスチルカメラJ10により撮影した場合を示す。このCase2では、ディジタルスチルカメラJ10側のホワイトバランスを「オート」に設定した状態で撮影している。この設定状態でカラーチャートを撮影することにより、カラーチャートJVの画像データであるチャートデータJVDaw1が生成される。このチャートデータJVDaw1は、図23に示すように、Case1のチャートデータJVD1と色味が異なっており、カラーチャートJVとチャートデータJVDaw1との間の実体−画像間色差ΔEは、Case1の場合と異なる値である値Jcg2となる。従って、チャートデータJVDaw1にCase1において規定された補正値Jre1を適用して色補正処理を行なっても、図23に示すように、色補正処理後のチャートデータJVDaw2がCase1の場合のチャートデータJVD2とは異なる色情報を有するデータとなってしまうため、プリンタJ40においてCase1におけるチャート画像JEと同じ色合いの画像を印刷することはできなかった。
【0009】
こうした撮影光源の違いによる実体−画像間色差ΔEの相違は、図23のCase3に示したような、ディジタルスチルカメラJ10側のホワイトバランスを「蛍光灯固定」に設定した状態(この状態を、図23では「KWB−k」と表わす)で撮影した場合にも生じる。このCase3では、Case2と同じ対象物をCase2と同じ蛍光灯の下で撮影している。この「蛍光灯固定」という設定は、予め定められた蛍光灯の平均的な色温度に合わせてホワイトバランスの調整を行なう設定である。こうした「蛍光灯固定」に設定された状態での撮影によって生成されたチャートデータJVDw1は、図23に示すように、Case2のチャートデータJVDaw1の場合と比べればチャートデータJVD1に近い色味であるものの、やはりCase1のチャートデータJVD1とは色味が異なっており、カラーチャートJVとチャートデータJVDw1との間の実体−画像間色差ΔEは、Case1の場合と異なる値である値Jcg3となる。従って、チャートデータJVDw1にCase1において規定された補正値Jre1を適用して色補正処理を行なっても、Case2の場合と同様の理由で、プリンタJ40においてCase1におけるチャート画像JEと同じ色合いの画像を印刷することはできなかった(図23を参照)。
【0010】
このようにCase2,3の場合にCase1の場合とは異なる実体−画像間色差ΔEが生じてしまう要因の一つとして、ディジタルスチルカメラJ10によって撮影しようとする対象物(以下、撮影対象物という)の全体の色がディジタルスチルカメラJ10側でのホワイトバランスの調整度合いに影響していることが考えられる。また、他の要因として、Case1とCase2,3とが異なる露出状態で撮影されたということが考えられる。例えば、Case1において露出が過不足の状態でカラーチャートが撮影され、Case2,3において露出が適正な状態でカラーチャートが撮影された場合には、チャートデータJVDaw1,JVDw1はチャートデータJVD1とは異なる明るさとなり、こうした明るさの違いによりCase1の場合とCase2,3の場合との間で実体−画像間色差ΔEに相違が生じてしまう。
【0011】
こうした光源や露出等の撮影環境の違いによるカラーチャートの実体−画像間色差ΔEの相違は、特に、カラーチャートの撮影により生成された画像データを基準として画像データ生成装置と他の装置との間のプロファイルを作成し、このプロファイルを利用して色補正処理を実現するような場合に、プロファイルの活用範囲を非常に狭めてしまう。撮影環境の違いによるカラーチャートの実体−画像間色差ΔEの相違を前提として作成されたプロファイルは、結局、カラーチャートの撮影環境と全く同じ環境下で撮影された被写体の色の他の装置における再現にしか用いることができないからである。
【0012】
本発明は、上記の課題を解決し、専門的知識を有していない者が種々の撮影環境下で撮影しても同様の色情報を有する画像データが生成されるカラーチャートを提供し、こうしたカラーチャートの撮影により生成された画像データに基づいて効率の良い色補正処理を実現することを目的として、以下の構成を採った。
【0013】
【課題を解決するための手段およびその作用・効果】
本発明のカラーチャートは、
所定の対象物を予め規定された調整パラメータに基づいてホワイトバランスを取りながら撮影することにより前記対象物の画像データを生成する画像データ生成装置によってテスト撮影され、該テスト撮影により生成される画像データが該テスト撮影以外の他の撮影により生成された画像データの色補正処理に利用されるカラーチャートであって、
所定の領域内に配列された複数の色のカラーパッチを備え、
前記カラーパッチが、各色を積分すると無彩色になるように配列された
ことを要旨とする。
【0014】
本発明のカラーチャートでは、複数の色のカラーパッチが、各色を積分すると無彩色になるように配列される。このため、画像データ生成装置によるカラーチャートのテスト撮影によって画像データを生成する際に、カラーチャートを構成するカラーパッチの色合いが画像データ生成装置側の予め規定された調整パラメータに基づくホワイトバランス調整に影響を及ぼすことが少なく、ホワイトバランスを取りやすくなる。従って、カラーチャートを撮影する光源の種類の相違に拘らず、同様の色合いの画像データを生成させることが可能となり、生成された画像データに基づく色補正処理を効率良く実現することができる。例えば、蛍光灯下でカラーチャートをテスト撮影した場合において、カラーチャートの色に因る色かぶり(緑かぶり)の発生が防止されるので、太陽光下での撮影と同様の撮影結果を得ることができる。従って、テスト撮影後に蛍光灯下で対象物を撮影した場合に、色かぶりを除去するような色補正処理を行なう必要がない。
【0015】
上記の発明において、画像データ生成装置を、ホワイトバランスを取ると共に、対象物の周辺環境に応じた露光量を自動的に決定して該対象物を撮影することにより該対象物の画像データを生成する装置とし、カラーパッチの各色を積分した結果である無彩色を、L***表色系において明度を表わすL*の値が50近傍の色とすることも望ましい。こうすれば、画像データ生成装置によるカラーチャートのテスト撮影によって画像データを生成する際に、カラーチャート全体の明るさが画像データ生成装置側で自動的に決定される露光量に影響を及ぼすことが少なく、グレーバランスを取りやすくなる。従って、露光量を自動的に決定するモードや設定状態で簡易にカラーチャートを撮影した場合であっても、露出の過不足のない適正な明るさの画像データを確実に生成させることが可能となる。例えば、画像データE3を生成する際に、撮影対象物であるカラーチャート全体の明るさに応じた露出補正を加える必要がない。
【0016】
***表色系において明度を表わすL*の値が50近傍のカラーパッチをチャート中央部に備えることも好適である。画像データ生成装置では、一般に、中央部重点測光(撮影有効領域の中央部分を重点的に測定すること)により露光量を自動的に決定する。こうした画像データ生成装置により上記のカラーチャート全体が撮影有効領域内に納まるようにカラーチャートをテスト撮影すれば、画像データ生成装置側において、チャート中央部のL*の値が50近傍のカラーパッチを基準としてより正確にグレーバランスを取ることが可能となり、チャート中央部よりも外側のカラーパッチの色がグレーバランスに影響することがない。従って、より適正な露出の画像データを簡単かつ確実に生成することができる。
【0017】
複数の色のカラーパッチが配列される所定の領域を略四角形の領域とすると共に、該略四角形の領域を、画像データ生成装置の撮影有効領域とほぼ同じ縦横の構成比率で形成してもよい。こうすれば、全てのカラーパッチを確実に撮影することが可能となり、カラーチャートのテスト撮影の失敗を有効に防止することができる。
【0018】
所定の領域の周囲に、L***表色系において明度を表わすL*の値が50近傍の無彩色の領域を備えることも好適である。こうすれば、画像データ生成装置によってカラーチャートをテスト撮影する際に、所定の領域の周囲にカラーパッチ以外の対象物が写り込み、写り込んだ対象物の色によってホワイトバランスの調整度合や露光量に悪影響を与えてしまうということがない。
【0019】
複数のカラーパッチが、sRGB色空間の領域外の色のカラーパッチを含むことも望ましい。こうすれば、sRGB色空間の領域外の色(例えば、彩度の高い色)についても色かぶりや露出の過不足のない画像データを生成可能となり、広い色域を正確にカバーした色補正処理を行なうことができる。
【0020】
所定の領域の天地左右を識別する情報を、前記色補正処理を行なう装置が認識可能な形式で備えてもよい。こうすれば、色補正処理を行なう際に、カラーチャートの画像データから各カラーパッチの位置情報を正確に特定することが可能となり、画像データに基づく色の認識を容易かつ確実なものにすることができる。
【0021】
上記のカラーチャートを、テスト撮影によって生成される画像データが画像データ生成装置と該画像データ生成装置以外の他の装置との間のプロファイル作成に利用されるカラーチャートとすることも望ましい。例えば、請求項1の発明の構成を備える場合には、色かぶりの少ない画像データを基準として他の装置との間のプロファイルを作成可能となり、プロファイルの精度を向上することができる。請求項2の発明の構成を備える場合には、露出の過不足のない画像データを基準として他の装置との間のプロファイルを作成可能となり、プロファイルの精度をより一層向上することができる。例えば、sRGB色空間の領域外の色のカラーパッチを含むカラーチャートがテスト撮影された場合には、彩度の高い色についても色かぶりや露出の過不足のない画像データを生成可能となり、この画像データに基づいて色域が広く且つ高精度のプロファイルを作成することができる。また、所定の領域の天地左右を識別する情報を色補正処理を行なう装置が認識可能な形式で備えたカラーチャートがテスト撮影された場合には、カラーチャートの画像データから各カラーパッチの位置情報を特定して、正確なプロファイルを作成することができる。
【0022】
本発明を、上記のカラーチャートを撮影可能に構成された装置であって、該カラーチャートを予め規定された調整パラメータに基づいてホワイトバランスを取りながら撮影することにより該カラーチャートの画像データを生成する画像データ生成装置として把握することもできる。本発明の画像データ生成装置では、複数の色のカラーパッチが各色を積分すると無彩色になるように配列されたカラーチャートの撮影によりホワイトバランスを調整して画像データを生成する。このため、ホワイトバランスを調整する際、カラーチャートを構成するカラーパッチの色合いが予め規定された調整パラメータに基づくホワイトバランス調整に影響を及ぼすことが少なくなり、ホワイトバランスを取りやすくなる。従って、カラーチャートについて、撮影光源色による色かぶりが少ない画像データを得ることが可能となり、撮影光源の種類の相違に拘らず、同様の色合いの画像データを生成することができる。例えば、使用者が撮影する場所の光源(以下、撮影場所光源という)を特定せず、オートホワイトバランスでカラーチャートを撮影した場合であっても、色かぶりの少ない画像データを生成することができる。
【0023】
上記発明において、カラーチャートの画像データを、ホワイトバランスを取りながら、カラーチャートの周辺環境に応じた露光量を自動的に決定して撮影することにより生成する構成を採ることも好適である。このような画像データ生成装置では、複数の色のカラーパッチが各色を積分するとL***表色系において明度を表わすL*の値が50近傍の無彩色になるように配列されたカラーチャートの撮影により、ホワイトバランスを調整すると共に、撮影されるカラーチャートの周辺環境に応じた露光量を自動的に決定して画像データを生成する。従って、露光量を自動的に決定する際、カラーチャート全体の明るさが自動的に決定される露光量に影響を及ぼすことが少なくなり、グレーバランスを取りやすくなる。従って、露光量を自動的に決定するモードや設定状態で簡易にカラーチャートを撮影した場合であっても、露出の過不足のない適正な明るさの画像データを確実に生成することができる。例えば、生成された画像データに対して、撮影対象物であるカラーチャート全体の明るさに応じた露出補正を加える必要がない。
【0024】
生成された画像データを読み取り可能に記憶する記憶手段を備えることも、カラーチャートについての色かぶりが少なく適正な露出状態の画像データを事後的に読み出して利用可能となる点で好ましい。例えば、読み取られた画像データを基準として画像データ生成装置と他の装置との間のプロファイルを作成すれば、精度の高いプロファイルを作成することができる。
【0025】
本発明を、上記のカラーチャートを撮影することにより生成されたカラーチャートの画像データを補正するチャート画像データ補正装置として把握することも可能である。こうした本発明のチャート画像データ補正装置は、複数の各カラーパッチの色を表現したデータである基準データを保持する基準データ保持部と、該基準データ保持部を参照して、生成された画像データを基準データと対比し、該画像データの色情報の補正値を決定する補正値決定部とを備える。このようなチャート画像データ補正装置によれば、補正値決定部が、画像データ生成装置により撮影光源の種類の相違に拘らず同様の色合いで生成されたカラーチャートの画像データを基準データと対比して該画像データの色情報の補正値を決定する。従って、一の画像データ生成装置に関し、画像データの色情報の補正値を一通りに定めることが可能となり、補正値の決定処理を簡略化することができる。例えば、一の画像データ生成装置により生成されたカラーチャートの画像データの色情報の補正値を、太陽光下での撮影の場合と蛍光灯下での撮影の場合とで異なった値に決定するというような煩雑な処理を行なう必要がない。
【0026】
上記発明のチャート画像データ補正装置において、補正値決定部により決定された補正値とカラーチャートの画像データを生成した画像データ生成装置の種類とを関連付けた情報である補正基礎情報を保持する補正基礎情報保持部を備えることも、後に補正基礎情報を利用可能となる点で好適である。
【0027】
上記発明のチャート画像データ補正装置において、補正値決定部により決定された補正値に基づいて前記画像データを生成した画像データ生成装置と該画像データ生成装置以外の他の装置との間のプロファイルを作成するプロファイル作成部を備えることも好適である。こうすれば、画像データ生成装置における撮影時の光源の種類の相違に拘らず一通りに定められた補正値に基づいてプロファイルが作成される。従って、活用範囲が広く且つ精度の高いプロファイルを作成することができる。例えば、作成されたプロファイルが、カラーチャートが特定の光源(例えば、蛍光灯)下で撮影された場合しか役に立たないということがなく、カラーチャートが多様な光源下で撮影された場合であっても、画像データ生成装置によって撮影された対象物の色を他の装置において忠実に再現可能なプロファイルを提供することができる。
【0028】
上記発明のチャート画像データ補正装置において、プロファイル作成部により作成されたプロファイルとカラーチャートの画像データを生成した画像データ生成装置の種類とを関連付けた情報であるプロファイル情報を保持するプロファイル情報保持部を備えることも、後にプロファイル情報を利用可能となる点で好適である。
【0029】
本発明を、上記のチャート画像データ補正装置から補正基礎情報またはプロファイル情報を受け取り、該補正基礎情報または該プロファイル情報に基づいて、所定の対象物の撮影により生成された画像データの色情報を補正する色補正装置として把握することも可能である。こうした本発明の色補正装置は、所定の対象物の撮影により生成された画像データを受け取るデータ受取手段と、該データ受取手段が受け取った画像データを生成した画像データ生成装置の種類を判別する種類判別手段と、該種類判別手段により判別された画像データ生成装置の種類に対応する補正値またはプロファイルを、補正基礎情報またはプロファイル情報を参照して読み出す読出手段と、該読出手段により読み出された補正値またはプロファイルに基づいて、前記データ受取手段が受け取った画像データの色情報を補正する色情報補正手段とを備える。
【0030】
このような色補正装置によれば、所定の対象物の撮影により生成された画像データを受け取り、受け取った画像データを生成した画像データ生成装置の種類を判別し、該判別された画像データ生成装置の種類に対応する補正値またはプロファイルを、チャート画像データ補正装置から受け取った補正基礎情報またはプロファイル情報を参照して読み出す。読み出された補正値またはプロファイルは、チャート画像データ補正装置によってカラーチャートの撮影光源の相違に拘らず一通りに定められている。色情報補正手段は、こうした一通りの補正値またはプロファイルに基づいて受け取った画像データの色情報を補正する。従って、所定の対象物の撮影により生成された画像データの色補正処理を簡略化することができる。例えば、所定の対象物が太陽光下で撮影された場合と蛍光灯下で撮影された場合とで、生成された画像データの色情報を補正する程度や適用するプロファイルを異ならせるというような煩雑な処理を行なう必要がない。
【0031】
本発明のプロファイル作成方法は、
所定の対象物をホワイトバランスを取りながら撮影することにより前記対象物の画像データを生成する画像データ生成装置と該画像データ生成装置以外の他の装置との間のプロファイルを作成する方法であって、
前記画像データ生成装置によって複数の色のカラーパッチが各色を積分すると無彩色になるように所定の領域内に配列されたカラーチャートを撮影することにより、該カラーチャートの画像データを生成し、
該生成されたカラーチャートの画像データに基づいて、該カラーチャートの画像データを生成した画像データ生成装置と該画像データ生成装置以外の他の装置との間のプロファイルを作成する
ことを要旨とする。
【0032】
本発明のプロファイル作成方法によれば、所定の対象物をホワイトバランスを取りながら撮影することにより対象物の画像データを生成する画像データ生成装置によって、複数の色のカラーパッチが各色を積分すると無彩色になるように所定の領域内に配列されたカラーチャートを撮影することにより、該カラーチャートの画像データを生成し、該生成されたカラーチャートの画像データに基づいて、該カラーチャートの画像データを生成した画像データ生成装置と該画像データ生成装置以外の他の装置との間のプロファイルを作成する。カラーチャートについて、撮影光源色による色かぶりが少ない画像データを得ることが可能となり、撮影光源の種類の相違に拘らず、同様の色合いの画像データを生成することができる。従って、精度が高く且つ活用範囲の広いプロファイルを作成することができる。
【0033】
本発明のコンピュータプログラムを記録した記録媒体は、
複数の色のカラーパッチが所定の領域内に配列されたカラーチャートをホワイトバランスを取りながら撮影することにより生成された前記カラーチャートの画像データに基づき、該画像データを生成した画像データ生成装置と該画像データ生成装置以外の他の装置との間のプロファイルを作成するためのコンピュータプログラムを記録した記録媒体であって、
前記複数のカラーパッチが各色を積分すると無彩色になるように配列された前記カラーチャートの撮影により該カラーチャートの画像データを生成する工程と、
該生成されたカラーチャートの画像データに基づいて前記プロファイルを作成する工程と
をコンピュータに実行させるためのプログラムをコンピュータに読み取り可能に記録したことを要旨とする。
【0034】
本発明のコンピュータプログラムを記録した記録媒体によれば、複数のカラーパッチが各色を積分すると無彩色になるように配列されたカラーチャートの撮影により該カラーチャートの画像データを生成し、この画像データに基づき、該画像データを生成した画像データ生成装置と該画像データ生成装置以外の他の装置との間のプロファイルを作成する。従って、精度が高く且つ活用範囲の広いプロファイルを作成することができる。
【0035】
【発明の実施の形態】
以上説明した本発明の構成および作用を一層明らかにするために、以下本発明の実施の形態を、以下の順序で説明する。
A.実施例(画像データ変換システムMA)
A−1.実施例の要点
A−2.画像データ変換システムMAの全体構成
A−3.ホワイトバランスないし露出の調整機構
A−4.カラーチャートの構造
A−5.カラーチャートの撮影環境の相違と作成されるプロファイルとの関係B.変形例
【0036】
A.実施例
A−1.実施例の要点
図1は本発明の実施例である画像データ変換システムMAにおける特徴的な構成を示す説明図である。画像データ変換システムMAは、一の色空間によって表現された画像データを一の色空間とは異なる色空間によって表現された画像データに変換するシステム撮影される被写体の色を忠実に印刷媒体上に再現可能なシステムである。このシステムは、図1に示すように、被写体の撮影に伴って画像データを生成する画像データ生成装置、該画像データ生成装置による複数の色のカラーパッチを有するカラーチャートEPの撮影によって基準画像データE3が生成された場合に、該基準画像データE3を補正するチャート画像データ補正装置、該チャート画像データ補正装置による補正結果を利用して、画像データ生成装置による対象物Hの撮影に伴って生成された画像データH1を補正する色補正装置によって実現される。
【0037】
図1に示すように、画像データ生成装置は、sRGB色空間を基準として画像データを生成するのに対し、色補正装置は、受け取った画像データをsRGB色空間よりも広い色再現領域を有するwRGB色空間によって表現された画像データに補正する。チャート画像データ補正装置は、このような画像データ生成装置と色補正装置との間の基準色空間の相違や画像データ生成装置ないし色補正装置の色再現特性を考慮して、各カラーパッチの実物色と同様の色が色補正装置において再現できるように基準画像データE3の補正値を決定し、決定された補正値から画像データ生成装置と色補正装置との間のプロファイルを作成する。ここで、プロファイルとは、デバイスに依存する一の色空間で表現された色をデバイスに依存する他の色空間で再現する手法を記述したファイルを意味する。このプロファイルの詳細については後述する。
【0038】
なお、本実施例では、図1に示すように、画像データ生成装置をディジタルスチルカメラ10によって構成し、チャート画像データ補正装置および色補正装置をカラー印刷可能なプリンタ40によって構成している。
【0039】
図1に示すように、画像データ変換システムMAにおいて行われる処理は、プロファイル作成モジュールMA1,プロファイル作成モジュールMA1の終了後に行なわれる画像印刷モジュールMA2という二つのモジュールから構成されている。プロファイル作成モジュールMA1では、用紙P上に印刷されたカラーチャートEPの撮影により、画像データ生成装置が有する色空間であるsRGB色空間によって表現されたsRGB基準画像データE3を生成し、このsRGB基準画像データE3に基づいて画像データ生成装置と色補正装置との間のプロファイルを作成する処理が行なわれる。また、画像印刷モジュールMA2では、上記作成されたプロファイルを利用して、対象物Hの撮影に伴って生成されたsRGB画像データH1を色補正装置が有する色空間であるwRGB色空間によって表現されたwRGB画像データH4に変換し、このwRGB画像データH4に基づいて対象物Hの画像を印刷する処理が行なわれる。
【0040】
sRGB基準画像データE3は、図1に示すように、カラーチャートEPの撮影に伴って画像データ生成装置内に格納されたチャート画像データ生成プログラムが実行されることにより生成される。このチャート画像データ生成プログラムには、カラーチャートEPを含む被写体が撮影される環境(以下、撮影環境という)を把握し、該撮影環境に基づいてsRGB基準画像データE3を生成するプログラムが記述されている。こうした被写体の撮影環境として、本実施例では、被写体を照射する光源の種類(例えば、蛍光灯,太陽光等)や被写体から反射される光量等を考慮している。例えば、図1に示すように、カラーチャートEPを含む被写体が蛍光灯下で撮影された場合には、蛍光灯の色温度に合うようにホワイトバランスを自動的に調整すると共に、蛍光灯下の被写体から反射される光量を自動的に計測して撮影に必要な露光量を決定する。カラーチャートEPを含む被写体が太陽光下で撮影された場合には、太陽光の色温度に合うようにホワイトバランスを自動的に調整すると共に、太陽光下の被写体から反射される光量を自動的に計測して撮影に必要な露光量を決定する。これにより、ホワイトバランスおよび露光量が自動的に調整されたsRGB基準画像データE3が生成される。
【0041】
後述するように、プロファイル作成モジュールMA1では、画像データ生成装置により、特徴的なカラーパッチ構造を有するカラーチャートEPが撮影される。これにより、画像データ生成装置におけるホワイトバランスおよび露光量の自動的な調整がより適正に行なわれる。この結果、撮影環境の相違に拘らずほぼ同じ色情報を有するsRGB基準画像データE3が生成される。例えば、図1に示すように、カラーチャートEPが蛍光灯下,太陽光下のいずれの環境下で撮影された場合であっても、ほぼ均一な色合い情報や明るさ情報を有するsRGB基準画像データE3が生成される。
【0042】
こうしたsRGB基準画像データE3に基づいて、チャート画像データ補正装置においてプロファイル作成プログラムが実行され、プロファイルが作成される。作成されたプロファイルが色補正装置によって参照されることにより、sRGB画像データH1の色空間が変換されてwRGB画像データH4が生成される。
【0043】
このように、本実施例の画像データ変換システムMAは、撮影環境の相違に拘らずほぼ均一な色情報を有するsRGB基準画像データE3に基づいて精度の高いプロファイルを作成し、以後、このプロファイルを利用して画像データについての色空間の変換を行なうことで、対象物Hが多様な撮影環境下で撮影された場合であっても対象物Hの色の忠実な再現を可能とすることを特徴とするものである。
【0044】
A−2.画像データ変換システムMAの全体構成
次に、本実施例の画像データ変換システムMAの全体構成について図2ないし図12を参照しつつ説明する。図2は本発明の実施例である画像データ変換システムMAの概要を示す説明図である。図2に示すように、画像データ変換システムMAは、画像データ生成装置としてのディジタルスチルカメラ10とチャート画像データ補正装置ないし色補正装置としてのプリンタ40を備える。
【0045】
ディジタルスチルカメラ10は、対象物を撮影することにより画像を取得し、取得した画像をデジタル形式の画像データとしてメモリカードMCに保存する機能を有し、この機能を実行するためにCPU,ROM,RAM等により構成された制御機構20を備える。
【0046】
図2に示すように、ディジタルスチルカメラ10は、sRGB色空間,YCbCr色空間というディジタルスチルカメラ10特性に依存する二つの色空間を基準としている。YCbCr色空間は、sRGB色空間よりも広い色再現領域を有する。
【0047】
ディジタルスチルカメラ10の制御機構20は、被写体の撮影によりsRGB色空間によって表現された画像データを生成し、生成された画像データをYCbCr色空間によって表現された画像データに変換した後にJPEG圧縮を行ない、圧縮後のYCbCr画像データをメモリカードMCに記録する。なお、メモリカードMCへの画像データの保存形式としては、上記JPEG形式のほか、TIFF形式、GIF形式、BMP形式等の保存形式を用いることができる。
【0048】
プリンタ40は、他のデジタル装置から画像データを受け取り、受け取った画像データをプリンタが有する色空間で表現された画像データに変換し、変換後の画像データに基づいて画像を出力する機能を有しており、より具体的には、紙や布,CD−R等の記録メディア,OHPシート等の印刷媒体上に画像を印刷する機能を有する。こうした機能を実行するために、プリンタ40は、CPU,ROM,RAM等により構成された制御機構50を備える。
【0049】
図2に示すように、プリンタ40は、wRGB色空間,CMYK色空間(図示せず)というプリンタ40特性に依存する二つの色空間を基準としている。wRGB色空間は、sRGB色空間よりも広い色再現領域を有する。
【0050】
プリンタ40がwRGB色空間以外の色空間によって表現された画像データを受け取った場合には、制御機構50は、この画像データをwRGB色空間によって表現された画像データに変換し、変換後の画像データを色分解してCMYK色空間によって表現された画像データに変換する。制御機構50は、このCMYK画像データに基づいてC(シアン),M(マゼンタ),Y(イエロー)K(ブラック)の4色のインクの吐出態様を決定し、決定された吐出態様に基づいた印刷の実行を指示する。
【0051】
なお、図2に示す画像データ変換システムMAでは、ディジタルスチルカメラ10とプリンタ40とはケーブル等の接続手段により相互に接続されていない。ディジタルスチルカメラ10からプリンタ40への画像データの受け渡しは、ディジタルスチルカメラ10のメモリカードスロットル11から引き抜かれたメモリカードMCをプリンタ40のメモリカードドライブ41に差し込むことにより実現される。即ち、メモリカードドライブ41に接続されたプリンタ40の制御機構50は、メモリカードMCに記録されたYCbCr画像データを読み取り、読み取った画像データをwRGB色空間によって表現された画像データに変換するのである。
【0052】
既述したように、画像データ変換システムMAは、プロファイル作成モジュールMA1,画像印刷モジュールMA2という二つのモジュールから構成されている。これらの各モジュールMA1,MA2において行なわれる一連の処理のうち、プリンタ40側における処理は、プリンタ40の制御機構50内に設けられた記憶部51,指令部53,色空間変換部68,L−w演算部55,色分解部56,出力部58,データ受取部60,関係決定部64,表色値特定部65,色変換表作成部66および色変換表記憶部67という各機能部によって実行される(図2を参照)。また、ディジタルスチルカメラ10側における処理は、ディジタルスチルカメラ10の制御機構20内に設けられたデータ生成部22,色変換部24および圧縮部26という各機能部によって実行される(図2を参照)。
【0053】
本実施例では、プロファイル作成モジュールMA1において、ディジタルスチルカメラ10とプリンタ40という二つのデバイス間で用いられるプロファイルとして、ディジタルスチルカメラ10によりYCbCr色空間で表現された色をプリンタ40が有するwRGB色空間で再現する手法が記述されたプロファイルYWを作成することとしている。このプロファイル作成モジュールMA1において上記の各機能部が行なう処理につき、図2および図3を中心としつつ、図4ないし図10を適宜参照しながら具体的に説明する。
【0054】
図2では、プロファイル作成モジュールMA1において各機能部が実行する処理の流れを黒色の細い矢印で示している。また、図3では、プロファイル作成モジュールMA1において制御機構50ないし制御機構20が全体として行なう処理の流れをプロファイル作成処理ルーチンとしてフローチャートを用いて示している。以下の説明においては、図2を中心として各機能部が実行する処理の内容を説明するとともに、図3にも記載されている処理内容については説明文中に図3に相当するステップ名を付記するものとする。
【0055】
図2に示すように、記憶部51には、複数の色のカラーパッチを有するカラーチャートEPを特定するための情報である基準画像データE0が予め記憶されている。この基準画像データE0は、機器非依存色の色空間であるL***色空間によって表現されている。記憶部51の基準テーブルBT(図2においては図示せず)には、後述するように、各カラーパッチの色をL***色空間によって表現したときの色彩値(以下、基準色彩値という)の情報が基準色彩値情報LQ(図2においては図示せず)として予め記憶されている(図5を参照)。
【0056】
使用者による所定の操作によりカラーチャートEPの出力指示を受けた指令部53は、カラーチャートEPの出力データを形成する指令を色空間変換部68に送る。指令を受けた色空間変換部68は、まず、記憶部51からL***色空間によって表現された基準画像データE0を読み出し(ステップS200、ステップS210)、この基準画像データE0をwRGB色空間によって表現されたwRGB基準画像データE1に変換する(ステップS220)。
【0057】
基準画像データE0からwRGB基準画像データE1への変換は、色空間変換部68内のL−w演算部55により、以下の要領で行われる。
【0058】
色変換表記憶部67には、プロファイルYWの一内容として、以下の式2のようなL***色空間からwRGB色空間への変換式が予め記憶されている。
[式2]
Fy=(L*+16)/116
Fy≧0.20456のとき、Y=Y0・Fy3
Fy<0.20456のとき、Y=(Y0/7.787)・(L*−16/116)
Fx=(Fy+a*/500)
Fx≧0.20456のとき、X=X0・Fx3
Fx<0.20456のとき、X=(X0/7.787)・(Fy+a*/500−16/116)
Fz=(Fy−b*/200)
Fz≧0.20456のとき、Z=Z0・Fx3
Fz<0.20456のとき、Z=(Z0/7.787)・(Fy−b*/200−16/116)
ただし、X0,Y0,Z0は、白色点での三刺激値
(R/255)γ=m11・X+m12・Y+m13・Z
(G/255)γ=m21・X+m22・Y+m23・Z
(B/255)γ=m31・X+m32・Y+m33・Z
ただし、m11〜m33は、XYZ→RGB色空間変換マトリクス
【0059】
カラーチャートEPの出力データを形成する旨の指令を色空間変換部68から受け取ったL−w演算部55は、色変換表記憶部67を参照して上記の式2を読み出し、各カラーパッチについての基準色彩値(L*,a*,b*)を上記の式2に代入して演算結果を算出する。こうした演算により、カラーチャートEP上の各色のカラーパッチについて、基準色彩値(L*,a*,b*)の値に対応するwRGB表色値(wR,wG,wB)の値が求まり、基準画像データE0をwRGB基準画像データE1に変換することができる。
【0060】
なお、基準画像データE0からwRGB基準画像データE1への変換をL−w演算部55による演算を行なうことなく実現することも可能である。具体的には、wRGB色空間によって表現されたwRGB基準画像データE1を予め記憶部51に記憶しておき、指令部53からの指令を受けたときに色空間変換部68が記憶部51を参照してwRGB基準画像データE1を読み出す構成等を考えることができる。
【0061】
色空間変換部68は、演算によって求められたwRGB基準画像データE1の表色値を各基準色彩値との対応関係をとりながら記憶部51の基準テーブルBTに一時的に記憶する(図5を参照)とともに、wRGB基準画像データE1を色分解部56に送る。色分解部56は、受け取ったwRGB基準画像データE1を色分解してCMYK色空間によって表現されたCMYK基準画像データE2に変換し(ステップS230)、このCMYK基準画像データE2を出力部58が出力する。これにより、カラーチャートEPが印刷された状態の用紙Pがプリンタ40の外部に排出される(ステップS240)。
【0062】
カラーチャートEPが印刷された状態の用紙Pを図4に示す。図4に示すように、カラーチャートEPは、複数の色のカラーパッチが配列された領域であるパッチデータ領域VSを備える。パッチデータ領域VSは横長の四角形の輪郭を有しており、この四角形の領域内には、互いに異なる色を有する240個(縦12個×横20個)のカラーパッチが配列されている。なお、240個(縦12個×横20個)のカラーパッチのうちのいくつかは同じ色であっても差し支えない。
【0063】
カラーチャートEPは、パッチデータ領域VSよりも外側の周囲に、240個のカラーパッチの背景領域であるバックグラウンドデータ領域BSを備える。バックグラウンドデータ領域BSの周囲には、用紙Pの色である白色の余白領域が形成されている。こうしたパッチデータ領域VSおよびバックグラウンドデータ領域BSの構造については、後述する「A−4.カラーチャートの構造」において更に詳しく説明する。なお、上記のバックグラウンドデータ領域BSを設けない構成とすることも可能である。
【0064】
パッチデータ領域VSにおけるカラーパッチの配列は、各カラーパッチの画素ごとの色彩値の情報をカラーチャートEPの走査方向順に並べることにより特定することができる。こうした配列の特定に関し、第1実施例では、図4に示すように、カラーパッチの配列に関する情報(以下、配列情報FLという)をカラーチャートEP内の行位置および桁位置の組み合わせによって定義している。即ち、カラーチャートEPには、第a行〜第l行(計12行)の各行に20桁分のカラーパッチが配置されるものとし、1行目の1桁目に位置するカラーパッチの配列情報FLを「a1」と表わし、12行目の20桁目に位置するカラーパッチの配列情報FLを「l20」と表わしている。
【0065】
カラーチャートEPは、バックグラウンドデータ領域BS内に、カラーチャートEPの天地左右を識別するための識別データZDとして、四つの識別マークZ1〜Z4を備える。各識別マークZ1〜Z4は、それぞれ、四角形のパッチデータ領域VSが有する四つの各コーナー部の近傍に配置されている。即ち、図4に黒色で塗りつぶされた三角形で示すように、配列情報FLが「a1」,「a20」のカラーパッチの近傍には、それぞれ黒色の識別マークZ1,黒色の識別マークZ2が配置されている。このうち識別マークZ1は、図4に示すように、1−1輪郭軌跡線よりも上側(図4に示すY方向側)かつ3−3輪郭軌跡線よりも左側(図4に示す−X方向側)の領域に配置されている。また、識別マークZ2は、1−1輪郭軌跡線よりも上側(図4に示すY方向側)かつ4−4輪郭軌跡線よりも右側(図4に示すX方向側)の領域に配置されている。
【0066】
また、図4に白色で塗りつぶされた三角形で示すように、配列情報FLが「l1」,「l20」のカラーパッチの近傍には、それぞれ赤色の識別マークZ3,赤色の識別マークZ4が配置されている。このうち識別マークZ3は、図4に示すように、2−2輪郭軌跡線よりも下側(図4に示す−Y方向側)かつ4−4輪郭軌跡線よりも右側(図4に示すX方向側)の領域に配置されている。また、識別マークZ4は、2−2輪郭軌跡線よりも下側(図4に示す−Y方向側)かつ3−3輪郭軌跡線よりも左側(図4に示す−X方向側)の領域に配置されている。これら4個の識別マークZ1〜Z4は、後述するようにプリンタ40の制御機構50によって判読されることによりカラーチャートEPの天地左右を識別する情報(以下、識別情報SBという)として機能する。
【0067】
なお、上記した各カラーパッチの配列情報FLは、各カラーパッチの色をL***色空間によって表現した基準色彩値情報LQとともに、基準画像データE0として記憶部51の基準テーブルBTに予め記憶されている。基準画像データE0が記憶された状態の基準テーブルBTを図5に示す。図5に示すように、基準テーブルBTには、「a1」〜「l20」までの配列情報FLと、各配列情報FLに対応する基準色彩値情報LQが記憶されている。
【0068】
基準色彩値情報LQはL***色空間によって表現された色彩値の形式で表わされる。例えば、図5に示すように、配列情報FLが「a1」のカラーパッチには、(L*,a*,b*)=(m0,n0,o0)という基準色彩値情報LQが付与されている。この基準色彩値情報LQは、L*(明度),a*(赤⇔緑方向の色度),b*(黄⇔青方向の色度)の各値がそれぞれm0,n0,o0であるという内容を表わしている。なお、基準テーブルBTにおいては、L*,a*,b*の値を「m+数字」,「n+数字」,「o+数字」という形式で表わしているが、「m」の後の数字は0(ゼロ)から100までの値を採り得る。また、「n」や「o」の後の数字は、可視領域に属する色の色度の数に対応した値を採ることができる。
【0069】
また、図5に示す基準テーブルBTには、基準色彩値情報LQの内容に対応するwRGB表色値情報WQが記憶されている。このwRGB表色値情報WQは、L***色空間によって表現された基準色彩値をプリンタ40の色空間であるwRGB色空間によって表現したときの表色値の情報である。例えば、図5に示すように、配列情報FLが「a1」のカラーパッチには、基準色彩値(m0,n0,o0)に対応するwRGB表色値の情報として、(wR,wG,wB)=(p0,q0,r0)というwRGB表色値情報WQが付与されている。このwRGB表色値情報WQは、wR(wRGB色空間における赤),wG(wRGB色空間における緑),wB(wRGB色空間における青)の各値がそれぞれp0,q0,r0であるという内容を表わしている。なお、基準テーブルBTにおいては、wR,wG,wBの値を「p+数字」,「q+数字」,「r+数字」という形式で表わしているが、「p」,「q」,「r」の後の数字は、R,G,Bの各色の一般的な階調数(各色256階調)に対応して、0(ゼロ)から255までの値を採り得る。こうしたwRGB表色値情報WQである(wR,wG,wB)の値は、前述したwRGB基準画像データE1の変換処理(図3のステップS220)において、L−w演算部55の演算結果を受け取った色空間変換部68により記録される。
【0070】
図2および図3に戻って説明する。こうした用紙P上のカラーチャートEPが所定の撮影指示に基づいてディジタルスチルカメラ10によって撮影されると、データ生成部22は、カラーチャートEPの光の情報をCCD上に結像させることによりカラーチャートEPの画像を取得し(ステップS300、ステップS310)、取得した画像についてCCDによる光電変換およびA/DコンバータによるA/D変換を行なうことによりsRGB色空間によって表現されたsRGB基準画像データE3を生成する(ステップS320)。データ生成部22は、このsRGB基準画像データE3を色変換部24に送る。色変換部24は、受け取ったsRGB基準画像データE3をYCbCr色空間によって表現されたYCbCr基準画像データE4に変換し(ステップS330)、このYCbCr基準画像データE4を圧縮部26に送る。圧縮部26は、データ量を削減するために、受け取ったYCbCr基準画像データE4のCb成分およびCr成分を間引いて、YCbCr基準画像データE4をYCbCr基準画像データE5に圧縮する(ステップS340)。こうして圧縮されたYCbCr基準画像データE5はメモリカードMCに記録される(ステップS350)。なお、YCbCr基準画像データE4のデータ量が少ない場合には、上記の圧縮を行なうことなく、YCbCr基準画像データE4をそのままメモリカードMCに記録することとしても差し支えない。
【0071】
この後、YCbCr基準画像データE5を記録したメモリカードMCがプリンタ40のメモリカードドライブ41に差し込まれ、プリンタ40に対してプロファイルYWを作成する旨の所定の指示がなされると、データ受取部60はメモリカードMCの記録内容を読み出してYCbCr基準画像データE5を受け取り(ステップS250、ステップS260)、このYCbCr基準画像データE5を関係決定部64に送る。
【0072】
関係決定部64は、YCbCr基準画像データE5を表色値特定部65に送る。表色値特定部65は、YCbCr基準画像データE5の表色値を特定し、特定された表色値の情報を関係決定部64に渡す。関係決定部64は、受け取ったYCbCr基準画像データE5の表色値とL***色空間によって表現された基準画像データE0の基準色彩値との対応関係を決定し(ステップS270)、決定した対応関係に基づいて、YCbCr基準画像データE5の表色値を基準色彩値と対応付けながら記憶部51に一時的に記憶し、記憶した旨を色変換表作成部66に送る。
【0073】
図6は、図3のステップS270における対応関係決定処理の詳細を対応関係決定処理ルーチンとして示すフローチャートである。本ルーチンは、メモリカードMC内のYCbCr基準画像データE5を関係決定部64が受け取ったときに起動する。本ルーチンが起動されると、まず、YCbCr基準画像データE5をイメージデータとしてバッファに展開し(ステップS600)、このイメージデータ上に四つの識別マークZ1〜Z4が存在するか否かを判断する処理を行なう(ステップS610)。四つの識別マークZ1〜Z4が全て存在しないと判断した場合には、カラーチャートEPが全範囲に亘って撮影されていないとみなし、この旨を表示ランプの点滅等により警告する処理(ステップS690)を行ない、図3のステップS250の処理に戻る。
【0074】
四つの識別マークZ1〜Z4が全て存在すると判断した場合には、各識別マークZ1〜Z4のYCbCr色空間における表色値を読み取る処理を行なう(ステップS620)。上記の表色値の読み取り処理は、JPEG形式の画像データの解析プログラムを予めROM等に格納しておくことにより実現することができる。
【0075】
次に、読み取られた各識別マークZ1〜Z4の色彩値の違いに基づいてYCbCr基準画像データE5の天地左右を決定する処理を行なう(ステップS630)。具体的には、二つの黒色の識別マークZ1,Z2の位置する方向がカラーチャートEPの上方向に相当し、二つの赤色の識別マークZ3,Z4の位置する方向がカラーチャートEPの下方向に相当する旨を決定する。
【0076】
こうしてYCbCr基準画像データE5の天地左右を決定した後、YCbCr基準画像データE5中のカラーパッチに相当するデータについてYCbCr色空間における表色値を読み取る処理を行なう(ステップS640)。この読み取り処理は、イメージデータの上から順に、左から右に向かって行なわれる。図5に示したカラーチャートEPで言えば、配列情報FLが「a1」,「a2」,…,「a20」,「b1」,…,「b20」,…,「l1」,…,「l20」の順に、YCbCr表色値が読み取られる。
【0077】
次に、YCbCr表色値を読み取り順に記憶部51の対応テーブルCTに書き込む処理を行なう(ステップS650)。YCbCr基準画像データE5のYCbCr表色値が書き込まれた状態の対応テーブルCTを図7に示す。図7に示すように、対応テーブルCTには、カラーチャートEPの配列情報FL,YCbCr表色値情報YQ,基準色彩値情報LQという3つの項目が設けられている。配列情報FLの項目に属する各欄にはカラーチャートEPの配列情報FLに対応する「a1」から「l20」までの記号が予め記入されている。また、基準色彩値情報LQの項目に属する各欄には配列情報FLの内容に応じた基準色彩値の値が予め記入されている。読み取られたYCbCr表色値は、YCbCr表色値情報YQという項目に属する各欄に項目a1から順に書き込まれる。
【0078】
YCbCr色空間における表色値は、Y(輝度),Cb(彩度),Cr(彩度)という三つの成分の値の組み合わせによって特定される。例えば、図7に示すように、配列情報FL「a1」に対応するYCbCr表色値情報YQの欄には、(Y,Cb,Cr)=(s0,t10,u20)というYCbCr表色値が書き込まれており、このYCbCr表色値は、Y(輝度),Cb(彩度),Cr(彩度)の各値がそれぞれs0,t10,u20であるという内容を表わしている。なお、対応テーブルCTにおいては、Y,Cb,Crの値を「s+数字」,「t+数字」,「u+数字」という形式で表わしているが、「s」や「t」,「u」の後の数字はYCbCr色空間内の任意の値を採り得る。
【0079】
YCbCr基準画像データE5についてYCbCr表色値の書き込みが完了することにより、対応テーブルCTは、図7に示すようなYCbCr表色値と基準色彩値との対応関係が記述された一覧表となる。全てのカラーパッチに相当するデータについてYCbCr表色値の書き込みが完了したと判断した場合には、書き込みが完了した旨を色変換表作成部66に送り(ステップS660,ステップS670)、本ルーチンを終了する。
【0080】
以上説明した対応関係決定処理が制御機構50の各機能部によって行なわれる様子をブロック図として図8に示した。対応関係決定処理が終了したときには、図8に示すように、記憶部51に基準テーブルBTおよび対応テーブルCTという二つのテーブルが作成済みとなる。この基準テーブルBTと対応テーブルCTの記憶内容を併せることにより、両テーブルBT,CTに共通のL***色彩値を介して、各カラーパッチのwRGB表色値とYCbCr表色値との対応関係を取ることができる。例えば、配列情報FLが「a1」の(m0,n0,o0)という基準色彩値を有するカラーパッチは、プリンタ40により印刷される際に(p0,q0,r0)というwRGB表色値となり(図5を参照)、このwRGB表色値に基づいて印刷された用紙Pがディジタルスチルカメラ10に撮影されることにより(s0,t10,u20)というYCbCr表色値となる(図7を参照)。従って、ディジタルスチルカメラ10による被写体の撮影により、(s0,t10,u20)というYCbCr表色値を有する画像データが生成された場合には、この画像データを(p0,q0,r0)というwRGB表色値に変換してプリンタ40で印刷すれば、ディジタルスチルカメラ10が撮影時に取得した色と同様の色で撮影画像を印刷することができる。
【0081】
一方、カラーチャートEP上の240色以外の色を有する被写体がディジタルスチルカメラ10により撮影された場合には、上記対応テーブルCTにはないYCbCr表色値を有する画像データが生成される。本実施例では、このような画像データについてもディジタルスチルカメラ10が撮影時に取得した色と同様の色で撮影画像を印刷することを可能とすべく、上記の対応関係決定処理に続いて、以下に説明する回帰演算処理(図3のステップS280)を行なう。
【0082】
図2ないし図3に示すように、YCbCr基準画像データE5の表色値を記憶した旨を受け取った色変換表作成部66は、まず、記憶部51に記憶されたYCbCr基準画像データE5の表色値と基準色彩値の対応関係に基づいて後述する回帰演算処理を行なう(ステップS280)。続いて、回帰演算処理による演算結果を利用してYCbCr色空間からwRGB色空間への色変換表であるプロファイルYWを作成して、このプロファイルYWを色変換表記憶部67に記憶する処理を行ない(ステップS290)、プロファイル作成処理ルーチン(図3)を終了する。なお、本実施例では、プロファイルYWをYCbCr表色値からwRGB表色値への変換式の形式で作成し、この変換式を色変換表記憶部67に記憶している。
【0083】
図9は、図3のステップS280における回帰演算処理の詳細を回帰演算処理ルーチンとして示すフローチャートである。本ルーチンは、対応関係決定処理の終了後に起動する。本ルーチンが起動されると、まず、対応テーブルCTを参照し、先頭の配列情報FLを解析対象として設定する処理を行なう(ステップS700)。次に、解析対象として設定された配列情報FLについて対応テーブルCTに記録されている基準色彩値情報LQおよびYCbCr表色値情報YQを読み出す処理を行なう(ステップS710)。以上の処理により、図7に示した例で言えば、配列情報FL「a1」が解析対象として設定され、配列情報FL「a1」に属する(m0,n0,o0)というL***色彩値および(s0,t10,u20)というYCbCr表色値が読み出される。
【0084】
次に、読み出した基準色彩値情報LQおよびYCbCr表色値情報YQを、以下三つの基礎演算式JMに代入し(ステップS720)、代入後の各基礎演算式JMを演算バッファに記憶する処理を行なう(ステップS730)。
<基礎演算式JM>
*=(α1,α2,…α20)A
*=(β1,β2,…β20)A
*=(γ1,γ2,…γ20)A
なお、上記の基礎演算式JMにおいて、Aは、(1,Y,Cb,Cr,Y2,Cb2,Cr2,Y*Cb,Y*Cr,Cb*Cr,Y3,Cb3,Cr3,Y2*Cb,Y2*Cr,Y*Cb2,Y*Cr2,Cb2*Cr,Cb*Cr2,Y*Cb*Cr)tであり、α1,α2,…α20、β1,β2,…β20、γ1,γ2,…γ20は未知の定数である。上記の基礎演算式JMは、色変換表作成部66内の記憶領域に予め記憶されている。
【0085】
次に、次の配列情報FLが存在するか否かを判断する処理を行ない(ステップS740)、次の配列情報FLが存在すると判断した場合には、次の配列情報FLを解析対象として設定し(ステップS750)、ステップS710に戻って上記の処理を繰り返す。以上の処理により、図7に示した例で言えば、「a1」から「l20」までの各配列情報FLごとのL***色彩値およびYCbCr表色値を代入した基礎演算式JMが、順次に演算バッファに記憶される。
【0086】
ステップS740において、次の配列情報FLが存在しないと判断した場合には、全ての配列情報FLについて基準色彩値情報LQおよびYCbCr表色値情報YQの基礎演算式JMへの代入処理が終了したとみなし、演算バッファに記憶された全ての式を読み出して回帰演算を行なう(ステップS760)。具体的には、代入後の各式について最小二乗法の原理を適用することにより、回帰係数である60個の未知の定数(α1,α2,…α20、β1,β2,…β20、γ1,γ2,…γ20)の値を求める。
【0087】
次に、求められた回帰係数を上記の基礎演算式JMに代入する処理を行なった後(ステップS770)、回帰係数を代入した後の基礎演算式JMを式1として色変換表記憶部67に記憶する処理を行ない(ステップS780)、本ルーチンを終了する。回帰係数が代入された式1は、YCbCr表色値とL***色彩値との間の変換式となる。従って、この変換式に任意のYCbCr表色値(Y,Cb,Cr)を代入することにより、代入されたYCbCr表色値に対応するL***色彩値(L*,a*,b*)を求めることが可能となる。
【0088】
以上説明した回帰演算処理が制御機構50の各機能部によって行なわれる様子をブロック図として図10に示した。図10に示すように、回帰演算処理が終了したときには、色変換表記憶部67に、YCbCr表色値からL***色彩値への変換式である式1およびL***色空間からwRGB色空間への変換式である式2の二つの式が記憶された状態となる。回帰演算処理の後に行なわれるプロファイルの作成ないし記憶処理(図3のステップS290)では、上記二つの式を合わせて「YCbCr表色値→L***色彩値→wRGB色空間への変換式」とし、これをディジタルスチルカメラ10用のプロファイルYWとして色変換表記憶部67に保持する処理を行なう(図10を参照)。
【0089】
以上、プロファイル作成モジュールMA1において行なわれる処理の内容について説明した。次に、プロファイル作成モジュールMA1の終了後に行なわれる画像印刷モジュールMA2について説明する。画像印刷モジュールMA2で行なわれる一連の処理のうち、ディジタルスチルカメラ10側における処理は、ディジタルスチルカメラ10の制御機構20内に設けられたデータ生成部22,色変換部24および圧縮部26という各機能部によって実行される(図2を参照)。また、プリンタ40側における処理は、図2に示したプリンタ40の制御機構50内に設けられたデータ受取部60,表色値特定部65,色空間変換部68,色変換表記憶部67,Y−w演算部69,色分解部56および出力部58という各機能部によって実行される(図2を参照)。
【0090】
画像印刷モジュールMA2プロファイルにおいて上記の各機能部が行なう処理につき、図2および図11を中心としつつ、図12を適宜参照しながら具体的に説明する。図2では、画像印刷モジュールMA2において各機能部が実行する処理の流れを黒色の太い矢印で示している。また、図11では、画像印刷モジュールMA2において制御機構20ないし制御機構50が全体として行なう処理の流れを画像忠実印刷処理ルーチンとしてフローチャートを用いて示している。以下の説明においては、図2を中心として各機能部が実行する処理の内容を説明するとともに、図11にも記載されている処理内容については説明文中に図11に相当するステップ名を付記するものとする。
【0091】
プロファイルYWが作成されたディジタルスチルカメラ10により被写体としての対象物Hが撮影されると、図2に示すように、データ生成部22は、対象物Hの光の情報をCCD上に結像させることにより対象物Hの画像を取得し(ステップS400、ステップS410)、取得した画像についてCCDによる光電変換、A/DコンバータによるA/D変換を行なうことによりsRGB色空間によって表現されたsRGB画像データH1を生成する(ステップS420)。データ生成部22は、このsRGB画像データH1を色変換部24に送る。色変換部24は、受け取ったsRGB画像データH1をYCbCr色空間によって表現されたYCbCr画像データH2に変換し(ステップS430)、このYCbCr画像データH2を圧縮部26に送る。圧縮部26は、受け取ったYCbCr画像データH2のCb成分およびCr成分を間引くことによりデータ量を削減する。これにより、YCbCr画像データH2は圧縮されてYCbCr画像データH3となる(ステップS440)。特許請求の範囲にいう第一画像データは、第1実施例ではYCbCr画像データH3に相当する。こうして圧縮されたYCbCr画像データH3はメモリカードMCに記録される(ステップS450)。
【0092】
YCbCr画像データH3を記録したメモリカードMCがプリンタ40のメモリカードドライブ41に差し込まれ、プリンタ40に対して印刷を実行する旨の所定の指示がなされると、データ受取部60はメモリカードMCの記録内容を読み出してYCbCr画像データH3を受け取り(ステップS500、ステップS510)、このYCbCr画像データH3を表色値特定部65に送る。表色値特定部65は、受け取ったYCbCr画像データH3のYCbCr色空間における表色値を特定した後(ステップS520)、YCbCr画像データH3を色空間変換部68に送る。
【0093】
色空間変換部68は、色変換表記憶部67に記憶されたプロファイルYWを参照し、YCbCr画像データH3の表色値に対応するwRGB色空間の表色値を求める(ステップS530)。このYCbCr表色値に対応するwRGB表色値を求める処理は、色空間変換部68内のY−w演算部69が、プロファイルYWとしてのYCbCr表色値からwRGB表色値への変換式に画像データH3のYCbCr表色値を代入して演算することにより実現される。色空間変換部68は、Y−w演算部69の演算結果に基づいてYCbCr画像データH3をwRGB画像データH4に変換し(ステップS540)、wRGB画像データH4を色分解部56に送る。
【0094】
プロファイルYWに基づくYCbCr色空間からwRGB色空間への変換処理(図4のステップS530,S540の処理)が制御機構50の各機能部によって行なわれる様子をブロック図として図12に示した。図12に示すように、色空間変換部68内のY−w演算部69は、▲1▼表色値特定部65からYCbCr画像データH3のYCbCr表色値を受け取ると、▲2▼色変換表記憶部67からプロファイルYW(式1および式2)を読み出し、▲3▼受け取ったYCbCr表色値を式1に代入して演算を行なうことによりYCbCr表色値に対応するL***色彩値を求めた後、このL***色彩値を式2に代入して演算を行なうことによりL***色彩値に対応するwRGB表色値を求める。▲4▼色空間変換部68は、こうして求められたwRGB表色値に基づいてYCbCr画像データH3をwRGB画像データH4に変換し、wRGB画像データH4を色分解部56に送る。従って、YCbCr色空間によって表現された画像データH3を迅速かつ正確にwRGB色空間に置き換えることができる。
【0095】
図2および図11に戻って説明する。変換後のwRGB画像データH4を受け取った色分解部56は、wRGB画像データH4を色分解してCMYK色空間によって表現されたCMYK画像データH5に変換し(ステップS540)、このCMYK画像データH5を出力部58が出力する(ステップS550)。これにより、対象物Hの画像が印刷された状態の用紙Pがプリンタ40の外部に排出される(ステップS560)。
【0096】
上記の画像データ変換システムMAを適用した場合における、ディジタルスチルカメラ10によって取得された画像の色とプリンタ40によって印刷される色との関係を図13に示す。図13に示すように、ディジタルスチルカメラ10による撮影によって生成されたYCbCr画像データH3の表色値がYCbCrカラースペースにおける座標点v1上の値(橙色寄りの赤色を表わす値)であった場合に、このYCbCr画像データH3を受け取ったプリンタ40側でのプロファイルYMを用いた色空間変換により、YCbCr画像データH3の表色値はxy色度図上における座標点w1上の値(橙色寄りの赤色を表わす値)に対応付けられる。従って、プリンタ40においては、撮影時に取得された色と同様の色彩値を有するwRGB画像データH4に基づいて画像の印刷が行なわれる。
【0097】
以上説明した画像データ変換システムMAによれば、プリンタ40から出力印刷されたカラーチャートEPをディジタルスチルカメラ10により撮影し、撮影により生成されたYCbCr基準画像データE5をプリンタ40に入力するだけで、ディジタルスチルカメラ10の色空間(YCbCr色空間)からプリンタ40の色空間(wRGB色空間)への色変換表であるプロファイルYWが作成される。以降、このプロファイルYWを利用することで、ディジタルスチルカメラ10により撮影される被写体(対象物H)の色をプリンタ40により忠実かつ簡単に再現することができる。
【0098】
A−3.ホワイトバランスないし露出の調整機構
上記実施例におけるディジタルスチルカメラ10は、ホワイトバランスないし露出を調整する調整機構を備える。こうした調整機構について、図14および図15を参照しつつ説明する。図14は、ディジタルスチルカメラ10が備えるホワイトバランスないし露光量の調整機構をブロック図として示す説明図である。図15は、ホワイトバランスないし露出に関する条件として設定可能な項目および設定値を示す説明図である。
【0099】
ここで、ホワイトバランスないし露出の調整機構についての具体的な説明に入る前に、ディジタルスチルカメラ10が備える撮影モードについて説明する。ディジタルスチルカメラ10は、「マニュアル」,「フルオート」という二つの撮影モードを備える。「マニュアル」とは、ホワイトバランスや露出等に関する設定項目についての設定値を使用者が手動で設定して撮影を行なうモードである。一方、「フルオート」とは、ホワイトバランスや露出等に関する設定項目についての設定値をディジタルスチルカメラ10が自動的に設定して撮影を行なうモードである。こうした撮影モードの設定は、使用者が図14に示すダイヤルスイッチ15を操作して所望のモード(図15に示す「マニュアル」,「フルオート」のいずれか)を選択することにより行なうことができる。設定されたモードは、後述する設定管理部28に一時的に記憶される。
【0100】
次に、ホワイトバランスないし露出の調整機構について具体的に説明する。図14に示すように、ディジタルスチルカメラ10は、露出の調整機構として、露出制御部30,絞り管理部31,シャッター速度管理部32,露出補正部33,フラッシュ実行部34,設定管理部28という機能部を備える。また、ホワイトバランスの調整機構として、WB制御部35,設定管理部28という機能部を備える。これらの各機能部は、制御機構20の一部としてCPU,ROM,RAM等により構成されている。こうした各機能部の働きにより、データ生成部22においてホワイトバランスないし露出が調整された画像データ(sRGB基準画像データE3,sRGB画像データH1)が生成される。
【0101】
まず、露出の調整に関して説明する。ここで、露出とは、撮影時に必要な光をCCDに送り込むことをいう。撮影時にCCDに送り込まれる光量のことを、以下、露光量という。露光量は、「EV(Exposure Value)」を単位として表わされる。
【0102】
図14に示すように、レンズ14を通ってきた光がCCDの受光素子に当たると、受光素子は露光量を感知し、この露光量の大きさに応じた強さの電気信号を発生する。こうした電気信号の強弱に基づいてデータ生成部22により画像データが生成される。これにより、画像データに明るさ情報が付与される。なお、露光量の大きさは、原則として、後述するシャッター速度値と絞り値との組み合わせによって決定される。
【0103】
図14および図15に示すように、ディジタルスチルカメラ10は、設定可能な露出に関する項目として、シャッター速度,絞り,露出補正という設定項目を備える。これらの他にも、露出に関し、フラッシュ,測光方式という項目についての設定が可能であるが、図14および図15ではこれらの設定項目についての記載を省略している。
【0104】
シャッター速度とは、光の照射時間によって露光量を調節する機能である。このシャッター速度によって調整される値をシャッター速度値といい、秒を単位として「1/15」,「1/30」のように表わす。
【0105】
図15に示すように、本実施例におけるディジタルスチルカメラ10では、撮影モードが「マニュアル」に設定されている場合に、シャッター速度を「8」,「4」,「2」,「1/2」,「1/4」,「1/8」,「1/15」,「1/30」,「1/60」,「1/125」,「1/250」,「1/500」のうちのいずれかの設定値に設定することができる。こうしたシャッター速度の設定は、使用者が図14に示すダイヤルスイッチ15を操作して所望の設定値を選択することにより行なうことができる。
【0106】
一方、撮影モードが「フルオート」に設定されている場合には、シャッター速度の設定値をディジタルスチルカメラ10の露出制御部30が自動的に決定して設定する(図14ないし図15を参照)。この設定値を決定する基準については後述する。
【0107】
こうして設定された設定値は、設定管理部28に一時的に記憶される。設定管理部28は、図14に示すように、設定された設定値をシャッター速度管理部32に送る。シャッター速度管理部32は、受け取った設定値に応じてCCDのスイッチングのオンからオフまでの期間を変化させる。これにより、CCDに光が送り込まれる時間が調節される。なお、上記のようなソフトウェア的な手法以外の手法でシャッター速度を調節することとしても差し支えない。例えば、レンズ遮断幕である絞り板13の開閉速度を変えることにより光がレンズ14を透過する時間を調節する等の機械的な手法によっても、シャッター速度の調節を行なうことができる。
【0108】
絞りとは、レンズを透過する光の断面積を増減させることにより露光量を調節する機能である。この絞りによって調整される値を絞り値(F値)といい、「F4.0」,「F8.0」のように表わす。なお、絞り値が大きくなるとレンズを透過する光の断面積が減少する。このことを「絞る」という。一方、絞り値が小さくなるとレンズを透過する光の断面積を増加する。このことを「開ける」という。
【0109】
図15に示すように、本実施例におけるディジタルスチルカメラ10では、撮影モードが「マニュアル」に設定されている場合に、絞りを「F2.0」,「F2.3」,「F2.8」,「F4.0」,「F5.6」,「F8.0」のうちのいずれかの設定値に設定することができる。こうした絞りの設定は、シャッター速度の場合と同様に、ダイヤルスイッチ15を操作して所望の設定値を選択することにより行なうことができる。
【0110】
一方、撮影モードが「フルオート」に設定されている場合には、絞りの設定値をディジタルスチルカメラ10の露出制御部30が自動的に決定して設定する(図14ないし図15を参照)。この設定値を決定する基準については後述する。
【0111】
こうして設定された設定値は、設定管理部28に一時的に記憶される。設定管理部28は、設定された設定値を絞り管理部31に送る。絞り管理部31は、受け取った設定値に応じて絞り板13の口径を変化させる。これにより、レンズ14を透過する光の断面積が調節される。
【0112】
撮影モードが「フルオート」に設定されている場合に、露出制御部30がシャッター速度および絞りの設定値を自動的に決定する手法について、図14を参照しつつ説明する。設定管理部28から「フルオート」という設定情報を受け取った露出制御部30は、反射光式の露出計12に被写体から来る光の測定を命じる。
【0113】
露出計12は、被写体から来る光を測定し、この計測結果に基づく演算により適正露出を求める。ここで、適正露出とは、撮影者が見たままと同じだと感じる露出のことをいう。この適正露出の演算は、「平均的な屋外の被写体の明るさや色をすべて混ぜ合わせると18%グレー(中性灰色)になる」という仮定に基づいてなされる。
【0114】
露出計12から適正露出の値を受け取った露出制御部30は、適正露出の値を撮影時の露光量として決定するとともに、この露光量を実現するためのシャッター速度値と絞り値との最適な組み合わせを決定する。これにより、シャッター速度および絞りに関する設定値が決定される。露出制御部30は、シャッター速度および絞りを上記決定された設定値に設定し、設定した設定値の情報を設定管理部28に送る。
【0115】
なお、露出制御部30は、撮影時の露光量を実現するためにフラッシュ16の発光が必要と判断した場合には、その旨をフラッシュ実行部34に指示する。フラッシュ実行部34は、フラッシュ16の発光(発光のタイミングや発光する光量)を制御し、撮影時にフラッシュを自動的に発光する。これにより、適正露出の実現に必要な光が撮影時に自動的に補充される。
【0116】
次に、露出補正の設定について説明する。露出補正とは、シャッター速度値と絞り値との組み合わせにより決定された露光量を修正することにより画像の明るさを補正する機能である。この機能は、例えば、著しく明るい被写体や著しく暗い被写体を撮影しようとする場合に適正露出を実現するために用いられる。
【0117】
露出補正の機能は、撮影モードが「フルオート」に設定されている場合には、特に有用である。即ち、「フルオート」の場合には、「平均的な屋外の被写体の明るさや色をすべて混ぜ合わせると18%グレーになる」という仮定に基づいて適正露出の値が自動的に決定されるが、必ずしも被写体が18%グレーになるとは限らない。このような場合に露出補正を行なえば、露出計12の演算値に対して補正を加えることができるので、真の適正露出を実現することが可能となる。
【0118】
露出補正によって調整される値を露出補正値といい、EVを単位として表わす。本実施例におけるディジタルスチルカメラ10では、撮影モードが「オート」および「マニュアル」のいずれに設定されている場合であっても、露出補正を「−2.0EV」から「2.0EV」までの範囲の設定値に0.1EV刻みで設定することができる。この露出補正は、露出補正部33が、既に設定されている絞りあるいはシャッタースピードの設定値を露出補正値に応じて変化させることにより実現される。
【0119】
次に、ホワイトバランスの調整に関して説明する。ここで、ホワイトバランスとは、種々の光源下で白い被写体が白く写るように色のバランスを調整する機能である。このようなホワイトバランスを備えたディジタルスチルカメラ10は、被写体の撮影に伴って入力されたRGB信号を光源や被写体の色に適した出力バランスに調整する。これにより、被写体の色が忠実に再現された画像データを生成することができる。
【0120】
こうしたホワイトバランスの機能は、図14に示すように、被写体の撮影に伴ってCCDおよびA/Dコンバータを経てデータ生成部22が受け取ったデジタル形式の画像データに対して、該画像データの色情報をWB制御部35が補正することにより実現される。こうした補正後の画像データが、前述したsRGB基準画像データE3やsRGB画像データH1となる。
【0121】
WB制御部35による色情報の補正は、以下の要領で行なわれる。即ち、図14に示すように、レンズ14を通ってきた光は、CCDのカラーフィルタ(RGBの光の三原色を使用した原色フィルタ)を通過することによりR成分,G成分,B成分に分解される。これにより、R,G,Bの各成分からなるRGB信号が、被写体の色の情報としてA/Dコンバータに入力される。A/Dコンバータは、デジタル値に変換したRGB信号をデータ生成部22に送る。このデータ生成部22が受け取ったRGB信号に対して、WB制御部35は、RGB信号のR成分,G成分,B成分のバランスを光源の種類や被写体の色に応じて調整する。
【0122】
WB制御部35は、例えば、色温度の低い白熱灯の下で被写体を撮影する場合にはR成分のゲイン率を太陽光下における撮影時よりも低くし、一般的な蛍光灯の下で被写体を撮影する場合にはG成分のゲイン率を太陽光下における撮影時よりも低くする。これにより、RGB信号のバランスを光源の種類に応じて調整している。
【0123】
また、被写体を撮影しようとする場合、光源の色だけでなく、光源からの光を受ける被写体そのものの色も撮影結果に影響する。このことを考慮し、WB制御部35は、撮影により取得される画像全体の平均が無彩色となるようにR,G,B各成分の構成比を決定し(つまり、R:G:B=1:1:1)、決定された構成比に基づいてRGB信号を調整する。これにより、RGB信号のバランスを被写体の色に応じて調整している。
【0124】
図15に示すように、本実施例におけるディジタルスチルカメラ10では、撮影モードが「マニュアル」に設定されている場合に、ホワイトバランスを「オート」,「固定」,「カスタム」のうちのいずれかに設定することができる。こうしたホワイトバランスの設定は、使用者が図14に示すダイヤルスイッチ15を操作して所望の設定を選択することにより行なうことができる。
【0125】
「オート」は、撮影光源を指定せずに撮影する場合に用いる設定であり、所定範囲(本実施例では、4000°K(ケルビン)〜7000°K)の色温度をカバーしている。調整度合記憶部36には、上記範囲の色温度の場合におけるホワイトバランスの調整パラメータ(例えば、R成分,G成分,B成分のバランスの調整度合い)が予め記憶されている。WB制御部35は、調整度合記憶部36の記憶内容を参照してRGB信号のバランスを調整し、ホワイトバランスを取る。
【0126】
「固定」は、撮影光源を一般的に指定して撮影する場合に用いる設定である。本実施例では、撮影光源として、「太陽光」,「蛍光灯」,「白熱灯」,「曇天」のいずれかを指定することが可能であり、「太陽光」,「蛍光灯」,「白熱灯」,「曇天」は、それぞれの光源に適した色温度をカバーしている。調整度合記憶部36には、上記の各色温度の場合におけるホワイトバランスの調整パラメータ(例えば、R成分,G成分,B成分のバランスの調整度合い)が、それぞれに予め記憶されている。WB制御部35は、調整度合記憶部36の記憶内容を参照してRGB信号のバランスを調整し、ホワイトバランスを取る。
【0127】
「カスタム」は、個別具体的に特定された撮影光源下で撮影する場合に用いる設定であり、例えば、太陽光と蛍光灯が混在している場所で撮影する場合等に用いられる。この「カスタム」の設定では、ホワイトバランスの調整パラメータ(例えば、R成分,G成分,B成分のバランスの調整度合い)は、ディジタルスチルカメラ10において予め規定されておらず、予め記憶されておらず、特定の光源下で白い紙等を撮影することによってはじめて決定される。決定されたパラメータは、白い紙等を撮影したときの撮影光源名と共に調整度合記憶部36に事後的に記憶される。以後、白い紙等を撮影したときの光源と同じ光源下で被写体を撮影する場合には、ホワイトバランスを「カスタムモード」の「上記の事後的に決定されたパラメータ」に設定する。これにより、ホワイトバランスを正確に取ることができる。
【0128】
一方、撮影モードが「フルオート」に設定されている場合には、設定管理部28により、ホワイトバランスの設定が自動的に「オート」に決定される(図14ないし図15を参照)。
【0129】
A−4.カラーチャートの構造
次に、上記のようなホワイトバランスや露出の調整機構を備えたディジタルスチルカメラ10に撮影されるカラーチャートEPに関し、各カラーパッチの色彩値に応じた配置関係について図16を参照しつつ説明する。図16(A)に示すように、カラーチャートEPのパッチデータ領域VSには、同程度の明度を有するカラーパッチが一の領域にまとめて配置されている。即ち、図16(A)に丸囲みの数字で示すように、カラーチャートEP左下隅の領域▲1▼内には、基準色彩値のL*(明度)の値が「10前後」であるカラーパッチがまとめて配置されている。同様に、領域▲1▼の右隣の領域▲2▼,領域▲2▼の右隣の領域▲3▼には、それぞれL*の値が「20前後」,「30前後」であるカラーパッチがまとめて配置されている。また、領域▲3▼,領域▲2▼,領域▲1▼の直ぐ上に位置する領域▲4▼,領域▲5▼,領域▲6▼には、それぞれL*の値が「40前後」,「50前後」,「60前後」であるカラーパッチがまとめて配置されている。更に、領域▲6▼,領域▲5▼,領域▲4▼の直ぐ上に位置する領域▲7▼,領域▲8▼,領域▲9▼には、それぞれL*の値が「70前後」,「80前後」,「90前後」であるカラーパッチがまとめて配置されている。このように、カラーチャートEPは、明度の値の大きさに応じて領域▲1▼から領域▲9▼までの9つの領域に区分されている。
【0130】
図16(A)に示すように、L*の値がそれぞれ「10前後」,「30前後」,「70前後」,「90前後」の領域▲1▼,領域▲3▼,領域▲7▼,領域▲9▼は、ほぼ同じ面積を有している。L*の値がそれぞれ「40前後」,「60前後」の領域▲4▼,領域▲6▼は、ほぼ同じ面積を有している。従って、240個のカラーパッチのL*の平均値は「約50」となる。このように、カラーチャートEPでは、カラーパッチが、各色を積分すると「L*≒50の無彩色」になるように配列されている。なお、「L*≒50の無彩色」とは、「約18%のグレー」を意味する。
【0131】
カラーチャートEPの中央部に位置する領域▲5▼内の中心部(図16(A)において点線ハッチングで示した部分)には、L*の値が50である無彩色のカラーパッチが配置されている。
【0132】
また、カラーチャートEPでは、プリンタ40の色空間であるwRGB色空間内に属する色を広範囲に亘って抽出し、各カラーパッチの色としている。例えば、図16(B)のxy色度図において右上がりの斜線で示した範囲Dは、wRGB色空間において彩度の高い色が属する範囲を示しており、この範囲DにはsRGB色空間外の色が含まれている。カラーチャートEPは、こうした範囲Dに属する色を有するカラーパッチを領域▲5▼に備える。
【0133】
パッチデータ領域VSの縦横の構成比率(図16に示すmm/kkの値)は、ディジタルスチルカメラのファインダの縦横の構成比率とほぼ同じとされている。このファインダ領域内に属する被写体がCCD上に結像される。
【0134】
また、図16(A)に示すように、バックグラウンドデータ領域BSは、L*の値が50近傍の無彩色とされている。
【0135】
A−5.カラーチャートの撮影環境の相違と作成されるプロファイルとの関係プリンタ40により印刷されたカラーチャートEPを異なる撮影環境の下でディジタルスチルカメラ10により撮影した結果を図17に示す。この図17では、カラーチャートEPの各画像データであるwRGB基準画像データE1,sRGB基準画像データE3(図17において「E1」,「E3」と表示)に関し、各画像データがそれぞれの色空間において具現化された場合の画像イメージを表わしている。
【0136】
図17におけるCase▲1▼は、撮影モードをフルオートモードに設定し、太陽光下においてカラーチャートEPを撮影した場合を示している。この場合には、ホワイトバランスは自動的に「オート」に設定される(このホワイトバランスの設定状態を、図17では「AWB」と表わす)。
【0137】
Case▲1▼において、カラーチャートEPと該カラーチャートEPの撮影により生成されたsRGB基準画像データE3との間の実体−画像間色差ΔEは値cg1となっている。この値cg1は、Case▲1▼と同じ光源下で撮影した図23のCase1(従来例)における実体−画像間色差ΔEの値Jcg1よりも小さい。
【0138】
このように、Case▲1▼の場合に従来よりも実体−画像間色差ΔEの値が小さくなったのは、被写体であるカラーチャートEPにおいて、カラーパッチが各色を積分すると無彩色になるように配列されていることに起因すると考えられる。即ち、このように配列したことで、WB制御部35は、カラーチャートEP全体の色合いを理由としてR,G,B各成分の構成比を変更する必要がなく、被写体の色に応じてRGB信号のバランスを調整することが不要となる。この結果、ホワイトバランスが取りやすくなる。換言すれば、光源の種類に応じてRGB信号を調整するだけで、カラーチャートEPの実物の正確な色合いを再現できるのである。
【0139】
また、被写体であるカラーチャートEPにおいて、カラーパッチが各色を積分するとL*≒50の無彩色になるように配列されていることも、Case▲1▼の場合における実体−画像間色差ΔEの値の減少に寄与していると考えられる。即ち、被写体であるカラーチャートEPは、その明るさや色をすべて混ぜ合わせると18%グレーになるので、露出計12による演算のみで適正露出を得ることができ、適正露出を得るために、露出補正により露出計12の演算値に対して補正を加えたりする必要がない。使用者は、ダイヤルスイッチ15の操作により撮影モードをフルオートモードに設定して撮影するだけで、カラーチャートEPの実物の正確な明るさを再現できるのである。
【0140】
図17におけるCase▲2▼は、撮影モードをフルオートモードに設定し、蛍光灯下においてカラーチャートEPを撮影した場合を示している。この場合には、ホワイトバランスは自動的に「オート」に設定される。
【0141】
Case▲2▼において、カラーチャートEPと該カラーチャートEPの撮影により生成されたsRGB基準画像データE3との間の実体−画像間色差ΔEは、Case▲1▼の場合とほぼ同じ値cg1となっている。この値cg1は、Case▲2▼と同じ光源下で撮影した図23のCase2(従来例)における実体−画像間色差ΔEの値Jcg2よりも小さい。
【0142】
Case▲2▼の場合に従来よりも実体−画像間色差ΔEの値が小さくなったのは、上記したCase▲1▼の場合に従来よりも実体−画像間色差ΔEの値が小さくなったことと同じ理由と考えられる。
【0143】
また、Case▲2▼の場合における実体−画像間色差ΔEが、Case▲1▼の場合とほぼ同じ値cg1となったのは、被写体であるカラーチャートEPにおいて、カラーパッチが各色を積分すると無彩色になるように配列されていることに起因すると考えられる。即ち、このように配列したことで、WB制御部35は、光源の種類に応じてRGB信号を調整するだけでよく、カラーチャートEP全体の色に応じてRGB信号のバランスを調整する必要がない。従って、蛍光灯の光源の色成分を除去すれば、太陽光下と同じ色合い情報を有するsRGB基準画像データE3を得ることができる。例えば、「蛍光灯の光源の色成分を除去したが、カラーチャートEP全体の色に応じてRGB信号のバランスを調整したことによりカラーチャートの色合い情報が変化してしまい、この色合い情報の変化に起因して光源色の色かぶりが生じてしまう」といったことがない。
【0144】
また、被写体であるカラーチャートEPにおいて、カラーパッチが各色を積分するとL*≒50の無彩色になるように配列されていることも、Case▲1▼とCase▲2▼との実体−画像間色差ΔEの略同値化に寄与していると考えられる。即ち、被写体であるカラーチャートEPは、その明るさや色をすべて混ぜ合わせると18%グレーになるので、Case▲2▼の場合においても、Case▲1▼の場合と同様に、露出計12による演算のみで適正露出を簡単かつ確実に得ることができる。例えば、Case▲2▼の場合に、適正露出を得るために「光源が蛍光灯で暗めだから、ダイヤルスイッチ15を操作して露出補正値を1EVに設定する」などといった専門的な知見に基づく作業を行なわなくても、撮影モードをフルオートモードに設定して必要時に発光する自動フラッシュに任しておくだけで、適正露出を得ることができる。
【0145】
図17におけるCase▲3▼は、撮影モードをマニュアルモードに設定し、ホワイトバランスを「固定−蛍光灯」に設定した状態(この状態を、図17では「KWB−k」と表わす)で、蛍光灯下においてカラーチャートEPを撮影した場合を示している。
【0146】
Case▲3▼において、カラーチャートEPと該カラーチャートEPの撮影により生成されたsRGB基準画像データE3との間の実体−画像間色差ΔEは、Case▲1▼や▲2▼の場合とほぼ同じ値cg1となっている。この値cg1は、Case▲3▼と同じ光源下で撮影した図23のCase3(従来例)における実体−画像間色差ΔEの値Jcg3よりも小さい。
【0147】
Case▲3▼の場合に従来よりも実体−画像間色差ΔEの値が小さくなったのは、上記したCase▲1▼の場合に従来よりも実体−画像間色差ΔEの値が小さくなったことと同じ理由と考えられる。
【0148】
また、Case▲3▼の場合における実体−画像間色差ΔEが、Case▲1▼の場合とほぼ同じ値cg1となったのは、上記したCase▲2▼の場合に実体−画像間色差ΔEが、Case▲1▼の場合とほぼ同じ値cg1となったことと同じ理由と考えられる。
【0149】
つまり、ホワイトバランスをオートモードに設定して、光源である蛍光灯の色成分を粗く除去した場合(Case▲2▼)と、ホワイトバランスを「蛍光灯固定」に設定して、光源である蛍光灯の色成分をより正確に除去した場合(Case▲3▼)とでは、ほぼ同じ色合い情報を有するsRGB基準画像データE3を得ることができる。このことは、各カラーパッチの色の積分値を無彩色とし、カラーチャートEP全体の色に応じたRGB信号のバランス調整を不要としたことが、ホワイトバランスの取りやすさや正確性に大きく寄与していることを裏付けている。
【0150】
以上、Case▲1▼ないしCase▲3▼を比較して説明したように、ディジタルスチルカメラ10でカラーチャートEPを撮影した結果、撮影光源の種類やホワイトバランスの設定の相違に拘らず、ほぼ同じ色情報(色合い情報や明るさ情報)を有するsRGB基準画像データE3が生成される。プリンタ40では、こうしたsRGB基準画像データE3に基づいてほぼ同じ内容のプロファイルYWが作成される(図17のプロファイル▲1▼〜▲3▼を参照)。
【0151】
以上説明した本実施例の画像データ変換システムMAでは、各色を積分すると無彩色になるように配列されたカラーパッチを有するカラーチャートEPをディジタルスチルカメラ10で撮影し、この撮影により生成されたsRGB基準画像データE3に基づいてプロファイルYWを作成する。このため、sRGB基準画像データE3を生成する際に、カラーチャートEPを構成するカラーパッチの色合いがディジタルスチルカメラ10側での「オート」設定時や「固定」設定時におけるホワイトバランス調整に影響を及ぼすことが少なく、ホワイトバランスを取りやすくなる。従って、カラーチャートEPを撮影する光源の種類の相違に拘らず、同じ色合いのsRGB基準画像データE3を生成させることが可能となり、生成されたsRGB基準画像データE3に基づくプロファイル作成処理を効率良く実現することができる。
【0152】
例えば、蛍光灯下でカラーチャートEPを撮影した場合において、カラーチャート全体の色合いに起因する色かぶり(緑かぶり)の発生が防止され、太陽光下での撮影と同様の撮影結果(sRGB基準画像データE3)を得ることができる。従って、カラーチャートEPの撮影後に蛍光灯下で対象物Hを撮影した場合に、色かぶりを除去するような色補正処理を行なう必要がない。このように、本実施例の画像データ変換システムMAでは、色かぶりの少ないsRGB基準画像データE3や露出の過不足のないsRGB基準画像データE3を基準としてプロファイルYWを作成可能となり、プロファイルYWの精度を向上することができる。
【0153】
また、本実施例の画像データ変換システムMAでは、撮影時の光源の種類やホワイトバランスの設定の相違に拘らず、一通りに定められた補正値(本実施例の場合には回帰係数)に基づいてプロファイルYWが作成される。従って、活用範囲が広く且つ精度の高いプロファイルYWを作成することができる。例えば、「作成されたプロファイルが、カラーチャートEPが特定の光源(例えば、蛍光灯)下で撮影された場合しか役に立たない」ということがなく、カラーチャートEPが多様な光源下やホワイトバランスの設定下で撮影された場合であっても、撮影された対象物Hの色をプリンタ40において再現可能なプロファイルYWを提供することができる。
【0154】
また、ディジタルスチルカメラ10に撮影されるカラーチャートEPは、複数のカラーパッチが各色を積分すると「L*≒50の無彩色」になるように配列されている。従って、カラーチャートEPの撮影によってsRGB基準画像データE3を生成する際に、カラーチャートEP全体の色合いや明るさが必要露光量の演算に影響を及ぼすことが少なくなり、グレーバランスを取りやすくなる。従って、フルオート撮影モードで必要露光量を自動的に決定して簡易にカラーチャートを撮影した場合であっても、露出の過不足のない適正な明るさのsRGB基準画像データE3を確実に生成させることが可能となる。例えば、sRGB基準画像データE3を生成する際に、撮影対象物であるカラーチャート全体の色合いや明るさに応じた露出補正を加える必要がない。
【0155】
また、カラーチャートEPは、L*の値が50近傍のカラーパッチをチャート中央部に備える。従って、カラーチャートEPを、中央部重点測光(撮影有効領域の中央部分を重点的に測定すること)の露出計により露光量を自動的に決定するディジタルスチルカメラ10で撮影する場合に、簡単且つより正確にグレーバランスを取ることが可能となる。カラーチャートEP全体が撮影有効領域であるファインダ内に納まるように撮影すれば、チャート中央部のL*の値が50近傍のカラーパッチを基準として必要な露光量が正確に決定され、チャート中央部よりも外側のカラーパッチの色が露光量の決定に影響することがない。従って、より適正な露出のsRGB基準画像データE3を簡単かつ確実に生成することができる。
【0156】
更に、カラーチャートEPは、パッチデータ領域VSの縦横の構成比率が、ディジタルスチルカメラのファインダの縦横の構成比率とほぼ同じとされる。従って、カラーチャートEPの撮影の際に、全てのカラーパッチを漏れなく確実に撮影することが可能となり、撮影の失敗を有効に防止することができる。
【0157】
また、カラーチャートEPのバックグラウンドデータ領域BSは、L*の値が50近傍の無彩色とされる。従って、ディジタルスチルカメラ10によってカラーチャートEPを撮影する際に、パッチデータ領域VSの周囲に写り込んだ色が、ホワイトバランスの調整度合や露光量に悪影響を与えてしまうということがない。
【0158】
カラーチャートEPには、sRGB色空間の領域外の色のカラーパッチが含まれる。従って、sRGB色空間の領域外の色(例えば、彩度の高い色)についても色かぶりや露出の過不足のないsRGB基準画像データE3を生成可能となり、広い色域を正確にカバーしたプロファイル作成処理を行なうことができる。
【0159】
また、カラーチャートEPは、パッチデータ領域VSの天地左右を識別する識別マークZ1〜Z4を、プロファイル作成処理を行なうプリンタ40が認識可能な形式で備える。従って、プロファイル作成処理を行なう際に、カラーチャートEPの画像データから各カラーパッチの位置情報を正確に特定することが可能となり、画像データに基づく色の認識を容易かつ確実なものにすることができる。
【0160】
B.変形例
上記実施例では、画像データ生成装置をディジタルスチルカメラ10によって構成し、チャート画像データ補正装置および色補正装置をプリンタ40によって構成したが、チャート画像データ補正装置をコンピュータ90によって構成し、色補正装置をプリンタ40によって構成することも可能である。このような構成を、第1の変形例として図18に示した。こうすれば、異なる複数の色補正装置についてのプロファイルをコンピュータ90で効率的に作成ないし管理することが可能となり、ディジタルスチルカメラ10やプリンタ40の機種変更にも容易に対応することができる。
【0161】
また、画像データ生成装置をディジタルスチルカメラ10によって構成し、チャート画像データ補正装置および色補正装置をコンピュータ90によって構成してもよい。このような構成を、第2の変形例として図19に示した。こうすれば、プロファイルYWの作成処理やプロファイルYWに基づく色補正処理をプリンタ40内で行なう必要がなく、プリンタ40をよりコンパクトに構成することができる(例えば、受け取ったデータの処理を行なわず、受け取ったデータをそのまま印刷するプリンタ等)。
【0162】
画像データ生成装置およびチャート画像データ補正装置をディジタルスチルカメラ10によって構成し、色補正装置をプリンタ40によって構成してもよい。このような構成を、第3の変形例として図20に示した。このようにプロファイルYWの作成処理がディジタルスチルカメラ10において行なわれることで、プロファイルを作成するためにカラーチャートEPの撮影結果(基準画像データE3)を他の装置に入力する必要がなく、簡便にプロファイルを作成することができる。
【0163】
また、画像データ生成装置,チャート画像データ補正装置および色補正装置をディジタルスチルカメラ10によって構成することもできる。このような構成を、第4の変形例として図21に示した。このような構成によれば、ディジタルスチルカメラ10を所持する使用者がプリンタ40でカラーチャートEPを印刷し、印刷されたカラーチャートEPを撮影するだけで、プロファイルYWがディジタルスチルカメラ10内で自動的に作成される。以後、使用者が対象物を撮影した場合には、撮影により生成された画像データH1に対し、プロファイルYWに基づいた色補正処理がディジタルスチルカメラ10内で自動的に実行される。従って、使用者の使い勝手をより一層改善することができる。
【0164】
なお、図1および図18ないし図21において、黒色の太矢印は画像データやプロファイル等の補正データの受け渡し経路を示しているが、こうしたデータの受け渡しは、メモリカード等の記録媒体によるものに限らず、ケーブルや通信回線等を用いて行なうものであってもよい。
【0165】
上記実施例では、プリンタ40によってカラーチャートEPの画像を用紙P上に印刷し、この用紙P上のカラーチャートEPをディジタルスチルカメラ10で撮影することとしたが、カラーチャートの画像をプリンタ40から出力せず、テスト撮影用のカラーチャートEPKとして予め用意しておくことも可能である。このようなカラーチャートEPKの構成としては、例えば、各カラーパッチを本実施例と同様の配列で板体に張り付け、各カラーパッチの張り付け領域の周囲に18%グレーのフレームをセットする構成等を考えることができる。
【0166】
テスト撮影用のカラーチャートEPKを予め用意した場合の画像データ変換システムMAKを、第5の変形例として図22に示した。図22に示すように、画像データ変換システムMAKでは、記憶部51に、各カラーパッチの色をL***色空間によって表現したときの基準色彩値の情報と、この基準色彩値をwRGB色空間によって表現したときの表色値の情報が、基準画像データE0Kとして記憶されている。この基準画像データE0Kは、予め記憶部51に記憶しておいてもよいし、記憶部51に事後的に付与してもよい。
【0167】
このような第5の変形例の場合にも、カラーチャートEPKの撮影により、YCbCr表色値からL***色彩値への変換式である式1およびL***色空間からwRGB色空間への変換式である式2の二つの式を作成することが可能であり、この二つの式を合わせて上記実施例と同様のプロファイルYWを作成することができる。
【0168】
以上、本発明の実施例ないし変形例について説明したが、本発明は、こうした実施例等に限定されるものではなく、発明の要旨を逸脱しない範囲内において、種々なる態様で実施可能である。
【0169】
例えば、上述したカラーチャートEPの基準画像データを生成する処理や基準画像データに基づいてプロファイルを作成する処理の内容を、ROMやCD−ROM等の記録媒体にコンピュータによる読み取りが可能な形式で記録する構成としてもよい。このような記録媒体によれば、記録媒体に記録された内容をコンピュータが読み取ることにより、カラーチャートEPについて、撮影光源色による色かぶりが少ない基準画像データを得ることが可能となり、しかも、撮影光源の種類やホワイトバランスの設定の相違に拘らず、同じ色合いの基準画像データを生成することができる。従って、精度が高く且つ活用範囲の広いプロファイルYWを作成することができる。なお、上記した記録媒体の構成に関しては、カラーチャートEPの基準画像データを生成する処理や基準画像データに基づいてプロファイルを作成する処理のうちの一部を、ROMやCD−ROM等の記録媒体にコンピュータによる読み取りが可能に記録する構成としてもよい。
【0170】
上記実施例ないし変形例では、sRGB基準画像データE3をプロファイルYWの作成に利用したが、sRGB基準画像データE3をプロファイルの作成以外の用途に利用することも可能である。特に、sRGB基準画像データE3の色情報を補正し、補正後の画像データをディジタルスチルカメラ10や他の装置において利用するような場合には有用である。つまり、カラーチャートEPの撮影により、撮影光源の種類やホワイトバランスの設定の相違に拘らずほぼ同じ色情報を有するsRGB基準画像データE3が生成されれば、このsRGB基準画像データE3に基づいていずれの撮影環境にも共通の一の補正値を定めることができる。従って、色補正処理を統一的かつ効率的に実現することができる。
【0171】
カラーチャートEPの構造は、上記実施例で示したものに限らず、適宜変更を加えることができる。上記実施例では、オートホワイトバランス機能で撮影した結果には、光源の色だけでなく、被写体そのものの色の影響もあることを考慮し、被写体であるカラーチャートEPの色を「画像全体の平均が無彩色」としている。よって、カラーチャートEPは、ホワイトバランスの調整パラメータが予め規定されているディジタルスチルカメラ10により、ホワイトバランスを上記予め規定された調整パラメータに設定した状態で撮影された場合に、ディジタルスチルカメラ10のホワイトバランスが取りやすくなる構造であればよい。
【0172】
また、上記実施例では、ディジタルスチルカメラ10とプリンタ40との間における画像データ変換システムMAについて説明したが、ディジタルスチルカメラ10に替えて、基準となる色空間がプリンタ40と異なる他の画像データ生成装置を適用することも可能である。このような画像データ生成装置としては、ディジタルスチルカメラを備えたデジタル機器(例えば、デジタルカメラ付きパソコンやデジタルカメラ付き携帯電話)やスキャナ,ディジタルビデオカメラ等を考えることができる。
【0173】
また、ディジタルスチルカメラ10,スキャナ,ディジタルビデオカメラという異なる種類の画像データ生成装置ごとに作成された複数のプロファイルをプリンタ40による読み取り可能に記憶することも、異なる画像データ生成装置によって取得された一の画像を同じ色で印刷することが可能となる点で好適である。
【0174】
上記実施例において用いた色空間はあくまでも例示であり、ディジタルスチルカメラ10等の画像データ生成装置やプリンタ40やコンピュータ90等の色補正装置において他の色空間を用いても差し支えない。基準とされる色空間が画像データ生成装置と色補正装置との間で異なっており、画像データ生成装置において生成された画像データが画像データ生成装置の有する色空間を反映して生成されるものであれば、本発明を適用することができる。
【0175】
また、画像データ生成装置や色補正装置において、画像データの生成に基準とされる色空間を複数の色空間の中から選択可能に構成してもよい。この場合であっても、基準とされる色空間が画像データ生成装置と色補正装置との間で異なっていれば、上記実施例の画像データ変換システムMAを適用して画像データ生成装置と色補正装置との間のプロファイルYWを作成することができる。
【0176】
上記実施例の画像データ変換システムMAにおいて、プリンタ40に替えて、基準とされる色空間が画像データ生成装置と異なる他の装置を適用することも可能である。このような他の装置としては、各種のデジタル機器に表示用として設けられるモニタ等を考えることができる。
【0177】
また、上記実施例では、Exif形式の画像ファイルを例にとって説明したが、画像ファイルの形式はこれに限られるものではなく、画像出力装置によって出力されるべき画像データと、該画像データの形成に基準とされた色空間に関する情報とが少なくとも含まれている画像ファイルであれば良い。機種名情報が含まれる画像ファイルとすれば、なお好適である。
【0178】
上記実施例におけるプリンタ40ないしコンピュータ90はあくまで例示であり、その構成は各実施例の記載内容に限定されるものではない。プリンタ40ないしコンピュータ90は、少なくとも画像データを読み取り、この読み取り結果に基づいてプロファイルYWを作成できるものであればよい。
【図面の簡単な説明】
【図1】本発明の実施例である画像データ変換システムMAにおける特徴的な構成を示す説明図である
【図2】画像データ変換システムMAの概要を示す説明図である。
【図3】プロファイル作成処理ルーチンを示すフローチャートである。
【図4】カラーチャートEPが印刷された状態の用紙Pを示す説明図である。
【図5】基準画像データE0が記憶された状態の基準テーブルBTを示す説明図である。
【図6】図3のステップS270における対応関係決定処理の詳細を対応関係決定処理ルーチンとして示すフローチャートである。
【図7】YCbCr基準画像データE5のYCbCr表色値が書き込まれた状態の対応テーブルCTを示す説明図である。
【図8】対応関係決定処理が制御機構50の各機能部によって行なわれる様子を示すブロック図である。
【図9】図3のステップS280における回帰演算処理の詳細を回帰演算処理ルーチンとして示すフローチャートである。
【図10】回帰演算処理が制御機構50の各機能部によって行なわれる様子を示すブロック図である。
【図11】画像忠実印刷処理ルーチンを示すフローチャートである。
【図12】プロファイルYWに基づくYCbCr色空間からwRGB色空間への変換処理が制御機構50の各機能部によって行なわれる様子を示すブロック図である。
【図13】画像データ変換システムMAを適用した場合における、ディジタルスチルカメラ10によって取得された画像の色とプリンタ40によって印刷される色との関係を示す説明図である。
【図14】ディジタルスチルカメラ10が備えるホワイトバランスないし露出の調整機構をブロック図として示す説明図である。
【図15】ホワイトバランスないし露出に関する条件として設定可能な項目および設定値を示す説明図である。
【図16】カラーチャートEPにおける各カラーパッチの色彩値に応じた配置関係を示す説明図である。
【図17】プリンタ40により印刷されたカラーチャートEPを異なる撮影環境の下でディジタルスチルカメラ10により撮影した結果を示す説明図である。
【図18】第1の変形例を示す説明図である。
【図19】第2の変形例を示す説明図である。
【図20】第3の変形例を示す説明図である。
【図21】第4の変形例を示す説明図である。
【図22】第5の変形例を示す説明図である。
【図23】従来例を示す説明図である。
【符号の説明】
10,J10…ディジタルスチルカメラ
11…メモリカードスロットル
12…露出計
13…絞り板
14…レンズ
15…ダイヤルスイッチ
16…フラッシュ
20…制御機構
22…データ生成部
24…色変換部
26…圧縮部
28…設定管理部
30…露出制御部
31…絞り管理部
32…シャッター速度管理部
33…露出補正部
34…フラッシュ実行部
35…WB制御部
36…調整度合記憶部
40,J40…プリンタ
41…メモリカードドライブ
50…制御機構
51…記憶部
53…指令部
55…L−w演算部
56…色分解部
58…出力部
60…データ受取部
64…関係決定部
65…表色値特定部
66…色変換表作成部
67…色変換表記憶部
68…色空間変換部
69…Y−w演算部
90,J90…コンピュータ
BS…バックグラウンドデータ領域
BT…基準テーブル
CT…対応テーブル
CV…ケーブル
E…基準画像
E0…基準画像データ
E1…wRGB基準画像データ
E2…CMYK基準画像データ
E3…sRGB基準画像データ
E4…YCbCr基準画像データ
E5…YCbCr基準画像データ
EP,EPK,JV…カラーチャート
FL…配列情報
H…対象物
H1…sRGB画像データ
H2…YCbCr画像データ
H3…YCbCr画像データ
H4…wRGB画像データ
H5…CMYK画像データ
H6…sRGB画像データ
JM…基礎演算式
LQ…基準色彩値情報
MA,MAK…画像データ変換システム
MA1…プロファイル作成モジュール
MA2…画像印刷モジュール
MC…メモリカード
P…用紙
SB…識別情報
VS…パッチデータ領域
WQ…wRGB表色値情報
YQ…YCbCr表色値情報
YW…プロファイル
ZD…識別データ
Z1,Z2,Z3,Z4…識別マーク
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a color chart photographed by an image data generation apparatus such as a digital camera, and an apparatus using the color chart.
[0002]
[Prior art]
In recent years, the demand for apparatuses that generate digital image data by photographing a subject (for example, a digital still camera, a digital video camera, etc.) is not limited to specialists who are involved in photography and image processing, but also general people who do not have specialized knowledge. It has spread to.
[0003]
Conventionally, among experts, when photographing a subject with the above-described image data generation device, in order to grasp the color reproduction characteristics of the image data generation device, a color chart in which color patches of a plurality of colors are arranged vertically and horizontally is used. Shooting was often done. Specifically, a color chart image obtained by photographing (for example, a color chart image printed on photo paper) is compared with the actual color chart, and the color difference of each color patch is visually confirmed. Corresponding color correction processing was performed on the photographed image of the subject to bring the color of the subject image close to the color of the actual subject. In the following description, a color difference generated between the color chart entity and the color chart image acquired by photographing the color chart, or between the subject entity and the subject image obtained by photographing the subject. The resulting color difference is referred to as “substance-image color difference ΔE”.
[0004]
A conventional example of such color correction processing is shown in Case 1 of FIG. Case 1 in FIG. 23 shows the state of color correction processing for image data when a color chart JV having color patches is photographed by the digital still camera J10 under sunlight. In FIG. 23, regarding each image data of the color chart JV (chart data JVD1, JVD2, JVDaw1, JVDaw2, JVDw1, JVDw2), an image image when each image data is embodied in the color space of the digital still camera J10 is shown. It represents.
[0005]
In Case 1, the image is taken in a state where the white balance on the digital still camera J10 side is set to “auto” (this state is represented as “AWB” in FIG. 23). In the setting of “auto”, the digital still camera J10 that detects the light at the shooting location automatically determines the color temperature of the shooting light source based on the detection result, and adjusts the white balance according to the determined color temperature. It is a setting to perform.
[0006]
In Case 1, the entity-image color difference ΔE between the color chart JV and the chart data JVD1 generated by photographing the color chart JV is a value Jcg1. The computer J90 that has received the chart data JVD1 performs color correction processing on the chart data JVD1, and outputs the data after the color correction processing to the printer J40 as chart data JVD2. In this color correction processing, the correction value Jre1 from the chart data JVD1 to the chart data JVD2 is printed by the printer J40 in consideration of the color reproduction characteristics of the printer J40 and the color space between the digital still camera J10 and the printer J40. The current color is determined to be a color approximate to the color chart JV. When the printer J40 receives the chart data JVD2 subjected to such color correction processing, the printer J40 can print a chart image JE having a color approximate to the color chart JV.
[0007]
[Problems to be solved by the invention]
However, in the above-described conventional method, when a subject having the same color as the color chart is photographed under a light source different from the light source at the time of photographing the color chart, even if the white balance is photographed, the subject substance and the image are captured. An entity-image color difference ΔE that is different from that in the case of the color chart occurs during the period of time, and the color correction processing standard (correction value Jre1 in FIG. 23) generated based on the photographing of the color chart is used as the color for the subject image. It could not be used as a standard for correction. Such difficulties will be specifically described below with reference to FIG.
[0008]
Case 2 in FIG. 23 shows a case where a color chart JV having the same color patch as Case 1 is a subject, and this subject is photographed by a digital still camera J10 under a fluorescent lamp. In Case 2, shooting is performed with the white balance on the digital still camera J10 side set to “auto”. By photographing the color chart in this setting state, chart data JVDaw1 that is image data of the color chart JV is generated. As shown in FIG. 23, the chart data JVDaw1 is different in color from the chart data JVD1 in Case 1, and the entity-image color difference ΔE between the color chart JV and the chart data JVDaw1 is different from that in Case 1. The value is a value Jcg2. Therefore, even if the correction value Jre1 defined in Case 1 is applied to the chart data JVDaw1 and the color correction processing is performed, as shown in FIG. 23, the chart data JVD2 and the chart data JVD2 when the color correction processing is Case 1 Becomes data having different color information, the printer J40 cannot print an image having the same color as the chart image JE in Case 1.
[0009]
The difference between the entity-image color difference ΔE due to the difference in the photographing light source is the state in which the white balance on the digital still camera J10 side is set to “fixed fluorescent lamp” as shown in Case 3 of FIG. 23, it is also expressed as “KWB-k”). In Case 3, the same object as Case 2 is photographed under the same fluorescent lamp as Case 2. The setting “fixed fluorescent lamp” is a setting for adjusting the white balance in accordance with a predetermined average color temperature of the fluorescent lamp. As shown in FIG. 23, the chart data JVDw1 generated by photographing in such a state set to “fixed fluorescent lamp” has a color closer to the chart data JVD1 than the chart data JVDaw1 of Case2. Also, the color is different from the chart data JVD1 of Case1, and the entity-image color difference ΔE between the color chart JV and the chart data JVDw1 becomes a value Jcg3 which is a value different from that of Case1. Therefore, even if the correction value Jre1 defined in Case 1 is applied to the chart data JVDw1 and color correction processing is performed, an image having the same color as the chart image JE in Case 1 is printed in the printer J40 for the same reason as in Case 2. Could not (see FIG. 23).
[0010]
As described above, an object to be photographed by the digital still camera J10 (hereinafter referred to as a photographing object) is one of the factors that cause an entity-image color difference ΔE different from the case 1 in the cases 2 and 3. It is conceivable that the overall color affects the degree of white balance adjustment on the digital still camera J10 side. Another possible cause is that Case 1 and Cases 2 and 3 were photographed in different exposure states. For example, when the color chart is photographed in the case 1 where the exposure is excessive or insufficient and the color chart is photographed in the cases 2 and 3 where the exposure is appropriate, the chart data JVDaw1 and JVDw1 are different in brightness from the chart data JVD1. Thus, the difference in brightness causes a difference in the entity-image color difference ΔE between the case 1 and the cases 2 and 3.
[0011]
The difference in the color chart entity-image color difference ΔE due to the difference in the photographing environment such as the light source and the exposure is particularly between the image data generating apparatus and another apparatus on the basis of the image data generated by photographing the color chart. When the profile is created and color correction processing is realized using this profile, the range of utilization of the profile is very narrowed. The profile created on the premise of the difference between the color chart entity-image color difference ΔE due to the difference in the shooting environment, after all, is reproduced in other devices of the color of the subject shot in exactly the same environment as the shooting environment of the color chart. This is because it can only be used for
[0012]
The present invention provides a color chart that solves the above-described problems and generates image data having the same color information even when a person who does not have specialized knowledge shoots under various shooting environments. The following configuration is adopted for the purpose of realizing efficient color correction processing based on image data generated by photographing a color chart.
[0013]
[Means for solving the problems and their functions and effects]
The color chart of the present invention is
Image data generated by test shooting by an image data generation device that generates image data of the target by shooting a predetermined target with white balance based on a predetermined adjustment parameter. Is a color chart used for color correction processing of image data generated by shooting other than the test shooting,
A plurality of color patches arranged in a predetermined area are provided,
The color patches are arranged so as to become achromatic when integrating each color
This is the gist.
[0014]
In the color chart of the present invention, the color patches of a plurality of colors are arranged so as to become an achromatic color when the respective colors are integrated. For this reason, when generating image data by test shooting of a color chart by the image data generation device, the hue of the color patches constituting the color chart is adjusted for white balance based on a predetermined adjustment parameter on the image data generation device side. There is little influence and it becomes easy to take white balance. Therefore, it is possible to generate image data with the same hue regardless of the type of light source that captures the color chart, and it is possible to efficiently realize color correction processing based on the generated image data. For example, when a color chart test shot is taken under a fluorescent lamp, the occurrence of color fog (green fog) due to the color chart color is prevented, so that the same shooting results as shooting under sunlight can be obtained. Can do. Therefore, when an object is photographed under a fluorescent lamp after test photographing, it is not necessary to perform a color correction process that removes the color cast.
[0015]
In the above invention, the image data generation device generates white balance, and automatically determines an exposure amount according to the surrounding environment of the target and shoots the target to generate image data of the target The achromatic color, which is the result of integrating each color of the color patch, is*a*b*L representing lightness in the color system*It is also desirable for the value of to be a color in the vicinity of 50. In this way, when the image data is generated by the color chart test shooting by the image data generation device, the brightness of the entire color chart affects the exposure amount automatically determined on the image data generation device side. Less gray and easy to balance. Therefore, even when a color chart is simply taken in a mode or setting state in which the exposure amount is automatically determined, it is possible to reliably generate image data with appropriate brightness without overexposure or underexposure. Become. For example, when generating the image data E3, it is not necessary to apply exposure correction in accordance with the brightness of the entire color chart that is the object to be photographed.
[0016]
L*a*b*L representing lightness in the color system*It is also preferable to provide a color patch having a value of 50 near the center of the chart. In the image data generating apparatus, generally, the exposure amount is automatically determined by center-weighted photometry (measuring the center portion of the effective photographing area). If the color chart is shot by such an image data generation device so that the entire color chart falls within the effective shooting area, L at the center of the chart can be obtained on the image data generation device side.*It is possible to achieve a more accurate gray balance with reference to a color patch having a value of 50 in the vicinity, and the color patch color outside the center of the chart does not affect the gray balance. Therefore, it is possible to easily and reliably generate image data with more appropriate exposure.
[0017]
The predetermined area in which the color patches of a plurality of colors are arranged may be a substantially rectangular area, and the substantially rectangular area may be formed with substantially the same vertical and horizontal composition ratio as the photographing effective area of the image data generation device. . In this way, it is possible to reliably shoot all the color patches, and it is possible to effectively prevent failure of the color chart test shooting.
[0018]
L around a given area*a*b*L representing lightness in the color system*It is also preferable to provide an achromatic region with a value of 50 in the vicinity. In this way, when a color chart is photographed by the image data generation device, an object other than the color patch appears around the predetermined area, and the white balance adjustment degree and the exposure amount depend on the color of the reflected object. Will not adversely affect
[0019]
It is also desirable that the plurality of color patches include color patches of colors outside the sRGB color space region. In this way, it is possible to generate image data that is free from overcasting and underexposure even for colors outside the sRGB color space (for example, highly saturated colors), and color correction processing that accurately covers a wide color gamut. Can be performed.
[0020]
Information for identifying the left and right sides of a predetermined area may be provided in a format that can be recognized by the device that performs the color correction process. This makes it possible to accurately specify the position information of each color patch from the image data of the color chart when performing color correction processing, and to easily and reliably recognize the color based on the image data. Can do.
[0021]
It is also desirable that the color chart is a color chart in which image data generated by test photographing is used for profile creation between the image data generation device and another device other than the image data generation device. For example, when the configuration of the invention of claim 1 is provided, it is possible to create a profile with another device on the basis of image data with little color cast, and the accuracy of the profile can be improved. When the configuration of the invention of claim 2 is provided, it is possible to create a profile with another apparatus on the basis of image data with no excess or deficiency of exposure, and the accuracy of the profile can be further improved. For example, when a color chart including a color patch of a color outside the sRGB color space is taken as a test image, it is possible to generate image data with no color cast or over / underexposure even for a highly saturated color. A high-accuracy profile with a wide color gamut can be created based on image data. In addition, when a color chart having information that identifies the top and bottom of a predetermined area in a format that can be recognized by a device that performs color correction processing is shot by test, position information of each color patch from the image data of the color chart Can be identified and an accurate profile can be created.
[0022]
The present invention is an apparatus configured to be able to photograph the color chart, and generates image data of the color chart by photographing the color chart while taking a white balance based on a predetermined adjustment parameter. It can also be grasped as an image data generation device. In the image data generation apparatus of the present invention, image data is generated by adjusting white balance by photographing a color chart in which a plurality of color patches are integrated so that an achromatic color is obtained by integrating each color. For this reason, when the white balance is adjusted, the hue of the color patches constituting the color chart has less influence on the white balance adjustment based on the adjustment parameter defined in advance, and the white balance can be easily obtained. Therefore, with respect to the color chart, it is possible to obtain image data with less color cast due to the photographic light source color, and it is possible to generate image data with the same color regardless of the type of the photographic light source. For example, image data with less color cast can be generated even when a color chart is shot with auto white balance without specifying a light source of a place where the user takes a picture (hereinafter referred to as a shooting place light source). .
[0023]
In the above invention, it is also preferable to adopt a configuration in which the image data of the color chart is generated by automatically determining an exposure amount according to the surrounding environment of the color chart and taking a picture while taking white balance. In such an image data generation apparatus, when a plurality of color patches integrate each color, L*a*b*L representing lightness in the color system*The image data is obtained by adjusting the white balance by photographing a color chart arranged so that the value of the achromatic color is close to 50 and automatically determining the exposure amount according to the surrounding environment of the photographed color chart. Is generated. Therefore, when the exposure amount is automatically determined, the brightness of the entire color chart has less influence on the exposure amount that is automatically determined, and gray balance can be easily achieved. Accordingly, even when a color chart is simply photographed in a mode or setting state in which the exposure amount is automatically determined, it is possible to reliably generate image data with appropriate brightness without excessive or insufficient exposure. For example, it is not necessary to apply exposure correction according to the brightness of the entire color chart, which is the object to be photographed, to the generated image data.
[0024]
It is also preferable to provide storage means for storing the generated image data so that the image data can be read, since the image data of the color chart with less color cast and an appropriate exposure state can be read and used later. For example, if a profile between the image data generation device and another device is created based on the read image data, a highly accurate profile can be created.
[0025]
The present invention can also be understood as a chart image data correction apparatus that corrects image data of a color chart generated by photographing the color chart. Such a chart image data correction apparatus of the present invention includes a reference data holding unit that holds reference data that is data representing the colors of a plurality of color patches, and image data generated by referring to the reference data holding unit. Is provided with a correction value determining unit that compares the reference data with the reference data and determines the correction value of the color information of the image data. According to such a chart image data correction device, the correction value determination unit compares the image data of the color chart generated by the image data generation device with the same hue regardless of the type of photographing light source with the reference data. Thus, the correction value of the color information of the image data is determined. Therefore, with respect to one image data generation apparatus, it is possible to determine the correction value of the color information of the image data in a single manner, and the correction value determination process can be simplified. For example, the correction value of the color information of the image data of the color chart generated by one image data generation device is determined to be different for shooting under sunlight and shooting under fluorescent lighting. There is no need to perform such complicated processing.
[0026]
In the chart image data correction device of the above invention, a correction basis for holding correction basis information, which is information associating the correction value determined by the correction value determination unit with the type of the image data generation device that generated the image data of the color chart. Providing the information holding unit is also preferable in that the correction basic information can be used later.
[0027]
In the chart image data correction device according to the invention, a profile between an image data generation device that generates the image data based on a correction value determined by a correction value determination unit and a device other than the image data generation device is obtained. It is also preferable to provide a profile creation unit for creating. In this way, a profile is created based on a set correction value regardless of the type of light source at the time of shooting in the image data generation device. Therefore, it is possible to create a profile with a wide utilization range and high accuracy. For example, the created profile is not only useful when the color chart is photographed under a specific light source (for example, a fluorescent light), even when the color chart is photographed under various light sources. Thus, it is possible to provide a profile that can faithfully reproduce the color of the object photographed by the image data generation apparatus in another apparatus.
[0028]
In the chart image data correction device of the above invention, a profile information holding unit that holds profile information that is information that associates the profile created by the profile creation unit with the type of the image data generation device that generated the image data of the color chart. Providing is also preferable in that the profile information can be used later.
[0029]
The present invention receives correction basic information or profile information from the chart image data correction device described above, and corrects color information of image data generated by photographing a predetermined object based on the correction basic information or profile information. It is also possible to grasp as a color correction device. Such a color correction apparatus according to the present invention includes a data receiving unit that receives image data generated by photographing a predetermined object, and a type that determines the type of the image data generating device that has generated the image data received by the data receiving unit. A determining unit; a reading unit that reads a correction value or profile corresponding to the type of the image data generating apparatus determined by the type determining unit with reference to the correction basic information or profile information; and the reading unit Color information correcting means for correcting color information of the image data received by the data receiving means based on a correction value or a profile.
[0030]
According to such a color correction apparatus, the image data generated by photographing a predetermined object is received, the type of the image data generation apparatus that generated the received image data is determined, and the determined image data generation apparatus The correction value or profile corresponding to the type is read out with reference to the correction basic information or profile information received from the chart image data correction apparatus. The read correction value or profile is determined by the chart image data correction device regardless of the color chart light source. The color information correction unit corrects the color information of the received image data based on such a single correction value or profile. Accordingly, it is possible to simplify the color correction process of the image data generated by photographing the predetermined object. For example, the degree of correction of the color information of the generated image data and the profile to be applied differ depending on whether the predetermined object is photographed under sunlight or when photographed under a fluorescent lamp. There is no need to perform any special processing.
[0031]
The profile creation method of the present invention includes:
A method of creating a profile between an image data generation device that generates image data of a target by photographing a predetermined target while white balance is achieved, and another device other than the image data generation device. ,
Image data of the color chart is generated by photographing a color chart arranged in a predetermined region so that a color patch of a plurality of colors is achromatic when integrating each color by the image data generation device,
Based on the generated color chart image data, a profile is created between the image data generation apparatus that generated the color chart image data and another apparatus other than the image data generation apparatus.
This is the gist.
[0032]
According to the profile creation method of the present invention, when an image data generation device that generates image data of an object by photographing a predetermined object while maintaining white balance, the color patches of a plurality of colors are integrated when each color is integrated. Image data of the color chart is generated by photographing a color chart arranged in a predetermined area so as to be colored, and the image data of the color chart is generated based on the generated image data of the color chart A profile is created between the image data generation device that generated the image data and another device other than the image data generation device. With respect to the color chart, it is possible to obtain image data with little color cast due to the photographic light source color, and it is possible to generate image data with the same color regardless of the type of the photographic light source. Therefore, it is possible to create a profile with high accuracy and a wide utilization range.
[0033]
A recording medium on which the computer program of the present invention is recorded,
An image data generation device that generates image data based on image data of the color chart generated by photographing a color chart in which color patches of a plurality of colors are arranged in a predetermined region while maintaining white balance; A recording medium recording a computer program for creating a profile with another device other than the image data generating device,
A step of generating image data of the color chart by photographing the color chart arranged so that an achromatic color is obtained when the plurality of color patches are integrated with each color;
Creating the profile based on the image data of the generated color chart;
The gist of the invention is that a program for causing the computer to execute is recorded on the computer in a readable manner.
[0034]
According to the recording medium in which the computer program of the present invention is recorded, image data of the color chart is generated by photographing a color chart in which a plurality of color patches are arranged so as to become an achromatic color when each color is integrated. Based on the above, a profile is created between the image data generation device that generated the image data and another device other than the image data generation device. Therefore, it is possible to create a profile with high accuracy and a wide utilization range.
[0035]
DETAILED DESCRIPTION OF THE INVENTION
In order to further clarify the configuration and operation of the present invention described above, embodiments of the present invention will be described in the following order.
A. Example (image data conversion system MA)
A-1. Key points of the example
A-2. Overall configuration of image data conversion system MA
A-3. White balance or exposure adjustment mechanism
A-4. Color chart structure
A-5. B. Relationship between color chart shooting environment and created profile Modified example
[0036]
A. Example
A-1. Key points of the example
FIG. 1 is an explanatory diagram showing a characteristic configuration of an image data conversion system MA according to an embodiment of the present invention. The image data conversion system MA converts image data expressed by one color space into image data expressed by a color space different from the one color space. It is a reproducible system. As shown in FIG. 1, this system includes an image data generation device that generates image data when a subject is photographed, and reference image data obtained by photographing a color chart EP having a plurality of color patches by the image data generation device. When E3 is generated, a chart image data correction device that corrects the reference image data E3, and a correction result by the chart image data correction device is used to generate the object H by the image data generation device. This is realized by a color correction device for correcting the image data H1.
[0037]
As shown in FIG. 1, the image data generation apparatus generates image data based on the sRGB color space, whereas the color correction apparatus converts the received image data into wRGB having a color reproduction area wider than the sRGB color space. The image data expressed by the color space is corrected. The chart image data correction device is an actual product of each color patch in consideration of the difference in the reference color space between the image data generation device and the color correction device and the color reproduction characteristics of the image data generation device or the color correction device. The correction value of the reference image data E3 is determined so that a color similar to the color can be reproduced by the color correction device, and a profile between the image data generation device and the color correction device is created from the determined correction value. Here, the profile means a file describing a method for reproducing a color expressed in one color space depending on a device in another color space depending on the device. Details of this profile will be described later.
[0038]
In this embodiment, as shown in FIG. 1, the image data generating device is configured by a digital still camera 10, and the chart image data correcting device and the color correcting device are configured by a printer 40 capable of color printing.
[0039]
As shown in FIG. 1, the processing performed in the image data conversion system MA is composed of two modules: a profile creation module MA1 and an image printing module MA2 that is performed after the profile creation module MA1 ends. The profile creation module MA1 generates sRGB reference image data E3 expressed by the sRGB color space that is the color space of the image data generation device by photographing the color chart EP printed on the paper P, and this sRGB reference image. Based on the data E3, processing for creating a profile between the image data generation device and the color correction device is performed. Further, in the image printing module MA2, the sRGB image data H1 generated along with the photographing of the object H is expressed by the wRGB color space, which is a color space of the color correction device, using the created profile. Conversion to the wRGB image data H4 is performed, and a process for printing an image of the object H based on the wRGB image data H4 is performed.
[0040]
As shown in FIG. 1, the sRGB reference image data E3 is generated by executing a chart image data generation program stored in the image data generation apparatus when the color chart EP is captured. In this chart image data generation program, a program for grasping an environment (hereinafter referred to as an imaging environment) where a subject including the color chart EP is captured and generating sRGB reference image data E3 based on the imaging environment is described. Yes. In this embodiment, the shooting environment of such a subject takes into account the type of light source that irradiates the subject (for example, fluorescent light, sunlight, etc.), the amount of light reflected from the subject, and the like. For example, as shown in FIG. 1, when a subject including a color chart EP is photographed under a fluorescent lamp, the white balance is automatically adjusted to match the color temperature of the fluorescent lamp, The amount of light reflected from the subject is automatically measured to determine the exposure required for shooting. When the subject including the color chart EP is photographed under sunlight, the white balance is automatically adjusted to match the color temperature of sunlight, and the amount of light reflected from the subject under sunlight is automatically adjusted. To determine the exposure required for shooting. Thereby, the sRGB reference image data E3 in which the white balance and the exposure amount are automatically adjusted is generated.
[0041]
As will be described later, in the profile creation module MA1, a color chart EP having a characteristic color patch structure is photographed by the image data generation device. Thereby, automatic adjustment of the white balance and the exposure amount in the image data generation apparatus is performed more appropriately. As a result, sRGB reference image data E3 having substantially the same color information is generated regardless of the difference in the shooting environment. For example, as shown in FIG. 1, the sRGB reference image data having substantially uniform color information and brightness information regardless of whether the color chart EP is taken under an environment of fluorescent light or sunlight. E3 is generated.
[0042]
Based on the sRGB reference image data E3, a profile creation program is executed in the chart image data correction apparatus to create a profile. By referencing the created profile by the color correction device, the color space of the sRGB image data H1 is converted to generate wRGB image data H4.
[0043]
As described above, the image data conversion system MA according to the present embodiment creates a highly accurate profile based on the sRGB reference image data E3 having substantially uniform color information regardless of the photographing environment. By performing color space conversion of image data by using it, the color of the object H can be faithfully reproduced even when the object H is photographed in various photographing environments. It is what.
[0044]
A-2. Overall configuration of image data conversion system MA
Next, the overall configuration of the image data conversion system MA of the present embodiment will be described with reference to FIGS. FIG. 2 is an explanatory diagram showing an outline of the image data conversion system MA according to the embodiment of the present invention. As shown in FIG. 2, the image data conversion system MA includes a digital still camera 10 as an image data generation device and a printer 40 as a chart image data correction device or a color correction device.
[0045]
The digital still camera 10 has a function of acquiring an image by photographing an object, and storing the acquired image as digital image data in the memory card MC. In order to execute this function, a CPU, a ROM, A control mechanism 20 composed of a RAM or the like is provided.
[0046]
As shown in FIG. 2, the digital still camera 10 is based on two color spaces that depend on the characteristics of the digital still camera 10 such as an sRGB color space and a YCbCr color space. The YCbCr color space has a wider color reproduction area than the sRGB color space.
[0047]
The control mechanism 20 of the digital still camera 10 generates image data expressed in the sRGB color space by photographing the subject, converts the generated image data into image data expressed in the YCbCr color space, and performs JPEG compression. The compressed YCbCr image data is recorded on the memory card MC. As the storage format of the image data in the memory card MC, a storage format such as the TIFF format, the GIF format, and the BMP format can be used in addition to the JPEG format.
[0048]
The printer 40 has a function of receiving image data from another digital device, converting the received image data into image data expressed in the color space of the printer, and outputting an image based on the converted image data. More specifically, it has a function of printing an image on a recording medium such as paper or cloth, a CD-R, or a printing medium such as an OHP sheet. In order to execute these functions, the printer 40 includes a control mechanism 50 constituted by a CPU, a ROM, a RAM, and the like.
[0049]
As shown in FIG. 2, the printer 40 is based on two color spaces that depend on the characteristics of the printer 40: a wRGB color space and a CMYK color space (not shown). The wRGB color space has a wider color reproduction area than the sRGB color space.
[0050]
When the printer 40 receives image data expressed in a color space other than the wRGB color space, the control mechanism 50 converts the image data into image data expressed in the wRGB color space, and the converted image data Is color-separated and converted into image data expressed in the CMYK color space. Based on the CMYK image data, the control mechanism 50 determines the discharge mode of the four colors C (cyan), M (magenta), and Y (yellow) and K (black), and based on the determined discharge mode. Instructs execution of printing.
[0051]
In the image data conversion system MA shown in FIG. 2, the digital still camera 10 and the printer 40 are not connected to each other by connection means such as a cable. The transfer of image data from the digital still camera 10 to the printer 40 is realized by inserting the memory card MC extracted from the memory card throttle 11 of the digital still camera 10 into the memory card drive 41 of the printer 40. That is, the control mechanism 50 of the printer 40 connected to the memory card drive 41 reads the YCbCr image data recorded on the memory card MC, and converts the read image data into image data expressed in the wRGB color space. .
[0052]
As described above, the image data conversion system MA includes two modules, that is, the profile creation module MA1 and the image printing module MA2. Of the series of processes performed in each of the modules MA1 and MA2, the process on the printer 40 side is a storage unit 51, a command unit 53, a color space conversion unit 68, and an L− provided in the control mechanism 50 of the printer 40. Executed by the functional units such as the w calculation unit 55, the color separation unit 56, the output unit 58, the data reception unit 60, the relationship determination unit 64, the color specification value specification unit 65, the color conversion table creation unit 66, and the color conversion table storage unit 67 (See FIG. 2). Further, the processing on the digital still camera 10 side is executed by each function unit such as a data generation unit 22, a color conversion unit 24, and a compression unit 26 provided in the control mechanism 20 of the digital still camera 10 (see FIG. 2). ).
[0053]
In this embodiment, in the profile creation module MA1, as a profile used between two devices, the digital still camera 10 and the printer 40, a wRGB color space in which the printer 40 has colors expressed in the YCbCr color space by the digital still camera 10. The profile YW describing the technique to be reproduced in is created. The processing performed by each of the functional units in the profile creation module MA1 will be specifically described with reference to FIGS. 4 to 10 as appropriate, centering on FIGS.
[0054]
In FIG. 2, the flow of processing executed by each function unit in the profile creation module MA1 is indicated by a black thin arrow. In FIG. 3, the flow of processing performed by the control mechanism 50 through the control mechanism 20 as a whole in the profile creation module MA1 is shown as a profile creation processing routine using a flowchart. In the following description, the contents of the processing executed by each functional unit will be described with a focus on FIG. 2, and the processing name also described in FIG. 3 is appended with a step name corresponding to FIG. 3 in the explanatory text. Shall.
[0055]
As shown in FIG. 2, the storage unit 51 stores in advance reference image data E0 that is information for specifying a color chart EP having a plurality of color patches. This reference image data E0 is a color space of device-independent colors L*a*b*It is expressed by a color space. The reference table BT (not shown in FIG. 2) of the storage unit 51 stores the color of each color patch as L, as will be described later.*a*b*Information on color values (hereinafter referred to as reference color values) expressed in a color space is stored in advance as reference color value information LQ (not shown in FIG. 2) (see FIG. 5).
[0056]
Upon receiving a color chart EP output instruction by a predetermined operation by the user, the command unit 53 sends a command to form color chart EP output data to the color space conversion unit 68. The color space conversion unit 68 that has received the command first stores the L from the storage unit 51.*a*b*The reference image data E0 expressed by the color space is read (steps S200 and S210), and the reference image data E0 is converted into wRGB reference image data E1 expressed by the wRGB color space (step S220).
[0057]
The conversion from the reference image data E0 to the wRGB reference image data E1 is performed by the Lw arithmetic unit 55 in the color space conversion unit 68 in the following manner.
[0058]
In the color conversion table storage unit 67, as one content of the profile YW, an L*a*b*A conversion formula from the color space to the wRGB color space is stored in advance.
[Formula 2]
Fy = (L*+16) / 116
When Fy ≧ 0.20456, Y = Y0・ FyThree
When Fy <0.20456, Y = (Y0/7.787) ・ (L*-16/116)
Fx = (Fy + a*/ 500)
When Fx ≧ 0.20456, X = X0・ FxThree
When Fx <0.20456, X = (X0/7.787) ・ (Fy + a*/ 500-16 / 116)
Fz = (Fy−b*/ 200)
When Fz ≧ 0.20456, Z = Z0・ FxThree
When Fz <0.20456, Z = (Z0/7.787) · (Fy-b*/ 200-16 / 116)
However, X0, Y0, Z0Is the tristimulus value at the white point
(R / 255)γ= M11 · X + m12 · Y + m13 · Z
(G / 255)γ= M21 ・ X + m22 ・ Y + m23 ・ Z
(B / 255)γ= M31 · X + m32 · Y + m33 · Z
However, m11 to m33 are XYZ → RGB color space conversion matrix.
[0059]
The L-w calculation unit 55 that has received a command to form the output data of the color chart EP from the color space conversion unit 68 reads the above equation 2 with reference to the color conversion table storage unit 67, and for each color patch Standard color value (L*, A*, B*) Is substituted into Equation 2 above to calculate the calculation result. With such an operation, the reference color value (L) is obtained for each color patch on the color chart EP.*, A*, B*) Values of wRGB colorimetric values (wR, wG, wB) corresponding to the values are obtained, and the reference image data E0 can be converted into wRGB reference image data E1.
[0060]
Note that the conversion from the reference image data E0 to the wRGB reference image data E1 can be realized without performing the calculation by the Lw calculation unit 55. Specifically, wRGB reference image data E1 expressed in the wRGB color space is stored in advance in the storage unit 51, and the color space conversion unit 68 refers to the storage unit 51 when receiving a command from the command unit 53. Thus, a configuration for reading the wRGB reference image data E1 can be considered.
[0061]
The color space conversion unit 68 temporarily stores the color values of the wRGB reference image data E1 obtained by the calculation in the reference table BT of the storage unit 51 while taking a correspondence relationship with each reference color value (see FIG. 5). In addition, the wRGB standard image data E1 is sent to the color separation unit 56. The color separation unit 56 performs color separation on the received wRGB reference image data E1 to convert it into CMYK reference image data E2 expressed in the CMYK color space (step S230), and the output unit 58 outputs the CMYK reference image data E2. To do. Thereby, the paper P on which the color chart EP is printed is discharged out of the printer 40 (step S240).
[0062]
The paper P on which the color chart EP is printed is shown in FIG. As shown in FIG. 4, the color chart EP includes a patch data area VS that is an area in which color patches of a plurality of colors are arranged. The patch data area VS has a horizontally long rectangular outline, and 240 color patches (12 vertical × 20 horizontal) having different colors are arranged in the rectangular area. Note that some of the 240 color patches (vertical 12 × 20 horizontal) may be the same color.
[0063]
The color chart EP includes a background data area BS, which is a background area of 240 color patches, around the outside of the patch data area VS. A white margin area, which is the color of the paper P, is formed around the background data area BS. The structures of the patch data area VS and the background data area BS will be described in more detail in “A-4. Color chart structure” described later. It is also possible to adopt a configuration in which the background data area BS is not provided.
[0064]
The arrangement of the color patches in the patch data area VS can be specified by arranging the color value information for each pixel of each color patch in the scanning direction of the color chart EP. Regarding the specification of such an arrangement, in the first embodiment, as shown in FIG. 4, information relating to the arrangement of color patches (hereinafter referred to as arrangement information FL) is defined by a combination of row position and column position in the color chart EP. Yes. That is, in the color chart EP, 20-digit color patches are arranged in each of the a-th to l-th rows (12 rows in total), and the arrangement of the color patches located in the first digit of the first row The information FL is represented as “a1”, and the arrangement information FL of the color patch located at the 20th digit of the 12th row is represented as “l20”.
[0065]
The color chart EP includes four identification marks Z1 to Z4 as identification data ZD for identifying the top and bottom of the color chart EP in the background data area BS. Each of the identification marks Z1 to Z4 is disposed in the vicinity of each of the four corner portions of the quadrangular patch data region VS. That is, as shown by the triangles filled with black in FIG. 4, black identification marks Z1 and black identification marks Z2 are arranged in the vicinity of the color patches whose arrangement information FL is “a1” and “a20”, respectively. ing. Among these, as shown in FIG. 4, the identification mark Z1 is above the 1-1 contour trajectory line (Y direction side shown in FIG. 4) and to the left of the 3-3 contour trajectory line (−X direction shown in FIG. 4). Side) area. Further, the identification mark Z2 is arranged in a region above the 1-1 contour locus line (Y direction side shown in FIG. 4) and on the right side of the 4-4 contour locus line (X direction side shown in FIG. 4). Yes.
[0066]
Further, as indicated by white triangles in FIG. 4, red identification marks Z3 and red identification marks Z4 are arranged in the vicinity of the color patches whose arrangement information FL is “l1” and “l20”, respectively. ing. Among these, as shown in FIG. 4, the identification mark Z3 is below the 2-2 contour trajectory line (−Y direction side shown in FIG. 4) and to the right of the 4-4 contour trajectory line (X shown in FIG. 4). (Direction side) area. Further, the identification mark Z4 is in a region below the 2-2 contour locus line (−Y direction side shown in FIG. 4) and to the left of the 3-3 contour locus line (−X direction side shown in FIG. 4). Has been placed. These four identification marks Z1 to Z4 function as information (hereinafter referred to as identification information SB) for identifying the left and right sides of the color chart EP by being read by the control mechanism 50 of the printer 40 as will be described later.
[0067]
Note that the arrangement information FL of each color patch described above indicates the color of each color patch as L*a*b*Along with the reference color value information LQ expressed by the color space, it is stored in advance in the reference table BT of the storage unit 51 as reference image data E0. FIG. 5 shows a reference table BT in a state where the reference image data E0 is stored. As shown in FIG. 5, the reference table BT stores arrangement information FL from “a1” to “l20” and reference color value information LQ corresponding to each arrangement information FL.
[0068]
The reference color value information LQ is L*a*b*It is expressed in the form of color values expressed by a color space. For example, as illustrated in FIG. 5, (L*, A*, B*) = (M0, n0, o0) is provided. This reference color value information LQ is L*(Brightness), a*(Chromaticity in red / green direction), b*Each value of (chromaticity in the direction of yellow and blue) represents m0, n0, and o0, respectively. In the reference table BT, L*, A*, B*Are expressed in the form of “m + number”, “n + number”, “o + number”, but the number after “m” can take values from 0 (zero) to 100. The numbers after “n” and “o” can take values corresponding to the number of chromaticities of colors belonging to the visible region.
[0069]
The wRGB color value information WQ corresponding to the content of the reference color value information LQ is stored in the reference table BT shown in FIG. The wRGB color value information WQ is L*a*b*This is information of color values when the reference color value expressed by the color space is expressed by the wRGB color space which is the color space of the printer 40. For example, as shown in FIG. 5, for a color patch whose array information FL is “a1”, (wR, wG, wB) is used as wRGB color value information corresponding to the reference color value (m0, n0, o0). WRGB color value information WQ == (p0, q0, r0). The wRGB colorimetric value information WQ has the contents that the values of wR (red in the wRGB color space), wG (green in the wRGB color space), and wB (blue in the wRGB color space) are p0, q0, and r0, respectively. It represents. In the reference table BT, the values of wR, wG, and wB are expressed in the form of “p + number”, “q + number”, “r + number”, but “p”, “q”, “r” The subsequent numbers can take values from 0 (zero) to 255 corresponding to the general number of gradations (256 gradations for each color) of each color of R, G, and B. The value of (wR, wG, wB) as the wRGB colorimetric value information WQ is received from the calculation result of the Lw calculation unit 55 in the conversion process (step S220 in FIG. 3) of the wRGB reference image data E1 described above. Is recorded by the color space conversion unit 68.
[0070]
Returning to FIG. 2 and FIG. When the color chart EP on the paper P is photographed by the digital still camera 10 based on a predetermined photographing instruction, the data generation unit 22 forms an image of the light information of the color chart EP on the CCD, thereby forming the color chart. An EP image is acquired (steps S300 and S310), and the obtained image is subjected to photoelectric conversion by a CCD and A / D conversion by an A / D converter, thereby generating sRGB reference image data E3 expressed in the sRGB color space. (Step S320). The data generation unit 22 sends the sRGB reference image data E3 to the color conversion unit 24. The color conversion unit 24 converts the received sRGB reference image data E3 into YCbCr reference image data E4 expressed in the YCbCr color space (step S330), and sends this YCbCr reference image data E4 to the compression unit 26. In order to reduce the amount of data, the compression unit 26 thins out the Cb component and the Cr component of the received YCbCr reference image data E4, and compresses the YCbCr reference image data E4 into the YCbCr reference image data E5 (step S340). The compressed YCbCr reference image data E5 is recorded on the memory card MC (step S350). If the data amount of the YCbCr reference image data E4 is small, the YCbCr reference image data E4 can be directly recorded on the memory card MC without performing the above-described compression.
[0071]
Thereafter, when the memory card MC on which the YCbCr reference image data E5 is recorded is inserted into the memory card drive 41 of the printer 40 and the printer 40 is instructed to create a profile YW, the data receiving unit 60 Reads the recorded contents of the memory card MC, receives YCbCr reference image data E5 (steps S250 and S260), and sends the YCbCr reference image data E5 to the relationship determination unit 64.
[0072]
The relationship determining unit 64 sends the YCbCr reference image data E5 to the color specification value specifying unit 65. The color specification value specifying unit 65 specifies the color specification value of the YCbCr reference image data E5 and passes the specified color specification value information to the relationship determination unit 64. The relationship determination unit 64 determines the color value and L of the received YCbCr reference image data E5.*a*b*A correspondence relationship with the reference color value of the reference image data E0 expressed by the color space is determined (step S270), and based on the determined correspondence relationship, the color value of the YCbCr reference image data E5 is associated with the reference color value. However, the information is temporarily stored in the storage unit 51, and the stored information is sent to the color conversion table creation unit 66.
[0073]
FIG. 6 is a flowchart showing details of the correspondence determination processing in step S270 of FIG. 3 as a correspondence determination processing routine. This routine is started when the relationship determining unit 64 receives the YCbCr reference image data E5 in the memory card MC. When this routine is started, first, YCbCr reference image data E5 is developed as image data in a buffer (step S600), and a process for determining whether or not four identification marks Z1 to Z4 exist on this image data. Is performed (step S610). If it is determined that all of the four identification marks Z1 to Z4 are not present, it is considered that the color chart EP has not been photographed over the entire range, and a warning is given by blinking the display lamp or the like (step S690). To return to the process of step S250 of FIG.
[0074]
If it is determined that all four identification marks Z1 to Z4 are present, a process of reading the color values in the YCbCr color space of each identification mark Z1 to Z4 is performed (step S620). The above color value reading process can be realized by storing a JPEG format image data analysis program in a ROM or the like in advance.
[0075]
Next, a process for determining the top and bottom of the YCbCr reference image data E5 based on the difference in color values of the read identification marks Z1 to Z4 is performed (step S630). Specifically, the direction in which the two black identification marks Z1 and Z2 are located corresponds to the upward direction of the color chart EP, and the direction in which the two red identification marks Z3 and Z4 are located is downward in the color chart EP. Decide that it corresponds.
[0076]
After determining the top and bottom of the YCbCr reference image data E5 in this way, a process of reading the color values in the YCbCr color space is performed on the data corresponding to the color patches in the YCbCr reference image data E5 (step S640). This reading process is performed from left to right in order from the top of the image data. In the color chart EP shown in FIG. 5, the arrangement information FL is “a1”, “a2”,..., “A20”, “b1”,..., “B20”,. YCbCr colorimetric values are read in the order of "."
[0077]
Next, a process of writing the YCbCr color values in the correspondence table CT of the storage unit 51 in the reading order is performed (step S650). FIG. 7 shows the correspondence table CT in a state where the YCbCr color specification values of the YCbCr reference image data E5 are written. As shown in FIG. 7, the correspondence table CT is provided with three items of arrangement information FL of the color chart EP, YCbCr colorimetric value information YQ, and reference color value information LQ. Symbols from “a1” to “l20” corresponding to the arrangement information FL of the color chart EP are pre-filled in each column belonging to the item of arrangement information FL. Further, in each column belonging to the item of the reference color value information LQ, the value of the reference color value corresponding to the contents of the array information FL is entered in advance. The read YCbCr color specification value is written in order from the item a1 to each column belonging to the item YCbCr color specification value information YQ.
[0078]
The color value in the YCbCr color space is specified by a combination of three component values of Y (luminance), Cb (saturation), and Cr (saturation). For example, as shown in FIG. 7, in the column of YCbCr colorimetric value information YQ corresponding to the array information FL “a1”, a YCbCr colorimetric value of (Y, Cb, Cr) = (s0, t10, u20) is displayed. This YCbCr colorimetric value is written and indicates that the values of Y (luminance), Cb (saturation), and Cr (saturation) are s0, t10, and u20, respectively. In the correspondence table CT, the values of Y, Cb, and Cr are expressed in the form of “s + number”, “t + number”, “u + number”, but “s”, “t”, and “u”. The latter number can take any value in the YCbCr color space.
[0079]
When the writing of the YCbCr color values for the YCbCr reference image data E5 is completed, the correspondence table CT becomes a list describing the correspondence between the YCbCr color values and the reference color values as shown in FIG. If it is determined that the writing of YCbCr color values for all the color patches has been completed, the fact that the writing has been completed is sent to the color conversion table creation unit 66 (steps S660 and S670), and this routine is executed. finish.
[0080]
FIG. 8 is a block diagram showing how the correspondence determining process described above is performed by each function unit of the control mechanism 50. When the correspondence determination process ends, as shown in FIG. 8, two tables, the reference table BT and the correspondence table CT, have been created in the storage unit 51. By combining the storage contents of the reference table BT and the correspondence table CT, L common to both tables BT and CT is obtained.*a*b*The correspondence between the wRGB color value and the YCbCr color value of each color patch can be obtained via the color value. For example, a color patch having a reference color value of (m0, n0, o0) whose array information FL is “a1” becomes a wRGB color value of (p0, q0, r0) when printed by the printer 40 (see FIG. 5), the paper P printed based on the wRGB color values is photographed by the digital still camera 10 to obtain a YCbCr color value of (s0, t10, u20) (see FIG. 7). Therefore, when image data having a YCbCr color value of (s0, t10, u20) is generated by photographing a subject with the digital still camera 10, this image data is represented by a wRGB table of (p0, q0, r0). If the color value is converted and printed by the printer 40, the photographed image can be printed in the same color as the color acquired by the digital still camera 10 during photographing.
[0081]
On the other hand, when a subject having a color other than 240 colors on the color chart EP is photographed by the digital still camera 10, image data having YCbCr color values not included in the correspondence table CT is generated. In the present embodiment, for such image data, following the above-described correspondence determination process, the digital still camera 10 can print a captured image in a color similar to the color acquired at the time of shooting. The regression calculation process (step S280 in FIG. 3) described in (1) is performed.
[0082]
As shown in FIGS. 2 to 3, the color conversion table creation unit 66 that has received the notification that the color value of the YCbCr reference image data E5 has been stored is first displayed in the table of the YCbCr reference image data E5 stored in the storage unit 51. Based on the correspondence between the color value and the reference color value, a regression calculation process described later is performed (step S280). Subsequently, a profile YW, which is a color conversion table from the YCbCr color space to the wRGB color space, is created using the calculation result of the regression calculation processing, and the profile YW is stored in the color conversion table storage unit 67. (Step S290), the profile creation processing routine (FIG. 3) is terminated. In this embodiment, the profile YW is created in the form of a conversion formula from the YCbCr color value to the wRGB color value, and this conversion formula is stored in the color conversion table storage unit 67.
[0083]
FIG. 9 is a flowchart showing details of the regression calculation processing in step S280 of FIG. 3 as a regression calculation processing routine. This routine is started after the correspondence determination process is completed. When this routine is started, first, the correspondence table CT is referred to, and processing for setting the first array information FL as an analysis target is performed (step S700). Next, a process of reading the reference color value information LQ and YCbCr color value information YQ recorded in the correspondence table CT for the array information FL set as the analysis target is performed (step S710). With the above processing, in the example shown in FIG. 7, the sequence information FL “a1” is set as an analysis target, and L (m0, n0, o0) belonging to the sequence information FL “a1” is set.*a*b*The color value and the YCbCr color value of (s0, t10, u20) are read out.
[0084]
Next, the read reference color value information LQ and YCbCr colorimetric value information YQ are substituted into the following three basic arithmetic expressions JM (step S720), and each basic arithmetic expression JM after the substitution is stored in the arithmetic buffer. This is performed (step S730).
<Basic arithmetic expression JM>
L*= (Α1, Α2, ... α20) A
a*= (Β1, Β2,… Β20) A
b*= (Γ1, Γ2, ... γ20) A
In the above basic arithmetic expression JM, A is (1, Y, Cb, Cr, Y2, Cb2, Cr2, Y * Cb, Y * Cr, Cb * Cr, YThree, CbThree, CrThree, Y2* Cb, Y2* Cr, Y * Cb2, Y * Cr2, Cb2* Cr, Cb * Cr2, Y * Cb * Cr)tAnd α1, Α2, ... α20, Β1, Β2,… Β20, Γ1, Γ2, ... γ20Is an unknown constant. The basic arithmetic expression JM is stored in advance in a storage area in the color conversion table creation unit 66.
[0085]
Next, processing is performed to determine whether or not the next sequence information FL exists (step S740). When it is determined that the next sequence information FL exists, the next sequence information FL is set as an analysis target. (Step S750), the process returns to Step S710 and the above processing is repeated. With the above processing, in the example shown in FIG. 7, the L for each array information FL from “a1” to “l20”.*a*b*The basic arithmetic expression JM into which the color value and the YCbCr color specification value are substituted is sequentially stored in the arithmetic buffer.
[0086]
If it is determined in step S740 that the next array information FL does not exist, the process of assigning the reference color value information LQ and the YCbCr colorimetric value information YQ to the basic arithmetic expression JM is completed for all the array information FL. Assuming that all equations stored in the operation buffer are read out, the regression operation is performed (step S760). Specifically, by applying the principle of the least square method to each expression after substitution, 60 unknown constants (α1, Α2, ... α20, Β1, Β2,… Β20, Γ1, Γ2, ... γ20).
[0087]
Next, after performing the process of substituting the obtained regression coefficient into the above basic arithmetic expression JM (step S770), the basic arithmetic expression JM after substituting the regression coefficient is stored in the color conversion table storage unit 67 as expression 1. The storing process is performed (step S780), and this routine is terminated. Equation 1 to which the regression coefficient is substituted is the YCbCr color value and L*a*b*This is a conversion formula between color values. Therefore, by substituting an arbitrary YCbCr color value (Y, Cb, Cr) into this conversion formula, L corresponding to the substituted YCbCr color value is obtained.*a*b*Color value (L*, A*, B*) Can be obtained.
[0088]
FIG. 10 is a block diagram showing how the above-described regression calculation processing is performed by each functional unit of the control mechanism 50. As shown in FIG. 10, when the regression calculation process is completed, the color conversion table storage unit 67 stores the LC values from the YCbCr color values.*a*b*Expressions 1 and L, which are conversion expressions to color values*a*b*Two formulas of Formula 2, which is a conversion formula from the color space to the wRGB color space, are stored. In the profile creation or storage process (step S290 in FIG. 3) performed after the regression calculation process, the above two formulas are combined and “YCbCr colorimetric value → L*a*b*Color value → conversion formula to wRGB color space ”, which is stored in the color conversion table storage unit 67 as a profile YW for the digital still camera 10 (see FIG. 10).
[0089]
The contents of the processing performed in the profile creation module MA1 have been described above. Next, the image printing module MA2 performed after the profile creation module MA1 is finished will be described. Of the series of processing performed by the image printing module MA2, the processing on the digital still camera 10 side includes a data generation unit 22, a color conversion unit 24, and a compression unit 26 provided in the control mechanism 20 of the digital still camera 10. It is executed by the functional unit (see FIG. 2). Further, the processing on the printer 40 side includes a data receiving unit 60, a color value specifying unit 65, a color space conversion unit 68, a color conversion table storage unit 67, provided in the control mechanism 50 of the printer 40 shown in FIG. It is executed by each of the function units, that is, the Yw calculation unit 69, the color separation unit 56, and the output unit 58 (see FIG. 2).
[0090]
The processing performed by each of the above functional units in the image printing module MA2 profile will be specifically described with reference to FIG. 12 as appropriate, centering on FIG. 2 and FIG. In FIG. 2, the flow of processing executed by each functional unit in the image printing module MA2 is indicated by a black thick arrow. Further, in FIG. 11, the flow of processing performed by the control mechanism 20 to 50 as a whole in the image printing module MA2 is shown as a faithful image processing routine using a flowchart. In the following description, the contents of processing executed by each functional unit will be described with a focus on FIG. 2, and the processing names described in FIG. 11 will be denoted by step names corresponding to FIG. 11 in the explanatory text. Shall.
[0091]
When the object H as a subject is photographed by the digital still camera 10 in which the profile YW is created, as shown in FIG. 2, the data generation unit 22 forms an image of light information of the object H on the CCD. Thus, an image of the object H is acquired (steps S400 and S410), and the obtained image is subjected to photoelectric conversion by the CCD and A / D conversion by the A / D converter, and sRGB image data expressed in the sRGB color space. H1 is generated (step S420). The data generation unit 22 sends the sRGB image data H1 to the color conversion unit 24. The color conversion unit 24 converts the received sRGB image data H1 into YCbCr image data H2 expressed in the YCbCr color space (step S430), and sends this YCbCr image data H2 to the compression unit 26. The compression unit 26 reduces the data amount by thinning out the Cb component and the Cr component of the received YCbCr image data H2. As a result, the YCbCr image data H2 is compressed into YCbCr image data H3 (step S440). The first image data referred to in the claims corresponds to the YCbCr image data H3 in the first embodiment. The compressed YCbCr image data H3 is recorded on the memory card MC (step S450).
[0092]
When the memory card MC in which the YCbCr image data H3 is recorded is inserted into the memory card drive 41 of the printer 40, and the printer 40 is instructed to execute printing, the data receiving unit 60 stores the memory card MC. The recorded contents are read to receive YCbCr image data H3 (steps S500 and S510), and this YCbCr image data H3 is sent to the color value specifying unit 65. The color value specifying unit 65 specifies the color value in the YCbCr color space of the received YCbCr image data H3 (step S520), and then sends the YCbCr image data H3 to the color space conversion unit 68.
[0093]
The color space conversion unit 68 refers to the profile YW stored in the color conversion table storage unit 67, and obtains the color value of the wRGB color space corresponding to the color value of the YCbCr image data H3 (step S530). In the process of obtaining the wRGB color value corresponding to the YCbCr color value, the Y-w calculation unit 69 in the color space conversion unit 68 converts the YCbCr color value as a profile YW into a conversion formula from wCbCr color value to wRGB color value. This is realized by substituting and calculating the YCbCr color value of the image data H3. The color space conversion unit 68 converts the YCbCr image data H3 into wRGB image data H4 based on the calculation result of the Y-w calculation unit 69 (step S540), and sends the wRGB image data H4 to the color separation unit 56.
[0094]
FIG. 12 is a block diagram showing a state where the conversion process from the YCbCr color space based on the profile YW to the wRGB color space (the processes in steps S530 and S540 in FIG. 4) is performed by each functional unit of the control mechanism 50. As shown in FIG. 12, when the Yw arithmetic unit 69 in the color space conversion unit 68 receives the YCbCr color value of the YCbCr image data H3 from the (1) color specification value specifying unit 65, (2) color conversion is performed. The profile YW (Equation 1 and Equation 2) is read from the table storage unit 67, and (3) the received YCbCr colorimetric value is substituted into Equation 1 to perform an operation, whereby L corresponding to the YCbCr colorimetric value is calculated.*a*b*After obtaining the color value, this L*a*b*By substituting the color value into Equation 2 and performing the operation, L*a*b*A wRGB color value corresponding to the color value is obtained. (4) The color space conversion unit 68 converts the YCbCr image data H3 into wRGB image data H4 based on the wRGB colorimetric values thus obtained, and sends the wRGB image data H4 to the color separation unit 56. Therefore, the image data H3 expressed by the YCbCr color space can be quickly and accurately replaced with the wRGB color space.
[0095]
Returning to FIG. 2 and FIG. The color separation unit 56 that has received the converted wRGB image data H4 performs color separation on the wRGB image data H4 to convert it into CMYK image data H5 expressed in the CMYK color space (step S540), and the CMYK image data H5 is converted to CMYK image data H5. The output unit 58 outputs (step S550). Thereby, the paper P on which the image of the object H is printed is discharged to the outside of the printer 40 (step S560).
[0096]
FIG. 13 shows the relationship between the color of the image acquired by the digital still camera 10 and the color printed by the printer 40 when the above image data conversion system MA is applied. As shown in FIG. 13, when the colorimetric value of the YCbCr image data H3 generated by photographing with the digital still camera 10 is a value on the coordinate point v1 in the YCbCr color space (a value representing red near orange). As a result of color space conversion using the profile YM on the printer 40 side that has received this YCbCr image data H3, the color value of the YCbCr image data H3 is the value on the coordinate point w1 on the xy chromaticity diagram (red closer to orange) Value). Therefore, the printer 40 prints an image based on the wRGB image data H4 having the same color value as the color acquired at the time of shooting.
[0097]
According to the image data conversion system MA described above, the color chart EP output and printed from the printer 40 is photographed by the digital still camera 10, and only the YCbCr reference image data E5 generated by photographing is input to the printer 40. A profile YW which is a color conversion table from the color space (YCbCr color space) of the digital still camera 10 to the color space (wRGB color space) of the printer 40 is created. Thereafter, by using this profile YW, the color of the subject (target object H) photographed by the digital still camera 10 can be faithfully and easily reproduced by the printer 40.
[0098]
A-3. White balance or exposure adjustment mechanism
The digital still camera 10 in the embodiment includes an adjustment mechanism for adjusting white balance or exposure. Such an adjustment mechanism will be described with reference to FIGS. 14 and 15. FIG. 14 is an explanatory diagram showing a white balance or exposure amount adjustment mechanism provided in the digital still camera 10 as a block diagram. FIG. 15 is an explanatory diagram showing items and set values that can be set as conditions relating to white balance or exposure.
[0099]
Here, before entering a specific description of a white balance or exposure adjustment mechanism, a shooting mode provided in the digital still camera 10 will be described. The digital still camera 10 has two shooting modes of “manual” and “full auto”. “Manual” is a mode in which a user manually sets setting values for setting items relating to white balance, exposure, and the like, and performs shooting. On the other hand, “full auto” is a mode in which the digital still camera 10 automatically sets the setting values for the setting items relating to white balance, exposure, etc., and performs shooting. Such a shooting mode can be set by the user operating the dial switch 15 shown in FIG. 14 to select a desired mode (either “Manual” or “Full Auto” shown in FIG. 15). . The set mode is temporarily stored in the setting management unit 28 described later.
[0100]
Next, a white balance or exposure adjustment mechanism will be specifically described. As shown in FIG. 14, the digital still camera 10 includes an exposure control unit 30, an aperture management unit 31, a shutter speed management unit 32, an exposure correction unit 33, a flash execution unit 34, and a setting management unit 28 as exposure adjustment mechanisms. A functional part is provided. In addition, as a white balance adjustment mechanism, functional units such as a WB control unit 35 and a setting management unit 28 are provided. Each of these functional units includes a CPU, a ROM, a RAM, and the like as a part of the control mechanism 20. By the operation of each of these functional units, image data (sRGB reference image data E3, sRGB image data H1) whose white balance or exposure is adjusted in the data generation unit 22 is generated.
[0101]
First, exposure adjustment will be described. Here, “exposure” refers to sending light necessary for photographing to the CCD. The amount of light sent to the CCD during shooting is hereinafter referred to as the exposure amount. The exposure amount is expressed in units of “EV (Exposure Value)”.
[0102]
As shown in FIG. 14, when the light passing through the lens 14 hits the light receiving element of the CCD, the light receiving element senses the exposure amount and generates an electric signal having a strength corresponding to the magnitude of the exposure amount. Image data is generated by the data generator 22 based on the strength of the electrical signal. Thereby, brightness information is added to the image data. The magnitude of the exposure amount is determined in principle by a combination of a shutter speed value and an aperture value, which will be described later.
[0103]
As shown in FIGS. 14 and 15, the digital still camera 10 includes setting items such as shutter speed, aperture, and exposure correction as items relating to settable exposure. In addition to these, regarding the exposure, it is possible to set items such as a flash and a photometry method, but the description of these setting items is omitted in FIGS.
[0104]
The shutter speed is a function of adjusting the exposure amount according to the light irradiation time. A value adjusted by the shutter speed is called a shutter speed value, and expressed as “1/15” or “1/30” in seconds.
[0105]
As shown in FIG. 15, in the digital still camera 10 in this embodiment, when the shooting mode is set to “manual”, the shutter speed is set to “8”, “4”, “2”, “1/2”. ”,“ 1/4 ”,“ 1/8 ”,“ 1/15 ”,“ 1/30 ”,“ 1/60 ”,“ 1/125 ”,“ 1/250 ”,“ 1/500 ” It can be set to any of the set values. The shutter speed can be set by the user operating the dial switch 15 shown in FIG. 14 to select a desired setting value.
[0106]
On the other hand, when the shooting mode is set to “full auto”, the exposure control unit 30 of the digital still camera 10 automatically determines and sets the setting value of the shutter speed (see FIGS. 14 to 15). ). The criteria for determining this set value will be described later.
[0107]
The setting value thus set is temporarily stored in the setting management unit 28. The setting management unit 28 sends the set setting value to the shutter speed management unit 32 as shown in FIG. The shutter speed management unit 32 changes the period from switching on to off of the CCD according to the received set value. As a result, the time during which light is sent to the CCD is adjusted. Note that the shutter speed may be adjusted by a method other than the software method as described above. For example, the shutter speed can also be adjusted by a mechanical method such as adjusting the time during which light passes through the lens 14 by changing the opening / closing speed of the diaphragm plate 13 which is a lens blocking curtain.
[0108]
The diaphragm is a function for adjusting the exposure amount by increasing or decreasing the cross-sectional area of light transmitted through the lens. A value adjusted by this diaphragm is called a diaphragm value (F value) and is expressed as “F4.0”, “F8.0”. Note that as the aperture value increases, the cross-sectional area of the light transmitted through the lens decreases. This is called “squeezing”. On the other hand, as the aperture value decreases, the cross-sectional area of the light transmitted through the lens increases. This is called "opening".
[0109]
As shown in FIG. 15, in the digital still camera 10 according to the present embodiment, when the photographing mode is set to “manual”, the aperture is set to “F2.0”, “F2.3”, “F2.8”. , “F4.0”, “F5.6”, and “F8.0”. Such an aperture setting can be performed by operating the dial switch 15 and selecting a desired set value, as in the case of the shutter speed.
[0110]
On the other hand, when the shooting mode is set to “full auto”, the exposure control unit 30 of the digital still camera 10 automatically determines and sets the aperture setting value (see FIGS. 14 to 15). . The criteria for determining this set value will be described later.
[0111]
The setting value thus set is temporarily stored in the setting management unit 28. The setting management unit 28 sends the set setting value to the aperture management unit 31. The aperture management unit 31 changes the aperture of the aperture plate 13 according to the received set value. Thereby, the cross-sectional area of the light transmitted through the lens 14 is adjusted.
[0112]
A method in which the exposure control unit 30 automatically determines the shutter speed and aperture setting values when the shooting mode is set to “full auto” will be described with reference to FIG. Upon receiving the setting information “full auto” from the setting management unit 28, the exposure control unit 30 commands the reflected light type exposure meter 12 to measure the light coming from the subject.
[0113]
The exposure meter 12 measures light coming from the subject and obtains an appropriate exposure by calculation based on the measurement result. Here, the proper exposure means an exposure that the photographer feels as it is seen. The calculation of the appropriate exposure is made based on the assumption that “when all the brightness and color of an average outdoor subject are mixed, it becomes 18% gray (neutral gray)”.
[0114]
The exposure control unit 30 that has received the appropriate exposure value from the exposure meter 12 determines the appropriate exposure value as the exposure amount at the time of shooting, and the optimum shutter speed value and aperture value for realizing this exposure amount. Determine the combination. Thereby, setting values relating to the shutter speed and the aperture are determined. The exposure control unit 30 sets the shutter speed and the aperture to the determined setting values, and sends information on the set setting values to the setting management unit 28.
[0115]
If the exposure control unit 30 determines that the flash 16 needs to emit light in order to realize the exposure amount at the time of shooting, the exposure control unit 30 instructs the flash execution unit 34 to that effect. The flash execution unit 34 controls light emission (light emission timing and light emission amount) of the flash 16, and automatically emits the flash at the time of shooting. As a result, the light necessary for realizing the proper exposure is automatically replenished at the time of photographing.
[0116]
Next, exposure correction settings will be described. The exposure correction is a function for correcting the brightness of an image by correcting an exposure amount determined by a combination of a shutter speed value and an aperture value. This function is used, for example, to achieve proper exposure when attempting to photograph a very bright subject or a very dark subject.
[0117]
The exposure correction function is particularly useful when the shooting mode is set to “full auto”. That is, in the case of “Full Auto”, the appropriate exposure value is automatically determined based on the assumption that “when all the brightness and color of an average outdoor subject are mixed, it becomes 18% gray”. However, the subject is not always 18% gray. If exposure correction is performed in such a case, it is possible to correct the calculated value of the exposure meter 12, so that true proper exposure can be realized.
[0118]
A value adjusted by exposure correction is referred to as an exposure correction value, and is expressed in units of EV. In the digital still camera 10 according to the present embodiment, the exposure correction is from “−2.0 EV” to “2.0 EV” regardless of whether the shooting mode is set to “auto” or “manual”. The range can be set in increments of 0.1 EV. This exposure correction is realized by the exposure correction unit 33 changing the preset aperture or shutter speed setting value according to the exposure correction value.
[0119]
Next, white balance adjustment will be described. Here, the white balance is a function for adjusting the color balance so that a white subject appears white under various light sources. The digital still camera 10 having such a white balance adjusts the RGB signal input as the subject is photographed to an output balance suitable for the light source and the color of the subject. Thereby, image data in which the color of the subject is faithfully reproduced can be generated.
[0120]
As shown in FIG. 14, such a white balance function is performed on the color information of the image data with respect to the digital image data received by the data generation unit 22 via the CCD and the A / D converter when the subject is photographed. Is realized by the WB control unit 35 correcting the above. Such corrected image data is the above-described sRGB reference image data E3 and sRGB image data H1.
[0121]
Correction of color information by the WB control unit 35 is performed as follows. That is, as shown in FIG. 14, the light that has passed through the lens 14 is separated into an R component, a G component, and a B component by passing through a CCD color filter (primary color filter using three primary colors of RGB light). The As a result, RGB signals composed of R, G, and B components are input to the A / D converter as subject color information. The A / D converter sends the RGB signal converted into the digital value to the data generation unit 22. For the RGB signal received by the data generation unit 22, the WB control unit 35 adjusts the balance of the R component, G component, and B component of the RGB signal according to the type of light source and the color of the subject.
[0122]
For example, when shooting a subject under an incandescent lamp having a low color temperature, the WB control unit 35 lowers the gain factor of the R component compared to when shooting under sunlight, and the subject under a general fluorescent lamp. In the case of photographing, the gain factor of the G component is set lower than that in photographing under sunlight. Thereby, the balance of the RGB signals is adjusted according to the type of the light source.
[0123]
Further, when shooting a subject, not only the color of the light source but also the color of the subject itself that receives light from the light source affects the shooting result. In consideration of this, the WB control unit 35 determines the component ratio of each of the R, G, and B components so that the average of the entire image acquired by shooting is achromatic (that is, R: G: B = 1: 1: 1), the RGB signal is adjusted based on the determined composition ratio. Thereby, the balance of the RGB signals is adjusted according to the color of the subject.
[0124]
As shown in FIG. 15, in the digital still camera 10 according to the present embodiment, when the shooting mode is set to “manual”, the white balance is any one of “auto”, “fixed”, and “custom”. Can be set to The white balance can be set by the user operating the dial switch 15 shown in FIG. 14 to select a desired setting.
[0125]
“Auto” is a setting used when photographing without specifying a photographing light source, and covers a color temperature in a predetermined range (4000 ° K (Kelvin) to 7000 ° K in this embodiment). The adjustment degree storage unit 36 stores in advance white balance adjustment parameters (for example, the degree of adjustment of the balance of the R component, G component, and B component) in the case of the color temperature in the above range. The WB control unit 35 refers to the storage content of the adjustment degree storage unit 36, adjusts the balance of the RGB signals, and takes a white balance.
[0126]
“Fixed” is a setting used when a photographing light source is generally designated for photographing. In the present embodiment, any one of “sunlight”, “fluorescent lamp”, “incandescent lamp”, and “cloudy sky” can be designated as the photographing light source, and “sunlight”, “fluorescent lamp”, “ "Incandescent" and "Cloudy" cover color temperatures suitable for each light source. The adjustment degree storage unit 36 stores in advance each white balance adjustment parameter (for example, the degree of adjustment of the balance between the R component, the G component, and the B component) for each color temperature described above. The WB control unit 35 refers to the storage content of the adjustment degree storage unit 36, adjusts the balance of the RGB signals, and takes a white balance.
[0127]
“Custom” is a setting used when shooting under an imaging light source that is specifically specified individually. For example, it is used when shooting in a place where sunlight and fluorescent lamps are mixed. In this “custom” setting, white balance adjustment parameters (for example, the degree of adjustment of the balance of the R component, G component, and B component) are not defined in advance in the digital still camera 10 and are not stored in advance. It is determined only by photographing white paper or the like under a specific light source. The determined parameters are subsequently stored in the adjustment degree storage unit 36 together with the name of the photographing light source when photographing white paper or the like. Thereafter, when the subject is photographed under the same light source as when white paper or the like is photographed, the white balance is set to “the parameters determined after the above” in “custom mode”. Thereby, the white balance can be accurately taken.
[0128]
On the other hand, when the shooting mode is set to “full auto”, the setting management unit 28 automatically determines the white balance setting to be “auto” (see FIGS. 14 to 15).
[0129]
A-4. Color chart structure
Next, regarding the color chart EP photographed by the digital still camera 10 provided with the white balance and exposure adjusting mechanism as described above, the arrangement relationship according to the color value of each color patch will be described with reference to FIG. . As shown in FIG. 16A, in the patch data area VS of the color chart EP, color patches having the same lightness are arranged together in one area. That is, as indicated by the encircled numbers in FIG. 16A, the reference color value L is within the area {circle around (1)} in the lower left corner of the color chart EP.*Color patches having a (brightness) value of “around 10” are arranged together. Similarly, the region (2) to the right of the region (1) and the region (3) to the right of the region (2)*Color patches having values of “around 20” and “around 30” are arranged together. In addition, the area {circle over (4)}, the area {circle around (5)}, and the area {circle around (6)} positioned immediately above the area {circle around (3)}, the area {circle around (2)}, and the area {circle around (1)}*Color patches having values of “around 40”, “around 50”, and “around 60” are arranged together. Further, the areas (7), (8), and (9) located immediately above the areas (6), (5), and (4) are respectively set to L.*Color patches having values of “around 70”, “around 80”, and “around 90” are arranged together. As described above, the color chart EP is divided into nine regions from the region (1) to the region (9) according to the value of the brightness value.
[0130]
As shown in FIG.*Regions {circle around (1)}, {circle around (3)}, {circle around (7)}, and {circle around (9)} having values of “around 10”, “around 30”, “around 70”, and “around 90” have almost the same area. is doing. L*Regions {circle around (4)} and {circle around (6)} having values of “around 40” and “around 60” have substantially the same area. Therefore, 240 color patches L*The average value is “about 50”. Thus, in the color chart EP, when the color patch integrates each color, “L”*It is arranged so that “approximate 50 achromatic colors”. In addition, “L*“Approximately 50 achromatic colors” means “about 18% gray”.
[0131]
In the central part (the part indicated by the dotted line hatching in FIG. 16A) in the area (5) located at the central part of the color chart EP, L*An achromatic color patch having a value of 50 is arranged.
[0132]
In the color chart EP, colors belonging to the wRGB color space, which is the color space of the printer 40, are extracted over a wide range and used as the colors of the color patches. For example, in the xy chromaticity diagram of FIG. 16B, a range D indicated by a diagonal line rising to the right indicates a range to which a highly saturated color belongs in the wRGB color space, and this range D is outside the sRGB color space. The colors are included. The color chart EP includes a color patch having a color belonging to such a range D in the area (5).
[0133]
The vertical / horizontal configuration ratio (value of mm / kk shown in FIG. 16) of the patch data area VS is substantially the same as the vertical / horizontal configuration ratio of the finder of the digital still camera. A subject belonging to the finder region is imaged on the CCD.
[0134]
Also, as shown in FIG. 16A, the background data area BS is L*Is an achromatic color near 50.
[0135]
A-5. FIG. 17 shows the result of photographing the color chart EP printed by the printer 40 with the digital still camera 10 under different photographing environments. In FIG. 17, wRGB reference image data E1 and sRGB reference image data E3 (indicated as “E1” and “E3” in FIG. 17), which are each image data of the color chart EP, are displayed in the respective color spaces. It represents an image when embodied.
[0136]
Case (1) in FIG. 17 shows a case where the photographing mode is set to the full auto mode and the color chart EP is photographed under sunlight. In this case, the white balance is automatically set to “auto” (this white balance setting state is represented as “AWB” in FIG. 17).
[0137]
In Case (1), the entity-image color difference ΔE between the color chart EP and the sRGB reference image data E3 generated by photographing the color chart EP is a value cg1. This value cg1 is smaller than the value Jcg1 of the entity-image color difference ΔE in Case 1 (conventional example) in FIG. 23 taken under the same light source as Case (1).
[0138]
As described above, in case (1), the value of the entity-image color difference ΔE is smaller than that in the conventional case so that the color patch in the color chart EP as the subject becomes an achromatic color when the colors are integrated. This is thought to be due to the arrangement. That is, with this arrangement, the WB control unit 35 does not need to change the composition ratio of the R, G, and B components because of the color tone of the entire color chart EP, and the RGB signal according to the color of the subject. It becomes unnecessary to adjust the balance. As a result, white balance can be easily obtained. In other words, the actual color of the color chart EP can be reproduced simply by adjusting the RGB signal according to the type of light source.
[0139]
Further, in the color chart EP that is the subject, when the color patch integrates each color, L*Arrangement so as to have an achromatic color of ≈50 is also considered to contribute to a decrease in the value of the entity-image color difference ΔE in Case (1). In other words, the color chart EP as the subject becomes 18% gray when all the brightness and color are mixed, so that it is possible to obtain an appropriate exposure only by calculation by the exposure meter 12, and exposure correction is performed in order to obtain an appropriate exposure. Therefore, it is not necessary to correct the calculation value of the exposure meter 12. The user can reproduce the actual brightness of the color chart EP simply by setting the shooting mode to the full auto mode by operating the dial switch 15 and shooting.
[0140]
Case (2) in FIG. 17 indicates a case where the photographing mode is set to the full auto mode and the color chart EP is photographed under a fluorescent lamp. In this case, the white balance is automatically set to “auto”.
[0141]
In Case (2), the entity-image color difference ΔE between the color chart EP and the sRGB reference image data E3 generated by photographing the color chart EP is substantially the same value cg1 as in Case (1). ing. This value cg1 is smaller than the value Jcg2 of the entity-image color difference ΔE in Case 2 (conventional example) in FIG. 23 taken under the same light source as Case (2).
[0142]
In the case (2), the value of the entity-image color difference ΔE is smaller than in the conventional case. In the case (1), the value of the entity-image color difference ΔE is smaller than in the conventional case. The same reason is considered.
[0143]
In the case (2), the entity-image color difference ΔE is substantially the same value cg1 as in the case (1). This is because the color patch integrates each color in the color chart EP as the subject. This is considered to be due to the arrangement of colors. That is, with this arrangement, the WB control unit 35 only needs to adjust the RGB signal according to the type of the light source, and does not need to adjust the balance of the RGB signal according to the color of the entire color chart EP. . Therefore, if the color component of the light source of the fluorescent lamp is removed, sRGB reference image data E3 having the same color information as that under sunlight can be obtained. For example, “The color component of the light source of the fluorescent lamp has been removed, but the color information of the color chart changes due to the adjustment of the balance of the RGB signals according to the color of the color chart EP as a whole. This will not cause a color cast of the light source color.
[0144]
Further, in the color chart EP that is the subject, when the color patch integrates each color, L*Arrangement so as to have an achromatic color of ≈50 is considered to contribute to the substantially equalization of the entity-image color difference ΔE between Case (1) and Case (2). That is, the color chart EP as a subject becomes 18% gray when all of its brightness and color are mixed. Therefore, the calculation by the exposure meter 12 is also performed in the case (2) as in the case (1). A simple exposure can be obtained simply and reliably. For example, in the case of Case (2), in order to obtain an appropriate exposure, work based on specialized knowledge such as “set the exposure correction value to 1 EV by operating the dial switch 15 because the light source is dark with a fluorescent lamp” Even if it is not performed, it is possible to obtain an appropriate exposure only by setting the shooting mode to the full auto mode and leaving it to the automatic flash that emits light when necessary.
[0145]
Case 3 in FIG. 17 is a state in which the photographing mode is set to the manual mode and the white balance is set to “fixed-fluorescent lamp” (this state is represented as “KWB-k” in FIG. 17). The case where the color chart EP was image | photographed under the lamp is shown.
[0146]
In Case (3), the entity-image color difference ΔE between the color chart EP and the sRGB reference image data E3 generated by photographing the color chart EP is substantially the same as in Cases (1) and (2). The value is cg1. This value cg1 is smaller than the value Jcg3 of the entity-image color difference ΔE in Case 3 (conventional example) of FIG. 23 taken under the same light source as Case (3).
[0147]
In case (3), the value of the entity-image color difference ΔE is smaller than in the conventional case. In the case (1), the value of the entity-image color difference ΔE is smaller than in the conventional case. The same reason is considered.
[0148]
In addition, the entity-image color difference ΔE in Case (3) is substantially the same value cg1 as in Case (1) because the entity-image color difference ΔE is in Case (2) described above. , Case (1) is considered to be the same reason as having the same value cg1.
[0149]
That is, when the white balance is set to the auto mode and the color component of the fluorescent lamp as the light source is roughly removed (Case (2)), the white balance is set to “fixed fluorescent lamp” and the fluorescent light as the light source is set. When the color component of the lamp is more accurately removed (Case (3)), sRGB reference image data E3 having substantially the same color information can be obtained. This is because the integrated value of the color of each color patch is achromatic, and the balance adjustment of the RGB signal according to the color of the entire color chart EP is unnecessary, which greatly contributes to the ease and accuracy of white balance. That it is.
[0150]
As described above by comparing Case (1) to Case (3), as a result of photographing the color chart EP with the digital still camera 10, it is almost the same regardless of the type of photographing light source and the difference in white balance setting. The sRGB reference image data E3 having color information (hue information and brightness information) is generated. In the printer 40, a profile YW having substantially the same content is created based on the sRGB reference image data E3 (see profiles (1) to (3) in FIG. 17).
[0151]
In the image data conversion system MA of the present embodiment described above, the color chart EP having color patches arranged so as to become achromatic colors when the respective colors are integrated is photographed by the digital still camera 10, and the sRGB generated by this photographing is taken. A profile YW is created based on the reference image data E3. For this reason, when the sRGB reference image data E3 is generated, the hue of the color patches constituting the color chart EP affects the white balance adjustment at the time of “auto” setting or “fixed” setting on the digital still camera 10 side. It is less affected and makes it easier to achieve white balance. Therefore, it is possible to generate the sRGB reference image data E3 having the same hue regardless of the type of light source for photographing the color chart EP, and efficiently realize the profile creation process based on the generated sRGB reference image data E3. can do.
[0152]
For example, when the color chart EP is photographed under a fluorescent lamp, the occurrence of color fog (green fog) due to the color of the entire color chart is prevented, and the same photographing result (sRGB reference image) as that under sunlight is taken. Data E3) can be obtained. Therefore, when the object H is photographed under a fluorescent lamp after photographing the color chart EP, it is not necessary to perform a color correction process that removes the color cast. As described above, in the image data conversion system MA of the present embodiment, it is possible to create the profile YW based on the sRGB reference image data E3 with less color cast and the sRGB reference image data E3 with no overexposure and the accuracy of the profile YW. Can be improved.
[0153]
Further, in the image data conversion system MA of the present embodiment, the correction value (regression coefficient in the case of the present embodiment) determined in a general manner regardless of the type of light source at the time of shooting and the difference in white balance settings. Based on this, a profile YW is created. Therefore, it is possible to create a profile YW having a wide utilization range and high accuracy. For example, the created profile is not useful only when the color chart EP is photographed under a specific light source (for example, a fluorescent light), and the color chart EP is set under various light sources and white balance settings. Even when the image is photographed below, a profile YW that can reproduce the color of the photographed object H in the printer 40 can be provided.
[0154]
The color chart EP photographed by the digital still camera 10 is “L” when a plurality of color patches integrate each color.*It is arranged so that “approximate 50 achromatic colors”. Therefore, when the sRGB reference image data E3 is generated by photographing the color chart EP, the hue and brightness of the entire color chart EP have less influence on the calculation of the necessary exposure amount, and it becomes easy to achieve gray balance. Therefore, even when the required exposure amount is automatically determined in the full auto shooting mode and the color chart is simply shot, the sRGB reference image data E3 having the appropriate brightness with no overexposure or underexposure is reliably generated. It becomes possible to make it. For example, when generating the sRGB reference image data E3, it is not necessary to add exposure correction according to the color and brightness of the entire color chart that is the object to be photographed.
[0155]
The color chart EP is L*A color patch having a value of around 50 is provided at the center of the chart. Therefore, when the color chart EP is photographed with the digital still camera 10 that automatically determines the exposure amount by the exposure meter of the center-weighted photometry (measuring the center portion of the photographing effective area), It becomes possible to achieve a more accurate gray balance. If the entire color chart EP is photographed so that it fits in the finder, which is a photographing effective area, L at the center of the chart*The required exposure amount is accurately determined with reference to a color patch having a value of around 50, and the color patch color outside the center of the chart does not affect the determination of the exposure amount. Therefore, the sRGB reference image data E3 with more appropriate exposure can be generated easily and reliably.
[0156]
Further, in the color chart EP, the vertical / horizontal configuration ratio of the patch data area VS is substantially the same as the vertical / horizontal configuration ratio of the finder of the digital still camera. Accordingly, when the color chart EP is photographed, it is possible to reliably photograph all the color patches without omission, and it is possible to effectively prevent photographing failure.
[0157]
The background data area BS of the color chart EP is L*Is an achromatic color in the vicinity of 50. Therefore, when the color chart EP is photographed by the digital still camera 10, the color reflected around the patch data area VS does not adversely affect the white balance adjustment degree and the exposure amount.
[0158]
The color chart EP includes color patches of colors outside the sRGB color space. Therefore, it is possible to generate sRGB reference image data E3 that is free from over- and under-exposure of colors and colors for colors outside the sRGB color space (for example, highly saturated colors), and create a profile that accurately covers a wide color gamut. Processing can be performed.
[0159]
Further, the color chart EP includes identification marks Z1 to Z4 for identifying the top and the left of the patch data area VS in a format that can be recognized by the printer 40 that performs the profile creation process. Accordingly, when performing the profile creation process, it is possible to accurately specify the position information of each color patch from the image data of the color chart EP, and to easily and reliably recognize the color based on the image data. it can.
[0160]
B. Modified example
In the above embodiment, the image data generating device is constituted by the digital still camera 10 and the chart image data correcting device and the color correcting device are constituted by the printer 40. However, the chart image data correcting device is constituted by the computer 90, and the color correcting device. The printer 40 can also be used. Such a configuration is shown in FIG. 18 as a first modification. In this way, it is possible to efficiently create or manage profiles for a plurality of different color correction apparatuses by the computer 90, and it is possible to easily cope with model changes of the digital still camera 10 and the printer 40.
[0161]
Further, the image data generation device may be configured by the digital still camera 10, and the chart image data correction device and the color correction device may be configured by the computer 90. Such a configuration is shown in FIG. 19 as a second modification. This eliminates the need to perform profile YW creation processing and color correction processing based on the profile YW in the printer 40, and allows the printer 40 to be configured more compactly (for example, without processing received data. A printer that prints the received data as is).
[0162]
The image data generation device and the chart image data correction device may be configured by the digital still camera 10, and the color correction device may be configured by the printer 40. Such a configuration is shown in FIG. 20 as a third modification. Since the profile YW creation process is performed in the digital still camera 10 as described above, it is not necessary to input the photographing result (reference image data E3) of the color chart EP to another apparatus in order to create the profile, and it is simple. You can create a profile.
[0163]
Further, the image data generation device, the chart image data correction device, and the color correction device can be configured by the digital still camera 10. Such a configuration is shown in FIG. 21 as a fourth modification. According to such a configuration, the user who has the digital still camera 10 prints the color chart EP by the printer 40, and the profile YW is automatically generated in the digital still camera 10 only by photographing the printed color chart EP. Is created. Thereafter, when the user images the object, color correction processing based on the profile YW is automatically executed in the digital still camera 10 for the image data H1 generated by the imaging. Therefore, the user convenience can be further improved.
[0164]
In FIG. 1 and FIGS. 18 to 21, black thick arrows indicate a transfer path for correction data such as image data and profiles, but such data transfer is limited to that by a recording medium such as a memory card. Instead, it may be performed using a cable, a communication line, or the like.
[0165]
In the above embodiment, the image of the color chart EP is printed on the paper P by the printer 40, and the color chart EP on the paper P is photographed by the digital still camera 10. It is also possible to prepare in advance as a color chart EPK for test photography without outputting. As a configuration of such a color chart EPK, for example, a configuration in which each color patch is pasted on a plate body in the same arrangement as in the present embodiment, and a 18% gray frame is set around the pasting region of each color patch. Can think.
[0166]
An image data conversion system MAK when a color chart EPK for test photography is prepared in advance is shown in FIG. 22 as a fifth modification. As shown in FIG. 22, in the image data conversion system MAK, the color of each color patch is stored in the storage unit 51 as L.*a*b*Information on the reference color value when expressed in the color space and information on the color value when the reference color value is expressed in the wRGB color space are stored as reference image data E0K. The reference image data E0K may be stored in the storage unit 51 in advance, or may be added to the storage unit 51 afterwards.
[0167]
Also in the case of the fifth modified example, the color chart EPK is used to obtain the LC from the YCbCr colorimetric value.*a*b*Expressions 1 and L, which are conversion expressions to color values*a*b*It is possible to create two formulas, Formula 2, which is a conversion formula from the color space to the wRGB color space, and by combining these two formulas, it is possible to create a profile YW similar to the above embodiment.
[0168]
As mentioned above, although the Example thru | or modification of this invention were demonstrated, this invention is not limited to such an Example etc., In the range which does not deviate from the summary of invention, it can implement in a various aspect.
[0169]
For example, the contents of the above-described processing for generating the reference image data of the color chart EP and the processing for creating a profile based on the reference image data are recorded in a computer-readable format on a recording medium such as a ROM or CD-ROM. It is good also as composition to do. According to such a recording medium, the computer reads the content recorded on the recording medium, whereby it is possible to obtain reference image data with less color cast due to the color of the photographic light source for the color chart EP. Regardless of the type or the white balance setting, reference image data having the same color can be generated. Therefore, it is possible to create a profile YW with high accuracy and a wide range of utilization. As for the configuration of the recording medium described above, a part of the process for generating the reference image data of the color chart EP and the process for creating the profile based on the reference image data is performed on a recording medium such as a ROM or a CD-ROM. It is good also as a structure which records in a computer-readable manner.
[0170]
In the above-described embodiment or modification, the sRGB reference image data E3 is used for creating the profile YW. However, the sRGB reference image data E3 can be used for purposes other than the creation of the profile. This is particularly useful when the color information of the sRGB reference image data E3 is corrected and the corrected image data is used in the digital still camera 10 or other devices. In other words, if the sRGB reference image data E3 having almost the same color information is generated by photographing the color chart EP regardless of the type of photographing light source and the difference in white balance setting, any of the sRGB reference image data E3 is used. The same correction value can be set for the shooting environment. Therefore, color correction processing can be realized uniformly and efficiently.
[0171]
The structure of the color chart EP is not limited to that shown in the above embodiment, and can be changed as appropriate. In the above embodiment, considering that the result of shooting with the auto white balance function is not only the color of the light source but also the influence of the color of the subject itself, the color of the color chart EP as the subject is changed to “average of the whole image”. Is achromatic. Therefore, when the color chart EP is photographed by the digital still camera 10 in which the white balance adjustment parameter is defined in advance and the white balance is set to the predefined adjustment parameter, the color chart EP of the digital still camera 10 is displayed. Any structure that facilitates white balance can be used.
[0172]
In the above embodiment, the image data conversion system MA between the digital still camera 10 and the printer 40 has been described. However, instead of the digital still camera 10, other image data having a reference color space different from that of the printer 40 is used. It is also possible to apply a generator. As such an image data generation device, a digital device (for example, a personal computer with a digital camera or a mobile phone with a digital camera), a scanner, a digital video camera, or the like provided with a digital still camera can be considered.
[0173]
In addition, a plurality of profiles created for different types of image data generation devices such as the digital still camera 10, scanner, and digital video camera can be stored so as to be readable by the printer 40. It is preferable in that the same image can be printed in the same color.
[0174]
The color space used in the above embodiment is merely an example, and other color spaces may be used in the image data generation device such as the digital still camera 10 or the color correction device such as the printer 40 or the computer 90. The reference color space is different between the image data generation device and the color correction device, and the image data generated in the image data generation device is generated reflecting the color space of the image data generation device If so, the present invention can be applied.
[0175]
Further, in the image data generation device or the color correction device, a color space that is a reference for generating image data may be selectable from a plurality of color spaces. Even in this case, if the reference color space is different between the image data generation device and the color correction device, the image data generation device and the color are applied by applying the image data conversion system MA of the above embodiment. A profile YW with the correction device can be created.
[0176]
In the image data conversion system MA of the above embodiment, instead of the printer 40, another device having a reference color space different from that of the image data generation device can be applied. As such other devices, monitors provided for display in various digital devices can be considered.
[0177]
In the above embodiment, the Exif format image file has been described as an example. However, the format of the image file is not limited to this, and the image data to be output by the image output apparatus and the formation of the image data are not limited thereto. Any image file including at least information on the color space used as a reference may be used. An image file including model name information is more preferable.
[0178]
The printer 40 or the computer 90 in the above embodiment is merely an example, and the configuration is not limited to the description of each embodiment. The printer 40 or the computer 90 only needs to read at least image data and create a profile YW based on the reading result.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram showing a characteristic configuration of an image data conversion system MA according to an embodiment of the present invention.
FIG. 2 is an explanatory diagram showing an overview of an image data conversion system MA.
FIG. 3 is a flowchart showing a profile creation processing routine.
FIG. 4 is an explanatory diagram showing the paper P on which a color chart EP is printed.
FIG. 5 is an explanatory diagram showing a reference table BT in a state where reference image data E0 is stored.
FIG. 6 is a flowchart showing details of the correspondence determination processing in step S270 of FIG. 3 as a correspondence determination processing routine.
FIG. 7 is an explanatory view showing a correspondence table CT in a state where YCbCr color values of YCbCr reference image data E5 are written.
FIG. 8 is a block diagram illustrating a state in which correspondence determination processing is performed by each functional unit of the control mechanism 50.
FIG. 9 is a flowchart showing details of a regression calculation process in step S280 of FIG. 3 as a regression calculation process routine.
10 is a block diagram showing a state in which regression calculation processing is performed by each functional unit of the control mechanism 50. FIG.
FIG. 11 is a flowchart illustrating an image faithful print processing routine.
12 is a block diagram illustrating a state in which conversion processing from a YCbCr color space based on a profile YW to a wRGB color space is performed by each functional unit of the control mechanism 50. FIG.
13 is an explanatory diagram showing the relationship between the color of an image acquired by the digital still camera 10 and the color printed by the printer 40 when the image data conversion system MA is applied. FIG.
FIG. 14 is an explanatory diagram showing a white balance or exposure adjustment mechanism provided in the digital still camera 10 as a block diagram;
FIG. 15 is an explanatory diagram showing items and set values that can be set as conditions relating to white balance or exposure;
FIG. 16 is an explanatory diagram showing an arrangement relationship according to the color value of each color patch in the color chart EP.
FIG. 17 is an explanatory diagram illustrating a result of photographing the color chart EP printed by the printer 40 with the digital still camera 10 under different photographing environments.
FIG. 18 is an explanatory diagram showing a first modification.
FIG. 19 is an explanatory diagram showing a second modification.
FIG. 20 is an explanatory diagram showing a third modification.
FIG. 21 is an explanatory diagram showing a fourth modification.
FIG. 22 is an explanatory diagram showing a fifth modification.
FIG. 23 is an explanatory diagram showing a conventional example.
[Explanation of symbols]
10, J10 ... Digital still camera
11 ... Memory card throttle
12 ... Exposure meter
13 ... Aperture plate
14 ... Lens
15 ... Dial switch
16 ... Flash
20 ... Control mechanism
22: Data generation unit
24. Color converter
26: Compression section
28. Setting management section
30. Exposure control unit
31 ... Aperture management section
32 ... Shutter speed management unit
33 ... Exposure compensator
34 ... Flash execution part
35 ... WB control unit
36. Adjustment degree storage section
40, J40 ... Printer
41 ... Memory card drive
50 ... Control mechanism
51. Storage unit
53 ... Command section
55 ... L-w calculation unit
56. Color separation unit
58 ... Output section
60: Data receiving section
64. Relationship determination unit
65 ... Color value specifying part
66 ... Color conversion table creation section
67. Color conversion table storage unit
68. Color space conversion unit
69 ... Yw arithmetic unit
90, J90 ... computer
BS ... Background data area
BT ... reference table
CT ... correspondence table
CV ... Cable
E ... Reference image
E0: Reference image data
E1 ... wRGB reference image data
E2 ... CMYK reference image data
E3 ... sRGB standard image data
E4 ... YCbCr reference image data
E5: YCbCr reference image data
EP, EPK, JV ... Color chart
FL ... Sequence information
H ... Object
H1 ... sRGB image data
H2 ... YCbCr image data
H3 ... YCbCr image data
H4 ... wRGB image data
H5 ... CMYK image data
H6 ... sRGB image data
JM: Basic arithmetic expression
LQ ... Standard color value information
MA, MAK ... image data conversion system
MA1 ... Profile creation module
MA2 ... Image printing module
MC ... Memory card
P ... paper
SB: Identification information
VS ... Patch data area
WQ ... wRGB color value information
YQ ... YCbCr color value information
YW ... Profile
ZD: Identification data
Z1, Z2, Z3, Z4 ... Identification mark

Claims (18)

予め規定された調整パラメータに基づいてホワイトバランスを取りながら所定の対象物を撮影することにより前記対象物の画像データを生成する画像データ生成装置によってテスト撮影され、該テスト撮影により生成される画像データが該テスト撮影以外の他の撮影により生成された画像データの色補正処理に利用されるカラーチャートであって、
所定の領域内に配列された複数の色のカラーパッチを備え、
前記カラーパッチが、各色を積分すると無彩色になるように配列された
カラーチャート。
Image data generated by test shooting by an image data generation device that generates image data of the target by shooting a predetermined target while taking a white balance based on a predetermined adjustment parameter. Is a color chart used for color correction processing of image data generated by shooting other than the test shooting,
A plurality of color patches arranged in a predetermined area are provided,
A color chart in which the color patches are arranged so as to become an achromatic color when each color is integrated.
請求項1に記載のカラーチャートであって、
前記画像データ生成装置は、前記ホワイトバランスを取ると共に、前記対象物の周辺環境に応じた露光量を自動的に決定して該対象物を撮影することにより該対象物の画像データを生成する装置であり、
前記カラーパッチの各色を積分した結果である無彩色を、L***表色系において明度を表わすL*の値が50近傍の色とした
カラーチャート。
The color chart according to claim 1,
The image data generation device generates the image data of the target object by taking the white balance and automatically determining the exposure amount according to the surrounding environment of the target object and photographing the target object. And
The color chart which made the achromatic color which is the result of integrating each color of the said color patch the color whose value of L * showing the lightness in L * a * b * colorimetric system is 50 vicinity.
請求項1または2に記載のカラーチャートであって、
前記画像データ生成装置は、前記ホワイトバランスを取ると共に、前記対象物の周辺環境に応じた露光量を自動的に決定して該対象物を撮影することにより該対象物の画像データを生成する装置であり、
***表色系において明度を表わすL*の値が50近傍のカラーパッチをチャート中央部に備えた
カラーチャート。
The color chart according to claim 1 or 2,
The image data generation device generates the image data of the target object by taking the white balance and automatically determining the exposure amount according to the surrounding environment of the target object and photographing the target object. And
A color chart provided with a color patch having an L * value of about 50 in the L * a * b * color system near the center of the chart.
請求項1ないし3のいずれかに記載のカラーチャートであって、
前記複数の色のカラーパッチが配列される前記所定の領域は略四角形の領域であり、
該略四角形の領域が、前記画像データ生成装置の撮影有効領域とほぼ同じ縦横の構成比率で形成された
カラーチャート。
A color chart according to any one of claims 1 to 3,
The predetermined area where the color patches of the plurality of colors are arranged is a substantially rectangular area;
The color chart in which the substantially square area is formed with the same vertical and horizontal composition ratios as the photographing effective area of the image data generation device.
前記所定の領域の周囲に、L***表色系において明度を表わすL*の値が50近傍の無彩色の領域を備えた請求項1ないし4のいずれかに記載のカラーチャート。The color chart according to any one of claims 1 to 4, further comprising an achromatic region having a value of L * representing lightness in the L * a * b * color system near 50 around the predetermined region. 前記複数のカラーパッチは、sRGB色空間の領域外の色のカラーパッチを含むことを特徴とする請求項1ないし5のいずれかに記載のカラーチャート。  The color chart according to claim 1, wherein the plurality of color patches include a color patch of a color outside the region of the sRGB color space. 前記所定の領域の天地左右を識別する情報を、前記色補正処理を行なう装置が認識可能な形式で備えた請求項1ないし6のいずれかに記載のカラーチャート。The color chart according to any one of claims 1 to 6, wherein information for identifying the right and left sides of the predetermined area is provided in a format that can be recognized by a device that performs the color correction process. 前記テスト撮影によって生成される画像データが、前記画像データ生成装置と該画像データ生成装置以外の他の装置との間のプロファイル作成に利用される請求項1ないし7のいずれかに記載のカラーチャート。  The color chart according to claim 1, wherein the image data generated by the test photographing is used for creating a profile between the image data generation device and another device other than the image data generation device. . 請求項1ないし8のいずれかに記載のカラーチャートを撮影可能に構成され、該カラーチャートを予め規定された調整パラメータに基づいてホワイトバランスを取りながら撮影することにより該カラーチャートの画像データを生成する画像データ生成装置。  9. The color chart according to claim 1, wherein the color chart is photographable, and image data of the color chart is generated by photographing the color chart while taking a white balance based on a predetermined adjustment parameter. An image data generation device. 前記カラーチャートの画像データを、前記ホワイトバランスを取りながら、前記カラーチャートの周辺環境に応じた露光量を自動的に決定して撮影することにより生成する請求項9に記載の画像データ生成装置。  The image data generation device according to claim 9, wherein the image data of the color chart is generated by automatically determining and photographing an exposure amount according to a surrounding environment of the color chart while taking the white balance. 前記生成された画像データを読み取り可能に記憶する記憶手段を備えた請求項9または10に記載の画像データ生成装置。  The image data generation device according to claim 9, further comprising a storage unit that stores the generated image data in a readable manner. 請求項1ないし8のいずれかに記載のカラーチャートを撮影することにより生成されたカラーチャートの画像データを補正するチャート画像データ補正装置であって、
前記複数の各カラーパッチの色を表現したデータである基準データを保持する基準データ保持部と、
該基準データ保持部を参照して、前記生成された画像データを前記基準データと対比し、該画像データの色情報の補正値を決定する補正値決定部と
を備えたチャート画像データ補正装置。
A chart image data correction device for correcting image data of a color chart generated by photographing the color chart according to any one of claims 1 to 8,
A reference data holding unit that holds reference data that is data representing the color of each of the plurality of color patches;
A chart image data correction apparatus comprising: a correction value determining unit that refers to the reference data holding unit and compares the generated image data with the reference data and determines a correction value of color information of the image data.
前記補正値決定部により決定された補正値と前記カラーチャートの画像データを生成した画像データ生成装置に依存した色空間とを関連付けた情報である補正基礎情報を保持する補正基礎情報保持部を備えた請求項12に記載のチャート画像データ補正装置。A correction basic information holding unit that holds correction basic information that is information that associates the correction value determined by the correction value determination unit with the color space depending on the image data generation device that generated the image data of the color chart; The chart image data correction device according to claim 12. 前記補正値決定部により決定された補正値に基づいて前記画像データを生成した画像データ生成装置と該画像データ生成装置以外の他の装置との間のプロファイルを作成するプロファイル作成部を備えた請求項12に記載のチャート画像データ補正装置。  A profile creation unit that creates a profile between the image data generation device that has generated the image data based on the correction value determined by the correction value determination unit and another device other than the image data generation device. Item 13. The chart image data correction device according to Item 12. 前記プロファイル作成部により作成されたプロファイルと前記カラーチャートの画像データを生成した画像データ生成装置の種類とを関連付けた情報であるプロファイル情報を保持するプロファイル情報保持部を備えた請求項14に記載のチャート画像データ補正装置。  The profile information holding unit that holds profile information that is information that associates the profile created by the profile creation unit with the type of the image data generation device that generated the image data of the color chart. Chart image data correction device. 請求項14に記載のチャート画像データ補正装置により作成された前記プロファイルに基づいて、所定の対象物について生成された生成画像データの色情報を補正する色補正装置であって、
異なる複数の種類の画像データ生成装置ごとに用意された前記プロファイルのうち、前記生成画像データを生成した画像データ生成装置に対応する前記プロファイルを用いて、前記生成画像データの色情報を補正する、色補正装置。
Based on the profile created by the chart image data correcting apparatus according to claim 14, a color correction apparatus for correcting the color information of the generated image data generated for a given object,
Correcting color information of the generated image data using the profile corresponding to the image data generating device that generated the generated image data among the profiles prepared for different types of image data generating devices. Color correction device.
所定の対象物をホワイトバランスを取りながら撮影することにより前記対象物の画像データを生成する画像データ生成装置と該画像データ生成装置以外の他の装置との間のプロファイルを作成する方法であって、
前記画像データ生成装置によって複数の色のカラーパッチが各色を積分すると無彩色になるように所定の領域内に配列されたカラーチャートを撮影することにより、該カラーチャートの画像データを生成し、
該生成されたカラーチャートの画像データに基づいて、該カラーチャートの画像データを生成した画像データ生成装置と該画像データ生成装置以外の他の装置との間のプロファイルを作成する
プロファイル作成方法。
A method of creating a profile between an image data generation device that generates image data of a target by photographing a predetermined target while white balance is achieved, and another device other than the image data generation device. ,
Image data of the color chart is generated by photographing a color chart arranged in a predetermined region so that a color patch of a plurality of colors is achromatic when integrating each color by the image data generation device,
A profile creation method for creating a profile between an image data generation device that has generated the color chart image data and another device other than the image data generation device, based on the generated color chart image data.
複数の色のカラーパッチが所定の領域内に配列されたカラーチャートをホワイトバランスを取りながら撮影することにより生成された前記カラーチャートの画像データに基づき、該画像データを生成した画像データ生成装置と該画像データ生成装置以外の他の装置との間のプロファイルを作成するためのコンピュータプログラムを記録した記録媒体であって、
前記複数のカラーパッチが各色を積分すると無彩色になるように配列された前記カラーチャートの撮影により該カラーチャートの画像データを生成する工程と、
該生成されたカラーチャートの画像データに基づいて前記プロファイルを作成する工程と
をコンピュータに実行させるためのプログラムをコンピュータに読み取り可能に記録した記録媒体。
An image data generation device that generates image data based on image data of the color chart generated by photographing a color chart in which color patches of a plurality of colors are arranged in a predetermined region while maintaining white balance; A recording medium recording a computer program for creating a profile with another device other than the image data generating device,
A step of generating image data of the color chart by photographing the color chart arranged so that an achromatic color is obtained when the plurality of color patches are integrated with each color;
A recording medium on which is recorded a computer-readable program for causing the computer to execute the step of creating the profile based on the generated color chart image data.
JP2001377323A 2001-12-11 2001-12-11 Color chart, image data generation device, profile creation method using color chart, and recording medium recording profile creation program Expired - Fee Related JP4178788B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001377323A JP4178788B2 (en) 2001-12-11 2001-12-11 Color chart, image data generation device, profile creation method using color chart, and recording medium recording profile creation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001377323A JP4178788B2 (en) 2001-12-11 2001-12-11 Color chart, image data generation device, profile creation method using color chart, and recording medium recording profile creation program

Publications (2)

Publication Number Publication Date
JP2003179939A JP2003179939A (en) 2003-06-27
JP4178788B2 true JP4178788B2 (en) 2008-11-12

Family

ID=19185323

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001377323A Expired - Fee Related JP4178788B2 (en) 2001-12-11 2001-12-11 Color chart, image data generation device, profile creation method using color chart, and recording medium recording profile creation program

Country Status (1)

Country Link
JP (1) JP4178788B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4290136B2 (en) 2005-03-14 2009-07-01 キヤノン株式会社 Color processing apparatus and method
RU2409008C2 (en) * 2005-06-23 2011-01-10 Конинклейке Филипс Электроникс Н.В. Combined transfer of image and appropriate data on depth
JP5210121B2 (en) * 2007-11-16 2013-06-12 キヤノン株式会社 Imaging apparatus and control method thereof
JP5517685B2 (en) * 2009-04-14 2014-06-11 キヤノン株式会社 Image processing apparatus and method
JP6617532B2 (en) * 2015-11-24 2019-12-11 大日本印刷株式会社 Discrimination tool and discrimination method
DE102017204463A1 (en) * 2017-03-17 2018-09-20 Sirona Dental Systems Gmbh Color reference for calibrating a dental color camera
JP7082379B2 (en) * 2019-03-29 2022-06-08 株式会社サンヨー・シーワィピー Adjusted image data generator, color difference adjusted image display system, color difference adjusted image data generation method, color difference adjusted image data generation program and color difference adjusted image display method
CN112102441A (en) * 2020-09-14 2020-12-18 上海米哈游天命科技有限公司 Color card manufacturing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
JP2003179939A (en) 2003-06-27

Similar Documents

Publication Publication Date Title
US6870567B2 (en) Camera having user interface with verification display and color cast indicator
US6989859B2 (en) Camera having user interface ambient sensor viewer adaptation compensation and method
US7015955B2 (en) Camera having verification display with viewer adaptation compensation for reference illuminants and method
US6947079B2 (en) Camera having verification display with reverse white balanced viewer adaptation compensation and method
US6505002B2 (en) Camera that displays predominant color multi-color scene and/or multi-color captured image of scene
US7830566B2 (en) Image processing method and device enabling faithful reproduction of appearance and further preferred color reproduction of appearance, image output device and digital camera using the same, and image processing program for executing the image processing method and recording medium on which the program is recorded
JP3520859B2 (en) Image file output image adjustment
US7375848B2 (en) Output image adjustment method, apparatus and computer program product for graphics files
US6919924B1 (en) Image processing method and image processing apparatus
US6271940B1 (en) Color negative scanning and transforming into colors of original scene
JP4151387B2 (en) Automatic image quality adjustment according to subject brightness
US20050169519A1 (en) Image processing apparatus, image pickup apparatus, image processing method, image data output method, image processing program and image data ouput program
EP2426927B1 (en) Image processing apparatus, image processing method and computer program
JP2004173010A (en) Image pickup device, image processor, image recorder, image processing method, program and recording medium
US20020118967A1 (en) Color correcting flash apparatus, camera, and method
US8502881B2 (en) Image processing apparatus, image processing method, and electronic camera
US20040202365A1 (en) Producing a balanced digital color image having minimal color errors
JP4178788B2 (en) Color chart, image data generation device, profile creation method using color chart, and recording medium recording profile creation program
US11190745B2 (en) Image processing apparatus and image processing method
JP2004088345A (en) Image forming method, image processor, print preparation device, and storage medium
JP2003149050A (en) Colorimetric apparatus, colorimetric method, colorimetry control program, and recording medium in which colorimetry control program has been stored and can be read by computer
JP3912196B2 (en) Color conversion table creation device, color conversion table creation method, recording medium recording a color conversion table creation program, and profile creation device for creating a profile based on the color conversion table created by the above device or method
JP4034027B2 (en) Model color characteristics profile creation method
JP3539883B2 (en) Image processing method and apparatus, recording medium, imaging apparatus, and image reproducing apparatus
JP2004297390A (en) Color reproduction adjustment in output image

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040614

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070724

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070918

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

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

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees