JP2875451B2 - Color signal conversion method - Google Patents

Color signal conversion method

Info

Publication number
JP2875451B2
JP2875451B2 JP5119064A JP11906493A JP2875451B2 JP 2875451 B2 JP2875451 B2 JP 2875451B2 JP 5119064 A JP5119064 A JP 5119064A JP 11906493 A JP11906493 A JP 11906493A JP 2875451 B2 JP2875451 B2 JP 2875451B2
Authority
JP
Japan
Prior art keywords
signal
interpolation
signals
color signal
equation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP5119064A
Other languages
Japanese (ja)
Other versions
JPH06311355A (en
Inventor
国男 生田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing Co Ltd
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 Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP5119064A priority Critical patent/JP2875451B2/en
Publication of JPH06311355A publication Critical patent/JPH06311355A/en
Application granted granted Critical
Publication of JP2875451B2 publication Critical patent/JP2875451B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、第1の色信号系の信
号を第2の色信号系の信号に変換する色信号変換方法に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color signal conversion method for converting a signal of a first color signal system into a signal of a second color signal system.

【0002】[0002]

【従来の技術】色信号系としては、加法混色の代表であ
るBGR信号系や減法混色の代表であるYMCK信号系
などがある。印刷製版工程では、BGR信号からYMC
K信号に変換を行なう必要が生じる場合がある。このよ
うな色信号の変換をROMに記録されたテーブルメモリ
で行なえば、高速に変換を行なうことが可能である。し
かし、例えば8ビットのBGR信号を8ビットのYMC
K信号に変換する場合には、テーブルメモリのメモリ容
量は64Mバイトという膨大な量になる。
2. Description of the Related Art As a color signal system, there are a BGR signal system which is representative of additive color mixture and a YMCK signal system which is representative of subtractive color mixture. In the printing plate making process, the BGR signal
In some cases, conversion to a K signal needs to be performed. If such color signal conversion is performed by a table memory recorded in a ROM, high-speed conversion can be performed. However, for example, an 8-bit BGR signal is converted to an 8-bit YMC
When converting to a K signal, the memory capacity of the table memory is a huge amount of 64 Mbytes.

【0003】そこで、通常は、BGR信号の上位ビット
(例えば4ビット)のみに対するYMCK信号をテーブ
ルメモリに格納しておく。そして、このテーブルメモリ
により、BGR信号の上位ビットをYMCK信号に変換
し、BGR信号の下位ビット(例えば4ビット)を用い
てテーブルメモリの出力であるYMCK信号を補間する
ことにより最終的なYMCK信号を生成するという方法
が採用されている。このような、色信号変換方法として
は、たとえば、特公昭58−16180号公報に記載さ
れたものがある。この方法では、BGR信号の色立体を
複数の4面体に分割し、この4面体内において補間を行
なっている。補間式は、公報の(III)式に示されるよ
うに、3つの色信号x,y,z(これは上記の例におけ
るBGR信号に相当する)の下位ビットの1次式で表わ
され、計算が簡単で高速に行なえるという利点がある。
Therefore, usually, a YMCK signal for only the upper bits (for example, 4 bits) of the BGR signal is stored in a table memory. The upper bit of the BGR signal is converted into a YMCK signal by the table memory, and the lower bit (for example, 4 bits) of the BGR signal is used to interpolate the YMCK signal output from the table memory to obtain the final YMCK signal. Is generated. An example of such a color signal conversion method is described in Japanese Patent Publication No. 58-16180. In this method, the color solid of the BGR signal is divided into a plurality of tetrahedrons, and interpolation is performed in the tetrahedron. The interpolation formula is represented by a linear expression of lower bits of three color signals x, y, and z (this corresponds to the BGR signal in the above example), as shown in Expression (III) of the publication. There is an advantage that calculation can be performed easily and at high speed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述の
変換方法では、理想的な補間式が3つの色信号の下位ビ
ットの1次式では表わせないような場合がしばしばあ
る。このような場合には、実際の補間結果と理想的な補
間結果との差がかなり大きくなるという問題があった。
However, in the conversion method described above, there are many cases where the ideal interpolation formula cannot be expressed by the linear expression of the lower bits of the three color signals. In such a case, there is a problem that the difference between the actual interpolation result and the ideal interpolation result becomes considerably large.

【0005】この発明は、従来技術における上述の課題
を解決するためになされたものであり、理想的な補間式
が複数の色信号の下位ビットの1次式では表わせないよ
うな場合にも、良好な変換結果が得られる色信号変換方
法を提供することを目的とする。
The present invention has been made to solve the above-mentioned problems in the prior art. Even when an ideal interpolation formula cannot be expressed by a linear expression of lower bits of a plurality of color signals, An object of the present invention is to provide a color signal conversion method capable of obtaining a good conversion result.

【0006】[0006]

【課題を解決するための手段】上述の課題を解決するた
め、この発明による方法は、第1の色信号系の複数の信
号を第2の色信号系の信号に変換する色信号変換方法で
あって、(a)前記第1の色信号系の複数の信号の所定
の上位ビットの値に応じて前記第2の色信号系の信号の
基本値を求める工程と、(b)前記第1の色信号系の少
なくとも2つの信号の前記上位ビットの値が互いに等し
いか否かを判定するとともに、判定結果に応じて所定の
第1と第2の補間式の一方を選択する工程と、(c)選
択された補間式に従って、前記第1の色信号系の複数の
信号の所定の下位ビットの値を用いて前記基本値を補間
することにより、前記第2の色信号系の信号を生成する
工程と、を備え、前記第1と第2の補間式は、前記第1
の色信号系の複数の信号の上位ビットの値に等しいもの
が無い場合には前記第1の補間式が良い補間結果を与
え、前記第1の色信号系の少なくとも2つの信号の上位
ビットの値が互いに等しい場合には前記第2の補間式が
良い補間結果を与えるものであることを特徴とする
In order to solve the above-mentioned problems, a method according to the present invention is a color signal conversion method for converting a plurality of signals of a first color signal system into signals of a second color signal system. (A) obtaining a basic value of a signal of the second color signal system according to a value of a predetermined upper bit of a plurality of signals of the first color signal system; Determining whether or not the values of the upper bits of at least two signals of the color signal system are equal to each other, and selecting one of predetermined first and second interpolation formulas according to the determination result; c) generating the signal of the second color signal system by interpolating the basic value using the value of a predetermined lower bit of the plurality of signals of the first color signal system according to the selected interpolation formula. And the first and second interpolation formulas are the first and second interpolation formulas.
Equal to the value of the upper bit of multiple signals of the color signal system
If there is no, the first interpolation formula gives a good interpolation result.
The higher order of at least two signals of the first color signal system
When the values of the bits are equal to each other, the second interpolation formula is
It is characterized by providing a good interpolation result .

【0007】[0007]

【作用】第1の色信号系の複数の信号の上位ビットの値
に等しいものが無い場合には第1の補間式が良い補間結
果を与え、第1の色信号系の少なくとも2つの信号の上
位ビットの値が互いに等しい場合には第2の補間式が良
い補間結果を与える。従って、第1の色信号系の上位ビ
ットの値が互いに等しいか否かを判定し、判定結果に応
じて補間式を選択することによって、より良い変換結果
が得られる。
In the case where there is no value equal to the value of the upper bits of the plurality of signals of the first color signal system, the first interpolation formula gives a good interpolation result, and at least two signals of the first color signal system are obtained. When the values of the upper bits are equal to each other, the second interpolation formula gives a good interpolation result. Therefore, a better conversion result can be obtained by determining whether or not the values of the upper bits of the first color signal system are equal to each other and selecting an interpolation formula according to the determination result.

【0008】[0008]

【実施例】以下ではまず2つの補間式について説明し、
その後、これらの補間式を使用した色信号変換方法とそ
れを実施する装置について説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In the following, two interpolation equations will be described first.
Then, a color signal conversion method using these interpolation formulas and a device for implementing the method will be described.

【0009】A.バイリニア法(第1の補間式):色信
号の基本値を補間する第1の方法としてバイリニア法が
ある。BGR信号からYMCK信号への実際の色変換は
BGR座標系において行なわれるので3次元の変換であ
るが、ここでは、簡単のためにまず2次元バイリニア法
から説明する。
A. Bilinear method (first interpolation formula): There is a bilinear method as a first method for interpolating a basic value of a color signal. Although the actual color conversion from the BGR signal to the YMCK signal is performed in the BGR coordinate system, it is a three-dimensional conversion. Here, for simplicity, the two-dimensional bilinear method will be described first.

【0010】図1は、2次元バイリニア法による補間演
算を示す概念図であり、ここでは、XY座標系において
変換値Uを求める場合を仮定している。四角形PaPbP
cPdは、1辺の長さが1の規格化された正方形であり、
各頂点Pa ,Pb ,Pc ,Pd における変換値Uはそ
れぞれUa ,Ub ,Uc ,Ud である。図2は、変換値
Uを垂直軸にとったグラフである。
FIG. 1 is a conceptual diagram showing an interpolation operation by a two-dimensional bilinear method. Here, it is assumed that a conversion value U is obtained in an XY coordinate system. Square PaPbP
cPd is a standardized square with one side length of 1,
The color conversion values U at the vertices Pa, Pb, Pc, Pd are Ua, Ub, Uc, Ud, respectively. FIG. 2 is a graph in which the converted value U is plotted on the vertical axis.

【0011】バイリニア法では、任意の点Q(X,Y
における変換値UQ が次の数式1で与えられる。
In the bilinear method, an arbitrary point Q ( X, Y )
Is given by the following equation (1).

【数1】 ここで、Sa ,Sb ,Sc ,Sd は、図1に示すよう
に、点Qを通り軸,軸に平行な2本の直線で区切ら
れた4つの領域の面積である。但し、添え字a ,b,c
d は各領域に対向する頂点のものが割り当てられて
いる。面積Sa ,Sb,Sc ,Sd は、それぞれ次の数
式2で与えられる。
(Equation 1) Here, Sa, Sb, Sc, and Sd are the areas of four regions separated by two straight lines passing through the point Q and parallel to the X axis and the Y axis, as shown in FIG. Where subscripts a, b, c
, D are assigned to vertices facing each region. The areas Sa, Sb, Sc, and Sd are respectively given by the following equation (2).

【数2】 (Equation 2)

【0012】数式1の右辺は、次の数式3のように書き
換えられる。
The right side of Equation 1 is rewritten as Equation 3 below.

【数3】 ここで、k0 〜k3 は係数である。すなわち、2次元バ
イリニア法では、に関する2次の項を含む補間式
で補間を行なう。
(Equation 3) Here, k0 to k3 are coefficients. That is, in the two-dimensional bilinear method, interpolation is performed using an interpolation formula including quadratic terms related to X and Y.

【0013】バイリニア法では、図2に示すように、
平面上の任意の点Qに対応する空間点Qu (
UQ )が、正方形の4つの頂点Pa 〜Pd に対応する空
間点Pua(a ,a ,Ua )〜Pud(d ,d ,U
d )を滑らかに接続した曲面の上に存在するような場合
に、精度の良い変換値UQ が得られる。ここで、「滑ら
かに接続した曲面」とは、平面および平面に近い曲面を
含む曲面のことを言い、変換値UQ が、XやYと正比例
の関係に近い形で表現され得る曲面のことを意味する。
例えば、次の式によって表される曲面は、「滑らかに接
続した曲面」である。 UQ =K 0 +K 1 ・X+K 2 ・Y+K 3 ・XY ここで、K 0 ,K 1 ,K 2 ,K 3 は係数である。但し、
この式で表現できない曲面であっても、この式で表現で
きる曲面に近似している曲面の場合は、「滑らかに接続
した曲面」に含まれる。
[0013] In the bi-linear method, as shown in FIG. 2, X
Spatial point corresponding to an arbitrary point Q on the Y plane Qu (X, Y,
UQ) is, spatial point Pua corresponding to four vertexes Pa -PD square (X a, Y a, Ua ) ~Pud (X d, Y d, U
In the case where d) exists on a smoothly connected curved surface, an accurate converted value UQ can be obtained. Here,
A curved surface connected to a plane is defined as a plane and a curved surface
The transformation value UQ is directly proportional to X or Y
Means a surface that can be expressed in a form similar to
For example, a curved surface represented by
Continued curved surface ". UQ = K 0 + K 1 · X + K 2 · Y + K 3 · XY Here, K 0, K 1, K 2, K 3 are coefficients. However,
Even if the surface cannot be expressed by this equation,
For surfaces that are similar to
Curved surface ".

【0014】図3は、3次元バイリニア法による補間演
算を示す概念図であり、ここでは、BGR信号をYMC
K信号に変換する場合を仮定している。図3の立方体
は、一辺の長さが1の規格化された単位立方体であり、
点Pa〜Phを頂点としている。また、座標軸はBGR
信号の下位4ビットの信号BL ,GL ,RL を示してい
る。単位立方体の各頂点はBGR信号の上位4ビットで
規定される点であり、各頂点においてBGR信号の上位
4ビットがYMCK信号の基本値に変換される。YMC
K信号のうち、まずY信号について考えることにする
と、単位立方体中の任意の点Q(BL ,GL ,RL )に
おけるY信号の補間後の値は、バイリニア法によって次
の数式4で与えられる。
FIG. 3 is a conceptual diagram showing an interpolation operation by the three-dimensional bilinear method.
It is assumed that the signal is converted into a K signal. The cube of FIG. 3 is a standardized unit cube having one side length of 1,
Points Pa to Ph are vertices. The coordinate axis is BGR
The lower four bits of the signal are shown as signals BL, GL, and RL. Each vertex of the unit cube is defined by the upper 4 bits of the BGR signal. At each vertex, the upper 4 bits of the BGR signal are converted to the basic value of the YMCK signal. YMC
Considering first the Y signal among the K signals, the value after interpolation of the Y signal at an arbitrary point Q (BL, GL, RL) in the unit cube is given by the following equation 4 by the bilinear method.

【数4】 ここで、Va 〜Vh は、点Qを通りBL ,GL ,RL 軸
に垂直な3つの平面で区切られた8つの直方体の体積で
ある。但し、添え字a 〜h は各直方体に対向する頂点の
ものが割り当てられている。体積Va 〜Vh は、それぞ
れ次の数式5で与えられる。
(Equation 4) Here, Va to Vh are the volumes of eight rectangular parallelepipeds separated by three planes passing through the point Q and perpendicular to the BL, GL, and RL axes. However, the suffixes a to h are assigned to vertices facing the respective rectangular parallelepipeds. The volumes Va to Vh are respectively given by the following Expression 5.

【数5】 なお、BGR信号の上位4ビットの信号を整数部分と見
なすと、下位4ビットの信号BL ,GL ,RL は小数部
分と見なせる。
(Equation 5) If the upper 4 bits of the BGR signal are regarded as an integer part, the lower 4 bits of signals BL, GL, RL can be regarded as a decimal part.

【0015】数式5において、(1−BL ),(1−G
L ),(1−RL )をそれぞれBL,GL ,RL に上線
(バー)を付した記号で表わすと、数式4を次の数式6
に書き換えることができる。
In equation (5), (1-BL), (1-G
L) and (1-RL) are represented by symbols with BL, GL, and RL with an overline (bar), respectively.
Can be rewritten as

【数6】 (Equation 6)

【0016】以上のように、バイリニア法においては、
(1)任意の点Qを含む単位立方体の各頂点Pa 〜Ph
においてBGR信号の上位4ビットの信号値をそれぞれ
変換してY信号の基本値Ya 〜Yh を得た後、(2)点
Qに対応するBGR信号の下位4ビットの信号値BL ,
GL ,RL を用いてこれらの基本値を補間することによ
って、点Qにおける最終的なY信号が得られる。YMC
K信号系の他の信号に関しても同様である。
As described above, in the bilinear method,
(1) Each vertex Pa to Ph of the unit cube including an arbitrary point Q
After converting the signal values of the upper 4 bits of the BGR signal to obtain basic values Ya to Yh of the Y signal, (2) the signal values BL, 4 of the lower 4 bits of the BGR signal corresponding to the point Q,
By interpolating these basic values using GL and RL, the final Y signal at point Q is obtained. YMC
The same applies to other signals of the K signal system.

【0017】なお、数式6から解るように、3次元バイ
リニア法では下位ビット信号BL ,GL ,RL に関する
3次の項を含む補間式を用いている。
As can be seen from Equation 6, the three-dimensional bilinear method uses an interpolation formula including a third-order term related to the lower bit signals BL, GL, and RL.

【0018】B.4面体分割法(第2の補間式):色信
号の基本値を補間する第2の方法として、前述した特公
昭58−16180号公報に記載された4面体分割法が
ある。ここでは、簡単のためにまず2次元の4面体分割
法に相当する三角形分割法から説明する。
B. Tetrahedral division method (second interpolation formula): As a second method for interpolating the basic values of color signals, there is a tetrahedron division method described in Japanese Patent Publication No. 58-16180. Here, for the sake of simplicity, first, a description will be given of a triangulation method corresponding to a two-dimensional tetrahedron division method.

【0019】図4は、三角形分割法による分割方法を示
す説明図であり、ここでは、XY座標系において変換値
Uを求める場合を仮定している。三角形分割法では、原
点Pa を通る対角線によって正方形PaPbPcPdを2つ
の三角形PaPbPc ,PaPdPc に分割し、補間の対象
となる点Qがどちらの三角形に含まれるかによって補間
式が変わる。点Qが第1の三角形PaPbPc に含まれる
ときには、次の数式7に従って補間を行なう。
FIG. 4 is an explanatory diagram showing a division method by the triangulation method. Here, it is assumed that a conversion value U is obtained in an XY coordinate system. In the triangulation method, a square PaPbPcPd is divided into two triangles PaPbPc and PaPdPc by a diagonal line passing through the origin Pa, and the interpolation formula changes depending on which triangle contains the point Q to be interpolated. When the point Q is included in the first triangle PaPbPc, interpolation is performed according to the following equation (7).

【数7】 (Equation 7)

【0020】一方、点Qが第2の三角形PaPdPc に含
まれるときには、次の数式8に従って補間を行なう。
On the other hand, when the point Q is included in the second triangle PaPdPc, interpolation is performed according to the following equation (8).

【数8】 数式7と数式8は、以下のように導出される。まず、点
Qが三角形PaPbPcに含まれる場合には、点Qの補
間値UQ は、以下の式により求めることができる。 UQ =Sa×Ua+Sb×Ub+Sc×Uc …(7a) ここで、Sa,Sb,Scは重み係数であり、三角形P
aPbPcの面積を”1”としたときの、三角形PbP
cQ,三角形PcPaQ,三角形PaPbQの面積をそ
れぞれ表している。三角形PbPcQ,三角形PcPa
Q,三角形PaPbQのそれぞれの面積Sa,Sb,S
cは、 Sa=(1−X) Sb=(X−Y) Sc=Y となる。これらを(7a)式に代入すると、数式7が得
られる。一方、点Qが三角形PaPdPcに含まれる場
合には、点Qの補間値UQ は、以下の式により求めるこ
とができる。 UQ =Sa’×Ua+Sd×Ud+Sc’×Uc …(8a) ここで、Sa’,Sd,Sc’は重み係数であり、三角
形PaPdPcの面積を”1”としたときの、三角形P
dPcQ,三角形PcPaQ,三角形PaPdQの面積
をそれぞれ表している。三角形PdPcQ,三角形Pc
PaQ,三角形PaPdQのそれぞれの面積Sa’,S
d,Sc’は、 Sa’=(1−Y) Sd =(Y−X) Sc’=X となる。これらを(8a)式に代入すると、数式8が得
られる。 なお、数式7および8の右辺は、一般的に数式
9のように書き表わせる。
(Equation 8) Equations 7 and 8 are derived as follows. First, the point
If Q is included in the triangle PaPbPc, the complement of the point Q
The intermediate value UQ can be obtained by the following equation. UQ = Sa.times.Ua + Sb.times.Ub + Sc.times.Uc (7a) where Sa, Sb and Sc are weighting factors and the triangle P
When the area of aPbPc is “1”, the triangle PbP
The area of cQ, triangle PcPaQ, and triangle PaPbQ
Each is represented. Triangle PbPcQ, Triangle PcPa
Q, the respective areas Sa, Sb, S of the triangle PaPbQ
c becomes Sa = (1-X) Sb = (X-Y) Sc = Y. By substituting these into equation (7a), equation 7 is obtained.
Can be On the other hand, when the point Q is included in the triangle PaPdPc,
In this case, the interpolation value UQ of the point Q can be obtained by the following equation.
Can be. UQ = Sa'.times.Ua + Sd.times.Ud + Sc'.times.Uc (8a) where Sa ', Sd, Sc' are weighting factors and triangular.
When the area of the form PaPdPc is "1", the triangle P
Area of dPcQ, triangle PcPaQ, triangle PaPdQ
Respectively. Triangle PdPcQ, Triangle Pc
Areas Sa ′ and S of PaQ and triangle PaPdQ
d, Sc 'is, Sa' a = (1-Y) Sd = (Y-X) Sc '= X. By substituting these into equation (8a), equation 8 is obtained.
Can be Note that the right side of Expressions 7 and 8 can be generally expressed as Expression 9.

【数9】 このように、三角形分割法ではに関する1次の補
間式を用いている。
(Equation 9) Thus, in the triangulation method, a first-order interpolation formula for X and Y is used.

【0021】図5は、変換値Uを垂直軸にとった場合の
分布を示すグラフである。三角形分割法では、図5のよ
うに、点Pa と点Pc を結ぶ対角線上において変換値U
が0の場合に精度のよい補間結果が得られる。特に、点
Qに対応する空間点Qu が、三角形Pa ,Pub,Pc の
上か、または、他の三角形Pa ,Pud,Pc の上に存在
する場合に、精度の良い補間値UQ が得られる。なお、
図5における点Pua〜Pudは、図2と同様に、点Pa 〜
Pd に対応する空間点である。
FIG. 5 is a graph showing the distribution when the conversion value U is set on the vertical axis. In the triangulation method, as shown in FIG. 5, the conversion value U is set on a diagonal line connecting the points Pa and Pc.
Is 0, an accurate interpolation result can be obtained. In particular, when the spatial point Qu corresponding to the point Q exists on the triangles Pa, Pub, Pc or on other triangles Pa, Pud, Pc, an accurate interpolation value UQ can be obtained. In addition,
Points Pua to Pud in FIG. 5 are similar to points Pa to
The spatial point corresponding to Pd.

【0022】図6は、3次元の4面体分割法による単位
立方体の分割方法を示す説明図である。単位立方体中の
任意の点Q(BL ,GL ,RL )におけるY信号を求め
る補間式は、点Qが図6(b)〜(g)の6つの4面体
T1〜T6のいずれに含まれるかによって異なる。これ
らの6つの4面体T1〜T6は、2本の座標軸を含む単
位立方体の3つの面を、点Pa を通る3本の対角線で2
つの直角三角形にそれぞれ区分することによって形成さ
れた6つの直角二等辺三角形のそれぞれと、頂点Pg と
で構成した4面体である。6つの4面体T1〜T6の他
の定義として、BLGLRL 座標系の原点Pa と、原点P
a に対向する頂点Pg と、単位立方体の残りの6つの頂
点のうち互いに隣接する他の2つの点とを4つの頂点と
する4面体である、と見ることも可能である。
FIG. 6 is an explanatory diagram showing a method of dividing a unit cube by a three-dimensional tetrahedron dividing method. The interpolation formula for obtaining the Y signal at an arbitrary point Q (BL, GL, RL) in the unit cube is as follows: The point Q is included in any of the six tetrahedrons T1 to T6 in FIGS. Depends on These six tetrahedrons T1 to T6 represent three surfaces of a unit cube including two coordinate axes by two diagonal lines passing through the point Pa.
This is a tetrahedron composed of each of six right-angled isosceles triangles formed by dividing into two right-angled triangles and a vertex Pg. As another definition of the six tetrahedrons T1 to T6, the origin Pa of the BLGLRL coordinate system and the origin P
It is also possible to regard the vertex Pg as a tetrahedron having the four vertices of the vertex Pg opposing a and the other two points adjacent to each other among the remaining six vertices of the unit cube.

【0023】単位立方体中の任意の点Qが6つの4面体
T1〜T6の中のいずれに含まれるかは、次の数式10
に従って判断される。
Which of the six tetrahedrons T1 to T6 contains an arbitrary point Q in the unit cube is determined by the following equation (10).
Is determined according to

【数10】 各4面体T1〜T6に対する補間式は次の数式11で表
わされる。
(Equation 10) The interpolation formula for each of the tetrahedrons T1 to T6 is represented by the following formula 11.

【数11】 [Equation 11]

【0024】以上のように、4面体分割法においてもバ
イリニア法と同様に、(1)任意の点Qを含む単位立方
体の各頂点Pa 〜Ph においてBGR信号の上位4ビッ
トの信号値をそれぞれ変換してY信号の基本値Ya 〜Y
h を得た後、(2)点Qに対応するBGR信号の下位4
ビットの信号値BL ,GL ,RL を用いてこれらの基本
値を補間することによって、点Qにおける最終的なY信
号が得られる。YMCK信号系の他の信号に関しても同
様である。
As described above, in the tetrahedral division method, similarly to the bilinear method, (1) the signal values of the upper 4 bits of the BGR signal are converted at each of the vertices Pa to Ph of the unit cube including an arbitrary point Q. And the basic values Ya to Y of the Y signal
h, (2) the lower 4 bits of the BGR signal corresponding to point Q
The final Y signal at point Q is obtained by interpolating these base values using the bit signal values BL, GL, RL. The same applies to other signals of the YMCK signal system.

【0025】なお、数式11を見れば解るように、4面
体分割法では下位ビット信号BL ,GL ,RL に関する
1次の補間式を用いている。
As can be seen from Equation 11, the tetrahedron division method uses a first-order interpolation formula for the lower bit signals BL, GL, and RL.

【0026】C.バイリニア法と4面体分割法の比較:
バイリニア法はBGR信号の下位ビットの信号BL ,G
L ,RL に関する3次の補間式(数式6)を用いてお
り、4面体分割法は1次の補間式(数式11)を用いて
いるので、一般的にはバイリニア法の方が良い補間結果
が得られる。しかし、以下に示すように、4面体分割法
の方がよい補間結果が得られる場合がある。
C. Comparison between bilinear method and tetrahedral division method:
The bilinear method uses the lower bit signals BL and G of the BGR signal.
Since a cubic interpolation formula (Equation 6) for L and RL is used, and a tetrahedral division method uses a primary interpolation formula (Equation 11), the interpolation result is generally better with the bilinear method. Is obtained. However, as shown below, the tetrahedron division method may obtain a better interpolation result in some cases.

【0027】図7は、XY座標に対する変換値Uの真値
の分布の一例を示す図である。図7の4隅における値
(丸で囲んでいるもの)を4面体分割法で補間すると、
真値と同じ補間結果が得られる。一方、4隅の値をバイ
リニア法で補間すると、図8の結果が得えられる。図8
における対角線上の補間結果と図7における真値とを比
較すれば解るように、バイリニア法では補間の誤差が生
じている。このように、真の変換結果の分布が図5や図
7のような形状をしている場合には、バイリニア法より
も4面体分割法の方が良い補間結果が得られる。この理
由は、図5や図7のような曲面を有する空間形状におい
て急激に変化する部分と、4面体分割法による分割の境
界とが近接しているからである。
FIG. 7 is a diagram showing an example of the distribution of the true value of the conversion value U with respect to the XY coordinates. When the values (circled) at the four corners in FIG. 7 are interpolated by the tetrahedral division method,
The same interpolation result as the true value is obtained. On the other hand, when the values at the four corners are interpolated by the bilinear method, the result shown in FIG. 8 is obtained. FIG.
As can be understood by comparing the diagonal interpolation result with the true value in FIG. 7, an interpolation error occurs in the bilinear method. As described above, when the distribution of the true conversion result has a shape as shown in FIGS. 5 and 7, a better interpolation result is obtained by the tetrahedral division method than by the bilinear method. This reason
The reason is that in the space shape having a curved surface as shown in FIG. 5 or FIG.
And the boundary of the division by the tetrahedral division method
This is because the world is close.

【0028】D.BGR信号とYMCK信号との関係:
BGR信号のダイナミックレンジを100と仮定すれ
ば、理想インキに対するYMC信号Yi,Mi,Ci
は、次の数式12で与えられる。
D. Relationship between BGR signal and YMCK signal:
Assuming that the dynamic range of the BGR signal is 100, the YMC signals Yi, Mi, Ci for the ideal ink
Is given by the following Equation 12.

【数12】 図9は、数式12の関係を示す説明図である。(Equation 12) FIG. 9 is an explanatory diagram showing the relationship of Expression 12.

【0029】実際にはインキに濁りがあるので、実際の
インキに対するYMC信号Yr,Mr,Crは次の数式
13で与えられる。
Since the ink actually has turbidity, the YMC signals Yr, Mr, and Cr for the actual ink are given by the following equation (13).

【数13】 ここで、関数fy ,fm ,fc は、理想インキと実際の
インキとの差を補正するための補正項である。
(Equation 13) Here, the functions fy, fm and fc are correction terms for correcting the difference between the ideal ink and the actual ink.

【0030】ところで、BGR信号からYMCK信号へ
の変換において、1次色成分という概念がしばしば用い
られる。1次色成分の信号値は次の数式14によって与
えられる。
Incidentally, in the conversion from the BGR signal to the YMCK signal, the concept of the primary color component is often used. The signal value of the primary color component is given by Equation 14 below.

【数14】 ここで、演算子MINは括弧内の最小値を取る演算を示
している。数式14の条件から解るように、BGR信号
の大小関係によって、3つの1次色成分信号Y1st ,M
1st ,C1st の中の1つのみが得られる。例えば、図9
の例ではY版の1次色成分信号Y1st (=G−B)が得
られ、その他の1次色成分信号M1st ,C1st は共に
“0”となる。
[Equation 14] Here, the operator MIN indicates an operation that takes the minimum value in parentheses. As can be seen from the condition of Expression 14, the three primary color component signals Y1st, M
Only one of 1st and C1st is obtained. For example, FIG.
In the example, the primary color component signal Y1st (= GB) of the Y plane is obtained, and the other primary color component signals M1st and C1st both become "0".

【0031】図10は、Y版の1次色成分信号Y1st
(=G−B)の分布形状を示す説明図である。1次色成
分信号Y1st の分布形状は、G=Bの直線を折り目とし
て傾斜した平面になっている。この1次色成分信号Y1s
t の分布形状は、図7の分布形状と類似している。すな
わち、どちらも対角線上における高さが0で、対角線か
ら一方側には傾斜した平面が、他方側には高さが0の平
面が存在している。
FIG. 10 shows the primary color component signal Y1st of the Y plane.
It is explanatory drawing which shows the distribution shape of (= GB). The distribution shape of the primary color component signal Y1st is a plane inclined with the straight line of G = B as a fold. This primary color component signal Y1s
The distribution shape of t is similar to the distribution shape of FIG. That is, in both cases, the height on the diagonal is 0, and there is a plane inclined on one side from the diagonal, and a plane with a height of 0 on the other side.

【0032】さて、BGR信号とYMCK信号との関係
を実際に詳しく調べたところ、G信号とB信号の上位4
ビットの値が互いにほぼ等しい場合には、実際のインキ
に対応する変換式である数式13の補正項fy が1次色
成分信号Y1st に近い関数形状を有することが判明し
た。このことから、実際のインキに対するY信号Yr の
分布は、例えば図11のような形状を有していると考え
られる。また、G=Bで表わされる点をつなぐ対角線よ
りも手前の部分の形状は省略している。
When the relationship between the BGR signal and the YMCK signal was actually examined in detail, the upper four
When the values of the bits are substantially equal to each other, it has been found that the correction term fy of the equation (13), which is a conversion equation corresponding to the actual ink, has a function shape close to the primary color component signal Y1st. From this, it can be considered that the distribution of the Y signal Yr for the actual ink has a shape as shown in FIG. 11, for example. In addition, the shape of a portion before a diagonal line connecting points represented by G = B is omitted.

【0033】変換後のY信号Yr が図11のような分布
形状をしているので、GU =BU が成立する場合には、
図5の分布形状に適した補間方法、すなわち、4面体分
割法によって補間したほうが良い補間結果が得られる。
一方、GU =BU でない場合には、4面体分割法よりも
高次の補間式を用いているバイリニア法で補間した方が
良い補間結果が得られる。M信号,C信号,K信号につ
いても同様である。この理由は、以下のように考えるこ
とができる。一般に、3つの色信号のうちの2つの信号
の上位ビットがほぼ等しいときは、真の変換結果の分布
を示す曲面は図5に示すような「滑らかでない曲面」で
あることが多い。前述したように、図5のような「滑ら
かでない曲面」を含む空間形状は、4面体分割法による
分割の境界近くで急激に変化しているので、バイリニア
法よりも4面体分割法の方が良い補間結果が得られる傾
向にある。一方、3つの色信号のうちに互いに等しいも
のが無いときには、真の変換結果の分布を示す曲面は
「滑らかな曲面」となることが多いので、この場合には
バイリニア法が良い補間結果が得られる傾向にある。
Since the converted Y signal Yr has a distribution shape as shown in FIG. 11, when GU = BU holds,
An interpolation method suitable for the distribution shape shown in FIG. 5, that is, a better interpolation result is obtained by performing interpolation using the tetrahedron division method.
On the other hand, when GU is not equal to BU, a better interpolation result can be obtained by performing interpolation by the bilinear method using a higher-order interpolation formula than by the tetrahedral division method. The same applies to the M signal, C signal, and K signal. The reason is as follows.
Can be. In general, two of the three color signals
Distribution of the true conversion result when the upper bits of
Is a "non-smooth surface" as shown in FIG.
There are many. As described above, as shown in FIG.
The spatial shape including the "non-curved surface" is calculated by the tetrahedron division method
Because it changes rapidly near the boundary of the split, it is bilinear
The tetrahedral division method can obtain better interpolation results than the tetrahedral division method.
In the direction. On the other hand, of the three color signals,
When there is no curve, the surface showing the distribution of the true transformation result is
In many cases, it will be a “smooth surface”, so in this case
The bilinear method tends to obtain good interpolation results.

【0034】以上の考察から、この実施例では、BGR
信号の上位4ビットの信号BU ,GU ,RU の少なくと
も2つが互いに等しい場合には4面体分割法(数式1
1)によって補間を行ない、BU ,GU ,RU の三者間
に互いに等しいものが無い場合にはバイリニア法(数式
4または数式6)によって補間を行なうことにより、全
体としてよりよい補間結果が得られる。
From the above considerations, in this embodiment, the BGR
If at least two of the upper four bits of the signals BU, GU, and RU are equal to each other, the tetrahedron division method (Equation 1)
Interpolation is performed according to 1), and if there is no equivalent among BU, GU, and RU, interpolation is performed by the bilinear method (Equation 4 or 6), whereby a better interpolation result can be obtained as a whole. .

【0035】E.装置の構成:図12は、この実施例を
適用して色信号の変換を行なう色信号変換装置の構成を
示すブロック図である。この装置は、バイリニア補間回
路20と、4面体補間回路30と、上位ビット信号比較
回路40と、選択回路50とを備えている。バイリニア
補間回路20と4面体補間回路30は、BGR信号の上
位ビット信号BU ,GU ,RU と下位ビット信号BL ,
GL ,RL とに基づいて、変換後のY信号YQ1,YQ2を
それぞれ出力する。但し、ここで2種の補間回路20お
よび30は、いずれも下位ビット信号BL ,GL ,RL
についての補間を行なうだけでなく、上位ビットBU ,
GU ,RU に対する基本値を求めるテーブルも含んでい
る。
E. Configuration of Apparatus: FIG. 12 is a block diagram showing the configuration of a color signal conversion apparatus that performs color signal conversion by applying this embodiment. This device includes a bilinear interpolation circuit 20, a tetrahedral interpolation circuit 30, an upper bit signal comparison circuit 40, and a selection circuit 50. The bilinear interpolation circuit 20 and the tetrahedral interpolation circuit 30 provide upper bit signals BU, GU, RU of the BGR signal and lower bit signals BL, BL,
The converted Y signals YQ1 and YQ2 are output based on GL and RL, respectively. However, here, the two types of interpolation circuits 20 and 30 are provided with lower bit signals BL, GL and RL, respectively.
In addition to the interpolation for the upper bits BU,
A table for obtaining basic values for GU and RU is also included.

【0036】上位ビット信号比較回路40は、上位ビッ
ト信号BU ,GU ,RU の中で互いに等しいものが有る
か否かを検出し、その結果に応じて1ビットの選択信号
Swを出力する。上位ビット信号BU ,GU ,RU の中
で互いに等しいものが有る場合には選択信号SwがHレ
ベルとなり、これに応じて選択回路50が4面体補間回
路30の出力信号YQ2を選択して出力する。一方、上位
ビット信号BU ,GU,RU に互いに等しいものが無い
場合には選択信号SwがLレベルとなり、これに応じて
選択回路50がバイリニア補間回路20の出力信号YQ1
を選択し、変換後のY信号Yr として出力する。
The upper bit signal comparing circuit 40 detects whether or not there is any of the upper bit signals BU, GU, and RU equal to each other, and outputs a 1-bit selection signal Sw in accordance with the result. When there are equal bits among the upper bit signals BU, GU, and RU, the selection signal Sw goes high, and the selection circuit 50 selects and outputs the output signal YQ2 of the tetrahedral interpolation circuit 30 in response to this. . On the other hand, if none of the upper bit signals BU, GU, and RU are equal to each other, the selection signal Sw goes to the L level, and the selection circuit 50 outputs the output signal YQ1 of the bilinear interpolation circuit 20 accordingly.
And outputs it as the converted Y signal Yr.

【0037】なお、バイリニア補間回路20と4面体補
間回路30には2ビットのインク選択信号Ssが与えら
れており、このインク選択信号Ssの値に応じてYMC
K信号系の他の信号がバイリニア補間回路20および4
面体補間回路30からそれぞれ出力される。
The bilinear interpolation circuit 20 and the tetrahedral interpolation circuit 30 are supplied with a 2-bit ink selection signal Ss, and YMC is selected according to the value of the ink selection signal Ss.
The other signals of the K signal system are bilinear interpolation circuits 20 and 4
It is output from each of the planar interpolation circuits 30.

【0038】図13は、バイリニア補間回路20の内部
構成を示すブロック図である。バイリニア補間回路20
は、アドレス変換回路22と、テーブルメモリ24と、
荷重値ROM26と、積和演算回路28とを有してい
る。
FIG. 13 is a block diagram showing the internal configuration of the bilinear interpolation circuit 20. Bilinear interpolation circuit 20
Represents an address conversion circuit 22, a table memory 24,
A load value ROM 26 and a product-sum operation circuit 28 are provided.

【0039】アドレス変換回路22は上位ビット信号B
U ,GU ,RU を受け、3ビットの頂点選択信号Svに
同期して図3の単位立方体における8つの頂点Pa 〜P
h の座標値を順次出力する。頂点Pa 〜Ph の各座標値
は次の通りである:Pa (BU ,GU ,RU ),Pb
(BU +1,GU ,RU ),Pc (BU +1,GU +
1,RU ),Pd (BU ,GU +1,RU ),Pe (B
U ,GU ,RU +1),Pf (BU +1,GU ,RU +
1),Pg (BU +1,GU +1,RU +1),Ph
(BU ,GU +1,RU +1)。
The address conversion circuit 22 outputs the upper bit signal B
U, GU, and RU, the eight vertices Pa to P in the unit cube shown in FIG. 3 in synchronization with the 3-bit vertex selection signal Sv.
Outputs the coordinate values of h sequentially. The coordinate values of the vertices Pa to Ph are as follows: Pa (BU, GU, RU), Pb
(BU + 1, GU, RU), Pc (BU + 1, GU +
1, RU), Pd (BU, GU + 1, RU), Pe (B
U, GU, RU + 1), Pf (BU + 1, GU, RU +
1), Pg (BU + 1, GU + 1, RU + 1), Ph
(BU, GU + 1, RU + 1).

【0040】アドレス変換回路22から出力された座標
値は、アドレスとしてテーブルメモリ24に与えられ
る。このアドレスに応じて、テーブルメモリ24は各頂
点Pa〜Ph におけるY信号の基本値Ya 〜Yh を順次
出力する。なお、インク選択信号Ssがイエロー以外の
マゼンタ,シアン,ブラックのインクを指定した場合に
は、テーブルメモリ24はその指定に応じた色信号の基
本値を出力する。
The coordinate values output from the address conversion circuit 22 are given to the table memory 24 as addresses. In accordance with the address, the table memory 24 sequentially outputs the basic values Ya to Yh of the Y signal at the vertices Pa to Ph. When the ink selection signal Ss specifies magenta, cyan, or black ink other than yellow, the table memory 24 outputs the basic value of the color signal according to the specification.

【0041】一方、荷重値ROM26は、3ビットの頂
点選択信号Svに同期して、下位ビット信号BL ,GL
,RL から数式4の荷重値Va 〜Vh を順次出力す
る。なお、3ビットの頂点選択信号Svは「000」か
ら「111」まで循環的に変化する信号である。また、
荷重値Va 〜Vh の値は数式5で与えられる。
On the other hand, the load value ROM 26 synchronizes with the 3-bit vertex selection signal Sv and outputs the lower bit signals BL and GL.
, RL, the load values Va to Vh of Equation 4 are sequentially output. The 3-bit vertex selection signal Sv is a signal that changes cyclically from “000” to “111”. Also,
The values of the load values Va to Vh are given by Expression 5.

【0042】積和演算回路28は、テーブルメモリ24
から順次出力される基本値Ya 〜Yh と、荷重値ROM
26から出力される荷重値Va 〜Vh との積を取るとと
もに順次加算していくことによって、数式4の演算を実
行し、点QにおけるY信号YQ1を出力する。
The product-sum operation circuit 28 includes the table memory 24
And the load values ROM
By taking the product of the load values Va to Vh output from 26 and sequentially adding them, the operation of Expression 4 is performed, and the Y signal YQ1 at the point Q is output.

【0043】図14は、4面体補間回路30の内部構成
を示すブロック図である。4面体補間回路30は、係数
出力回路32と、領域決定ROM34と、選択回路36
と、積和演算回路38とを有している。
FIG. 14 is a block diagram showing the internal configuration of the tetrahedron interpolation circuit 30. The tetrahedral interpolation circuit 30 includes a coefficient output circuit 32, an area determination ROM 34, a selection circuit 36
And a product-sum operation circuit 38.

【0044】領域決定ROM34は、下位ビット信号B
L ,GL ,RL を受けて、点Q(BL ,GL ,RL )が
図6に示す6つの4面体T1〜T6のいずれに含まれる
かを示す3ビットの領域決定信号Srを出力する。
The area determination ROM 34 stores the lower bit signal B
Receiving L, GL, and RL, it outputs a 3-bit area determination signal Sr indicating which of the six tetrahedrons T1 to T6 shown in FIG. 6 contains the point Q (BL, GL, RL).

【0045】係数出力回路32は、領域決定ROM34
から与えられる領域決定信号Srと、上位ビット信号B
U ,GU ,RU とに応じて、数式11の下位ビット信号
BL,GL ,RL に対する係数を出力する。例えば、点
Qが第1の4面体T1に含まれる場合には、係数Ya ,
(Yb −Ya ),(Yc −Yb ),(Yg −Yc )を出
力する。係数出力回路32に与えられる2ビットの制御
信号Scは、「00」〜「11」まで循環的に変化する
信号であり、係数出力回路32はこの制御信号Scに同
期して係数を1つずつ順次出力する。
The coefficient output circuit 32 includes an area determination ROM 34
And an upper bit signal B
In accordance with U, GU, and RU, the coefficients for the lower bit signals BL, GL, and RL in Expression 11 are output. For example, when the point Q is included in the first tetrahedron T1, the coefficients Ya,
(Yb-Ya), (Yc-Yb) and (Yg-Yc) are output. The 2-bit control signal Sc supplied to the coefficient output circuit 32 is a signal that changes cyclically from “00” to “11”, and the coefficient output circuit 32 synchronizes the control signal Sc with the coefficients one by one. Output sequentially.

【0046】選択回路36は、制御信号Scに応じて、
4つの入力信号「1」,BL ,GL,RL をこの順に出
力する。積和演算回路38は、係数出力回路32と選択
回路36との出力を受けて、数式11の演算を実行し、
点Qにおける変換結果であるY信号YQ2を出力する。
The selection circuit 36 responds to the control signal Sc by
The four input signals "1", BL, GL, and RL are output in this order. The product-sum operation circuit 38 receives the outputs of the coefficient output circuit 32 and the selection circuit 36 and executes the operation of Expression 11;
A Y signal YQ2, which is a conversion result at point Q, is output.

【0047】こうしてバイリニア補間回路20と4面体
補間回路30からそれぞれY信号YQ1とYQ2が出力され
ると、その一方が図12に示す選択回路50によって選
択されて、変換後のY信号Yr として出力される。
When the Y signals YQ1 and YQ2 are output from the bilinear interpolation circuit 20 and the tetrahedron interpolation circuit 30, respectively, one of them is selected by the selection circuit 50 shown in FIG. 12 and output as the converted Y signal Yr. Is done.

【0048】図12〜図14に示す色変換装置によれ
ば、上位ビット信号BU ,GU ,RUのいずれか2つが
互いに等しい場合には4面体分割法で補間し、それ以外
の場合にはバイリニア法で補間を行なうので、どちらか
一方の方法で補間する場合に比べて良い補間結果が得ら
れる。
According to the color conversion apparatus shown in FIGS. 12 to 14, when any two of the upper bit signals BU, GU, and RU are equal to each other, interpolation is performed by the tetrahedral division method. Since the interpolation is performed by the interpolation method, a better interpolation result can be obtained as compared with the case where the interpolation is performed by one of the methods.

【0049】なお、この発明は上記実施例に限られるも
のではなく、その要旨を逸脱しない範囲において種々の
態様において実施することが可能であり、例えば次のよ
うな変形も可能である。
The present invention is not limited to the above embodiment, but can be implemented in various modes without departing from the gist of the invention. For example, the following modifications are possible.

【0050】(1)4面体分割法における補間式である
数式11は、一般的に次の数式15のように表現するこ
とができる。
(1) Expression 11 which is an interpolation expression in the tetrahedral division method can be generally expressed as Expression 15 below.

【数15】 ここで、Wa 〜Wh は基本値Ya 〜Yh に対する荷重値
である。例えば、数式11の4面体T1に対する荷重値
Wa 〜Wh は、次の数式16で与えられる。
(Equation 15) Here, Wa to Wh are load values for the basic values Ya to Yh. For example, the load values Wa to Wh for the tetrahedron T1 in Expression 11 are given by Expression 16 below.

【数16】 (Equation 16)

【0051】数式15は、バイリニア法の補間式である
数式4と同じ関数形を有している。すなわち、バイリニ
ア法で数式4を使用し、4面体分割法で数式15を使用
すれば、どちらも基本値Ya 〜Yh と荷重値Va 〜Vh
又はWa 〜Wh との積和演算によって変換後のY信号を
得ることができる。
Equation 15 has the same function form as Equation 4 which is an interpolation equation of the bilinear method. That is, if Equation 4 is used in the bilinear method and Equation 15 is used in the tetrahedral division method, both values are the basic values Ya to Yh and the load values Va to Vh.
Alternatively, a converted Y signal can be obtained by a product-sum operation with Wa to Wh.

【0052】図15は、このような演算方法に従って補
間を行なう色信号変換装置の構成を示すブロック図であ
る。この装置は、図13に示すバイリニア補間回路20
の各回路要素22,24,26,28と、図12に示す
上位ビット信号比較回路40とに加えて、4面体分割法
用の荷重値Wa 〜Wh を出力する荷重値ROM60と、
インバータ62とを追加した構成を有している。
FIG. 15 is a block diagram showing the configuration of a color signal conversion device that performs interpolation according to such an operation method. This device uses a bilinear interpolation circuit 20 shown in FIG.
In addition to the circuit elements 22, 24, 26, and 28, and the upper bit signal comparison circuit 40 shown in FIG. 12, a load value ROM 60 that outputs load values Wa to Wh for the tetrahedral division method,
It has a configuration in which an inverter 62 is added.

【0053】上位ビット信号比較回路40から出力され
る選択信号Swは、そのままバイリニア法用の荷重値R
OM26のイネーブル端子に入力されるとともに、イン
バータ62で反転されて4面体分割法用の荷重値ROM
60のイネーブル端子に入力されている。この結果、選
択信号Swに応じて2つの荷重値ROM26,60の出
力の一方のみが積和演算回路28に与えられる。
The selection signal Sw output from the upper bit signal comparison circuit 40 is used as it is as the load value R for the bilinear method.
The load value ROM for the tetrahedral division method is input to the enable terminal of the OM 26 and inverted by the inverter 62 to be used.
60 are input to the enable terminal. As a result, only one of the outputs of the two load value ROMs 26 and 60 is given to the product-sum operation circuit 28 in accordance with the selection signal Sw.

【0054】図15の色信号変換装置によっても、図1
2に示す装置と同様の良好な補間結果が得られる。な
お、図15の色信号変換装置は図12の装置に比べて回
路構成を単純化でき、使用する回路要素の数も低減でき
るという利点がある。
The color signal conversion device shown in FIG.
A good interpolation result similar to that of the device shown in FIG. 2 can be obtained. The color signal conversion device of FIG. 15 has advantages that the circuit configuration can be simplified and the number of circuit elements used can be reduced as compared with the device of FIG.

【0055】(2)上記実施例では、上位ビット信号B
U ,GU ,RU と下位ビット信号BL,GL ,RL をそ
れぞれ4ビットの信号としたが、これらのビット数は任
意に設定することが可能である。
(2) In the above embodiment, the upper bit signal B
Although U, GU, RU and the lower bit signals BL, GL, RL are each 4-bit signals, the number of these bits can be set arbitrarily.

【0056】(3)上記実施例では、BGR信号系から
YMCK信号系に変換する装置について説明したが、こ
の発明は、BGR信号系またはYMCK信号系と他の色
信号系との間の変換、並びに前記他の色信号系同士の変
換にも適用することが可能である。
(3) In the above embodiment, the apparatus for converting the BGR signal system to the YMCK signal system has been described. However, the present invention relates to the conversion between the BGR signal system or the YMCK signal system and another color signal system. In addition, the present invention can be applied to conversion between the other color signal systems.

【0057】[0057]

【発明の効果】以上説明したように、本発明の色信号変
換方法によれば、理想的な補間式が複数の色信号の下位
ビットの1次式では表わせないような場合にも、良好な
変換結果が得られるという効果がある。
As described above, according to the color signal conversion method of the present invention, even when an ideal interpolation formula cannot be expressed by a linear expression of the lower bits of a plurality of color signals, a satisfactory interpolation formula can be obtained. There is an effect that a conversion result can be obtained.

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

【図1】2次元バイリニア法による補間演算を示す概念
図。
FIG. 1 is a conceptual diagram showing an interpolation operation by a two-dimensional bilinear method.

【図2】バイリニア法における変換値の分布を示すグラ
フ。
FIG. 2 is a graph showing a distribution of converted values in a bilinear method.

【図3】3次元バイリニア法による補間演算を示す概念
図。
FIG. 3 is a conceptual diagram showing an interpolation calculation by a three-dimensional bilinear method.

【図4】三角形分割法における分割方法を示す説明図。FIG. 4 is an explanatory diagram showing a division method in the triangulation method.

【図5】三角形分割法における補間値の分布を示すグラ
フ。
FIG. 5 is a graph showing a distribution of interpolation values in the triangulation method.

【図6】4面体分割法における分割方法を示す説明図。FIG. 6 is an explanatory diagram showing a division method in a tetrahedron division method.

【図7】XY座標に対する変換値Uの真値分布の一例を
示す図。
FIG. 7 is a diagram showing an example of a true value distribution of a conversion value U with respect to XY coordinates.

【図8】図7の4隅の値をバイリニア法で補間した結果
を示す図。
FIG. 8 is a view showing a result of interpolating values at four corners in FIG. 7 by a bilinear method.

【図9】BGR信号と理想インキのYMCK信号との関
係を示す説明図。
FIG. 9 is an explanatory diagram showing a relationship between a BGR signal and a YMCK signal of ideal ink.

【図10】Y版の1次色成分信号の分布形状を示す説明
図。
FIG. 10 is an explanatory diagram showing a distribution shape of a Y color primary color component signal.

【図11】実際のインキに対するY信号の分布形状を示
すグラフ。
FIG. 11 is a graph showing a distribution shape of a Y signal for actual ink.

【図12】本発明の実施例として色信号変換装置の全体
構成を示すブロック図。
FIG. 12 is a block diagram showing the overall configuration of a color signal conversion device as an embodiment of the present invention.

【図13】バイリニア補間回路の内部構成を示すブロッ
ク図。
FIG. 13 is a block diagram showing an internal configuration of a bilinear interpolation circuit.

【図14】4面体補間回路の内部構成を示すブロック
図。
FIG. 14 is a block diagram showing an internal configuration of a tetrahedral interpolation circuit.

【図15】色信号変換装置の他の実施例の構成を示すブ
ロック図。
FIG. 15 is a block diagram showing the configuration of another embodiment of the color signal conversion device.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 第1の色信号系の複数の信号を第2の色
信号系の信号に変換する色信号変換方法であって、 (a)前記第1の色信号系の複数の信号の所定の上位ビ
ットの値に応じて前記第2の色信号系の信号の基本値を
求める工程と、 (b)前記第1の色信号系の少なくとも2つの信号の前
記上位ビットの値が互いに等しいか否かを判定するとと
もに、判定結果に応じて所定の第1と第2の補間式の一
方を選択する工程と、 (c)選択された補間式に従って、前記第1の色信号系
の複数の信号の所定の下位ビットの値を用いて前記基本
値を補間することにより、前記第2の色信号系の信号を
生成する工程と、 を備え 前記第1と第2の補間式は、前記第1の色信号系の複数
の信号の上位ビットの値に等しいものが無い場合には前
記第1の補間式が良い補間結果を与え、前記第1の色信
号系の少なくとも2つの信号の上位ビットの値が互いに
等しい場合には前記第2の補間式が良い補間結果を与え
るものであることを特徴とする 色信号変換方法。
1. A color signal conversion method for converting a plurality of signals of a first color signal system into signals of a second color signal system, comprising: (a) converting a plurality of signals of the first color signal system; Obtaining a basic value of the signal of the second color signal system according to a value of a predetermined upper bit; and (b) values of the upper bits of at least two signals of the first color signal system are equal to each other. Judging whether or not the first color signal system includes a plurality of first color signal systems according to the selected interpolation formula. Generating the signal of the second color signal system by interpolating the basic value using a value of a predetermined lower bit of the signal of the first and second signals , wherein the first and second interpolation expressions are: A plurality of the first color signal systems
If there is no value equal to the value of the upper bit of the signal
The first interpolation formula gives a good interpolation result, and the first color signal
The values of the upper bits of at least two signals of the
If they are equal, the second interpolation formula gives a good interpolation result
A color signal conversion method , characterized in that :
JP5119064A 1993-04-21 1993-04-21 Color signal conversion method Expired - Lifetime JP2875451B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5119064A JP2875451B2 (en) 1993-04-21 1993-04-21 Color signal conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5119064A JP2875451B2 (en) 1993-04-21 1993-04-21 Color signal conversion method

Publications (2)

Publication Number Publication Date
JPH06311355A JPH06311355A (en) 1994-11-04
JP2875451B2 true JP2875451B2 (en) 1999-03-31

Family

ID=14752011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5119064A Expired - Lifetime JP2875451B2 (en) 1993-04-21 1993-04-21 Color signal conversion method

Country Status (1)

Country Link
JP (1) JP2875451B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000050058A (en) * 1998-07-30 2000-02-18 Ricoh Co Ltd Resolution conversion method/device and storage medium
FR2923067B1 (en) * 2007-10-25 2010-05-21 St Microelectronics Grenoble METHOD FOR PROCESSING A DIGITAL VIDEO STREAM AND CORRESPONDING DEVICE.

Also Published As

Publication number Publication date
JPH06311355A (en) 1994-11-04

Similar Documents

Publication Publication Date Title
US5241373A (en) Apparatus for correction of color signal values
US6724507B1 (en) Image processing method and image processing apparatus
JP2000505268A (en) Interpolation method in n-dimensional color space
US5337166A (en) Color signal transforming apparatus
EP1507403B1 (en) Color conversion method and color conversion device
JP2875451B2 (en) Color signal conversion method
EP0853423A2 (en) Image data color correction method
JP2906814B2 (en) Color signal converter
JPH0313066A (en) Method and apparatus for color correction
US5966474A (en) Non-symmetric radial and non-symmetric pruned radial interpolation
JPH0799587A (en) Method and device for converting color
JP3362281B2 (en) Color reproduction device and color reproduction method
JP3743036B2 (en) Color conversion method and color conversion apparatus
JPH0622124A (en) Conversion method, color conversion method, color conversion table generating method, color converter and color conversion table generating device
JPH0969961A (en) Color conversion device
JP3611890B2 (en) Color conversion device
JPH0946542A (en) Interpolation arithmetic method and data converter
JPH10126628A (en) Color conversion method
JPH11146218A (en) Color transformation processor
JPH03229573A (en) Color conversion device
JP2004179819A (en) Color conversion processing apparatus, color conversion processing program, and color conversion processing method
JP3019878B2 (en) Color image signal conversion method
JP2895935B2 (en) Color converter for achromatic plate making
JPH1084492A (en) Data converter and data conversion method
JPH08163379A (en) Color conversion device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term