[go: up one dir, main page]

JPH02226868A - Color decomposition picture correction device - Google Patents

Color decomposition picture correction device

Info

Publication number
JPH02226868A
JPH02226868A JP1046828A JP4682889A JPH02226868A JP H02226868 A JPH02226868 A JP H02226868A JP 1046828 A JP1046828 A JP 1046828A JP 4682889 A JP4682889 A JP 4682889A JP H02226868 A JPH02226868 A JP H02226868A
Authority
JP
Japan
Prior art keywords
color
supplied
color correction
correction data
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1046828A
Other languages
Japanese (ja)
Other versions
JP2831370B2 (en
Inventor
Hirotetsu Ko
博哲 洪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=12758191&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JPH02226868(A) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP1046828A priority Critical patent/JP2831370B2/en
Publication of JPH02226868A publication Critical patent/JPH02226868A/en
Application granted granted Critical
Publication of JP2831370B2 publication Critical patent/JP2831370B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To form a color correction data number as the power of 2 and to efficiently utilize the capacity of a data storage means by dividing equally an input signal at the interval of 'M' from 0 sequentially in total 2L when the input signal is in N-bit and has 2<n> of gradation number and storing the color correction data of the divided points to a color reproduction ROM. CONSTITUTION:A color correction data outputted sequentially from a color reproduction ROM 63R is supplied to a multiplication accumulation device 64R, into which a weight coefficient is supplied sequentially and in which the multiplication accumulation is processed. When an inputted n-color decomposition picture data (n is an integer number of >=2) has N-bit each, the interval of a basic grid is selected to be M quantization level, then the relation of (2N-1)/M+1=2L is satisfied, where 2L is N and N, M, L are integer numbers. Thus, the number of color correction data is expressed as the power of 2 and the capacity of the color reproduction ROM 63R is efficiently utilized.

Description

【発明の詳細な説明】 〔産業上の利用分野コ この発明は、ビデオプリンタ、ディジタルカラーコピー
などのカラー修正装置に適用して好適な色分解画像修正
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a color separation image correction device suitable for application to color correction devices such as video printers and digital color copiers.

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

例えば、色分解iiI像峰正装置の1つであるカラーマ
スキングviaは、周知のようにトナー インりなどの
色材の副吸収分をキャンセルして正しい色を再現するた
めの装置である。
For example, a color masking via, which is one of the color separation III image correction devices, is a well-known device for reproducing correct colors by canceling sub-absorption of color materials such as toner in.

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

ここで、入力画像データを数値演算することによって色
修正データが得られるが、キーカラー以外の色の色相、
彩度、明度などのずれが少なくなるように非線形処理を
すると、ハードウェアが極めて複雑となる。
Here, color correction data is obtained by numerically calculating the input image data, but the hue of colors other than the key color,
If nonlinear processing is performed to reduce deviations in saturation, brightness, etc., the hardware becomes extremely complex.

そのため、この非線形処理による演算処理結果を予めル
ックアップテーブル(L U T)に格納し、このL/
UTを参照して色修正データな得るようにすることが考
えられる。しかし、全ての色修正データを格納するため
には、LUTの容量が膨大となる。例λば、R,G、 
 Hの画像データがそれぞれ8ビツトのデータであると
き、各画像データの組み合わせは211 ・28 ・2
m=22mとなり、3つの色修正データを得るには、 22LX3=60. 3  Mバイト もの、膨大なメモリ容量が必要となる。
Therefore, the arithmetic processing results of this nonlinear processing are stored in a look-up table (LUT) in advance, and this L/
It is conceivable to refer to the UT to obtain color correction data. However, in order to store all the color correction data, the capacity of the LUT becomes enormous. For example, λ, R, G,
When each image data of H is 8-bit data, the combination of each image data is 211 ・28 ・2
m=22m, and to obtain three color correction data, 22LX3=60. A huge memory capacity of 3 MB is required.

そこで、本出願人は、メモリ容量の削減化を図るため、
入力画像データにより形成される色空間を複数の基本格
子に分割し、LUTにはその頂点に位置する入力画像デ
ータの組合わせに対する色修正データを格納し、入力画
像データに対応する色修正データが存在しないときには
、この入力画像データ(補間点)が含まれる基本格子の
頂点の色修正データの重み平均によりて色修正データを
得ることを提案した。
Therefore, in order to reduce the memory capacity, the applicant has
The color space formed by the input image data is divided into a plurality of basic grids, the LUT stores color correction data for the combination of input image data located at the vertices, and the color correction data corresponding to the input image data is stored in the LUT. When the input image data (interpolation point) does not exist, it is proposed to obtain color correction data by weighted averaging of the color correction data of the vertices of the basic grid that includes this input image data (interpolation point).

例えば、三次元での補間処理であって、第9図に示すよ
うに、頂点A〜Hで構成される基本格子内に補間点Pが
存在する場合には、それぞれその頂点に対して対角位置
の頂点と補間点Pとて作られる直方体の体積が、頂点A
−Hの色修正データに対する重み係数として使用される
For example, in a three-dimensional interpolation process, if an interpolation point P exists within a basic lattice consisting of vertices A to H, as shown in FIG. The volume of the rectangular parallelepiped created by the position vertex and the interpolation point P is the vertex A
-Used as a weighting factor for the H color correction data.

すなわち、この補間点Pが含まれる基本格子の頂点A〜
Hの色修正データをYi、  Mi、  Ci (ェ=
1〜8)、頂点A〜Hの色修正データに対する重み係数
をAt (i=1〜8)とすれば、補間点Pの色修正デ
ータYp、Mp、Cpは次式によって算出される。
That is, the vertices A~ of the basic lattice that include this interpolation point P
The color correction data of H is converted into Yi, Mi, Ci (E=
1 to 8), and the weighting coefficient for the color correction data of the vertices A to H is At (i=1 to 8), then the color correction data Yp, Mp, and Cp of the interpolation point P are calculated by the following equations.

Cp= (1/売Ai)±A1C1 +111鳴I Mp工(1/ 2. A i )九A i M 1Yp
=(1/爪Ai)、もAiYi 会・・ (1) また、110図は二次元での補間処理例を示している。
Cp = (1/Sell Ai) ±A1C1 +111 Mp (1/ 2. A i )9A i M 1Yp
=(1/nail Ai), also AiYi meeting... (1) Also, FIG. 110 shows an example of two-dimensional interpolation processing.

同図AはY、  Mなどによって形成される表色系であ
り、同図Bはこれに対応したX、  Yなどによって形
成される他の表色系であるものとする。
A in the same figure is a color system formed by Y, M, etc., and B in the same figure is another color system formed by X, Y, etc. corresponding thereto.

頂点A−Dで構成される領域Sが、A′〜D′によって
形成される領域S′に対応するものとすれば、領域Sに
補間点Pが存在するときには、これに対応した補間点P
′も対応する領域S′に存在するものと仮定できる。
Assuming that the region S composed of vertices A-D corresponds to the region S' formed by A' to D', when an interpolation point P exists in the region S, the corresponding interpolation point P
' can also be assumed to exist in the corresponding region S'.

この場合、同1!IAのように補間点Pで分割される面
積a−dが算出され、補間点P′は次式によって算出さ
れる。
In this case, same 1! The area ad divided by the interpolation point P is calculated as IA, and the interpolation point P' is calculated by the following equation.

P’ =aA’ +bB’ +cC’ +dD’・ ・
 ・ (2) ところで、三次元の補間処理であって、 (1)式のよ
うな補間演算処理で、補間点Pの色修正データYp、M
p、Cpを算出する場合には、それぞれについて8回の
乗算累積処理が必要となり、補間処理時間が長くなる。
P' = aA' + bB' + cC' + dD'・・
・(2) By the way, in the three-dimensional interpolation process, the color correction data Yp, M of the interpolation point P is
When calculating p and Cp, eight times of multiplication and accumulation processing are required for each, which increases the interpolation processing time.

二次元の補間処理であって、 (2)式のような補ra
n演算処理で、補間点P′を算出する場合でも4回の乗
算累積処理が必要となる。
It is a two-dimensional interpolation process, and the interpolation ra as shown in equation (2)
Even when calculating the interpolation point P' with n calculation processing, four times of multiplication and accumulation processing are required.

そこで、さらに本出願人は、補間処理時間の短縮化を図
るため、二次元のときは三角形、三次元のときは五角錐
のように最小限の頂点数の分割空間を利用して補間処理
を行なうことを提案した。
Therefore, in order to further shorten the interpolation processing time, the applicant has carried out interpolation processing using a divided space with a minimum number of vertices, such as a triangle in two dimensions and a pentagonal pyramid in three dimensions. I proposed to do it.

111図は二次元での補間処理の例である。同図AはY
、  Mなどによって形成される表色系であり、同図B
はこれに対応したX、  Yなどによ・〕て形成される
他の表色系であるものとする。
Figure 111 is an example of two-dimensional interpolation processing. In the same figure, A is Y
It is a color system formed by , M, etc., and is shown in Figure B.
is another color system formed by X, Y, etc. corresponding to this.

頂点A−Dで構成される領域Sが、A′〜D′によ・り
て形成される領域S′に対応するものとすれば、領域S
に補間点Pが存在するときには、これに対応した補間点
P′も対応す墨領域S′に存在するものと仮定できる。
If the region S composed of vertices A-D corresponds to the region S' formed by A' to D', then the region S
When an interpolation point P exists in , it can be assumed that the corresponding interpolation point P' also exists in the corresponding black area S'.

この場合、補間点Pかどの頂点に囲まれる三角形に含ま
れているかが求められ、その三角形の頂点と補間点Pに
よって分割されて形成された領域の面積が算出されたの
ち、補間点P′が算出される。
In this case, it is determined which of the vertices of the interpolation point P is included in the triangle, and the area of the area divided by the vertices of the triangle and the interpolation point P is calculated, and then the interpolation point P' is calculated.

例えば、図示のように、補間点Pが頂点B、  C。For example, as shown in the figure, interpolation point P is vertices B and C.

Dによって形成される三角形内に含まれるときには、頂
点B、  C,Dと補間点Pによて分割されて形成され
た領域の面積α、β、rが算出される。
When included in the triangle formed by D, the areas α, β, and r of the area divided by the vertices B, C, and D and the interpolation point P are calculated.

そして、補間点P′は次式によって算出される。Then, the interpolation point P' is calculated by the following equation.

P’ =aB’+βC′+γD′ 拳eφ(3)このよ
うに、二次元の場合、3回の乗算累積処理によって補間
点P′を算出できる。
P' = aB' + βC' + γD' fist eφ (3) In this way, in the case of two dimensions, the interpolation point P' can be calculated by three multiplication accumulation processes.

第12図は三次元での補間処理の例である。FIG. 12 is an example of three-dimensional interpolation processing.

頂点A−Hで構成される基本格子に対して、1点鎖線に
よって計6個の五角錐が形成される。補間点Pはこの基
本格子内に存在するから、どの五角錐に含まれているか
が求められる。
A total of six pentagonal pyramids are formed by one-dot chain lines for the basic lattice composed of vertices A-H. Since the interpolation point P exists within this basic lattice, it is determined in which pentagonal pyramid it is included.

例えば、頂点A〜Hの座標が図のような値で、補間点P
の座標がP(5,1,2)であるときには、この補間点
Pは第13図Aに示すように頂点A、  B、  C,
Gによって形成される五角錐Tに含まれることが判る。
For example, if the coordinates of vertices A to H are as shown in the figure, the interpolation point P
When the coordinates of are P (5, 1, 2), this interpolation point P is the vertices A, B, C, as shown in FIG.
It can be seen that it is included in the pentagonal pyramid T formed by G.

同図Bはこの五角錐Tに関連した表色系を示している。Figure B shows a color system related to this pentagonal pyramid T.

A′〜G′はそれぞれA−Gに対応するものとすれば、
補間点P′もこの3角tlT’内に存在する。
If A' to G' correspond to A to G, respectively,
The interpolation point P' also exists within this triangle tlT'.

この五角錐Tが決定されると、次に同図Aに示すように
、補間点Pと頂点A、  B、  C,Gとが結ばれて
、計4個の新たな五角錐が形成され、それぞれの体積V
 BCGP、  V ACGP、  V ABCP、 
 V ABCPが求められる。これらの体積V 8CG
P、  V ACGP、  V ABGP。
Once this pentagonal pyramid T is determined, the interpolation point P and the vertices A, B, C, and G are connected to form a total of four new pentagonal pyramids, as shown in A in the same figure. Each volume V
BCGP, V ACGP, V ABCP,
V ABCP is required. These volumes V 8CG
P, V ACGP, V ABGP.

V ABCPと、同図B(7)表色系の頂点A’ 、B
’ 、C’G′とから、補間点P′が次式によって算出
される。なお、V ABCGは五角錐Tの体積である。
V ABCP and the vertices A' and B of the color system B (7) in the same figure
', C'G', the interpolation point P' is calculated by the following equation. Note that V ABCG is the volume of the pentagonal pyramid T.

P’ = 1/VABCG(VBCGP−A’+VAC
GP−B’ +VABGP−C’ +VABCP−G’
 )補間点Pの座標が異なれば、使用する五角錐Tも異
なることになる。補間点Pの座標が、P(3゜1.6)
であったときには、この補間点Pは第14図に示すよう
に頂点A、  C,D、  Gによって形成される五角
錐Tに含まれるので、この五角錐Tが使用される。
P' = 1/VABCG (VBCGP-A'+VAC
GP-B'+VABGP-C'+VABCP-G'
) If the coordinates of the interpolation point P differ, the pentagonal pyramid T used will also differ. The coordinates of the interpolation point P are P(3°1.6)
When this is the case, this interpolation point P is included in the pentagonal pyramid T formed by the vertices A, C, D, and G as shown in FIG. 14, so this pentagonal pyramid T is used.

このように、三次元の場合、4回の乗算累積処理によっ
て補間点P′を算出できる。
In this way, in the case of three dimensions, the interpolation point P' can be calculated by performing multiplication and accumulation processing four times.

第15図はこのような補間処理が行なわれるカラーマス
キング装置10の一例である。
FIG. 15 shows an example of a color masking device 10 in which such interpolation processing is performed.

端子11R,IIG、IIBに供給される例えば8ビツ
トの入力信号R,G、  Bは、それぞれラッチ回路1
2R,12G、12Bに供給されてう・ンチされる(第
16図A、D)。
For example, 8-bit input signals R, G, and B supplied to terminals 11R, IIG, and IIB are respectively input to the latch circuit 1.
It is supplied to 2R, 12G, and 12B and is punched (Fig. 16A, D).

この場合、端子14に供給される基準クロックCLK 
(同図B)は4道カウンタ16に供給される。この4道
カウンタ15の2ビツトのカウント出力(同図C)は、
上位ビットおよび下位ビットに分離され、上位ビットの
信号が第1のラッチパルス(同図E)としてラッチ回路
12R,12G。
In this case, the reference clock CLK supplied to the terminal 14
(B in the figure) is supplied to the four-way counter 16. The 2-bit count output of this 4-way counter 15 (C in the same figure) is
The latch circuits 12R and 12G are separated into an upper bit and a lower bit, and the signal of the upper bit is used as a first latch pulse (E in the figure).

12Bに供給される。12B.

ラッチ回路12R,12G、12Bからのラッチ出力は
、それぞれ補間処理において使用される五角錐を特定す
るため、上位5ビツトと下位3ビツトに分離される。こ
の場合、上位5ビツトは入力信号R,G、  Bで決ま
る補間点Pが含まれる基本格子の頂点の基準点く基準格
子点)(第12図では頂点A)を表し、下位3ビツトは
補間点Pの基本格子内の位置を表すものとなる。つ決り
、この例では、基本格子内はそれぞれの方向に8等分さ
れ、基本格子の頂点閏の補間点数が7の場合を示してい
る。
The latch outputs from the latch circuits 12R, 12G, and 12B are separated into upper 5 bits and lower 3 bits in order to specify the pentagonal pyramid used in the interpolation process. In this case, the upper 5 bits represent the reference lattice point of the vertex of the basic lattice that includes the interpolation point P determined by the input signals R, G, and B (vertex A in Fig. 12), and the lower 3 bits represent the interpolation point P. It represents the position of point P within the basic grid. In this example, the basic lattice is divided into eight equal parts in each direction, and the number of interpolation points at the vertex of the basic lattice is seven.

下位3ビツトの信号は厖り分は手段として機能するRO
M17に供給される。このROM17には4道カウンタ
16からの2ビットのカウント出力(第181!IE、
F)も供給される。このROM17では、下位3ビツト
の信号に基づいて、補間点Pが基本格子の頂点で形成さ
れる計6個の五角錐のうちのどれに含まれるかが判断さ
れ、このROM17からはその五角錐を形成する頂点を
特定するための係り分は信号が順次出力される。
The lower 3 bits of the signal are the RO which functions as a means.
It is supplied to M17. This ROM 17 contains the 2-bit count output from the 4-way counter 16 (181st! IE,
F) is also supplied. In this ROM 17, it is determined which of the six pentagonal pyramids formed by the vertices of the basic lattice the interpolation point P is included in based on the signal of the lower 3 bits, and from this ROM 17, the information of the pentagonal pyramid is determined. Signals are sequentially output for identifying the vertices forming the .

例えば、補間点Pの座標が、P (15,1,2)であ
るときは、この補間点Pを含む基本格子の頂点A−Hの
座標は、第12図に示すように定まる。
For example, when the coordinates of the interpolation point P are P (15, 1, 2), the coordinates of the vertices A-H of the basic lattice including this interpolation point P are determined as shown in FIG.

次に、この基本格子の頂点A−Hで形成される計6個の
五角錐のうちのどれに補間点Pが含まれるかが求められ
、第13図Aの五角錐Tが特定される。この五角錐Tは
、頂点A、  B、  C,Gによって形成される。
Next, it is determined which of the six pentagonal pyramids formed by vertices A to H of this basic lattice includes the interpolation point P, and the pentagonal pyramid T in FIG. 13A is specified. This pentagonal pyramid T is formed by vertices A, B, C, and G.

A(0,0,0) B  (8,0,0) C(8,0,8) G  (8,8,8) この場合、頂点Aを基準にIJで、X方向に基本格子r
l’ll(ビット「1」の信号であって、これは8量子
化レベルに相当する)だけ移動すれば頂点Bが特定され
、また、頂点Aを基準にして、XおよびZ方向にそれぞ
れ基本格子間隔だけ移動すれば頂点Cが特定され、ざら
に、頂点Aを基準にして、X、  YおよびZ方向にそ
れぞれ基本格子間隔だけ移動すれば頂点Gが特定される
A (0,0,0) B (8,0,0) C (8,0,8) G (8,8,8) In this case, with the vertex A as the reference, IJ, the basic lattice r in the X direction
Vertex B can be identified by moving by l'll (signal with bit "1", which corresponds to 8 quantization levels), and with respect to vertex A, basic movement in the X and Z directions, respectively. Vertex C is specified by moving by a grid interval, and roughly speaking, vertex G is specified by moving by a basic grid interval in each of the X, Y, and Z directions with vertex A as a reference.

そのため、頂点A、  B、  C,Gによって形成さ
れる三角!ITを特定するため、ROM17の出力端子
a、  b、  cからは、次のような掘り分は信号が
4道カウンタ15の2ビ・ントのカウント出力に基づい
て順次出力される。
Therefore, the triangle formed by vertices A, B, C, and G! In order to identify IT, the following signals are sequentially output from the output terminals a, b, and c of the ROM 17 based on the 2-bit count output of the four-way counter 15.

(0,0,0) (1,0,0) (1,0,1) (1,1,1) この掘り分は信号は加算器18R,18G、  18B
に供給されて上位5ビツトの信号に加算されて頂点A、
  B、  C,Gが算出され、これにより五角錐Tが
特定される。
(0,0,0) (1,0,0) (1,0,1) (1,1,1) This digging signal is sent to adders 18R, 18G, 18B
and is added to the upper 5 bits of the signal to form the vertex A,
B, C, and G are calculated, and the pentagonal pyramid T is specified.

つまり、最初の掘り分は信号は(0,O,O’)である
から、これを基準格子点(0,0,0>に加算しても位
置は移動せず、頂点Aが特定される。
In other words, the signal for the first digging is (0, O, O'), so even if this is added to the reference grid point (0, 0, 0>), the position does not move and vertex A is specified. .

次の掘り分は信号は(1,0,0)であるから、これを
基準格子点(0,0,O)に加算すると(1、0,0)
  (量子化レベルでは(8゜0.0))となり、頂点
Bが特定される。次の厖り分は信号は(1゜0,1)で
あるから、これを基準格子点(0,0,O)に加算する
と(1,0,1)  (量子化レベルでは(8,0,8
))となり、頂点Cが特定される。さらに、次の躍り分
は信号はく1゜l、1)であるから、これを基準格子点
CO,O。
The signal for the next digging portion is (1, 0, 0), so adding this to the reference grid point (0, 0, O) yields (1, 0, 0)
((8°0.0) at the quantization level), and vertex B is specified. The signal for the next portion is (1°0, 1), so adding this to the reference grid point (0, 0, O) gives (1, 0, 1) (at the quantization level (8, 0 ,8
)), and the vertex C is specified. Furthermore, since the next jump is the signal wave 1°l, 1), this is set as the reference grid point CO,O.

0)に加算すると(1,1,1)  (量子化レベルで
は(8,8,8))となり、頂点Gが特定される。
0), it becomes (1, 1, 1) ((8, 8, 8) at the quantization level), and the vertex G is specified.

また、例えば補間点Pの座標が、P(3,1゜5)であ
るときは、補間点Pが含まれろ五角錐Tは第14図に示
すようになる。そのため、頂点A。
Further, for example, when the coordinates of the interpolation point P are P (3, 1° 5), the pentagonal pyramid T that includes the interpolation point P becomes as shown in FIG. Therefore, vertex A.

C,D、  Gによフて形成される五角錐Tを特定する
ため、ROM17の出力端子a、  b、  cからは
、次のような振り分は信号が4道カウンタ15の2ビツ
トのカウント出力に基づいて順次出力される。
In order to specify the pentagonal pyramid T formed by C, D, and G, the following distribution signals are sent from the output terminals a, b, and c of the ROM 17 to the 2-bit count of the 4-way counter 15. Output is performed sequentially based on the output.

(0,0,0) (1,0,1) (0,0,1) (1,1,1) そして、この撮り分は信号は加)EW18R,18G、
18Bに供給されて上位5ビツトの信号に加算されて頂
点A、  C,D、  Gが算出され、これにより3角
錐Tが特定される。
(0,0,0) (1,0,1) (0,0,1) (1,1,1) And for this shot, the signal is added) EW18R, 18G,
18B and added to the upper 5 bit signals to calculate vertices A, C, D, and G, thereby specifying the triangular pyramid T.

また、加算器18R,18G、18Bより出力される五
角錐Tの頂点を特定する信号(第16図H参照)は、そ
れぞれラッチ回路19R,19G。
Further, signals for specifying the vertices of the pentagonal pyramid T outputted from the adders 18R, 18G, and 18B (see FIG. 16H) are sent to latch circuits 19R and 19G, respectively.

19Bに供給されてラッチされる(同図り、これらラッ
チ回路19R,19G、19Bには端子14に供給され
る基準クロックCLKがラッチパルスとして供給される
19B and is latched (in the figure, the reference clock CLK supplied to the terminal 14 is supplied to these latch circuits 19R, 19G, and 19B as a latch pulse.

これらラッチ回路19R,19G、19Bからのラッチ
出力は、イエローY、マゼンタMおよびシアンCに対す
る色修正データ形成手段20Y120Mおよび20Cに
供給されて、それぞれで色修正データY、  Mおよび
Cが形成される。
The latch outputs from these latch circuits 19R, 19G, and 19B are supplied to color correction data forming means 20Y, 120M, and 20C for yellow Y, magenta M, and cyan C, and color correction data Y, M, and C are formed respectively. .

色修正データ形成手段20Yは以下のように構成される
The color correction data forming means 20Y is configured as follows.

すなわち、ラッチ回路19R,i9G、19Bからのラ
ッチ出力は色濃1jlROM21Yに供給されて、異な
る表色系上に三角錐Tを写像したときに得られる新たな
三角錐T′の対応する頂点の座標が参照される。つまり
、この色再現ROM21Yには基本格子の頂点に対応す
るイエローYの色修正データが格納され、これがラッチ
回路19R119G、19Bからのラッチ出力によって
参照されるようになされている。
That is, the latch outputs from the latch circuits 19R, i9G, and 19B are supplied to the color depth 1jlROM 21Y, and the coordinates of the corresponding vertex of the new triangular pyramid T' obtained when the triangular pyramid T is mapped onto a different color system are calculated. is referenced. That is, the color correction data of yellow Y corresponding to the vertices of the basic lattice is stored in this color reproduction ROM 21Y, and this data is referenced by the latch output from the latch circuits 19R119G and 19B.

この色男iJIROM21Yより順次出力される色修正
データ(″116図J)は乗算累積器22Yに供給され
ると共に、この乗算累積@22Yには重み係数ROM3
0よりラッチ回路31を介して重み係数が順次供給され
て乗算累積処理が行なわれる。この乗算累積″W22Y
には端子14に供給される基準クロックCLKが供給さ
れる。
The color correction data (Figure 116J) sequentially outputted from this Amoman iJIROM21Y is supplied to the multiplication accumulator 22Y, and this multiplication accumulation @22Y has a weighting coefficient ROM3.
Weighting coefficients are sequentially supplied from 0 through the latch circuit 31 to perform multiplication and accumulation processing. This multiplication accumulation ``W22Y
A reference clock CLK is supplied to the terminal 14.

この場合、う・ソチ回路12R,12G、12Bからの
ラッチ出力の下位3ビツトの信号は重み係数ROM30
に供給されると共に、この重み係数ROM30には4道
カウンタ15からの2ビツトのカウント出力が供給され
、三角#aTを形成する頂点と補間点Pとで形成される
新たな三角錐の体積によって求められる重み係数が順次
参照される。
In this case, the lower three bits of the latch output signals from the false circuits 12R, 12G, and 12B are stored in the weighting coefficient ROM 30.
At the same time, the weighting coefficient ROM 30 is also supplied with a 2-bit count output from the four-way counter 15, and the volume of the new triangular pyramid formed by the apex forming the triangle #aT and the interpolation point P is The required weighting coefficients are sequentially referenced.

例えば、第13図Aの三角錐Tのときには、次の重み係
数が参照されることになる。
For example, in the case of the triangular pyramid T in FIG. 13A, the following weighting coefficients are referred to.

V BCGP、  V ACGP、  V AflGP
、  V ABCP重み係数ROM30より出力される
重み係数はラッチ回路31でラッチされた後、乗算累積
器22Yに供給されて、次式のような演算処理が実行さ
れる。ラッチ回路31には端子14に供給される基準ク
ロックCLKがラッチパルスとして供給される。
V BCGP, V ACGP, V AflGP
, V ABCP After the weighting coefficient output from the weighting coefficient ROM 30 is latched by the latch circuit 31, it is supplied to the multiplication accumulator 22Y, and the calculation process as shown in the following equation is executed. The reference clock CLK supplied to the terminal 14 is supplied to the latch circuit 31 as a latch pulse.

P’  (Y)=1/VABCG(VBCGP−A’+
VACGP−B′+VA8GP−C’ +VABCP−
c′)第16図には演算処理中のデータを示している。
P'(Y)=1/VABCG(VBCGP-A'+
VACGP-B'+VA8GP-C' +VABCP-
c') Figure 16 shows data during arithmetic processing.

ここに、Mは乗算処理を、Aは累積処理を、Rは丸め処
理を示している。
Here, M indicates multiplication processing, A indicates accumulation processing, and R indicates rounding processing.

乗算累積器22Yからは乗算の都度演算結果が出力され
(第16図N)、この出力はラッチ回路23Yに供給さ
れてラッチされる。そして、このラッチ回路23Yより
最終演算結果が補間データYとして出力される(同図P
)。
The multiplication accumulator 22Y outputs the result of each multiplication (N in FIG. 16), and this output is supplied to the latch circuit 23Y and latched. Then, the final calculation result is outputted from this latch circuit 23Y as interpolated data Y (P
).

二こで、上述した演算処理を所定のタイミングで行なう
ため、論理回路で構成される制御回路40が設けられる
。4進カウンタ15からの2ビツトのカウント出力(同
図E、F)はナンド回路41に供給され、このナンド回
路41の出力(同図G)はラッチ回路43に供給されて
ラッチされる。
Second, in order to perform the above-described arithmetic processing at a predetermined timing, a control circuit 40 composed of a logic circuit is provided. The 2-bit count output (E and F in the figure) from the quaternary counter 15 is supplied to a NAND circuit 41, and the output of this NAND circuit 41 (G in the figure) is supplied to a latch circuit 43 and latched.

このラッチ回路43からのう・ンチ出力(同図L)は累
積用パルスとして乗算累積器22Yに供給される。
The output from the latch circuit 43 (L in the figure) is supplied to the multiplication accumulator 22Y as an accumulation pulse.

また、このラッチ回路43からのラッチ出力はラッチ回
路44に供給され、このラッチ回路44からのラッチ出
力は第2のラッチパルス(同図O)としてラッチ回路2
3Yに供給される。ラッチ回路43゜44には端子14
に供給される基準クロックCLKがラッチパルスとして
供給される。
Further, the latch output from this latch circuit 43 is supplied to a latch circuit 44, and the latch output from this latch circuit 44 is supplied to the latch circuit 2 as a second latch pulse (O in the figure).
Supplied to 3Y. The latch circuit 43°44 has terminal 14
The reference clock CLK supplied to is supplied as a latch pulse.

また、ナンド回路41の出力はインバータ42で位相反
転され、このインバータ42の出力(同図M)は丸め用
パルスとして乗算累積IJ122Yに供給される。
Further, the phase of the output of the NAND circuit 41 is inverted by an inverter 42, and the output of this inverter 42 (M in the figure) is supplied as a rounding pulse to the multiplication accumulation IJ 122Y.

ところで、色男fJIROM21Yとしては、例えば2
56にビット容量のROMが険用され、入力信号R,G
、  Bの最小レベルから最大レベルまでの間の32点
だけ抽出され、これによって、32X32X32=32
768点の色修正データが格納される。
By the way, as a handsome man fJIROM21Y, for example, 2
A bit capacity ROM is used in 56, and the input signals R, G
, only 32 points between the minimum level and the maximum level of B are extracted, thereby 32X32X32=32
Color correction data of 768 points is stored.

この場合、入力信号R,G、  Bは8ビツトであり、
256PM調を有しており、32点の配分は、例えば次
に示すように、0から順に「8」ずつ区切って、 0、 8. 1B、  ・φ・・、240.248の合
計32個となるように等分に行なわれ、33点目上なる
249以上256までは使用されないか、若しくは24
8として扱われる。
In this case, the input signals R, G, and B are 8 bits,
It has a 256PM tone, and the distribution of 32 points is, for example, as shown below, starting from 0 and dividing it into "8" increments, 0, 8. 1B, ・φ..., 240.248, which is divided into equal parts for a total of 32 points, and the 33rd point above 249 and up to 256 are not used, or 24
treated as 8.

このような各配分点の、つまり基本格子間隔が6量子化
レベルである基本格子の頂点の色修正データが正確に算
出され、この算出されたき修正データが色再現ROM2
1Yに格納される。
The color correction data of each of these distribution points, that is, the vertices of the basic lattice whose basic lattice spacing is 6 quantization levels, is accurately calculated, and this calculated correction data is stored in the color reproduction ROM 2.
Stored in 1Y.

また、基本格子間隔が8量子化レベルであるとき、4@
の腫み係数の総計は、 8X8X8/6=512/6 となるが、これが256となるように正規化される。そ
して、重み係数ROM30として、8ビツトの汎用IC
を使用できるように、4回の重み係数の和が常に266
とされると共に、重み係数の最大値は255とされてい
る0例えば、補間点Pが、第12図の頂点Aと同じ位置
にあった場合、重み係数V BCGP、  V ACG
P、  V ABGP、  V A3CPu 次(7)
ようになる、()内は理論値である。
Also, when the basic lattice spacing is 8 quantization levels, 4@
The total swelling coefficient is 8X8X8/6=512/6, which is normalized to 256. Then, as the weighting coefficient ROM 30, an 8-bit general-purpose IC is used.
The sum of the four weighting coefficients is always 266 so that
For example, if the interpolation point P is at the same position as the vertex A in FIG. 12, the weighting coefficients V BCGP, V ACG
P, V ABGP, V A3CPu Next (7)
The values in parentheses are theoretical values.

V BCGP、  V ACGP、  V ABGP、
  V A8CP26δ  OO1 (512/6  0   0   0)このように4回
の重み係数の和は常に256となるので、上述せずも、
乗算累積I!!22Yにおける1 / V ABCGの
除算処理は、出力の8ビツトシフトをもって行なわれる
。そして、この場合の丸め処理として、例えば下から8
ビツト目がrl」であるか「0」であるかを判断し、 
「1」であるときには9ビツト目に「l」を加算するこ
とが行なわれる。
V BCGP, V ACGP, V ABGP,
V A8CP26δ OO1 (512/6 0 0 0) In this way, the sum of the four weighting coefficients is always 256, so even if it is not mentioned above,
Multiplication accumulation I! ! The division process of 1/V ABCG in 22Y is performed by shifting the output by 8 bits. In this case, the rounding process is, for example, 8 from the bottom.
Determine whether the bit is “rl” or “0”,
When it is "1", "l" is added to the 9th bit.

なお、説明は省略するが、色修正データ形成手段20M
、20Cも上述した色修正データ形成手段20Yと同様
に構成されて、補間データM、  Cが出力される。
Although the explanation is omitted, the color correction data forming means 20M
, 20C are configured similarly to the color correction data forming means 20Y described above, and output interpolated data M and C.

[発明が解決しようとするi!I!I]ところで、第1
5図例においては、8ビツト266階調の入力信号R,
G、  Bの最小レベルから最大レベルまでの間の32
点だけ抽出されて、その点の色修正データが色画pAR
OM21Yに格納されるものであり、32点の配分は、
Oから順にr8」ずつ区切って、 0、 8. 16.−やΦ・、240.248の合計3
2個となるように等分に行なわれ、33点目となる24
9以上255までは使用されないか、若しくは248と
して扱われるものである。
[The invention attempts to solve i! I! I] By the way, the first
In the example in Fig. 5, the input signal R of 8 bits and 266 gradations is
32 between the minimum and maximum levels of G and B
Only a point is extracted, and the color correction data of that point is a color image pAR.
It is stored in OM21Y, and the distribution of 32 points is as follows.
Starting from O, divide by r8'', 0, 8. 16. - and Φ・, 240.248 total 3
It is divided equally into two pieces, and the 33rd point is 24.
Numbers from 9 to 255 are not used or are treated as 248.

この場合、32は2のべき乗で表されるので、色修正デ
ータ数も2のべき乗となり、色画Ijl R0M21Y
の容量を効率よく利用できるが(一般にメモリは2のべ
き乗バイトの容量を有する)、入力信号R,G、  B
のうち249以上255の部分は、補間処理されないか
、若しくは補間処理されたとしても正しく行なわれない
という欠点がある。
In this case, since 32 is expressed as a power of 2, the number of color correction data is also a power of 2, and the color image Ijl R0M21Y
(memory generally has a capacity of power of 2 bytes), but the input signals R, G, B
Of these, the portions 249 to 255 have the disadvantage that they are not interpolated or are not correctly interpolated even if they are interpolated.

そこで、この発明では、メモリ容量を効率よく利用でき
るようにすると共に、入力信号に対する補間処理が正し
く行なわれるようにした色分解画儂鳩正装置を提供する
ことを目的とするものである。
SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide a color separation image correction apparatus that allows efficient use of memory capacity and correctly performs interpolation processing on input signals.

[i!題を解決するための手段] この発明は、色補正すべく入力され得るn色分解画像デ
ータ(nは2以上の整数)により形成される色空間を複
数の基本格子に分割し、その頂点に位置する上記n色分
解画像データに対する色修正データを有するデータ記憶
手段と、 入力されるn色分解画像データに基づいて上記データ記
憶手段より選択される色修正データのそれぞれに対する
重み係数を発生させる重み係数発生手段と、 上記入力されるn色分解画像データに基づいて上記デー
タ記憶手段より選択される色修正データおよび上記重み
係数発生手段より発生される重み係数の乗算累積処理に
よって修正された色分解画■データを出力する処理手段
とを具備するものにおいて、 上記入力されるn色分解画像データをそれぞれNビット
 基本格子間隔をM量子化1ノヘル、2L=Nとすると
き、 (2桝−1)/M+1=2L (ただし、N、  M、  Lは!1数)を満足するよ
うにしたものである。
[i! Means for Solving the Problem] This invention divides a color space formed by n color separation image data (n is an integer of 2 or more) that can be input for color correction into a plurality of basic grids, and data storage means having color correction data for the n-color separation image data located therein; and weights for generating weighting coefficients for each of the color correction data selected from the data storage means based on the input n-color separation image data. coefficient generating means; and color separations modified by multiplication and accumulation processing of color correction data selected from the data storage means based on the input n color separation image data and weighting coefficients generated by the weighting coefficient generating means. When the input n color separation image data is each N bits, the basic lattice spacing is M quantization 1 noher, and 2L=N, (2 squares - 1 )/M+1=2L (where N, M, and L are !1 numbers).

[作 用] 上述構成においては、入力信号がNヒツトで2N階調を
有するものであるとき、Oから順にrM」ずつ区切られ
、 0、  M、  2M、  ・ゆ・、2M−1の合計2
(個となるように等分に配分される。例えば、入力信号
が8ビツトで28=256PJ調を有するものであると
き、0から順に「17」ずつ区切られ、 0.1?、34.争−−9255 の合計16個となるように等分に配分される。そして、
この配分点の色修正データがデータ記憶手段に格納され
る。
[Function] In the above configuration, when the input signal has N hits and 2N gradations, it is divided into rM'' units starting from O, and the total of 2 is 0, M, 2M, ・yu・, 2M−1.
For example, if the input signal is 8 bits and has a 28=256 PJ tone, it is divided into 17 pieces starting from 0, 0.1?, 34. --9255 will be equally distributed for a total of 16 pieces.And,
Color correction data for this distribution point is stored in the data storage means.

したがって、色修正データ数は2のべき乗となり、デー
タ記憶手段の容量を効率よく利用できるようになる。ま
た、入力信号の全ての階調が等分に配分され、入力信号
で使用されない部分、若しくは他の値とみなされて処理
される部分は生じなくなる。
Therefore, the number of color correction data becomes a power of 2, and the capacity of the data storage means can be used efficiently. Furthermore, all the gradations of the input signal are equally distributed, and there are no unused portions of the input signal or portions that are treated as other values and processed.

[実 施 例] 以下、11図を参照しながら、この発明の一実施例につ
いて説明する。
[Example] Hereinafter, an example of the present invention will be described with reference to FIG. 11.

本例は入力信号がイエローY、マゼンタM、シアンC,
スミK、出力信号が赤R1緑G、青Bであるカラーマス
キング装置の例である。
In this example, the input signals are yellow Y, magenta M, cyan C,
This is an example of a color masking device in which the output signals are Red R, Green G, and Blue B.

同図において、端子51Y、51M、51C。In the figure, terminals 51Y, 51M, and 51C.

51Kに供給される8ビツトの入力信号Y、  M。8-bit input signals Y, M are supplied to the 51K.

C,Kは、それぞれラッチ回路δ2Y、52M。C and K are latch circuits δ2Y and 52M, respectively.

52C,152Kに供給されてラッチされる。It is supplied to 52C and 152K and latched.

この場合、端子63に供給される基準クロックCL K
は6道カウンタ54に供給される。この5進カウンタ6
4の上位1ビ・ントの信号は、ラッチパルスとしてラッ
チ回路52Y〜52Kに供給される。
In this case, the reference clock CLK supplied to the terminal 63
is supplied to the six-way counter 54. This quinary counter 6
The signal of the upper 1 bit of 4 is supplied to latch circuits 52Y to 52K as a latch pulse.

これらラッチ回路52Y〜52にの出力は、それぞれ1
憶データおよび下位データに掘り分けるためのROM5
5Y〜55Kに供給される。これらR0M55 Y〜5
5Kからは、それぞれラッチ回路52Y〜52にの出力
が「17」で割算されたときの商が4ビツトで出力され
ると共に、その余りが6ビツトで出力される。
The output of each of these latch circuits 52Y to 52 is 1
ROM5 for digging into storage data and lower-level data
Supplied to 5Y to 55K. These R0M55 Y~5
From 5K, when the outputs to the latch circuits 52Y to 52 are divided by 17, the quotient is output as 4 bits, and the remainder is output as 6 bits.

つまり、本例において、入力1言号Y、  M、  C
That is, in this example, one input word Y, M, C
.

Kはそれぞれ8ビツトで211=256階調を有するも
のであり、Oから順に「17」ずつ区切られ、配分点(
基本格子の頂点)が、 0、 1?、  34.  ・骨・、  2155の合
計16個となるようにされる。これにより基本格子(超
立方体)のそれぞれの方向の間隔は17量子化レベルと
なり、それぞれの方向の頂点間の補間点数は16となる
Each K is 8 bits and has 211=256 gradations, and is divided into "17" units starting from O, and the distribution point (
The vertices of the basic lattice) are 0, 1? , 34.・Bones・, 2155, for a total of 16 pieces. As a result, the interval in each direction of the basic lattice (hypercube) becomes 17 quantization levels, and the number of interpolation points between vertices in each direction becomes 16.

この場合、商である4ビツトの出力は入力信号Y、  
M、  C,Kで決まる補間点Pが含まれる基本格子(
Ml立方体)の頂点の基準点く基準格子点)を表し、余
りである5ビツトの出力は補間点Pの基本搭子内の位置
を表すものとなる。
In this case, the 4-bit output, which is the quotient, is the input signal Y,
A basic grid (
The 5-bit output representing the remainder represents the position of the interpolation point P within the basic lattice.

これらR0M55 Y〜55により出力される6ビツト
の1言号YL、ML、CL、KLは、データ出力装置5
6に供給される。このデータ出力装置5Gには6道カウ
ンタ64からの3ビツトのカウント出力も供給される。
The 6-bit single words YL, ML, CL, and KL outputted by these R0M55Y~55 are sent to the data output device 5.
6. A 3-bit count output from a 6-way counter 64 is also supplied to this data output device 5G.

ところで、後述する色濃y4ROMには基本格子の頂点
の色修正データのみが格納されており、補間処理が行な
われるが、本例においては4入力であり、4次元の補間
処理となる。この場合、補間処理時間の短縮化を図るた
め、最小限の頂点数となる起工角錐を利用して補間処理
が行なわれる。
Incidentally, the color density y4ROM, which will be described later, stores only color correction data for the vertices of the basic grid and performs interpolation processing, but in this example there are four inputs, resulting in four-dimensional interpolation processing. In this case, in order to shorten the interpolation processing time, the interpolation processing is performed using the construction pyramid having the minimum number of vertices.

ここで、基本格子く超立方体)に対して、計24mの起
工角錐が形成される。この基本格子が、第2図に示すよ
うな16個の頂点の座標(X、Y。
Here, a total of 24 m of erected pyramids are formed for the basic lattice (hypercube). This basic lattice has the coordinates (X, Y) of 16 vertices as shown in FIG.

Z、A)で形成されるとき、24個の起工角錐の頂点の
座標(X、  Y、  Z、  A)は、それぞれ第3
図に示すようになる。
Z, A), the coordinates (X, Y, Z, A) of the vertices of the 24 erected pyramids are the third
The result will be as shown in the figure.

そして、補間点Pの座標(x、  y、  Z+  a
)であるとき、それぞれの起工角錐における5個の重み
係数は、第3図に示すようになる。この重み係数は、そ
れぞれの起工角錐の超体積を1に正規化した場合の補間
点Pとそれぞれの起工角錐の頂点が結ばれて形成される
5個の起工角錐の体積である。
Then, the coordinates of the interpolation point P (x, y, Z+ a
), the five weighting coefficients for each erecting pyramid are as shown in FIG. This weighting factor is the volume of the five laying pyramids formed by connecting the interpolation point P and the apex of each laying pyramid when the hypervolume of each laying pyramid is normalized to 1.

補間点Pが24個の起工角錐のどれに含まれるかは、重
み係数が全て正になるところを調べることで判定できる
It can be determined in which of the 24 construction pyramids the interpolation point P is included by checking where the weighting coefficients are all positive.

データ出力装置56では、信号YL、  Ml、、  
CL、KLに基づいて、補間点Pが基本格子の頂点で形
成される24個の起工角錐のうちのどれに含まれるかが
判断される。そして、このデータ出力装置56からはそ
の起工角錐を形成する頂点を特定するための掘り分は信
号が順次出力される。
The data output device 56 outputs signals YL, Ml, .
Based on CL and KL, it is determined in which of the 24 construction pyramids formed by the vertices of the basic lattice the interpolation point P is included. The data output device 56 sequentially outputs signals for digging to specify the vertices forming the construction pyramid.

第41!Iはデータ出力装置56の具体構成例を示すも
のである。
41st! I indicates a specific configuration example of the data output device 56.

同図において、ROM55Y、55M、55C。In the same figure, ROM55Y, 55M, and 55C.

65■(より供給される信号YL、ML、CL、にLは
、選択的にコンパレータ571〜576に供給される。
65 (signals YL, ML, CL, and L are selectively supplied to comparators 571 to 576).

コンパレータ571ではYL−ML≧Oを満足するかが
、コンパレータ672ではYL−CL≧O1i:満足す
るかが、コンパレータ573ではYL−KL≧0を満足
するかが、コンパレータ674ではML−CL≧0を満
足するかが、コンパレータ676ではML−KL≧Oを
満足するかが、コンパレータ576ではCL−KL孟0
を満足するかがそれぞれ判断され、満足するときには高
レベル“l”の信号が出力され、満足しないときには低
レベル“0”の信号が出力される。
The comparator 571 determines whether YL-ML≧O is satisfied, the comparator 672 determines whether YL-CL≧O1i: is satisfied, the comparator 573 determines whether YL-KL≧0 is satisfied, and the comparator 674 determines whether ML-CL≧0. The comparator 676 determines whether ML−KL≧O is satisfied, and the comparator 576 determines whether CL−KL 0
It is determined whether the above conditions are satisfied, and when the conditions are satisfied, a high level "1" signal is output, and when the conditions are not satisfied, a low level "0" signal is output.

これらコンパレータ1571〜576の出力は、補間点
Pが含まれる二角錐を判定す3ためのROM58に供給
される。補間点Pが24個の起工角錐のどれに含まれる
かは、上述したように、重み係数が全て正になるところ
を調べればよく、これを利用してROM58には予め判
定データが格納される。W4えば、補間点Pが第3図に
おける陽4の起工角錐に含まれるときには、コンパレー
タ572.576の出力が高レベル“1” コンパレー
タ576の出力が低レベル“θ″″となり、ROM58
では補間点PがNa4の起工角錐に含まれると判定され
る。
The outputs of these comparators 1571 to 576 are supplied to the ROM 58 for determining the diagonal pyramid in which the interpolation point P is included. As mentioned above, to determine which of the 24 construction pyramids the interpolation point P is included in, it is sufficient to check where the weighting coefficients are all positive, and using this, determination data is stored in the ROM 58 in advance. . W4 For example, when the interpolation point P is included in the laying pyramid of positive 4 in FIG.
In this case, it is determined that the interpolation point P is included in the construction pyramid of Na4.

ROM58からの判定結果出力は振り分は信号を出力す
るためのROMl59に供給される。このROM59に
は5道カウンタ54からの3ビツトのカウント出力も供
給される。そして、このROM59からはROM58で
判定された起工角錐を形成する5個の頂点を特定するた
めの躍り分は信号が、カウント出力に応じて順次出力さ
れる。
The determination result output from the ROM 58 is supplied to a ROM 159 for outputting a signal. The 3-bit count output from the 5-way counter 54 is also supplied to this ROM 59. Then, the ROM 59 sequentially outputs signals for identifying the five vertices forming the construction pyramid determined by the ROM 58 in accordance with the count output.

例えば、補間点pが第3図における階4の起工角錐に含
まれるときには、ROM59の出力端子からは、第6図
に示すような係り分は信号(y。
For example, when the interpolation point p is included in the laying pyramid of floor 4 in FIG. 3, the output terminal of the ROM 59 outputs a signal (y) as shown in FIG.

nL  C,k)が、カウント出力に基づいて順次出力
される。
nL C,k) are sequentially output based on the count output.

この振り分は信号(y、  m、  c、  lc)は
加算器60Y、60M、80C,80Kに供給されて、
ROM55Y、56M、55C055Kより出力される
4ビツトの信号Y H、M H、CH、K Hに順次加
算され、これにより補間点Pが含まれる起工角錐の5個
の頂点が特定される。
The distributed signals (y, m, c, lc) are supplied to adders 60Y, 60M, 80C, 80K,
It is sequentially added to the 4-bit signals YH, MH, CH, and KH output from the ROMs 55Y, 56M, and 55C055K, thereby specifying the five vertices of the laying pyramid that include the interpolation point P.

また、加算1160Y、60M、60C,80により出
力される起工角錐の5giの頂点を特定を名信号は、そ
れぞれう・ソチ回路61Y。61M、61C061■(
に順次供給されてラッチされる。これらラッチ回路61
Y、IBIM、61C,61Kには、端子53に供給さ
れる基準クロックCLKがラッチパルスとして供給され
る。
In addition, the signals outputted by adders 1160Y, 60M, 60C, and 80 for specifying the 5gi apex of the erecting pyramid are U-Sochi circuit 61Y, respectively. 61M, 61C061■(
are sequentially supplied and latched. These latch circuits 61
The reference clock CLK supplied to the terminal 53 is supplied to Y, IBM, 61C, and 61K as a latch pulse.

これらラッチ回路81Y、81M、61C,61Kから
のラッチ出力は、R,G、  Bに対する色修正データ
形成手段82R,82G、62Bに供給されて、それぞ
れで色修正データR,G、  Bが形成される。
The latch outputs from these latch circuits 81Y, 81M, 61C, and 61K are supplied to color correction data forming means 82R, 82G, and 62B for R, G, and B, and color correction data R, G, and B are formed respectively. Ru.

色修正データ形成手段62Rは以下のように構成される
The color correction data forming means 62R is configured as follows.

スナワチ、ラッチl1ga61Y、61M、610゜6
1Kからのラッチ出力は色濃fjl ROM 83 R
に供給される。この色濃Tj!R0M63 Rには、基
本格子の頂点に対応するRの色修正データが格納されて
おり、これカラッチ回fa61Y、61M、6IC,6
1Kからのラッチ出力によって参照される。
Sunawachi, latch l1ga61Y, 61M, 610°6
The latch output from 1K is dark fjl ROM 83 R
is supplied to This dark Tj! R0M63 R stores the color correction data of R corresponding to the vertices of the basic grid, and this
Referenced by the latch output from 1K.

この色再現ROM83Rより順次出力される色修正デー
タは乗算累積器6゛4Rに供給されると共に、この乗算
累積器84RにはIみ係数が順次供給されて乗算累積器
Iが行なわれる。
The color correction data sequentially outputted from the color reproduction ROM 83R is supplied to the multiplication accumulator 6'4R, and the I coefficient is sequentially supplied to the multiplication accumulator 84R to perform the multiplication accumulator I.

つまり、この乗算累積器84Rでは、順次供給される色
修正データをR1〜R5、重み係数をVl〜■5とする
とき、次の演算が行なわれる。
That is, in this multiplier/accumulator 84R, when the color correction data sequentially supplied are R1 to R5 and the weighting coefficients are V1 to 5, the following calculation is performed.

RI Vl +R2V2 +R3V3 十R4V4 +R5V5 この乗算累積器64Hには、コントローラ7゜より乗算
処理、累積処理等に必要な制御信号が供給される。なお
、コントローラ7oには5道カウンタ64からの3ビツ
トのカウント(言号および端子53からの基準クロック
CLKが供給される。
RI Vl +R2V2 +R3V3 +R4V4 +R5V5 A control signal necessary for multiplication processing, accumulation processing, etc. is supplied from the controller 7° to this multiplier accumulator 64H. The controller 7o is supplied with a 3-bit count (words) from a five-way counter 64 and a reference clock CLK from a terminal 53.

この乗算累積器64Rからの出力は割算器65Rで17
17とされた後ラッチ回路66Rに供給される。そして
、このラッチ回路66Rより最終演算結果が補間データ
Rとして出力される。
The output from the accumulator 64R is converted to 17 by the divider 65R.
17 and then supplied to the latch circuit 66R. The final calculation result is output as interpolated data R from this latch circuit 66R.

割算器65Rで1/17とするのは、後述するように5
個の重み係数Vl〜■5の和が17とされているためで
ある。なお、ラッチ回路66Hにはコントローラ70よ
り乗算累積処理が行なわれるごとにラッチパルスが供給
される。
The divider 65R divides it into 1/17 by using 5 as described below.
This is because the sum of the weighting coefficients Vl to 5 is 17. Note that a latch pulse is supplied to the latch circuit 66H from the controller 70 every time a multiplication and accumulation process is performed.

また、乗算累積1164Rへの重み係数の供給は以下の
ようにして行なわれる。
Furthermore, the weighting coefficients are supplied to the multiplication accumulation 1164R as follows.

すなわち、ROM55Y、55M、55C,55により
出力される6ビツトの1N号YL、  ML。
That is, 6-bit 1N numbers YL and ML output from the ROMs 55Y, 55M, 55C, and 55.

C1,、、KLはセレクタ71お上り72に供給される
。これらセレクタ71および72には、データ出力装置
δ6より、補間点Pが含まれる紐玉角錐に応した2ビツ
トのセレクト信号S1およびS2がそれぞれ供給される
C1, . . . KL are supplied to the selector 71 and upstream 72. These selectors 71 and 72 are supplied with 2-bit select signals S1 and S2, respectively, corresponding to the string ball pyramid in which the interpolation point P is included, from the data output device δ6.

つまり、第4図に示すように、ROM5Bからの判定結
果出力はセレクト18号を出力するためのROM73に
供給され、このROM73からは補間点Pが含まれる紐
玉角錐に応じた2ビツトのセレクト信号S1およびS2
が、カウント出力に対応して順次出力される。
In other words, as shown in FIG. 4, the determination result output from the ROM 5B is supplied to the ROM 73 for outputting select number 18, and from this ROM 73, a 2-bit select signal corresponding to the string ball pyramid containing the interpolation point P is output. Signals S1 and S2
are sequentially output in response to the count output.

例えば、補間点Pが第3図におけるNa4の紐玉角錐に
含まれるとき、カウント出力に対応して順次出力される
セレクト18号S1およびS2は、それぞれセレクタ7
1および72で、第51!Iに示すような信号を選択す
るように制御するものとなる。
For example, when the interpolation point P is included in the string ball pyramid of Na4 in FIG.
1 and 72, the 51st! The signal shown in I is controlled to be selected.

ここで、第3図におけるx、  y、  z、  aは
それぞれYL、ML、CL、Kl、に対応しており、ま
た、同図における「1」は「17」に対応するものとな
る。つまり、本例においては、6個の重み係数の和は1
7どなる。
Here, x, y, z, and a in FIG. 3 correspond to YL, ML, CL, and Kl, respectively, and "1" in the same figure corresponds to "17". In other words, in this example, the sum of the six weighting coefficients is 1
7. Howl.

また、セレクタ71の出力A Lおよびセ1ツクタフ2
の出力BLは重み係数演算器74に供給される。この重
み係数演算器74には5進カウンタ54からの3ビツト
のカウント出力も供給される。
In addition, the output A L of the selector 71 and the selector 2
The output BL is supplied to a weighting coefficient calculator 74. The weighting factor calculator 74 is also supplied with a 3-bit count output from the quinary counter 54.

この這み係数演算器74からは、カウント出力に対応し
て以下の演算結果が重み係数として出力される。
The creep coefficient calculator 74 outputs the following calculation results as weighting coefficients in response to the count output.

すなわち、カウント出力が「000」のときには17−
A、L、  rool」〜rQ11JのときにはAL−
BL、r 100J ノド1ニハAL 力出力される。
That is, when the count output is "000", 17-
A, L, rool" - AL- when rQ11J
BL, r 100J throat 1 Niha AL force is output.

例えば、補間点Pが第3図におけるNa4の紐玉角錐に
含まれるとき、重み係数演算器74からは、第6図に示
すようにカウント出力に対応して重み係数が出力される
For example, when the interpolation point P is included in the string ball pyramid of Na4 in FIG. 3, the weighting factor calculator 74 outputs a weighting factor in response to the count output as shown in FIG.

この重み係数演算器74より出力される重み係数はラッ
チ回路76でラッチされた後、乗算累積器64Rに供給
されて、上述したように乗算累積処理が行なわれる。ラ
ッチ回路75には端子53からの基準クロックCLKが
ラッチパルスとして供給される。
The weighting coefficient output from the weighting coefficient calculator 74 is latched by the latch circuit 76, and then supplied to the multiplication accumulator 64R, where the multiplication and accumulation processing is performed as described above. The reference clock CLK from the terminal 53 is supplied to the latch circuit 75 as a latch pulse.

なお、説明は省略するが、色目正データ形成手段62G
、62Bも同様に構成されて、補間データG、  Bが
出力される。
Although the explanation is omitted, the color correction data forming means 62G
, 62B are similarly configured and output interpolated data G and B.

このように本例においては、入力1g号が8ビツトで2
M =256111調を有するものであり、0′b)ら
順に「17ノずつ区切られ、 0、 1?、  34.  ・−−,255の合計16
個となるように等分に配分され、この配分点の色修正デ
ータが色濃Kit ROMに格納される、したがって、
色修正データ数は2のべき乗となり、色濃fj! RO
Mの容量を効率よく利用することができる。
In this way, in this example, the input number 1g is 8 bits and 2
M = 256111 keys, divided into 17 notes in order from 0'b), 0, 1?, 34. --, 255, totaling 16
The color correction data of this distribution point is stored in the color depth Kit ROM. Therefore,
The number of color correction data is a power of 2, and the color depth fj! R.O.
The capacity of M can be used efficiently.

また、入力信号の全ての階調が等分に配分され、。Also, all gradations of the input signal are distributed equally.

入力信号で使用されない部分、若しくは池の値とみなさ
れて処理される部分は生しなくなるので、常に正しい補
間データを得ることができろ。
Since unused portions of the input signal or portions that are treated as unused values are not generated, it is possible to always obtain correct interpolated data.

また、データ出力装置56は、第4図に示すようにコン
パレータ571〜67.6を用いて構成されるので、R
OMの節約を図ることができる。すなわち、全体をRO
Mで構成する11合には、 (2L X2L X2L 
X2L X23 )個c7) チー 91i:格納する
ROMが必要となり、膨大な容量のROMが必要となる
Furthermore, since the data output device 56 is configured using comparators 571 to 67.6 as shown in FIG.
OM can be saved. In other words, the entire RO
For the 11th case consisting of M, (2L X2L X2L
X2L

なお、上述実施例においては、3個の色修正データ形成
手段62R〜62Bが設けられて、RlG、  Bの補
間処理が並列的に処理されるようにしたものであるが、
色修正データ形成手段を111ilとし、色再現ROM
にR,G、  Bの色修正データをそれぞれ格納し、こ
の色再現ROMより出力される色修正データをR,G、
  Bに順次切り換えて、R,G、  Bの補間処理を
順次に行なうようにしてもよい。
In the above-mentioned embodiment, three color correction data forming means 62R to 62B are provided so that the interpolation processing of RlG and B is processed in parallel.
The color correction data forming means is 111il, and the color reproduction ROM
R, G, and B color correction data are stored in the ROM, and the color correction data output from this color reproduction ROM is converted into R, G, and B color correction data.
Alternatively, the interpolation processing for R, G, and B may be sequentially performed by switching to B sequentially.

また、上述実施例においては、入力信号Y、  M。Furthermore, in the above embodiment, the input signals Y, M.

C,Kが8ビツトで、基本格子間隔を17量子化レベル
とするものを示したが、一般に入力信号がNビットのと
き、基本格子間隔を次式を満足するM量子化レベルとす
ることにより、上述実施例と同様の作用効果を得ること
ができる。ここで、2L=Nであり、N、  M、  
Lは整数である。
Although C and K are 8 bits and the basic lattice spacing is 17 quantization levels, generally when the input signal is N bits, by setting the basic lattice spacing to M quantization levels that satisfy the following formula. , it is possible to obtain the same effects as those of the above-mentioned embodiments. Here, 2L=N, and N, M,
L is an integer.

(2舛−1)/M+1=2L 第7図は、このときのN、  M、  Lの間係を示し
ている。
(2-1)/M+1=2L Figure 7 shows the relationship between N, M, and L at this time.

また、上述実施例は4入力の場合であるが、3入力等そ
の池の場合でも、この発明を同様に適用することができ
る。
Further, although the above-mentioned embodiment is a case of 4 inputs, the present invention can be similarly applied to a case of 3 inputs or the like.

【発明の効果1 以上説明したように、この発明によれば、入力信号がN
ビットで2舛階調を有するものであるとき、Oから順に
l”MJずつ区切られて、合計2L個となるように等分
に配分され、この配分点の色修正データがデータ記憶手
段に格納されるものである。したがって、この発明によ
れば、色修正データ数は2のべき乗となり、データ記憶
手段の容量を効率よく利用することができる。また、入
力信号の全ての階調が等分に配分され、入力信号で使用
されない部分、若しくは池の罐とみなされて処理される
部分は生じなくなるので、補間処理を常に正しく行なう
ことができる。
[Effect of the invention 1] As explained above, according to the present invention, the input signal is N
When the bit has two gradations, it is divided into 1"MJ units starting from O and equally distributed so that the total number is 2L, and the color correction data of this distribution point is stored in the data storage means. Therefore, according to the present invention, the number of color correction data becomes a power of 2, and the capacity of the data storage means can be used efficiently.Furthermore, all the gradations of the input signal are divided into equal parts. Since there are no unused portions of the input signal or portions that are treated as wasteful and processed, interpolation processing can always be performed correctly.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例を示す構成図、第2図〜第
7図はその説明のための図、第8図〜第16図はこの発
明の詳細な説明のための図である。 52Y〜521(,61Y〜61に、   66R,7
5・O−ラッチ回路 54争◆・6道カウンタ 55Y−55に−・データ塩り分は用のROM56・・
・データ出力装置 BOY 〜60 !( 62R〜628 3R 4R 5R 71,72 ・加算器 弗f!!、修正データ形成手段 ・色再現ROM ・乗算累積器 ・割算器 一コントローラ ーセレクタ ・重み係数演算器 データ出力装置の説明図 第5図 重み係数演算器の説明図 第6図
FIG. 1 is a configuration diagram showing an embodiment of the present invention, FIGS. 2 to 7 are diagrams for explaining the same, and FIGS. 8 to 16 are diagrams for explaining the invention in detail. . 52Y~521 (,61Y~61, 66R,7
5. O-latch circuit 54 dispute ◆ 6-way counter 55Y-55 - Data storage is in ROM 56.
・Data output device BOY ~60! (62R~628 3R 4R 5R 71,72 - Adder f!!, correction data forming means - Color reproduction ROM - Multiplication accumulator - Divider - Controller selector - Weighting coefficient calculator Explanatory diagram of data output device No. 5 Figure 6 Explanatory diagram of weighting coefficient calculator

Claims (1)

【特許請求の範囲】[Claims] (1)色補正すべく入力され得るn色分解画像データ(
nは2以上の整数)により形成される色空間を複数の基
本格子に分割し、その頂点に位置する上記n色分解画像
データに対する色修正データを有するデータ記憶手段と
、 入力されるn色分解画像データに基づいて上記データ記
憶手段より選択される色修正データのそれぞれに対する
量み係数を発生させる重み係数発生手段と、 上記入力されるn色分解画像データに基づいて上記デー
タ記憶手段より選択される色修正データおよび上記重み
係数発生手段より発生される重み係数の乗算累積処理に
よって修正された色分解画像データを出力する処理手段
とを具備するものにおいて、 上記入力されるn色分解画像データをそれぞれNビット
とし、基本格子間隔をM量子化レベルとし、2L=Nと
するとき、次式を満足するようにしたことを特徴とする
色分解画像修正装置。 (2^M−1)/M+1=2^L (ただし、N、M、Lは整数)
(1) n color separation image data that can be input for color correction (
n is an integer of 2 or more) into a plurality of basic lattices, and data storage means has color correction data for the n color separation image data located at the vertices of the basic grid, and the input n color separations weighting coefficient generating means for generating weighting coefficients for each of the color correction data selected from the data storage means based on the image data; and processing means for outputting color-separated image data corrected by multiplication and accumulation processing of weighting coefficients generated by the weighting coefficient generation means, wherein the input n-color separation image data is A color separation image correction device characterized in that the following equation is satisfied when each bit is N bits, the basic grid spacing is M quantization levels, and 2L=N. (2^M-1)/M+1=2^L (N, M, and L are integers)
JP1046828A 1989-02-28 1989-02-28 Color separation image correction device Expired - Lifetime JP2831370B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1046828A JP2831370B2 (en) 1989-02-28 1989-02-28 Color separation image correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1046828A JP2831370B2 (en) 1989-02-28 1989-02-28 Color separation image correction device

Publications (2)

Publication Number Publication Date
JPH02226868A true JPH02226868A (en) 1990-09-10
JP2831370B2 JP2831370B2 (en) 1998-12-02

Family

ID=12758191

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1046828A Expired - Lifetime JP2831370B2 (en) 1989-02-28 1989-02-28 Color separation image correction device

Country Status (1)

Country Link
JP (1) JP2831370B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
JP2831370B2 (en) 1998-12-02

Similar Documents

Publication Publication Date Title
US5121196A (en) Color processing method and apparatus with a color patch
US5428465A (en) Method and apparatus for color conversion
EP0273398A2 (en) Method of correcting color images
JPH01240927A (en) floating point arithmetic unit
KR0165719B1 (en) Multiplication device using semiconductor memory
JPS63304773A (en) Processing circuit for digital color signal
JPH05110840A (en) Method and device for converting chrominance signal
JP2903808B2 (en) Color signal conversion method and apparatus
JPH02226868A (en) Color decomposition picture correction device
JPH0575848A (en) Interpolation on system and color correcting method
JPH02136848A (en) Estimating method for color reproduction characteristic using color patch
JP3080373B2 (en) Color separation image correction method and apparatus
JPH02226867A (en) Color decomposition picture correction device
JP2906814B2 (en) Color signal converter
JPH09168097A (en) Image processing unit
JPH02226866A (en) Color decomposition picture correction device
JPH0287192A (en) Method and device for correcting color resolved image
JP3153002B2 (en) Color conversion method, color conversion table creation method, color conversion device, and color conversion table creation device
JP2898030B2 (en) Color estimation method
JPH0563967A (en) Three-dimensional data transforming device
JP2528463B2 (en) Color separation image correction method and apparatus
JPS63254888A (en) Color estimating method by color patch
JP2705178B2 (en) Color correction device
JPH05284346A (en) Color converter
JPH0698161A (en) Color resolving picture correcting method