[go: up one dir, main page]

JP2003069841A - Apparatus and method for converting color and recording medium - Google Patents

Apparatus and method for converting color and recording medium

Info

Publication number
JP2003069841A
JP2003069841A JP2001252950A JP2001252950A JP2003069841A JP 2003069841 A JP2003069841 A JP 2003069841A JP 2001252950 A JP2001252950 A JP 2001252950A JP 2001252950 A JP2001252950 A JP 2001252950A JP 2003069841 A JP2003069841 A JP 2003069841A
Authority
JP
Japan
Prior art keywords
dimensional
interpolation
color signal
input color
data
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
JP2001252950A
Other languages
Japanese (ja)
Inventor
Toshio Shirasawa
寿夫 白沢
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001252950A priority Critical patent/JP2003069841A/en
Priority to US10/067,417 priority patent/US7072084B2/en
Publication of JP2003069841A publication Critical patent/JP2003069841A/en
Priority to US11/433,528 priority patent/US7310167B2/en
Pending legal-status Critical Current

Links

Landscapes

  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To fast perform an interpolation operation of n (n>=4)-dimensional data suitable to software processing. SOLUTION: A computer 102 performs color conversion processing of CMYK image data generated by an image forming apparatus 100 to convert the CMYK image data into an RGB image and stores the RGB image in a storage medium, etc. Color conversion processing of CMYK four-dimensional data is subjected to four-dimensional memory map interpolation operation (four-dimensional color space is divided into a plurality of unit prisms each having 16-vertexes, and an interpolation parameter allocated to a unit prism having 16-vertex to which an input signal belongs is used to perform an interpolation operation) suitable to CPU processing.

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 apparatus, a color conversion method and a recording medium for inputting a color image signal and performing color conversion into a color signal for a color output apparatus, a color facsimile, a color printer, and a color printer. This technology is applied to color conversion devices such as hard copy and software for color printers that run on workstations.

【0002】[0002]

【従来の技術】カラー・プリンタやカラー複写機などの
カラー画像形成装置において、画像形成装置内でプリン
ト用に生成したCMYK画像を繰り返し利用できるよう
に、プリント用CMYK画像データをハードディスクな
どの記憶装置に蓄積できる機能を有するものがある。こ
の蓄積されたCMYK画像をコンピュータで再利用しや
すいRGB画像に変換することにより、コンピュータに
接続された画像表示装置に表示してソフトコピー画像と
して観察することができる。また、変換されたRGB画
像データを表示装置などに表示し、これに文字や記号を
加えるなどの加工を施し、この加工されたデジタル画像
データを再度ハードコピーとして再現することもでき
る。
2. Description of the Related Art In a color image forming apparatus such as a color printer or a color copying machine, a CMYK image data for printing is stored in a storage device such as a hard disk so that a CMYK image generated for printing in the image forming apparatus can be repeatedly used. Some have functions that can be stored in. By converting this accumulated CMYK image into an RGB image that can be easily reused by a computer, it can be displayed on an image display device connected to the computer and viewed as a soft copy image. It is also possible to display the converted RGB image data on a display device or the like, perform processing such as adding characters or symbols thereto, and reproduce the processed digital image data again as a hard copy.

【0003】CMYK画像をRGB画像に効率的に色変
換する一般的な手法としては、例えば4次元ルックアッ
プテーブルを用いたメモリマップ補間演算方式が提案さ
れている(特許第2903808号を参照)。
As a general method for efficiently color-converting a CMYK image into an RGB image, a memory map interpolation calculation method using a four-dimensional lookup table has been proposed (see Japanese Patent No. 2903808).

【0004】上記したメモリマップ補間法は、4信号で
形成される4次元色空間を複数の5頂点体に分割し、入
力信号の上位ビットを用いて入力色データが含まれる5
頂点体を選択し、前記5頂点体に対応する補間演算用強
度を4次元ルックアップテーブルから読み取って線形補
間演算を行うことにより色空間全域にわたって高精度な
色変換を実現するものである。
In the memory map interpolation method described above, the four-dimensional color space formed by four signals is divided into a plurality of five vertex bodies, and the input color data is included by using the upper bits of the input signal.
Highly accurate color conversion is realized over the entire color space by selecting a vertex body, reading the intensity for interpolation calculation corresponding to the five vertex bodies from the four-dimensional lookup table, and performing linear interpolation calculation.

【0005】また、CMYK画像をRGB画像に効率的
に色変換する他の手法としては、例えば特開平9−28
4579号公報に記載された装置がある。この装置で
は、複数の3次元補間演算の結果を線形補間することに
より、4次元補間演算を行う。例えば、CMYK信号入
力の場合には、C,M,Y空間の3次元補間演算結果を
複数行い、K信号の上位ビットに基づき前記3次元補間
演算結果の2つを選択し、K信号の下位ビットで線形補
間することにより4次元補間演算結果を計算することが
できる。
Another method for efficiently color-converting a CMYK image into an RGB image is, for example, Japanese Patent Laid-Open No. 9-28.
There is a device described in Japanese Patent No. 4579. In this device, four-dimensional interpolation calculation is performed by linearly interpolating the results of a plurality of three-dimensional interpolation calculations. For example, in the case of CMYK signal input, a plurality of three-dimensional interpolation calculation results of C, M, and Y spaces are performed, and two of the three-dimensional interpolation calculation results are selected based on the upper bits of the K signal, and the lower order of the K signal is selected. A four-dimensional interpolation calculation result can be calculated by linearly interpolating with bits.

【0006】[0006]

【発明が解決しようとする課題】しかし、上記した前者
の方法は、単位立方体を24の5頂点体に分割している
ため、入力信号の下位ビットを用いて24パターンの判
定処理が必要となる。このため、ハードウェアで実行す
る場合には、この判定処理を並列に処理できるので問題
ないが、CPU(ソフトウェア)処理で行う場合には下
位ビットの大小判定を逐次行う必要があるので処理時間
がかかる。
However, in the former method described above, since the unit cube is divided into 24 five-vertex bodies, the judgment processing of 24 patterns is required by using the lower bits of the input signal. . Therefore, when executed by hardware, there is no problem because this judgment processing can be processed in parallel, but when executed by CPU (software) processing, it is necessary to successively judge the magnitude of the lower bits, so processing time is reduced. It takes.

【0007】また、後者の装置では、複数の3次元補間
演算を並列処理で実行するようにしているため、CPU
処理を行う場合には処理に相当な時間がかかってしま
う。例えば、CMYK各軸を8分割した4次元補間演算
を行う場合には、9通りのK信号それぞれの場合に対応
した3次元補間演算を行うことになり、3次元補間演算
を合計9回実行することになる。
In the latter device, since a plurality of three-dimensional interpolation operations are executed in parallel, the CPU
When processing is performed, it takes a considerable amount of time. For example, in the case of performing a four-dimensional interpolation operation in which each of the CMYK axes is divided into eight, the three-dimensional interpolation operation corresponding to each of the nine K signals is performed, and the three-dimensional interpolation operation is executed nine times in total. It will be.

【0008】本発明は上記した問題点に鑑みてなされた
もので、本発明の目的は、ソフトウェア処理に好適なn
(n>=4)次元データの補間演算を高速に実行可能な
色変換装置、色変換方法および記録媒体を提供すること
にある。
The present invention has been made in view of the above problems, and an object of the present invention is to provide an n-type suitable for software processing.
An object of the present invention is to provide a color conversion device, a color conversion method, and a recording medium that can perform interpolation calculation of (n> = 4) -dimensional data at high speed.

【0009】[0009]

【課題を解決するための手段】本発明では、4次元の入
力色空間(CMYK)を、入力色信号の上位データで選
択される複数の16頂点体に分割し、さらに、1つの1
6頂点体を入力色信号の下位データで選択される6個の
8頂点体(T1〜T6)に分割し、入力色信号が属する
8頂点体に対応する補間係数(P0〜P15)を用いて
補間演算を行い出力色信号(RGB)に変換する色変換
装置であって、前記各8頂点体(T1〜T6)に対応す
る4次元の補間係数(P0〜P15)を記憶した記憶手
段と、前記入力色信号の下位データの大小関係を基に前
記入力色信号が属する8頂点体を判定する判定手段と、
前記判定された8頂点体に対応する4次元の補間係数を
前記記憶手段から読み出す手段と、前記4次元の補間係
数から3次元の補間演算用の係数(Pa〜Pd)を生成
する手段と、前記入力色信号の下位データと前記3次元
の補間演算用の係数を用いて3次元の補間演算を実行す
る手段とを備え、CPU処理であっても4次元以上の入
力信号に対する色変換を高速に実行可能とし、単位多面
体の判定を高速に行う。
According to the present invention, a four-dimensional input color space (CMYK) is divided into a plurality of 16-vertex bodies selected by higher-order data of an input color signal, and one
The 6-vertex body is divided into 6 8-vertex bodies (T1 to T6) selected by the lower data of the input color signal, and the interpolation coefficients (P0 to P15) corresponding to the 8-vertex body to which the input color signal belongs are used. A color conversion device that performs interpolation calculation and converts into an output color signal (RGB), and storage means that stores four-dimensional interpolation coefficients (P0 to P15) corresponding to each of the eight vertex bodies (T1 to T6). Determination means for determining the 8-vertex body to which the input color signal belongs, based on the magnitude relationship of the lower-order data of the input color signal,
A means for reading out a four-dimensional interpolation coefficient corresponding to the determined eight-vertex body from the storage means; a means for generating a coefficient for three-dimensional interpolation calculation (Pa to Pd) from the four-dimensional interpolation coefficient; A high-speed color conversion is performed on an input signal of four or more dimensions even by CPU processing, by including means for performing a three-dimensional interpolation operation using the lower-order data of the input color signal and the coefficient for the three-dimensional interpolation operation. The unit polyhedron can be determined at high speed.

【0010】本発明では、マルチバンド・データのごと
き多数の色成分を含む色信号であっても、高速に色変換
を実行可能とする。
According to the present invention, color conversion can be executed at high speed even for a color signal containing a large number of color components such as multi-band data.

【0011】本発明では、CPU処理に適した積和演算
を高速に実行可能とする。
According to the present invention, the product-sum operation suitable for CPU processing can be executed at high speed.

【0012】本発明では、積和演算が高速でないCPU
処理であっても、多次元の入力信号に対する色変換を高
速に実行可能とする。
According to the present invention, a CPU whose product-sum operation is not fast
Even in the case of processing, color conversion can be executed at high speed for multidimensional input signals.

【0013】本発明では、4次元以上の入力信号を色変
換する際に、ルックアップテーブルのアクセス時間を短
縮する。
In the present invention, the access time of the look-up table is shortened when color-converting an input signal of four or more dimensions.

【0014】[0014]

【発明の実施の形態】以下、本発明の一実施例を図面を
用いて具体的に説明する。 (実施例1) (画像処理システムの構成)図1は、本発明に係る画像
処理システムの構成例を示す。図1の構成例では、画像
処理システムは、画像形成装置100、101と、コン
ピュータ102と、ディスプレイ103と、プリンタ制
御装置104とを有している。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be specifically described below with reference to the drawings. (Embodiment 1) (Configuration of image processing system) FIG. 1 shows an example of the configuration of an image processing system according to the present invention. In the configuration example of FIG. 1, the image processing system includes image forming apparatuses 100 and 101, a computer 102, a display 103, and a printer control apparatus 104.

【0015】ここで、画像形成装置100(P1)は、
CMYK画像データを外部装置に供給するための画像形
成装置であり、ハードディスクやRAMなどのデータ記
憶装置を備えたカラー・プリンタやカラーコピー機やカ
ラーファクシミリ機を用いることができる。
Here, the image forming apparatus 100 (P1) is
An image forming apparatus for supplying CMYK image data to an external device, and a color printer, a color copying machine, or a color facsimile machine having a data storage device such as a hard disk or a RAM can be used.

【0016】コンピュータ102は、画像形成装置10
0(P1)により供給されたCMYK画像データをRG
B画像データに変換するための色変換機能などを有す
る。また、各種のアプリケーションやプリンタ・ドライ
バ等のソフトウェアも実装可能であり、色変換したRG
B画像データをディスプレイ103に表示したり、画像
形成装置101に対応したプリンタ・ドライバを動作さ
せて画像形成装置P2で出力したりする。
The computer 102 is the image forming apparatus 10.
CMYK image data supplied by 0 (P1) is RG
It has a color conversion function for converting to B image data. Also, software such as various applications and printer drivers can be implemented, and color-converted RG
The B image data is displayed on the display 103, or a printer driver corresponding to the image forming apparatus 101 is operated to output the image forming apparatus P2.

【0017】画像形成装置101(P2)は、コンピュ
ータ102から描画データを受け取ってハードコピー出
力を行うものであり、プリンタ制御装置104を備えた
カラー・プリンタなどである。プリンタ制御装置104
は、コンピュータ102から送信された描画データをハ
ードコピー出力用の画像データに変換するための処理装
置であり、図示しないレンダリング処理部、バンドバッ
ファ、色変換処理部、階調処理部、ページメモリなどで
構成される。
The image forming apparatus 101 (P2) receives drawing data from the computer 102 and performs hard copy output, and is a color printer or the like having a printer controller 104. Printer control device 104
Is a processing device for converting drawing data transmitted from the computer 102 into image data for hard copy output, such as a rendering processing unit, a band buffer, a color conversion processing unit, a gradation processing unit, and a page memory (not shown). Composed of.

【0018】なお、本実施例では、プリンタ制御装置1
04は、画像形成装置P2内に実装されたものとして説
明しているが、画像形成装置P2とは独立した装置であ
ってもよいし、その機能の一部をコンピュータ102の
プリンタ・ドライバなどで実行するような形態であって
もよい。
In this embodiment, the printer controller 1
Although 04 is described as being mounted in the image forming apparatus P2, it may be an apparatus independent of the image forming apparatus P2, or a part of the function thereof may be realized by a printer driver of the computer 102 or the like. It may be executed.

【0019】(画像処理システムの動作)次に、図1の
画像処理システム全体の動作について説明する。まず、
画像形成装置100(P1)は、ハードコピー出力を行
う過程で生成されたCMYK画像データを、内蔵してい
るハードディスクなどに蓄積する。ハードコピー出力の
動作は、例えば、カラー・プリンタを用いたプリント作
業やカラー複写機を用いた複写の作業を意味する。画像
形成装置100(P1)において生成されたCMYK画
像データは、ネットワークを通してコンピュータ102
へ転送される。コンピュータ102は転送されたCMY
K画像データに対し色変換処理を行ってRGB画像に変
換し、コンピュータ102が備えるハードディスクなど
の記憶媒体へ保存する。
(Operation of Image Processing System) Next, the operation of the entire image processing system of FIG. 1 will be described. First,
The image forming apparatus 100 (P1) stores the CMYK image data generated during the hard copy output in a built-in hard disk or the like. The hard copy output operation means, for example, a printing operation using a color printer or a copying operation using a color copying machine. The CMYK image data generated in the image forming apparatus 100 (P1) is transferred to the computer 102 through the network.
Transferred to. Computer 102 transferred CMY
Color conversion processing is performed on the K image data to convert it to an RGB image, and the RGB image is stored in a storage medium such as a hard disk included in the computer 102.

【0020】コンピュータ102のオペレータは、必要
に応じてコンピュータ102に保存されているRGB画
像データをディスプレイに表示して閲覧したり、加工し
たり、別のカラー・プリンタへ出力しプリンタさせたり
することができる。
The operator of the computer 102 can display the RGB image data stored in the computer 102 on the display for viewing, processing, or outputting to another color printer for printing, if necessary. You can

【0021】(色変換方式の説明)さて、上記した画像
処理システムでは、CMYK信号の4次元データをRG
B信号などの3次元データへ変換するための色変換動作
をコンピュータ102で実行する。本発明では、この4
次元データの色変換処理をCPU処理に適した4次元メ
モリマップ補間演算を用いて行う。
(Explanation of Color Conversion System) Now, in the above-mentioned image processing system, the four-dimensional data of CMYK signals is converted to RG.
The computer 102 executes a color conversion operation for converting into three-dimensional data such as a B signal. In the present invention, this 4
The color conversion processing of the dimensional data is performed by using the four-dimensional memory map interpolation calculation suitable for the CPU processing.

【0022】そこで、まず本発明に係る4次元データの
メモリマップ補間法について原理的な説明を行う。4次
元メモリマップ補間演算とは、C,M,Y,Kの4信号
を軸とする4次元の色空間を複数の単位16頂点体に分
割し、入力信号が属する単位16頂点体に割り当てられ
た補間パラメータを用いて補間演算を行うものである。
Therefore, the principle of the memory map interpolation method for four-dimensional data according to the present invention will be described first. The four-dimensional memory map interpolation calculation divides a four-dimensional color space having four signals of C, M, Y, and K as axes into a plurality of unit 16-vertex bodies, and assigns them to the unit 16-vertex bodies to which the input signal belongs. The interpolation calculation is performed using the interpolation parameters.

【0023】ここで、C,M,Y,K信号が各8bit
データで各軸を15分割した場合(15の4乗個の単位
16頂点体に分割)を例に説明する。8bit信号を1
5分割すると、1ステップは255/15=17とな
る。そこで、Tp=T/17,ΔT=17(Tは、C,
M,Y,Kの各色信号値、Tp,ΔTは整数値)とする
と入力信号Xは、上位データと下位データに分離して
(C=17*Cp+ΔC、M=17*Mp+ΔM、Y=
17*Yp+ΔY、K=17*Kp+ΔK)と表され
る。
Here, the C, M, Y, and K signals are each 8 bits.
An example will be described in which each axis is divided into 15 parts by data (divided into 15 squared units of 16 vertex bodies). 8-bit signal is 1
If divided into 5, one step is 255/15 = 17. Therefore, Tp = T / 17, ΔT = 17 (T is C,
Assuming that each color signal value of M, Y and K and Tp and ΔT are integer values, the input signal X is separated into upper data and lower data (C = 17 * Cp + ΔC, M = 17 * Mp + ΔM, Y =
17 * Yp + ΔY, K = 17 * Kp + ΔK).

【0024】この入力信号Xを取り囲む16頂点体の頂
点座標(=格子点)は、[C,M,Y,K]=[17*
Cp,17*Mp,17*Yp,17*Kp],[17
*Cp,17*Mp,17*Yp,17*(Kp+
1)],[17*(Cp+1),17*Mp,17*Y
p,17*Kp],[17*(Cp+1),17*M
p,17*Yp,17*(Kp+1)],[17*C
p,17*(Mp+1),17*Yp,17*Kp],
[17*Cp,17*(Mp+1),17*Yp,17
*(Kp+1)],[17*Cp,17*Mp,17*
(Yp+1),17*Kp],[17*Cp,17*M
p,17*(Yp+1),17*(Kp+1)],[1
7*(Cp+1),17*(Mp+1),17*Yp,
17*Kp],[17*(Cp+1),17*(Mp+
1),17*Yp,17*(Kp+1)],[17*
(Cp+1),17*Mp,17*(Yp+1),17
*Kp],[17*(Cp+1),17*Mp,17*
(Yp+1),17*(Kp+1)],[17*Cp,
17*(Mp+1),17*(Yp+1),17*K
p],[17*Cp,17*(Mp+1),17*(Y
p+1),17*(Kp+1)],[17*(Cp+
1),17*(Mp+1),17*(Yp+1),17
*Kp],[17*(Cp+1),17*(Mp+
1),17*(Yp+1),17*(Kp+1)]とな
る。
The vertex coordinates (= lattice points) of the 16-vertex body surrounding the input signal X are [C, M, Y, K] = [17 *
Cp, 17 * Mp, 17 * Yp, 17 * Kp], [17
* Cp, 17 * Mp, 17 * Yp, 17 * (Kp +
1)], [17 * (Cp + 1), 17 * Mp, 17 * Y
p, 17 * Kp], [17 * (Cp + 1), 17 * M
p, 17 * Yp, 17 * (Kp + 1)], [17 * C
p, 17 * (Mp + 1), 17 * Yp, 17 * Kp],
[17 * Cp, 17 * (Mp + 1), 17 * Yp, 17
* (Kp + 1)], [17 * Cp, 17 * Mp, 17 *
(Yp + 1), 17 * Kp], [17 * Cp, 17 * M
p, 17 * (Yp + 1), 17 * (Kp + 1)], [1
7 * (Cp + 1), 17 * (Mp + 1), 17 * Yp,
17 * Kp], [17 * (Cp + 1), 17 * (Mp +
1), 17 * Yp, 17 * (Kp + 1)], [17 *
(Cp + 1), 17 * Mp, 17 * (Yp + 1), 17
* Kp], [17 * (Cp + 1), 17 * Mp, 17 *
(Yp + 1), 17 * (Kp + 1)], [17 * Cp,
17 * (Mp + 1), 17 * (Yp + 1), 17 * K
p], [17 * Cp, 17 * (Mp + 1), 17 * (Y
p + 1), 17 * (Kp + 1)], [17 * (Cp +
1), 17 * (Mp + 1), 17 * (Yp + 1), 17
* Kp], [17 * (Cp + 1), 17 * (Mp +
1), 17 * (Yp + 1), 17 * (Kp + 1)].

【0025】この単位16頂点体を図3に示す。図3で
は単位16頂点体は本来4次元の立体であるが、図示で
きないため簡易的に2つの3次元立方体に分割して描い
ている。即ち、左の立方体は、Kの値をKp×Δに固定
したときのCMYの単位補間立体であり、右の立方体は
Kの格子点を(Kp+1)×ΔとしたときのCMY空間
の単位補間立体である(Δは単位補間立体の格子サイズ
であり、15分割の場合にはΔ=17である)。
This unit 16 vertex body is shown in FIG. In FIG. 3, the unit 16-vertex body is originally a 4-dimensional solid, but since it cannot be shown, it is simply divided into two 3-dimensional cubes. That is, the left cube is a CMY unit interpolation solid when the K value is fixed to Kp × Δ, and the right cube is a CMY space unit interpolation when the K grid point is (Kp + 1) × Δ. It is a solid (Δ is the grid size of the unit interpolation solid, and in the case of 15 divisions, Δ = 17).

【0026】この単位16面体の補間演算方式として
は、単位16頂点体を24の5頂点体に分割して5点補
間演算を行う方法が知られているが、5点の選び方が2
4パターンもあるため5頂点体の判定が複雑になる。そ
こで、本発明では16頂点体を図4に示すように6つの
8頂点体に分割し、8点補間演算を用いる。
As an interpolation calculation method for this unit 16-faced body, there is known a method in which a unit 16-vertex body is divided into 24 5-vertices bodies to perform 5-point interpolation calculation.
Since there are also 4 patterns, the determination of 5 vertex bodies becomes complicated. Therefore, in the present invention, the 16-vertex body is divided into six 8-vertex bodies as shown in FIG. 4, and the 8-point interpolation calculation is used.

【0027】まず、入力色信号の上位データで複数の単
位16頂点体から1つの単位16頂点体を選択する。次
いで、8点補間演算では、C、M、Yの下位データΔ
C,ΔM,ΔYを大小判定して、8頂点体の判定処理を
行う。この大小判定の判定式を図5に示す。
First, one unit 16-vertex body is selected from a plurality of unit 16-vertex bodies in the upper data of the input color signal. Next, in the 8-point interpolation calculation, the lower data Δ of C, M, Y
C, ΔM, and ΔY are determined to be large or small, and the 8-vertex body determination process is performed. FIG. 5 shows a judgment formula for this size judgment.

【0028】続いて、前述の判定処理で選択された8頂
点体を用いて補間演算処理を行う。例として、(T1)
が選択された場合について、図6を用いて補間演算方法
を説明する。本発明による補間演算法では、まず8頂点
体の対応する2頂点を線形補間し、1つの4面体を作成
する。図6の例では、 Pa=P0+(P8−P0)×Δk (式1−a) Pb=P1+(P9−P1)×Δk (式1−b) Pc=P3+(P11−P3)×Δk (式1−c) Pd=P7+(P15−P7)×Δk (式1−d) として、Pa,Pb,Pc,Pdを計算する。但し、Δ
k=ΔK/Δ(0≦Δk≦1.0)であり、Piは各頂
点に割り当てられている出力値を意味している。このよ
うに、対応する2頂点をKの下位データを用いて線形補
間することにより、4次元補間演算を3次元の四面体補
間演算に置き換えることができる。
Subsequently, an interpolation calculation process is performed using the eight vertex bodies selected in the above-mentioned determination process. As an example, (T1)
In the case where is selected, the interpolation calculation method will be described with reference to FIG. In the interpolation calculation method according to the present invention, first, two corresponding vertices of eight vertices are linearly interpolated to create one tetrahedron. In the example of FIG. 6, Pa = P0 + (P8−P0) × Δk (Equation 1-a) Pb = P1 + (P9−P1) × Δk (Equation 1-b) Pc = P3 + (P11−P3) × Δk (Equation 1-c) Pd = P7 + (P15−P7) × Δk (Equation 1-d), and Pa, Pb, Pc, and Pd are calculated. However, Δ
k = ΔK / Δ (0 ≦ Δk ≦ 1.0), and Pi means the output value assigned to each vertex. By linearly interpolating the corresponding two vertices using the lower K data, the four-dimensional interpolation operation can be replaced with the three-dimensional tetrahedral interpolation operation.

【0029】四面体が作成されると、通常の3次元空間
での四面体補間演算と同様にして P=αΔC/Δ+βΔM/Δ+γΔY/Δ+δ (式2−a) =(Pb−Pa)ΔC/Δ+(Pc−Pb)ΔM/Δ+(Pd−Pc)ΔY/ Δ+Pa (式2−b) として、出力値Pが計算できる。(T2)〜(T6)が
選ばれた場合にも同様に計算する。各8頂点体と上式の
係数α、β、γの対応関係は図7に示す通りである。但
し、P(i,j)は頂点Piと頂点Pjに割り当てられ
ている出力値をΔkで線形補間した値とする。
When the tetrahedron is created, P = αΔC / Δ + βΔM / Δ + γΔY / Δ + δ (Equation 2-a) = (Pb-Pa) ΔC / Δ + in the same manner as the normal tetrahedral interpolation calculation in the three-dimensional space. The output value P can be calculated as (Pc−Pb) ΔM / Δ + (Pd−Pc) ΔY / Δ + Pa (Equation 2-b). The same calculation is performed when (T2) to (T6) are selected. The correspondence between each of the eight vertex bodies and the coefficients α, β, and γ in the above equation is as shown in FIG. 7. However, P (i, j) is a value obtained by linearly interpolating the output values assigned to the vertices Pi and Pj by Δk.

【0030】本発明では、上記した計算により4次元の
補間演算を行うようにしている。なお、図3では、補間
対象領域の16頂点体を立方体2つで図示したが、本発
明は補間対象領域をそれに限定することはなく、辺の長
さが異なる16頂点体や、極座標表示の入力信号等に対
応した変形16頂点体の場合にも適用が可能である。
In the present invention, four-dimensional interpolation calculation is performed by the above calculation. In FIG. 3, the 16-vertex body of the interpolation target area is shown as two cubes, but the present invention does not limit the interpolation-target area to that, and the 16-vertex body with different side lengths or polar coordinate display. It can also be applied to the case of a modified 16-vertex body corresponding to an input signal or the like.

【0031】(色変換処理の構成・動作)上記した色変
換方式を実現する色変換装置の具体例について、以下説
明する。図1の画像処理システムでは、コンピュータ1
02は、画像形成装置P1より送信されたCMYK画像
をRGB画像に変換するようにシステムを制御してい
る。色変換動作を実行するコンピュータ102の構成例
を図2に示す。コンピュータ102は、外部のデバイス
とデータ通信を行うNIC、NICから送られたイメー
ジ・データを一時記憶するためのDISK、補間パラメ
ータを記憶する4D−LUT記憶部、色変換処理などを
実行する中央演算処理装置(=CPU)及びRAM等で
構成される。
(Structure / Operation of Color Conversion Processing) A specific example of a color conversion device that realizes the above-described color conversion method will be described below. In the image processing system of FIG. 1, the computer 1
02 controls the system to convert the CMYK image transmitted from the image forming apparatus P1 into an RGB image. FIG. 2 shows a configuration example of the computer 102 that executes the color conversion operation. The computer 102 is a NIC for performing data communication with an external device, a DISK for temporarily storing image data sent from the NIC, a 4D-LUT storage unit for storing interpolation parameters, a central operation for executing color conversion processing and the like. It is composed of a processing device (= CPU), a RAM and the like.

【0032】まず、NICを経由してイメージ・データ
が送られてくると、DISKにイメージ・データを一時
的に保存する。次に、CPUはDISKからイメージ・
データを呼び出しRAMに記憶する。そして、RAMを
アクセスしながら色変換処理を行う。色変換処理を行う
には、RAMからイメージ・データを画素単位に読み出
し、読み出した画素のCMYK値を判定して、4D−L
UT記憶部の読み出しアドレスを決定する。そして、補
間演算に必要な補間パラメータを読み出した後、画素デ
ータの色変換を行ってRGB信号などに変換する。順
次、RAMから画素データを呼び出しながら色変換を行
い、DISKに変換結果を保存する。DISKに保持さ
れているCMYKイメージ・データの色変換が全て終了
したら、再びNICを経由してイメージ・データを外部
装置に転送する。
First, when image data is sent via the NIC, the image data is temporarily stored in the DISK. Next, the CPU uses the image from DISK
Data is recalled and stored in RAM. Then, color conversion processing is performed while accessing the RAM. To perform the color conversion process, the image data is read from the RAM in pixel units, the CMYK values of the read pixels are determined, and 4D-L
The read address of the UT storage unit is determined. Then, after the interpolation parameters required for the interpolation calculation are read out, the pixel data is subjected to color conversion and converted into RGB signals or the like. Sequentially, color conversion is performed while calling pixel data from the RAM, and the conversion result is stored in DISK. When the color conversion of the CMYK image data held in DISK is completed, the image data is transferred to the external device via the NIC again.

【0033】CPUが実行する色変換動作について、図
8のフローチャートを用いて説明する。まず、ステップ
S101で、入力データに対応する8頂点体を判定す
る。8頂点体の判定処理のフローチャートを図9に示
す。図9に示すように、本発明ではCPU処理が苦手と
する判定処理をC,M,Yの3信号の下位データのみで
行うようにしており、最大3ステップで実行できる。
The color conversion operation executed by the CPU will be described with reference to the flowchart of FIG. First, in step S101, the 8-vertex body corresponding to the input data is determined. FIG. 9 shows a flowchart of the 8-vertex body determination process. As shown in FIG. 9, according to the present invention, the determination process, which is not suitable for the CPU process, is performed only by the lower order data of the three signals of C, M, and Y, which can be executed in a maximum of 3 steps.

【0034】8頂点が決定すると、次にステップS10
2で補間パラメータを4D−LUT記憶部より読み出
す。必要なパラメータは、図7に示す通りである。4D
−LUT記憶部のアドレッシングは、C、M、Y、Kの
上位データCp,Mp,Mp,Kpと8頂点体の判定結
果を基に行うが詳細は後述する。8頂点のパラメータが
読み込まれると、ステップS103でP(i,j)を計
算し、ステップS104で3次元補間演算を行い、出力
RGBを計算する。
When the 8 vertices are determined, the next step S10 is performed.
In 2, the interpolation parameter is read from the 4D-LUT storage unit. The necessary parameters are as shown in FIG. 4D
The addressing of the LUT storage unit is performed based on the upper data Cp, Mp, Mp, Kp of C, M, Y, and K and the determination result of the 8-vertex field, which will be described in detail later. When the parameters of 8 vertices are read, P (i, j) is calculated in step S103, and three-dimensional interpolation calculation is performed in step S104 to calculate output RGB.

【0035】(4D−LUT記憶部からのパラメータ読
み出し)4D−LUT記憶部から補間パラメータを呼び
出す方法について説明する。4次元ルックアップテーブ
ルは、4次元の分割格子点における出力値を記憶した記
憶装置である。例えば、15分割の場合 [C,M,Y,K]=[0,0,0,0],[0,0,
0,15],[0,0,0,30]・・・・[0,0,
0,255],[0,0,15,0],[0,0,1
5,15],[0,0,15,30],・・・・・
[0,0,15,255], : : [255,255,255,0], [255,25
5,255,15], [255,255,255,3
0]・・・・・,[255,255,255,255]
というCMYKに対応する出力値を順に4D−LUTメ
モリに記憶する。
(Reading Parameters from 4D-LUT Storage Unit) A method of calling interpolation parameters from the 4D-LUT storage unit will be described. The four-dimensional lookup table is a storage device that stores output values at four-dimensional divided grid points. For example, in the case of 15 divisions, [C, M, Y, K] = [0, 0, 0, 0], [0, 0,
0,15], [0,0,0,30] ... [0,0,
0, 255], [0, 0, 15, 0], [0, 0, 1
5,15], [0,0,15,30], ...
[0,0,15,255], :: [255,255,255,0], [255,25
5,255,15], [255,255,255,3
0] ..., [255, 255, 255, 255]
The output values corresponding to CMYK are sequentially stored in the 4D-LUT memory.

【0036】上記したような順序でメモリ内にパラメー
タを記憶させた場合、[C,M,Y,K]=[c,m,
y,k]と[c,m,y,k+Δ]のパラメータはメモ
リ内に必ず連続したアドレスに位置することになる。従
って、(式1)の線形補間演算を行うために必要なパラ
メータがメモリ内で連続に記憶されているため、1回の
メモリアクセスで2つのパラメータを同時に呼び出すこ
とができ高速なパラメータ読み出しが可能になる。
When the parameters are stored in the memory in the order as described above, [C, M, Y, K] = [c, m,
The parameters [y, k] and [c, m, y, k + Δ] are always located at consecutive addresses in the memory. Therefore, since the parameters required to perform the linear interpolation calculation of (Equation 1) are continuously stored in the memory, two parameters can be called simultaneously with one memory access and high-speed parameter reading is possible. become.

【0037】例えば、前述の8頂点体T1用の色変換パ
ラメータを読み出す際は、P1とP9が連続しているた
め、2バイト同時に呼び出すことができる。同様に、P
0とP8、P3とP11、P7とP15が同時に読み出
せるので、メモリのアクセスは計4回ですむことにな
る。
For example, when reading the above-mentioned color conversion parameters for the 8-vertex body T1, since P1 and P9 are continuous, two bytes can be called at the same time. Similarly, P
Since 0 and P8, P3 and P11, and P7 and P15 can be read at the same time, a total of four memory accesses are required.

【0038】以上、説明したように、本発明では簡単な
8頂点体の判定及び高速なメモリアクセスによりCPU
処理に適した色変換を実行できる。
As described above, according to the present invention, the CPU is determined by the simple determination of the 8-vertex body and the high-speed memory access.
Color conversion suitable for processing can be executed.

【0039】更に、式1の計算式は積和演算の形であ
る。近年のCPUは処理能力が非常に高く、特に積和演
算を1クロックで高速に実行したり、複数の積和演算を
並列に計算するものがある。このような状況を考慮する
と、式1の積和演算をそのまま実行しても処理速度で問
題とはならない。しかし、CPUが積和演算に不向きな
場合には、判定処理を簡単にした効果が相殺されてしま
う。
Further, the calculation formula of the formula 1 is in the form of sum of products operation. CPUs of recent years have very high processing capabilities, and in particular, there are some that execute a product-sum operation at high speed in one clock, or calculate a plurality of product-sum operations in parallel. Considering such a situation, there is no problem in processing speed even if the sum of products operation of Expression 1 is executed as it is. However, when the CPU is unsuitable for sum-of-products calculation, the effect of simplifying the determination process is offset.

【0040】そこで、CPUが積和演算をアクセラレー
トするような構造になっていない場合には、式1の乗算
部分をメモリルックアップで置き換えるようにする。例
えば、(式1−a)の場合、差分値(P8−P0)及び
Δkと、その乗算結果の対応を静的な記憶メモリに保持
しておくことにより、メモリルックアップ処理で乗算を
実行できる。
Therefore, when the CPU does not have a structure for accelerating the product-sum operation, the multiplication part of Expression 1 is replaced with a memory lookup. For example, in the case of (Equation 1-a), by holding the correspondence between the difference value (P8-P0) and Δk and the multiplication result in a static storage memory, the multiplication can be executed by the memory lookup process. .

【0041】ΔkはK信号の下位データなので、取りう
る値の範囲は限定されており、例えば15分割の場合、
ΔKは17通りの値しかとらない。また、差分値(P8
−P0)は8ビット以下で十分であるので、この乗算に
必要なメモリサイズはたかだか256(バイト)×17
=4.25Kバイトと非常に少ないため、CPU処理に
とって負荷になることはない。また、同じ乗算メモリ
は、式2でも使用することができ、その場合、補間演算
における乗算は不要となる。従って、CPU処理では8
頂点体の判定を高速に行うことで、補間演算全体のパフ
ォーマンスを向上させることができる。
Since Δk is the lower data of the K signal, the range of possible values is limited. For example, in the case of 15 divisions,
ΔK takes only 17 different values. In addition, the difference value (P8
Since −P0) is sufficient for 8 bits or less, the memory size required for this multiplication is at most 256 (bytes) × 17.
= 4.25 Kbytes, which is very small, does not impose a load on the CPU processing. The same multiplication memory can also be used in Equation 2, in which case multiplication in the interpolation operation is unnecessary. Therefore, in CPU processing, 8
By performing the vertex body determination at high speed, the performance of the entire interpolation calculation can be improved.

【0042】(実施例2)実施例1では、16頂点体を
8頂点体に分割し、線形補間演算によって3次元の四面
体補間演算を行った。本実施例では、同様の考え方に基
づいて、16頂点体を2つの12頂点体に分割する。
(Example 2) In Example 1, a 16-vertex body was divided into 8-vertex bodies, and three-dimensional tetrahedral interpolation calculation was performed by linear interpolation calculation. In this embodiment, the 16-vertex body is divided into two 12-vertex bodies based on the same idea.

【0043】図10は、単位16頂点体を2つの12頂
点体に分割した例を示す。図10では、単位16頂点体
の左右の立方体をそれぞれ三角柱に分割している。この
場合、判定処理は4信号のうちの2信号のみの下位デー
タを大小比較するだけなので、判定処理は1回でよい。
FIG. 10 shows an example in which a unit 16-vertex body is divided into two 12-vertex bodies. In FIG. 10, the left and right cubes of the unit 16-vertex body are each divided into triangular prisms. In this case, since the determination process only compares the lower data of only two signals of the four signals, the determination process may be performed once.

【0044】12頂点体の補間演算は実施例1と同様で
あり、対応する2頂点をK信号の下位データで線形補間
して3次元の3角柱を構成した後、一般的な3角柱補間
演算を行うものである。
The interpolation calculation of the 12-vertex body is the same as that of the first embodiment, and the corresponding 2 vertices are linearly interpolated with the lower data of the K signal to form a three-dimensional triangular prism, and then a general triangular prism interpolation calculation is performed. Is to do.

【0045】(実施例3)前述した各実施例は、CPU
処理で実現する実施例であるが、本発明は、ハードウェ
アでも実現できる。図11は、本発明をハードウェアで
実現する場合の構成例を示す。ハードウェアで実現する
場合には、(式2−b)の演算式を変形して回路の簡素
化を図る。即ち、 P=(Pb−Pa)ΔC/Δ+(Pc−Pb)ΔM/Δ+(Pd−Pc)ΔY/ Δ+Pa において、 Pb−Pa=P1+(P9−P1)×Δk−P0−(P8−P0)×Δk =P1−P0+(P9−P1−P8+P0)×Δk =(P1−P0)+((P9−P8)−(P1−P0))Δk として書ける。そこで、a=P1−P0及びa’=P9
−P8として、a及びa’を4D−LUTに記憶してお
くことにより、図11のように簡単な積和演算結果をΔ
Cに乗じて補間演算を実現することができる。以下、P
c−Pb、Pd−Pc、Paも同様に Pc−Pb=(P3−P1)+((P11−P9)−(P3−P1))Δk Pd−Pc=(P7−P3)+((P15−P11)−(P7−P3))Δ k Pa=P0+(P8−P0)×Δk と表されるので、式を一般化すると、 P=((a’−a)ΔK+a)ΔC+((b’−b)ΔK+b)ΔM+((c’ −c)ΔK+c)ΔY+(d’−d)ΔK+d のように書ける。a,a’,b,b’,c,c’は、6
頂点ごとに異なるので、6頂点体の判定結果を基に4次
元LUTのメモリ・アドレスを制御して切り替える。但
し、d,d’は全ての6頂点に共通のパラメータのた
め、図11に示すように四面体判定処理の結果を用いる
ことなく、C,M,Y,Kの上位データのみで4D−L
UTのアドレスを決定する。
(Embodiment 3) Each of the embodiments described above is a CPU.
Although the embodiment is realized by processing, the present invention can be realized by hardware. FIG. 11 shows a configuration example when the present invention is realized by hardware. When it is realized by hardware, the arithmetic expression of (Expression 2-b) is modified to simplify the circuit. That is, in P = (Pb-Pa) ΔC / Δ + (Pc-Pb) ΔM / Δ + (Pd-Pc) ΔY / Δ + Pa, Pb-Pa = P1 + (P9-P1) × Δk-P0- (P8-P0) It can be written as × Δk = P1−P0 + (P9−P1−P8 + P0) × Δk = (P1−P0) + ((P9−P8) − (P1−P0)) Δk. Therefore, a = P1−P0 and a ′ = P9
By storing a and a'in the 4D-LUT as -P8, the simple product-sum operation result as shown in FIG.
The interpolation calculation can be realized by multiplying by C. Below, P
Similarly for c-Pb, Pd-Pc, and Pa, Pc-Pb = (P3-P1) + ((P11-P9)-(P3-P1)) [Delta] k Pd-Pc = (P7-P3) + ((P15- P11) − (P7−P3)) Δ k Pa = P0 + (P8−P0) × Δk, and thus the equation is generalized as follows: P = ((a′−a) ΔK + a) ΔC + ((b′− b) ΔK + b) ΔM + ((c′−c) ΔK + c) ΔY + (d′−d) ΔK + d. a, a ', b, b', c, c'is 6
Since it differs for each vertex, the memory address of the four-dimensional LUT is controlled and switched based on the determination result of the six vertex body. However, since d and d ′ are parameters common to all 6 vertices, 4D-L is used only for the upper data of C, M, Y, and K without using the result of the tetrahedral determination processing as shown in FIG.
Determine the address of the UT.

【0046】(実施例4)上記した実施例では、いずれ
もCMYKデータをRGBデータに変換する場合につい
て説明した。しかし、本発明はこれに限定されるもので
はなく、例えば遠隔医用分野で利用が検討されているマ
ルチバンド・データの色変換などにも応用できる。
(Embodiment 4) In each of the above embodiments, the case where CMYK data is converted into RGB data has been described. However, the present invention is not limited to this, and can be applied to, for example, color conversion of multiband data, which is being considered for use in the field of remote medicine.

【0047】一般に、自然界に存在する物体の分光反射
率特性は種々様々である。そのため、ある照明環境下で
同じ色であっても、照明環境が変化すると異なった色に
見えるというメタメリズムが生じる。遠隔医療を行う場
合にメタメリズムが生じると、遠隔地にいる医者が患者
の肌の色などを正確に把握することができなくなり、治
療に支障をきたしてしまう。そこで、患者側と医者側の
照明環境が異なっていても同じ色再現を実現するために
マルチバンド・データの利用が検討されている。
Generally, the spectral reflectance characteristics of objects existing in nature vary widely. Therefore, even if the color is the same under a certain lighting environment, when the lighting environment changes, a different color appears, causing metamerism. When metamerism occurs in performing remote medical care, a doctor in a remote place cannot accurately grasp the skin color of a patient, which hinders treatment. Therefore, the use of multi-band data is being studied in order to realize the same color reproduction even if the lighting environment on the patient side and the doctor side are different.

【0048】このマルチバンド・データでは、分光透過
特性の異なる多数のフィルタを通して物体の分光分布デ
ータを表現するので,通常10成分以上の色信号で物体
色を表現することになる。このような多次元の色データ
は最終的にはモニタ画面に表示するために3次元データ
に変換しなければならないため、多次元の入力色信号を
3次元の色信号などに変換する色変換手段が必要にな
る。
In this multi-band data, since the spectral distribution data of the object is expressed through a large number of filters having different spectral transmission characteristics, the object color is usually expressed by color signals of 10 or more components. Since such multidimensional color data must be finally converted into three-dimensional data for display on the monitor screen, a color conversion means for converting a multidimensional input color signal into a three-dimensional color signal or the like. Will be required.

【0049】本発明に係る色変換装置は、n次元のデー
タをnよりも次元の少ないm次元のデータに変換する際
にも利用可能である。
The color conversion apparatus according to the present invention can also be used when converting n-dimensional data into m-dimensional data having a smaller dimension than n.

【0050】n次元データをm次元データに変換する具
体的な手法について説明する。前述した(式1)の線形
補間によってn次元データをn−1次元データに変換す
ることができる。そこで、この線形補間を繰り返し次元
数を減らすことで、n次元補間演算をm次元補間演算へ
変更できる。図12は、本実施例のフローチャートを示
す。実施例1と同様に、ステップS202において頂点
体の判定を行う。3次元補間演算として四面体補間を用
いるときは、このn次元データの頂点体の数は、4×2
の(n−3)乗になる(三角柱補間を用いるときは、6
×2の(n−3乗)。そして、ステップS203で、頂
点に対応する補間パラメータを読み出して、ステップS
204で対応する2頂点を線形補間する。この線形変換
により頂点数は1/2になり、次元数mは1減ることに
なる。このステップS204の線形補間処理を繰り返
し、次元数mが3になると、ステップS206で四面体
補間あるいは三角柱補間などの3次元補間演算を行って
出力値を計算する。
A specific method for converting n-dimensional data into m-dimensional data will be described. The n-dimensional data can be converted into the n-1 dimensional data by the linear interpolation of the above-mentioned (Equation 1). Therefore, by repeating this linear interpolation and reducing the number of dimensions, the n-dimensional interpolation calculation can be changed to the m-dimensional interpolation calculation. FIG. 12 shows a flowchart of this embodiment. Similar to the first embodiment, the vertex body is determined in step S202. When tetrahedral interpolation is used as the three-dimensional interpolation calculation, the number of vertex bodies of this n-dimensional data is 4 × 2.
Power of (n-3) (when using triangular prism interpolation, 6
X2 (n-3). Then, in step S203, the interpolation parameters corresponding to the vertices are read out, and step S
At 204, the corresponding two vertices are linearly interpolated. By this linear conversion, the number of vertices is halved, and the number of dimensions m is reduced by one. The linear interpolation process of step S204 is repeated, and when the number of dimensions m reaches 3, in step S206 a three-dimensional interpolation operation such as tetrahedral interpolation or triangular prism interpolation is performed to calculate an output value.

【0051】(記憶媒体の説明)図13は、コンピュー
タ102が記憶媒体上に記録されたプログラムを読み取
って、該プログラムを実行することにより、前述した色
変換処理を実行する際の画像処理システムのハードウェ
ア構成例を示す図である。図13に示すように、この画
像処理システムは、例えばワークステーションやパーソ
ナルコンピュータ等で実現され、全体を制御するCPU
と、CPUの制御プログラム等が記憶されているROM
と、CPUのワークエリア等として使用されるRAM
と、ハードディスクと、画像データを表示するためのデ
ィスプレイと、カラー・プリンタなどの画像形成装置と
を有している。
(Explanation of Storage Medium) FIG. 13 shows an image processing system when the computer 102 reads a program recorded on the storage medium and executes the program to execute the color conversion process described above. It is a figure showing an example of hardware constitutions. As shown in FIG. 13, this image processing system is realized by, for example, a workstation, a personal computer, or the like, and a CPU that controls the entire system.
And a ROM that stores CPU control programs, etc.
And a RAM used as a work area for the CPU
A hard disk, a display for displaying image data, and an image forming apparatus such as a color printer.

【0052】ここで、CPU,ROM,RAM,ハード
ディスクは、図1のコンピュータ102としての機能を
有しており、前述したように本発明の色変換処理装置と
しての機能をCPUにもたせることができる。なお、C
PUにおけるこのような色変換装置としての機能は、例
えばソフトウェアパッケージ、具体的には、CD−RO
M等の情報記録媒体の形で提供することができ、このた
め、図13の例では、情報記録媒体がセットさせると
き、これを駆動する媒体駆動装置(プログラム読み取り
装置)が設けられている。
Here, the CPU, ROM, RAM, and hard disk have the function of the computer 102 of FIG. 1, and as described above, the CPU can also have the function of the color conversion processing device of the present invention. . Note that C
The function of such a color conversion device in the PU is, for example, a software package, specifically, a CD-RO.
It can be provided in the form of an information recording medium such as M. Therefore, in the example of FIG. 13, a medium driving device (program reading device) that drives the information recording medium when it is set is provided.

【0053】換言すれば、本発明の色変換装置及び色変
換方法は、イメージスキャナ,ディスプレイ等を備えた
汎用の計算機システムにCD−ROM等の情報記録媒体
に記録されたプログラムを読み込ませて、この汎用計算
機システムのマイクロプロセッサに色変換処理及び色変
換プロファイル生成処理を実行させる装置構成において
も実施することが可能である。この場合、本発明の色変
換処理を実行するためのプログラムすなわち、ハードウ
ェアシステムで用いられるプログラムは、媒体に記録さ
れた状態で提供される。プログラムなどが記録される情
報記録媒体としては、CD−ROMに限られるものでは
なく、ROM、RAM、フレキシブルディスク、メモリ
カード等が用いられても良い。媒体に記録されたプログ
ラムは、ハードウェアシステムに組み込まれている記憶
装置、例えばハードディスクにインストールされること
により、このプログラムを実行して、色変換機能を実現
することができる。
In other words, the color conversion apparatus and the color conversion method of the present invention make a general-purpose computer system equipped with an image scanner, a display, etc. read a program recorded on an information recording medium such as a CD-ROM, It is also possible to implement in an apparatus configuration in which the microprocessor of this general-purpose computer system executes the color conversion processing and the color conversion profile generation processing. In this case, the program for executing the color conversion processing of the present invention, that is, the program used in the hardware system is provided in a state recorded in the medium. The information recording medium on which the program and the like are recorded is not limited to the CD-ROM, and a ROM, a RAM, a flexible disk, a memory card or the like may be used. The program recorded on the medium can be installed in a storage device, such as a hard disk, built in the hardware system to execute the program and realize the color conversion function.

【0054】また、本発明の色変換装置および色変換方
法を実現するためのプログラムは、媒体の形で提供され
るのみならず、通信によって例えばサーバによって提供
されるものであっても良い。
The program for implementing the color conversion apparatus and the color conversion method of the present invention may be provided not only in the form of a medium but also by communication, for example, by a server.

【0055】[0055]

【発明の効果】以上、説明したように、本発明によれ
ば、以下のような効果が得られる。 (1)単位立体の判定に必要な大小比較を行う回数が少
なくなり、CPU処理等で色変換する際に高速に4次元
データの色変換を行うことができる。 (2)3次元の補間演算として四面体補間演算を行うた
め、4次元データの色変換を行う際に、必要な大小判定
処理を3ステップで行うことができ、CPU処理等で色
変換する際に高速に4次元データの色変換を行うことが
できる。 (3)3次元の補間演算として三角柱補間演算を行うた
め、4次元データの色変換を行う際に、必要な大小判定
処理を1ステップで行うことができ、CPU処理等で色
変換する際に高速に4次元データの色変換を行うことが
できる。 (4)マルチバンド・データのごとき多次元の色データ
であっても高速に色変換を行うことができる。 (5)積和演算に対して高速なアクセラレータ機能を有
するCPUを用いて色変換する際に、高速に4次元デー
タの色変換を行うことができる。 (6)積和演算に対してアクセラレータ機能を有してい
ないCPUであっても、高速に4次元データの色変換を
行うことができる。 (7)色変換処理の際に1回のメモリアクセスで同時に
2つの補間パラメータを呼び出すことができ、4次元L
UTを効率的に利用できる。
As described above, according to the present invention, the following effects can be obtained. (1) The number of size comparisons required for unit solid determination is reduced, and color conversion of four-dimensional data can be performed at high speed when color conversion is performed by CPU processing or the like. (2) Since the tetrahedral interpolation calculation is performed as the three-dimensional interpolation calculation, the required size determination processing can be performed in three steps when performing the color conversion of the four-dimensional data, and the color conversion is performed by the CPU processing or the like. It is possible to perform color conversion of four-dimensional data at high speed. (3) Triangular prism interpolation calculation is performed as three-dimensional interpolation calculation. Therefore, when performing color conversion of four-dimensional data, necessary size determination processing can be performed in one step, and when performing color conversion by CPU processing or the like. Color conversion of four-dimensional data can be performed at high speed. (4) Color conversion can be performed at high speed even with multi-dimensional color data such as multi-band data. (5) When color conversion is performed using a CPU having a high-speed accelerator function for multiply-accumulate operation, color conversion of four-dimensional data can be performed at high speed. (6) Even a CPU that does not have an accelerator function for multiply-accumulate operations can perform color conversion of four-dimensional data at high speed. (7) Two interpolation parameters can be called at the same time with one memory access at the time of color conversion processing.
The UT can be used efficiently.

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

【図1】本発明に係る画像処理システムの構成例を示
す。
FIG. 1 shows a configuration example of an image processing system according to the present invention.

【図2】色変換動作を実行するコンピュータの構成例を
示す。
FIG. 2 shows a configuration example of a computer that executes a color conversion operation.

【図3】単位16頂点体を示す。FIG. 3 shows a unit 16 vertex body.

【図4】6つの8頂点体を示す。FIG. 4 shows six 8-vertex bodies.

【図5】8頂点体を選択する判定式を示す。FIG. 5 shows a judgment formula for selecting an 8-vertex body.

【図6】本発明に係る補間演算法を説明する図である。FIG. 6 is a diagram illustrating an interpolation calculation method according to the present invention.

【図7】8頂点体と係数α、β、γとの対応関係を示
す。
FIG. 7 shows a correspondence relationship between 8-vertex bodies and coefficients α, β, and γ.

【図8】補間演算処理のフローチャートを示す。FIG. 8 shows a flowchart of interpolation calculation processing.

【図9】8頂点体の判定処理のフローチャートを示す。FIG. 9 shows a flowchart of an 8-vertex body determination process.

【図10】2つの12頂点体を示す。FIG. 10 shows two 12-vertex bodies.

【図11】本発明をハードウェアで実現する場合の構成
例を示す。
FIG. 11 shows a configuration example when the present invention is implemented by hardware.

【図12】実施例4のフローチャートを示す。FIG. 12 shows a flowchart of the fourth embodiment.

【図13】本発明をソフトウェアで実現する場合の構成
例を示す。
FIG. 13 shows a configuration example when the present invention is implemented by software.

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

100、101 画像形成装置 102 コンピュータ 103 ディスプレイ 104 プリンタ制御装置 100, 101 image forming apparatus 102 computer 103 display 104 printer control device

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 1/46 B41J 3/00 B 5C079 Fターム(参考) 2C087 AA15 BA07 BD01 BD05 BD53 2C262 AA24 AB19 BA01 BC13 BC15 BC19 EA04 EA06 GA14 5B021 AA01 AA05 AA19 LG07 5B057 CA01 CA08 CB01 CB08 CE18 CH07 CH08 5C077 LL18 MP08 PP32 PP33 PQ12 PQ23 5C079 HB01 HB03 HB12 LB02 MA04 MA11 NA11 PA03 PA05 ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) H04N 1/46 B41J 3/00 B 5C079 F term (reference) 2C087 AA15 BA07 BD01 BD05 BD53 2C262 AA24 AB19 BA01 BC13 BC15 BC19 EA04 EA06 GA14 5B021 AA01 AA05 AA19 LG07 5B057 CA01 CA08 CB01 CB08 CE18 CH07 CH08 5C077 LL18 MP08 PP32 PP33 PQ12 PQ23 5C079 HB01 HB03 HB12 LB02 MA04 MA11 NA11 PA03 PA05

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 n(4以上の自然数)次元の入力色空間
を複数の単位多面体に分割し、各単位多面体を複数の立
体に分割し、入力色信号が属する単位多面体に対応する
補間係数を用いて補間演算を行い出力色信号に変換する
色変換装置であって、前記各立体に対応するn次元の補
間係数を記憶した記憶手段と、前記入力色信号を上位デ
ータと下位データに分離し、前記上位データで選択され
る単位多面体について、前記入力色信号の下位データの
大小関係を基に前記入力色信号が属する立体を判定する
判定手段と、前記判定された立体に対応するn次元の補
間係数を前記記憶手段から読み出す手段と、前記n次元
の補間係数からn−1次元の補間演算用の係数を生成す
る手段と、前記入力色信号の下位データと前記n−1次
元の補間演算用の係数を用いてn−1次元の補間演算を
実行する手段とを備えたことを特徴とする色変換装置。
1. An n (natural number of 4 or more) -dimensional input color space is divided into a plurality of unit polyhedra, each unit polyhedron is divided into a plurality of solids, and an interpolation coefficient corresponding to a unit polyhedron to which an input color signal belongs is obtained. A color conversion device for performing an interpolation calculation using the conversion means to convert the input color signal into upper data and lower data by storing means for storing an n-dimensional interpolation coefficient corresponding to each solid. For the unit polyhedron selected by the upper data, a determination unit that determines the solid to which the input color signal belongs based on the size relationship of the lower data of the input color signal, and an n-dimensional image corresponding to the determined solid. Means for reading an interpolation coefficient from the storage means, means for generating a coefficient for an n-1 dimensional interpolation operation from the n dimensional interpolation coefficient, lower data of the input color signal and the n-1 dimensional interpolation operation Person in charge And a means for executing an n-1 dimensional interpolation calculation using a number.
【請求項2】 n(4以上の自然数)次元の入力色空間
を複数の単位多面体に分割し、各単位多面体を複数の立
体に分割し、n個の色信号からなる入力色信号が属する
立体に対応する補間係数を用いて補間演算を行い出力色
信号に変換する色変換装置であって、前記各立体に対応
するn次元の補間係数を記憶した記憶手段と、前記入力
色信号のn個の色信号について上位データと下位データ
に分離し、前記上位データで選択される単位多面体につ
いて、前記n個の下位データのうちn−1個以下の下位
データの大小関係を基に前記入力色信号が属する立体を
判定する判定手段と、前記判定された立体に対応するn
次元の補間係数を前記記憶手段から読み出す手段と、前
記n次元の補間係数からn−1次元の補間演算用の係数
を生成する手段と、前記入力色信号の下位データと前記
n−1次元の補間演算用の係数を用いてn−1次元の補
間演算を実行する手段とを備えたことを特徴とする色変
換装置。
2. A solid to which an input color signal consisting of n color signals belongs, in which an n (natural number of 4 or more) -dimensional input color space is divided into a plurality of unit polyhedra, and each unit polyhedron is divided into a plurality of solids. Is a color conversion device for performing an interpolation calculation using an interpolation coefficient corresponding to the above, and converting it into an output color signal, the storage means storing n-dimensional interpolation coefficients corresponding to each of the solids, and n of the input color signals. Of the input color signal based on the magnitude relation of n-1 or less lower data out of the n lower data for the unit polyhedron selected by the upper data. Determining means for determining a solid to which the object belongs, and n corresponding to the determined solid.
Means for reading out the dimensional interpolation coefficient from the storage means, means for generating a coefficient for n-1 dimensional interpolation operation from the n dimensional interpolation coefficient, lower data of the input color signal and the n-1 dimensional A color conversion device comprising: means for executing an n-1 dimensional interpolation calculation using a coefficient for interpolation calculation.
【請求項3】 前記nは4であり、n−1次元の補間演
算として四面体補間演算を行うことを特徴とする請求項
1または2記載の色変換装置。
3. The color conversion device according to claim 1, wherein the n is 4, and tetrahedral interpolation calculation is performed as n-1 dimensional interpolation calculation.
【請求項4】 前記nは4であり、n−1次元の補間演
算として三角柱補間演算を行うことを特徴とする請求項
1または2記載の色変換装置。
4. The color conversion device according to claim 1, wherein the n is 4 and triangular prism interpolation calculation is performed as n-1 dimensional interpolation calculation.
【請求項5】 前記n次元の補間係数からn−1次元の
補間演算用の係数を生成する処理を所定の回数繰り返す
ことにより、m(<n)次元の補間演算用の係数を生成
することを特徴とする請求項1または2記載の色変換装
置。
5. A coefficient for interpolation calculation of m (<n) dimensions is generated by repeating a process of generating a coefficient for interpolation calculation of n−1 dimensions from the n-dimensional interpolation coefficient a predetermined number of times. The color conversion device according to claim 1 or 2, characterized in that:
【請求項6】 前記n−1次元の補間演算用の係数は、
前記n次元の2つの補間係数を前記入力色信号の下位デ
ータを用いて1次線形補間して生成することを特徴とす
る請求項1または2記載の色変換装置。
6. The coefficients for the n-1 dimensional interpolation calculation are:
3. The color conversion device according to claim 1, wherein the two n-dimensional interpolation coefficients are generated by linearly interpolating the lower order data of the input color signal.
【請求項7】 前記n−1次元の補間演算用の係数は、
前記n次元の2つの補間係数の差分値と前記入力色信号
の下位データをアドレスとしたルックアップテーブルに
よって生成することを特徴とする請求項1または2記載
の色変換装置。
7. The coefficients for the n-1 dimensional interpolation calculation are:
3. The color conversion device according to claim 1, wherein the color conversion device is generated by a look-up table using the difference value of the two n-dimensional interpolation coefficients and the lower data of the input color signal as an address.
【請求項8】 前記n次元の2つの補間係数を連続した
メモリアドレスに配置することを特徴とする請求項6記
載の色変換装置。
8. The color conversion device according to claim 6, wherein the two n-dimensional interpolation coefficients are arranged at consecutive memory addresses.
【請求項9】 4次元の入力色空間を複数の16頂点体
に分割し、入力色信号が属する16頂点体に対応する補
間係数を用いて補間演算を行い出力色信号に変換する色
変換方法であって、前記入力色信号を上位データと下位
データに分離し、前記入力色信号の上位データで選択さ
れる16頂点体を、前記入力色信号の下位データで選択
される6個の8頂点体に分割し、前記入力色信号の下位
データの大小関係を基に前記入力色信号が属する8頂点
体を判定するステップと、前記判定された8頂点体に対
応する4次元の補間係数から3次元の補間演算用の係数
を生成するステップと、前記入力色信号の下位データと
前記3次元の補間演算用の係数を用いて3次元の補間演
算を行って前記出力色信号を生成するステップとを含む
ことを特徴とする色変換方法。
9. A color conversion method in which a four-dimensional input color space is divided into a plurality of 16-vertex bodies and interpolation calculation is performed using an interpolation coefficient corresponding to the 16-vertex bodies to which the input color signal belongs to convert into an output color signal. Where the input color signal is separated into upper data and lower data, and 16 vertex bodies selected by the upper data of the input color signal are divided into six 8 vertexes selected by the lower data of the input color signal. Dividing into 8 fields, determining the 8-vertex body to which the input color signal belongs based on the magnitude relation of the lower-order data of the input color signal, and 3 from the 4-dimensional interpolation coefficient corresponding to the determined 8-vertex body. Generating a coefficient for a three-dimensional interpolation operation, and performing a three-dimensional interpolation operation using the lower order data of the input color signal and the coefficient for the three-dimensional interpolation operation to generate the output color signal. Characterized by including How to convert.
【請求項10】 請求項8記載の色変換方法の各ステッ
プをコンピュータに実現させるためのプログラムを記録
したコンピュータ読み取り可能な記録媒体。
10. A computer-readable recording medium recording a program for causing a computer to implement each step of the color conversion method according to claim 8.
JP2001252950A 2001-02-08 2001-08-23 Apparatus and method for converting color and recording medium Pending JP2003069841A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2001252950A JP2003069841A (en) 2001-08-23 2001-08-23 Apparatus and method for converting color and recording medium
US10/067,417 US7072084B2 (en) 2001-02-08 2002-02-07 Color converting device emphasizing a contrast of output color data corresponding to a black character
US11/433,528 US7310167B2 (en) 2001-02-08 2006-05-15 Color converting device emphasizing a contrast of output color data corresponding to a black character

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001252950A JP2003069841A (en) 2001-08-23 2001-08-23 Apparatus and method for converting color and recording medium

Publications (1)

Publication Number Publication Date
JP2003069841A true JP2003069841A (en) 2003-03-07

Family

ID=19081344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001252950A Pending JP2003069841A (en) 2001-02-08 2001-08-23 Apparatus and method for converting color and recording medium

Country Status (1)

Country Link
JP (1) JP2003069841A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006157252A (en) * 2004-11-26 2006-06-15 Canon Inc Data classification method, multidimensional interpolation apparatus, multidimensional interpolation method, and computer program
JP2009268096A (en) * 2008-04-25 2009-11-12 Toshiba Corp Color space conversion system and method
JP2010193474A (en) * 2010-03-18 2010-09-02 Canon Inc Device and method for multi-dimensional interpolation, and computer program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006157252A (en) * 2004-11-26 2006-06-15 Canon Inc Data classification method, multidimensional interpolation apparatus, multidimensional interpolation method, and computer program
JP2009268096A (en) * 2008-04-25 2009-11-12 Toshiba Corp Color space conversion system and method
JP2010193474A (en) * 2010-03-18 2010-09-02 Canon Inc Device and method for multi-dimensional interpolation, and computer program

Similar Documents

Publication Publication Date Title
US5943058A (en) Texture mapping circuit for performing data interpolations
US5241373A (en) Apparatus for correction of color signal values
US5430812A (en) Fractal transform compression board
CN1097789C (en) Memory organization and method for multiple variable digital data transformation
JPH0290197A (en) Dither device
US5596510A (en) Table-based linear interpolation for color correction system and method
US8503025B2 (en) Image processing apparatus, image processing method, and computer program product
US5475510A (en) Method for transforming color signals and apparatus for the method
JP3976849B2 (en) Device for generating interpolator input data
CA2399732A1 (en) Method and apparatus for quantizing a color image through a single dither matrix
US5786907A (en) High speed color compensation system
JPH10117291A (en) Decision device for input data path of interpolator
JP2003069841A (en) Apparatus and method for converting color and recording medium
JP3048227B2 (en) Multidimensional interpolation device
JP2004038693A (en) Data converting method and image processing device
JPH05120416A (en) Color converter
JPH11238126A (en) Common interpolating circuit for radial interpolation with asymmetrical pruning and tetrahedral interpolation with asymmetrical pruning
JP2947015B2 (en) Color conversion device and color conversion method
KR900002631B1 (en) Image data processing method and apparatus
JP3576612B2 (en) Color conversion processor
JPH10126636A (en) Color image processing method and processing unit
JPH11238127A (en) Common interpolating circuit for pruning radial interpolation and pruning tetrahedral interpolation
JP2000022975A (en) Device and method for converting data
JPH0946542A (en) Interpolation arithmetic method and data converter
JPH03229573A (en) Color conversion device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070516

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080528

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080715

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090204