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

Color conversion method and color conversion device

Info

Publication number
JPH0814843B2
JPH0814843B2 JP3201675A JP20167591A JPH0814843B2 JP H0814843 B2 JPH0814843 B2 JP H0814843B2 JP 3201675 A JP3201675 A JP 3201675A JP 20167591 A JP20167591 A JP 20167591A JP H0814843 B2 JPH0814843 B2 JP H0814843B2
Authority
JP
Japan
Prior art keywords
output
signal
color
color conversion
lightness
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
JP3201675A
Other languages
Japanese (ja)
Other versions
JPH0546750A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP3201675A priority Critical patent/JPH0814843B2/en
Priority to US07/928,373 priority patent/US5428465A/en
Publication of JPH0546750A publication Critical patent/JPH0546750A/en
Publication of JPH0814843B2 publication Critical patent/JPH0814843B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Color Electrophotography (AREA)
  • Processing Of Color Television Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、カラー画像信号やカラ
ー映像信号を入力して実時間内に任意の色変換をする用
途、たとえば、カラーハードコピー装置、カラー表示装
置、カラーテレビカメラ装置、色認識装置、ビデオ編集
装置などに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an application for inputting a color image signal or a color video signal and performing arbitrary color conversion in real time, for example, a color hard copy device, a color display device, a color television camera device, The present invention relates to a color recognition device, a video editing device, and the like.

【0002】[0002]

【従来の技術】従来、モノクロ画像の画像処理では、画
像の1画素がもつ情報は明度(濃度)という一次元情報
であり、明度変換はいわゆるガンマカーブ変換として、
種々の非線形カーブをLUT(ルックアップテーブル)
に書き込んでおけば実時間内に色変換が可能であった。
扱う画像がカラー画像になっても実時間内に色変換をす
る用途ではR(レッド)プレーン、G(グリーン)プレ
ーン、B(ブルー)プレーン、という3枚のモノクロ画
像として扱われ、各々独立なLUTによって変換される
ことが多かった。しかし、この種の処理では、扱える色
変換は本質的に一次元処理の域をでず、 R’=hR(R), G'=hG(G), B’=hB(B) という形態の色変換しかできない。
2. Description of the Related Art Conventionally, in image processing of a monochrome image, the information contained in one pixel of the image is one-dimensional information called brightness (density), and the brightness conversion is so-called gamma curve conversion.
LUT (look-up table) for various nonlinear curves
If you write it in, it was possible to convert colors in real time.
Even if the image to be handled is a color image, it is treated as three monochrome images of R (red) plane, G (green) plane, and B (blue) plane for the purpose of performing color conversion in real time, and each is independent. It was often converted by the LUT. However, in this type of processing, the color conversion that can be handled is essentially one-dimensional processing, and R '= hR (R), G' = hG (G), B '= hB (B). Only color conversion is possible.

【0003】カラー画像処理では、1画素がもつ情報は
(R,G,B)という三次元情報であり、本来の意味で
の色変換とは、これらをまとめた3次元的変換 R’=fR(R,G,B) G’=fG(R,G,B)
B’=fB(R,G,B) という形態である。
In color image processing, the information contained in one pixel is three-dimensional information (R, G, B), and color conversion in the original sense means three-dimensional conversion R '= fR. (R, G, B) G '= fG (R, G, B)
B '= fB (R, G, B).

【0004】たとえば、近年カラー画像処理で重要にな
りつつある技術として、(R,G,B)で表現される色
を色相H、明度L,彩度Sに変換するHLS変換では、
H=H(R,G,B)のように、1出力が3入力の関数
になっており上記の3次元変換に属する。しかし、これ
らを汎用的なテーブルで変換しようとすると1色が8ビ
ット信号と仮定すると1色当りの変換に16(Mbyt
e)ものメモリ容量を必要とする。従って、従来的には
3次元的な色変換を任意の色変換について汎用的に、し
かも実時間に実行できるハードウエアが必要である。こ
れに対して、カラーハードコピー、カラースキャナの色
補正用を主な目的として入力色空間を複数の色空間を分
割してその頂点に位置する色修正情報を複数個選択し、
重み付け処理して補間出力する色信号補間方法の例があ
る(特公昭58ー16180号公報)。この例では補間
処理に三次元の色信号空間内での基本立体である単位立
方体を設定し、この単位立方体を複数の四面体に分割
し、四面体の各頂点における出力信号から補間計算を単
純化する考え方が開示されている。
For example, as a technique which has become important in color image processing in recent years, in HLS conversion for converting a color represented by (R, G, B) into a hue H, a lightness L, and a saturation S,
Like H = H (R, G, B), one output is a function of three inputs and belongs to the above three-dimensional conversion. However, if it is attempted to convert these with a general-purpose table, assuming that one color is an 8-bit signal, 16 (Mbyte) is required for conversion per color.
The memory capacity of e) is also required. Therefore, conventionally, there is required hardware that can perform three-dimensional color conversion universally and in real time for arbitrary color conversion. On the other hand, for the main purpose of color correction for color hard copy and color scanner, the input color space is divided into a plurality of color spaces, and a plurality of color correction information located at the vertices are selected.
There is an example of a color signal interpolation method in which weighting processing is performed and interpolation output is performed (Japanese Patent Publication No. 58-16180). In this example, a unit cube, which is the basic solid in the three-dimensional color signal space, is set for interpolation processing, this unit cube is divided into multiple tetrahedra, and interpolation calculation is simplified from the output signals at each vertex of the tetrahedron. The idea to change is disclosed.

【0005】これを汎用の色変換装置として利用し、色
空間内の特定色の色替えを行うなど、非線形の自由な色
変換を高速でかつ画像の階調性を維持したままおこなう
ことができる。
By using this as a general-purpose color conversion device, it is possible to perform non-linear free color conversion at high speed while maintaining the gradation of an image, such as changing the color of a specific color in a color space. .

【0006】[0006]

【発明が解決しようとする課題】しかし、従来の技術で
は先の特許の例のように単位補間区間を形成する規則正
しい三次元格子が存在する入力色空間は、カラースキャ
ナからの三色分解反射率、透過率、あるいは三色分解濃
度といったデバイス・ディペンドな空間であり、しかも
それらの三次元の座標軸は均等間隔に分割されている。
このため「人間の視覚特性は明度方向には多くの階調を
必要とするが、色度方向にはそれほど多くの階調を必要
としない」、という重要な性質を有効に利用していな
い、という課題がある。また従来の技術では単位補間区
間として入力色空間内の単位立方体を複数に分割した四
面体を想定しているので入力色が明度方向に平行な直線
上を変化する際には入力色は異なる複数の四面体を通過
しながら各四面体ごとに独立に線形補間されることにな
る。このため色変換が非線形変換の場合、人間の視覚特
性上もっとも重要なグレイ方向に階調をもつ入力に対す
る補間出力値が直線でなめらかに補間されず不自然な折
れ線状になる、という課題があった。
However, in the prior art, the input color space in which there is a regular three-dimensional grid forming the unit interpolation section as in the example of the above patent, the three-color separated reflectance from the color scanner is used. , A transmittance, or a device-dependent space such as three-color separation density, and their three-dimensional coordinate axes are divided at equal intervals.
Therefore, the important characteristic that "human visual characteristics require many gradations in the lightness direction but not so many gradations in the chromaticity direction" is not effectively utilized. There is a problem. Further, in the prior art, since a tetrahedron obtained by dividing a unit cube in the input color space into a plurality of units is assumed as a unit interpolation section, when the input color changes on a straight line parallel to the lightness direction, a plurality of different input colors are used. While passing through the tetrahedron, each tetrahedron will be linearly interpolated independently. Therefore, when the color conversion is a non-linear conversion, there is a problem in that the interpolation output value for an input having a gray scale in the gray direction, which is the most important in human visual characteristics, is not linearly interpolated smoothly and becomes an unnatural polygonal line. It was

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に本発明は、三色分解入力信号を明度・色度に変換した
後でこの明度・色度空間内で補間操作を行い、補間手段
としては三次元空間を三角柱の単位補間区間に分割して
その内部を線形に補間する色変換方法と色変換装置を提
供するものである。
In order to achieve the above object, the present invention provides an interpolation means by converting a three-color separated input signal into lightness / chromaticity and then performing an interpolation operation in this lightness / chromaticity space. The present invention provides a color conversion method and a color conversion device that divides a three-dimensional space into triangular prism unit interpolation sections and linearly interpolates the inside.

【0008】[0008]

【作用】本発明の色変換方法および色変換装置では、上
述したようにカラースキャナなどの出力信号が形成する
R,G,Bなどの色空間はデバイス・ディペンドと呼ば
れ、個々のカラー機器固有のものである。これらは表色
系としては一般性に欠け、各軸が人間の視覚特性を的確
に反映しているとも言い難い。そこで近年多くのカラー
機器(カラーディスプレイ、多種のカラーハードコピー
類)どうしでの色表現を統一していく動きがある。これ
はデバイス・インデペンデント・カラーと呼ばれるもの
で、種々の色空間のなかでもCIE−LabやYIQな
ど明度と色度の分離空間が用いられることが予想され
る。また、画像の色調整を行う際にも色が明度と色度に
分離しているほうが、階調を維持したまま色のみを変化
させることができて便利である。これらの条件から、補
間を用いる型の汎用の色変換装置の入力空間は明度と二
種の色度(Y、I、QあるいはY、R−Y、B−Y)と
いう組み合わせが最適であろう。そこで第一の課題の解
決手段として、たとえ入力信号がカラースキャナなどの
レッド、グリーン、ブルーの三信号であっても、補間を
行う前には明度・色度分離型に変換しておきその後で補
間区間を設定する。その際に明度の階調を重視するため
に明度方向の単位補間区間を細かくすることもできる。
さらに、グレイ方向の階調をもつ入力の際に補間精度を
向上するためには、線形補間直線に折れ線の生じる可能
性のないように単位補間区間を設定することであり、こ
れは入力色空間で明度方向に平行な底面を持つ三角柱型
の単補間区間を設定し、その内部を線形に補間すること
により解決できる。
In the color conversion method and the color conversion apparatus of the present invention, the color space of R, G, B, etc. formed by the output signals of the color scanner as described above is called a device depend, and is unique to each color device. belongs to. These are lacking in generality as a color system, and it is hard to say that each axis accurately reflects human visual characteristics. Therefore, in recent years, there is a movement to unify the color expression among many color devices (color display, various color hard copies). This is called device-independent color, and it is expected that a separation space of lightness and chromaticity such as CIE-Lab or YIQ will be used among various color spaces. Also, when adjusting the color of an image, it is convenient that the color is separated into lightness and chromaticity because only the color can be changed while maintaining the gradation. From these conditions, a combination of lightness and two kinds of chromaticity (Y, I, Q or Y, RY, BY) is most suitable for the input space of a general-purpose color conversion device using interpolation. . Therefore, as a solution to the first problem, even if the input signal is three signals of red, green, and blue of a color scanner etc., it is converted to the brightness / chromaticity separation type before interpolation is performed. Set the interpolation section. At this time, the unit interpolation section in the lightness direction can be made fine in order to emphasize the lightness gradation.
Furthermore, in order to improve the interpolation accuracy when inputting with gray-scale gradation, it is necessary to set the unit interpolation section so that there is no possibility that a polygonal line will occur in the linear interpolation straight line. Can be solved by setting a triangular prism type single interpolation section having a bottom surface parallel to the lightness direction and linearly interpolating the inside.

【0009】[0009]

【実施例】以下、本発明の色変換方法の一実施例につき
説明する。
EXAMPLE An example of the color conversion method of the present invention will be described below.

【0010】本実施例では、補間のまえに(R、G,
B)色空間で表現される色を明度と色差で表される色空
間に変換する。明度・色差の定義はさまざまであるが、
ここではY,(R−Y)、(B−Y)を採用する。これ
は変換式が簡単であるためであり、他のYIQなどの色
空間でも構わない。RGBからYへの変換式は以下の式
を用いる。
In this embodiment, (R, G,
B) Convert the color represented in the color space into the color space represented by the lightness and the color difference. There are various definitions of brightness and color difference,
Here, Y, (RY), and (BY) are adopted. This is because the conversion formula is simple, and other color spaces such as YIQ may be used. The conversion formula from RGB to Y uses the following formula.

【0011】[0011]

【数1】 [Equation 1]

【0012】次に、Y、(R−Y)、(B−Y)で表現
される三次元色空間を図3に表されるように各軸を分割
して色空間を粗く単位直方体領域に分割する。各軸の分
割数は明度Y方向に細かく、(R−Y)(B−Y)の色
度方向には粗くしておくと人間の視覚特性上有効であり
限られたメモリ容量を効率的に使用できるが、図3は簡
単のため、各軸の分割数は同一の場合を描いている。各
単位直方体は(R−Y)(B−Y)色度平面内では長方
形を呈するがこの長方形の対角線に沿ってさらに二個の
三角柱に分割する。図4はこの単位直方体ABCD-E
FGHとそれを分割した三角柱を示している。図5は二
個に分割された三角柱のうちの一つABC-EFGを示
している。この三角柱内に色点が入力された場合、対応
する出力値は、三角柱の各頂点における出力値から補間
できる。いま、図5において三角柱の各頂点 A,B,
C,E,F、Gでの出力値を(A),(B),(C),
(E),(F),(G)とするとき、入力された色点P
に対応する出力値(P)は、点Aから入力点Pに向かう
ベクトルAPのY、(R−Y)、(B−Y)の各軸への
成分である △Y、△(R−Y)、△(B−Y)を用い
て以下のように三段階で補間できる。第一段階では、P
からY軸に平行に直線を引き、三角形ABCと三角形E
FGとの交点を各々P1、P2とする。そして三角形AB
C内で、P1での出力値(P1)を、
Next, the three-dimensional color space represented by Y, (RY), and (BY) is divided into axes as shown in FIG. 3 so that the color space is roughly divided into unit rectangular parallelepiped regions. To divide. If the number of divisions of each axis is fine in the lightness Y direction and coarse in the (RY) and (BY) chromaticity directions, it is effective for human visual characteristics and the limited memory capacity is efficiently used. Although it can be used, FIG. 3 illustrates the case where the number of divisions of each axis is the same for simplicity. Each unit rectangular parallelepiped has a rectangular shape in the (RY) (BY) chromaticity plane, but is further divided into two triangular prisms along the diagonal of this rectangle. Figure 4 shows this unit rectangular parallelepiped ABCD-E.
The FGH and the triangular prism obtained by dividing the FGH are shown. FIG. 5 shows one of the triangular prisms ABC-EFG divided into two. When a color point is input in this triangular prism, the corresponding output value can be interpolated from the output value at each vertex of the triangular prism. Now, in FIG. 5, the vertices A, B, and
The output values at C, E, F and G are (A), (B), (C),
When (E), (F), and (G) are set, the input color point P
The output value (P) corresponding to is the component of the vector AP from the point A to the input point P on the Y, (RY), and (BY) axes of ΔY, Δ (RY). ) And Δ (BY) can be used to interpolate in three steps as follows. In the first stage, P
Draw a straight line parallel to the Y-axis from triangle ABC and triangle E
The intersections with FG are P 1 and P 2 , respectively. And the triangle AB
In C, the output value at P 1 to (P 1),

【0013】[0013]

【数2】 [Equation 2]

【0014】のように補間する。これは以下のような図
形的意味を持つ。図6は図5の三角柱をY軸方向から観
察した図である。この方向からでは三角柱の二底面は完
全に重なっており、PとP1とP2、AとE、BとF、C
とGは重なりあっている。そこで、この三角形は三角形
ABCであると考えてもかまわない。図5におけるベク
トルAPの入力第一差分ベクトルAB(601)への成
分である△(R−Y)と入力第二差分ベクトルBC(6
02)への成分である△(B−Y)を求め、出力空間
で、各入力差分ベクトルに対応する出力第一差分値
{(B)−(A)}と出力第二差分値{(C)−
(B)}を△(R−Y)と△(B−Y)で重みづけして
第一、第二の出力増分を求め、それをAでの出力値
(A)に加えるという操作である。なお、本実施例で
は、線形補間操作は常に差分を用いているが、差分を用
いずに(A)、(B)、(C)を各々重みづけ加算して
も乗算が1回増えるだけで、同じ結果を与えることは明
らかである。第二段階では、図6を三角形EFGと見な
してP2での出力値(P2)を同じ重み付けを出力第一差
分値{(F)−(E)}、出力第二差分値{(G)−
(F)}に対して行い、
Interpolation is performed as follows. This has the following graphical meaning. FIG. 6 is a view of the triangular prism of FIG. 5 observed from the Y-axis direction. From this direction, the two bottom faces of the triangular prism completely overlap, and P and P 1 and P 2 , A and E, B and F, C.
And G overlap. Therefore, it may be considered that this triangle is the triangle ABC. Δ (RY), which is a component of the vector AP in FIG. 5 to the input first difference vector AB (601), and the input second difference vector BC (6
02) which is a component to the output first difference value {(B)-(A)} corresponding to each input difference vector and the output second difference value {(C ) −
(B)} is weighted with Δ (R−Y) and Δ (B−Y) to obtain the first and second output increments and added to the output value (A) at A. . In the present embodiment, the linear interpolation operation always uses the difference, but even if (A), (B), and (C) are weighted and added without using the difference, the multiplication only increases once. , It is clear that it gives the same result. In the second stage, the output value (P 2) a first difference value output the same weighting in the P 2 considers 6 a triangle EFG {(F) - (E )}, outputs the second difference value {(G ) −
(F)},

【0015】[0015]

【数3】 (Equation 3)

【0016】として求める。第三段階では図5における
線分P1-P2上で上で(P1)と(P2)を以下のように
線形補間する。
It is calculated as In the third stage, (P 1 ) and (P 2 ) are linearly interpolated as follows on the line segment P 1 -P 2 in FIG.

【0017】[0017]

【数4】 [Equation 4]

【0018】式4に、式2、式3を代入して整理する
と、
Substituting equations 2 and 3 into equation 4 and rearranging,

【0019】[0019]

【数5】 (Equation 5)

【0020】となる。[0020]

【0021】以上のようにして入力点Pが三角柱ABC
-EFG内にある場合にPでの出力値が決定する。入力
色点が直方体を分割したもう一方の三角柱ACD-EG
H内に存在する場合には、図7と図8で示すようにな
る。前と同様にしてPから三角形ACDと三角形EGH
にY軸に平行な直線を引き、交点P1、P2を求め、ベク
トルAPのY、(R−Y)、(B−Y)の各軸方向成分
△Y、△(R−Y)、△(B−Y)を求め、第一段階
でP1での出力値を、
As described above, the input point P is the triangular prism ABC.
-The output value at P is determined when in EFG. Input color point is the other triangular prism that divides the rectangular parallelepiped ACD-EG
When it exists in H, it becomes as shown in FIG. 7 and FIG. As before, from P to triangle ACD and triangle EGH
A straight line parallel to the Y-axis is drawn to obtain intersections P 1 and P 2, and Y, (RY), and (BY) of the vector AP in the axial direction ΔY, Δ (RY), Δ (B−Y) is obtained, and the output value at P 1 in the first step is

【0022】[0022]

【数6】 (Equation 6)

【0023】第二段階でP2での出力値を、In the second stage, the output value at P 2 is

【0024】[0024]

【数7】 (Equation 7)

【0025】第三段階でPでの出力補間値をIn the third step, the output interpolation value at P is

【0026】[0026]

【数8】 (Equation 8)

【0027】のように求める。(式8)に(式6)、
(式7)を代入して整理すると、
It is calculated as follows. (Equation 8) to (Equation 6),
Substituting (Equation 7) and rearranging,

【0028】[0028]

【数9】 [Equation 9]

【0029】のようになる。なお、入力色点Pが上記二
種の三角柱ABC-EFGと三角柱ACD-EGHのいず
れに含まれるかの判定は、ベクトルAPの成分△(R−
Y)と△(B−Y)の大小判定により行われ、 △(R−Y) ≧ △(B−Y) のとき 三角柱AB
C-EFG △(R−Y) < △(B−Y) のとき 三角柱AC
D-EGH (式10) のようになる。
It becomes as follows. The determination of whether the input color point P is included in the above-mentioned two types of triangular prism ABC-EFG or triangular prism ACD-EGH is made by determining the component Δ (R-
Y) and Δ (B−Y) are compared, and when Δ (R−Y) ≧ Δ (B−Y), triangular prism AB
When C-EFG △ (RY) <△ (BY), triangular prism AC
It becomes like D-EGH (Equation 10).

【0030】以上のように、本実施例の色変換方法は、
RGB入力値を三次元空間であるY(R−Y)(B−
Y)に変換し、このY(R−Y)(B−Y)入力空間か
ら、出力値を求めるに際し、入力空間を直方体に分割
し、その直方体を三角柱にさらに分割し、三角柱内で、
各頂点位置における出力値、および出力値間の差分値を
用いて、補間演算を行うものである。
As described above, the color conversion method of this embodiment is
The RGB input value is a three-dimensional space Y (RY) (B-
Y), and when the output value is obtained from this Y (RY) (BY) input space, the input space is divided into rectangular parallelepipeds, and the rectangular parallelepiped is further divided into triangular prisms.
The interpolation calculation is performed using the output value at each vertex position and the difference value between the output values.

【0031】つぎに、本発明の色変換装置の一実施例に
ついて、図1、図2を参照しながら説明する。
Next, an embodiment of the color conversion device of the present invention will be described with reference to FIGS.

【0032】図2は本発明の一実施例における色変換装
置の全体ブロック結線図である。図2においては入力信
号(R,G,B)から出力信号R’が生成される部分の
みを図示してあるので、(R,G,B)から(R’、
G’、B’)を生成する場合には図2の三次元補間部1
01が三組必要になる。入力信号は明度生成部102に
おいてY信号を生成する。この明度生成部102は(式
1)を実行するものであり、乗算器と加算器、あるいは
ルックアップテーブルと加算器などで構成できる。Y信
号は減算器103においてR、B信号との差が計算され
て色差信号(R−Y)と(B−Y)を生成する。そし
て、Y信号、(R−Y)信号、(B−Y)信号は三次元
補間部に入力される。
FIG. 2 is an overall block connection diagram of the color conversion apparatus in one embodiment of the present invention. In FIG. 2, only the part where the output signal R ′ is generated from the input signal (R, G, B) is shown, so that (R, G, B) to (R ′,
G ′, B ′) is generated, the three-dimensional interpolation unit 1 of FIG.
You need three 01s. The brightness generation unit 102 generates a Y signal from the input signal. The lightness generation unit 102 executes (Equation 1) and can be configured by a multiplier and an adder, or a lookup table and an adder. The difference between the Y signal and the R and B signals is calculated in the subtractor 103 to generate color difference signals (RY) and (BY). Then, the Y signal, the (RY) signal, and the (BY) signal are input to the three-dimensional interpolation unit.

【0033】実際の用途では、Y信号の代わりにRGB
のうちでもっともY信号への寄与分が大きいG信号をY
信号の代わりに用いることも考えられる。その場合は
G、R,B信号は明度色度信号変換が行われずに、G、
(R−G)、(B−G)信号として三次元補間部101
に入力される。
In a practical application, RGB signals may be used instead of Y signals.
The G signal that has the largest contribution to the Y signal
It is also possible to use it instead of a signal. In that case, the G, R, and B signals are not subjected to the lightness / chromaticity signal conversion, and
Three-dimensional interpolation unit 101 as (R-G) and (B-G) signals
Is input to

【0034】図1は図2の三次元補間部101の詳細を
示す構成図である。三次元補間部101ではY(R−
Y)(B−Y)入力空間を直方体に分割し、さらに三角
柱に分割して補間が行われるが、この直方体への分割は
図2においてY信号、(R−Y)信号、(B−Y)信号
を表現するデジタル信号を上位信号と下位信号に分割す
ることで行われる。実施例として、Y、(R−Y)、
(B−Y)信号を8ビット信号とし、その各々の上位信
号を信号の最上位から3、3、3ビットとし、下位信号
を残りの5、5、5ビットとする。この場合Y,(R−
Y)、(B−Y)で表される三次元空間はY軸方向に2
3=8個の補間区間、(R−Y)軸方向に23=8個の補
間区間、(B−Y)軸方向に23=8個の補間区間に分
割されるため、三次元空間全体は、計(8)×(8)×
(8)=512個の直方体に分割され、各直方体の辺の
長さはY、(R−Y)、(B−Y)方向にそれぞれ3
2、32、32となる。図1ではこれらY、(R−
Y)、(B−Y)の上位信号をそれぞれ、(201)、
(202)、(203)で示し、下位信号をそれぞれ
(204)、(205)、(206)で示す。すなわち
図3と図4にて上位信号は入力色が含まれる各単位直方
体を原点に最も近い点Aの位置座標としてY、(R−
Y)、(B−Y)の各軸方向にそれぞれ0から7、0か
ら7、0から7までの数値で表現しており、下位信号は
各単位直方体において点Aを基準点として入力色の位置
をY、(R−Y)、(B−Y)各軸方向に0から31、
0から31、0から31までの数値にて表現する。従っ
て下位信号は上で述べた△Y,△(R−Y)、△(B−
Y)を表現していることになる。この下位信号△(R−
Y)信号と△(B−Y)信号の(205)、(206)
は三角柱判定部207に入力され1ビットの三角柱判定
信号(208)を出力する。これは(式10)に従い、
大小判定により、入力色点が直方体を分割した二個の三
角柱のいずれに含まれるかを1または0を出力して判定
するものである。いま、この判定結果として入力色は三
角柱ABC-EFGに含まれるものとする。同時に
(R−Y)は第1の乗算器219及び第3の乗算器22
6に送られ、△(B−Y)信号は第2の乗算器220及
び第4の乗算器227に送られる。上位信号の組(20
1)、(202)、(203)と三角柱判定信号(20
8)をまとめて計(3+3+3+1=)10ビットのメ
モリアドレス信号(209)とする。メモリアドレス信
号は第1〜第6の色変換テーブルメモリ210〜215
に入力される。各色変換テーブルメモリ210〜215
には一つの三角柱が指定された場合に補間に必要な項の
情報があらかじめ記憶されており、メモリアドレス入力
とともに、記憶値を並列に出力する。上記のように三角
柱ABC-EFGが指定された場合には第1、2及び3
色変換テーブルメモリ210、211、212は各
々、(式5)における出力値(A)、出力第一差分値
{(B)−(A)}、出力第二差分値{(C)−
(B)}のデータを出力する。これらのデータは図1の
中では(216)、(217)、(218)で示され
る。(式5)に従い、データ(217)と(205)は
第1の乗算器219で乗算され、データ(218)と
(206)は第2の乗算器220で乗算され、これら二
個の乗算結果は第1の加算器221にて加算され、その
結果がデータ(216)と第2の加算器222にて加算
され(式5)の第一項から第三項までが加算された結果
を生成する。第4、5および6の色変換テーブルメモリ
213、214、215は各々(式5)における出力第
三差分値{(E)−(A)}、出力第四差分値{(F)
−(E)−(B)+(A)}、出力第五差分値{(G)
−(F)−(C)+(B)}を出力する。これらのデー
タは図1の中では(223)、(224)、(225)
で示される。(式5)の第4項の[ ]内の式に従い、
データ(224)と(205)は第3の乗算器226で
乗算され、データ(225)と(206)は第4の乗算
227で乗算され、この二個の乗算結果は第3の加算
228で加算され、その結果がデータ(223)と
4の加算器229にて加算される。この結果は(20
4)で示されるY信号の下位信号△Yと第5の乗算器
30にて乗算され、(式5)の第四項が計算完了し、
5の加算器231にて第一から第三項までの加算結果と
さらに加算され、(式5)の最終結果(P)が出力され
る(232)。三角柱判定部208の結果において入力
色が三角柱ACD-EGHに含まれる場合には、メモリ
アドレス信号(209)の中のデータ(208)の1ビ
ットのみが異なった状態でテーブルメモリがアクセスさ
れる。その時には各テーブルメモリ210〜215の出
力値は(式9)の各項で示される値となり、(式9)を
計算するように動作して補間が行われる。なお、ここで
示した各信号のビット数、上位信号、下位信号のビット
配分は一つの実施例であり、ほかの数値でもよい。
FIG. 1 shows details of the three-dimensional interpolation unit 101 of FIG.
It is a block diagram shown . In the three-dimensional interpolation unit 101, Y (R-
Y) (BY) The input space is divided into a rectangular parallelepiped and further divided into triangular prisms for interpolation. The division into the rectangular parallelepiped is performed by the Y signal, the (RY) signal, and the (BY) in FIG. ) It is performed by dividing a digital signal representing a signal into a high-order signal and a low-order signal. As an example, Y, (RY),
Assume that the (BY) signal is an 8-bit signal, the respective upper signals are 3, 3, and 3 bits from the most significant bit of the signal, and the lower signals are the remaining 5, 5, and 5 bits. In this case, Y, (R-
The three-dimensional space represented by Y) and (B-Y) is 2 in the Y-axis direction.
3 = 8 interpolation intervals, to be divided into (R-Y) axially 2 3 = 8 interpolation interval, (B-Y) axially 2 3 = 8 interpolation segment, the three-dimensional space The total is (8) x (8) x
(8) = Divided into 512 rectangular parallelepipeds, and the lengths of the sides of each rectangular parallelepiped are 3 in the Y, (RY), and (BY) directions, respectively.
2, 32, 32. In FIG. 1, these Y, (R-
Y) and (B-Y) upper signals are (201),
(202) and (203), and lower signals are shown (204), (205), and (206), respectively. That is, in FIG. 3 and FIG. 4, the upper signal is Y, (R-
Y) and (B-Y) are represented by numerical values from 0 to 7, 0 to 7, and 0 to 7, respectively, in the axial directions, and the lower-order signal is the input color of the input color with point A as a reference point in each unit rectangular parallelepiped. The position is 0 to 31 in each of the Y, (RY), and (BY) axis directions,
Expressed with numerical values from 0 to 31, 0 to 31. Therefore, the lower order signals are ΔY, Δ (RY), and Δ (B−) described above.
Y) will be expressed. This lower signal Δ (R-
(205) and (206) of Y) signal and Δ (B-Y) signal
Is input to the triangular prism determination unit 207 and outputs a 1-bit triangular prism determination signal (208). This follows (Equation 10)
By the size judgment, it is judged by outputting 1 or 0 which one of the two triangular prisms obtained by dividing the rectangular parallelepiped contains the input color point. Now, it is assumed that the input color is included in the triangular prism ABC-EFG as the determination result. At the same time
(RY) is the first multiplier 219 and the third multiplier 22.
6 and the Δ (B−Y) signal is sent to the second multiplier 220 and
And a fourth multiplier 227. Upper signal set (20
1), (202), (203) and the triangular prism determination signal (20
8) are collectively used as a memory address signal (209) of 10 bits in total (3 + 3 + 3 + 1 =). The memory address signals are the first to sixth color conversion table memories 210 to 215.
Is input to Each color conversion table memory 210-215
In, information of terms necessary for interpolation when one triangular prism is specified is stored in advance, and the stored value is output in parallel with the memory address input. When the triangular prism ABC-EFG is specified as described above, the first, second and third
The color conversion table memories 210, 211, and 212 are respectively the output value (A), the output first difference value {(B) − (A)}, and the output second difference value { (C) − in (Equation 5).
(B) } data is output. These data are shown by (216), (217), and (218) in FIG. According to (Equation 5), the data (217) and (205) are
The data is multiplied by the first multiplier 219, the data (218) and (206) are multiplied by the second multiplier 220, and the two multiplication results are added by the first adder 221. The data (216) is added to the second adder 222 to generate a result obtained by adding the first term to the third term of (Equation 5). The fourth, fifth and sixth color conversion table memories 213, 214 and 215 respectively output the third difference value {(E)-(A)} and the fourth output difference value {(F) in (Equation 5).
-(E)-(B) + (A)}, output fifth difference value {(G)
-(F)-(C) + (B)} is output. These data are (223), (224), (225) in FIG.
Indicated by. According to the expression in [] of the fourth term of (Expression 5),
The data (224) and (205) are multiplied by the third multiplier 226 and the data (225) and (206) are multiplied by the fourth multiplier.
It is multiplied by vessel 227, the two multiplication results to the third addition of
Are added by the vessel 228, the result is the data (223) first
4 is added by the adder 229 . The result is (20
4) The lower signal ΔY of the Y signal and the fifth multiplier 2
Is multiplied by 30, to complete calculations paragraph of (Equation 5), the
The addition result of the first to third terms is further added by the adder 231 of 5 and the final result (P) of (Equation 5) is output (232). When the input color is included in the triangular prism ACD-EGH as a result of the triangular prism determination unit 208, the table memory is accessed in a state where only 1 bit of the data (208) in the memory address signal (209) is different. At that time, the output values of the table memories 210 to 215 become the values shown in the respective terms of (Equation 9), and the interpolation is performed by operating so as to calculate (Equation 9). It should be noted that the number of bits of each signal and the bit allocation of the higher-order signal and the lower-order signal shown here are only one embodiment, and may be other values.

【0035】つぎに従来の四面体補間の場合と、本実施
例で説明した色度方向に平行に底面を持つ三角柱を用い
る補間の両者につき、補間される直線の違いについて説
明する。図9はR、G,Bで表現される入力空間を立方
体を分割し、その立方体を6個の四面体に分割した様子
を示している。第一の立方体abcd-efghと第二
の立方体bijc-fklgの中に入力色が明度方向に
階調変化する軌跡として3本表現されており、明度方向
は立方体の対角線方向であることから、これらは立方体
の対角線方向である線分a-g、b-lとa-bの中間点
mとg-lの中間点nとを結ぶ線分m-nである。図10
は、図9の入力立方体が出力空間(R’G’B’)で形
成する歪んだ六面体を示す。入力空間の第一の立方体に
対応する六面体がa’b’c’d’-e’f’g’h’
にて第二の立方体に対応する六面体がb’i’j’c’
-f’k’l’g’にて示されている。入力色の軌跡a-
g、b-lに対応する出力補間直線は出力立方体の対角
線a’-g’、b’-l’となる。ところが入力色軌跡と
してはa−gとb−lの中間に存在するはずのm-nに
対応するm’-n’は直線にはならず、m’-o’-n’
のように点o’で屈曲した直線になる。これは図9にお
いて入力軌跡の線分a-g、b-lは立方体の対角線であ
り、立方体は、この対角線を共有する6個の四面体に分
割されているため、この2本の直線は単位補間立体であ
る四面体の一つに完全に含まれているのに対して線分m
-nは第一の立方体では四面体abfgに、第二の立方
体では四面体bfglに含まれるというように、異なる
四面体領域を通過するためである。この場合には各四面
体内で独立に線形補間が行われるため、四面体どうしの
境界にて連続性は保たれるものの、不自然な屈曲が生じ
る。このように四面体を用いる補間では明度方向に平行
に色を移動させる場合に色変換の非線形性いかんでは、
本来は出力空間では直線m’-n’になるべき補間直線
の形が崩れるために出力画像の階調に悪影響を及ぼす。
一方、図11は本実施例の三角柱を用いる補間方法であ
り、Y(R−Y)(B−Y)空間内で三角柱分割が行わ
れて、二個の三角柱領域ABC-DEF、DEF-GHI
が形成されている。このとき入力色軌跡として明度Y方
向に変化する平行な直線ADG、CFIと、その中間に
存在する直線JKLを設定する。図12は出力空間
(R’G’B’)内で入力空間の二個の三角柱に対応す
るA’B’C’-D’E’F’とD’E’F’-G’H’
I’が非線形変換のため歪んだ状態で存在している状態
を示す。入力色の三直線はこの空間では折れ線A’D’
G’とC’F’I’、およびJ’K’L’である。これ
らはすべて一緒に、となり合う三角柱を通過し、いずれ
かが異なる三角柱を通過していくことはない。このた
め、補間後の折れ線には不自然さはない。たとえば、こ
の場合には三本の軌跡のうち、入力空間で中間の位置に
あった折れ線J’K’L’は格子点を通過する折れ線
A’D’G’と同じく格子点を通過する折れ線C’F’
I’との中間的な折れ線になっている。
The difference between the straight lines to be interpolated between the conventional tetrahedral interpolation and the interpolation using the triangular prism having the bottom surface parallel to the chromaticity direction described in the present embodiment will be described below. FIG. 9 shows a state in which an input space represented by R, G, and B is divided into cubes, and the cubes are divided into six tetrahedra. Three input colors are represented in the first cube abcd-efgh and the second cube bijc-fklg as the loci of gradation changes in the lightness direction. Since the lightness direction is the diagonal direction of the cube, these Is the line segment a-g, which is the diagonal direction of the cube, and the line segment m-n connecting the midpoint m of b-1 and a-b and the midpoint n of g-1. Figure 10
Shows the distorted hexahedron formed by the input cube of FIG. 9 in the output space (R′G′B ′). The hexahedron corresponding to the first cube in the input space is a'b'c'd'-e'f'g'h '.
And the hexahedron corresponding to the second cube is b'i'j'c '
-F'k'l'g '. Input color locus a-
Output interpolation straight lines corresponding to g and bl are diagonal lines a'-g 'and b'-l' of the output cube. However, as the input color locus, m'-n 'corresponding to m-n which should exist between ag and bl is not a straight line, and m'-o'-n'
It becomes a straight line bent at the point o'as shown in. This is because the line segments ag and b-1 of the input trajectory in FIG. 9 are the diagonals of the cube, and the cube is divided into six tetrahedra that share this diagonal, so these two straight lines are Although it is completely included in one of the tetrahedrons that is a unit interpolation solid, the line segment m
This is because -n passes through different tetrahedral regions such that the first cube is included in the tetrahedron abfg and the second cube is included in the tetrahedron bfgl. In this case, since linear interpolation is performed independently in each tetrahedron, unnatural bending occurs although the continuity is maintained at the boundaries between the tetrahedra. In this way, in the interpolation using the tetrahedron, when the color is moved parallel to the lightness direction, the nonlinearity of the color conversion is,
Originally, in the output space, the shape of the interpolated straight line, which should be the straight line m′-n ′, collapses, which adversely affects the gradation of the output image.
On the other hand, FIG. 11 shows an interpolation method using the triangular prism of the present embodiment, in which the triangular prism is divided in the Y (RY) (BY) space and two triangular prism areas ABC-DEF and DEF-GHI are formed.
Are formed. At this time, as input color loci, parallel straight lines ADG and CFI changing in the lightness Y direction and a straight line JKL existing in the middle are set. FIG. 12 shows A'B'C'-D'E'F 'and D'E'F'-G'H' corresponding to two triangular prisms in the input space in the output space (R'G'B ').
A state in which I ′ exists in a distorted state due to the non-linear conversion is shown. The three straight lines of the input color are the polygonal lines A'D 'in this space.
G'and C'F'I ', and J'K'L'. They all pass through adjacent triangular prisms, and none of them pass through different triangular prisms. Therefore, the polygonal line after interpolation has no unnaturalness. For example, in this case, among the three trajectories, the polygonal line J'K'L 'at the intermediate position in the input space is the polygonal line A'D'G' passing through the grid point and the polygonal line passing through the grid point as well. C'F '
It is a broken line in the middle of I '.

【0036】以上のように、本実施例においては明度方
向に変化する色の軌跡に対して従来よりも良好な線形補
間を行なうことができる。
As described above, in this embodiment, it is possible to perform better linear interpolation than the conventional method on the locus of the color changing in the lightness direction.

【0037】[0037]

【発明の効果】以上のように本発明は、入出力が三次元
である任意の色変換を不連続性のない補間方法により実
時間で処理できる利点がある。
As described above, the present invention has an advantage that any color conversion whose input and output is three-dimensional can be processed in real time by an interpolation method having no discontinuity.

【0038】また、従来の三次元色信号補間方式である
四面体分割を用いる線形補間方式では三次元の各軸には
意味を特別な意味を持たせられず、メモリを有効に活用
できていなかったが、本発明では三角柱という立体を用
いることにより三角柱の主軸方向に明度、三角形を呈す
る底面に色度平面という意味を持たせることができ、こ
れによりメモリを明度と色度に分離して有効に活用でき
る利点がある。しかも人間が敏感な明度方向の色変化に
際し、従来の四面体補間で生じていたような単位補間区
間境界での補間直線の不自然な屈曲を生じることがな
い、という利点がある。また補間を行う際の入力空間が
明度・色度空間であることから、本発明の色変換方法を
色調整の分野に応用する際にも便利であり、カラー画像
処理分野での効果は非常に大きい。
Further, in the conventional three-dimensional color signal interpolation method, which is a linear interpolation method using tetrahedron division, each three-dimensional axis cannot have a special meaning, and the memory cannot be effectively used. However, according to the present invention, by using a solid body called a triangular prism, it is possible to give the meaning of lightness in the principal axis direction of the triangular prism and chromaticity plane to the bottom surface of the triangular prism, which effectively separates the memory into lightness and chromaticity. There is an advantage that can be utilized. In addition, there is an advantage that, when a color change in the lightness direction is sensitive to humans, the unnatural bending of the interpolation line at the boundary of the unit interpolation section unlike the conventional tetrahedral interpolation does not occur. Further, since the input space when performing the interpolation is the lightness / chromaticity space, it is convenient when the color conversion method of the present invention is applied to the field of color adjustment, and the effect in the color image processing field is very high. large.

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

【図1】本発明の一実施例における色変換装置の三次元
補間部の詳細ブロック結線図
FIG. 1 is a detailed block connection diagram of a three-dimensional interpolation unit of a color conversion device according to an embodiment of the present invention.

【図2】同実施例における色変換装置の全体ブロック結
線図
FIG. 2 is an overall block connection diagram of the color conversion device in the embodiment.

【図3】本発明の一実施例における色変換方法の概念を
示すY(R−Y)(B−Y)で作られる三次元空間を複
数の直方体に分割した概念図
FIG. 3 is a conceptual diagram in which a three-dimensional space created by Y (RY) (BY) showing the concept of the color conversion method in one embodiment of the present invention is divided into a plurality of rectangular parallelepipeds.

【図4】同直方体を二個の三角柱に分割した概念図FIG. 4 is a conceptual diagram in which the same rectangular parallelepiped is divided into two triangular prisms.

【図5】図4における直方体分割の三角柱ABC-EF
Gの概念図
FIG. 5 is a rectangular parallelepiped triangular prism ABC-EF in FIG.
Conceptual diagram of G

【図6】図5における三角柱ABC-EFGをY軸方向
から観察した図
FIG. 6 is a diagram of the triangular prism ABC-EFG in FIG. 5 observed from the Y-axis direction.

【図7】図4における直方体分割の三角柱ACD-EG
Hの概念図
7 is a rectangular parallelepiped triangular prism ACD-EG in FIG.
Conceptual diagram of H

【図8】図7における三角柱ACD-EGHをY軸方向
から観察した図
8 is a diagram of the triangular prism ACD-EGH in FIG. 7 observed from the Y-axis direction.

【図9】従来の入力空間内での入力色の軌跡を示す概念
FIG. 9 is a conceptual diagram showing a locus of input colors in a conventional input space.

【図10】従来の出力空間内での出力補間直線を示す概
念図
FIG. 10 is a conceptual diagram showing an output interpolation straight line in a conventional output space.

【図11】本発明の一実施例における色変換方法の入力
空間内での入力色の軌跡を示す概念図
FIG. 11 is a conceptual diagram showing a locus of an input color in an input space of a color conversion method according to an embodiment of the present invention.

【図12】本発明の一実施例における色変換方法の出力
空間内での出力補間直線を示す概念図
FIG. 12 is a conceptual diagram showing an output interpolation line in an output space of a color conversion method according to an embodiment of the present invention.

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

101 三次元補間部 102 明度生成部 103 減算器 210 第1の色変換テーブルメモリ 211 第2の色変換テーブルメモリ 212 第3の色変換テーブルメモリ 213 第4の色変換テーブルメモリ 214 第5の色変換テーブルメモリ 215 第6の色変換テーブルメモリ 219 第1の乗算器 220 第2の乗算器 221 第1の加算器 222 第2の加算器 226 第3の乗算器 227 第4の乗算器 228 第3の加算器 229 第4の加算器 230 第5の乗算器 231 第5の加算器101 three-dimensional interpolation unit 102 lightness generation unit 103 subtractor 210 first color conversion table memory 211 second color conversion table memory 212 third color conversion table memory 213 fourth color conversion table memory 214 fifth color conversion Table memory 215 Sixth color conversion table memory 219 First multiplier 220 Second multiplier 221 First adder 222 Second adder 226 Third multiplier 227 Fourth multiplier 228 Third Adder 229 fourth adder 230 fifth multiplier 231 fifth adder

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G09G 5/06 9377−5H H04N 9/74 Z (72)発明者 黒沢 俊晴 神奈川県川崎市多摩区東三田3丁目10番1 号 松下技研株式会社内 (72)発明者 麓 照夫 神奈川県川崎市多摩区東三田3丁目10番1 号 松下技研株式会社内─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical indication location G09G 5/06 9377-5H H04N 9/74 Z (72) Inventor Toshiharu Kurosawa Tama Ward, Kawasaki City, Kanagawa Prefecture 3-10-1 Higashisanda Matsushita Giken Co., Ltd. (72) Teruo foot Inventor 3-10-1 Higashimita 3-chome, Tama-ku, Kawasaki-shi, Kanagawa Matsushita Giken

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 入力色信号を明度・色度分離信号に変換
し、明度・色度でつくられる三次元入力色空間の各軸を
分割して、複数個の直方体にまず分割し、つぎに各直方
体を色度平面に平行な面内に底面を持つ二個の三角柱に
分割し、前記入力色が前記二個の三角柱のいずれの三角
柱内に含まれているかを判定して選択し、予め明度・色
度分離信号空間内の粗い格子点上で変換後の出力色を蓄
積している色変換テーブルを読み出して、前記選択され
た三角柱の頂点に相当する6点の格子点での出力値を求
め、各三角柱内で入力色から二個の三角形底面に対して
明度軸に平行な直線を引き、この直線と底面との二個の
交点を求め、この二個の三角形底面内で前記二個の交点
での出力値を、前記色変換テーブルから読み出した三角
形の三頂点での出力値の線形補間により求め、次に、前
記二個の交点での出力値を明度方向に線形補間して入力
色信号に対する出力色信号を求めることを特徴とする色
変換方法。
1. An input color signal is converted into a lightness / chromaticity separation signal, each axis of a three-dimensional input color space formed by lightness / chromaticity is divided, and first divided into a plurality of rectangular parallelepipeds, and then, Each rectangular parallelepiped is divided into two triangular prisms having a bottom surface in a plane parallel to the chromaticity plane, and it is determined by selecting which one of the two triangular prisms the input color is included in and selected in advance. The color conversion table accumulating the output colors after conversion on the coarse grid points in the lightness / chromaticity separation signal space is read, and the output values at the six grid points corresponding to the vertices of the selected triangular prism. In each triangular prism, draw a straight line parallel to the lightness axis from the input color to the two triangular bases, find the two intersections of this straight line and the base, and within the two triangular bases, Output values at three intersections are output at the three vertices of the triangle read from the color conversion table. A color conversion method characterized by obtaining the output color signal with respect to the input color signal by linearly interpolating the output values at the two intersections in the lightness direction.
【請求項2】 明度・色度でつくられる三次元入力色空
間の各軸を分割して複数個の直方体に分割し、前記各直
方体を色度平面に平行な面内に底面を持つ二個の三角柱
に分割し、明度・色度分離信号で表現されている入力色
信号を入力し、入力された2つの色度信号の下位ビット
信号の大小判定により、前記入力色信号が含まれる三角
柱を判定する三角柱判定部と、前記三角柱の第1の底面
の頂点である第1の基準頂点での出力値を蓄積している
第1の色変換テーブルと、前記第1の底面の前記第1の
基準頂点以外の2つの頂点の一方である第1の頂点での
出力値と前記第1の基準頂点での出力値との差分である
出力第一差分値を蓄積している第2の色変換テーブル
と、前記第1の底面の前記第1の基準頂点以外の2つの
頂点の他方である第2の頂点での出力値と前記第1の頂
点での出力値との差分である出力第二差分値を蓄積して
いる第3の色変換テーブルと、前記三角柱の前記第1の
基準頂点での出力値と第2の底面の頂点である第2の基
準頂点での出力値との差分である出力第三差分値を蓄積
している第4の色変換テーブルと、前記第2の底面の前
記第2の基準頂点以外の2つの頂点の一方である第3の
頂点での出力値と前記第2の基準頂点での出力値との
分値と前記出力第一差分値との差分である出力第四差分
値を記憶している第5の色変換テーブルと、前記第2の
底面の前記第2の基準頂点以外の2つの頂点の他方であ
る第4の頂点での出力値と前記第3の頂点での出力値と
差分値と前記出力第二差分値との差分である出力第五
差分値を記憶している第6の色変換テーブルと、前記出
力第一差分値及び出力第二差分値それぞれに前記入力色
信号の前記2つの色度信号の下位信号をそれぞれ乗算す
る第1の乗算器及び第2の乗算器と、前記第1の乗算器
及び第2の乗算器の出力を加算する第1の加算器と、前
記第1の加算器の出力を前記第1の基準頂点での出力値
に加算して第1の補間結果を得る第2の加算器と、前記
出力第四差分値及び出力第五差分値それぞれに前記入力
色信号の前記2つの色度信号の下位信号をそれぞれ乗算
する第3の乗算器及び第4の乗算器と、前記第3の乗算
器及び第4の乗算器の出力を加算する第3の加算器と、
前記第3の加算器の出力を前記出力第三差分値に加算し
て第2の補間結果を得る第4の加算器と、前記入力色信
号の明度信号の下位信号と前記第2の補間結果を乗算す
る第5の乗算器と、前記第5の乗算器の出力を前記第1
の補間結果に加算する第5の加算器とを備えることを特
徴とする色変換装置。
2. A three-dimensional input color sky created by lightness and chromaticity.
Each axis in between is divided into a plurality of rectangular parallelepipeds,
Two triangular prisms with a base in the plane parallel to the plane of chromaticity
The input color signal expressed by the lightness / chromaticity separation signal is input, and the triangular column including the input color signal is determined by determining the magnitude of the lower bit signal of the two input chromaticity signals. A triangular prism determining unit, a first color conversion table that stores output values at a first reference vertex that is the vertex of the first bottom surface of the triangular prism, and the first reference vertex of the first bottom surface A second color conversion table that stores an output first difference value that is a difference between the output value at the first vertex that is one of the two vertices other than the above and the output value at the first reference vertex. , An output second difference value that is the difference between the output value at the second vertex that is the other of the two vertices other than the first reference vertex on the first bottom surface and the output value at the first vertex And the output value at the first reference vertex of the triangular prism. A fourth color conversion table that stores an output third difference value that is a difference from the output value at the second reference vertex that is the vertex of the second bottom surface, and the second color conversion table of the second bottom surface. Difference between the output value at the third vertex which is one of the two vertices other than the reference vertex and the output value at the second reference vertex
A fifth color conversion table that stores an output fourth difference value that is a difference between the minute value and the output first difference value, and two vertexes of the second bottom surface other than the second reference vertex. A sixth difference value, which is the difference between the output value at the other fourth vertex and the output value at the third apex, and the difference between the output second difference value and the sixth output value. A color conversion table, a first multiplier and a second multiplier for multiplying each of the output first difference value and the output second difference value by a lower signal of the two chromaticity signals of the input color signal, A first adder for adding the outputs of the first multiplier and the second multiplier, and an output of the first adder to an output value at the first reference vertex to obtain a first adder. A second adder for obtaining an interpolation result, and the two of the input color signals for the output fourth difference value and the output fifth difference value, respectively. A third adder for adding the third multiplier and the fourth multiplier for multiplying the lower signal of the chrominance signal, respectively, an output of said third multiplier and fourth multiplier,
A fourth adder that obtains a second interpolation result by adding the output of the third adder to the output third difference value, a lower signal of the lightness signal of the input color signal, and the second interpolation result. And a fifth multiplier for multiplying the output of the fifth multiplier by the first multiplier
And a fifth adder for adding the interpolation result to the color conversion device.
【請求項3】 三原色、あるいは三刺激値にて表現され
る色信号から明度信号を作る明度生成部、および色度信
号を作る演算器を備え、生成された明度・色度分離信号
を入力色信号とする請求項2記載の色変換装置。
3. A lightness generation unit for generating a lightness signal from color signals represented by three primary colors or tristimulus values, and an arithmetic unit for generating a chromaticity signal, and the generated lightness / chromaticity separation signal is input. The color conversion device according to claim 2, wherein the color conversion device is a signal.
JP3201675A 1991-08-12 1991-08-12 Color conversion method and color conversion device Expired - Lifetime JPH0814843B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP3201675A JPH0814843B2 (en) 1991-08-12 1991-08-12 Color conversion method and color conversion device
US07/928,373 US5428465A (en) 1991-08-12 1992-08-12 Method and apparatus for color conversion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3201675A JPH0814843B2 (en) 1991-08-12 1991-08-12 Color conversion method and color conversion device

Publications (2)

Publication Number Publication Date
JPH0546750A JPH0546750A (en) 1993-02-26
JPH0814843B2 true JPH0814843B2 (en) 1996-02-14

Family

ID=16445038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3201675A Expired - Lifetime JPH0814843B2 (en) 1991-08-12 1991-08-12 Color conversion method and color conversion device

Country Status (1)

Country Link
JP (1) JPH0814843B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2899461B2 (en) 1990-12-20 1999-06-02 株式会社リコー Color signal interpolation method, color signal interpolation device, and color correction method
JP2947017B2 (en) * 1993-03-31 1999-09-13 松下電器産業株式会社 Color conversion method and color conversion device
US5504821A (en) * 1993-03-31 1996-04-02 Matsushita Electric Industrial Co., Ltd. Color converting apparatus for performing a three-dimensional color conversion of a colored picture in a color space with a small capacity of memory
JP2947015B2 (en) * 1993-03-31 1999-09-13 松下電器産業株式会社 Color conversion device and color conversion method
JPH1146305A (en) 1997-07-25 1999-02-16 Canon Inc Image-processing method and device and recording medium
JP3931461B2 (en) 1999-01-07 2007-06-13 富士ゼロックス株式会社 Color conversion device

Also Published As

Publication number Publication date
JPH0546750A (en) 1993-02-26

Similar Documents

Publication Publication Date Title
US5428465A (en) Method and apparatus for color conversion
JP2666523B2 (en) Color converter
US5452018A (en) Digital color correction system having gross and fine adjustment modes
US6172681B1 (en) Color adjustment and conversion method
JPH11341296A (en) Color area conversion method and color area converter
JPH11313219A (en) Color data conversion method
JPH07182513A (en) System and method for real-time picture display pallet mapping
JP2876853B2 (en) Color converter
JPH0575848A (en) Interpolation on system and color correcting method
JP2001014454A (en) Picture processor
JPH0814843B2 (en) Color conversion method and color conversion device
JP3354158B2 (en) Color correction device, color correction method, and color correction application device
JPH10200770A (en) Method for correcting color of picture data
Kanamori et al. Novel color transformation algorithm and its applications
JP2947017B2 (en) Color conversion method and color conversion device
JP2947015B2 (en) Color conversion device and color conversion method
JPH04190466A (en) Limited color representation device for color image
JPH05284346A (en) Color conversion device
JP3743036B2 (en) Color conversion method and color conversion apparatus
JPH10126636A (en) Color image processing method and processing unit
JP3215156B2 (en) Color image processing method
JP3988012B2 (en) Color conversion method, color conversion device, and recording medium
JP3671428B2 (en) Image processing method and apparatus for color output
JP3780587B2 (en) Color data converter
JP2005167503A (en) Image processor and image forming apparatus provided with the same

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080214

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20090214

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20090214

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20100214

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20100214

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20110214

Year of fee payment: 15

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

Free format text: PAYMENT UNTIL: 20120214

Year of fee payment: 16

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

Free format text: PAYMENT UNTIL: 20120214

Year of fee payment: 16