JP4175004B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP4175004B2
JP4175004B2 JP2002070144A JP2002070144A JP4175004B2 JP 4175004 B2 JP4175004 B2 JP 4175004B2 JP 2002070144 A JP2002070144 A JP 2002070144A JP 2002070144 A JP2002070144 A JP 2002070144A JP 4175004 B2 JP4175004 B2 JP 4175004B2
Authority
JP
Japan
Prior art keywords
image processing
image data
color space
image
printing
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
JP2002070144A
Other languages
Japanese (ja)
Other versions
JP2002344764A (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 JP2002070144A priority Critical patent/JP4175004B2/en
Publication of JP2002344764A publication Critical patent/JP2002344764A/en
Application granted granted Critical
Publication of JP4175004B2 publication Critical patent/JP4175004B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、画像ファイルを用いた画像処理装置および画像処理方法に関する。
【0002】
【従来の技術】
パーソナルコンピュータ、ディスプレイ、プリンタ等のディジタルデータを扱う装置では、画像データを表す色空間としてsRGB色空間が標準的な色空間として用いられている。sRGB色空間は、CRTディスプレイの出力特性を考慮した色空間であり、例えば、ディジタルスチルカメラ(DSC)等の入力装置において生成された画像データがsRGB色空間よりも広い色空間によって定義されている場合であっても、出力装置がsRGB色空間に準拠した色空間を採用する限り、画像データの色彩は正しく再現されないことがある。
【0003】
この問題に対して、sRGB色空間の他に、sRGB色空間よりも広い定義領域を有する広域RGB色空間への色変換処理を経て画像データを出力(再現)する技術が提案されている。かかる技術によれば、入力装置において生成された画像データの色彩を、出力装置において正しく再現することができる。
【0004】
【発明が解決しようとする課題】
一般的に、ユーザによる任意調整による画像処理では、CRTディスプレイ等の表示ディスプレイ上に表示される画像処理の結果を確認しながら画像処理が実行される。また、画像処理がアプリケーション、プリンタドライバによって自動的に実行される場合であっても、印刷に先立って、画像処理結果がプレビュー表示された後、印刷処理が実行される。しかしながら、印刷装置と表示装置とでは、出力することができる色空間の領域が異なるため、同一の画像データであっても、表示ディスプレイ上に表示される画像処理結果と、印刷により得られる画像とが異なって見えることがある。
【0005】
したがって、たとえ、sRGB色空間よりも広い定義領域を有する広域RGB色空間への色変換処理を経る画像処理が実行可能であったとしても、表示装置における出力結果と印刷装置における出力結果とに相違がある限り、広域RGB色空間への色変換処理を活かすことができないという問題がある。例えば、ユーザが任意に画像処理を行う場合には、表示装置における出力結果と印刷装置における出力結果との相違を経験的に習得しなければ、自身の望む画像処理を実行することができないという問題がある。また、画像処理が自動的に実行される場合であっても、表示装置における出力結果と印刷装置における出力結果との相違は、ユーザに対して違和感を与えるという問題があった。
【0006】
本発明は、上記問題点を解決するためになされたものであり、表示装置における画像データの出力結果と、印刷装置における出力結果との相違を低減することを目的とする。
【0007】
【課題を解決するための手段およびその作用・効果】
上記課題を解決するために本発明の第1の態様は、画像データに対して画像処理を実行する画像処理装置を提供する。本発明の第1の態様に係る画像処理装置は、前記画像データに関連付けられていると共に前記画像データの画像処理を制御する画像処理制御情報を用いて前記画像データに対する画像処理を実行し、印刷用画像データを生成する印刷用画像データ生成手段と、前記印刷用画像データを出力する出力装置とは異なる表示装置の色再現特性を考慮して前記画像データに対する画像処理を実行し、表示用画像データを生成する表示用画像データ生成手段とを備えることを特徴とする。
【0008】
本発明の第1の態様に係る画像処理装置によれば、印刷用画像データを生成する印刷用画像データ生成手段と、表示装置の色再現特性を考慮して表示用画像データを生成する表示用画像データ生成手段とを備えるので、表示装置における画像データの出力結果と、印刷装置における出力結果との相違を低減することができる。
【0009】
本発明の第1の態様に係る画像処理装置において、前記画像処理制御情報には、画像データ生成時における色空間に関する情報である色空間情報が含まれており、前記印刷用画像データ生成手段によって実行される画像処理は、前記色空間情報を反映して、前記画像データの色空間を第1の色空間から、前記画像データ生成時における画像データをその定義領域内に包含すると共に前記第1の色空間よりも広い定義領域を有する第2の色空間へ変換する色空間変換を伴い、前記表示用画像データ生成手段によって実行される画像処理は、前記画像処理制御情報を考慮する画像処理を伴うと共に、前記色空間情報にかかわらず、前記画像データの色空間を前記第1の色空間から前記表示装置が再現可能な第3の色空間へ変換する色空間変換を伴っても良い。かかる構成を備える場合には、印刷用画像データについては、画像データ生成時における画像データを表現可能な第2の色空間によって定義することができると共に、表示用画像データについては、表示装置が再現可能な第3の色空間によって定義することができる。したがって、印刷用画像データおよび表示用画像データの双方について、より鮮やかに出力させることができる。
【0010】
本発明の第1の態様に係る画像処理装置において、前記画像処理制御情報には、画像データ処理時に用いられるべき色空間に関する情報である色空間情報が含まれており、前記印刷用画像データ生成手段によって実行される画像処理は、前記色空間情報を反映して、前記画像データの色空間を第1の色空間から、前記画像データ生成時における画像データをその定義領域内に包含すると共に前記第1の色空間よりも広い定義領域を有する第2の色空間へ変換する色空間変換を伴い、前記表示用画像データ生成手段によって実行される画像処理は、前記画像処理制御情報を考慮する画像処理を伴うと共に、前記色空間情報にかかわらず、前記画像データの色空間を前記第1の色空間から前記表示装置が再現可能な第3の色空間へ変換する色空間変換を伴っても良い。かかる構成を備える場合には、印刷用画像データについては、少なくとも一部の領域において表示装置よりも広い再現範囲を有する印刷装置が再現可能な第2の色空間にて画像処理することができると共に、表示用画像データについては、表示装置が再現可能な第3の色空間によって画像処理することができる。したがって、印刷用画像データおよび表示用画像データの双方について、より鮮やかに出力させることができる。
【0011】
本発明の第1の態様に係る画像処理装置において、前記第3の色空間はsRGB色空間であり、前記第2の色空間は前記sRGB色空間よりも広い定義領域を有するwRGB色空間であり、前記表示用画像データ生成手段は、前記第1の色空間がsRGB色空間である場合には、前記第1の色空間から前記第3の色空間への色空間変換を実行しなくても良い。画像処理の対象となる画像データが元々、sRGB色空間に基づく画像データである場合には、表示用画像データとして適切な色空間に基づく画像データであるから、色空間の変換処理を実行しないことによって画像処理に要する時間を短縮することができる。
【0012】
本発明の第1の態様に係る画像処理装置において、前記印刷用画像データ生成手段は、前記画像処理制御情報を用いることができない場合には、前記画像データの色空間を第1の色空間に保持したまま画像処理を実行して前記印刷用画像データを生成し、前記表示用画像データ生成手段は、前記画像ファイルに前記画像処理制御情報が含まれていないと判定された場合には、前記画像データの色空間を前記第1の色空間に保持したまま画像処理を実行して前記表示用画像データを生成しても良い。画像ファイルに画像処理制御情報が含まれていない場合には、いかなる色空間へ画像データの色空間を変換して良いか不明であるが、上記構成を備えることにより、誤った色空間変換処理を防止することができると共に、色空間変換処理を除く画像処理を実行することができる。
【0013】
本発明の第1の態様に係る画像処理装置において、前記第1の色空間はsRGB色空間であってもよい。さらに、本発明の第1の態様に係る画像処理装置は、前記生成した印刷用画像データを印刷装置に送信する印刷用画像データ送信手段と、前記生成した表示用画像データを前記表示装置に送信する表示用画像データ送信手段とを備えていても良い。かかる場合には、画像処理装置から表示装置および印刷装置に対して画像データを送信することができる。
【0014】
本発明の第2の態様は、画像データに対する画像処理方法を提供する。本発明の第2の態様に係る画像処理方法は、前記画像データに関連付けられていると共に前記画像データの画像処理を制御する画像処理制御情報を用いて前記画像データに対する画像処理を実行して印刷用画像データを生成すると共に、前記画像処理制御情報および表示装置の色再現特性を考慮して前記画像データに対する画像処理を実行して表示用画像データを生成し、前記生成した印刷用画像データを印刷装置に送信し、前記生成した表示用画像データを表示装置に送信することを特徴とする。
【0015】
本発明の第2の態様に係る画像処理方法によれば、本発明の第1の態様に係る画像処理装置と同様の作用効果を得ることができる。また、本発明の第2の態様に係る画像処理方法は、本発明の第1の態様に係る画像処理装置と同様にして、種々の態様にて実現され得る。
【0016】
本発明の第3の態様は、画像データに対して画像処理を実行するための画像処理プログラムを提供する。本発明の第3の態様に係る画像処理プログラムは、前記画像データに関連付けられていると共に前記画像データの画像処理を制御する画像処理制御情報を用いて前記画像データに対する画像処理を実行して印刷用画像データを生成すると共に、前記画像処理制御情報および表示装置の色再現特性を考慮して前記画像データに対する画像処理を実行して表示用画像データを生成する機能と、前記生成した印刷用画像データを印刷装置に送信する機能と、前記生成した表示用画像データを表示装置に送信する機能とをコンピュータによって実現させることを特徴とする。
【0017】
本発明の第3の態様に係る画像処理プログラムによれば、本発明の第1の態様に係る画像処理装置と同様の作用効果を得ることができる。また、本発明の第3の態様に係る画像処理プログラムは、本発明の第1の態様に係る画像処理装置と同様にして、種々の態様にて実現され得る。
【0018】
【発明の実施の形態】
以下、本発明に係る画像処理装置について以下の順序にて図面を参照しつつ、実施例に基づいて説明する。
A.画像処理システムの構成:
B.画像ファイルの構成:
C.画像出力装置の構成:
D.パーソナルコンピュータにおける画像処理:
E.その他の実施例:
【0019】
A.画像処理システムの構成:
本実施例に係る画像処理装置を適用可能な画像処理システムの構成について図1および図2を参照して説明する。図1は本実施例に係る画像処理装置を適用可能な画像処理システムの一例を示す説明図である。図2は本実施例に係る画像処理装置が出力する画像ファイル(画像データ)を生成可能なディジタルスチルカメラの概略構成を示すブロック図である。
【0020】
画像処理システム10は、画像ファイルを生成する入力装置としてのディジタルスチルカメラ12、ディジタルスチルカメラ12にて生成された画像ファイルに基づいて画像処理を実行し、印刷用画像データを出力する画像処理装置としてのパーソナルコンピュータPC、印刷用画像データを出力する出力装置としてのカラープリンタ20を備えている。画像処理装置としては、パーソナルコンピュータPCの他に、例えば、スタンドアローン型のプリンタも用いられ得る。また、出力装置としては、プリンタ20の他に、CRTディスプレイ、LCDディスプレイ等のモニタ14、プロジェクタ等が用いられ得る。以下の説明では、パーソナルコンピュータPCと接続されて用いられるカラープリンタ20を出力装置として用いるものとする。
【0021】
パーソナルコンピュータPCは、一般的に用いられているタイプのコンピュータであり、本発明に係る画像処理プログラムを実行するCPU150、CPU150における演算結果、画像データ等を一時的に格納するRAM151、画像処理プログラムを格納するハードディスクドライブ(HDD)152を備えている。パーソナルコンピュータPCは、メモリカードMCを装着するためのカードスロット153、ディジタルスチルカメラ12等からの接続ケーブルを接続するための入出力端子154を備えている。
【0022】
ディジタルスチルカメラ12は、光の情報をディジタルデバイス(CCDや光電子倍増管)に結像させることにより画像を取得するカメラであり、図2に示すように光情報を収集するためのCCD等を備える光学回路121、光学回路121を制御して画像を取得するための画像取得回路122、取得したディジタル画像を加工処理するための画像処理回路123、メモリを備えると共に各回路を制御する制御回路124を備えている。ディジタルスチルカメラ12は、取得した画像をディジタルデータとして記憶装置としてのメモリカードMCに保存する。ディジタルスチルカメラ12における画像データの保存形式としては、JPEG形式が一般的であるが、この他にもTIFF形式、GIF形式、BMP形式、RAWデータ形式等の保存形式が用いられ得る。
【0023】
ディジタルスチルカメラ12はまた、明度、コントラスト、露出補正量(露出補正値)、ホワイトバランス等の個別の画像処理制御パラメータ、および撮影条件に応じて予め複数の画像処理制御パラメータの値が設定されている撮影モードを設定するための選択・決定ボタン126、撮影画像をプレビューしたり、選択・決定ボタン126を用いて撮影モード等を設定するための液晶ディスプレイ127を備えている。
【0024】
本画像処理システム10に用いられるディジタルスチルカメラ12は、画像データGDに加えて画像データの画像処理制御情報GCを画像ファイルGFとしてメモリカードMCに格納する。すなわち、画像処理制御情報GCは、撮影時に画像データGDと共に自動的に画像ファイルGFを構成する情報としてメモリカードMCに自動的に格納される。
【0025】
ディジタルスチルカメラ12において生成された画像ファイルGFは、例えば、ケーブルCV、コンピュータPCを介して、あるいは、ケーブルCVを介してカラープリンタ20に送出される。あるいは、ディジタルスチルカメラ12にて画像ファイルGFが格納されたメモリカードMCが、メモリカード・スロットに装着されたコンピュータPCを介して、あるいは、メモリカードMCをプリンタ20に対して直接、接続することによって画像ファイルがカラープリンタ20に送出される。なお、以下の説明では、メモリカードMCがカラープリンタ20に対して直接、接続される場合に基づいて説明する。
【0026】
B.画像ファイルの構成:
図3を参照して本実施例にて用いられ得る画像ファイルの概略構成について説明する。図3は本実施例にて用いられ得る画像ファイルの内部構成の一例を概念的に示す説明図である。本実施例に係る画像ファイルGFは、例えば、ディジタルスチルカメラ用画像ファイルフォーマット規格(Exif)に従ったファイル構造を有することができる。Exifファイルの仕様は、電子情報技術産業協会(JEITA)によって定められている。
【0027】
Exifファイルとしての画像ファイルGFは、JPEG形式の画像データを格納するJPEG画像データ格納領域111と、格納されているJPEG画像データに関する各種情報を格納する付属情報格納領域112とを備えている。付属情報格納領域112には、撮影日時、露出、シャッター速度、ホワイトバランス、露出補正量、ターゲット色空間等といったJPEG画像を出力する際に参照される画像処理制御情報GCが格納されている。また、付属情報格納領域112には、画像処理制御情報GCに加えてJPEG画像データ格納領域111に格納されているJPEG画像のサムネイル画像データがTIFF形式にて格納されている。なお、当業者にとって周知であるように、Exif形式のファイルでは、各データを特定するためにタグが用いられており、各データはタグ名によって呼ばれることがある。なお、本実施例中におけるファイルの構造、データの構造、格納領域といった用語は、ファイルまたはデータ等が記憶装置内に格納された状態におけるファイルまたはデータのイメージを意味するものである。
【0028】
画像処理制御情報GCは、ディジタルスチルカメラ12等の画像データ生成装置において画像データが生成されたとき(撮影されたとき)の画質に関連する情報であり、撮影に伴い自動的に、あるいは、ユーザにより任意に設定され得る露出時間、ISO感度、絞り、シャッタースピード、焦点距離に関するパラメータ、およびユーザによって任意に設定される露出補正量、ホワイトバランス、撮影モード、画像処理時の色空間、撮影時に用いた色空間等の画像処理制御パラメータを含み得る。
【0029】
本実施例に係る上記画像ファイルGFは、ディジタルスチルカメラ12の他、ディジタルビデオカメラ、スキャナ等の入力装置(画像ファイル生成装置)によっても生成され得る。
【0030】
C.画像出力装置の構成:
図4を参照して本実施例に適用され得る画像出力装置、すなわち、カラープリンタ20の概略構成について説明する。図4は本実施例に適用され得るカラープリンタ20の概略構成を示すブロック図である。
【0031】
カラープリンタ20は、カラー画像の出力が可能なプリンタであり、例えば、シアン(C)、マゼンタ(M)、イエロ(Y)、ブラック(K)の4色の色インクを印刷媒体上に噴射してドットパターンを形成することによって画像を形成するインクジェット方式のプリンタである。あるいは、カラートナーを印刷媒体上に転写・定着させて画像を形成する電子写真方式のプリンタである。色インクには、上記4色に加えて、ライトシアン(薄いシアン、LC)、ライトマゼンタ(薄いマゼンタ、LM)、ダークイエロ(暗いイエロ、DY)を用いても良い。
【0032】
カラープリンタ20は、図示するように、キャリッジ21に搭載された印字ヘッド211を駆動してインクの吐出およびドット形成を行う機構と、このキャリッジ21をキャリッジモータ22によってプラテン23の軸方向に往復動させる機構と、紙送りモータ24によって印刷用紙Pを搬送する機構と、制御回路30とから構成されている。キャリッジ21をプラテン23の軸方向に往復動させる機構は、プラテン23の軸と並行に架設されたキャリッジ21を摺動可能に保持する摺動軸25と、キャリッジモータ22との間に無端の駆動ベルト26を張設するプーリ27と、キャリッジ21の原点位置を検出する位置検出センサ28等から構成されている。印刷用紙Pを搬送する機構は、プラテン23と、プラテン23を回転させる紙送りモータ24と、図示しない給紙補助ローラと、紙送りモータ24の回転をプラテン23および給紙補助ローラに伝えるギヤトレイン(図示省略)とから構成されている。
【0033】
制御回路30は、プリンタの操作パネル29と信号をやり取りしつつ、紙送りモータ24やキャリッジモータ22、印字ヘッド211の動きを適切に制御している。カラープリンタ20に供給された印刷用紙Pは、プラテン23と給紙補助ローラの間に挟み込まれるようにセットされ、プラテン23の回転角度に応じて所定量だけ送られる。
【0034】
キャリッジ21にはインクカートリッジ212とインクカートリッジ213とが装着される。インクカートリッジ212には黒(K)インクが収容され、インクカートリッジ213には他のインク、すなわち、シアン(C),マゼンタ(M),イエロ(Y)の3色インクの他に、ライトシアン(LC),ライトマゼンタ(LM),ダークイエロ(DY)の合計6色のインクが収納されている。
【0035】
次に図5を参照してカラープリンタ20の制御回路30の内部構成について説明する。図5は、カラープリンタ20の制御回路30の内部構成を示す説明図である。図示するように、制御回路30の内部には、CPU31,PROM32,RAM33,メモリカードMCからデータを取得するPCMCIAスロット34,紙送りモータ24やキャリッジモータ22等とデータのやり取りを行う周辺機器入出力部(PIO)35,タイマ36,駆動バッファ37等が設けられている。駆動バッファ37は、インク吐出用ヘッド214ないし220にドットのオン・オフ信号を供給するバッファとして使用される。これらは互いにバス38で接続され、相互にデータにやり取りが可能となっている。また、制御回路30には、所定周波数で駆動波形を出力する発振器39、および発振器39からの出力をインク吐出用ヘッド214ないし220に所定のタイミングで分配する分配出力器40も設けられている。
【0036】
制御回路30は、メモリカードMCから画像ファイルGFを読み出し、パーソナルコンピュータPCに対して画像ファイルGFを送信する。制御回路30は、パーソナルコンピュータPCにおいて画像処理制御情報GCに基づいて画像処理された印刷用画像データを出力するために、紙送りモータ24やキャリッジモータ22の動きと同期を採りながら、所定のタイミングでドットデータを駆動バッファ37に出力する。
【0037】
D.パーソナルコンピュータPCにおける画像処理:
図6〜図9を参照して本実施例に係るパーソナルコンピュータPCにおける画像処理について説明する。図6は本実施例に係るパーソナルコンピュータPCにおける画像処理の処理ルーチンを示すフローチャートである。図7はパーソナルコンピュータPCにおける画像処理制御情報に基づく印刷用画像処理の処理ルーチンを示すフローチャートである。図8はパーソナルコンピュータPCにおける表示用画像処理の処理ルーチンを示すフローチャートである。図9はパーソナルコンピュータPCにおける通常印刷用画像処理の処理ルーチンを示すフローチャートである。
【0038】
ディジタルスチルカメラ12にて生成された画像ファイルGFは、ケーブルを介して、あるいは、メモリカードMCを介してパーソナルコンピュータPCに対して提供される。ユーザの操作によって、HDD152にインストールされている、レタッチアプリケーション、または、プリンタドライバといった画像データ処理アプリケーション(プログラム)が起動されると、CPU150は、画像ファイルGFの読み込みを開始する。
【0039】
あるいは、メモリカードMCのカードスロット153への差込、あるいは、入出力端子154に対するケーブルを介したディジタルスチルカメラ12の接続を検知することによって、CPU150は、アプリケーションが自動的に起動させ、画像ファイルGFの読み込みを開始しても良い。
【0040】
CPU150は、例えば、メモリカードMCから画像ファイルGFを読み出すと、読み出した画像ファイルGFをRAM151に一時的に格納する(ステップS100)。CPU150は、RAM151に格納されている画像ファイルGFの付属情報格納領域112において画像処理制御タグを検索する(ステップS110)。CPU150は、画像処理制御タグを検索・発見できた場合には(ステップS110:Yes)、画像データ生成時に書き込まれた画像処理制御情報GCを取得して解析する(ステップS120)。CPU150は、解析した画像処理制御情報GCに基づいて後に詳述する画像処理を実行し(ステップS140)、画像処理が施された画像データGDをカラープリンタ20およびモニタ14に対して出力(送信)して(ステップS150)、本処理ルーチンを終了する。本実施例では、図1に示すように、カラープリンタ20に出力すべき画像データに対しては印刷用画像処理が実行され、wRGBデータ(wRGBデータからの変換により得られたCMYKデータ)が出力される。一方、モニタ14に出力すべき画像データに対しては表示用画像処理が実行され、sRGBデータが出力される。なお、カラープリンタ20に対して出力されるデータはCMYKデータであるが、画像処理時に用いられるRGB色空間の相違を説明するために図1では便宜上wRGBデータとしている。sRGB色空間とwRGB色空間との関係については後述する。
【0041】
CPU150は、画像処理制御タグを検索・発見できなかった場合には(ステップS120:No)、画像データ生成時における画像処理制御情報GCを反映させた画像処理を実行することができないので、通常の画像処理(ステップS160)を実行し、画像処理が施された画像データGDをカラープリンタ20に対して出力(送信)して(ステップS150)、本処理ルーチンを終了する。
【0042】
パーソナルコンピュータPCにおいて実行される画像処理制御情報に基づく画像処理について図7および図8を参照して詳細に説明する。本実施例におけるパーソナルコンピュータPCは、1つの画像データGDに対して、印刷用画像処理と表示用画像処理の双方を実行する。先ず、印刷用画像処理について説明する、
【0043】
パーソナルコンピュータPCのCPU150は、読み出した画像ファイルGFから画像データGDを取りだす(ステップS200)。このとき取り出された画像データGDは、コピーであり、画像処理が完了するまでは、コピーの画像データGDに対して種々の画像処理が施される。ディジタルスチルカメラ12は、既述のように画像データをJPEG形式のファイルとして保存しており、JPEGファイルでは、圧縮率を高くするためにYCbCr色空間を用いて画像データを保存している。
【0044】
CPU150は、YCrCb色空間に基づく画像データをRGB色空間に基づく画像データに変換するために3×3マトリクス演算Sを実行する(ステップS210)。マトリクス演算Sは以下に示す演算式である。
【0045】
【数1】

Figure 0004175004
【0046】
マトリクスS変換の結果、画像データは負値あるいは256以上の正値を取ることがある(8ビット階調の場合)。印刷用画像処理実行時には、CPU150は、これら負値、あるいは、256以上の正値をそのまま保持して、以降の画像処理を継続する。
【0047】
CPU150は、こうして得られたRGB色空間に基づく画像データに対して、ガンマ補正を実行する(ステップS220)。ガンマ補正を実行する際には、CPU150は画像処理制御情報GCからDSC側のガンマ値を取得し、取得したガンマ値を用いて映像データに対してガンマ変換処理を実行する。すなわち、ガンマ値も画像処理制御情報GCによって指定される画像処理制御パラメータ値に含まれる。ガンマ補正の演算式は以下の通りである。
【0048】
【数2】
Figure 0004175004
【0049】
CPU150は、ガンマ補正が実行された画像データGDに対して、原色空間とwRGB色空間とを対応付けるマトリクス演算(N-1M)を実行する(ステップS230)。本実施例において用いられる画像ファイルGFは、画像生成時における色空間情報、あるいは、画像処理時に用いられるべき色空間情報を含むことができるので、画像ファイルGFが色空間情報を含んでいる場合には、CPU150は、マトリクス演算(N-1M)を実行するに際して、色空間情報を参照し、対応するマトリクスN-1Mを求め、マトリクス演算を実行する。
【0050】
マトリクス演算(N-1M)はRGB色空間をXYZ色空間に変換するためのマトリクスMを用いるマトリクス演算Mと、wRGB色空間をXYZ色空間に変換するためのマトリクスNを用いるマトリクス演算Nの逆マトリクス演算N-1との合成マトリクスである。マトリクスMは、sRGB色空間の表色域内には含まれないが、データとしては有効な画像データ(色彩値)を反映して、RGB色空間に基づく画像データを、XYZ色空間に基づく画像データに変換するためのマトリクスである。マトリクスMのマトリクス値は色空間情報にしたがって決定される。マトリクスNの逆マトリクスNは、マトリクス演算MによってXYZ色空間に基づく画像データに変換された画像データをsRGB色空間よりも広い定義領域を有するwRGB色空間に変換(RGB色空間に戻す)ためのマトリクスである。XYZ色空間は、機器の出力特性に依存しない機器独立色空間の1つであり、RGB色空間とwRGB色空間との間における色彩値の対応付けを行うために用いられる。マトリクス演算(N-1M)は以下に示す演算式である。
【0051】
【数3】
Figure 0004175004
【0052】
マトリクス演算(N-1M)の実行後に得られる画像データGDの色空間はsRGB色空間よりも広い定義領域を有するwRGB色空間である。従来は、プリンタまたはコンピュータにおける画像処理に際して用いられる色空間はsRGBに固定されており、ディジタルスチルカメラ12の有する色空間を有効に活用することができなかった。これに対して、本実施例では、画像ファイルGFに色空間情報が含まれている場合には、色空間情報に対応してマトリクス演算Mに用いられるマトリクス(N-1M)を変更するので、ディジタルスチルカメラ12の有する色空間を有効に活用して、正しい色再現を実現することができる。
【0053】
CPU150は、マトリクス演算(N-1M)により得られた画像データに対して逆ガンマ補正を実行する(ステップS240)。ガンマ補正を実行する際には、CPU150はHDD152からプリンタ側のデフォルトのガンマ値を取得し、取得したガンマ値の逆数を用いて画像データGDに対して逆ガンマ変換処理を実行する。逆ガンマ補正に用いられる演算式は以下の通りである。
【0054】
【数4】
Figure 0004175004
【0055】
CPU150は、逆ガンマ補正が施された画像データGDに対して画像画質の自動調整処理を実行する(ステップS250)。本実施例における画質自動調整処理では、画像ファイルGFに含まれている画像データGDを解析して画質を示す特性パラメータ値を取得し、画像ファイルGFに含まれている画像処理制御情報GC、取得した特性パラメータ値を反映にて画像データを補正する画質の自動調整が実行される。画質自動調整処理では、補正の目標となるべき基準パラーメータを予め定めておき、基準パラメータに対して画像データの特性パラメータが近づけるように、あるいは一致するように画像データを補正する。このとき、画像処理制御情報GCは、基準パラメータの値を変更するために用いられても良く、あるいは、基準パラメータの値に対して特性パラーメータの値を近づける程度を変更するために用いられても良い。
【0056】
画像データの補正は、例えば、明度、コントラスト、カラーバランス等については、一般的にトーンカーブと呼ばれる、RGB信号の入力レベルと出力レベルとを関連づける特性線を用いて各画素(ピクセル)単位で実行される。また、例えば、彩度、シャープネス、ノイズ低減等については、トーンカーブ処理ではなくピクセル演算処理(フィルタ処理)がピクセル単位で実行される。
【0057】
CPU150は、画質自動調整処理を終了すると、印刷用データを生成するためにwRGB−CMYK色変換処理を実行する(ステップS260)。なお、ここまでのコピー画像データGDに対する画像処理の結果をオリジナル画像データGDに反映させる場合には、画像データの上書きを選択することにより実現される。wRGB色変換処理では、CPU150は、HDD152内に格納されている、wRGB色空間をCMYK色空間に関連づける変換用ルックアップテーブル(LUT)を参照し、画像データの色空間をwRGB色空間からCMYK色空間へ変更する。すなわち、R・G・Bの階調値からなる画像データをカラープリンタ20で使用する、例えば、C・M・Y・K・LC・LMの各6色の階調値のデータに変換する。
【0058】
CPU150は、ハーフトーン処理を実行し(ステップS270)、図6に示すルーチンにリターンする。ハーフトーン処理では、色変換済みの画像データを受け取って、階調数変換処理を行う。本実施例においては、色変換後の画像データは各色毎に256階調幅を持つデータとして表現されている。これに対し、本実施例のカラープリンタ20では、「ドットを形成する」,「ドットを形成しない」のいずれかの状態しか採り得ず、本実施例のカラープリンタ20は局所的には2階調しか表現し得ない。そこで、256階調を有する画像データを、カラープリンタ20が表現可能な2階調で表現された画像データに変換する。この2階調化(2値化)処理の代表的な方法として、誤差拡散法と呼ばれる方法と組織的ディザ法と呼ばれる方法とがある。
【0059】
カラープリンタ20では、色変換処理に先立って、画像データの解像度が印刷解像度よりも低い場合は、線形補間を行って隣接画像データ間に新たなデータを生成し、逆に印刷解像度よりも高い場合は、一定の割合でデータを間引くことによって、画像データの解像度を印刷解像度に変換する解像度変換処理を実行する。また、カラープリンタ20は、ドットの形成有無を表す形式に変換された画像データを、カラープリンタ20に転送すべき順序に並べ替えてるインターレス処理を実行する。
【0060】
次に、パーソナルコンピュータPCにおいて実行される表示用画像処理について図8を参照して説明する。なお、各ステップにおいて実行される処理のうち、図7を参照して説明した印刷用画像処理における処理と同様の処理については、簡単に説明するにとどめる。パーソナルコンピュータPCのCPU150は、読み出した画像ファイルGFから画像データGDを取りだす(ステップS300)。表示用の画像データの画像処理においては、オリジナルの画像データGDに対する上書き等は実施されず、常にコピーの画像データに対して画像処理が実行される。CPU150は、YCrCb色空間に基づく画像データをRGB色空間に基づく画像データに変換するために3×3マトリクス演算Sを実行する(ステップS310)。マトリクス演算Sは既述の演算式である。CPU150は、マトリクス演算Sによって得られた画像データをsRGB色空間の表色域内にクリッピングする(ステップS320)。したがって、例えば、マトリクスS変換後に得られた画像データ(RGBデータ)に負値が含まれていた場合には0に、256以上の値が含まれていた場合には255に丸められる。
【0061】
CPU150は、マトリクス演算Sの実行により得られたsRGB色空間に基づく画像データGDに対して、画像画質の自動調整処理を実行し(ステップS330)、図6に示すルーチンにリターンする。このように、CRT等のモニタ14に対して出力する画像データGDに対しては、wRGB色空間への色空間変換処理を実行せず、画像データGDの色空間をsRGB色空間のまま維持する。
【0062】
次に、パーソナルコンピュータPCにおいて実行される通常画像処理について図9を参照して詳細に説明する。なお、各ステップにおいて実行される処理のうち、図7を参照して説明した拡張画像処理における処理と同様の処理については、簡単に説明するにとどめる。パーソナルコンピュータPCのCPU150は、読み出した画像ファイルGFから画像データGDを取りだす(ステップS400)。CPU150は、YCrCb色空間に基づく画像データをRGB色空間に基づく画像データに変換するために3×3マトリクス演算Sを実行する(ステップS410)。マトリクス演算Sは既述の演算式である。CPU150は、マトリクス演算Sによって得られた画像データをsRGB色空間の表色域内にクリッピングする(ステップS420)。したがって、例えば、マトリクスS変換後に得られた画像データ(RGBデータ)に負値が含まれていた場合には0に、256以上の値が含まれていた場合には255に丸められる。
【0063】
CPU31は、マトリクス演算Sにより得られた画像データに対して画像画質の自動調整処理を実行し(ステップS430)、印刷のためのsRGB−CMYK色変換処理を実行する(ステップS440)。本処理ルーチンは、画像ファイルGFから画像データ生成時に設定された色空間を取得できない場合、すなわち、画像処理制御タグを発見できない場合に実行されるので、通常の、sRGB−CMYK色変換テーブルが用いられる。最後に、CPU31は、ハーフトーン処理を実行し(ステップS450)、図6に示すメインルーチンにリターンする。
【0064】
CPU150は、通常画像処理を実行する際にも、カラープリンタ20に対して送信する画像データGDと、CRT等のモニタ14に対して送信する画像データGDとに対して別々に画像処理を実行する。表示用画像処理は、図8を用いて説明した画像処理制御情報に基づく画像処理における処理と同様にして実行されるので、その説明を省略する。
【0065】
以上、説明したように本実施例におけるパーソナルコンピュータPCによれば、出力可能な色空間領域が異なるカラープリンタ20およびCRT等のモニタ14に対して送信する画像データGDに対して、各出力装置14、20の出力可能な色空間領域に合わせて別個に画像処理を実行することができる。したがって、各出力装置14、20が表示可能な色空間領域を全域に亘って利用することが可能となり、各出力装置14、20において彩度を維持したまま画像を出力することができる。
【0066】
例えば、カラープリンタ20が、モニタ14によって出力可能な色空間であるsRGB色空間よりも広い定義領域を有するwRGB色空間に基づいて画像データGDを再現できる場合、wRGB色空間に基づく画像データGDをモニタ14にて出力すると、wRGB色空間の定義領域のうち、sRGB色空間の定義領域と重複する領域のみがモニタ14上にて表示され得る。この結果、モニタ14上に表示される画像データGDの彩度が浅くなり、画像データGDの色彩は薄く、くすんで表示される。これに対して、本実施例では、モニタ14によって表示される画像データGDに対しては、wRGB色空間への色空間変換を実行せず、画像データGDの色空間をsRGB色空間に維持することができるので、モニタ14上に表示される画像データGDの色彩は鮮やかに表示され得る。
【0067】
したがって、同一画像データGDに対するカラープリンタ20における出力結果とモニタ14における出力結果の相違が低減され、違和感のない画像処理を実現することができる。また、カラープリンタ20とモニタ14の出力特性の相違を経験的に習得することなくして、適切な画像処理を実現することができる。
【0068】
F.その他の実施例:
上記実施例では、パーソナルコンピュータPCにおいて、カラープリンタ20およびモニタ14に対して出力する画像データGDの画像処理を実行したが、カラープリンタ20に小型の表示装置が備えられている場合には、全ての画像処理をカラープリンタ20にて実行しても良い。かかる場合には、カラープリンタ20によって、画像データGDの画像処理、画像処理が実行された画像データの表示、画像処理が実行された画像データGDの印刷の全ての実現することができる。また、画像処理の全て、または、一部をネットワークを介したサーバ上で実行するようにしても良い。
【0069】
以上、実施例に基づき本発明に係る画像処理装置、画像処理方法、画像処理プログラム、画像出力装置を説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれることはもちろんである。
【0070】
上記実施例では、画像処理制御情報GCとして、光源、露出補正量、ターゲット色空間、明るさ、シャープネスといったパラメータを用いているが、本実施例では、少なくともターゲット色空間(画像生成時の色空間または目標とする色空間)が含まれていれば良く、どのパラメータを画像処理制御情報GCとして用いるかは任意の決定事項である。
【0071】
また、各数式におけるマトリクスS、N-1Mの値は例示に過ぎず、ターゲットとする色空間、あるいは、カラープリンタ20において利用可能な色空間等によって適宜変更され得ることはいうまでもない。
【0072】
上記実施例では、画像ファイル生成装置としてディジタルスチルカメラ12を用いて説明したが、この他にもスキャナ、ディジタルビデオカメラ等が用いられ得る。スキャナを用いる場合には、画像ファイルGFの取り込みデータ情報の指定はコンピュータPC上で実行されても良く、あるいは、スキャナ上に情報設定用に予め設定情報が割り当てられているプリセットボタン、任意設定のための表示画面および設定用ボタンを供えておき、スキャナ単独で実行可能にしてもよい。
【0073】
上記実施例では、画像ファイルGFの具体例としてExif形式のファイルを例にとって説明したが、本発明に係る画像ファイルの形式はこれに限られない。すなわち、画像データ生成装置において生成された画像データと、画像データの生成時条件(情報)を記述する画像処理制御情報GCとが含まれている画像ファイルであれば良い。このようなファイルであれば、画像ファイル生成装置において生成された画像データの画質を、適切に自動調整して出力装置から出力することができる。
【0074】
上記実施例では、画像データGDと画像処理制御情報GCとが同一の画像ファイルGFに含まれる場合を例にとって説明したが、画像データGDと画像処理制御情報GCとは、必ずしも同一のファイル内に格納される必要はない。すなわち、画像データGDと画像処理制御情報GCとが関連付けられていれば良く、例えば、画像データGDと画像処理制御情報GCとを関連付ける関連付けデータを生成し、1または複数の画像データと画像処理制御情報GCとをそれぞれ独立したファイルに格納し、画像データGDを処理する際に関連付けられた画像処理制御情報GCを参照しても良い。かかる場合には、画像データと画像処理制御情報GCとが別ファイルに格納されているものの、画像処理制御情報GCを利用する画像処理の時点では、画像データおよび画像処理制御情報GCとが一体不可分の関係にあり、実質的に同一のファイルに格納されている場合と同様に機能するからである。すなわち、少なくとも画像処理の時点において、画像データと画像処理制御情報GCとが関連付けられて用いられる態様は、本実施例における画像ファイルGFに含まれる。さらに、CD−ROM、CD−R、DVD−ROM、DVD−RAM等の光ディスクメディアに格納されている動画像ファイルも含まれる。
【図面の簡単な説明】
【図1】本実施例に係る画像処理装置を適用可能な画像データ処理システムの一例を示す説明図である。
【図2】本実施例に係る画像処理装置が処理する画像ファイル(画像データ)を生成可能なディジタルスチルカメラの概略構成を示すブロック図である。
【図3】本実施例において用いられ得るExifファイル形式にて格納されている画像ファイルの概略的な内部構造を示す説明図である。
【図4】本実施例におけるカラープリンタ20の概略構成を示すブロック図である。
【図5】本実施例に係るカラープリンタ20の制御回路30の内部構成を示す説明図である。
【図6】本実施例に係るパーソナルコンピュータPCにおける画像処理の処理ルーチンを示すフローチャートである。
【図7】パーソナルコンピュータPCにおける画像処理制御情報に基づく印刷用画像処理の処理ルーチンを示すフローチャートである。
【図8】パーソナルコンピュータPCにおける表示用画像処理の処理ルーチンを示すフローチャートである。
【図9】パーソナルコンピュータPCにおける通常印刷用画像処理の処理ルーチンを示すフローチャートである。
【符号の説明】
10…画像処理システム
12…ディジタルスチルカメラ
121…光学回路
122…画像取得回路
123…画像処理回路
124…制御回路
126…選択・決定ボタン
127…液晶ディスプレイ
14…ディスプレイ
150…CPU
151…RAM
152…HDD
153…カードスロット
154…入出力端子
20…カラープリンタ
21…キャリッジ
211…印字ヘッド
212…インクカートリッジ
213…インクカートリッジ
214〜220…インク吐出用ヘッド
22…キャリッジモータ
23…プラテン
24…紙送りモータ
25…摺動軸
26…駆動ベルト
27…プーリ
28…位置検出センサ
29…操作パネル
30…制御回路
31…演算処理装置(CPU)
32…プログラマブルリードオンリメモリ(PROM)
33…ランダムアクセスメモリ(RAM)
34…PCMCIAスロット
35…周辺機器入出力部(PIO)
36…タイマ
37…駆動バッファ
38…バス
39…発振器
40…分配出力器
GF…画像ファイル(Exifファイル)
111…JPEG画像データ格納領域
112…付属情報格納領域
MC…メモリカード[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus and an image processing method using an image file.
[0002]
[Prior art]
In an apparatus that handles digital data such as a personal computer, a display, and a printer, the sRGB color space is used as a standard color space as a color space that represents image data. The sRGB color space is a color space that takes into account the output characteristics of a CRT display. For example, image data generated in an input device such as a digital still camera (DSC) is defined by a color space wider than the sRGB color space. Even in such a case, the color of the image data may not be reproduced correctly as long as the output device adopts a color space based on the sRGB color space.
[0003]
To solve this problem, a technique for outputting (reproducing) image data through color conversion processing to a wide RGB color space having a definition area wider than the sRGB color space in addition to the sRGB color space has been proposed. According to such a technique, the color of the image data generated in the input device can be correctly reproduced in the output device.
[0004]
[Problems to be solved by the invention]
Generally, in image processing by arbitrary adjustment by a user, image processing is executed while confirming the result of image processing displayed on a display such as a CRT display. Even when the image processing is automatically executed by an application or a printer driver, the print processing is executed after the image processing result is previewed prior to printing. However, since the color space area that can be output differs between the printing device and the display device, the image processing result displayed on the display display and the image obtained by printing are the same even for the same image data. May look different.
[0005]
Therefore, even if image processing that undergoes color conversion processing to a wide RGB color space having a definition area wider than the sRGB color space can be executed, there is a difference between the output result on the display device and the output result on the printing device. As long as there is, there is a problem that the color conversion process to the wide RGB color space cannot be utilized. For example, when the user arbitrarily performs image processing, the user cannot perform desired image processing unless he / she learns empirically the difference between the output result on the display device and the output result on the printing device. There is. Further, even when the image processing is automatically executed, there is a problem that the difference between the output result on the display device and the output result on the printing device gives a sense of incongruity to the user.
[0006]
SUMMARY An advantage of some aspects of the invention is to reduce a difference between an output result of image data on a display device and an output result of a printing device.
[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 an image processing apparatus that performs image processing on image data. The image processing apparatus according to the first aspect of the present invention executes image processing on the image data using image processing control information that is associated with the image data and controls image processing of the image data. Image processing for image data is performed in consideration of color reproduction characteristics of a display device different from a printing image data generation unit that generates image data for printing and an output device that outputs the printing image data, and a display image And display image data generating means for generating data.
[0008]
According to the image processing apparatus of the first aspect of the present invention, the printing image data generating means for generating the printing image data, and the display for generating the display image data in consideration of the color reproduction characteristics of the display device. Since the image data generating means is provided, the difference between the output result of the image data in the display device and the output result in the printing device can be reduced.
[0009]
In the image processing apparatus according to the first aspect of the present invention, the image processing control information includes color space information that is information relating to a color space at the time of image data generation, and the image data generation means for printing is used. The image processing to be executed reflects the color space information and includes the color space of the image data from the first color space and the image data at the time of generating the image data in the definition area and the first data space. The image processing executed by the display image data generation means includes color processing that converts to a second color space having a definition area wider than the color space, and performs image processing that considers the image processing control information. At the same time, regardless of the color space information, it involves color space conversion for converting the color space of the image data from the first color space to a third color space that can be reproduced by the display device. And it may be. In such a configuration, the print image data can be defined by the second color space that can represent the image data at the time of generating the image data, and the display device reproduces the display image data. It can be defined by a possible third color space. Therefore, both the printing image data and the display image data can be output more vividly.
[0010]
In the image processing apparatus according to the first aspect of the present invention, the image processing control information includes color space information that is information relating to a color space to be used during image data processing, and generates the print image data. The image processing executed by the means reflects the color space information, includes the color space of the image data from the first color space, and includes the image data at the time of generating the image data in the definition area and the The image processing executed by the display image data generation means is accompanied by color space conversion for converting to a second color space having a definition area wider than the first color space, and the image processing control information is taken into account. A color space that involves processing and converts the color space of the image data from the first color space to a third color space that can be reproduced by the display device regardless of the color space information. It may be accompanied by a conversion. When such a configuration is provided, the image data for printing can be subjected to image processing in a second color space that can be reproduced by a printing apparatus having a reproduction range wider than that of the display apparatus in at least a part of the area. The display image data can be subjected to image processing in a third color space that can be reproduced by the display device. Therefore, both the printing image data and the display image data can be output more vividly.
[0011]
In the image processing device according to the first aspect of the present invention, the third color space is an sRGB color space, and the second color space is a wRGB color space having a definition area wider than the sRGB color space. When the first color space is an sRGB color space, the display image data generation means does not need to perform color space conversion from the first color space to the third color space. good. When the image data to be subjected to image processing is originally image data based on the sRGB color space, it is image data based on an appropriate color space as display image data, and therefore color space conversion processing is not executed. Therefore, the time required for image processing can be shortened.
[0012]
In the image processing device according to the first aspect of the present invention, when the image data for printing generation unit cannot use the image processing control information, the color space of the image data is changed to the first color space. When the image data for printing is generated by executing image processing while being held, and the display image data generating unit determines that the image processing control information is not included in the image file, The display image data may be generated by executing image processing while maintaining the color space of the image data in the first color space. When the image processing control information is not included in the image file, it is unclear to which color space the color space of the image data can be converted. However, by providing the above configuration, an erroneous color space conversion process is performed. It is possible to prevent this, and to perform image processing excluding color space conversion processing.
[0013]
In the image processing apparatus according to the first aspect of the present invention, the first color space may be an sRGB color space. Furthermore, the image processing apparatus according to the first aspect of the present invention includes a printing image data transmission unit that transmits the generated printing image data to the printing apparatus, and transmits the generated display image data to the display apparatus. Display image data transmission means for performing display. In such a case, image data can be transmitted from the image processing apparatus to the display apparatus and the printing apparatus.
[0014]
A second aspect of the present invention provides an image processing method for image data. According to a second aspect of the present invention, there is provided an image processing method that executes image processing on the image data using image processing control information that is associated with the image data and controls image processing of the image data. Generating image data, generating image data for display by executing image processing on the image data in consideration of the image processing control information and the color reproduction characteristics of the display device, and generating the print image data The display image data is transmitted to a printing apparatus, and the generated display image data is transmitted to the display apparatus.
[0015]
According to the image processing method according to the second aspect of the present invention, it is possible to obtain the same operational effects as those of the image processing apparatus according to the first aspect of the present invention. The image processing method according to the second aspect of the present invention can be realized in various aspects in the same manner as the image processing apparatus according to the first aspect of the present invention.
[0016]
A third aspect of the present invention provides an image processing program for executing image processing on image data. An image processing program according to a third aspect of the present invention executes image processing on the image data using image processing control information that is associated with the image data and controls image processing of the image data, and is printed. A function of generating image data for display and executing image processing on the image data in consideration of the image processing control information and color reproduction characteristics of the display device to generate display image data, and the generated printing image A function of transmitting data to a printing apparatus and a function of transmitting the generated display image data to a display apparatus are realized by a computer.
[0017]
According to the image processing program of the third aspect of the present invention, it is possible to obtain the same effects as those of the image processing apparatus according to the first aspect of the present invention. Further, the image processing program according to the third aspect of the present invention can be realized in various aspects in the same manner as the image processing apparatus according to the first aspect of the present invention.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an image processing apparatus according to the present invention will be described based on examples with reference to the drawings in the following order.
A. Image processing system configuration:
B. Image file structure:
C. Image output device configuration:
D. Image processing on a personal computer:
E. Other examples:
[0019]
A. Image processing system configuration:
The configuration of an image processing system to which the image processing apparatus according to this embodiment can be applied will be described with reference to FIGS. FIG. 1 is an explanatory diagram illustrating an example of an image processing system to which the image processing apparatus according to the present embodiment can be applied. FIG. 2 is a block diagram illustrating a schematic configuration of a digital still camera capable of generating an image file (image data) output from the image processing apparatus according to the present embodiment.
[0020]
An image processing system 10 is a digital still camera 12 as an input device that generates an image file, an image processing device that executes image processing based on an image file generated by the digital still camera 12 and outputs image data for printing And a color printer 20 as an output device for outputting image data for printing. As the image processing apparatus, for example, a stand-alone printer can be used in addition to the personal computer PC. In addition to the printer 20, a monitor 14 such as a CRT display or 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 20 connected to the personal computer PC is used as the output device.
[0021]
The personal computer PC is a commonly used type of computer. The CPU 150 executes an image processing program according to the present invention, the RAM 151 that temporarily stores calculation results in the CPU 150, image data, and the like, and the image processing program. A hard disk drive (HDD) 152 for storage is provided. The personal computer PC includes a card slot 153 for mounting a memory card MC, and an input / output terminal 154 for connecting a connection cable from the digital still camera 12 or the like.
[0022]
The digital still camera 12 is a camera that acquires an image by imaging light information on a digital device (CCD or photomultiplier tube), and includes a CCD or the like for collecting optical information as shown in FIG. An optical circuit 121, an image acquisition circuit 122 for acquiring an image by controlling the optical circuit 121, an image processing circuit 123 for processing the acquired digital image, and a control circuit 124 including a memory and controlling each circuit I have. The digital still camera 12 stores the acquired image as digital data in a memory card MC as a storage device. As a storage format of image data in the digital still camera 12, the JPEG format is generally used, but other storage formats such as a TIFF format, a GIF format, a BMP format, and a RAW data format can be used.
[0023]
The digital still camera 12 also has individual image processing control parameters such as brightness, contrast, exposure correction amount (exposure correction value), white balance, and a plurality of image processing control parameter values set in advance in accordance with shooting conditions. A selection / determination button 126 for setting a shooting mode, and a liquid crystal display 127 for previewing a shot image and setting a shooting mode and the like using the selection / determination button 126.
[0024]
The digital still camera 12 used in the image processing system 10 stores image processing control information GC of image data in the memory card MC as an image file GF in addition to the image data GD. That is, the image processing control information GC is automatically stored in the memory card MC as information that automatically constitutes the image file GF together with the image data GD at the time of shooting.
[0025]
The image file GF generated in the digital still camera 12 is sent to the color printer 20 via, for example, the cable CV, the computer PC, or via the cable CV. Alternatively, the memory card MC in which the image file GF is stored by the digital still camera 12 is connected to the printer 20 via the computer PC mounted in the memory card slot or directly to the printer 20. As a result, the image file is sent to the color printer 20. In the following description, the case where the memory card MC is directly connected to the color printer 20 will be described.
[0026]
B. Image file structure:
A schematic configuration of an image file that can be used in this embodiment will be described with reference to FIG. FIG. 3 is an explanatory diagram conceptually showing an example of the internal configuration of an image file that can be used in this embodiment. The image file GF according to the present embodiment can have a file structure in accordance with, for example, a digital still camera image file format standard (Exif). Exif file specifications are defined by the Japan Electronics and Information Technology Industries Association (JEITA).
[0027]
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 information related to the stored JPEG image data. The attached information storage area 112 stores image processing control information GC that is referred to when outputting a JPEG image such as a shooting date / time, exposure, shutter speed, white balance, exposure correction amount, target color space, and the like. Further, in the attached information storage area 112, in addition to the image processing control information GC, thumbnail image data of JPEG images stored in the JPEG image data storage area 111 is stored in the TIFF format. As is well known to those skilled in the art, in an Exif format file, tags are used to identify each data, and each data may be called by a tag name. 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.
[0028]
The image processing control information GC is information related to the image quality when image data is generated (taken) in an image data generation device such as the digital still camera 12, and is automatically associated with the shooting or the user Parameters related to exposure time, ISO sensitivity, aperture, shutter speed, focal length, and exposure correction amount, white balance, shooting mode, color space during image processing, and shooting Image processing control parameters such as a color space that has been stored.
[0029]
The image file GF according to the present embodiment can be generated not only by the digital still camera 12 but also by an input device (image file generation device) such as a digital video camera or a scanner.
[0030]
C. Image output device configuration:
With reference to FIG. 4, a schematic configuration of an image output apparatus that can be applied to the present embodiment, that is, the color printer 20 is described. FIG. 4 is a block diagram showing a schematic configuration of a color printer 20 that can be applied to this embodiment.
[0031]
The color printer 20 is a printer capable of outputting a color image, and, for example, ejects four color inks of cyan (C), magenta (M), yellow (Y), and black (K) onto a print medium. This is an ink jet printer that forms an image by forming a dot pattern. Alternatively, it is an electrophotographic printer that forms an image by transferring and fixing color toner onto a printing medium. In addition to the above four colors, light cyan (light cyan, LC), light magenta (light magenta, LM), and dark yellow (dark yellow, DY) may be used as the color ink.
[0032]
As shown in the figure, the color printer 20 drives a print head 211 mounted on a carriage 21 to eject ink and form dots, and the carriage 21 is reciprocated in the axial direction of a platen 23 by a carriage motor 22. A mechanism for conveying the printing paper P by the paper feed motor 24, and a control circuit 30. The mechanism for reciprocating the carriage 21 in the axial direction of the platen 23 is an endless drive between the carriage motor 22 and the slide shaft 25 that slidably holds the carriage 21 laid in parallel with the axis of the platen 23. A pulley 27 that stretches the belt 26, a position detection sensor 28 that detects the origin position of the carriage 21, and the like. The mechanism for transporting the printing paper P includes a platen 23, a paper feed motor 24 that rotates the platen 23, a paper feed auxiliary roller (not shown), and a gear train that transmits the rotation of the paper feed motor 24 to the platen 23 and the paper feed auxiliary roller. (Not shown).
[0033]
The control circuit 30 appropriately controls the movement of the paper feed motor 24, the carriage motor 22, and the print head 211 while exchanging signals with the operation panel 29 of the printer. The printing paper P supplied to the color printer 20 is set so as to be sandwiched between the platen 23 and the paper feed auxiliary roller, and is fed by a predetermined amount according to the rotation angle of the platen 23.
[0034]
An ink cartridge 212 and an ink cartridge 213 are mounted on the carriage 21. The ink cartridge 212 contains black (K) ink, and the ink cartridge 213 contains light cyan (LC) in addition to other inks, that is, three color inks of cyan (C), magenta (M), and yellow (Y). ), Light magenta (LM), and dark yellow (DY).
[0035]
Next, the internal configuration of the control circuit 30 of the color printer 20 will be described with reference to FIG. FIG. 5 is an explanatory diagram showing the internal configuration of the control circuit 30 of the color printer 20. As shown in the figure, the control circuit 30 includes a CPU 31, a PROM 32, a RAM 33, a PCMCIA slot 34 for acquiring data from the memory card MC, a peripheral device input / output for exchanging data with the paper feed motor 24, the carriage motor 22, and the like. A unit (PIO) 35, a timer 36, a drive buffer 37, and the like are provided. The drive buffer 37 is used as a buffer for supplying dot on / off signals to the ink ejection heads 214 to 220. These are connected to each other via a bus 38 and can exchange data with each other. The control circuit 30 is also provided with an oscillator 39 that outputs a drive waveform at a predetermined frequency, and a distribution output device 40 that distributes the output from the oscillator 39 to the ink ejection heads 214 to 220 at a predetermined timing.
[0036]
The control circuit 30 reads the image file GF from the memory card MC and transmits the image file GF to the personal computer PC. The control circuit 30 synchronizes with the movements of the paper feed motor 24 and the carriage motor 22 in order to output image data for printing processed based on the image processing control information GC in the personal computer PC. The dot data is output to the drive buffer 37.
[0037]
D. Image processing on personal computer PC:
Image processing in the personal computer PC according to this embodiment will be described with reference to FIGS. FIG. 6 is a flowchart showing a processing routine of image processing in the personal computer PC according to the present embodiment. FIG. 7 is a flowchart showing a processing routine of image processing for printing based on image processing control information in the personal computer PC. FIG. 8 is a flowchart showing a display image processing routine in the personal computer PC. FIG. 9 is a flowchart showing a processing routine of image processing for normal printing in the personal computer PC.
[0038]
The image file GF generated by the digital still camera 12 is provided to the personal computer PC via a cable or a memory card MC. When an image data processing application (program) such as a retouch application or a printer driver installed in the HDD 152 is activated by a user operation, the CPU 150 starts reading the image file GF.
[0039]
Alternatively, by detecting the insertion of the memory card MC into the card slot 153 or the connection of the digital still camera 12 via the cable to the input / output terminal 154, the CPU 150 causes the application to automatically start and the image file You may start reading GF.
[0040]
For example, when reading the image file GF from the memory card MC, the CPU 150 temporarily stores the read image file GF in the RAM 151 (step S100). The CPU 150 searches for an image processing control tag in the attached information storage area 112 of the image file GF stored in the RAM 151 (step S110). When the image processing control tag can be searched and found (step S110: Yes), the CPU 150 acquires and analyzes the image processing control information GC written at the time of image data generation (step S120). The CPU 150 executes image processing to be described in detail later based on the analyzed image processing control information GC (step S140), and outputs (transmits) the image data GD subjected to the image processing to the color printer 20 and the monitor 14. (Step S150), and this processing routine is terminated. In this embodiment, as shown in FIG. 1, image processing for printing is performed on image data to be output to the color printer 20, and wRGB data (CMYK data obtained by conversion from wRGB data) is output. Is done. On the other hand, display image processing is executed on the image data to be output to the monitor 14, and sRGB data is output. The data output to the color printer 20 is CMYK data, but in order to explain the difference in the RGB color space used during image processing, FIG. 1 uses wRGB data for convenience. The relationship between the sRGB color space and the wRGB color space will be described later.
[0041]
If the image processing control tag cannot be searched / discovered (step S120: No), the CPU 150 cannot execute the image processing reflecting the image processing control information GC at the time of image data generation. Image processing (step S160) is executed, the image data GD subjected to the image processing is output (transmitted) to the color printer 20 (step S150), and this processing routine is terminated.
[0042]
Image processing based on image processing control information executed in the personal computer PC will be described in detail with reference to FIGS. The personal computer PC in the present embodiment executes both the printing image processing and the display image processing for one image data GD. First, image processing for printing will be described.
[0043]
The CPU 150 of the personal computer PC extracts the image data GD from the read image file GF (step S200). The image data GD extracted at this time is a copy, and various image processing is performed on the copy image data GD until the image processing is completed. The digital still camera 12 stores image data as a JPEG file as described above, and the JPEG file stores image data using the YCbCr color space in order to increase the compression rate.
[0044]
The CPU 150 executes a 3 × 3 matrix operation S in order to convert image data based on the YCrCb color space into image data based on the RGB color space (step S210). The matrix operation S is an arithmetic expression shown below.
[0045]
[Expression 1]
Figure 0004175004
[0046]
As a result of the matrix S conversion, the image data may take a negative value or a positive value of 256 or more (in the case of 8-bit gradation). When executing the printing image processing, the CPU 150 maintains these negative values or positive values of 256 or more as they are, and continues the subsequent image processing.
[0047]
The CPU 150 executes gamma correction on the image data based on the RGB color space thus obtained (step S220). When executing gamma correction, the CPU 150 acquires the gamma value on the DSC side from the image processing control information GC, and executes gamma conversion processing on the video data using the acquired gamma value. That is, the gamma value is also included in the image processing control parameter value specified by the image processing control information GC. The calculation formula for gamma correction is as follows.
[0048]
[Expression 2]
Figure 0004175004
[0049]
The CPU 150 performs a matrix operation (N) for associating the primary color space and the wRGB color space with the image data GD subjected to the gamma correction. -1 M) is executed (step S230). The image file GF used in the present embodiment can include color space information at the time of image generation or color space information to be used at the time of image processing. Therefore, when the image file GF includes color space information. The CPU 150 uses a matrix operation (N -1 When executing M), the color space information is referred to and the corresponding matrix N -1 M is obtained and matrix calculation is executed.
[0050]
Matrix operation (N -1 M) is an inverse matrix operation N of a matrix operation M using a matrix M for converting the RGB color space to the XYZ color space and a matrix operation N using the matrix N for converting the wRGB color space to the XYZ color space. -1 Is a composite matrix. Although the matrix M is not included in the color gamut of the sRGB color space, the image data based on the RGB color space is converted into image data based on the XYZ color space by reflecting valid image data (color values) as data. It is a matrix for converting to. The matrix value of the matrix M is determined according to the color space information. The inverse matrix N of the matrix N is used for converting (returning to the RGB color space) image data converted into image data based on the XYZ color space by the matrix operation M into a wRGB color space having a definition area wider than the sRGB color space. Matrix. The XYZ color space is one of device-independent color spaces that do not depend on the output characteristics of the device, and is used to associate color values between the RGB color space and the wRGB color space. Matrix operation (N -1 M) is an arithmetic expression shown below.
[0051]
[Equation 3]
Figure 0004175004
[0052]
Matrix operation (N -1 The color space of the image data GD obtained after the execution of M) is a wRGB color space having a definition area wider than the sRGB color space. Conventionally, the color space used for image processing in a printer or computer is fixed to sRGB, and the color space of the digital still camera 12 cannot be used effectively. On the other hand, in the present embodiment, when color space information is included in the image file GF, a matrix (N -1 Since M) is changed, correct color reproduction can be realized by effectively utilizing the color space of the digital still camera 12.
[0053]
The CPU 150 performs matrix calculation (N -1 Inverse gamma correction is performed on the image data obtained in step M) (step S240). When executing gamma correction, the CPU 150 acquires a default gamma value on the printer side from the HDD 152, and executes inverse gamma conversion processing on the image data GD using the inverse of the acquired gamma value. The calculation formula used for inverse gamma correction is as follows.
[0054]
[Expression 4]
Figure 0004175004
[0055]
The CPU 150 executes automatic image quality adjustment processing on the image data GD subjected to inverse gamma correction (step S250). In the image quality automatic adjustment processing in the present embodiment, the image data GD included in the image file GF is analyzed to acquire a characteristic parameter value indicating the image quality, and the image processing control information GC included in the image file GF is acquired. The automatic adjustment of the image quality is performed to correct the image data by reflecting the characteristic parameter value. In the automatic image quality adjustment processing, reference parameters to be corrected are determined in advance, and the image data is corrected so that the characteristic parameters of the image data are close to or match the reference parameters. At this time, the image processing control information GC may be used for changing the value of the reference parameter, or may be used for changing the degree of approaching the value of the characteristic parameter to the value of the reference parameter. good.
[0056]
Image data correction, for example, for brightness, contrast, color balance, etc., is performed for each pixel (pixel) using a characteristic line that associates the input level and output level of an RGB signal, generally called a tone curve. Is done. Further, for example, for saturation, sharpness, noise reduction, etc., pixel calculation processing (filter processing) is executed in units of pixels instead of tone curve processing.
[0057]
When the CPU 150 completes the automatic image quality adjustment process, the CPU 150 executes a wRGB-CMYK color conversion process to generate print data (step S260). In addition, when reflecting the result of the image processing with respect to the copy image data GD so far in the original image data GD, it is realized by selecting overwriting of the image data. In the wRGB color conversion process, the CPU 150 refers to a conversion look-up table (LUT) that associates the wRGB color space with the CMYK color space, and stores the color space of the image data from the wRGB color space to the CMYK color. Change to space. That is, image data composed of R, G, and B tone values is converted into tone value data for each of the six colors C, M, Y, K, LC, and LM used by the color printer 20, for example.
[0058]
The CPU 150 executes halftone processing (step S270) and returns to the routine shown in FIG. In the halftone process, the color-converted image data is received and the gradation number conversion process is performed. In this embodiment, the image data after color conversion is expressed as data having a 256 gradation width for each color. On the other hand, the color printer 20 of the present embodiment can only take one of the states of “form dots” or “do not form dots”, and the color printer 20 of this embodiment is locally on the second floor. Can only express the key. Therefore, the image data having 256 gradations is converted into image data expressed in 2 gradations that can be expressed by the color printer 20. As a representative method of the two gradation processing (binarization), there are a method called an error diffusion method and a method called a systematic dither method.
[0059]
In the color printer 20, prior to color conversion processing, when the resolution of image data is lower than the printing resolution, new data is generated between adjacent image data by performing linear interpolation, and conversely higher than the printing resolution. Performs a resolution conversion process for converting the resolution of the image data into the print resolution by thinning out the data at a constant rate. In addition, the color printer 20 executes an interlace process in which the image data converted into a format representing the presence / absence of dot formation is rearranged in the order to be transferred to the color printer 20.
[0060]
Next, display image processing executed in the personal computer PC will be described with reference to FIG. Of the processing executed in each step, processing similar to the processing in the printing image processing described with reference to FIG. 7 will be briefly described. The CPU 150 of the personal computer PC extracts the image data GD from the read image file GF (step S300). In the image processing of the display image data, the original image data GD is not overwritten and the image processing is always performed on the copy image data. The CPU 150 executes a 3 × 3 matrix operation S in order to convert image data based on the YCrCb color space into image data based on the RGB color space (step S310). The matrix operation S is the above-described arithmetic expression. The CPU 150 clips the image data obtained by the matrix operation S within the color gamut of the sRGB color space (step S320). Therefore, for example, the image data (RGB data) obtained after the matrix S conversion is rounded to 0 when a negative value is included, and to 255 when a value of 256 or more is included.
[0061]
The CPU 150 executes automatic image quality adjustment processing on the image data GD based on the sRGB color space obtained by executing the matrix operation S (step S330), and returns to the routine shown in FIG. As described above, the image data GD output to the monitor 14 such as a CRT is not subjected to the color space conversion process to the wRGB color space, and the color space of the image data GD is maintained as the sRGB color space. .
[0062]
Next, normal image processing executed in the personal computer PC will be described in detail with reference to FIG. Of the processing executed in each step, processing similar to that in the extended image processing described with reference to FIG. 7 will be briefly described. The CPU 150 of the personal computer PC extracts the image data GD from the read image file GF (step S400). The CPU 150 executes a 3 × 3 matrix operation S in order to convert image data based on the YCrCb color space into image data based on the RGB color space (step S410). The matrix operation S is the above-described arithmetic expression. The CPU 150 clips the image data obtained by the matrix operation S within the color gamut of the sRGB color space (step S420). Therefore, for example, the image data (RGB data) obtained after the matrix S conversion is rounded to 0 when a negative value is included, and to 255 when a value of 256 or more is included.
[0063]
The CPU 31 executes automatic image quality adjustment processing on the image data obtained by the matrix operation S (step S430), and executes sRGB-CMYK color conversion processing for printing (step S440). Since this processing routine is executed when the color space set at the time of image data generation cannot be acquired from the image file GF, that is, when the image processing control tag cannot be found, the normal sRGB-CMYK color conversion table is used. It is done. Finally, the CPU 31 executes halftone processing (step S450) and returns to the main routine shown in FIG.
[0064]
When executing normal image processing, the CPU 150 separately executes image processing on image data GD transmitted to the color printer 20 and image data GD transmitted to the monitor 14 such as a CRT. . The display image processing is executed in the same manner as the processing in the image processing based on the image processing control information described with reference to FIG.
[0065]
As described above, according to the personal computer PC in the present embodiment, each output device 14 is provided for the image data GD transmitted to the color printer 20 and the monitor 14 such as a CRT having different output color space regions. , The image processing can be executed separately in accordance with the 20 color space areas that can be output. Therefore, the color space region that can be displayed by each output device 14 and 20 can be used over the entire area, and the output device 14 and 20 can output an image while maintaining the saturation.
[0066]
For example, when the color printer 20 can reproduce the image data GD based on the wRGB color space having a definition area wider than the sRGB color space that is a color space that can be output by the monitor 14, the image data GD based on the wRGB color space is reproduced. When output on the monitor 14, only the area overlapping the definition area of the sRGB color space among the definition areas of the wRGB color space can be displayed on the monitor 14. As a result, the saturation of the image data GD displayed on the monitor 14 becomes shallow, and the color of the image data GD is light and dull. On the other hand, in this embodiment, the color space of the image data GD is maintained in the sRGB color space without performing color space conversion to the wRGB color space for the image data GD displayed on the monitor 14. Therefore, the color of the image data GD displayed on the monitor 14 can be displayed vividly.
[0067]
Therefore, the difference between the output result of the color printer 20 and the output result of the monitor 14 for the same image data GD is reduced, and image processing without a sense of incongruity can be realized. Also, appropriate image processing can be realized without empirically learning the difference in output characteristics between the color printer 20 and the monitor 14.
[0068]
F. Other examples:
In the above embodiment, the image processing of the image data GD output to the color printer 20 and the monitor 14 is executed in the personal computer PC. However, when the color printer 20 is provided with a small display device, all the processing is performed. The image processing may be executed by the color printer 20. In such a case, the color printer 20 can realize all of image processing of the image data GD, display of the image data subjected to the image processing, and printing of the image data GD subjected to the image processing. Further, all or part of the image processing may be executed on a server via a network.
[0069]
As described above, the image processing apparatus, the image processing method, the image processing program, and the image output apparatus according to the present invention have been described based on the embodiments. However, the above-described embodiments of the present invention are intended to facilitate understanding of the present invention. However, the present invention is not limited thereto. 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.
[0070]
In the above embodiment, parameters such as light source, exposure correction amount, target color space, brightness, and sharpness are used as the image processing control information GC. However, in this embodiment, at least the target color space (color space at the time of image generation) is used. Or a target color space) may be included, and which parameter is used as the image processing control information GC is an arbitrary decision.
[0071]
In addition, the matrix S, N in each mathematical expression -1 The value of M is merely an example, and it is needless to say that the value of M can be changed as appropriate depending on the target color space or the color space available in the color printer 20.
[0072]
In the above embodiment, the digital still camera 12 has been described as the image file generating device. However, a scanner, a digital video camera, or the like can be used. In the case of using a scanner, the specification of the captured data information of the image file GF may be executed on the computer PC, or a preset button assigned with setting information in advance for information setting on the scanner, an arbitrary setting A display screen and a setting button may be provided so that the scanner can be executed alone.
[0073]
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 according to the present invention is not limited to this. That is, any image file including image data generated by the image data generation device and image processing control information GC describing conditions (information) at the time of image data generation may be used. With such a file, the image quality of the image data generated by the image file generation device can be automatically adjusted appropriately and output from the output device.
[0074]
In the above embodiment, the case where the image data GD and the image processing control information GC are included in the same image file GF has been described as an example. However, the image data GD and the image processing control information GC are not necessarily included in the same file. It need not be stored. That is, it is only necessary that the image data GD and the image processing control information GC are associated with each other. For example, association data that associates the image data GD and the image processing control information GC is generated, and one or a plurality of image data and the image processing control are generated. The information GC may be stored in independent files, and the image processing control information GC associated with the processing of the image data GD may be referred to. In such a case, although the image data and the image processing control information GC are stored in separate files, the image data and the image processing control information GC are inseparably integrated at the time of image processing using the image processing control information GC. 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 image data and image processing control information GC 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.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram illustrating an example of an image data processing system to which an image processing apparatus according to an embodiment can be applied.
FIG. 2 is a block diagram illustrating a schematic configuration of a digital still camera capable of generating an image file (image data) to be processed by the image processing apparatus according to the present embodiment.
FIG. 3 is an explanatory diagram showing a schematic internal structure of an image file stored in an Exif file format that can be used in this embodiment.
FIG. 4 is a block diagram illustrating a schematic configuration of a color printer 20 according to the present exemplary embodiment.
FIG. 5 is an explanatory diagram showing an internal configuration of a control circuit 30 of the color printer 20 according to the present embodiment.
FIG. 6 is a flowchart illustrating a processing routine of image processing in the personal computer PC according to the present embodiment.
FIG. 7 is a flowchart illustrating a processing routine of image processing for printing based on image processing control information in the personal computer PC.
FIG. 8 is a flowchart showing a display image processing routine in the personal computer PC.
FIG. 9 is a flowchart showing a processing routine of image processing for normal printing in the personal computer PC.
[Explanation of symbols]
10. Image processing system
12 ... Digital still camera
121: Optical circuit
122. Image acquisition circuit
123: Image processing circuit
124 ... Control circuit
126 ... Select / Enter button
127 ... Liquid crystal display
14 ... Display
150 ... CPU
151 ... RAM
152 ... HDD
153: Card slot
154 ... Input / output terminals
20 Color printer
21 ... Carriage
211: Print head
212 ... Ink cartridge
213 ... Ink cartridge
214 to 220 ... Ink ejection head
22 Carriage motor
23 ... Platen
24. Paper feed motor
25 ... Sliding shaft
26 ... Driving belt
27 ... pulley
28: Position detection sensor
29 ... Control panel
30 ... Control circuit
31 ... Arithmetic processing unit (CPU)
32. Programmable read only memory (PROM)
33 ... Random access memory (RAM)
34 ... PCMCIA slot
35 ... Peripheral device input / output unit (PIO)
36 ... Timer
37 ... Drive buffer
38 ... Bus
39: Oscillator
40 ... Distribution output device
GF ... Image file (Exif file)
111 ... JPEG image data storage area
112 ... Attached information storage area
MC ... Memory card

Claims (6)

画像データに対して画像処理を実行する画像処理装置であって、
撮像装置によって前記画像データに関連付けられると共に前記画像データの画像処理を制御する情報であって、印刷用画像処理時に用いられるべき色空間情報を含む画像処理制御情報を取得できた場合には、前記画像処理制御情報に含まれる色空間情報を用いて前記画像データに対する画像処理を実行し、印刷用画像データを生成する印刷用画像データ生成手段と、
前記画像データに対して、前記画像処理制御情報に含まれる色空間情報を用いることなく、前記印刷用画像データを用いて画像を印刷する印刷装置の色再現特性とは異なる、表示装置の色再現特性に合わせて画像処理を実行し、表示用画像データを生成する表示用画像データ生成手段とを備える画像処理装置。
An image processing apparatus that executes image processing on image data,
Information that is associated with the image data by the imaging device and controls image processing of the image data, and when image processing control information including color space information to be used at the time of image processing for printing can be acquired, Printing image data generating means for executing image processing on the image data using color space information included in the image processing control information and generating printing image data;
Color reproduction of a display device that is different from the color reproduction characteristics of a printing device that prints an image using the image data for printing without using color space information included in the image processing control information for the image data An image processing apparatus comprising: display image data generation means for executing image processing according to characteristics and generating display image data.
請求項1に記載の画像処理装置において、
前記印刷用画像データ生成手段によって実行される画像処理は、前記色空間情報を用いて、前記画像データの色空間を第1の色空間から、前記画像データ生成時における画像データの値をその定義領域内に包含すると共に前記第1の色空間よりも広い定義領域を有する第2の色空間へ変換する色空間変換を伴い、
前記表示用画像データ生成手段によって実行される画像処理は、前記画像処理制御情報を用いて画像処理を伴うと共に、前記画像データの色空間を前記第1の色空間から前記表示装置が再現可能であると共に前記第2の色空間よりも狭い定義領域を有する第3の色空間へ変換する色空間変換を伴うことを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
The image processing executed by the printing image data generating means uses the color space information to define the color space of the image data from the first color space and define the value of the image data at the time of generating the image data. With color space conversion to convert to a second color space that is contained within the region and has a defined area wider than the first color space,
The image processing executed by the display-image data generating means may involve image processing using the image processing control information, said display device from said first color space to the color space of the previous SL image data reproducible And an image processing apparatus including color space conversion for converting to a third color space having a definition area narrower than the second color space.
請求項2に記載の画像処理装置において、
前記第3の色空間はsRGB色空間であり、
前記第2の色空間は前記sRGB色空間よりも広い定義領域を有するwRGB色空間であり、
前記表示用画像データ生成手段は、前記第1の色空間がsRGB色空間である場合には、前記第1の色空間から前記第3の色空間への色空間変換を実行しないことを特徴とする画像処理装置。
The image processing apparatus according to claim 2,
The third color space is an sRGB color space;
The second color space is a wRGB color space having a definition area wider than the sRGB color space;
The display image data generation means does not perform color space conversion from the first color space to the third color space when the first color space is an sRGB color space. An image processing apparatus.
請求項1ないし請求項3のいずれかに記載の画像処理装置はさらに、 前記生成した印刷用画像データを印刷装置に送信する印刷用画像データ送信手段と、
前記生成した表示用画像データを前記表示装置に送信する表示用画像データ送信手段とを備える画像処理装置。
The image processing apparatus according to any one of claims 1 to 3, further comprising: a printing image data transmission unit that transmits the generated printing image data to a printing apparatus;
An image processing apparatus comprising: display image data transmission means for transmitting the generated display image data to the display device.
画像データに対する画像処理方法であって、
撮像装置によって前記画像データに関連付けられると共に前記画像データの画像処理を制御する情報であって、印刷用画像処理時に用いられるべき色空間情報を含む画像処理制御情報を取得できた場合には、前記画像処理制御情報に含まれる色空間情報を用いて前記画像データに対する画像処理を実行して印刷用画像データを生成すると共に、前記画像処理制御情報に含まれる色空間情報を用いることなく表示装置の色再現特性に合わせて前記画像データに対する画像処理を実行して表示用画像データを生成する画像処理方法。
An image processing method for image data,
Information that is associated with the image data by the imaging device and controls image processing of the image data, and when image processing control information including color space information to be used at the time of image processing for printing can be acquired, Using the color space information included in the image processing control information, image processing is performed on the image data to generate image data for printing, and the display device without using the color space information included in the image processing control information . An image processing method for generating display image data by executing image processing on the image data in accordance with color reproduction characteristics.
画像データに対して画像処理を実行するための画像処理プログラムであって、
撮像装置によって前記画像データに関連付けられると共に前記画像データの画像処理を制御する情報であって、印刷用画像処理時に用いられるべき色空間情報を含む画像処理制御情報を取得できた場合には、前記画像処理制御情報に含まれる色空間情報を用いて前記画像データに対する画像処理を実行して印刷用画像データを生成すると共に、前記画像処理制御情報に含まれる色空間情報を用いることなく表示装置の色再現特性に合わせて前記画像データに対する画像処理を実行して表示用画像データを生成する機能とをコンピュータによって実現させる画像処理プログラム。
An image processing program for executing image processing on image data,
Information that is associated with the image data by the imaging device and controls image processing of the image data, and when image processing control information including color space information to be used at the time of image processing for printing can be acquired, Using the color space information included in the image processing control information, image processing is performed on the image data to generate image data for printing, and the display device without using the color space information included in the image processing control information . An image processing program for realizing a function of generating image data for display by executing image processing on the image data in accordance with color reproduction characteristics.
JP2002070144A 2001-03-15 2002-03-14 Image processing device Expired - Fee Related JP4175004B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002070144A JP4175004B2 (en) 2001-03-15 2002-03-14 Image processing device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001074613 2001-03-15
JP2001-74613 2001-03-15
JP2002070144A JP4175004B2 (en) 2001-03-15 2002-03-14 Image processing device

Publications (2)

Publication Number Publication Date
JP2002344764A JP2002344764A (en) 2002-11-29
JP4175004B2 true JP4175004B2 (en) 2008-11-05

Family

ID=26611363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002070144A Expired - Fee Related JP4175004B2 (en) 2001-03-15 2002-03-14 Image processing device

Country Status (1)

Country Link
JP (1) JP4175004B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1569471B1 (en) 2003-02-27 2012-08-08 Seiko Epson Corporation Image reproduction using specific color space
EP1784024A4 (en) 2004-08-27 2008-04-09 Seiko Epson Corp Image reproduction using particular color space
JP4849026B2 (en) * 2006-09-12 2011-12-28 セイコーエプソン株式会社 Printing apparatus, printing method, and computer program
JP2008271572A (en) * 2008-05-07 2008-11-06 Seiko Epson Corp Image reproduction utilizing specific color space

Also Published As

Publication number Publication date
JP2002344764A (en) 2002-11-29

Similar Documents

Publication Publication Date Title
JP5594382B2 (en) Output image adjustment for image files
JP4891941B2 (en) Output image adjustment of image data
US7933041B2 (en) Adjustment for output image of image data
JP3991606B2 (en) Color space conversion device and color space conversion method
US20020027603A1 (en) Apparatus, method, signal and computer program product configured to provide output image adjustment for image files
US20020135687A1 (en) Graphics file creation and output method, apparatus and computer program product
US20020196346A1 (en) Image processing apparatus
JP4010306B2 (en) Output image adjustment for image files
JP3520869B2 (en) Image output adjustment of image data
US20020181000A1 (en) Image processing apparatus
JP4175004B2 (en) Image processing device
JP4295465B2 (en) Image processing device
JP4205320B2 (en) Output image adjustment for image files
JP3834516B2 (en) Output image adjustment of image data
JP3666439B2 (en) Output image adjustment for image files
JP4092882B2 (en) Image processing apparatus and image processing method
JP4085661B2 (en) Print control program and image processing program
JP3960137B2 (en) Output image adjustment of image data
JP4126967B2 (en) Output image adjustment of image data
JP4595965B2 (en) Output image adjustment for image files
JP5206741B2 (en) Image file generation and output
JP4636001B2 (en) Output image adjustment for image files
JP2010279049A (en) Output image adjustment for image files

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061219

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070529

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070724

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071211

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080205

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080408

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080603

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

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

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

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 3

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130829

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees