JP4094346B2 - Image processing method, image processing apparatus, image forming apparatus, imaging apparatus, program, and recording medium - Google Patents

Image processing method, image processing apparatus, image forming apparatus, imaging apparatus, program, and recording medium Download PDF

Info

Publication number
JP4094346B2
JP4094346B2 JP2002171822A JP2002171822A JP4094346B2 JP 4094346 B2 JP4094346 B2 JP 4094346B2 JP 2002171822 A JP2002171822 A JP 2002171822A JP 2002171822 A JP2002171822 A JP 2002171822A JP 4094346 B2 JP4094346 B2 JP 4094346B2
Authority
JP
Japan
Prior art keywords
color
image
output
color correction
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
JP2002171822A
Other languages
Japanese (ja)
Other versions
JP2004023177A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2002171822A priority Critical patent/JP4094346B2/en
Publication of JP2004023177A publication Critical patent/JP2004023177A/en
Application granted granted Critical
Publication of JP4094346B2 publication Critical patent/JP4094346B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、たとえばデジタルカメラのような撮像装置によって撮像して得られた画像データに色補正処理を施して出力画像データとし、この出力画像データに基づいて画像出力装置に画像を出力させる画像処理方法および装置ならびに画像形成装置、撮像装置、プログラム、記録媒体に関する。
【0002】
【従来の技術】
近年、OA機器のデジタル化が急速に進展し、またカラー画像出力の需要が増してきたことによって、電子写真方式のデジタルカラー複写機およびインクジェット方式や熱転写方式のカラープリンタ等の出力機器が広く一般に普及してきている。たとえば、デジタルカメラやスキャナ等の入力機器から入力された画像情報やコンピュータ上で作成された画像情報がこれらの出力機器を用いて出力されている。これらの入出力機器においては、入力された画像情報に対して、常に色再現の安定した画像を出力することが必要であり、デジタル画像処理技術の色変換(色補正)処理が重要な役割を果たしている。
【0003】
ここで、色変換処理とは、たとえばRGBで指定された入力画像情報を、プリンタなどの出力機器に適合したCMY(K)で指定された出力画像データへと変換する処理を意味する。そして、この色変換処理は、通常、忠実な色再現を実現することを目的として行われる。ここで、忠実な色再現とは、たとえば前記RGBで指定された入力画像情報に対して、プリンタなどの出力機器において前記CMY(K)で指定されて出力される画像が、原稿や元の撮影対象の色をできるだけ正確に再現することを意味する。したがって、入力装置および出力装置が使用される条件の中で色差を最小にするということで、装置が異なっても、出力画像を入力画像に近付けるという処理内容は同じである。
【0004】
上述のような色変換処理を実際に行うにあたって、入力画像データを均等色空間データに変換するための色座標変換方法を含めて、従来から数多くの提案がなされている。このような方法として、色彩科学ハンドブック新編,第1137〜1149頁(日本色彩学会編・東京大学出版会刊行)や日本画像学会誌,第37巻,第4号(1998),第555 〜559 頁に記載されているテーブル参照(Look Up Table :ルックアップテーブル、以下LUTと記す)法やマスキング法がある。以下では、そのままでは出力として不適切な信号になってしまう色信号の補正を行う処理、色自体を変化させるために色信号を変換する処理、および色自体が変化しなくても色信号の座標系を変換する処理を全て色変換と呼ぶことにする。
【0005】
前記LUT法の一つである直接変換法は、全ての入力画像データの組合せに対して色変換データを予め計算して、その結果を色変換テーブルに格納しておき、実際の変換処理は、入力画像データに対するテーブル値を参照し、出力画像データとして出力する方法である。この直接変換法は色変換テーブルにアクセスするものであり、回路構成も簡単で比較的高速に処理することが可能で、どのような非線形特性であっても適用することができる。
【0006】
また、別のLUT法である3次元補間法は、選択された一部の入力画像データについての組合せに対するテーブル値を予め計算して色変換テーブルに格納しておき、実際の変換処理は、色変換テーブルに入力画像データに対応したテーブル値が格納されている場合にはそのまま用い、格納されていない場合には近傍のテーブル値を用いて3次元補間演算によって算出するものである。この3次元補間法は、予めテーブル値を算出しておくべき入力画像データ数に限りがあっても、全ての入力画像データの組合せに対して色変換値を求めることができ、前記補間演算の回路が必要になるものの、色変換テーブルのサイズを直接変換法の場合よりも小型化することができる。
【0007】
一方、上述のような画像処理方法とは異なり、正確な色再現ではなく、好ましい色再現をすることを色変換処理の目的としている画像処理方法も知られている。ここで、好ましい色再現とは、画像処理の分野において一般に広く用いられている表現であり、具体的には以下で説明するいわゆる記憶色の再現をすることに相当する。また、上述の意味に加えて、鮮やかさを感じさせるような色を再現するという意味で用いる場合もある。
【0008】
前記記憶色とは、たとえば人の肌、空の青、草木の緑等の色であって、元の画像に忠実な色の再現を行うよりも、人間が記憶している色に近い色の再現を好ましく感じるような色である。このような記憶色に近付ける処理を行うことで、ユーザにとって好ましい画像を出力することが可能となる。前記記憶色に近付ける処理とは、具体的には、たとえばカラーコーディネーター検定試験2級テキスト(東京商工会議所、p78〜80)から引用すると、肌色については彩度を低下させ、それ以外の色については彩度と明度とを上昇させる処理である。
【0009】
したがって、この好ましい色は、感性に基づくものであるので、CIE(Commission Internationale de l'Eclairage:国際照明委員会)などの規格として定義されているものではなく、予め多くの被験者に対して評価実験を行って決定される。そして、画像処理装置において、たとえば上述のLUT法を用いて、この好ましい色再現のための色変換処理を実現するようになっている。
【0010】
【発明が解決しようとする課題】
しかしながら、前記従来の方法では、風景などを撮影した後の時間経過に拘らず一定の色変換処理を行うので、たとえば撮影直後に出力し対象と見比べる場合や、時間が経ち記憶が曖昧になってから出力する場合のように、必ずしも画像を出力する時点の状況に適合する色再現がなされないという虞れがある。すなわち、たとえばデジタルカメラで風景を撮影し、その場で画像を表示したり印刷したりする場合には、撮影した風景と見比べられる可能性が高く、従って正確な色再現が望まれる。一方、風景を撮影した後、その場から離れた場所で画像を表示したりプリントアウトする場合には、正確な色再現よりも、人間にとって好ましい色再現を行うことが適切であると考えられる。
【0011】
すなわち、前述の直接変換法や三次元補間法を用いて、従来では、精度の高い正確な色再現と、人間にとって好ましい色再現との何れかを実現するのみで、前述のように、出力機器の普及によって多様な出力形態が想定され、それぞれの形態での出力時点の状況に適合できていないという問題がある。
【0012】
本発明の目的は、デジタルカメラ等の撮像装置で撮影して得られた画像データに対して、画像を出力する時点の状況に適合した色再現を行うことができる画像処理方法および画像処理装置ならびに画像形成装置、撮像装置、プログラム、記録媒体を提供することである。
【0013】
【課題を解決するための手段】
本発明の画像処理方法は、撮像して得られた画像データを出力に際して色補正処理を施すようにした画像処理方法において、前記色補正処理として、前記画像データが撮像された時点からの経過時間に応じて、第1の色再現を実現する処理から、第2の色再現を実現する処理へと変化することを特徴とする。
【0014】
上記の構成によれば、撮像して得られた画像データを出力するにあたって、撮像した時点からの経過時間によって、第1の処理から第2の処理へと色補正処理を変化する。
【0015】
したがって、ユーザが好ましいと感じる色再現が、撮像した直後にはたとえば忠実な色再現であり、撮像してから相当日時経過後には好ましい色再現であり、このようにユーザが好ましいと感じる色再現が時間経過に伴って変化しても、適宜2つの色補正処理の寄与率を変化させることで、ユーザの好みに合った画質を得ることができる。
【0016】
また、本発明の画像処理方法は、前記色補正処理に用いるパラメータを設定する工程を含み、前記工程で設定されたパラメータに従って、前記色補正処理を施すことを特徴とする。
【0017】
上記の構成によれば、色補正処理を行うにあたって、その処理に用いるパラメータが、予め設定された固定値に限らず、ユーザ設定によって細かな調整を可能にするので、個別のユーザの好みに合わせた色補正処理を実現することができる。
【0018】
さらにまた、本発明の画像処理装置は、撮像して得られた画像データに色補正処理を施して出力画像データとする色補正手段を備え、前記出力画像データに基づいて画像出力装置に画像を出力させる画像処理装置において、前記色補正手段に、前記画像データが撮像された時点からの経過時間に応じた制御信号を出力し、第1の色再現を実現する処理から、第2の色再現を実現する処理へと変化させる制御手段を含むことを特徴とする。
【0019】
上記の構成によれば、撮像して得られた画像データを画像出力装置に出力するにあたって、制御手段は、色補正手段での色補正処理を、撮像した時点からの経過時間によって、第1の処理から第2の処理へと変化させる。
【0020】
したがって、ユーザが好ましいと感じる色再現が、撮像した直後にはたとえば忠実な色再現であり、撮像してから相当日時経過後には好ましい色再現であり、このようにユーザが好ましいと感じる色再現が時間経過に伴って変化しても、適宜2つの色補正処理の寄与率を変化させることで、ユーザの好みに合った画質を得ることができる。
【0021】
また、本発明の画像処理装置では、前記色補正手段は、前記画像データに施す色補正処理として、前記第1の色再現を実現する第1の色補正処理手段と、前記画像データに施す色補正処理として、前記第2の色再現を実現する第2の色補正処理手段と、前記制御手段からの制御信号に応じて、前記第1および第2の色補正処理手段から出力されるそれぞれの色補正データに対する重みを算出して、重み係数信号を出力する重み係数算出手段と、前記重み係数信号を、前記第1および第2の色補正処理手段から出力される色補正データに乗算して、得られた積の和を前記出力画像データとして出力する信号処理手段とを備えて構成されることを特徴とする。
【0022】
上記の構成によれば、予め設定された内容で色補正処理を行う2つの色補正処理手段から出力される色補正データに重みを付けて加算するので、前記経過時間に応じて徐々に第2の色再現のデータの割合を増加させ、連続した色補正処理を行うことができる。
【0023】
さらにまた、本発明の画像処理装置は、前記重み係数算出手段における経過時間の変化に対する重みの変化特性を設定する設定信号を前記制御手段に出力する設定手段をさらに備えていることを特徴とする。
【0024】
上記の構成によれば、各経過時間の時点での2つの色補正処理の割合を、予め設定された固定値に限らず、ユーザ設定によって細かく調整できるようにするので、個別のユーザの好みに合わせた色補正処理を実現することができる。
【0025】
また、本発明の画像形成装置は、前記の何れかの画像処理装置を備えていることを特徴とする。
【0026】
上記の構成によれば、経過時間によって画像処理の割合を変化するので、撮像した直後と撮像してから相当日時経過後とでユーザが好ましいと感じる色再現が異なっても、適宜色補正処理の内容を変化させることで、ユーザの好みに合った画質を得ることができる画像形成装置を実現することができる。
【0027】
さらにまた、本発明の撮像装置は、前記の何れかの画像処理装置を備えていることを特徴とする。
【0028】
上記の構成によれば、経過時間によって画像処理の割合を変化するので、撮像した直後と撮像してから相当日時経過後とでユーザが好ましいと感じる色再現が異なっても、適宜色補正処理の内容を変化させることで、ユーザの好みに合った画質を得ることができる撮像装置を実現することができる。
【0029】
また、本発明のプログラムは、前述の画像処理方法をコンピュータに実行させることを特徴とする。
【0030】
上記の構成によれば、撮像した時点からの経過時間に応じて色補正処理の内容を変化させることでユーザの意図に応じた画像を出力するための画像処理方法を、コンピュータに読取らせて実行させることができる。したがって、この画像処理方法を汎用的なものとすることができる。
【0031】
さらにまた、本発明の記録媒体は、前記のプログラムをコンピュータが読取り可能に格納したことを特徴とする。
【0032】
上記の構成によれば、撮像した時点からの経過時間に応じて色補正処理の内容を変化させることでユーザの意図に応じた画像を出力するための画像処理方法を、コンピュータに容易に読込ませることができる。
【0033】
【発明の実施の形態】
〔実施の形態1〕
本発明の実施の一形態について、図1〜図5に基づいて説明すれば、以下のとおりである。
【0034】
図1は、本発明の実施の一形態の画像処理装置における色補正部1の電気的構成を示すブロック図である。本画像処理装置は、図2で示すプリンタ機能を備えたデジタルカメラ2に備えられるものであり、以下の構成によって、画像を再現するときの状況に適合した画像を出力するようになっている。
【0035】
すなわち、一般的にデジタルカメラで写真を撮った場合には、その場で画像が印刷出力されることは少なく、たとえば旅行から帰ってからのように、ある程度時間が経過してから印刷出力されることが多い。
【0036】
このように、写真を撮ったその場で印刷出力しない場合には、出力画像とオリジナル(この場合は風景などの被写体)との比較はされない。また、時間が経過することで記憶が薄れ、正確なオリジナルの色は忘れられる。したがって、このような場合には、第1の色再現であるオリジナルの色を忠実に再現する色再現処理よりも、オリジナルと色がずれたとしても、第2の色再現である記憶色処理を行って好ましい色再現処理を施した方が、より画質が向上する。
【0037】
一方、デジタルカメラにおいては、写真を撮ったその場でビューワを用いて画像を確認することができ、また前述のように機会は少ないけれども、記録紙に印刷出力されることもある。したがって、このような場合には、被写体との比較がなされるので、忠実な色再現が望まれる。
【0038】
そこで、本画像処理装置においては、以下の構成によって、撮影時点からの時間経過に対応して、忠実な色再現と好ましい色再現との割合を切換えて画像を出力するようになっている。
【0039】
図2に示すデジタルカメラ2は、前述のようにプリンタ一体型のデジタルカメラであって、デジタルカメラにプリンタを組込んだものである。このデジタルカメラ2は、大略的に、カメラ部分とプリンタ部分とから構成される。前記カメラ部分は、撮像レンズ3、ストロボ4、撮影ボタン5、モード設定ボタン6、およびメモリカード挿入口7ならびに図示しない撮像素子、前記画像処理装置、前記メモリカードへの書き込み装置およびビューワなどを備えて構成される。前記プリンタ部分は、プリント開始ボタン8、前記記録紙の挿入/排出口9および図示しない記録紙への印刷装置などを備えて構成される。
【0040】
このような構成によって、カメラとして機能する場合には、撮影ボタン5が押圧されることによって撮影を実行し、得られた画像データを画像ファイルとしてメモリカードに記録する。また、プリンタとして機能する場合には、プリント開始ボタン8が押圧されることによって画像の印刷を開始し、挿入/排出口9から記録紙を排出する。
【0041】
ここで、印刷を行う際には、後述するように、前記画像ファイルに記録された撮影時刻と印刷する現在時刻とを比較して、さらにモード設定ボタン6によって設定された設定モードに従って重み係数を求めて、これらに応じて所定の色補正処理を行って印刷する。
【0042】
図3は、前記デジタルカメラ2における画像処理装置11の詳細な構成を示すブロック図である。このデジタルカメラ2は、前記画像処理装置11、カラー画像入力装置12、カラー画像出力装置13、カラー画像表示装置14、制御部(制御手段)15および操作パネル16を備えて構成されている。
【0043】
前記カラー画像入力装置12は、撮影した画像を電気信号に変換して出力するものであって、前記撮像レンズ3とともに、図示しないカラーフィルタや前記撮像素子であるCCD(Charge Coupled Device)などを備えて構成されている。前記撮像レンズ3から入力された画像は、前記CCDにて読取られ、RGB(R:赤・G:緑・B:青)のアナログ信号として出力される。
【0044】
本発明の画像処理装置11は、A/D変換部21、入力補正部22、記憶部23、前記色補正部1、黒生成/下色除去部24、空間フィルタ処理部25、出力階調補正部26および階調再現処理部27を備えて構成されている。
【0045】
前記A/D変換部21は、入力された前記RGBのアナログ信号をデジタル信号に変換して出力するものである。前記入力補正部22は、前記カラー画像入力12装置の結像系や撮像系で生じた各種の歪みを取除く処理、カラーフィルタの特性や光源の色温度に基づくホワイトバランスの調整、および被写体の輝度補正などを行うものである。前記記憶部21は、撮影した画像データをJPEG(Joint Picture Experts Group)などのファイルフォーマットに圧縮符号化して記憶するためのものである。本実施形態の記憶部23は、前記のメモリカードおよびその書込み/読出し装置から成る。
【0046】
色補正部1は、入力された画像情報に対して色再現の安定した画像を出力するために、デジタル画像処理技術の色変換(色補正)処理を行うものである。この色補正部1では、色再現の忠実化のために、前記RGB信号を、CMY(C:シアン、M:マゼンタ、Y:イエロー)信号に変換する処理も行う。この色補正処理としては、変換行列を利用するマスキング法や、ルックアップテーブル(LUT)を用いる直接変換法や三次元補間法がある。
【0047】
マスキング法とは、下式のように、RGB値からCMY値への変換を行列演算を用いて実現するものである。
【0048】
【数1】

Figure 0004094346
【0049】
上式における変換の各パラメータa11〜a14,a21〜a24,a31〜a34は、たとえば主要なCMY値の組合せを前記カラー画像出力装置13に与えてカラーパッチを出力し、それを前述のカラー画像入力装置12で読込み、対応するRGB値を求め、それらの関係を満たすものを最小二乗法で求めることで決定される。または、市販されているデジタルカメラ用のカラーパッチ(国際標準規格にもなっているANSI(American National Standards Institute) IT8.7(ISO 12641) やGretagMacbeth 社のColorCheckerDCなど)を読込んでRGB値とカラーパッチの測色値との対応関係を求め、カラー画像出力装置13にCMYK値を与えて出力される色の測色値の対応関係を求め、それぞれの測色値が一致するRGBとCMYKから最小二乗法で各パラメータを求めてもよい。
【0050】
前記LUTを作成する方法としては、ニューラルネットワークを用いてRGB値とCMY値との関係を記述するモデルを作成し、各RGB値に対する出力CMY値をLUTとして持つ方法などがある。また、前記の変換行列を求めて、各RGB信号に対して出力されるべきCMY信号を予め求めておき、LUTとして記憶しておく方法もある。色補正部1は、上述の方法を用いて、入力されたRGB信号からCMY信号を生成して、インクジェット方式や熱転写方式の記録装置などで実現されるカラー画像出力装置13へ出力する。また、撮影した画像を、液晶ディスプレイなどで実現される前記ビューワ等のカラー画像表示装置14に出力する場合は、該色補正部1は、入力されたRGB信号をカラー画像表示装置14の特性に応じたR’G’B’信号に変換して出力する。この色補正部1については、後で詳述する。
【0051】
前記黒生成/下色除去部24は、黒生成部と下色除去部から構成される。黒生成部は、色補正されたCMY信号に基づいて、黒(K)生成処理を行う。下色除去部は、黒信号から計算される下色の量をCMY信号から減算し、CMYK4色のデータに変換する。
【0052】
ここで、入力されるデータをC、M、Yとし、出力されるデータをC’、M’、Y’、Kとするとき、黒生成および下色除去処理は、下式によってC、M、Yを補正する。ここで、min(C,M,Y)はC、M、Yの中で最小の値であり、α,βは予め定められた定数である。
【0053】
C’=C−αmin(C,M,Y)
M’=M−αmin(C,M,Y)
Y’=Y−αmin(C,M,Y)
K=βmin(C,M,Y)
前記空間フィルタ処理部25は、得られた画像データに対して、デジタルフィルタによる空間フィルタ処理を行って、空間周波数特性を補正するためのものである。これによって、出力画像のぼやけや粒状性劣化を防ぐように処理する。前記出力階調補正部26は、濃度信号などの信号を、カラー画像出力装置13の特性値である網点面積率に変換する出力階調補正処理を行う。前記階調再現処理部27は、画像を画素に分離してそれぞれの階調を再現できるように処理する階調再現処理(中間調生成)を行う。
【0054】
本実施形態においては、画像データは記憶部23に記憶されており、制御信号などに応じて読出されて色補正部1に入力され、以下各処理が施されてカラー画像出力装置13またはカラー画像表示装置14に出力されるようになっている。
【0055】
前記制御部15は、上述の画像処理装置11の各部の制御を行うためのものであり、タイマを備え、画像データが撮像された時点からの経過時間に応じた制御信号を画像処理装置11に出力して、忠実な色再現をする色補正処理と好ましい色再現をする色補正処理との割合を切換えさせるようになっている。その制御の詳細は後述する。
【0056】
前記操作パネル16は、図2に示したモード設定ボタン6、撮影ボタン5およびプリント開始ボタン8などに相当し、さらにテンキー等の入力手段を備えていてもよい。この操作パネル16は、各ボタン5,6,8が押圧操作されたか否かを検知することによって、ユーザの指示を受付ける。ユーザからの指示がなされた場合には、前記カラー画像表示装置14に、現在設定されている出力モードなどを示すようになっている。ユーザは、この操作パネル16を用いて、後述するように画像を出力する際のモードを選択し、または任意にパラメータを設定する。
【0057】
図1を参照して、本実施形態の色補正部1は、第1の色補正処理手段であり、正確な色変換処理を行う正確な色変換処理部31と、第2の色補正処理手段であり、好ましい色変換処理を行う好ましい色変換処理部32と、信号処理部(信号処理手段)33と、重み係数算出部(重み係数算出手段)34とを備えて構成される。
【0058】
前記正確な色変換処理部31は、色補正処理として忠実な色再現を実現するものであり、入力されたRGB信号を、出力信号Ccに変換して出力するようになっている。ここで、この色補正処理は、変換行列を用いるマスキング法によって行ってもよいし、LUT法によって行ってもよい。この場合、カラーパッチなどを用いて機器のデータと測色計で測定した色データとの組合せから変換パラメータが作成されている。
【0059】
より詳細には、デジタルカメラの場合は、パッチの測色値CIE1976L* * * データ(L* :明度、a* ・b* :色度)と、それを読込んだRGBデータの組合せとからデジタルカメラの特性を表すモデルを作成し、プリンタの場合は、プリンタに与えたCMY(K)データと測色値CIE1976L* * * データの組合せとからプリンタの特性を表すモデルを作成する。これらのモデルを組合わせて、変換行列やLUTを求めるようになっている。
【0060】
また、ここでCcはシアン信号を意味する。マゼンタ信号Mc、イエロー信号Ycについても同様に求められるけれども、図1および以下では、簡単のために、シアン信号Ccについてのみ説明する。
【0061】
一方、前記好ましい色変換処理部32は、色補正処理として好ましい色再現を実現するものであり、前記正確な色変換処理部31と同様に、予め求められた変換行列やLUTを用いて色補正処理を行い、入力されたRGB信号を、出力信号Cfに変換して出力するようになっている。
【0062】
前記重み係数算出部34は、制御部15から入力される制御信号に応じて、前記の各色変換処理部31,32からそれぞれ出力される色補正後の出力信号CcおよびCfに対する重みを算出して、重み係数信号を前記信号処理部33に出力するものである。前記信号処理部33は、入力された重み係数信号を、前記出力信号CcおよびCfにそれぞれ乗算して、得られた積の和を取ることによって、出力画像データCoutを作成する。この処理の詳細については後述する。
【0063】
なお、本発明に係る色補正部1は上述の構成に限るものではなく、重み係数算出部34を含まず、信号処理部33は、正確な色変換処理部31および好ましい色変換処理部32からそれぞれ出力される出力信号CcおよびCfの何れかを、前記制御信号に応じて選択して出力画像データCoutとして出力する構成であってもよい。
【0064】
図4は、前記色補正部1の動作を詳細に説明するためのフローチャートである。画像データの出力にあたって、RGB信号は、前記正確な色変換処理部31において出力信号Ccへと色変換される(ステップS11)とともに、並列処理で、前記好ましい色変換処理部32において出力信号Cfへと色変換され(ステップS12)、信号処理部33に入力される。
【0065】
一方、制御部15においては、内蔵する図示しないタイマによって、撮影を行った時間(撮影時刻)と現在時間との比較を行う。ここで、デジタルカメラで撮影された画像には、通常、撮影時刻も記録されており、制御部15はこれを用いるようになっている。また、別の構成として、デジタルカメラ中に記録された画像ファイルのタイムスタンプを撮影時刻とみなし、これと現在時刻との比較を行う構成であってもよい。すなわち、現在の時刻をt、撮影時刻をt0、記憶色処理を考慮し始める時刻をt1、完全に記憶色処理に切換える時刻をt2とするときに、制御部15は、現在時刻tと撮影時刻t0との差に応じたレベルの出力信号を、制御信号として重み係数算出部34および信号処理部33に出力する。
【0066】
制御信号を受信した重み係数算出部34は、図5に示すように、色補正処理の重み係数kを、以下のように定義する。すなわち、
0≦t−t0≦t1−t0のときk=0
t1−t0<t−t0≦t2−t1のときk=(t−t1)/(t2−t1)
t2−t0<t−t0のときk=1
とする。このようにして得られた重み係数信号を信号処理部33に出力する。
【0067】
信号処理部33は、以上のようにして得られた重み係数kを用いて、出力信号Coutを、
Cout=(1−k)Cc+kCfとして計算する(ステップS2)。また、マゼンタおよびイエローの出力信号についても同様の処理を行う。
【0068】
以上のように、本実施形態の色補正部1は、撮影時刻t0と現在の時刻tとの差である経過時間に応じて、忠実な色再現をする色補正処理と好ましい色再現をする色補正処理との割合を変化するので、画像を再現するときの状況に適合して、ユーザの好みに合った画質を得ることができる。また、2つの色変換処理部31,32からの出力信号CcとCfとに重み係数kを掛けて加算するので、前記経過時間に応じて、徐々に好ましい色再現の出力信号Cfの割合を増加させ、連続した色補正処理を行うことができる。
【0069】
なお、実施の形態の一例としての図5においては、前記のようにt1<t≦t2の時間の重み係数kを直線的な時間変化で表しているけども、2次関数等の曲線的な時間変化であってもよい。
【0070】
また、前記構成において、重み係数kの時間変化の特性を、ユーザが任意に設定できるようにしてもよい。すなわち、本実施形態のデジタルカメラ2はプリンタ一体型であり、このようなデジタルカメラにおいては、デジタルカメラで撮った画像を印刷せずにビューワに表示する場合と、その場で印刷する場合とがあり得る。このため、ユーザの希望に応じて、前記した重み係数kの時間変化の特性を変更可能とすることが望ましい。この特性の変更のための設定は、図2に示すモード設定ボタン6を用いて行うことができる。
【0071】
すなわち、設定手段である前記モード設定ボタン6を押圧操作すると、スライダ(棒状の境界を示す印を表示し、その印を左右に動かして左右の分割された領域の比率を変えることで値を入力するインターフェイス)などが表示され、さらにこのモード設定ボタン6を操作することで、正確な色再現と好ましい色再現の比率を任意に設定することができる。具体的には、上述の記憶色処理を考慮し始める時刻t1および完全に記憶色処理に切換える時刻t2を変更することで実現することができる。たとえば、好ましい色再現を重視する場合には、時刻t1,t2を共に小さくすればよく、正確な色再現を重視する場合には、前記時刻t1,t2を共に大きくすればよい。重み係数kの特性を徐々に変化させる場合には、前記時刻t1とt2との間隔を大きくすればよい。さらにまた、時刻t1をt0に設定して、撮影直後から記憶色処理を考慮し始めることもできる。また、時刻t2を大きな値に設定して、常に正確な色再現が行われるようにすることもできる。さらにまた、重み係数kの時間変化の特性を変更させる構成は、上述のものに限らず、重み係数kの変化範囲の上限および下限を変化させる構成も可能である。
【0072】
このようにして、各経過時間の時点での2つの色補正処理の割合を、予め設定された固定値に限らず、ユーザ設定によって細かく調整できるようになるので、個別のユーザの好みに合わせた色補正処理を実現することができる。
【0073】
また、上述の説明では、t1<t2となる構成について説明しているけれども、t2=t1となる構成であってもよい。すなわち、この場合には、重み係数kが0から1に切換わり、前述のように出力画像データCoutとして、所定時間が経過するまでは忠実な色再現を実現する出力信号Ccとし、前記所定時間が経過した時点で、好ましい色再現を実現する出力信号Cfに切換える。このような構成では、重み係数算出部34を不要として、また制御部15も前記撮影時刻t0から現在時刻tまでの経過時間を管理するだけでよく、さらに信号処理部33も、積和演算を行う必要はなく、与えられた制御信号に応じて、出力信号CcとCfとを切換えるだけでよい。こうして、簡単な構成で実現することができる。
【0074】
〔実施の形態2〕
本発明の実施の他の形態について、図6に基づいて説明すれば、以下のとおりである。
【0075】
図6は、本発明の実施の他の形態の画像処理装置41の電気的構成を示すブロック図である。この画像処理装置41は、前述の画像処理装置11に類似し、対応する部分には同一の参照符号を付して示し、その説明を省略する。注目すべきは、この画像処理装置41では、相互に別個の構成であるデジタルカメラ42とプリンタ43とが組合わせられて構成されることである。すなわち、前記画像処理装置11における記憶部23までのデジタルカメラでの画像処理に必要な最小限の構成が該デジタルカメラ42に搭載され、前記黒生成/下色除去部24以降のデジタルカメラでの画像処理に必ずしも必要でない構成がプリンタ43に搭載されることである。
【0076】
前記色補正部1は、入力されたRGB信号をカラー画像表示装置14の特性に応じたR’G’B’信号に変換して出力する色補正部1aと、前記のカラー画像出力装置13のための色補正処理を行う色補正部1bとに分割され、それぞれ前記デジタルカメラ42側の画像処理部41aと、プリンタ43側の画像処理部41bとに搭載されている。デジタルカメラ42およびプリンタ43にはまた、制御部15a,15bおよび操作パネル16a,16bがそれぞれ搭載され、これらの制御部15a,15bおよび操作パネル16a,16bを合わせての機能は、前述の制御部15および操作パネル16の単体の機能と同様である。
【0077】
このようなプリンタ機能を備えていないデジタルカメラ42の場合には、プリンタ機能を備えている場合と比較して、撮影時刻から印刷出力を行う時刻までの経過時間に大きな差が生じうる。したがって、この場合には、上述の実施の形態とは異なったモード設定をすることが望ましい。また、このようにデジタルカメラ42と、プリンタ43とが相互に別体となると、相互に接続可能なメーカや機種の任意の組合わせでの使用が想定されることになる。
【0078】
ここで、一般に、デジタルカメラの(プリンタへの)出力特性は、通常は、デジタルカメラの機種毎に異なるものとなっている。そこで、デジタルカメラ42から出力される色データの信号が、sRGB信号などの測色的な色空間との対応関係が定義されている色空間のデータであることが予め分かっている場合には、プリンタ43側において、その定義されている関係を用いて、CMY信号へと変換することができる。
【0079】
一方、前記sRGB信号などの定義されている信号ではなく、機器固有の色データの信号が出力される場合には、以下のように変換を行う。そして、得られた変換テーブルを、プリンタ43側においてデジタルカメラ42の機種毎に保持することによって、次回の出力を容易にすることもできる。
【0080】
すなわち、前記sRGB信号を用いることができない場合には、プリンタ43において、CMY(K)データと測色値(CIE1976L* * * データなど)との組合せを、変換行列やLUTとして格納しておく。そして、デジタルカメラ42からの画像データを印刷出力する際には、デジタルカメラ42の入力特性を示すRGB−L***データ(各メーカーが作成したICC(International Color Consortium)プロファイルなど)に基づいて色補正処理を行う。
【0081】
そして、前記正確な色再現の場合には、測色データをそのまま使用して、RGB→L* * * →CMY(K)の変換を行う。一方、好ましい色再現の場合には、予め主観評価実験で人が好ましいと感じる色の調整方法を調べておき、その処理を行ったRGB→L* * * →C’M’Y’(K’)の変換を行う。
【0082】
また、前記時刻t1,t2の設定としては、たとえば前記記憶色処理を考慮し始める時刻t1を1日、完全に記憶色処理に切換える時刻t2を1週間に設定しておくことができる。この設定は、ユーザが選択する構成であってもよい。
【0083】
なお、カラー画像入力装置12は、上述のようにデジタルカメラ2,42に備えられる構成に限るものではなく、スキャナなどに備えられる構成であってもよい。この場合には、画像ファイルファーマットとして撮影時刻が記録されている場合はそれを使用し、記録されていない場合には、ファイルのタイムスタンプを利用するなどして、同様の処理を行うことができる。また、本発明に係る撮像装置は、前記デジタルカメラ2,42に限らず、ビデオカメラであってもよい。
【0084】
さらにまた、本発明は、上述した画像処理方法を、パーソナルコンピュータなどのコンピュータに実行させるためのプログラムであってもよい。このプログラムをコンピュータにおいて実行すれば、上述した画像処理方法を実行できるので、上述と同様の効果を得ることができる。すなわち、前記プリンタ43側の画像処理部41bを前記パーソナルコンピュータに搭載し、プリンタはそのパーソナルコンピュータから出力されたCMY(K)信号に応じて印字処理を行うだけでもよい。この場合、プリンタ側で設定するよりも、パーソナルコンピュータの快適なユーザインタフェイスを使用して、前記重み係数kの設定などをより詳細に行うことができる。
【0085】
また、本発明は、前記のプログラムを記録したコンピュータ読取り可能な記録媒体であってもよい。この記録媒体を、コンピュータにおいて読取って実行すれば、上述した画像処理方法を実行できるので、上述と同様の効果を得ることができる。このような構成によれば、画像処理を行うプログラムを記録した記録媒体を持ち運び自在に提供することができる。
【0086】
前記構成において、前記記録媒体とは、ROMのようなメモリであってもよいし、または装置外部に備えられて接続された外部記録装置であってもよいし、または装置外部に備えられて接続された外部読取装置の記録媒体であってもよい。より詳細には、前記記録媒体は、装置本体と分離可能に構成される記録媒体であって、磁気テープやカセットテープ等のテープ系、フロッピーディスクやハードディスク等の磁気ディスクやCD−ROM/MO/MD/DVD等の光ディスクのディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read Only Memory)、フラッシュROM等の半導体メモリなどであってもよい。
【0087】
前記いずれの場合においても、前記プログラムは、マイクロプロセッサがアクセスして実行する構成であっても良いし、一旦図示しない記憶エリアに読込んだ後に実行する構成であってもよい。
【0088】
また、前記構成において、プログラムを読取る際には、インターネットを含む通信ネットワークに接続して、通信ネットワークからプログラムをダウンロードする構成であってもよい。なお、このように通信ネットワークからプログラムをダウンロードする場合には、そのダウンロード用のプログラムは予め本体装置に格納しておくか、あるいは別な記録媒体からインストールされるものであっても良い。
【0089】
本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても、本発明の技術的範囲に含まれる。
【0090】
【発明の効果】
本発明の画像処理方法は、以上のように、撮像して得られた画像データを出力するにあたって、撮像した時点からの経過時間によって、第1の処理から第2の処理へと色補正処理を変化する。
【0091】
それゆえ、撮像した直後と撮像してから相当日時経過後とでユーザが好ましいと感じる色再現が変化しても、適宜2つの色補正処理の寄与率を変化させることで、ユーザの好みに合った画質を得ることができる。
【0092】
また、本発明の画像処理方法は、以上のように、色補正処理を行うにあたって、その処理に用いるパラメータを、予め設定された固定値に限らず、ユーザ設定によって細かな調整を可能にする。
【0093】
それゆえ、個別のユーザの好みに合わせた色補正処理を実現することができる。
【0094】
さらにまた、本発明の画像処理装置は、以上のように、撮像して得られた画像データを画像出力装置に出力するにあたって、撮像した時点からの経過時間によって、第1の処理から第2の処理へと変化する。
【0095】
それゆえ、撮像した直後と撮像してから相当日時経過後とでユーザが好ましいと感じる色再現が変化しても、適宜2つの色補正処理の寄与率を変化させることで、ユーザの好みに合った画質を得ることができる。
【0096】
また、本発明の画像処理装置は、以上のように、色補正手段として、前記第1の色再現を実現する第1の色補正処理手段と、前記第2の色再現を実現する第2の色補正処理手段と、それらからの色補正データにそれぞれ重み係数を乗算して得られた積の和を出力画像データとして出力する信号処理手段とを備えて構成する。
【0097】
それゆえ、前記経過時間に応じて徐々に第2の色再現のデータの割合を増加させ、連続した色補正処理を行うことができる。
【0098】
さらにまた、本発明の画像処理装置は、以上のように、前記経過時間の変化に対する重みの変化特性を設定可能とする。
【0099】
それゆえ、各経過時間の時点での2つの色補正処理の割合を、予め設定された固定値に限らず、ユーザ設定によって細かく調整できるようにするので、個別のユーザの好みに合わせた色補正処理を実現することができる。
【0100】
また、本発明の画像形成装置は、以上のように、前記の何れかの画像処理装置を備えている。
【0101】
それゆえ、経過時間によって画像処理の内容を変化させることで、ユーザの好みに合った画質を得ることができる画像形成装置を実現することができる。
【0102】
さらにまた、本発明の撮像装置は、以上のように、前記の何れかの画像処理装置を備えている。
【0103】
それゆえ、経過時間によって画像処理の内容を変化させることで、ユーザの好みに合った画質を得ることができる撮像装置を実現することができる。
【0104】
また、本発明のプログラムは、以上のように、前述の画像処理方法をコンピュータに実行させる。
【0105】
それゆえ、前記の画像処理方法を汎用的なものとすることができる。
【0106】
さらにまた、本発明の記録媒体は、前記のプログラムをコンピュータが読取り可能に格納する。
【0107】
それゆえ、前記の画像処理方法を、コンピュータに容易に読込ませることができる。
【図面の簡単な説明】
【図1】本発明の実施の一形態の画像処理装置における色補正部の電気的構成を示すブロック図である。
【図2】前記図1で示す画像処理装置を搭載するプリンタ機能を備えたデジタルカメラの構成を示す斜視図である。
【図3】図2で示すデジタルカメラにおける本発明の実施の一形態の画像処理装置の詳細な構成を示すブロック図である。
【図4】色補正動作を詳細に説明するためのフローチャートである。
【図5】色補正処理の重み係数の経過時間に対する変化を示すグラフである。
【図6】本発明の実施の他の形態の画像処理装置の電気的構成を示すブロック図である。
【符号の説明】
1;1a,1b 色補正部
2,42 デジタルカメラ
3 撮像レンズ
4 ストロボ
5 撮影ボタン
6 モード設定ボタン
7 メモリカード挿入口
8 プリント開始ボタン
9 記録紙の挿入/排出口
11,41 画像処理装置
12 カラー画像入力装置
13 カラー画像出力装置
14 カラー画像表示装置
15;15a,15b 制御部
16;16a,16b 操作パネル
21 A/D変換部
22 入力補正部
23 記憶部
24 黒生成/下色除去部
25 空間フィルタ処理部
26 出力階調補正部
27 階調再現処理部
31 正確な色変換処理部(第1の色補正処理手段)
32 好ましい色変換処理部(第2の色補正処理手段)
33 信号処理部
34 重み係数算出部
41a,41b 画像処理部
43 プリンタ[0001]
BACKGROUND OF THE INVENTION
The present invention provides an image processing that outputs image data by performing color correction processing on image data obtained by imaging with an imaging device such as a digital camera, and outputs an image to the image output device based on the output image data. The present invention relates to a method and apparatus, an image forming apparatus, an imaging apparatus, a program, and a recording medium.
[0002]
[Prior art]
In recent years, digitalization of office automation equipment has rapidly progressed, and the demand for color image output has increased. As a result, output devices such as electrophotographic digital color copiers and inkjet and thermal transfer color printers have become widely available. It has become widespread. For example, image information input from an input device such as a digital camera or a scanner or image information created on a computer is output using these output devices. In these input / output devices, it is necessary to always output an image with stable color reproduction for input image information, and color conversion (color correction) processing of digital image processing technology plays an important role. Plays.
[0003]
Here, the color conversion process means a process of converting input image information designated by RGB into output image data designated by CMY (K) suitable for an output device such as a printer. This color conversion processing is usually performed for the purpose of realizing faithful color reproduction. Here, the faithful color reproduction means that, for example, an input image information specified by RGB is output by an output device such as a printer specified by CMY (K) as a document or original image. This means reproducing the target color as accurately as possible. Accordingly, by minimizing the color difference among the conditions in which the input device and the output device are used, the processing content for bringing the output image closer to the input image is the same even if the devices are different.
[0004]
In actually performing the color conversion processing as described above, many proposals have been made including a color coordinate conversion method for converting input image data into uniform color space data. Such methods include New Color Science Handbook, pages 1137 to 1149 (edited by the Japan Society of Color Science, published by the University of Tokyo Press), Journal of the Imaging Society of Japan, Vol. 37, No. 4 (1998), pages 555 to 559. Table Lookup Table (Look Up Table: hereinafter referred to as LUT) method and masking method. In the following, processing for correcting a color signal that would be an inappropriate signal as an output as it is, processing for converting a color signal to change the color itself, and coordinates of the color signal even if the color itself does not change All processing for converting the system is called color conversion.
[0005]
The direct conversion method, which is one of the LUT methods, calculates color conversion data for all combinations of input image data in advance and stores the result in a color conversion table. This is a method of referring to a table value for input image data and outputting as output image data. This direct conversion method accesses the color conversion table, has a simple circuit configuration, can be processed at a relatively high speed, and can be applied to any nonlinear characteristic.
[0006]
Another LUT method, the three-dimensional interpolation method, calculates in advance a table value for a combination of selected part of input image data and stores it in a color conversion table. When the table value corresponding to the input image data is stored in the conversion table, the table value is used as it is, and when the table value is not stored, it is calculated by a three-dimensional interpolation operation using a nearby table value. This three-dimensional interpolation method can obtain color conversion values for all combinations of input image data even if the number of input image data for which table values should be calculated in advance is limited. Although a circuit is required, the size of the color conversion table can be reduced as compared with the direct conversion method.
[0007]
On the other hand, unlike the above-described image processing methods, there is also known an image processing method whose purpose of color conversion processing is to perform preferable color reproduction instead of accurate color reproduction. Here, preferable color reproduction is an expression that is generally widely used in the field of image processing, and specifically corresponds to reproduction of a so-called memory color described below. Moreover, in addition to the above-mentioned meaning, it may be used with the meaning of reproducing the color which makes a vividness feel.
[0008]
The memory color is, for example, a color such as human skin, sky blue, green plant, etc., which is closer to the color stored by humans than to reproduce the color faithful to the original image. It is a color that feels good reproduction. By performing the process of approaching such a memory color, it is possible to output an image preferable for the user. Specifically, the process of approaching the memory color is, for example, from the color coordinator certification test grade 2 text (Tokyo Chamber of Commerce and Industry, p. 78-80). Is a process for increasing saturation and brightness.
[0009]
Therefore, since this preferable color is based on sensitivity, it is not defined as a standard such as the CIE (Commission Internationale de l'Eclairage), but it is an evaluation experiment for many subjects in advance. To be determined. In the image processing apparatus, for example, the above-described LUT method is used to realize this preferable color conversion processing for color reproduction.
[0010]
[Problems to be solved by the invention]
However, in the conventional method, a constant color conversion process is performed regardless of the passage of time after shooting a landscape or the like. For example, when outputting immediately after shooting and comparing it with the target, or the memory becomes ambiguous over time. Therefore, there is a possibility that color reproduction that matches the situation at the time of outputting an image is not necessarily performed. That is, for example, when a landscape is photographed with a digital camera and an image is displayed or printed on the spot, it is highly possible to compare it with the photographed landscape, and therefore accurate color reproduction is desired. On the other hand, when an image is displayed or printed out at a location away from the scene after shooting a landscape, it is considered appropriate to perform color reproduction preferable to humans rather than accurate color reproduction.
[0011]
In other words, by using the direct conversion method or the three-dimensional interpolation method described above, conventionally, it is only necessary to realize either accurate color reproduction with high accuracy or color reproduction preferable for human beings. Due to the widespread use, various output forms are assumed, and there is a problem that they cannot be adapted to the situation at the time of output in each form.
[0012]
An object of the present invention is to provide an image processing method, an image processing apparatus, and an image processing method capable of performing color reproduction suitable for the situation at the time of outputting an image with respect to image data obtained by photographing with an imaging device such as a digital camera. An image forming apparatus, an imaging apparatus, a program, and a recording medium are provided.
[0013]
[Means for Solving the Problems]
The image processing method of the present invention is an image processing method in which color correction processing is performed at the time of outputting image data obtained by imaging. As the color correction processing, an elapsed time from when the image data was captured. Accordingly, the process changes from the process for realizing the first color reproduction to the process for realizing the second color reproduction.
[0014]
According to the above configuration, when outputting image data obtained by imaging, the color correction processing is changed from the first processing to the second processing according to the elapsed time from the time of imaging.
[0015]
Therefore, the color reproduction that the user feels preferable is, for example, faithful color reproduction immediately after imaging, and the color reproduction that the user feels preferable in this way, after a considerable amount of time has elapsed since imaging. Even if it changes with the passage of time, it is possible to obtain an image quality that suits the user's preference by appropriately changing the contribution ratio of the two color correction processes.
[0016]
The image processing method of the present invention includes a step of setting parameters used for the color correction processing, and the color correction processing is performed according to the parameters set in the step.
[0017]
According to the above configuration, when performing the color correction process, the parameters used for the process are not limited to preset fixed values, but can be finely adjusted according to user settings. Color correction processing can be realized.
[0018]
The image processing apparatus of the present invention further includes color correction means for performing color correction processing on the image data obtained by imaging to obtain output image data, and an image is output to the image output apparatus based on the output image data. In the image processing apparatus to be output, a control signal corresponding to an elapsed time from the time when the image data is imaged is output to the color correction unit, and the second color reproduction is performed from the process of realizing the first color reproduction. It is characterized by including a control means for changing to processing for realizing the above.
[0019]
According to the above configuration, when outputting the image data obtained by imaging to the image output device, the control unit performs the color correction processing by the color correction unit according to the elapsed time from the time of imaging. The process is changed to the second process.
[0020]
Therefore, the color reproduction that the user feels preferable is, for example, faithful color reproduction immediately after imaging, and the color reproduction that the user feels preferable in this way, after a considerable amount of time has elapsed since imaging. Even if it changes with the passage of time, it is possible to obtain an image quality that suits the user's preference by appropriately changing the contribution ratio of the two color correction processes.
[0021]
In the image processing apparatus according to the aspect of the invention, the color correction unit may include a first color correction processing unit that realizes the first color reproduction as a color correction process performed on the image data, and a color applied to the image data. As the correction processing, a second color correction processing means for realizing the second color reproduction, and respective outputs output from the first and second color correction processing means in response to a control signal from the control means. A weight coefficient calculating means for calculating a weight for the color correction data and outputting a weight coefficient signal; and multiplying the color correction data output from the first and second color correction processing means by the weight coefficient signal. And signal processing means for outputting the sum of the obtained products as the output image data.
[0022]
According to the above configuration, the color correction data output from the two color correction processing means for performing the color correction processing with the preset contents are added with weights, so that the second time is gradually increased according to the elapsed time. The color reproduction data ratio can be increased and continuous color correction processing can be performed.
[0023]
Furthermore, the image processing apparatus according to the present invention further includes setting means for outputting a setting signal for setting a weight change characteristic with respect to a change in elapsed time in the weight coefficient calculating means to the control means. .
[0024]
According to the above configuration, the ratio of the two color correction processes at each elapsed time is not limited to a preset fixed value, but can be finely adjusted according to user settings. A combined color correction process can be realized.
[0025]
An image forming apparatus according to the present invention includes any one of the image processing apparatuses described above.
[0026]
According to the above configuration, since the ratio of the image processing changes depending on the elapsed time, even if the color reproduction that the user feels preferable differs between immediately after imaging and after the equivalent date and time after imaging, the color correction processing is appropriately performed. By changing the contents, it is possible to realize an image forming apparatus capable of obtaining an image quality suitable for the user's preference.
[0027]
Furthermore, an imaging apparatus according to the present invention includes any one of the image processing apparatuses described above.
[0028]
According to the above configuration, since the ratio of the image processing changes depending on the elapsed time, even if the color reproduction that the user feels preferable differs between immediately after imaging and after the equivalent date and time after imaging, the color correction processing is appropriately performed. By changing the contents, it is possible to realize an imaging apparatus capable of obtaining an image quality suitable for the user's preference.
[0029]
A program according to the present invention causes a computer to execute the above-described image processing method.
[0030]
According to the above configuration, the computer can read an image processing method for outputting an image according to the user's intention by changing the content of the color correction processing according to the elapsed time from the time of imaging. Can be executed. Therefore, this image processing method can be general purpose.
[0031]
Furthermore, the recording medium of the present invention is characterized in that the above-mentioned program is stored so as to be readable by a computer.
[0032]
According to said structure, the image processing method for outputting the image according to a user's intention by changing the content of the color correction process according to the elapsed time from the time of imaging is made to be easily read by the computer. be able to.
[0033]
DETAILED DESCRIPTION OF THE INVENTION
[Embodiment 1]
An embodiment of the present invention will be described below with reference to FIGS.
[0034]
FIG. 1 is a block diagram showing an electrical configuration of a color correction unit 1 in an image processing apparatus according to an embodiment of the present invention. This image processing apparatus is provided in the digital camera 2 having the printer function shown in FIG. 2, and outputs an image suitable for the situation when the image is reproduced with the following configuration.
[0035]
That is, in general, when a photograph is taken with a digital camera, the image is rarely printed out on the spot. For example, after returning from a trip, the image is printed out after a certain amount of time has passed. There are many cases.
[0036]
As described above, when printing is not performed on the spot where the photograph is taken, the output image is not compared with the original (in this case, a subject such as a landscape). Also, as time passes, the memory fades and the exact original color is forgotten. Therefore, in such a case, the memory color process that is the second color reproduction is performed even if the color is shifted from the original color reproduction process that faithfully reproduces the original color that is the first color reproduction. The image quality is further improved by performing the preferred color reproduction process.
[0037]
On the other hand, in a digital camera, an image can be confirmed using a viewer immediately after taking a picture, and as described above, although there are few opportunities, it may be printed out on recording paper. Therefore, in such a case, since a comparison with the subject is made, faithful color reproduction is desired.
[0038]
In view of this, in the present image processing apparatus, an image is output by switching the ratio between the faithful color reproduction and the preferred color reproduction in accordance with the passage of time from the photographing time point by the following configuration.
[0039]
The digital camera 2 shown in FIG. 2 is a printer-integrated digital camera as described above, and has a printer built into the digital camera. The digital camera 2 is generally composed of a camera portion and a printer portion. The camera portion includes an imaging lens 3, a strobe 4, a shooting button 5, a mode setting button 6, a memory card insertion slot 7, an imaging element (not shown), the image processing device, a writing device for the memory card, a viewer, and the like. Configured. The printer portion includes a print start button 8, a recording paper insertion / discharge port 9, and a printing device for recording paper (not shown).
[0040]
With this configuration, when functioning as a camera, shooting is performed when the shooting button 5 is pressed, and the obtained image data is recorded on the memory card as an image file. When functioning as a printer, printing of an image is started when the print start button 8 is pressed, and the recording paper is discharged from the insertion / discharge port 9.
[0041]
Here, when performing printing, as described later, the photographing time recorded in the image file is compared with the current time for printing, and the weighting coefficient is set according to the setting mode set by the mode setting button 6. In accordance with these, predetermined color correction processing is performed and printing is performed.
[0042]
FIG. 3 is a block diagram showing a detailed configuration of the image processing apparatus 11 in the digital camera 2. The digital camera 2 includes the image processing device 11, a color image input device 12, a color image output device 13, a color image display device 14, a control unit (control means) 15 and an operation panel 16.
[0043]
The color image input device 12 converts a photographed image into an electrical signal and outputs the electrical signal. The color image input device 12 includes a color filter (not shown), a CCD (Charge Coupled Device), which is the image sensor, and the like. Configured. The image input from the imaging lens 3 is read by the CCD and output as RGB (R: red, G: green, B: blue) analog signals.
[0044]
The image processing apparatus 11 according to the present invention includes an A / D conversion unit 21, an input correction unit 22, a storage unit 23, the color correction unit 1, a black generation / under color removal unit 24, a spatial filter processing unit 25, and an output tone correction. A unit 26 and a gradation reproduction processing unit 27 are provided.
[0045]
The A / D converter 21 converts the input RGB analog signal into a digital signal and outputs the digital signal. The input correction unit 22 removes various distortions generated in the imaging system and imaging system of the color image input device 12, adjusts the white balance based on the characteristics of the color filter and the color temperature of the light source, It performs brightness correction and the like. The storage unit 21 is for compressing and storing captured image data in a file format such as JPEG (Joint Picture Experts Group). The storage unit 23 of the present embodiment is composed of the memory card and its writing / reading device.
[0046]
The color correction unit 1 performs color conversion (color correction) processing of a digital image processing technique in order to output an image with stable color reproduction with respect to input image information. The color correction unit 1 also performs a process of converting the RGB signal into a CMY (C: cyan, M: magenta, Y: yellow) signal for faithful color reproduction. As this color correction processing, there are a masking method using a conversion matrix, a direct conversion method using a lookup table (LUT), and a three-dimensional interpolation method.
[0047]
The masking method realizes conversion from RGB values to CMY values using matrix operation as shown in the following equation.
[0048]
[Expression 1]
Figure 0004094346
[0049]
Each of the conversion parameters a11 to a14, a21 to a24, a31 to a34 in the above equation gives, for example, a combination of major CMY values to the color image output device 13 to output a color patch, which is input to the color image input described above. It is determined by reading with the device 12, obtaining corresponding RGB values, and obtaining those satisfying these relationships by the least square method. Or, you can read color patches for digital cameras on the market (such as ANSI (American National Standards Institute) IT8.7 (ISO 12641) and GretagMacbeth ColorCheckerDC, which are also international standards), and RGB values and color patches. The color image output device 13 is given a CMYK value and the color image color value corresponding to the output color is obtained. Each parameter may be obtained by multiplication.
[0050]
As a method of creating the LUT, there is a method of creating a model describing the relationship between RGB values and CMY values using a neural network, and having an output CMY value for each RGB value as an LUT. There is also a method in which the conversion matrix is obtained, CMY signals to be output for each RGB signal are obtained in advance, and stored as an LUT. Using the above-described method, the color correction unit 1 generates a CMY signal from the input RGB signal and outputs the CMY signal to the color image output device 13 realized by an inkjet or thermal transfer recording device. Further, when outputting the captured image to the color image display device 14 such as the viewer realized by a liquid crystal display or the like, the color correction unit 1 uses the input RGB signal as a characteristic of the color image display device 14. A corresponding R′G′B ′ signal is converted and output. The color correction unit 1 will be described in detail later.
[0051]
The black generation / under color removal unit 24 includes a black generation unit and an under color removal unit. The black generation unit performs black (K) generation processing based on the color-corrected CMY signal. The under color removal unit subtracts the amount of the under color calculated from the black signal from the CMY signal, and converts it into CMYK 4-color data.
[0052]
Here, when the input data is C, M, and Y, and the output data is C ′, M ′, Y ′, and K, the black generation and under color removal processes are represented by C, M, Y is corrected. Here, min (C, M, Y) is the smallest value among C, M, and Y, and α and β are predetermined constants.
[0053]
C ′ = C−αmin (C, M, Y)
M ′ = M−αmin (C, M, Y)
Y ′ = Y−αmin (C, M, Y)
K = βmin (C, M, Y)
The spatial filter processing unit 25 performs spatial filter processing using a digital filter on the obtained image data to correct spatial frequency characteristics. Thus, processing is performed so as to prevent blurring of the output image and deterioration of graininess. The output tone correction unit 26 performs output tone correction processing for converting a signal such as a density signal into a halftone dot area ratio that is a characteristic value of the color image output device 13. The gradation reproduction processing unit 27 performs gradation reproduction processing (halftone generation) in which an image is separated into pixels and processed so that each gradation can be reproduced.
[0054]
In the present embodiment, the image data is stored in the storage unit 23, read according to a control signal or the like, input to the color correction unit 1, and thereafter subjected to each processing to perform the color image output device 13 or the color image. It is output to the display device 14.
[0055]
The control unit 15 is for controlling each unit of the image processing device 11 described above, and includes a timer, and sends a control signal to the image processing device 11 according to the elapsed time from the time when the image data is captured. The ratio of the color correction process that outputs and reproduces the faithful color and the color correction process that performs the preferred color reproduction are switched. Details of the control will be described later.
[0056]
The operation panel 16 corresponds to the mode setting button 6, the photographing button 5, the print start button 8, and the like shown in FIG. 2, and may further include input means such as a numeric keypad. The operation panel 16 receives a user instruction by detecting whether or not the buttons 5, 6, and 8 are pressed. When an instruction is given from the user, the color image display device 14 indicates the currently set output mode. Using the operation panel 16, the user selects a mode for outputting an image as described later, or arbitrarily sets parameters.
[0057]
Referring to FIG. 1, the color correction unit 1 of the present embodiment is a first color correction processing unit, an accurate color conversion processing unit 31 that performs accurate color conversion processing, and a second color correction processing unit. And a preferable color conversion processing unit 32 that performs a preferable color conversion process, a signal processing unit (signal processing unit) 33, and a weighting factor calculation unit (weighting factor calculation unit) 34.
[0058]
The accurate color conversion processing unit 31 realizes faithful color reproduction as color correction processing, and converts an input RGB signal into an output signal Cc and outputs it. Here, this color correction processing may be performed by a masking method using a transformation matrix or may be performed by an LUT method. In this case, conversion parameters are created from combinations of device data and color data measured by a colorimeter using color patches or the like.
[0059]
More specifically, in the case of a digital camera, the colorimetric value CIE1976L of the patch * a * b * Data (L * : Brightness, a * ・ B * : Chromaticity) and a combination of RGB data read from it, a model representing the characteristics of the digital camera is created. In the case of a printer, CMY (K) data and colorimetric value CIE1976L given to the printer * a * b * A model representing the characteristics of the printer is created from the combination of data. These models are combined to obtain a transformation matrix and LUT.
[0060]
Here, Cc means a cyan signal. Although the magenta signal Mc and the yellow signal Yc are similarly obtained, only the cyan signal Cc will be described in FIG. 1 and the following for the sake of simplicity.
[0061]
On the other hand, the preferable color conversion processing unit 32 realizes a preferable color reproduction as a color correction process, and, like the accurate color conversion processing unit 31, performs color correction using a conversion matrix or LUT obtained in advance. Processing is performed, and the input RGB signal is converted into an output signal Cf and output.
[0062]
The weight coefficient calculating unit 34 calculates weights for the color-corrected output signals Cc and Cf output from the color conversion processing units 31 and 32, respectively, according to the control signal input from the control unit 15. The weight coefficient signal is output to the signal processing unit 33. The signal processing unit 33 multiplies the input weighting coefficient signal by the output signals Cc and Cf, respectively, and generates output image data Cout by taking the sum of the obtained products. Details of this processing will be described later.
[0063]
The color correction unit 1 according to the present invention is not limited to the above-described configuration, and does not include the weighting coefficient calculation unit 34. The signal processing unit 33 is based on the accurate color conversion processing unit 31 and the preferred color conversion processing unit 32. A configuration may be adopted in which any one of the output signals Cc and Cf to be output is selected according to the control signal and output as output image data Cout.
[0064]
FIG. 4 is a flowchart for explaining the operation of the color correction unit 1 in detail. In outputting the image data, the RGB signal is color-converted to the output signal Cc in the accurate color conversion processing unit 31 (step S11), and in parallel processing, the RGB signal is output to the output signal Cf in the preferred color conversion processing unit 32. The color is converted (step S12) and input to the signal processing unit 33.
[0065]
On the other hand, the control unit 15 compares the time of shooting (shooting time) with the current time using a built-in timer (not shown). Here, in the image photographed with the digital camera, the photographing time is usually recorded, and the control unit 15 uses this. As another configuration, the time stamp of the image file recorded in the digital camera may be regarded as the shooting time and compared with the current time. That is, when the current time is t, the shooting time is t0, the time at which the memory color processing is taken into consideration is t1, and the time at which the processing is completely switched to the memory color processing is t2, the control unit 15 sets the current time t and the shooting time. An output signal having a level corresponding to the difference from t0 is output as a control signal to the weight coefficient calculation unit 34 and the signal processing unit 33.
[0066]
The weighting factor calculation unit 34 that has received the control signal defines the weighting factor k for the color correction process as follows, as shown in FIG. That is,
K = 0 when 0 ≦ t−t0 ≦ t1−t0
When t1-t0 <t-t0 ≦ t2-t1, k = (t-t1) / (t2-t1)
When t2−t0 <t−t0, k = 1
And The weighting coefficient signal obtained in this way is output to the signal processing unit 33.
[0067]
The signal processing unit 33 uses the weighting coefficient k obtained as described above to output the output signal Cout.
Calculation is made as Cout = (1-k) Cc + kCf (step S2). The same processing is performed for magenta and yellow output signals.
[0068]
As described above, the color correction unit 1 according to the present embodiment performs color correction processing for faithful color reproduction and color for preferable color reproduction according to the elapsed time that is the difference between the shooting time t0 and the current time t. Since the ratio with respect to the correction process is changed, it is possible to obtain an image quality that suits the user's preference in accordance with the situation when the image is reproduced. Further, since the output signals Cc and Cf from the two color conversion processing units 31 and 32 are multiplied by the weighting coefficient k and added, the proportion of the output signal Cf for preferable color reproduction is gradually increased according to the elapsed time. Continuous color correction processing can be performed.
[0069]
In FIG. 5 as an example of the embodiment, although the weighting factor k of the time t1 <t ≦ t2 is expressed by a linear time change as described above, a curved time such as a quadratic function is used. It may be a change.
[0070]
Further, in the above configuration, the user may be able to arbitrarily set the temporal change characteristic of the weighting factor k. That is, the digital camera 2 of the present embodiment is a printer-integrated type, and in such a digital camera, there are cases where an image taken with the digital camera is displayed on a viewer without printing and when it is printed on the spot. possible. For this reason, it is desirable to be able to change the characteristics of the time change of the weighting factor k as desired by the user. The setting for changing the characteristics can be performed by using the mode setting button 6 shown in FIG.
[0071]
That is, when the mode setting button 6 as a setting means is pressed, a slider (a bar-shaped mark is displayed, and the mark is moved to the left and right to change the ratio of the left and right divided areas to input a value. By operating the mode setting button 6, an accurate color reproduction ratio and a preferable color reproduction ratio can be arbitrarily set. Specifically, this can be realized by changing the time t1 at which the above-mentioned memory color processing is considered and the time t2 at which the memory color processing is completely switched. For example, when priority is given to preferred color reproduction, both times t1 and t2 may be reduced. When importance is placed on accurate color reproduction, both times t1 and t2 may be increased. In order to gradually change the characteristics of the weighting factor k, the interval between the times t1 and t2 may be increased. Furthermore, the time t1 can be set to t0, and the memory color processing can be considered immediately after shooting. It is also possible to set the time t2 to a large value so that accurate color reproduction is always performed. Furthermore, the configuration for changing the characteristics of the time change of the weighting factor k is not limited to the above, and a configuration for changing the upper limit and the lower limit of the changing range of the weighting factor k is also possible.
[0072]
In this way, the ratio of the two color correction processes at the time of each elapsed time can be finely adjusted not only by a preset fixed value but also by user settings. Color correction processing can be realized.
[0073]
In the above description, the configuration in which t1 <t2 is described, but a configuration in which t2 = t1 may be employed. That is, in this case, the weighting factor k is switched from 0 to 1, and as described above, the output image data Cout is the output signal Cc that realizes faithful color reproduction until a predetermined time elapses. Is switched to an output signal Cf that realizes a preferable color reproduction. In such a configuration, the weight coefficient calculation unit 34 is not required, the control unit 15 only has to manage the elapsed time from the shooting time t0 to the current time t, and the signal processing unit 33 also performs the product-sum operation. There is no need to perform this, and it is only necessary to switch the output signals Cc and Cf in accordance with a given control signal. Thus, it can be realized with a simple configuration.
[0074]
[Embodiment 2]
The following will describe another embodiment of the present invention with reference to FIG.
[0075]
FIG. 6 is a block diagram showing an electrical configuration of an image processing apparatus 41 according to another embodiment of the present invention. The image processing apparatus 41 is similar to the image processing apparatus 11 described above, and corresponding portions are denoted by the same reference numerals and description thereof is omitted. It should be noted that the image processing apparatus 41 is configured by combining a digital camera 42 and a printer 43 that are separate from each other. That is, the minimum configuration necessary for image processing with the digital camera up to the storage unit 23 in the image processing apparatus 11 is mounted on the digital camera 42, and the digital camera after the black generation / undercolor removal unit 24 A configuration that is not necessarily required for image processing is installed in the printer 43.
[0076]
The color correction unit 1 converts the input RGB signal into an R′G′B ′ signal corresponding to the characteristics of the color image display device 14 and outputs the R′G′B ′ signal, and the color image output device 13. And a color correction unit 1b that performs color correction processing for this purpose, and are mounted on an image processing unit 41a on the digital camera 42 side and an image processing unit 41b on the printer 43 side, respectively. The digital camera 42 and the printer 43 are also equipped with control units 15a and 15b and operation panels 16a and 16b, respectively. The functions of these control units 15a and 15b and operation panels 16a and 16b are the same as those described above. 15 and the function of a single unit of the operation panel 16.
[0077]
In the case of the digital camera 42 that does not have such a printer function, there may be a large difference in the elapsed time from the shooting time to the time to perform print output, compared to the case where the printer function is provided. Therefore, in this case, it is desirable to set a mode different from the above-described embodiment. Further, when the digital camera 42 and the printer 43 are separated from each other as described above, it is assumed that the digital camera 42 and the printer 43 are used in any combination of manufacturers and models that can be connected to each other.
[0078]
Here, in general, output characteristics (to a printer) of a digital camera are usually different for each model of the digital camera. Therefore, when it is known in advance that the color data signal output from the digital camera 42 is data in a color space in which a correspondence relationship with a colorimetric color space such as an sRGB signal is defined, On the printer 43 side, conversion to CMY signals can be performed using the defined relationship.
[0079]
On the other hand, when not a defined signal such as the sRGB signal but a device-specific color data signal is output, the conversion is performed as follows. Then, by holding the obtained conversion table for each model of the digital camera 42 on the printer 43 side, the next output can be facilitated.
[0080]
That is, when the sRGB signal cannot be used, the CMY (K) data and the colorimetric value (CIE1976L) are obtained in the printer 43. * a * b * The combination with data etc. is stored as a transformation matrix or LUT. When the image data from the digital camera 42 is printed out, RGB-L indicating the input characteristics of the digital camera 42 is displayed. * a * b * Color correction processing is performed based on data (such as an ICC (International Color Consortium) profile created by each manufacturer).
[0081]
In the case of the accurate color reproduction, the colorimetric data is used as it is, and RGB → L * a * b * → Convert CMY (K). On the other hand, in the case of preferable color reproduction, a method for adjusting a color that a person feels preferable in a subjective evaluation experiment is checked in advance, and RGB → L subjected to the processing is checked. * a * b * → Convert C'M'Y '(K').
[0082]
As the setting of the times t1 and t2, for example, the time t1 at which the memory color processing is considered can be set to 1 day, and the time t2 at which the memory color processing is completely switched to 1 week can be set. This setting may be configured to be selected by the user.
[0083]
The color image input device 12 is not limited to the configuration provided in the digital cameras 2 and 42 as described above, and may be provided in a scanner or the like. In this case, if the shooting time is recorded as an image file format, it is used, and if it is not recorded, the same processing can be performed by using the time stamp of the file. it can. The imaging apparatus according to the present invention is not limited to the digital cameras 2 and 42, and may be a video camera.
[0084]
Furthermore, the present invention may be a program for causing a computer such as a personal computer to execute the above-described image processing method. If this program is executed in a computer, the above-described image processing method can be executed, so that the same effect as described above can be obtained. That is, the image processing unit 41b on the printer 43 side may be mounted on the personal computer, and the printer may simply perform printing processing according to the CMY (K) signal output from the personal computer. In this case, the setting of the weighting factor k and the like can be performed in more detail using a comfortable user interface of a personal computer than setting on the printer side.
[0085]
Further, the present invention may be a computer-readable recording medium on which the program is recorded. If this recording medium is read and executed by a computer, the above-described image processing method can be executed, so that the same effect as described above can be obtained. According to such a configuration, it is possible to provide a portable recording medium on which a program for performing image processing is recorded.
[0086]
In the above configuration, the recording medium may be a memory such as a ROM, or may be an external recording device provided and connected outside the device, or provided and connected outside the device. It may be a recording medium of an external reading device. More specifically, the recording medium is a recording medium configured to be separable from the apparatus main body, and includes a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy disk and a hard disk, and a CD-ROM / MO / Disk systems for optical disks such as MD / DVD, card systems such as IC cards (including memory cards) / optical cards, mask ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash It may be a semiconductor memory such as a ROM.
[0087]
In either case, the program may be configured to be accessed and executed by a microprocessor, or may be configured to be executed after being read into a storage area (not shown).
[0088]
In the above configuration, when reading the program, the program may be connected to a communication network including the Internet and downloaded from the communication network. When the program is downloaded from the communication network in this way, the download program may be stored in the main device in advance or may be installed from another recording medium.
[0089]
The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments. Is also included in the technical scope of the present invention.
[0090]
【The invention's effect】
In the image processing method of the present invention, as described above, when outputting image data obtained by imaging, color correction processing is performed from the first processing to the second processing according to the elapsed time from the time of imaging. Change.
[0091]
Therefore, even if the color reproduction that the user feels favorable changes immediately after the image is taken and after the equivalent date and time has passed since the image was taken, the contribution rate of the two color correction processes is changed as appropriate to meet the user's preference. Image quality can be obtained.
[0092]
In addition, as described above, the image processing method of the present invention enables fine adjustment according to user settings, without limiting the parameters used for the color correction process to preset fixed values.
[0093]
Therefore, it is possible to realize color correction processing according to individual user preferences.
[0094]
Furthermore, when the image processing apparatus of the present invention outputs the image data obtained by imaging to the image output apparatus as described above, the first processing to the second processing are performed according to the elapsed time from the time of imaging. Change to processing.
[0095]
Therefore, even if the color reproduction that the user feels favorable changes immediately after the image is taken and after the equivalent date and time has passed since the image was taken, the contribution rate of the two color correction processes is changed as appropriate to meet the user's preference. Image quality can be obtained.
[0096]
In addition, as described above, the image processing apparatus of the present invention, as the color correction unit, the first color correction processing unit that realizes the first color reproduction and the second color reproduction that realizes the second color reproduction. It comprises color correction processing means and signal processing means for outputting the sum of products obtained by multiplying the color correction data from them by weighting factors as output image data.
[0097]
Therefore, it is possible to perform continuous color correction processing by gradually increasing the ratio of the second color reproduction data according to the elapsed time.
[0098]
Furthermore, as described above, the image processing apparatus of the present invention can set the change characteristic of the weight with respect to the change of the elapsed time.
[0099]
Therefore, the ratio of the two color correction processes at the time of each elapsed time is not limited to a preset fixed value, but can be finely adjusted according to user settings. Processing can be realized.
[0100]
The image forming apparatus of the present invention includes any one of the image processing apparatuses as described above.
[0101]
Therefore, it is possible to realize an image forming apparatus capable of obtaining an image quality suitable for the user's preference by changing the contents of the image processing according to the elapsed time.
[0102]
Furthermore, as described above, the imaging apparatus of the present invention includes any one of the image processing apparatuses described above.
[0103]
Therefore, by changing the content of the image processing according to the elapsed time, it is possible to realize an imaging apparatus that can obtain image quality that suits the user's preference.
[0104]
In addition, the program of the present invention causes a computer to execute the above-described image processing method as described above.
[0105]
Therefore, the image processing method can be general purpose.
[0106]
Furthermore, the recording medium of the present invention stores the above-mentioned program so that the computer can read it.
[0107]
Therefore, the image processing method can be easily read by a computer.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an electrical configuration of a color correction unit in an image processing apparatus according to an embodiment of the present invention.
FIG. 2 is a perspective view showing a configuration of a digital camera having a printer function in which the image processing apparatus shown in FIG. 1 is installed.
3 is a block diagram showing a detailed configuration of an image processing apparatus according to an embodiment of the present invention in the digital camera shown in FIG.
FIG. 4 is a flowchart for explaining a color correction operation in detail.
FIG. 5 is a graph showing a change of a weighting coefficient of color correction processing with respect to elapsed time.
FIG. 6 is a block diagram showing an electrical configuration of an image processing apparatus according to another embodiment of the present invention.
[Explanation of symbols]
1: 1a, 1b color correction unit
2,42 Digital camera
3 Imaging lens
4 Strobe
5 Shooting button
6 Mode setting button
7 Memory card slot
8 Print start button
9 Recording paper insertion / ejection slot
11, 41 Image processing apparatus
12 Color image input device
13 Color image output device
14 Color image display device
15; 15a, 15b Control unit
16; 16a, 16b Operation panel
21 A / D converter
22 Input correction unit
23 Memory unit
24 Black generation / under color removal part
25 Spatial filter processing section
26 Output tone correction unit
27 gradation reproduction processing section
31 Accurate color conversion processing unit (first color correction processing means)
32 Preferred color conversion processing section (second color correction processing means)
33 Signal processor
34 Weighting factor calculator
41a, 41b Image processing unit
43 Printer

Claims (9)

撮像手段によって撮像された画像データに対して色補正処理を施す色補正工程と、前記色補正工程によって得られた出力画像データを画像出力手段に出力する画像出力工程とを含む画像処理方法であって、
前記画像データまたは前記撮像手段に記録されている前記画像データの撮像時刻に関する情報に基づいて前記撮像手段によって前記画像データが撮像された時点から前記画像出力手段に出力画像データを出力するまでの経過時間を検出する時間検出工程を備え、
前記色補正工程は、
被写体の色を忠実に再現するための第1の色補正処理を、予め定められた変換行列またはルックアップテーブルに基づいて前記画像データに施し、第1の出力信号を生成する第1の色補正工程と、
前記第1の色補正処理を行うよりも人間が記憶している色に近い色または人間に鮮やかさを感じさせる色を再現するための第2の色補正処理を、予め定められた変換行列またはルックアップテーブルに基づいて前記画像データに施し、第2の出力信号を生成する第2の色補正工程と、
前記第1の出力信号に対する重み付け係数(1−k)(kは0以上1以下の数)および前記第2の出力信号に対する重み付け係数kを、前記経過時間が長くなるほど前記kの値が大きくなるように算出する重み付け係数算出工程と、
前記第1の出力信号と前記重み付け係数(1−k)との積と、前記第2の出力信号と前記重み付け係数kとの積との和を前記出力画像データとして算出する信号処理工程とを含むことを特徴とする画像処理方法。
An image processing method comprising: a color correction step of performing color correction processing on image data picked up by an image pickup means; and an image output step of outputting output image data obtained by the color correction step to an image output means. And
Progress from the time when the image data is imaged by the imaging means to the time when output image data is output to the image output means based on the image data or information related to the imaging time of the image data recorded in the imaging means It has a time detection process to detect time,
The color correction step includes
A first color correction process for generating a first output signal by applying a first color correction process for faithfully reproducing the color of the subject to the image data based on a predetermined conversion matrix or lookup table Process,
A second color correction process for reproducing a color closer to a color stored by humans or a color that makes humans feel more vivid than performing the first color correction process is performed using a predetermined conversion matrix or A second color correction step for applying the image data based on a look-up table to generate a second output signal;
The weighting coefficient (1-k) (k is a number between 0 and 1) for the first output signal and the weighting coefficient k for the second output signal are increased as the elapsed time increases . A weighting coefficient calculation step to calculate as follows:
A signal processing step of calculating a sum of a product of the first output signal and the weighting coefficient (1-k) and a product of the second output signal and the weighting coefficient k as the output image data. An image processing method comprising:
前記経過時間の増加に対する前記重み付け係数kの変化の特性をユーザが任意に設定する設定工程を含み、
前記重み付け係数算出工程において前記ユーザの設定結果に基づいて前記重み付け係数(1−k)およびkを算出することを特徴とする請求項1に記載の画像処理方法。
A setting step in which a user arbitrarily sets a characteristic of a change in the weighting coefficient k with respect to an increase in the elapsed time,
The image processing method according to claim 1, wherein the weighting coefficient (1-k) and k are calculated based on a setting result of the user in the weighting coefficient calculating step.
撮像手段によって撮像された画像データに対して色補正処理を施す色補正部を備え、前記色補正処理によって得られた出力画像データを画像出力手段に出力する画像処理装置であって、
前記画像データまたは前記撮像手段に記録されている前記画像データの撮像時刻に関する情報に基づいて前記撮像手段によって前記画像データが撮像された時点から前記画像出力手段に出力画像データを出力するまでの経過時間を検出する時間検出部を備え、
前記色補正部は、
被写体の色を忠実に再現するための第1の色補正処理を、予め定められた変換行列またはルックアップテーブルに基づいて前記画像データに施し、第1の出力信号を生成する第1の色補正部と、
前記第1の色補正処理を行うよりも人間が記憶している色に近い色または人間に鮮やかさを感じさせる色を再現するための第2の色補正処理を、予め定められた変換行列またはルックアップテーブルに基づいて前記画像データに施し、第2の出力信号を生成する第2の色補正部と、
前記第1の出力信号に対する重み付け係数(1−k)(kは0以上1以下の数)および前記第2の出力信号に対する重み付け係数kを前記経過時間が長くなるほど前記kの値が大きくなるように算出する重み付け係数算出部と、
前記第1の出力信号と前記重み付け係数(1−k)との積と、前記第2の出力信号と前記重み付け係数kとの積との和を前記出力画像データとして算出する信号処理部とを備えていることを特徴とする画像処理装置。
An image processing apparatus that includes a color correction unit that performs color correction processing on image data captured by an imaging unit, and that outputs output image data obtained by the color correction processing to an image output unit,
Progress from the time when the image data is imaged by the imaging means to the time when output image data is output to the image output means based on the image data or information related to the imaging time of the image data recorded in the imaging means It has a time detector that detects time,
The color correction unit
A first color correction process for generating a first output signal by applying a first color correction process for faithfully reproducing the color of the subject to the image data based on a predetermined conversion matrix or lookup table And
A second color correction process for reproducing a color closer to a color stored by humans or a color that makes humans feel more vivid than performing the first color correction process is performed using a predetermined conversion matrix or A second color correction unit that applies the image data based on a lookup table to generate a second output signal;
The weighting coefficient (1-k) (k is a number between 0 and 1) for the first output signal and the weighting coefficient k for the second output signal are such that the value of k increases as the elapsed time increases. A weighting coefficient calculator for calculating
A signal processing unit that calculates a sum of a product of the first output signal and the weighting coefficient (1-k) and a product of the second output signal and the weighting coefficient k as the output image data; An image processing apparatus comprising:
ユーザの入力指示を受け付ける操作入力手段を備え、
前記経過時間の増加に対する前記重み付け係数kの変化の特性をユーザが任意に設定可能であることを特徴とする請求項3に記載の画像処理装置。
Comprising an operation input means for receiving a user input instruction;
The image processing apparatus according to claim 3, wherein a user can arbitrarily set a change characteristic of the weighting coefficient k with respect to an increase in the elapsed time.
前記第2の色補正処理は、肌色の彩度を低下させ、肌色以外の色の彩度と明度とを上昇させる処理であることを特徴とする請求項3または4に記載の画像処理装置。  5. The image processing apparatus according to claim 3, wherein the second color correction process is a process of reducing the saturation of a skin color and increasing the saturation and brightness of a color other than the skin color. 前記請求項3〜5の何れか1項に記載の画像処理装置を備えていることを特徴とする画像形成装置。  An image forming apparatus comprising the image processing apparatus according to claim 3. 前記請求項3〜5の何れか1項に記載の画像処理装置を備えていることを特徴とする撮像装置。  An image pickup apparatus comprising the image processing apparatus according to claim 3. 前記請求項1または2に記載の画像処理方法をコンピュータに実行させるためのプログラム。  A program for causing a computer to execute the image processing method according to claim 1 or 2. 前記請求項8に記載のプログラムをコンピュータ読取り可能に格納した記録媒体。  A recording medium storing the program according to claim 8 in a computer-readable manner.
JP2002171822A 2002-06-12 2002-06-12 Image processing method, image processing apparatus, image forming apparatus, imaging apparatus, program, and recording medium Expired - Lifetime JP4094346B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002171822A JP4094346B2 (en) 2002-06-12 2002-06-12 Image processing method, image processing apparatus, image forming apparatus, imaging apparatus, program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002171822A JP4094346B2 (en) 2002-06-12 2002-06-12 Image processing method, image processing apparatus, image forming apparatus, imaging apparatus, program, and recording medium

Publications (2)

Publication Number Publication Date
JP2004023177A JP2004023177A (en) 2004-01-22
JP4094346B2 true JP4094346B2 (en) 2008-06-04

Family

ID=31171579

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002171822A Expired - Lifetime JP4094346B2 (en) 2002-06-12 2002-06-12 Image processing method, image processing apparatus, image forming apparatus, imaging apparatus, program, and recording medium

Country Status (1)

Country Link
JP (1) JP4094346B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7945866B2 (en) * 2005-05-25 2011-05-17 Sony Ericsson Mobile Communications Ab Methods, systems and computer program products for displaying video content with aging
JP2007189279A (en) * 2006-01-11 2007-07-26 Fuji Xerox Co Ltd Image processing apparatus, image processing program, and image processing method
JP4716026B2 (en) 2006-05-24 2011-07-06 セイコーエプソン株式会社 Projection apparatus, image display system, program, information storage medium, and projection method
KR100834765B1 (en) 2006-12-07 2008-06-05 삼성전자주식회사 Apparatus and method for reproducing preferred color
KR100843095B1 (en) 2006-12-13 2008-07-03 삼성전자주식회사 Apparatus and method for reproducing a preferred color
JP5397632B2 (en) * 2010-06-23 2014-01-22 セイコーエプソン株式会社 Projection apparatus, image display system, program, information storage medium, and projection method
CN103380402B (en) 2011-02-28 2016-08-10 惠普发展公司,有限责任合伙企业 The method of print job, continuous color calibration method, print system and include the electrofax digital printer of this print system
CN104811601B (en) * 2014-01-24 2018-01-26 青岛海信移动通信技术股份有限公司 A kind of method and apparatus for showing preview image
CN110782135B (en) * 2019-10-08 2023-07-25 广东来个碗网络科技有限公司 Tableware circulation control method and device

Also Published As

Publication number Publication date
JP2004023177A (en) 2004-01-22

Similar Documents

Publication Publication Date Title
JP4040625B2 (en) Image processing apparatus, printer apparatus, photographing apparatus, and television receiver
US8265411B2 (en) Image recording apparatus, image recording method, image processing apparatus, image processing method and image processing system
US20050243347A1 (en) Conversion of color image to monochrome image
JP4281311B2 (en) Image processing using subject information
EP1432237B1 (en) Image processing device, electronic camera, and image processing program
US20020140693A1 (en) Output image adjustment method, apparatus and computer program product for graphics files
US7697781B2 (en) Image processing method and apparatus
US20070133017A1 (en) Image processing apparatus, photographing apparatus, image processing system, image processing method and program
JP2005210526A (en) Image processing apparatus, method, and program, image pickup device, and image data outputting method and program
JP2009055465A (en) Image processing device and method
JPWO2004030373A1 (en) Output image adjustment of image data
JP2007215216A (en) Monotonization processing of color image
JP4094346B2 (en) Image processing method, image processing apparatus, image forming apparatus, imaging apparatus, program, and recording medium
JP2005210495A (en) Image processing apparatus, method, and program
JP4079814B2 (en) Image processing method, image processing apparatus, image forming apparatus, imaging apparatus, and computer program
US8687091B2 (en) Image capturing systems and methods utilizing customizable look management
JP4001079B2 (en) Monotone processing of color image
US7034959B1 (en) Method, apparatus and recording medium for image processing
JP2004088345A (en) Image forming method, image processor, print preparation device, and storage medium
JPWO2004008755A1 (en) Output image adjustment of image data
JP4581999B2 (en) Image processing apparatus and image processing method
JP2009141975A (en) Image processing using object information
JP4178788B2 (en) Color chart, image data generation device, profile creation method using color chart, and recording medium recording profile creation program
JP4006590B2 (en) Image processing apparatus, scene determination apparatus, image processing method, scene determination method, and program
JP2007312313A (en) Image processor, image processing method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070619

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070803

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20070803

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071218

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080207

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080305

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

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120314

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120314

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130314

Year of fee payment: 5