JPH02226869A - Color decomposition picture correction method and device - Google Patents

Color decomposition picture correction method and device

Info

Publication number
JPH02226869A
JPH02226869A JP1046829A JP4682989A JPH02226869A JP H02226869 A JPH02226869 A JP H02226869A JP 1046829 A JP1046829 A JP 1046829A JP 4682989 A JP4682989 A JP 4682989A JP H02226869 A JPH02226869 A JP H02226869A
Authority
JP
Japan
Prior art keywords
color
input
matrix
image data
output
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
JP1046829A
Other languages
Japanese (ja)
Other versions
JP3080373B2 (en
Inventor
Hirotetsu Ko
博哲 洪
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP01046829A priority Critical patent/JP3080373B2/en
Publication of JPH02226869A publication Critical patent/JPH02226869A/en
Application granted granted Critical
Publication of JP3080373B2 publication Critical patent/JP3080373B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)

Abstract

PURPOSE:To improve the consistency at a boundary face in a split space even when the relation of input and output is nonlinear by using a matrix coefficient decided at every split space and applying matrix arithmetic operation, thereby outputting a color decomposition picture data. CONSTITUTION:A matrix coefficient decided at every triangular pyramid is stored in lookup tables(LUT) 15-18. When the input signals R, G, B are supplied, the LUT 15-18 supply output signals corresponding to the triangular pyramid with the input signals B, G, R included therein to multipliers 20-22 and an adder 224 respectively and Y, M, C signals are outputted sequentially from an output terminal 26 leading from an adder 25 every time one of the input signals B, G, R are supplied. Since the matrix coefficient is used to apply matrix arithmetic operation and the color decomposition picture data subjected to color correction is obtained, even when the relation of input and output is nonlinear, the consistency with the boundary faces in the split spaces is improved.

Description

【発明の詳細な説明】 C産業上の利用分野] この発明は、ビデオプリンタ、ディジタルカラーコピー
などのカラー修正に適用して好適な色分解1i懺修正方
法および装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Use] The present invention relates to a color separation 1i color correction method and apparatus suitable for use in color correction of video printers, digital color copies, and the like.

[発明の背景] テレビ画像をビデオプリンタ、ディジタルカラーコピー
装置などを使用してハードコピーをする場合、それぞれ
の表色系が相違するので、再現色を一致させる目的で色
分解iil像條正修正が使用される。
[Background of the Invention] When making a hard copy of a television image using a video printer, digital color copying device, etc., each color system is different, so in order to match the reproduced colors, color separation III image correction is necessary. is used.

色分解画像修正装置の1つであるカラーマスキング装置
は、周知のようにトナー、インクなどの色材の副吸収分
をキャンセルして正しい色を再現するための装置である
As is well known, a color masking device, which is one type of color separation image correction device, is a device for reproducing correct colors by canceling sub-absorption of color materials such as toner and ink.

例えば、第5図に示すカラーマスキングIIIIOから
は、入力されるR、  G、  Bの3原色画像データ
に対応した新たな色修正データ(色修正後のW1象デー
タで、この例では、イエローY、マゼンタM、シアンC
の画像データ)が出力される。
For example, from the color masking IIIO shown in FIG. 5, new color correction data (W1 image data after color correction, in this example, yellow Y , magenta M, cyan C
image data) is output.

この場合、色修正データは入力ii!iilデータを数
1演算することにより得ることができる。
In this case, the color correction data is input ii! It can be obtained by calculating the iil data using equation 1.

例えば、入力画像データにより形成される色空間を複数
の基本格子(立方体)に分割し、入力画像データをこの
基本格子ごとに決定されなマトリックス係数を用いてマ
トリックス演算することにより色修正データを得ること
が提案されている(特開昭61−60068号公報参照
)。
For example, color correction data is obtained by dividing the color space formed by input image data into multiple basic grids (cubes) and performing matrix operations on the input image data using matrix coefficients that are not determined for each basic grid. It has been proposed (see Japanese Patent Laid-Open No. 61-60068).

また、色修正データを予めルックアップテーブル(LU
T)に格納し、このLUTを参照して色修正データを得
ることが考えられるが、全ての色修正データを格納する
ためには、LUTの容量が膨大となる0例えば、R,、
G、  Bの画像データがそれぞれ8ビツトのデータで
あるとき、各画像データの組み合わせは2s  ・28
 ・2B=224となり、3つの色I正データを得るに
は、 2”X3=50.3  Mバイト もの、膨大なメモリ容量が必要となる。
In addition, the color correction data is stored in a lookup table (LU
It is conceivable to store the color correction data in R, .
When G and B image data are each 8-bit data, the combination of each image data is 2s 28
- 2B = 224, and in order to obtain three color I-correct data, a huge memory capacity of 2" x 3 = 50.3 Mbytes is required.

そこで、本出願人は、メモリ容量の削減化を図るため、
入力画渫データにより形成される色空間を複数の基本格
子(立方体)に分割し、1.、 U Tにはその頂点に
位置する入力画像データの組合わせに対する色修正デー
タを格納し、入力iiI像データに対応する色修正デー
タが存在しないときには、この入力画像データ(補間点
)が含まれる基本格子の頂点の色修正データの重み平均
によって色情正データを得ることを提案した(特願昭6
3−314636号音N)。
Therefore, in order to reduce the memory capacity, the applicant has
Divide the color space formed by input stroke data into a plurality of basic grids (cubes), 1. , UT stores color correction data for the combination of input image data located at the vertices, and when there is no color correction data corresponding to input III image data, this input image data (interpolation point) is included. It was proposed to obtain correct color data by weighted averaging of color correction data of the vertices of the basic lattice (patent application No. 6).
3-314636 sound N).

さらに、補間処理時間の短縮化を図るため、基本格子を
分割した最小限の頂点数の分割空間く三角1)の頂点の
色修正データの重み平均によって色修正データを得るこ
とを虚業じた(特願昭63−238507号参N)。
Furthermore, in order to shorten the interpolation processing time, we decided to obtain color correction data by weighted averaging of the color correction data of the vertices of triangle 1), which is a divided space with the minimum number of vertices obtained by dividing the basic grid ( Patent Application No. 1983-238507 N).

号参明が解決しようとするt!fl] ところで、LUTに予め基本格子の頂点に位置する入力
画像データの組合わせに対する色修正データを格納し、
このL U Tを参照して重み平均により色修正データ
を得るものにおいては、入力画像データを上位Nビット
(入力画1象データで決まる補間点が含まれる基本格子
の基準点を表す)および下位Mビット(補間点の基本格
子内の位置を表す)に分離して、LUTに基本格子の頂
点の色修正データを格納する場合、各色に(2’+1)
−のアドレスが必要となる0例えば、入力画像データが
8ビツトであり、上位4ビツトおよび下位4ビツトに分
離するときには、 0、 16. 32.  ・・・、224,240,2
56の頂点の色修正データがLtJTに格納され、各色
に<24 +1)=17個のアドレスが必要となる。
The issue reference is trying to solve! fl] By the way, color correction data for the combination of input image data located at the vertices of the basic grid is stored in the LUT in advance,
When color correction data is obtained by weighted averaging with reference to this LUT, the input image data is divided into the upper N bits (representing the reference point of the basic grid that includes the interpolation points determined by the input image data) and the lower When storing the color correction data of the vertices of the basic lattice in the LUT separated into M bits (representing the position of the interpolation point in the basic lattice), each color has (2'+1)
For example, when input image data is 8 bits and is separated into upper 4 bits and lower 4 bits, 0, 16. 32. ..., 224,240,2
Color correction data for 56 vertices is stored in the LtJT, requiring <24 + 1) = 17 addresses for each color.

しかし、一般にメモリは2のべき乗バイトの容量を有す
るので、このままではハードウェア化するときに効率が
悪く、メモリを有効に使えなかっそこで、これを回避す
るため、ディジタル値の大きいところくまたは小さいと
ころ)を近くの適当な値に丸める処1が行なわれている
0例えば、上潮において241〜255の値は240と
して扱い、24個のアドレスで処理することが行なわれ
ている。しかし、これによれば、丸め処理による誤差が
生じる欠点があった。
However, since memory generally has a capacity of bytes that is a power of 2, it is inefficient to implement it in hardware as it is, and the memory cannot be used effectively.To avoid this, it is necessary to store large or small digital values. ) is rounded to the nearest appropriate value.0 For example, in the upper tide, values 241 to 255 are treated as 240 and processed using 24 addresses. However, this method has the disadvantage that errors occur due to rounding processing.

一方、入力画像データにより形成される色空間を3j1
1数の基本格子に分割し、入力画像データをこの基本格
子ごとに決定されたマトリックス係数を用いてマトリッ
クス演算することにより色修正データを得るものによれ
ば、上述したようなLUTを用いるもののような欠点は
ないが、入出力間係が非線形の場合、分割した基本格子
の境界面でマトリックス演算の係数が変るため、あるグ
ラデーションのような色の変化が滑らかにある場合、境
界面を通過するときの変化が非連続にな7てしまう欠点
があった。
On the other hand, the color space formed by the input image data is 3j1
According to methods that obtain color correction data by dividing input image data into a number of basic grids and performing matrix operations using matrix coefficients determined for each basic grid, there are methods that use LUTs as described above. However, if the relationship between input and output is nonlinear, the coefficients of the matrix operation change at the boundary of the divided basic grid, so if there is a smooth color change such as a gradation, it will pass through the boundary. There was a drawback that the change in time was discontinuous.

そこで、この発明では、上述欠点を除去することを目的
とするものである。
Therefore, the present invention aims to eliminate the above-mentioned drawbacks.

[8題を解決するための手段] この発明に係る色分解画像修正方法は、色補正すべく入
力され得るn色分解画像データ(nは2以上の整数)に
より形成される色空間を最小限の頂点数となる分割空間
に分割し、 入力される色分解画像データを上記分割空間ごとに決定
されたマトリックス係数を用いてマトリックス演算する
ことにより、色修正された色分解画像データを得ること
を特徴とするものである。
[Means for Solving Eight Problems] The color separation image correction method according to the present invention minimizes the color space formed by n color separation image data (n is an integer of 2 or more) that can be input for color correction. The color-corrected color-separated image data can be obtained by dividing the input color-separated image data into divided spaces with a number of vertices of This is a characteristic feature.

また、この発明に係る色分解画II修正装置は、色補正
すべく入力され得るn色分解画像データ(nは2以上の
整数)により形成される色空間を最小限の頂点数となる
分割空間に分割し、その分割空間ごとに決定されたマト
リックス係数を記憶するマトリックス係数記憶手段と、 入力されたn色分解画像データが含まれる上記分割空間
のマトリックス係数を上記マトリックス係数記憶手段よ
り読み出すマトリックス係数読出手段と、 入力される11色分解画像データを上記記憶手段より読
み出されるマトリックス係数を用いてマトリックス演算
して色修正された色分解画像データを出力するマトリッ
クス演算手段とを具備することを特徴とするものである
Further, the color separation image II correction device according to the present invention transforms a color space formed by n color separation image data (n is an integer of 2 or more) that can be inputted for color correction into a divided space with a minimum number of vertices. matrix coefficient storage means for storing the matrix coefficients determined for each divided space; and matrix coefficients for reading out the matrix coefficients of the divided space including the input n color separation image data from the matrix coefficient storage means. It is characterized by comprising a readout means, and a matrix calculation means for performing a matrix calculation on input 11 color separation image data using matrix coefficients read from the storage means and outputting color-corrected color separation image data. It is something to do.

〔作 用] 上述構成においては、n色分解画像データにより形成さ
れる色空間を最小限の頂点数となる分割空間に分割する
ものである。例えば、n=3であるときには五角錐に分
割される。
[Operation] In the above configuration, the color space formed by the n-color separation image data is divided into divided spaces having the minimum number of vertices. For example, when n=3, it is divided into pentagonal pyramids.

この分割空間ごとに決定された7トリツクス係数を用い
てマトリックス演算をして色分解画像データを得るとき
には、入出力間係が非線形であっても分割空間の境界面
での整合性はよくなる。
When color-separated image data is obtained by matrix calculation using the seven matrix coefficients determined for each divided space, consistency at the boundaries of the divided spaces is improved even if the relationship between input and output is nonlinear.

[実  施  例] 以下、この発明に係る色分解画像修正方法お上びWaa
の一例について説明する。
[Example] Hereinafter, the color separation image correction method and Waa according to the present invention will be described.
An example will be explained.

本例においては、青B。緑G9  赤Rの信号が入力さ
れ、イエローY、マゼンタM、シアンCの1言号が出力
される例である。この場合、B、  G、  F’tで
形成される三次元の色空間は最小限の頂点数となる分割
空間、つまり五角錐に分割され、入力信号B、  G、
  Rが五角錐ごとに決定されたマトリックス係数を用
いてマトリックス演算されて、出力1言号Y、  M、
  Cが得られる。
In this example, blue B. In this example, signals of green G9 and red R are input, and one word of yellow Y, magenta M, and cyan C is output. In this case, the three-dimensional color space formed by B, G, and F't is divided into a divided space with the minimum number of vertices, that is, a pentagonal pyramid, and the input signals B, G,
R is subjected to matrix operation using the matrix coefficients determined for each pentagonal pyramid, and one output word Y, M,
C is obtained.

まず、本例の原理について説明する。B、  G。First, the principle of this example will be explained. B.G.

RおよびY、  M、  Cの2空間がそれぞれ五角錐
に分割され、その五角錐の頂点同士が次のように対応す
るものとする(第1図)。
Assume that the two spaces R, Y, M, and C are each divided into pentagonal pyramids, and the vertices of the pentagonal pyramids correspond to each other as follows (Figure 1).

B、G、R′!!!m   Y、M、C空rlflPI
(81,Gl、  R1)  PI’  (Yl、  
Ml。CI)R2(82,G2.  R2)  P2’
  (Y2゜R2,C2)R3(83,G3.   R
3)    P3’   (Y3.   R3,C3)
R4(84,G4.  R4)  P4’  (Y4.
  R4,C4)R5(85,GS、  R5)  P
5’  (Y5.  R5,C5)このとき、B、  
G、  R空間の互いに接する2つの五角錐が、それぞ
れPl、R2,R3,R4とPl、R2,R3,R5の
頂点を用いて形成されているとする。
B, G, R'! ! ! m Y, M, C empty rlflPI
(81, Gl, R1) PI' (Yl,
Ml. CI) R2 (82, G2. R2) P2'
(Y2゜R2,C2)R3(83,G3.R
3) P3' (Y3. R3, C3)
R4 (84, G4. R4) P4' (Y4.
R4, C4) R5 (85, GS, R5) P
5' (Y5. R5, C5) At this time, B,
Assume that two pentagonal pyramids in G and R spaces that touch each other are formed using the vertices of Pl, R2, R3, and R4 and Pl, R2, R3, and R5, respectively.

この場合、B、  G、  R空間の頂点Pi R2P
3P4で形成されろ五角錐に対応するY、  M、  
C空間の頂点Pl’P2’P3’P4’で形成される五
角錐内の点く頂点を含む)は次のマトリックス式で計算
できる。
In this case, the vertices Pi R2P of B, G, R space
Y, M, corresponding to the pentagonal pyramid formed by 3P4,
(including the points in the pentagonal pyramid formed by the vertices Pl'P2'P3'P4' of the C space) can be calculated using the following matrix formula.

この(1)式は、次のようにして導出される。This equation (1) is derived as follows.

すなわち、B、  G、  Hの空間の点Pi  (B
i。
That is, point Pi (B
i.

Gin  R+ )とY、  M、  Cの空間の点P
i’(Y奮0M1i  Cj )との間係は次のマトリ
ックス演算で表すことができる。
Gin R+ ) and point P in the space of Y, M, and C.
The relationship with i' (Yi0M1i Cj) can be expressed by the following matrix operation.

このとき、未知数aiJは12個あるので、4元連立1
次方程式とすれば、このaIJを決定することができる
At this time, there are 12 unknowns aiJ, so the four-dimensional simultaneous 1
This aIJ can be determined using the following equation.

そこで、B、  G、  R空間の三角錐が頂点PIP
2 F3 F4で形成されるものであるとき、・ ・ 
・ (3) となり、 ・ ・ ・ (4) この(4)式を、 (2)式に代入し、マトリックス演
算の形式に書き直すと、 (1)式が導出される。
Therefore, the triangular pyramid in B, G, and R space has the vertex PIP
When it is formed by 2 F3 F4,...
・ (3) Then, ・ ・ ・ (4) By substituting equation (4) into equation (2) and rewriting it in the form of matrix operation, equation (1) is derived.

ところで、Pi   (Yi、Mi、Ci)は、B。By the way, Pi (Yi, Mi, Ci) is B.

G、  R空間で2つの三角錐が接する面(三角形)上
では、どちらの三角錐のマトリックス係数で計算しても
同じ値になる必要があるが、 (1)式がその条件を満
たしていることを次に説明する。
On the surface (triangle) where two triangular pyramids touch in G and R space, it is necessary to obtain the same value no matter which matrix coefficient of the triangular pyramid is calculated, and formula (1) satisfies this condition. This will be explained next.

すなわち、mi図に示す例では、三角形PIF2P3が
2つの三角錐が接する面となる。このとき、三角形Pi
 F2 F3上の点は、三角mIPIP2 F3 F4
と、三角錐PI F2 F3 F5のどちらのマトリッ
クス係数で計算しても同じ結果となることを以下に示す
That is, in the example shown in the mi diagram, the triangle PIF2P3 is the surface where the two triangular pyramids touch. At this time, the triangle Pi
The point on F2 F3 is the triangle mIPIP2 F3 F4
It will be shown below that the same result is obtained no matter which matrix coefficients of the triangular pyramid PI F2 F3 F5 are used.

三角形PI F2 F3上の点Pは、 B=α81+βB2+γB3 G=αG!+βC2+γG3 R=αR1+βR2+γR3 で表される。これを(1)式に代入して展開すると、 となり、 (Y4.M4゜C4)の項が消える。これは
、Y4.M4.C4をY5.MS、C5に入れ換えても
同じであり、 (1)式で計算された三角錐の天上の点
は、どちらの三角錐のマトリックス係数を用いて計算し
ても同じ値になることが証明される。
Point P on triangle PI F2 F3 is: B=α81+βB2+γB3 G=αG! +βC2+γG3 R=αR1+βR2+γR3. Substituting this into equation (1) and expanding it yields, and the term (Y4.M4°C4) disappears. This is Y4. M4. C4 to Y5. It is the same even if MS and C5 are replaced, and it is proven that the celestial point of the triangular pyramid calculated by equation (1) will have the same value no matter which matrix coefficient of the triangular pyramid is used for calculation. .

本例においては、まず入力信号B、  G、  Rを上
位ビットおよび下位ビットに分離し、入力信号B。
In this example, first, input signals B, G, and R are separated into upper bits and lower bits, and input signal B is obtained.

G、  Rで形成される色空間を基本格子(立方体)に
分割する。この場合、基本格子は上位ビットによって特
定される。
The color space formed by G and R is divided into basic grids (cubes). In this case, the basic lattice is specified by the upper bits.

次に、入力信号B、  G、  Hの下位ビットをそれ
ぞれ比較し、基本格子をさらに分割して作る6個の三角
錐うちのどれに含まれるかを特定する。
Next, the lower bits of input signals B, G, and H are compared, and it is determined which of the six triangular pyramids created by further dividing the basic lattice is included.

すなわち、第2図に示すように、頂点a〜hで構成され
る基本格子に対して、1点鎖線によって計6個の五角錐
が形成される。この611の五角錐の頂点の座標(X、
  Y、  Z’)は、それぞれ第3図に示すようにな
る。そして、61ilの五角錐のうちのどれに含まれる
かを特tする条件は、入力信号B、  G、  Hの下
位ビットをそれぞれBL、OL。
That is, as shown in FIG. 2, a total of six pentagonal pyramids are formed by one-dot chain lines for the basic lattice composed of vertices a to h. The coordinates (X,
Y, Z') are respectively shown in FIG. The conditions for specifying in which of the pentagonal pyramids of 61il the lower bits of input signals B, G, and H are included are BL and OL, respectively.

RLとすると、第3図に示すようになる。つまり、この
条件を満足するか否かにより五角錐が特定される。
If it is RL, it will be as shown in FIG. In other words, a pentagonal pyramid is specified depending on whether this condition is satisfied.

つぎに、 (1)式に従って入力信号B、  G、  
Hに対応する出力信号Y、  M、  Cが演算される
Next, according to equation (1), input signals B, G,
Output signals Y, M, and C corresponding to H are calculated.

、’、  V= cllB+ c12G+ c13R+
 cX4M= c21B+ c22G+ c23R+ 
c24C= c31B+ c32G+ c33R+ c
34・ ・ ・ (7) ここで、マトリックス係数all〜c34は、五角錐ご
とに予め決定されている。
,', V= cllB+ c12G+ c13R+
cX4M= c21B+ c22G+ c23R+
c24C= c31B+ c32G+ c33R+ c
34. . . (7) Here, the matrix coefficients all to c34 are determined in advance for each pentagonal pyramid.

(7)式から、1色につき3回の乗算と3回の加算によ
って、Y、  M、  Cを計算する。
From equation (7), Y, M, and C are calculated by three multiplications and three additions for each color.

第4図は上述したようにして、入力信号B、  G。FIG. 4 shows input signals B and G as described above.

Rに対応した出力信号Y、  M、  Cを得るカラー
マスキング装置10の例である。
This is an example of a color masking device 10 that obtains output signals Y, M, and C corresponding to R.

端子118.11G、IIRに供給される8ビツトの入
力信号B、  G、  Rは、それぞれ上1立4ビット
および下位4ビツトに分離される。この場合、上位4ビ
ツトは入力信号B、  G、  Rが含まれる基本格子
(立方体)を表し、下位4ビツトはその基本格子内の位
置を表すものとなる。
The 8-bit input signals B, G, and R supplied to terminals 118.11G and IIR are separated into upper 4 bits and lower 4 bits, respectively. In this case, the upper 4 bits represent the basic lattice (cube) containing the input signals B, G, and R, and the lower 4 bits represent the position within the basic lattice.

下位4ビツトの信号BL、G1..RLは、選択的にコ
ンパレータ12〜14に供給される。コンパレータ12
ではBL≧GLかどうかが、コンパレータ13ではCL
≧RLかどうかが、コンパレータ14ではRL≧BLか
どうかが判断され、満足するときには高レベル“1″の
信号が出力され、満足しないときには低レベル“θ″の
信号が出力される。これらコンパレータ12〜14から
の3ビツトの信号により、入力信号B、  G、  R
が基本格子内の6個の五角錐のうちのとの五角錐に含ま
れるかが特定される0例えば、第3図に示すNalの五
角錐に含まれるときには、コンパレータ12゜13の出
力は高レベル“1”ゝ コンパレータ14の出力は低1
ノベル“0”となり、入力信号B、  G。
The lower 4 bits of signals BL, G1 . .. RL is selectively supplied to comparators 12-14. Comparator 12
Then, whether BL≧GL or not, comparator 13 determines CL
The comparator 14 determines whether RL≧BL, and when it is satisfied, a high level "1" signal is output, and when it is not satisfied, a low level "θ" signal is output. The input signals B, G, and R are determined by the 3-bit signals from these comparators 12 to 14.
For example, when Nal is included in the pentagonal pyramid of Nal shown in FIG. 3, the outputs of comparators 12 and 13 will be high. Level “1” The output of comparator 14 is low 1
The novel becomes "0", and the input signals B and G.

Rが陽】の五角錐に含まれることがわかる。It can be seen that R is included in a pentagonal pyramid with positive].

これらコンパレータ12〜14からの3ビツトの信号は
、LUT 15〜18に供給される。また、これらLt
JT 15〜18には上位4ビツトの信号BH,GH,
R)lが供給される。ここで、上位4ビツトの18号B
11.G)1.RHは上述したように基本格子を表し、
またコンパレータ12〜14b)らの3ビツトの信号は
上述したように基本格子内の五角錐を表し、したつがっ
て、これら上位4ビツトの信号B11.  G11. 
 RHおよびコンパレータ12〜14からの3ビツトの
信号によって、入力信号B、  G、  Rがどの基本
格子のとの五角錐に含まれるかが特定される。
The 3-bit signals from these comparators 12-14 are supplied to LUTs 15-18. Also, these Lt
For JT 15 to 18, the upper 4 bit signals BH, GH,
R)l is supplied. Here, the top 4 bits No. 18B
11. G)1. RH represents the basic lattice as mentioned above,
Furthermore, the 3-bit signals from the comparators 12 to 14b) represent the pentagonal pyramid in the basic lattice as described above, and therefore, these upper 4-bit signals B11 . G11.
The 3-bit signals from RH and comparators 12 to 14 specify which pentagonal pyramid of the basic lattice the input signals B, G, and R are included in.

LUT15〜18にはマトリックス係数が格納される。Matrix coefficients are stored in LUTs 15-18.

すなわち、LUT 15にはcll、c21゜c31の
係数が格納され、LUTlBにはc12.c”22* 
 c32の係数が格納され、LUT 17にはc13゜
c 23.  c 33の係数が格納され、LUTlB
にはCI4+  c24.  c34が格納される。こ
の場合、マトリックス係数は五角錐ごとに決定されるも
のであり、それぞれの係数ell〜c34は基本格子の
数×6個の種類を有することになる。
That is, LUT 15 stores coefficients of cll, c21°c31, and LUT1B stores coefficients of c12. c”22*
The coefficient of c32 is stored, and LUT 17 contains the coefficient of c13°c23. c 33 coefficients are stored, LUTlB
CI4+ c24. c34 is stored. In this case, the matrix coefficients are determined for each pentagonal pyramid, and each of the coefficients ell to c34 has 6 types x the number of basic lattices.

また、これらLUT 15〜18には、端子19よりY
、  M、  Cの色切り損え信号が供給される。
Further, these LUTs 15 to 18 are connected to Y from terminal 19.
, M, and C color cutoff signals are supplied.

そして、1つの入力信号B、  G、  Rが供給され
ると、LUT 15〜18からは、その入力信号B。
When one input signal B, G, R is supplied, that input signal B is output from LUTs 15 to 18.

G、  Rの含まれる五角錐に対応して、まずYに係る
係数ell〜c14が参照され、次にMに係る係数c2
1〜c24が参照され、最後にCに係る係数c31〜e
34が参照される。
Corresponding to the pentagonal pyramid containing G and R, the coefficients ell to c14 related to Y are first referenced, and then the coefficient c2 related to M is
1 to c24 are referenced, and finally the coefficients c31 to e related to C are
34 is referred to.

また、LUT15〜17の出力信号はそれぞれ乗算′a
20〜22に供給されて、それぞれ入力信号B、  G
、  Rと乗算される。そして、乗算1120および2
1の出力信号は加算器23に供給されて加算され、この
加算!23の出力信号は加算器26に供給される。また
、加算@22の出力信号およびLUT 18の出力信号
は加算@24に供給されて加算され、この加算1!24
の出力信号は加算825に供給される。そして、加算器
26より出力端子26が導出される。
Also, the output signals of LUTs 15 to 17 are multiplied by 'a'
20 to 22 to receive input signals B and G, respectively.
, multiplied by R. and multiplication 1120 and 2
The output signals of 1 are supplied to the adder 23 and added, and this addition! The output signal of 23 is supplied to an adder 26. Also, the output signal of addition@22 and the output signal of LUT 18 are supplied to addition@24 and added together, and this addition 1!24
The output signal of is provided to a summation 825. Then, an output terminal 26 is derived from the adder 26.

ここで、入力信号B、  G、  Rが供給されると、
まずLUT 15〜18より係数C目〜c14が出力さ
れる。そのため、乗算820.21.22からは、それ
ぞれc 11B+  c 12G、  c 13Rが出
力され、出力端子26には、 (7〉式に示すYの信号
が得られる0次にLUT15〜18より係数c21〜C
24が出力される。そのため、乗)Ei!20. 21
゜22からは、それぞれc 21B、  c 22G、
  c 23Rが出力され、出力端子26には、 (7
)式に示すMの信号が得られる。最後にLLIT 15
〜18より係数c31〜c34が出力される。そのため
、乗算器20.21.22からは、それぞれc 31B
、  c 32G、  c33Rが出力され、出力端子
26には、 (7)式に示すCの18号が得られる。つ
まり、1つの入力信号B、  G、  Rが供給される
ごとに、出力端子26からはY、  M、  Cの信号
が順次出力される。
Here, when input signals B, G, and R are supplied,
First, coefficients C-th to c14 are output from LUTs 15-18. Therefore, the multipliers 820, 21, and 22 output c 11B + c 12G, c 13R, respectively, and the coefficient c 21 ~C
24 is output. Therefore, Ei! 20. 21
From ゜22, c 21B, c 22G, respectively.
c 23R is output, and the output terminal 26 has (7
) is obtained. Finally LLIT 15
Coefficients c31 to c34 are output from .about.18. Therefore, from multipliers 20, 21, and 22, c 31B
, c32G, and c33R are output, and C No. 18 shown in equation (7) is obtained at the output terminal 26. That is, each time one input signal B, G, R is supplied, Y, M, C signals are sequentially output from the output terminal 26.

このように本例によれば、五角錐ごとに決定されたマト
リックス係数を用いてマトリックス演算をしてY、  
M、  Cのf言号を得るものであるので、入出力間係
が非線形であっても境界面での整合性がよく、あるグラ
デーションのような色の変化が滑らかにある場合、境界
面を通過するときに変化が非連続となってしまうという
ことはない。
In this way, according to this example, matrix calculation is performed using the matrix coefficients determined for each pentagonal pyramid to calculate Y,
Since the f-words of M and C are obtained, even if the relationship between input and output is nonlinear, there is good consistency at the boundary surface, and if there is a smooth color change such as a certain gradation, the boundary surface can be There is no discontinuous change when passing through.

また、LUTに予め基本格子の頂点に位置する入力画像
データの絹合わせに対する色修正データを格納し、この
L U Tを参照して重み平均により色修正データを得
るものでもないので、丸め処理による誤差を生じる等の
欠点はない。
In addition, since color correction data for silk matching of input image data located at the vertices of the basic grid is stored in advance in the LUT, and color correction data is not obtained by weighted averaging by referring to this LUT, it is not possible to obtain color correction data by weighted averaging. There are no drawbacks such as errors.

なお、第4図例においては、 (7)式の計算を並列的
に行なうものであるが、これとは別に乗算累積器を用い
て、 (7)式の各項ごとに順次演算するようにして吃
よい。
In the example in Figure 4, the calculation of equation (7) is performed in parallel, but a multiplier is used separately to calculate each term of equation (7) sequentially. It's good to stutter.

また、第4図例においては、入力イg号B、  G。In addition, in the example of FIG. 4, input numbers B and G are input.

Rが8ビツトで上位4ビツトおよび下位4ピツトに分離
して処理しているが、これに限定されるものでないこと
は勿論であ墨。
Although R is 8 bits and processed separately into the upper 4 bits and lower 4 bits, it is of course not limited to this.

また、第4図例においては、3入力の場合であるが、4
入力等その他の場合でも、この発明を同様に適用するこ
とができる。4入力の場合には、4次元の五角錐(Mi
三角錐)ごとにマトリックス係数が決定されることにな
る。
Also, in the example in Figure 4, there are 3 inputs, but 4
The present invention can be similarly applied to other cases such as input. In the case of 4 inputs, a 4-dimensional pentagonal pyramid (Mi
The matrix coefficients are determined for each triangular pyramid.

[発明の効果] 以上説明したように、この発明によれば、頂点数が最小
限となる分割空間ごとに決定されたマトリックス係数を
用いてマトリックス演算をして色修正された色分解画像
データを得るものであるので、入出力間係が非線形であ
っても分割空間同士の境界面での整合性がよく、あるグ
ラデーションのような色の変化が滑らかにある場合、境
界面を通過するときに変化が非連続となってしまうとい
うことはない、また、LUTに予め基本格子の頂点に位
置する入力画像データの組合わせに対する色修正データ
を格納し、このLUTを参照して重み平均により色修正
データを得るものでないので、丸め処理による誤差を生
じる等の欠点はない。
[Effects of the Invention] As explained above, according to the present invention, color-separated image data that has been color-corrected by performing a matrix operation using matrix coefficients determined for each divided space where the number of vertices is the minimum can be obtained. Therefore, even if the relationship between input and output is nonlinear, if there is good consistency at the interface between the divided spaces and there is a smooth color change such as a certain gradation, then when passing through the interface, The changes will not be discontinuous, and the color correction data for the combination of input image data located at the vertices of the basic grid is stored in advance in the LUT, and color correction is performed by referring to this LUT by weighted average. Since no data is obtained, there are no disadvantages such as errors caused by rounding processing.

【図面の簡単な説明】 第1図〜第41!lはこの発明の一実施例の説明のため
の図、第5図はこの発明の詳細な説明のための図である
。 11B、   IIG、   IIR −・・入力端子 12〜14#−−コンパレータ 15〜18 20〜22 ・ 23〜25 # 醗ルックアップテーブル(LUT) ・・乗算器 ・・加算器 佛・出力端子
[Brief explanation of the drawings] Figures 1 to 41! 1 is a diagram for explaining one embodiment of the present invention, and FIG. 5 is a diagram for explaining the invention in detail. 11B, IIG, IIR --- Input terminal 12 to 14 # -- Comparator 15 to 18 20 to 22 ・ 23 to 25 # Lookup table (LUT) -- Multiplier -- Adder / Output terminal

Claims (2)

【特許請求の範囲】[Claims] (1)色補正すべく入力され得るn色分解画像データ(
nは2以上の整数)により形成される色空間を最小限の
頂点数となる分割空間に分割し、入力される色分解画像
データを上記分割空間ごとに決定されたマトリックス係
数を用いてマトリックス演算することにより、色修正さ
れた色分解画像データを得ることを特徴とする色分解画
像修正方法。
(1) n color separation image data that can be input for color correction (
(n is an integer greater than or equal to 2)) is divided into divided spaces with a minimum number of vertices, and input color separated image data is subjected to matrix calculation using matrix coefficients determined for each divided space. A method for correcting a color-separated image, the method comprising: obtaining color-corrected color-separated image data.
(2)色補正すべく入力され得るn色分解画像データ(
nは2以上の整数)により形成される色空間を最小限の
頂点数となる分割空間に分割し、その分割空間ごとに決
定されたマトリックス係数を記憶するマトリックス係数
記憶手段と、 入力されたn色分解画像データが含まれる上記分割空間
のマトリックス係数を上記マトリックス係数記憶手段よ
り読み出すマトリックス係数読出手段と、 入力されるn色分解画像データを上記記憶手段より読み
出されるマトリックス係数を用いてマトリックス演算し
て色修正された色分解画像データを出力するマトリック
ス演算手段とを具備することを特徴とする色分解画像修
正装置。
(2) n color separation image data that can be input for color correction (
(n is an integer of 2 or more); matrix coefficient storage means for dividing a color space formed by a color space formed by a color space (n is an integer of 2 or more) into divided spaces having a minimum number of vertices, and storing matrix coefficients determined for each divided space; matrix coefficient reading means for reading out matrix coefficients of the divided space containing color separation image data from the matrix coefficient storage means; and matrix operation for the input n color separation image data using the matrix coefficients read from the storage means. 1. A color-separated image correction apparatus, comprising: a matrix calculation means for outputting color-separated image data that has been color-corrected.
JP01046829A 1989-02-28 1989-02-28 Color separation image correction method and apparatus Expired - Lifetime JP3080373B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01046829A JP3080373B2 (en) 1989-02-28 1989-02-28 Color separation image correction method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01046829A JP3080373B2 (en) 1989-02-28 1989-02-28 Color separation image correction method and apparatus

Publications (2)

Publication Number Publication Date
JPH02226869A true JPH02226869A (en) 1990-09-10
JP3080373B2 JP3080373B2 (en) 2000-08-28

Family

ID=12758220

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01046829A Expired - Lifetime JP3080373B2 (en) 1989-02-28 1989-02-28 Color separation image correction method and apparatus

Country Status (1)

Country Link
JP (1) JP3080373B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03289874A (en) * 1990-04-06 1991-12-19 Matsushita Electric Ind Co Ltd Color picture forming method and color picture forming device
US5390035A (en) * 1992-12-23 1995-02-14 International Business Machines Corporation Method and means for tetrahedron/octahedron packing and tetrahedron extraction for function approximation
US5432892A (en) * 1992-11-25 1995-07-11 International Business Machines Corporation Volummetric linear interpolation
US5748195A (en) * 1992-10-29 1998-05-05 International Business Machines Corporation Method and means for evaluating a tetrahedral linear interpolation function
US5751926A (en) * 1992-12-23 1998-05-12 International Business Machines Corporation Function approximation using a centered cubic packing with tetragonal disphenoid extraction
US6137494A (en) * 1995-08-18 2000-10-24 International Business Machines Corporation Method and means for evaluating a tetrahedral linear interpolation function

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4259245B2 (en) 2003-09-12 2009-04-30 ブラザー工業株式会社 Colorimetric data correction method, conversion table creation method, and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03289874A (en) * 1990-04-06 1991-12-19 Matsushita Electric Ind Co Ltd Color picture forming method and color picture forming device
US5748195A (en) * 1992-10-29 1998-05-05 International Business Machines Corporation Method and means for evaluating a tetrahedral linear interpolation function
US5432892A (en) * 1992-11-25 1995-07-11 International Business Machines Corporation Volummetric linear interpolation
US5390035A (en) * 1992-12-23 1995-02-14 International Business Machines Corporation Method and means for tetrahedron/octahedron packing and tetrahedron extraction for function approximation
US5751926A (en) * 1992-12-23 1998-05-12 International Business Machines Corporation Function approximation using a centered cubic packing with tetragonal disphenoid extraction
US6137494A (en) * 1995-08-18 2000-10-24 International Business Machines Corporation Method and means for evaluating a tetrahedral linear interpolation function

Also Published As

Publication number Publication date
JP3080373B2 (en) 2000-08-28

Similar Documents

Publication Publication Date Title
US5241373A (en) Apparatus for correction of color signal values
US5428465A (en) Method and apparatus for color conversion
JP3493104B2 (en) Color image processing equipment
US5696611A (en) Color picture processing apparatus for reproducing a color picture having a smoothly changed gradation
JPH0686059A (en) Method and device for color conversion
JPH02226869A (en) Color decomposition picture correction method and device
EP0853423B1 (en) Image data color correction method
JPH0575848A (en) Interpolation on system and color correcting method
JP2876853B2 (en) Color converter
JPH0287192A (en) Method and device for correcting color resolved image
JPH09168097A (en) Image processing unit
JP2947015B2 (en) Color conversion device and color conversion method
JPH02226867A (en) Color decomposition picture correction device
JPH0546750A (en) Method and device for converting color
JP2898030B2 (en) Color estimation method
GB2333921A (en) Non-symmetric radial and non-symmetric pruned radial interpolation
JPH05284346A (en) Color conversion device
JP2007174392A (en) Data converting apparatus, control method and program for the data converting apparatus
JP2521182B2 (en) Color correction device
JP2831370B2 (en) Color separation image correction device
JP3215156B2 (en) Color image processing method
JP3671428B2 (en) Image processing method and apparatus for color output
JPH02226866A (en) Color decomposition picture correction device
JPH03229573A (en) Color conversion device
JP2006165649A (en) Multi-dimensional data converter and method thereof

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080623

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20080623

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090623

Year of fee payment: 9

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090623

Year of fee payment: 9