[go: up one dir, main page]

JPH0546750A - Method and device for converting color - Google Patents

Method and device for converting color

Info

Publication number
JPH0546750A
JPH0546750A JP3201675A JP20167591A JPH0546750A JP H0546750 A JPH0546750 A JP H0546750A JP 3201675 A JP3201675 A JP 3201675A JP 20167591 A JP20167591 A JP 20167591A JP H0546750 A JPH0546750 A JP H0546750A
Authority
JP
Japan
Prior art keywords
color
output
signal
input
color conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3201675A
Other languages
Japanese (ja)
Other versions
JPH0814843B2 (en
Inventor
Katsuhiro Kanamori
克洋 金森
Osamu Yamada
修 山田
Hideto Motomura
秀人 本村
Toshiharu Kurosawa
俊晴 黒沢
Teruo Fumoto
照夫 麓
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 Holdings Corp
Original Assignee
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
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

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

Abstract

PURPOSE:To improve an interpolating gradation characteristic in a color lightness direction comforming with a visual sense characteristic by matching a three-dimensional interpolating method for executing the interpolating operation of a color conversion value of a color image signal. CONSTITUTION:Respective input chrominance signals are converted into lightness/chromaticity, a three-dimensional space formed by the lightness and chromaticity is divided into plural rectangular parallelopipeds and then roughly divided into plural triangle prisms having bottoms parallel with a chromaticity plane. Which triangle prism out of plural ones includes an input color is decided by a triangle prism deciding part 207 and output values corresponding to input points constituting respective points of the triangle prism, difference values among respective output colors and differences among respective difference values are stored in plural color convertion table memories 210 to 215, the stored values of respective memories 210 to 215 are weighted by multipliers 219, 220, 226, 227, 230 based upon the power signals 205, 206 of the input chrominance signal, and finally the weighted data are added by adders 220, 221, 228, 229, 231 to execute linear interpolation using the output values of six vertexes constituting the triangle prism.

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, information contained in one pixel of an image is one-dimensional information called lightness (density), and lightness conversion is so-called gamma curve conversion.
LUT (look-up table) for various non-linear curves
It was possible to convert the color in real time by writing in.
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 kind 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 for arbitrary color conversion and in real time. 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 a 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 is the three-color separated reflectance from the color scanner. , 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 called. Further, in the conventional technology, 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. Each tetrahedron is linearly interpolated independently while passing through the tetrahedron. For this reason, 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 for 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 for dividing a three-dimensional space into triangular prism unit interpolation sections and linearly interpolating 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 device depend, and is unique to each color device. belongs to. These are lacking in generality as a color system, and it cannot be said 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) may be optimal 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 brightness / chromaticity separation type before interpolation Set the interpolation section. At that 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 interval 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 with 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 to roughly divide the color space into unit rectangular parallelepiped regions. To divide. If the number of divisions of each axis is fine in the lightness Y direction and rough in the chromaticity directions of (RY) and (BY), it is effective for human visual characteristics and the limited memory capacity is efficiently used. Although it can be used, FIG. 3 illustrates a 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.
An FGH and a 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, G are (A), (B), (C),
When (E), (F), and (G), 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 Δ (B−Y) 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, 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 of the output first difference value {(B)-(A)} and the output second difference value {(C) corresponding to each input difference vector in the output space. ) −
(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 if (A), (B), and (C) are weighted and added without using the difference, the number of multiplications is increased only 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)を以下のように
線形補間する。
## EQU1 ## In the third stage, (P 1 ) and (P 2 ) are linearly interpolated on the line segment P 1 -P 2 in FIG. 5 as follows.

【0017】[0017]

【数4】 [Equation 4]

【0018】式4に、式2、式3を代入して整理する
と、
Substituting equations 2 and 3 into equation 4, 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 another rectangular prism that divides a 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 intersection points P 1 and P 2, and Y, (RY), and (BY) of the vector AP in the respective axial direction components ΔY, Δ (RY), Δ (B−Y) is calculated, 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. In (Equation 8), (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 like this. The determination of which of the two types of triangular prism ABC-EFG and triangular prism ACD-EGH the input color point P is included in is determined by 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. Since only the part where the output signal R'is generated from the input signals (R, G, B) is shown in FIG. 2, (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 subtracter 103 calculates the difference between the Y signal and the R and B signals 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信号は明度色度信号変換が行われずに、Y,
(R−Y)、(B−Y)信号を表すものとして三次元補
間部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 the Y,
It is input to the three-dimensional interpolation unit 101 as representing the (RY) and (BY) signals.

【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)、△(B−Y)信号は乗算器219、220
と乗算器226、227にそれぞれ送られる。上位信号
の組(201)、(202)、(203)と三角柱判定
信号(208)をまとめて計(3+3+3+1=)10
ビットのメモリアドレス信号(209)とする。メモリ
アドレス信号は色変換テーブルメモリ210から記憶用
色変換テーブルメモリー215に入力される。各色変換
テーブルメモリ210〜215には一つの三角柱が指定
された場合に補間に必要な項の情報があらかじめ記憶さ
れており、メモリアドレス入力とともに、記憶値を並列
に出力する。上記のように三角柱ABC-EFGが指定
された場合には色変換テーブルメモリ210、211、
212は各々、(式5)における出力値(A)、出力第
一差分値{(B)−(A)}、出力第二差分値{(C)
−(A)}のデータを出力する。これらのデータは図1
の中では(216)、(217)、(218)で示され
る。(式5)に従い、データ(217)と(205)は
乗算器219で乗算され、データ(218)と(20
6)は乗算器220で乗算され、これら二個の乗算結果
は加算器221にて加算され、その結果がデータ(21
6)と加算器222にて加算され(式5)の第一項から
第三項までが加算された結果を生成する。色変換テーブ
ルメモリ213、214、215は各々(式5)におけ
る出力第三差分値{(E)−(A)}、出力第四差分値
{(F)−(E)−(B)+(A)}、出力第五差分値
{(G)−(F)−(C)+(B)}を出力する。これ
らのデータは図1の中では(223)、(224)、
(225)で示される。(式5)の第4項の[ ]内の
式に従い、データ(224)と(205)は乗算器22
6で乗算され、データ(225)と(206)は乗算器
227で乗算され、この二個の乗算結果は加算器228
で加算され、その結果がデータ(223)と加算器22
9にて加算される。この結果は(204)で示されるY
信号の下位信号△Yと乗算器230にて乗算され、(式
5)の第四項が計算完了し、加算器231にて第一から
第三項までの加算結果とさらに加算され、(式5)の最
終結果(P)が出力される(232)。三角柱判定部2
08の結果において入力色が三角柱ACD-EGHに含
まれる場合には、メモリアドレス信号(209)の中の
データ(208)の1ビットのみが異なった状態でテー
ブルメモリがアクセスされる。その時には各テーブルメ
モリ210〜215の出力値は(式9)の各項で示され
る値となり、(式9)を計算するように動作して補間が
行われる。なお、ここで示した各信号のビット数、上位
信号、下位信号のビット配分は一つの実施例であり、ほ
かの数値でもよい。
FIG. 1 is a block diagram showing the details of the three-dimensional interpolation unit 101 shown in FIG. 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 an upper signal and a lower signal. As an example, Y, (RY),
Assume that the (BY) signal is an 8-bit signal, the upper signal of each of them is 3, 3, 3 bits from the most significant bit of the signal, and the lower signal is the remaining 5, 5, 5 bits. In this case, Y, (R-
The three-dimensional space represented by Y) and (BY) 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 higher-order signal indicates that each unit rectangular parallelepiped including the input color is the position coordinate of the point A closest to the origin Y, (R-
Y) and (B-Y) are expressed by numerical values from 0 to 7, 0 to 7, and 0 to 7 in the respective axial directions, and the lower-order signal is the input color of each unit rectangular parallelepiped with point A as a reference point. The position is Y, (R-Y), 0-31 in each axial direction (B-Y),
It is expressed by 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 the Y) signal and the Δ (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 determination, it is determined 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 △
The (RY) and Δ (BY) signals are multiplied by the multipliers 219 and 220.
And multipliers 226 and 227, respectively. A total of (3 + 3 + 3 + 1 =) 10 of the higher-order signal groups (201), (202), (203) and the triangular prism determination signal (208).
A bit memory address signal (209) is used. The memory address signal is input from the color conversion table memory 210 to the storage color conversion table memory 215. Each color conversion table memory 210 to 215 stores in advance information of terms necessary for interpolation when one triangular prism is designated, and outputs the stored value in parallel with the memory address input. When the triangular prism ABC-EFG is designated as described above, the color conversion table memories 210, 211,
212 is the output value (A), the output first difference value {(B)-(A)}, and the output second difference value {(C) in (Equation 5), respectively.
-(A)} data is output. These data are shown in Figure 1.
Are indicated by (216), (217), and (218). According to (Equation 5), the data (217) and (205) are multiplied by the multiplier 219 to obtain the data (218) and (20).
6) is multiplied by the multiplier 220, these two multiplication results are added by the adder 221, and the result is the data (21
6) is added by the adder 222 to generate a result obtained by adding the first term to the third term of (Equation 5). The color conversion table memories 213, 214, and 215 respectively store the output third difference value {(E)-(A)} and the output fourth difference value {(F)-(E)-(B) + (in (Equation 5). A)}, and output fifth difference value {(G)-(F)-(C) + (B)}. These data are (223), (224),
It is shown by (225). According to the expression in [] of the fourth term of (Expression 5), the data (224) and (205) are multiplied by the multiplier 22.
6 and the data (225) and (206) are multiplied by the multiplier 227, and the two multiplication results are added by the adder 228.
And the result is added to the data (223) and the adder 22.
It is added at 9. The result is Y shown in (204).
The lower signal ΔY of the signal is multiplied by the multiplier 230, the fourth term of (Equation 5) is calculated, and the addition result of the first to third terms is further added by the adder 231. The final result (P) of 5) is output (232). Triangular prism determination unit 2
When the input color is included in the triangular prism ACD-EGH in the result of 08, the table memory is accessed with only one bit of the data (208) in the memory address signal (209) being 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 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 numerical 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 in 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. 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 a line segment a-g, which is a diagonal direction of the cube, and a 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 b-l is not a straight line, and m'-o'-n'
It becomes a straight line bent at the point o '. 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. Thus, in interpolation using a tetrahedron, when moving colors in parallel to the lightness direction, the nonlinearity of color conversion is
Originally, in the output space, the shape of the interpolation 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 ').
The state where 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 together, and none of them pass through different triangular prisms. Therefore, the polygonal line after interpolation has no unnaturalness. For example, in this case, the polygonal line J'K'L 'at the intermediate position in the input space among the three trajectories 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 arbitrary color conversion in which the input and output are three-dimensional can be processed in real time by an interpolation method having no discontinuity.

【0038】また、従来の三次元色信号補間方式である
四面体分割を用いる線形補間方式では三次元の各軸には
意味を特別な意味を持たせられず、メモリを有効に活用
できていなかったが、本発明では三角柱という立体を用
いることにより三角柱の主軸方向に明度、三角形を呈す
る底面に色度平面という意味を持たせることができ、こ
れによりメモリを明度と色度に分離して有効に活用でき
る利点がある。しかも人間が敏感な明度方向の色変化に
際し、従来の四面体補間で生じていたような単位補間区
間境界での補間直線の不自然な屈曲を生じることがな
い、という利点がある。また補間を行う際の入力空間が
明度・色度空間であることから、本発明の色変換方法を
色調整の分野に応用する際にも便利であり、カラー画像
処理分野での効果は非常に大きい。
Also, 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. Moreover, there is an advantage in 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 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 a 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の概念図
FIG. 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 出力値(A)記憶用色変換テーブルメモリ 211 出力第一差分値記憶用色変換テーブルメモリ 212 出力第二差分値記憶用色変換テーブルメモリ 213 出力第三差分値記憶用色変換テーブルメモリ 214 出力第四差分値記憶用色変換テーブルメモリ 215 出力第五差分値記憶用色変換テーブルメモリ 219 乗算器 220 乗算器 221 加算器 222 加算器 226 乗算器 227 乗算器 228 加算器 229 加算器 230 乗算器 231 加算器 101 three-dimensional interpolation unit 102 lightness generation unit 103 subtractor 210 output value (A) storage color conversion table memory 211 output first difference value storage color conversion table memory 212 output second difference value storage color conversion table memory 213 output Third difference value storage color conversion table memory 214 Output Fourth difference value storage color conversion table memory 215 Output Fifth difference value storage color conversion table memory 219 Multiplier 220 Multiplier 221 Adder 222 Adder 226 Multiplier 227 Multiplier 228 Adder 229 Adder 230 Multiplier 231 Adder

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

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 入力色信号に対する出力色信号の値と出
力色信号どうしの差分値を蓄積している色変換テーブル
メモリを用いて、入力された色信号に対する出力色信号
を求める際に、入力色空間を複数の三角柱領域に粗く分
割して、入力された色が入力色空間内のいずれの三角柱
領域内に存在するかを判定し、三角柱を構成する入力色
点に対する色変換テーブルメモリ蓄積値を用いて入力色
信号に対する出力色信号を補間することを特徴とする色
変換方法。
1. When obtaining an output color signal for an input color signal using a color conversion table memory that stores a difference value between the output color signal and the output color signal for the input color signal, Roughly divide the color space into multiple triangular prism areas, determine which triangular prism area in the input color space the input color is in, and store the color conversion table memory values for the input color points that make up the triangular prism. A color conversion method characterized by interpolating an output color signal with respect to an input color signal using.
【請求項2】 入力色信号を明度・色度分離信号に変換
し、明度・色度分離信号を入力とする色変換テーブルメ
モリを用いて入力色に対する出力色を求める際に、明度
・色度でつくられる三次元空間の各軸を分割して、複数
個の直方体にまず分割し、つぎに各直方体を色度平面に
平行な面内に底辺を持つ二個の三角柱に分割し、入力色
がいずれの三角柱内に含まれているかを判定し、各三角
柱内で入力色から二個の三角形底面に対して明度軸に平
行な直線を引き、この直線と底面との二個の交点を求
め、この二個の三角形底面内で前記二個の交点での出力
値を三角形の頂点での出力値の線形補間により求め、そ
れらを明度方向に線形補間して入力色に対する出力信号
を求めることを特徴とする請求項1記載の色変換方法。
2. When calculating an output color for an input color using a color conversion table memory which converts an input color signal into a brightness / chromaticity separation signal and uses the brightness / chromaticity separation signal as an input, the brightness / chromaticity is obtained. Each axis of the three-dimensional space created by is divided into a plurality of rectangular parallelepipeds, then each rectangular parallelepiped is divided into two triangular prisms with bases in the plane parallel to the chromaticity plane, and the input color It is determined which of the triangular prisms is included in each triangular prism, and the straight line parallel to the lightness axis is drawn from the input color to the two triangular bases in each triangular prism, and the two intersections of this straight line and the base are obtained. , The output values at the two intersections in the bottom surface of the two triangles are obtained by linear interpolation of the output values at the vertices of the triangle, and they are linearly interpolated in the lightness direction to obtain the output signal for the input color. The color conversion method according to claim 1, wherein the color conversion method is a color conversion method.
【請求項3】 入力色信号で作られる三次元空間を複数
の直方体に分割し、入力色が直方体を二個の三角柱に分
割した場合のいずれの三角柱に含まれるかを判定する三
角柱判定部と三角柱領域の一頂点位置に対応する出力値
と三角柱の異なる頂点位置での出力値どうしの差分値で
ある出力第一差分値、出力第二差分値、出力第三差分
値、および差分値の差である出力第四差分値、出力第五
差分値を各々記憶している色変換テーブルメモリと、前
記色変換テーブルメモリからの出力から演算を行なう乗
算器、及び加算器とを備えることを特徴とする色変換装
置。
3. A triangular prism determination unit that divides a three-dimensional space created by an input color signal into a plurality of rectangular parallelepipeds and determines which one of the triangular prisms the input color is included in when the rectangular parallelepiped is divided into two triangular prisms. The difference between the output value corresponding to one vertex position of the triangular prism region and the output value at the different vertex positions of the triangular prism, the output first difference value, the output second difference value, the output third difference value, and the difference value. A color conversion table memory that stores the output fourth difference value and the output fifth difference value, a multiplier that performs an operation from the output from the color conversion table memory, and an adder. Color conversion device.
【請求項4】 入力色信号から明度信号を作る明度生成
部と色度信号を作る演算器を備えることを特徴とする請
求項3記載の色変換装置。
4. The color conversion apparatus according to claim 3, further comprising a lightness generation unit that generates a lightness signal from an input color signal and a calculator that generates a chromaticity 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 true JPH0546750A (en) 1993-02-26
JPH0814843B2 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)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0799586A (en) * 1993-03-31 1995-04-11 Matsushita Electric Ind Co Ltd Color conversion device
JPH0799587A (en) * 1993-03-31 1995-04-11 Matsushita Electric Ind Co Ltd Method and device for converting color
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
US6307644B1 (en) 1997-07-25 2001-10-23 Canon Kabushiki Kaisha Image processing method and apparatus and recording medium
US6459437B1 (en) 1999-01-07 2002-10-01 Fuji Xerox Co., Ltd. Color converting device
USRE37940E1 (en) 1990-12-20 2002-12-24 Kaoru Imao Interpolation method and color correction method using interpolation

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE37940E1 (en) 1990-12-20 2002-12-24 Kaoru Imao Interpolation method and color correction method using interpolation
JPH0799586A (en) * 1993-03-31 1995-04-11 Matsushita Electric Ind Co Ltd Color conversion device
JPH0799587A (en) * 1993-03-31 1995-04-11 Matsushita Electric Ind Co Ltd Method and device for converting color
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
US6307644B1 (en) 1997-07-25 2001-10-23 Canon Kabushiki Kaisha Image processing method and apparatus and recording medium
US6459437B1 (en) 1999-01-07 2002-10-01 Fuji Xerox Co., Ltd. Color converting device

Also Published As

Publication number Publication date
JPH0814843B2 (en) 1996-02-14

Similar Documents

Publication Publication Date Title
US5428465A (en) Method and apparatus for color conversion
JP2666523B2 (en) Color converter
JP2994153B2 (en) Color signal converter
US5087126A (en) Method of estimating colors for color image correction
US5327509A (en) Compressed image system for texture patterns
JPH10136216A (en) Color picture processor
JP2000083177A (en) Image processing method and image processor
JP2876853B2 (en) Color converter
JPH0575848A (en) Interpolation on system and color correcting method
JP2001014454A (en) Picture processor
JPH0546750A (en) Method and device for converting color
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
JP3080373B2 (en) Color separation image correction method and apparatus
JPH05284346A (en) Color conversion device
JP3771315B2 (en) Image processing device
JPH10126636A (en) Color image processing method and processing unit
JP3988012B2 (en) Color conversion method, color conversion device, and recording medium
JP3215156B2 (en) Color image processing method
JPH03229573A (en) Color conversion device
JP3671428B2 (en) Image processing method and apparatus for color output
JPH1070669A (en) Color conversion device

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