JPH08320922A - Color adjusting device - Google Patents

Color adjusting device

Info

Publication number
JPH08320922A
JPH08320922A JP7127615A JP12761595A JPH08320922A JP H08320922 A JPH08320922 A JP H08320922A JP 7127615 A JP7127615 A JP 7127615A JP 12761595 A JP12761595 A JP 12761595A JP H08320922 A JPH08320922 A JP H08320922A
Authority
JP
Japan
Prior art keywords
color
reference table
color adjustment
interpolation
interpolation processing
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.)
Pending
Application number
JP7127615A
Other languages
Japanese (ja)
Inventor
Etsuko Himoto
悦子 樋本
Seiichiro Hiratsuka
誠一郎 平塚
Yukihiro Nishida
幸宏 西田
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 JP7127615A priority Critical patent/JPH08320922A/en
Publication of JPH08320922A publication Critical patent/JPH08320922A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide a color adjusting device capable of shortening the time up to the start of interpolating processing. CONSTITUTION: Each of interpolating processors 11C, 11M, 11K selects a reference table corresponding to a color adjusting parameter set up at the time of color adjustment from plural color-adjusted reference tables calculated and prepared in each of color adjustment parameters at the time of color adjustment and stored in a reference table storing memory 10 and executes interpolating processing based upon the selected reference table.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、カラープリンタ、カラ
ー複写機、カラースキャナ等において、色調整の際に使
用される色調整装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color adjusting device used for color adjustment in a color printer, a color copying machine, a color scanner or the like.

【0002】[0002]

【従来の技術】近年、ハードコピーの性能はめざましい
進歩を遂げ、カラー写真やカラー印刷並の高忠実な色再
現が得られつつある。このように忠実性が増すに連れ
て、色再現問題も単なる忠実性の追求から“好ましい色
再現”へと展開を迎えようとしている。すなわち、ハー
ドコピーの色再現に不可欠な色修正機能に加えて、今後
は、ユーザが好みの色調に合わせる為の色調整機能等が
要求される。
2. Description of the Related Art In recent years, the performance of hard copy has made remarkable progress, and high-fidelity color reproduction comparable to color photography and color printing is being obtained. As the fidelity increases in this way, the color reproduction problem is about to develop from the mere pursuit of fidelity to “preferred color reproduction”. That is, in addition to the color correction function that is indispensable for color reproduction of hard copy, in the future, a color adjustment function and the like for matching the desired color tone by the user will be required.

【0003】以下、従来のカラー画像の色調整の手順を
説明する。この色調整を行うための従来の色調整装置の
構成を図10に示す。先ず、R(赤)G(緑)B(青)
の三原色分解値のRGB系から知覚色空間であるL*
** 系(ここで、* はベクトルを表す)に変換する。
RGB系から色の三刺激値X,Y,Zに変換し、さら
に、L*** 系に変換する。色空間変換手段1に対
応して、それぞれの変換式を式1と式2に示す。
A conventional color adjustment procedure for a color image will be described below. FIG. 10 shows the configuration of a conventional color adjusting device for performing this color adjustment. First, R (red) G (green) B (blue)
Is the perceptual color space from the RGB system of the three primary color separation values of L * u
Convert to * v * system (where * represents a vector).
The RGB system is converted into color tristimulus values X, Y, and Z, and further converted into the L * u * v * system. Corresponding to the color space conversion means 1, respective conversion formulas are shown in formula 1 and formula 2.

【0004】[0004]

【数1】 [Equation 1]

【0005】[0005]

【数2】 [Equation 2]

【0006】次に、L*** 系からL***
標系内極座標である(Huv゜(色相角)、L* (輝
度)、Cuv* (彩度))系(ここで、゜は角度を表
す)に変換する。内極座標変換手段2に対応して、その
変換式を式3に示す。
Next, from the L * u * v * system to the polar coordinates in the L * u * v * coordinate system (Huv ° (hue angle), L * (luminance), Cuv * (saturation)) system (here Then, ° represents an angle). Corresponding to the inner polar coordinate conversion means 2, the conversion formula is shown in formula 3.

【0007】[0007]

【数3】 (Equation 3)

【0008】図11にL*** 座標系を示す。(H
uv゜、L* 、Cuv* )座標系はL*** 座標系
の極座標となっており、色調整は、色相角Huv゜はD
H゜の色相回転、彩度Cuv* はKc 倍の伸縮、輝度L
* はKL 倍の伸縮を行う事によってなされる。
FIG. 11 shows the L * u * v * coordinate system. (H
The uv °, L * , Cuv * ) coordinate system is polar coordinates of the L * u * v * coordinate system, and the hue adjustment is D for the hue angle Huv °.
Hue rotation of H °, saturation Cuv * expands / contracts K c times, brightness L
* Is made by expanding and contracting K L times.

【0009】図10の選択的色調整手段3に対応して、
その変換式を式4に示す。
Corresponding to the selective color adjusting means 3 of FIG.
The conversion formula is shown in Formula 4.

【0010】[0010]

【数4】 [Equation 4]

【0011】得られた(Huv゜)’、(L* )’、
(Cuv* )’は、L*** 座標系からXYZ系を
介してRGB系に逆変換される。逆色空間変換手段4に
対応して、変換式を式5に示す。
The obtained (Huv °) ', (L * )',
(Cuv * ) 'is inversely transformed from the L * u * v * coordinate system to the RGB system via the XYZ system. A conversion equation is shown in Equation 5 corresponding to the inverse color space conversion unit 4.

【0012】[0012]

【数5】 (Equation 5)

【0013】このようにして色調整された値が得られ
る。また、カラープリンタ等に出力するためには、RG
B系から印刷四原色C(シアン)M(マゼンタ)Y(イ
エロー)K(ブラック)系に変換する変換手段5も付け
加わる。このように色調整は、数1〜数5に示すよう
に、演算が複雑になっている。
In this way, color-adjusted values are obtained. Also, to output to a color printer or the like, RG
A conversion means 5 for converting from the B system to the printing four primary colors C (cyan) M (magenta) Y (yellow) K (black) system is also added. As described above, in the color adjustment, the calculation is complicated as shown in Expressions 1 to 5.

【0014】これを改善するため、特開昭53−123
201号公報に示されるように、三つの入力信号から一
つの出力信号への複雑な変換が、参照テーブルを用いた
補間法によって行われている。
In order to improve this, JP-A-53-123
As shown in Japanese Patent Publication No. 201-201, complicated conversion from three input signals to one output signal is performed by an interpolation method using a lookup table.

【0015】この補間法は、図12に示すように、入力
信号RGBの値を直行軸とする大きな立方体の格子点の
値を予め記憶しておき、大きな立方体を前記格子点を含
む単位立方体に分割し、求める変換信号が含まれる単位
立方体ABCDEFGHを切り出し、格子点のデータを
補間処理して変換信号を得る。
In this interpolation method, as shown in FIG. 12, the values of grid points of a large cube having the values of the input signals RGB as orthogonal axes are stored in advance, and the large cube is converted into a unit cube including the grid points. The unit cube ABCDEFGH containing the converted signal to be divided is cut out, and the converted signal is obtained by performing interpolation processing on the data of the lattice points.

【0016】前述の色調整を、参照テーブルを用いた補
間法に基づいて行う事によって、演算の簡略化ができ
る。参照テーブルは、前記の格子点のデータRGBに対
して、式1〜式5の計算を行って得られた値R’,
G’,B’を各々のテーブルにする事によって得られ
る。色調整された値を持つ参照テーブルを用いて補間す
る事により、色調整処理の簡略化および高速化ができ
る。
By performing the above-mentioned color adjustment based on the interpolation method using the reference table, the calculation can be simplified. The reference table is a value R ′, which is obtained by performing the calculations of Expressions 1 to 5 on the above-mentioned grid point data RGB.
It is obtained by setting G'and B'into each table. By performing the interpolation using the reference table having the color adjusted values, the color adjusting process can be simplified and speeded up.

【0017】[0017]

【発明が解決しようとする課題】しかしながら上記のよ
うな従来の色調整装置では、色調整を行う際にその色調
整パラメータを変更する場合には、色調整パラメータの
変更のたびに、その色調整パラメータに対応した参照テ
ーブルを計算しなおす必要があり、補間処理を開始する
までの時間が大幅にかかってしまうという問題点を有し
ていた。
However, in the conventional color adjusting apparatus as described above, when the color adjusting parameter is changed when the color adjusting is performed, the color adjusting parameter is changed every time the color adjusting parameter is changed. There is a problem that it is necessary to recalculate the reference table corresponding to the parameter, and it takes a lot of time until the interpolation process is started.

【0018】本発明は、上記の問題点を解決するもの
で、色調整パラメータの変更時ごとに、補間処理のため
の参照テーブルを計算することなく、いかなる色調整パ
ラメータにも対応した参照テーブルを得ることができ、
補間処理を開始するまでの時間を短縮することができる
色調整装置を提供することを目的とする。
The present invention solves the above-mentioned problems, and a reference table corresponding to any color adjustment parameter is calculated without calculating a reference table for interpolation processing each time the color adjustment parameter is changed. Can get
An object of the present invention is to provide a color adjustment device that can reduce the time until the interpolation process is started.

【0019】[0019]

【課題を解決するための手段】上記目的を達成するため
に本発明の色調整装置は、参照テーブルのデータを用い
てカラー画像信号を補間処理して色調整を行う色調整装
置において、前記色調整を行う際の色調整パラメータご
とに対応して予め作成された参照テーブルを複数個具備
し、前記複数個の参照テーブルから、前記色調整パラメ
ータに基づいて、その色調整パラメータに対応した参照
テーブルを選択し、その参照テーブルによって前記補間
処理を行う補間処理手段を備えた構成とする。
In order to achieve the above object, a color adjusting apparatus of the present invention is a color adjusting apparatus for performing color adjustment by interpolating a color image signal using data of a reference table. A plurality of reference tables created in advance for each color adjustment parameter when performing adjustment, and a reference table corresponding to the color adjustment parameter based on the color adjustment parameter from the plurality of reference tables Is selected, and an interpolation processing means for performing the interpolation processing according to the reference table is selected.

【0020】[0020]

【作用】上記の構成によると、補間処理手段が、予め、
色調整を行う際の色調整パラメータごとに計算して作成
された色調整済みの複数の参照テーブルから、色調整を
行う際に設定された色調整パラメータに対応した参照テ
ーブルを選択し、この参照テーブルを用いて補間処理を
行う。
According to the above-mentioned structure, the interpolation processing means is configured in advance.
Select a reference table corresponding to the color adjustment parameter set when performing color adjustment from the multiple reference tables that have been adjusted for color adjustment and are created for each color adjustment parameter when performing color adjustment. Interpolation processing is performed using a table.

【0021】[0021]

【実施例】以下、本発明の一実施例の色調整装置につい
て、図1から図9を参照しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A color adjusting apparatus according to an embodiment of the present invention will be described below with reference to FIGS.

【0022】図1は本実施例の色調整装置を用いた画像
処理装置の全体構成図を示す。図1において、6はカラ
ー原稿等からRGB三原色分解値を読み込むカラースキ
ャナ等のカラー画像信号入力部である。7は色調整信号
出力部であり、色調整信号はカラー画像の状況からユー
ザの嗜好により入力したり、カラースキャナ等から読み
取られた画像をより原画像に近づけるために機器の特性
から決められる。8は色調整信号出力部7からの色調整
信号を受け取り色調整を行う本実施例の色調整装置であ
る。9は色調整されたカラー画像信号を出力するカラー
ディスプレイやカラープリンタ等のカラー画像出力部で
ある。
FIG. 1 shows an overall configuration of an image processing apparatus using the color adjusting apparatus of this embodiment. In FIG. 1, reference numeral 6 is a color image signal input unit such as a color scanner for reading RGB three primary color separation values from a color original or the like. Reference numeral 7 denotes a color adjustment signal output unit, which is input from the situation of the color image according to the user's preference or is determined from the characteristics of the device in order to bring the image read by the color scanner or the like closer to the original image. Reference numeral 8 denotes a color adjusting device of this embodiment that receives a color adjusting signal from the color adjusting signal output unit 7 and performs color adjustment. Reference numeral 9 denotes a color image output unit such as a color display or a color printer that outputs a color-adjusted color image signal.

【0023】図2は本実施例の色調整装置8の構成図を
示す。図2の色調整装置8において、10は複数個の参
照テーブルを保存してその値を出力するROM等で構成
された参照テーブル保存メモリである。この複数個の参
照テーブルを計算する際に、色調整として、適当な色相
角の回転角度DHと彩度の伸縮倍率KC と輝度の伸縮倍
率KL の各変化量の範囲と分割数とを決めた。色相角の
回転角度DHは−15°〜15°の範囲を9段階に分割
し、彩度の伸縮倍率KC は0.625〜1.6の範囲を
7段階に分割し、輝度の伸縮倍率KL は0.625〜
1.6の範囲を7段階に分割した。
FIG. 2 shows a block diagram of the color adjusting device 8 of this embodiment. In the color adjusting device 8 of FIG. 2, reference numeral 10 is a reference table storage memory composed of a ROM or the like for storing a plurality of reference tables and outputting the values. When calculating the plurality of reference tables, the range of the amount of change and the number of divisions of the rotation angle DH of an appropriate hue angle, the expansion / contraction ratio K C of saturation and the expansion / contraction ratio K L of luminance are adjusted as color adjustments. decided. The rotation angle DH of the hue angle divides the range of -15 ° to 15 ° into 9 steps, and the expansion / contraction ratio K C of the saturation divides the range of 0.625 to 1.6 into 7 steps to obtain the expansion / contraction ratio of luminance. K L is from 0.625
The range of 1.6 was divided into 7 steps.

【0024】それぞれの分割の方法としては、式6に示
すように、色相角はΔHにより、彩度は彩度比率αによ
り、輝度は輝度比率βにより決定し、分割したときの各
値は、色相角の回転角度DHとしては−15.00,−
11.25,−7.50,−3.75,0.00,3.
75,7.50,11.25,15.00であり、彩度
および輝度の伸縮倍率KC およびKL としては0.62
5,0.73,0.855,1.0,1.17,1.3
7,1.6である。また、ΔH=3.75、α=β=
1.17とした。
As a method of each division, as shown in equation 6, the hue angle is determined by ΔH, the saturation is determined by the saturation ratio α, and the luminance is determined by the luminance ratio β. The rotation angle DH of the hue angle is -15.00,-
11.25, -7.50, -3.75, 0.00, 3.
75, 7.50, 11.25, 15.00, and 0.62 as the expansion and contraction ratios K C and K L for saturation and luminance.
5, 0.73, 0.855, 1.0, 1.17, 1.3
It is 7,1.6. Also, ΔH = 3.75, α = β =
It was set to 1.17.

【0025】[0025]

【数6】 (Equation 6)

【0026】色調整するための参照テーブルは、9×7
×7=441個となり、参照テーブル保存メモリ10に
保存する。参照テーブル保存メモリ10内に保存された
一つの参照テーブル(たとえば、LUT1)は、図2に
示すように、C、M、Y、K用の参照テーブルの順で構
成されている。
The reference table for color adjustment is 9 × 7.
× 7 = 441, which is stored in the reference table storage memory 10. As shown in FIG. 2, one reference table (for example, LUT1) stored in the reference table storage memory 10 is composed of C, M, Y, and K reference tables in this order.

【0027】11C、11M、11Yおよび11Kは、
参照テーブル保存メモリ10から参照テーブルを読み込
み、その参照テーブルを用いて補間処理を行う補間処理
手段としての補間処理装置である。
11C, 11M, 11Y and 11K are
This is an interpolation processing device as an interpolation processing unit that reads a reference table from the reference table storage memory 10 and performs an interpolation process using the reference table.

【0028】図1と図2に示すように構成された色調整
装置8について、その動作を以下に説明する。まず、色
調整信号出力部7から出力された色調整信号によって参
照テーブルが選択される。例えば、選択信号である色相
角の回転角度DH、彩度の伸縮倍率K C 、輝度の伸縮倍
率KL が、それぞれ1段階、1段階、1段階であれば、
参照テーブルとしては、図2に示す参照テーブル保存メ
モリ10内のLUT1が出力される。
Color adjustment constructed as shown in FIGS. 1 and 2.
The operation of the device 8 will be described below. First, the color
Refer to the color adjustment signal output from the adjustment signal output unit 7.
A lighting table is selected. For example, the hue that is the selection signal
Angle rotation angle DH, saturation expansion / contraction K C , Brightness expansion / contraction
Rate KL Are 1 step, 1 step, 1 step,
The reference table is stored in the reference table storage table shown in FIG.
The LUT1 in the memory 10 is output.

【0029】各参照テーブルLUT1,LUT2,LU
T3,LUT4・・・のそれぞれは、さらに参照テーブ
ルC,M,Y,Kの順で構成されており、参照テーブル
C,M,Y,Kの値が、それぞれに対応する補間処理装
置11C、11M、11Y、11Kに読み込まれる。カ
ラー画像信号入力部6で検出され出力されたRGB信号
は、各補間処理装置11C、11M、11Y、11Kに
読み込まれ、参照テーブルC,M,Y,Kを用い補間処
理され、色調整後のCMYK信号が得られ、このCMY
K信号はカラー画像出力部9に出力される。
Reference tables LUT1, LUT2, LU
Each of T3, LUT4, ... Is further configured in the order of reference tables C, M, Y, K, and the values of the reference tables C, M, Y, K correspond to the interpolation processing devices 11C, 11C, respectively. It is read into 11M, 11Y, and 11K. The RGB signals detected and output by the color image signal input unit 6 are read into the respective interpolation processing devices 11C, 11M, 11Y, 11K, subjected to interpolation processing using the reference tables C, M, Y, K, and after color adjustment. A CMYK signal is obtained, and this CMY
The K signal is output to the color image output unit 9.

【0030】なお、上記のテーブル補間方式による補間
処理の際に用いられた補間処理装置11C、11M、1
1Y、11Kについて、更に詳細な構成図を図5に示
し、その説明は後述する。
Incidentally, the interpolation processing devices 11C, 11M, 1 used in the interpolation processing by the above table interpolation method.
A more detailed configuration diagram of 1Y and 11K is shown in FIG. 5, and the description thereof will be described later.

【0031】図3は本実施例の色調整装置で用いられる
テーブル補間方式の4面体分割の原理図を示す。ここで
は、二つの立方体ABCDEFGHおよびEFGHIJ
KLを重ねており、それらの立方体の基本格子点E、
H、F、Gとそれぞれの体心格子点Q、Pを用い、最終
的に4つの4面体EHQP、EFQP、FGQP、GH
QPに分割する方法が示されている。図3から明らかな
ように、各々の4面体は二つの基本格子点と二つの体心
格子点から構成されている。
FIG. 3 shows the principle of the tetrahedral division of the table interpolation method used in the color adjusting apparatus of this embodiment. Here, two cubes ABCDEFGH and EFGHIJ
KL are overlapped, and the basic lattice points E of those cubes,
Finally, four tetrahedrons EHQP, EFQP, FGQP, GH are used by using H, F, G and respective body-centered lattice points Q, P.
A method of dividing into QPs is shown. As is clear from FIG. 3, each tetrahedron is composed of two basic lattice points and two body-centered lattice points.

【0032】図3では単位立方体ABCDEFGHの上
で隣接する単位立方体EFGHIJKLから得られる8
面体EFGHQPを考えたが、実際には図4に示すよう
に、上下左右前後の6つの8面体ABCDRP、EFG
HQP、ADHESP、BCGFTP、ABFEUP、
CDHGVPが存在し、それぞれの8面体を4つに分割
した合計24個の4面体ABRP、CBRP、CDR
P、ADRP、FEQP、FGQP、HGQP、HEQ
P、ADSP、HDSP、HESP、AESP、CBT
P、CGTP、FGTP、FBTP、ABUP、FBU
P、FEUP、AEUP、CDVP、CGVP、HGV
P、HDVPが存在する。
In FIG. 3, 8 obtained from the adjacent unit cube EFGHIJKL on the unit cube ABCDEFGH.
Although we considered the tetrahedron EFGHQP, as shown in FIG.
HQP, ADHESP, BCGFPT, ABFEUP,
CDHGVP exists, and each octahedron is divided into four, totaling 24 tetrahedra ABRP, CBRP, CDR
P, ADRP, FEQP, FGQP, HGQP, HEQ
P, ADSP, HDSP, HESP, AESP, CBT
P, CGTP, FGTP, FBTP, ABUP, FBU
P, FEUP, AEUP, CDVP, CGVP, HGV
P and HDVP exist.

【0033】単位立方体ABCDEFGH内のすべての
点A、B、C、D、E、F、G、Hのどれか2点が24
個の4面体のいずれにも属する。この分割方式は、4面
体の大きさが小さく(単位立方体の12分の1の体
積)、しかも大きさ、形状がすべて同一であるために、
変換される信号の精度がよく、領域ごとに精度のばらつ
きが少ない。
Any two points A, B, C, D, E, F, G and H in the unit cube ABCDEFGH are 24 points.
It belongs to any of the tetrahedra. In this division method, the size of the tetrahedron is small (volume of 1/12 of the unit cube), and the size and shape are all the same.
The accuracy of the converted signal is good, and the accuracy does not vary from region to region.

【0034】図5は本実施例の色調整装置で用いられる
補間処理装置の構成図を示す。図5に示す構成図に基づ
いて、補間処理装置11C、11M、11Y、11Kに
ついて、その動作を以下に説明する。
FIG. 5 is a block diagram of an interpolation processing device used in the color adjusting device of this embodiment. The operation of the interpolation processing devices 11C, 11M, 11Y and 11K will be described below based on the configuration diagram shown in FIG.

【0035】先ず、3つの8ビットの入力信号R,G,
Bがそれぞれ上位4ビット信号R’,G’,B’と下位
4ビット信号r,g,bに分割され、下位4ビット信号
r,g,bは4面体判定手段12に入力され、上位4ビ
ット信号R’,G’,B’はアドレス生成手段13に入
力される。なお、ここでは、説明の都合上、入力信号
R,G,Bを固定小数点の数値とし、上位4ビットを整
数部とし、下位4ビットを少数部とする。
First, three 8-bit input signals R, G,
B is divided into upper 4-bit signals R ', G', B'and lower 4-bit signals r, g, b, respectively, and the lower 4-bit signals r, g, b are input to the tetrahedral determining means 12, and the upper 4 The bit signals R ′, G ′, B ′ are input to the address generating means 13. Here, for convenience of description, the input signals R, G, and B are fixed-point numerical values, the upper 4 bits are the integer part, and the lower 4 bits are the decimal part.

【0036】4面体判定手段12は、単位立方体内の求
めるべき点が24個の4面体のうちのどの4面体に属す
るかを判定するもので、表1に示した下位4ビット信号
r,g,bによる6つの関係式g−r,g+r−1,b
−r,b+r−1,b−g,b+g−1が正(+)であ
るか負(−)であるかによって判定し、その判定結果
を、5ビットの4面体判定信号TEとして、下位4ビッ
ト信号r,g,bとともに出力する。ただし、各関係式
の値が0の場合は、正(+)と負(−)のどちらとして
もかまわないが、ここでは正(+)であるものとする。
The tetrahedron judging means 12 judges which tetrahedron of the 24 tetrahedrons the point to be found in the unit cube belongs to, and the lower 4 bit signals r and g shown in Table 1 are shown. , B, six relational expressions g−r, g + r−1, b
-R, b + r-1, b-g, and b + g-1 are determined by whether they are positive (+) or negative (-), and the determination result is used as a 5-bit tetrahedron determination signal TE and the lower 4 It outputs together with the bit signals r, g, and b. However, when the value of each relational expression is 0, it may be either positive (+) or negative (-), but here it is assumed to be positive (+).

【0037】アドレス生成手段13は、入力信号R,
G,Bの上位4ビット信号R’,G’,B’と4面体判
定信号TEとに基づいて、4つの4面体の各点の座標に
対応するテーブルアドレスを出力する。4面体の4つの
格子点アドレスは、2つの基本格子点アドレスAD0,
AD1と2つの体心格子点アドレスAD2、AD3から
なり、4面体判定信号TEに応じて、表2に示す格子点
のアドレスとなる。格子点アドレスは、入力信号R,
G,Bの上位4ビットR’,G’,B’に基づいて、表
3に示した演算により生成された値R”,G”,B”に
より構成される。
The address generating means 13 receives the input signals R,
The table address corresponding to the coordinates of each point of the four tetrahedrons is output based on the upper 4 bit signals R ′, G ′, B ′ of G and B and the tetrahedron determination signal TE. The four grid point addresses of the tetrahedron are the two basic grid point addresses AD0,
It is composed of AD1 and two body-centered lattice point addresses AD2 and AD3, and corresponds to the lattice point address shown in Table 2 according to the tetrahedral determination signal TE. The grid point address is the input signal R,
It is composed of the values R ″, G ″, B ″ generated by the operation shown in Table 3 based on the upper 4 bits R ′, G ′, B ′ of G, B.

【0038】以上に示した処理により、基本格子点アド
レスAD0,AD1と体心格子点アドレスAD2,AD
3が生成され、それぞれ2つの基本格子点データ記憶手
段14と2つの体心格子点データ記憶手段15に入力さ
れる。
By the above-described processing, the basic grid point addresses AD0, AD1 and the body-centered grid point addresses AD2, AD
3 are generated and input to the two basic lattice point data storage means 14 and the two body-centered lattice point data storage means 15, respectively.

【0039】各参照テーブルLUT1・・・を構成する
参照テーブルC、M、Y、Kのそれぞれは、基本格子点
のデータと体心格子点のデータが一連のテーブルとなっ
ている。その参照テーブルの値を半導体メモリに入力
し、図6に示すように、アドレス信号AD0、AD1、
AD2、AD3が入力されると、そのアドレスに対応す
るデータDA0、DA1、DA2、DA3が読み出され
る。
Each of the reference tables C, M, Y and K constituting each of the reference tables LUT1 ... Is a series of tables of the data of the basic lattice points and the data of the body-centered lattice points. The values of the reference table are input to the semiconductor memory, and as shown in FIG. 6, the address signals AD0, AD1,
When AD2 and AD3 are input, the data DA0, DA1, DA2 and DA3 corresponding to the address are read.

【0040】基本格子点データ記憶手段14と体心格子
点データ記憶手段15のデータは、アドレスに応じて、
図7に示した格子点のデータが格納されている。基本格
子点アドレスAD0、AD1はそのまま基本格子点の座
標に対応するが、体心格子点アドレスAD2、AD3は
体心格子点の座標のR,G,Bに0.5を加えた値とす
る。基本格子点データ記憶手段14と体心格子点データ
記憶手段15からの出力信号DA0、DA1、DA2、
DA3は、4面体の各頂点の値であり、補間手段17へ
送られる。
The data of the basic lattice point data storage means 14 and the body-centered lattice point data storage means 15 are stored in accordance with the address.
Data of the lattice points shown in FIG. 7 are stored. The basic grid point addresses AD0 and AD1 correspond to the coordinates of the basic grid point as they are, but the body-centered grid point addresses AD2 and AD3 are values obtained by adding 0.5 to the coordinates R, G and B of the body-centered grid points. . Output signals DA0, DA1, DA2 from the basic lattice point data storage means 14 and the body-centered lattice point data storage means 15,
DA3 is the value of each vertex of the tetrahedron and is sent to the interpolation means 17.

【0041】重み係数算出手段16は、表4に従って、
4面体判定手段12からの4面体判定信号TEと下位4
ビット信号r,g,bとに基づいて、4つの重み係数W
H0、WH1、WH2、WH3を求めて補間手段17に
出力する。
The weighting factor calculating means 16 is
Tetrahedral decision signal TE from tetrahedral decision means 12 and lower 4
Four weighting factors W based on the bit signals r, g, b
H0, WH1, WH2, and WH3 are obtained and output to the interpolation means 17.

【0042】補間手段17は、2つの基本格子点データ
記憶手段14と2つの体心格子点データ記憶手段15か
らの頂点のデータDA0、DA1、DA2、DA3と、
重み係数算出手段16からの重み係数WH0、WH1、
WH2、WH3との積和演算を行う。
The interpolation means 17 includes vertex data DA0, DA1, DA2, DA3 from the two basic lattice point data storage means 14 and the two body-centered lattice point data storage means 15, and
The weighting factors WH0, WH1, from the weighting factor calculating means 16
The sum of products operation with WH2 and WH3 is performed.

【0043】図8は補間手段17の構成を示したもの
で、各頂点のデータと重み係数を4つの乗算器18で積
を求め、それぞれの積を加算器19で合計して、4面体
内部のデータを補間して求め、変換信号C、M、Y、K
を出力する。
FIG. 8 shows the construction of the interpolating means 17. The data of each vertex and the weighting coefficient are calculated by four multipliers 18, and the products are summed by an adder 19 to add the inside of the tetrahedron. Data is interpolated to obtain converted signals C, M, Y, K
Is output.

【0044】図9は参照テーブルの作成手順を表すブロ
ック図を示す。本実施例の色調整装置における色調整で
用いた知覚色空間は、CIE1976L*** 系を
用いている。
FIG. 9 is a block diagram showing the procedure for creating the reference table. The CIE1976L * u * v * system is used as the perceptual color space used for color adjustment in the color adjustment apparatus of this embodiment.

【0045】図9のブロック図で示される参照テーブル
の作成手順を説明する。図9において、ステップ#20
でRGBの補間処理に用いる参照テーブルの格子点のデ
ータを入力し、ステップ#21でL*** 系に変換
して、さらにL *** 系の内極座標系である(Hu
* 、L* 、Cuv* )系に変換し、ステップ#22で
色相角回転角度DH、彩度伸縮倍率KC 、輝度伸縮倍率
L により色調整し、色調整された(Huv* 、L*
Cuv* )系をステップ#23でL*** 系に逆変
換し、さらにステップ#24で原色系であるRGB系に
逆変換し、各々の信号に対する参照テーブルを得る。上
記の作成手順では式1〜式5の一連の計算を行ってい
る。
Lookup table shown in the block diagram of FIG.
The procedure for creating is explained. In FIG. 9, step # 20
The grid point data of the reference table used for RGB interpolation processing in
Enter the data and L is entered in step # 21.* u* v* Convert to system
And then L * u* v* The inner polar coordinate system of the system (Hu
v* , L* , Cuv* ) System, and in step # 22
Hue angle rotation angle DH, saturation expansion / contraction ratio KC , Brightness scaling factor
KL Color adjustment by (Huv* , L* ,
Cuv* ) L in step # 23* u* v* Back to system
In step # 24, the primary color system is changed to the RGB system.
Inverse conversion is performed to obtain a look-up table for each signal. Up
In the creation procedure described above, a series of calculations of Expression 1 to Expression 5 are performed.
It

【0046】このようにして一組の色調整パラメータで
ある色相角回転角度DH、彩度伸縮倍率KC 、輝度伸縮
倍率KL に対して一つの参照テーブルが得られる。
In this way, one reference table is obtained for a set of color adjustment parameters: hue angle rotation angle DH, saturation expansion / contraction ratio K C , and brightness expansion / contraction ratio K L.

【0047】[0047]

【表1】 [Table 1]

【0048】[0048]

【表2】 [Table 2]

【0049】[0049]

【表3】 [Table 3]

【0050】[0050]

【表4】 [Table 4]

【0051】[0051]

【発明の効果】以上のように本発明によれば、補間処理
手段は、色調整を行う際の色調整パラメータごとに予め
計算して作成された色調整済みの複数の参照テーブルか
ら、色調整を行う際に設定された色調整パラメータに対
応した参照テーブルを選択し、この参照テーブルを用い
て補間処理を行うことができる。
As described above, according to the present invention, the interpolation processing means performs color adjustment from a plurality of color-adjusted reference tables created by calculating in advance for each color adjustment parameter when performing color adjustment. It is possible to select a reference table corresponding to the color adjustment parameter set when performing, and use this reference table to perform interpolation processing.

【0052】そのため、色調整パラメータの変更時ごと
に、補間処理のための参照テーブルを計算することな
く、いかなる色調整パラメータにも対応した参照テーブ
ルを得ることができ、補間処理を開始するまでの時間を
短縮することができる。
Therefore, it is possible to obtain a reference table corresponding to any color adjustment parameter without calculating the reference table for the interpolation processing each time the color adjustment parameter is changed, and to start the interpolation processing. The time can be shortened.

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

【図1】本発明の実施例の色調整装置を用いた画像処理
装置の構成図
FIG. 1 is a configuration diagram of an image processing apparatus using a color adjusting apparatus according to an embodiment of the present invention.

【図2】本発明の実施例における色調整装置の構成図FIG. 2 is a configuration diagram of a color adjusting apparatus according to an embodiment of the present invention.

【図3】同実施例におけるテーブル補間方式の四面体分
割の原理図
FIG. 3 is a principle diagram of table interpolation tetrahedron division in the embodiment.

【図4】同実施例におけるテーブル補間方式の24個の
四面体分割の説明図
FIG. 4 is an explanatory diagram of division of 24 tetrahedrons of the table interpolation method in the embodiment.

【図5】同実施例における補間処理装置の構成図FIG. 5 is a block diagram of an interpolation processing device in the same embodiment.

【図6】同実施例におけるテーブル補間方式の格子点デ
ータの説明図
FIG. 6 is an explanatory diagram of grid point data of a table interpolation method in the embodiment.

【図7】同実施例におけるテーブル補間方式の四面体A
BRPの説明図
FIG. 7 is a table-interpolating tetrahedron A according to the embodiment.
Illustration of BRP

【図8】同実施例における補間手段の構成図FIG. 8 is a block diagram of an interpolation means in the same embodiment.

【図9】同実施例における参照テーブルの作成手順を示
すブロック図
FIG. 9 is a block diagram showing a procedure for creating a reference table in the embodiment.

【図10】従来の色調整装置における色調整手順を示す
ブロック図
FIG. 10 is a block diagram showing a color adjustment procedure in a conventional color adjustment device.

【図11】知覚色空間の座標系の説明図FIG. 11 is an explanatory diagram of a coordinate system of a perceptual color space.

【図12】参照テーブルを用いた補間方式の原理図FIG. 12 is a principle diagram of an interpolation method using a reference table.

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

10 参照テーブル保存メモリ 11C,11M,11Y,11K 補間処理装置 10 Reference Table Storage Memory 11C, 11M, 11Y, 11K Interpolation Processing Device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 参照テーブルのデータを用いてカラー画
像信号を補間処理して色調整を行う色調整装置におい
て、前記色調整を行う際の色調整パラメータごとに対応
して予め作成された参照テーブルを複数個具備し、前記
複数個の参照テーブルから、前記色調整パラメータに基
づいて、その色調整パラメータに対応した参照テーブル
を選択し、その参照テーブルによって前記補間処理を行
う補間処理手段を備えた色調整装置。
1. In a color adjusting device for performing color adjustment by interpolating a color image signal using data of a reference table, a reference table created in advance corresponding to each color adjustment parameter when performing the color adjustment. A plurality of reference tables, and based on the color adjustment parameters, a reference table corresponding to the color adjustment parameters is selected from the plurality of reference tables, and the interpolation processing is performed by the reference table. Color adjustment device.
【請求項2】 参照テーブルを、明度、彩度、色相から
なる色知覚空間で前記明度、前記彩度、前記色相を独立
に色調整したデータにより構成した請求項1に記載の色
調整装置。
2. The color adjusting apparatus according to claim 1, wherein the reference table is constituted by data in which the lightness, the saturation, and the hue are independently adjusted in a color appearance space including the lightness, the saturation, and the hue.
JP7127615A 1995-05-26 1995-05-26 Color adjusting device Pending JPH08320922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7127615A JPH08320922A (en) 1995-05-26 1995-05-26 Color adjusting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7127615A JPH08320922A (en) 1995-05-26 1995-05-26 Color adjusting device

Publications (1)

Publication Number Publication Date
JPH08320922A true JPH08320922A (en) 1996-12-03

Family

ID=14964477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7127615A Pending JPH08320922A (en) 1995-05-26 1995-05-26 Color adjusting device

Country Status (1)

Country Link
JP (1) JPH08320922A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000338950A (en) * 1999-05-26 2000-12-08 Olympus Optical Co Ltd Color reproduction system
JP2008294859A (en) * 2007-05-25 2008-12-04 Ricoh Printing Systems Ltd Color conversion device, color conversion method, and color conversion program
WO2009041645A1 (en) * 2007-09-28 2009-04-02 Naltec Inc. Method and device for converting value belonging to space

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000338950A (en) * 1999-05-26 2000-12-08 Olympus Optical Co Ltd Color reproduction system
JP2008294859A (en) * 2007-05-25 2008-12-04 Ricoh Printing Systems Ltd Color conversion device, color conversion method, and color conversion program
WO2009041645A1 (en) * 2007-09-28 2009-04-02 Naltec Inc. Method and device for converting value belonging to space

Similar Documents

Publication Publication Date Title
JP3493104B2 (en) Color image processing equipment
US5621545A (en) Image production using color error diffusion
JP3472312B2 (en) Color image processing method and apparatus
JP3268512B2 (en) Image processing apparatus and image processing method
US6621497B1 (en) Color conversion device and color conversion method
JP4779843B2 (en) Color conversion lookup table creation device, color conversion lookup table creation method, and color conversion lookup table creation program
JP2680375B2 (en) Method and apparatus for interactive image modification
JP2002016818A (en) Color correction method and device, and recording medium
US7119927B2 (en) Color conversion device and color conversion method
JPH099089A (en) Improvement of color correction table
US6151135A (en) Method and apparatus for color reproduction
JPH05183742A (en) Device for deciding color compensation parameter
US6930809B1 (en) Color conversion device and method of manufacturing the same
JP4429439B2 (en) Color conversion method and conversion processor
JPH08320922A (en) Color adjusting device
JP3981790B2 (en) Color image processing method, color image processing apparatus, color conversion coefficient generation method, color conversion coefficient generation apparatus, and storage medium
US6839150B1 (en) Color conversion device and color conversion method
JP4321698B2 (en) Image output method and apparatus, and recording medium
JPH0832838A (en) Gradation correction method and gradation correction device
JP3333363B2 (en) Image processing device
JP4023417B2 (en) Image processing using LUT
US6906834B1 (en) Color conversion device and method of manufacturing the same
JPH06169393A (en) Color tone correcting device
JPH0946529A (en) Image processing unit and method
JP2744437B2 (en) Color converter

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041130

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050329