JP4154051B2 - Color processing apparatus and method - Google Patents
Color processing apparatus and method Download PDFInfo
- Publication number
- JP4154051B2 JP4154051B2 JP36352698A JP36352698A JP4154051B2 JP 4154051 B2 JP4154051 B2 JP 4154051B2 JP 36352698 A JP36352698 A JP 36352698A JP 36352698 A JP36352698 A JP 36352698A JP 4154051 B2 JP4154051 B2 JP 4154051B2
- Authority
- JP
- Japan
- Prior art keywords
- color
- saturation
- input
- signal
- gamut
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Description
【0001】
【産業上の利用分野】
本発明は、ガマット圧縮を行う色処理に関する。
【0002】
【従来の技術】
カラーモニタとカラープリンタとを有するコンピュータシステムやビデオプリンタにおいて、モニタ上で作成および/または加工したカラー画像、あるいは、受像機により受信されたカラー画像をプリント出力する場合がある。
【0003】
蛍光体を用いて特定波長の光を発光することによりカラー画像を表現するカラーモニタと、インクなどを用いて特定波長の光を吸収し、残る反射光によってカラー画像を表現するカラープリンタとでは、色再現域が大きく異なることは周知のとおりである。さらに、カラーモニタにおいても、液晶使用するもの、電子銃方式のブラウン管を使用するもの、プラズマ方式を使用するものなど、それぞれ色再現域が異なる。同様に、カラープリンタにおいても、紙質などの違いや、インクの使用量の相違などで色再現域が異なる。
【0004】
このため、カラーモニタ上に表示される画像と、カラープリンタにより出力される画像、あるいは、複数種類のプリンタおよび複数種類の記録紙を用いて出力されるカラー画像においては、それらの色を測色的な意味において完全に一致させることは不可能である。従って、各出力媒体に表示(形成)されるカラー画像を人間が知覚する際、各画像間の色味に大きな差異が感じられる。
【0005】
このような色再現域の異なる出力媒体間において、表示(形成)されるカラー画像の知覚上の色味の違いを吸収し、色味の知覚的一致を図るための画像処理技術として、ガマット(gamut)圧縮あるいはカラーマッチングが存在する。
【0006】
【発明が解決しようとしている課題】
ある画像処理技術によれば、すべての色について、カラーモニタで用いる色信号とカラープリンタで用いる色信号との差分二乗の和すなわち差分二乗和をとって、この差分二乗和が最小になるようなガマット圧縮が行われる。しかしながら、この技術は、両デバイスの色再現域内においては良好な結果を得るものの、範囲外の色信号に対しては階調の喪失などの発生により画像情報が著しく損なわれる。このため、両デバイスの色再現域外の色信号を有する画像においては、それらデバイスにより表示または形成される画像の色は著しく異なって観察される。
【0007】
また、前記の階調性の問題を考慮して、階調性をできるだけ失わない、という条件の下で様々なガマット圧縮技術が開発されている。しかしながら、これらの技術においては、ある色を表現する際のカラーモニタの色信号とカラープリンタの色信号との差分信号の振幅が、すべての色において大きくなるため、やはり、それらデバイスにより表示または形成される画像の色は著しく異なって観察される。
【0008】
このように、上記の二つの問題を同時に解決することが可能なガマット圧縮技術が必要とされている。
【0009】
本発明は、異なるデバイスおよび/または異なる記録媒体に形成および/または表示される色が近似した色として知覚されるように色信号を変換する、高精度な色再現を実現することを目的とする。
【0010】
【課題を解決するための手段】
本発明は、前記の目的を達成する一手段として、以下の構成を備える。
【0011】
本発明にかかる色処理装置は、第一のデバイスの第一の色再現域内の色信号を、前記第一の色再現域とは異なる、第二のデバイスの第二の色再現域内の色信号へ変換する色処理装置であって、前記色信号の明度成分を、n-1(nは区分的関数の節点数)セグメントからなる区分的関数で示されるスプライン関数を用いて、前記第二の色再現域の明度範囲内に明度圧縮する手段と、前記色信号の彩度成分を前記第二の色再現域の彩度範囲内に彩度圧縮する手段と、前記明度圧縮に使用するスプライン関数を制御して、前記明度成分の圧縮率を制御する明度圧縮制御手段とを有し、前記明度圧縮制御手段は、前記第一の色再現域の白色の入力に対して前記第二の色再現域の白色を出力し、前記第一の色再現域の黒色の入力に対して前記第二の色再現域の黒色を出力するように、前記スプライン関数を設定し、前記第一および第二の色再現域の最高明度の差が大きくなるに従い、前記第一の色再現域の最高明度における前記スプライン関数の一次微分の値βを小さくし、前記第一および第二の色再現域の最低明度の差が大きくなるに従い、前記第一の色再現域の最低明度における前記スプライン関数の一次微分の値αを小さくすることを特徴とする。
【0017】
本発明にかかる色処理方法は、第一のデバイスの第一の色再現域内の色信号を、前記第一の色再現域とは異なる、第二のデバイスの第二の色再現域内の色信号へ変換する色処理方法であって、前記色信号の明度成分を、n-1(nは区分的関数の節点数)セグメントからなる区分的関数で示されるスプライン関数を用いて、前記第二の色再現域の明度範囲内に明度圧縮するステップと、前記色信号の彩度成分を前記第二の色再現域の彩度範囲内に彩度圧縮するステップと、前記明度圧縮に使用するスプライン関数を制御して、前記明度成分の圧縮率を制御する明度圧縮制御ステップとを有し、前記明度圧縮制御ステップは、前記第一の色再現域の白色の入力に対して前記第二の色再現域の白色を出力し、前記第一の色再現域の黒色の入力に対して前記第二の色再現域の黒色を出力するように、前記スプライン関数を設定し、前記第一および第二の色再現域の最高明度の差が大きくなるに従い、前記第一の色再現域の最高明度における前記スプライン関数の一次微分の値βを小さくし、前記第一および第二の色再現域の最低明度の差が大きくなるに従い、前記第一の色再現域の最低明度における前記スプライン関数の一次微分の値αを小さくすることを特徴とする。
【0023】
【発明の実施の形態】
以下、本発明にかかる一実施形態の信号処理装置を図面を参照して詳細に説明する。
【0024】
【第1実施形態】
[システム構成]
図1は本発明にかかる第1実施形態の色信号変換装置のシステム構成例を示すブロック図である。
【0025】
図1において、201はCPU、202はRAMなどからなるメインメモリ、203はSCSI(Small Computer Standard Interface)インタフェイス(I/F)、204はネットワークインタフェイス、205はハードディスクドライバ(HDD)、206はグラフィックアクセラレータ、207はカラーモニタ、208は色信号変換器、209はカラープリンタ、210はキーボード/マウスコントローラ、211はキーボード、212はマウスなどのポインティングデバイス、213はローカルエリアネットワーク(LAN)、および、214は例えばPCI(Peripheral Component Interconnect)バスである。なお、CPU201は、ROM215および/またはHDD205に予め格納されたプログラムおよびデータに従い、後述する各種処理を実行する。
【0026】
上記構成において、HDD205に格納されている画像データは、CPU201の指令によりSCSI I/F203およびPCIバス214を介してメインメモリ202に転送される。また、LAN213に接続されたサーバに格納されている画像データ、あるいは、インターネット上の画像データも、CPU201の指令によりネットワークI/F204およびPCIバス214を介してメインメモリ202に転送される。メインメモリ202に保持された画像データは、CPU201の指令によりPCIバス214を経てグラフィックアクセラレータ206に転送される。グラフィックアクセラレータ206は、画像データを必要ならばディジタル-アナログ(D/A)変換した後、ディスプレイケーブルを通してカラーモニタ207に送信する。従って、カラーモニタ207には画像データに対応する画像が表示される。
【0027】
ここで、キーボード211やマウス212によりユーザから、メインメモリ202に保持されている画像をカラープリンタ209で印刷する指示(プリント命令)を受けると、CPU201は然るべきカラーモニタの色再現域情報、および、然るべきカラープリンタの色再現域情報をHDD205からメインメモリ202へ転送させ、その後、前記二つの色再現域情報を色信号変換装置208へ転送する。次に、CPU201からの指令によりメインメモリ202に保持されている画像データがPCIバス214を経て色信号変換器208に転送される。色信号変換器208は、入力される画像データに対して色信号変換を行った後、変換結果の画像データをカラープリンタ209へ送信し、カラープリンタ209により画像データに対応する画像が記録紙上に印刷される。
【0028】
ユーザは、プリント命令を発行する際または予め、印刷に使用するプリンタ機種および記録紙の種類、並びに、モニタ機種を選択する。この選択情報を基に、CPU201は、HDD205に保持されている複数の色再現域情報から何れを選択すべきかを判断する。
【0029】
[色信号変換器]
図2は色信号変換器208の構成例を示すブロック図である。なお、本実施形態では、Lab色空間上でガマット圧縮を行う例を説明する。
【0030】
色信号変換器208は、モニタの色再現域(モニタガマット)上のLab信号を、プリンタの色再現域(プリンタガマット)上のLab信号へ変換する。色信号変換器208へは、端子109を介して、メインメモリ202に保持されていた画像データのLab信号、すなわち変換元であるモニタガマット上の色信号が入力される。そして、プリンタへの出力画像、すなわち所望されるプリンタガマット上の色信号は端子110から出力される。
【0031】
また、端子111からはプリンタの色再現域情報(プリンタ色域情報)が、端子112からはモニタの色再現域情報(モニタ色域情報)がそれぞれ入力され、モニタ色域情報は記憶部107へ、プリンタ色域情報は記憶部108へそれぞれ記憶される。
【0032】
102は色信号分離部で、入力されるLab信号を明度成分Lと色度成分abとに分離し、明度成分であるL信号を明度圧縮部103へ、色度成分であるab信号を彩度圧縮部104へそれぞれ出力する。明度圧縮部103は、モニタ色域情報とプリンタ色域情報とから抽出される明度レンジ情報と、所定の圧縮関係とから定められる入出力関係に従い、入力されるL信号に対して明度圧縮を行い、圧縮結果のL信号を色信号合成部105へ出力する。彩度圧縮部104は、モニタ色域情報とプリンタ色域情報とから抽出される彩度レンジ情報と、所定の圧縮関係とから定められる入出力関係に従い、入力されるab信号に対して彩度圧縮を行い、圧縮結果のab信号を色信号合成部105に出力する。
【0033】
色信号合成部105は、入力されるL信号およびab信号を合成し、Lab信号として色域検査部106へ出力する。色域検査部106は、入力されるLab信号がプリンタ色域内であるかプリンタ色域外であるかを判断し、プリンタ色域内である場合には入力されたLab信号を出力し、プリンタ色域外である場合には色差最小になるプリンタ色域内のLab信号を出力する。
【0034】
上記の構成において、色信号変換器208は次のように動作する。動作に先立ち、CPU201からの指令によりカラーモニタの色再現域情報およびプリンタの色再現域情報が送信され、それぞれ記憶部107および108にモニタ色域情報およびプリンタ色域情報として記憶される。この後、色情報をLab信号により記述した画像データがPCIバス214を経由して色信号変換器208へラスタスキャン順に送信される。ここで、色信号変換器208は、画像データにおける各画素のLab信号に対してガマット圧縮による色信号変換を行い、カラープリンタ209へ順次送信する。
【0035】
つまり、この色信号変換動作において、入力されたLab信号は、まず、色信号分離部102によりL信号とab信号に分離された後、色信号変換器101を構成する各回路においてガマット圧縮処理が施される。
【0036】
●明度圧縮部
明度圧縮部103は、入出力関係を定義する関数f(・)によって制御される。すなわち、明度圧縮部103に入力されるL信号であるLinと、出力されるL信号であるLoutとの間にはLout=f(Lin)なる関係がなり立つ。f(・)はn-1セグメントからなる区分的関数を用いて定義され、下記の条件がなり立つよう制御される。因みに、nは区分的関数の節点数である。
f(・)の台は[Lmin_monitor, Lmax_monitor]
台においてf(・)はすべての点で連続
f(Lmin_monitor) = Lmin_printer
f(Lmax_monitor) = Lmax_printer
f'(Lmin_monitor) =α, α: 0≦α
f'(Lmax_monitor) =β, β: 0≦β
f(mi) = mi, i: 0≦i≦n-2, mi: Lmin_printer < mi < Lmax_printer
f'(mi) = 1, i: 0≦i≦n-2, mi: Lmin_printer < mi < Lmax_printer
f'(x)≠0, x: Lmin_monitor < x < Lmax_monitor
ここで、Lmin_monitor: モニタの黒色のL値
Lmax_monitor: モニタの白色のL値
Lmin_printer: プリンタの黒色のL値
Lmax_printer: プリンタの白色のL値
α: 明度圧縮の最暗点付近における圧縮率を制御する値
β: 明度圧縮の最明点付近における圧縮率を制御する値
mi: 任意の値
【0037】
圧縮率を制御する値αは、Lmin_monitorとLmin_printerの差が大きくなるに従って小さくする。すなわち、最も暗い点である最暗点付近における圧縮率を大きくする。他方、圧縮率を制御する値βは、Lmax_monitorとLmax_printerの差が大きくなるに従って小さくする。すなわち、最も明るい点である最明点付近における圧縮率を大きくする。本実施形態では、f(・)を例えば5ノット(knot)4セグメントのC2連続な三次スプライン関数として実現している。また、例えばm1=40、m2=50およびm3=70とする。
【0038】
ここで、本実施形態を用いたあるプリンタ出力において、Lmin_monitor=0、Lmax_monitor=100、Lmin_printer=20およびLmax_printer=90である場合の明度の入出力関係を図3に示す。
【0039】
●彩度圧縮部
図4は彩度圧縮部104の構成例を示すブロック図である。端子125からab信号が入力され、端子126から彩度が圧縮されたab信号が出力される。また、端子127からはモニタ色域情報が、端子128からはプリンタ色域情報が入力される。
【0040】
座標信号変換部121は、直交座標系により色度が表現されたab信号を、極座標系により色度を表現するhc信号に変換する。ここで、h信号は極座標系における角度、すなわち色相を表し、c信号は極座標系における原点からの距離、すなわち彩度を表す。色信号分離部122は、入力されるhc信号を色相成分hと彩度成分cとに分離し、色相成分であるh信号を座標信号変換部124および彩度計算部123へ、彩度成分であるc信号を彩度計算部123へ出力する。
【0041】
彩度計算部123は、モニタ色域情報およびプリンタ色域情報から抽出された、h信号から定められる色相における彩度レンジ情報と、所定の圧縮関係とから定められる入出力関係に従い、入力されるc信号から出力すべき彩度を計算する。計算結果のc信号は座標信号変換部124へ出力される。座標信号変換部124はhc信号をab信号に変換し出力する。
【0042】
彩度計算部123は、入出力関係を定義する関数g(・)によって制御される。すなわち、彩度計算部123に入力されるc信号cinと出力されるc信号coutとの間にはcout=g(cin)なる関係がなり立つ。g(・)は三次関数を用いて定義され、下記の条件がなり立つよう制御される。
g(・)の台は[0, Cmax_monitor]
g(0) = 0
g(Cmax_monitor) = Cmax_printer
g'(0) = 1
g'(Cmax_monitor) =γ, γ: γ > 0
g'(x)≠0, x: 0≦x≦Cmax_monitor
【0043】
上式において、Cmax_monitorは、h信号とモニタ色域情報から計算され、h信号から定められる色相においてモニタ色域の最大彩度値と定義される。また、Cmax_printerは、h信号とモプリンタ色域情報から計算され、h信号から定められる色相においてプリンタ色域の最大彩度値と定義される。また、γは最大彩度付近における彩度圧縮の圧縮率を制御する値で、上記条件を満たすという制限の下、Cmax_monitorとCmax_monitorの関係により、彩度計算部123が自動的に定める。γパラメータ自動設定に当っては、Cmax_monitorとCmax_printerとの比Cmax_monitor/Cmax_printerが大きくなるにつれ、γの値を小さくする。すなわち、圧縮率を大きくする。
【0044】
図5は本実施形態を用いたあるプリンタ出力における、彩度の入出力関係を示す図である。なお、Cmax_monitor=60.51およびCmax_printer=40.17である。
【0045】
本実施形態によれば、ある機種のカラーモニタと、ある機種のカラープリンタとにおいて、普通紙あるいは専用記録紙などの複数種類の紙質についてガマット圧縮を行った場合のそれぞれの明度圧縮入出力特性を重ね合わせると、図6に示すようになる。すなわち、紙質によらず中程度の明度は保存される。一方、最明点付近あるいは最暗点付近においては、色再現可能な明度レンジに応じて圧縮率が大きく変化する。
【0046】
本実施形態によれば、色の連続性を保ち、かつ、プリンタの色域外の階調を再現することができる。さらに、人間が敏感であり、自然画像(写真画像)に含まれる頻度が高い色域である中明度領域(図3参照)および低彩度領域(図5参照)を高精度に再現することができる。従って、プリンタ色域外に色が含まれる入力画像をプリンタで良好に再現することが可能になる。
【0047】
また、中明度領域および低彩度領域を高精度に再現できるので、図6に示されるように、色再現特性(色域)が異なる各種の記録紙(記録媒体)において、中明度および低彩度領域に対する色再現性を整合させることができ、各記録紙の色味を合せることが可能になる。
【0048】
【第2実施形態】
以下、本発明にかかる第2実施形態の信号処理装置を説明する。なお、本実施形態において、第1実施形態と略同様の構成については、同一符号を付して、その詳細説明を省略する。
【0049】
本実施形態は、第1実施形態における彩度圧縮部104の動作を変更したものである。彩度圧縮部104の彩度計算部123は、入出力関係を定義する関数g(・)によって制御される。すなわち、彩度計算部123に入力されるc信号cinと出力されるc信号coutとの間にはcout=g(cin)なる関係がなり立つ。g(・)はn-1セグメントからなる区分的関数を用いて定義され、下記の条件がなり立つよう制御される。因みに、nは区分的関数の節点数である。
g(・)の台は[0, Cmax_monitor]
g(0) = 0
g(Cmax_monitor) = Cmax_printer
g'(0) = 1
g'(Cmax_monitor) =γ, γ: γ > 0
g(mi) = mi, i: 0≦i≦n-2, mi: 0 < mi < Cmax_monitor
g'(mi) = 1, i: 0≦i≦n-2, mi: 0 < mi < Cmax_monitor
g'(x)≠0, x: 0≦x≦Cmax_monitor
【0050】
ここで、Cmax_monitorは、h信号とモニタ色域情報とから計算され、h信号から定められる色相においてモニタ色域の最大彩度値と定義される。また、Cmax_printerは、h信号とプリンタ色域情報とから計算され、h信号から定められる色相においてプリンタ色域の最大彩度値と定義される。また、γは最大彩度付近における彩度圧縮の圧縮率を制御する値で、上記条件を満たすという制限の下、Cmax_printerとCmax_monitorの関係により彩度計算部123が自動的に定める。γパラメータ自動設定に当っては、Cmax_monitorとCmax_printerとの比Cmax_monitor/Cmax_printerが大きくなるにつれ、γの値を小さくする。すなわち、圧縮率を大きくする。
【0051】
本実施形態では、g(・)を例えば2セグメントのC2連続な三次スプライン関数として実現する。また、例えばm1=1/2×Cmax_monitorとする。
【0052】
図7は本実施形態を用いたあるプリンタ出力における、彩度の入出力関係を示す図である。なお、Cmax_monitor=60.51およびCmax_printer=40.17である。
【0053】
【第3実施形態】
以下、本発明にかかる第3実施形態の信号処理装置を説明する。なお、本実施形態において、第1実施形態と略同様の構成については、同一符号を付して、その詳細説明を省略する。
【0054】
図8は本発明にかかる第3実施形態の色信号変換器208の構成例を示すブロック図である。
【0055】
モニタの色再現域(モニタガマット)上のLab信号を、プリンタの色再現域(プリンタガマット)上のLab信号へ変換する色信号変換器208へは、端子109を介して、メインメモリ202に保持されていた画像データのLab信号、すなわち変換元であるモニタガマット上の色信号が入力される。そして、プリンタへの出力画像、すなわち所望されるプリンタガマット上の色信号は端子110から出力される。
【0056】
また、端子111からはプリンタの色再現域情報(プリンタ色域情報)が、端子112からはモニタの色再現域情報(モニタ色域情報)がそれぞれ入力され、モニタ色域情報は記憶部107へ、プリンタ色域情報は記憶部108へそれぞれ記憶される。また、記憶部312はモニタ色域に対して明度および彩度の圧縮が行われた結果の情報を記憶する。
【0057】
マルチプレクサ(MUX)302は、端子313を介して入力されるCPU201からの選択信号に基づき、記憶部107または端子109から入力される信号を選択し、色信号分離部102へ出力する。色信号分離部102、明度圧縮部103、彩度圧縮部104および色信号合成部105による処理は、第1実施形態において図2を用いて説明した処理と同じであるから、その説明を省略する。
【0058】
色信号合成部105から出力されるLab信号は、デマルチプレクサ(DMUX)307へ入力され、CPU201からの選択信号に従い記憶部312もしくは明度調整部308へ出力される。明度調整部308は、入力されるLab信号、プリンタ色域情報および記憶部312に記憶された色域圧縮情報から定められる入出力関係に従いL信号の変換を行い、その変換結果であるLab信号を上述した色域検査部106へ出力する。
【0059】
上記の構成において、色信号変換器208は次のように動作する。動作に先立ち、CPU201からの指令によりカラーモニタの色再現域情報およびプリンタの色再現域情報が送信され、それぞれ記憶部107および108にモニタ色域情報およびプリンタ色域情報として記憶される。次に、色信号変換器208は、明度および彩度圧縮を施したモニタ色域情報である色域圧縮情報を作成して記憶部312へ格納する。この処理において、MUX302は記憶部107から入力される信号を選択し、DMUX307は記憶部312への出力を選択する。
【0060】
上記処理が完了すると、色信号変換器208は、入力されるモニタガマット上のLab信号にガマット圧縮を施す色信号変換処理を行う。この処理において、MUX302は端子109から入力される信号を選択し、DMUX307は明度調整部308への出力を選択する。
【0061】
以上の動作が完了すると、色情報をLab信号により記述した画像データがPCIバスを経由して色信号変換装置301にラスタスキャン方式にて送信される。ここで、色信号変換装置301は画像データにおける各画素のLab信号に対して、ガマット圧縮によるところの色信号変換を行い、プリンタへ逐次送信する。従って、色情報をLab信号により記述した画像データがPCIバス214を経由して色信号変換器208へラスタスキャン順に送信され、色信号変換器208は、画像データにおける各画素のLab信号に対してガマット圧縮による色信号変換を行い、カラープリンタ209へ順次送信する。
【0062】
●明度調整部
明度調整部308は、入力されるLab信号からab情報を抽出し、抽出されたab情報およびプリンタ色域情報から、プリンタ色域内において、抽出されたab情報と同じ値を有する明度最大値Lmax_printer_abおよび明度最小値Lmin_printer_abを抽出する。続いて、抽出されたab情報および色域圧縮情報から、明度および彩度圧縮が施されたモニタ色域(以下「圧縮色域」と呼ぶ場合がある)内において、抽出されたab情報と同じ値を有する明度最大値Lmax_compressed_abおよび明度最小値Lmin_compressed_abを抽出する。これらの抽出された情報と、入力されたLab信号のL情報Linとから、次の手順により明度情報Loutが算出される。
【0063】
Lmax_printer_ab、Lmin_printer_ab、Lmax_compressed_abおよびLmin_compressed_abの何れかが抽出されなかった場合は、Lout=Linとする。
【0064】
上記に該当しない場合は下式を用いてLoutを算出する。
【0065】
明度調整部308は、得られた明度情報Loutおよび入力されるLab信号のab情報とから合成したLab信号を出力する。
【0066】
本実施形態によれば、第1実施形態よりもさらに高精度のガマット圧縮を行うことができる。つまり、実際のプリンタの色域は非常に複雑な形状をもつので、第1実施形態のCmax_printerに応じて設定される圧縮率に基づく変換では、入力画像データをプリンタの色域に完全に変換することはできない。これに対して、本実施形態によれば、入力画像に関する圧縮後のデータである色域圧縮情報に基づき、ガマット圧縮を行うので、より高精度のガマット圧縮が実現される。
【0067】
【第4実施形態】
以下、本発明にかかる第4実施形態の信号処理装置を説明する。なお、本実施形態において、第1および第3実施形態と略同様の構成については、同一符号を付して、その詳細説明を省略する。
【0068】
本実施形態は、第3実施形態における明度調整部308の動作を変更したものである。明度調整部308は、入力されるLab信号からab情報を抽出し、抽出されたab情報およびプリンタ色域情報から、プリンタ色域内において、抽出されたab情報と同じ値を有する明度最大値Lmax_printer_abおよび明度最小値Lmin_printer_abを抽出する。続いて、抽出されたab情報および色域圧縮情報から、圧縮色域内において、抽出されたab情報と同じ値を有する明度最大値Lmax_compressed_abおよび明度最小値Lmin_compressed_abを抽出する。これらの抽出された情報と、入力されたLab信号のL情報Linとから、次の手順により明度情報Loutが算出される。
【0069】
Lmax_printer_ab、Lmin_printer_ab、Lmax_compressed_abおよびLmin_compressed_abの何れかが抽出されなかった場合は、Lout=Linとする。
【0070】
上記に該当しない場合は入出力関係を定義する関数h(・)を用いてLoutを算出する。つまり、Lout=h(Lin)とする。h(・)はn-1セグメントからなる区分的関数を用いて定義され、下記の条件がなり立つよう制御される。因みに、nは区分的関数h(・)の節点数である。
【0071】
ここで、αおよびβ:は、台の端点における圧縮率を与えるパラメータで、上記条件を満たすという制限の下で自動的に計算される。また、miおよびniも上記条件を満たすという制限の下で自動的に計算される。自動計算アルゴリズムにより、できるだけmi=niなる関係を保持するように努めるが、階調性および上記条件を保つことを優先するため、前記関係(mi=ni)は必ずしも保証されない。しかしながら、入力と出力との差分絶対値|h(Lin) - Lin|が各点において、できるだけ小さくなるように努める。
【0072】
本実施形態では、h(・)を3セグメントのC1連続な三次スプライン関数として実現する。また、m1=1/3×Cmax_monitorおよびm2=2/3×Cmax_monitorとする。
【0073】
図9および図10は本実施形態を用いたあるプリンタ出力における、ある色度abにおける明度の入出力関係を示す図である。なお、図9におけるLmin_compressed_ab=40、Lmax_compressed_ab=68、Lmin_printer_ab=45およびLmax_printer_ab=64である。また、図10におけるLmin_compressed_ab=60、Lmax_compressed_ab=84、Lmin_printer_ab=46およびLmax_printer_ab=75である。
【0074】
本実施形態によれば、明度圧縮において非線形変換を用いるので、より中明度領域における再現性を向上することができる。とくに、シアンのようにモニタの色域とプリンタの色域とが相似関係をもたない領域における色再現性を向上させることができる。
【0075】
【第5実施形態】
以下、本発明にかかる第4実施形態の信号処理装置を説明する。なお、本実施形態において、第1、第3および第4実施形態と略同様の構成については、同一符号を付して、その詳細説明を省略する。
【0076】
本実施形態は、第4実施形態における彩度圧縮部104の構成を変更したものである。図11は本実施形態の色信号変換器208の構成例を示すブロック図で、図8に示す構成と異なるのは、彩度圧縮部104へab信号とともに、L信号が入力されることである。
【0077】
図12は本実施形態の彩度圧縮部104の構成例を示すブロック図である。図4に示した彩度圧縮部104と異なるのは、L信号が端子426を介して彩度計算部123へ入力されることである。
【0078】
彩度計算部123は、モニタ色域情報およびプリンタ色域情報から抽出された、h信号から定められる色相、並びに、入力されるL信号から定められる明度における彩度レンジ情報と、所定の圧縮関係とから定められる入出力関係に従い、入力されるc信号から出力すべき彩度を計算する。計算結果のc信号は座標信号変換部124へ出力される。座標信号変換部124はhc信号をab信号に変換し出力する。
【0079】
上記構成の彩度計算部123の動作を、図13に示すフローチャートを参照して説明する。
【0080】
ステップS1000で、彩度圧縮部104に入力される色相hおよびプリンタ色域情報から、色相hにおけるプリンタ色域の最大彩度Cmax_printerを求め、ステップS1001で、彩度圧縮部104に入力される色相hおよびモニタ色域情報から、色相hにおけるモニタ色域の最大彩度Cmax_monitorを求め、ステップS1002で、彩度Cmax_printerと彩度Cmax_monitorとの比Rmax=Cmax_printer/Cmax_monitorを求める。
【0081】
次に、ステップS1003で、彩度圧縮部104に入力される色相h、明度Lおよびプリンタ色域情報から、色相hかつ明度Lにおけるモニタ色域の最大彩度CL_monitorを求め、ステップS1004で、彩度圧縮部104に入力される彩度cと最大彩度CL_monitorとの比R=c/CL_monitorを求める。
【0082】
次に、ステップS1005で、彩度比の入出力関係を定義する関数g(・)を用いて彩度比Rnew=g(R/Rmax)を求め、ステップS1006で、彩度比Rnewと最大彩度CL_monitorとを乗じた結果を彩度計算部123の計算結果として出力する。ここで、彩度比の入出力関係を定義する関数g(・)は、本実施形態においては三次関数を用いて定義されるとともに、次のように制御される。
g(・)の台は[0, 1]
g(0) = 0
g(1) = Rmax
g'(0) = 1
g'(Rmax) = γ, γ: γ > 0
g'(x)≠0, x: 0≦x≦1
【0083】
ここで、γは、ある色相および明度における最大彩度付近において彩度圧縮の圧縮率を制御する値で、上記の条件を満たすという制限の下、Cmax_monitorおよびCmax_printerの関係に基づき、彩度計算部123が色相および明度の組合せごとに自動的に定める。γパラメータ自動設定に当っては、Cmax_monitor/Cmax_printerが大きくなるにつれ、γの値を小さくする。すなわち、圧縮率を大きくする。
【0084】
なお、本実施形態において、入出力関係を定義する関数g(・)は三次関数を用いて実現されるが、第2実施形態のように区分的関数を用いて実現しても、何ら本質を損なうことはない。
【0085】
本実施形態によれば、プリンタ色域外に対しては線形圧縮し、プリンタ色域内については高彩度領域の圧縮率を高くするように非線形圧縮することができる。つまり、モニタ色域の境界部に対しては線形に彩度圧縮することで、高彩度域の階調性をよりよく表現することができる。従って、DTPなどで多用される色の鮮やかなグラデーションなどにおいて再現性を向上させることができるとともに、人間が敏感である中明度領域および低彩度領域も高精度に再現できるため、自然(写真)画像なども併せて良好に再現することができる。
【0086】
【第6実施形態】
以下、本発明にかかる第6実施形態の信号処理装置を説明する。なお、本実施形態において、第1実施形態と略同様の構成については、同一符号を付して、その詳細説明を省略する。
【0087】
図14は本実施形態としての色信号変換器208の構成例を示すブロック図である。
【0088】
モニタの色再現域(モニタガマット)上のLab信号を、プリンタの色再現域(プリンタガマット)上のLab信号へ変換する色信号変換器208へは、端子109を介して、メインメモリ202に保持されていた画像データのLab信号、すなわち変換元であるモニタガマット上の色信号が入力される。そして、プリンタへの出力画像、すなわち所望されるプリンタガマット上の色信号は端子110から出力される。
【0089】
また、端子111からはプリンタの色再現域情報(プリンタ色域情報)が、端子112からはモニタの色再現域情報(モニタ色域情報)がそれぞれ入力され、モニタ色域情報は記憶部107へ、プリンタ色域情報は記憶部108へそれぞれ記憶される。
【0090】
色信号分離部102は、入力されるLab信号を明度成分および色度成分に分離し、明度成分であるL信号を明度圧縮部103および彩度圧縮部104へ出力し、色度成分であるab信号を彩度圧縮部104へ出力する。
【0091】
彩度圧縮部104は、モニタ色域情報およびプリンタ色域情報から抽出される彩度レンジ情報と、所定の圧縮関係とから定められる入出力関係に従い彩度圧縮を行い、その圧縮結果のab信号513を明度圧縮部103に出力する。また、彩度圧縮部104は、明度圧縮に必要な明度情報を、モニタ色域情報より取得して情報処理を行う。そして、抽出された彩度レンジ情報およびモニタ明度情報を信号512として明度圧縮部103に出力する。
【0092】
明度圧縮部103は、彩度圧縮部104により情報処理されたモニタ明度情報および抽出された彩度レンジ情報、並びに、所定の圧縮関係から定められる入出力関係に従い、L信号に対して明度圧縮を行い、その圧縮結果のL信号と、彩度圧縮部104から入力されるab信号513とを合成して、Lab信号として色域検査部106に出力する。
【0093】
●彩度圧縮部
図15は本実施形態の彩度圧縮部104の構成例を示すブロック図である。図12に示した彩度圧縮部104と異なるのは、明度情報計算部525を備えることである。明度情報計算部525は、彩度圧縮部104に入力されるL信号、ab信号およびモニタ色域情報から、色度abにおけるモニタ色域の最大明度と最小明度とを算出し、端子529より信号512として出力する。
【0094】
●明度圧縮部
上記構成における明度圧縮部103の動作について説明する。明度圧縮部103は、入力されるab信号およびプリンタ色域情報から、色度abにおけるプリンタ色域の最大明度情報Lmax_printer_abと最小明度情報Lmin_printer_abとを算出する。次に、明度圧縮部103に入力される最大明度情報をLmax_monitor_abとし、最小明度情報をLmin_monitor_abとして、これら四つの明度情報から明度圧縮計算に必要なパラメータを算出する。
【0095】
算出されたパラメータと、明度圧縮部103に入力される明度圧縮対象であるL信号Linと出力されるL信号Loutとの入出力関係を定義する関数f(・)によって、信号Loutを計算する。ここでf(・)はn-1セグメントからなる区分的関数を用いて定義され、下記の条件がなり立つように制限されている。因みに、nは区分的関数の節点数である。
【0096】
本実施形態では、f(・)を5セグメントのC2連続な三次スプライン関数として実現する。ここで、接点数n、接点における値miならびにni、台の端点における圧縮率αならびにβは、Lmin_monitor_ab、Lmax_monitor_ab、Lmin_printer_abおよびLLmax_printer_abの四つの明度情報から自動的に計算される。ここでパラメータ自動設定アルゴリズムにより、階調性と上記条件とを満たす範囲において、できるだけf(x)=xになるようなパラメータが設定される。αおよびβについての自動設定アルゴリズムは、概略、次のようなものである。
【0097】
αについて、Lmin_monitor_ab≦Lmin_printer_abである場合、Lmin_monitor_abとLmin_printer_abの差が大きくなるに従い、0≦α≦1という拘束条件の下においてαを小さくする。すなわち、最暗点付近における圧縮率を大きくする。
【0098】
一方、Lmin_monitor_ab>Lmin_printer_abである場合、Lmin_monitor_abとLmin_printer_abの差が大きくなるに従い、α>1という拘束条件の下においてαを大きくする。すなわち、最暗点付近における伸長率を大きくする。
【0099】
同様にβについて、Lmax_monitor_ab≧Lmax_printer_abである場合、Lmax_monitor_abとLmax_printer_abの差が大きくなるに従い、0≦β≦1という拘束条件の下においてβを小さくする。すなわち、最明点付近における圧縮率を大きくする。
【0100】
一方、Lmax_monitor_ab<Lmax_printer_abである場合、Lmax_monitor_abとLmax_printer_abの差が大きくなるに従い、β>1という拘束条件の下においてβを大きくする。すなわち、最明点付近における伸長率を大きくする。
【0101】
【第7実施形態】
以下、本発明にかかる第7実施形態の信号処理装置を説明する。なお、本実施形態において、第1、第3および第4実施形態と略同様の構成については、同一符号を付して、その詳細説明を省略する。
【0102】
本実施形態は、第4実施形態における彩度圧縮部104の構成を変更したものである。図16は本実施形態の色信号変換器208の構成例を示すブロック図である。
【0103】
彩度調整情報入力部618は、ユーザが彩度調整情報を入力するためのものであり、例えば、CPU201によりカラーモニタ207にユーザインタフェイス画像として形成されるコントロールパネル、並びに、キーボード211および/またはマウス212などから構成される。ユーザが各節点における入力値および出力値を与えることにより入力された彩度調整情報は、CPU201により、然るべきデータ構造に変換された後、一旦、メインメモリ202に保持された後、端子617を介して色信号変換器208の彩度圧縮部104へ入力される。なお、彩度調整情報の入力は必須の動作ではない。
【0104】
メインメモリ202に保持された画像をプリンタ209から出力する指令を受けたCPU201は、メインメモリ202の記憶内容を調べて彩度調整情報の入力の有無を判断し、その有無情報を色信号変換器208へ送る。彩度調整情報の入力があった場合、CPU201は、メインメモリ202に保持されている彩度調整情報を、PCIバス214および端子617を介して、色信号変換器208へ送る。
【0105】
彩度圧縮部104は、モニタ色域情報およびプリンタ色域情報から抽出される彩度レンジ情報、並びに、入力される彩度調整情報により制御される圧縮関係から定められる入出力関係に従い彩度圧縮を行い、その圧縮結果であるab信号を色信号合成部105に出力する。
【0106】
なお、上記構成における彩度調整情報入力部618は、前述したように図2の構成における各ブロックが所定順に動作することで実現される。
【0107】
●彩度圧縮部
図17は彩度圧縮部104の構成例を表すブロック図である。
【0108】
図17において、記憶部625は、端子630を介して入力される彩度調整情報を記憶し、色信号分離部122から入力される色相情報であるh信号に対応する彩度調整値を彩度計算部123へ出力する。彩度計算部123は、モニタ色域情報およびプリンタ色域情報から抽出された、h信号から定められる色相における彩度レンジ情報と、彩度調整情報に制御された圧縮関係とから定められる入出力関係に従い、入力されるc信号から出力すべき彩度を計算し、その計算結果のc信号を座標信号変換部124へ出力する。
【0109】
上記の構成における彩度計算部123の動作について説明する。彩度計算部123は、入出力関係を定義する関数g(・)により制御され、入力されるc信号cinと出力されるc信号coutとの間には、cout=g(cin)なる関係がなり立つ。g(・)は三次関数を用いて定義され、下記の条件がなり立つように制御される。
g(・)の台は[0, Cmax_monitor]
g(0) = 0
g(Cmax_monitor) = Cmax_printer
g'(0) = α
g'(Cmax_monitor) = γ, γ: γ > 0
g'(x)≠0, x: 0≦x≦Cmax_monitor
【0110】
ここで、αは、記憶部625の出力値により定められるもので、すなわちh信号から定められる色相における彩度調整値である。Cmax_monitorは色相成分であるh信号およびモニタ色域情報から計算され、h信号から定められる色相においてモニタ色域の最大彩度値と定義される。また、Cmax_printerは色相成分であるh信号およびプリンタ色域情報から計算され、h信号から定められる色相においてプリンタ色域の最大彩度値と定義される。
【0111】
γは、最大彩度付近における彩度圧縮の圧縮率を制御する値で、上記条件を満たすという制限の下、Cmax_monitorおよびCmax_monitorの関係より彩度計算部123が自動的に定める。γパラメータ自動設定において、Cmax_monitor/Cmax_printerが大きくなるにつれ、γの値を小さくする。すなわち、圧縮率を大きくする。
【0112】
●彩度調整情報
ユーザは、彩度調整情報として、一つまたは複数の任意の色相において、彩度制御関数のx=0における傾きyを入力する。記憶部625は角度に対して線形に補間を行い、すべての色相における彩度調整情報を作成する。この情報は、各色相と、各色相における彩度調整値αとの集合として形成される。この集合情報が彩度調整情報として記憶部625に保持される。
【0113】
任意の色相における彩度制御関数のx=0における傾きyを彩度調整情報として、ユーザが入力するということは、指定した彩度におけるガマット圧縮後の理想的な彩度を、元の彩度のy倍にすることに等しく、直感的な彩度調整を非常に容易にするものである。
【0114】
【第8実施形態】
以下、本発明にかかる第8実施形態の信号処理装置を説明する。なお、本実施形態において、第1、第3および第4実施形態と略同様の構成については、同一符号を付して、その詳細説明を省略する。
【0115】
本実施形態は、第4実施形態における彩度圧縮部104の構成を変更したものである。図18は本実施形態の色信号変換器208の構成例を示すブロック図である。
【0116】
明度調整情報入力部718は、ユーザが明度調整情報を入力するためのものであり、例えば、CPU201によりカラーモニタ207にユーザインタフェイス画像として形成されるコントロールパネル、並びに、キーボード211および/またはマウス212などから構成される。ユーザが各節点における入力値および出力値を与えることにより入力された明度調整情報は、CPU201により、然るべきデータ構造に変換された後、一旦、メインメモリ202に保持された後、端子717を介して色信号変換器208の明度圧縮部103へ入力される。なお、明度調整情報の入力は必須の動作ではない。
【0117】
メインメモリ202に保持された画像をプリンタ209から出力する指令を受けたCPU201は、メインメモリ202の記憶内容を調べて明度調整情報の入力の有無を判断し、その有無情報を色信号変換器208へ送る。明度調整情報の入力があった場合、CPU201は、メインメモリ202に保持されている明度調整情報を、PCIバス214および端子717を介して、色信号変換器208へ送る。
【0118】
明度圧縮部103は、モニタ色域情報およびプリンタ色域情報から抽出される明度レンジ情報、所定の圧縮関係、並びに、入力される明度調整情報から定められる入出力関係に従い、入力されるL信号を明度圧縮し、その圧縮結果であるL信号を色信号合成部105に出力する。
【0119】
●明度圧縮部
明度圧縮部103は、入出力関係を定義する関数f(・)によって制御される。すなわち、明度圧縮部103に入力されるL信号Linと出力されるL信号Loutとの間には、Lout=f(Lin)なる関係がなり立つ。f(・)はn-1セグメントからなる区分的関数を用いて定義され、下記の条件がなり立つよう制御される。因みに、nは区分的関数の節点数であり、本実施形態においては明度調整情報入力部718からの入力によって制御される。
【0120】
ここで、Lmin_monitorはモニタの黒色が保持するL値、Lmax_monitorはモニタの白色が保持するL値、Lmin_printerはプリンタの黒色が保持するL値、および、Lmax_printerはモニタの白色が保持するL値である。本実施形態では、f(・)を各接点において少なくともC1連続である三次スプライン関数により実現する。ここで、α、β、接点数n、mi、niおよびγiは、明度調整情報の入力においてユーザにより設定されるものである。なお、α、βもしくは両者の入力がない場合、アルゴリズムがα、βもしくは両者を自動的に設定する。また、γiの入力がない場合には、接点iにおけるC2連続性からγiはアルゴリズムにより自動的に求められる。
【0121】
なお、ユーザからの明度調整情報の入力が一切なかった場合はn=5、mi=niおよびγi=1に定め、さらに前記条件の下、αとβとを自動的に計算し、概パラメータを関数f(・)に設定する。
【0122】
また、αおよびβの自動計算アルゴリズムにおいて、Lmin_monitorとLmin_printerの差が大きくなるに従い、αの値を小さくする。すなわち、最暗点付近における圧縮率を大きくする。他方、Lmax_monitorとLmax_printerの差が大きくなるに従い、βの値を小さくする。すなわち、最明点付近における圧縮率を大きくする。
【0123】
以上説明した各実施形態によれば、ガマット圧縮において、中程度の明度は保存され、非常に明度の高い色もしくは非常に明度の低い色は大きく明度圧縮される。また、ガマット圧縮において、彩度の低い色ほど彩度が保存され、逆に彩度の高い色ほど大きく彩度圧縮される。これらにより、モニタやプリンタの機種の相違による色再現性の違い、あるいは、記録媒体の色再現特性の相違による色再現性の違いによらず、知覚的に非常に近似した出力画像を得ることができる。
【0124】
【他の実施形態】
なお、本発明は、複数の機器(例えばホストコンピュータ、インタフェイス機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用してもよい。
【0125】
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成されることは言うまでもない。この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0126】
さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0127】
また、上記の各実施形態においては、代表的なLab色空間において説明したが、本発明は、これに限定されるものではなく、Luv色空間やマンセル色空間などの明度および色度を有する色空間であれば適用することができる。
【0128】
【発明の効果】
以上説明したように、本発明によれば、異なるデバイスおよび/または異なる記録媒体に形成および/または表示される色が近似した色として知覚されるように色信号を変換する、高精度な色再現を実現することができる。
【図面の簡単な説明】
【図1】本発明にかかる第1実施形態の色信号変換装置のシステム構成例を示すブロック図、
【図2】図1に示される色信号変換器の構成例を示すブロック図、
【図3】第1実施形態における明度の入出力関係例を示す図、
【図4】図2に示される彩度圧縮部の構成例を示すブロック図、
【図5】第1実施形態における彩度の入出力関係例を示す図、
【図6】複数種類の紙質についてガマット圧縮を行った場合のそれぞれの明度圧縮入出力特性を示す図、
【図7】第2実施形態における彩度の入出力関係例を示す図、
【図8】第3実施形態の色信号変換器の構成例を示すブロック図、
【図9】ある色度abにおける明度の入出力関係を示す図、
【図10】ある色度abにおける明度の入出力関係を示す図、
【図11】第5実施形態の色信号変換器の構成例を示すブロック図、
【図12】図11に示す彩度圧縮部の構成例を示すブロック図、
【図13】図11に示す彩度計算部の動作を示すフローチャート、
【図14】第6実施形態の色信号変換器の構成例を示すブロック図、
【図15】図14に示す彩度圧縮部の構成例を示すブロック図、
【図16】第7実施形態の色信号変換器の構成例を示すブロック図、
【図17】図16に示す彩度圧縮部の構成例を示すブロック図、
【図18】第8実施形態の色信号変換器の構成例を示すブロック図である。[0001]
[Industrial application fields]
The present invention performs gamut compressioncolorRegarding processing.
[0002]
[Prior art]
In a computer system or video printer having a color monitor and a color printer, a color image created and / or processed on a monitor or a color image received by a receiver may be printed out.
[0003]
With a color monitor that expresses a color image by emitting light of a specific wavelength using a phosphor and a color printer that absorbs light of a specific wavelength using ink or the like and expresses a color image with the remaining reflected light, As is well known, the color gamut differs greatly. In addition, color monitors also have different color gamuts, such as those using liquid crystal, those using an electron gun type cathode ray tube, and those using a plasma type. Similarly, in a color printer, the color gamut varies depending on differences in paper quality and ink usage.
[0004]
For this reason, in the image displayed on the color monitor, the image output by the color printer, or the color image output using a plurality of types of printers and a plurality of types of recording paper, the colors are measured. It is impossible to make them completely coincidental. Therefore, when a human perceives a color image displayed (formed) on each output medium, a great difference in color between the images is felt.
[0005]
As an image processing technique for absorbing the perceptual color difference of displayed (formed) color images between output media having different color gamuts, and for perceptual matching of the color, gamut ( gamut) compression or color matching exists.
[0006]
[Problems to be solved by the invention]
According to a certain image processing technique, for all colors, the sum of squares of differences between the color signal used in the color monitor and the color signal used in the color printer, that is, the sum of squares of the differences, is taken, and this sum of squares of the differences is minimized. Gamut compression is performed. However, this technique obtains good results within the color gamut of both devices, but the image information is significantly impaired due to the loss of gradation for color signals outside the range. For this reason, in images having color signals outside the color gamut of both devices, the colors of images displayed or formed by these devices are observed to be significantly different.
[0007]
In consideration of the above-described problem of gradation, various gamut compression techniques have been developed under the condition that gradation is not lost as much as possible. However, in these technologies, since the amplitude of the difference signal between the color signal of the color monitor and the color signal of the color printer when expressing a certain color becomes large in all colors, the display or formation by these devices is also necessary. The color of the resulting image is observed to be significantly different.
[0008]
Thus, there is a need for a gamut compression technique that can solve the above two problems simultaneously.
[0009]
The present invention converts color signals so that colors formed and / or displayed on different devices and / or different recording media are perceived as approximate colorsRealize high-precision color reproductionFor the purpose.
[0010]
[Means for Solving the Problems]
The present invention has the following configuration as one means for achieving the above object.
[0011]
The color processing apparatus according to the present invention includes:Of the first deviceThe color signal in the first color gamut is different from the first color gamut.Of the second deviceA color processing device for converting to a color signal in a second color gamut, wherein the lightness component of the color signal is a piecewise function comprising n-1 (where n is the number of nodes of the piecewise function) segments.Spline function indicated byMeans for compressing the lightness within the lightness range of the second color gamut, means for compressing the chroma component of the color signal within the saturation range of the second color gamut, and Used for lightness compressionsplineLightness compression control means for controlling the compression function of the lightness component by controlling a function, the lightness compression control means,Outputs the white color of the second color gamut to the white color input of the first color gamut, and outputs the black color of the second color gamut to the black color input of the first color gamut. Set the spline function to outputAs the difference in maximum brightness between the first and second color gamuts increases, the maximum brightness of the first color gamut increases at the maximum brightness.splineAs the value β of the first derivative of the function is decreased and the difference between the minimum brightness values of the first and second color gamuts increases, the minimum brightness value of the first color gamut increases.splineIt is characterized by reducing the value α of the first derivative of the function.
[0017]
The color processing method according to the present invention includes:Of the first deviceThe color signal in the first color gamut is different from the first color gamut.Of the second deviceA color processing method for converting to a color signal in a second color gamut, wherein the lightness component of the color signal is a piecewise function comprising n-1 (where n is the number of nodes of the piecewise function) segments.Spline function indicated byUsing a color compression within the lightness range of the second color reproduction range, and a step of compressing the saturation component of the color signal within the saturation range of the second color reproduction range, Used for lightness compressionsplineA brightness compression control step for controlling a compression ratio of the brightness component by controlling a function, and the brightness compression control step includes:Outputs the white color of the second color gamut to the white color input of the first color gamut, and outputs the black color of the second color gamut to the black color input of the first color gamut. Set the spline function to outputAs the difference in maximum brightness between the first and second color gamuts increases, the maximum brightness of the first color gamut increases at the maximum brightness.splineAs the value β of the first derivative of the function is decreased and the difference between the minimum brightness values of the first and second color gamuts increases, the minimum brightness value of the first color gamut increases.splineIt is characterized by reducing the value α of the first derivative of the function.
[0023]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a signal processing device according to an embodiment of the present invention will be described in detail with reference to the drawings.
[0024]
[First Embodiment]
[System configuration]
FIG. 1 is a block diagram showing a system configuration example of the color signal conversion apparatus according to the first embodiment of the present invention.
[0025]
In FIG. 1, 201 is a CPU, 202 is a main memory composed of RAM, 203 is a SCSI (Small Computer Standard Interface) interface (I / F), 204 is a network interface, 205 is a hard disk driver (HDD), 206 is Graphic accelerator, 207 color monitor, 208 color signal converter, 209 color printer, 210 keyboard / mouse controller, 211 keyboard, 212 pointing device such as mouse, 213 local area network (LAN), and 214 is, for example, a PCI (Peripheral Component Interconnect) bus. The
[0026]
In the above configuration, image data stored in the
[0027]
Here, when receiving an instruction (print command) to print an image held in the
[0028]
The user selects a printer model and recording paper type used for printing, and a monitor model in advance when issuing a print command. Based on this selection information, the
[0029]
[Color signal converter]
FIG. 2 is a block diagram illustrating a configuration example of the
[0030]
The
[0031]
In addition, printer color gamut information (printer gamut information) is input from
[0032]
102 is a color signal separation unit, which separates the input Lab signal into lightness component L and chromaticity component ab, and transmits L signal as lightness component to
[0033]
The color
[0034]
In the above configuration, the
[0035]
That is, in this color signal conversion operation, the input Lab signal is first separated into an L signal and an ab signal by the color
[0036]
● Lightness compression section
The
The base of f (・) is [Lmin_monitor, Lmax_monitor]
F (・) is continuous at all points
f (Lmin_monitor) = Lmin_printer
f (Lmax_monitor) = Lmax_printer
f '(Lmin_monitor) = α, α: 0 ≦ α
f '(Lmax_monitor) = β, β: 0 ≦ β
f (mi) = mi, i: 0 ≦ i ≦ n-2, mi: Lmin_printer <mi <Lmax_printer
f '(mi) = 1, i: 0 ≦ i ≦ n-2, mi: Lmin_printer <mi <Lmax_printer
f '(x) ≠ 0, x: Lmin_monitor <x <Lmax_monitor
Where Lmin_monitor: Monitor black L value
Lmax_monitor: White L value of the monitor
Lmin_printer: Black L value of the printer
Lmax_printer:PrinterL value of white
α: Best value compressionDarkControl the compression ratio near the pointvalue
β: The best value compressionLightNear the pointKickControl compression ratiovalue
mi: Any value
[0037]
Control compression ratiovalueα decreases as the difference between Lmin_monitor and Lmin_printer increases.YouThe That is, the compression rate near the darkest point, which is the darkest pointThebigYouThe On the other hand, control the compression ratevalueβ decreases as the difference between Lmax_monitor and Lmax_printer increasesYouThe That is, the compression rate near the brightest point, which is the brightest pointThebigYouThe In the present embodiment, f (•) is realized as a C2 continuous cubic spline function of 5 knots, 4 segments, for example. For example, m1 = 40, m2 = 50, and m3 = 70.
[0038]
Here, FIG. 3 shows the input / output relationship of lightness when Lmin_monitor = 0, Lmax_monitor = 100, Lmin_printer = 20, and Lmax_printer = 90 in a certain printer output using this embodiment.
[0039]
● Saturation compression section
FIG. 4 is a block diagram illustrating a configuration example of the
[0040]
The coordinate
[0041]
The
[0042]
The
The stand for g (・) is [0, Cmax_monitor]
g (0) = 0
g (Cmax_monitor) = Cmax_printer
g '(0) = 1
g '(Cmax_monitor) = γ, γ: γ> 0
g '(x) ≠ 0, x: 0 ≦ x ≦ Cmax_monitor
[0043]
In the above equation, Cmax_monitor is calculated from the h signal and monitor color gamut information, and is defined as the maximum saturation value of the monitor color gamut in the hue determined from the h signal. Cmax_printer is calculated from the h signal and the moprinter gamut information, and is defined as the maximum saturation value of the printer gamut in the hue determined from the h signal. Also, γ is a value that controls the compression rate of saturation compression near the maximum saturation, and is automatically determined by the
[0044]
FIG. 5 is a diagram showing the input / output relationship of saturation in a certain printer output using this embodiment. Note that Cmax_monitor = 60.51 and Cmax_printer = 40.17.
[0045]
According to the present embodiment, the lightness compression input / output characteristics obtained when gamut compression is performed on a plurality of types of paper quality such as plain paper or dedicated recording paper in a certain type of color monitor and a certain type of color printer. When superimposed, the result is as shown in FIG. That is, medium brightness is preserved regardless of the paper quality. On the other hand, in the vicinity of the brightest point or the darkest point, the compression ratio changes greatly according to the lightness range in which color reproduction is possible.
[0046]
According to the present embodiment, it is possible to maintain color continuity and reproduce gradation outside the color gamut of the printer. Furthermore, it is possible to reproduce the medium lightness area (see Fig. 3) and low saturation area (see Fig. 5), which are sensitive to humans and are frequently included in natural images (photographic images), with high accuracy. it can. Therefore, it is possible to satisfactorily reproduce an input image including colors outside the printer color gamut with the printer.
[0047]
In addition, since the medium lightness area and the low saturation area can be reproduced with high accuracy, as shown in FIG. 6, the medium lightness and low saturation can be obtained on various recording papers (recording media) having different color reproduction characteristics (color gamut). The color reproducibility with respect to the degree region can be matched, and the color of each recording sheet can be matched.
[0048]
Second Embodiment
The signal processing apparatus according to the second embodiment of the present invention will be described below. Note that in the present embodiment, the same reference numerals are given to substantially the same configurations as those in the first embodiment, and detailed description thereof will be omitted.
[0049]
In the present embodiment, the operation of the
The stand for g (・) is [0, Cmax_monitor]
g (0) = 0
g (Cmax_monitor) = Cmax_printer
g '(0) = 1
g '(Cmax_monitor) = γ, γ: γ> 0
g (mi) = mi, i: 0 ≦ i ≦ n-2, mi: 0 <mi <Cmax_monitor
g '(mi) = 1, i: 0 ≦ i ≦ n-2, mi: 0 <mi <Cmax_monitor
g '(x) ≠ 0, x: 0 ≦ x ≦ Cmax_monitor
[0050]
Here, Cmax_monitor is calculated from the h signal and monitor color gamut information, and is defined as the maximum saturation value of the monitor color gamut in the hue determined from the h signal. Cmax_printer is calculated from the h signal and printer gamut information, and is defined as the maximum saturation value of the printer gamut in the hue determined from the h signal. Also, γ is a value that controls the compression ratio of saturation compression in the vicinity of the maximum saturation, and is automatically determined by the
[0051]
In the present embodiment, g (•) is realized as, for example, a 2-segment C2 continuous cubic spline function. Further, for example, m1 = 1/2 × Cmax_monitor.
[0052]
FIG. 7 is a diagram showing the input / output relationship of saturation in a certain printer output using this embodiment. Note that Cmax_monitor = 60.51 and Cmax_printer = 40.17.
[0053]
[Third Embodiment]
The signal processing apparatus according to the third embodiment of the present invention will be described below. Note that in the present embodiment, the same reference numerals are given to substantially the same configurations as those in the first embodiment, and detailed description thereof will be omitted.
[0054]
FIG. 8 is a block diagram showing a configuration example of the
[0055]
The
[0056]
In addition, printer color gamut information (printer gamut information) is input from
[0057]
The multiplexer (MUX) 302 selects a signal input from the
[0058]
The Lab signal output from the color
[0059]
In the above configuration, the
[0060]
When the above processing is completed, the
[0061]
When the above operation is completed, image data in which color information is described using Lab signals is transmitted to the color signal conversion device 301 via the PCI bus by the raster scan method. Here, the color signal conversion device 301 performs color signal conversion by gamut compression on the Lab signal of each pixel in the image data, and sequentially transmits it to the printer. Therefore, image data in which color information is described using Lab signals is transmitted to the
[0062]
● Brightness adjuster
The
[0063]
If any of Lmax_printer_ab, Lmin_printer_ab, Lmax_compressed_ab, and Lmin_compressed_ab is not extracted, Lout = Lin.
[0064]
If the above does not apply, Lout is calculated using the following formula.
[0065]
The
[0066]
According to this embodiment, it is possible to perform gamut compression with higher accuracy than in the first embodiment. In other words, since the actual printer color gamut has a very complicated shape, the conversion based on the compression rate set according to the Cmax_printer of the first embodiment completely converts the input image data into the printer color gamut. It is not possible. On the other hand, according to the present embodiment, since gamut compression is performed based on color gamut compression information that is compressed data related to an input image, more accurate gamut compression is realized.
[0067]
[Fourth Embodiment]
The signal processing apparatus according to the fourth embodiment of the present invention will be described below. Note that in this embodiment, the same reference numerals as those in the first and third embodiments denote the same components, and a detailed description thereof will be omitted.
[0068]
In the present embodiment, the operation of the
[0069]
If any of Lmax_printer_ab, Lmin_printer_ab, Lmax_compressed_ab, and Lmin_compressed_ab is not extracted, Lout = Lin.
[0070]
If the above does not apply, Lout is calculated using the function h (•) that defines the input / output relationship. That is, Lout = h (Lin). h (·) is defined using a piecewise function consisting of n-1 segments, and is controlled so that the following conditions hold. Incidentally, n is the number of nodes of the piecewise function h (•).
[0071]
Here, α and β: are parameters that give the compression rate at the end points of the table, and are automatically calculated under the restriction that the above conditions are satisfied. Mi and ni are also automatically calculated under the restriction that the above conditions are satisfied. The automatic calculation algorithm tries to keep the relationship mi = ni as much as possible, but the relationship (mi = ni) is not necessarily guaranteed because priority is given to the gradation and the above condition. However, the absolute value of the difference between input and output | h (Lin) − Lin | is tried to be as small as possible at each point.
[0072]
In the present embodiment, h (•) is realized as a three-segment C1 continuous cubic spline function. In addition, m1 = 1/3 × Cmax_monitor and m2 = 2/3 × Cmax_monitor.
[0073]
9 and 10 are diagrams showing the input / output relationship of lightness at a certain chromaticity ab in a certain printer output using this embodiment. Note that Lmin_compressed_ab = 40, Lmax_compressed_ab = 68, Lmin_printer_ab = 45, and Lmax_printer_ab = 64 in FIG. Further, Lmin_compressed_ab = 60, Lmax_compressed_ab = 84, Lmin_printer_ab = 46, and Lmax_printer_ab = 75 in FIG.
[0074]
According to the present embodiment, since non-linear transformation is used in lightness compression, reproducibility in the medium lightness region can be further improved. In particular, color reproducibility can be improved in an area where the color gamut of the monitor and the color gamut of the printer do not have a similar relationship, such as cyan.
[0075]
[Fifth Embodiment]
The signal processing apparatus according to the fourth embodiment of the present invention will be described below. Note that in this embodiment, the same reference numerals are given to substantially the same configurations as those in the first, third, and fourth embodiments, and detailed descriptions thereof are omitted.
[0076]
In the present embodiment, the configuration of the
[0077]
FIG. 12 is a block diagram illustrating a configuration example of the
[0078]
The
[0079]
The operation of the
[0080]
In step S1000, the maximum saturation Cmax_printer of the printer gamut in hue h is obtained from the hue h and printer gamut information input to the
[0081]
Next, in step S1003, the maximum saturation CL_monitor of the monitor gamut at hue h and lightness L is obtained from the hue h, lightness L, and printer gamut information input to the
[0082]
Next, in step S1005, a saturation ratio Rnew = g (R / Rmax) is obtained using a function g (•) that defines the input / output relationship of the saturation ratio, and in step S1006, the saturation ratio Rnew and the maximum saturation are calculated. The result obtained by multiplying the degree CL_monitor is output as the calculation result of the
The g (•) base is [0, 1]
g (0) = 0
g (1) = Rmax
g '(0) = 1
g '(Rmax) = γ, γ: γ> 0
g '(x) ≠ 0, x: 0 ≦ x ≦ 1
[0083]
Here, γ is a value that controls the compression ratio of saturation compression in the vicinity of the maximum saturation at a certain hue and brightness, and is based on the relationship between Cmax_monitor and Cmax_printer under the restriction that the above condition is satisfied. 123 is determined automatically for each combination of hue and lightness. For automatic γ parameter settingThisAs Cmax_monitor / Cmax_printer increases,γvalueThesmallYouThe That is, compression rateThebigYouThe
[0084]
In this embodiment, the function g (•) that defines the input / output relationship is realized using a cubic function, but even if it is realized using a piecewise function as in the second embodiment, the essence is There is no loss.
[0085]
According to the present embodiment, linear compression can be performed outside the printer color gamut, and nonlinear compression can be performed within the printer color gamut so as to increase the compression ratio in the high saturation region. In other words, the gradation of the high saturation region can be expressed better by linearly compressing the boundary portion of the monitor color gamut. Therefore, it is possible to improve reproducibility in vivid gradations of colors often used in DTP, etc., and to reproduce medium lightness and low saturation areas that are sensitive to humans with high accuracy, so natural (photos) Images and the like can also be reproduced well.
[0086]
[Sixth Embodiment]
The signal processing apparatus according to the sixth embodiment of the present invention will be described below. Note that in the present embodiment, the same reference numerals are given to substantially the same configurations as those in the first embodiment, and detailed description thereof will be omitted.
[0087]
FIG. 14 is a block diagram showing a configuration example of the
[0088]
The
[0089]
In addition, printer color gamut information (printer gamut information) is input from
[0090]
The color
[0091]
The
[0092]
The
[0093]
● Saturation compression section
FIG. 15 is a block diagram illustrating a configuration example of the
[0094]
● Lightness compression section
The operation of the
[0095]
The signal Lout is calculated by the calculated parameter and a function f (•) that defines the input / output relationship between the L signal Lin that is the lightness compression target input to the
[0096]
In the present embodiment, f (•) is realized as a 5-segment C2 continuous cubic spline function. Here, the number n of contacts, the values mi and ni at the contacts, and the compression ratios α and β at the base end points are automatically calculated from the four brightness information of Lmin_monitor_ab, Lmax_monitor_ab, Lmin_printer_ab and LLmax_printer_ab. Here, the parameter is set so that f (x) = x as much as possible within the range satisfying the gradation and the above condition by the parameter automatic setting algorithm. The automatic setting algorithm for α and β is roughly as follows.
[0097]
For α, if Lmin_monitor_ab ≦ Lmin_printer_ab, then as the difference between Lmin_monitor_ab and Lmin_printer_ab increases, α satisfies the constraint of 0 ≦ α ≦ 1ThesmallYouThe That is, the compression ratio near the darkest pointThebigYouThe
[0098]
On the other hand, when Lmin_monitor_ab> Lmin_printer_ab, as the difference between Lmin_monitor_ab and Lmin_printer_ab increases, αThebigYouThe That is, near the darkest pointKickElongationThebigYouThe
[0099]
Similarly, when β is Lmax_monitor_ab ≧ Lmax_printer_ab, β increases under the constraint that 0 ≦ β ≦ 1 as the difference between Lmax_monitor_ab and Lmax_printer_ab increases.ThesmallYouThe That is, the compression rate near the brightest pointThebigYouThe
[0100]
On the other hand, when Lmax_monitor_ab <Lmax_printer_ab, as the difference between Lmax_monitor_ab and Lmax_printer_ab increases, βThebigYouThe That is, near the brightest pointKickElongationThebigYouThe
[0101]
[Seventh embodiment]
The signal processing apparatus according to the seventh embodiment of the present invention will be described below. Note that in this embodiment, the same reference numerals are given to substantially the same configurations as those in the first, third, and fourth embodiments, and detailed descriptions thereof are omitted.
[0102]
In the present embodiment, the configuration of the
[0103]
The saturation adjustment
[0104]
Upon receiving a command to output the image held in the
[0105]
The
[0106]
Note that the saturation adjustment
[0107]
● Saturation compression section
FIG. 17 is a block diagram illustrating a configuration example of the
[0108]
In FIG. 17, the
[0109]
The operation of the
The stand for g (・) is [0, Cmax_monitor]
g (0) = 0
g (Cmax_monitor) = Cmax_printer
g '(0) = α
g '(Cmax_monitor) = γ, γ: γ> 0
g '(x) ≠ 0, x: 0 ≦ x ≦ Cmax_monitor
[0110]
Here, α is determined by the output value of the
[0111]
γ is a value that controls the compression ratio of saturation compression in the vicinity of the maximum saturation, and is automatically determined by the
[0112]
● Saturation adjustment information
The user inputs the gradient y at x = 0 of the saturation control function in one or more arbitrary hues as the saturation adjustment information. The
[0113]
Inputting the slope y of the saturation control function at x = 0 of the saturation control function in an arbitrary hue as saturation adjustment information means that the ideal saturation after gamut compression at the specified saturation is the original saturation. It is equivalent to y times that of, making intuitive saturation adjustment very easy.
[0114]
[Eighth Embodiment]
The signal processing apparatus according to the eighth embodiment of the present invention will be described below. Note that in this embodiment, the same reference numerals are given to substantially the same configurations as those in the first, third, and fourth embodiments, and detailed descriptions thereof are omitted.
[0115]
In the present embodiment, the configuration of the
[0116]
The brightness adjustment information input unit 718 is used by the user to input brightness adjustment information. For example, a control panel formed as a user interface image on the
[0117]
The
[0118]
The
[0119]
● Lightness compression section
The
[0120]
Where Lmin_monitor is the L value held by the monitor black, Lmax_monitor is the L value held by the monitor white, Lmin_printer is the L value held by the printer black, and Lmax_printer is the L value held by the monitor white . In the present embodiment, f (•) is realized by a cubic spline function that is at least C1 continuous at each contact. Here, α, β, the number of contacts n, mi, ni, and γi are set by the user in the input of the brightness adjustment information. If there is no input of α, β or both, the algorithm automatically sets α, β or both. When there is no input of γi, γi is automatically obtained by an algorithm from the C2 continuity at the contact i.
[0121]
When no brightness adjustment information is input from the user, n = 5, mi = ni and γi = 1 are set, and α and β are automatically calculated under the above conditions. Set to function f (•).
[0122]
In the automatic calculation algorithm of α and β, the value of α increases as the difference between Lmin_monitor and Lmin_printer increases.ThesmallYouThe That is, the compression ratio near the darkest pointThebigYouThe On the other hand, as the difference between Lmax_monitor and Lmax_printer increases, the value of βThesmallYouThe That is, the compression rate near the brightest pointThebigYouThe
[0123]
According to each embodiment described above, in the gamut compression, the medium brightness is preserved, and the color with very high brightness or the color with very low brightness is greatly compressed. In the gamut compression, the saturation is preserved as the color is low in saturation, and conversely, the saturation is compressed as the color is high in saturation. As a result, it is possible to obtain an output image that is very perceptually approximate, regardless of differences in color reproducibility due to differences in monitor and printer models, or differences in color reproducibility due to differences in color reproduction characteristics of recording media. it can.
[0124]
[Other Embodiments]
Note that the present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, and a printer), and a device (for example, a copying machine and a facsimile device) including a single device. You may apply to.
[0125]
Another object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
[0126]
Further, after the program code read from the storage medium is written to a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the card or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
[0127]
In each of the above-described embodiments, the description has been given in the representative Lab color space. However, the present invention is not limited to this, and a color having lightness and chromaticity such as a Luv color space or a Munsell color space. Any space can be applied.
[0128]
【The invention's effect】
As described above, according to the present invention, color signals are converted so that colors formed and / or displayed on different devices and / or different recording media are perceived as approximate colors.Realize high-precision color reproductionbe able to.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a system configuration example of a color signal conversion apparatus according to a first embodiment of the present invention;
FIG. 2 is a block diagram showing a configuration example of the color signal converter shown in FIG.
FIG. 3 is a diagram showing an example of a lightness input / output relationship in the first embodiment;
4 is a block diagram showing a configuration example of a saturation compression unit shown in FIG.
FIG. 5 is a diagram illustrating an input / output relationship example of saturation in the first embodiment;
FIG. 6 is a diagram illustrating lightness compression input / output characteristics when gamut compression is performed for a plurality of types of paper quality;
FIG. 7 is a diagram illustrating an input / output relationship example of saturation in the second embodiment;
FIG. 8 is a block diagram illustrating a configuration example of a color signal converter according to a third embodiment;
FIG. 9 is a diagram showing a lightness input / output relationship at a certain chromaticity ab;
FIG. 10 is a diagram showing a lightness input / output relationship at a certain chromaticity ab;
FIG. 11 is a block diagram illustrating a configuration example of a color signal converter according to a fifth embodiment;
12 is a block diagram showing a configuration example of a saturation compression unit shown in FIG.
FIG. 13 is a flowchart showing the operation of the saturation calculation unit shown in FIG.
FIG. 14 is a block diagram illustrating a configuration example of a color signal converter according to a sixth embodiment;
15 is a block diagram showing a configuration example of a saturation compression unit shown in FIG.
FIG. 16 is a block diagram illustrating a configuration example of a color signal converter according to a seventh embodiment;
17 is a block diagram showing a configuration example of a saturation compression unit shown in FIG.
FIG. 18 is a block diagram illustrating a configuration example of a color signal converter according to an eighth embodiment.
Claims (6)
前記色信号の明度成分を、n-1(nは区分的関数の節点数)セグメントからなる区分的関数で示されるスプライン関数を用いて、前記第二の色再現域の明度範囲内に明度圧縮する手段と、
前記色信号の彩度成分を前記第二の色再現域の彩度範囲内に彩度圧縮する手段と、
前記明度圧縮に使用するスプライン関数を制御して、前記明度成分の圧縮率を制御する明度圧縮制御手段とを有し、
前記明度圧縮制御手段は、前記第一の色再現域の白色の入力に対して前記第二の色再現域の白色を出力し、前記第一の色再現域の黒色の入力に対して前記第二の色再現域の黒色を出力するように、前記スプライン関数を設定し、
前記第一および第二の色再現域の最高明度の差が大きくなるに従い、前記第一の色再現域の最高明度における前記スプライン関数の一次微分の値βを小さくし、
前記第一および第二の色再現域の最低明度の差が大きくなるに従い、前記第一の色再現域の最低明度における前記スプライン関数の一次微分の値αを小さくすることを特徴とする色処理装置。A first color gamut of the color signal of the first device, the first is different from the color gamut, a color processing apparatus for converting into the second second-color gamut of the color signals of the device ,
The brightness component of the color signal is compressed within the brightness range of the second color gamut using a spline function represented by a piecewise function consisting of n-1 (where n is the number of nodes of the piecewise function) segment. Means to
Means for compressing the saturation component of the color signal within the saturation range of the second color gamut;
A lightness compression control means for controlling a spline function used for the lightness compression and controlling a compression rate of the lightness component;
The lightness compression control means outputs the white color in the second color gamut to the white color input in the first color gamut and the first color reproduction color in the black color in the first color gamut. Set the spline function to output black in the second color gamut,
As the difference in maximum brightness between the first and second color gamuts increases, the value β of the first derivative of the spline function at the maximum brightness of the first color gamut is reduced,
A color process characterized by reducing the value α of the first derivative of the spline function at the minimum brightness of the first color gamut as the difference between the minimum brightness of the first and second color gamuts increases. apparatus.
前記彩度圧縮制御手段は、入力値 0 に対して 0 を出力し、入力色の色相における前記第一の色再現域の最大彩度の入力に対して当該色相における前記第二の色再現域の最大彩度を出力するように、前記彩度圧縮用のスプライン関数を設定し、
前記第一の色再現域の最大彩度C1maxと前記第二の色再現域の最大彩度C2maxの比C1max/C2maxが大きくなるに従い、前記彩度圧縮用のスプライン関数の一次微分の値γを小さくすることを特徴とする請求項1に記載された色処理装置。Furthermore, it has a saturation compression control means for controlling a compression rate of the saturation component by controlling a spline function used for the saturation compression,
The saturation compression control means outputs a 0 on input values 0, said second color gamut in the hue on the input of the maximum saturation of the first color gamut in the hue of the input color Set the saturation compression spline function to output the maximum saturation of
As the ratio C1max / C2max between the maximum saturation C1max of the first color gamut and the maximum saturation C2max of the second color gamut increases, the value γ of the first derivative of the spline function for saturation compression is increased. 2. The color processing apparatus according to claim 1, wherein the color processing apparatus is made small.
前記合成手段から色信号を入力して、前記入力した色信号が前記第二の色再現域内にある場合は前記入力した色信号を出力し、前記入力した色信号が前記第二の色再現域外にある場合は、前記入力した色信号に対して色差が最小の前記第二の色再現域内の色信号を出力する手段とを有することを特徴とする請求項1または請求項2に記載された色処理装置。Further, a combining means for combining the lightness-compressed lightness component and the saturation-compressed saturation component into a color signal,
When a color signal is input from the synthesizing unit and the input color signal is in the second color reproduction range, the input color signal is output, and the input color signal is out of the second color reproduction range. And a means for outputting a color signal in the second color gamut having a minimum color difference with respect to the input color signal. Color processing device.
前記明度圧縮制御手段は、前記ユーザ指示が入力された場合は前記ユーザ指示に従い前記一次微分の値α、βを制御し、前記ユーザ指示が入力されない場合は前記差に従い前記一次微分の値α、βを制御することを特徴とする請求項1から請求項3の何れか一項に記載された色処理装置。Furthermore, it has an input means for inputting a user instruction regarding the lightness compression,
The lightness compression control means controls the first derivative values α and β according to the user instruction when the user instruction is input, and the first derivative value α according to the difference when the user instruction is not input. 4. The color processing apparatus according to claim 1, wherein β is controlled.
前記色信号の明度成分を、n-1(nは区分的関数の節点数)セグメントからなる区分的関数で示されるスプライン関数を用いて、前記第二の色再現域の明度範囲内に明度圧縮するステップと、
前記色信号の彩度成分を前記第二の色再現域の彩度範囲内に彩度圧縮するステップと、
前記明度圧縮に使用するスプライン関数を制御して、前記明度成分の圧縮率を制御する明度圧縮制御ステップとを有し、
前記明度圧縮制御ステップは、前記第一の色再現域の白色の入力に対して前記第二の色 再現域の白色を出力し、前記第一の色再現域の黒色の入力に対して前記第二の色再現域の黒色を出力するように、前記スプライン関数を設定し、
前記第一および第二の色再現域の最高明度の差が大きくなるに従い、前記第一の色再現域の最高明度における前記スプライン関数の一次微分の値βを小さくし、
前記第一および第二の色再現域の最低明度の差が大きくなるに従い、前記第一の色再現域の最低明度における前記スプライン関数の一次微分の値αを小さくすることを特徴とする色処理方法。A first color gamut of the color signal of the first device, the first is different from the color gamut, a color processing method for converting into a second second color gamut of the color signals of the device ,
The brightness component of the color signal is compressed within the brightness range of the second color gamut using a spline function represented by a piecewise function consisting of n-1 (where n is the number of nodes of the piecewise function) segment. And steps to
Compressing the saturation component of the color signal within the saturation range of the second color reproduction range; and
A lightness compression control step of controlling a compression rate of the lightness component by controlling a spline function used for the lightness compression,
The lightness compression control step outputs the white color in the second color gamut to the white color input in the first color gamut and the first color reproduction color in the black color input in the first color gamut. Set the spline function to output black in the second color gamut,
As the difference in maximum brightness between the first and second color gamuts increases, the value β of the first derivative of the spline function at the maximum brightness of the first color gamut is reduced,
A color process characterized by reducing the value α of the first derivative of the spline function at the minimum brightness of the first color gamut as the difference between the minimum brightness of the first and second color gamuts increases. Method.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP36352698A JP4154051B2 (en) | 1998-12-21 | 1998-12-21 | Color processing apparatus and method |
| US09/467,984 US7116441B1 (en) | 1998-12-21 | 1999-12-21 | Signal processing apparatus image processing apparatus and their methods |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP36352698A JP4154051B2 (en) | 1998-12-21 | 1998-12-21 | Color processing apparatus and method |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2000188694A JP2000188694A (en) | 2000-07-04 |
| JP2000188694A5 JP2000188694A5 (en) | 2006-03-09 |
| JP4154051B2 true JP4154051B2 (en) | 2008-09-24 |
Family
ID=18479536
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP36352698A Expired - Fee Related JP4154051B2 (en) | 1998-12-21 | 1998-12-21 | Color processing apparatus and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4154051B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003219176A (en) * | 2002-01-25 | 2003-07-31 | Canon Inc | Image processing apparatus, image processing system, image processing method, storage medium, and program |
| JP2004221635A (en) * | 2003-01-09 | 2004-08-05 | Seiko Epson Corp | Color conversion device, color conversion method, color conversion program, and print control device |
| JP5253274B2 (en) * | 2009-04-02 | 2013-07-31 | パナソニック株式会社 | Color conversion output device |
| JP6822184B2 (en) * | 2017-02-07 | 2021-01-27 | 富士通株式会社 | Control program, control method and control device |
-
1998
- 1998-12-21 JP JP36352698A patent/JP4154051B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2000188694A (en) | 2000-07-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7116441B1 (en) | Signal processing apparatus image processing apparatus and their methods | |
| JP3491998B2 (en) | Image processing method and apparatus | |
| US6778300B1 (en) | Black generation for color management system | |
| US6421141B2 (en) | Image process apparatus and method | |
| US7312891B2 (en) | Image processing method and apparatus | |
| US8553278B2 (en) | Method of generating combined look-up table, and image processing apparatus and image forming apparatus | |
| JP2012518303A (en) | Image processing system for processing digital image and image processing method for processing digital image | |
| JP2002252785A (en) | Color conversion device, image processing device, color conversion method, recording medium, and image processing system | |
| JP4804044B2 (en) | Image processing apparatus and image processing method | |
| US7167275B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
| JP3658123B2 (en) | Image processing method and apparatus | |
| JP2005253072A (en) | System and method for gamut mapping control | |
| JP2005253072A5 (en) | ||
| US7747073B2 (en) | Method and apparatus for adjusting color profiles to meet a desired aim | |
| JP4154051B2 (en) | Color processing apparatus and method | |
| JPH09326938A (en) | Image processing apparatus and method | |
| JP2007208531A (en) | Multicolor printing apparatus and control method thereof | |
| JP4592089B2 (en) | Image processing method, profile creation method, and image processing apparatus | |
| JP5159565B2 (en) | Color processing apparatus and method | |
| US7616345B2 (en) | Method for transforming a digital image from a first to a second colorant space | |
| JP4985162B2 (en) | Color gamut generation device, color gamut generation program, and color conversion device | |
| JP2008147937A (en) | Image processing apparatus and image processing method | |
| JP4524578B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
| JP2009004917A (en) | Color processing apparatus and method | |
| JP4023188B2 (en) | Color image processing apparatus, color image processing method, and color image processing program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20051219 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20051219 |
|
| RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7426 Effective date: 20051219 |
|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20051219 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070717 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070910 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071108 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080404 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080602 |
|
| 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: 20080630 |
|
| 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: 20080707 |
|
| 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: 20110711 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120711 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120711 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130711 Year of fee payment: 5 |
|
| LAPS | Cancellation because of no payment of annual fees |