JP3680912B2 - Color conversion device - Google Patents

Color conversion device Download PDF

Info

Publication number
JP3680912B2
JP3680912B2 JP28915398A JP28915398A JP3680912B2 JP 3680912 B2 JP3680912 B2 JP 3680912B2 JP 28915398 A JP28915398 A JP 28915398A JP 28915398 A JP28915398 A JP 28915398A JP 3680912 B2 JP3680912 B2 JP 3680912B2
Authority
JP
Japan
Prior art keywords
color
polynomial
coefficient
color conversion
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP28915398A
Other languages
Japanese (ja)
Other versions
JP2000125141A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP28915398A priority Critical patent/JP3680912B2/en
Publication of JP2000125141A publication Critical patent/JP2000125141A/en
Application granted granted Critical
Publication of JP3680912B2 publication Critical patent/JP3680912B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は、カラープリンタなどに用いられる、ある色空間の入力色を別の色空間の出力色に変換する装置に関する。
【0002】
【従来の技術】
カラープリンタなどでは、CIEL*a*b*(*は、図面中では上付きとするが、明細書中では上付きとしない)色空間などの色空間の画像信号を、色材色空間であるCMYK(シアン、マゼンタ、イエロー、ブラック)色空間などの色空間の画像信号に変換する。しかし一般に、カラープリンタなどでは、色変換特性の非線形性が非常に強い。そのような場合でも精度よく色変換を行うために、従来、補間機能を備えた多次元LUT(多次元ルックアップテーブル)や、多項式による近似が用いられている。
【0003】
特開平9−130626号には、カラープリンタの色材色空間であるCMYK色空間の画像信号をCIEL*a*b*色空間の画像信号に変換するに当たって、CMYK信号からC’M’Y’信号を求め、そのC’M’Y’信号の大小関係をもとにC’M’Y’色空間を8分割して、各領域で81項の多項式による近似を行うことによって、高精度の色変換を実現することが示されている。
【0004】
【発明が解決しようとする課題】
しかしながら、この特開平9−130626号の方法では、81項もの多項式を用いるため、多項式の係数を保持するためのメモリ量が多くなるとともに、処理速度が遅くなるという問題がある。また、CIEL*a*b*色空間などの色空間からカラープリンタの色材色空間への色変換を行う場合には使えないという問題がある。
【0005】
そこで、この発明は、少ないメモリ量で高速かつ高精度に、しかもカラープリンタの色材色空間への色変換を行う場合にも、色変換することができるようにしたものである。
【0006】
【課題を解決するための手段】
この発明では、
明るさ成分と明るさ成分以外の成分とに分離された色空間の入力色を、他の色空間の出力色に変換する色変換装置において、
前記入力色の明るさ成分を入力とし、前記出力色の各成分を出力とする多項式の係数を、前記入力色の明るさ成分以外の成分をパラメータとして保持する係数記憶手段と、
前記入力色の明るさ成分以外の成分をパラメータとして前記係数記憶手段から得られる係数を用いて、前記多項式を演算して、前記出力色の各成分を求める多項式演算手段と、を設ける。
【0007】
この場合、前記係数記憶手段が、前記入力色の明るさ成分以外の成分の離散的な値についての前記多項式の係数を保持するとともに、この係数記憶手段から得られる離散的な係数から、補間によって、前記多項式演算手段での多項式演算に用いられる係数を求める係数補間手段を備えるものとすることができる。
【0008】
【作用】
CIEL*a*b*色空間などのように、明るさ成分と明るさ成分以外の成分とに分離された色空間では、その色空間と変換後の任意の色空間との関係において、入力色の明るさ成分に対する出力色の変化が、入力色の明るさ成分以外の成分に対する出力色の変化に比べて、小さく滑らかである。
【0009】
この発明では、この点に着目して、入力色の明るさ成分を入力とし、出力色の各成分を出力とする、すなわち入力色の明るさ成分から出力色の各成分を算出する多項式の係数を、入力色の明るさ成分以外の成分をパラメータとして、あらかじめ求めておいて、係数記憶手段に保持しておき、この係数記憶手段から得られる係数を用いて、多項式演算手段によって上記の多項式を演算して、出力色の各成分を求めるものである。
【0010】
したがって、この発明によれば、多項式の次数を小さくすることができるので、係数記憶手段のメモリ量を少なくすることができるとともに、高速かつ高精度の色変換を行うことができる。
【0011】
【発明の実施の形態】
この発明の一実施形態として、D50標準光源でのCIEL*a*b*色空間を入力色の色空間とし、あるカラープリンタの色材色空間であるCMYK色空間を出力色の色空間として、入力色を出力色に色変換する場合を示す。入力色の各成分L*,a*,b*および出力色の各成分C,M,Y,Kは、いずれも8ビットデータで表現されるものとする。
【0012】
図5は、a*およびb*を0に固定し、L*のみを0から100まで変化させた場合の、CMYKの変化を示したものであり、図6は、L*を50に、b*を0に、それぞれ固定し、a*のみを−128から127まで変化させた場合の、CMYKの変化を示したものであり、図7は、L*を50に、a*を0に、それぞれ固定し、b*のみを−128から127まで変化させた場合の、CMYKの変化を示したものである。
【0013】
図5と図6および図7とでは、明らかに特徴が異なっている。すなわち、L*に対するCMYKの変化は、L*の再現範囲(このプリンタでは7≦L*≦94)内では、滑らかで、かつ変化率が小さい。これに対して、a*およびb*の再現範囲(−75≦a*≦75,−65≦b*≦115)内では、特にa*,b*が0付近でCMYKの変化率が大きく変わっている。これは、一般に、無彩色に近い、すなわちa*=b*=0に近い範囲の色を再現する場合には、安定した色再現を得る目的で、CMYの一部をKに置き換えてKを生成する下色除去ないし墨生成を行うために、その範囲の特性が異なってしまうことが、主な原因である。
【0014】
この発明は、このようにL*に対するCMYKの変化が小さいという、一般的には、明るさ成分と明るさ成分以外の成分とに分離された色空間の入力色の明るさ成分に対する、出力色の各成分の変化が小さいという、特徴を利用することによって、少ないメモリ量で高速かつ高精度の色変換を実現したものである。
【0015】
〔実施例1〕
図1は、この発明の色変換装置の第1の例を示す。この例では、入力色は、L*:0〜100、a*,b*:−128〜127の範囲を、各成分につき8ビットに量子化したCIEL*a*b*データとし、出力色は、各成分につき8ビットに量子化したCMYKデータとする。
【0016】
この例の色変換装置は、色変換制御手段1、係数記憶手段2および多項式演算手段3を備える構成とする。色変換制御手段1は、図では省略したが、CPU、このCPUが実行すべき後述するような色変換処理ルーチンが書き込まれたROM、およびCPUの作業エリアとして動作するRAMなどを有するものとする。
【0017】
あらかじめ、a*およびb*の、それぞれ−128から127までの全ての値の組み合わせにつき、L*を入力とし、CMYKを出力とする、すなわちL*からCMYKを算出するn次多項式の係数eを求めておき、その係数eを係数記憶手段2に保持しておく。
【0018】
係数eは、e(a*,b*,i,n)で表すことができる。iは、算出する出力色の成分を示し、例えば、i=0がC、i=1がM、i=2がY、i=3がKである。nは、高速かつ高精度の色変換を実現できる範囲で任意に決定できるが、この例では、n=0〜3とする。すなわち、多項式は3次とする。
【0019】
具体的に、係数記憶手段2には、例えば、図3に示すように、a*が−128から127まで1ずつ増加し、それぞれのa*についてb*が−128から127まで1ずつ増加した場合のa*,b*の組のそれぞれに対応する、L*からCを算出する多項式(i=0)、L*からMを算出する多項式(i=1)、L*からYを算出する多項式(i=2)、およびL*からKを算出する多項式(i=3)の、それぞれ0次から3次までの係数という順で、係数e(a*,b*,i,n)を記憶しておく。
【0020】
このように係数記憶手段2に保持された係数eは、色変換制御手段1によって、入力色L*a*b*中のa*,b*をインデックスとして係数記憶手段2から読み出され、多項式演算手段3に送られる。
【0021】
多項式演算手段3では、その係数eを用いて、入力色L*a*b*中のL*から、3次多項式を演算して、出力色CMYKを算出する。したがって、その多項式演算、ないし得られる出力色CMYKは、
O(i)=e(a*,b*,i,0)
+e(a*,b*,i,1)L*
+e(a*,b*,i,2)L*2
+e(a*,b*,i,3)L*3 …(1)
で表される。ただし、i=0〜3、O(0)=C,O(1)=M,O(2)=Y,O(3)=Kである。
【0022】
図1では、多項式演算手段3を色変換制御手段1とは別の手段として示しているが、係数eを用いた多項式演算による出力色CMYKの算出は、CPUを備える色変換制御手段1で行うことができる。したがって、図1に示した機能構成は便宜的なものである。
【0023】
図2に、この例において色変換制御手段1が行う色変換処理ルーチンを示す。この例の色変換処理ルーチンでは、色変換制御手段1は、まず、ステップS1において、1画素の入力色L*a*b*を取り込む。
【0024】
色変換制御手段1は、次に、ステップS2において、その取り込んだ入力色L*a*b*中のa*,b*を取り出して、係数記憶手段2に記憶されている、そのa*,b*の組み合わせに対応する3次多項式の4個の係数を求めるためのインデックスを生成する。
【0025】
この例では、係数記憶手段2には、図3に示して上述したように係数e(a*,b*,i,n)が記憶されているので、i=0のC算出用の3次多項式の係数を求めるためのインデックスは、
index=(a*×256+b*)×4 …(2)
で表される。a*=b*=0であれば、index=0であり、a*=0,b*=1であれば、index=4であり、i=0のC算出用の3次多項式の係数を求めるためのインデックスは、0または4の倍数で表される。
【0026】
ステップS2では、また、色変換制御手段1は、出力カウンタ値iを0に初期化する。
【0027】
次に、色変換制御手段1は、ステップS3において、出力カウンタ値iが4より小さいか否かを判断し、4以上であれば、後述するようにステップS8に進むが、3以下であれば、ステップS4に進む。
【0028】
ステップS4では、色変換制御手段1は、上記のインデックスindexを係数記憶手段2に渡して、係数記憶手段2のテーブルを引き、出力色O(i)算出用の係数、
e(a*,b*,i,0)、
e(a*,b*,i,1)、
e(a*,b*,i,2)、
e(a*,b*,i,3)
を求める。
【0029】
色変換制御手段1は、次に、ステップS5において、その求めた係数を多項式演算手段3に渡して、多項式演算手段3によって、その係数を用いて、入力色L*a*b*中のL*から、3次多項式を演算して、出力色O(i)を算出し、さらに、ステップS6において、その算出した出力色O(i)を、色変換制御手段1中の出力バッファに蓄える。
【0030】
次に、色変換制御手段1は、ステップS7において、インデックスindexおよび出力カウンタ値iを、それぞれ1だけ進めて、ステップS3に戻る。式(2)の値に1を加えたインデックスは、i=1のM算出用の3次多項式の係数を求めるためのインデックスとなり、さらに、これに1を加えたインデックスは、i=2のY算出用の3次多項式の係数を求めるためのインデックスとなり、さらに、これに1を加えたインデックスは、i=3のK算出用の3次多項式の係数を求めるためのインデックスとなる。
【0031】
そして、上記の処理を繰り返して、出力色O(0),O(1),O(2),O(3)を順次算出し、ステップS3で出力カウンタ値iが4に達したと判断したら、色変換制御手段1は、ステップS3からステップS8に進んで、出力バッファに蓄えられた出力色O(0),O(1),O(2),O(3)を出力し、1画素についての色変換処理を終了する。
【0032】
〔実施例2〕
図4は、この発明の色変換装置の第2の例を示す。上述した第1の例は、a*,b*の全ての値の組み合わせについて、n次(3次)多項式の係数eを係数記憶手段2に保持しておく場合である。
【0033】
これに対して、図4の第2の例では、係数記憶手段2には、a*,b*の離散的な値の組についての係数e’のみを保持し、a*,b*の他の値の組については、その係数記憶手段2に保持されている離散的な係数e’から、係数補間手段4において、補間によって係数eを求める。
【0034】
図4では、係数補間手段4を色変換制御手段1とは別の手段として示しているが、係数の補間は、CPUを備える色変換制御手段1で行うことができる。したがって、図4に示した機能構成は便宜的なものである。
【0035】
具体的には、例えば、係数記憶手段2には、a*,b*ともに上位5ビット分の32個の離散的な値の組について係数e’を保持しておく。
【0036】
そして、係数補間手段4は、まず、色変換制御手段1から、入力色L*a*b*中のa*,b*を受け取って、それぞれの上位5ビットa*’,b*’を取り出し、その上位5ビットa*’,b*’によって、係数記憶手段2から係数e’として、
e00=e(a*’,b*’,i,j)、
e10=e(a*’+1,b*’,i,j)、
e01=e(a*’,b*’+1,i,j)、
e11=e(a*’+1,b*’+1,i,j)
を求める。
【0037】
次に、係数補間手段4は、その求めた係数e’と、入力色L*a*b*中のa*,b*の下位5ビットa*”,b*”とから、次の式(3)によって、n次多項式の0次からn次までのそれぞれにつき、重み付け平均補間した係数eを求める。
【0038】

Figure 0003680912
多項式演算手段3では、この係数補間手段4によって求められた係数eを用いて、第1の例と同様に、入力色L*a*b*中のL*から、n次多項式を演算して、出力色CMYKを算出する。
【0039】
この第2の例によれば、係数記憶手段2のメモリ量を、より少なくすることができる。
【0040】
〔他の実施形態〕
上述した実施形態は、CIEL*a*b*色空間の入力色を色変換する場合であるが、この発明は、これに限らず、CCIRYCrCb色空間、CIEL*u*v*色空間、CMYK色空間など、明るさ成分と明るさ成分以外の成分とに分離された色空間の入力色を色変換する場合であれば、いかなる場合にも適用することができる。CCIRYCrCb色空間ではYが、CIEL*u*v*色空間ではL*が、CMYK色空間ではKが、それぞれ明るさ成分である。
【0041】
出力色の色空間も、CMYK色空間に限らず、CMY色空間やRGB色空間などを含めて、任意の色空間とすることができる。
【0042】
多項式の次数は、高速かつ高精度の色変換を実現するために、2,3,4など、2以上の少ない数とすればよい。
【0043】
【発明の効果】
上述したように、この発明によれば、少ないメモリ量で高速かつ高精度に、しかもカラープリンタの色材色空間への色変換を行う場合にも、色変換することができる。
【図面の簡単な説明】
【図1】実施例1の色変換装置を示す図である。
【図2】実施例1の色変換処理ルーチンを示す図である。
【図3】実施例1において係数記憶手段に保持された係数を示す図である。
【図4】実施例2の色変換装置を示す図である。
【図5】L*に対するCMYKの変化の例を示す図である。
【図6】a*に対するCMYKの変化の例を示す図である。
【図7】b*に対するCMYKの変化の例を示す図である。
【符号の説明】
1…色変換制御手段
2…係数記憶手段
3…多項式演算手段
4…係数補間手段[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an apparatus for converting an input color in one color space into an output color in another color space, which is used in a color printer or the like.
[0002]
[Prior art]
In a color printer or the like, an image signal of a color space such as CIE L * a * b * (* is superscript in the drawing but not superscript in the specification) color space is a color material color space. The image signal is converted into an image signal in a color space such as CMYK (cyan, magenta, yellow, black) color space. However, in general, a color printer or the like has a very strong nonlinearity of color conversion characteristics. In order to perform color conversion with high accuracy even in such a case, conventionally, a multidimensional LUT (multidimensional lookup table) having an interpolation function or approximation by a polynomial is used.
[0003]
In Japanese Patent Laid-Open No. 9-130626, when converting an image signal in a CMYK color space, which is a color material color space of a color printer, into an image signal in a CIEL * a * b * color space, C′M′Y ′ is converted from the CMYK signal. By obtaining a signal, dividing the C′M′Y ′ color space into 8 based on the magnitude relationship of the C′M′Y ′ signal, and performing approximation with 81 polynomials in each region, high accuracy It has been shown to implement color conversion.
[0004]
[Problems to be solved by the invention]
However, the method disclosed in Japanese Patent Laid-Open No. 9-130626 uses as many as 81 polynomials, so that there is a problem that the amount of memory for holding the coefficients of the polynomial increases and the processing speed becomes slow. In addition, there is a problem that it cannot be used when color conversion from a color space such as the CIEL * a * b * color space to the color material color space of the color printer is performed.
[0005]
Therefore, the present invention is capable of performing color conversion with a small amount of memory at high speed and with high accuracy and also when performing color conversion to a color material color space of a color printer.
[0006]
[Means for Solving the Problems]
In this invention,
In a color conversion device that converts an input color in a color space separated into a brightness component and a component other than the brightness component into an output color in another color space,
Coefficient storage means for holding a brightness component of the input color as input and a coefficient of a polynomial that outputs each component of the output color as a parameter other than the brightness component of the input color;
Polynomial calculating means for calculating each polynomial of the output color by calculating the polynomial using a coefficient obtained from the coefficient storage means using a component other than the brightness component of the input color as a parameter;
[0007]
In this case, the coefficient storage means holds the coefficients of the polynomial for discrete values of components other than the brightness component of the input color, and by interpolation from the discrete coefficients obtained from the coefficient storage means. Coefficient interpolating means for obtaining coefficients used for polynomial arithmetic in the polynomial arithmetic means can be provided.
[0008]
[Action]
In a color space that is separated into a brightness component and a component other than the brightness component, such as a CIE L * a * b * color space, the input color depends on the relationship between the color space and an arbitrary color space after conversion. The change in the output color with respect to the brightness component is smaller and smoother than the change in the output color with respect to components other than the brightness component of the input color.
[0009]
In this invention, paying attention to this point, the coefficient of the polynomial that takes the brightness component of the input color as input and outputs each component of the output color, that is, calculates each component of the output color from the brightness component of the input color. Is obtained in advance using parameters other than the brightness component of the input color as parameters, stored in the coefficient storage means, and using the coefficients obtained from the coefficient storage means, the polynomial calculation means calculates the above polynomial. By calculating, each component of the output color is obtained.
[0010]
Therefore, according to the present invention, since the degree of the polynomial can be reduced, the amount of memory of the coefficient storage means can be reduced, and color conversion can be performed at high speed and with high accuracy.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
As one embodiment of the present invention, a CIE L * a * b * color space with a D50 standard light source is used as an input color color space, and a CMYK color space that is a color material color space of a certain color printer is used as an output color color space. The case where the input color is converted to the output color is shown. The input color components L *, a *, b * and the output color components C, M, Y, K are all represented by 8-bit data.
[0012]
FIG. 5 shows changes in CMYK when a * and b * are fixed to 0 and only L * is changed from 0 to 100. FIG. 6 shows that L * is 50 and b FIG. 7 shows the change in CMYK when * is fixed to 0 and only a * is changed from −128 to 127. FIG. 7 shows that L * is 50, a * is 0, FIG. 9 shows changes in CMYK when only b * is changed from −128 to 127, respectively.
[0013]
FIG. 5 is clearly different from FIG. 6 and FIG. That is, the change in CMYK relative to L * is smooth and has a small change rate within the L * reproduction range (7 ≦ L * ≦ 94 in this printer). On the other hand, within the reproduction range of a * and b * (−75 ≦ a * ≦ 75, −65 ≦ b * ≦ 115), the rate of change of CMYK changes greatly especially when a * and b * are near 0. ing. In general, when reproducing a color in a range close to an achromatic color, that is, close to a * = b * = 0, a part of CMY is replaced with K for the purpose of obtaining stable color reproduction. The main cause is that the characteristics of the range are different in order to remove the generated under color or generate the black ink.
[0014]
In the present invention, the output color for the brightness component of the input color in the color space, which is generally separated into the brightness component and the component other than the brightness component, is such that the change in CMYK with respect to L * is small. By utilizing the feature that the change of each component is small, high-speed and high-accuracy color conversion is realized with a small amount of memory.
[0015]
[Example 1]
FIG. 1 shows a first example of the color conversion apparatus of the present invention. In this example, the input color is CIEL * a * b * data quantized to 8 bits for each component in the range of L *: 0 to 100, a *, b *: -128 to 127, and the output color is , CMYK data quantized to 8 bits for each component.
[0016]
The color conversion apparatus of this example includes a color conversion control unit 1, a coefficient storage unit 2, and a polynomial calculation unit 3. Although not shown in the figure, the color conversion control unit 1 includes a CPU, a ROM in which a color conversion processing routine to be described later to be executed by the CPU is written, a RAM that operates as a work area of the CPU, and the like. .
[0017]
In advance, for all combinations of values of a * and b * from −128 to 127, L * is input and CMYK is output, that is, the coefficient e of an n-order polynomial for calculating CMYK from L * The coefficient e is obtained and held in the coefficient storage means 2.
[0018]
The coefficient e can be represented by e (a *, b *, i, n). i indicates the component of the output color to be calculated. For example, i = 0 is C, i = 1 is M, i = 2 is Y, and i = 3 is K. n can be arbitrarily determined within a range where high-speed and high-accuracy color conversion can be realized. In this example, n = 0 to 3. That is, the polynomial is cubic.
[0019]
Specifically, in the coefficient storage unit 2, for example, as shown in FIG. 3, a * increases by 1 from −128 to 127, and b * increases by 1 from −128 to 127 for each a *. A polynomial for calculating C from L * (i = 0), a polynomial for calculating M from L * (i = 1), and Y from L * corresponding to each pair of a * and b * in the case Coefficients e (a *, b *, i, n) in the order of coefficients from the 0th order to the 3rd order of the polynomial (i = 2) and the polynomial (i = 3) for calculating K from L * Remember.
[0020]
The coefficient e held in the coefficient storage unit 2 in this way is read from the coefficient storage unit 2 by the color conversion control unit 1 using a * and b * in the input color L * a * b * as an index. It is sent to the calculation means 3.
[0021]
The polynomial calculation means 3 calculates the output color CMYK by calculating a cubic polynomial from L * in the input color L * a * b * using the coefficient e. Therefore, the polynomial operation or the output color CMYK obtained is
O (i) = e (a *, b *, i, 0)
+ E (a *, b *, i, 1) L *
+ E (a *, b *, i, 2) L * 2
+ E (a *, b *, i, 3) L * 3 (1)
It is represented by However, i = 0-3, O (0) = C, O (1) = M, O (2) = Y, O (3) = K.
[0022]
In FIG. 1, the polynomial calculation means 3 is shown as a means different from the color conversion control means 1, but the output color CMYK is calculated by the polynomial calculation using the coefficient e by the color conversion control means 1 including a CPU. be able to. Therefore, the functional configuration shown in FIG. 1 is convenient.
[0023]
FIG. 2 shows a color conversion processing routine performed by the color conversion control means 1 in this example. In the color conversion processing routine of this example, the color conversion control means 1 first takes in the input color L * a * b * of one pixel in step S1.
[0024]
Next, in step S2, the color conversion control means 1 takes out a * and b * in the input color L * a * b * taken in, and stores the a *, b * stored in the coefficient storage means 2. An index for obtaining four coefficients of a cubic polynomial corresponding to the combination of b * is generated.
[0025]
In this example, since the coefficient e (a *, b *, i, n) is stored in the coefficient storage means 2 as described above with reference to FIG. 3, the third order for calculating C with i = 0. The index for finding the coefficients of the polynomial is
index = (a * × 256 + b *) × 4 (2)
It is represented by If a * = b * = 0, then index = 0, if a * = 0, b * = 1, then index = 4, and the coefficient of the cubic polynomial for C calculation with i = 0. The index for obtaining is represented by 0 or a multiple of 4.
[0026]
In step S2, the color conversion control means 1 initializes the output counter value i to 0.
[0027]
Next, in step S3, the color conversion control unit 1 determines whether or not the output counter value i is smaller than 4, and if it is 4 or more, the process proceeds to step S8 as described later, but if it is 3 or less. The process proceeds to step S4.
[0028]
In step S4, the color conversion control unit 1 passes the index index to the coefficient storage unit 2, draws the table of the coefficient storage unit 2, and calculates a coefficient for calculating the output color O (i).
e (a *, b *, i, 0),
e (a *, b *, i, 1),
e (a *, b *, i, 2),
e (a *, b *, i, 3)
Ask for.
[0029]
Next, in step S5, the color conversion control unit 1 passes the obtained coefficient to the polynomial calculation unit 3, and the polynomial calculation unit 3 uses the coefficient to calculate L in the input color L * a * b *. From *, a cubic polynomial is calculated to calculate the output color O (i), and the calculated output color O (i) is stored in the output buffer in the color conversion control means 1 in step S6.
[0030]
Next, in step S7, the color conversion control unit 1 advances the index index and the output counter value i by 1, respectively, and returns to step S3. The index obtained by adding 1 to the value of the equation (2) is an index for obtaining the coefficient of the third-order polynomial for M calculation with i = 1, and the index obtained by adding 1 to this is the Y of i = 2 This is an index for obtaining the coefficient of the third-order polynomial for calculation, and an index obtained by adding 1 to this is an index for obtaining the coefficient of the third-order polynomial for K calculation for i = 3.
[0031]
Then, the above processing is repeated to sequentially calculate output colors O (0), O (1), O (2), and O (3), and when it is determined that the output counter value i has reached 4 in step S3. The color conversion control means 1 proceeds from step S3 to step S8, and outputs the output colors O (0), O (1), O (2), O (3) stored in the output buffer, and 1 pixel. The color conversion process for is terminated.
[0032]
[Example 2]
FIG. 4 shows a second example of the color conversion apparatus of the present invention. The first example described above is a case where the coefficient storage means 2 holds the coefficient e of the nth-order (third-order) polynomial for all combinations of values of a * and b *.
[0033]
On the other hand, in the second example of FIG. 4, the coefficient storage means 2 holds only the coefficient e ′ for a set of discrete values of a * and b *, and other than a * and b *. Is obtained from the discrete coefficient e ′ held in the coefficient storage means 2 by the coefficient interpolation means 4 by interpolation.
[0034]
In FIG. 4, the coefficient interpolation unit 4 is shown as a unit different from the color conversion control unit 1, but the coefficient interpolation can be performed by the color conversion control unit 1 including a CPU. Therefore, the functional configuration shown in FIG. 4 is convenient.
[0035]
Specifically, for example, the coefficient storage means 2 holds a coefficient e ′ for a set of 32 discrete values for the upper 5 bits for both a * and b *.
[0036]
The coefficient interpolating unit 4 first receives a * and b * in the input color L * a * b * from the color conversion control unit 1 and extracts the upper 5 bits a * ′ and b * ′. The upper 5 bits a * ′ and b * ′ are used as the coefficient e ′ from the coefficient storage means 2,
e00 = e (a * ′, b * ′, i, j),
e10 = e (a * ′ + 1, b * ′, i, j),
e01 = e (a * ′, b * ′ + 1, i, j),
e11 = e (a * ′ + 1, b * ′ + 1, i, j)
Ask for.
[0037]
Next, the coefficient interpolating means 4 uses the obtained coefficient e ′ and the lower 5 bits a * ”and b *” of a * and b * in the input color L * a * b * to obtain the following equation ( By 3), the weighted average interpolated coefficient e is obtained for each of the nth order polynomials from the 0th order to the nth order.
[0038]
Figure 0003680912
In the polynomial calculation means 3, the coefficient e obtained by the coefficient interpolation means 4 is used to calculate an nth order polynomial from L * in the input color L * a * b * as in the first example. The output color CMYK is calculated.
[0039]
According to the second example, the memory capacity of the coefficient storage unit 2 can be further reduced.
[0040]
[Other Embodiments]
In the above-described embodiment, the input color in the CIEL * a * b * color space is color-converted. However, the present invention is not limited to this, and the CCIRYCrCb color space, the CIEL * u * v * color space, and the CMYK color are not limited thereto. The present invention can be applied to any case as long as the input color of a color space separated into a brightness component and a component other than the brightness component is color-converted. The brightness component is Y in the CCIRYCrCb color space, L * in the CIE L * u * v * color space, and K in the CMYK color space.
[0041]
The color space of the output color is not limited to the CMYK color space but can be any color space including the CMY color space and the RGB color space.
[0042]
The order of the polynomial may be a small number of 2 or more, such as 2, 3, and 4, in order to realize high-speed and high-accuracy color conversion.
[0043]
【The invention's effect】
As described above, according to the present invention, color conversion can be performed even when performing color conversion to a color material color space of a color printer at high speed and high accuracy with a small amount of memory.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a color conversion apparatus according to a first embodiment.
FIG. 2 is a diagram illustrating a color conversion processing routine according to the first exemplary embodiment.
FIG. 3 is a diagram illustrating coefficients held in a coefficient storage unit in the first embodiment.
FIG. 4 is a diagram illustrating a color conversion apparatus according to a second embodiment.
FIG. 5 is a diagram illustrating an example of changes in CMYK with respect to L *.
FIG. 6 is a diagram illustrating an example of changes in CMYK with respect to a *.
FIG. 7 is a diagram illustrating an example of changes in CMYK with respect to b *.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Color conversion control means 2 ... Coefficient storage means 3 ... Polynomial calculation means 4 ... Coefficient interpolation means

Claims (4)

明るさ成分と明るさ成分以外の成分とに分離された色空間の入力色を、他の色空間の出力色に変換する色変換装置において、
前記入力色の明るさ成分を入力とし、前記出力色の各成分を出力とする多項式の係数を、前記入力色の明るさ成分以外の成分をパラメータとして保持する係数記憶手段と、
前記入力色の明るさ成分以外の成分をパラメータとして前記係数記憶手段から得られる係数を用いて、前記多項式を演算して、前記出力色の各成分を求める多項式演算手段と、
を備えることを特徴とする色変換装置。
In a color conversion device that converts an input color in a color space separated into a brightness component and a component other than the brightness component into an output color in another color space,
Coefficient storage means for holding a brightness component of the input color as input and a coefficient of a polynomial that outputs each component of the output color as a parameter other than the brightness component of the input color;
Using a coefficient obtained from the coefficient storage unit with a component other than the brightness component of the input color as a parameter, a polynomial calculation unit that calculates each polynomial of the output color by calculating the polynomial;
A color conversion device comprising:
請求項1の色変換装置において、
前記係数記憶手段が、前記入力色の明るさ成分以外の成分の離散的な値についての前記多項式の係数を保持するとともに、
この係数記憶手段から得られる離散的な係数から、補間によって、前記多項式演算手段での多項式演算に用いられる係数を求める係数補間手段を備えることを特徴とする色変換装置。
The color conversion apparatus according to claim 1.
The coefficient storage means holds coefficients of the polynomial for discrete values of components other than the brightness component of the input color;
A color conversion apparatus comprising coefficient interpolation means for obtaining coefficients used for polynomial calculation in the polynomial calculation means from discrete coefficients obtained from the coefficient storage means by interpolation.
請求項1または2の色変換装置において、
前記入力色の色空間がCIEL*a*b*色空間であることを特徴とする色変換装置。
The color conversion device according to claim 1 or 2,
A color conversion apparatus, wherein the color space of the input color is a CIE L * a * b * color space.
請求項1または2の色変換装置において、
前記入力色の色空間がCMYK色空間であり、前記明るさ成分としてKが用いられることを特徴とする色変換装置。
The color conversion device according to claim 1 or 2,
A color conversion apparatus, wherein a color space of the input color is a CMYK color space, and K is used as the brightness component.
JP28915398A 1998-10-12 1998-10-12 Color conversion device Expired - Fee Related JP3680912B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28915398A JP3680912B2 (en) 1998-10-12 1998-10-12 Color conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28915398A JP3680912B2 (en) 1998-10-12 1998-10-12 Color conversion device

Publications (2)

Publication Number Publication Date
JP2000125141A JP2000125141A (en) 2000-04-28
JP3680912B2 true JP3680912B2 (en) 2005-08-10

Family

ID=17739459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28915398A Expired - Fee Related JP3680912B2 (en) 1998-10-12 1998-10-12 Color conversion device

Country Status (1)

Country Link
JP (1) JP3680912B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4540492B2 (en) * 2005-01-28 2010-09-08 Hoya株式会社 Color conversion matrix calculation method and image signal processing apparatus

Also Published As

Publication number Publication date
JP2000125141A (en) 2000-04-28

Similar Documents

Publication Publication Date Title
JP3593667B2 (en) Color image processing method and apparatus
JP2994153B2 (en) Color signal converter
JP3273204B2 (en) Color separation image processing method and apparatus for four-color printer
JP4565260B2 (en) Signal processing device
JPH099089A (en) Improvement of color correction table
JPH10200770A (en) Method for correcting color of picture data
JP3548589B2 (en) Output device color reproduction method and device
JP3680912B2 (en) Color conversion device
US7154636B2 (en) Color appearance space to CMYK mapping using relative purity
JP3781107B2 (en) Color adjustment device
JPH0918727A (en) Color reproducing processor
JPH0946529A (en) Image processing unit and method
JPH11146213A (en) Color conversion method
JP4443838B2 (en) Hue-specific color adjustment processing circuit and method
JP4150994B2 (en) Image processing apparatus and color adjustment method
JP4296423B2 (en) Color conversion apparatus and color conversion method
JP3576612B2 (en) Color conversion processor
JP4221072B2 (en) Image processing method and apparatus
JP3782244B2 (en) Color conversion coefficient determination device
JPH08214175A (en) Image processing method
JPH1169176A (en) Color reproducing method
JP2004215222A (en) Color transform processing device
JP4264736B2 (en) Image processing apparatus, image processing method, and image processing system
JPH11164163A (en) Color conversion method
JP2000253267A (en) Method and device for color image processing

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050420

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050510

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100527

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110527

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees