JP3206781B2 - Color conversion processor - Google Patents

Color conversion processor

Info

Publication number
JP3206781B2
JP3206781B2 JP14236293A JP14236293A JP3206781B2 JP 3206781 B2 JP3206781 B2 JP 3206781B2 JP 14236293 A JP14236293 A JP 14236293A JP 14236293 A JP14236293 A JP 14236293A JP 3206781 B2 JP3206781 B2 JP 3206781B2
Authority
JP
Japan
Prior art keywords
processing unit
processing
unit
conversion
color conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP14236293A
Other languages
Japanese (ja)
Other versions
JPH06348795A (en
Inventor
範顕 関
正浩 前田
和也 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP14236293A priority Critical patent/JP3206781B2/en
Publication of JPH06348795A publication Critical patent/JPH06348795A/en
Application granted granted Critical
Publication of JP3206781B2 publication Critical patent/JP3206781B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Color, Gradation (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、色画像をユーザの指定
により色調整や、入出力装置の色再現特性に合わせて色
補正を行う色変換処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color conversion processing apparatus for performing color adjustment of a color image by a user's specification and color correction in accordance with the color reproduction characteristics of an input / output device.

【0002】[0002]

【従来の技術】たとえば、カラープリンタにおいて使用
される従来の色変換処理装置は、図8に示されるような
構成を有している。図8に示される色変換処理装置5に
おいては、赤,緑及び青に対応する色信号R,G,Bを
マトリックス処理部51によりシアン,マゼンタ及びイ
エローに対応する色材信号cmyに変換し、更に、色材
信号cmyのそれぞれをLUT(look−up ta
ble)処理部に供給して出力装置 (図示せず) に供給
される色材信号C,M,Yを得ている。図8に示される
色変換処理装置5においては、色画像を出力装置の色材
に合わせてマトリックス処理により色補正を行った後、
出力装置の階調に合った補正をLUT処理で行ってい
る。
2. Description of the Related Art For example, a conventional color conversion processing device used in a color printer has a configuration as shown in FIG. In the color conversion processing device 5 shown in FIG. 8, the color signals R, G, and B corresponding to red, green, and blue are converted by the matrix processing unit 51 into color material signals cmy corresponding to cyan, magenta, and yellow. Further, each of the color material signals cmy is converted to an LUT (look-up ta).
ble) The color material signals C, M, and Y are supplied to a processing unit and supplied to an output device (not shown). In the color conversion processing device 5 shown in FIG. 8, after performing color correction by matrix processing on a color image according to the color material of the output device,
Correction suitable for the gradation of the output device is performed by LUT processing.

【0003】また、別の従来例として、Adobe S
ystems Incorporated社のページ記
述言語PostScript(Adobe Syste
msIncorporatedの登録商標)と呼ばれる
言語を使用して色変換処理の手順を指定する方法があ
る。たとえば、株式会社アスキー発行の「ページ記述言
語 PostScript(登録商標)リファレンス
・マニュアル 第2版」によれば、マトリックス処理
と手続処理を2段組み合せたもので色変換を表し、色変
換特性を前記ページ記述言語PostScriptで定
義するものである。すなわち、これは図9に示されてい
るように、手続処理部61とマトリックス処理部62と
の組を第1段とし、手続処理部63とマトリックス処理
部64との組を第2段とし、第1段と第2段を組み合わ
せて構成した色変換処理装置6を想定している。手続処
理部61,63は、たとえば、LUT処理部である。
As another conventional example, Adobe S
pages Description Language PostScript (Adobe System) by systems Incorporated
There is a method of designating the procedure of the color conversion process using a language called msIncorporated (registered trademark). For example, according to the “Page Description Language PostScript (registered trademark) Reference Manual Second Edition” issued by ASCII Corporation, color conversion is represented by a combination of matrix processing and procedural processing in two stages, and the color conversion characteristics are described on the page. It is defined by the description language PostScript. That is, as shown in FIG. 9, the set of the procedure processing unit 61 and the matrix processing unit 62 is the first stage, the set of the procedure processing unit 63 and the matrix processing unit 64 is the second stage, It is assumed that the color conversion processing device 6 is configured by combining the first stage and the second stage. The procedure processing units 61 and 63 are, for example, LUT processing units.

【0004】図9に示される色変換処理装置6において
は、任意の表色系の信号A,B,Cが手続処理部61に
おいて、たとえば、LUT処理を受けて信号D
A (A),DB (B),DC (C)に変換された後、マ
トリックス処理部62により他の表色系の信号L,M,
Nに変換される。この信号信号L,M,Nは、手続処理
部63において、たとえば、LUT処理を受けて信号D
L (L),DM (M),DN (N)に変換された後、マ
トリックス処理部64により更にXYZ表色系の信号
X,Y,Zに変換される。
In the color conversion processing device 6 shown in FIG. 9, signals A, B, and C of an arbitrary color system are subjected to, for example, LUT processing in a procedure
After being converted into A (A), D B (B), and D C (C), the matrix processing unit 62 converts the signals L, M,
Converted to N. The signal signals L, M and N are subjected to, for example, an LUT process in a procedure
After being converted into L (L), D M (M), and D N (N), the matrix processing unit 64 further converts the signals into XYZ color system signals X, Y, and Z.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述し
た従来の技術では、色変換処理の処理単位、すなわち、
マトリックス処理,LUT処理,手続処理等のパラメー
タは変更できるものの処理単位の数と順序が固定であっ
た。このため、複雑な色変換ができないという欠点があ
った。
However, in the above-mentioned conventional technique, the processing unit of the color conversion processing, that is,
Although parameters such as matrix processing, LUT processing, and procedural processing can be changed, the number and order of processing units are fixed. For this reason, there is a disadvantage that complicated color conversion cannot be performed.

【0006】例えば図10は、NTSC RγGγBγ
信号からYCbCr信号に変換しマトリックス処理によ
って色調整を行いCIE1976L* * * 信号へ変
換するための色変換処理装置を示すブロックである。図
10に示す装置においては、NTSC RγGγBγ信
号がマトリックス処理部701によりYCbCr信号に
変換されマトリックス処理部702で色調整が行われ、
再度マトリックス処理部702によりNTSC RγG
γBγ信号に変換される。このように一旦YCbCr信
号に変換して色調整を行うことにより、Y,Cb,Cr
のそれぞれを独立に調整できるので、たとえば、明るさ
を変えずに色相や彩度を変えることが容易にできる。色
調整後のNTSC RγGγBγ信号は、逆γ処理部7
04において逆γ処理されNTSC RGB強度信号と
なる。このNTSC RGB強度信号はマトリックス処
理部705によりXYZ信号に変換され、マトリックス
処理部706においてX/XO ,Y/YO ,Z/ZO
演算を行い、LUT処理部707で関数f(X/
O ),f(Y/YO ),f(Z/ZO )を求め、マト
リックス処理部708でL* ,a* ,b* を求める。な
お、マトリックス処理部706,LUT処理部707及
びマトリックス処理部708は、周知の変換式に基づい
てXYX表色系をL* * * 表色系に変換するための
ものである。
For example, FIG. 10 shows NTSC RγGγBγ
FIG. 2 is a block diagram illustrating a color conversion processing device for converting a signal into a YCbCr signal, performing color adjustment by matrix processing, and converting the signal into a CIE1976L * a * b * signal. In the device shown in FIG. 10, the NTSC RγGγBγ signal is converted into a YCbCr signal by a matrix processing unit 701, and color adjustment is performed by a matrix processing unit 702.
The NTSC RγG is again processed by the matrix processing unit 702.
It is converted to a γBγ signal. As described above, by temporarily converting to YCbCr signals and performing color adjustment, Y, Cb, Cr
Can be adjusted independently, so that, for example, hue and saturation can be easily changed without changing brightness. The NTSC RγGγBγ signal after color adjustment is output to the inverse γ processing unit 7.
At 04, the signal is subjected to inverse gamma processing to become an NTSC RGB intensity signal. The NTSC RGB intensity signal is converted into XYZ signals by matrix processing unit 705, X / X O in the matrix processing unit 706, Y / Y O, performs a calculation of Z / Z O, function LUT processor 707 f (X /
X O ), f (Y / Y O ), and f (Z / Z O ) are obtained, and L * , a * , and b * are obtained by the matrix processing unit 708. The matrix processing unit 706, the LUT processing unit 707, and the matrix processing unit 708 convert an XYX color system into an L * a * b * color system based on a well-known conversion formula.

【0007】従来のスタンドアロン型複写機などのよう
に入出力色空間が予め固定されている場合には、処理単
位の数と順序が固定であっても問題ではなかったが、現
在はネットワーク化が進められており、ネットワークに
接続された機器は種々の色空間を固有しているため、相
互変換可能とするには複雑な色変換にも対応することが
重要な課題となってきている。
When the input / output color space is fixed in advance as in a conventional stand-alone copying machine or the like, it does not matter if the number and order of processing units are fixed. Since the devices connected to the network are unique to various color spaces, it is becoming an important issue to cope with complicated color conversion in order to enable mutual conversion.

【0008】また、たとえ処理単位の数と順序を可変と
して複雑な色変換にも対応できたとしても、図10のよ
うな複雑な色変換は処理時間がかかってしまうという欠
点があった。
Further, even if the number and order of the processing units are variable to cope with complicated color conversion, there is a disadvantage that the complicated color conversion as shown in FIG. 10 takes a long processing time.

【0009】そこで、本発明は、複雑な色変換を可能に
し、かつ処理時間を短縮することを課題とする。
Accordingly, an object of the present invention is to enable complicated color conversion and to shorten the processing time.

【0010】[0010]

【課題を解決するための手段】図1に示すように、本発
明は、色変換を構成する処理単位を処理単位の種類を表
す処理単位種類データと処理パラメータとで表現し、上
記処理単位を複数接続する処理単位接続手段11と、上
記処理単位接続手段11により接続された複数の処理単
位を上記処理単位種類データに基づいて合成可能かどう
かを判定する合成判定手段21と、上記合成判定手段2
1の判定に基づいて複数の処理単位を合成する処理単位
合成手段22と、上記合成判定手段22の判定に基づい
て処理単位の合成を可能な限り繰り返す合成制御手段2
3と、上記処理単位合成手段22により合成された処理
単位の上記処理単位種類データと上記処理パラメータに
基づいて処理単位が無変換処理であるかを判定する無変
換判定手段31と、上記無変換判定手段31の判定に基
づいて処理単位を削除する処理単位削除手段32と、上
記合成判定手段21の判定と上記無変換判定手段31の
判定に基づいて、処理単位の合成および削除を可能な限
り繰り返す制御手段33を有するものである。
As shown in FIG. 1, according to the present invention, a processing unit constituting a color conversion is represented by processing unit type data indicating a type of a processing unit and a processing parameter. A plurality of processing unit connection means 11; a plurality of processing units connected by the processing unit connection means 11; a synthesis determination means 21 for determining whether or not the plurality of processing units can be synthesized based on the processing unit type data; 2
(1) processing unit synthesizing means (22) for synthesizing a plurality of processing units based on the judgment of (1);
3, a non-conversion determining unit 31 for determining whether the processing unit is a non-conversion process based on the processing unit type data of the processing unit synthesized by the processing unit synthesizing unit 22 and the processing parameter, A processing unit deletion unit 32 for deleting a processing unit based on the determination of the determination unit 31, and combining and deleting processing units as much as possible based on the determination of the combination determination unit 21 and the non-conversion determination unit 31. It has a control means 33 for repeating.

【0011】[0011]

【作用】処理単位接続手段11により処理単位を個数と
順序を自由に接続できるため、複雑な色変換を表現でき
るものである。
Since the processing units can be freely connected in number and order by the processing unit connection means, complicated color conversion can be expressed.

【0012】また、処理単位合成手段22により処理単
位数を減らすことができ、処理単位削除手段32により
不要な処理単位を削除するため無駄な処理を省くことが
できるため、処理時間を短縮することができるものであ
る。
Further, the number of processing units can be reduced by the processing unit synthesizing means 22, and unnecessary processing units can be deleted by the processing unit deleting means 32, so that unnecessary processing can be omitted, thereby shortening the processing time. Can be done.

【0013】[0013]

【実施例】図2を用いて本発明の実施例を説明する。An embodiment of the present invention will be described with reference to FIG.

【0014】図2に示す色変換処理装置は、大きく分け
て、各処理単位の接続状態を色変換の方式に応じて初期
化するための処理単位初期化ブロック1と、合成可能な
処理単位を合成する合成ブロック2と、変換を行わない
処理単位を削除する無変換削除ブロック3と、各処理単
位の接続状態を記憶する処理単位列記憶装置4とから構
成されている。
The color conversion processing apparatus shown in FIG. 2 is roughly divided into a processing unit initialization block 1 for initializing a connection state of each processing unit according to a color conversion method, and a processing unit that can be combined. It comprises a combining block 2 for combining, a non-conversion deletion block 3 for deleting a processing unit that does not perform conversion, and a processing unit sequence storage device 4 for storing a connection state of each processing unit.

【0015】色変換を行う前に、所定の色変換が行われ
るように色変換処理単位を接続するために、処理単位初
期化ブロック1に初期化命令が送られる。処理単位初期
化ブロック1に設けられた処理単位接続手段11は、指
示された色変換、例えば図10のNTSC RGBγ信
号からYCbCr信号に変換しマトリックス処理によっ
て色調整を行いCIE1976L* * * 信号への変
換を表すように色変換処理単位を接続し、処理単位列記
憶装置4の処理単位列記憶手段41にこれを記憶してお
く。各処理単位に関する情報、すなわち、処理単位種類
データおよび処理パラメータは、実行される順序に処理
単位で処理単位列記憶手段41内に格納されている。各
処理単位に対しては、以下に述べるように合成・削除処
理が行われ、合成・削除処理の結果に応じて処理単位種
類データおよび処理パラメータは変更される。また、処
理単位列記憶手段41での配列位置も変更される。ま
た、処理単位組替えの対象となる処理単位を指す対象処
理単位指示手段42のデータ、例えば対象処理単位のア
ドレスを指すポインタに、接続された処理単位列の先頭
の処理単位のアドレスをセットする。このときの接続さ
れた処理単位列を図3の〔ステップ1〕に示す。図中の
各処理単位の上部に処理単位種類データ、下部に処理パ
ラメータを記載している。例えば、処理単位701の処
理単位種類データは「マトリックス3×3」であり、処
理パラメータはa11〜a33のマトリックス係数であ
る。なお、図中709は処理単位列の終端を表すための
ダミー処理単位であり、処理単位種類データ「終端」の
みを持ち、処理パラメータは持たず、他の処理単位との
合成および無変換処理単位としての削除は不可能で、ま
た、実際の色変換処理には用いない。
Before performing the color conversion, an initialization command is sent to the processing unit initialization block 1 to connect the color conversion processing units so that a predetermined color conversion is performed. The processing unit connection means 11 provided in the processing unit initialization block 1 converts the designated color conversion, for example, from the NTSC RGBγ signal of FIG. 10 to the YCbCr signal, performs color adjustment by matrix processing, and performs the CIE1976L * a * b * signal. The color conversion processing unit is connected so as to represent the conversion to, and this is stored in the processing unit column storage means 41 of the processing unit column storage device 4. Information about each processing unit, that is, the processing unit type data and the processing parameter are stored in the processing unit sequence storage unit 41 in the order of execution in the processing unit. For each processing unit, a combining / deleting process is performed as described below, and the processing unit type data and the processing parameter are changed according to the result of the combining / deleting process. Further, the arrangement position in the processing unit sequence storage means 41 is also changed. In addition, the address of the first processing unit of the connected processing unit sequence is set in the data of the target processing unit designating unit 42 that indicates the processing unit to be subjected to the processing unit rearrangement, for example, in a pointer that indicates the address of the target processing unit. The connected processing unit sequence at this time is shown in [Step 1] of FIG. Processing unit type data is described above each processing unit in the figure, and processing parameters are described below. For example, the processing unit type data of the processing unit 701 is “matrix 3 × 3”, and the processing parameters are matrix coefficients of a11 to a33. In the figure, reference numeral 709 denotes a dummy processing unit for indicating the end of the processing unit sequence, which has only the processing unit type data “end”, has no processing parameter, and is combined with another processing unit and is not converted. Cannot be deleted, and is not used for actual color conversion processing.

【0016】なお、本実施例では処理単位としてマトリ
ックス処理、逆γ変換処理、LUT処理を例としている
が、本発明はこれに制限されるものではなく、他の処理
単位も使用可能である。
In this embodiment, matrix processing, inverse γ conversion processing, and LUT processing are taken as examples of processing units. However, the present invention is not limited to this, and other processing units can be used.

【0017】次に、処理単位初期化ブロック1のワーク
データ初期化手段12は、合成結果記憶手段24および
無変換削除結果記憶手段34の保持しているデータを、
例えば0にクリアする。
Next, the work data initialization means 12 of the processing unit initialization block 1 converts the data held in the synthesis result storage means 24 and the non-conversion deletion result storage means 34 into
For example, it is cleared to 0.

【0018】次に、合成ブロック2に制御を移す。合成
制御手段23は、合成判定手段21を呼ぶ。合成判定手
段21は処理単位記憶手段41に記憶された対象処理単
位指示手段42で指されている対象処理単位と、それに
連続した処理単位が合成できるかどうかの判定をする。
判定には処理単位の処理単位種類データを用いる。例え
ば、図3の処理単位701および702は共にマトリッ
クス処理で「3×3」および「3×3+定数」のマトリ
ックスであるため、以下の式のように両者を一つの「3
×3+定数」型のマトリックス処理単位710に合成可
能であると判定し、合成判定手段21は判定結果を返
す。
Next, control is transferred to the synthesis block 2. The combination control unit 23 calls the combination determination unit 21. The combining determination unit 21 determines whether the target processing unit pointed to by the target processing unit designating unit 42 stored in the processing unit storage unit 41 and a processing unit continuous with the target processing unit can be combined.
The processing unit type data of the processing unit is used for the determination. For example, since the processing units 701 and 702 in FIG. 3 are both a matrix of “3 × 3” and “3 × 3 + constant” in the matrix processing, both are processed into one “3” as in the following equation.
It is determined that the combination can be performed with the matrix processing unit 710 of the “× 3 + constant” type, and the combination determination unit 21 returns the determination result.

【0019】[0019]

【数1】 ただし、 a11〜a33はマトリックス処理単位701のマトリ
ックス係数 b11〜b33はマトリックス処理単位702のマトリ
ックス係数 c1〜c3はマトリックス処理単位702および710
の定数項 h11〜h33はマトリックス処理単位710のマトリ
ックス係数 x1〜x3は入力変数とする。
(Equation 1) Here, a11 to a33 are matrix coefficients of the matrix processing unit 701 b11 to b33 are matrix coefficients of the matrix processing unit 702 c1 to c3 are matrix processing units 702 and 710
H11 to h33 are matrix coefficients of the matrix processing unit 710, and x1 to x3 are input variables.

【0020】その他の合成可能条件としては、例えばm
行n列(m×n)のマトリックスとl行m列(l×m)
のマトリックスが連続した場合、LUT処理やγ変換処
理が連続した場合などがある。また、同種のものの連続
に限らず、特開平1−108867号公報に記載されて
いるように、LUTとマトリックスが連続した場合に両
者を合成してLUT形式でマトリックス処理を表すこと
なども可能である。
Other possible conditions for synthesis include, for example, m
Matrix with row n columns (m × n) and l rows and m columns (l × m)
, The LUT processing and the γ conversion processing are continuous. Further, the present invention is not limited to the continuation of the same kind, and as described in JP-A-1-108867, when the LUT and the matrix are continuous, they can be combined to represent the matrix processing in the LUT format. is there.

【0021】合成判定手段21から合成可能が返されれ
ば、合成制御手段23は処理単位合成手段22に合成を
指示する。処理単位合成手段22は、図3の処理単位7
01および702の処理パラメータを合成し、これを新
たな処理単位710として作成し(図4〔ステップ
2〕)、不要となった処理単位701および702を削
除し(図4〔ステップ3〕)、処理単位710を挿入接
続し(図4〔ステップ4〕)、処理単位列記憶手段41
の保持している処理列を更新する。この時、対象処理単
位指示手段42のデータも更新し、合成された処理単位
710を指すようにする。そして、合成が実施されたこ
とを記憶しておくために、合成結果記憶手段24に所定
の値、例えば1をセットする。これで、一回の合成処理
が終了する(図5〔ステップ5〕)。
When the synthesizing determination means 21 returns that synthesizable, the synthesizing control means 23 instructs the processing unit synthesizing means 22 to perform synthesizing. The processing unit synthesizing means 22 is a processing unit 7 shown in FIG.
The processing parameters of 01 and 702 are combined, created as a new processing unit 710 (FIG. 4 [Step 2]), and unnecessary processing units 701 and 702 are deleted (FIG. 4 [Step 3]). The processing unit 710 is inserted and connected (FIG. 4 [Step 4]), and the processing unit sequence storage unit 41 is connected.
Update the processing column held by. At this time, the data of the target processing unit designating means 42 is also updated so as to indicate the combined processing unit 710. Then, a predetermined value, for example, 1 is set in the synthesis result storage means 24 in order to store that the synthesis has been performed. This completes one synthesis process (FIG. 5 [Step 5]).

【0022】合成判定手段21から合成不可能が返され
るか、あるいは、対象処理単位指示手段42が処理単位
列の終端処理単位709を指すまで、合成制御手段23
は上記合成を繰り返し実行する(図6〔ステップ6〕) 次に、無変換削除ブロック3に制御を移し、無変換削除
制御手段331は、無変換判定手段31を呼ぶ。無変換
判定手段31は、処理単位列記憶装置4に記憶された対
象処理単位指示手段42で指されている対象処理単位処
理単位が無変換単位で削除可能かどうか判定する。判定
には対象処理単位の処理単位種類データと処理パラメー
タの両者を用いる。例えば、先に合成された処理単位7
10の判定を考える。処理単位710は「3×3+定
数」型のマトリックス処理であるため、処理パラメータ
であるマトリックス係数および定数項が以下の条件を満
たせば無変換処理単位であると無変換判定手段31は判
定する。
The combining control unit 23 until the combining determination unit 21 returns a combination impossible or the target processing unit designating unit 42 points to the end processing unit 709 of the processing unit sequence.
Repeatedly executes the above synthesis (FIG. 6 [Step 6]). Next, the control is shifted to the non-conversion deletion block 3, and the non-conversion deletion control means 331 calls the non-conversion determination means 31. The non-conversion determination unit 31 determines whether the target processing unit processing unit pointed to by the target processing unit designating unit 42 stored in the processing unit sequence storage device 4 can be deleted in the non-conversion unit. For the determination, both the processing unit type data of the target processing unit and the processing parameter are used. For example, the previously combined processing unit 7
Consider 10 decisions. Since the processing unit 710 is a “3 × 3 + constant” type of matrix processing, the non-conversion determination unit 31 determines that the processing unit is a non-conversion processing unit if the matrix parameter and the constant term as processing parameters satisfy the following conditions.

【0023】hij=1,i=j hij=0,i≠j ci =0 その他の処理単位種類の無変換処理判定条件としては、
例えば3×3マトリックス処理の場合は単位行列である
かどうか、LUT処理の場合はLUTの入力と出力値が
同じかどうか、γ補正あるいは逆γ補正の場合はγ=1
であるかどうかなどがある。
H ij = 1, i = j h ij = 0, i ≠ j c i = 0 Other non-conversion processing determination conditions of the processing unit type include:
For example, in the case of 3 × 3 matrix processing, whether the matrix is a unit matrix, in the case of LUT processing, whether the input and output values of the LUT are the same, and in the case of γ correction or inverse γ correction, γ = 1
And so on.

【0024】無変換判定手段31から削除可能であると
いう判定結果が返されれば、無変換削除制御手段331
は処理単位削除手段32に無変換処理単位の削除を指示
する。処理単位削除手段32は、無変換処理単位を削除
し、その前後の処理単位を接続しなおし、処理単位列記
憶手段41の保持している処理列を更新する。この時、
対象処理単位指示手段42のデータも更新し、削除され
た処理単位の次の処理単位を指すようにする。そして、
削除が実施されたことを記憶しておくために、無変換削
除結果記憶手段34にデータを、例えば1をセットす
る。これで、一回の無変換削除処理が終了する。
If the non-conversion judgment means 31 returns a judgment result indicating that deletion is possible, the no-conversion deletion control means 331
Instructs the processing unit deletion unit 32 to delete the non-conversion processing unit. The processing unit deletion unit 32 deletes the non-conversion processing unit, reconnects the processing units before and after it, and updates the processing sequence stored in the processing unit sequence storage unit 41. At this time,
The data of the target processing unit designating unit 42 is also updated so as to point to the next processing unit after the deleted processing unit. And
In order to store the fact that the deletion has been performed, the data is set to, for example, 1 in the no-conversion deletion result storage means 34. This completes one non-conversion deletion process.

【0025】無変換判定手段31から削除不可能が返さ
れるか、あるいは、対象処理単位指示手段42が処理単
位列の終端処理単位709を指すまで、無変換削除制御
手段331は上記無変換削除処理を繰り返し実行する。
The non-conversion deletion control unit 331 executes the non-conversion deletion processing until the non-conversion determination unit 31 returns a deletion impossible or the target processing unit designating unit 42 indicates the end processing unit 709 of the processing unit sequence. Is repeatedly executed.

【0026】次の繰り返し制御手段332では、対象処
理単位指示手段42のデータが処理列の終端処理単位7
09を指しているかどうかを調べ、終端を指していなけ
れば対象処理単位指示手段42が現在指している次の処
理単位を指すように変更し、合成制御手段23に制御を
移し、上記処理単位合成および無変換処理単位削除を繰
り返す。
In the next repetition control means 332, the data of the target processing unit designating means 42
It is checked whether it points to the processing unit 09, and if it does not point to the end, the target processing unit designating unit 42 is changed to point to the next processing unit currently pointing, and control is transferred to the combining control unit 23, and the processing unit combining And the conversion-free processing unit deletion is repeated.

【0027】そうではなく対象処理単位指示手段42が
終端を指していた場合、合成結果記憶手段24と無変換
削除結果記憶手段34にデータがセットされているかど
うかを調べる。両者の一方でもデータがセットされてい
れば処理単位の組替えが行われたと判定し、判定結果初
期化手段12に制御を移し、再度処理単位列の合成・削
除を行う。これは、処理単位の組替えが行われたことに
より、元々は連続していなかった二つの処理単位が接続
され両者が合成できることもあるため、処理単位列全体
の組替えを再度実施するためである。
On the other hand, if the target processing unit designating means 42 points to the end, it is checked whether data is set in the combined result storing means 24 and the non-conversion deletion result storing means 34. If data is set in either one of them, it is determined that the processing unit has been rearranged, the control is transferred to the determination result initializing means 12, and the processing unit sequence is synthesized / deleted again. This is because the rearrangement of the entire processing unit sequence is performed again because two originally non-consecutive processing units may be connected and combined in some cases due to the rearrangement of the processing units.

【0028】両者共にデータがセットされていなけれ
ば、これ以上の処理単位の組替えは不可能と判定し処理
単位列の組替えを終了する(図7〔ステップ7〕)。そ
して、処理単位列記憶手段41に記憶された処理単位列
の終端処理単位709は不要なため削除した後、初期化
終了を出力して色変換処理の初期化を終了する。その
後、入力画像の色変換処理が開始される。
If no data has been set in both, it is determined that further processing unit reordering is not possible, and the reordering of the processing unit sequence is terminated (FIG. 7 [Step 7]). Then, since the terminal processing unit 709 of the processing unit sequence stored in the processing unit sequence storage unit 41 is unnecessary, the terminal processing unit 709 is deleted, and then the end of initialization is output to end the initialization of the color conversion process. Thereafter, the color conversion processing of the input image is started.

【0029】[0029]

【発明の効果】以上述べたように、本発明によれば、色
変換処理単位を自由に接続した処理単位列を作り、その
中の処理単位の合成および削除を繰り返し実施し色変換
処理を簡略化できるようにしたので、複雑な色変換処理
も実施可能となり、処理時間も短縮できるという効果を
奏する。
As described above, according to the present invention, a processing unit sequence in which color conversion processing units are freely connected is formed, and the synthesis and deletion of the processing units therein are repeatedly performed to simplify the color conversion processing. This makes it possible to carry out complicated color conversion processing, and the processing time can be shortened.

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

【図1】 本発明の概略を示すブロック図である。FIG. 1 is a block diagram showing an outline of the present invention.

【図2】 本発明の実施例を示すブロック図である。FIG. 2 is a block diagram showing an embodiment of the present invention.

【図3】 色変換処理単位列の例を示す図である。FIG. 3 is a diagram illustrating an example of a color conversion processing unit sequence.

【図4】 処理単位の合成・削除の手順を示す説明図で
ある。
FIG. 4 is an explanatory diagram showing a procedure of combining and deleting processing units.

【図5】 図4に続く処理単位の合成・削除の手順を示
す説明図である。
FIG. 5 is an explanatory diagram showing a procedure of combining and deleting processing units following FIG. 4;

【図6】 図5に続く処理単位の合成・削除の手順を示
す説明図である。
FIG. 6 is an explanatory diagram showing a procedure of combining and deleting processing units following FIG. 5;

【図7】 図6に続く処理単位の合成・削除の手順を示
す説明図である。
FIG. 7 is an explanatory diagram showing a procedure of combining and deleting processing units following FIG. 6;

【図8】 第1の従来例を示すブロック図である。FIG. 8 is a block diagram showing a first conventional example.

【図9】 第2の従来例を示すブロック図である。FIG. 9 is a block diagram showing a second conventional example.

【図10】 色変換処理の例を示す図である。FIG. 10 is a diagram illustrating an example of a color conversion process.

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

1…処理単位初期化ブロック、11…処理単位接続手
段、12…ワークデータ初期化手段、2…合成ブロッ
ク、21…合成判定手段、22…処理単位合成手段、2
3…合成制御手段、24…合成結果記憶手段、3…無変
換削除ブロック、31…無変換判定手段、32…処理単
位削除手段、33…合成削除制御手段、331…無変換
削除制御手段、332…繰り返し制御手段、34…無変
換削除結果記憶手段、4…処理単位列記憶装置、41…
処理単位列記憶手段、42…対象処理単位指示手段、5
…第1の従来例における色変換処理、6…第2の従来例
における色変換処理、7…色変換処理の例、700…色
変換処理の一部、701〜703,705,706,7
08,710〜712…マトリックス処理単位、704
…逆γ変換処理単位、707…LUT処理単位、709
…終端処理単位
DESCRIPTION OF SYMBOLS 1 ... Processing unit initialization block, 11 ... Processing unit connection means, 12 ... Work data initialization means, 2 ... Synthesis block, 21 ... Synthesis determination means, 22 ... Processing unit synthesis means, 2
DESCRIPTION OF SYMBOLS 3 ... Synthesis control means, 24 ... Synthesis result storage means, 3 ... Non-conversion deletion block, 31 ... Non-conversion determination means, 32 ... Processing unit deletion means, 33 ... Synthesis deletion control means, 331 ... Non-conversion deletion control means, 332 ... repetition control means, 34 ... non-conversion deletion result storage means, 4 ... processing unit sequence storage device, 41 ...
Processing unit sequence storage means, 42... Target processing unit designating means, 5
... color conversion processing in the first conventional example, 6 ... color conversion processing in the second conventional example, 7 ... example of color conversion processing, 700 ... part of the color conversion processing, 701 to 703, 705, 706, 7
08, 710 to 712: Matrix processing unit, 704
... Inverse γ conversion processing unit, 707 LUT processing unit, 709
… Terminal processing unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 1/46 - 1/64 G06T 1/00 510 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 1/46-1/64 G06T 1/00 510

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 色変換を構成する処理単位の種類を表す
処理単位種類データと処理パラメータとからなる処理単
位を複数接続する処理単位接続手段と、 上記処理単位接続手段により接続された複数の処理単位
を上記処理単位種類データに基づいて合成可能かどうか
を判定する合成判定手段と、 上記合成判定手段の判定に基づいて複数の処理単位を合
成する処理単位合成手段とを具備することを特徴とする
色変換処理装置。
1. A processing unit connection unit for connecting a plurality of processing units each including processing unit type data representing a type of a processing unit constituting color conversion and a processing parameter; and a plurality of processes connected by the processing unit connection unit. A combination determining unit that determines whether a unit can be combined based on the processing unit type data; and a processing unit combining unit that combines a plurality of processing units based on the determination of the combination determining unit. Color conversion processing device.
【請求項2】 上記合成判定手段の判定に基づいて、処
理単位の合成を可能な限り繰り返す合成制御手段を具備
することを特徴とする請求項1記載の色変換処理装置。
2. The color conversion processing device according to claim 1, further comprising a combination control unit that repeats the combination of the processing units as much as possible based on the determination by the combination determination unit.
【請求項3】 上記処理単位合成手段により合成された
処理単位の上記処理単位種類データと上記処理パラメー
タに基づいて処理単位が無変換処理であるかを判定する
無変換判定手段と、上記無変換判定手段の判定に基づい
て処理単位を削除する処理単位削除手段とを具備するこ
とを特徴とする請求項1記載の色変換処理装置。
3. A non-conversion determining unit for determining whether the processing unit is a non-conversion process based on the processing unit type data of the processing unit synthesized by the processing unit synthesizing unit and the processing parameter; 2. The color conversion processing device according to claim 1, further comprising a processing unit deleting unit that deletes the processing unit based on the determination by the determining unit.
【請求項4】 上記合成判定手段の判定と上記無変換判
定手段の判定に基づいて、処理単位の合成および削除を
可能な限り繰り返す合成削除制御手段を具備することを
特徴とする請求項3記載の色変換処理装置。
4. The apparatus according to claim 3, further comprising a composition / deletion control means for repeating composition and deletion of processing units as much as possible based on the judgment of the composition judgment means and the judgment of the no-conversion judgment means. Color conversion processor.
JP14236293A 1993-06-14 1993-06-14 Color conversion processor Expired - Fee Related JP3206781B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14236293A JP3206781B2 (en) 1993-06-14 1993-06-14 Color conversion processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14236293A JP3206781B2 (en) 1993-06-14 1993-06-14 Color conversion processor

Publications (2)

Publication Number Publication Date
JPH06348795A JPH06348795A (en) 1994-12-22
JP3206781B2 true JP3206781B2 (en) 2001-09-10

Family

ID=15313622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14236293A Expired - Fee Related JP3206781B2 (en) 1993-06-14 1993-06-14 Color conversion processor

Country Status (1)

Country Link
JP (1) JP3206781B2 (en)

Also Published As

Publication number Publication date
JPH06348795A (en) 1994-12-22

Similar Documents

Publication Publication Date Title
US5208911A (en) Method and apparatus for storing and communicating a transform definition which includes sample values representing an input/output relation of an image transformation
US5027196A (en) Method of and apparatus for simulating object image to be printed
US5432906A (en) Color image processing system for preparing a composite image transformation module for performing a plurality of selected image transformations
US5896122A (en) Color image processing
JP3409541B2 (en) Color correction method, color correction device, color correction application device, and color image system
JPH0371717B2 (en)
EP0703701A2 (en) Color image processing system for preparing a composite image transformation module for performing a plurality of selected image transformations
JPH1117974A (en) Image processor
US7355752B2 (en) Two-dimensional calibration architectures for color devices
JP3339770B2 (en) Color converter
JPH05183742A (en) Device for deciding color compensation parameter
JP2004118442A (en) Image color correction device, image color correction method, and image color correction program
US5489921A (en) Method for generating uniform color area definitions with addition and removal operators
US20040008381A1 (en) System and method for converting color data to gray data
JP3354158B2 (en) Color correction device, color correction method, and color correction application device
JP3206781B2 (en) Color conversion processor
JP2000032281A (en) Image processing method and device and recording medium
US5140314A (en) Image assembly
US7616345B2 (en) Method for transforming a digital image from a first to a second colorant space
JPH0795427A (en) Method and device for picture processing
JPH06334850A (en) Color conversion processing unit
JPH06169393A (en) Color tone correcting device
EP1422665B1 (en) Method and apparatus for converting image color values from a first to a second color space
JPH09275496A (en) Image contour emphasis processing unit and its method
JPH0923447A (en) Picture processor and picture processing method

Legal Events

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

Free format text: PAYMENT UNTIL: 20080706

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090706

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100706

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100706

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110706

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110706

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees