JP3022143B2 - Conversion device for RGB data to CMY data - Google Patents

Conversion device for RGB data to CMY data

Info

Publication number
JP3022143B2
JP3022143B2 JP6055123A JP5512394A JP3022143B2 JP 3022143 B2 JP3022143 B2 JP 3022143B2 JP 6055123 A JP6055123 A JP 6055123A JP 5512394 A JP5512394 A JP 5512394A JP 3022143 B2 JP3022143 B2 JP 3022143B2
Authority
JP
Japan
Prior art keywords
data
conversion
cmy
rgb
conversion table
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
JP6055123A
Other languages
Japanese (ja)
Other versions
JPH07240849A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP6055123A priority Critical patent/JP3022143B2/en
Publication of JPH07240849A publication Critical patent/JPH07240849A/en
Application granted granted Critical
Publication of JP3022143B2 publication Critical patent/JP3022143B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、RGB形式の画像デー
タを、印刷に適したCMY形式の画像データに変換する
RGBデータのCMYデータへの変換装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for converting RGB data into CMY data which converts RGB image data into CMY format image data suitable for printing.

【0002】[0002]

【従来の技術】輝度信号での表現形式であるRGB
(R;レッド,G;グリーン,B;ブルー)形式のカラ
ー画像データを、印刷を目的とした濃度信号での表現形
式であるCMY(C;シアン,M;マゼンタ,Y;イエ
ロー)形式の画像データに変換する場合、従来は、画像
データの全画素について各画素のRGBデータに対して
ソフトウェアまたはハードウェアによる演算処理を実際
の変換処理時に実施してCMYデータを得るようにして
いる(例えば特開昭63−302671号,特開平3−
284059号参照)。
2. Description of the Related Art RGB which is a form of expression in a luminance signal
(R; Red, G; Green, B; Blue) format image data in CMY (C; Cyan, M; Magenta, Y; Yellow) format, which is an expression format using density signals for printing Conventionally, when converting into data, CMY data is obtained by performing an arithmetic processing by software or hardware on RGB data of each pixel for all pixels of image data at the time of actual conversion processing (for example, Japanese Unexamined Patent Publication (Kokai) No. 63-302671,
No. 284059).

【0003】しかしながら、このように実際の変換時に
演算処理を実施してRGBデータをCMYデータに変換
する構成では、数メガ〜数百メガバイトといった膨大な
量のカラー画像の場合、演算処理時間がネックとなって
速やかにCMYデータを生成することができないという
問題点がある。
However, in such a configuration in which the arithmetic processing is performed at the time of actual conversion to convert the RGB data into the CMY data, the arithmetic processing time is a bottleneck in the case of an enormous amount of color images such as several megabytes to several hundred megabytes. Therefore, there is a problem that CMY data cannot be generated quickly.

【0004】そこで、例えば特開昭63−278850
号公報に見られるように、RGBデータがRGB強度そ
のものではなくRGB強度が登録されているパレットテ
ーブルの一つのエントリを表す形式の場合に、実際の変
換に先立ってパレットテーブルの各エントリのRGB強
度からCMY強度を求めて色変換テーブルに設定してお
き、実際の変換時にはこの色変換テーブルを参照するこ
とによりRGBデータをCMYデータに変換し、その
後、色補正プログラムによって色補正する技術が提案さ
れている。
Accordingly, for example, Japanese Patent Application Laid-Open No. 63-278850.
As shown in the publication, when the RGB data is not the RGB intensity itself but a format representing one entry of the pallet table in which the RGB intensity is registered, prior to the actual conversion, the RGB intensity of each entry of the pallet table is converted. A technique has been proposed in which CMY intensities are obtained from the data and set in a color conversion table, and at the time of actual conversion, the RGB data is converted to CMY data by referring to the color conversion table, and then color correction is performed by a color correction program. ing.

【0005】[0005]

【発明が解決しようとする課題】上述したような色変換
テーブルを使用する構成によれば、RGBデータをCM
Yデータに変換する演算処理を実際の変換時に実行する
必要がないため、変換処理時間は短縮される。
According to the configuration using the color conversion table as described above, the RGB data is
Since it is not necessary to execute the arithmetic processing for converting to Y data at the time of actual conversion, the conversion processing time is reduced.

【0006】しかし、この特開昭63−278850号
公報に示される従来技術は、RGBデータがRGB強度
そのものではなくパレットテーブルの一つのエントリを
表す形式の場合にのみ適用でき、RGBデータがRGB
強度そのものを表す場合にはやはり実際の変換処理時に
色変換プログラムによってCMY強度に変換する必要が
あった。また、色変換テーブルを参照して変換したCM
Yデータに対して色補正する場合も、色補正プログラム
によって逐次実施する必要があった。
However, the prior art disclosed in Japanese Patent Application Laid-Open No. 63-288850 can be applied only when the RGB data has a format not representing the RGB intensity itself but one entry of a pallet table.
In the case of expressing the intensity itself, it was necessary to convert it into CMY intensity by a color conversion program at the time of the actual conversion process. Also, the CM converted with reference to the color conversion table
When color correction is performed on the Y data, it is necessary to sequentially perform the correction using a color correction program.

【0007】本発明はこのような従来の問題を解決した
もので、その目的は、RGBデータがRGB強度そのも
のを示す形式の場合であっても、変換テーブルを参照す
るだけで、色補正まで施したCMYデータを得ることが
できるようにしたRGBデータのCMYデータへの変換
装置を提供することにある。
The present invention has solved such a conventional problem. The purpose of the present invention is to perform color correction only by referring to a conversion table, even when the RGB data has a format indicating the RGB intensity itself. It is an object of the present invention to provide an apparatus for converting RGB data into CMY data so as to obtain CMY data.

【0008】[0008]

【課題を解決するための手段】本発明は上記の目的を達
成するために、予め定められた全てのパターンのRGB
データについて、印刷環境に応じて設定されたマスキン
グ係数に基づいて色補正まで施したCMYデータを保持
するための変換テーブルと、 変換要求のあったRGBデ
ータについて、印刷環境に応じて設定されたマスキング
係数に基づいて色補正まで施したCMYデータを生成し
て前記変換テーブルに設定する変換テーブル作成手段
と、 変換対象となるRGBデータの発生時、そのRGB
データに対応するCMYデータを前記変換テーブルから
検索し、有効なCMYデータが得られたときは該CMY
データを変換結果として出力し、有効なCMYデータが
得られなかったときは前記変換テーブル作成手段に変換
対象となるRGBデータを通知して変換を要求し、得ら
れたCMYデータを変換結果として出力する変換手段と
を備え、且つ、 前記変換テーブル作成手段は、予め定め
られた全てのRGBデータのパターンのうち未だ変換処
理を行っていないRGBデータについて、印刷環境に応
じて設定されたマスキング係数に基づいて色補正まで施
したCMYデータを生成して前記変換テーブルに設定す
る処理を、前記変換手段の動作中、または前記変換手段
の非動作中に遂行することを特徴とする。
SUMMARY OF THE INVENTION In order to achieve the above-mentioned object, the present invention provides a method of forming RGB images of all predetermined patterns.
Maskin set for the data according to the printing environment
CMY data that has been subjected to color correction based on the
Conversion table for conversion and the RGB data requested for conversion.
Data, masking set according to the printing environment
Generate CMY data that has been subjected to color correction based on the coefficients
Conversion table creation means for setting the conversion table in the conversion table
When the RGB data to be converted is generated, the RGB
CMY data corresponding to the data from the conversion table
Search and when valid CMY data is obtained, the CMY
Data is output as a conversion result, and valid CMY data
If not obtained, convert to the conversion table creation means
Requests conversion by notifying the target RGB data, and
Conversion means for outputting the converted CMY data as a conversion result;
And the conversion table creation means has a predetermined
Of all the RGB data patterns
RGB data that has not been processed
Color correction based on the previously set masking coefficients.
Generated CMY data and set it in the conversion table
Processing during the operation of the conversion unit or the conversion unit
Is performed during the non-operation of.

【0009】また、本発明における前記変換テーブル
は、RGBデータを構成するR,G,Bの3成分の値を
結合した値をCMYデータのインデックスとし、且つC
MYデータの有効性を示す有効ビットを保持する構成を
有することを特徴とする。
Further, the conversion table according to the present invention .
Represents the values of the three components R, G, and B that compose the RGB data.
The combined value is used as an index of CMY data, and C
A configuration for holding a valid bit indicating the validity of MY data
It is characterized by having.

【0010】[0010]

【0011】[0011]

【0012】[0012]

【0013】[0013]

【0014】[0014]

【作用】本発明のRGBデータのCMYデータへの変換
装置においては、予め定められた全てのRGBデータに
ついて、印刷環境に応じて設定されたマスキング係数に
基づいて色補正まで施したCMYデータを保持するため
の変換テーブルを備えており、変換対象となるRGBデ
ータの発生時、変換手段が、変換対象となるRGBデー
タに対応するCMYデータを前記変換テーブルから検索
し、該検索して得たCMYデータを変換結果として出力
する。但し、変換テーブルの作成が完了していないと変
換を全く開始できないとすると、至急の場合に対処でき
なくなるため、変換手段は、変換対象となるRGBデー
タの発生時、そのRGBデータに対応するCMYデータ
を前記変換テーブルから検索し、有効なCMYデータが
得られたときは該CMYデータを変換結果として出力
し、有効なCMYデータが得られなかったときは前記変
換テーブル作成手段に変換対象となるRGBデータを通
知して変換を要求し、得られたCMYデータを変換結果
として出力する。また、変換テーブル作成手段は、予め
定められた全てのRGBデータのパターンのうち未だ変
換処理を行っていないRGBデータについて、印刷環境
に応じて設定されたマスキング係数に基づいて色補正ま
で施したCMYデータを生成して前記変換テーブルに設
定する処理を、前記変換手段の動作中、または前記変換
手段の非動作中に遂行することで、速やかに変換テーブ
ルが完成するようにしている。
In the conversion device into CMY data of the RGB data of the effects of the present invention, for all RGB data defined Me pre, the CMY data is subjected to color correction based on the masking coefficients set according to the printing environment to hold
When the RGB data to be converted is generated, the conversion means searches the conversion table for CMY data corresponding to the RGB data to be converted, and converts the CMY data obtained by the search. Output as conversion result. However, if the conversion table creation is not completed,
If you cannot start the exchange at all,
Conversion means, the RGB data to be converted
Data, the CMY data corresponding to the RGB data
Is retrieved from the conversion table, and valid CMY data is
When obtained, output the CMY data as a conversion result
If valid CMY data cannot be obtained,
Pass the RGB data to be converted to the conversion table
To request conversion, and convert the obtained CMY data to the conversion result
Output as In addition, the conversion table creation means
Still strange among all defined RGB data patterns
Printing environment for RGB data that has not been replaced
Color correction based on the masking coefficient set according to the
Generates the CMY data applied in
During the operation of the conversion means or during the conversion.
The conversion table can be quickly executed by performing while the means is not operating.
Is completed.

【0015】[0015]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明するが、それに先立って本発明の前提となる
技術(以下、前提技術と称す)について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will now be described in detail with reference to the drawings.
A technology (hereinafter, referred to as a prerequisite technology) will be described.

【0016】図1は本発明の前提技術の構成図であり、
1はセンタ(ホストコンピュータ)、2はセンタ1と通
信回線3を介して接続された端末である。この端末2
は、カラーフィルム等の媒体4に記録されたカラー画像
を読み取って通信回線3を通じてセンタ1に送出する装
置で、カラー画像をスキャンして各画素毎に合計24ビ
ットのディジタルなRGBデータ(R成分の強度を示す
8ビットの信号,G成分の強度を示す8ビットの信号,
B成分の強度を示す8ビットの信号から構成される)を
出力するスキャナ21と、このスキャナ21の出力をセ
ンタ1に送信する送信部22とで構成されている。
FIG. 1 is a block diagram of the prerequisite technology of the present invention.
1 is a center (host computer) and 2 is a terminal connected to the center 1 via a communication line 3. This terminal 2
Is a device for reading a color image recorded on a medium 4 such as a color film and sending the color image to the center 1 through the communication line 3. The color image is scanned and digital RGB data (R component An 8-bit signal indicating the intensity of the G component, an 8-bit signal indicating the intensity of the G component,
A scanner 21 that outputs an 8-bit signal indicating the intensity of the B component), and a transmission unit 22 that transmits the output of the scanner 21 to the center 1.

【0017】なお、スキャナ21は、R,G,B成分と
も8ビットの信号を出力するが、スキャナ自体の分解性
能は128階調であるため、各成分とも10進数表記で
0,2,4,…,254という飛び飛びの合計128階
調の信号を出力する。
The scanner 21 outputs an 8-bit signal for each of the R, G, and B components. However, since the resolution of the scanner itself is 128 gradations, each component is represented by a decimal notation of 0, 2, and 4. ,.., 254 are output.

【0018】他方、センタ1には、端末2からのRGB
データを受信する受信部11と、受信されたRGBデー
タを保持するテーブル12と、テーブル12に保持され
たRGBデータに対して変換処理を実行する変換プログ
ラム等で実現された変換手段13と、変換手段13の変
換結果を格納するテーブル14と、このテーブル14の
内容に従ってカラー印刷を行う印刷手段15と、変換手
段13が変換時に参照する変換テーブル16と、この変
換テーブル16を作成する変換テーブル作成手段17
と、変換テーブル作成手段17に対して変換開始や色補
正に使用するマスキング係数を与えるための入力装置1
8とで構成されている。
On the other hand, the center 1 receives RGB signals from the terminal 2.
A receiving unit 11 for receiving data, a table 12 for holding the received RGB data, a conversion unit 13 realized by a conversion program or the like for executing a conversion process on the RGB data stored in the table 12, A table 14 for storing the conversion result of the means 13; a printing means 15 for performing color printing in accordance with the contents of the table 14; a conversion table 16 to which the conversion means 13 refers at the time of conversion; Means 17
And an input device 1 for giving a masking coefficient used for conversion start and color correction to the conversion table creation means 17.
8.

【0019】また、変換テーブル作成手段17は、出現
され得ることが予想されるRGBデータを生成するRG
Bデータ生成部171と、生成されたRGBデータを保
持するテーブル172と、テーブル172中の個々のR
GBデータに対してRGBがCMYと補色関係であるこ
とを利用して公知の方法でCMYデータに変換する変換
プログラム等で構成された変換部173と、この変換部
173で生成されたCMYデータに対して入力装置18
から入力された、使用するインクの特性,紙質等の印刷
環境に従ったマスキング係数に基づく公知の色補正(H
DC補正)を行う色補正プログラム等で構成された色補
正部174と、この色補正部174から出力された色補
正後のCMYデータからK成分(黒成分)を生成して付
加し、これを変換テーブル16に設定するK作成付加部
175とで構成されている。
The conversion table creating means 17 generates an RGB data which is expected to appear.
B data generation unit 171, a table 172 for holding the generated RGB data, and individual Rs in the table 172.
A conversion unit 173 composed of a conversion program for converting RGB data into CMY data by a known method using the fact that RGB has a complementary color relationship with CMY, and CMY data generated by this conversion unit 173 Input device 18
A known color correction based on a masking coefficient (H
DC correction), and a K component (black component) is generated from the color-corrected CMY data output from the color correction unit 174 and added thereto. And a K creation adding unit 175 set in the conversion table 16.

【0020】この前提技術においては、変換テーブル作
成手段17は、変換対象となるRGBデータの発生に先
立って入力装置18から起動されるものであり、先ず、
RGBデータ生成部171で、入力装置18から指定さ
れた種類のRGBデータ(r0,g0,b0),(r
1,g1,b1),…,(rP,gP,bP)を生成す
る。今の場合、端末2からはR,G,B成分とも128
階調で表現されたRGBデータが送出されてくるため、
RGBデータ生成部171では、RGB成分(0,0,
0),(0,0,2),…,(254,254,25
4)を持つ合計1283 個のRGBデータを生成する。
In this base technology, the conversion table creating means 17 is started from the input device 18 prior to the generation of the RGB data to be converted.
In the RGB data generation unit 171, the RGB data (r0, g0, b0), (r
1, g1, b1),..., (RP, gP, bP). In this case, the R, G, and B components are all 128 from the terminal 2.
Since RGB data expressed in gradation is sent out,
In the RGB data generation unit 171, the RGB components (0, 0,
0), (0, 0, 2), ..., (254, 254, 25
A total of 128 3 pieces of RGB data having 4) are generated.

【0021】これらのRGBデータはテーブル172に
保持された後、1つずつ変換部173,色補正部17
4,K作成付加部175で処理され、得られたCMYデ
ータが、変換テーブル16に設定される。ここで、変換
テーブル16には、0から1283 までのインデックス
Iが振られたエントリがあり、変換対象となったRGB
データのR成分の値をRi,G成分の値をGi,B成分
の値をBiとすると、そのRGBデータの変換結果であ
るCMYデータは、変換テーブル16の下記のインデッ
クスクのエントリに設定される。 インデックスI=(Ri/2)×1282 +(Gi/2)×128+Bi/2 …(1)
After these RGB data are stored in the table 172, the conversion unit 173 and the color correction unit 17 one by one.
The CMY data processed by the 4, K creation / addition unit 175 is set in the conversion table 16. Here, the conversion table 16 has an entry assigned with an index I from 0 to 128 3, and the conversion target RGB
Assuming that the value of the R component of the data is Ri, the value of the G component is Gi, and the value of the B component is Bi, the CMY data as the conversion result of the RGB data is set in the following index entry of the conversion table 16. You. Index I = (Ri / 2) × 128 2 + (Gi / 2) × 128 + Bi / 2 (1)

【0022】図2は各RGBデータのRGB成分の値と
そのRGBデータに対応するCMYデータが格納される
インデックスの値との関係を示している。
FIG. 2 shows the relationship between the value of the RGB component of each RGB data and the value of the index storing the CMY data corresponding to the RGB data.

【0023】さて、変換テーブル作成手段17によって
変換テーブル16の作成が完了した後、端末2から媒体
4のカラー画像を読み取ったRGBデータ(R0,G
0,B0),(R1,G1,B1),…,(Rx,G
x,Bx)が送信されてくると、それらが受信部11で
受信されてテーブル12に設定され、変換手段13によ
る変換処理が開始される。
After the creation of the conversion table 16 by the conversion table creating means 17 is completed, the RGB data (R0, G
0, B0), (R1, G1, B1),..., (Rx, G
When (x, Bx) is transmitted, they are received by the receiving unit 11, set in the table 12, and the conversion process by the conversion unit 13 is started.

【0024】図3に変換手段13の処理の一例を示す。
変換手段13は、先ずテーブル12の先頭のRGBデー
タ(R0,G0,B0)に注目し(S1)、各RGB成
分の値からインデックスIを前記(1)式によって求め
(S3)、変換テーブル16からそのインデックスIを
持つCMYデータを読み出し(S4)、これを変換結果
としてテーブル14に出力する(S5)。そして、ステ
ップS1に戻って2番目のRGBデータ(R1,G1,
B1)について上記と同様の処理を繰り返す。これを最
後のRGBデータ(Rx,Gx,Bx)まで実行し終え
たことをステップS2で判別すると、処理を終了する。
その後、テーブル14のCMYデータは印刷手段15に
与えられ、カラー印刷が実行される。
FIG. 3 shows an example of the processing of the conversion means 13.
The conversion means 13 first focuses on the first RGB data (R0, G0, B0) of the table 12 (S1), finds the index I from the values of the respective RGB components by the above formula (1) (S3), Then, the CMY data having the index I is read from (S4), and this is output to the table 14 as a conversion result (S5). Then, returning to step S1, the second RGB data (R1, G1,
The same processing as described above is repeated for B1). If it is determined in step S2 that the execution has been completed up to the last RGB data (Rx, Gx, Bx), the processing is terminated.
After that, the CMY data in the table 14 is given to the printing unit 15 and color printing is performed.

【0025】このように端末2から送信されてきたRG
BデータをCMYデータに変換する処理は変換テーブル
16を検索する処理に置き替わるため、高速な変換が実
現できる。
The RG transmitted from terminal 2 in this way
Since the process of converting the B data into the CMY data is replaced with the process of searching the conversion table 16, high-speed conversion can be realized.

【0026】[0026]

【0027】次に本発明の一実施例について説明する。
は本発明の実施例の構成図であり、図1と同一符
号は同一部分を示し、13Bは変換手段、16Aは変換
テーブル、17Aは変換テーブル作成手段である。この
実施例は、変換テーブル16Aの作成が完了していなく
ても変換手段13Bによる変換が開始できるようにした
ものである。
Next, an embodiment of the present invention will be described.
FIG. 4 is a block diagram of one embodiment of the present invention, wherein the same reference numerals as in FIG. 1 indicate the same parts, 13B is a conversion means, 16A is a conversion table, and 17A is a conversion table creation means. In this embodiment, the conversion by the conversion means 13B can be started even if the creation of the conversion table 16A is not completed.

【0028】変換テーブル16Aには各インデックス対
応のエントリに有効フラグVFがあり、有効なCMYデ
ータが設定されている場合には有効フラグVFはON
(1)にされ、有効なCMYデータが設定されていない
場合には有効フラグVFはOFF(0)になっている。
In the conversion table 16A, an entry corresponding to each index has a valid flag VF. When valid CMY data is set, the valid flag VF is turned on.
If (1) is set and valid CMY data is not set, the valid flag VF is OFF (0).

【0029】変換手段13Bは、受信部11から起動を
受けると、図に示すように、先ずテーブル12の先頭
のRGBデータ(R0,G0,B0)に注目し(S1
1)、そのRGB成分の値からインデックスIを前記
(1)式によって求め(S13)、変換テーブル16A
からそのインデックスIを持つCMYデータを有効フラ
グVFと共に読み出す(S14)。そして、この読み出
した有効フラグVFがONか否かを判別し(S15)、
ONであれば、読み出したCMYデータを変換結果とし
てテーブル14に出力し(S16)、ステップS1に戻
って2番目以降のRGBデータについて上記と同様の処
理を繰り返す。
Upon receiving the activation from the receiving unit 11, the conversion unit 13B first focuses on the first RGB data (R0, G0, B0) of the table 12, as shown in FIG. 5 (S1).
1) An index I is obtained from the values of the RGB components according to the above equation (1) (S13), and the conversion table 16A
Then, the CMY data having the index I is read out together with the valid flag VF (S14). Then, it is determined whether or not the read valid flag VF is ON (S15),
If it is ON, the read CMY data is output to the table 14 as a conversion result (S16), and the process returns to step S1 to repeat the same processing for the second and subsequent RGB data.

【0030】また、読み出した有効フラグVFがONで
なければ、インデックスIを通知して変換テーブル作成
手段17Aに変換を要求し(S17)、変換テーブル作
成手段17Aから変換完了の通知が返却されたら(S1
8でYES)、ステップS14に戻って再度インデック
スIのCMYデータを読み出す。後述するようにインデ
ックスIを通知されて変換が要求された変換テーブル作
成手段17Aは、インデックスIにかかるRGBデータ
に対応するCMYデータを生成して変換テーブル16A
のインデックスIのエントリに設定した後に有効フラグ
VFをONにして変換完了を変換手段13Bに通知する
ため、変換手段13Bは変換完了後に再度CMYデータ
を読み出すことで有効なCMYデータの取得が可能とな
り、それを変換結果としてテーブル14に出力する。
If the read valid flag VF is not ON, the index I is notified and a conversion is requested to the conversion table creation means 17A (S17). When the conversion table creation means 17A returns a notification of the conversion completion, (S1
(YES at 8), returning to step S14 to read out the CMY data of index I again. As will be described later, the conversion table creation unit 17A, which is notified of the index I and is requested to perform the conversion, generates CMY data corresponding to the RGB data related to the index I, and generates the conversion table 16A.
After the conversion is completed, the validity flag VF is turned on and the conversion completion is notified to the conversion means 13B. Therefore, the conversion means 13B reads out the CMY data again after the conversion is completed, so that the valid CMY data can be obtained. Are output to the table 14 as conversion results.

【0031】以上のような処理を最後のRGBデータ
(Rx,Gx,Bx)まで実行し終えたことをステップ
S12で判別すると、変換手段13Bは処理を終了す
る。その後、テーブル14のCMYデータは印刷手段1
5に与えられ、カラー印刷が実行される。
When it is determined in step S12 that the above processing has been completed up to the last RGB data (Rx, Gx, Bx), the conversion means 13B terminates the processing. After that, the CMY data in the table 14 is
5 and color printing is performed.

【0032】他方、変換テーブル作成手段17Aは、入
力装置18から起動されると、図に示すようにRGB
データ生成部171により必要な数だけのRGBデータ
を生成してテーブル172に格納する(S21)。ここ
で、本実施例では各RGBデータに作成済フラグEFを
付加してテーブル172に格納するようにしており、最
初全ての作成済フラグEFは未作成を示すOFFになっ
ている。
[0032] On the other hand, the conversion table creation means 17A is activated from the input device 18, RGB as shown in FIG. 6
The required number of RGB data is generated by the data generation unit 171 and stored in the table 172 (S21). Here, in the present embodiment, a created flag EF is added to each RGB data and stored in the table 172, and all the created flags EF are initially set to OFF indicating that they are not created.

【0033】その後、変換テーブル作成手段17Aは、
変換手段13Bから変換要求が出ているか否かを判別し
(S22)、変換要求が出ていないときは(変換手段1
3Bの起動前の期間も含む)、テーブル172に格納さ
れたRGBデータのうちその作成済フラグEFがOFF
となっているRGBデータの1つに注目し(S23)、
そのRGBデータを変換部173によってCMYデータ
へ変換し(S25)、次に色補正部174によってマス
キング係数に基づく色補正を行い(S26)、次にK作
成付加部175によってKを作成して付加し(S2
7)、変換テーブル16Aの該当エントリにCMYデー
タを設定すると共にその有効フラグVFをONにし(S
28)、テーブル172の今回処理したRGBデータの
作成済フラグEFをONに設定する(S29)。そし
て、ステップS22に戻って再び変換手段13Bから変
換要求が出ているか否かを調べ、出ていなければテーブ
ル172中の次の未変換のRGBデータについて上述し
たと同様の処理を実行する。そして、ステップS24で
テーブル172中の全てのRGBデータを処理し終えた
ことを判別すると、処理を終了する。
After that, the conversion table creation means 17A
It is determined whether or not a conversion request has been issued from the conversion unit 13B (S22).
3B), and the created flag EF of the RGB data stored in the table 172 is OFF.
Attention is paid to one of the RGB data (S23),
The RGB data is converted into CMY data by the conversion unit 173 (S25), color correction based on the masking coefficient is performed by the color correction unit 174 (S26), and K is generated and added by the K generation addition unit 175. (S2
7), the CMY data is set in the corresponding entry of the conversion table 16A and the valid flag VF is turned on (S
28), the created flag EF of the RGB data processed this time in the table 172 is set to ON (S29). Then, the process returns to step S22 to check again whether or not a conversion request has been issued from the conversion unit 13B. If not, the same processing as described above is executed for the next unconverted RGB data in the table 172. Then, when it is determined in step S24 that all the RGB data in the table 172 has been processed, the processing is terminated.

【0034】他方、変換テーブル作成手段17Aは、ス
テップS22で変換手段13Bから変換要求が出ている
ことを判別すると、この変換要求のあったRGBデータ
を優先的に処理するため、ステップS30〜S36を実
行する。即ち、通知されたインデックスIから変換要求
のあったRGBデータを判断してテーブル172中のそ
のRGBデータに注目し(S30)、そのRGBデータ
を変換部173によってCMYデータへ変換し(S3
1)、次に色補正部174によって色補正を行い(S3
2)、次にK作成付加部175によってKを作成して付
加し(S33)、変換テーブル16Aの該当エントリに
CMYデータを設定すると共にその有効フラグVFをO
Nにし(S34)、テーブル172の今回処理したRG
Bデータの作成済フラグEFをONに設定する(S3
5)。そして、変換手段13Bに変換完了を通知して
(S36)、ステップS22に戻り、上記動作を継続す
る。
On the other hand, if the conversion table creation means 17A determines in step S22 that a conversion request has been issued from the conversion means 13B, the conversion table creation means 17A preferentially processes the RGB data requested to be converted. Execute That is, the RGB data requested to be converted is determined from the notified index I, the RGB data in the table 172 is noted (S30), and the RGB data is converted into CMY data by the conversion unit 173 (S3).
1) Next, color correction is performed by the color correction unit 174 (S3).
2) Next, K is created and added by the K creation adding unit 175 (S33), CMY data is set in the corresponding entry of the conversion table 16A, and the valid flag VF is set to O.
N (S34), and the RG processed this time in the table 172.
The created flag EF of the B data is set to ON (S3
5). Then, the conversion completion is notified to the conversion means 13B (S36), and the process returns to step S22 to continue the above operation.

【0035】図の実施例の変換テーブル作成手段17
Aは、変換手段13Bの動作中も変換手段13Bから変
換要求が出ていなければテーブル172中の未処理のR
GBデータを処理するように構成した。しかし、変換手
段13Bが起動されたら、テーブル172中の未処理の
RGBデータの処理を中断して、優先的に変換手段13
Bからの変換要求を処理し、変換手段13Bの動作が停
止した時点で、テーブル172中の未処理のRGBデー
タの処理を再開するように構成しても良い。
The conversion table creation means in the embodiment of FIG. 4 17
A indicates the unprocessed R in the table 172 if the conversion request is not issued from the conversion unit 13B during the operation of the conversion unit 13B.
It was configured to process GB data. However, when the conversion unit 13B is activated, the processing of the unprocessed RGB data in the table 172 is interrupted, and the conversion unit 13B is given priority.
It may be configured to process the conversion request from B and restart the processing of the unprocessed RGB data in the table 172 when the operation of the conversion unit 13B stops.

【0036】以上本発明を実施例を挙げて説明した
が、本発明は以上の実施例にのみ限定されずその他各種
の付加変更が可能である。例えば、変換テーブルにはK
の値も含ませたが、Kの値は変換結果であるCMYデー
タから別途作成するようにしても良い。
Although the present invention has been described with reference to one embodiment, the present invention is not limited to the above embodiment, and various other modifications can be made. For example, the conversion table contains K
Is included, but the value of K may be separately created from the CMY data as the conversion result.

【0037】[0037]

【発明の効果】以上説明したように本発明のRGBデー
タのCMYデータへの変換装置によれば、以下のような
効果を得ることができる。
According to the apparatus for converting RGB data into CMY data of the present invention as described above, the following effects can be obtained.

【0038】RGBデータがRGB強度そのものを示す
形式の場合であっても、変換テーブルを参照するだけ
で、色補正まで施したCMYデータを得ることができ、
変換処理時間の大幅な短縮が可能となる。
Even in the case where the RGB data has a format indicating the RGB intensity itself, CMY data that has been subjected to color correction can be obtained only by referring to the conversion table.
The conversion processing time can be greatly reduced.

【0039】RGBデータを構成するR,G,Bの3成
分の値(例えば各々8ビットで表現された値)を結合し
た値(例えば各8ビットを連結した24ビットの値)を
CMYデータのインデックスとして変換テーブルに持た
せたので、該当するCMYデータの検索が高速に行え
る。
A value (for example, a 24-bit value obtained by concatenating each of the 8 bits) obtained by combining the values of the three components of R, G, and B (for example, each value expressed by 8 bits) constituting the RGB data is represented by the CMY data. Since the conversion table is provided as an index, the corresponding CMY data can be searched at high speed.

【0040】[0040]

【0041】変換要求のあったRGBデータについてC
MYデータを生成して変換テーブルに設定する変換テー
ブル作成手段と、変換対象となるRGBデータの発生時
に有効なCMYデータが変換テーブルから得られなかっ
た場合に前記変換テーブル作成手段に変換対象となるR
GBデータを通知して変換を要求し、得られたCMYデ
ータを変換結果として出力する変換手段とを備えている
ので、変換テーブルの作成が完了していなくても変換を
開始することができる。また、一度出現したRGBデー
タについてはそのCMYデータは変換テーブルに保持さ
れているため、2度目からの同一RGBデータの変換は
変換テーブルを参照して高速に行うことができる。更
に、変換テーブル作成手段は、変換手段から変換要求の
出ていない期間中、または変換手段の非動作中に、予め
定められた全てのRGBデータのパターンのうち未だ変
換処理を行っていないRGBデータについてCMYデー
タを生成して変換テーブルに設定する処理を遂行してい
るため、変換テーブルの作成完了を待たずに変換処理を
開始しても、速やかに変換テーブルを完成させることが
でき、後のRGBデータの変換処理を高速化することが
できる。
For the RGB data for which conversion was requested, C
A conversion table generating means for generating MY data and setting the conversion table in the conversion table; and a conversion target in the conversion table generating means when valid CMY data cannot be obtained from the conversion table when the RGB data to be converted is generated. R
Conversion means for notifying GB data, requesting conversion, and outputting the obtained CMY data as a conversion result .
Therefore , the conversion can be started even if the creation of the conversion table is not completed. In addition, since the CMY data of the RGB data that has appeared once is held in the conversion table, the conversion of the same RGB data from the second time can be performed at high speed with reference to the conversion table. Further, the conversion table creation means may output, during a period in which no conversion request is issued from the conversion means, or during a period in which the conversion means is not operating, among the predetermined RGB data patterns, Since the CMY data is generated and the process of setting the CMY data in the conversion table is performed, even if the conversion process is started without waiting for the completion of the creation of the conversion table, the conversion table can be completed quickly. The speed of the RGB data conversion process can be increased.

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

【図1】 本発明の前提技術の構成図である。FIG. 1 is a configuration diagram of a base technology of the present invention.

【図2】 RGBデータのパターンとインデックスIと
の関係を示す図である。
FIG. 2 is a diagram illustrating a relationship between an RGB data pattern and an index I;

【図3】 変換手段13の処理例を示すフローチャート
である。
FIG. 3 is a flowchart illustrating a processing example of a conversion unit 13;

【図4】 本発明の実施例の構成図である。FIG. 4 is a configuration diagram of one embodiment of the present invention.

【図5】 変換手段13Bの処理例を示すフローチャー
トである。
FIG. 5 is a flowchart illustrating a processing example of a conversion unit 13B.

【図6】 変換テーブル作成手段17Aの処理例を示す
フローチャートである。
FIG. 6 is a flowchart illustrating a processing example of a conversion table creating unit 17A.

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

1…センタ 11…受信部 12…変換対象となるRGBデータを保持するテーブル 13…変換手段 14…変換後のCMYデータを保持するテーブル 15…印刷手段 16…変換テーブル 17…変換テーブル作成手段 171…RGBデータ生成部 172…テーブル 173…変換部 174…色補正部 175…K作成付加部 18…入力装置 2…端末 21…スキャナ 22…送信部 3…通信回線 4…カラー画像を記録した媒体 DESCRIPTION OF SYMBOLS 1 ... Center 11 ... Receiving part 12 ... Table holding RGB data to be converted 13 ... Conversion means 14 ... Table holding CMY data after conversion 15 ... Printing means 16 ... Conversion table 17 ... Conversion table creation means 171 RGB data generation unit 172 table 173 conversion unit 174 color correction unit 175 K creation addition unit 18 input device 2 terminal 21 scanner 22 transmission unit 3 communication line 4 medium for recording color images

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 1/40 - 1/409 H04N 1/46 - 1/64 Continuation of the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 1/40-1/409 H04N 1/46-1/64

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 予め定められた全てのパターンのRGB
データについて、印刷環境に応じて設定されたマスキン
グ係数に基づいて色補正まで施したCMYデータを保持
するための変換テーブルと、 変換要求のあったRGBデータについて、印刷環境に応
じて設定されたマスキング係数に基づいて色補正まで施
したCMYデータを生成して前記変換テーブルに設定す
る変換テーブル作成手段と、 変換対象となるRGBデータの発生時、そのRGBデー
タに対応するCMYデータを前記変換テーブルから検索
し、有効なCMYデータが得られたときは該CMYデー
タを変換結果として出力し、有効なCMYデータが得ら
れなかったときは前記変換テーブル作成手段に変換対象
となるRGBデータを通知して変換を要求し、得られた
CMYデータを変換結果として出力する変換手段とを備
え、且つ、 前記変換テーブル作成手段は、予め定められた全てのR
GBデータのパターンのうち未だ変換処理を行っていな
いRGBデータについて、印刷環境に応じて設定された
マスキング係数に基づいて色補正まで施したCMYデー
タを生成して前記変換テーブルに設定する処理を、前記
変換手段の動作中、または前記変換手段の非動作中に遂
行することを特徴とするRGBデータのCMYデータへ
の変換装置。
1. RGB of all predetermined patterns
A conversion table for storing CMY data that has been subjected to color correction based on a masking coefficient set according to the printing environment for data, and a masking set according to the printing environment for RGB data requested to be converted A conversion table generating means for generating CMY data subjected to color correction based on the coefficients and setting the CMY data in the conversion table; and when generating RGB data to be converted, the CMY data corresponding to the RGB data is stored in the conversion table. Searching, when valid CMY data is obtained, outputs the CMY data as a conversion result. When valid CMY data is not obtained, the conversion table creating means is notified of the RGB data to be converted, and A conversion means for requesting conversion and outputting the obtained CMY data as a conversion result; Conversion table creating means, all predetermined R
A process of generating CMY data that has been subjected to color correction based on a masking coefficient set according to a printing environment for RGB data that has not yet been subjected to a conversion process among the patterns of the GB data, and setting the same in the conversion table, An apparatus for converting RGB data into CMY data, wherein the conversion is performed during operation of the conversion unit or during non-operation of the conversion unit.
【請求項2】 前記変換テーブルは、RGBデータを構
成するR,G,Bの3成分の値を結合した値をCMYデ
ータのインデックスとし、且つCMYデータの有効性を
示す有効ビットを保持する構成を有することを特徴とす
る請求項記載のRGBデータのCMYデータへの変換
装置。
2. The conversion table according to claim 1, wherein a value obtained by combining values of three components of R, G, and B constituting RGB data is used as an index of CMY data, and holds a valid bit indicating the validity of the CMY data. 2. The apparatus for converting RGB data into CMY data according to claim 1, wherein:
JP6055123A 1994-02-28 1994-02-28 Conversion device for RGB data to CMY data Expired - Fee Related JP3022143B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6055123A JP3022143B2 (en) 1994-02-28 1994-02-28 Conversion device for RGB data to CMY data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6055123A JP3022143B2 (en) 1994-02-28 1994-02-28 Conversion device for RGB data to CMY data

Publications (2)

Publication Number Publication Date
JPH07240849A JPH07240849A (en) 1995-09-12
JP3022143B2 true JP3022143B2 (en) 2000-03-15

Family

ID=12989991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6055123A Expired - Fee Related JP3022143B2 (en) 1994-02-28 1994-02-28 Conversion device for RGB data to CMY data

Country Status (1)

Country Link
JP (1) JP3022143B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6956580B2 (en) * 2001-05-29 2005-10-18 Kodak Polychrome Graphics, Llc Color display device with integrated color matching processor
US9694598B2 (en) * 2010-05-24 2017-07-04 Canon Kabushiki Kaisha Image processing apparatus, ink jet printing apparatus, and image processing method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63148771A (en) * 1986-12-11 1988-06-21 Minolta Camera Co Ltd Color printer
JPS63196169A (en) * 1987-02-10 1988-08-15 Matsushita Graphic Commun Syst Inc Color image recorder
JPH02119465A (en) * 1988-10-28 1990-05-07 Fuji Xerox Co Ltd Color correction system for picture forming device
JP3133779B2 (en) * 1991-06-14 2001-02-13 キヤノン株式会社 Image processing device
JPH0548884A (en) * 1991-08-12 1993-02-26 Konica Corp Color correction device

Also Published As

Publication number Publication date
JPH07240849A (en) 1995-09-12

Similar Documents

Publication Publication Date Title
JPH09130539A (en) Method for performing color scanning, and digital color scanning system
EP1569471A1 (en) Image reproduction using specific color space
JP4774757B2 (en) Image processing apparatus, image processing program, electronic camera, and image processing method
JP3022143B2 (en) Conversion device for RGB data to CMY data
JP3588418B2 (en) Image correction method, image correction device, and recording medium
JP3387509B2 (en) Image processing method and image processing apparatus
JPH0580193B2 (en)
JPH06121160A (en) Color correction circuit
JPH07203236A (en) Method and apparatus for converting color image signal
JPH09200550A (en) Image processing system
JP3258372B2 (en) Color facsimile apparatus and color image processing method
JP2001320593A (en) Image processing unit, and image forming device provided with it, and image processing method
JP2686258B2 (en) Image data processing device
JP4134441B2 (en) Image processing device
JP3078406B2 (en) Image processing method and apparatus
JP2001157072A (en) Image processing method, image processor and image- forming device provided with the same
JP4306832B2 (en) Signal processing apparatus and signal processing method
JPH10191063A (en) Contour emphasis method and device for color image
JPS61142856A (en) Display device of disassembling condition of color scanner
JP3221152B2 (en) Facsimile machine
TW525368B (en) Method and system for scanning gray-scale image
JPH07123285B2 (en) Image processing device
JPS58106955A (en) Picture processing device
JPH0378094A (en) Picture gradient converting device
JPH0511641U (en) Color scanner with video plate making function

Legal Events

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

Free format text: PAYMENT UNTIL: 20080114

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090114

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100114

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110114

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110114

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120114

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130114

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees