JPH0366288A - Picture processing unit - Google Patents
Picture processing unitInfo
- Publication number
- JPH0366288A JPH0366288A JP1203344A JP20334489A JPH0366288A JP H0366288 A JPH0366288 A JP H0366288A JP 1203344 A JP1203344 A JP 1203344A JP 20334489 A JP20334489 A JP 20334489A JP H0366288 A JPH0366288 A JP H0366288A
- Authority
- JP
- Japan
- Prior art keywords
- data
- input data
- bits
- table memory
- color
- 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
Links
- 238000000926 separation method Methods 0.000 claims 1
- 238000000034 method Methods 0.000 abstract description 13
- 101100191136 Arabidopsis thaliana PCMP-A2 gene Proteins 0.000 abstract 2
- 101100422768 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) SUL2 gene Proteins 0.000 abstract 2
- 101100048260 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) UBX2 gene Proteins 0.000 abstract 2
- 238000004364 calculation method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000000873 masking effect Effects 0.000 description 3
- 101001106432 Homo sapiens Rod outer segment membrane protein 1 Proteins 0.000 description 1
- 101000913761 Homo sapiens Serine/threonine-protein kinase ICK Proteins 0.000 description 1
- 102100021424 Rod outer segment membrane protein 1 Human genes 0.000 description 1
- 102100026621 Serine/threonine-protein kinase ICK Human genes 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000000875 corresponding effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Color Image Communication Systems (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、カラープリンタ、カラー複写機等ので表わさ
れ、
2次のマスキング演算は、
(2)式
で表わされる。入力データ(C,M、Y)はマスキング
演算によって(C′、M′、Y′)に補正される。DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention is expressed in color printers, color copying machines, etc., and the quadratic masking operation is expressed by equation (2). Input data (C, M, Y) is corrected to (C', M', Y') by masking operation.
色補正を実現する方法として、(1)式又は(2)式の
演算結果、又は入力データに対して直接的に対応づけた
出力データを入力データ(C1M、Y)の全ての階調の
組み合わせに対してテーブルメモリに記憶させておく方
法がある。しかしこの方法では、C,M、Yそれぞれ8
ビツトの入力データとすれば224 x 3バイトの大
量のメモリが必要となり装置のコストが大幅に上がって
しまう。この点を改善する方式として、特公昭5216
403号公報には、テーブルメモリの容量を減じて、テ
ーブルメモリでもたない入力データの組み合わせに関し
ては補間する方式が記載されている。As a method of realizing color correction, the calculation result of equation (1) or (2), or the output data that is directly correlated to the input data, is a combination of all the gradations of the input data (C1M, Y). There is a way to store it in table memory. However, with this method, C, M, and Y each have 8
If the input data is bits, a large amount of memory of 224 x 3 bytes is required, which significantly increases the cost of the device. As a method to improve this point, Tokuko Sho 5216
No. 403 describes a method in which the capacity of the table memory is reduced and combinations of input data that cannot be stored in the table memory are interpolated.
[発明が解決しようとする課題1
前記補間方法では、入力データ(C,M、Y)に対して
たとえば出力データC′を求める際にCの値にのみ注目
して補間演算しているため補間演算の精度がたいへん悪
くなる。入力データ(C1M、Y)に対応するテーブル
を(C,、Mr、Y、)、該入力データの1段階上位の
テーブルを(cr、+ 、 Mr+1 、Yr−1)と
すれば、補間演算をCとCrとCrや、の関係から求め
ている。このため入力デークMとYがMr≦M≦M r
+ + + Y r≦Y≦Yr++、の範囲であればす
べて同じ値となってしまう。M′、Y′を求める際も同
様である。[Problem to be Solved by the Invention 1] In the above interpolation method, when calculating output data C' for input data (C, M, Y), interpolation is performed by focusing only on the value of C. The accuracy of calculation becomes very poor. If the table corresponding to the input data (C1M, Y) is (C,, Mr, Y,), and the table one level above the input data is (cr, +, Mr+1, Yr-1), then the interpolation calculation is It is obtained from the relationship between C, Cr, and Cr. Therefore, the input data M and Y are Mr≦M≦M r
+ + + Y If the range is r≦Y≦Yr++, all values will be the same. The same applies when determining M' and Y'.
またCがCrとCr + 1のどの割り合いにあるかを
演算するために乗算器が必要となり装置が高価なちのに
なってしまう。Further, a multiplier is required to calculate the ratio of C to Cr and Cr + 1, making the device expensive.
[課題を解決するための手段]
本発明は上記課題を解決するためになされたちので3色
の入力データの、ビット数より少ない上位nビットの組
み合わせによる補正結果のみをテーブルメモリに記憶さ
せておき、テーブルメモリに記憶されていない入力デー
タの組み合わせに関しては、あるアルゴリズムに従って
2f″′−n1種類のデータをテーブルメモリから読み
出し平均値を演算して、補間データを生成する。[Means for Solving the Problems] The present invention has been made to solve the above-mentioned problems. Therefore, only the correction results obtained by combining the upper n bits of input data of three colors, which are smaller than the number of bits, are stored in a table memory. , for combinations of input data that are not stored in the table memory, 2f'''-n1 types of data are read out from the table memory according to a certain algorithm, and the average value is calculated to generate interpolated data.
〔作用1
本発明では、テーブルメモリにもたない入カデタの組み
合わせでち、テーブルメモリから読み出した数種類のデ
ータを演算して補間データを生成することにより各色上
位nビットの入力データの組み合わせのテーブルメモリ
しか具備しなくても、各色入力データmビットの組み合
わせすべてのテーブルメモリをもつ場合と路間等な精度
でマスキング処理を行うことができる。[Operation 1] In the present invention, a table of combinations of input data of the upper n bits of each color is created by calculating interpolated data by calculating several types of data read from the table memory, which are combinations of input data that are not stored in the table memory. Even if only a memory is provided, masking processing can be performed with accuracy comparable to the case where a table memory is provided for all combinations of m-bit input data for each color.
[実施例]
第1図は本発明を実施するためのブロック図である。本
実施例は、m=8、n=6の場合つまりC,M、Y各8
ビット(O〜255)入力データの組み合わせのうち下
位2ビツトが○Oの組み合わせの色補正結果をテーブル
メモリに記憶させる場合である。まず本発明の補間アル
ゴリズムについて説明する。第2図は、テーブルメモリ
に記憶されている入力データの組み合わせの空間座標図
である。[Embodiment] FIG. 1 is a block diagram for implementing the present invention. In this embodiment, when m=8 and n=6, each of C, M, and Y is 8
This is a case where the color correction result of a combination of bit (0 to 255) input data in which the lower two bits are ○O is stored in the table memory. First, the interpolation algorithm of the present invention will be explained. FIG. 2 is a spatial coordinate diagram of combinations of input data stored in a table memory.
入力データ8ビツト(0〜255)を上位6ビツト(O
〜63)と下位2ビツト(0〜3)に分けると入力デー
タは、
C=4CI + i fc+ :Q〜63.1.0〜3
)M ”4M+ ” J (IL 、0〜63、j :
0〜3)Y =4Yl + k (y、 :0〜63、
k:0〜3)とおくことができる。ここでC,、M、、
Y、は上位6ビツト、i、j、には下位2ビツトの値で
ある。The 8 bits of input data (0 to 255) are converted to the upper 6 bits (O
~63) and the lower 2 bits (0~3), the input data is: C=4CI + i fc+ :Q~63.1.0~3
)M "4M+" J (IL, 0-63, j:
0-3) Y = 4Yl + k (y, : 0-63,
k: 0 to 3). Here C,,M,,
Y is the upper 6 bits, and i and j are the lower 2 bits.
1=j=に=Qの場合はテーブルメモリで記憶されてい
るデータを読み出せばよい。それ以外のi、j、にの組
み合わせに関しては以下に示す補開方法により、データ
を生成する。If 1=j=and=Q, the data stored in the table memory can be read. For other combinations of i, j, data is generated using the compensation method described below.
第3図は、第2図の空間座標から(C,M、Y)= (
80,40,12)と(C,M、 Y) =(84,4
4,16)のテーブルをぬき出したもので以下の具体例
を図示したものである。Figure 3 is derived from the spatial coordinates of Figure 2 (C, M, Y) = (
80,40,12) and (C,M,Y) = (84,4
4, 16) and illustrates the following specific example.
i、j、l<が2のときは、それぞれC=2(CI+1
)、M=2 (M、+1)、Y=2 (Y+1)とおい
たテーブルと1=j=に=Qとした場合のテーブルを選
択して、該2つのテーブルデクの中間値を演算する。例
えば(C,M、Y)=(82,42,16)の場合、テ
ーブル(80,40,16)をテーブル(84,44,
16)を選択して該2つのテーブルからデータを読み出
し、読み出したデータの中間値を演算する。When i, j, l<2, C=2(CI+1
), M=2 (M,+1), Y=2 (Y+1) and a table where 1=j= and=Q are selected, and the intermediate value of the two table decks is calculated. For example, if (C, M, Y) = (82, 42, 16), table (80, 40, 16) is changed to table (84, 44,
16) is selected, data is read from the two tables, and an intermediate value of the read data is calculated.
次にi、j、kが1のときは、i、j、kを2とした場
合の演算結果を、上記のi、j、kが2の場合の方法に
より求め、該演算結果と1==j=kOとした場合のテ
ーブルデータの中間値を演算する。またi、j、kが3
のときは、それぞれC=2 (C+ +1)、M= (
M、+1)、Y=2(Y、+1)としたテーブルの値と
i、j、kを2とした場合の演算結果の中間値を演算す
る。Next, when i, j, and k are 1, find the calculation result when i, j, and k are 2 using the method described above when i, j, and k are 2, and combine the calculation result and 1= Calculate the intermediate value of the table data when =j=kO. Also, i, j, k are 3
When , C=2 (C+ +1) and M= (
The intermediate value of the table value with M, +1) and Y=2 (Y, +1) and the calculation result when i, j, and k are set to 2 is calculated.
例えば入力データが(C,M、Y)= (83,42,
13)の場合、(4X20+3.4XlO+2.4X3
+1)とおくことができる。先ず上記の方法でi、j、
kが、1から3の場合の処理をすると
(4x20+2.4X 10+2.4×3)■の値
と (4X21 、 4X10+2 、 4X3
+2)・・・■の値
の中間値を演算ずればよい。次に上記の12、j2、k
2が2の場合の処理を行うと■の値は、テーブル(80
,40,12)とテーブル(84,44,12)のテー
ブルデータより求めることができ、■の値は、テーブル
(84,40,12)とテーブル(84,44,16)
のテーブルデータより求めることができる。さらに■と
■の中間値を演算することにより入力データ(83,4
2,13)の色補正結果を得ることができる。For example, if the input data is (C, M, Y) = (83, 42,
13), (4X20+3.4XlO+2.4X3
+1). First, using the above method, i, j,
When k is processed from 1 to 3, the value of (4x20+2.4X 10+2.4x3)■ and (4X21, 4X10+2, 4X3
+2)...The intermediate value of the value of ■ may be calculated and shifted. Next, the above 12, j2, k
When processing is performed when 2 is 2, the value of ■ is shown in the table (80
, 40, 12) and table (84, 44, 12), and the value of
It can be determined from the table data. Furthermore, by calculating the intermediate value between ■ and ■, the input data (83, 4
2, 13) color correction results can be obtained.
m −n = 2の場合、i、j、kが1か3の組み合
わせのとき中間値を求める演算を3回必要とし、最大4
つのテーブルからデータを読み出す必要がある。4つの
テーブルから読み出したデータをA、B、C,Dとすれ
ば求める3色補正データEは
= −(A + B 十C+ D )
となり4つのデータの平均値を演算すればよいことがわ
かる。In the case of m - n = 2, when i, j, and k are a combination of 1 or 3, three calculations are required to obtain the intermediate value, and a maximum of 4
I need to read data from two tables. If the data read from the four tables are A, B, C, and D, the three-color correction data E to be obtained is = -(A + B + C + D), which means that it is sufficient to calculate the average value of the four data. .
本実施例では、すべてのi、j、にの組み合わせに関し
て4回テーブルからデータを読み出し、該4つのデータ
の平均値を演算することにより装置を実現した。1=j
=に=oの場合でも同しテーブルから4回読み出し演算
する。第4図はll、j、にの組み合わせに対してテー
ブルメモリから読み出す4種類のテーブルを示したもの
である。In this embodiment, the device was realized by reading data from the table four times for all combinations of i, j, and calculating the average value of the four data. 1=j
Even when = and =o, the same table is read and calculated four times. FIG. 4 shows four types of tables read from the table memory for combinations of ll, j, and .
たとえば(i、j、k)= (0,3,1)のときは、
(4C1,4M+ 、4Yl )、(4CI 、 4M
、+4.4Yl +4)のテーブルと(4C4Ml +
4.4Y1)のテーブルを2回読み出す意味である。For example, when (i, j, k) = (0, 3, 1),
(4C1,4M+, 4Yl), (4CI, 4M
, +4.4Yl +4) and (4C4Ml +
4.4Y1) table is read twice.
第1図においてRQMI lは、i、J、にの組み合わ
せに対して4 C+か4 M +か4Y、が選択される
ときは○が、4C1+4か4M、+4か4Y1+4が選
択される時はlが記憶されている。In Figure 1, RQMI l is ○ when 4C+, 4M+, or 4Y is selected for the combination of i, J, and l when 4C1+4, 4M, +4 or 4Y1+4 is selected. is memorized.
第5図はタイミングチャートである。以下第1図、第5
図を参照して入力データ(C,M、Y)からC′を求め
る動作について説明する。FIG. 5 is a timing chart. Figures 1 and 5 below
The operation of obtaining C' from input data (C, M, Y) will be explained with reference to the figure.
入力デークC,M、Yそれぞれの下位2ビツトと制御回
路61からの5ELL、5EL2信号がROMIIに入
力され、選択テーブルを決めるため3ビツトデークが出
力される。まず5ELLと5EL2信号が共にLOWの
とき第1の選択テーブルのアドレス値が、入力データの
上位6ビツトとROMIIからの出力が加算器21.2
2.23により加算されてテーブルメモリ31に入力さ
れる。The lower two bits of each of the input data C, M, and Y and the 5ELL and 5EL2 signals from the control circuit 61 are input to the ROMII, and a 3-bit data is outputted to determine the selection table. First, when both the 5ELL and 5EL2 signals are LOW, the address value of the first selection table is the upper 6 bits of the input data and the output from the ROMII is added to the adder 21.2.
2.23 and input into the table memory 31.
テーブルメモリ31から読み出されたデータは、制御回
路61からのLCK 1信号によりラッチ41にラッチ
される。同様な手順でテーブルメモリ31から読み出さ
れたデータは制御回路61からのLCK2、LCK3、
LCK4によりそれぞれラッチ42、ラッチ43、ラッ
チ44にラッチされる。加算器51は、ラッチ41〜4
4の出力データの平均値を演算し、求めるデータC′を
出力する。以上と同様の手順で、M′、Y′も求めるこ
とができる。Data read from the table memory 31 is latched into the latch 41 by the LCK 1 signal from the control circuit 61. The data read out from the table memory 31 in a similar manner is transmitted from the control circuit 61 to LCK2, LCK3,
LCK4 is latched by latch 42, latch 43, and latch 44, respectively. Adder 51 includes latches 41 to 4
The average value of the output data of 4 is calculated and the desired data C' is output. M' and Y' can also be found using the same procedure as above.
また本発明の補間方法を用いれば同様のアルゴリズムで
、C,M、Y各8ビット入カデータのうち下位3ビツト
がOOOの組み合わせや、下位4ビツトがooooの組
み合わせの色補正結果をテブルメモリに記憶し、選択テ
ーブルの情報をROMに記憶させることにより、各色8
ビットの組み合わせの色補正結果をすべてテーブルメモ
リに記憶させる場合と路間等な精度で色補正処理を行う
ことができる。Furthermore, if the interpolation method of the present invention is used, color correction results for combinations where the lower 3 bits are OOO or lower 4 bits are oooo out of each 8-bit C, M, and Y input data can be stored in the table memory using the same algorithm. By storing the selection table information in the ROM, each color has 8
Color correction processing can be performed with accuracy comparable to when all color correction results of bit combinations are stored in a table memory.
[発明の効果]
本発明は以上のような補間方式を用いることにより、テ
ーブルメモリの容量を大幅に削減し、なおかつ各色mビ
ットの入力データの組み合わせすべてのテーブルメモリ
を具備する場合と同等な精度で色補正処理をリアルタイ
ムに行うことができる。[Effects of the Invention] By using the above-described interpolation method, the present invention can significantly reduce the capacity of the table memory, and still achieve the same accuracy as when the table memory is provided for all the combinations of input data of m bits for each color. You can perform color correction processing in real time.
さらに本発明では、乗算器を使用することなく装置を構
成できるため装置のコストを低価格におさえることがで
きる。Further, according to the present invention, since the device can be constructed without using a multiplier, the cost of the device can be kept low.
第1図は本発明による実施例のブロック図、第2図は空
間座標を示す説明図、第3図は具体例の空間座標を示す
説明図、第4図(a)、(b)は選択テーブルを示す説
明図、第5図は本発明によるタイミングチャートである
。
l 1 ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・
ROM21.22.23・・・・・加算器
31・・・・・・・・・・・テーブルROM1
2
41.42.43.44・・ラッチ回路51・・・・・
・・・・・・加算器
61・・・・・・・・・・・制御回路
以上Figure 1 is a block diagram of an embodiment according to the present invention, Figure 2 is an explanatory diagram showing spatial coordinates, Figure 3 is an explanatory diagram showing spatial coordinates of a specific example, and Figures 4 (a) and (b) are selections. An explanatory diagram showing a table, FIG. 5 is a timing chart according to the present invention. l 1 ・ ・ ・ ・ ・ ・ ・ ・ ・ ・ ・
ROM21.22.23... Adder 31... Table ROM1 2 41.42.43.44... Latch circuit 51...
・・・・・・Adder 61・・・・・・・・・・・・More than control circuit
Claims (1)
に対して、上位n(m>n)ビットの組み合わせの色補
正された出力データC′、M′、Y′が記憶された第1
のテーブルメモリと、C、M、Y各色入力データの下位
(m−n)ビットの組み合わせに対して選択するメモリ
テーブルの情報が記憶された第2のテーブルメモリと、
第1のテーブルメモリから読み出した2^(^m^−^
n^)種類のデータの平均値を演算する手段を具備し、
上記手段により補間データを生成することを特徴とした
画像処理装置。The first storage unit stores color-corrected output data C', M', Y' of combinations of upper n (m>n) bits for m bits of color separation input data C, M, and Y for each color of a color image.
a second table memory storing information on a memory table to be selected for a combination of lower (m−n) bits of each color input data of C, M, and Y;
2^(^m^-^) read from the first table memory
n^) comprises means for calculating the average value of the types of data;
An image processing device characterized by generating interpolated data by the above means.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1203344A JP2519107B2 (en) | 1989-08-04 | 1989-08-04 | Image processing device |
EP19900308144 EP0410719A3 (en) | 1989-07-25 | 1990-07-25 | Colour correction system and method |
US08/106,486 US5479272A (en) | 1989-07-25 | 1993-08-13 | Color gradation correction system of combination of looking-up table and interpolation and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1203344A JP2519107B2 (en) | 1989-08-04 | 1989-08-04 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0366288A true JPH0366288A (en) | 1991-03-20 |
JP2519107B2 JP2519107B2 (en) | 1996-07-31 |
Family
ID=16472474
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1203344A Expired - Fee Related JP2519107B2 (en) | 1989-07-25 | 1989-08-04 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2519107B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5426596A (en) * | 1992-10-02 | 1995-06-20 | Fujitsu Limited | Color signal correction circuit using a second-order correcting formula |
KR100698331B1 (en) * | 2005-01-28 | 2007-03-23 | 삼성전자주식회사 | Image display device and method for regulating color thereof |
JP2008194287A (en) * | 2007-02-14 | 2008-08-28 | Samii Kk | Game machine |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6125371A (en) * | 1984-07-16 | 1986-02-04 | Toshiba Corp | Data converter |
-
1989
- 1989-08-04 JP JP1203344A patent/JP2519107B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6125371A (en) * | 1984-07-16 | 1986-02-04 | Toshiba Corp | Data converter |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5426596A (en) * | 1992-10-02 | 1995-06-20 | Fujitsu Limited | Color signal correction circuit using a second-order correcting formula |
KR100698331B1 (en) * | 2005-01-28 | 2007-03-23 | 삼성전자주식회사 | Image display device and method for regulating color thereof |
JP2008194287A (en) * | 2007-02-14 | 2008-08-28 | Samii Kk | Game machine |
Also Published As
Publication number | Publication date |
---|---|
JP2519107B2 (en) | 1996-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5428465A (en) | Method and apparatus for color conversion | |
US4837722A (en) | Digital high speed 3-dimensional interpolation machine | |
US4959711A (en) | Method and apparatus for correcting the color of a printed image | |
US5479272A (en) | Color gradation correction system of combination of looking-up table and interpolation and method thereof | |
JPH0443773A (en) | Arithmetic circuit | |
JP2000505268A (en) | Interpolation method in n-dimensional color space | |
JPH0366288A (en) | Picture processing unit | |
JPH0575848A (en) | Interpolation on system and color correcting method | |
US6587223B1 (en) | Color signal conversion by means of the fewest converter tables | |
JPH10200770A (en) | Method for correcting color of picture data | |
US20050013505A1 (en) | Shading correction apparatus, shading correction method, interpolation operation apparatus and interpolation operation method for use in shading correction apparatus and an applied apparatus thereof | |
JP2906814B2 (en) | Color signal converter | |
JPH05120416A (en) | Color converter | |
JPH10191090A (en) | Apparatus and method for manufacturing color conversion table, and recording medium | |
EP1093297B1 (en) | Color conversion device | |
JP2521182B2 (en) | Color correction device | |
JPH0357376A (en) | Color correction method | |
JP2774879B2 (en) | Color correction circuit | |
JP3022721B2 (en) | Color signal processing method | |
JPH11238127A (en) | Common interpolating circuit for pruning radial interpolation and pruning tetrahedral interpolation | |
JP3223560B2 (en) | Waveform data reading device | |
JPH09172554A (en) | Color look up table | |
JP2000067233A (en) | Color converting device and recording medium | |
JPH05328113A (en) | Color correction system | |
JPH09153130A (en) | Method and device for converting color |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |