JP2001186370A - Color conversion method and color conversion device - Google Patents

Color conversion method and color conversion device

Info

Publication number
JP2001186370A
JP2001186370A JP2000312129A JP2000312129A JP2001186370A JP 2001186370 A JP2001186370 A JP 2001186370A JP 2000312129 A JP2000312129 A JP 2000312129A JP 2000312129 A JP2000312129 A JP 2000312129A JP 2001186370 A JP2001186370 A JP 2001186370A
Authority
JP
Japan
Prior art keywords
data
comparison data
hue
comparison
minimum value
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.)
Granted
Application number
JP2000312129A
Other languages
Japanese (ja)
Other versions
JP3584971B2 (en
JP2001186370A5 (en
Inventor
Hiroaki Sugiura
博明 杉浦
Shuichi Kagawa
周一 香川
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2000312129A priority Critical patent/JP3584971B2/en
Publication of JP2001186370A publication Critical patent/JP2001186370A/en
Application granted granted Critical
Publication of JP3584971B2 publication Critical patent/JP3584971B2/en
Publication of JP2001186370A5 publication Critical patent/JP2001186370A5/ja
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a color conversion method and a color conversion device, which flexibly change conversion characteristics and which do not require a large capacity memory by independently correcting six color tones and areas between the color tones and outputting them through a gradation characteristic conversion means. SOLUTION: Coefficients on comparison data associated with the respective color tones and comparison data associated with the areas between the color tones are changed on the input signals of three colors. They are outputted through the gradation characteristic conversion means. Thus, the six color tones of red, blue, green, yellow, cyan and magenta and the color tone noticed in the areas between the color tones are changed without affecting the other color tones. Then, a non-linear characteristic that an output device has is corrected and highly precise color conversion is conducted.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、プリンタやビデ
オプリンタ、スキャナ等のフルカラー印刷関連機器、コ
ンピュータグラフィックス画像を作成する画像処理機
器、あるいはモニター等の表示装置等に使用するデータ
処理に係わり、中でも赤/緑/青の3色で表現する画像
データを使用機器等に合わせて色変換処理する色変換方
法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to data processing used for full-color printing-related devices such as printers, video printers and scanners, image processing devices for creating computer graphics images, and display devices such as monitors. In particular, the present invention relates to a color conversion method and apparatus for performing color conversion processing on image data expressed in three colors of red / green / blue according to a device to be used.

【0002】[0002]

【従来の技術】印刷における色変換は、インクが純色で
ないことによる混色性や印画の非線形性で発生する画質
劣化を補正し、良好な色再現性を持つ印刷画像を出力す
るために必須の技術である。また、モニター等の表示装
置においても、入力された色信号を表示する際、使用条
件等に合わせ所望の色再現性をもつ画像を出力(表示)
するため、色変換処理が行われている。
2. Description of the Related Art Color conversion in printing is an indispensable technique for correcting image quality deterioration caused by color mixing and non-linearity of printing due to non-pure ink, and outputting a print image having good color reproducibility. It is. Also, in a display device such as a monitor, when displaying an input color signal, an image having a desired color reproducibility is output (displayed) in accordance with use conditions and the like.
Therefore, a color conversion process is performed.

【0003】従来、上記のような場合での色変換方式に
は、テーブル変換方式とマトリクス演算方式の2種類が
ある。
Conventionally, there are two types of color conversion methods in the above case, a table conversion method and a matrix operation method.

【0004】テーブル変換方式の代表的な例として三次
元ルックアップテーブル方式があるが、この方式は、赤
と緑と青(以下、「R、G、B」と記す。)で表現した
画像データを入力し、ROMなどのメモリに予め記憶し
ているR、G、Bの画像データあるいはイエローとマゼ
ンタとシアン(以下、「Y、M、C」と記す。)の補色
データを求める方法であり、任意の変換特性を採用でき
るため、色再現性に優れた色変換を実行できる長所があ
る。
A typical example of the table conversion system is a three-dimensional lookup table system. In this system, image data expressed in red, green, and blue (hereinafter, referred to as "R, G, B"). To obtain R, G, B image data or complementary color data of yellow, magenta, and cyan (hereinafter, referred to as “Y, M, C”) stored in a memory such as a ROM. Since any conversion characteristic can be adopted, there is an advantage that color conversion with excellent color reproducibility can be executed.

【0005】しかし、画像データの組合せ毎にデータを
記憶させる単純な構成では、約400Mbitの大容量
メモリになる。例えば、特開昭63−227181号公
報には、メモリ容量の圧縮方法を開示しているが、それ
でも約5Mbitになる。したがって、この方式には、
変換特性毎に大容量メモリを必要とするため、LSI化
が困難な課題と、使用条件等の変更に柔軟に対応できな
いと言う課題がある。
However, a simple configuration for storing data for each combination of image data requires a large-capacity memory of about 400 Mbit. For example, Japanese Patent Application Laid-Open No. Sho 63-227181 discloses a method for compressing the memory capacity, but the memory capacity is still about 5 Mbit. Therefore, this scheme includes:
Since a large-capacity memory is required for each conversion characteristic, there are a problem that it is difficult to realize an LSI and a problem that it is not possible to flexibly cope with changes in use conditions and the like.

【0006】一方、マトリクス演算方式は、例えばR、
G、Bの画像データよりY、M、Cの印刷データを求め
る場合は、下記の式(27)が基本演算式である。
On the other hand, the matrix operation method is, for example, R,
When obtaining Y, M, and C print data from G and B image data, the following equation (27) is a basic operation equation.

【0007】[0007]

【数11】 [Equation 11]

【0008】ここで、i=1〜3、j=1〜3である。Here, i = 1 to 3 and j = 1 to 3.

【0009】しかし、式(27)の単純な線形演算で
は、印画等の非線形性により良好な変換特性を実現でき
ない。
However, with the simple linear operation of the equation (27), good conversion characteristics cannot be realized due to non-linearity such as printing.

【0010】上記の変換特性を改良した方法が、特公平
2−30226号公報の色補正演算装置に開示されてお
り、下記の式(28)のマトリクス演算式を採用してい
る。
A method for improving the above conversion characteristic is disclosed in Japanese Patent Publication No. Hei 2-330226, which employs a matrix operation equation of the following equation (28).

【0011】[0011]

【数12】 (Equation 12)

【0012】ここで、Nは定数、i=1〜3、j=1〜
10である。
Here, N is a constant, i = 1 to 3, j = 1 to
It is 10.

【0013】上記式(28)は、無彩色成分と色成分が
混在する画像データを直接使用するため、演算の相互干
渉が発生する。つまり、係数を1つ変更すると、着目し
ている成分または色相以外にも影響を与え、良好な変換
特性を実現できないという課題がある。
In the above equation (28), since image data in which achromatic components and color components are mixed is directly used, mutual interference of calculations occurs. That is, if one coefficient is changed, it affects not only the component or the hue of interest but also a problem that good conversion characteristics cannot be realized.

【0014】また、特開平7−170404号公報の色
変換方法は、この解決策を開示している。図18は、特
開平7−170404号公報におけるR、G、B画像デ
ータを印刷データC、M、Yに変換する色変換方法を示
すブロック回路図であり、100は補数器、101はα
β算出器、102は色相データ算出器、103は多項式
演算器、104はマトリクス演算器、105は係数発生
器、106は合成器である。
The color conversion method disclosed in Japanese Patent Application Laid-Open No. Hei 7-170404 discloses this solution. FIG. 18 is a block circuit diagram showing a color conversion method for converting R, G, B image data into print data C, M, Y in JP-A-7-170404, where 100 is a complementer and 101 is α
A β calculator, 102 is a hue data calculator, 103 is a polynomial calculator, 104 is a matrix calculator, 105 is a coefficient generator, and 106 is a synthesizer.

【0015】次に、動作を説明する。補数器100は、
画像データR、G、Bを入力とし、1の補数処理した補
色データCi、Mi、Yiを出力する。αβ算出器10
1は、この補色データの最大値βと最小値αおよび各デ
ータを特定する識別符号Sを出力する。
Next, the operation will be described. The complementer 100
The image data R, G, and B are input, and complementary color data Ci, Mi, and Yi that have undergone one's complement processing are output. αβ calculator 10
1 outputs a maximum value β and a minimum value α of the complementary color data and an identification code S for specifying each data.

【0016】色相データ算出器102は、補色データC
i、Mi、Yiと最大値βと最小値αを入力とし、r=
β−Ci、g=β−Mi、b=β−Yiおよびy=Yi
−α、m=Mi−α、c=Ci−αの減算処理によっ
て、6つの色相データr、g、b、y、m、cを出力す
る。ここで、これら6つの色相データは、この中の少な
くとも2つがゼロになる性質がある。
The hue data calculator 102 calculates the complementary color data C
i, Mi, Yi, the maximum value β and the minimum value α are input, and r =
β-Ci, g = β-Mi, b = β-Yi and y = Yi
By subtraction processing of −α, m = Mi−α, c = Ci−α, six hue data r, g, b, y, m, c are output. Here, these six hue data have a property that at least two of them are zero.

【0017】多項式演算器103は、色相データと識別
符号を入力とし、r、g、b中でゼロでない2つのデー
タQ1、Q2と、y、m、c中でゼロでない2つのデー
タP1、P2を選択し、それらから多項式データT1=
P1×P2、T3=Q1×Q2及びT2=T1/(P1
+P2)、T4=T2/(Q1+Q2)を演算し、出力
する。なお、これ以降の説明において、積を表すのに、
図中アスターリスク(*)を用いる場合がある。
The polynomial operation unit 103 receives hue data and an identification code as inputs, and two non-zero data Q1, Q2 in r, g, b and two non-zero data P1, P2 in y, m, c. From which polynomial data T1 =
P1 × P2, T3 = Q1 × Q2 and T2 = T1 / (P1
+ P2) and T4 = T2 / (Q1 + Q2) are calculated and output. In the following description, the product is expressed as
Aster risk (*) may be used in the figure.

【0018】係数発生器105は、識別信号Sの情報を
もとに、多項式データの演算係数U(Fij)と固定係
数U(Eij)を発生する。マトリクス演算器104
は、色相データy、m、cと多項式データT1〜T4お
よび係数Uを入力とし、下記の式(29)の演算結果を
色インクデータC1、M1、Y1として出力する。
The coefficient generator 105 generates an operation coefficient U (Fij) and a fixed coefficient U (Eij) of polynomial data based on the information of the identification signal S. Matrix calculator 104
Receives hue data y, m, and c, polynomial data T1 to T4, and coefficient U, and outputs the calculation result of the following equation (29) as color ink data C1, M1, and Y1.

【0019】[0019]

【数13】 (Equation 13)

【0020】合成器106は、色インクデータC1、M
1、Y1と無彩色データであるαを加算し、印刷データ
C、M、Yを出力する。したがって、印刷データを求め
る演算式は、式(30)となる。
The synthesizer 106 outputs the color ink data C1, M
The print data C, M, and Y are output by adding 1, Y1 and α, which is achromatic color data. Therefore, the operation expression for obtaining the print data is Expression (30).

【0021】[0021]

【数14】 [Equation 14]

【0022】なお、式(30)では、画素集合に対する
一般式を開示している。
Equation (30) discloses a general equation for a pixel set.

【0023】ここで、図19(A)〜(F)は、赤
(R)、青(G)、緑(B)、イエロー(Y)、シアン
(C)、マゼンタ(M)の6つの色相と色相データy、
m、c、r、g、bの関係を模式的に示した図であり、
各色相データは、3つの色相に関与している。また、図
20(A)〜(F)は、上記6つの色相と乗算項y×
m、r×g、c×y、g×b、m×c、b×rの関係を
模式的に示した図であり、それぞれ6つの色相のうち特
定の色相に関与していることが分かる。
FIGS. 19A to 19F show six hues of red (R), blue (G), green (B), yellow (Y), cyan (C), and magenta (M). And hue data y,
FIG. 4 is a diagram schematically illustrating a relationship among m, c, r, g, and b;
Each hue data is related to three hues. FIGS. 20A to 20F show the above six hues and the multiplication term y ×
FIG. 4 is a diagram schematically showing a relationship among m, r × g, c × y, g × b, m × c, and b × r, and it can be seen that each of the relationships is related to a specific hue among six hues. .

【0024】したがって、式(30)における6つの乗
算項y×m、m×c、c×y、r×g、g×b、b×r
は、それぞれ赤、青、緑、イエロー、シアン、マゼンタ
の6つの色相のうち特定の色相にのみ関与し、つまり、
赤に対してはy×m、青に対してはm×c、緑に対して
はc×y、イエローに対してはr×g、シアンに対して
はg×b、マゼンタに対してはb×rのみが有効な乗算
項となる。
Therefore, the six multiplication terms y × m, m × c, c × y, r × g, g × b, b × r in equation (30)
Is only relevant for a particular hue of the six hues red, blue, green, yellow, cyan, and magenta,
Y × m for red, m × c for blue, c × y for green, r × g for yellow, g × b for cyan, and m × c for magenta Only b × r is a valid multiplication term.

【0025】また、式(30)における6つの乗除算項
y×m/(y+m)、m×c/(m+c)、c×y/
(c+y)、r×g/(r+g)、g×b/(g+
b)、b×r/(b+r)についても、それぞれ6つの
色相のうち、特定の色相にのみ関与することとなる。
Further, the six multiplication / division terms y × m / (y + m), m × c / (m + c), c × y /
(C + y), r × g / (r + g), g × b / (g +
Regarding b) and b × r / (b + r), only the specific hues among the six hues are involved.

【0026】以上より、上述の図18における色変換方
法によると、特定の色相に関与する乗算項および乗除算
項に係る係数を変化させることにより、着目している色
相のみを、他の色相に影響を与えることなく、調整でき
る。
As described above, according to the above-described color conversion method in FIG. 18, by changing coefficients relating to a multiplication term and a multiplication / division term relating to a specific hue, only the hue of interest is converted to another hue. Can be adjusted without affecting.

【0027】また、上記の乗算項は、彩度に対して2次
的な演算となり、乗除算項は、彩度に対して1次的な演
算となる。したがって、乗算項と乗除算項を共に用いる
ことにより、彩度に対する印画などの非線形性をも補正
することができる。
The multiplication term is a secondary operation with respect to the saturation, and the multiplication / division term is a primary operation with respect to the saturation. Therefore, by using both the multiplication term and the multiplication / division term, it is also possible to correct non-linearity such as printing with respect to saturation.

【0028】但し、この色変換法においても、好みに応
じて、特定の色相の色空間に占める領域の拡大または縮
小が望まれる場合、具体的には、マゼンタ〜赤〜イエロ
ーと変化する色空間において、赤の占める領域の拡大ま
たは縮小が望まれるような場合に、この要求を満たすこ
とが出来ない。
However, also in this color conversion method, if it is desired to enlarge or reduce the area occupied in the color space of a specific hue as desired, a color space that changes from magenta to red to yellow In this case, when it is desired to enlarge or reduce the area occupied by red, this requirement cannot be satisfied.

【0029】[0029]

【発明が解決しようとする課題】従来の色変換方法また
は色変換装置は、ROMなどのメモリによる三次元ルッ
クアップテーブルテーブル変換方式で構成されている場
合は、大容量メモリが必要になり、変換特性を柔軟に変
更することができない問題点があり、また、マトリクス
演算方式で構成される場合は、着目する色相のみを調整
できるが、赤、青、緑、イエロー、シアン、マゼンタの
6つ色相間の変化の度合いを補正できないため、全色空
間において良好な変換特性を実現できない問題点があ
り、さらに、図19に示されたマトリクス方式による色
変換方法あるいは、表示装置が、例えば、印刷装置、陰
極線管表示装置あるいは液晶表示装置などのように画像
データに対して、反射率あるいは、輝度等で表現される
出力が、非線形な階調特性を有する場合には、上述のよ
うな高々1 次的な演算あるいは、2 次的な演算の組み合
わせのみでは、例えば、液晶表示装置が有するようなS
字特性などの複雑な階調特性に対しては、良好な変換特
性が得られなかった。
The conventional color conversion method or color conversion apparatus requires a large-capacity memory when a three-dimensional lookup table table conversion method using a memory such as a ROM is used. There is a problem that the characteristics cannot be changed flexibly, and in the case of a matrix operation method, only the hue of interest can be adjusted, but the six hues of red, blue, green, yellow, cyan, and magenta can be adjusted. Since the degree of change between them cannot be corrected, there is a problem that good conversion characteristics cannot be realized in all color spaces. Further, a color conversion method using a matrix system shown in FIG. The output represented by the reflectance or luminance of image data such as a cathode ray tube display device or a liquid crystal display device has a non-linear scale. If it has a characteristic, most primarily operations or as described above, the only combination of secondary operations such as, for example, a liquid crystal display device S
Good conversion characteristics could not be obtained for complicated gradation characteristics such as character characteristics.

【0030】この発明は上記のような問題点を解消する
ためになされたもので、画像データR、G、Bを画素毎
に色変換する色変換方法および色変換装置において、
赤、青、緑、イエロー、シアン、マゼンタの6つの色相
に加え、更に赤〜イエロー、イエロー〜緑、緑〜シア
ン、シアン〜青、青〜マゼンタ、マゼンタ〜赤の6つの
色相間の領域を独立に補正することにより、上記6つの
色相間の変化の度合いをも補正でき、また変換特性を柔
軟に変更でき、さらに、出力装置の有する非線型特性に
たいしても良好な変換が可能で、しかも3次元ルックア
ップテーブルのごとき大容量メモリを必要としない色変
換方法または色変換装置を得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and a color conversion method and a color conversion apparatus for color-converting image data R, G, and B for each pixel are provided.
In addition to the six hues of red, blue, green, yellow, cyan, and magenta, an area between the six hues of red to yellow, yellow to green, green to cyan, cyan to blue, blue to magenta, and magenta to red By independently correcting, the degree of change between the above six hues can be corrected, the conversion characteristics can be flexibly changed, and good conversion can be performed even for the non-linear characteristics of the output device. An object of the present invention is to provide a color conversion method or a color conversion device that does not require a large-capacity memory such as a dimensional lookup table.

【0031】[0031]

【課題を解決するための手段】この発明に係る色変換装
置は、入力画像データR、G、Bに関して、最大値βと
最小値αを算出する算出手段と、入力画像データR、
G、Bと上記算出手段からの出力である最大値βと最小
値αにより色相データr、g、bおよびy、m、cを算
出する色相データ算出手段と、上記色相データ算出手段
からの出力である各色相データを用いた第1の比較デー
タを生成する手段と、上記第1の比較データを生成する
手段からの出力である第1の比較データを用いた第2の
比較データを生成する手段と、所定のマトリクス係数を
発生する係数発生手段を備えるとともに、上記第1の比
較データを生成する手段からの第1の比較データと、上
記第2の比較データを生成する手段からの第2の比較デ
ータと、上記色相データ算出手段からの色相データ、お
よび上記算出手段からの最小値αを用いて、上記係数発
生手段からの係数によるマトリクス演算し、該マトリク
ス演算により得られる画像データの階調特性を変換する
ことにより色変換された画像データを得る。
A color conversion apparatus according to the present invention comprises: calculating means for calculating a maximum value β and a minimum value α for input image data R, G, and B;
Hue data calculation means for calculating hue data r, g, b and y, m, c from G, B and the maximum value β and the minimum value α output from the calculation means, and the output from the hue data calculation means Means for generating first comparison data using the respective hue data, and second comparison data using the first comparison data output from the means for generating the first comparison data. Means for generating predetermined matrix coefficients, the first comparison data from the means for generating the first comparison data, and the second comparison data from the means for generating the second comparison data. Using the comparison data, the hue data from the hue data calculation unit, and the minimum value α from the calculation unit, a matrix operation is performed using the coefficient from the coefficient generation unit, and the matrix operation is performed. Obtaining the image data color conversion by converting the gradation characteristic of the image data.

【0032】また、この発明に係る色変換装置は、上記
最大値βと最小値αを算出する算出手段が入力画像デー
タR、G、Bにおける最大値βと最小値αを算出する手
段を備え、上記色相データ算出手段が入力された画像デ
ータR、G、Bと上記算出手段からの出力である最大値
βと最小値αからの減算処理r=R−α、g=G―α、
b=B―αおよびy=β−B、m=β−G、c=β−R
により色相データr、g、bおよびy、m、cを算出す
る手段を備えるとともに、上記第1の比較データを生成
する手段が、色相データr、g、b間およびy、m、c
間における比較データを求める手段を備え、上記第2の
比較データを生成する手段が、上記第1の比較データを
生成する手段からの出力である第1の比較データに所定
の演算係数を乗算する乗算手段と、上記乗算手段からの
出力を用いた比較データを求める手段とを備え、上記第
1の比較データを生成する手段からの第1の比較データ
と、上記第2の比較データを生成する手段からの第2の
比較データと、上記色相データ算出手段からの色相デー
タ、および上記算出手段からの最小値αを用いて、マト
リクス演算し、該マトリクス演算により得られる画像デ
ータの階調特性を変換することにより色変換された画像
データを得る。
In the color conversion apparatus according to the present invention, the calculating means for calculating the maximum value β and the minimum value α includes means for calculating the maximum value β and the minimum value α in the input image data R, G, B. Subtraction processing from the image data R, G, B input to the hue data calculation means and the maximum value β and the minimum value α output from the calculation means r = R−α, g = G−α,
b = B-α and y = β-B, m = β-G, c = β-R
Means for calculating hue data r, g, b and y, m, c, and the means for generating the first comparison data include hue data r, g, b and y, m, c
Means for obtaining comparison data between the two means, wherein the means for generating the second comparison data multiplies the first comparison data output from the means for generating the first comparison data by a predetermined operation coefficient. Multiplying means; and means for obtaining comparison data using the output from the multiplying means, wherein the first comparison data from the means for generating the first comparison data and the second comparison data are generated. Using the second comparison data from the means, the hue data from the hue data calculation means, and the minimum value α from the calculation means, a matrix operation is performed, and the gradation characteristics of the image data obtained by the matrix operation are calculated. By performing the conversion, color-converted image data is obtained.

【0033】また、この発明に係る色変換装置は、上記
最大値βと最小値αを算出する算出手段が画像データ
R、G、Bより補色データC、M、Yを求め、上記補色
データC、M、Yにおける最大値βと最小値αを算出す
る手段を備え、上記色相データ算出手段が画像データ
R、G、Bより補色データC、M、Yを求め、上記補色
データC、M、Yと上記算出手段からの出力である最大
値βと最小値αからの減算処理r=β−C、g=β−
M、b=β−Yおよびy=Y−α、m=M−α、c=C
−αにより色相データr、g、bおよびy、m、cを算
出する手段を備えるとともに、上記第1の比較データを
生成する手段が、色相データr、g、b間およびy、
m、c間における比較データを求める手段を備え、上記
第2の比較データを生成する手段が、上記第1の比較デ
ータを生成する手段からの出力である第1の比較データ
に所定の演算係数を乗算する乗算手段と、上記乗算手段
からの出力を用いた比較データを求める手段とを備え、
上記第1の比較データを生成する手段からの第1の比較
データと、上記第2の比較データを生成する手段からの
第2の比較データと、上記色相データ算出手段からの色
相データ、および上記算出手段からの最小値αを用い
て、マトリクス演算し、該マトリクス演算により得られ
る画像データの階調特性を変換することにより色変換さ
れた画像データを得る。
In the color conversion apparatus according to the present invention, the calculating means for calculating the maximum value β and the minimum value α obtains the complementary color data C, M, and Y from the image data R, G, and B. , M, Y, a means for calculating the maximum value β and the minimum value α, wherein the hue data calculating means obtains complementary color data C, M, Y from the image data R, G, B, and outputs the complementary color data C, M, Subtraction processing from Y and the maximum value β and the minimum value α output from the calculation means r = β−C, g = β−
M, b = β-Y and y = Y−α, m = M−α, c = C
Means for calculating hue data r, g, b and y, m, c by -α, and means for generating the first comparison data, the means for generating hue data r, g, b, and y,
means for obtaining comparison data between m and c, wherein the means for generating the second comparison data includes a predetermined operation coefficient added to the first comparison data output from the means for generating the first comparison data. Multiplying means, and means for obtaining comparison data using an output from the multiplying means,
The first comparison data from the means for generating the first comparison data, the second comparison data from the means for generating the second comparison data, the hue data from the hue data calculation means, A matrix operation is performed using the minimum value α from the calculation means, and the gradation characteristics of the image data obtained by the matrix operation are converted to obtain color-converted image data.

【0034】また、この発明に係る色変換装置は、上記
第1の比較データを生成する手段が、色相データr、
g、b、y、m、cを用いて、第1の比較データh1r
=min(m、y)、h1g=min(y、c)、h1
b=min(c、m)、h1c=min(g、b)、h
1m= min(b、r)、h1y= min(r、
g)(min(A、B)はA、Bの最小値を示す。)を
求める手段を備え、上記第2の比較データを生成する手
段が、上記第1の比較データh1r、h1g、h1b、
h1c、h1m、h1yを用いて、第2の比較データh
2ry=min(aq1×h1y、ap1×h1r)、
h2rm=min(aq2×h1m、ap2×h1
r)、 h2gy=min(aq3×h1y、ap3×
h1g)、 h2gc=min(aq4×h1c、ap
4×h1g)、 h2bm=min(aq5×h1m、
ap5×h1b)、 h2bc=min(aq6×h1
c、ap6×h1b)を求めるとともに、上記係数発生
手段において所定のマトリクス係数Eij(i=1〜
3、j=1〜3)とFij(i=1〜3、j=1〜1
2)を発生し、色相データと、上記第1の比較データ
と、第2の比較データおよび上記算出手段の出力である
最小値αに対し、式(1)のマトリクス演算式によりマ
トリクス演算を行うことにより色変換された画像データ
を得る。
Further, in the color conversion apparatus according to the present invention, the means for generating the first comparison data includes hue data r,
First comparison data h1r using g, b, y, m, and c
= Min (m, y), h1g = min (y, c), h1
b = min (c, m), h1c = min (g, b), h
1m = min (b, r), h1y = min (r,
g) (where min (A, B) indicates the minimum value of A and B), and the means for generating the second comparison data includes the first comparison data h1r, h1g, h1b,
Using h1c, h1m, and h1y, the second comparison data h
2ry = min (aq1 × h1y, ap1 × h1r),
h2rm = min (aq2 × h1m, ap2 × h1
r), h2gy = min (aq3 × h1y, ap3 ×
h1g), h2gc = min (aq4 × h1c, ap
4 × h1g), h2bm = min (aq5 × h1m,
ap6 × h1b), h2bc = min (aq6 × h1)
c, ap6 × h1b), and a predetermined matrix coefficient Eij (i = 1 to
3, j = 1 to 3) and Fij (i = 1 to 3, j = 1 to 1)
2) is performed, and the hue data, the first comparison data, the second comparison data, and the minimum value α output from the calculation means are subjected to a matrix operation using the matrix operation expression of the expression (1). Thus, color-converted image data is obtained.

【0035】[0035]

【数15】 (Equation 15)

【0036】また、この発明に係る色変換装置は、上記
第1の比較データを生成する手段が、色相データr、
g、b、y、m、cを用いて、第1の比較データh1r
=min(m、y)、h1g=min(y、c)、h1
b=min(c、m)、h1c=min(g、b)、h
1m= min(b、r)、h1y= min(r、
g)(min(A、B)はA、Bの最小値を示す。)を
求める手段を備え、上記第2の比較データを生成する手
段が、上記第1の比較データh1r、h1g、h1b、
h1c、h1m、h1yを用いて、第2の比較データh
2ry=min(aq1×h1y、ap1×h1r)、
h2rm=min(aq2×h1m、ap2×h1
r)、 h2gy=min(aq3×h1y、ap3×
h1g)、 h2gc=min(aq4×h1c、ap
4×h1g)、 h2bm=min(aq5×h1m、
ap5×h1b)、 h2bc=min(aq6×h1
c、ap6×h1b)を求めるとともに、上記係数発生
手段において所定のマトリクス係数Eij(i=1〜
3、j=1〜3)とFij(i=1〜3、j=1〜1
2)を発生し、色相データと、上記第1の比較データ
と、第2の比較データおよび上記算出手段の出力である
最小値αに対し、式(2)のマトリクス演算式によりマ
トリクス演算を行うことにより色変換された画像データ
を得る。
Further, in the color conversion apparatus according to the present invention, the means for generating the first comparison data includes hue data r,
First comparison data h1r using g, b, y, m, and c
= Min (m, y), h1g = min (y, c), h1
b = min (c, m), h1c = min (g, b), h
1m = min (b, r), h1y = min (r,
g) (where min (A, B) indicates the minimum value of A and B), and the means for generating the second comparison data includes the first comparison data h1r, h1g, h1b,
Using h1c, h1m, and h1y, the second comparison data h
2ry = min (aq1 × h1y, ap1 × h1r),
h2rm = min (aq2 × h1m, ap2 × h1
r), h2gy = min (aq3 × h1y, ap3 ×
h1g), h2gc = min (aq4 × h1c, ap
4 × h1g), h2bm = min (aq5 × h1m,
ap6 × h1b), h2bc = min (aq6 × h1)
c, ap6 × h1b), and a predetermined matrix coefficient Eij (i = 1 to
3, j = 1 to 3) and Fij (i = 1 to 3, j = 1 to 1)
2) is performed, and the hue data, the first comparison data, the second comparison data, and the minimum value α output from the calculation means are subjected to a matrix operation using the matrix operation expression of Expression (2). Thus, color-converted image data is obtained.

【0037】[0037]

【数16】 (Equation 16)

【0038】また、この発明に係る色変換装置は、上記
第1の比較データを生成する手段が、色相データr、
g、b、y、m、cを用いて、第1の比較データh1r
=min(m、y)、h1g=min(y、c)、h1
b=min(c、m)、h1c=min(g、b)、h
1m= min(b、r)、h1y= min(r、
g)(min(A、B)はA、Bの最小値を示す。)を
求める手段を備え、上記第2の比較データを生成する手
段が、上記第1の比較データh1r、h1g、h1b、
h1c、h1m、h1yを用いて、第2の比較データh
2ry=min(aq1×h1y、ap1×h1r)、
h2rm=min(aq2×h1m、ap2×h1
r)、 h2gy=min(aq3×h1y、ap3×
h1g)、 h2gc=min(aq4×h1c、ap
4×h1g)、 h2bm=min(aq5×h1m、
ap5×h1b)、 h2bc=min(aq6×h1
c、ap6×h1b)を求めるとともに、上記係数発生
手段において所定のマトリクス係数Eij(i=1〜
3、j=1〜3)とFij(i=1〜3、j=1〜1
3)を発生し、色相データと、上記第1の比較データ
と、第2の比較データおよび上記算出手段の出力である
最小値αに対し、式(3)のマトリクス演算式によりマ
トリクス演算を行うことにより色変換された画像データ
を得る。
Further, in the color conversion apparatus according to the present invention, the means for generating the first comparison data includes hue data r,
First comparison data h1r using g, b, y, m, and c
= Min (m, y), h1g = min (y, c), h1
b = min (c, m), h1c = min (g, b), h
1m = min (b, r), h1y = min (r,
g) (where min (A, B) indicates the minimum value of A and B), and the means for generating the second comparison data includes the first comparison data h1r, h1g, h1b,
Using h1c, h1m, and h1y, the second comparison data h
2ry = min (aq1 × h1y, ap1 × h1r),
h2rm = min (aq2 × h1m, ap2 × h1
r), h2gy = min (aq3 × h1y, ap3 ×
h1g), h2gc = min (aq4 × h1c, ap
4 × h1g), h2bm = min (aq5 × h1m,
ap6 × h1b), h2bc = min (aq6 × h1)
c, ap6 × h1b), and a predetermined matrix coefficient Eij (i = 1 to
3, j = 1 to 3) and Fij (i = 1 to 3, j = 1 to 1)
3) is generated, and a matrix operation is performed on the hue data, the first comparison data, the second comparison data, and the minimum value α output from the calculation means by the matrix operation expression of the expression (3). Thus, color-converted image data is obtained.

【0039】[0039]

【数17】 [Equation 17]

【0040】また、この発明に係る色変換装置は、上記
第1の比較データを生成する手段が、色相データr、
g、b、y、m、cを用いて、第1の比較データh1r
=min(m、y)、h1g=min(y、c)、h1
b=min(c、m)、h1c=min(g、b)、h
1m= min(b、r)、h1y= min(r、
g)(min(A、B)はA、Bの最小値を示す。)を
求める手段を備え、上記第2の比較データを生成する手
段が、上記第1の比較データh1r、h1g、h1b、
h1c、h1m、h1yを用いて、第2の比較データh
2ry=min(aq1×h1y、ap1×h1r)、
h2rm=min(aq2×h1m、ap2×h1
r)、 h2gy=min(aq3×h1y、ap3×
h1g)、 h2gc=min(aq4×h1c、ap
4×h1g)、 h2bm=min(aq5×h1m、
ap5×h1b)、 h2bc=min(aq6×h1
c、ap6×h1b)を求めるとともに、上記係数発生
手段において所定のマトリクス係数Eij(i=1〜
3、j=1〜3)とFij(i=1〜3、j=1〜1
3)を発生し、色相データと、上記第1の比較データ
と、第2の比較データおよび上記算出手段の出力である
最小値αに対し、式(4)のマトリクス演算式によりマ
トリクス演算を行うことにより色変換された画像データ
を得る。
Further, in the color conversion apparatus according to the present invention, the means for generating the first comparison data includes hue data r,
First comparison data h1r using g, b, y, m, and c
= Min (m, y), h1g = min (y, c), h1
b = min (c, m), h1c = min (g, b), h
1m = min (b, r), h1y = min (r,
g) (where min (A, B) indicates the minimum value of A and B), and the means for generating the second comparison data includes the first comparison data h1r, h1g, h1b,
Using h1c, h1m, and h1y, the second comparison data h
2ry = min (aq1 × h1y, ap1 × h1r),
h2rm = min (aq2 × h1m, ap2 × h1
r), h2gy = min (aq3 × h1y, ap3 ×
h1g), h2gc = min (aq4 × h1c, ap
4 × h1g), h2bm = min (aq5 × h1m,
ap6 × h1b), h2bc = min (aq6 × h1)
c, ap6 × h1b), and a predetermined matrix coefficient Eij (i = 1 to
3, j = 1 to 3) and Fij (i = 1 to 3, j = 1 to 1)
3) is generated, and a matrix operation is performed on the hue data, the first comparison data, the second comparison data, and the minimum value α output from the calculation means by a matrix operation expression of Expression (4). Thus, color-converted image data is obtained.

【0041】[0041]

【数18】 (Equation 18)

【0042】また、この発明に係る色変換装置は、上記
係数発生手段が、式(5)の所定のマトリクス係数Ei
j(i=1〜3、j=1〜3)を発生する。
Further, in the color conversion apparatus according to the present invention, the coefficient generation means may be configured such that the predetermined matrix coefficient Ei of the equation (5) is used.
j (i = 1 to 3, j = 1 to 3).

【0043】[0043]

【数19】 [Equation 19]

【0044】また、この発明に係る色変換装置は、上記
第2の比較データを生成する手段における、各第1の比
較データに所定の演算係数aq1〜aq6およびap1
〜ap6を乗算する乗算手段が、演算係数aq1〜aq
6およびap1〜ap6を1、2、4、8、…となる整
数値とし、ビットシフトにより各第1の比較データと上
記演算係数との演算を行う。
Further, in the color conversion apparatus according to the present invention, the first comparison data in the means for generating the second comparison data may include predetermined operation coefficients aq1 to aq6 and ap1.
Multiplying means for multiplying the calculation coefficients aq1 to aq
6 and ap1 to ap6 are integer values of 1, 2, 4, 8,..., And the first comparison data and the above operation coefficients are calculated by bit shifting.

【0045】また、この発明に係る色変換装置は、上記
入力画像データR、G、Bにおける最大値βと最小値α
を算出する算出手段が、画像データを用いて最大値βと
最小値αを算出するとともに、最大および最小となる画
像データまたは補色データの種類に応じて、ゼロとなる
色相データを特定するための識別符号を生成し出力する
手段を備え、上記算出手段から出力される識別符号に基
づき、上記比較データを生成する手段において比較デー
タを生成し、上記係数発生手段においてマトリクス係数
を発生するとともに、上記算出手段からの識別符号に応
じて上記係数発生手段からの係数によるマトリクス演算
を行うことにより色変換された画像データまたは補色デ
ータを得る。
Further, the color conversion apparatus according to the present invention provides a maximum value β and a minimum value α for the input image data R, G, B.
Calculating means for calculating the maximum value β and the minimum value α using the image data, and specifying the hue data to be zero according to the type of the image data or the complementary color data to be the maximum and the minimum. Means for generating and outputting an identification code, based on the identification code output from the calculation means, generating comparison data in the means for generating the comparison data, and generating matrix coefficients in the coefficient generation means, By performing a matrix operation based on the coefficients from the coefficient generating means in accordance with the identification code from the calculating means, color-converted image data or complementary color data is obtained.

【0046】この発明に係る色変換方法は、赤、緑、青
の3色で表現する画像データR、G、Bを画素毎に色変
換する色変換方法において、画素毎の画像データにおけ
る最大値βおよび最小値αを算出し、上記画像データと
上記最大値βおよび最小値αにより色相データr、g、
bおよびy、m、cを算出し、上記各色相データを用い
て第1の比較データを生成し、該第1の比較データを用
いて第2の比較データを生成し、所定のマトリクス係数
を発生するとともに、上記第1の比較データ、上記第2
の比較データ、上記色相データおよび上記最小値αを用
いて、上記所定のマトリクス係数によってマトリクス演
算し、該マトリクス演算により得られる画像データの階
調特性を変換することにより色変換された画像データを
得ることを特徴とする。
The color conversion method according to the present invention is a color conversion method for color-converting image data R, G and B expressed in three colors of red, green and blue for each pixel. β and the minimum value α are calculated, and the hue data r, g,
b, y, m, and c are calculated, first comparison data is generated using the above hue data, second comparison data is generated using the first comparison data, and a predetermined matrix coefficient is calculated. Occurs, the first comparison data, the second
Using the comparison data, the hue data, and the minimum value α, a matrix operation is performed using the predetermined matrix coefficient, and the color-converted image data is converted by converting the gradation characteristics of the image data obtained by the matrix operation. It is characterized by obtaining.

【0047】また、この発明に係る色変換方法は、入力
された画像データR、G、Bと最大値βおよび最小値α
とからの減算処理r=R−α、g=G−α、b=B−α
およびy=β−B、m=β−G、c=β−Rにより色相
データr、g、bおよびy、m、cを算出するととも
に、上記色相データr、g、b間およびy、m、c間に
おける比較データを求め、第1の比較データに所定の演
算係数を乗算し、該乗算出力を用いて比較データを求
め、上記第1の比較データ、第2の比較データ、上記色
相データおよび上記最小値αを用いて、マトリクス演算
し、該マトリクス演算により得られる画像データの階調
特性を変換することにより色変換された画像データを得
ることを特徴とする。
Further, according to the color conversion method of the present invention, the input image data R, G, B and the maximum value β and the minimum value α
Subtraction processing from r = R−α, g = G−α, b = B−α
And h = β-B, m = β-G, c = β-R, and calculate hue data r, g, b and y, m, c, and the hue data r, g, b, and y, m , C, the first comparison data is multiplied by a predetermined operation coefficient, the comparison data is obtained using the multiplied output, and the first comparison data, the second comparison data, and the hue data are obtained. And performing a matrix operation using the minimum value α and converting the gradation characteristics of the image data obtained by the matrix operation to obtain color-converted image data.

【0048】また、この発明に係る色変換方法は、画像
データR、G、Bより補色データC(シアン)、M(マ
ゼンタ)、Y(イエロー)を求め、上記補色データC、
M、Yにおける最大値βおよび最小値αを算出し、上記
画像データR、G、Bより補色データC、M、Yを求
め、上記補色データC、M、Yと上記最大値βおよび最
小値αとからの減算処理r=β−C、g=β−M、b=
β−Yおよびy=Y−α、m=M−α、c=C−αによ
り色相データr、g、bおよびy、m、cを算出すると
ともに、色相データr、g、b間およびy、m、c間に
おける比較データを求め、第1の比較データに所定の演
算係数を乗算し、該乗算出力を用いた比較データを求
め、上記第1の比較データ、第2の比較データ、上記色
相データおよび上記最小値αを用いて、マトリクス演算
し、該マトリクス演算により得られる画像データの階調
特性を変換することにより色変換された画像データを得
ることを特徴とする。
In the color conversion method according to the present invention, the complementary color data C (cyan), M (magenta) and Y (yellow) are obtained from the image data R, G and B, and the complementary color data C and
The maximum value β and the minimum value α in M and Y are calculated, the complementary color data C, M, and Y are obtained from the image data R, G, and B, and the complementary color data C, M, and Y and the maximum value β and the minimum value are calculated. Subtraction from α r = β-C, g = β-M, b =
The hue data r, g, b and y, m, c are calculated from β-Y and y = Y−α, m = M−α, c = C−α, and the hue data r, g, b, and y are calculated. , M, and c, multiply the first comparison data by a predetermined operation coefficient, obtain comparison data using the multiplied output, and obtain the first comparison data, the second comparison data, A matrix operation is performed using the hue data and the minimum value α, and tone conversion of image data obtained by the matrix operation is performed to obtain color-converted image data.

【0049】また、この発明に係る色変換方法は、色相
データr、g、b、y、m、cを用いて、第1の比較デ
ータh1r=min(m、y)、h1g=min(y、
c)、h1b=min(c、m)、h1c=min
(g、b)、h1m= min(b、r)、h1y=
min(r、g)(min(A、B)はA、Bの最小値
を示す。)を求め、上記第1の比較データh1r、h1
g、h1b、h1c、h1m、h1yを用いて、第2の
比較データh2ry=min(aq1×h1y、ap1
×h1r)、 h2rm=min(aq2×h1m、a
p2×h1r)、h2gy=min(aq3×h1y、
ap3×h1g)、 h2gc=min(aq4×h1
c、ap4×h1g)、 h2bm=min(aq5×
h1m、ap5×h1b)、 h2bc=min(aq
6×h1c、ap6×h1b)を求めるとともに、所定
のマトリクス係数Eij(i=1〜3、j=1〜3)と
Fij(i=1〜3、j=1〜12)とを発生し、上記
色相データ、上記第1の比較データ、上記第2の比較デ
ータおよび最小値αに対し、式(1)のマトリクス演算
式によりマトリクス演算を行うことにより色変換された
画像データを得ることを特徴とする。
The color conversion method according to the present invention uses the hue data r, g, b, y, m, and c to obtain first comparison data h1r = min (m, y) and h1g = min (y ,
c), h1b = min (c, m), h1c = min
(G, b), h1m = min (b, r), h1y =
min (r, g) (min (A, B) indicates the minimum value of A and B) and obtains the first comparison data h1r and h1.
Using g, h1b, h1c, h1m, and h1y, the second comparison data h2ry = min (aq1 × h1y, ap1
× h1r), h2rm = min (aq2 × h1m, a
p2 × h1r), h2gy = min (aq3 × h1y,
ap3 × h1g), h2gc = min (aq4 × h1)
c, ap4 × h1g), h2bm = min (aq5 ×
h1m, ap5 × h1b), h2bc = min (aq
6 × h1c, ap6 × h1b), and generates predetermined matrix coefficients Eij (i = 1 to 3, j = 1 to 3) and Fij (i = 1 to 3, j = 1 to 12). A color-converted image data is obtained by performing a matrix operation on the hue data, the first comparison data, the second comparison data, and the minimum value α using a matrix operation expression of Expression (1). And

【0050】[0050]

【数20】 (Equation 20)

【0051】また、この発明に係る色変換方法は、色相
データr、g、b、y、m、cを用いて、第1の比較デ
ータh1r=min(m、y)、h1g=min(y、
c)、h1b=min(c、m)、h1c=min
(g、b)、h1m= min(b、r)、h1y=
min(r、g)(min(A、B)はA、Bの最小値
を示す。)を求め、上記第1の比較データh1r、h1
g、h1b、h1c、h1m、h1yを用いて、第2の
比較データh2ry=min(aq1×h1y、ap1
×h1r)、 h2rm=min(aq2×h1m、a
p2×h1r)、h2gy=min(aq3×h1y、
ap3×h1g)、 h2gc=min(aq4×h1
c、ap4×h1g)、 h2bm=min(aq5×
h1m、ap5×h1b)、 h2bc=min(aq
6×h1c、ap6×h1b)を求めるとともに、所定
のマトリクス係数Eij(i=1〜3、j=1〜3)と
Fij(i=1〜3、j=1〜12)とを発生し、上記
色相データ、上記第1の比較データ、上記第2の比較デ
ータおよび最小値αに対し、式(2)のマトリクス演算
式によりマトリクス演算を行うことにより色変換された
画像データを得ることを特徴とする。
Further, the color conversion method according to the present invention uses the hue data r, g, b, y, m, c to obtain first comparison data h1r = min (m, y) and h1g = min (y). ,
c), h1b = min (c, m), h1c = min
(G, b), h1m = min (b, r), h1y =
min (r, g) (min (A, B) indicates the minimum value of A and B) and obtains the first comparison data h1r and h1.
Using g, h1b, h1c, h1m, and h1y, the second comparison data h2ry = min (aq1 × h1y, ap1
× h1r), h2rm = min (aq2 × h1m, a
p2 × h1r), h2gy = min (aq3 × h1y,
ap3 × h1g), h2gc = min (aq4 × h1)
c, ap4 × h1g), h2bm = min (aq5 ×
h1m, ap5 × h1b), h2bc = min (aq
6 × h1c, ap6 × h1b), and generates predetermined matrix coefficients Eij (i = 1 to 3, j = 1 to 3) and Fij (i = 1 to 3, j = 1 to 12). A color-converted image data is obtained by performing a matrix operation on the hue data, the first comparison data, the second comparison data, and the minimum value α using a matrix operation expression of Expression (2). And

【0052】[0052]

【数21】 (Equation 21)

【0053】また、この発明に係る色変換方法は、色相
データr、g、b、y、m、cを用いて、第1の比較デ
ータh1r=min(m、y)、h1g=min(y、
c)、h1b=min(c、m)、h1c=min
(g、b)、h1m= min(b、r)、h1y=
min(r、g)(min(A、B)はA、Bの最小値
を示す。)を求め、上記第1の比較データh1r、h1
g、h1b、h1c、h1m、h1yを用いて、第2の
比較データh2ry=min(aq1×h1y、ap1
×h1r)、 h2rm=min(aq2×h1m、a
p2×h1r)、h2gy=min(aq3×h1y、
ap3×h1g)、 h2gc=min(aq4×h1
c、ap4×h1g)、 h2bm=min(aq5×
h1m、ap5×h1b)、 h2bc=min(aq
6×h1c、ap6×h1b)を求めるとともに、所定
のマトリクス係数Eij(i=1〜3、j=1〜3)と
Fij(i=1〜3、j=1〜13)とを発生し、上記
色相データ、上記第1の比較データ、上記第2の比較デ
ータおよび最小値αに対し、式(3)のマトリクス演算
式によりマトリクス演算を行うことにより色変換された
画像データを得ることを特徴とする。
The color conversion method according to the present invention uses the hue data r, g, b, y, m, c to obtain first comparison data h1r = min (m, y) and h1g = min (y). ,
c), h1b = min (c, m), h1c = min
(G, b), h1m = min (b, r), h1y =
min (r, g) (min (A, B) indicates the minimum value of A and B) and obtains the first comparison data h1r and h1.
Using g, h1b, h1c, h1m, and h1y, the second comparison data h2ry = min (aq1 × h1y, ap1
× h1r), h2rm = min (aq2 × h1m, a
p2 × h1r), h2gy = min (aq3 × h1y,
ap3 × h1g), h2gc = min (aq4 × h1)
c, ap4 × h1g), h2bm = min (aq5 ×
h1m, ap5 × h1b), h2bc = min (aq
6 × h1c, ap6 × h1b), and generates predetermined matrix coefficients Eij (i = 1 to 3, j = 1 to 3) and Fij (i = 1 to 3, j = 1 to 13). A color-converted image data is obtained by performing a matrix operation on the hue data, the first comparison data, the second comparison data, and the minimum value α using a matrix operation expression of Expression (3). And

【0054】[0054]

【数22】 (Equation 22)

【0055】また、この発明に係る色変換方法は、色相
データr、g、b、y、m、cを用いて、第1の比較デ
ータh1r=min(m、y)、h1g=min(y、
c)、h1b=min(c、m)、h1c=min
(g、b)、h1m= min(b、r)、h1y=
min(r、g)(min(A、B)はA、Bの最小値
を示す。)を求め、上記第1の比較データh1r、h1
g、h1b、h1c、h1m、h1yを用いて、第2の
比較データh2ry=min(aq1×h1y、ap1
×h1r)、 h2rm=min(aq2×h1m、a
p2×h1r)、h2gy=min(aq3×h1y、
ap3×h1g)、 h2gc=min(aq4×h1
c、ap4×h1g)、 h2bm=min(aq5×
h1m、ap5×h1b)、 h2bc=min(aq
6×h1c、ap6×h1b)を求めるとともに、所定
のマトリクス係数Eij(i=1〜3、j=1〜3)と
Fij(i=1〜3、j=1〜13)とを発生し、上記
色相データ、上記第1の比較データ、上記第2の比較デ
ータおよび最小値αに対し、式(4)のマトリクス演算
式によりマトリクス演算を行うことにより色変換された
画像データを得ることを特徴とする。
Further, the color conversion method according to the present invention uses the hue data r, g, b, y, m, c to obtain first comparison data h1r = min (m, y) and h1g = min (y). ,
c), h1b = min (c, m), h1c = min
(G, b), h1m = min (b, r), h1y =
min (r, g) (min (A, B) indicates the minimum value of A and B) and obtains the first comparison data h1r and h1.
Using g, h1b, h1c, h1m, and h1y, the second comparison data h2ry = min (aq1 × h1y, ap1
× h1r), h2rm = min (aq2 × h1m, a
p2 × h1r), h2gy = min (aq3 × h1y,
ap3 × h1g), h2gc = min (aq4 × h1)
c, ap4 × h1g), h2bm = min (aq5 ×
h1m, ap5 × h1b), h2bc = min (aq
6 × h1c, ap6 × h1b), and generates predetermined matrix coefficients Eij (i = 1 to 3, j = 1 to 3) and Fij (i = 1 to 3, j = 1 to 13). A color-converted image data is obtained by performing a matrix operation on the hue data, the first comparison data, the second comparison data, and the minimum value α by a matrix operation expression of Expression (4). And

【0056】[0056]

【数23】 (Equation 23)

【0057】また、この発明に係る色変換方法は、式
(5)の所定のマトリクス係数Eij(i=1〜3、j
=1〜3)を発生することを特徴とする。
Further, according to the color conversion method of the present invention, the predetermined matrix coefficient Eij (i = 1 to 3, j
= 1 to 3).

【0058】[0058]

【数24】 (Equation 24)

【0059】また、この発明に係る色変換方法は、各第
1の比較データに所定の演算係数aq1〜aq6および
ap1〜ap6を乗算する際、演算係数aq1〜aq6
およびap1〜ap6を1、2、4、8、…となる整数
値とし、ビットシフトにより上記各第1の比較データと
上記演算係数との演算を行うことを特徴とする。
In the color conversion method according to the present invention, when the first comparison data is multiplied by predetermined operation coefficients aq1 to aq6 and ap1 to ap6, the operation coefficients aq1 to aq6 are used.
And ap1 to ap6 are integer values of 1, 2, 4, 8,..., And the first comparison data and the operation coefficient are calculated by bit shifting.

【0060】また、この発明に係る色変換方法は、画像
データを用いて最大値βおよび最小値αを算出するとと
もに、最大および最小となる画像データまたは補色デー
タの種類に応じて、ゼロとなる色相データを特定するた
めの識別符号を生成して出力し、該識別符号に基づき、
第1の比較データを生成し、マトリクス係数を発生する
とともに、上記識別符号に応じて上記マトリクス係数に
よるマトリクス演算を行うことにより色変換された画像
データまたは補色データを得ることを特徴とする。
Further, in the color conversion method according to the present invention, the maximum value β and the minimum value α are calculated using the image data, and become zero according to the types of the maximum and minimum image data or complementary color data. Generates and outputs an identification code for specifying hue data, and based on the identification code,
It is characterized in that first comparison data is generated, a matrix coefficient is generated, and color-converted image data or complementary color data is obtained by performing a matrix operation using the matrix coefficient according to the identification code.

【0061】[0061]

【発明の実施の形態】以下、この発明をその実施の形態
を示す図面に基づいて具体的に説明する。 実施の形態1.図1はこの発明の一実施形態による色変
換方法および色変換装置の構成の一例を示すブロック図
である。図において、1は入力された画像データR、
G、Bの最大値βと最小値αを算出し、各データを特定
する識別符号S1を生成して出力するαβ算出手段、2
は画像データR、G、Bと上記αβ算出手段1からの出
力より色相データr、g、b、y、m、cを算出する色
相データ算出手段、3は多項式演算手段、4はマトリク
ス演算手段、5は係数発生手段、6は合成手段、15
a、15b、15cは、階調特性変換手段である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be specifically described with reference to the drawings showing the embodiments. Embodiment 1 FIG. FIG. 1 is a block diagram showing an example of a configuration of a color conversion method and a color conversion device according to an embodiment of the present invention. In the drawing, 1 is input image data R,
Αβ calculating means for calculating a maximum value β and a minimum value α of G and B, generating and outputting an identification code S1 for specifying each data, 2
Are hue data calculating means for calculating hue data r, g, b, y, m, c from the image data R, G, B and the output from the αβ calculating means 1, 3 is a polynomial calculating means, 4 is a matrix calculating means 5 is a coefficient generating means, 6 is a combining means, 15
Reference numerals a, 15b, and 15c denote gradation characteristic conversion means.

【0062】また、図2は、上記多項式演算手段3の一
構成例を示すブロック図である。図において、7は入力
された色相データのうちゼロとなるデータを除去するゼ
ロ除去手段、9a、9b、9cは入力されたデータの最
小値を選択し出力する最小値選択手段、11は上記αβ
算出手段1からの識別符号S1に基づき、演算係数を発
生し出力する演算係数発生手段、10a、10bは上記
演算係数発生手段11からの出力が示す演算係数と、最
小値選択手段9a及び9bの出力との乗算を行う演算手
段である。
FIG. 2 is a block diagram showing an example of the configuration of the polynomial operation means 3. In the figure, reference numeral 7 denotes zero removing means for removing data which becomes zero among the input hue data, 9a, 9b and 9c denote minimum value selecting means for selecting and outputting the minimum value of the input data, and 11 denotes the αβ
Based on the identification code S1 from the calculating means 1, the calculating coefficient generating means 10a and 10b for generating and outputting the calculating coefficient include the calculating coefficient indicated by the output from the calculating coefficient generating means 11 and the minimum value selecting means 9a and 9b. This is an arithmetic means for multiplying the output.

【0063】次に動作について説明する。赤、緑、青の
三色に対応した入力信号Ri、Gi、Biは、αβ算出
手段1および色相データ算出手段2へと送られ、αβ算
出手段1は、入力画像データRi、Gi、Biの最大値
βと最小値αを算出して出力するとともに、入力画像デ
ータRi、Gi、Biのうち最大値となるデータと最小
値となるデータを特定する識別符号S1を生成し出力す
る。色相データ算出手段2は、入力画像データRi、G
i、Biと上記αβ算出手段1からの出力である最大値
βと最小値αを入力とし、r=Ri−α、g=Gi−
α、b=Bi−αおよびy=β−Bi、m=β−Gi、
c=β−Riの減算処理を行い、6つの色相データr、
g、b、y、m、cを出力する。
Next, the operation will be described. The input signals Ri, Gi, Bi corresponding to the three colors of red, green, and blue are sent to the αβ calculating means 1 and the hue data calculating means 2, and the αβ calculating means 1 outputs the input image data Ri, Gi, Bi. A maximum value β and a minimum value α are calculated and output, and an identification code S1 for specifying the maximum value data and the minimum value data among the input image data Ri, Gi, Bi is generated and output. The hue data calculating means 2 calculates the input image data Ri, G
i, Bi and the maximum value β and the minimum value α output from the αβ calculation means 1 are input, and r = Ri−α, g = Gi−
α, b = Bi-α and y = β-Bi, m = β-Gi,
c = β-Ri is subtracted to obtain six hue data r,
Output g, b, y, m, and c.

【0064】このとき、上記αβ算出手段1において算
出される最大値β、最小値αは、β=MAX(Ri、G
i、Bi)、α=MIN(Ri、Gi、Bi)であり、
色相データ算出手段2において算出される6つの色相デ
ータr、g、b、y、m、cは、r=Ri−α、g=G
i−α、b=Bi−αおよびy=β−Bi、m=β−G
i、c=β−Riの減算処理によって得られているの
で、これら6つの色相データは、この中の少なくとも2
つがゼロになる性質がある。例えば、最大値βがRi、
最小値αがGiである場合(β=Ri、α=Gi)は、
上記の減算処理よりg=0およびc=0となり、また、
最大値βがRi、最小値αがBiである場合(β=R
i、α=Bi)は、b=0およびc=0となる。すなわ
ち、最大、最小となるRi、Gi、Biの組み合わせに
より、少なくとも、r、g、bの中で1つ、y、m、c
の中で1つの合計2つの値がゼロとなることになる。
At this time, the maximum value β and the minimum value α calculated by the αβ calculation means 1 are β = MAX (Ri, G
i, Bi), α = MIN (Ri, Gi, Bi),
The six hue data r, g, b, y, m, and c calculated by the hue data calculation means 2 are as follows: r = Ri−α, g = G
i-α, b = Bi-α and y = β-Bi, m = β-G
Since i and c = β-Ri are obtained by subtraction processing, these six hue data have at least two of them.
One has the property of becoming zero. For example, the maximum value β is Ri,
When the minimum value α is Gi (β = Ri, α = Gi),
From the above subtraction processing, g = 0 and c = 0, and
When the maximum value β is Ri and the minimum value α is Bi (β = R
i, α = Bi) results in b = 0 and c = 0. That is, at least one of r, g, and b, y, m, and c is determined by the maximum and minimum combinations of Ri, Gi, and Bi.
, The total of two values will be zero.

【0065】したがって、上記αβ算出手段1において
は、6つの色相データのうちゼロとなるデータを特定す
る識別符号S1を生成し出力する。この識別符号S1
は、最大値βと最小値αがRi、Gi、Biのうちどれ
であるかにより、データを特定する6種類の識別符号S
1を生成することができる。図3は識別符号S1とR
i、Gi、Biにおける最大値βと最小値αおよびゼロ
となる色相データの関係を示す図である。なお、図中の
識別符号S1の値はその一例を示すものであり、この限
りではなく、他の値であってもよい。
Therefore, the αβ calculating means 1 generates and outputs an identification code S1 for specifying data which becomes zero among the six hue data. This identification code S1
Are six types of identification codes S that specify data depending on which of the maximum value β and the minimum value α is Ri, Gi, or Bi.
1 can be generated. FIG. 3 shows the identification codes S1 and R
It is a figure which shows the maximum value (beta) in i, Gi, Bi, the minimum value (alpha), and the relationship of the hue data used as zero. It should be noted that the value of the identification code S1 in the figure is an example, and the value is not limited to this and may be another value.

【0066】次に、色相データ算出手段2からの出力で
ある6つの色相データr、g、bおよびy、m、cは多
項式演算手段3へと送られ、また、r、g、bについて
はマトリクス演算手段4へも送られる。多項式演算手段
3には上記αβ算出手段1から出力される識別符号S1
も入力されており、r、g、b中でゼロでない2つのデ
ータQ1、Q2と、y、m、c中でゼロでない2つのデ
ータP1、P2を選択して演算を行うのであるが、この
動作を図2に従って説明する。
Next, the six hue data r, g, b and y, m, c output from the hue data calculation means 2 are sent to the polynomial operation means 3, and r, g, b are It is also sent to the matrix calculation means 4. The identification code S1 output from the αβ calculating means 1 is provided to the polynomial calculating means 3.
Is input, and two non-zero data Q1, Q2 in r, g, b and two non-zero data P1, P2 in y, m, c are selected to perform an operation. The operation will be described with reference to FIG.

【0067】多項式演算手段3において、色相データ算
出手段2からの色相データとαβ算出手段からの識別符
号S1はゼロ除去手段7へと入力される。ゼロ除去手段
7では、識別符号S1に基づき、r、g、b中でゼロで
ない2つのデータQ1、Q2とy、m、c中でゼロでな
い2つのデータP1、P2を出力する。Q1、Q2、P
1、P2は、例えば図4に示すように決定され、出力さ
れる。例えば図3、4から、識別符号S1=0となる場
合、r、bからQ1、Q2が、y、mからP1、P2が
得られ、Q1=r、Q2=b、P1=m、P2=yとし
て出力する。なお、上記図3と同様、図4中の識別符号
S1の値はその一例を示すものであり、この限りではな
く、他の値であってもよい。
In the polynomial calculating means 3, the hue data from the hue data calculating means 2 and the identification code S 1 from the αβ calculating means are input to the zero removing means 7. The zero removing means 7 outputs two non-zero data Q1, Q2 in r, g, b and two non-zero data P1, P2 in y, m, c based on the identification code S1. Q1, Q2, P
1, P2 are determined and output, for example, as shown in FIG. For example, from FIGS. 3 and 4, when the identification code S1 = 0, Q1 and Q2 are obtained from r and b, and P1 and P2 are obtained from y and m, and Q1 = r, Q2 = b, P1 = m, and P2 = Output as y. It should be noted that the value of the identification code S1 in FIG. 4 is just an example, as in FIG. 3, and is not limited thereto, and may be another value.

【0068】また、最小値選択手段9aでは、上記ゼロ
除去手段7からの出力データQ1、Q2のうちの最小値
T4=min(Q1,Q2)を選択して出力し、最小値
選択手段9bでは、上記ゼロ除去手段7からの出力デー
タP1、P2のうちの最小値T2=min(P1,P
2)を選択して出力する。最小値選択手段9aおよび9
bから出力されるT4およびT2が、第1の比較データ
である。
The minimum value selecting means 9a selects and outputs the minimum value T4 = min (Q1, Q2) of the output data Q1, Q2 from the zero removing means 7, and the minimum value selecting means 9b. , The minimum value T2 = min (P1, P2) of the output data P1, P2 from the zero removing means 7.
Select 2) and output. Minimum value selecting means 9a and 9
T4 and T2 output from b are the first comparison data.

【0069】演算係数発生手段11には上記αβ算出手
段1からの識別符号S1が入力され、演算手段10a、
10bにおいて第1の比較データT4およびT2に対し
乗算を行うための演算係数aq、apを示す信号を識別
符号S1に基づき発生し、演算手段10aへ演算係数a
qを、演算手段10bへは演算係数apを出力する。な
お、この演算係数aq、apはそれぞれ識別符号S1に
応じて6種類与えられる。演算手段10aでは上記最小
値選択手段9aからの第1の比較データT4が入力さ
れ、演算係数発生手段11からの演算係数aqと第1の
比較データT4による乗算aq×T4を行い、その出力
を最小値選択手段9cへ送り、演算手段10bでは上記
最小値選択手段9bからの第1の比較データT2が入力
され、演算係数発生手段11からの演算係数apと第1
の比較データT2による乗算ap×T2を行い、その出
力を最小値選択手段9cへ送る。
The identification code S1 from the αβ calculating means 1 is input to the calculating coefficient generating means 11, and the calculating means 10a,
At 10b, a signal indicating operation coefficients aq and ap for multiplying the first comparison data T4 and T2 is generated based on the identification code S1, and the operation coefficient a is transmitted to the operation means 10a.
and outputs an operation coefficient a to the operation means 10b. The arithmetic coefficients aq and ap are given six types in accordance with the identification code S1. The operation means 10a receives the first comparison data T4 from the minimum value selection means 9a, performs multiplication aq × T4 by the operation coefficient aq from the operation coefficient generation means 11 and the first comparison data T4, and outputs the result. The first comparison data T2 from the minimum value selection means 9b is input to the minimum value selection means 9c and the first comparison data T2 is input to the minimum value selection means 9b.
Is multiplied by the comparison data T2, and the output is sent to the minimum value selecting means 9c.

【0070】最小値選択手段9cでは、演算手段10a
および10bからの出力の最小値T5=min(ap×
T2、aq×T4)を選択して出力する。最小値選択手
段9cから出力されるT5が、第2の比較データであ
る。以上、上述した多項式データT2、T4、T5が、
多項式演算手段3の出力である。そして、この多項式演
算手段3の出力はマトリクス演算手段4へと送られる。
In the minimum value selecting means 9c, the calculating means 10a
And the minimum value T5 of the output from 10b = min (ap ×
T2, aq × T4) is selected and output. T5 output from the minimum value selection means 9c is the second comparison data. As described above, the above-described polynomial data T2, T4, and T5 are:
This is the output of the polynomial operation means 3. The output of the polynomial operation means 3 is sent to the matrix operation means 4.

【0071】一方、図1の係数発生手段5は、識別符号
S1に基づき、多項式データの演算係数U(Fij)と
固定係数U(Eij)を発生し、マトリクス演算手段4
へと送る。マトリクス演算手段4は、上記色相データ算
出手段2からの色相データr、g、bと多項式演算手段
3からの多項式データT2、T4、T5、係数発生手段
5からの係数Uを入力とし、下記の式(6)の演算結果
を画像データR1、G1、B1として出力する。
On the other hand, the coefficient generating means 5 shown in FIG. 1 generates an operation coefficient U (Fij) and a fixed coefficient U (Eij) of the polynomial data based on the identification code S1.
Send to The matrix calculation means 4 receives the hue data r, g, b from the hue data calculation means 2, the polynomial data T2, T4, T5 from the polynomial calculation means 3, and the coefficient U from the coefficient generation means 5 as inputs. The calculation result of Expression (6) is output as image data R1, G1, and B1.

【0072】[0072]

【数25】 (Equation 25)

【0073】なお、式(6)において、(Eij)では
i=1〜3、j=1〜3、(Fij)ではi=1〜3、
j=1〜3である。
In equation (6), i = 1 to 3 and j = 1 to 3 in (Eij), i = 1 to 3 in (Fij),
j = 1 to 3.

【0074】ここで、図5は、上記マトリクス演算手段
4における部分的な一構成例を示すブロック図であり、
R1を演算し出力する場合について示している。図にお
いて、12a、12c、12e、12fは乗算手段、1
3a、13d、13eは加算手段である。
FIG. 5 is a block diagram showing an example of a partial configuration of the matrix calculation means 4.
The case where R1 is calculated and output is shown. In the figure, 12a, 12c, 12e and 12f are multiplication means, 1
3a, 13d and 13e are adding means.

【0075】次に、図5の動作を説明する。乗算手段1
2a、12c、12e、12fは、色相データrと多項
式演算手段3からの多項式データT2、T4、T5と係
数発生手段5からの係数U(Eij)およびU(Fi
j)を入力とし、それぞれの積を出力する。加算手段1
3aは、各乗算手段12c、12eの出力である積を入
力とし、入力データを加算し、その和を出力する。加算
手段13dは加算手段13aからの出力と乗算手段12
fの出力を加算する。そして加算手段13eは加算手段
13dの出力と乗算手段12aの出力を加算して、総和
を画像データR1として出力する。なお、図5の構成例
において、色相データrをgまたはbに置換すれば、画
像データG1、B1を演算できる。
Next, the operation of FIG. 5 will be described. Multiplication means 1
2a, 12c, 12e, and 12f represent the hue data r, the polynomial data T2, T4, and T5 from the polynomial operation means 3 and the coefficients U (Eij) and U (Fi) from the coefficient generation means 5.
j) is input and the product of each is output. Addition means 1
Reference numeral 3a receives a product output from each of the multiplying means 12c and 12e, adds the input data, and outputs the sum. The adding means 13d is connected to the output from the adding means 13a and the multiplying means 12
Add the output of f. Then, the adding means 13e adds the output of the adding means 13d and the output of the multiplying means 12a and outputs the sum as image data R1. In the configuration example of FIG. 5, if the hue data r is replaced with g or b, the image data G1 and B1 can be calculated.

【0076】本実施の形態による色変換方法あるいは、
色変換装置の演算速度が問題になる場合には、係数(E
ij)と(Fij)は、それぞれの色相データr、g、
bに対応した係数が使用されるので、図5の構成をr、
g、bに対し並列に3つ使用すれば、より高速なマトリ
クス演算が可能になる。
The color conversion method according to the present embodiment or
If the operation speed of the color conversion device is a problem, the coefficient (E
ij) and (Fij) are the respective hue data r, g,
Since the coefficient corresponding to b is used, the configuration of FIG.
If three are used in parallel for g and b, a faster matrix operation can be performed.

【0077】合成手段6は、上記マトリクス演算手段4
からの画像データR1、G1、B1と上記αβ算出手段
1からの出力である無彩色データを示す最小値αが入力
され、加算を行い、画像データR、G、Bを出力する。
よって、上記図1の色変換方法により色変換された画像
データR、G、Bを求める演算式は、式(1)となる。
The synthesizing means 6 includes the matrix calculating means 4
The image data R1, G1, and B1 and the minimum value α indicating the achromatic data output from the αβ calculating means 1 are input, added, and the image data R, G, and B are output.
Therefore, the arithmetic expression for obtaining the image data R, G, and B color-converted by the color conversion method of FIG. 1 is Expression (1).

【0078】[0078]

【数26】 (Equation 26)

【0079】ここで、(Eij)ではi=1〜3、j=
1〜3、(Fij)ではi=1〜3、j=1〜12であ
り、h1r=min(m、y)、h1g=min(y、
c)、h1b=min(c、m)、h1c=min
(g、b)、h1m= min(b、r)、h1y=
min(r、g)、h2ry=min(aq1×h1
y、ap1×h1r)、 h2rm=min(aq2×
h1m、ap2×h1r)、h2gy=min(aq3
×h1y、ap3×h1g)、 h2gc=min(a
q4×h1c、ap4×h1g)、 h2bm=min
(aq5×h1m、ap5×h1b)、 h2bc=m
in(aq6×h1c、ap6×h1b)であり、aq
1〜aq6およびap1〜ap6は上記図2における演
算係数発生手段11において発生される演算係数であ
る。
Here, in (Eij), i = 1 to 3 and j =
1 to 3 and (Fij), i = 1 to 3 and j = 1 to 12, h1r = min (m, y), h1g = min (y,
c), h1b = min (c, m), h1c = min
(G, b), h1m = min (b, r), h1y =
min (r, g), h2ry = min (aq1 × h1
y, ap1 × h1r), h2rm = min (aq2 ×
h1m, ap2 × h1r), h2gy = min (aq3
× h1y, ap3 × h1g), h2gc = min (a
q4 × h1c, ap4 × h1g), h2bm = min
(Aq5 × h1m, ap5 × h1b), h2bc = m
in (aq6 × h1c, ap6 × h1b), and aq
1 to aq6 and ap1 to ap6 are operation coefficients generated by the operation coefficient generation means 11 in FIG.

【0080】なお、式(1)の演算項と図1における演
算項の数の違いは、図1における演算項がゼロとなるデ
ータを除く画素毎の演算方法を開示しているのに対し
て、式(1)は画素集合に対する一般式を開示している
点にある。つまり、式(1)の多項式データは、1画素
について、12個のデータを3個の有効データに削減で
き、この削減は、色相データの性質を巧みに活用して達
成している。
It should be noted that the difference between the number of operation terms in equation (1) and the number of operation terms in FIG. 1 is different from that disclosed in the method of operation for each pixel except for data in which the number of operation terms in FIG. 1 is zero. , (1) discloses a general formula for a pixel set. That is, the polynomial data of the formula (1) can reduce 12 data to 3 valid data per pixel, and this reduction is achieved by skillfully utilizing the properties of hue data.

【0081】また、有効データの組合せは、着目画素の
画像データに応じて変わり、全画像データでは全ての多
項式データが有効になる。
The combination of valid data changes according to the image data of the pixel of interest, and all polynomial data is valid in all image data.

【0082】図6(A)〜(F)は、6つの色相(赤、
イエロー、緑、シアン、青、マゼンタ)と色相データ
y、m、c、r、g、bの関係を模式的に示したもので
あり、各色相データはそれぞれ3つの色相に関与してい
る(例えば、図6(A)に示すyであれば、赤、イエロ
ー、緑の3つの色相に関与する)。
FIGS. 6A to 6F show six hues (red,
3 schematically shows a relationship between yellow, green, cyan, blue, and magenta) and hue data y, m, c, r, g, and b, and each hue data is associated with three hues. For example, y shown in FIG. 6A relates to three hues of red, yellow, and green).

【0083】上記式(6)と式(1)は、各色相の1つ
だけに有効な第1の比較データを含んでいる。この第1
の比較データは、h1r=min(y,m)、h1y=
min(r,g)、h1g=min(c,y)、h1c
=min(g,b)、h1b=min(m,c)、h1
m=min(b,r)の6つである。図7(A)〜
(F)は、6つの色相と第1の比較データh1r、h1
y、h1g、h1c、h1b、h1mの関係を模式的に
示したものであり、各第1の比較データが特定の色相に
関与していることが分かる。
Equations (6) and (1) contain first comparison data that is valid for only one of the hues. This first
The comparison data of h1r = min (y, m) and h1y =
min (r, g), h1g = min (c, y), h1c
= Min (g, b), h1b = min (m, c), h1
m = min (b, r). FIG. 7 (A)-
(F) shows six hues and first comparison data h1r and h1.
It is a diagram schematically showing the relationship among y, h1g, h1c, h1b, and h1m, and it can be seen that each first comparison data is related to a specific hue.

【0084】例えば、Wを定数として、赤に対してはr
=W、 g=b=0なので、 y=m=W、c=0とな
る。したがって、min(y,m)=Wとなり、他の5
つの第1の比較データは全てゼロになる。つまり、赤に
対しては、h1r=min(y,m)のみが有効な第1
の比較データになる。同様に、緑にはh1g=min
(c,y)、青にはh1b=min(m,c)、シアン
にはh1c=min(g,b)、マゼンタにはh1m=
min(b,r)、イエローにはh1y=min(r,
g)だけが有効な第1の比較データとなる。
For example, assuming that W is a constant, r for red
= W, g = b = 0, so that y = m = W, c = 0. Therefore, min (y, m) = W, and the other 5
The two first comparison data all become zero. That is, for red, the first value in which only h1r = min (y, m) is effective.
Becomes comparison data. Similarly, for green, h1g = min
(C, y), h1b = min (m, c) for blue, h1c = min (g, b) for cyan, h1m = for magenta
min (b, r), h1y = min (r,
g) is the only valid first comparison data.

【0085】図8(A)〜(F)は、6つの色相と、第
2の比較データh2ry=min(h1y,h1r)、
h2gy=min(h1y,h1g)、h2gc=mi
n(h1c,h1g)、h2bc=min(h1c,h
1b)、h2bm=min(h1m,h1b)、h2r
m=min(h1m,h1r)の関係を模式的に示した
ものであり、上記式(1)でのh2ry=min(aq
1×h1y、ap1×h1r)、h2gy=min(a
q3×h1y、ap3×h1g)、h2gc=min
(aq4×h1c、ap4×h1g)、h2bc=mi
n(aq6×h1c、ap6×h1b)、h2bm=m
in(aq5×h1m、ap5×h1b)、h2rm=
min(aq2×h1m、ap2×h1r)における演
算係数aq1〜aq6およびap1〜ap6の値を1と
した場合について示している。図9のそれぞれより、各
第2の比較データが赤〜イエロー、イエロー〜緑、緑〜
シアン、シアン〜青、青〜マゼンタ、マゼンタ〜赤の6
つの色相間の中間領域の変化に関与していることが分か
る。つまり、赤〜イエローに対しては、b=c=0であ
り、 h2ry=min(h1y,h1r)= min
(min(r,g),min(y、m))を除く他の5
項は全てゼロになる。よって、h2ryのみが有効な第
2の比較データになり、同様に、イエロー〜緑にはh2
gy、緑〜シアンにはh2gc、シアン〜青にはh2b
c、青〜マゼンタにはh2bm、マゼンタ〜赤にはh2
rmだけが有効な第2の比較データとなる。
FIGS. 8A to 8F show six hues, second comparison data h2ry = min (h1y, h1r),
h2gy = min (h1y, h1g), h2gc = mi
n (h1c, h1g), h2bc = min (h1c, h
1b), h2bm = min (h1m, h1b), h2r
5 schematically shows the relationship of m = min (h1m, h1r), and h2ry = min (aq) in the above equation (1).
1 × h1y, ap1 × h1r), h2gy = min (a
q3 × h1y, ap3 × h1g), h2gc = min
(Aq4 × h1c, ap4 × h1g), h2bc = mi
n (aq6 × h1c, ap6 × h1b), h2bm = m
in (aq5 × h1m, ap5 × h1b), h2rm =
The case where the values of the operation coefficients aq1 to aq6 and ap1 to ap6 in min (aq2 × h1m, ap2 × h1r) are set to 1 is shown. From each of FIGS. 9A and 9B, each of the second comparison data is red to yellow, yellow to green, green to green.
6 for cyan, cyan-blue, blue-magenta, magenta-red
It can be seen that it is involved in the change of the intermediate region between the two hues. That is, for red to yellow, b = c = 0, and h2ry = min (h1y, h1r) = min
5 other than (min (r, g), min (y, m))
The terms are all zero. Therefore, only h2ry is the valid second comparison data, and similarly, h2ry is
gy, h2gc for green to cyan, h2b for cyan to blue
c, h2bm for blue to magenta, h2 for magenta to red
Only rm is effective second comparison data.

【0086】また、図9(A)〜(F)は上記式(6)
および式(1)でのhry、hrm、hgy、hgc、
hbm、hbcにおける演算係数aq1〜aq6および
ap1〜ap6を変化させた場合の6つの色相と第2の
比較データの関係を模式的に示したものであり、図中の
破線a1〜a6で示す場合は、aq1〜aq6をap1
〜ap6より大きい値とした場合の特性を示し、破線b
1〜b6で示す場合は、ap1〜ap6をaq1〜aq
6より大きい値とした場合の特性を示している。
FIGS. 9A to 9F show the above equations (6).
And hry, hrm, hgy, hgc,
6 schematically shows the relationship between six hues and the second comparison data when the operation coefficients aq1 to aq6 and ap1 to ap6 in hbm and hbc are changed, and is shown by broken lines a1 to a6 in the figure. Calculates aq1 to aq6 as ap1
The characteristic when the value is larger than ~ ap6 is shown, and the broken line b
When indicated by 1 to b6, ap1 to ap6 are replaced by aq1 to aq
The characteristics when the value is larger than 6 are shown.

【0087】すなわち、赤〜イエローに対してはh2r
y=min(aq1×h1y,ap1×h1r)のみが
有効な第2の比較データであるが、例えばaq1とap
1の比を2:1とすると、図9(A)での破線a1のよ
うに、ピーク値が赤よりに関与する比較データとなり、
赤〜イエローの色相間における赤に近い領域に有効な比
較データとすることができる。一方、例えばaq1とa
p1の比を1:2とすると、図9(A)での破線b1の
ような関係となり、ピーク値がイエローよりに関与する
比較データとなり、赤〜イエローの色相間におけるイエ
ローに近い領域に有効な比較データとすることができ
る。同様に、イエロー〜緑にはh2gyにおけるaq
3、ap3を、緑〜シアンにはh2gcにおけるaq
4、ap4を、シアン〜青にはh2bcにおけるaq
6、ap6を、青〜マゼンタにはh2bmにおけるaq
5、ap5を、マゼンタ〜赤にはh2rmにおけるaq
2、ap2を変化させることにより、それぞれの色相間
の領域においても、その有効となる領域を変化させるこ
とができる。
That is, for red to yellow, h2r
Only y = min (aq1 × h1y, ap1 × h1r) is valid second comparison data. For example, aq1 and ap1
Assuming that the ratio of 1 is 2: 1, as shown by the broken line a1 in FIG. 9A, the peak value becomes comparison data related to red rather than red.
It can be set as effective comparison data for a region close to red between the hues of red and yellow. On the other hand, for example, aq1 and a
Assuming that the ratio of p1 is 1: 2, the relationship shown by the broken line b1 in FIG. 9A is obtained, and the peak value becomes comparison data relating to yellow, and is effective in a region close to yellow between the hues of red and yellow. Comparative data. Similarly, yellow to green have aq in h2gy.
3, ap3, aq in h2gc for green to cyan
4, ap4, aq in h2bc for cyan to blue
6, ap6, aq in h2bm for blue to magenta
5, ap5, aq at h2rm for magenta to red
2. By changing ap2, the effective area can be changed even in the area between the respective hues.

【0088】図10(a)および(b)は、6つの色相
および色相間領域と有効な演算項の関係を示している。
よって、係数発生手段5において、調整したい色相また
は色相間の領域に有効な演算項に係わる係数を変化させ
れば、その着目する色相のみを調整でき、色相間の変化
の度合いをも補正することができる。また、多項式演算
手段3における演算係数発生手段11での係数を変化さ
せれば、色相間領域での演算項が有効となる領域を他の
色相に影響することなく変化させることができる。
FIGS. 10A and 10B show the relationship between the six hues and the inter-hue regions and the effective operation terms.
Therefore, if the coefficient generating means 5 changes the coefficient relating to the effective operation term in the hue or the area between hues to be adjusted, only the hue of interest can be adjusted, and the degree of change between hues can also be corrected. Can be. Further, by changing the coefficient in the operation coefficient generation means 11 in the polynomial operation means 3, the area where the operation term in the inter-hue area becomes effective can be changed without affecting other hues.

【0089】ここで、上記図1による実施の形態1での
係数発生手段5での係数の一例を述べる。式(5)は、
上記係数発生手段5において発生する係数U(Eij)
の一例を示している。
Here, an example of the coefficient in the coefficient generating means 5 in the first embodiment shown in FIG. 1 will be described. Equation (5) is
Coefficient U (Eij) generated in the coefficient generation means 5
An example is shown.

【0090】[0090]

【数27】 [Equation 27]

【0091】上記の場合で係数U(Fij)の係数を全
てゼロとすると、色変換を実施しない場合となる。ま
た、下記式(7)では、係数U(Fij)の係数におい
て、第1の比較データと第2の比較データに係わる係数
を例えばAr1〜 Ar3、Ay1〜 Ay3、Ag1
〜 Ag3、 Ac1〜 Ac3、Ab1〜 Ab3、
Am1〜 Am3、およびAry1〜Ary3、Agy
1〜Agy3、Agc1〜Agc3、 Abc1〜Ab
c3、Abm1〜Abm3、Arm1〜Arm3に示す
値とした場合を示す。
In the above case, if all the coefficients of the coefficient U (Fij) are set to zero, no color conversion is performed. In the following equation (7), among the coefficients of the coefficient U (Fij), the coefficients related to the first comparison data and the second comparison data are, for example, Ar1 to Ar3, Ay1 to Ay3, and Ag1.
Ag3, Ac1 to Ac3, Ab1 to Ab3,
Am1 to Am3, and Ary1 to Ary3, Agy
1 to Agy3, Agc1 to Agc3, Abc1 to Ab
c3, Abm1 to Abm3, and Arm1 to Arm3.

【0092】[0092]

【数28】 [Equation 28]

【0093】上記においては、色相または、色相間の領
域のみの調整を行え、変化させたい色相または色相間の
領域に関する演算項に係わる係数を定め、他の係数をゼ
ロとすれば、その色相または色相間の領域のみの調整を
行える。例えば、赤に関するh1rに係わる係数Ar1
〜 Ar3を設定すれば、赤の色相を変化させ、赤〜イ
エローの色相間の割合を変化させるにはh2ryに係わ
る係数Ary1〜Ary3を用いることとなる。
In the above, only the hue or the region between the hues can be adjusted, and the coefficient relating to the operation term relating to the hue or the region between the hues to be changed is determined. It is possible to adjust only the region between hues. For example, a coefficient Ar1 related to h1r for red
If Ar3 is set, the coefficients Ary1 to Ary3 relating to h2ry will be used to change the red hue and change the ratio between the red and yellow hues.

【0094】また、多項式演算手段3において、h2r
y=min(aq1×h1y、ap1×h1r)、h2
rm=min(aq2×h1m、ap2×h1r)、h
2gy=min(aq3×h1y、ap3×h1g)、
h2gc=min(aq4×h1c、ap4×h1
g)、h2bm=min(aq5×h1m、ap5×h
1b)、h2bc=min(aq6×h1c、ap6×
h1b)における演算係数aq1〜aq6およびap1
〜ap6の値を1、2、4、8、…の整数値で変化させ
れば、演算手段10aおよび10bにおいてビットシフ
トにより乗算を行うことができる。
In the polynomial operation means 3, h2r
y = min (aq1 × h1y, ap1 × h1r), h2
rm = min (aq2 × h1m, ap2 × h1r), h
2gy = min (aq3 × h1y, ap3 × h1g),
h2gc = min (aq4 × h1c, ap4 × h1
g), h2bm = min (aq5 × h1m, ap5 × h
1b), h2bc = min (aq6 × h1c, ap6 ×
calculation coefficients aq1 to aq6 and ap1 in h1b)
If the value of .about.ap6 is changed by an integer value of 1, 2, 4, 8,..., The arithmetic means 10a and 10b can perform multiplication by bit shift.

【0095】以上より、特定の色相に関与する第1の比
較データおよび第2の比較データに係る係数を変化させ
ることにより、係数U(Fij)の係数を独立に補正し
て、上記6つの色相間の変化の度合いをも補正できる。
さらに階調特性変換手段15a、15b、15cにより
階調特性変換することにより、2次より高次な非線形性
あるいは、1次的な演算あるいは、2次的な演算の組み
合わせでは、得ることのできない、例えば、液晶の有す
るようなS字特性など複雑な非線形特性をも補正するこ
とができる。よって、変換特性を柔軟に変更できて、し
かも大容量メモリを必要としない色変換方法または色変
換装置を得ることができる。ここで、階調特性変換手段
は、1次元ルックアップテーブルなどにより実現可能で
あり、その規模は、3次元ルックアップテーブルと比較
した場合、はるかに小さいことは、言うまでも無い。
As described above, by changing the coefficients relating to the first comparison data and the second comparison data relating to a specific hue, the coefficient of the coefficient U (Fij) is independently corrected, and the above-mentioned six hues are corrected. The degree of change between them can also be corrected.
Further, by performing the gradation characteristic conversion by the gradation characteristic conversion means 15a, 15b, and 15c, it cannot be obtained by a non-linearity higher than the second order, a primary operation, or a combination of the secondary operations. For example, a complicated nonlinear characteristic such as an S-shaped characteristic of a liquid crystal can be corrected. Therefore, it is possible to obtain a color conversion method or a color conversion apparatus which can flexibly change the conversion characteristics and does not require a large-capacity memory. Here, the tone characteristic conversion means can be realized by a one-dimensional lookup table or the like, and it is needless to say that the scale is much smaller than that of the three-dimensional lookup table.

【0096】なお、上記実施の形態1では、入力画像デ
ータR、G、Bをもとに色相データr、g、bおよび
y、m、cと最大値β、最小値αを算出して各色相に係
わる演算項を得て、マトリクス演算後、画像データR、
G、Bを得る場合として説明したが、上記出力画像デー
タR、G、Bを得た後、 R、G、Bを補色データC、
M、Yに変換してもよく、上記と同様の効果を奏する。
In the first embodiment, the hue data r, g, b and y, m, c, the maximum value β, and the minimum value α are calculated based on the input image data R, G, B. An operation term relating to hue is obtained, and after matrix operation, image data R,
Although the case where G and B are obtained has been described, after obtaining the output image data R, G and B, R, G and B are replaced with complementary color data C and
It may be converted to M and Y, and the same effects as above can be obtained.

【0097】また、上記実施の形態1では、ハードウェ
アにより図1の構成の処理を行う場合について説明して
いるが、ソフトウェアなどにより同様の処理を行う色変
換方法としても効果的であることは言うまでもなく、上
記実施の形態1と同様の効果を奏する。また、階調特性
変換手段15a、15b、15cそれぞれの変換特性
は、出力デバイスの特性を考慮して決められるもので、
例えばガンマ補正特性などに限定されるものではなく、
極端な場合には、直線的な特性のものであっても良い。
ただし、直線的な場合であっても、その傾きを個々に変
えることにより出力信号のレベルバランスを調整するこ
とも可能である。
In the first embodiment, the case where the processing of the configuration shown in FIG. 1 is performed by hardware is described. However, it is effective as a color conversion method for performing the same processing by software or the like. Needless to say, the same effects as those of the first embodiment can be obtained. The conversion characteristics of each of the gradation characteristic conversion units 15a, 15b, and 15c are determined in consideration of the characteristics of the output device.
For example, it is not limited to gamma correction characteristics, etc.
In an extreme case, it may have a linear characteristic.
However, even in the case of a straight line, the level balance of the output signal can be adjusted by individually changing the slope.

【0098】さらに、上記式(5)、式(7)に示す係
数を用いた場合の色変換装置の動作について述べる。図
11乃至13は、実施の形態1の色変換装置における動
作を説明するためのxy色度図である。ここで、xy色
度図は、分光情報からの演算によって求められる2つの
値、xおよびyを用いて、色の持つ情報を2次元のグラ
フ上に表したものであり、画像再生装置1における色再
現を、目標とする色再現と共に示したものである。
Further, the operation of the color conversion apparatus when the coefficients shown in the above equations (5) and (7) are used will be described. FIGS. 11 to 13 are xy chromaticity diagrams for explaining the operation of the color conversion apparatus according to the first embodiment. Here, the xy chromaticity diagram expresses information of a color on a two-dimensional graph using two values, x and y, obtained by calculation from spectral information. The color reproduction is shown together with the target color reproduction.

【0099】図において、実線は画像再生装置1におけ
る色再現(画像再生装置1において再現可能な色の範
囲)を表し、点線は目標とする色再現(目標とする色再
現において再現可能な色の範囲)を表す。ここで、画像
再生装置1としては、モニター等の表示装置が考えられ
る。また、目標とする色再現としては、他の種類の表示
装置や、理論上または仮想的な色再現等が考えられる。
In the figure, the solid line represents color reproduction in the image reproducing apparatus 1 (the range of colors reproducible in the image reproducing apparatus 1), and the dotted line represents target color reproduction (color reproducible in the target color reproduction). Range). Here, a display device such as a monitor is considered as the image reproducing device 1. As the target color reproduction, other types of display devices, theoretical or virtual color reproduction, and the like can be considered.

【0100】図11に示した例による、画像再生装置1
において再現可能な色の範囲は、目標とする色再現にお
いて再現可能な色の範囲より狭い場合のものであり、色
再現を表す三角形の中央付近より、三角形の頂点、およ
び辺に向かって伸びている直線の方向は、それぞれの色
の色相を表す。
The image reproducing apparatus 1 according to the example shown in FIG.
The range of colors that can be reproduced in is the case where the range of colors that can be reproduced in the target color reproduction is narrower. The direction of the straight line represents the hue of each color.

【0101】図11の例においては、画像再生装置1に
おける色再現と、目標とする色再現においては、それぞ
れの三角形の中央付近より、三角形の頂点、および辺に
向かって伸びている直線の方向は一致していない。この
ことは、それぞれにおいて再現される色相が一致してい
ないことを表す。
In the example of FIG. 11, in the color reproduction in the image reproducing apparatus 1 and the target color reproduction, the direction of a straight line extending from the vicinity of the center of each triangle to the vertices and sides of the triangle. Do not match. This means that the hues reproduced in each do not match.

【0102】実施の形態1の色変換装置は、6つの色相
のそれぞれに対して有効な第1の比較データと、上記色
相間領域のそれぞれに対して有効な第2の比較データを
持つ。
The color conversion apparatus according to the first embodiment has first comparison data valid for each of the six hues and second comparison data valid for each of the inter-hue regions.

【0103】図12は、実施の形態1の色変換装置にお
いて、第1の比較データに係わる係数の値を調整するこ
とにより、画像再生装置1における色再現と、目標とす
る色再現において再現される色相を一致させた場合を表
す色度図である。
FIG. 12 shows that the color conversion device according to the first embodiment adjusts the value of the coefficient relating to the first comparison data to reproduce the color in the image reproducing device 1 and the target color reproduction. FIG. 5 is a chromaticity diagram showing a case where the hues are matched.

【0104】図12において、実線および破線は、画像
再生装置1における色再現を表し、実線は第1の比較デ
ータに係わる係数の値を調整した場合の色再現を表し、
破線は第1の比較データに係わる係数の値を調整しない
場合の色再現を表す。また、点線は目標とする色再現を
表す。
In FIG. 12, solid lines and broken lines represent color reproduction in the image reproducing apparatus 1, and solid lines represent color reproduction when the value of the coefficient relating to the first comparison data is adjusted.
The broken line represents color reproduction when the value of the coefficient relating to the first comparison data is not adjusted. The dotted line represents the target color reproduction.

【0105】図12の例においては、実施の形態1の色
変換装置における第1の比較データに係わる係数の値を
調整することにより、画像再生装置1における色再現
は、目標とする色再現において再現される色相と一致し
ている。しかし、第1の比較データに係わる係数の値を
調整した場合の色再現範囲は、第1の比較データに係わ
る係数の値を調整しない場合の色再現範囲よりも狭くな
っている。
In the example of FIG. 12, by adjusting the value of the coefficient relating to the first comparison data in the color conversion apparatus of the first embodiment, the color reproduction in the image reproducing apparatus 1 can be performed in the target color reproduction. It matches the hue to be reproduced. However, the color reproduction range when the value of the coefficient related to the first comparison data is adjusted is narrower than the color reproduction range when the value of the coefficient related to the first comparison data is not adjusted.

【0106】図13は実施の形態1の色変換装置におい
て、第1の比較データに係わる係数のみならず、第2の
比較データに係わる係数の値を調整した場合の画像再生
装置1における色再現と、目標とする色再現を表す色度
図である。
FIG. 13 shows the color reproduction in the image reproducing apparatus 1 in the case where not only the coefficient relating to the first comparison data but also the coefficient relating to the second comparison data is adjusted in the color conversion apparatus according to the first embodiment. And a chromaticity diagram showing a target color reproduction.

【0107】図13の例においては、第1の比較データ
および第2の比較データに係わる係数の値をともに調整
することにより、画像再生装置1における色再現は、目
標とする色再現において再現される色相と一致してお
り、さらに、第1の比較データおよび第2の比較データ
に係わる係数の値を調整した場合の色再現範囲は、第1
の比較データおよび第2の比較データに係わる係数の値
を調整しない場合の色再現範囲を維持している。
In the example of FIG. 13, the color reproduction in the image reproducing apparatus 1 is reproduced in the target color reproduction by adjusting both the values of the coefficients relating to the first comparison data and the second comparison data. And the color gamut when the values of the coefficients relating to the first comparison data and the second comparison data are adjusted is the first color reproduction range.
The color reproduction range when the values of the coefficients relating to the comparison data and the second comparison data are not adjusted is maintained.

【0108】すなわち、実施の形態1の色変換装置にお
いて、第1の比較データおよび第2の比較データに係わ
る係数の値を調整することにより、色再現範囲を狭める
ことなく、色相調整が可能となる。
That is, in the color conversion apparatus according to the first embodiment, the hue can be adjusted without reducing the color reproduction range by adjusting the values of the coefficients relating to the first comparison data and the second comparison data. Become.

【0109】実施の形態2.実施の形態1では、入力画
像データR、G、Bをもとに色相データr、g、bおよ
びy、m、cと最大値β、最小値αを算出して各色相に
係わる演算項を得て、マトリクス演算後、画像データ
R、G、Bを得る場合として説明したが、入力画像デー
タR、G、Bを補色データC、M、Yに変換後、入力を
補色データC、M、Yとして色変換を行うように構成す
ることもできる。
Embodiment 2 In the first embodiment, the hue data r, g, b and y, m, c, the maximum value β, and the minimum value α are calculated based on the input image data R, G, and B, and the operation term related to each hue is calculated. In the description above, the image data R, G, and B are obtained after the matrix operation. The color conversion may be performed as Y.

【0110】図14はこの発明の実施形態2による色変
換方法および色変換装置の構成の一例を示すブロック図
である。図において、3、4、5、6、15a、15
b、15cは上記実施の形態1の図1におけるものと同
一のものであり、14は補数手段、1bは補色データの
最大値βと最小値αおよび色相データを特定するための
識別符号S1を生成するαβ算出手段、2bは上記補数
手段14からの補色データC、M、Yとαβ算出手段1
bからの出力より色相データr、g、b、y、m、cを
算出する色相データ算出手段である。
FIG. 14 is a block diagram showing an example of the configuration of a color conversion method and a color conversion apparatus according to Embodiment 2 of the present invention. In the figure, 3, 4, 5, 6, 15a, 15
b and 15c are the same as those in FIG. 1 of the first embodiment, 14 is a complement means, 1b is a maximum value β and a minimum value α of complementary color data, and an identification code S1 for specifying hue data. The αβ calculating means to be generated, 2b are the complementary color data C, M, Y from the complement means 14 and the αβ calculating means 1
hue data calculation means for calculating hue data r, g, b, y, m, c from the output from b.

【0111】次に、動作を説明する。補数手段14は、
画像データR、G、Bを入力とし、1の補数処理した補
色データCi、Mi、Yiを出力する。αβ算出手段1
bでは、この補色データの最大値βと最小値αおよび各
色相データを特定するための識別符号S1を出力する。
Next, the operation will be described. The complement means 14
The image data R, G, and B are input, and complementary color data Ci, Mi, and Yi that have undergone one's complement processing are output. αβ calculation means 1
In b, the maximum value β and the minimum value α of the complementary color data and the identification code S1 for specifying each hue data are output.

【0112】色相データ算出手段2bは、補色データC
i、Mi、Yiと上記αβ算出手段1bからの最大値β
と最小値αを入力とし、r=β−Ci、g=β−Mi、
b=β−Yiおよびy=Yi−α、m=Mi−α、c=
Ci−αの減算処理によって、6つの色相データr、
g、b、y、m、cを出力する。ここで、これら6つの
色相データは、この中の少なくとも2つがゼロになる性
質があり、上記αβ算出手段1bから出力される識別符
号S1は、6つの色相データのうちゼロとなるデータを
特定するものであり、最大値βと最小値αがCi、M
i、Yiのうちどれであるかにより、データを特定する
6種類の識別符号となる。この6つの色相データのうち
ゼロとなるデータと識別符号S1との関係は上記実施の
形態1での説明と同様であるので、詳細な説明は省略す
る。
The hue data calculating means 2b calculates the complementary color data C
i, Mi, Yi and the maximum value β from the αβ calculation means 1b
And the minimum value α as input, r = β-Ci, g = β-Mi,
b = β-Yi and y = Yi-α, m = Mi-α, c =
The six hue data r,
Output g, b, y, m, and c. Here, these six hue data have a property that at least two of them become zero, and the identification code S1 output from the αβ calculating means 1b specifies data which becomes zero among the six hue data. And the maximum value β and the minimum value α are Ci, M
There are six types of identification codes that specify data depending on which of i and Yi it is. Since the relationship between the zero hue data of the six hue data and the identification code S1 is the same as that described in the first embodiment, detailed description will be omitted.

【0113】次に、色相データ算出手段2bからの出力
である6つの色相データr、g、bおよびy、m、cは
多項式演算手段3へと送られ、また、c、m、yについ
てはマトリクス演算手段4へも送られる。多項式演算手
段3には上記αβ算出手段1bから出力される識別符号
S1も入力されており、 r、g、b中でゼロでない2
つのデータQ1、Q2と、y、m、c中でゼロでない2
つのデータP1、P2を選択して演算を行うのである
が、この動作は上記実施の形態1における図2の動作と
同一であるので、その詳細な説明は省略する。
Next, the six hue data r, g, b and y, m, c output from the hue data calculating means 2b are sent to the polynomial calculating means 3, and c, m, y are It is also sent to the matrix calculation means 4. The identification code S1 output from the αβ calculation means 1b is also input to the polynomial calculation means 3, and 2 which is not zero in r, g, b
Two data Q1, Q2 and non-zero 2 in y, m, c
The operation is performed by selecting the two data P1 and P2. Since this operation is the same as the operation of FIG. 2 in the first embodiment, the detailed description is omitted.

【0114】そして、この多項式演算手段3の出力はマ
トリクス演算手段4へと送られ、係数発生手段5は、識
別符号S1に基づき、多項式データの演算係数U(Fi
j)と固定係数U(Eij)を発生し、マトリクス演算
手段4へと送る。マトリクス演算手段4は、上記色相デ
ータ算出手段2bからの色相データc、m、yと多項式
演算手段3からの多項式データT2、T4、T5、係数
発生手段5からの係数Uを入力とし、下記の式(8)の
演算結果を画像データC1、M1、Y1として出力す
る。
The output of the polynomial operation means 3 is sent to the matrix operation means 4, and the coefficient generation means 5 determines the operation coefficient U (Fi) of the polynomial data based on the identification code S1.
j) and a fixed coefficient U (Eij) are generated and sent to the matrix calculation means 4. The matrix calculation means 4 receives the hue data c, m, y from the hue data calculation means 2b, the polynomial data T2, T4, T5 from the polynomial calculation means 3, and the coefficient U from the coefficient generation means 5 as inputs. The calculation result of Expression (8) is output as image data C1, M1, and Y1.

【0115】[0115]

【数29】 (Equation 29)

【0116】なお、式(8)において(Eij)ではi
=1〜3、j=1〜3、(Fij)ではi=1〜3、j
=1〜3である。
In equation (8), (Eij) denotes i
= 1-3, j = 1-3, (Fij) i = 1-3, j
= 1-3.

【0117】なお、マトリクス演算手段4における動作
は、上記実施の形態1における図5において、入力され
る色相データをc(またはm、y)とし、C1(または
M1、Y1)を演算し出力する場合であり、同様の動作
を行うので、その詳細な説明は省略する。
The operation of the matrix calculating means 4 is such that the input hue data is c (or m, y) in FIG. 5 in the first embodiment, and C1 (or M1, Y1) is calculated and output. This is the case, and the same operation is performed, so that the detailed description is omitted.

【0118】合成手段6は、上記マトリクス演算手段4
からの補色データC1、M1、Y1と上記αβ算出手段
1bからの出力である無彩色データを示す最小値αが入
力され、加算を行い、画像データC、M、Yを出力す
る。よって、上記図14の色変換方法により色変換され
た画像データC、M、Yを求める演算式は、式(2)と
なる。
The synthesizing means 6 includes the matrix calculating means 4
The complementary color data C1, M1, and Y1 and the minimum value α indicating achromatic color data output from the αβ calculating means 1b are input, added, and output as image data C, M, and Y. Therefore, the arithmetic expression for obtaining the image data C, M, and Y color-converted by the color conversion method in FIG. 14 is Expression (2).

【0119】[0119]

【数30】 [Equation 30]

【0120】ここで、式(2)において(Eij)では
i=1〜3、j=1〜3、(Fij)ではi=1〜3、
j=1〜12であり、h1r=min(m、y)、h1
g=min(y、c)、h1b=min(c、m)、h
1c=min(g、b)、h1m= min(b、
r)、h1y= min(r、g)、h2ry=min
(aq1×h1y、ap1×h1r)、 h2rm=m
in(aq2×h1m、ap2×h1r)、 h2gy
=min(aq3×h1y、ap3×h1g)、h2g
c=min(aq4×h1c、ap4×h1g)、 h
2bm=min(aq5×h1m、ap5×h1b)、
h2bc=min(aq6×h1c、ap6×h1
b)であり、aq1〜aq6およびap1〜ap6は上
記図2における演算係数発生手段11において発生され
る演算係数である。
In equation (2), i = 1 to 3 and j = 1 to 3 in (Eij), i = 1 to 3 in (Fij),
j = 1 to 12, h1r = min (m, y), h1
g = min (y, c), h1b = min (c, m), h
1c = min (g, b), h1m = min (b,
r), h1y = min (r, g), h2ry = min
(Aq1 × h1y, ap1 × h1r), h2rm = m
in (aq2 × h1m, ap2 × h1r), h2gy
= Min (aq3 × h1y, ap3 × h1g), h2g
c = min (aq4 × h1c, ap4 × h1g), h
2bm = min (aq5 × h1m, ap5 × h1b),
h2bc = min (aq6 × h1c, ap6 × h1
b), and aq1 to aq6 and ap1 to ap6 are operation coefficients generated by the operation coefficient generation means 11 in FIG.

【0121】なお、式(2)の演算項と図14における
演算項の数の違いは、図14における演算項がゼロとな
るデータを除く画素毎の演算方法を開示しているのに対
して、式(2)は画素集合に対する一般式を開示してい
る点にある。つまり、式(2)の多項式データは、1画
素について、12個のデータを3個の有効データに削減
でき、この削減は、色相データの性質を巧みに活用して
達成している。
It should be noted that the difference between the number of operation terms in equation (2) and the number of operation terms in FIG. 14 is different from that of the method disclosed in FIG. , Equation (2) discloses a general equation for a pixel set. That is, the polynomial data of the formula (2) can reduce 12 data to 3 valid data for one pixel, and this reduction is achieved by skillfully utilizing the property of hue data.

【0122】また、有効データの組合せは、着目画素の
画像データに応じて変わり、全画像データでは全ての多
項式データが有効になる。
The combination of valid data changes according to the image data of the pixel of interest, and all polynomial data is valid in all image data.

【0123】そして、上記式(2)の多項式演算手段に
よる演算項は、実施の形態1における式(1)の演算項
と同一であり、したがって、6つの色相および色相間領
域と有効な演算項の関係は図10(a)および(b)に
示す場合と同一となる。よって、実施の形態1と同様、
係数発生手段5において、調整したい色相または色相間
の領域に有効な演算項に係わる係数を変化させれば、そ
の着目する色相のみを調整でき、色相間の変化の度合い
をも補正することができる。また、多項式演算手段3に
おける演算係数発生手段11での係数を変化させれば、
色相間領域での演算項が有効となる領域を他の色相に影
響することなく変化させることができる。
The operation term of the above equation (2) by the polynomial operation means is the same as the operation term of the equation (1) in the first embodiment, and therefore, the six hue and inter-hue area and the effective operation term Is the same as the case shown in FIGS. 10 (a) and 10 (b). Therefore, similar to the first embodiment,
If the coefficient generating means 5 changes a coefficient relating to an operation term effective for a hue or a region between hues to be adjusted, only the hue of interest can be adjusted, and the degree of change between hues can also be corrected. . Also, if the coefficient of the operation coefficient generation means 11 in the polynomial operation means 3 is changed,
The region where the operation term in the inter-hue region is valid can be changed without affecting other hues.

【0124】ここで、上記実施の形態2での係数発生手
段5での係数の一例としては、上記実施の形態1の場合
と同様、式(5)による係数U(Eij)となり、係数
U(Fij)の係数を全てゼロとすると、色変換を実施
しない場合となる。また、式(7)に示す係数U(Fi
j)の係数において、第1の比較データと第2の比較デ
ータに係わる係数により補正を行うことで、色相または
色相間の領域のみの調整を行え、変化させたい色相また
は色相間の領域に関する演算項に係わる係数を定め、他
の係数をゼロとすれば、その色相または色相間の領域の
みの調整を行える。
Here, as an example of the coefficient in the coefficient generating means 5 in the second embodiment, the coefficient U (Eij) according to the equation (5) and the coefficient U ( If all coefficients of Fij) are set to zero, no color conversion is performed. Further, the coefficient U (Fi
In the coefficient j), the correction is performed using the coefficient relating to the first comparison data and the second comparison data, so that only the hue or the area between the hues can be adjusted, and the calculation relating to the hue or the area between the hues to be changed is performed. If the coefficient relating to the term is determined and the other coefficients are set to zero, only the hue or the region between the hues can be adjusted.

【0125】以上より、特定の色相に関与する第1の比
較データに係る係数を変化させることにより、赤、青、
緑、イエロー、シアン、マゼンタの6つの色相において
着目している色相のみを、他の色相に影響を与えること
なく調整でき、更に、第2の比較データに係る係数を変
化させることにより、赤〜イエロー、イエロー〜緑、緑
〜シアン、シアン〜青、青〜マゼンタ、マゼンタ〜赤の
6つの色相間の領域を独立に補正して、上記6つの色相
間の変化の度合いをも補正できる。さらに階調特性変換
手段15a、15b、15cにより階調特性変換するこ
とにより、2次より高次な非線形性あるいは、1次的な
演算あるいは、2次的な演算の組み合わせでは、得るこ
とのできない、例えば、液晶の有するようなS字特性な
ど複雑な非線形特性をも補正することができる。よっ
て、変換特性を柔軟に変更できて、しかも大容量メモリ
を必要としない色変換方法または色変換装置を得ること
ができる。ここで、階調特性変換手段は、1次元ルック
アップテーブルなどにより実現可能であり、その規模
は、3次元ルックアップテーブルと比較した場合、はる
かに小さいことは、言うまでも無い。
As described above, by changing the coefficient relating to the first comparison data relating to a specific hue, red, blue,
Of the six hues of green, yellow, cyan, and magenta, only the hues of interest can be adjusted without affecting other hues. Further, by changing the coefficient related to the second comparison data, The areas between the six hues of yellow, yellow to green, green to cyan, cyan to blue, blue to magenta, and magenta to red can be independently corrected, and the degree of change between the six hues can also be corrected. Further, by performing the gradation characteristic conversion by the gradation characteristic conversion means 15a, 15b, and 15c, it cannot be obtained by a non-linearity higher than the second order, a primary operation, or a combination of the secondary operations. For example, a complicated nonlinear characteristic such as an S-shaped characteristic of a liquid crystal can be corrected. Therefore, it is possible to obtain a color conversion method or a color conversion apparatus which can flexibly change the conversion characteristics and does not require a large-capacity memory. Here, the tone characteristic conversion means can be realized by a one-dimensional lookup table or the like, and it is needless to say that the scale is much smaller than that of the three-dimensional lookup table.

【0126】なお、上記実施の形態2では、ハードウェ
アにより図15の構成の処理を行う場合について説明し
ているが、ソフトウェアなどにより同様の処理を行う色
変換方法としても効果的であるは言うまでもなく、、上
記実施の形態2と同様の効果を奏する。また、階調特性
変換手段15a、15b、15cそれぞれの変換特性
は、出力デバイスの特性を考慮して決められるもので、
例えばガンマ補正特性などに限定されるものではなく、
極端な場合には、直線的な特性のものであっても良い。
ただし、直線的な場合であっても、その傾きを個々に変
えることにより出力信号のレベルバランスを調整するこ
とも可能である。
In the second embodiment, the case where the processing of the configuration shown in FIG. 15 is performed by hardware is described. However, it is needless to say that a color conversion method of performing the same processing by software or the like is also effective. Therefore, the same effect as in the second embodiment is obtained. The conversion characteristics of each of the gradation characteristic conversion units 15a, 15b, and 15c are determined in consideration of the characteristics of the output device.
For example, it is not limited to gamma correction characteristics, etc.
In an extreme case, it may have a linear characteristic.
However, even in the case of a straight line, the level balance of the output signal can be adjusted by individually changing the slope.

【0127】実施の形態3.実施の形態1ではマトリク
ス演算手段4における部分的な一構成例を図5に示すブ
ロック図であるとし、式(1)に示すように、色相デー
タと各演算項および無彩色データであるR、G、Bの最
小値αを加算して画像データR、G、Bを出力するよう
構成したが、図15に示すように、係数発生手段におい
て無彩色データである最小値αに対する係数を発生する
ことにより、無彩色成分を調整するよう構成することも
できる。
Embodiment 3 In the first embodiment, it is assumed that a partial configuration example of the matrix operation means 4 is a block diagram shown in FIG. 5, and as shown in Expression (1), hue data, each operation term, and R, Although the image data R, G, and B are output by adding the minimum values α of G and B, as shown in FIG. 15, the coefficient generation means generates a coefficient for the minimum value α which is achromatic data. Thereby, the achromatic component can be adjusted.

【0128】図15はこの発明の実施形態3による色変
換方法および色変換装置の構成の一例を示すブロック図
である。図において、1、2、3、15a、15b、1
5cは上記実施の形態1の図1におけるものと同一のも
のであり、4bはマトリクス演算手段、5bは係数発生
手段である。
FIG. 15 is a block diagram showing an example of the configuration of a color conversion method and a color conversion apparatus according to Embodiment 3 of the present invention. In the figure, 1, 2, 3, 15a, 15b, 1
5c is the same as that in FIG. 1 of the first embodiment, 4b is a matrix calculation means, and 5b is a coefficient generation means.

【0129】次に動作を説明する。入力データよりαβ
算出手段1において最大値β、最小値αおよび識別符号
S1を求め、色相データ算出手段2により6つの色相デ
ータを算出し、多項式演算手段3において演算項を求め
る動作は上記実施の形態1と同一であるのでその詳細な
説明は省略する。
Next, the operation will be described. Αβ from input data
The operation of calculating the maximum value β, the minimum value α, and the identification code S1 in the calculation means 1, calculating the six hue data by the hue data calculation means 2, and obtaining the operation term in the polynomial operation means 3 is the same as in the first embodiment. Therefore, the detailed description is omitted.

【0130】図15の係数発生手段5bは、識別符号S
1に基づき、多項式データの演算係数U(Fij)と固
定係数U(Eij)を発生し、マトリクス演算手段4b
へと送る。マトリクス演算手段4bは、上記色相データ
算出手段2からの色相データr、g、bと多項式演算手
段3からの多項式データT2、T4、T5、αβ算出手
段1からの最小値αおよび係数発生手段5bからの係数
Uを入力とし、演算を行うのであるが、その演算式は下
記の式(9)を使用し、無彩色成分を調整する。
The coefficient generating means 5b shown in FIG.
1 to generate a calculation coefficient U (Fij) and a fixed coefficient U (Eij) of the polynomial data,
Send to The matrix calculating means 4b includes the hue data r, g, b from the hue data calculating means 2 and the polynomial data T2, T4, T5 from the polynomial calculating means 3, the minimum value α from the αβ calculating means 1, and the coefficient generating means 5b. The calculation is performed using the coefficient U from the input as an input, and the achromatic component is adjusted using the following equation (9).

【0131】[0131]

【数31】 (Equation 31)

【0132】なお、式(9)において(Eij)ではi
=1〜3、j=1〜3、(Fij)ではi=1〜3、j
=1〜4である。
It should be noted that in equation (9), (Eij) denotes i
= 1-3, j = 1-3, (Fij) i = 1-3, j
= 1-4.

【0133】ここで、図16はマトリクス演算手段4b
の部分的な構成例を示すブロック図であり、図16にお
いて、12a、12c、12e、12f、13a、13
d、13eは上記実施の形態1でのマトリクス演算手段
4と同一のものであり、12gは図1におけるαβ算出
手段1からの無彩色成分を示す最小値αと係数発生手段
5bからの係数Uを入力とし、その乗算を行う乗算手
段、13fは加算手段である。
FIG. 16 shows the matrix operation means 4b.
FIG. 17 is a block diagram showing an example of a partial configuration of FIG. 16. In FIG. 16, 12a, 12c, 12e, 12f, 13a, and 13
d and 13e are the same as those of the matrix calculation means 4 in the first embodiment, and 12g is the minimum value α indicating the achromatic component from the αβ calculation means 1 in FIG. 1 and the coefficient U from the coefficient generation means 5b. Is input, and multiplication means for performing the multiplication is provided, and 13f is addition means.

【0134】次に、図16の動作を説明する。乗算手段
12a、12c、12e、12fは、色相データrと多
項式演算手段3からの多項式データT2、T4、T5と
係数発生手段5bからの係数U(Eij)およびU(F
ij)を入力とし、それぞれの積を出力し、加算手段1
3a、13d、13eにおいて、それぞれの積および和
を加算するのであるが、その動作は実施の形態1におけ
るマトリクス演算手段4での動作と同一である。乗算手
段12gには、αβ算出手段1からの無彩色成分に相当
するR、G、Bデータの最小値αと係数発生手段5bか
らの係数U(Fij)が入力されて乗算を行い、その積
を加算手段13fへと出力し、加算手段13fで上記加
算手段13eからの出力と加算して、総和を画像データ
Rの出力Rとして出力する。なお、図17の構成例にお
いて、色相データrをgまたはbに置換すれば、画像デ
ータG、Bを演算できる。
Next, the operation of FIG. 16 will be described. The multiplying means 12a, 12c, 12e and 12f respectively provide the hue data r, the polynomial data T2, T4 and T5 from the polynomial calculating means 3 and the coefficients U (Eij) and U (F) from the coefficient generating means 5b.
ij) as inputs, outputs the respective products, and adds
In 3a, 13d and 13e, the respective products and sums are added, and the operation is the same as the operation of the matrix operation means 4 in the first embodiment. The minimum value α of the R, G, and B data corresponding to the achromatic component from the αβ calculation unit 1 and the coefficient U (Fij) from the coefficient generation unit 5b are input to the multiplication unit 12g, and the product is multiplied. To the adding means 13f, and the adding means 13f adds the output from the adding means 13e to output the sum as an output R of the image data R. In the configuration example of FIG. 17, if the hue data r is replaced with g or b, the image data G and B can be calculated.

【0135】ここで、係数(Eij)と(Fij)は、
それぞれの色相データr、g、bに対応した係数が使用
され、図17の構成をr、g、bに対し並列に3つ使用
すれば、高速なマトリクス演算が可能になる。
Here, the coefficients (Eij) and (Fij) are
Coefficients corresponding to the respective hue data r, g, and b are used. If three configurations shown in FIG. 17 are used in parallel for r, g, and b, high-speed matrix calculation can be performed.

【0136】以上より、マトリクス演算手段4bは各演
算項および無彩色データである最小値αに対し係数によ
り演算を行い、色相データと加算して画像データR、
G、Bを出力し、このときの画像データを求める演算式
は、式(3)となる。
As described above, the matrix operation means 4b performs an operation on each operation term and the minimum value α which is achromatic color data by using a coefficient, and adds the calculated hue data to the image data R,
An arithmetic expression for outputting G and B and obtaining the image data at this time is represented by Expression (3).

【0137】[0137]

【数32】 (Equation 32)

【0138】ここで、式(3)において(Eij)では
i=1〜3、j=1〜3、(Fij)i=1〜3、j=
1〜13である。
Here, in equation (3), in (Eij), i = 1 to 3, j = 1 to 3, (Fij) i = 1 to 3, j =
1 to 13.

【0139】なお、式(3)の演算項と図15での演算
項の数の違いは、上記実施の形態1の場合と同様に、図
15の多項式データ演算手段における演算項がゼロとな
るデータを除く画素毎の演算方法を開示しているのに対
して、式(3)は画素集合に対する一般式を開示してい
る点にある。つまり、式(3)の多項式データは、1画
素について、13個のデータを4個の有効データに削減
でき、この削減は、色相データの性質を巧みに活用して
達成している。
The difference between the number of operation terms in equation (3) and the number of operation terms in FIG. 15 is that the number of operation terms in the polynomial data calculation means in FIG. 15 is zero, as in the first embodiment. While the calculation method for each pixel excluding data is disclosed, Expression (3) discloses a general expression for a pixel set. In other words, the polynomial data of equation (3) can reduce 13 data to 4 valid data for one pixel, and this reduction is achieved by skillfully utilizing the properties of hue data.

【0140】また、有効データの組合せは、着目画素の
画像データに応じて変わり、全画像データでは全ての多
項式データが有効になる。
The combination of valid data changes according to the image data of the pixel of interest, and all polynomial data is valid in all image data.

【0141】ここで、上記最小値αに係わる係数を全て
1とすると、無彩色データは変換されず、入力データに
おける無彩色データと同一の値となる。そして、マトリ
クス演算において係数を変化させれば、赤みの黒、青み
の黒等の選択ができ、無彩色成分を調整できる。
Here, if all the coefficients relating to the minimum value α are set to 1, the achromatic data is not converted and becomes the same value as the achromatic data in the input data. Then, by changing the coefficient in the matrix operation, it is possible to select reddish black, bluish black, or the like, and adjust the achromatic component.

【0142】以上より、特定の色相に関与する第1の比
較データと、色相間領域に関与する第2の比較データそ
れぞれに係る係数を変化させることにより、赤、青、
緑、イエロー、シアン、マゼンタの6つの色相および6
つの色相間領域において着目している色相のみを、他の
色相に影響を与えることなく調整できるのみならす、無
彩色データである最小値αに係わる係数を変化させるこ
とにより、無彩色成分のみのを色相成分に影響を与える
ことなく調整することができ、例えば標準の黒、赤みの
黒、青みの黒等の選択を行うことができる。
As described above, by changing the coefficients relating to the first comparison data relating to the specific hue and the second comparison data relating to the inter-hue region, the red, blue,
6 hues of green, yellow, cyan, magenta and 6
By changing the coefficient related to the minimum value α that is achromatic data, only the hue of interest in one inter-hue region can be adjusted without affecting other hues, The adjustment can be made without affecting the hue component. For example, standard black, reddish black, bluish black, and the like can be selected.

【0143】なお、上記実施の形態3では、マトリクス
演算後画像データR、G、Bを得る場合として説明した
が、上記出力画像データR、G、Bを得た後、 R、
G、Bを補色データC、M、Yに変換してもよく、マト
リクス演算における係数を各色相および色相間領域と無
彩色データである最小値αに対して変化できれば、上記
と同様の効果を奏する。
In the third embodiment, a case has been described in which image data R, G, and B after matrix operation are obtained. However, after the output image data R, G, and B are obtained, R, G, and B are obtained.
G and B may be converted into complementary color data C, M and Y. If the coefficients in the matrix operation can be changed with respect to each hue and inter-hue area and the minimum value α which is achromatic color data, the same effect as described above can be obtained. Play.

【0144】また、上記実施の形態1と同様、実施の形
態3においても、ソフトウェアなどにより同様の処理を
行う色変換方法としても効果的であるは言うまでもな
く、上記実施の形態3と同様の効果を奏する。また、階
調特性変換手段15a、15b、15cそれぞれの変換
特性は、出力デバイスの特性を考慮して決められるもの
で、例えばガンマ補正特性などに限定されるものではな
く、極端な場合には、直線的な特性のものであっても良
い。ただし、直線的な場合であっても、その傾きを個々
に変えることにより出力信号のレベルバランスを調整す
ることも可能である。
In addition, as in the first embodiment, the third embodiment is also effective as a color conversion method for performing the same processing by software or the like. Needless to say, the same effect as in the third embodiment is obtained. To play. The conversion characteristics of each of the gradation characteristic conversion means 15a, 15b, and 15c are determined in consideration of the characteristics of the output device, and are not limited to, for example, gamma correction characteristics. It may have a linear characteristic. However, even in the case of a straight line, the level balance of the output signal can be adjusted by individually changing the slope.

【0145】実施の形態4.実施の形態2では式(2)
に示すように、色相データと各演算項および無彩色デー
タである最小値αを加算するよう構成したが、図17に
示すように、係数発生手段において無彩色データである
最小値αに対する係数を発生することにより、無彩色成
分を調整するよう構成することもできる。
Embodiment 4 In the second embodiment, equation (2)
As shown in FIG. 17, the hue data is added to each operation term and the minimum value α which is achromatic color data. However, as shown in FIG. The generation can be configured to adjust the achromatic component.

【0146】図17はこの発明の実施形態4による色変
換方法および色変換装置の構成の一例を示すブロック図
である。図において、14、1b、2b、3、15a、
15b、15cは上記実施の形態2の図14におけるも
のと同一のものであり、4b、5bは上記実施の形態3
の図15におけるものと同一のものである。
FIG. 17 is a block diagram showing an example of the configuration of a color conversion method and a color conversion apparatus according to Embodiment 4 of the present invention. In the figure, 14, 1b, 2b, 3, 15a,
15b and 15c are the same as those in FIG. 14 of the second embodiment, and 4b and 5b are the third embodiment.
Are the same as those in FIG.

【0147】次に動作を説明する。入力画像データR、
G、Bは補数手段14に入力され、1の補数処理した補
色データCi、Mi、Yiが出力され、αβ算出手段1
bで最大値β、最小値αおよび識別符号S1を求め、色
相データ算出手段2bにより6つの色相データを算出
し、多項式演算手段3において演算項を求める動作は上
記実施の形態2の補色データC、M、Yの場合の処理と
同一であるので、その詳細な説明は省略する。
Next, the operation will be described. Input image data R,
G and B are input to the complement means 14, and complement color data Ci, Mi, and Yi subjected to one's complement processing are output, and αβ calculation means 1
b, the maximum value β, the minimum value α, and the identification code S1 are obtained, the hue data calculation means 2b calculates six hue data, and the polynomial calculation means 3 obtains the operation term in the complementary color data C of the second embodiment. , M, and Y, and the detailed description thereof is omitted.

【0148】図17の係数発生手段5bは、識別符号S
1に基づき、多項式データの演算係数U(Fij)と固
定係数U(Eij)を発生し、マトリクス演算手段4b
へと送る。マトリクス演算手段4bは、上記色相データ
算出手段2bからの色相データc、m、yと多項式演算
手段3からの多項式データT2、T4、T5、αβ算出
手段1bからの最小値αおよび係数発生手段5bからの
係数Uを入力とし、演算を行うのであるが、その演算式
は下記の式(10)を使用し、無彩色成分を調整する。
The coefficient generating means 5b shown in FIG.
1 to generate a calculation coefficient U (Fij) and a fixed coefficient U (Eij) of the polynomial data,
Send to The matrix calculation means 4b includes the hue data c, m, y from the hue data calculation means 2b and the polynomial data T2, T4, T5 from the polynomial calculation means 3, the minimum value α from the αβ calculation means 1b, and the coefficient generation means 5b. The operation is performed by using the coefficient U from the input as an input, and the operation expression uses the following expression (10) to adjust the achromatic component.

【0149】[0149]

【数33】 [Equation 33]

【0150】なお、式(10)において(Eij)では
i=1〜3、j=1〜3、(Fij)ではi=1〜3、
j=1〜4である。
In equation (10), i = 1 to 3 and j = 1 to 3 in (Eij), i = 1 to 3 in (Fij),
j = 1 to 4.

【0151】なお、マトリクス演算手段4bにおける動
作は、上記実施の形態3における図16において、入力
される色相データをc(またはm、y)とし、C(また
はM、Y)を演算し出力する場合であり、同様の動作を
行うので、その詳細な説明は省略する。
In the operation of the matrix operation means 4b, the input hue data is c (or m, y) in FIG. 16 in the third embodiment, and C (or M, Y) is calculated and output. This is the case, and the same operation is performed, so that the detailed description is omitted.

【0152】以上より、マトリクス演算手段4bは各演
算項および無彩色データである最小値αに対し係数によ
り演算を行い、色相データと加算して補色データC、
M、Yを出力し、このときの画像データを求める演算式
は、式(4)となる。
As described above, the matrix operation means 4b performs an operation on each operation term and the minimum value α which is achromatic color data by using a coefficient, and adds the calculated hue data to the complementary color data C,
An arithmetic expression for outputting M and Y and obtaining the image data at this time is represented by Expression (4).

【0153】[0153]

【数34】 (Equation 34)

【0154】ここで、式(4)において(Eij)では
i=1〜3、j=1〜3、(Fij)i=1〜3、j=
1〜13である。
Here, in equation (4), in (Eij), i = 1 to 3, j = 1 to 3, (Fij) i = 1 to 3, j =
1 to 13.

【0155】なお、式(4)の演算項と図17での演算
項の数の違いは、上記実施の形態2の場合と同様に、図
17の多項式データ演算手段における演算項がゼロとな
るデータを除く画素毎の演算方法を開示しているのに対
して、式(4)は画素集合に対する一般式を開示してい
る点にある。つまり、式(4)の多項式データは、1画
素について、13個のデータを4個の有効データに削減
でき、この削減は、色相データの性質を巧みに活用して
達成している。
The difference between the number of operation terms in equation (4) and the number of operation terms in FIG. 17 is that the number of operation terms in the polynomial data operation means in FIG. 17 is zero, as in the second embodiment. While the calculation method for each pixel excluding data is disclosed, Expression (4) discloses a general expression for a pixel set. That is, the polynomial data of the equation (4) can reduce 13 data to 4 valid data per pixel, and this reduction is achieved by skillfully utilizing the properties of the hue data.

【0156】また、有効データの組合せは、着目画素の
画像データに応じて変わり、全画像データでは全ての多
項式データが有効になる。
The combination of valid data changes according to the image data of the pixel of interest, and all polynomial data is valid in all image data.

【0157】ここで、上記最小値αに係わる係数を全て
1とすると、無彩色データは変換されず、入力データに
おける無彩色データと同一の値となる。そして、マトリ
クス演算において係数を変化させれば、赤みの黒、青み
の黒等の選択ができ、無彩色成分を調整できる。
Here, if the coefficients relating to the minimum value α are all 1, the achromatic data is not converted, and has the same value as the achromatic data in the input data. Then, by changing the coefficient in the matrix operation, it is possible to select reddish black, bluish black, or the like, and adjust the achromatic component.

【0158】以上より、特定の色相に関与する第1の比
較データと、色相間領域に関与する第2の比較データそ
れぞれに係る係数を変化させることにより、赤、青、
緑、イエロー、シアン、マゼンタの6つの色相および6
つの色相間領域において着目している色相のみを、他の
色相に影響を与えることなく調整できるのみならす、無
彩色データである最小値αに係わる係数を変化させるこ
とにより、無彩色成分のみのを色相成分に影響を与える
ことなく調整することができ、例えば標準の黒、赤みの
黒、青みの黒等の選択を行うことができる。
As described above, by changing the coefficients of the first comparison data relating to the specific hue and the second comparison data relating to the inter-hue region, red, blue,
6 hues of green, yellow, cyan, magenta and 6
By changing the coefficient related to the minimum value α that is achromatic data, only the hue of interest in one inter-hue region can be adjusted without affecting other hues, The adjustment can be made without affecting the hue component. For example, standard black, reddish black, bluish black, and the like can be selected.

【0159】また、上記実施の形態と同様、実施の形態
4においても、ソフトウェアなどにより同様の処理を行
う色変換方法としても効果的であるは言うまでもなく、
上記実施の形態4と同様の効果を奏する。また、階調特
性変換手段15a、15b、15cそれぞれの変換特性
は、出力デバイスの特性を考慮して決められるもので、
例えばガンマ補正特性などに限定されるものではなく、
極端な場合には、直線的な特性のものであっても良い。
ただし、直線的な場合であっても、その傾きを個々に変
えることにより入力信号のレベルバランスを調整するこ
とも可能である。
Also, as in the above-described embodiment, the fourth embodiment is also effective as a color conversion method for performing the same processing by software or the like.
An effect similar to that of the fourth embodiment is provided. The conversion characteristics of each of the gradation characteristic conversion units 15a, 15b, and 15c are determined in consideration of the characteristics of the output device.
For example, it is not limited to gamma correction characteristics, etc.
In an extreme case, it may have a linear characteristic.
However, even in the case of a straight line, the level balance of the input signal can be adjusted by individually changing the slope.

【0160】[0160]

【発明の効果】以上のように、この発明による色変換装
置は、画素毎の入力画像データにおける最大値βと最小
値αを算出する算出手段と、画像データと上記算出手段
からの出力である最大値βと最小値αにより色相データ
r、g、bおよびy、m、cを算出する色相データ算出
手段と、上記色相データ算出手段からの出力である各色
相データを用いた第1の比較データを生成する手段と、
上記第1の比較データを生成する手段からの出力である
第1の比較データを用いた第2の比較データを生成する
手段と、所定のマトリクス係数を発生する係数発生手段
を備えるとともに、上記第1の比較データを生成する手
段からの第1の比較データと、上記第2の比較データを
生成する手段からの第2の比較データと、上記色相デー
タ算出手段からの色相データ、および上記算出手段から
の最小値αを用いて、上記係数発生手段からの係数によ
るマトリクス演算を行うことにより色変換された画像デ
ータを得ることを特徴とするので、赤、青、緑、イエロ
ー、シアン、マゼンタの6つの色相に加え、更に赤〜イ
エロー、イエロー〜緑、緑〜シアン、シアン〜青、青〜
マゼンタ、マゼンタ〜赤の6つの色相間の領域を独立に
補正することにより、上記6つの色相間の変化の度合い
をも補正でき、さらに階調特性変換手段15a、15
b、15cにより階調特性変換することにより、2次よ
り高次な非線形性あるいは、1次的な演算あるいは、2
次的な演算の組み合わせでは、得ることのできない、例
えば、液晶の有するようなS字特性など複雑な非線形特
性をも補正することができる。よって、変換特性を柔軟
に変更できて、しかも大容量メモリを必要としない色変
換方法または色変換装置を得ることができると言う効果
がある。ここで、階調特性変換手段は、1次元ルックア
ップテーブルなどにより実現可能であり、その規模は、
3次元ルックアップテーブルと比較した場合、はるかに
小さいことは、言うまでも無い。また、マトリクス演算
における上記6つの色相間の中間領域の変化に関与する
演算項として、上記第1の比較データを用いて算出され
る上記第2の比較データを生成して用いるので、上記6
つの色相間の中間領域の変化に関与する演算項の算出
に、第1の比較データを用いず、上記色相データr、
g、b、y、m、cを用いて算出する場合と比較して、
演算項の算出に必要な演算が少なくなるという効果もあ
る。
As described above, the color conversion apparatus according to the present invention includes the calculating means for calculating the maximum value β and the minimum value α in the input image data for each pixel, and the image data and the output from the calculating means. Hue data calculation means for calculating hue data r, g, b and y, m, c based on the maximum value β and the minimum value α, and a first comparison using each hue data output from the hue data calculation means Means for generating data;
A means for generating second comparison data using the first comparison data output from the means for generating the first comparison data; and a coefficient generation means for generating a predetermined matrix coefficient. First comparison data from the means for generating the first comparison data, second comparison data from the means for generating the second comparison data, hue data from the hue data calculation means, and the calculation means Is used to obtain color-converted image data by performing a matrix operation using the coefficient from the coefficient generating means using the minimum value α from red, blue, green, yellow, cyan, and magenta. In addition to the six hues, red-yellow, yellow-green, green-cyan, cyan-blue, blue-
By independently correcting the areas between the six hues of magenta and magenta to red, the degree of change between the six hues can be corrected, and further, the gradation characteristic conversion means 15a, 15
b, 15c, to convert the gradation characteristics into higher-order non-linearities or first-order operations,
By the combination of the following calculations, it is possible to correct a complicated nonlinear characteristic that cannot be obtained, for example, an S-shaped characteristic of a liquid crystal. Accordingly, there is an effect that a color conversion method or a color conversion device that can change the conversion characteristics flexibly and does not require a large-capacity memory can be obtained. Here, the gradation characteristic conversion means can be realized by a one-dimensional lookup table or the like, and its scale is
Needless to say, it is much smaller when compared to a three-dimensional lookup table. In addition, since the second comparison data calculated using the first comparison data is generated and used as an operation term related to a change in the intermediate region between the six hues in the matrix operation,
The above hue data r, without using the first comparison data for the calculation of the operation term related to the change of the intermediate region between the two hues
g, b, y, m, and c.
There is also an effect that the number of calculations required for calculating the calculation term is reduced.

【0161】また、この発明による色変換装置は、上記
最大値βと最小値αを算出する算出手段が入力画像デー
タR、G、Bにおける最大値βと最小値αを算出する手
段を備え、上記色相データ算出手段が入力画像データ
R、G、Bと上記算出手段からの出力である最大値βと
最小値αからの減算処理r=R−α、g=G―α、b=
B―αおよびy=β−B、m=β−G、c=β−Rによ
り色相データr、g、bおよびy、m、cを算出する手
段を備えるとともに、上記第1の比較データを生成する
手段が、色相データr、g、b間およびy、m、c間に
おける比較データを求める手段を備え、上記第2の比較
データを生成する手段が、上記第1の比較データを生成
する手段からの出力である第1の比較データに所定の演
算係数を乗算する乗算手段と、上記乗算手段からの出力
を用いた比較データを求める手段とを備え、上記第1の
比較データを生成する手段からの第1の比較データと、
上記第2の比較データを生成する手段からの第2の比較
データと、上記色相データ算出手段からの色相データ、
および上記算出手段からの最小値αを用いて、マトリク
ス演算を行うことにより色変換された画像データを得る
ことを特徴とするので、上記色相データ算出手段を入力
された画像データR、G、Bと上記算出手段からの出力
である最大値βと最小値αからの減算処理を用いて構成
することが可能であるとともに、上記第1の比較データ
を生成する手段、上記第2の比較データを生成する手段
を比較演算処理、加減算処理、乗算処理などの簡単な演
算手段を用いて構成することが可能であるという効果も
ある。
In the color conversion apparatus according to the present invention, the calculating means for calculating the maximum value β and the minimum value α includes means for calculating the maximum value β and the minimum value α in the input image data R, G, B, The hue data calculation means subtracts the input image data R, G, B from the maximum value β and the minimum value α output from the calculation means r = R−α, g = G−α, b =
Means for calculating hue data r, g, b and y, m, c from B-α and y = β-B, m = β-G, c = β-R, and the first comparison data The means for generating includes means for calculating comparison data between hue data r, g, b and between y, m, c, and the means for generating the second comparison data generates the first comparison data. Multiplying means for multiplying the first comparison data output from the means by a predetermined operation coefficient; and means for obtaining comparison data using the output from the multiplication means to generate the first comparison data First comparison data from the means;
Second comparison data from the means for generating the second comparison data, hue data from the hue data calculation means,
And performing a matrix operation using the minimum value α from the calculation means to obtain color-converted image data. Therefore, the hue data calculation means inputs the image data R, G, B And a subtraction process from a maximum value β and a minimum value α output from the calculation means, and a means for generating the first comparison data; There is also an effect that the means for generating can be configured using simple arithmetic means such as comparison arithmetic processing, addition / subtraction processing, and multiplication processing.

【0162】また、この発明による色変換装置は、上記
最大値βと最小値αを算出する算出手段が入力画像デー
タR、G、Bより補色データC、M、Yを求め、上記補
色データC、M、Yにおける最大値βと最小値αを算出
する手段を備え、上記色相データ算出手段が画像データ
R、G、Bより補色データC、M、Yを求め、上記補色
データC、M、Yと上記算出手段からの出力である最大
値βと最小値αからの減算処理r=β−C、g=β−
M、b=β−Yおよびy=Y−α、m=M−α、c=C
−αにより色相データr、g、bおよびy、m、cを算
出する手段を備えるとともに、上記第1の比較データを
生成する手段が、色相データr、g、b間およびy、
m、c間における比較データを求める手段を備え、上記
第2の比較データを生成する手段が、上記第1の比較デ
ータを生成する手段からの出力である第1の比較データ
に所定の演算係数を乗算する乗算手段と、上記乗算手段
からの出力を用いた比較データを求める手段とを備え、
上記第1の比較データを生成する手段からの第1の比較
データと、上記第2の比較データを生成する手段からの
第2の比較データと、上記色相データ算出手段からの色
相データ、および上記算出手段からの最小値αを用い
て、マトリクス演算を行うことにより色変換された画像
データを得ることを特徴とするので、上記色相データ算
出手段を入力画像データR、G、Bより補色データC、
M、Yを求め、上記補色データC、M、Yと上記算出手
段からの出力である最大値βと最小値αからの減算処理
を用いて構成することが可能であるとともに、上記第1
の比較データを生成する手段、上記第2の比較データを
生成する手段を比較演算処理、加減算処理、乗算処理な
どの簡単な演算手段を用いて構成することが可能である
という効果もある。
In the color conversion apparatus according to the present invention, the calculating means for calculating the maximum value β and the minimum value α obtains the complementary color data C, M, and Y from the input image data R, G, and B. , M, Y, a means for calculating the maximum value β and the minimum value α, wherein the hue data calculating means obtains complementary color data C, M, Y from the image data R, G, B, and outputs the complementary color data C, M, Subtraction processing from Y and the maximum value β and the minimum value α output from the calculation means r = β−C, g = β−
M, b = β-Y and y = Y−α, m = M−α, c = C
Means for calculating hue data r, g, b and y, m, c by -α, and means for generating the first comparison data, the means for generating hue data r, g, b, and y,
means for obtaining comparison data between m and c, wherein the means for generating the second comparison data includes a predetermined operation coefficient added to the first comparison data output from the means for generating the first comparison data. Multiplying means, and means for obtaining comparison data using an output from the multiplying means,
The first comparison data from the means for generating the first comparison data, the second comparison data from the means for generating the second comparison data, the hue data from the hue data calculation means, Since the color conversion image data is obtained by performing a matrix operation using the minimum value α from the calculation means, the hue data calculation means can calculate the complementary color data C from the input image data R, G, and B. ,
M and Y can be obtained and configured by using the complementary color data C, M and Y and a subtraction process from the maximum value β and the minimum value α output from the calculation means.
There is also an effect that the means for generating the comparison data and the means for generating the second comparison data can be configured using simple calculation means such as comparison calculation processing, addition / subtraction processing, and multiplication processing.

【0163】また、この発明による色変換装置は、上記
第1の比較データを生成する手段が、色相データr、
g、b、y、m、cを用いて、第1の比較データh1r
=min(m、y)、h1g=min(y、c)、h1
b=min(c、m)、h1c=min(g、b)、h
1m= min(b、r)、h1y= min(r、
g)(min(A、B)はA、Bの最小値を示す。)を
求める手段を備え、上記第2の比較データを生成する手
段が、上記第1の比較データh1r、h1g、h1b、
h1c、h1m、h1yを用いて、第2の比較データh
2ry=min(aq1×h1y、ap1×h1r)、
h2rm=min(aq2×h1m、ap2×h1
r)、 h2gy=min(aq3×h1y、ap3×
h1g)、 h2gc=min(aq4×h1c、ap
4×h1g)、 h2bm=min(aq5×h1m、
ap5×h1b)、 h2bc=min(aq6×h1
c、ap6×h1b)を求めるとともに、上記係数発生
手段において所定のマトリクス係数Eij(i=1〜
3、j=1〜3)とFij(i=1〜3、j=1〜1
2)を発生し、色相データと、上記第1の比較データ
と、第2の比較データおよび上記算出手段の出力である
最小値αに対し、式(1)のマトリクス演算式によりマ
トリクス演算を行うことにより色変換された画像データ
を得ることを特徴とするので、上記色変換された画像デ
ータは赤、緑、青の3色で表現する画像データR、G、
Bとして求められ、上記第1の比較データを生成する手
段を上記色相データを入力とする最小値選択処理のごと
く簡単な演算手段を用いて構成することが可能であると
ともに、上記第2の比較データを生成する手段を乗算処
理と最小値選択処理の簡単な演算手段の組み合わせを用
いて構成することが可能であるという効果もある。
Also, in the color conversion apparatus according to the present invention, the means for generating the first comparison data may include hue data r,
First comparison data h1r using g, b, y, m, and c
= Min (m, y), h1g = min (y, c), h1
b = min (c, m), h1c = min (g, b), h
1m = min (b, r), h1y = min (r,
g) (where min (A, B) indicates the minimum value of A and B), and the means for generating the second comparison data includes the first comparison data h1r, h1g, h1b,
Using h1c, h1m, and h1y, the second comparison data h
2ry = min (aq1 × h1y, ap1 × h1r),
h2rm = min (aq2 × h1m, ap2 × h1
r), h2gy = min (aq3 × h1y, ap3 ×
h1g), h2gc = min (aq4 × h1c, ap
4 × h1g), h2bm = min (aq5 × h1m,
ap6 × h1b), h2bc = min (aq6 × h1)
c, ap6 × h1b), and a predetermined matrix coefficient Eij (i = 1 to
3, j = 1 to 3) and Fij (i = 1 to 3, j = 1 to 1)
2) is performed, and the hue data, the first comparison data, the second comparison data, and the minimum value α output from the calculation means are subjected to a matrix operation using the matrix operation expression of the expression (1). Therefore, the color-converted image data is obtained by image data R, G, and R represented by three colors of red, green, and blue.
B, the means for generating the first comparison data can be configured using a simple calculation means such as a minimum value selection process using the hue data as input, and the second comparison data There is also an effect that the means for generating data can be configured using a combination of simple arithmetic means of multiplication processing and minimum value selection processing.

【0164】[0164]

【数35】 (Equation 35)

【0165】また、この発明による色変換装置は、上記
第1の比較データを生成する手段が、色相データr、
g、b、y、m、cを用いて、第1の比較データh1r
=min(m、y)、h1g=min(y、c)、h1
b=min(c、m)、h1c=min(g、b)、h
1m= min(b、r)、h1y= min(r、
g)(min(A、B)はA、Bの最小値を示す。)を
求める手段を備え、上記第2の比較データを生成する手
段が、上記第1の比較データh1r、h1g、h1b、
h1c、h1m、h1yを用いて、第2の比較データh
2ry=min(aq1×h1y、ap1×h1r)、
h2rm=min(aq2×h1m、ap2×h1
r)、 h2gy=min(aq3×h1y、ap3×
h1g)、 h2gc=min(aq4×h1c、ap
4×h1g)、 h2bm=min(aq5×h1m、
ap5×h1b)、 h2bc=min(aq6×h1
c、ap6×h1b)を求めるとともに、上記係数発生
手段において所定のマトリクス係数Eij(i=1〜
3、j=1〜3)とFij(i=1〜3、j=1〜1
2)を発生し、色相データと、上記第1の比較データ
と、第2の比較データおよび上記算出手段の出力である
最小値αに対し、式(2)のマトリクス演算式によりマ
トリクス演算を行うことにより色変換された画像データ
を得ることを特徴とするので、上記色変換された画像デ
ータはシアン、マゼンタ、イエローの3色で表現する画
像データC、M、Yとして求められ、上記第1の比較デ
ータを生成する手段を、上記色相データを入力とする最
小値選択処理のごとく簡単な演算手段を用いて構成する
ことが可能であるとともに、上記第2の比較データを生
成する手段を乗算処理と最小値選択処理の簡単な演算手
段の組み合わせを用いて構成することが可能であるとい
う効果もある。
Further, in the color conversion apparatus according to the present invention, the means for generating the first comparison data includes hue data r,
First comparison data h1r using g, b, y, m, and c
= Min (m, y), h1g = min (y, c), h1
b = min (c, m), h1c = min (g, b), h
1m = min (b, r), h1y = min (r,
g) (where min (A, B) indicates the minimum value of A and B), and the means for generating the second comparison data includes the first comparison data h1r, h1g, h1b,
Using h1c, h1m, and h1y, the second comparison data h
2ry = min (aq1 × h1y, ap1 × h1r),
h2rm = min (aq2 × h1m, ap2 × h1
r), h2gy = min (aq3 × h1y, ap3 ×
h1g), h2gc = min (aq4 × h1c, ap
4 × h1g), h2bm = min (aq5 × h1m,
ap6 × h1b), h2bc = min (aq6 × h1)
c, ap6 × h1b), and a predetermined matrix coefficient Eij (i = 1 to
3, j = 1 to 3) and Fij (i = 1 to 3, j = 1 to 1)
2) is performed, and the hue data, the first comparison data, the second comparison data, and the minimum value α output from the calculation means are subjected to a matrix operation using the matrix operation expression of Expression (2). Thus, the color-converted image data is obtained as image data C, M, and Y expressed in three colors of cyan, magenta, and yellow. Means for generating the comparison data can be configured using simple calculation means such as the minimum value selection processing using the hue data as an input, and the means for generating the second comparison data can be multiplied. There is also an effect that the configuration can be made using a combination of simple calculation means of the processing and the minimum value selection processing.

【0166】[0166]

【数36】 [Equation 36]

【0167】また、この発明による色変換装置は、上記
第1の比較データを生成する手段が、色相データr、
g、b、y、m、cを用いて、第1の比較データh1r
=min(m、y)、h1g=min(y、c)、h1
b=min(c、m)、h1c=min(g、b)、h
1m= min(b、r)、h1y= min(r、
g)(min(A、B)はA、Bの最小値を示す。)を
求める手段を備え、上記第2の比較データを生成する手
段が、上記第1の比較データh1r、h1g、h1b、
h1c、h1m、h1yを用いて、第2の比較データh
2ry=min(aq1×h1y、ap1×h1r)、
h2rm=min(aq2×h1m、ap2×h1
r)、 h2gy=min(aq3×h1y、ap3×
h1g)、 h2gc=min(aq4×h1c、ap
4×h1g)、 h2bm=min(aq5×h1m、
ap5×h1b)、 h2bc=min(aq6×h1
c、ap6×h1b)を求めるとともに、上記係数発生
手段において所定のマトリクス係数Eij(i=1〜
3、j=1〜3)とFij(i=1〜3、j=1〜1
3)を発生し、色相データと、上記第1の比較データ
と、第2の比較データおよび上記算出手段の出力である
最小値αに対し、式(3)のマトリクス演算式によりマ
トリクス演算を行うことにより色変換された画像データ
を得ることを特徴とするので、上記色変換された画像デ
ータは赤、緑、青の3色で表現する画像データR、G、
Bとして求められ、赤、青、緑、イエロー、シアン、マ
ゼンタの6つの色相および6つの色相間領域において着
目している色相のみを、他の色相に影響を与えることな
く調整できるのみならす、無彩色データである最小値α
に係わる係数を変化させることにより、無彩色成分のみ
のを色相成分に影響を与えることなく調整することが可
能であるという効果もある。
Further, in the color conversion apparatus according to the present invention, the means for generating the first comparison data includes hue data r,
First comparison data h1r using g, b, y, m, and c
= Min (m, y), h1g = min (y, c), h1
b = min (c, m), h1c = min (g, b), h
1m = min (b, r), h1y = min (r,
g) (where min (A, B) indicates the minimum value of A and B), and the means for generating the second comparison data includes the first comparison data h1r, h1g, h1b,
Using h1c, h1m, and h1y, the second comparison data h
2ry = min (aq1 × h1y, ap1 × h1r),
h2rm = min (aq2 × h1m, ap2 × h1
r), h2gy = min (aq3 × h1y, ap3 ×
h1g), h2gc = min (aq4 × h1c, ap
4 × h1g), h2bm = min (aq5 × h1m,
ap6 × h1b), h2bc = min (aq6 × h1)
c, ap6 × h1b), and a predetermined matrix coefficient Eij (i = 1 to
3, j = 1 to 3) and Fij (i = 1 to 3, j = 1 to 1)
3) is generated, and a matrix operation is performed on the hue data, the first comparison data, the second comparison data, and the minimum value α output from the calculation means by the matrix operation expression of the expression (3). Therefore, the color-converted image data is obtained by image data R, G, and R represented by three colors of red, green, and blue.
B, only the hues of interest in the six hues of red, blue, green, yellow, cyan, and magenta and in the region between the six hues can be adjusted without affecting other hues. Minimum value α that is coloring data
By changing the coefficient related to, there is also an effect that it is possible to adjust only the achromatic color component without affecting the hue component.

【0168】[0168]

【数37】 (37)

【0169】また、この発明による色変換装置は、上記
第1の比較データを生成する手段が、色相データr、
g、b、y、m、cを用いて、第1の比較データh1r
=min(m、y)、h1g=min(y、c)、h1
b=min(c、m)、h1c=min(g、b)、h
1m= min(b、r)、h1y= min(r、
g)(min(A、B)はA、Bの最小値を示す。)を
求める手段を備え、上記第2の比較データを生成する手
段が、上記第1の比較データh1r、h1g、h1b、
h1c、h1m、h1yを用いて、第2の比較データh
2ry=min(aq1×h1y、ap1×h1r)、
h2rm=min(aq2×h1m、ap2×h1
r)、 h2gy=min(aq3×h1y、ap3×
h1g)、 h2gc=min(aq4×h1c、ap
4×h1g)、 h2bm=min(aq5×h1m、
ap5×h1b)、 h2bc=min(aq6×h1
c、ap6×h1b)を求めるとともに、上記係数発生
手段において所定のマトリクス係数Eij(i=1〜
3、j=1〜3)とFij(i=1〜3、j=1〜1
3)を発生し、色相データと、上記第1の比較データ
と、第2の比較データおよび上記算出手段の出力である
最小値αに対し、式(4)のマトリクス演算式によりマ
トリクス演算を行うことにより色変換された画像データ
を得ることを特徴とするので、上記色変換された画像デ
ータはシアン、マゼンタ、イエローの3色で表現する画
像データC、M、Yとして求められ、赤、青、緑、イエ
ロー、シアン、マゼンタの6つの色相および6つの色相
間領域において着目している色相のみを、他の色相に影
響を与えることなく調整できるのみならす、無彩色デー
タである最小値αに係わる係数を変化させることによ
り、無彩色成分のみのを色相成分に影響を与えることな
く調整することが可能であるという効果もある。
Further, in the color conversion apparatus according to the present invention, the means for generating the first comparison data may include hue data r,
First comparison data h1r using g, b, y, m, and c
= Min (m, y), h1g = min (y, c), h1
b = min (c, m), h1c = min (g, b), h
1m = min (b, r), h1y = min (r,
g) (where min (A, B) indicates the minimum value of A and B), and the means for generating the second comparison data includes the first comparison data h1r, h1g, h1b,
Using h1c, h1m, and h1y, the second comparison data h
2ry = min (aq1 × h1y, ap1 × h1r),
h2rm = min (aq2 × h1m, ap2 × h1
r), h2gy = min (aq3 × h1y, ap3 ×
h1g), h2gc = min (aq4 × h1c, ap
4 × h1g), h2bm = min (aq5 × h1m,
ap6 × h1b), h2bc = min (aq6 × h1)
c, ap6 × h1b), and a predetermined matrix coefficient Eij (i = 1 to
3, j = 1 to 3) and Fij (i = 1 to 3, j = 1 to 1)
3) is generated, and a matrix operation is performed on the hue data, the first comparison data, the second comparison data, and the minimum value α output from the calculation means by a matrix operation expression of Expression (4). Therefore, the color-converted image data is obtained as image data C, M, and Y expressed in three colors of cyan, magenta, and yellow. , Green, yellow, cyan, and magenta, and only the hue of interest in the six hue regions can be adjusted without affecting other hues. By changing the relevant coefficients, there is also an effect that only the achromatic component can be adjusted without affecting the hue component.

【0170】[0170]

【数38】 (38)

【0171】また、この発明による色変換装置は、上記
係数発生手段が、式(5)の所定のマトリクス係数Ei
j(i=1〜3、j=1〜3)を発生することを特徴と
するので、色相データにかかる係数の乗算は計算する必
要がなくなりながらも、赤、青、緑、イエロー、シア
ン、マゼンタの6つの色相および6つの色相間領域にお
いて着目している色相のみを、他の色相に影響を与える
ことなくに調整することが可能であるという効果もあ
る。
Further, in the color conversion apparatus according to the present invention, the coefficient generation means may be configured such that the predetermined matrix coefficient Ei of the equation (5) is used.
j (i = 1 to 3; j = 1 to 3), so that the multiplication of the coefficients on the hue data does not need to be calculated, but the red, blue, green, yellow, cyan, There is also an effect that it is possible to adjust only the hues of interest in the six hues of magenta and the six inter-hues regions without affecting other hues.

【0172】[0172]

【数39】 [Equation 39]

【0173】また、この発明による色変換装置は、上記
第2の比較データを生成する手段における、各第1の比
較データに所定の演算係数aq1〜aq6およびap1
〜ap6を乗算する乗算手段が、演算係数aq1〜aq
6およびap1〜ap6を1、2、4、8、…となる整
数値とし、ビットシフトにより各第1の比較データと上
記演算係数との演算を行うことを特徴とするので、乗算
処理をビットシフトのごとく更に簡単な演算手段に置き
換えることにより処理が簡単化されるという効果もあ
る。
Further, in the color conversion apparatus according to the present invention, each of the first comparison data in the means for generating the second comparison data includes a predetermined operation coefficient aq1 to aq6 and ap1
Multiplying means for multiplying the calculation coefficients aq1 to aq
6 and ap1 to ap6 are integer values of 1, 2, 4, 8,..., And the first comparison data and the above operation coefficient are operated by bit shifting. There is also an effect that the processing is simplified by replacing with a simpler operation means like a shift.

【0174】さらに、この発明による色変換装置は、上
記画像データにおける最大値βと最小値αを算出する算
出手段が、画像データを用いて最大値βと最小値αを算
出するとともに、最大および最小となる画像データまた
は補色データの種類に応じて、ゼロとなる色相データを
特定するための識別符号を生成し出力する手段を備え、
上記算出手段から出力される識別符号に基づき、上記比
較データを生成する手段において比較データを生成し、
上記係数発生手段においてマトリクス係数を発生すると
ともに、上記算出手段からの識別符号に応じて上記係数
発生手段からの係数によるマトリクス演算を行うことに
より色変換された画像データまたは補色データを得るこ
とを特徴とするので、各画素においてマトリクス演算を
行う演算項の数を削減することが可能となるという効果
もある。
Further, in the color conversion apparatus according to the present invention, the calculating means for calculating the maximum value β and the minimum value α in the image data calculates the maximum value β and the minimum value α using the image data, Means for generating and outputting an identification code for identifying hue data to be zero, according to the type of image data or complementary color data to be minimized,
On the basis of the identification code output from the calculating means, the comparison data is generated by the means for generating the comparison data,
The coefficient generating means generates a matrix coefficient, and performs a matrix operation using the coefficient from the coefficient generating means according to the identification code from the calculating means to obtain color-converted image data or complementary color data. Therefore, there is also an effect that it is possible to reduce the number of calculation terms for performing a matrix calculation in each pixel.

【0175】この発明に係る色変換方法は、赤、緑、青
の3色で表現する画像データR、G、Bを画素毎に色変
換する色変換方法において、画素毎の画像データにおけ
る最大値βおよび最小値αを算出し、上記画像データと
上記最大値βおよび最小値αにより色相データr、g、
bおよびy、m、cを算出し、上記各色相データを用い
て第1の比較データを生成し、該第1の比較データを用
いて第2の比較データを生成し、所定のマトリクス係数
を発生するとともに、上記第1の比較データ、上記第2
の比較データ、上記色相データおよび上記最小値αを用
いて、上記所定のマトリクス係数によってマトリクス演
算し、該マトリクス演算により得られる画像データの階
調特性を変換することにより色変換された画像データを
得ることを特徴とするので、赤、青、緑、イエロー、シ
アン、マゼンタの6つの色相に加え、更に赤〜イエロ
ー、イエロー〜緑、緑〜シアン、シアン〜青、青〜マゼ
ンタ、マゼンタ〜赤の6つの色相間の領域を独立に補正
することにより、上記6つの色相間の変化の度合いをも
補正でき、さらに階調特性変換手段15a、15b、1
5cにより階調特性変換することにより、2次より高次
な非線形性あるいは、1次的な演算あるいは、2次的な
演算の組み合わせでは、得ることのできない、例えば、
液晶の有するようなS字特性など複雑な非線形特性をも
補正することができる。よって、変換特性を柔軟に変更
できて、しかも大容量メモリを必要としない色変換方法
または色変換装置を得ることができると言う効果があ
る。ここで、階調特性変換手段は、1次元ルックアップ
テーブルなどにより実現可能であり、その規模は、3次
元ルックアップテーブルと比較した場合、はるかに小さ
いことは、言うまでも無い。また、マトリクス演算にお
ける上記6つの色相間の中間領域の変化に関与する演算
項として、上記第1の比較データを用いて算出される上
記第2の比較データを生成して用いるので、上記6つの
色相間の中間領域の変化に関与する演算項の算出に、第
1の比較データを用いず、上記色相データr、g、b、
y、m、cを用いて算出する場合と比較して、演算項の
算出に必要な演算が少なくなるという効果もある。
The color conversion method according to the present invention is a color conversion method for color-converting image data R, G, and B expressed in three colors of red, green, and blue for each pixel. β and the minimum value α are calculated, and the hue data r, g,
b, y, m, and c are calculated, first comparison data is generated using the above hue data, second comparison data is generated using the first comparison data, and a predetermined matrix coefficient is calculated. Occurs, the first comparison data, the second
Using the comparison data, the hue data, and the minimum value α, a matrix operation is performed using the predetermined matrix coefficient, and the color-converted image data is converted by converting the gradation characteristics of the image data obtained by the matrix operation. Because it is characterized by obtaining, in addition to six hues of red, blue, green, yellow, cyan, and magenta, further, red to yellow, yellow to green, green to cyan, cyan to blue, blue to magenta, and magenta to red By independently correcting the area between the six hues, the degree of change between the six hues can also be corrected, and furthermore, the gradation characteristic converting means 15a, 15b, 1
By performing the gradation characteristic conversion by 5c, it is not possible to obtain by non-linearity higher than second order, primary operation or combination of secondary operation, for example,
Complicated non-linear characteristics such as S-shaped characteristics of liquid crystal can be corrected. Accordingly, there is an effect that a color conversion method or a color conversion device that can change the conversion characteristics flexibly and does not require a large-capacity memory can be obtained. Here, the tone characteristic conversion means can be realized by a one-dimensional lookup table or the like, and it is needless to say that the scale is much smaller than that of the three-dimensional lookup table. In addition, since the second comparison data calculated using the first comparison data is generated and used as an operation term related to a change in the intermediate region between the six hues in the matrix operation, The hue data r, g, b, and b are calculated without using the first comparison data to calculate the operation term related to the change of the intermediate region between the hues.
As compared with the case where the calculation is performed using y, m, and c, there is also an effect that the number of calculations required for calculating the calculation term is reduced.

【0176】また、この発明に係る色変換方法は、入力
された画像データR、G、Bと最大値βおよび最小値α
とからの減算処理r=R−α、g=G−α、b=B−α
およびy=β−B、m=β−G、c=β−Rにより色相
データr、g、bおよびy、m、cを算出するととも
に、上記色相データr、g、b間およびy、m、c間に
おける比較データを求め、第1の比較データに所定の演
算係数を乗算し、該乗算出力を用いて比較データを求
め、上記第1の比較データ、第2の比較データ、上記色
相データおよび上記最小値αを用いて、マトリクス演算
し、該マトリクス演算により得られる画像データの階調
特性を変換することにより色変換された画像データを得
ることを特徴とするので、上記色相データ算出手段を入
力された画像データR、G、Bと上記算出手段からの出
力である最大値βと最小値αからの減算処理を用いて構
成することが可能であるとともに、上記第1の比較デー
タを生成する手段、上記第2の比較データを生成する手
段を比較演算処理、加減算処理、乗算処理などの簡単な
演算手段を用いて構成することが可能であるという効果
もある。
In the color conversion method according to the present invention, the input image data R, G, B and the maximum value β and the minimum value α
Subtraction processing from r = R−α, g = G−α, b = B−α
And h = β-B, m = β-G, c = β-R, and calculate hue data r, g, b and y, m, c, and the hue data r, g, b, and y, m , C, the first comparison data is multiplied by a predetermined operation coefficient, the comparison data is obtained using the multiplied output, and the first comparison data, the second comparison data, and the hue data are obtained. And performing a matrix operation using the minimum value α to obtain color-converted image data by converting the gradation characteristics of the image data obtained by the matrix operation. Can be configured using subtraction processing from the input image data R, G, B and the maximum value β and the minimum value α output from the calculation means, and the first comparison data Means for generating, the Comparison processing means for generating comparison data, addition and subtraction, the effect also that it can be constructed using a simple calculation means such as multiplication processing.

【0177】また、この発明に係る色変換方法は、画像
データR、G、Bより補色データC(シアン)、M(マ
ゼンタ)、Y(イエロー)を求め、上記補色データC、
M、Yにおける最大値βおよび最小値αを算出し、上記
画像データR、G、Bより補色データC、M、Yを求
め、上記補色データC、M、Yと上記最大値βおよび最
小値αとからの減算処理r=β−C、g=β−M、b=
β−Yおよびy=Y−α、m=M−α、c=C−αによ
り色相データr、g、bおよびy、m、cを算出すると
ともに、色相データr、g、b間およびy、m、c間に
おける比較データを求め、第1の比較データに所定の演
算係数を乗算し、該乗算出力を用いた比較データを求
め、上記第1の比較データ、第2の比較データ、上記色
相データおよび上記最小値αを用いて、マトリクス演算
し、該マトリクス演算により得られる画像データの階調
特性を変換することにより色変換された画像データを得
ることを特徴とするので、上記色相データ算出手段を入
力画像データR、G、Bより補色データC、M、Yを求
め、上記補色データC、M、Yと上記算出手段からの出
力である最大値βと最小値αからの減算処理を用いて構
成することが可能であるとともに、上記第1の比較デー
タを生成する手段、上記第2の比較データを生成する手
段を比較演算処理、加減算処理、乗算処理などの簡単な
演算手段を用いて構成することが可能であるという効果
もある。
In the color conversion method according to the present invention, the complementary color data C (cyan), M (magenta), and Y (yellow) are obtained from the image data R, G, and B, and the complementary color data C,
The maximum value β and the minimum value α in M and Y are calculated, the complementary color data C, M, and Y are obtained from the image data R, G, and B, and the complementary color data C, M, and Y and the maximum value β and the minimum value are calculated. Subtraction from α r = β-C, g = β-M, b =
The hue data r, g, b and y, m, c are calculated from β-Y and y = Y−α, m = M−α, c = C−α, and the hue data r, g, b, and y are calculated. , M, and c, multiply the first comparison data by a predetermined operation coefficient, obtain comparison data using the multiplied output, and obtain the first comparison data, the second comparison data, A matrix operation is performed using the hue data and the minimum value α, and color-converted image data is obtained by converting a gradation characteristic of image data obtained by the matrix operation. Computing means obtains complementary color data C, M, Y from the input image data R, G, B, and subtracts the complementary color data C, M, Y from the maximum value β and the minimum value α output from the calculating means. It is possible to configure using In both cases, the means for generating the first comparison data and the means for generating the second comparison data can be configured using simple calculation means such as comparison calculation processing, addition / subtraction processing, and multiplication processing. There is also an effect.

【0178】また、この発明に係る色変換方法は、色相
データr、g、b、y、m、cを用いて、第1の比較デ
ータh1r=min(m、y)、h1g=min(y、
c)、h1b=min(c、m)、h1c=min
(g、b)、h1m= min(b、r)、h1y=
min(r、g)(min(A、B)はA、Bの最小値
を示す。)を求め、上記第1の比較データh1r、h1
g、h1b、h1c、h1m、h1yを用いて、第2の
比較データh2ry=min(aq1×h1y、ap1
×h1r)、 h2rm=min(aq2×h1m、a
p2×h1r)、h2gy=min(aq3×h1y、
ap3×h1g)、 h2gc=min(aq4×h1
c、ap4×h1g)、 h2bm=min(aq5×
h1m、ap5×h1b)、 h2bc=min(aq
6×h1c、ap6×h1b)を求めるとともに、所定
のマトリクス係数Eij(i=1〜3、j=1〜3)と
Fij(i=1〜3、j=1〜12)とを発生し、上記
色相データ、上記第1の比較データ、上記第2の比較デ
ータおよび最小値αに対し、式(1)のマトリクス演算
式によりマトリクス演算を行うことにより色変換された
画像データを得ることを特徴とするので、上記色変換さ
れた画像データは赤、緑、青の3色で表現する画像デー
タR、G、Bとして求められ、上記第1の比較データを
生成する手段を上記色相データを入力とする最小値選択
処理のごとく簡単な演算手段を用いて構成することが可
能であるとともに、上記第2の比較データを生成する手
段を乗算処理と最小値選択処理の簡単な演算手段の組み
合わせを用いて構成することが可能であるという効果も
ある。
The color conversion method according to the present invention uses the hue data r, g, b, y, m, and c to obtain first comparison data h1r = min (m, y) and h1g = min (y ,
c), h1b = min (c, m), h1c = min
(G, b), h1m = min (b, r), h1y =
min (r, g) (min (A, B) indicates the minimum value of A and B) and obtains the first comparison data h1r and h1.
Using g, h1b, h1c, h1m, and h1y, the second comparison data h2ry = min (aq1 × h1y, ap1
× h1r), h2rm = min (aq2 × h1m, a
p2 × h1r), h2gy = min (aq3 × h1y,
ap3 × h1g), h2gc = min (aq4 × h1)
c, ap4 × h1g), h2bm = min (aq5 ×
h1m, ap5 × h1b), h2bc = min (aq
6 × h1c, ap6 × h1b), and generates predetermined matrix coefficients Eij (i = 1 to 3, j = 1 to 3) and Fij (i = 1 to 3, j = 1 to 12). A color-converted image data is obtained by performing a matrix operation on the hue data, the first comparison data, the second comparison data, and the minimum value α using a matrix operation expression of Expression (1). Therefore, the color-converted image data is obtained as image data R, G, and B expressed in three colors of red, green, and blue, and the means for generating the first comparison data inputs the hue data. And the means for generating the second comparison data is a combination of simple calculation means for multiplication processing and minimum value selection processing. Configuration using There is also an effect that Rukoto is possible.

【0179】[0179]

【数40】 (Equation 40)

【0180】また、この発明に係る色変換方法は、色相
データr、g、b、y、m、cを用いて、第1の比較デ
ータh1r=min(m、y)、h1g=min(y、
c)、h1b=min(c、m)、h1c=min
(g、b)、h1m= min(b、r)、h1y=
min(r、g)(min(A、B)はA、Bの最小値
を示す。)を求め、上記第1の比較データh1r、h1
g、h1b、h1c、h1m、h1yを用いて、第2の
比較データh2ry=min(aq1×h1y、ap1
×h1r)、 h2rm=min(aq2×h1m、a
p2×h1r)、h2gy=min(aq3×h1y、
ap3×h1g)、 h2gc=min(aq4×h1
c、ap4×h1g)、 h2bm=min(aq5×
h1m、ap5×h1b)、 h2bc=min(aq
6×h1c、ap6×h1b)を求めるとともに、所定
のマトリクス係数Eij(i=1〜3、j=1〜3)と
Fij(i=1〜3、j=1〜12)とを発生し、上記
色相データ、上記第1の比較データ、上記第2の比較デ
ータおよび最小値αに対し、式(2)のマトリクス演算
式によりマトリクス演算を行うことにより色変換された
画像データを得ることを特徴とするので、上記色変換さ
れた画像データはシアン、マゼンタ、イエローの3色で
表現する画像データC、M、Yとして求められ、上記第
1の比較データを生成する手段を、上記色相データを入
力とする最小値選択処理のごとく簡単な演算手段を用い
て構成することが可能であるとともに、上記第2の比較
データを生成する手段を乗算処理と最小値選択処理の簡
単な演算手段の組み合わせを用いて構成することが可能
であるという効果もある。
The color conversion method according to the present invention uses the hue data r, g, b, y, m, and c to obtain first comparison data h1r = min (m, y) and h1g = min (y ,
c), h1b = min (c, m), h1c = min
(G, b), h1m = min (b, r), h1y =
min (r, g) (min (A, B) indicates the minimum value of A and B) and obtains the first comparison data h1r and h1.
Using g, h1b, h1c, h1m, and h1y, the second comparison data h2ry = min (aq1 × h1y, ap1
× h1r), h2rm = min (aq2 × h1m, a
p2 × h1r), h2gy = min (aq3 × h1y,
ap3 × h1g), h2gc = min (aq4 × h1)
c, ap4 × h1g), h2bm = min (aq5 ×
h1m, ap5 × h1b), h2bc = min (aq
6 × h1c, ap6 × h1b), and generates predetermined matrix coefficients Eij (i = 1 to 3, j = 1 to 3) and Fij (i = 1 to 3, j = 1 to 12). A color-converted image data is obtained by performing a matrix operation on the hue data, the first comparison data, the second comparison data, and the minimum value α using a matrix operation expression of Expression (2). Therefore, the color-converted image data is obtained as image data C, M, and Y expressed in three colors of cyan, magenta, and yellow, and the means for generating the first comparison data is described as follows. It is possible to use simple arithmetic means like the minimum value selection processing as an input, and to combine the means for generating the second comparison data with a simple arithmetic means of the multiplication processing and the minimum value selection processing. Effect is that it can be configured using Align.

【0181】[0181]

【数41】 [Equation 41]

【0182】また、この発明に係る色変換方法は、色相
データr、g、b、y、m、cを用いて、第1の比較デ
ータh1r=min(m、y)、h1g=min(y、
c)、h1b=min(c、m)、h1c=min
(g、b)、h1m= min(b、r)、h1y=
min(r、g)(min(A、B)はA、Bの最小値
を示す。)を求め、上記第1の比較データh1r、h1
g、h1b、h1c、h1m、h1yを用いて、第2の
比較データh2ry=min(aq1×h1y、ap1
×h1r)、 h2rm=min(aq2×h1m、a
p2×h1r)、h2gy=min(aq3×h1y、
ap3×h1g)、 h2gc=min(aq4×h1
c、ap4×h1g)、 h2bm=min(aq5×
h1m、ap5×h1b)、 h2bc=min(aq
6×h1c、ap6×h1b)を求めるとともに、所定
のマトリクス係数Eij(i=1〜3、j=1〜3)と
Fij(i=1〜3、j=1〜13)とを発生し、上記
色相データ、上記第1の比較データ、上記第2の比較デ
ータおよび最小値αに対し、式(3)のマトリクス演算
式によりマトリクス演算を行うことにより色変換された
画像データを得ることを特徴とするので、上記色変換さ
れた画像データは赤、緑、青の3色で表現する画像デー
タR、G、Bとして求められ、赤、青、緑、イエロー、
シアン、マゼンタの6つの色相および6つの色相間領域
において着目している色相のみを、他の色相に影響を与
えることなく調整できるのみならす、無彩色データであ
る最小値αに係わる係数を変化させることにより、無彩
色成分のみのを色相成分に影響を与えることなく調整す
ることが可能であるという効果もある。
The color conversion method according to the present invention uses the hue data r, g, b, y, m, and c to obtain first comparison data h1r = min (m, y) and h1g = min (y ,
c), h1b = min (c, m), h1c = min
(G, b), h1m = min (b, r), h1y =
min (r, g) (min (A, B) indicates the minimum value of A and B) and obtains the first comparison data h1r and h1.
Using g, h1b, h1c, h1m, and h1y, the second comparison data h2ry = min (aq1 × h1y, ap1
× h1r), h2rm = min (aq2 × h1m, a
p2 × h1r), h2gy = min (aq3 × h1y,
ap3 × h1g), h2gc = min (aq4 × h1)
c, ap4 × h1g), h2bm = min (aq5 ×
h1m, ap5 × h1b), h2bc = min (aq
6 × h1c, ap6 × h1b), and generates predetermined matrix coefficients Eij (i = 1 to 3, j = 1 to 3) and Fij (i = 1 to 3, j = 1 to 13). A color-converted image data is obtained by performing a matrix operation on the hue data, the first comparison data, the second comparison data, and the minimum value α using a matrix operation expression of Expression (3). Therefore, the color-converted image data is obtained as image data R, G, and B expressed by three colors of red, green, and blue, and red, blue, green, yellow,
The coefficient relating to the minimum value α which is achromatic data is changed so that only the hues of interest in the six hues of cyan and magenta and the six hues between the hues can be adjusted without affecting other hues. Accordingly, there is also an effect that only the achromatic component can be adjusted without affecting the hue component.

【0183】[0183]

【数42】 (Equation 42)

【0184】また、この発明に係る色変換方法は、色相
データr、g、b、y、m、cを用いて、第1の比較デ
ータh1r=min(m、y)、h1g=min(y、
c)、h1b=min(c、m)、h1c=min
(g、b)、h1m= min(b、r)、h1y=
min(r、g)(min(A、B)はA、Bの最小値
を示す。)を求め、上記第1の比較データh1r、h1
g、h1b、h1c、h1m、h1yを用いて、第2の
比較データh2ry=min(aq1×h1y、ap1
×h1r)、 h2rm=min(aq2×h1m、a
p2×h1r)、h2gy=min(aq3×h1y、
ap3×h1g)、 h2gc=min(aq4×h1
c、ap4×h1g)、 h2bm=min(aq5×
h1m、ap5×h1b)、 h2bc=min(aq
6×h1c、ap6×h1b)を求めるとともに、所定
のマトリクス係数Eij(i=1〜3、j=1〜3)と
Fij(i=1〜3、j=1〜13)とを発生し、上記
色相データ、上記第1の比較データ、上記第2の比較デ
ータおよび最小値αに対し、式(4)のマトリクス演算
式によりマトリクス演算を行うことにより色変換された
画像データを得ることを特徴とするので、上記色変換さ
れた画像データはシアン、マゼンタ、イエローの3色で
表現する画像データC、M、Yとして求められ、赤、
青、緑、イエロー、シアン、マゼンタの6つの色相およ
び6つの色相間領域において着目している色相のみを、
他の色相に影響を与えることなく調整できるのみなら
す、無彩色データである最小値αに係わる係数を変化さ
せることにより、無彩色成分のみのを色相成分に影響を
与えることなく調整することが可能であるという効果も
ある。
The color conversion method according to the present invention uses the hue data r, g, b, y, m, and c to obtain first comparison data h1r = min (m, y) and h1g = min (y ,
c), h1b = min (c, m), h1c = min
(G, b), h1m = min (b, r), h1y =
min (r, g) (min (A, B) indicates the minimum value of A and B) and obtains the first comparison data h1r and h1.
Using g, h1b, h1c, h1m, and h1y, the second comparison data h2ry = min (aq1 × h1y, ap1
× h1r), h2rm = min (aq2 × h1m, a
p2 × h1r), h2gy = min (aq3 × h1y,
ap3 × h1g), h2gc = min (aq4 × h1)
c, ap4 × h1g), h2bm = min (aq5 ×
h1m, ap5 × h1b), h2bc = min (aq
6 × h1c, ap6 × h1b), and generates predetermined matrix coefficients Eij (i = 1 to 3, j = 1 to 3) and Fij (i = 1 to 3, j = 1 to 13). A color-converted image data is obtained by performing a matrix operation on the hue data, the first comparison data, the second comparison data, and the minimum value α by a matrix operation expression of Expression (4). Therefore, the color-converted image data is obtained as image data C, M, and Y expressed in three colors of cyan, magenta, and yellow.
Only the hues of interest in the six hues of blue, green, yellow, cyan, and magenta and in the six inter-hue regions,
It is possible to adjust only the achromatic component without affecting the hue component by changing the coefficient related to the minimum value α, which is achromatic data, so that it can be adjusted without affecting other hues. There is also the effect that it is.

【0185】[0185]

【数43】 [Equation 43]

【0186】また、この発明に係る色変換方法は、式
(5)の所定のマトリクス係数Eij(i=1〜3、j
=1〜3)を発生することを特徴とするので、色相デー
タにかかる係数の乗算は計算する必要がなくなりながら
も、赤、青、緑、イエロー、シアン、マゼンタの6つの
色相および6つの色相間領域において着目している色相
のみを、他の色相に影響を与えることなくに調整するこ
とが可能であるという効果もある。
Further, according to the color conversion method of the present invention, the predetermined matrix coefficient Eij (i = 1 to 3, j
= 1 to 3), so that the multiplication of the coefficients on the hue data does not need to be calculated, but the red, blue, green, yellow, cyan, and magenta hues and the six hues There is also an effect that only the hue of interest in the inter-region can be adjusted without affecting other hues.

【0187】[0187]

【数44】 [Equation 44]

【0188】また、この発明に係る色変換方法は、各第
1の比較データに所定の演算係数aq1〜aq6および
ap1〜ap6を乗算する際、演算係数aq1〜aq6
およびap1〜ap6を1、2、4、8、…となる整数
値とし、ビットシフトにより上記各第1の比較データと
上記演算係数との演算を行うことを特徴とするので、乗
算処理をビットシフトのごとく更に簡単な演算手段に置
き換えることにより処理が簡単化されるという効果もあ
る。
In the color conversion method according to the present invention, when the first comparison data is multiplied by predetermined operation coefficients aq1 to aq6 and ap1 to ap6, the operation coefficients aq1 to aq6 are used.
And ap1 to ap6 are integer values of 1, 2, 4, 8,..., And the first comparison data and the operation coefficient are operated by bit shift. There is also an effect that the processing is simplified by replacing with a simpler operation means like a shift.

【0189】また、この発明に係る色変換方法は、画像
データを用いて最大値βおよび最小値αを算出するとと
もに、最大および最小となる画像データまたは補色デー
タの種類に応じて、ゼロとなる色相データを特定するた
めの識別符号を生成して出力し、該識別符号に基づき、
第1の比較データを生成し、マトリクス係数を発生する
とともに、上記識別符号に応じて上記マトリクス係数に
よるマトリクス演算を行うことにより色変換された画像
データまたは補色データを得ることを特徴とするので、
各画素においてマトリクス演算を行う演算項の数を削減
することが可能となるという効果もある。
Further, in the color conversion method according to the present invention, the maximum value β and the minimum value α are calculated using the image data, and become zero according to the types of the maximum and minimum image data or complementary color data. Generates and outputs an identification code for specifying hue data, and based on the identification code,
Generating first comparison data, generating a matrix coefficient, and performing a matrix operation using the matrix coefficient according to the identification code to obtain color-converted image data or complementary color data.
There is also an effect that it is possible to reduce the number of operation terms for performing a matrix operation in each pixel.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 この発明の実施の形態1による色変換装置の
構成の一例を示すブロック図である。
FIG. 1 is a block diagram illustrating an example of a configuration of a color conversion device according to a first embodiment of the present invention.

【図2】 この発明の実施の形態1による色変換装置に
おける多項式演算手段3の構成の一例を示すブロック図
である。
FIG. 2 is a block diagram illustrating an example of a configuration of a polynomial operation unit 3 in the color conversion device according to the first embodiment of the present invention.

【図3】 この発明の実施の形態1による色変換装置に
おける識別符号S1と最大値βおよび最小値α、0とな
る色相データの関係の一例を示す図である。
FIG. 3 is a diagram showing an example of a relationship between an identification code S1 and hue data having a maximum value β and a minimum value α, 0 in the color conversion device according to the first embodiment of the present invention.

【図4】 この発明の実施の形態1による色変換装置に
おける多項式演算手段3のゼロ除去手段7の動作を説明
するための図である。
FIG. 4 is a diagram for explaining the operation of the zero removing means 7 of the polynomial calculating means 3 in the color conversion device according to the first embodiment of the present invention.

【図5】 この発明の実施の形態1による色変換装置に
おけるマトリクス演算手段4の一部分の構成の一例を示
すブロック図である。
FIG. 5 is a block diagram showing an example of a configuration of a part of the matrix operation means 4 in the color conversion device according to the first embodiment of the present invention.

【図6】 6つの色相と色相データの関係を模式的に示
した図である。
FIG. 6 is a diagram schematically showing a relationship between six hues and hue data.

【図7】 この発明の実施の形態1による色変換装置に
おける第1の比較データと色相の関係を模式的に示した
図である。
FIG. 7 is a diagram schematically showing a relationship between first comparison data and a hue in the color conversion device according to the first embodiment of the present invention.

【図8】 この発明の実施の形態1による色変換装置に
おける第2の比較データと色相の関係を模式的に示した
図である。
FIG. 8 is a diagram schematically illustrating a relationship between second comparison data and a hue in the color conversion device according to the first embodiment of the present invention.

【図9】 この発明の実施の形態1による色変換装置に
おける多項式演算手段3の演算係数発生手段11におい
て、演算係数を変化させた場合の比較データによる演算
項と色相の関係を模式的に示した図である。
FIG. 9 schematically shows the relationship between the calculation term and the hue based on the comparison data when the calculation coefficient is changed in the calculation coefficient generation means 11 of the polynomial calculation means 3 in the color conversion apparatus according to the first embodiment of the present invention. FIG.

【図10】 この発明の実施の形態1による色変換装置
において各色相および色相間の領域に関与し、有効とな
る演算項の関係を示した図である。
FIG. 10 is a diagram showing a relationship between operational terms that are involved in each hue and an area between hues in the color conversion device according to the first embodiment of the present invention and are effective.

【図11】 この発明の実施の形態1による色変換装置
における動作を説明するためのxy色度図である。
FIG. 11 is an xy chromaticity diagram for explaining an operation in the color conversion device according to the first embodiment of the present invention.

【図12】 この発明の実施の形態1による色変換装置
における動作を説明するためのxy色度図である。
FIG. 12 is an xy chromaticity diagram for explaining an operation in the color conversion device according to the first embodiment of the present invention.

【図13】 この発明の実施の形態1による色変換装置
における動作を説明するためのxy色度図である。
FIG. 13 is an xy chromaticity diagram for explaining the operation of the color conversion device according to the first embodiment of the present invention.

【図14】 この発明の実施の形態2による色変換装置
の構成の一例を示すブロック図である。
FIG. 14 is a block diagram illustrating an example of a configuration of a color conversion device according to a second embodiment of the present invention.

【図15】 この発明の実施の形態3による色変換装置
の構成の一例を示すブロック図である。
FIG. 15 is a block diagram illustrating an example of a configuration of a color conversion device according to a third embodiment of the present invention.

【図16】 この発明の実施の形態3による色変換装置
におけるマトリクス演算手段4bの一部分の構成の一例
を示す図である。
FIG. 16 is a diagram showing an example of a configuration of a part of a matrix operation unit 4b in a color conversion device according to a third embodiment of the present invention.

【図17】 この発明の実施の形態4による色変換装置
の構成の一例を示すブロック図である。
FIG. 17 is a block diagram illustrating an example of a configuration of a color conversion device according to a fourth embodiment of the present invention.

【図18】 従来の色変換装置の構成の一例を示すブロ
ック図である。
FIG. 18 is a block diagram illustrating an example of a configuration of a conventional color conversion device.

【図19】 従来の色変換装置における6つの色相と色
相データの関係を模式的に示した図である。
FIG. 19 is a diagram schematically showing a relationship between six hues and hue data in a conventional color conversion device.

【図20】 従来の色変換装置におけるマトリクス演算
器104での乗算項と色相の関係を模式的に示した図で
ある。
FIG. 20 is a diagram schematically showing a relationship between a multiplication term and a hue in a matrix calculator 104 in a conventional color conversion device.

【符号の説明】[Explanation of symbols]

1、1b αβ算出手段、2、2b 色相データ算出手
段、3 多項式演算手段、4、4b マトリクス演算手
段、5、5b 係数発生手段、6 合成手段、7 ゼロ
除去手段、9a、9b、9c 最小値選択手段、10
a、10b 演算手段、11 演算係数発生手段、12
a、12c、12e、12f、12g 乗算手段、13
a、13d、13e、13f 加算手段、14 補数手
段、15a、15b、15c 階調特性変換手段、10
0 補数器、101 αβ算出器、102 色相データ
算出器、103 多項式演算器、104 マトリクス演
算器、105 係数発生器、106 合成器。
1, 1b αβ calculating means, 2, 2b hue data calculating means, 3 polynomial calculating means, 4, 4b matrix calculating means, 5, 5b coefficient generating means, 6 synthesizing means, 7 zero removing means, 9a, 9b, 9c minimum value Selection means, 10
a, 10b arithmetic means, 11 arithmetic coefficient generating means, 12
a, 12c, 12e, 12f, 12g Multiplication means, 13
a, 13d, 13e, 13f addition means, 14's complement means, 15a, 15b, 15c gradation characteristic conversion means, 10
0 complementer, 101 αβ calculator, 102 hue data calculator, 103 polynomial calculator, 104 matrix calculator, 105 coefficient generator, 106 synthesizer.

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】 赤、緑、青の3色で表現する画像データ
R、G、Bを画素毎に色変換する色変換装置において、
画素毎の画像データにおける最大値βと最小値αを算出
する算出手段と、画像データと上記算出手段からの出力
である最大値βと最小値αにより色相データr、g、b
およびy、m、cを算出する色相データ算出手段と、上
記色相データ算出手段からの出力である各色相データを
用いた第1の比較データを生成する手段と、上記第1の
比較データを生成する手段からの出力である第1の比較
データを用いた第2の比較データを生成する手段と、所
定のマトリクス係数を発生する係数発生手段を備えると
ともに、上記第1の比較データを生成する手段からの第
1の比較データと、上記第2の比較データを生成する手
段からの第2の比較データと、上記色相データ算出手段
からの色相データ、および上記算出手段からの最小値α
を用いて、上記係数発生手段からの係数によるマトリク
ス演算し、該マトリクス演算により得られる画像データ
の階調特性を変換することにより色変換された画像デー
タを得ることを特徴とする色変換装置。
1. A color conversion apparatus for color-converting image data R, G, and B expressed by three colors of red, green, and blue for each pixel.
Calculating means for calculating the maximum value β and the minimum value α in the image data for each pixel; and hue data r, g, b based on the image data and the maximum value β and the minimum value α output from the calculating means.
Hue data calculation means for calculating y, m, and c, means for generating first comparison data using each hue data output from the hue data calculation means, and generation of the first comparison data Means for generating second comparison data using the first comparison data output from the means for generating, and coefficient generation means for generating a predetermined matrix coefficient, and means for generating the first comparison data , The second comparison data from the means for generating the second comparison data, the hue data from the hue data calculation means, and the minimum value α from the calculation means.
A matrix operation using the coefficients from the coefficient generation means, and converting the gradation characteristics of the image data obtained by the matrix operation to obtain color-converted image data.
【請求項2】 上記色相データ算出手段が入力された画
像データR、G、Bと上記算出手段からの出力である最
大値βと最小値αからの減算処理r=R−α、g=G―
α、b=B―αおよびy=β−B、m=β−G、c=β
−Rにより色相データr、g、bおよびy、m、cを算
出する手段を備えるとともに、上記第1の比較データを
生成する手段が、色相データr、g、b間およびy、
m、c間における比較データを求める手段を備え、上記
第2の比較データを生成する手段が、上記第1の比較デ
ータを生成する手段からの出力である第1の比較データ
に所定の演算係数を乗算する乗算手段と、上記乗算手段
からの出力を用いた比較データを求める手段とを備え、
上記第1の比較データを生成する手段からの第1の比較
データと、上記第2の比較データを生成する手段からの
第2の比較データと、上記色相データ算出手段からの色
相データ、および上記算出手段からの最小値αを用い
て、マトリクス演算し、該マトリクス演算により得られ
る画像データの階調特性を変換することにより色変換さ
れた画像データを得ることを特徴とする請求項1記載の
色変換装置。
2. A subtraction process r = R−α, g = G from the image data R, G, B input to the hue data calculation means and the maximum value β and the minimum value α output from the calculation means. ―
α, b = B-α and y = β-B, m = β-G, c = β
Means for calculating hue data r, g, b and y, m, c by -R, and means for generating the first comparison data, the means for generating hue data r, g, b, and y,
means for obtaining comparison data between m and c, wherein the means for generating the second comparison data includes a predetermined operation coefficient added to the first comparison data output from the means for generating the first comparison data. Multiplying means, and means for obtaining comparison data using an output from the multiplying means,
The first comparison data from the means for generating the first comparison data, the second comparison data from the means for generating the second comparison data, the hue data from the hue data calculation means, 2. The image data according to claim 1, wherein a matrix operation is performed using the minimum value α from the calculation means, and color conversion image data is obtained by converting a gradation characteristic of the image data obtained by the matrix operation. Color conversion device.
【請求項3】 上記最大値βと最小値αを算出する算出
手段が画像データR、G、Bより補色データC(シア
ン)、M(マゼンタ)、Y(イエロー)を求め、上記補
色データC、M、Yにおける最大値βと最小値αを算出
する手段を備え、上記色相データ算出手段が画像データ
R、G、Bより補色データC、M、Yを求め、上記補色
データC、M、Yと上記算出手段からの出力である最大
値βと最小値αからの減算処理r=β−C、g=β−
M、b=β−Yおよびy=Y−α、m=M−α、c=C
−αにより色相データr、g、bおよびy、m、cを算
出する手段を備えるとともに、上記第1の比較データを
生成する手段が、色相データr、g、b間およびy、
m、c間における比較データを求める手段を備え、上記
第2の比較データを生成する手段が、上記第1の比較デ
ータを生成する手段からの出力である第1の比較データ
に所定の演算係数を乗算する乗算手段と、上記乗算手段
からの出力を用いた比較データを求める手段とを備え、
上記第1の比較データを生成する手段からの第1の比較
データと、上記第2の比較データを生成する手段からの
第2の比較データと、上記色相データ算出手段からの色
相データ、および上記算出手段からの最小値αを用い
て、マトリクス演算し、該マトリクス演算により得られ
る画像データの階調特性を変換することにより色変換さ
れた画像データを得ることを特徴とする請求項1記載の
色変換装置。
3. A calculating means for calculating the maximum value β and the minimum value α obtains complementary color data C (cyan), M (magenta), and Y (yellow) from the image data R, G, and B. , M, Y, a means for calculating the maximum value β and the minimum value α, wherein the hue data calculating means obtains complementary color data C, M, Y from the image data R, G, B, and outputs the complementary color data C, M, Subtraction processing from Y and the maximum value β and the minimum value α output from the calculation means r = β−C, g = β−
M, b = β-Y and y = Y−α, m = M−α, c = C
Means for calculating hue data r, g, b and y, m, c by -α, and means for generating the first comparison data, the means for generating hue data r, g, b, and y,
means for obtaining comparison data between m and c, wherein the means for generating the second comparison data includes a predetermined operation coefficient added to the first comparison data output from the means for generating the first comparison data. Multiplying means, and means for obtaining comparison data using an output from the multiplying means,
The first comparison data from the means for generating the first comparison data, the second comparison data from the means for generating the second comparison data, the hue data from the hue data calculation means, 2. The image data according to claim 1, wherein a matrix operation is performed using the minimum value α from the calculation means, and color conversion image data is obtained by converting a gradation characteristic of the image data obtained by the matrix operation. Color conversion device.
【請求項4】 上記第1の比較データを生成する手段
が、色相データr、g、b、y、m、cを用いて、第1
の比較データh1r=min(m、y)、h1g=mi
n(y、c)、h1b=min(c、m)、h1c=m
in(g、b)、h1m= min(b、r)、h1y
= min(r、g)(min(A、B)はA、Bの最
小値を示す。)を求める手段を備え、上記第2の比較デ
ータを生成する手段が、上記第1の比較データh1r、
h1g、h1b、h1c、h1m、h1yを用いて、第
2の比較データh2ry=min(aq1×h1y、a
p1×h1r)、 h2rm=min(aq2×h1
m、ap2×h1r)、 h2gy=min(aq3×
h1y、ap3×h1g)、 h2gc=min(aq
4×h1c、ap4×h1g)、 h2bm=min
(aq5×h1m、ap5×h1b)、 h2bc=m
in(aq6×h1c、ap6×h1b)を求めるとと
もに、上記係数発生手段において所定のマトリクス係数
Eij(i=1〜3、j=1〜3)とFij(i=1〜
3、j=1〜12)を発生し、色相データと、上記第1
の比較データと、第2の比較データおよび上記算出手段
の出力である最小値αに対し、式(1)のマトリクス演
算式によりマトリクス演算を行うことにより色変換され
た画像データを得ることを特徴とする請求項1または2
に記載の色変換装置。 【数1】
4. The means for generating the first comparison data uses the hue data r, g, b, y, m, and c to generate a first comparison data.
Comparison data h1r = min (m, y), h1g = mi
n (y, c), h1b = min (c, m), h1c = m
in (g, b), h1m = min (b, r), h1y
= Min (r, g) (min (A, B) indicates the minimum value of A and B), and the means for generating the second comparison data includes the first comparison data h1r ,
Using h1g, h1b, h1c, h1m, and h1y, the second comparison data h2ry = min (aq1 × h1y, a
p1 × h1r), h2rm = min (aq2 × h1
m, ap2 × h1r), h2gy = min (aq3 ×
h1y, ap3 × h1g), h2gc = min (aq
4 × h1c, ap4 × h1g), h2bm = min
(Aq5 × h1m, ap5 × h1b), h2bc = m
in (aq6 × h1c, ap6 × h1b), and a predetermined matrix coefficient Eij (i = 1 to 3, j = 1 to 3) and Fij (i = 1 to
3, j = 1 to 12), and the hue data and the first
The color data is obtained by performing a matrix operation on the comparison data, the second comparison data, and the minimum value α output from the calculation means by the matrix operation expression of Expression (1) to obtain color-converted image data. Claim 1 or 2
The color conversion device according to 1. (Equation 1)
【請求項5】 上記第1の比較データを生成する手段
が、色相データr、g、b、y、m、cを用いて、第1
の比較データh1r=min(m、y)、h1g=mi
n(y、c)、h1b=min(c、m)、h1c=m
in(g、b)、h1m= min(b、r)、h1y
= min(r、g)(min(A、B)はA、Bの最
小値を示す。)を求める手段を備え、上記第2の比較デ
ータを生成する手段が、上記第1の比較データh1r、
h1g、h1b、h1c、h1m、h1yを用いて、第
2の比較データh2ry=min(aq1×h1y、a
p1×h1r)、 h2rm=min(aq2×h1
m、ap2×h1r)、 h2gy=min(aq3×
h1y、ap3×h1g)、 h2gc=min(aq
4×h1c、ap4×h1g)、 h2bm=min
(aq5×h1m、ap5×h1b)、 h2bc=m
in(aq6×h1c、ap6×h1b)を求めるとと
もに、上記係数発生手段において所定のマトリクス係数
Eij(i=1〜3、j=1〜3)とFij(i=1〜
3、j=1〜12)を発生し、色相データと、上記第1
の比較データと、第2の比較データおよび上記算出手段
の出力である最小値αに対し、式(2)のマトリクス演
算式によりマトリクス演算を行うことにより色変換され
た画像データを得ることを特徴とする請求項1または3
に記載の色変換装置。 【数2】
5. The means for generating the first comparison data uses the hue data r, g, b, y, m, and c to generate a first comparison data.
Comparison data h1r = min (m, y), h1g = mi
n (y, c), h1b = min (c, m), h1c = m
in (g, b), h1m = min (b, r), h1y
= Min (r, g) (min (A, B) indicates the minimum value of A and B), and the means for generating the second comparison data includes the first comparison data h1r ,
Using h1g, h1b, h1c, h1m, and h1y, the second comparison data h2ry = min (aq1 × h1y, a
p1 × h1r), h2rm = min (aq2 × h1
m, ap2 × h1r), h2gy = min (aq3 ×
h1y, ap3 × h1g), h2gc = min (aq
4 × h1c, ap4 × h1g), h2bm = min
(Aq5 × h1m, ap5 × h1b), h2bc = m
in (aq6 × h1c, ap6 × h1b), and a predetermined matrix coefficient Eij (i = 1 to 3, j = 1 to 3) and Fij (i = 1 to
3, j = 1 to 12), and the hue data and the first
The color data is obtained by performing a matrix operation on the comparison data, the second comparison data, and the minimum value α output from the calculation means by a matrix operation expression of Expression (2) to obtain color-converted image data. Claim 1 or 3
The color conversion device according to 1. (Equation 2)
【請求項6】 上記第1の比較データを生成する手段
が、色相データr、g、b、y、m、cを用いて、第1
の比較データh1r=min(m、y)、h1g=mi
n(y、c)、h1b=min(c、m)、h1c=m
in(g、b)、h1m= min(b、r)、h1y
= min(r、g)(min(A、B)はA、Bの最
小値を示す。)を求める手段を備え、上記第2の比較デ
ータを生成する手段が、上記第1の比較データh1r、
h1g、h1b、h1c、h1m、h1yを用いて、第
2の比較データh2ry=min(aq1×h1y、a
p1×h1r)、 h2rm=min(aq2×h1
m、ap2×h1r)、 h2gy=min(aq3×
h1y、ap3×h1g)、 h2gc=min(aq
4×h1c、ap4×h1g)、 h2bm=min
(aq5×h1m、ap5×h1b)、 h2bc=m
in(aq6×h1c、ap6×h1b)を求めるとと
もに、上記係数発生手段において所定のマトリクス係数
Eij(i=1〜3、j=1〜3)とFij(i=1〜
3、j=1〜13)を発生し、色相データと、上記第1
の比較データと、第2の比較データおよび上記算出手段
の出力である最小値αに対し、式(3)のマトリクス演
算式によりマトリクス演算を行うことにより色変換され
た画像データを得ることを特徴とする請求項1または2
に記載の色変換装置。 【数3】
6. The means for generating the first comparison data uses the hue data r, g, b, y, m, and c to generate a first comparison data.
Comparison data h1r = min (m, y), h1g = mi
n (y, c), h1b = min (c, m), h1c = m
in (g, b), h1m = min (b, r), h1y
= Min (r, g) (min (A, B) indicates the minimum value of A and B), and the means for generating the second comparison data includes the first comparison data h1r ,
Using h1g, h1b, h1c, h1m, and h1y, the second comparison data h2ry = min (aq1 × h1y, a
p1 × h1r), h2rm = min (aq2 × h1
m, ap2 × h1r), h2gy = min (aq3 ×
h1y, ap3 × h1g), h2gc = min (aq
4 × h1c, ap4 × h1g), h2bm = min
(Aq5 × h1m, ap5 × h1b), h2bc = m
in (aq6 × h1c, ap6 × h1b), and a predetermined matrix coefficient Eij (i = 1 to 3, j = 1 to 3) and Fij (i = 1 to
3, j = 1 to 13), and the hue data and the first
Is obtained by performing a matrix operation on the comparison data, the second comparison data, and the minimum value α output from the calculation means using a matrix operation expression of Expression (3) to obtain color-converted image data. Claim 1 or 2
The color conversion device according to 1. (Equation 3)
【請求項7】 上記第1の比較データを生成する手段
が、色相データr、g、b、y、m、cを用いて、第1
の比較データh1r=min(m、y)、h1g=mi
n(y、c)、h1b=min(c、m)、h1c=m
in(g、b)、h1m= min(b、r)、h1y
= min(r、g)(min(A、B)はA、Bの最
小値を示す。)を求める手段を備え、上記第2の比較デ
ータを生成する手段が、上記第1の比較データh1r、
h1g、h1b、h1c、h1m、h1yを用いて、第
2の比較データh2ry=min(aq1×h1y、a
p1×h1r)、 h2rm=min(aq2×h1
m、ap2×h1r)、 h2gy=min(aq3×
h1y、ap3×h1g)、 h2gc=min(aq
4×h1c、ap4×h1g)、 h2bm=min
(aq5×h1m、ap5×h1b)、 h2bc=m
in(aq6×h1c、ap6×h1b)を求めるとと
もに、上記係数発生手段において所定のマトリクス係数
Eij(i=1〜3、j=1〜3)とFij(i=1〜
3、j=1〜13)を発生し、色相データと、上記第1
の比較データと、第2の比較データおよび上記算出手段
の出力である最小値αに対し、式(4)のマトリクス演
算式によりマトリクス演算を行うことにより色変換され
た画像データを得ることを特徴とする請求項1または3
に記載の色変換装置。 【数4】
7. The means for generating the first comparison data uses the hue data r, g, b, y, m, and c to generate a first comparison data.
Comparison data h1r = min (m, y), h1g = mi
n (y, c), h1b = min (c, m), h1c = m
in (g, b), h1m = min (b, r), h1y
= Min (r, g) (min (A, B) indicates the minimum value of A and B), and the means for generating the second comparison data includes the first comparison data h1r ,
Using h1g, h1b, h1c, h1m, and h1y, the second comparison data h2ry = min (aq1 × h1y, a
p1 × h1r), h2rm = min (aq2 × h1
m, ap2 × h1r), h2gy = min (aq3 ×
h1y, ap3 × h1g), h2gc = min (aq
4 × h1c, ap4 × h1g), h2bm = min
(Aq5 × h1m, ap5 × h1b), h2bc = m
in (aq6 × h1c, ap6 × h1b), and a predetermined matrix coefficient Eij (i = 1 to 3, j = 1 to 3) and Fij (i = 1 to
3, j = 1 to 13), and the hue data and the first
The color conversion image data is obtained by performing a matrix operation on the comparison data, the second comparison data, and the minimum value α output from the calculation means by the matrix operation expression of Expression (4). Claim 1 or 3
The color conversion device according to 1. (Equation 4)
【請求項8】 上記係数発生手段が、式(5)の所定の
マトリクス係数Eij(i=1〜3、j=1〜3)を発
生することを特徴とする請求項1乃至7のいずれかに記
載の色変換装置。 【数5】
8. The apparatus according to claim 1, wherein said coefficient generating means generates a predetermined matrix coefficient Eij (i = 1 to 3, j = 1 to 3) of equation (5). The color conversion device according to 1. (Equation 5)
【請求項9】 上記第2の比較データを生成する手段に
おける、各第1の比較データに所定の演算係数aq1〜
aq6およびap1〜ap6を乗算する乗算手段が、演
算係数aq1〜aq6およびap1〜ap6を1、2、
4、8、…となる整数値とし、ビットシフトにより各第
1の比較データと上記演算係数との演算を行うことを特
徴とする請求項1乃至請求項8のいずれかに記載の色変
換装置。
9. A method according to claim 6, wherein each of the first comparison data in the means for generating the second comparison data has a predetermined operation coefficient aq1.
multiplication means for multiplying aq6 and ap1 to ap6 calculates operation coefficients aq1 to aq6 and ap1 to ap6 by 1, 2,
9. The color conversion device according to claim 1, wherein each of the first comparison data and the operation coefficient is operated by bit shift using integer values of 4, 8,... .
【請求項10】 上記画像データにおける最大値βと最
小値αを算出する算出手段が、画像データを用いて最大
値βと最小値αを算出するとともに、最大および最小と
なる画像データまたは補色データの種類に応じて、ゼロ
となる色相データを特定するための識別符号を生成し出
力する手段を備え、上記算出手段から出力される識別符
号に基づき、上記第1の比較データを生成する手段にお
いて第1の比較データを生成し、上記係数発生手段にお
いてマトリクス係数を発生するとともに、上記算出手段
からの識別符号に応じて上記係数発生手段からの係数に
よるマトリクス演算を行うことにより色変換された画像
データまたは補色データを得ることを特徴とする請求項
1乃至9のいずれかに記載の色変換装置。
10. A calculating means for calculating the maximum value β and the minimum value α in the image data calculates the maximum value β and the minimum value α using the image data, and calculates the maximum and minimum image data or complementary color data. Means for generating and outputting an identification code for specifying hue data to be zero in accordance with the type of the first comparison data based on the identification code output from the calculation means. A color-converted image is generated by generating first comparison data, generating a matrix coefficient in the coefficient generation means, and performing a matrix operation using the coefficient from the coefficient generation means in accordance with the identification code from the calculation means. 10. The color conversion device according to claim 1, wherein data or complementary color data is obtained.
【請求項11】 赤、緑、青の3色で表現する画像デー
タR、G、Bを画素毎に色変換する色変換方法におい
て、画素毎の画像データにおける最大値βおよび最小値
αを算出し、上記画像データと上記最大値βおよび最小
値αにより色相データr、g、bおよびy、m、cを算
出し、上記各色相データを用いて第1の比較データを生
成し、該第1の比較データを用いて第2の比較データを
生成し、所定のマトリクス係数を発生するとともに、上
記第1の比較データ、上記第2の比較データ、上記色相
データおよび上記最小値αを用いて、上記所定のマトリ
クス係数によってマトリクス演算し、該マトリクス演算
により得られる画像データの階調特性を変換することに
より色変換された画像データを得ることを特徴とする色
変換方法。
11. A color conversion method for color-converting image data R, G, and B expressed in three colors of red, green, and blue for each pixel, wherein a maximum value β and a minimum value α in the image data for each pixel are calculated. Then, hue data r, g, b, y, m, and c are calculated from the image data and the maximum value β and the minimum value α, and first comparison data is generated using the hue data. The second comparison data is generated by using the first comparison data, a predetermined matrix coefficient is generated, and the first comparison data, the second comparison data, the hue data, and the minimum value α are used. A color conversion method comprising: performing a matrix operation using the predetermined matrix coefficient; and converting the gradation characteristics of the image data obtained by the matrix operation to obtain color-converted image data.
【請求項12】 入力された画像データR、G、Bと最
大値βおよび最小値αとからの減算処理r=R−α、g
=G−α、b=B−αおよびy=β−B、m=β−G、
c=β−Rにより色相データr、g、bおよびy、m、
cを算出するとともに、上記色相データr、g、b間お
よびy、m、c間における比較データを求め、第1の比
較データに所定の演算係数を乗算し、該乗算出力を用い
て比較データを求め、上記第1の比較データ、第2の比
較データ、上記色相データおよび上記最小値αを用い
て、マトリクス演算し、該マトリクス演算により得られ
る画像データの階調特性を変換することにより色変換さ
れた画像データを得ることを特徴とする請求項11に記
載の色変換方法。
12. A subtraction process r = R−α, g from input image data R, G, B and a maximum value β and a minimum value α.
= G-α, b = B-α and y = β-B, m = β-G,
The hue data r, g, b and y, m, c = β-R
c, the comparison data between the hue data r, g, b and y, m, c is obtained, the first comparison data is multiplied by a predetermined operation coefficient, and the comparison data is calculated using the multiplied output. Is calculated by using the first comparison data, the second comparison data, the hue data, and the minimum value α, and converting the gradation characteristics of the image data obtained by the matrix operation. The color conversion method according to claim 11, wherein the converted image data is obtained.
【請求項13】 画像データR、G、Bより補色データ
C(シアン)、M(マゼンタ)、Y(イエロー)を求
め、上記補色データC、M、Yにおける最大値βおよび
最小値αを算出し、上記画像データR、G、Bより補色
データC、M、Yを求め、上記補色データC、M、Yと
上記最大値βおよび最小値αとからの減算処理r=β−
C、g=β−M、b=β−Yおよびy=Y−α、m=M
−α、c=C−αにより色相データr、g、bおよび
y、m、cを算出するとともに、色相データr、g、b
間およびy、m、c間における比較データを求め、第1
の比較データに所定の演算係数を乗算し、該乗算出力を
用いた比較データを求め、上記第1の比較データ、第2
の比較データ、上記色相データおよび上記最小値αを用
いて、マトリクス演算し、該マトリクス演算により得ら
れる画像データの階調特性を変換することにより色変換
された画像データを得ることを特徴とする請求項11に
記載の色変換方法。
13. Complementary color data C (cyan), M (magenta), and Y (yellow) are obtained from image data R, G, and B, and maximum value β and minimum value α of the complementary color data C, M, and Y are calculated. Then, complementary color data C, M, and Y are obtained from the image data R, G, and B, and a subtraction process r = β− from the complementary color data C, M, and Y and the maximum value β and the minimum value α.
C, g = β-M, b = β-Y and y = Y-α, m = M
The hue data r, g, b and y, m, c are calculated from −α, c = C−α, and the hue data r, g, b
And comparison data between y, m, and c are obtained.
Is multiplied by a predetermined operation coefficient to obtain comparison data using the multiplied output, and the first comparison data and the second
A matrix operation using the comparison data, the hue data, and the minimum value α, and converting the gradation characteristics of the image data obtained by the matrix operation to obtain color-converted image data. The color conversion method according to claim 11.
【請求項14】 色相データr、g、b、y、m、cを
用いて、第1の比較データh1r=min(m、y)、
h1g=min(y、c)、h1b=min(c、
m)、h1c=min(g、b)、h1m= min
(b、r)、h1y= min(r、g)(min
(A、B)はA、Bの最小値を示す。)を求め、上記第
1の比較データh1r、h1g、h1b、h1c、h1
m、h1yを用いて、第2の比較データh2ry=mi
n(aq1×h1y、ap1×h1r)、 h2rm=min(aq2×h1m、ap2×h1
r)、 h2gy=min(aq3×h1y、ap3×
h1g)、 h2gc=min(aq4×h1c、ap
4×h1g)、 h2bm=min(aq5×h1m、
ap5×h1b)、 h2bc=min(aq6×h1c、ap6×h1b)
を求めるとともに、所定のマトリクス係数Eij(i=
1〜3、j=1〜3)とFij(i=1〜3、j=1〜
12)とを発生し、上記色相データ、上記第1の比較デ
ータ、上記第2の比較データおよび最小値αに対し、式
(1)のマトリクス演算式によりマトリクス演算を行う
ことにより色変換された画像データを得ることを特徴と
する請求項11または12に記載の色変換方法。 【数6】
14. First comparison data h1r = min (m, y) using hue data r, g, b, y, m, c.
h1g = min (y, c), h1b = min (c,
m), h1c = min (g, b), h1m = min
(B, r), h1y = min (r, g) (min
(A, B) indicates the minimum value of A and B. ) To obtain the first comparison data h1r, h1g, h1b, h1c, h1.
Using m and h1y, second comparison data h2ry = mi
n (aq1 × h1y, ap1 × h1r), h2rm = min (aq2 × h1m, ap2 × h1
r), h2gy = min (aq3 × h1y, ap3 ×
h1g), h2gc = min (aq4 × h1c, ap
4 × h1g), h2bm = min (aq5 × h1m,
ap5 × h1b), h2bc = min (aq6 × h1c, ap6 × h1b)
And a predetermined matrix coefficient Eij (i =
1-3, j = 1-3) and Fij (i = 1-3, j = 1)
12), and the hue data, the first comparison data, the second comparison data, and the minimum value α are subjected to a matrix operation using a matrix operation expression of Expression (1) to perform color conversion. 13. The color conversion method according to claim 11, wherein image data is obtained. (Equation 6)
【請求項15】 色相データr、g、b、y、m、cを
用いて、第1の比較データh1r=min(m、y)、
h1g=min(y、c)、h1b=min(c、
m)、h1c=min(g、b)、h1m= min
(b、r)、h1y= min(r、g)(min
(A、B)はA、Bの最小値を示す。)を求め、上記第
1の比較データh1r、h1g、h1b、h1c、h1
m、h1yを用いて、第2の比較データh2ry=mi
n(aq1×h1y、ap1×h1r)、 h2rm=min(aq2×h1m、ap2×h1
r)、 h2gy=min(aq3×h1y、ap3×
h1g)、 h2gc=min(aq4×h1c、ap
4×h1g)、 h2bm=min(aq5×h1m、
ap5×h1b)、 h2bc=min(aq6×h1c、ap6×h1b)
を求めるとともに、所定のマトリクス係数Eij(i=
1〜3、j=1〜3)とFij(i=1〜3、j=1〜
12)とを発生し、上記色相データ、上記第1の比較デ
ータ、上記第2の比較データおよび最小値αに対し、式
(2)のマトリクス演算式によりマトリクス演算を行う
ことにより色変換された画像データを得ることを特徴と
する請求項11または13に記載の色変換方法。 【数7】
15. The first comparison data h1r = min (m, y) using hue data r, g, b, y, m, and c.
h1g = min (y, c), h1b = min (c,
m), h1c = min (g, b), h1m = min
(B, r), h1y = min (r, g) (min
(A, B) indicates the minimum value of A and B. ) To obtain the first comparison data h1r, h1g, h1b, h1c, h1.
Using m and h1y, second comparison data h2ry = mi
n (aq1 × h1y, ap1 × h1r), h2rm = min (aq2 × h1m, ap2 × h1
r), h2gy = min (aq3 × h1y, ap3 ×
h1g), h2gc = min (aq4 × h1c, ap
4 × h1g), h2bm = min (aq5 × h1m,
ap5 × h1b), h2bc = min (aq6 × h1c, ap6 × h1b)
And a predetermined matrix coefficient Eij (i =
1-3, j = 1-3) and Fij (i = 1-3, j = 1)
12), and the hue data, the first comparison data, the second comparison data, and the minimum value α are subjected to a matrix operation using a matrix operation expression of Expression (2) to perform color conversion. 14. The color conversion method according to claim 11, wherein image data is obtained. (Equation 7)
【請求項16】 色相データr、g、b、y、m、cを
用いて、第1の比較データh1r=min(m、y)、
h1g=min(y、c)、h1b=min(c、
m)、h1c=min(g、b)、h1m= min
(b、r)、h1y= min(r、g)(min
(A、B)はA、Bの最小値を示す。)を求め、上記第
1の比較データh1r、h1g、h1b、h1c、h1
m、h1yを用いて、第2の比較データh2ry=mi
n(aq1×h1y、ap1×h1r)、 h2rm=min(aq2×h1m、ap2×h1
r)、 h2gy=min(aq3×h1y、ap3×
h1g)、 h2gc=min(aq4×h1c、ap
4×h1g)、 h2bm=min(aq5×h1m、
ap5×h1b)、 h2bc=min(aq6×h1c、ap6×h1b)
を求めるとともに、所定のマトリクス係数Eij(i=
1〜3、j=1〜3)とFij(i=1〜3、j=1〜
13)とを発生し、上記色相データ、上記第1の比較デ
ータ、上記第2の比較データおよび最小値αに対し、式
(3)のマトリクス演算式によりマトリクス演算を行う
ことにより色変換された画像データを得ることを特徴と
する請求項11または12に記載の色変換方法。 【数8】
16. First comparison data h1r = min (m, y) using hue data r, g, b, y, m, c.
h1g = min (y, c), h1b = min (c,
m), h1c = min (g, b), h1m = min
(B, r), h1y = min (r, g) (min
(A, B) indicates the minimum value of A and B. ) To obtain the first comparison data h1r, h1g, h1b, h1c, h1.
Using m and h1y, second comparison data h2ry = mi
n (aq1 × h1y, ap1 × h1r), h2rm = min (aq2 × h1m, ap2 × h1
r), h2gy = min (aq3 × h1y, ap3 ×
h1g), h2gc = min (aq4 × h1c, ap
4 × h1g), h2bm = min (aq5 × h1m,
ap5 × h1b), h2bc = min (aq6 × h1c, ap6 × h1b)
And a predetermined matrix coefficient Eij (i =
1-3, j = 1-3) and Fij (i = 1-3, j = 1)
13), and the hue data, the first comparison data, the second comparison data, and the minimum value α are subjected to a matrix operation using a matrix operation expression of Expression (3) to perform color conversion. 13. The color conversion method according to claim 11, wherein image data is obtained. (Equation 8)
【請求項17】 色相データr、g、b、y、m、cを
用いて、第1の比較データh1r=min(m、y)、
h1g=min(y、c)、h1b=min(c、
m)、h1c=min(g、b)、h1m= min
(b、r)、h1y= min(r、g)(min
(A、B)はA、Bの最小値を示す。)を求め、上記第
1の比較データh1r、h1g、h1b、h1c、h1
m、h1yを用いて、第2の比較データh2ry=mi
n(aq1×h1y、ap1×h1r)、 h2rm=min(aq2×h1m、ap2×h1
r)、 h2gy=min(aq3×h1y、ap3×
h1g)、 h2gc=min(aq4×h1c、ap
4×h1g)、 h2bm=min(aq5×h1m、
ap5×h1b)、 h2bc=min(aq6×h1c、ap6×h1b)
を求めるとともに、所定のマトリクス係数Eij(i=
1〜3、j=1〜3)とFij(i=1〜3、j=1〜
13)とを発生し、上記色相データ、上記第1の比較デ
ータ、上記第2の比較データおよび最小値αに対し、式
(4)のマトリクス演算式によりマトリクス演算を行う
ことにより色変換された画像データを得ることを特徴と
する請求項11または13に記載の色変換方法。 【数9】
17. Using hue data r, g, b, y, m, c, first comparison data h1r = min (m, y),
h1g = min (y, c), h1b = min (c,
m), h1c = min (g, b), h1m = min
(B, r), h1y = min (r, g) (min
(A, B) indicates the minimum value of A and B. ) To obtain the first comparison data h1r, h1g, h1b, h1c, h1.
Using m and h1y, second comparison data h2ry = mi
n (aq1 × h1y, ap1 × h1r), h2rm = min (aq2 × h1m, ap2 × h1
r), h2gy = min (aq3 × h1y, ap3 ×
h1g), h2gc = min (aq4 × h1c, ap
4 × h1g), h2bm = min (aq5 × h1m,
ap5 × h1b), h2bc = min (aq6 × h1c, ap6 × h1b)
And a predetermined matrix coefficient Eij (i =
1-3, j = 1-3) and Fij (i = 1-3, j = 1)
13), and the hue data, the first comparison data, the second comparison data, and the minimum value α are subjected to a matrix operation using a matrix operation expression of Expression (4) to perform color conversion. 14. The color conversion method according to claim 11, wherein image data is obtained. (Equation 9)
【請求項18】 式(5)の所定のマトリクス係数Ei
j(i=1〜3、j=1〜3)を発生することを特徴と
する請求項11乃至17のいずれかに記載の色変換方
法。 【数10】
18. The predetermined matrix coefficient Ei of the equation (5)
18. The color conversion method according to claim 11, wherein j (i = 1 to 3, j = 1 to 3) is generated. (Equation 10)
【請求項19】 各第1の比較データに所定の演算係数
aq1〜aq6およびap1〜ap6を乗算する際、演
算係数aq1〜aq6およびap1〜ap6を1、2、
4、8、…となる整数値とし、ビットシフトにより上記
各第1の比較データと上記演算係数との演算を行うこと
を特徴とする請求項11乃至18のいずれかに記載の色
変換方法。
19. When multiplying each first comparison data by predetermined operation coefficients aq1 to aq6 and ap1 to ap6, the operation coefficients aq1 to aq6 and ap1 to ap6 are set to 1, 2,
19. The color conversion method according to claim 11, wherein each of the first comparison data and the operation coefficient is calculated by a bit shift using an integer value of 4, 8,....
【請求項20】 画像データを用いて最大値βおよび最
小値αを算出するとともに、最大および最小となる画像
データまたは補色データの種類に応じて、ゼロとなる色
相データを特定するための識別符号を生成して出力し、
該識別符号に基づき、第1の比較データを生成し、マト
リクス係数を発生するとともに、上記識別符号に応じて
上記マトリクス係数によるマトリクス演算を行うことに
より色変換された画像データまたは補色データを得るこ
とを特徴とする請求項11乃至19のいずれかに記載の
色変換方法。
20. An identification code for calculating a maximum value β and a minimum value α using image data and specifying hue data to be zero according to the type of image data or complementary color data to be maximum and minimum. Generates and outputs
Generating first comparison data based on the identification code, generating a matrix coefficient, and performing a matrix operation using the matrix coefficient according to the identification code to obtain color-converted image data or complementary color data. The color conversion method according to any one of claims 11 to 19, wherein:
JP2000312129A 1999-10-14 2000-10-12 Color conversion method and color conversion device Expired - Lifetime JP3584971B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000312129A JP3584971B2 (en) 1999-10-14 2000-10-12 Color conversion method and color conversion device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP11-291895 1999-10-14
JP29189599 1999-10-14
JP2000312129A JP3584971B2 (en) 1999-10-14 2000-10-12 Color conversion method and color conversion device

Publications (3)

Publication Number Publication Date
JP2001186370A true JP2001186370A (en) 2001-07-06
JP3584971B2 JP3584971B2 (en) 2004-11-04
JP2001186370A5 JP2001186370A5 (en) 2005-04-07

Family

ID=26558747

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000312129A Expired - Lifetime JP3584971B2 (en) 1999-10-14 2000-10-12 Color conversion method and color conversion device

Country Status (1)

Country Link
JP (1) JP3584971B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7969448B2 (en) 2003-11-20 2011-06-28 Samsung Electronics Co., Ltd. Apparatus and method of converting image signal for six color display device, and six color display device having optimum subpixel arrangement

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7969448B2 (en) 2003-11-20 2011-06-28 Samsung Electronics Co., Ltd. Apparatus and method of converting image signal for six color display device, and six color display device having optimum subpixel arrangement

Also Published As

Publication number Publication date
JP3584971B2 (en) 2004-11-04

Similar Documents

Publication Publication Date Title
JP3432468B2 (en) Color conversion apparatus and color conversion method
JP3611490B2 (en) Color conversion apparatus and color conversion method
JP3432414B2 (en) Color conversion device and color conversion method
US7119927B2 (en) Color conversion device and color conversion method
JP3698118B2 (en) Color conversion apparatus and color conversion method
JP2001111854A5 (en)
JP2004013385A5 (en)
JPWO2003034710A1 (en) Color conversion apparatus and color conversion method
JP3807883B2 (en) Color conversion apparatus and color conversion method
JP3560521B2 (en) Image display device
JP2001111855A5 (en)
JP2001111857A5 (en)
US6839150B1 (en) Color conversion device and color conversion method
KR100546925B1 (en) Image processing device and image processing method
JP3584971B2 (en) Color conversion method and color conversion device
US6904167B2 (en) Color conversion device and method
EP1093297B1 (en) Color conversion device
JP3807920B2 (en) Color conversion apparatus and color conversion method
JP3871495B2 (en) Color conversion apparatus and color conversion method
JP3611491B2 (en) Color conversion method and color conversion apparatus
JP3434814B2 (en) Color conversion device and color conversion method
JP2001186370A5 (en)
JP3434815B2 (en) Color conversion device and color conversion method
JP2001111856A5 (en)
JPWO2002084994A1 (en) Color conversion device and color conversion method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040520

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040520

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20040520

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20040609

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040727

R150 Certificate of patent or registration of utility model

Ref document number: 3584971

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20070813

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20080813

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080813

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090813

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090813

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100813

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110813

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110813

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120813

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120813

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130813

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250