JP4126967B2 - Output image adjustment of image data - Google Patents

Output image adjustment of image data Download PDF

Info

Publication number
JP4126967B2
JP4126967B2 JP2002171955A JP2002171955A JP4126967B2 JP 4126967 B2 JP4126967 B2 JP 4126967B2 JP 2002171955 A JP2002171955 A JP 2002171955A JP 2002171955 A JP2002171955 A JP 2002171955A JP 4126967 B2 JP4126967 B2 JP 4126967B2
Authority
JP
Japan
Prior art keywords
image
white balance
information
image file
image data
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 - Lifetime
Application number
JP2002171955A
Other languages
Japanese (ja)
Other versions
JP2003102033A (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 JP2002171955A priority Critical patent/JP4126967B2/en
Publication of JP2003102033A publication Critical patent/JP2003102033A/en
Application granted granted Critical
Publication of JP4126967B2 publication Critical patent/JP4126967B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、画像データの画質を調整する画像調整技術に関する。
【0002】
【従来の技術】
ディジタルスチルカメラ(DSC)、ディジタルビデオカメラ(DVC)、スキャナ等によって生成された画像データの画質は、パーソナルコンピュータ上で画像レタッチアプリケーションを用いることによって任意に調整することができる。画像レタッチアプリケーションには、一般的に、画像データの画質を自動的に調整する画像調整機能が備えられており、この画像調整機能を利用すれば、出力装置から出力する画像データの画質を容易に向上させることができる。画像ファイルの出力装置としては、例えば、CRT、LCD、プリンタ、プロジェクタ、テレビ受像器などが知られている。
【0003】
また、出力装置の1つであるプリンタの動作を制御するプリンタドライバにも、画像データの画質を自動的に調整する機能が備えられており、このようなプリンタドライバを利用しても、印刷される画像データの画質を容易に向上させることができる。
【0004】
【発明が解決しようとする課題】
しかしながら、これら画像レタッチアプリケーションおよびプリンタドライバによって提供される画質自動調整機能では、一般的な画質特性を有する画像データを基準として画質補正が実行される。これに対して、画像処理の対象となる画像データは様々な条件下で生成され得るため、一律に画質自動調整機能を実行し、規定値を用いて画像データの画質パラメータ値を変更しても、画質を向上させることができない場合がある。
【0005】
また、DSC等の画像データ生成装置の中には、画像データ生成時に画像データの画質を任意に調整できるものもあり、ユーザは意図的に所定の画質を有する画像データを生成することができる。このような画像データに対して、画質自動調整機能を実行すると、画像データが有する意図的な画質までも自動的に基準とする画質に基づいて調整されてしまい、ユーザの意図を反映した自動画像調整を実行することができないという問題があった。なお、こうした問題はDSCに限らず、DVC等の他の画像データ生成装置においても共通の課題である。
【0006】
本発明は、上記問題を解決するためになされたものであり、個々の画像データに対応して画質を適切に自動調整することを目的とする。また、恣意的に設定された出力条件を損なうことなく画像データの画質を自動調整することを目的とする。
【0007】
【課題を解決するための手段およびその作用・効果】
上記課題を解決するために本発明の第1の態様は、画像データと、画像データ生成時における光源情報を少なくとも含むと共に画像データに関連付けられた画像出力制御情報とを用いて画像データを出力する出力装置を提供する。本発明の第1の態様に係る出力装置は、前記画像出力制御情報に含まれる前記光源情報に基づいて前記画像データのカラーバランスを調整する画質調整手段と、前記画質が調整された画像データを出力する画像データ出力手段とを備えることを特徴とする。
【0008】
本発明の第1の態様に係る出力装置によれば、画像出力制御情報に含まれる光源情報に基づいて画質調整おけるカラーバランスが調整されるので、個々の画像データに対応して画質を適切に自動調整することができると共に、恣意的に設定された出力条件、すなわち、光源に関する出力条件を損なうことなく画像データの画質を自動調整することができる。
【0009】
本発明の第1の態様に係る出力装置さらに、前記画像出力制御情報を解析して、前記光源情報が自動的に設定された否かを判定する光源情報判定手段と、前記光源情報が自動的に設定されなかったと判定した場合には、前記画質調整手段における前記カラーバランスの調整を禁止する画質調整制御手段とを備えても良い。あるいは、前記光源情報が自動的に設定されなかったと判定した場合には、前記画質調整手段における前記カラーバランスの調整の度合いを低減する画質調整制御手段を備えても良い。
【0010】
本発明の第1の態様に係る出力装置によれば、光源情報が自動的に設定されなかったと判定した場合には、画質調整おけるカラーバランスの調整が禁止、または、調整の度合いが低減されるので、個々の画像データに対応して画質を適切に自動調整することができると共に、恣意的に設定された出力条件、すなわち、光源に関する出力条件を損なうことなく画像データの画質を自動調整することができる。
【0011】
本発明の第1の態様に係る出力装置において、
前記画質調整手段は、
前記画像データを解析して、前記画像データの特性を示す画質パラメータの値を取得する画質パラメータ値取得手段と、
前記取得された画質パラメータ値と予め定められた基準画質パラメータ値とに基づいて前記画像データの画質を調整しても良い。
【0012】
かかる構成を備える場合には、基準画質パラメータと画質パラメータとに基づいて画像データの画質が補正されるので、画像データを適切な画質にて出力することができる。
【0013】
本発明の第1の態様に係る出力装置において、前記画像調整手段は、前記基準画質パラメータ値および前記画質パラメータ値から画質調整量を算出し、前記光源情報を反映して前記画質調整量を修正し、修正した前記画質調整量を用いて前記画像データの画質を調整しても良い。かかる構成を備えることにより、光源情報を反映させて個々の画像データの画質をより適切に自動調整することができる。
【0014】
本発明の第1の態様に係る出力装置において、前記画像調整手段は、前記光源情報を反映して前記基準画質パラメータ値および前記画質パラメータ値の偏差を低減または解消するように前記画像データの画質を調整しても良い。かかる構成を備えることにより、光源情報を反映させて個々の画像データの画質をより適切に自動調整することができる。
【0015】
本発明の第1の態様に係る出力装置はさらに、前記画像出力制御情報を解析して、前記画質パラメータ値に対する基準画質パラメータ値を修正する基準画質パラメータ値修正手段を備え、前記画質調整手段は、前記修正された基準画質パラメータ値と前記取得された画質パラメータ値とに基づいて前記画像データの画質を調整しても良い。かかる構成を備えることにより、個々の画像データの特性に合わせて基準画質パラメータ値を修正することができるので、画像データの特性を反映しつつ画像データの画質をより適切に自動調整することができる。なお、光源情報には、画像データ生成時に用いられたホワイトバランスの情報が含まれていても良い。
【0016】
本発明の第2の態様は、画像データと、画像データ生成時における光源情報を少なくとも含むと共に画像データに関連付けられた画像出力制御情報とを用いて画像データを処理する画像データ処理装置を提供する。本発明の第2の態様に係る画像データ処理装置は、前記画像データおよび画像出力制御情報を取り込む取り込み手段と、前記画像データを解析して、前記画像データの特性を示す画質パラメータの値を取得する画質パラメータ値取得手段と、予め定められた基準画質パラメータ値、前記画像出力制御情報に含まれる前記光源情報、および前記取得された画質パラメータ値に基づいて前記画像データのカラーバランスを調整する画質調整手段とを備えることを特徴とする。
【0017】
本発明の第2の態様に係る画像データ処理装置によれば、本発明の第1の態様に係る出力装置と同様な作用効果を得ることができる。また、本発明の第2の態様に係る画像データ処理装置は、本発明の第1の態様に係る出力装置と同様にして種々の態様を取り得る。
【0018】
本発明の第3の態様は、画像データの画質調整方法を提供する。本発明の第3の態様に係る方法は、画像データと、画像データ生成時における光源情報を少なくとも含むと共に画像データに関連付けられた画像出力制御情報とを取得し、前記画像出力制御情報を解析して、前記光源情報が自動的に設定されたか否かを判定し、前記光源情報が自動的に設定されなかったと判定した場合には、カラーバランスを調整を除いて、前記取得した画像データの画質を調整することを特徴とする。
【0019】
本発明の第3の態様に係る方法によれば、本発明の第1の態様に係る出力装置と同様な作用効果を得ることができる。また、本発明の第3の態様に係る方法は、本発明の第1の態様に係る出力装置と同様にして種々の態様を取り得る。
【0020】
本発明の第4の態様は、画像データの画質を調整するためのプログラムを提供する。本発明の第4の態様に係るプログラムは、画像データと、画像データ生成時における光源情報を少なくとも含むと共に画像データに関連付けられた画像出力制御情報報とを取得する機能と、前記画像出力制御情報に含まれる前記光源情報に基づいてカラーバランスを含む前記画像データの画質を調整する機能とをコンピュータによって実現させることを特徴とする。
【0021】
本発明の第4の態様に係るプログラムによれば、本発明の第1の態様に係る出力装置と同様な作用効果を得ることができる。また、本発明の第4の態様に係るプログラムは、本発明の第1の態様に係る出力装置と同様にして種々の態様を取り得る。
【0022】
本発明の第5の態様は、出力装置における画像データの画像処理条件と関連付けられた画像データを生成する画像データ生成装置を提供する。本発明の第5の態様に係る画像データ生成装置は、画像データを生成する画像データを生成する画像データ生成手段と、光源情報を取得する光源情報取得手段と、前記生成した画像データを解析して、少なくとも前記画像データのカラーバランスに関する特性を示す画質パラメータの値を取得する画質パラメータ値取得手段と、予め定められた基準画質パラメータ、前記取得された画質パラメータ、および前記光源情報とに基づいて前記画像処理条件を生成する画像処理条件生成手段と、前記生成された画像処理条件および画像データを関連付けて出力する出力手段とを備えることを特徴とする。
【0023】
本発明の第5の態様に係る画像データの生成装置によれば、予め定められた基準画質パラメータ、取得された画質パラメータ、および光源情報とに基づいて出力装置における画像処理の条件を生成することができる。したがって、光源情報に基づいてカラーバランスを調整することが可能となり、個々の画像データに対応して画質を適切に自動調整することができると共に、恣意的に設定された出力条件、すなわち、光源に関する出力条件を損なうことなく画像データの画質を自動調整することができる。なお、画像データと画像処理条件とは同一のファイルにおいて関連付けられて格納されても良い。
【0024】
【発明の実施の形態】
以下、本発明に係る画像ファイルの出力画像調整について以下の順序にて図面を参照しつつ、いくつかの実施例に基づいて説明する。
A.画像データ出力システムの構成:
B.画像ファイルの構成:
C.画像ファイルを利用可能な画像データ出力システムの構成:
D.ディジタルスチルカメラにおける画像処理:
E.プリンタにおける画像処理:
F.その他の実施例:
【0025】
A.画像データ出力システムの構成:
本実施例に係る画像出力調整を実現する画像出力装置を適用可能な画像データ出力システムの構成について図1および図2を参照して説明する。図1は第1実施例に係る画像出力装置を適用可能な画像データ出力システムの一例を示す説明図である。図2は第1実施例に係る画像出力装置が出力する画像ファイル(画像データ)を生成可能なディジタルスチルカメラの概略構成を示すブロック図である。
【0026】
画像データ出力システム10は、画像ファイルを生成する入力装置としてのディジタルスチルカメラ12、ディジタルスチルカメラ12にて生成された画像ファイルに基づいて画像処理を実行し、画像を出力する出力装置としてのカラープリンタ20を備えている。出力装置としては、プリンタ20の他に、CRTディスプレイ、LCDディスプレイ等のモニタ14、プロジェクタ等が用いられ得るが、以下の説明では、カラープリンタ20を出力装置として用いるものとする。
【0027】
ディジタルスチルカメラ12は、光の情報をディジタルデバイス(CCDや光電子倍増管)に結像させることにより画像を取得するカメラであり、図2に示すように光情報を収集するためのCCD等を備える光学回路121、光学回路121を制御して画像を取得するための画像取得回路122、取得したディジタル画像を加工処理するための画像処理回路123、メモリを備えると共に各回路を制御する制御回路124を備えている。ディジタルスチルカメラ12は、取得した画像をディジタルデータとして記憶装置としてのメモリカードMCに保存する。ディジタルスチルカメラ12における画像データの保存形式としては、JPEG形式が一般的であるが、この他にもTIFF形式、GIF形式、BMP形式、RAWデータ形式等の保存形式が用いられ得る。
【0028】
ディジタルスチルカメラ12はまた、撮影モード、露出補正、光源等を設定するための選択・決定ボタン126、撮影画像をプレビューしたり、選択・決定ボタン126を用いて撮影モード等を設定するための液晶ディスプレイ127を備えている。ディジタルスチルカメラ12において設定される光源は、光源を指定することにより設定され、自動設定(AUTO)、昼光、蛍光灯、タングステン等を設定することができる。なお、当業者にとって明らかなように、ディジタルスチルカメラ12において設定される光源は、より具体的には、指定された光源下において撮影する際に用いられたホワイトバランスを意味している。すなわち、昼光、蛍光灯、タングステンといった光源は、単に撮影時の光源を意味するのみならず、各光源に対してディジタルスチルカメラ12側において予め与えられている(プリセットされている)ホワイトバランスを意味している。通常、ディジタルスチルカメラ12における光源は、ディジタルスチルカメラ12側で撮影時の光源を自動的に認識して光源(ホワイトバランス)を自動補正するオート光源(AWB:オートホワイトバランス)がデフォルト値として設定されている。オート光源にて撮影された場合は、光源指定のパラメータ値として、例えば、0が記録される。
【0029】
本画像データ出力システム10に用いられるディジタルスチルカメラ12は、画像データGDに加えて画像データの画像出力制御情報GIを画像ファイルGFとしてメモリカードMCに格納する。すなわち、画像出力制御情報GIは、撮影時に画像データGDと共に自動的に画像ファイルGFとしてメモリカードMCに自動的に格納される。また、ユーザによって、ポートレイト、夜景といった撮影モードが予め選択されている場合には、選択された撮影モードに対応する画質パラメータのパラメータ値を、あるいは、露光補正量、光源等のパラメータが任意の値に設定されている場合には、設定されたパラメータの設定値を画像出力制御情報GIとして含む画像ファイルGFがメモリカードMCに格納される。
【0030】
ディジタルスチルカメラ12において、自動撮影モードにて撮影が実行された場合には、撮影時における露出時間、光源、絞り、シャッタースピード、レンズの焦点距離等のパラメータの値を画像出力制御情報として含む画像ファイルGFがメモリカードMCに格納される。なお、各撮影モードに適用されるパラメータ、およびパラメータ値はディジタルスチルカメラ12の制御回路124内のメモリ上に保有されている。
【0031】
ディジタルスチルカメラ12において生成された画像ファイルGFは、例えば、ケーブルCV、コンピュータPCを介して、あるいは、ケーブルCVを介してカラープリンタ20に送出される。あるいは、ディジタルスチルカメラ12にて画像ファイルGFが格納されたメモリカードMCが、メモリカード・スロットに装着されたコンピュータPCを介して、あるいは、メモリカードMCをプリンタ20に対して直接、接続することによって画像ファイルがカラープリンタ20に送出される。なお、以下の説明では、メモリカードMCがカラープリンタ20に対して直接、接続される場合に基づいて説明する。
【0032】
B.画像ファイルの構成:
図3を参照して本実施例にて用いられ得る画像ファイルの概略構成について説明する。図3は本実施例にて用いられ得る画像ファイルの内部構成の一例を概念的に示す説明図である。画像ファイルGFは、画像データGDを格納する画像データ格納領域101と、画像データの出力状態を制御する情報(画像出力制御情報)GIを格納する画像出力制御情報格納領域102を備えている。画像データGDは、例えば、JPEG形式で格納されており、画像出力制御情報GIはTIFF形式で格納されている。なお、本実施例中におけるファイルの構造、データの構造、格納領域といった用語は、ファイルまたはデータ等が記憶装置内に格納された状態におけるファイルまたはデータのイメージを意味するものである。
【0033】
画像出力制御情報GIは、ディジタルスチルカメラ12等の画像データ生成装置において画像データが生成されたとき(撮影されたとき)の画質に関連する情報(画質生成情報)であり、撮影に伴い自動的に生成される露出時間、ISO感度、絞り、シャッタースピード、焦点距離に関するパラメータ、およびユーザによって任意に設定される露出補正、光源、撮影モード、ターゲット色空間等の出力制御パラメータを含み得る。
【0034】
本実施例に係る上記画像ファイルGFは、ディジタルスチルカメラ12の他、ディジタルビデオカメラ、スキャナ等の入力装置(画像ファイル生成装置)によっても生成され得る。
【0035】
本実施例に係る画像ファイルGFは、基本的に上記の画像データ領域101と、画像出力制御情報格納領域102を備えていれば良く、既に規格化されているファイル形式に従ったファイル構造を取ることができる。以下、本実施例に係る画像ファイルGFを規格化されているファイル形式に適合させた場合について具体的に説明する。
【0036】
本実施例に係る画像ファイルGFは、例えば、ディジタルスチルカメラ用画像ファイルフォーマット規格(Exif)に従ったファイル構造を有することができる。Exifファイルの仕様は、電子情報技術産業協会(JEITA)によって定められている。本実施例に係る画像ファイルGFが、このExifファイル形式に従うファイル形式を有する場合のファイル内部の概略構造について図4を参照して説明する。図4はExifファイル形式にて格納されている本実施例に係る画像ファイルGFの概略的な内部構造を示す説明図である。
【0037】
Exifファイルとしての画像ファイルGFEは、JPEG形式の画像データを格納するJPEG画像データ格納領域111と、格納されているJPEG画像データに関する各種情報を格納する付属情報格納領域112とを備えている。JPEGデータ格納領域111は、上記画像データ格納領域101に相当し、付属情報格納領域112は、上記画像出力制御情報格納領域102に相当する。すなわち、付属情報格納領域112には、撮影日時、露出、シャッター速度、光源、露出補正、ターゲット色空間等といったJPEG画像を出力する際に参照される画像出力制御情報(画像出力制御情報GI)が格納されている。また、付属情報格納領域112には、画像出力制御情報GIに加えてJPEG画像データ格納領域111に格納されているJPEG画像のサムネイル画像データがTIFF形式にて格納されている。なお、当業者にとって周知であるように、Exif形式のファイルでは、各データを特定するためにタグが用いられており、各データはタグ名によって呼ばれることがある。
【0038】
付属情報格納領域112の詳細なデータ構造について図5を参照して説明する。図5は本実施例に用いられ得る画像ファイルGFの付属情報格納領域112のデータ構造の一例を示す説明図である。
【0039】
付属情報格納領域112には、図示するように露出時間、レンズF値、露出制御モード、ISO感度、露光補正量、光源、フラッシュ、焦点距離等の情報に対するパラメータ値が既定のアドレスに従って格納されている。出力装置側では、所望の情報(パラメータ)に対応するアドレスを指定することにより画像出力制御情報GIを取得することができる。
【0040】
C.画像出力装置の構成:
図6を参照して本実施例に係る画像出力装置、すなわち、カラープリンタ20の概略構成について説明する。図6は本実施例に係るカラープリンタ20の概略構成を示すブロック図である。
【0041】
カラープリンタ20は、カラー画像の出力が可能なプリンタであり、例えば、シアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)の4色の色インクを印刷媒体上に噴射してドットパターンを形成することによって画像を形成するインクジェット方式のプリンタである。あるいは、カラートナーを印刷媒体上に転写・定着させて画像を形成する電子写真方式のプリンタである。色インクには、上記4色に加えて、ライトシアン(薄いシアン、LC)、ライトマゼンタ(薄いマゼンタ、LM)、ダークイエロ(暗いイエロ、DY)を用いても良い。
【0042】
カラープリンタ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および給紙補助ローラに伝えるギヤトレイン(図示省略)とから構成されている。
【0043】
制御回路30は、プリンタの操作パネル29と信号をやり取りしつつ、紙送りモータ24やキャリッジモータ22、印字ヘッド211の動きを適切に制御している。カラープリンタ20に供給された印刷用紙Pは、プラテン23と給紙補助ローラの間に挟み込まれるようにセットされ、プラテン23の回転角度に応じて所定量だけ送られる。
【0044】
キャリッジ21にはインクカートリッジ212とインクカートリッジ213とが装着される。インクカートリッジ212には黒(K)インクが収容され、インクカートリッジ213には他のインク、すなわち、シアン(C),マゼンタ(M),イエロ(Y)の3色インクの他に、ライトシアン(LC),ライトマゼンタ(LM),ダークイエロ(DY)の合計6色のインクが収納されている。
【0045】
次に図7を参照してカラープリンタ20の制御回路30の内部構成について説明する。図7は、カラープリンタ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も設けられている。
【0046】
制御回路30は、メモリカードMCから画像ファイル100を読み出し、付属情報AIを解析し、解析した制御情報AIに基づいて画像処理を実行する。制御回路30は、紙送りモータ24やキャリッジモータ22の動きと同期を採りながら、所定のタイミングでドットデータを駆動バッファ37に出力する。制御回路30によって実行される詳細な画像処理の流れについては、以下に説明する。

【0047】
D.ディジタルスチルカメラにおける画像処理:
以下、図8を参照してディジタルスチルカメラ12における画像処理について説明する。図8はディジタルスチルカメラ12における画像ファイルGFの生成処理の流れを示すフローチャートである。
【0048】
ディジタルスチルカメラ12の制御回路124は、撮影に先立ってユーザによって撮影モード、または、光源、露出補正量等の画像出力制御情報が設定されているか否かを判定する(ステップS100)。これら画像出力制御情報の設定は、選択・設定ボタン126を操作して、液晶ディスプレイ127上に表示される、予め用意されている撮影モードの中からユーザが選択することにより実行される。あるいは、同様に選択・設定ボタン126を操作して、液晶ディスプレイ127上にて設定値をユーザが変更することにより実行される。
【0049】
制御回路124は、画像出力制御情報が設定されていると判定した場合には(ステップS100:Yes)、撮影要求、例えば、シャッターボタンの押し下げに応じて、設定された画像出力制御情報によって規定されるパラメータ値を用いて画像データGDを生成する(ステップS110)。制御回路124は、生成した画像データGDと、任意設定された出力条件および自動的に付与される出力条件を含む画像出力制御情報GIとを画像ファイルGFとしてメモリカードMCに格納して(ステップS120)、本処理ルーチンを終了する。ディジタルスチルカメラ12において生成されたデータは、RGB色空間から変換され、YCbCr色空間によって表される。
【0050】
これに対して、制御回路124は、画像出力制御情報が設定されていないと判定した場合には(ステップS100:No)、撮影要求に応じて画像データGDを生成する(ステップS130)。制御回路124は、生成した画像データGDと、画像データ生成時に自動的に付与される出力条件を含む画像出力制御情報GIとを画像ファイルGFとしてメモリカードMCに格納し(ステップS140)、本処理ルーチンを終了する。
【0051】
ディジタルスチルカメラ12において実行される以上の処理によって、メモリカードMCに格納されている画像ファイルGFには画像データGDと共に画像データ生成時における各パラメータの値を含む画像出力制御情報GIが備えられることとなる。
【0052】
E.カラープリンタ20における画像処理:
図9〜図11を参照して本実施例に係るカラープリンタ20における画像処理について説明する。図9は本実施例に係るカラープリンタ20における印刷処理の処理ルーチンを示すフローチャートである。図10はカラープリンタ20における画像処理の流れを示すフローチャートである。図11はカラープリンタ20における自動画像調整の処理ルーチンを示すフローチャートである。なお、本実施例に従うカラープリンタ20における画像処理は、色空間変換処理を先に実行し、後に自動画像調整を実行する。
【0053】
カラープリンタ20の制御回路30(CPU31)は、スロット34にメモリカードMCが差し込まれると、メモリカードMCから画像ファイル100を読み出し、読み出した画像ファイル100をRAM33に一時的に格納する(ステップS100)。CPU31は読み出した画像ファイル100の付属情報格納領域102から画像データ生成時の情報を示す画像出力制御情報GIを検索する(ステップS110)。CPU31は、画像出力制御情報を検索・発見できた場合には(ステップS120:Yes)、画像データ生成時の画像出力制御情報GIを取得して解析する(ステップS130)。CPU31は、解析した画像出力制御情報GIに基づいて後に詳述する画像処理を実行し(ステップS140)、処理された画像データをプリントアウトする(ステップS150)。
【0054】
CPU31は、画像出力制御情報を検索・発見できなかった場合には(ステップS120:No)、画像データ生成時における画像出力制御情報を反映させることができないので、カラープリンタ20が予めデフォルト値として保有している画像出力制御情報、すなわち、各種パラメータ値をROM32から取得して通常の画像処理を実行する(ステップS160)。CPU31は、処理した画像データをプリントアウトして(ステップS150)、本処理ルーチンを終了する。
【0055】
カラープリンタ20において実行される画像処理について図10を参照して詳細に説明する。カラープリンタ20のCPU31は、読み出した画像ファイルGFから画像データGDを取りだす(ステップS200)。ディジタルスチルカメラ12は、既述のように画像データをJPEG形式のファイルとして保存しており、JPEGファイルでは、圧縮率を高くするためにYCbCr色空間を用いて画像データを保存している。
【0056】
CPU31は、YCrCb色空間に基づく画像データをRGB色空間に基づく画像データに変換するために3×3マトリックス演算Sを実行する(ステップS210)。マトリックス演算Sは以下に示す演算式である。
【0057】
【数1】

Figure 0004126967
【0058】
CPU31は、こうして得られたRGB色空間に基づく画像データに対して、ガンマ補正、並びに、マトリックス演算Mを実行する(ステップS220)。ガンマ補正を実行する際には、CPU31は画像出力制御情報GIからDSC側のガンマ値を取得し、取得したガンマ値を用いて映像データに対してガンマ変換処理を実行する。マトリックス演算MはRGB色空間をXYZ色空間に変換するための演算処理である。本実施例において用いられる画像ファイルGFは、画像生成時における色空間情報を含むことができるので、画像ファイルGFが色空間情報を含んでいる場合には、CPU31は、マトリックス演算Mを実行するに際して、色空間情報を参照し、画像生成時における色空間に対応するマトリックス(M)を用いてマトリックス演算を実行する。マトリックス演算Mは以下に示す演算式である。
【0059】
【数2】
Figure 0004126967
【0060】
マトリックス演算Mの実行後に得られる画像データGDの色空間はXYZ色空間である。従来は、プリンタまたはコンピュータにおける画像処理に際して用いられる色空間はsRGBに固定されており、ディジタルスチルカメラ12の有する色空間を有効に活用することができなかった。これに対して、本実施例では、画像ファイルGFに色空間情報が含まれている場合には、色空間情報に対応してマトリックス演算Mに用いられるマトリックス(M)を変更するプリンタ(プリンタドライバ)を用いている。したがって、ディジタルスチルカメラ12の有する色空間を有効に活用して、正しい色再現を実現することができる。
【0061】
CPU31は、任意情報に基づく画像調整を実行するために、画像データGDの色空間をXYZ色空間からwRGB色空間へ変換する処理、すなわち、マトリックス演算N-1および逆ガンマ補正を実行する(ステップS230)。なお、wRGB色空間はsRGB色空間よりも広い色空間である。ガンマ補正を実行する際には、CPU31はROM32からプリンタ側のデフォルトのガンマ値を取得し、取得したガンマ値の逆数を用いて映像データに対して逆ガンマ変換処理を実行する。マトリックス演算N-1を実行する場合には、CPU31はROM31からwRGB色空間への変換に対応するマトリックス(N-1)を用いてマトリックス演算を実行する。マトリックス演算N-1は以下に示す演算式である。
【0062】
【数3】
Figure 0004126967
【0063】
マトリックス演算N-1実行後に得られる画像データGDの色空間はwRGB色空間である。このwRGB色空間は既述のように、sRGB色空間よりも広い色空間であり、ディジタルスチルカメラ12によって生成可能な色空間に対応している。
【0064】
CPU31は、画像画質の自動調整処理を実行する(ステップS240)。本実施例における画質自動調整処理では、画像ファイルGFに含まれている画像データGDを解析して画質を示す特性パラメータ値を取得し、画像ファイルGFに含まれている画像出力制御情報GIを反映して、取得した特性パラメータ値を補正する画質の自動調整が実行される。この画質自動調整処理について図11を参照して詳細に説明する。
【0065】
CPU31は、先ず、画像データGDを解析して画像データGDの特性を示す各種の特性パラメータ値を取得し、RAM32に一時的に格納する(ステップS300)。CPU31は、画像出力制御情報GIを解析し、光源、露出補正量、露出時間、絞り、ISO、焦点距離等といった画像出力を制御(指定)する制御パラメータ(情報)の値を取得する(ステップS310)。
【0066】
CPU31は、取得した制御パラメータの値を反映しつつ、各パラメータ毎に設定されている基準値、係数を変更(修正)する(ステップS320)。各パラメータ毎に設定されている基準値、係数は、一般的な画像生成条件(出力制御条件)にて生成された画像データを想定した値である。そこで、撮影者(画像生成者)の意図を正しく反映した自動画質調整を実現するために、特に、撮影者が任意に設定可能な出力制御条件について、個々の出力制御条件を考慮して、基準値、係数を変更する。なお、基準値、係数は、定量評価と感応評価による画像評価によって予め定められた画像の出力結果が最適となるパラメータの指標値である。
【0067】
CPU31は、取得した制御パラメータの内、光源指定のパラメータの値が0であるか否か、すなわち、撮影時に、光源条件がオートホワイトバランスに設定されていたか否かを判定する(ステップS330)。CPU31は、光源のパラメータの値が0でないと判定した場合には(ステップS330:No)、カラーバランス(ホワイトバランスと呼ばれることもある)に関する画質自動調整の実行を許可するカラーバランス自動調整実行フラグFwbをオフ(Fwb=0)する(ステップS340)。光源の設定値としてオート光源以外の設定がなされている場合、撮影者は、意図的に光源、すなわち、ホワイトバランスを特定し、撮影したと判断できる。したがって、撮影者の意図を反映させるために、基準値に基づいた、画像データGDのカラーバランスに関するパラメータ値の補正を禁止するのである。なお、カラーバランス自動調整実行フラグFwbのデフォルト値は1(オン)である。
【0068】
一方、CPU31は、光源のパラメータの値が0であると判定した場合には(ステップS330:Yes)、カラーバランス自動調整実行フラグFwbをオンに維持したまま次のステップに移行する。
【0069】
CPU31は、カラーバランス自動調整実行フラグFwbの値を参照して、画像データGDの解析により得られた特性パラメータ値を、変更された基準値に近づけるよう補正する画質自動調整をパラメータ値に設定する(ステップS350)。カラーバランス自動調整実行フラグFwbが1の場合には、カラーバランスに対する画質の自動調整が実行される。
【0070】
カラーバランスの自動調整は、例えば、次のようにして実行される。先ず、画像データGDを解析して、RGBの各成分値(特性パラメータ値)の分布(ヒストグラム)を求め、さらに、RGBの成分値の平均値を求める。求めた平均値に基づいて、撮影時の光源(白色点、ホワイトバランス)を判定し、判定した光源における平均値として最適値である基準値を選択する。選択された基準値に対するRGBの各成分値の色ズレを求め、色ズレが解消されるようにトーンカーブ調整によってRGBの各成分の入力レベル対する出力レベルを調整する。
【0071】
カラーバランスが補正された場合の入力レベルと出力レベルとの関係について図12を参照して説明する。図12は、RGB成分のうち、R成分についての入力レベルと出力レベルの関係を概念的に示すグラフである。例えば、R成分がRGB成分の平均値よりも大きな場合には、入力レベルの3/4のポイントにて色ズレのレベルに応じて出力レベルを下げる(OL1)。一方、R成分がRGB成分の平均値よりも小さな場合には、入力レベルの3/4のポイントにて色ズレのレベルに応じて出力レベルを引き上げる(OL2)。また、色ズレに応じて入力値に対する出力値のオフセット量を与えても良い(OL3)。補正レベルに対応する点を除く値は、スプライン曲線にて補間される。
【0072】
光源の設定値としてオート光源が設定されている場合、撮影者は、光源(ホワイトバランス)を重視して撮影していないと判断できるので、画像データGDのカラーバランスを自動的に最適調整しても撮影者の意図に反することはない。
【0073】
一方、カラーバランス自動調整実行フラグFwbが0の場合には、カラーバランスに対する画質の自動調整は実行されない。例えば、昼光条件下で光源を蛍光灯に設定して撮影すると、赤みがかった画像が得られ、銀塩写真においてフィルタを用いて撮影した場合と同様な撮影効果を得ることができる。このような場合に、自動調整において基準値に基づいてカラーバランスを補正してしまうと、意図的な光源(ホワイトバランス)の指定による撮影効果を低減してしまい、撮影者の意図に反する出力結果が得られてしまう。これに対して本実施例では、光源の指定がある場合には、カラーバランスの自動調整を実行しないので、カラーバランスに関して、撮影者の意図を反映した画質の自動調整を実行することができる。
【0074】
CPU31は、自動調整した特性パラメータ値を画像データに反映し、カラーバランス自動調整実行フラグFwbをデフォルト値である1に戻した後(ステップS360)、メインルーチンである画像処理ルーチンにリターンする。
【0075】
CPU31は、画質自動調整処理を終了すると、印刷のためのwRGB色変換処理およびハーフトーン処理を実行する(ステップS250)。wRGB色変換処理では、CPU31は、ROM31内に格納されているwRGB色空間に対応したCMYK色空間への変換用ルックアップテーブル(LUT)を参照し、画像データの色空間をwRGB色空間からCMYK色空間へ変更する。すなわち、R・G・Bの階調値からなる画像データをカラープリンタ20で使用する、例えば、C・M・Y・K・LC・LMの各6色の階調値のデータに変換する。
【0076】
ハーフトーン処理では、色変換済みの画像データを受け取って、階調数変換処理を行う。本実施例においては、色変換後の画像データは各色毎に256階調幅を持つデータとして表現されている。これに対し、本実施例のカラープリンタ20では、「ドットを形成する」,「ドットを形成しない」のいずれかの状態しか採り得ず、本実施例のカラープリンタ20は局所的には2階調しか表現し得ない。そこで、256階調を有する画像データを、カラープリンタ20が表現可能な2階調で表現された画像データに変換する。この2階調化(2値化)処理の代表的な方法として、誤差拡散法と呼ばれる方法と組織的ディザ法と呼ばれる方法とがある。
【0077】
カラープリンタ20では、色変換処理に先立って、画像データの解像度が印刷解像度よりも低い場合は、線形補間を行って隣接画像データ間に新たなデータを生成し、逆に印刷解像度よりも高い場合は、一定の割合でデータを間引くことによって、画像データの解像度を印刷解像度に変換する解像度変換処理を実行する。また、カラープリンタ20は、ドットの形成有無を表す形式に変換された画像データを、カラープリンタ20に転送すべき順序に並べ替えてるインターレス処理を実行する。
【0078】
以上、説明したように本実施例に係るカラープリンタ20によれば、画像ファイルGF内に含まれる画像出力制御情報GIを反映して画像データGDの画質を自動調整することができる。したがって、ユーザによって恣意的に画像データの出力制御条件が設定されている場合であっても、画質自動調整を実行することにより恣意的な出力制御条件が修正され、ユーザの意図を反映することができないという、従来の画質自動調整機能における問題を解決することができる。
【0079】
特に、本実施例におけるカラープリンタ20によれば、画像データGDの画質を自動調整する際に、光源、すなわち、ホワイトバランスが指定されている場合には、カラーバランスを自動調整しない。したがって、撮影者によって意図的に設定された光源(ホワイトバランス)によりもたらされる撮影効果を損なうことなく、撮影者の意図を反映した出力結果を得ることができる。
【0080】
また、画像ファイルGFに含まれている画像出力制御情報GIを用いて自動的に画質を調整することができるので、フォトレタッチアプリケーションまたはプリンタドライバ上で画質調整を行うことなく、手軽にユーザの撮影意図を反映した、高品質の印刷結果を得ることができる。
【0081】
なお、上記実施例では、自動的に画質調整処理を実行する例について説明しているが、カラープリンタ20の操作パネル上に画質自動調整ボタンを供え、かかる画質自動調整ボタンによって画質自動調整が選択されている場合にだけ、上記実施例の画質自動調整処理を実行するようにしても良い。
【0082】
F.その他の実施例:
上記実施例では、パーソナルコンピュータPCを介することなく、カラープリンタ20において全ての画像処理を実行し、生成された画像データGDに従って、ドットパターンが印刷媒体上に形成されるが、画像処理の全て、または、一部をコンピュータ上で実行するようにしても良い。この場合には、コンピュータのハードディスク等にインストールされている、レタッチアプリケーション、プリンタドライバといった画像データ処理アプリケーションに図11を参照して説明した画像処理機能を持たせることによって実現される。ディジタルスチルカメラ12にて生成された画像ファイルGFは、ケーブルを介して、あるいは、メモリカードMCを介してコンピュータに対して提供される。コンピュータ上では、ユーザの操作によってアプリケーションが起動され、画像ファイルGFの読み込み、画像出力制御情報GIの解析、画像データGDの変換、調整が実行される。あるいは、メモリカードMCの差込を検知することによって、またあるいは、ケーブルの差込を検知することによって、アプリケーションが自動的に起動し、画像ファイルGFの読み込み、画像出力制御情報GIの解析、画像データGDの変換、調整が自動的になされても良い。
【0083】
また、上記実施例では、カラーバランスに焦点を当てて画質の自動調整を説明したが、この他にも、例えば、シャドウ・ハイライトポイント、コントラスト、明度、彩度、およびシャープネスといった画像データGDの特性パラメータ値に対して、画像出力制御情報GIを反映した画質の自動調整が実行され得る。
【0084】
さらに、画質自動調整を実行する特性パラメータ値を選択できるようにしても良い。例えば、カラープリンタ20にパラメータの選択ボタン、あるいは、被写体に応じて所定のパラメータの組み合わせた撮影モードパラメータの選択ボタンを供え、これら選択ボタンによって画質自動調整を実行するパラメータを選択しても良い。また、画質自動調整がパーソナルコンピュータ上で実行される場合には、プリンタドライバまたはレタッチアプリケーションのユーザーインタフェース上にて画質自動調整を実行するパラメータが選択されても良い。
【0085】
カラープリンタ20における画像処理は、図13に示すように画質自動調整処理を先に実行し、後に色空間の変換を実行しても良い。基本情報を処理しても良い。
【0086】
上記実施例では、共に出力装置としてカラープリンタ20を用いているが、出力装置にはCRT、LCD、プロジェクタ等の表示装置を用いることもできる。かかる場合には、出力装置としての表示装置によって、例えば、図10、図11等を用いて説明した画像処理を実行する画像処理プログラム(ディスプレイドライバ)が実行される。あるいは、CRT等がコンピュータの表示装置として機能する場合には、コンピュータ側にて画像処理プログラムが実行される。ただし、最終的に出力される画像データは、CMYK色空間ではなくRGB色空間を有している。
【0087】
かかる場合には、カラープリンタ20を介した印刷結果に画像データ生成時の情報を反映できたのと同様にして、CRT等の表示装置における表示結果に画像データ生成時の画像出力制御情報GIを反映することができる。したがって、ディジタルスチルカメラ12によって生成された画像データGDをより正確に表示させることができる。
【0088】
以上、実施例に基づき本発明に係る画像出力装置を説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれることはもちろんである。
【0089】
上記実施例では、画像出力制御情報GIとして、光源、露出補正量、ターゲット色空間、明るさ、シャープネスといったパラメータを用いているが、どのパラメータを画像出力制御情報GIとして用いるかは任意の決定事項である。
【0090】
また、図8の表に例示した各パラメータの値は、あくまでも例示に過ぎず、この値によって本願に係る発明が制限されることはない。さらに、各数式におけるマトリックスS、M、N-1の値は例示に過ぎず、ターゲットとする色空間、あるいは、カラープリンタ20において利用可能な色空間等によって適宜変更され得ることはいうまでもない。
【0091】
上記実施例では、画像ファイル生成装置としてディジタルスチルカメラ12を用いて説明したが、この他にもスキャナ、ディジタルビデオカメラ等が用いられ得る。スキャナを用いる場合には、画像ファイルGFの取り込みデータ情報の指定はコンピュータPC上で実行されても良く、あるいは、スキャナ上に情報設定用に予め設定情報が割り当てられているプリセットボタン、任意設定のための表示画面および設定用ボタンを供えておき、スキャナ単独で実行可能にしてもよい。
【0092】
上記実施例では、画像ファイルGFの具体例としてExif形式のファイルを例にとって説明したが、本発明に係る画像ファイルの形式はこれに限られない。すなわち、画像データ生成装置において生成された画像データと、画像データの生成時条件(情報)を記述する画像出力制御情報GIとが含まれている画像ファイルであれば良い。このようなファイルであれば、画像ファイル生成装置において生成された画像データの画質を、適切に自動調整して出力装置から出力することができる。
【0093】
上記実施例において用いたディジタルスチルカメラ12、カラープリンタ20はあくまで例示であり、その構成は各実施例の記載内容に限定されるものではない。ディジタルスチルカメラ12にあっては、上記実施例に係る画像ファイルGFを生成できる機能を少なくとも備えていればよい。また、カラープリンタ20にあっては、少なくとも、本実施例に係る画像ファイルGFの画像出力制御情報GIを解析し、特にカラーバランスに関してユーザの意図を反映して画質を自動調整し、画像を出力(印刷)できればよい。
【0094】
上記実施例では、画像データGDと画像出力制御情報GIとが同一の画像ファイルGFに含まれる場合を例にとって説明したが、画像データGDと画像出力制御情報GIとは、必ずしも同一のファイル内に格納される必要はない。すなわち、画像データGDと画像出力制御情報GIとが関連付けられていれば良く、例えば、画像データGDと画像出力制御情報GIとを関連付ける関連付けデータを生成し、1または複数の画像データと画像出力制御情報GIとをそれぞれ独立したファイルに格納し、画像データGDを処理する際に関連付けられた画像出力制御情報GIを参照しても良い。かかる場合には、画像データと画像出力制御情報GIとが別ファイルに格納されているものの、画像出力制御情報GIを利用する画像処理の時点では、画像データおよび画像出力制御情報GIとが一体不可分の関係にあり、実質的に同一のファイルに格納されている場合と同様に機能するからである。すなわち、少なくとも画像処理の時点において、画像データと画像出力制御情報GIとが関連付けられて用いられる態様は、本実施例における画像ファイルGFに含まれる。さらに、CD−ROM、CD−R、DVD−ROM、DVD−RAM等の光ディスクメディアに格納されている動画像ファイルも含まれる。
【図面の簡単な説明】
【図1】本実施例に係る画像出力装置を適用可能な画像データ出力システムの一例を示す説明図である。
【図2】本実施例に係る画像出力装置が出力する画像ファイル(画像データ)を生成可能なディジタルスチルカメラの概略構成を示すブロック図である。
【図3】本実施例において用いられ得る画像ファイルの内部構成を概念的に示す説明図である。
【図4】 Exifファイル形式にて格納されている画像ファイルの概略的な内部構造を示す説明図である。
【図5】本実施例に用いられ得る画像ファイルGFの付属情報格納領域112のデータ構造の一例を示す説明図である。
【図6】本実施例に係るカラープリンタ20の概略構成を示すブロック図である。
【図7】カラープリンタ20の制御回路30の内部構成を示す説明図である。
【図8】ディジタルスチルカメラ12における画像ファイルGFの精製処理の流れを示すフローチャートである。
【図9】本実施例に係るカラープリンタ20における印刷処理の処理ルーチンを示すフローチャートである。
【図10】本実施例に係るカラープリンタ20における画像処理の流れを示すフローチャートである。
【図11】カラープリンタ20における自動画像調整の処理ルーチンを示すフローチャートである。
【図12】RGB成分のうち、R成分についての入力レベルと出力レベルの関係を概念的に示すグラフである。
【図13】他の実施例に係るカラープリンタ20における印刷処理の処理ルーチンを示すフローチャートである。
【符号の説明】
10…画像データ出力システム
12…ディジタルスチルカメラ
121…光学回路
122…画像取得回路
123…画像処理回路
124…制御回路
126…選択・決定ボタン
127…液晶ディスプレイ
14…ディスプレイ
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…分配出力器
100…画像ファイル(Exifファイル)
101…JPEG画像データ格納領域
102…付属情報格納領域
103…Makernote格納領域
MC…メモリカード[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image adjustment technique for adjusting the image quality of image data.
[0002]
[Prior art]
The image quality of image data generated by a digital still camera (DSC), a digital video camera (DVC), a scanner, or the like can be arbitrarily adjusted by using an image retouching application on a personal computer. An image retouching application generally has an image adjustment function that automatically adjusts the image quality of image data. By using this image adjustment function, the image quality of image data output from an output device can be easily set. Can be improved. Known image file output devices include CRTs, LCDs, printers, projectors, television receivers, and the like.
[0003]
Also, a printer driver that controls the operation of a printer, which is one of the output devices, has a function of automatically adjusting the image quality of image data. Even if such a printer driver is used, printing is performed. The image quality of the image data can be easily improved.
[0004]
[Problems to be solved by the invention]
However, in the automatic image quality adjustment function provided by the image retouching application and the printer driver, image quality correction is executed with reference to image data having general image quality characteristics. On the other hand, since image data to be subjected to image processing can be generated under various conditions, even if the image quality automatic adjustment function is uniformly executed and the image quality parameter value of the image data is changed using the specified value, The image quality may not be improved.
[0005]
Some image data generation apparatuses such as DSC can arbitrarily adjust the image quality of image data when generating the image data, and the user can intentionally generate image data having a predetermined image quality. When the automatic image quality adjustment function is executed for such image data, even the intentional image quality of the image data is automatically adjusted based on the reference image quality, and an automatic image reflecting the user's intention is obtained. There was a problem that the adjustment could not be performed. Such a problem is not limited to DSC, but is common to other image data generation apparatuses such as DVC.
[0006]
The present invention has been made to solve the above problems, and an object thereof is to appropriately and automatically adjust the image quality corresponding to individual image data. It is another object of the present invention to automatically adjust the image quality of image data without impairing arbitrarily set output conditions.
[0007]
[Means for solving the problems and their functions and effects]
In order to solve the above-described problem, a first aspect of the present invention outputs image data using image data and image output control information that includes at least light source information at the time of generating the image data and is associated with the image data. An output device is provided. An output device according to a first aspect of the present invention includes an image quality adjusting unit that adjusts a color balance of the image data based on the light source information included in the image output control information, and image data with the image quality adjusted. Image data output means for outputting.
[0008]
According to the output device of the first aspect of the present invention, the color balance in the image quality adjustment is adjusted based on the light source information included in the image output control information, so that the image quality is appropriately set corresponding to the individual image data. In addition to automatic adjustment, the image quality of image data can be automatically adjusted without impairing arbitrarily set output conditions, that is, output conditions related to the light source.
[0009]
The output device according to the first aspect of the present invention further includes light source information determination means for analyzing the image output control information and determining whether or not the light source information is automatically set, and the light source information is automatically If it is determined that the color balance has not been set, image quality adjustment control means for prohibiting adjustment of the color balance in the image quality adjustment means may be provided. Alternatively, when it is determined that the light source information has not been automatically set, an image quality adjustment control unit that reduces the degree of adjustment of the color balance in the image quality adjustment unit may be provided.
[0010]
According to the output device of the first aspect of the present invention, when it is determined that the light source information has not been automatically set, the adjustment of the color balance in the image quality adjustment is prohibited or the degree of adjustment is reduced. Therefore, the image quality can be appropriately adjusted automatically corresponding to each image data, and the image quality of the image data can be automatically adjusted without impairing the arbitrarily set output condition, that is, the output condition regarding the light source. Can do.
[0011]
In the output device according to the first aspect of the present invention,
The image quality adjusting means is
Image quality parameter value acquisition means for analyzing the image data and acquiring a value of an image quality parameter indicating the characteristics of the image data;
The image quality of the image data may be adjusted based on the acquired image quality parameter value and a predetermined reference image quality parameter value.
[0012]
When such a configuration is provided, the image quality of the image data is corrected based on the reference image quality parameter and the image quality parameter, so that the image data can be output with an appropriate image quality.
[0013]
In the output device according to the first aspect of the present invention, the image adjustment unit calculates an image quality adjustment amount from the reference image quality parameter value and the image quality parameter value, and corrects the image quality adjustment amount to reflect the light source information. The image quality of the image data may be adjusted using the corrected image quality adjustment amount. With such a configuration, it is possible to more appropriately automatically adjust the image quality of individual image data by reflecting light source information.
[0014]
In the output device according to the first aspect of the present invention, the image adjusting means reflects the light source information and reduces or eliminates the deviation between the reference image quality parameter value and the image quality parameter value. May be adjusted. With such a configuration, it is possible to more appropriately automatically adjust the image quality of individual image data by reflecting light source information.
[0015]
The output apparatus according to the first aspect of the present invention further comprises reference image quality parameter value correcting means for analyzing the image output control information and correcting a reference image quality parameter value for the image quality parameter value, wherein the image quality adjusting means is The image quality of the image data may be adjusted based on the corrected reference image quality parameter value and the acquired image quality parameter value. By providing such a configuration, the reference image quality parameter value can be corrected in accordance with the characteristics of individual image data, so that the image quality of the image data can be automatically adjusted more appropriately while reflecting the characteristics of the image data. . Note that the light source information may include white balance information used at the time of image data generation.
[0016]
A second aspect of the present invention provides an image data processing apparatus that processes image data using image data and image output control information that includes at least light source information at the time of generating the image data and is associated with the image data. . An image data processing apparatus according to a second aspect of the present invention includes a capturing unit that captures the image data and image output control information, and analyzes the image data to obtain a value of an image quality parameter indicating characteristics of the image data. An image quality parameter value acquisition means for performing image quality adjustment for adjusting a color balance of the image data based on a predetermined reference image quality parameter value, the light source information included in the image output control information, and the acquired image quality parameter value And adjusting means.
[0017]
According to the image data processing device according to the second aspect of the present invention, it is possible to obtain the same operational effects as those of the output device according to the first aspect of the present invention. The image data processing apparatus according to the second aspect of the present invention can take various aspects in the same manner as the output apparatus according to the first aspect of the present invention.
[0018]
The third aspect of the present invention provides a method for adjusting the image quality of image data. The method according to the third aspect of the present invention obtains image data and image output control information associated with the image data at least including light source information at the time of generating the image data, and analyzes the image output control information. If the light source information is automatically set, and if it is determined that the light source information is not automatically set, the image quality of the acquired image data is excluded except for adjustment of color balance. It is characterized by adjusting.
[0019]
According to the method according to the third aspect of the present invention, it is possible to obtain the same operational effects as those of the output device according to the first aspect of the present invention. Further, the method according to the third aspect of the present invention can take various aspects in the same manner as the output device according to the first aspect of the present invention.
[0020]
A fourth aspect of the present invention provides a program for adjusting the image quality of image data. A program according to a fourth aspect of the present invention includes a function for acquiring image data and image output control information that includes at least light source information at the time of generating the image data and is associated with the image data, and the image output control information. And a function of adjusting the image quality of the image data including color balance based on the light source information included in the computer.
[0021]
According to the program concerning the 4th mode of the present invention, the same operation effect as the output device concerning the 1st mode of the present invention can be acquired. The program according to the fourth aspect of the present invention can take various aspects in the same manner as the output device according to the first aspect of the present invention.
[0022]
According to a fifth aspect of the present invention, there is provided an image data generation device that generates image data associated with an image processing condition of image data in an output device. An image data generation device according to a fifth aspect of the present invention includes an image data generation unit that generates image data for generating image data, a light source information acquisition unit that acquires light source information, and analyzes the generated image data. Based on at least an image quality parameter value acquisition means for acquiring an image quality parameter value indicating characteristics relating to color balance of the image data, a predetermined reference image quality parameter, the acquired image quality parameter, and the light source information The image processing condition generating means for generating the image processing condition, and an output means for outputting the generated image processing condition and image data in association with each other.
[0023]
According to the image data generation device of the fifth aspect of the present invention, the image processing condition in the output device is generated based on the predetermined reference image quality parameter, the acquired image quality parameter, and the light source information. Can do. Accordingly, the color balance can be adjusted based on the light source information, the image quality can be appropriately adjusted automatically corresponding to each image data, and the arbitrarily set output condition, that is, the light source The image quality of the image data can be automatically adjusted without impairing the output conditions. Note that the image data and the image processing conditions may be stored in association with each other in the same file.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, output image adjustment of an image file according to the present invention will be described based on several embodiments with reference to the drawings in the following order.
A. Configuration of image data output system:
B. Image file structure:
C. Configuration of image data output system that can use image files:
D. Image processing in digital still cameras:
E. Image processing in the printer:
F. Other examples:
[0025]
A. Configuration of image data output system:
A configuration of an image data output system to which an image output apparatus that realizes image output adjustment according to the present embodiment can be applied will be described with reference to FIGS. 1 and 2. FIG. 1 is an explanatory diagram showing an example of an image data output system to which the image output apparatus according to the first embodiment can be applied. FIG. 2 is a block diagram showing a schematic configuration of a digital still camera capable of generating an image file (image data) output from the image output apparatus according to the first embodiment.
[0026]
An image data output system 10 is a digital still camera 12 as an input device that generates an image file, and performs image processing based on an image file generated by the digital still camera 12 and outputs a color as an output device that outputs an image. A printer 20 is provided. As the output device, 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. In the following description, the color printer 20 is used as the output device.
[0027]
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.
[0028]
The digital still camera 12 also has a selection / decision button 126 for setting a photographing mode, exposure correction, a light source, etc., and a liquid crystal for previewing a photographed image or setting a photographing mode using the selection / decision button 126 A display 127 is provided. The light source set in the digital still camera 12 is set by designating a light source, and automatic setting (AUTO), daylight, fluorescent lamp, tungsten, and the like can be set. As will be apparent to those skilled in the art, the light source set in the digital still camera 12 more specifically means the white balance used when shooting under a designated light source. That is, a light source such as daylight, a fluorescent lamp, and tungsten not only means a light source at the time of photographing, but also has a white balance that is given in advance (preset) on the digital still camera 12 side for each light source. I mean. Normally, the light source in the digital still camera 12 is automatically set as a default value by an automatic light source (AWB: auto white balance) that automatically recognizes the light source at the time of shooting on the digital still camera 12 side and automatically corrects the light source (white balance). Has been. In the case of shooting with an auto light source, for example, 0 is recorded as the light source designation parameter value.
[0029]
The digital still camera 12 used in the image data output system 10 stores image output control information GI of image data in the memory card MC as an image file GF in addition to the image data GD. That is, the image output control information GI is automatically stored in the memory card MC as an image file GF together with the image data GD at the time of shooting. In addition, when a shooting mode such as portrait or night view is selected in advance by the user, the parameter value of the image quality parameter corresponding to the selected shooting mode, or parameters such as exposure correction amount and light source are arbitrary. When the value is set, the image file GF including the set value of the set parameter as the image output control information GI is stored in the memory card MC.
[0030]
When the digital still camera 12 performs shooting in the automatic shooting mode, an image including values of parameters such as exposure time, light source, aperture, shutter speed, and lens focal length at the time of shooting as image output control information. File GF is stored in memory card MC. It should be noted that parameters and parameter values applied to each shooting mode are held in a memory in the control circuit 124 of the digital still camera 12.
[0031]
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.
[0032]
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 includes an image data storage area 101 for storing image data GD, and an image output control information storage area 102 for storing information (image output control information) GI for controlling the output state of the image data. For example, the image data GD is stored in the JPEG format, and the image output control information GI is stored in the TIFF 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.
[0033]
The image output control information GI is information (image quality generation 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 shooting. Parameters relating to exposure time, ISO sensitivity, aperture, shutter speed, focal length, and output control parameters such as exposure correction, light source, shooting mode, target color space, and the like arbitrarily set by the user.
[0034]
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.
[0035]
The image file GF according to the present embodiment basically has only the image data area 101 and the image output control information storage area 102 described above, and has a file structure in accordance with an already standardized file format. be able to. The case where the image file GF according to the present embodiment is adapted to a standardized file format will be specifically described below.
[0036]
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). A schematic internal structure of the file when the image file GF according to the present embodiment has a file format conforming to the Exif file format will be described with reference to FIG. FIG. 4 is an explanatory diagram showing a schematic internal structure of the image file GF according to this embodiment stored in the Exif file format.
[0037]
The image file GFE 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 JPEG data storage area 111 corresponds to the image data storage area 101, and the attached information storage area 112 corresponds to the image output control information storage area 102. That is, in the attached information storage area 112, image output control information (image output control information GI) referred to when outputting a JPEG image such as shooting date / time, exposure, shutter speed, light source, exposure correction, target color space, and the like. Stored. Further, in the attached information storage area 112, in addition to the image output control information GI, 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.
[0038]
A detailed data structure of the attached information storage area 112 will be described with reference to FIG. FIG. 5 is an explanatory diagram showing an example of the data structure of the attached information storage area 112 of the image file GF that can be used in this embodiment.
[0039]
In the attached information storage area 112, parameter values for information such as exposure time, lens F value, exposure control mode, ISO sensitivity, exposure correction amount, light source, flash, focal length and the like are stored according to a predetermined address as shown in the figure. Yes. On the output device side, the image output control information GI can be acquired by designating an address corresponding to desired information (parameter).
[0040]
C. Image output device configuration:
The schematic configuration of the image output apparatus according to this embodiment, that is, the color printer 20 will be described with reference to FIG. FIG. 6 is a block diagram illustrating a schematic configuration of the color printer 20 according to the present embodiment.
[0041]
The color printer 20 is a printer that can output a color image. For example, four color inks of cyan (C), magenta (M), yellow (Y), and black (K) are ejected 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.
[0042]
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).
[0043]
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.
[0044]
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).
[0045]
Next, the internal configuration of the control circuit 30 of the color printer 20 will be described with reference to FIG. FIG. 7 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.
[0046]
The control circuit 30 reads the image file 100 from the memory card MC, analyzes the attached information AI, and executes image processing based on the analyzed control information AI. The control circuit 30 outputs dot data to the drive buffer 37 at a predetermined timing while synchronizing with the movements of the paper feed motor 24 and the carriage motor 22. The detailed image processing flow executed by the control circuit 30 will be described below.
.
[0047]
D. Image processing in digital still cameras:
Hereinafter, image processing in the digital still camera 12 will be described with reference to FIG. FIG. 8 is a flowchart showing a flow of processing for generating the image file GF in the digital still camera 12.
[0048]
The control circuit 124 of the digital still camera 12 determines whether or not image capturing mode or image output control information such as a light source and exposure correction amount is set by the user prior to image capturing (step S100). The setting of the image output control information is executed by the user selecting a preset shooting mode displayed on the liquid crystal display 127 by operating the selection / setting button 126. Alternatively, it is executed by operating the selection / setting button 126 and changing the setting value on the liquid crystal display 127 by the user.
[0049]
If the control circuit 124 determines that the image output control information has been set (step S100: Yes), the control circuit 124 is defined by the set image output control information in response to a shooting request, for example, pressing the shutter button. Image data GD is generated using the parameter values (step S110). The control circuit 124 stores the generated image data GD and the image output control information GI including the arbitrarily set output condition and the automatically given output condition as an image file GF in the memory card MC (step S120). ), This processing routine is terminated. Data generated by the digital still camera 12 is converted from the RGB color space and represented by the YCbCr color space.
[0050]
On the other hand, when determining that the image output control information is not set (step S100: No), the control circuit 124 generates the image data GD in response to the photographing request (step S130). The control circuit 124 stores the generated image data GD and the image output control information GI including the output condition automatically given when the image data is generated in the memory card MC as an image file GF (Step S140). End the routine.
[0051]
Through the above processing executed in the digital still camera 12, the image file GF stored in the memory card MC is provided with the image output control information GI including the value of each parameter at the time of image data generation together with the image data GD. It becomes.
[0052]
E. Image processing in the color printer 20:
Image processing in the color printer 20 according to the present embodiment will be described with reference to FIGS. FIG. 9 is a flowchart showing the processing routine of the printing process in the color printer 20 according to this embodiment. FIG. 10 is a flowchart showing the flow of image processing in the color printer 20. FIG. 11 is a flowchart showing an automatic image adjustment processing routine in the color printer 20. In the image processing in the color printer 20 according to the present embodiment, color space conversion processing is executed first, and automatic image adjustment is executed later.
[0053]
When the memory card MC is inserted into the slot 34, the control circuit 30 (CPU 31) of the color printer 20 reads the image file 100 from the memory card MC, and temporarily stores the read image file 100 in the RAM 33 (step S100). . The CPU 31 retrieves image output control information GI indicating information at the time of generating image data from the attached information storage area 102 of the read image file 100 (step S110). If the image output control information can be retrieved and found (step S120: Yes), the CPU 31 acquires and analyzes the image output control information GI at the time of image data generation (step S130). The CPU 31 executes image processing to be described in detail later based on the analyzed image output control information GI (step S140), and prints out the processed image data (step S150).
[0054]
If the image output control information cannot be retrieved or found (step S120: No), the CPU 31 cannot reflect the image output control information at the time of image data generation, so that the color printer 20 holds it as a default value in advance. The obtained image output control information, that is, various parameter values are acquired from the ROM 32, and normal image processing is executed (step S160). The CPU 31 prints out the processed image data (step S150) and ends this processing routine.
[0055]
Image processing executed in the color printer 20 will be described in detail with reference to FIG. The CPU 31 of the color printer 20 extracts the image data GD from the read image file GF (step S200). 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.
[0056]
The CPU 31 executes a 3 × 3 matrix operation S in order to convert the 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.
[0057]
[Expression 1]
Figure 0004126967
[0058]
The CPU 31 executes gamma correction and matrix operation M on the image data based on the RGB color space thus obtained (step S220). When executing gamma correction, the CPU 31 acquires the gamma value on the DSC side from the image output control information GI, and executes gamma conversion processing on the video data using the acquired gamma value. The matrix operation M is an operation process for converting the RGB color space into the XYZ color space. Since the image file GF used in the present embodiment can include color space information at the time of image generation, when the image file GF includes color space information, the CPU 31 executes the matrix operation M. Referring to the color space information, the matrix calculation is executed using the matrix (M) corresponding to the color space at the time of image generation. The matrix operation M is an arithmetic expression shown below.
[0059]
[Expression 2]
Figure 0004126967
[0060]
The color space of the image data GD obtained after execution of the matrix operation M is an XYZ 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. In contrast, in the present embodiment, when the image file GF includes color space information, a printer (printer driver) that changes the matrix (M) used in the matrix operation M corresponding to the color space information. ) Is used. Therefore, the color space of the digital still camera 12 can be effectively used to realize correct color reproduction.
[0061]
The CPU 31 performs processing for converting the color space of the image data GD from the XYZ color space to the wRGB color space in order to execute image adjustment based on arbitrary information, that is, matrix operation N -1 Then, reverse gamma correction is executed (step S230). The wRGB color space is a wider color space than the sRGB color space. When executing gamma correction, the CPU 31 acquires a default gamma value on the printer side from the ROM 32, and executes an inverse gamma conversion process on the video data using the inverse of the acquired gamma value. Matrix operation N -1 Is executed, the CPU 31 executes a matrix (N) corresponding to the conversion from the ROM 31 to the wRGB color space. -1 ) To perform matrix operation. Matrix operation N -1 Is an arithmetic expression shown below.
[0062]
[Equation 3]
Figure 0004126967
[0063]
Matrix operation N -1 The color space of the image data GD obtained after execution is the wRGB color space. As described above, the wRGB color space is a color space wider than the sRGB color space, and corresponds to a color space that can be generated by the digital still camera 12.
[0064]
The CPU 31 executes an automatic image quality adjustment process (step S240). In the automatic image quality adjustment processing in the present embodiment, the image data GD included in the image file GF is analyzed to obtain a characteristic parameter value indicating the image quality, and the image output control information GI included in the image file GF is reflected. Then, automatic image quality adjustment for correcting the acquired characteristic parameter value is executed. This image quality automatic adjustment processing will be described in detail with reference to FIG.
[0065]
First, the CPU 31 analyzes the image data GD, acquires various characteristic parameter values indicating the characteristics of the image data GD, and temporarily stores them in the RAM 32 (step S300). The CPU 31 analyzes the image output control information GI, and acquires control parameter (information) values for controlling (designating) image output such as a light source, exposure correction amount, exposure time, aperture, ISO, focal length, and the like (step S310). ).
[0066]
The CPU 31 changes (corrects) the reference value and coefficient set for each parameter while reflecting the acquired control parameter value (step S320). The reference value and coefficient set for each parameter are values assuming image data generated under general image generation conditions (output control conditions). Therefore, in order to realize automatic image quality adjustment that accurately reflects the intention of the photographer (image creator), especially for the output control conditions that can be arbitrarily set by the photographer, taking into account the individual output control conditions, Change the value and coefficient. The reference value and the coefficient are parameter values of parameters that optimize the output result of an image determined in advance by image evaluation based on quantitative evaluation and sensitivity evaluation.
[0067]
The CPU 31 determines whether or not the value of the light source designation parameter among the acquired control parameters is 0, that is, whether or not the light source condition is set to auto white balance at the time of shooting (step S330). When the CPU 31 determines that the value of the light source parameter is not 0 (step S330: No), the color balance automatic adjustment execution flag permitting execution of the image quality automatic adjustment relating to the color balance (sometimes referred to as white balance). Fwb is turned off (Fwb = 0) (step S340). If a setting other than the auto light source is set as the light source setting value, the photographer can determine that the light source, that is, the white balance, is intentionally specified and photographed. Therefore, in order to reflect the photographer's intention, the correction of the parameter value relating to the color balance of the image data GD based on the reference value is prohibited. Note that the default value of the color balance automatic adjustment execution flag Fwb is 1 (on).
[0068]
On the other hand, if the CPU 31 determines that the value of the light source parameter is 0 (step S330: Yes), the CPU 31 proceeds to the next step while keeping the color balance automatic adjustment execution flag Fwb on.
[0069]
The CPU 31 refers to the value of the automatic color balance adjustment execution flag Fwb, and sets, as the parameter value, automatic image quality adjustment for correcting the characteristic parameter value obtained by analyzing the image data GD so as to approach the changed reference value. (Step S350). When the color balance automatic adjustment execution flag Fwb is 1, automatic image quality adjustment for color balance is executed.
[0070]
The automatic color balance adjustment is executed as follows, for example. First, image data GD is analyzed to obtain a distribution (histogram) of RGB component values (characteristic parameter values), and an average value of RGB component values is obtained. Based on the obtained average value, the light source (white point, white balance) at the time of photographing is determined, and the reference value that is the optimum value is selected as the average value for the determined light source. A color shift of each RGB component value with respect to the selected reference value is obtained, and an output level with respect to an input level of each RGB component is adjusted by tone curve adjustment so that the color shift is eliminated.
[0071]
The relationship between the input level and the output level when the color balance is corrected will be described with reference to FIG. FIG. 12 is a graph conceptually showing the relationship between the input level and the output level for the R component of the RGB components. For example, when the R component is larger than the average value of the RGB components, the output level is lowered according to the color misregistration level at 3/4 of the input level (OL1). On the other hand, when the R component is smaller than the average value of the RGB components, the output level is raised according to the color misregistration level at 3/4 of the input level (OL2). Further, an offset amount of the output value with respect to the input value may be given according to the color shift (OL3). Values other than the points corresponding to the correction level are interpolated with a spline curve.
[0072]
If the auto light source is set as the light source setting value, the photographer can determine that the light source (white balance) has not been taken and therefore the color balance of the image data GD is automatically optimally adjusted. There is nothing against the photographer's intention.
[0073]
On the other hand, when the color balance automatic adjustment execution flag Fwb is 0, automatic image quality adjustment for color balance is not executed. For example, when a light source is set to a fluorescent lamp under daylight conditions, a reddish image is obtained, and the same photographing effect as that obtained by photographing using a filter in a silver salt photograph can be obtained. In such a case, if the color balance is corrected based on the reference value in the automatic adjustment, the shooting effect due to the intentional specification of the light source (white balance) is reduced, and the output result is contrary to the photographer's intention. Will be obtained. On the other hand, in this embodiment, when the light source is designated, the automatic adjustment of the color balance is not executed. Therefore, the automatic adjustment of the image quality reflecting the photographer's intention can be executed regarding the color balance.
[0074]
The CPU 31 reflects the automatically adjusted characteristic parameter value in the image data, returns the color balance automatic adjustment execution flag Fwb to 1 which is the default value (step S360), and then returns to the image processing routine which is the main routine.
[0075]
When finishing the automatic image quality adjustment process, the CPU 31 executes a wRGB color conversion process and a halftone process for printing (step S250). In the wRGB color conversion process, the CPU 31 refers to a look-up table (LUT) for conversion to the CMYK color space corresponding to the wRGB color space stored in the ROM 31, and changes the color space of the image data from the wRGB color space to the CMYK. Change to color 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.
[0076]
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.
[0077]
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.
[0078]
As described above, according to the color printer 20 of the present embodiment, the image quality of the image data GD can be automatically adjusted by reflecting the image output control information GI included in the image file GF. Therefore, even when the image data output control condition is arbitrarily set by the user, the arbitrary output control condition can be corrected by reflecting the user's intention by executing the automatic image quality adjustment. The problem of the conventional automatic image quality adjustment function that cannot be solved can be solved.
[0079]
In particular, according to the color printer 20 in the present embodiment, when the image quality of the image data GD is automatically adjusted, the color balance is not automatically adjusted when the light source, that is, the white balance is designated. Therefore, an output result reflecting the photographer's intention can be obtained without impairing the photographing effect brought about by the light source (white balance) intentionally set by the photographer.
[0080]
In addition, since the image quality can be automatically adjusted using the image output control information GI included in the image file GF, the user can easily shoot without adjusting the image quality on the photo retouching application or the printer driver. It is possible to obtain a high-quality printing result reflecting the intention.
[0081]
In the above embodiment, an example in which image quality adjustment processing is automatically executed has been described. However, an automatic image quality adjustment button is provided on the operation panel of the color printer 20, and automatic image quality adjustment is selected by the image quality automatic adjustment button. The image quality automatic adjustment process of the above-described embodiment may be executed only when it is performed.
[0082]
F. Other examples:
In the above embodiment, all image processing is executed in the color printer 20 without using the personal computer PC, and a dot pattern is formed on the print medium according to the generated image data GD. Or you may make it run a part on a computer. In this case, the image data processing application such as a retouch application or a printer driver installed in a hard disk of a computer is provided with the image processing function described with reference to FIG. The image file GF generated by the digital still camera 12 is provided to the computer via a cable or a memory card MC. On the computer, an application is started by a user operation, and the image file GF is read, the image output control information GI is analyzed, and the image data GD is converted and adjusted. Alternatively, by detecting the insertion of the memory card MC or by detecting the insertion of the cable, the application is automatically started, the image file GF is read, the image output control information GI is analyzed, the image Conversion and adjustment of the data GD may be automatically performed.
[0083]
In the above embodiment, the automatic adjustment of the image quality has been described focusing on the color balance. However, in addition to this, for example, the image data GD such as the shadow / highlight point, contrast, brightness, saturation, and sharpness can be used. Automatic adjustment of the image quality reflecting the image output control information GI may be performed on the characteristic parameter value.
[0084]
Furthermore, a characteristic parameter value for executing automatic image quality adjustment may be selected. For example, the color printer 20 may be provided with a parameter selection button or a shooting mode parameter selection button in which predetermined parameters are combined according to the subject, and parameters for executing automatic image quality adjustment may be selected with these selection buttons. When automatic image quality adjustment is executed on a personal computer, a parameter for executing automatic image quality adjustment may be selected on a user interface of a printer driver or a retouch application.
[0085]
In the image processing in the color printer 20, as shown in FIG. 13, automatic image quality adjustment processing may be executed first, and color space conversion may be executed later. Basic information may be processed.
[0086]
In the above-described embodiments, the color printer 20 is used as an output device. However, a display device such as a CRT, LCD, or projector can be used as the output device. In such a case, an image processing program (display driver) that executes the image processing described with reference to FIGS. 10 and 11 is executed by the display device as the output device. Alternatively, when a CRT or the like functions as a computer display device, an image processing program is executed on the computer side. However, finally output image data has an RGB color space instead of a CMYK color space.
[0087]
In such a case, the image output control information GI at the time of image data generation is added to the display result on a display device such as a CRT in the same manner that the information at the time of image data generation can be reflected in the print result via the color printer 20. Can be reflected. Therefore, the image data GD generated by the digital still camera 12 can be displayed more accurately.
[0088]
The image output apparatus according to the present invention has been described above based on the embodiments. However, the embodiments of the present invention described above are for facilitating the understanding of the present invention and do not limit the present invention. . 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.
[0089]
In the above embodiment, parameters such as the light source, exposure correction amount, target color space, brightness, and sharpness are used as the image output control information GI. However, which parameters are used as the image output control information GI is an arbitrary decision item. It is.
[0090]
Further, the values of the parameters illustrated in the table of FIG. 8 are merely examples, and the invention according to the present application is not limited by these values. Further, the matrix S, M, N in each mathematical expression -1 This value is merely an example, and it is needless to say that the value can be appropriately changed according to the target color space or the color space available in the color printer 20.
[0091]
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.
[0092]
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 output control information GI describing conditions (information) for generating the image data 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.
[0093]
The digital still camera 12 and the color printer 20 used in the above-described embodiments are merely examples, and the configuration is not limited to the description of each embodiment. The digital still camera 12 only needs to have at least a function capable of generating the image file GF according to the above embodiment. Further, in the color printer 20, at least the image output control information GI of the image file GF according to the present embodiment is analyzed, and the image quality is automatically adjusted to reflect the user's intention regarding the color balance, and the image is output. (Printing) It should be possible.
[0094]
In the above embodiment, the case where the image data GD and the image output control information GI are included in the same image file GF has been described as an example. However, the image data GD and the image output control information GI 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 output control information GI are associated with each other. For example, association data that associates the image data GD and the image output control information GI is generated, and one or a plurality of image data and image output control are generated. Information GI may be stored in independent files, and image output control information GI associated with processing image data GD may be referred to. In such a case, although the image data and the image output control information GI are stored in separate files, the image data and the image output control information GI are inseparably integrated at the time of image processing using the image output control information GI. 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 output control information GI 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 output system to which an image output 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) output by the image output apparatus according to the present embodiment.
FIG. 3 is an explanatory diagram conceptually showing the internal structure of an image file that can be used in this embodiment.
FIG. 4 is an explanatory diagram showing a schematic internal structure of an image file stored in an Exif file format.
FIG. 5 is an explanatory diagram showing an example of a data structure of an attached information storage area 112 of an image file GF that can be used in the present embodiment.
FIG. 6 is a block diagram illustrating a schematic configuration of a color printer 20 according to the present embodiment.
7 is an explanatory diagram showing an internal configuration of a control circuit 30 of the color printer 20. FIG.
FIG. 8 is a flowchart showing a flow of a process for refining an image file GF in the digital still camera 12;
FIG. 9 is a flowchart illustrating a processing routine of print processing in the color printer 20 according to the present embodiment.
FIG. 10 is a flowchart illustrating a flow of image processing in the color printer 20 according to the present embodiment.
FIG. 11 is a flowchart illustrating an automatic image adjustment processing routine in the color printer 20;
FIG. 12 is a graph conceptually showing a relationship between an input level and an output level for an R component of RGB components.
FIG. 13 is a flowchart illustrating a processing routine of printing processing in a color printer 20 according to another embodiment.
[Explanation of symbols]
10. Image data output 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
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
100 ... Image file (Exif file)
101 ... JPEG image data storage area
102 ... Attached information storage area
103 ... Makernote storage area
MC ... Memory card

Claims (22)

画像を表す画像データと、前記画像撮影時のホワイトバランスの情報とを含む画像ファイルを用いて画像を出力する画像出力装置であって、
前記画像ファイルを取得する画像ファイル取得手段と、
前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記ホワイトバランスの情報が、オートホワイトバランスを表す情報であるか否かを判定するホワイトバランス情報判定手段と、
前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記画像データに対して、画像処理を行う画像処理手段と、
前記ホワイトバランス情報判定手段によって前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報でないと判定した場合には、前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記画像データに対して、カラーバランス調整を行わない画像処理制御手段と、
前記画像処理手段によって前記画像処理された画像データが表す画像を出力する画像出力手段と、
を有する画像出力装置。
An image output device that outputs an image using an image file including image data representing an image and information on white balance at the time of image capture ,
Image file acquisition means for acquiring the image file;
White balance information determination means for determining whether or not the white balance information included in the image file acquired by the image file acquisition means is information representing auto white balance;
Image processing means for performing image processing on the image data included in the image file acquired by the image file acquisition means;
If the white balance information determination means determines that the white balance information is not information representing the auto white balance, the image data included in the image file acquired by the image file acquisition means Image processing control means not performing color balance adjustment;
Image output means for outputting an image represented by the image data processed by the image processing means;
An image output apparatus.
画像を表す画像データと、前記画像撮影時のホワイトバランスの情報とを含む画像ファイルを用いて画像を出力する画像出力装置であって、An image output device that outputs an image using an image file including image data representing an image and information on white balance at the time of image capture,
前記画像ファイルを取得する画像ファイル取得手段と、  Image file acquisition means for acquiring the image file;
前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記ホワイトバランスの情報が、オートホワイトバランスを表す情報であるか否かを判定するホワイトバランス情報判定手段と、  White balance information determination means for determining whether or not the white balance information included in the image file acquired by the image file acquisition means is information representing auto white balance;
前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記画像データに対して、画像処理を行う画像処理手段と、  Image processing means for performing image processing on the image data included in the image file acquired by the image file acquisition means;
前記ホワイトバランス情報判定手段によって前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報でないと判定した場合には、前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記画像データに対して、前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報であると判定した場合よりも、カラーバランスの調整の度合いを低減する画像処理制御手段と、  When the white balance information determination means determines that the white balance information is not information representing the auto white balance, the image data included in the image file acquired by the image file acquisition means Image processing control means for reducing the degree of color balance adjustment than when it is determined that the white balance information is information representing the auto white balance;
前記画像処理手段によって前記画像処理された画像データが表す画像を出力する画像出力手段と、  Image output means for outputting an image represented by the image data processed by the image processing means;
を有する画像出力装置。  An image output apparatus.
画像を表す画像データと、前記画像撮影時のホワイトバランスの情報とを含む画像ファイルを用いて画像を出力する画像出力装置であって、An image output device that outputs an image using an image file including image data representing an image and information on white balance at the time of image capture,
前記画像ファイルを取得する画像ファイル取得手段と、  Image file acquisition means for acquiring the image file;
前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記ホワイトバランスの情報が、オートホワイトバランスを表す情報であるか否かを判定するホワイトバランス情報判定手段と、  White balance information determination means for determining whether or not the white balance information included in the image file acquired by the image file acquisition means is information representing auto white balance;
前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記画像データに対して、画像処理を行う画像処理手段と、  Image processing means for performing image processing on the image data included in the image file acquired by the image file acquisition means;
前記ホワイトバランス情報判定手段によって前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報でないと判定した場合には、前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記画像データに対して、色調整を行わない画像処理制御手段と、  When the white balance information determination means determines that the white balance information is not information representing the auto white balance, the image data included in the image file acquired by the image file acquisition means Image processing control means for performing no color adjustment;
前記画像処理手段によって前記画像処理された画像データが表す画像を出力する画像出力手段と、  Image output means for outputting an image represented by the image data processed by the image processing means;
を有する画像出力装置。  An image output apparatus.
画像を表す画像データと、前記画像撮影時のホワイトバランスの情報とを含む画像ファイルを用いて画像を出力する画像出力装置であって、An image output device that outputs an image using an image file including image data representing an image and information on white balance at the time of image capture,
前記画像ファイルを取得する画像ファイル取得手段と、  Image file acquisition means for acquiring the image file;
前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記ホワイトバランスの情報が、オートホワイトバランスを表す情報であるか否かを判定するホワイトバランス情報判定手段と、  White balance information determination means for determining whether or not the white balance information included in the image file acquired by the image file acquisition means is information representing auto white balance;
前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記画像データに対して、画像処理を行う画像処理手段と、  Image processing means for performing image processing on the image data included in the image file acquired by the image file acquisition means;
前記ホワイトバランス情報判定手段によって前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報でないと判定した場合には、前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記画像データに対して、前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報であると判定した場合よりも、色調整の度合いを低減する画像処理制御手段と、  If the white balance information determination means determines that the white balance information is not information representing the auto white balance, the image data included in the image file acquired by the image file acquisition means Image processing control means for reducing the degree of color adjustment than when it is determined that the white balance information is information representing the auto white balance;
前記画像処理手段によって前記画像処理された画像データが表す画像を出力する画像出力手段と、  Image output means for outputting an image represented by the image data processed by the image processing means;
を有する画像出力装置。  An image output apparatus.
画像を表す画像データと、前記画像撮影時のホワイトバランスの情報とを含む画像ファイルを用いて画像を出力する画像出力装置であって、An image output device that outputs an image using an image file including image data representing an image and information on white balance at the time of image capture,
前記画像ファイルを取得する画像ファイル取得手段と、  Image file acquisition means for acquiring the image file;
前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記ホワイトバランスの情報を取得するホワイトバランス情報取得手段と、  White balance information acquisition means for acquiring the white balance information included in the image file acquired by the image file acquisition means;
前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記画像データに対して、画像処理を行う画像処理手段と、  Image processing means for performing image processing on the image data included in the image file acquired by the image file acquisition means;
前記ホワイトバランス情報取得手段によって取得された前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報でない場合には、前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記画像データに対して、カラーバランス調整を行わない画像処理制御手段と、  If the white balance information acquired by the white balance information acquisition means is not information representing the auto white balance, the image data included in the image file acquired by the image file acquisition means, Image processing control means not performing color balance adjustment;
前記画像処理手段によって前記画像処理された画像データが表す画像を出力する画像出力手段と、  Image output means for outputting an image represented by the image data processed by the image processing means;
を有する画像出力装置。  An image output apparatus.
画像を表す画像データと、前記画像撮影時のホワイトバランスの情報とを含む画像ファイルを用いて画像を出力する画像出力装置であって、An image output device that outputs an image using an image file including image data representing an image and information on white balance at the time of image capture,
前記画像ファイルを取得する画像ファイル取得手段と、  Image file acquisition means for acquiring the image file;
前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記ホワイトバランスの情報を取得するホワイトバランス情報取得手段と、  White balance information acquisition means for acquiring the white balance information included in the image file acquired by the image file acquisition means;
前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記画像データに対して、画像処理を行う画像処理手段と、  Image processing means for performing image processing on the image data included in the image file acquired by the image file acquisition means;
前記ホワイトバランス情報取得手段によって取得された前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報でない場合には、前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記画像データに対して、前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報である場合よりも、カラーバランスの調整の度合いを低減する画像処理制御手段と、  If the white balance information acquired by the white balance information acquisition means is not information representing the auto white balance, the image data included in the image file acquired by the image file acquisition means, Image processing control means for reducing the degree of adjustment of color balance than when the white balance information is information representing the auto white balance;
前記画像処理手段によって前記画像処理が行われた画像データが表す画像を出力する画像出力手段と、  Image output means for outputting an image represented by the image data subjected to the image processing by the image processing means;
を有する画像出力装置。  An image output apparatus.
画像を表す画像データと、前記画像撮影時のホワイトバランスの情報とを含む画像ファイルを用いて画像を出力する画像出力装置であって、An image output device that outputs an image using an image file including image data representing an image and information on white balance at the time of image capture,
前記画像ファイルを取得する画像ファイル取得手段と、  Image file acquisition means for acquiring the image file;
前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記ホワイトバランスの情報を取得するホワイトバランス情報取得手段と、  White balance information acquisition means for acquiring the white balance information included in the image file acquired by the image file acquisition means;
前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記画像データに対して、画像処理を行う画像処理手段と、  Image processing means for performing image processing on the image data included in the image file acquired by the image file acquisition means;
前記ホワイトバランス情報取得手段によって取得された前記ホワイトバランスの情報が  The white balance information acquired by the white balance information acquisition means is 前記オートホワイトバランスを表す情報でない場合には、前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記画像データに対して、色調整を行わない画像処理制御手段と、If it is not information representing the auto white balance, an image processing control unit that does not perform color adjustment on the image data included in the image file acquired by the image file acquisition unit;
前記画像処理手段によって前記画像処理された画像データが表す画像を出力する画像出力手段と、  Image output means for outputting an image represented by the image data processed by the image processing means;
を有する画像出力装置。  An image output apparatus.
画像を表す画像データと、前記画像撮影時のホワイトバランスの情報とを含む画像ファイルを用いて画像を出力する画像出力装置であって、An image output device that outputs an image using an image file including image data representing an image and information on white balance at the time of image capture,
前記画像ファイルを取得する画像ファイル取得手段と、  Image file acquisition means for acquiring the image file;
前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記ホワイトバランスの情報を取得するホワイトバランス情報取得手段と、  White balance information acquisition means for acquiring the white balance information included in the image file acquired by the image file acquisition means;
前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記画像データに対して、画像処理を行う画像処理手段と、  Image processing means for performing image processing on the image data included in the image file acquired by the image file acquisition means;
前記ホワイトバランス情報取得手段によって取得された前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報でない場合には、前記画像ファイル取得手段によって取得された前記画像ファイルに含まれる前記画像データに対して、前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報である場合よりも、色調整の度合いを低減する画像処理制御手段と、  If the white balance information acquired by the white balance information acquisition means is not information representing the auto white balance, the image data included in the image file acquired by the image file acquisition means, Image processing control means for reducing the degree of color adjustment than when the white balance information is information representing the auto white balance;
前記画像処理手段によって前記画像処理が行われた画像データが表す画像を出力する画像出力手段と、  Image output means for outputting an image represented by the image data subjected to the image processing by the image processing means;
を有する画像出力装置。  An image output apparatus.
請求項1から8のいずれかに記載の画像出力装置であって、
前記画像処理手段は、
記画像データの特性を示す画質パラメータの値を取得する画質パラメータ値取得手段を備え、
前記取得された画質パラメータ値と予め定められた基準画質パラメータ値とに基づいて前記画像処理を行う画像出力装置。
The image output device according to any one of claims 1 to 8,
The image processing means includes
Comprising an image quality parameter value acquisition means for acquiring a value of the image quality parameter indicating the characteristics of the pre-Symbol image data,
An image output device that performs the image processing based on the acquired image quality parameter value and a predetermined reference image quality parameter value.
請求項に記載の画像出力装置であって、
前記画像処理手段は、前記基準画質パラメータ値および前記画質パラメータ値から画質調整量を算出し、前記ホワイトバランスの情報を反映して前記画質調整量を修正し、修正した前記画質調整量を用いて前記画像処理を行う画像出力装置。
The image output device according to claim 9 ,
The image processing means calculates an image quality adjustment amount from the reference image quality parameter value and the image quality parameter value, corrects the image quality adjustment amount to reflect the white balance information, and uses the corrected image quality adjustment amount. An image output device that performs the image processing .
請求項に記載の画像出力装置であって、
前記画像処理手段は、前記ホワイトバランスの情報を反映して前記基準画質パラメータ値および前記画質パラメータ値の偏差を低減または解消するように前記画像処理を行う画像出力装置。
The image output device according to claim 9 ,
The image output device performs the image processing so that the deviation of the reference image quality parameter value and the image quality parameter value is reflected or reflected by reflecting the white balance information.
請求項に記載の画像出力装置であって、
前記ホワイトバランスの情報に基づいて、前記画質パラメータ値に対する基準画質パラメータ値を修正する基準画質パラメータ値修正手段を備え、
前記画像処理手段は、前記修正された基準画質パラメータ値と前記取得された画質パラメータ値とに基づいて前記画像処理を行う画像出力装置。
The image output device according to claim 9 ,
A reference image quality parameter value correcting means for correcting a reference image quality parameter value for the image quality parameter value based on the white balance information ;
The image processing unit is an image output device that performs the image processing based on the corrected reference image quality parameter value and the acquired image quality parameter value.
請求項1から12のいずれかに記載の画像出力装置であって、The image output apparatus according to any one of claims 1 to 12,
前記画像出力手段は、画像を印刷する画像出力装置。  The image output means is an image output device for printing an image.
請求項1から12のいずれかに記載の画像出力装置であって、The image output apparatus according to any one of claims 1 to 12,
前記画像出力手段は、画像を表示する画像出力装置。  The image output means is an image output device for displaying an image.
画像を表す画像データと、前記画像撮影時のホワイトバランスの情報とを含む画像ファイルを用いて画像を出力する画像出力方法であって、An image output method for outputting an image using an image file including image data representing an image and information on white balance at the time of image capture,
前記画像ファイルを取得する画像ファイル取得工程と、  An image file acquisition step of acquiring the image file;
前記画像ファイル取得工程によって取得された前記画像ファイルに含まれる前記ホワイトバランスの情報が、オートホワイトバランスを表す情報であるか否かを判定するホワイトバランス情報判定工程と、  A white balance information determination step for determining whether or not the white balance information included in the image file acquired by the image file acquisition step is information representing auto white balance;
前記ホワイトバランス情報判定工程によって前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報でないと判定した場合には、前記画像ファイル取得工程によって取得された前記画像ファイルに含まれる前記画像データに対して、カラーバランス調整を含まない画像処理を行う画像処理工程と、  When the white balance information determination step determines that the white balance information is not information representing the auto white balance, the image data included in the image file acquired by the image file acquisition step is An image processing step for performing image processing that does not include color balance adjustment;
前記画像処理工程によって前記画像処理された画像データが表す画像を出力する画像出力工程と、  An image output step for outputting an image represented by the image processed image data by the image processing step;
を含む画像出力方法。  An image output method including:
画像を表す画像データと、前記画像撮影時のホワイトバランスの情報とを含む画像ファイルを用いて画像を出力する画像出力方法であって、An image output method for outputting an image using an image file including image data representing an image and information on white balance at the time of image capture,
前記画像ファイルを取得する画像ファイル取得工程と、  An image file acquisition step of acquiring the image file;
前記画像ファイル取得工程によって取得された前記画像ファイルに含まれる前記ホワイトバランスの情報が、オートホワイトバランスを表す情報であるか否かを判定するホワイトバランス情報判定工程と、  A white balance information determination step for determining whether or not the white balance information included in the image file acquired by the image file acquisition step is information representing auto white balance;
前記ホワイトバランス情報判定工程によって前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報でないと判定した場合には、前記画像ファイル取得工程によって取得された前記画像ファイルに含まれる前記画像データに対して、前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報であると判定した場合よりも、カラーバランスの調整の度合いを低減した画像処理を行う画像処理工程と、  When the white balance information determination step determines that the white balance information is not information representing the auto white balance, the image data included in the image file acquired by the image file acquisition step is An image processing step for performing image processing with a degree of color balance adjustment reduced compared to a case where it is determined that the white balance information is information representing the auto white balance;
前記画像処理工程によって前記画像処理された画像データが表す画像を出力する画像出力工程と、  An image output step for outputting an image represented by the image processed image data by the image processing step;
を含む画像出力方法。  An image output method including:
画像を表す画像データと、前記画像撮影時のホワイトバランスの情報とを含む画像ファイルを用いて画像を出力する画像出力方法であって、An image output method for outputting an image using an image file including image data representing an image and information on white balance at the time of image capture,
前記画像ファイルを取得する画像ファイル取得工程と、  An image file acquisition step of acquiring the image file;
前記画像ファイル取得工程によって取得された前記画像ファイルに含まれる前記ホワイトバランスの情報が、オートホワイトバランスを表す情報であるか否かを判定するホワイトバランス情報判定工程と、  A white balance information determination step for determining whether or not the white balance information included in the image file acquired by the image file acquisition step is information representing auto white balance;
前記ホワイトバランス情報判定工程によって前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報でないと判定した場合には、前記画像ファイル取得工程によって取得された前記画像ファイルに含まれる前記画像データに対して、色調整を含まない画像処理を行う画像処理工程と、  When the white balance information determination step determines that the white balance information is not information representing the auto white balance, the image data included in the image file acquired by the image file acquisition step is An image processing step for performing image processing without color adjustment;
前記画像処理工程によって前記画像処理された画像データが表す画像を出力する画像出力工程と、  An image output step for outputting an image represented by the image processed image data by the image processing step;
を含む画像出力方法。  An image output method including:
画像を表す画像データと、前記画像撮影時のホワイトバランスの情報とを含む画像ファイルを用いて画像を出力する画像出力方法であって、An image output method for outputting an image using an image file including image data representing an image and information on white balance at the time of image capture,
前記画像ファイルを取得する画像ファイル取得工程と、  An image file acquisition step of acquiring the image file;
前記画像ファイル取得工程によって取得された前記画像ファイルに含まれる前記ホワイトバランスの情報が、オートホワイトバランスを表す情報であるか否かを判定するホワイトバランス情報判定工程と、  A white balance information determination step for determining whether or not the white balance information included in the image file acquired by the image file acquisition step is information representing auto white balance;
前記ホワイトバランス情報判定工程によって前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報でないと判定した場合には、前記画像ファイル取得工程によって取得された前記画像ファイルに含まれる前記画像データに対して、前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報であると判定した場合よりも、色調整の度合いを低減した画像処理を行う画像処理工程と、  When the white balance information determination step determines that the white balance information is not information representing the auto white balance, the image data included in the image file acquired by the image file acquisition step is An image processing step for performing image processing with a degree of color adjustment reduced as compared with a case where it is determined that the white balance information is information representing the auto white balance;
前記画像処理工程によって前記画像処理された画像データが表す画像を出力する画像出力工程と、  An image output step for outputting an image represented by the image processed image data by the image processing step;
を含む画像出力方法。  An image output method including:
画像を表す画像データと、前記画像撮影時のホワイトバランスの情報とを含む画像ファイルを用いて画像を出力する画像出力方法であって、An image output method for outputting an image using an image file including image data representing an image and information on white balance at the time of image capture,
前記画像ファイルを取得する画像ファイル取得工程と、  An image file acquisition step of acquiring the image file;
前記画像ファイル取得工程によって取得された前記画像ファイルに含まれる前記ホワイトバランスの情報を取得するホワイトバランス情報取得工程と、  A white balance information acquisition step for acquiring the white balance information included in the image file acquired by the image file acquisition step;
前記ホワイトバランス情報取得工程によって取得された前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報でない場合には、前記画像ファイル取得工程によって取得された前記画像ファイルに含まれる前記画像データに対して、カラーバランス調整を含まない画像処理を行う画像処理工程と、  When the white balance information acquired by the white balance information acquisition step is not information representing the auto white balance, for the image data included in the image file acquired by the image file acquisition step, An image processing step for performing image processing that does not include color balance adjustment;
前記画像処理工程によって前記画像処理された画像データが表す画像を出力する画像出力工程と、  An image output step for outputting an image represented by the image processed image data by the image processing step;
を含む画像出力方法。  An image output method including:
画像を表す画像データと、前記画像撮影時のホワイトバランスの情報とを含む画像ファイルを用いて画像を出力する画像出力方法であって、An image output method for outputting an image using an image file including image data representing an image and information on white balance at the time of image capture,
前記画像ファイルを取得する画像ファイル取得工程と、  An image file acquisition step of acquiring the image file;
前記画像ファイル取得工程によって取得された前記画像ファイルに含まれる前記ホワイトバランスの情報を取得するホワイトバランス情報取得工程と、  A white balance information acquisition step for acquiring the white balance information included in the image file acquired by the image file acquisition step;
前記ホワイトバランス情報取得工程によって取得された前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報でない場合には、前記画像ファイル取得工程によって取得された前記画像ファイルに含まれる前記画像データに対して、前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報である場合よりも、カラーバランスの調整の度合いを低減した画像処理を行う画像処理工程と、  When the white balance information acquired by the white balance information acquisition step is not information representing the auto white balance, for the image data included in the image file acquired by the image file acquisition step, An image processing step for performing image processing with a degree of adjustment of color balance reduced as compared with the case where the white balance information is information representing the auto white balance;
前記画像処理工程によって前記画像処理が行われた画像データが表す画像を出力する画像出力工程と、  An image output step of outputting an image represented by the image data subjected to the image processing by the image processing step;
を含む画像出力方法。  An image output method including:
画像を表す画像データと、前記画像撮影時のホワイトバランスの情報とを含む画像ファイルを用いて画像を出力する画像出力方法であって、An image output method for outputting an image using an image file including image data representing an image and information on white balance at the time of image capture,
前記画像ファイルを取得する画像ファイル取得工程と、  An image file acquisition step of acquiring the image file;
前記画像ファイル取得工程によって取得された前記画像ファイルに含まれる前記ホワイトバランスの情報を取得するホワイトバランス情報取得工程と、  A white balance information acquisition step for acquiring the white balance information included in the image file acquired by the image file acquisition step;
前記ホワイトバランス情報取得工程によって取得された前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報でない場合には、前記画像ファイル取得工程によって取得された前記画像ファイルに含まれる前記画像データに対して、色調整を含まない画像処理を行う画像処理工程と、  When the white balance information acquired by the white balance information acquisition step is not information representing the auto white balance, for the image data included in the image file acquired by the image file acquisition step, An image processing step for performing image processing without color adjustment;
前記画像処理工程によって前記画像処理された画像データが表す画像を出力する画像出力工程と、  An image output step of outputting an image represented by the image data processed by the image processing step;
を含む画像出力方法。  An image output method including:
画像を表す画像データと、前記画像撮影時のホワイトバランスの情報とを含む画像ファイルを用いて画像を出力する画像出力方法であって、An image output method for outputting an image using an image file including image data representing an image and information on white balance at the time of image capture,
前記画像ファイルを取得する画像ファイル取得工程と、  An image file acquisition step of acquiring the image file;
前記画像ファイル取得工程によって取得された前記画像ファイルに含まれる前記ホワイトバランスの情報を取得するホワイトバランス情報取得工程と、  A white balance information acquisition step for acquiring the white balance information included in the image file acquired by the image file acquisition step;
前記ホワイトバランス情報取得工程によって取得された前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報でない場合には、前記画像ファイル取得工程によって取得された前記画像ファイルに含まれる前記画像データに対して、前記ホワイトバランスの情報が前記オートホワイトバランスを表す情報である場合よりも、色調整の度合いを低減した画像処理を行う画像処理工程と、  When the white balance information acquired by the white balance information acquisition step is not information representing the auto white balance, for the image data included in the image file acquired by the image file acquisition step, An image processing step for performing image processing with a degree of color adjustment reduced as compared with the case where the white balance information is information representing the auto white balance;
前記画像処理工程によって前記画像処理が行われた画像データが表す画像を出力する画像出力工程と、  An image output step of outputting an image represented by the image data subjected to the image processing by the image processing step;
を含む画像出力方法。  An image output method including:
JP2002171955A 2001-02-09 2002-06-12 Output image adjustment of image data Expired - Lifetime JP4126967B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002171955A JP4126967B2 (en) 2001-02-09 2002-06-12 Output image adjustment of image data

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001034545 2001-02-09
JP2001-34545 2001-02-09
JP2002171955A JP4126967B2 (en) 2001-02-09 2002-06-12 Output image adjustment of image data

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002029569A Division JP3834516B2 (en) 2001-02-09 2002-02-06 Output image adjustment of image data

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2008085080A Division JP4891941B2 (en) 2001-02-09 2008-03-28 Output image adjustment of image data

Publications (2)

Publication Number Publication Date
JP2003102033A JP2003102033A (en) 2003-04-04
JP4126967B2 true JP4126967B2 (en) 2008-07-30

Family

ID=26609270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002171955A Expired - Lifetime JP4126967B2 (en) 2001-02-09 2002-06-12 Output image adjustment of image data

Country Status (1)

Country Link
JP (1) JP4126967B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005260693A (en) * 2004-03-12 2005-09-22 Seiko Epson Corp Image reproducing method with coordinate transformation according to lighting optical source
JP5697544B2 (en) * 2010-06-04 2015-04-08 株式会社東芝 Image processing apparatus and image processing method

Also Published As

Publication number Publication date
JP2003102033A (en) 2003-04-04

Similar Documents

Publication Publication Date Title
JP5131313B2 (en) Output image adjustment of image data
JP3725454B2 (en) Output image adjustment for image files
US7933041B2 (en) Adjustment for output image of image data
JP5246206B2 (en) Output image adjustment for image files
JP3520869B2 (en) Image output adjustment of image data
JP3834516B2 (en) Output image adjustment of image data
JP4266716B2 (en) Output image adjustment for image files
JP4015066B2 (en) Output image adjustment for image files
JP4428347B2 (en) Output image adjustment of image data
JP4126967B2 (en) Output image adjustment of image data
JP5045808B2 (en) Output image adjustment for image files
JP3960137B2 (en) Output image adjustment of image data
JP3999157B2 (en) Output image adjustment for image files
JP3666439B2 (en) Output image adjustment for image files
JP3797346B2 (en) Output image adjustment of image data
JP4175004B2 (en) Image processing device
JP4092882B2 (en) Image processing apparatus and image processing method
JP5206741B2 (en) Image file generation and output

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

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080327

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

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

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

Free format text: PAYMENT UNTIL: 20110523

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4126967

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120523

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120523

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130523

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140523

Year of fee payment: 6

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term