JP4276395B2 - Image processing apparatus and image processing program - Google Patents

Image processing apparatus and image processing program Download PDF

Info

Publication number
JP4276395B2
JP4276395B2 JP2001321359A JP2001321359A JP4276395B2 JP 4276395 B2 JP4276395 B2 JP 4276395B2 JP 2001321359 A JP2001321359 A JP 2001321359A JP 2001321359 A JP2001321359 A JP 2001321359A JP 4276395 B2 JP4276395 B2 JP 4276395B2
Authority
JP
Japan
Prior art keywords
image processing
color space
image data
data
image
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
JP2001321359A
Other languages
Japanese (ja)
Other versions
JP2003125227A (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 JP2001321359A priority Critical patent/JP4276395B2/en
Publication of JP2003125227A publication Critical patent/JP2003125227A/en
Application granted granted Critical
Publication of JP4276395B2 publication Critical patent/JP4276395B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、画像処理装置に入力される画像データを定義する色空間と画像処理装置の作業色空間とをマッチングさせるためのカラーマッチング技術に関する。
【0002】
【従来の技術】
画像データの入力装置と出力装置との組み合わせに応じて、画像処理装置における画像処理条件を指定する画像処理制御データを画像データと関連付けて取り扱う技術が提案されている。この技術では、入力装置と出力装置の色再現特性を考慮して画像データの画像処理条件が設定されるので、各機器間の色再現特性の相違を解消して、いずれの機器においても同一の画像を同一の色で再現することができる。
【0003】
画像データの入力装置の一態様である、ディジタルスチルカメラ(DSC)によって生成された画像データには、一般的にレタッチソフトと呼ばれる画像処理アプリケーションを用いることによって所望の画像処理(加工)を施すことができる。
【0004】
【発明が解決しようとする課題】
しかしながら、従来のレタッチソフトは、画像処理制御データを解釈することができなかったので、画像処理制御データに代えて、ユーザ自身が種々の画質パラメータを決定、入力しなければならなかった。したがって、レタッチソフトにおいても、画像処理制御データを利用することができれば有用である。
【0005】
また、レタッチソフトにおいて適切な画像処理を実行するためには、画像処理を実行するワークスペースの色空間と画像処理制御データを伴う画像データを定義する色空間とのカラーマッチングを図らなければならないが、従来のDSCの画像データには、カラーマッチングに際して一般的に用いられるICCプロファイルが備えられておらず、各画像データに適したカラーマッチングを図ることができないという問題があった。
【0006】
本発明は、上記問題を解決するためになされたものであり、各画像データに関連付けられた画像データの画像処理条件を指定する画像処理制御情報に基づいて、画像処理アプリケーションにおける画像処理に必要な色変換情報を生成することを目的とする。
【0007】
【課題を解決するための手段およびその作用・効果】
上記課題を解決するために本発明の第1の態様は、撮像装置によって指定された、各画像データの画像処理条件を指定する画像処理制御情報に基づいて色変換情報を生成するためのプログラムを提供する。本発明の第1の態様に係るプログラムは、前記画像処理制御情報を解釈して、前記画像データを定義する色空間を他の色空間へ変換するための特性情報を生成する機能と、前記生成された色空間の特性情報と前記画像データとを関連付けて出力する機能とをコンピュータによって実現させることを特徴とする。
【0008】
本発明の第1の態様に係るプログラムによれば、各画像データに関連付けられた画像データの画像処理条件を指定する画像処理制御情報に基づいて、画像処理アプリケーションにおける画像処理に必要な色変換情報を生成することができる。
【0009】
本発明の第1の態様に係るプログラムにおいて、前記特性情報を生成する際に用いられる画像処理制御情報は、色変換マトリクス値、およびガンマ補正値であっても良く、また、前記特性情報は、画像データの色空間を第1の色空間から装置独立色空間へ変換するための情報であっても良い。少なくとも色変換マトリクス値、およびガンマ補正値を得ることによって、色空間の特性情報を生成することができる。また、装置独立色空間を介することにより、正しい色変換を実行することはできる。さらに、前記第1の色空間はRGB色空間であり、前記装置独立色空間はXYZ色空間であっても良い。
【0010】
本発明の第1の態様に係るプログラムにおいて、前記特性情報は、前記画像データに添付されて出力されても良い。かかる場合には、画像データを取り扱うことによって色空間の特性情報をも同時に取り扱うことができる。
【0011】
本発明の第2の態様は、撮像装置によって指定された、各画像データの画像処理条件を指定する画像処理制御情報を解釈する画像処理制御情報解釈機能と解釈結果に基づき、各画像データに対して作業色空間において画像処理を実行する画像処理機能とをコンピュータによって実現させるプログラムを提供する。本発明の第2の態様に係るプログラムにおいて、
前記画像処理制御情報解釈機能は、
前記画像処理制御情報を解釈して、前記各画像データを定義する色空間を前記作業色空間へ変換するための色変換情報を生成する機能と、
前記生成された色変換情報と前記各画像データとを関連付けて出力する機能とを含み、
前記画像処理機能は、
前記出力された色変換情報を用いて前記各画像データの色空間を前記作業色空間へ変換する機能と、
前記作業色空間において前記出力された各画像データに対する画像処理を実行する機能とを含み、前記各機能はコンピュータによって実現されることを特徴とする。
【0012】
本発明の第2の態様に係るプログラムによれば、各画像データに関連付けられた画像データの画像処理条件を指定する画像処理制御情報に基づいて、画像処理アプリケーションにおける画像処理に必要な色変換情報を生成することができる。また、生成された色変換情報に基づいて、画像処理を実行することができる。
【0013】
本発明の第3の態様は、撮像装置によって指定された、各画像データの画像処理条件を指定する画像処理制御情報に基づき、各画像データの色変換を実行するためのプログラムを提供する。本発明の第3の態様に係るプログラムは、前記画像処理制御情報を用いて、前記画像データの色空間を少なくとも一部においてsRGB色空間よりも広い表色域を有する広域RGB色空間へ変換する機能と、前記広域RGB色空間の特性情報を取得する機能と、前記取得した広域RGB色空間の特性情報を前記変換した画像データと関連付けて出力する機能とをコンピュータによって実現させることを特徴とする。
【0014】
本発明の第3の態様に係るプログラムによれば、各画像データを表す色空間にかかわらず、常に広域RGB色空間の画像データと、広域RGB色空間の特性情報とを関連付けて出力することができる。したがって、取り扱う画像データを表す色空間にかかわらず、広域RGB色空間の特性情報のみを備えていれば、画像処理アプリケーションにおける画像処理に必要な色変換情報を提供することができる。
【0015】
本発明の第3の態様に係るプログラムにおいて、前記広域RGB色空間の特性情報は、画像データの色空間を前記広域RGB色空間から装置独立色空間へ変換するための情報であっても良く、前記装置独立色空間はXYZ色空間であっても良い。また、前記広域色空間の特性情報は、前記画像データに添付されて出力されても良い。
【0016】
本発明の第4の態様は、撮像装置によって指定された、各画像データの画像処理条件を指定する画像処理制御情報を解釈する画像処理制御情報解釈機能と解釈結果に基づき、画像データに対して作業色空間において画像処理を実行する画像処理機能とをコンピュータによって実現させるプログラムを提供する。本発明の第4の態様に係るプログラムにおいて、
前記画像処理制御情報解釈機能は、
前記画像処理制御情報を用いて、前記画像データの色空間を少なくとも一部においてsRGB色空間よりも広い表色域を有する広域RGB色空間へ変換する機能と、
前記広域RGB色空間を前記作業色空間へ変換するための色変換情報を取得する機能と、
前記取得した色変換情報を前記変換した画像データと関連付けて前記画像処理部へと出力する機能とを含み、
前記画像処理機能は、
前記色変換情報を用いて前記画像データの色空間を前記作業色空間へ変換する機能と、
前記作業色空間において前記画像データに対する画像処理を実行する機能とを含み、
前記各機能は、コンピュータによって実現されることを特徴とする。
【0017】
本発明の第4の態様に係るプログラムによれば、取り扱う画像データを表す色空間にかかわらず、広域RGB色空間の特性情報のみを備えることによって、画像処理アプリケーションにおける画像処理に必要な色変換情報を提供することができる。また、生成された色変換情報に基づいて、画像処理を実行することができる。
【0018】
本発明の第5の態様は、撮像装置によって指定された、各画像データの画像処理条件を指定する画像処理制御情報に基づき、各画像データを定義する色空間の特性情報を生成する画像処理装置を提供する。本発明の第5の態様に係る画像処理装置は、前記画像処理制御情報を解釈して、前記画像データを定義する色空間の特性情報を生成する特性情報生成手段と、前記生成された色空間の特性情報と前記画像データとを関連付けて出力する出力手段とを備えることを特徴とする。
【0019】
本発明の第5の態様に係る画像処理装置によれば、本発明の第1の態様に係るプログラムと同様の作用効果を得ることができる。また、本発明の第5の態様に係る画像処理装置は、本発明の第1の態様に係るプログラムと同様にして種々の態様にて実現することができる。
【0020】
本発明の第6の態様は、撮像装置によって指定された、各画像データの画像処理条件を指定する画像処理制御情報に基づき、各画像データの色変換を実行するための画像処理装置を提供する。本発明の第6の態様に係る画像処理装置は、前記画像処理制御情報を用いて、前記画像データの色空間を少なくとも一部においてsRGB色空間よりも広い表色域を有する広域RGB色空間へ変換する変換手段と、前記広域RGB色空間の特性情報を取得する取得手段と、前記取得した広域RGB色空間の特性情報を前記変換した画像データと関連付けて出力する手段とを備えることを特徴とする。
【0021】
本発明の第6の態様に係る画像処理装置によれば、本発明の第3の態様に係るプログラムと同様の作用効果を得ることができる。また、本発明の第6の態様に係る画像処理装置は、本発明の第3の態様に係るプログラムと同様にして種々の態様にて実現することができる。
【0022】
本発明の第7の態様は、撮像装置によって指定された、各画像データの画像処理条件を指定する画像処理制御情報を解釈する画像処理制御情報解釈機構と、その解釈結果に基づき、各画像データに対して作業色空間において画像処理を実行する画像処理機構とを備える画像処理装置を提供する。本発明の第7の態様に係る画像処理装置において、
前記画像処理制御情報解釈機構は、
前記画像処理制御情報を解釈して、前記各画像データを定義する色空間を前記作業色空間へ変換するための色変換情報を生成する色変換情報生成部と、
前記生成された色変換情報と前記各画像データとを関連付けて前記画像処理機構へと出力する出力部とを含み、
前記画像処理機構は、
前記出力された色変換情報を用いて前記各画像データの色空間を前記作業色空間へ変換する色変換部と、
前記作業色空間において前記各画像データに対する画像処理を実行する画像処理部とを含むことを特徴とする。
【0023】
本発明の第7の態様に係る画像処理装置によれば、各画像データに関連付けられた画像データの画像処理条件を指定する画像処理制御情報に基づいて、画像処理アプリケーションにおける画像処理に必要な色変換情報を生成することができる。また、生成された色変換情報に基づいて、画像処理を実行することができる。
【0024】
本発明の第8の態様は、撮像装置によって指定された、各画像データの画像処理条件を指定する画像処理制御情報を解釈して、各画像データに対して作業色空間において画像処理を実行する方法を提供する。本発明の第8の態様に係る方法は、前記画像処理制御情報を解釈して、前記各画像データを定義する色空間を前記作業色空間へ変換するための色変換情報を生成し、前記生成された色変換情報と前記各画像データとを関連付け、前記関連付けられた色変換情報を用いて前記各画像データの色空間を前記作業色空間へ変換し、前記作業色空間において前記各画像データに対する画像処理を実行することを特徴とする。
【0025】
本発明の第8の態様に係る方法によれば、各画像データに関連付けられた画像データの画像処理条件を指定する画像処理制御情報に基づいて、画像処理アプリケーションにおける画像処理に必要な色変換情報を生成することができる。また、生成された色変換情報に基づいて、画像処理を実行することができる。
【0026】
本発明の第9の態様は、撮像装置によって指定された、各画像データの画像処理条件を指定する画像処理制御情報に基づき、各画像データの色変換を実行するための方法を提供する。本発明の第9に態様に係る方法は、前記画像処理制御情報を用いて、前記画像データの色空間を少なくとも一部においてsRGB色空間よりも広い表色域を有する広域RGB色空間へ変換し、前記広域RGB色空間の特性情報を取得し、前記取得した広域RGB色空間の特性情報を前記変換した画像データと関連付けて出力することを特徴とする。
【0027】
本発明の第9の態様に係る方法によれば、各画像データを表す色空間にかかわらず、常に広域RGB色空間の画像データと、広域RGB色空間の特性情報とを関連付けて出力することができる。したがって、取り扱う画像データを表す色空間にかかわらず、広域RGB色空間の特性情報のみを備えていれば、画像処理アプリケーションにおける画像処理に必要な色変換情報を提供することができる。
【0028】
【発明の実施の形態】
以下、本発明に係る色空間特性情報生成プログラムについて以下の順序にて図面を参照しつつ、実施例に基づいて説明する。
A.第1の実施例に従う色空間特性情報生成モジュールの構成:
B.第1の実施例に従う色空間特性情報生成モジュールの作用:
C.第2の実施例に従う色空間特性情報生成モジュールの構成:
D.第2の実施例に従う色空間特性情報生成モジュールの作用:
E.色空間特性情報生成プログラムを適用可能な画像処理システムの構成
F.その他の実施例:
【0029】
A.第1の実施例に従う色空間特性情報生成モジュールの構成:
第1の実施例に従う色空間特性情報生成モジュールの構成について図1を参照して説明する。図1は第1の実施例に係る色空間特性情報生成モジュールの構成を概念的に示す説明図である。なお、以下の各実施例において用いられる各画像データGDは、ディジタルスチルカメラ(DSC)等の撮像装置によって生成され、各画像データGD毎に画像処理を実行する際の画像処理条件を指定する画像処理制御データCDと共に同一の画像ファイルGFに格納されている。
【0030】
画像処理制御データCDについて図4を参照して説明する。図4は画像処理制御データCDとして用いら得るパラメータ例を示す説明図である。なお、本実施例中におけるファイルの構造、データの構造、格納領域といった用語は、ファイルまたはデータ等が記憶装置内に格納された状態におけるファイルまたはデータのイメージを意味するものである。
【0031】
画像処理制御データCDは、カラープリンタ等の出力装置が有する色再現特性、画像出力特性を考慮して、最適な画像出力結果を得ることができるように画像処理条件を指定する情報である。画像処理制御データCDとして格納される情報には、例えば、図9に示すように、tRGB色空間からXYZ色空間へ変換するためのマトリクスMのマトリクス値、DSCのガンマ補正値であるマトリクスM用ガンマ補正値、XYZ色空間からcRGB色空間へ変換するためのマトリクスNのマトリクス値、cRGB色空間のガンマ補正値であるマトリクスN用ガンマ補正値、を始め、コントラスト、明度、シャドーポイントといった画質に関するパラメータが含まれている。
【0032】
第1の実施例に係る色空間特性情報生成モジュール20は、例えば、パーソナルコンピュータ10上にて、画像処理アプリケーションと連動して、または、画像処理アプリケーションに組み込まれてその機能を実行する。以下の説明では、画像処理アプリケーションに組み込まれた場合を例にとって説明する。色空間特性情報生成モジュール20は、各画像データGDに関連付けらている画像処理制御データを用いて、各画像データGDについて、DSCのRGB画像データGDdの色空間を絶対色空間に変換するために必要な情報、ICCプロファイルICdを生成するためのモジュールである。なお、ICCプロファイルは、International Color Consortium(ICC)にて規定された色変換のための情報が記述されたデータであり、各データはタグ形式にて格納され、そのヘッダ部にタグデータへのポインタが記述されている。このICCプロファイルのデータ構造(フォーマット)は当業者にとって周知であるからこれ以上の説明は省略する。
【0033】
色空間特性情報生成モジュール20は、入力された画像データGDdに画像処理条件を指定する画像処理制御データCDが含まれているか否かを判定する画像処理制御データ判定機能部21、画像処理制御データCDを用いてICCプロファイルICdを生成するICCプロファイル作成機能部22、画像データGDをYCbCrデータからDSCのdRGBデータに変換する画像データ変換機能部23を備えている。
【0034】
画像処理アプリケーションには、元々、画像データに対して画像処理を実行する画像処理モジュール30が含まれている。画像処理モジュール30には、画像処理を実行する機能部であるワークスペース31と、画像データ(入力装置)の色空間とワークスペース31の色空間とのカラーマッチングを実行する入力用プロファイル結合機能部32と、ワークスペース31の色空間と出力装置の色空間とのカラーマッチングを実行する出力用プロファイル結合機能部33とが備えられている。
【0035】
本実施例では、画像ファイルGFがパーソナルコンピュータ10に入力されると、先ず、色空間特性情報生成モジュール20に渡される。色空間特性情報生成モジュール20は、生成したICCプロファイルICdとRGB色空間データに変換したdRGB画像データとを画像処理モジュール30に送出する。画像処理モジュール30は、受け取ったICCプロファイルICdを利用してdRGBデータを作業色空間を定義する色空間にて表されるwRGBデータに変換し、画像処理を実行し、画像処理を施したwR'G'B'データを出力装置のドライバが取り扱い可能なpRGBデータに変換してドライバに送出する。
【0036】
B.第1の実施例に従う色空間特性情報生成モジュールの作用:
図2および図3を参照して、第1の実施例に従う色空間変換特性情報生成モジュール20、画像処理モジュール30の作用について説明する。図2は色空間変換特性情報生成モジュール20によって実行される処理ルーチンを示すフローチャートである。図3は画像処理モジュール30によって実行される処理ルーチンを示すフローチャートである。
【0037】
色空間変換特性情報生成モジュール20に画像ファイルGFが入力されると、画像処理制御データ判定機能部21は、画像処理制御データCDを検索する(ステップS100)。画像処理制御データ判定機能部21は、画像処理制御データCDを発見できた場合には(ステップS110:Yes)、画像処理制御データCDをICCプロファイル作成機能部22に送出し、画像データGDを画像データ変換機能部23に送出する。
【0038】
画像データGDを受け取った画像データ変換機能部23は、JPEGデータ(YCbCrデータ)を入力装置に依存するdRGBデータに変換する(ステップS120)。この変換に際して、画像データ変換機能部23は、JPEG FIle Interchange Format(JFIF)の規格によって定義されている、マトリクスSを用いてマトリクス演算を実行する。
【0039】
一方、画像処理制御データCDを受け取ったICCプロファイル作成機能部22は、画像処理制御データCDによって指定された、入力装置に依存するdRGBデータをXYZデータに変換するための色空間変換用マトリクス値および入力装置に依存するdRGB色空間におけるガンマ補正値を用いて、入力装置に依存するdRGBデータをXYZデータへ変換するための情報を記述するICCプロファイルICdを生成する(ステップS130)。
【0040】
ICCプロファイルは、R成分をXYZ座標に変換するためのパラメータ値(rXYZ)、G成分をXYZ座標に変換するためのパラメータ値(gXYZ)、B成分をXYZ座標に変換するためのパラメータ値(bXYZ)、R,G,B各成分についてのガンマ補正値(rTRC、gTRC、bTRC)を記述するよう定義されている。したがって、画像処理制御データCDにて指定されているマトリクスM、
【0041】
【数1】

Figure 0004276395
【0042】
マトリクス値(a,b,c,d,e,f,g,h,i)をrXYZ,gXYZ,bXYZにあてはめ、また、DSCのガンマ補正値をR,G,B各成分についてのガンマ補正値(rTRC、gTRC、bTRC)に当てはめてやることにより画像処理制御データCDからICCプロファイルICdを得ることができる。図5に示す画像処理制御データCDに基づいて生成されたICCプロファイルICdは、例えば、図6に示すようなパラメータを有している。図5は画像処理制御データCDに格納されているマトリクスMの各マトリクス値およびガンマ補正値の一例を示す説明図である。図6は本実施例に従い生成されたICCプロファイルICdの構造の一例を示す説明図である。
【0043】
ICCプロファイルICdの各パラメータ値(タグデータ)は、既述の通り、図示しないヘッダ部に記述されたポインタによって指定され、読み出される。
【0044】
なお、これらのパラメータの他に、画像処理制御データCDに記述されているコントラストの値、明度の値等を用いてICCプロファイルICdを生成しても良い。かかる場合には、よりdRGBデータに適したICCプロファイルICdを生成することができる。さらに、ICCプロファイルには、色変換テーブルが記述されていることが多いので、画像処理制御データCDに基づいて、色変換テーブルを作成し、これをICCプロファイルに記述しても良い。
【0045】
色空間変換特性情報生成モジュール20は、入力装置に依存するdRGBデータと生成したICCプロファイルICdとを関連付けて画像処理モジュール30に送出して(ステップS140)、色空間変換処理を終了する。
【0046】
一方、画像処理制御データ判定機能部21は、画像処理制御データCDを発見できなかった場合には(ステップS110:No)、既定のICCプロファイルをdRGBデータに付して画像処理モジュール30に送出して、色空間変換処理を終了する。
【0047】
dRGBデータとICCプロファイルICdとを受け取った画像処理モジュール30は、入力用プロファイル結合機能部32によって、ICCプロファイルICdとワークスペース用のICCプロファイルICwとを用いて、dRGBデータをワークスペースの色空間にて表されるwRGBデータに変換する(ステップS200)。このICCプロファイルICd、ICwを用いた色空間変換は、ICM、Colorsyncといったオペレーティングシステムプログラムの機能の一部によって実行される。
【0048】
画像処理機能部31は、wRGBデータに対して画像処理を実行し(ステップS210)、画像処理を施したwR'G'B'データを出力用プロファイル結合機能部33に送出する。wR'G'B'データを受け取った出力用プロファイル結合機能部33は、ワークスペース用ICCプロファイルICwと出力装置のICCプロファイルICpとを用いて、ワークスペースのwR'G'B'データを出力装置の(ドライバが用いるpRGB色空間に適応した)pRGBデータに変換する(ステップS220)。
【0049】
画像処理モジュール30は、pRGBデータをプリンタドライバに送出し(ステップS230)、本処理ルーチンを終了する。なお、上記した各機能部は、パーソナルコンピュータ(CPU)10が色変換特性情報生成プログラム、画像処理プログラムを実行することにより提供される機能であり、各機能部によって実行される処理は、パーソナルコンピュータ10によって実行される処理である。
【0050】
以上説明したように、第1の実施例に従う色空間変換特性情報生成モジュール20によれば、各画像データに関連付けられている画像処理制御データCDを用いて、入力装置の色空間にて表されているdRGBデータを、画像処理機能部31にて用いられる作業色空間の色空間にて表されるwRGBデータへ変換するために必要なICCプロファイルICdを生成することができる。したがって、従来の機器単位にて提供されていたICCプロファイルとは異なり、各画像データの特性に基づいた適切で様々なICCプロファイルを各画像データ毎に作成することができる。
【0051】
通常のICCプロファイルは、例えば、RGBデータをXYZデータに変換するためのルックアップテーブルが複数個含まれている構成を備えており、データ容量が大きいことが知られている。これに対して、第1の実施例では、記憶容量に制限のある入力装置からパーソナルコンピュータ10等の画像処理装置までは、データ容量の小さな画像処理制御データCDの形で画像データと関連付け、画像処理装置において画像処理制御データCDに基づきICCプロファイルICdを生成することができる。したがって、入力装置において必要な画像データを記憶するための記憶容量を抑制することが可能となり、例えば、記憶容量が制限されるディジタルスチルカメラ等においても、実質的にICCプロファイルを付した画像データを扱うことができる。この結果、ディジタルスチルカメラ等の画像データについても、カラーマッチング処理を利用した画像処理を実行することが可能となり、より精度の高い画像処理を実行することができる。
【0052】
C.第2の実施例に従う色空間特性情報生成モジュールの構成:
第2の実施例に従う色空間特性情報生成モジュールの構成について図7を参照して説明する。図7は第2の実施例に係る色空間特性情報生成モジュールの構成を概念的に示す説明図である。なお、以下の各実施例において用いられる各画像データGDは、第1の実施例にて用いた画像データGDと同様の特性を持つ画像データである。なお、第2の実施例に従う画像処理モジュールの構成は、第1の実施例に従う画像処理モジュール30と同様なので、同一の符号を付してその説明を省略する。
【0053】
第2の実施例に係る色空間特性情報生成モジュール40は、例えば、パーソナルコンピュータ10上にて、画像処理アプリケーションと連動して、または、画像処理アプリケーションに組み込まれてその機能を実行する。以下の説明では、画像処理アプリケーションに組み込まれた場合を例にとって説明する。色空間特性情報生成モジュール40は、各画像データGDについて、各画像データGDに関連付けらている画像処理制御データを用いて、DSCのRGB画像データGDdを共通のRGB色空間であるcRGB色空間に変換するモジュールである。さらに、色空間変換特性情報生成モジュール40は、cRGB色空間を絶対色空間に変換するために必要な情報、ICCプロファイルICcをcRGBデータと共に画像処理モジュール30に送出するモジュールである。
【0054】
ここで、cRGB色空間は、sRGB色空間よりも少なくとも一部の領域において広い表色域を有する色空間であり、色空間変換特性情報生成モジュール40から画像処理モジュール30に対して送出される画像データは全てcRGBデータである。
【0055】
第2の実施例に係る色空間特性情報生成モジュール40は、入力された画像データGDdに画像処理条件を指定する画像処理制御データCDが含まれているか否かを判定する画像処理制御データ判定機能部41、cRGB色空間をXYZ色空間へ変換するための情報を記述するICCプロファイルICcを画像データに付与するICCプロファイル付与機能部44、画像データGDをYCbCrデータから共通のcRGB色空間にて表されるcRGBデータに変換する画像データ変換機能部43を備えている。
【0056】
本実施例では、画像ファイルGFがパーソナルコンピュータ10に入力されると、先ず、色空間特性情報生成モジュール40に渡される。色空間特性情報生成モジュール40は、cRGB色空間データに変換したcRGBデータにcRGB色空間の特性を記述したICCプロファイルICcを付与して、画像処理モジュール30に送出する。画像処理モジュール30は、受け取ったICCプロファイルICcを利用して画像データGDcを作業色空間のwRGBデータに変換し、画像処理を実行し、画像処理を施したwR'G'B'データを出力装置のドライバが取り扱い可能なpRGBデータに変換してドライバに送出する。
【0057】
B.第2の実施例に従う色空間特性情報生成モジュールの作用:
図8および図9を参照して、第2の実施例に従う色空間変換特性情報生成モジュール40、画像処理モジュール30の作用について説明する。図8は色空間変換特性情報生成モジュール40によって実行される処理ルーチンを示すフローチャートである。図9は画像処理モジュール30によって実行される処理ルーチンを示すフローチャートである。
【0058】
色空間変換特性情報生成モジュール40に画像ファイルGFが入力されると、画像処理制御データ判定機能部41は、画像処理制御データCDを検索する(ステップS300)。画像処理制御データ判定機能部41は、画像処理制御データCDを発見できた場合には(ステップS310:Yes)、画像データGDを画像データ変換機能部43に送出する。
【0059】
画像データGDを受け取った画像データ変換機能部43は、JPEGデータ(YCbCrデータ)を共通RGB色空間で表されるcRGBデータに変換する(ステップS320)。この変換に際して、画像データ変換機能部43は、先ず、JPEG FIle Interchange Format(JFIF)の規格によって定義されている、マトリクスSを用いたマトリクス演算によってYCbCrデータを所定の色空間dRGB色空間(例えば、ディジタルスチルカメラが用いた色空間)にて表されるdRGBデータに変換する。続いて、画像処理制御データCDに含まれるtRGB−XYZ変換マトリクスM、dRGB色空間のガンマ補正値、XYZ−cRGBマトリクスN、cRGB色空間のガンマ補正値を用いて、dRGBデータをcRGBデータに変換する。なお、マトリクスSを用いたマトリクス演算によって得られるRGB色空間は、通常、sRGB色空間である。また、tRGB色空間は、以下の処理において用いるRGB色空間を定義するために画像処理制御データCDによって指定される色空間であり、sRGB色空間の表色域を少なくとも一部に内包する表色域を備えるRGB色空間が指定されることが好ましい。
【0060】
ICCプロファイル付与機能部44は、共通RGBデータGDcをXYZデータに変換するための色空間変換用マトリクス値および共通RGB色空間におけるガンマ補正値を含むICCプロファイルICcを、cRGBデータに付与する(ステップS330)。
【0061】
一方、画像処理制御データ判定機能部41は、画像処理制御データCDを発見できなかった場合には(ステップS310:No)、tRGB色空間としてsRGB色空間を用いてcRGBデータを得る(ステップS350)。
【0062】
色空間変換特性情報生成モジュール40は、cRGBデータと付与されたICCプロファイルICcとを関連付けて画像処理モジュール30に送出して(ステップS340)、色空間変換処理を終了する。
【0063】
cRGBデータとICCプロファイルICcとを受け取った画像処理モジュール30は、入力用プロファイル結合機能部32によって、ICCプロファイルICcとワークスペース用のICCプロファイルICwとを用いて、共通RGB色空間のcRGBデータをワークスペースのwRGBデータに変換する(ステップS400)。このICCプロファイルICc、ICwを用いた色空間変換は、ICM、Colorsyncといったオペレーティングシステムプログラムの機能の一部によって実行される。
【0064】
画像処理機能部31は、wRGBデータに対して画像処理を実行し(ステップS410)、画像処理を施したwR'G'B'データを出力用プロファイル結合機能部33に送出する。wR'G'B'データを受け取った出力用プロファイル結合機能部33は、ワークスペース用ICCプロファイルICwと出力装置のICCプロファイルICpとを用いて、画像処理を施したwR'G'B'データを出力装置の(ドライバが用いる)pRGBデータに変換する(ステップS420)。
【0065】
画像処理モジュール30は、pRGBデータをプリンタドライバに送出し(ステップS430)、本処理ルーチンを終了する。なお、上記した各機能部は、パーソナルコンピュータ(CPU)10が色変換特性情報生成プログラム、画像処理プログラムを実行することにより提供される機能であり、各機能部によって実行される処理は、パーソナルコンピュータ10によって実行される処理である。
【0066】
以上説明したように、第2の実施例に係る色空間変換特性情報生成モジュール40によれば、入力された画像データを表す色空間にかかわらず、共通のRGB色空間にて表されるcRGBデータを出力することができる。したがって、色空間変換特性情報生成モジュール40から出力される画像データGD(cRGBデータ)に添付するICCプロファイルとして、共通のRGB色空間(cRGB)をXYZ色空間へ変換するためのICCプロファイルICcを1つ備えていればよい。
【0067】
また、共通のRGB色空間として、一般的に用いられているsRGB色空間よりも、少なくともその一部において、好ましくは、sRGB色空間を包含する広い領域を備える広域RGB色空間を用いることにより、入力されたRGBデータの値を失うことなく、画像処理モジュール30に対してcRGBデータを出力することができる。
【0068】
E.本発明に係る色空間特性情報生成プログラムを適用可能な画像処理システムの構成:
本発明に係る色空間特性情報生成プログラムを適用可能な画像処理システムの構成について図10を参照して説明する。図10は本発明に係る色空間特性情報生成プログラムを適用可能な画像処理システムの一例を示す説明図である。
【0069】
画像処理システムは、画像処理条件を付加すべき画像データを生成する入力装置としてのディジタルスチルカメラ120、ディジタルスチルカメラ120にて生成された画像データを用いて後述する画像処理を実行する画像処理装置としてのパーソナルコンピュータ10、パーソナルコンピュータ10において設定された画像出力装置としてのカラープリンタ300を備えている。本実施例に係る画像処理装置において画像処理が施される画像データ(画像ファイル)は、ディジタルスチルカメラ120から接続ケーブルCVまたはメモリカードMCを介して、パーソナルコンピュータ10に入力された画像データである。
【0070】
画像処理装置としては、パーソナルコンピュータ10の他に、例えば、画像処理機能を備えるスタンドアローン型のプリンタも用いられ得る。また、出力装置としては、プリンタ300の他に、CRTディスプレイ、LCDディスプレイ等の表示装置、プロジェクタ等が用いられ得る。以下の説明では、パーソナルコンピュータ10と接続されて用いられるカラープリンタ300を出力装置として用いるものとする。
【0071】
パーソナルコンピュータ10は、一般的に用いられているタイプのコンピュータであり、本発明に係る画像処理プログラムを実行するCPU100、CPU100における演算結果、画像データ等を一時的に格納するRAM101、画像処理プログラムを格納するハードディスクドライブ(HDD)102、CPU100における演算結果、画像データ等を表示するための表示装置103、コマンド、数値等を入力するためのキーボード、マウスといた入力装置104を備えている。パーソナルコンピュータ10は、メモリカードMCを装着するためのカードスロット105、ディジタルスチルカメラ120等からの接続ケーブルCVを接続するための入出力端子106を備えている。
【0072】
ディジタルスチルカメラ120において生成された画像データGDは、通常、ディジタルスチルカメラ用の画像ファイルフォーマット規格(Exif)に従ったデータ構造を有している。Exifファイルの仕様は、電子情報技術産業協会(JEITA)によって定められている。
【0073】
このExifファイル形式に従うファイル形式を有する場合の画像ファイル内部の概略構造について図11を参照して説明する。図11はExifファイル形式にて格納されている画像ファイルGFの概略的な内部構造を示す説明図である。なお、本実施例中におけるファイルの構造、データの構造、格納領域といった用語は、ファイルまたはデータ等が記憶装置内に格納された状態におけるファイルまたはデータのイメージを意味するものである。
【0074】
Exifファイルとしての画像ファイルGFは、JPEG形式の画像データを格納するJPEG画像データ格納領域111と、格納されているJPEG画像データに関する各種付属情報を格納する付属情報格納領域112とを備えている。付属情報格納領域112には、撮影時色空間、撮影日時、露出、シャッター速度等といったJPEG画像の撮影条件に関する撮影時情報、JPEG画像データ格納領域111に格納されているJPEG画像のサムネイル画像データがTIFF形式にて格納されている。付属情報は画像データがメモリカードMCに書き込まれる際に自動的に付属情報格納領域112に格納される。本実施例では、付属情報格納領域112には、図9に示すようにパーソナルコンピュータ10における画像処理を制御するための画像処理制御データCDを格納するための画像処理制御情報格納領域113が備えられている。
【0075】
F.その他の実施例:
第1の実施例では、画像処理データCDは、ICCプロファイル作成機能部23にて、dRGBデータを画像処理機能部31において用いられるワークスペース色空間のwRGBデータに変換するためにのみ用いられたが、画像処理機能部31における画像処理条件を指定する画像処理制御コマンドを生成するために用いても良い。図12を用いて説明する。図12は第1実施例の他の態様における色空間特性情報生成モジュールの構成を概念的に示す説明図である。
【0076】
第1実施例の他の態様に係る色空間変換特性情報生成モジュール20は、画像処理制御データCDを利用して画像処理制御コマンドを生成する画像処理制御コマンド生成機能部25を備えている。画像処理制御データ判定機能部21は、画像データに画像処理制御データCDが含まれいていると判定した場合には、画像処理制御データCDを、ICCプロファイル作成機能部23に加えて、画像処理制御コマンド生成機能部25にも送出する。画像処理制御コマンド生成機能部25は、画像処理制御データCDに含まれる、入力装置と出力装置の色再現特性を考慮して設定された、マトリクスM、Nのマトリクス値、ガンマ補正値、コントラスト、明度、ハイライトポイント、シャドーポイント等のパラメータの最適値を解釈して、画像処理モジュール30が解釈可能な画像処理制御コマンドを生成する。
【0077】
画像処理制御コマンドは、画像処理モジュール30の画像処理機能部31に送られる。画像処理機能部31は、ワークスペースの色空間に変換されたwRGBデータに対して、画像処理制御コマンドに従う画像処理を実行する。このように、画像処理制御データCDに記述されている各パラメータ値を画像処理モジュール30が利用可能な画像処理制御コマンドへと翻訳してやることにより、画像処理制御データCDを解釈することができない画像処理モジュール30によっても、入力装置と出力装置の色再現特性を考慮した画像処理を実行することができる。
【0078】
なお、他の各機能部の作用については、第1の実施例において説明済みであるから、同一の符号を付してその説明を省略する。
【0079】
以上、実施例に基づき本発明に係る画像処理プログラムおよび画像処理装置を説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれることはもちろんである。
【0080】
上記実施例では、画像処理制御データCDとしてガンマ補正値、および色空間マトリクス、シャドゥポイント、コントラストといったパラメータを用いているが、これら設定パラメータにどのようなパラメータを用いるかは任意の決定事項である。
【0081】
上記実施例では、撮像装置としてディジタルスチルカメラ120を用いて説明したが、この他にもスキャナ、ディジタルビデオカメラ等が用いられ得る。また、出力装置としては、プリンタの他、液晶ディスプレイ、CRTディスプレイ、プロジェクタ等が用いられ得る。
【0082】
上記実施例では、画像ファイルGFの具体例としてExif形式のファイルを例にとって説明したが、本発明に係る画像ファイル生成装置において用いられ得る画像ファイルの形式はこれに限られない。すなわち、出力装置によって出力されるべき画像データと、画像処理装置における画像データの画像処理条件を指定する画像処理制御データCDとを含むことができるファイルであれば良い。このようなファイルであれば、画像ファイル生成装置において画像データと画像処理制御データCDとを含む画像ファイルを生成することができるからである。
【0083】
なお、画像データと画像処理制御データCDとが含まれる画像ファイルGFには、画像データGDと画像処理制御データCDとを関連付ける関連付けデータを生成し、画像データと画像処理制御データCDとをそれぞれ独立したファイルに格納し、画像処理の際に関連付けデータを参照して画像データと画像処理制御情報CIとを関連付け可能なファイルも含まれる。かかる場合には、画像データと画像処理制御データCDとが別ファイルに格納されているものの、画像処理制御データCDを利用する画像処理の時点では、画像データおよび画像処理制御データCDとが一体不可分の関係にあり、実質的に同一のファイルに格納されている場合と同様に機能するからである。すなわち、少なくとも画像処理の時点において、画像データと画像処理制御データCDとが関連付けられて用いられる態様は、本実施例における画像ファイルGFに含まれる。さらに、CD−ROM、CD−R、DVD−ROM、DVD−RAM等の光ディスクメディアに格納されている動画像ファイルも含まれる。
【0084】
上記実施例では、撮像装置としてディジタルスチルカメラ120を用いて説明したが、この他にもスキャナ、ディジタルビデオカメラ等が用いられ得る。すなわち、本実施例に係る上記画像ファイルGFは、ディジタルスチルカメラ(DSC)の他に、ディジタルビデオカメラ(DVC)、スキャナ等の入力装置(画像ファイル生成装置)によって生成され得る。ディジタルビデオカメラにて生成される場合には、例えば、静止画像データと出力制御情報とを格納する画像ファイル、あるいは、MPEG形式等の動画像データと出力制御情報とを含む動画像ファイルが生成される。この動画像ファイルが用いられる場合には、動画の全部または一部のフレームに対して出力制御情報に応じた出力制御が実行される。
【図面の簡単な説明】
【図1】第1の実施例に係る色空間特性情報生成モジュールの構成を概念的に示す説明図である。
【図2】第1の実施例に従う色空間変換特性情報生成モジュール20によって実行される処理ルーチンを示すフローチャートである。
【図3】第1の実施例に従う画像処理モジュール30によって実行される処理ルーチンを示すフローチャートである。
【図4】付属情報格納領域に格納される画像処理制御データCDのパラメータ例を示す説明図である。
【図5】画像処理制御データCDに格納されているマトリクスMの各マトリクス値およびガンマ補正値の一例を示す説明図である。
【図6】本実施例に従い生成されたICCプロファイルICdの構造の一例を示す説明図である。
【図7】第2の実施例に係る色空間特性情報生成モジュールの構成を概念的に示す説明図である。
【図8】第2の実施例に従う色空間変換特性情報生成モジュール40によって実行される処理ルーチンを示すフローチャートである。
【図9】第2の実施例に従う画像処理モジュール30によって実行される処理ルーチンを示すフローチャートである。
【図10】本発明に係る色空間特性情報生成プログラムを適用可能な画像処理システムの一例を示す説明図である。
【図11】 Exifファイル形式にて格納されている画像ファイルGFの概略的な内部構造を示す説明図である。
【図12】第1実施例の他の態様における色空間特性情報生成モジュールの構成を概念的に示す説明図である。
【符号の説明】
10…パーソナルコンピュータ
100…CPU
101…RAM
102…HDD
103…表示装置
104…入力装置
105…スロット
106…入出力端子
GF…画像ファイル(Exifファイル)
111…JPEG画像データ格納領域
112…付属情報格納領域
113…画像処理制御データCD格納領域
120…ディジタルスチルカメラ
300…プリンタ
CV…接続ケーブル
MC…メモリカード[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a color matching technique for matching a color space defining image data input to an image processing apparatus with a working color space of the image processing apparatus.
[0002]
[Prior art]
There has been proposed a technique for handling image processing control data specifying image processing conditions in an image processing apparatus in association with image data in accordance with a combination of an image data input device and an output device. In this technique, the image processing conditions of the image data are set in consideration of the color reproduction characteristics of the input device and the output device, so that the difference in the color reproduction characteristics between the devices is eliminated, and the same in any device Images can be reproduced with the same color.
[0003]
Image data generated by a digital still camera (DSC), which is an aspect of an image data input device, is subjected to desired image processing (processing) by using an image processing application generally called retouching software. Can do.
[0004]
[Problems to be solved by the invention]
However, since the conventional retouching software could not interpret the image processing control data, the user himself had to determine and input various image quality parameters instead of the image processing control data. Therefore, it is useful for the retouch software if the image processing control data can be used.
[0005]
In addition, in order to execute appropriate image processing in the retouching software, it is necessary to perform color matching between the color space of the workspace in which image processing is executed and the color space in which image data with image processing control data is defined. However, the conventional DSC image data does not have an ICC profile generally used for color matching, and there is a problem that color matching suitable for each image data cannot be achieved.
[0006]
The present invention has been made to solve the above-described problems, and is necessary for image processing in an image processing application based on image processing control information that specifies image processing conditions of image data associated with each image data. An object is to generate color conversion information.
[0007]
[Means for solving the problems and their functions and effects]
In order to solve the above problems, a first aspect of the present invention provides a program for generating color conversion information based on image processing control information that specifies an image processing condition of each image data specified by an imaging device. provide. The program according to the first aspect of the present invention includes a function of interpreting the image processing control information and generating characteristic information for converting a color space defining the image data into another color space, and the generation A function of associating and outputting the color space characteristic information and the image data is realized by a computer.
[0008]
According to the program according to the first aspect of the present invention, the color conversion information necessary for image processing in the image processing application based on the image processing control information specifying the image processing condition of the image data associated with each image data. Can be generated.
[0009]
In the program according to the first aspect of the present invention, the image processing control information used when generating the characteristic information may be a color conversion matrix value and a gamma correction value, and the characteristic information is It may be information for converting the color space of the image data from the first color space to the device independent color space. By obtaining at least a color conversion matrix value and a gamma correction value, it is possible to generate color space characteristic information. Also, correct color conversion can be performed through the device independent color space. Furthermore, the first color space may be an RGB color space, and the device independent color space may be an XYZ color space.
[0010]
In the program according to the first aspect of the present invention, the characteristic information may be output attached to the image data. In such a case, the color space characteristic information can be handled at the same time by handling the image data.
[0011]
The second aspect of the present invention is based on an image processing control information interpretation function that interprets image processing control information that specifies an image processing condition of each image data specified by the imaging device and an interpretation result. And a computer program for realizing an image processing function for executing image processing in a work color space. In the program according to the second aspect of the present invention,
The image processing control information interpretation function is
A function of interpreting the image processing control information and generating color conversion information for converting a color space defining each image data into the working color space;
A function of associating and outputting the generated color conversion information and the image data,
The image processing function is
A function of converting the color space of each image data into the working color space using the output color conversion information;
And a function of executing image processing on each of the output image data in the work color space, wherein each of the functions is realized by a computer.
[0012]
According to the program of the second aspect of the present invention, the color conversion information necessary for image processing in the image processing application based on the image processing control information that specifies the image processing conditions of the image data associated with each image data. Can be generated. Further, image processing can be executed based on the generated color conversion information.
[0013]
According to a third aspect of the present invention, there is provided a program for executing color conversion of each image data based on image processing control information designated by an imaging device and designating image processing conditions for each image data. The program according to the third aspect of the present invention uses the image processing control information to convert the color space of the image data into a wide-range RGB color space having a color gamut wider than the sRGB color space at least in part. A function, a function of acquiring characteristic information of the wide RGB color space, and a function of outputting the acquired characteristic information of the wide RGB color space in association with the converted image data are realized by a computer. .
[0014]
According to the program according to the third aspect of the present invention, the image data in the wide RGB color space and the characteristic information of the wide RGB color space can always be output in association with each other regardless of the color space representing each image data. it can. Therefore, color conversion information necessary for image processing in an image processing application can be provided if only the characteristic information of the wide RGB color space is provided regardless of the color space representing the image data to be handled.
[0015]
In the program according to the third aspect of the present invention, the characteristic information of the wide area RGB color space may be information for converting the color space of the image data from the wide area RGB color space to a device independent color space, The device independent color space may be an XYZ color space. Further, the characteristic information of the wide color space may be output attached to the image data.
[0016]
A fourth aspect of the present invention is based on an image processing control information interpretation function that interprets image processing control information that designates an image processing condition of each image data specified by an imaging device and an interpretation result. Provided is a program for realizing an image processing function for executing image processing in a work color space by a computer. In the program according to the fourth aspect of the present invention,
The image processing control information interpretation function is
A function of converting the color space of the image data into a wide RGB color space having a wider color gamut than the sRGB color space, using the image processing control information;
A function of acquiring color conversion information for converting the wide-range RGB color space to the working color space;
A function of associating the acquired color conversion information with the converted image data and outputting to the image processing unit,
The image processing function is
A function of converting the color space of the image data into the working color space using the color conversion information;
A function of performing image processing on the image data in the working color space,
Each of the above functions is realized by a computer.
[0017]
According to the program of the fourth aspect of the present invention, color conversion information necessary for image processing in an image processing application is provided by including only characteristic information of a wide RGB color space regardless of a color space representing image data to be handled. Can be provided. Further, image processing can be executed based on the generated color conversion information.
[0018]
According to a fifth aspect of the present invention, there is provided an image processing apparatus that generates characteristic information of a color space that defines each image data based on image processing control information that specifies an image processing condition of each image data specified by an imaging apparatus. I will provide a. An image processing apparatus according to a fifth aspect of the present invention includes a characteristic information generating unit that interprets the image processing control information and generates characteristic information of a color space that defines the image data, and the generated color space. Output means for associating and outputting the characteristic information and the image data.
[0019]
According to the image processing device of the fifth aspect of the present invention, it is possible to obtain the same operational effects as the program according to the first aspect of the present invention. The image processing apparatus according to the fifth aspect of the present invention can be realized in various aspects in the same manner as the program according to the first aspect of the present invention.
[0020]
According to a sixth aspect of the present invention, there is provided an image processing device for performing color conversion of each image data based on image processing control information designated by the imaging device and designating an image processing condition of each image data. . An image processing apparatus according to a sixth aspect of the present invention uses the image processing control information to convert a color space of the image data into a wide RGB color space having a color gamut wider than an sRGB color space at least in part. Conversion means for converting, acquisition means for acquiring characteristic information of the wide RGB color space, and means for outputting the acquired characteristic information of the wide RGB color space in association with the converted image data, To do.
[0021]
According to the image processing device of the sixth aspect of the present invention, it is possible to obtain the same operational effects as the program according to the third aspect of the present invention. Further, the image processing apparatus according to the sixth aspect of the present invention can be realized in various aspects in the same manner as the program according to the third aspect of the present invention.
[0022]
According to a seventh aspect of the present invention, there is provided an image processing control information interpretation mechanism for interpreting image processing control information for designating an image processing condition of each image data designated by the imaging device, and each image data based on the interpretation result. An image processing apparatus including an image processing mechanism that executes image processing in a work color space is provided. In the image processing device according to the seventh aspect of the present invention,
The image processing control information interpretation mechanism is
A color conversion information generating unit that interprets the image processing control information and generates color conversion information for converting a color space defining each image data into the working color space;
An output unit that associates the generated color conversion information with the image data and outputs the image data to the image processing mechanism;
The image processing mechanism includes:
A color conversion unit that converts the color space of each image data into the working color space using the output color conversion information;
And an image processing unit that executes image processing on each image data in the working color space.
[0023]
According to the image processing device of the seventh aspect of the present invention, the color necessary for the image processing in the image processing application based on the image processing control information that specifies the image processing condition of the image data associated with each image data. Conversion information can be generated. Further, image processing can be executed based on the generated color conversion information.
[0024]
According to an eighth aspect of the present invention, the image processing control information specifying the image processing condition of each image data specified by the imaging device is interpreted, and image processing is executed on each image data in the working color space. Provide a method. The method according to an eighth aspect of the present invention interprets the image processing control information, generates color conversion information for converting a color space defining each image data into the working color space, and generates the generation The associated color conversion information and each image data, and using the associated color conversion information, the color space of each image data is converted into the working color space, and the image data in the working color space Image processing is executed.
[0025]
According to the method of the eighth aspect of the present invention, the color conversion information necessary for the image processing in the image processing application based on the image processing control information that specifies the image processing condition of the image data associated with each image data. Can be generated. Further, image processing can be executed based on the generated color conversion information.
[0026]
According to a ninth aspect of the present invention, there is provided a method for performing color conversion of each image data based on image processing control information that specifies an image processing condition for each image data specified by an imaging device. A method according to a ninth aspect of the present invention uses the image processing control information to convert the color space of the image data into a wide-range RGB color space having a color gamut wider than the sRGB color space at least in part. The characteristic information of the wide RGB color space is acquired, and the characteristic information of the acquired wide RGB color space is output in association with the converted image data.
[0027]
According to the method of the ninth aspect of the present invention, it is possible to always output image data in the wide RGB color space in association with the characteristic information of the wide RGB color space regardless of the color space representing each image data. it can. Therefore, color conversion information necessary for image processing in an image processing application can be provided if only the characteristic information of the wide RGB color space is provided regardless of the color space representing the image data to be handled.
[0028]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a color space characteristic information generation program according to the present invention will be described based on an embodiment with reference to the drawings in the following order.
A. Configuration of color space characteristic information generation module according to the first embodiment:
B. Operation of the color space characteristic information generation module according to the first embodiment:
C. Configuration of color space characteristic information generation module according to the second embodiment:
D. Operation of the color space characteristic information generation module according to the second embodiment:
E. Configuration of image processing system to which color space characteristic information generation program can be applied
F. Other examples:
[0029]
A. Configuration of color space characteristic information generation module according to the first embodiment:
The configuration of the color space characteristic information generation module according to the first embodiment will be described with reference to FIG. FIG. 1 is an explanatory diagram conceptually showing the configuration of the color space characteristic information generating module according to the first embodiment. Note that each image data GD used in the following embodiments is generated by an imaging device such as a digital still camera (DSC), and is an image that designates image processing conditions for executing image processing for each image data GD. It is stored in the same image file GF together with the process control data CD.
[0030]
The image processing control data CD will be described with reference to FIG. FIG. 4 is an explanatory diagram showing an example of parameters that can be used as the image processing control data CD. Note that terms such as file structure, data structure, and storage area in this embodiment mean an image of a file or data in a state where the file or data is stored in the storage device.
[0031]
The image processing control data CD is information for designating image processing conditions so that an optimum image output result can be obtained in consideration of color reproduction characteristics and image output characteristics of an output device such as a color printer. The information stored as the image processing control data CD includes, for example, as shown in FIG. 9, a matrix value for a matrix M for converting from a tRGB color space to an XYZ color space, and a matrix M for a DSC gamma correction value. Gamma correction values, matrix N matrix values for conversion from the XYZ color space to the cRGB color space, and matrix N gamma correction values that are gamma correction values in the cRGB color space, as well as image quality such as contrast, brightness, and shadow points Contains parameters.
[0032]
The color space characteristic information generation module 20 according to the first embodiment executes its function in conjunction with the image processing application or incorporated in the image processing application on the personal computer 10, for example. In the following description, a case where the image processing application is incorporated into an image processing application will be described as an example. The color space characteristic information generation module 20 uses the image processing control data associated with each image data GD to convert the color space of the DSC RGB image data GDd into an absolute color space for each image data GD. This is a module for generating necessary information, ICC profile ICd. The ICC profile is data in which information for color conversion defined by the International Color Consortium (ICC) is described. Each data is stored in a tag format, and a pointer to the tag data is stored in the header portion. Is described. Since the data structure (format) of the ICC profile is well known to those skilled in the art, further explanation is omitted.
[0033]
The color space characteristic information generation module 20 includes an image processing control data determination function unit 21 that determines whether the input image data GDd includes image processing control data CD that specifies an image processing condition, and image processing control data. An ICC profile creation function unit 22 that generates an ICC profile ICd using a CD, and an image data conversion function unit 23 that converts image data GD from YCbCr data to DSC dRGB data are provided.
[0034]
The image processing application originally includes an image processing module 30 that executes image processing on image data. The image processing module 30 includes a work space 31 that is a function unit that executes image processing, and an input profile combining function unit that performs color matching between the color space of the image data (input device) and the color space of the work space 31. 32 and an output profile combining function unit 33 for performing color matching between the color space of the work space 31 and the color space of the output device.
[0035]
In this embodiment, when the image file GF is input to the personal computer 10, first, it is passed to the color space characteristic information generation module 20. The color space characteristic information generation module 20 sends the generated ICC profile ICd and dRGB image data converted into RGB color space data to the image processing module 30. The image processing module 30 uses the received ICC profile ICd to convert dRGB data into wRGB data represented in a color space that defines a work color space, executes image processing, and performs wR ′ that has undergone image processing. The G′B ′ data is converted into pRGB data that can be handled by the driver of the output device and sent to the driver.
[0036]
B. Operation of the color space characteristic information generation module according to the first embodiment:
The operation of the color space conversion characteristic information generation module 20 and the image processing module 30 according to the first embodiment will be described with reference to FIGS. FIG. 2 is a flowchart showing a processing routine executed by the color space conversion characteristic information generation module 20. FIG. 3 is a flowchart showing a processing routine executed by the image processing module 30.
[0037]
When the image file GF is input to the color space conversion characteristic information generation module 20, the image processing control data determination function unit 21 searches for the image processing control data CD (step S100). If the image processing control data CD can be found (step S110: Yes), the image processing control data determination function unit 21 sends the image processing control data CD to the ICC profile creation function unit 22, and the image data GD is displayed as an image. It is sent to the data conversion function unit 23.
[0038]
The image data conversion function unit 23 that has received the image data GD converts the JPEG data (YCbCr data) into dRGB data depending on the input device (step S120). At the time of this conversion, the image data conversion function unit 23 performs a matrix operation using the matrix S defined by the JPEG File Interchange Format (JFIF) standard.
[0039]
On the other hand, the ICC profile creation function unit 22 that has received the image processing control data CD and the matrix value for color space conversion for converting dRGB data depending on the input device specified by the image processing control data CD into XYZ data, and Using the gamma correction value in the dRGB color space depending on the input device, an ICC profile ICd describing information for converting the dRGB data depending on the input device into XYZ data is generated (step S130).
[0040]
The ICC profile includes a parameter value (rXYZ) for converting the R component into XYZ coordinates, a parameter value (gXYZ) for converting the G component into XYZ coordinates, and a parameter value (bXYZ) for converting the B component into XYZ coordinates. ), Gamma correction values (rTRC, gTRC, bTRC) for R, G, B components. Therefore, the matrix M specified by the image processing control data CD,
[0041]
[Expression 1]
Figure 0004276395
[0042]
Matrix values (a, b, c, d, e, f, g, h, i) are applied to rXYZ, gXYZ, bXYZ, and DSC gamma correction values are the gamma correction values for the R, G, B components. By applying to (rTRC, gTRC, bTRC), the ICC profile ICd can be obtained from the image processing control data CD. The ICC profile ICd generated based on the image processing control data CD shown in FIG. 5 has parameters as shown in FIG. 6, for example. FIG. 5 is an explanatory diagram showing an example of each matrix value and gamma correction value of the matrix M stored in the image processing control data CD. FIG. 6 is an explanatory diagram showing an example of the structure of the ICC profile ICd generated according to the present embodiment.
[0043]
As described above, each parameter value (tag data) of the ICC profile ICd is designated and read by a pointer described in a header portion (not shown).
[0044]
In addition to these parameters, the ICC profile ICd may be generated using a contrast value, brightness value, etc. described in the image processing control data CD. In such a case, an ICC profile ICd more suitable for dRGB data can be generated. Further, since the color conversion table is often described in the ICC profile, the color conversion table may be created based on the image processing control data CD and described in the ICC profile.
[0045]
The color space conversion characteristic information generation module 20 associates the dRGB data depending on the input device and the generated ICC profile ICd and sends them to the image processing module 30 (step S140), and ends the color space conversion process.
[0046]
On the other hand, if the image processing control data determination function unit 21 cannot find the image processing control data CD (step S110: No), the image processing control data determination function unit 21 attaches a predetermined ICC profile to the dRGB data and sends it to the image processing module 30. Then, the color space conversion process ends.
[0047]
Upon receiving the dRGB data and the ICC profile ICd, the image processing module 30 uses the ICC profile ICd and the workspace ICC profile ICw by the input profile combining function unit 32 to convert the dRGB data into the color space of the workspace. (Step S200). The color space conversion using the ICC profiles ICd and ICw is executed by a part of the functions of the operating system program such as ICM and Colorsync.
[0048]
The image processing function unit 31 performs image processing on the wRGB data (step S210), and sends the wR′G′B ′ data subjected to the image processing to the output profile combining function unit 33. Upon receiving the wR′G′B ′ data, the output profile combining function unit 33 uses the work space ICC profile ICw and the output device ICC profile ICp to output the work space wR′G′B ′ data. To pRGB data (adapted to the pRGB color space used by the driver) (step S220).
[0049]
The image processing module 30 sends the pRGB data to the printer driver (step S230), and ends this processing routine. Each function unit described above is a function provided when the personal computer (CPU) 10 executes a color conversion characteristic information generation program and an image processing program, and the process executed by each function unit is a personal computer. 10 is a process executed by.
[0050]
As described above, according to the color space conversion characteristic information generation module 20 according to the first embodiment, it is represented in the color space of the input device using the image processing control data CD associated with each image data. It is possible to generate an ICC profile ICd necessary for converting the dRGB data being converted into wRGB data represented in the color space of the work color space used in the image processing function unit 31. Therefore, unlike the conventional ICC profile provided in units of devices, appropriate and various ICC profiles based on the characteristics of each image data can be created for each image data.
[0051]
A normal ICC profile has a configuration including a plurality of lookup tables for converting RGB data into XYZ data, for example, and is known to have a large data capacity. On the other hand, in the first embodiment, from the input device having a limited storage capacity to the image processing apparatus such as the personal computer 10 is associated with the image data in the form of the image processing control data CD having a small data capacity. The ICC profile ICd can be generated based on the image processing control data CD in the processing device. Therefore, it is possible to suppress the storage capacity for storing the necessary image data in the input device. For example, even in a digital still camera or the like whose storage capacity is limited, image data with an ICC profile is substantially added. Can be handled. As a result, it is possible to execute image processing using color matching processing for image data of a digital still camera or the like, and it is possible to execute image processing with higher accuracy.
[0052]
C. Configuration of color space characteristic information generation module according to the second embodiment:
The configuration of the color space characteristic information generation module according to the second embodiment will be described with reference to FIG. FIG. 7 is an explanatory diagram conceptually showing the configuration of the color space characteristic information generation module according to the second embodiment. Each image data GD used in the following embodiments is image data having the same characteristics as the image data GD used in the first embodiment. Since the configuration of the image processing module according to the second embodiment is the same as that of the image processing module 30 according to the first embodiment, the same reference numerals are given and description thereof is omitted.
[0053]
The color space characteristic information generation module 40 according to the second embodiment executes its function in conjunction with the image processing application or incorporated in the image processing application on the personal computer 10, for example. In the following description, a case where the image processing application is incorporated into an image processing application will be described as an example. For each image data GD, the color space characteristic information generation module 40 uses the image processing control data associated with each image data GD to convert the DSC RGB image data GDd into a common RGB color space, which is a cRGB color space. This is the module to convert. Further, the color space conversion characteristic information generation module 40 is a module that sends information necessary for converting the cRGB color space to the absolute color space, the ICC profile ICc, together with the cRGB data, to the image processing module 30.
[0054]
Here, the cRGB color space is a color space having a wider color gamut in at least a part of the sRGB color space, and an image sent from the color space conversion characteristic information generation module 40 to the image processing module 30. All data is cRGB data.
[0055]
The color space characteristic information generation module 40 according to the second embodiment has an image processing control data determination function that determines whether or not the input image data GDd includes image processing control data CD that specifies image processing conditions. Unit 41, an ICC profile adding function unit 44 for adding an ICC profile ICc describing information for converting the cRGB color space to the XYZ color space, and displaying the image data GD from the YCbCr data in a common cRGB color space. An image data conversion function unit 43 for converting into cRGB data is provided.
[0056]
In this embodiment, when the image file GF is input to the personal computer 10, first, it is passed to the color space characteristic information generation module 40. The color space characteristic information generation module 40 assigns an ICC profile ICc describing the characteristics of the cRGB color space to the cRGB data converted into the cRGB color space data, and sends the data to the image processing module 30. The image processing module 30 converts the image data GDc into wRGB data in the working color space using the received ICC profile ICc, executes image processing, and outputs wR′G′B ′ data subjected to image processing. Are converted into pRGB data that can be handled by the driver and sent to the driver.
[0057]
B. Operation of the color space characteristic information generation module according to the second embodiment:
With reference to FIGS. 8 and 9, the operation of the color space conversion characteristic information generation module 40 and the image processing module 30 according to the second embodiment will be described. FIG. 8 is a flowchart showing a processing routine executed by the color space conversion characteristic information generation module 40. FIG. 9 is a flowchart showing a processing routine executed by the image processing module 30.
[0058]
When the image file GF is input to the color space conversion characteristic information generation module 40, the image processing control data determination function unit 41 searches for the image processing control data CD (step S300). The image processing control data determination function unit 41 sends the image data GD to the image data conversion function unit 43 when the image processing control data CD can be found (step S310: Yes).
[0059]
The image data conversion function unit 43 that has received the image data GD converts the JPEG data (YCbCr data) into cRGB data represented in the common RGB color space (step S320). In this conversion, the image data conversion function unit 43 first converts the YCbCr data into a predetermined color space dRGB color space (for example, by a matrix operation using the matrix S defined by the JPEG FIle Interchange Format (JFIF) standard). The color space used by the digital still camera). Subsequently, the dRGB data is converted into cRGB data using the tRGB-XYZ conversion matrix M, the gamma correction value of the dRGB color space, the XYZ-cRGB matrix N, and the gamma correction value of the cRGB color space included in the image processing control data CD. To do. Note that the RGB color space obtained by the matrix operation using the matrix S is usually the sRGB color space. The tRGB color space is a color space specified by the image processing control data CD for defining the RGB color space used in the following processing, and is a color that includes at least a part of the color gamut of the sRGB color space. Preferably, an RGB color space with areas is specified.
[0060]
The ICC profile assignment function unit 44 assigns to the cRGB data an ICC profile ICc including a color space conversion matrix value for converting the common RGB data GDc into XYZ data and a gamma correction value in the common RGB color space (step S330). ).
[0061]
On the other hand, if the image processing control data determination function unit 41 cannot find the image processing control data CD (step S310: No), the cRGB data is obtained using the sRGB color space as the tRGB color space (step S350). .
[0062]
The color space conversion characteristic information generation module 40 associates the cRGB data with the assigned ICC profile ICc and sends them to the image processing module 30 (step S340), and ends the color space conversion process.
[0063]
Upon receiving the cRGB data and the ICC profile ICc, the image processing module 30 uses the ICC profile ICc and the work space ICC profile ICw by the input profile combining function unit 32 to convert the cRGB data in the common RGB color space to work. The space is converted into wRGB data (step S400). The color space conversion using the ICC profiles ICc and ICw is executed by a part of the functions of the operating system program such as ICM and Colorsync.
[0064]
The image processing function unit 31 performs image processing on the wRGB data (step S410), and sends the wR′G′B ′ data subjected to the image processing to the output profile combining function unit 33. Upon receiving the wR′G′B ′ data, the output profile combining function unit 33 uses the workspace ICC profile ICw and the output device ICC profile ICp to convert the wR′G′B ′ data subjected to image processing. Conversion into pRGB data (used by the driver) of the output device is performed (step S420).
[0065]
The image processing module 30 sends the pRGB data to the printer driver (step S430), and ends this processing routine. Each function unit described above is a function provided when the personal computer (CPU) 10 executes a color conversion characteristic information generation program and an image processing program, and the process executed by each function unit is a personal computer. 10 is a process executed by.
[0066]
As described above, according to the color space conversion characteristic information generation module 40 according to the second embodiment, the cRGB data represented in the common RGB color space regardless of the color space representing the input image data. Can be output. Therefore, as an ICC profile attached to the image data GD (cRGB data) output from the color space conversion characteristic information generation module 40, an ICC profile ICc for converting a common RGB color space (cRGB) to an XYZ color space is 1 It is enough to have one.
[0067]
In addition, as a common RGB color space, by using a wide-area RGB color space having a wide area including the sRGB color space, preferably in at least a part of the commonly used sRGB color space, The cRGB data can be output to the image processing module 30 without losing the value of the input RGB data.
[0068]
E. Configuration of an image processing system to which a color space characteristic information generation program according to the present invention can be applied:
The configuration of an image processing system to which the color space characteristic information generation program according to the present invention can be applied will be described with reference to FIG. FIG. 10 is an explanatory diagram showing an example of an image processing system to which the color space characteristic information generation program according to the present invention can be applied.
[0069]
The image processing system includes a digital still camera 120 as an input device that generates image data to which image processing conditions are to be added, and an image processing device that executes image processing to be described later using image data generated by the digital still camera 120. And a color printer 300 as an image output device set in the personal computer 10. Image data (image file) subjected to image processing in the image processing apparatus according to the present embodiment is image data input to the personal computer 10 from the digital still camera 120 via the connection cable CV or the memory card MC. .
[0070]
In addition to the personal computer 10, for example, a stand-alone printer having an image processing function can be used as the image processing apparatus. In addition to the printer 300, a display device such as a CRT display or an LCD display, a projector, or the like can be used as the output device. In the following description, it is assumed that the color printer 300 used by being connected to the personal computer 10 is used as an output device.
[0071]
The personal computer 10 is a commonly used type of computer. The CPU 100 executes an image processing program according to the present invention, the RAM 101 temporarily stores calculation results, image data, and the like in the CPU 100, and the image processing program. A hard disk drive (HDD) 102 to be stored, a display device 103 for displaying calculation results in the CPU 100, image data, and the like, a keyboard for inputting commands and numerical values, and an input device 104 such as a mouse are provided. The personal computer 10 includes a card slot 105 for mounting a memory card MC, and an input / output terminal 106 for connecting a connection cable CV from a digital still camera 120 or the like.
[0072]
The image data GD generated by the digital still camera 120 usually has a data structure according to the image file format standard (Exif) for the digital still camera. Exif file specifications are defined by the Japan Electronics and Information Technology Industries Association (JEITA).
[0073]
A schematic structure inside the image file when the file format conforms to the Exif file format will be described with reference to FIG. FIG. 11 is an explanatory diagram showing a schematic internal structure of an image file GF stored in the Exif file format. Note that terms such as file structure, data structure, and storage area in this embodiment mean an image of a file or data in a state where the file or data is stored in the storage device.
[0074]
The image file GF as an Exif file includes a JPEG image data storage area 111 that stores image data in JPEG format, and an attached information storage area 112 that stores various types of attached information related to the stored JPEG image data. In the attached information storage area 112, shooting time information relating to shooting conditions of the JPEG image such as a shooting color space, shooting date and time, exposure, shutter speed, and the like, and thumbnail image data of the JPEG image stored in the JPEG image data storage area 111 are stored. It is stored in TIFF format. The attached information is automatically stored in the attached information storage area 112 when the image data is written to the memory card MC. In the present embodiment, the attached information storage area 112 is provided with an image processing control information storage area 113 for storing image processing control data CD for controlling image processing in the personal computer 10 as shown in FIG. ing.
[0075]
F. Other examples:
In the first embodiment, the image processing data CD is used only for converting the dRGB data into wRGB data in the workspace color space used in the image processing function unit 31 by the ICC profile creation function unit 23. The image processing function unit 31 may be used to generate an image processing control command for specifying an image processing condition. This will be described with reference to FIG. FIG. 12 is an explanatory diagram conceptually showing the configuration of the color space characteristic information generation module in another aspect of the first embodiment.
[0076]
The color space conversion characteristic information generation module 20 according to another aspect of the first embodiment includes an image processing control command generation function unit 25 that generates an image processing control command using the image processing control data CD. If the image processing control data determination function unit 21 determines that the image processing control data CD is included in the image data, the image processing control data CD is added to the ICC profile creation function unit 23 to perform image processing control. Also sent to the command generation function unit 25. The image processing control command generation function unit 25 is set in consideration of the color reproduction characteristics of the input device and the output device included in the image processing control data CD, the matrix values of the matrices M and N, the gamma correction value, the contrast, An image processing control command that can be interpreted by the image processing module 30 is generated by interpreting optimum values of parameters such as brightness, highlight point, and shadow point.
[0077]
The image processing control command is sent to the image processing function unit 31 of the image processing module 30. The image processing function unit 31 performs image processing according to the image processing control command on the wRGB data converted into the color space of the workspace. As described above, the image processing control data CD cannot be interpreted by translating the parameter values described in the image processing control data CD into image processing control commands that can be used by the image processing module 30. The module 30 can also execute image processing in consideration of the color reproduction characteristics of the input device and the output device.
[0078]
Since the operation of other functional units has been described in the first embodiment, the same reference numerals are given and description thereof is omitted.
[0079]
The image processing program and the image processing apparatus according to the present invention have been described above based on the embodiments. However, the embodiments of the present invention described above are for facilitating understanding of the present invention, and the present invention is limited. Not what you want. The present invention can be changed and improved without departing from the spirit and scope of the claims, and it is needless to say that the present invention includes equivalents thereof.
[0080]
In the above embodiment, parameters such as a gamma correction value, a color space matrix, a shadow point, and a contrast are used as the image processing control data CD, but what parameters are used for these setting parameters is an arbitrary decision. .
[0081]
In the above-described embodiment, the digital still camera 120 is used as the imaging device, but a scanner, a digital video camera, or the like can be used. In addition to a printer, a liquid crystal display, a CRT display, a projector, or the like can be used as an output device.
[0082]
In the above embodiment, the Exif format file has been described as a specific example of the image file GF, but the format of the image file that can be used in the image file generation apparatus according to the present invention is not limited to this. That is, any file may be used as long as it can include image data to be output by the output device and image processing control data CD that specifies image processing conditions of the image data in the image processing device. This is because such a file can generate an image file including the image data and the image processing control data CD in the image file generation apparatus.
[0083]
In addition, in the image file GF including the image data and the image processing control data CD, association data for associating the image data GD and the image processing control data CD is generated, and the image data and the image processing control data CD are independent from each other. Also included is a file that can be stored in the above-mentioned file and that can associate the image data with the image processing control information CI by referring to the association data at the time of image processing. In this case, although the image data and the image processing control data CD are stored in separate files, the image data and the image processing control data CD are inseparably integrated at the time of image processing using the image processing control data CD. This is because they function in the same manner as when they are stored in substantially the same file. That is, an aspect in which the image data and the image processing control data CD are used in association with each other at least at the time of image processing is included in the image file GF in the present embodiment. Furthermore, a moving image file stored in an optical disc medium such as a CD-ROM, a CD-R, a DVD-ROM, a DVD-RAM is also included.
[0084]
In the above-described embodiment, the digital still camera 120 is used as the imaging device, but a scanner, a digital video camera, or the like can be used. That is, the image file GF according to the present embodiment can be generated by an input device (image file generation device) such as a digital video camera (DVC) or a scanner in addition to the digital still camera (DSC). When generated by a digital video camera, for example, an image file storing still image data and output control information, or a moving image file including moving image data such as MPEG format and output control information is generated. The When this moving image file is used, output control according to the output control information is performed on all or some of the frames of the moving image.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram conceptually showing the configuration of a color space characteristic information generation module according to a first embodiment.
FIG. 2 is a flowchart showing a processing routine executed by a color space conversion characteristic information generation module 20 according to the first embodiment.
FIG. 3 is a flowchart showing a processing routine executed by the image processing module 30 according to the first embodiment.
FIG. 4 is an explanatory diagram showing an example of parameters of image processing control data CD stored in an attached information storage area.
FIG. 5 is an explanatory diagram showing an example of each matrix value and gamma correction value of a matrix M stored in the image processing control data CD.
FIG. 6 is an explanatory diagram showing an example of the structure of an ICC profile ICd generated according to the present embodiment.
FIG. 7 is an explanatory diagram conceptually showing the structure of a color space characteristic information generation module according to the second embodiment.
FIG. 8 is a flowchart showing a processing routine executed by the color space conversion characteristic information generation module 40 according to the second embodiment.
FIG. 9 is a flowchart showing a processing routine executed by the image processing module 30 according to the second embodiment.
FIG. 10 is an explanatory diagram showing an example of an image processing system to which the color space characteristic information generation program according to the present invention can be applied.
FIG. 11 is an explanatory diagram showing a schematic internal structure of an image file GF stored in an Exif file format.
FIG. 12 is an explanatory diagram conceptually showing the configuration of a color space characteristic information generation module in another aspect of the first embodiment.
[Explanation of symbols]
10 ... Personal computer
100 ... CPU
101 ... RAM
102 ... HDD
103 ... Display device
104 ... Input device
105 ... Slot
106: Input / output terminal
GF ... Image file (Exif file)
111 ... JPEG image data storage area
112 ... Attached information storage area
113: Image processing control data CD storage area
120: Digital still camera
300 ... Printer
CV ... Connection cable
MC ... Memory card

Claims (5)

撮像装置によって指定された、画像処理装置における各画像データの画像処理条件を指定する画像処理制御情報であって、前記画像データの色空間を前記撮像装置に依存する色空間から装置独立色空間に変換する際に用いられる色変換マトリクス値と、前記撮像装置に依存する色空間におけるガンマ補正値とを含む画像処理制御情報を前記撮像装置のICCプロファイルに変換するためのプログラムであって、
前記撮像装置から前記画像処理制御情報が関連付けられた画像データを取得する機能と、
前記取得された画像データに関連付けられている画像処理制御情報から前記撮像装置のICCプロファイルを得るために用いられる前記色変換マトリクス値と前記ガンマ補正値とを抽出する機能と、
前記抽出された色変換マトリクス値とガンマ補正値とを、前記画像データの色空間を前記撮像装置に依存する色空間である第1の色空間から装置独立色空間へ変換するためのICCプロファイルに変換する機能と、
前記変換により得られたICCプロファイルと前記画像データとを関連付けて出力する機能とを画像処理装置によって実現させるプログラム。
Image processing control information for designating image processing conditions of each image data in the image processing device designated by the imaging device, wherein the color space of the image data is changed from a color space depending on the imaging device to a device independent color space A program for converting image processing control information including a color conversion matrix value used for conversion and a gamma correction value in a color space depending on the imaging device into an ICC profile of the imaging device ,
A function of acquiring image data associated with the image processing control information from the imaging device;
A function of extracting the color conversion matrix value and the gamma correction value used to obtain an ICC profile of the imaging device from image processing control information associated with the acquired image data;
ICC profile for converting said extracted color conversion matrix values and gamma correction values, the color space of the image data from the first color space is a color space depending on the imaging device to the device-independent color space With the ability to convert to
A program for causing an image processing apparatus to realize a function of associating and outputting the ICC profile obtained by the conversion and the image data.
請求項1に記載のプログラムにおいて、
前記第1の色空間はRGB色空間であり、
前記装置独立色空間はXYZ色空間であるプログラム。
The program according to claim 1,
The first color space is an RGB color space;
The device independent color space is an XYZ color space.
請求項2に記載のプログラムにおいて、
前記ICCプロファイルは、前記画像データに添付されて出力されるプログラム。
The program according to claim 2,
The ICC profile is a program output by being attached to the image data.
撮像装置によって指定された、画像処理装置における各画像データの画像処理条件を指定する画像処理制御情報であって、前記画像データの色空間を前記撮像装置に依存する色空間から装置独立色空間に変換する際に用いられる色変換マトリクス値と、前記撮像装置に依存する色空間におけるガンマ補正値とを含む画像処理制御情報を前記撮像装置のICCプロファイルに変換する画像処理装置であって、
前記撮像装置から前記画像処理制御情報が関連付けられた画像データを取得する取得部と、
前記取得された画像データに関連付けられている画像処理制御情報から前記撮像装置のICCプロファイルを得るために用いられる前記色変換マトリクス値と前記ガンマ補正値とを抽出し、前記抽出した色変換マトリクス値とガンマ補正値とを、前記画像データの色空間を前記撮像装置に依存する色空間である第1の色空間から装置独立色空間へ変換するためのICCプロファイルに変換するICCプロファイル変換手段と、
前記変換により得られたICCプロファイルと前記画像データとを関連付けて出力する出力手段とを備える画像処理装置。
Image processing control information for designating image processing conditions of each image data in the image processing device designated by the imaging device, wherein the color space of the image data is changed from a color space depending on the imaging device to a device independent color space An image processing device for converting image processing control information including a color conversion matrix value used for conversion and a gamma correction value in a color space depending on the imaging device into an ICC profile of the imaging device ,
An acquisition unit for acquiring image data associated with the image processing control information from the imaging device;
Extracting said gamma correction value and the color converting matrix values used by the image processing control information associated with the acquired image data to obtain the ICC profile of the imaging device, the extracted color conversion matrix values and a gamma correction value, and ICC profile converting means for converting the color space of the image data in the ICC profile for converting from a first color space is a color space depending on the imaging device to the device-independent color space ,
An image processing apparatus comprising: an output unit that associates and outputs the ICC profile obtained by the conversion and the image data.
撮像装置によって指定された、画像処理装置における各画像データの画像処理条件を指定する画像処理制御情報であって、前記画像データの色空間を前記撮像装置に依存する色空間から装置独立色空間に変換する際に用いられる色変換マトリクス値と、前記撮像装置に依存する色空間におけるガンマ補正値とを含む画像処理制御情報を前記撮像装置のICCプロファイルに変換するための方法であって、Image processing control information for designating image processing conditions of each image data in the image processing device designated by the imaging device, wherein the color space of the image data is changed from a color space depending on the imaging device to a device independent color space A method for converting image processing control information including a color conversion matrix value used in conversion and a gamma correction value in a color space depending on the imaging device into an ICC profile of the imaging device,
前記撮像装置から前記画像処理制御情報が関連付けられた画像データを取得し、  Obtaining image data associated with the image processing control information from the imaging device;
前記取得された画像データに関連付けられている画像処理制御情報から前記撮像装置のICCプロファイルを得るために用いられる前記色変換マトリクス値と前記ガンマ補正値とを抽出し、  Extracting the color conversion matrix value and the gamma correction value used to obtain the ICC profile of the imaging device from the image processing control information associated with the acquired image data;
前記抽出された色変換マトリクス値とガンマ補正値とを、前記画像データの色空間を前記撮像装置に依存する色空間である第1の色空間から装置独立色空間へ変換するためのICCプロファイルに変換し、  The extracted color conversion matrix value and the gamma correction value are converted into an ICC profile for converting the color space of the image data from a first color space that is a color space depending on the imaging device to a device independent color space. Converted,
前記変換により得られたICCプロファイルと前記画像データとを関連付けて出力することを備える方法。  A method comprising: associating and outputting the ICC profile obtained by the conversion and the image data.
JP2001321359A 2001-10-19 2001-10-19 Image processing apparatus and image processing program Expired - Fee Related JP4276395B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001321359A JP4276395B2 (en) 2001-10-19 2001-10-19 Image processing apparatus and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001321359A JP4276395B2 (en) 2001-10-19 2001-10-19 Image processing apparatus and image processing program

Publications (2)

Publication Number Publication Date
JP2003125227A JP2003125227A (en) 2003-04-25
JP4276395B2 true JP4276395B2 (en) 2009-06-10

Family

ID=19138584

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001321359A Expired - Fee Related JP4276395B2 (en) 2001-10-19 2001-10-19 Image processing apparatus and image processing program

Country Status (1)

Country Link
JP (1) JP4276395B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2242247A3 (en) 2004-11-01 2012-07-25 Technicolor, Inc. Method and system for mastering and distributing enhanced color space content
JP2009521840A (en) 2005-12-21 2009-06-04 トムソン ライセンシング Limited color palette in color space
EP2318919B1 (en) 2008-08-19 2018-10-24 ContentArmor A propagation map for watermarking
EP2319244A1 (en) 2008-08-19 2011-05-11 Thomson Licensing Cabac/avc compliant watermarking of syntax elements in compressed video
KR101633443B1 (en) 2008-08-19 2016-06-24 톰슨 라이센싱 Luminance evaluation
KR101635898B1 (en) 2008-08-20 2016-07-04 톰슨 라이센싱 Selection of watermarks for the watermarking of compressed video
KR101763336B1 (en) 2010-02-09 2017-07-31 콘텐트 아머 Watermark detection using a propagation map
JP2012028862A (en) 2010-07-20 2012-02-09 Brother Ind Ltd Scanner system

Also Published As

Publication number Publication date
JP2003125227A (en) 2003-04-25

Similar Documents

Publication Publication Date Title
JP4576770B2 (en) Generating image files
US9538046B2 (en) Image reproduction using a particular color space
JP4065482B2 (en) Image data processing method, apparatus, storage medium, and program
JP4061907B2 (en) Output and save image processed image data
JP2003087587A (en) Method and device for processing image data, storage medium and program
JP4533287B2 (en) Color processing method and apparatus
US8207985B2 (en) Image reproduction using a particular color space
JP2010081048A (en) Image processing apparatus, program, and imaging apparatus
US20030184812A1 (en) Image processing apparatus and method
JP2005354372A (en) Apparatus and method for image recording device, method and system for image processing
JP4276395B2 (en) Image processing apparatus and image processing program
JPH09326938A (en) Image processing unit and its method
JP4518102B2 (en) Image data output adjustment
JP2003052002A (en) Output image adjustment of image file
JP3922223B2 (en) Output image adjustment of image data
JP4168610B2 (en) Device for generating image file with processing control data
JP2003209705A (en) Adjustment for image data output
US11831846B2 (en) Image processing apparatus with pre-stored color conversion processing, and control method and storage medium thereof
JP4687325B2 (en) Image processing method, image processing apparatus, and program
JP4730371B2 (en) Output and save image processed image data
JP2004236201A (en) Image processor and image processing method
JP2010063166A (en) Output adjustment of image data
JP2021069062A (en) Image processing apparatus, display system, image processing method, and program
JPH1117970A (en) Image processing device and method and recording medium
JP4962610B2 (en) Image processing method, image processing apparatus, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041006

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070402

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070522

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070719

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071218

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080213

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080227

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20080502

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090129

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

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120313

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130313

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140313

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees