JPH07288704A - Picture processor, picture processing method and color data communication method - Google Patents

Picture processor, picture processing method and color data communication method

Info

Publication number
JPH07288704A
JPH07288704A JP6079052A JP7905294A JPH07288704A JP H07288704 A JPH07288704 A JP H07288704A JP 6079052 A JP6079052 A JP 6079052A JP 7905294 A JP7905294 A JP 7905294A JP H07288704 A JPH07288704 A JP H07288704A
Authority
JP
Japan
Prior art keywords
data
color
printer
color correction
unit
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
JP6079052A
Other languages
Japanese (ja)
Inventor
Tomoyuki Isonuma
伴幸 磯沼
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP6079052A priority Critical patent/JPH07288704A/en
Publication of JPH07288704A publication Critical patent/JPH07288704A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To measure the color reproduction characteristics of a printer at any time as needed and to change a color correction processing corresponding to the characteristics of the printer. CONSTITUTION:A printer driver 201 and a communication part 202 are provided on the side of a host computer 207 and a printing execution part 204, a color measurement device 205, a printing color measurement control part 206 and the communication part 203 are provided on the side of the printer 208. The printer 208 performs printing with the binarized data {(c,) (y,) (m) and (k)} of cyan, magenta, yellow and black as input values. Thus, the printer driver 201 is in charge of a conversion processing from RGB multilevel data to (c,) (m,) (y) and (k) binary data and the color correction processing is included in the process.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、カラー画像印刷を行う
のに好適な画像処理装置,画像処理方法および色データ
通信方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, an image processing method and a color data communication method suitable for performing color image printing.

【0002】[0002]

【従来の技術】ホストコンピュータから色を指定するデ
ータがプリンタに供給され、このデータに従って、より
忠実に色を再現しようとする場合の従来の色再現方法を
以下に述べる。
2. Description of the Related Art A conventional color reproduction method in the case where data specifying a color is supplied from a host computer to a printer and the color is reproduced more faithfully according to the data will be described below.

【0003】ホストコンピュータ上にある色データ(画
像データ)は、色の三原色を指定するRGB三つの多値
データからなり、普通、標準的な表色系(CIE RG
B表色系、NTSC RGB表色系等)の三刺激値で表
される。そして、プリンタによるカラー印刷によって元
の色データの色が忠実に再現されるには、プリンタが出
力した印刷物の三刺激値が、元の色データの三刺激値と
なるべく同じ値を持つ必要がある。
The color data (image data) on the host computer is composed of RGB multi-valued data designating the three primary colors, and is usually a standard color system (CIE RG).
B color system, NTSC RGB color system, etc.). Then, in order to faithfully reproduce the color of the original color data by color printing by the printer, the tristimulus values of the printed matter output by the printer must have the same values as the tristimulus values of the original color data. .

【0004】このためには、元の色データ、すなわちR
GBデータを、プリンタを駆動するためのデータ(イン
ク、トナー等の出力量をコントロールするためのデー
タ)に変換する過程で、適当な色補正処理を施す必要が
ある。このデータの変換過程と、色補正処理に関して従
来行われてきた方法を図1を参照して以下に説明する。
For this purpose, the original color data, namely R
In the process of converting the GB data into data for driving the printer (data for controlling the output amount of ink, toner, etc.), it is necessary to perform an appropriate color correction process. The process of converting the data and the conventional method for the color correction process will be described below with reference to FIG.

【0005】図1に示すように、(処理1)101から
(処理3)103、さらに必要に応じて(処理4)10
4を経てデータの変換が行われる。この各処理を順に説
明する。
As shown in FIG. 1, (Process 1) 101 to (Process 3) 103, and (Process 4) 10 as required.
Data conversion is performed via 4. Each of these processes will be described in order.

【0006】(処理1): 多値の輝度データ(R,
G,B)を、これと補色関係にあるインクやトナー等の
多値の濃度データ(C,M,Y)に変換する。この変換
には、次に示す(式1)が通常使用される。
(Processing 1): Multivalued luminance data (R,
G, B) is converted into multi-valued density data (C, M, Y) of ink, toner, etc., which have a complementary color relationship with this. The following (formula 1) is usually used for this conversion.

【0007】[0007]

【数1】 輝度濃度変換式 C=Cc ×logR M=Cm ×logG Y=Cy ×logB (Cc ,Cm ,Cy は定数) …(式1) (処理2): インクやトナー等の吸収特性、すなわち
プリンタの出力特性を補正するため、(式2)に示すよ
うに、(C,M,Y)データに一次のマトリクス演算を
行い(C′M′Y′)に変換する。この方法はマスキン
グ処理としてよく知られている。また、ここで使用する
マトリクス(式2)のmi,j は、プリンタの色再現性を
最適化するように決められ、この算出方法も公知であ
る。
[Number 1] luminance-density conversion formula C = C c × logR M = C m × logG Y = C y × logB (C c, C m, C y is a constant) ... (Equation 1) (process 2): Ink Ya In order to correct the absorption characteristic of toner and the like, that is, the output characteristic of the printer, as shown in (Equation 2), a primary matrix operation is performed on the (C, M, Y) data and converted into (C′M′Y ′). To do. This method is well known as a masking process. The matrix m i, j used here (Formula 2) is determined so as to optimize the color reproducibility of the printer, and this calculation method is also known.

【0008】[0008]

【数2】 C′=m11C+m12M+m13Y M′=m21C+m22M+m23Y Y′=m31C+m32M+m33Y …(式2) (処理3): 上記CMYから黒色成分の生成(黒生
成)と、この黒色成分に対応する各CMY成分の減算
(UCR)を行い、C″M″Y″K″とする。プリンタ
の印刷エンジンが多値のデータを出力する機能を持つ場
合は、このC″M″Y″K″がプリンタの印刷エンジン
を駆動するデータとなり、プリンタにおいては、このデ
ータに従いインクやトナー等の出力量がコントロールさ
れる。また、この黒生成とUCR(下色除去)の方法は
公知である。
## EQU2 ## C '= m 11 C + m 12 M + m 13 Y M' = m 21 C + m 22 M + m 23 Y Y '= m 31 C + m 32 M + m 33 Y (Equation 2) (Processing 3): A black component from the above CMY Generation (black generation) and subtraction (UCR) of each CMY component corresponding to this black component are performed to obtain C ″ M ″ Y ″ K ″. When the print engine of the printer has a function of outputting multi-valued data, this C "M" Y "K" becomes the data for driving the print engine of the printer, and in the printer, ink, toner, etc. are printed according to this data. The amount of output is controlled. Further, the methods of black generation and UCR (undercolor removal) are known.

【0009】(処理4): プリンタの印刷エンジン
が、二値データしか出力できない場合、多値の色データ
を、二値のドットで表現するための中間調処理を行う。
この中間調処理によって二値化されたデータcmykが
生成される。この中間調処理には、ディザ法、誤差拡散
法等の方法がよく知られている。
(Process 4): When the print engine of the printer can output only binary data, halftone processing for expressing multivalued color data by binary dots is performed.
By this halftone process, binarized data cmyk is generated. Methods such as a dither method and an error diffusion method are well known for this halftone processing.

【0010】また、上記(処理2)の部分に、ルックア
ップテーブルによる色補正を使用する方法も存在する。
There is also a method of using color correction by a lookup table in the above (Processing 2) part.

【0011】以上の従来の方法において、上記(処理
2)の色補正処理をプリンタ,ホストコンピュータどち
らが分担するかという点に着目すると、次の二つに分類
される。
In the conventional method described above, focusing on which of the printer and the host computer takes charge of the color correction processing of (Processing 2), it is classified into the following two types.

【0012】(方法A)プリンタ内部の画像処理部で色
補正を行う場合。
(Method A) When color correction is performed in the image processing unit inside the printer.

【0013】(方法B)ホストコンピュータ側のソフト
ウェアにより色補正を行う場合。
(Method B) When color correction is performed by software on the host computer side.

【0014】まず、上記の(方法A)について説明す
る。プリンタがCMYK多値データを入力値として印刷
を行う場合、すなわち、プリンタ側で図1の(処理2)
から(処理4)までを行う場合、色補正処理はプリンタ
内部の画像処理部によって負担される。また、プリンタ
がRGB多値データを入力値として印刷を行い、プリン
タ側で図1の(処理1)から(処理4)までを行う場合
も考えられる。
First, the above (Method A) will be described. When the printer prints using CMYK multi-valued data as input values, that is, on the printer side (process 2) in FIG.
In the case of performing (1) to (Process 4), the color correction process is borne by the image processing unit inside the printer. It is also conceivable that the printer performs printing by using RGB multi-valued data as an input value, and the printer performs (Process 1) to (Process 4) in FIG.

【0015】次に、上記の(方法B)について説明す
る。コンピュータシステムにおいては、普通、アプリケ
ーションプログラムによって作られた描画データは、プ
リンタドライバと呼ばれる基本ソフトウェアによってプ
リンタに出力される。この時、プリンタドライバはプリ
ンタの特性に応じて、(処理1)から(処理4)までの
データの変換を行い、色補正処理はプリンタドライバに
よって負担される。
Next, the above (Method B) will be described. In a computer system, drawing data created by an application program is usually output to a printer by basic software called a printer driver. At this time, the printer driver performs data conversion from (Processing 1) to (Processing 4) according to the characteristics of the printer, and the printer driver bears the color correction processing.

【0016】[0016]

【発明が解決しようとする課題】従来の方法で、色再現
を実施する場合、次の点が問題となる。
When the color reproduction is performed by the conventional method, the following points become problems.

【0017】従来技術の項で述べた(方法A)の場合、
プリンタの特性ごとに補正方法を変更しなければならな
い。すなわち、プリンタの色出力特性に合わせて、マス
キング係数,ルックアップテーブル等を作成し、各プリ
ンタの画像処理部にデータとして組み込まなければなら
ない。このため、特性の異なるプリンタを開発するたび
に、マスキング係数,ルックアップテーブル等を変更
し、新たにプリンタの画像処理部を設計する必要があ
り、プリンタの画像処理部の開発にコストがかかる。ま
た、プリンタの製造後に色出力特性のばらつきがあった
場合、これに対応できないばかりでなく、印刷に使用す
る用紙の色が変化した場合にも対応できない。
In the case of (method A) described in the section of the prior art,
The correction method must be changed for each printer characteristic. That is, a masking coefficient, a look-up table, and the like must be created according to the color output characteristics of the printer, and incorporated into the image processing unit of each printer as data. Therefore, every time a printer having different characteristics is developed, it is necessary to change the masking coefficient, the look-up table, and the like to newly design the image processing unit of the printer, and it costs much to develop the image processing unit of the printer. In addition, if there are variations in the color output characteristics after the printer is manufactured, it is not possible to deal with this, and it is also not possible to deal with the case where the color of the paper used for printing changes.

【0018】また、従来技術の項で述べた(方法B)の
場合、上記(方法A)の場合と同様、プリンタの色出力
特性に合わせて、マスキング係数,ルックアップテーブ
ル等を作成し、プリンタドライバのプログラムに組み込
まなければならない。よって、ホストコンピュータ側に
は、各プリンタに対応したプリンタドライバを、プリン
タの種類分用意しなければならない。
In the case of (method B) described in the section of the prior art, as in the case of (method A) above, a masking coefficient, a look-up table, etc. are created in accordance with the color output characteristics of the printer, and the printer is Must be included in the driver program. Therefore, on the host computer side, printer drivers corresponding to each printer must be prepared for each type of printer.

【0019】以上、従来技術による方法で色再現を実現
する場合の問題点は、次の点に要約される。
The problems in the case of realizing the color reproduction by the method according to the prior art are summarized as follows.

【0020】(問題):色補正に使用するデータを固定
し、常に同じ方法で色補正を行う機構を、プリンタある
いはプリンタドライバの何れかに設けた場合、プリンタ
の出力特性の変動,紙の色の変動に対応できない。
(Problem): When the printer or the printer driver is provided with a mechanism for fixing the data used for the color correction and always performing the color correction in the same method, fluctuations in the output characteristics of the printer and the color of the paper Can not cope with the fluctuation of.

【0021】よって本発明の第1の目的は、従来技術の
問題点を解決して、より忠実なプリンタの色再現を実現
することができるばかりでなく、プリンタの特性の経年
変化に対しても対応できる色処理装置を提供することに
ある。
Therefore, the first object of the present invention is not only to solve the problems of the prior art to realize more faithful color reproduction of a printer, but also to improve the characteristics of the printer over time. An object is to provide a color processing device that can deal with the problem.

【0022】本発明の第2の目的は、色補正処理変更動
作時におけるプリンタ・ホストコンピュータ間のプロト
コルを定めることにより、このプロトコルに従う異なる
色出力特性を持った複数のプリンタに対しても、このプ
ロトコルに従う一つのプリンタドライバで対応し色再現
を実現することができる色データ通信方法を提供するこ
とにある。
A second object of the present invention is to define a protocol between a printer and a host computer at the time of a color correction process changing operation, so that even for a plurality of printers having different color output characteristics according to this protocol. It is an object of the present invention to provide a color data communication method capable of realizing color reproduction with a single printer driver complying with a protocol.

【0023】[0023]

【課題を解決するための手段】かかる第1の目的を達成
するために、本発明に係る色処理装置は、パッチデータ
を出力装置に送信する送信手段と、前記パッチデータに
基づいて出力装置によって出力されたデータを読み取っ
たデータを受信する受信手段と、前記パッチデータと前
記受信手段によって受信したデータから前記出力装置の
出力特性を考慮した色補正データを生成する生成手段と
を備えたものである。更に、前記生成手段によって生成
された色補正データを記憶する記憶手段と、原稿画像デ
ータを入力する入力手段と、前記入力手段によって入力
された原稿画像データに対して前記記憶された色補正デ
ータを用いて色補正する色補正手段と、前記色補正手段
によって色補正された画像データを前記出力装置に送信
する第2の送信手段とを備えるのが好適である。
In order to achieve the first object, a color processing apparatus according to the present invention includes a transmitting means for transmitting patch data to an output device and an output device based on the patch data. It is provided with receiving means for receiving the data obtained by reading the output data, and generating means for generating color correction data in consideration of the output characteristics of the output device from the patch data and the data received by the receiving means. is there. Further, storage means for storing the color correction data generated by the generating means, input means for inputting the original image data, and the stored color correction data for the original image data input by the input means It is preferable to include color correction means for performing color correction using the color correction means and second transmission means for transmitting the image data color-corrected by the color correction means to the output device.

【0024】また、本発明に係る色処理装置は、画像形
成をすべき被記録材の色を測定する測色手段と、前記測
色手段によって得られた測色データを送信する第1の通
信手段と、所定のプロトコルに従い、前記第1の通信手
順との間でデータおよび手順制御信号の授受を行う第2
の通信手段と、前記第2の通信手段を介して前記測色デ
ータを入力し、該測色データに基づいて色データを決定
する色補正手段とを備え、前記色データを前記第2の通
信手段から前記第1の通信手段へ送信するものである。
ここで、前記測色手段および前記第1の通信手段をプリ
ンタ側に設け、前記第2の通信手段および前記色補正手
段をホストコンピュータ側に設けるのが好適である。
Further, the color processing apparatus according to the present invention is the first communication for transmitting the color measurement data obtained by the color measurement means and the color measurement means for measuring the color of the recording material on which the image is to be formed. Second means for exchanging data and a procedure control signal between the means and the first communication procedure according to a predetermined protocol.
Communication means and color correction means for inputting the colorimetric data via the second communication means and determining color data based on the colorimetric data. Means for transmitting to the first communication means.
Here, it is preferable that the color measurement unit and the first communication unit are provided on the printer side, and the second communication unit and the color correction unit are provided on the host computer side.

【0025】本発明に係る色処理方法は、パッチデータ
を出力装置に送信し、前記パッチデータに基づいて出力
装置によって出力されたデータを読み取ったデータを受
信し、前記パッチデータと受信した前記データから前記
出力装置の出力特性を考慮した色補正データを生成す
る。更に、前記生成された色補正データを記憶し、入力
された原稿画像データに対して前記記憶された色補正デ
ータを用いて色補正し、前記色補正された画像データを
前記出力装置の送信するのが好適である。
In the color processing method according to the present invention, the patch data is transmitted to the output device, the data read by the output device based on the patch data is received, and the patch data and the received data are received. To generate color correction data in consideration of the output characteristics of the output device. Further, the generated color correction data is stored, color correction is performed on the input original image data using the stored color correction data, and the color corrected image data is transmitted to the output device. Is preferred.

【0026】また上記第2の目的を達成するために、本
発明に係る色データ通信方法は、プリンタ側に載置され
ている被記録材の色を測定し、前記被記録材の測色デー
タを第1の手順に従って外部装置へ供給し、前記測色デ
ータに基づいて修正された色データを、第2の手順に従
って前記外部装置から前記プリンタへ供給するものであ
る。
In order to achieve the above-mentioned second object, the color data communication method according to the present invention measures the color of the recording material placed on the printer side, and measures the color measurement data of the recording material. Is supplied to the external device according to the first procedure, and the color data corrected based on the colorimetric data is supplied from the external device to the printer according to the second procedure.

【0027】[0027]

【作用】本発明によれば、従来技術の問題点を解決し
て、より忠実なプリンタの色再現を実現することができ
るばかりでなく、プリンタの特性の経年変化に対しても
対応できる(請求項1〜6に対応)。
According to the present invention, not only the problems of the prior art can be solved and more faithful color reproduction of the printer can be realized, but also the secular change of the characteristics of the printer can be coped with. (Corresponding to items 1 to 6).

【0028】また、その他の本発明によれば、色補正処
理変更動作時におけるプリンタ・ホストコンピュータの
間のプロトコルを定めることにより、このプロトコルに
従う異なる色出力特性を持った複数のプリンタに対して
も、このプロトコルに従う一つのプリンタドライバで対
応した色再現を実現することができる(請求項7に対
応)。
Further, according to another aspect of the present invention, by defining a protocol between the printer and the host computer during the color correction process changing operation, even for a plurality of printers having different color output characteristics according to this protocol. The color reproduction corresponding to one printer driver according to this protocol can be realized (corresponding to claim 7).

【0029】より具体的に述べると、本発明を実施する
ことにより、プリンタドライバに変更可能な色補正機能
を持たせ、他方、プリンタには測色機能を持たせること
によって、上記の従来の問題を解決することができる。
More specifically, by implementing the present invention, the printer driver is provided with a changeable color correction function, while the printer is provided with a color measurement function. Can be solved.

【0030】[0030]

【実施例】まず、以下に詳述する実施例の概要を説明す
る。
EXAMPLES First, the outline of the examples described in detail below will be described.

【0031】カラー画像を印刷するシステムを構成する
にあたり、以下に示す(P)の手段を持つプリンタと、
以下に示す(S)の手段を持つホストコンピュータとを
備え、かつプリンタとホストコンピュータとの間に以下
に示す(PS)のプロトコルを定めたものである。
In constructing a system for printing color images, a printer having means (P) shown below,
A host computer having the means (S) shown below is provided, and the protocol (PS) shown below is defined between the printer and the host computer.

【0032】(P): 次の2点の手段を有するプリン
タ ・印刷物、または用紙の色を測色するための手段 ・ホストコンピュータへ測色データを送信する手段 (S): 次の3点の手段を有するホストコンピュータ ・色再現を最適化することを目的とし、「出力すべき画
像データの色情報A」と、「プリンタに入力した色デー
タと、実際に出力された色データの差異に関する情報
B」を元に、プリンタに入力すべき色データを決定する
手段 ・プリンタから測色データを受信する手段 ・プリンタから得た測色データを元に、情報Bを更新す
る手段 (PS): プリンタとホストコンピュータとの間にお
いて、次の2つの規定が定められる。
(P): Printer having the following two means: Means for measuring the color of printed matter or paper. Means for transmitting color measurement data to the host computer (S): Host computer having means-For the purpose of optimizing color reproduction, "color information A of the image data to be output" and "information about the difference between the color data input to the printer and the color data actually output. Means for determining color data to be input to the printer based on "B" -means for receiving colorimetric data from the printer-means for updating information B based on the colorimetric data obtained from the printer (PS): printer The following two rules are defined between the host computer and the host computer.

【0033】・プリンタとホストコンピュータが、色補
正データの変更という特別な協調動作(連係動作)を行
うための通信手順 ・ホストコンピュータからプリンタに送られる色データ
サンプルと、プリンタからソフトウェアに送られる測色
データのデータ形式 本発明を適用した一実施例は、(1)ホストコンピュー
タ側の基本ソフトとして、以下の(1.1)から(1.
5)の手段を実現する基本ソフトウェアを有し、(2)
プリンタとして以下の(2.1),(2.2)の手段を
有し、(3)さらに、基本ソフトとプリンタとの間に定
められた以下の(3.1),(3.2)に示すプロトコ
ルを有するものである。
A communication procedure for the printer and the host computer to perform a special cooperative operation (coordination operation) of changing the color correction data. The color data sample sent from the host computer to the printer and the measurement data sent from the printer to the software. Data Format of Color Data In one embodiment to which the present invention is applied, (1) as basic software on the host computer side, the following (1.1) to (1.
It has basic software that realizes the means of 5), and (2)
The printer has the following means (2.1) and (2.2), and (3) the following (3.1) and (3.2) defined between the basic software and the printer. It has a protocol shown in.

【0034】(1.1)プリンタへデータを転送する手
段、(1.2)パッチデータと測色データに基づき、色
補正演算に使う色補正データを計算する手段、(1.
3)プリンタから測色データを受信する手段、(1.
4)印刷すべき色データに色補正処理を施し、新しい色
データを作る手段、(1.5)通常の印刷処理と色補正
処理変更処理の起動の指示を、他のソフトウェアから受
け付けるための手段。
(1.1) means for transferring data to a printer, (1.2) means for calculating color correction data used for color correction calculation based on patch data and colorimetric data, (1.
3) Means for receiving colorimetric data from the printer, (1.
4) means for performing color correction processing on the color data to be printed to create new color data, and (1.5) means for accepting an instruction to activate normal printing processing and color correction processing change processing from other software. .

【0035】(2.1)印刷物を測色する手段、(2.
2)測色したデータをホストコンピュータに転送する手
段。
(2.1) Means for measuring the color of printed matter, (2.
2) A means for transferring colorimetric data to a host computer.

【0036】(3.1)通常の印刷時に、ホストコンピ
ュータがプリンタを制御するための通信プロトコル、
(3.2)色補正係数を変更するため、ホストコンピュ
ータとプリンタが一連の色補正処理変更動作を行うため
の通信プロトコル。
(3.1) A communication protocol for the host computer to control the printer during normal printing,
(3.2) A communication protocol for the host computer and the printer to perform a series of color correction process changing operations in order to change the color correction coefficient.

【0037】以上の構成により、プリンタの色再現特性
を補正して、ホストコンピュータ上の色データを忠実に
再現するカラー印刷が実現できる。そして、プリンタの
色再現特性が変わった場合は、ホストコンピュータ上の
基本ソフトとプリンタに特別な動作を行わせ、基本ソフ
トウェアの色補正処理を変更する。これにより、新しい
色再現特性に合わせた色補正を行うことが可能となり、
色再現性を確保することができる。
With the above arrangement, color printing can be realized by correcting the color reproduction characteristics of the printer and faithfully reproducing the color data on the host computer. When the color reproduction characteristics of the printer change, the basic software on the host computer and the printer are caused to perform a special operation, and the color correction processing of the basic software is changed. This makes it possible to perform color correction that matches the new color reproduction characteristics.
Color reproducibility can be secured.

【0038】以下、図2〜図8を参照して、本発明の一
実施例を詳細に説明する。
An embodiment of the present invention will be described in detail below with reference to FIGS.

【0039】本実施例は、図2に示すように、ホストコ
ンピュータ207側にプリンタドライバ201と通信部
202を、またプリンタ側に印刷実行部204と、測色
装置205と、印刷測色制御部206と、通信部203
を持たせる構成をとる。本実施例では、プリンタは二値
化されたシアン,マゼンタ,イエロー,ブラックのデー
タ(図1のc,m,y,k)を入力値として印刷を行
う。よって、プリンタドライバはRGB多値データから
c,m,y,k二値データへの変換(図1の処理1から
処理4)を負担し、この過程に色補正処理を含む。
In this embodiment, as shown in FIG. 2, a printer driver 201 and a communication unit 202 are provided on the host computer 207 side, a print execution unit 204, a color measurement device 205, and a print color measurement control unit on the printer side. 206 and the communication unit 203
Take the configuration that has. In this embodiment, the printer prints using binarized cyan, magenta, yellow, and black data (c, m, y, k in FIG. 1) as input values. Therefore, the printer driver bears the conversion from RGB multi-valued data to c, m, y, k binary data (process 1 to process 4 in FIG. 1), and includes a color correction process in this process.

【0040】図3は、プリンタドライバ201で実行さ
れる処理機能をブロック図として示したものである。こ
の図3に示した処理機能は、ホストコンピュータ207
からプリンタ208に印刷を実行させるための基本ソフ
トウェアによって実行される。一般にこのような基本ソ
フトウェアは、プリンタドライバと呼ばれている。この
プリンタドライバの動作を以下に説明する。
FIG. 3 is a block diagram showing processing functions executed by the printer driver 201. The processing function shown in FIG.
Is executed by the basic software for causing the printer 208 to perform printing. Generally, such basic software is called a printer driver. The operation of this printer driver will be described below.

【0041】通常印刷時はホストコンピュータの通信部
202を介して、アプリケーションプログラムから渡さ
れた画像データ(図3のRGB)に301,302,3
03,304の処理を施し、印刷データを生成し、この
データをプリンタに転送する。この時に行われる処理の
中で、色補正処理302が行われ、本実施例では色補正
処理としてマスキング法を使用する。
During normal printing, the image data (RGB in FIG. 3) 301, 302, 3 transferred from the application program via the communication unit 202 of the host computer.
The processing of 03 and 304 is performed to generate print data, and this data is transferred to the printer. In the processing performed at this time, the color correction processing 302 is performed, and in this embodiment, the masking method is used as the color correction processing.

【0042】測色動作時は、プリンタにパッチデータの
印刷データを送り、プリンタからは測色データを受け取
る。そして、この測色データに基づき色補正データの計
算を行い、色補正データ、すなわちマスキング係数30
6を更新する。
During the color measurement operation, print data of patch data is sent to the printer and color measurement data is received from the printer. Then, the color correction data is calculated based on the color measurement data, and the color correction data, that is, the masking coefficient 30 is calculated.
Update 6

【0043】図4は、印刷実行部204の詳細な構成を
示す。本図に示した印刷実行部の動作は、以下の通りで
ある。
FIG. 4 shows the detailed construction of the print execution unit 204. The operation of the print execution unit shown in this figure is as follows.

【0044】印刷実行時、入力段用紙送り機構404
が、印刷エンジン403に用紙を送り、印刷エンジン4
03が印刷データバッファ406にある印刷データに従
い印刷を行う。この印刷エンジンはインクジェット・感
熱式等のラインプリンタでもよいし、電子写真等のペー
ジプリンタでもよく、これらのデバイスが印刷を行う機
構は公知である。出力段用紙送り機構405は連続的な
用紙の移動と、断続的な用紙の移動の2種の搬送方式を
可能とする機構を持ち、この2種の動作の切り替えは印
刷測色制御部408からの信号により行われる。
Input stage paper feed mechanism 404 during printing
Sends the paper to the print engine 403, and the print engine 4
03 prints according to the print data in the print data buffer 406. The print engine may be an inkjet / heat-sensitive line printer or a page printer such as an electrophotographic printer, and the mechanism by which these devices perform printing is known. The output stage paper feed mechanism 405 has a mechanism that enables two types of conveyance methods, that is, continuous movement of the paper and intermittent movement of the paper. Switching between these two operations is performed by the print color measurement control unit 408. Done by signal.

【0045】図5は、測色装置205の構成を示す。本
図に示した測色装置は印刷物の三刺激値を測定するため
の機能を持ち、この動作原理はすでに公知であるため簡
単に説明する。本測色装置は計測制御部502、白色光
源505、3組の色フィルタ506、光センサ507、
増幅回路508、および補正回路509からなり、次の
(式3)に従い、物体の分光反射率である三刺激値を測
定する。
FIG. 5 shows the structure of the color measuring device 205. The colorimetric apparatus shown in this figure has a function for measuring the tristimulus values of a printed matter, and the operating principle thereof is already known, so it will be briefly described. The colorimetric apparatus includes a measurement control unit 502, a white light source 505, three sets of color filters 506, an optical sensor 507,
The amplification circuit 508 and the correction circuit 509 are used to measure the tristimulus value, which is the spectral reflectance of the object, according to the following (Equation 3).

【0046】[0046]

【数3】 R=Kr∫S(λ)F(λ)Tr(λ)dλ G=Kg∫S(λ)F(λ)Tg(λ)dλ B=Kb∫S(λ)F(λ)Tb(λ)dλ …(式3) (式3)において、λは光の波長、S(λ)は光源の分
光エネルギー分布、F(λ)は物体の分光反射率、Tr
(λ),Tg(λ),Tb(λ)はそれぞれNTSC
RGB表色系の等色関数を表す。また、Kr,Kg,K
bは規格化の定数を表す。
R = Kr∫S (λ) F (λ) Tr (λ) dλ G = Kg∫S (λ) F (λ) Tg (λ) dλ B = Kb∫S (λ) F (λ) Tb (λ) dλ (Equation 3) In (Equation 3), λ is the wavelength of light, S (λ) is the spectral energy distribution of the light source, F (λ) is the spectral reflectance of the object, and Tr is
(Λ), Tg (λ), and Tb (λ) are NTSC, respectively.
It represents the color matching function of the RGB color system. Also, Kr, Kg, K
b represents a standardization constant.

【0047】本実施例における測色装置は三刺激値とし
てNTSC RGB表色系に従った三刺激値データを出
力する。NTSC RGB表色系で規定されている三刺
激値を得るには、光センサの前段に置かれた色フィルタ
506の透過率と、光センサ507の感度の波長依存性
を、NTSC−RGB表色系の等色関数に近似的に一値
させ、3つの光センサからの出力に補正回路509で補
正を施せばよい。
The colorimetric device in this embodiment outputs tristimulus value data according to the NTSC RGB color system as tristimulus values. In order to obtain the tristimulus values defined by the NTSC RGB color system, the transmittance of the color filter 506 placed in front of the optical sensor and the wavelength dependence of the sensitivity of the optical sensor 507 can be calculated using the NTSC-RGB color system. The color matching function of the system may be approximated to one value and the outputs from the three photosensors may be corrected by the correction circuit 509.

【0048】また、白色光源505には、NTSC R
GB表色系で規定されるC光源の特性が要求されるが、
実際使用する白色光源とC光源とのずれは色フィルタ、
補正回路によって容易に補正できる。
The white light source 505 has an NTSC R
The characteristics of the C light source specified by the GB color system are required,
The difference between the white light source actually used and the C light source is the color filter,
It can be easily corrected by the correction circuit.

【0049】本装置の測色動作のタイミングは、印刷測
色制御部から制御される。本装置は印刷測色制御部から
測色トリガ信号を受けると白色光源505を発光させ、
測色部504から得られた測色データを印刷測色制御部
に送り返す。
The timing of the color measurement operation of this apparatus is controlled by the print color measurement control section. This apparatus causes the white light source 505 to emit light when receiving a color measurement trigger signal from the print color measurement control unit.
The color measurement data obtained from the color measurement unit 504 is sent back to the print color measurement control unit.

【0050】なお本実施例では、色再現の基準として、
NTSC RGB表色系を使用するが、これ以外の任意
の表色系を使用し得ることは勿論である。
In this embodiment, as a color reproduction standard,
Although the NTSC RGB color system is used, it goes without saying that any other color system can be used.

【0051】印刷測色制御部206と、通信部203、
印刷実行部204、測色装置205とのインターフェー
スは図4に示したとおりである。この印刷測色制御部2
06は、通信部203を介して送られてくるホストコン
ピュータからのデータを解析し、プリンタの動作を制御
する。通常の印刷時は、ホストコンピュータからの印刷
データを印刷実行部204に送る。ホストコンピュータ
から測色要求等の命令が来ると、測色動作が行えるよ
う、印刷実行部に動作切り替え信号を送る。測色動作時
は、印刷実行部にパッチデータの印刷データを、測色装
置に測色トリガ信号を送り、測色データを測色装置から
得る。得られた測色データは通信部を通してホストコン
ピュータに送り返す。
The print color measurement control unit 206, the communication unit 203,
The interface between the print executing unit 204 and the color measuring device 205 is as shown in FIG. This print color measurement control unit 2
Reference numeral 06 analyzes data sent from the host computer via the communication unit 203 and controls the operation of the printer. During normal printing, print data from the host computer is sent to the print execution unit 204. When a command such as a color measurement request is received from the host computer, an operation switching signal is sent to the print execution unit so that the color measurement operation can be performed. During the color measurement operation, the print data of the patch data is sent to the print execution unit and the color measurement trigger signal is sent to the color measurement device to obtain the color measurement data from the color measurement device. The obtained color measurement data is sent back to the host computer through the communication unit.

【0052】また、ホストコンピュータ207とプリン
タ208にはそれぞれの通信部202,203が用意さ
れ、ホストコンピュータ207とプリンタ208との間
のデータ転送を実現する。通信方式は、RS232Cの
ようなシリアルデータ転送でもよいし、セントロニク
ス、SCSI等のパラレルデータ転送でもよい。
Further, the host computer 207 and the printer 208 are provided with respective communication units 202 and 203 to realize data transfer between the host computer 207 and the printer 208. The communication method may be serial data transfer such as RS232C, or parallel data transfer such as Centronics or SCSI.

【0053】次に、本実施例の全体的な動作を説明す
る。
Next, the overall operation of this embodiment will be described.

【0054】ホストコンピュータ側のプリンタドライバ
201とプリンタ208は、通常の印刷を行う動作モー
ドと、色補正データの変更を行う二つの動作モードを持
つ。以降、この2つのモードをそれぞれ通常印刷モー
ド、色補正データ変更モードと呼ぶ。
The printer driver 201 and the printer 208 on the side of the host computer have an operation mode for performing normal printing and two operation modes for changing color correction data. Hereinafter, these two modes are referred to as a normal print mode and a color correction data change mode, respectively.

【0055】(通常印刷モードでの動作)通常印刷モー
ドにおいては次の動作を行う。
(Operation in Normal Print Mode) In the normal print mode, the following operation is performed.

【0056】アプリケーションプログラムが、印刷要求
と印刷すべき画像データをプリンタドライバに送ると、
プリンタドライバは図3に示す一連の処理を経て、印刷
データを生成する。この一連の処理を詳しく説明する。
When the application program sends the print request and the image data to be printed to the printer driver,
The printer driver generates print data through a series of processes shown in FIG. This series of processes will be described in detail.

【0057】(処理1)301: (式1)を使用し、
輝度データ(RGB)を、これと補色関係にあるインク
やトナー等の濃度データ(CMY)に変換する。
(Process 1) 301: Using (Equation 1),
The brightness data (RGB) is converted into density data (CMY) of ink, toner, etc., which have a complementary color relationship with the brightness data.

【0058】(処理2)302: インクやトナー等の
吸収特性、すなわちプリンタの出力特性を補正するた
め、(CMY)データに一次のマスキング処理(式2)
を施し(C′,M′,Y′)に変換する。ここで使われ
るマスキング係数が、色補正データ変更モードにおいて
更新されるデータとなる。
(Processing 2) 302: In order to correct the absorption characteristics of ink and toner, that is, the output characteristics of the printer, the (CMY) data is subjected to the primary masking processing (Equation 2).
Is converted to (C ′, M ′, Y ′). The masking coefficient used here becomes the data updated in the color correction data change mode.

【0059】(処理3)303: 上記C′M′Y′か
らの黒色成分の生成(黒生成)と、この黒色成分に対応
する各CMY成分の減算(UCR)を行い、C″M″
Y″K″とする。
(Processing 3) 303: The black component is generated from the above C'M'Y '(black generation) and each CMY component corresponding to this black component is subtracted (UCR) to obtain C "M".
Y "K".

【0060】(処理4)304: 多値の色データを、
二値のドットで表現するための中間調処理を行う。
(Processing 4) 304: Multivalued color data
Performs halftone processing for expressing with binary dots.

【0061】以上の処理によってプリンタ駆動データが
生成されると、プリンタドライバはプリンタにこのデー
タを転送する。
When the printer drive data is generated by the above processing, the printer driver transfers this data to the printer.

【0062】プリンタがプリンタドライバからプリンタ
駆動データを受け取ると、プリンタの印刷測色制御部は
このデータを印刷実行部に送り印刷を行う。
When the printer receives the printer drive data from the printer driver, the print colorimetric control unit of the printer sends this data to the print executing unit to perform printing.

【0063】(色補正データ変更モードの動作)図6に
色補正データ変更動作モードでの処理手順と動作を示
す。
(Operation in Color Correction Data Change Mode) FIG. 6 shows the processing procedure and operation in the color correction data change operation mode.

【0064】通常印刷モードにおいて、色補正データの
変更要求601が発生した場合、プリンタドライバとプ
リンタは色補正データ変更動作モードに入り、図6の手
順を実行していく。以下に手順と動作を説明する。
When the color correction data change request 601 is generated in the normal print mode, the printer driver and the printer enter the color correction data change operation mode and execute the procedure shown in FIG. The procedure and operation will be described below.

【0065】・プリンタドライバは、色補正データ変更
処理を開始するため、プリンタに色補正データ変更処理
開始命令602を出し、プリンタからの準備完了の応答
604を持つ。
The printer driver issues a color correction data change processing start command 602 to the printer in order to start the color correction data change processing, and has a response 604 indicating completion of preparation from the printer.

【0066】・プリンタは、変更処理開始命令を受け取
り、印刷物の測色が行えるよう次の測色準備を行う。
The printer receives the change processing start command and prepares for the next color measurement so that the color of the printed matter can be measured.

【0067】(測色準備)まず、図4に示すように、プ
リンタの印刷測色制御部206が、印刷実行部204に
動作切り替え信号を送る。印刷実行部が測色動作移行信
号を受けると、印刷実行部の印刷エンジン制御部402
は、出力段用紙送り機構の動作が断続的な用紙移動とな
るよう制御機構を切り替える。この切り替えは、印刷エ
ンジン制御部による紙送り機構の制御がマイクロプロセ
ッサによるものであれば次のようにして容易に実現でき
る。
(Preparation for color measurement) First, as shown in FIG. 4, the print color measurement control unit 206 of the printer sends an operation switching signal to the print execution unit 204. When the print execution unit receives the color measurement operation transition signal, the print engine control unit 402 of the print execution unit
Switches the control mechanism so that the operation of the output stage paper feeding mechanism is intermittently moved. This switching can be easily realized as follows if the control of the paper feeding mechanism by the print engine control unit is performed by the microprocessor.

【0068】まず、連続移動、断続移動の2つの動作を
記述したサブルーチン(ソフトウェア)を用意し、さら
にどちらのサブルーチンを実行するかを決めるフラグを
用意して、印刷測色制御部からの動作切り替え信号に応
じてフラグを書き換える。そして、通常印刷、またはパ
ッチデータ印刷を実行する時、このフラグを判別して、
どちらか一方を選択的に実行すればよい。
First, a subroutine (software) describing two operations of continuous movement and intermittent movement is prepared, and a flag for deciding which subroutine is executed is prepared, and the operation is switched from the print colorimetry control section. Rewrite the flag according to the signal. Then, when executing normal printing or patch data printing, this flag is determined,
Either one may be selectively executed.

【0069】以上の準備が完了すると、プリンタはホス
トコンピュータに準備完了の応答604を伝え、パッチ
データの到着を持つ。
When the above preparations are completed, the printer sends a preparation completion response 604 to the host computer, and the arrival of patch data.

【0070】・プリンタドライバはプリンタからの準備
完了の応答を受け取ると、図3に示すように、パッチデ
ータ308に輝度濃度変換301、黒生成UCR30
3、二値化304の処理を施しパッチデータの印刷デー
タを生成する。この時、マスキング処理302は行わな
い。また、パッチデータの印刷データ309を予め生成
しておき、これを直接プリンタに送ってもよい。パッチ
データの印刷データをプリンタに送ると、プリンタドラ
イバは測色データの到着を持つ。図3の破線はパッチデ
ータの印刷データが生成される時のデータの経路であ
る。
When the printer driver receives a response indicating completion of preparation from the printer, as shown in FIG. 3, the patch data 308 has a luminance density conversion 301 and a black generation UCR 30.
3. The process of binarization 304 is performed to generate print data of patch data. At this time, the masking process 302 is not performed. Alternatively, the print data 309 of the patch data may be generated in advance and sent directly to the printer. When the print data of the patch data is sent to the printer, the printer driver has the arrival of the color measurement data. A broken line in FIG. 3 is a data path when print data of patch data is generated.

【0071】なお、パッチデータの数は幾つかでもよ
い。パッチ部分の色データはNTSCRGB表色系のデ
ータであり、図7に示すよう用紙の上から順に(R1
2 ,B3 ),(R2 ,G2 ,B2 ),(R3 ,G3
3 )…と配置されている。
The number of patch data may be several. The color data of the patch portion is data NTSCRGB color system, (R 1 in this order from the top of the sheet as shown in FIG. 7,
G 2 , B 3 ), (R 2 , G 2 , B 2 ), (R 3 , G 3 ,
B 3) ... are arranged with.

【0072】このデータ群を以下(Ri ,Gi ,Bi
と記す。iはパッチデータを区別する指標を意味する。
This data group is expressed as (R i , G i , B i ) below.
Is written. i means an index for distinguishing patch data.

【0073】・プリンタはパッチデータの印刷データを
受け取ると、次の測色動作を行う。
When the printer receives the print data of the patch data, it carries out the following color measurement operation.

【0074】次に、図4を参照して測色動作を説明す
る。
Next, the color measurement operation will be described with reference to FIG.

【0075】プリンタがパッチデータの印刷データを受
け取ると、印刷測色制御部206は、パッチデータの印
刷データを印刷実行部204に送り、最初のパッチデー
タが印刷され測色装置205の測色位置に来るのを待
つ。
When the printer receives the print data of the patch data, the print color measurement control unit 206 sends the print data of the patch data to the print execution unit 204, the first patch data is printed, and the color measurement position of the color measurement device 205 is printed. Wait to come to.

【0076】印刷実行部204がパッチデータを印刷し
終わり、最初のパッチデータが測色位置に来るよう用紙
を設定すると、この印刷実行部は印刷測色制御部206
にパッチデータセット完了信号を送る。印刷測色制御部
206はパッチデータセット完了信号を受けると、測色
装置205に測色トリガ信号を送る。測色装置205に
測色を実行させ測色データを得ると、印刷測色制御部2
06はこの一つの測色データをバッファ406に蓄え
る。
When the print execution unit 204 finishes printing the patch data and sets the paper so that the first patch data comes to the color measurement position, this print execution unit executes the print color measurement control unit 206.
Send a patch data set completion signal to. Upon receiving the patch data set completion signal, the print color measurement control unit 206 sends a color measurement trigger signal to the color measurement device 205. When the color measurement device 205 executes color measurement and obtains color measurement data, the print color measurement control unit 2
06 stores this one colorimetric data in the buffer 406.

【0077】印刷実行部204はパッチデータセット完
了信号を出してから、測色を行うのに十分な時間だけ待
ち、次のパッチデータが測色位置に来るよう用紙を設定
し、再びパッチデータセット完了信号を出す。
The print execution unit 204 outputs a patch data set completion signal, then waits for a sufficient time to perform color measurement, sets the paper so that the next patch data will come to the color measurement position, and sets the patch data set again. Send a completion signal.

【0078】以上の動作を繰り返し、全てのパッチデー
タを測色し終えると、印刷測色制御部206はバッファ
406に蓄えた全ての測色データをプリンタドライバ2
01に送る。なお、以上の測色動作において、パッチデ
ータの測色位置へのセットは、出力段用紙送り機構40
5の断続的な用紙移動によって実現される。また、印刷
測色制御部206は、測色データを蓄えなくとも、印刷
実行部204からのパッチデータセット完了信号を待つ
間に、一つの測色データをプリンタドライバに送っても
よい。以上が完了すると、プリンタは測色データをホス
トコンピュータに転送する。
When the above operation is repeated and the color measurement of all patch data is completed, the print color measurement control unit 206 outputs all the color measurement data stored in the buffer 406 to the printer driver 2
Send to 01. In the above color measurement operation, the output stage paper feed mechanism 40 sets the patch data at the color measurement position.
It is realized by intermittent paper movement of 5. Further, the print color measurement control unit 206 may send one color measurement data to the printer driver while waiting for the patch data set completion signal from the print execution unit 204, without storing the color measurement data. When the above is completed, the printer transfers the colorimetric data to the host computer.

【0079】ここで、測色データ群を以下(R′i
G′i ,B′i )と記す。
Here, the colorimetric data group is represented by (R ′ i ,
G'i , B'i ).

【0080】・プリンタドライバ201は全ての測色デ
ータをプリンタから受け取ると、図3に示すように、プ
リンタに送ったパッチデータ群(Ri ,Gi ,Bi )3
08と、プリンタから受け取った測色データ群(R′
i ,G′i ,B′i )307に基づき、次の計算処理に
従ってマスキング係数を計算する。
When the printer driver 201 receives all the colorimetric data from the printer, the patch data group (R i , G i , B i ) 3 sent to the printer is sent as shown in FIG.
08, and the color measurement data group (R '
Based on i , G ′ i , B ′ i ) 307, the masking coefficient is calculated according to the following calculation process.

【0081】(計算処理)本実施例における、色補正の
方法には一次のマスキング処理を用い、色補正データに
は一次のマスキング係数を用いる。一次のマスキング処
理の原理は、プリンタの色再現特性を線形変換、すなわ
ち、一次の行列で近似し、その逆行列を求め、この逆行
列を作用させたデータをプリンタに入力することによっ
て、プリンタの特性を補正する方法である。しかし、実
際の計算手順は、プリンタの色再現特性の逆特性、すな
わち逆行列を測色データから直接求め、逆行列の計算は
行わない。以下、計算手順を図3を参照し説明する。
(Calculation Process) In this embodiment, a primary masking process is used for the color correction method, and a primary masking coefficient is used for the color correction data. The principle of the first-order masking process is that the color reproduction characteristics of the printer are linearly transformed, that is, approximated by a first-order matrix, the inverse matrix is obtained, and the data on which the inverse matrix is applied is input to the printer. This is a method of correcting the characteristics. However, in the actual calculation procedure, the inverse characteristic of the color reproduction characteristic of the printer, that is, the inverse matrix is directly obtained from the colorimetric data, and the inverse matrix is not calculated. The calculation procedure will be described below with reference to FIG.

【0082】プリンタの色再現特性の逆特性を表す一次
行列を求める。この計算は色補正データ計算部305に
よって行われる。マスキング演算は濃度データCMYに
対して行われるため、プリンタの色再現特性の逆特性を
CMY空間上で表現する必要がある。
A primary matrix representing the inverse characteristic of the color reproduction characteristic of the printer is obtained. This calculation is performed by the color correction data calculation unit 305. Since the masking calculation is performed on the density data CMY, it is necessary to represent the inverse characteristic of the color reproduction characteristic of the printer in the CMY space.

【0083】このため、まず、図8に示すように、プリ
ンタに入力した色データ(Ri ,Gi ,Bi )とプリン
タから出力された色データ(R′i ,G′i ,B′i
を(式1)に従い、それぞれ(C入i ,M入i ,Y入
i )と(C測i ,M測i ,Y測i )に変換する。そして
このデータ間に、次に示す(式4)の関係を過程する。
Therefore, first, as shown in FIG. 8, the color data (R i , G i , B i ) input to the printer and the color data (R ′ i , G ′ i , B ′) output from the printer. i )
According to (Equation 1), (C input i , M input i , Y input
i ) and (C measurement i , M measurement i , Y measurement i ). Then, the relationship of the following (formula 4) is processed between the data.

【0084】[0084]

【数4】 C入i =m11C測i +m12M測i +m13Y測i M入i =m21C測i +m22M測i +m23Y測i Y入i =m31C測i +m32M測i +m33Y測i …(式4) この(式4)の中のmijがプリンタの色再現特性の逆特
性を表すことになる。しかし、ここで使う一次の行列は
あくまで近似であるため、全てのデータに対して(式
4)を満たすmijは存在しない。そこで、mijによって
定められる関係と実際のデータが従う関係とのずれDを
次の(式5)で定義し、このずれを最小にする最適なm
ijを求めることによってプリンタの特性を近似する。
[Equation 4] C input i = m 11 C measurement i + m 12 M measurement i + m 13 Y measurement i M input i = m 21 C measurement i + m 22 M measurement i + m 23 Y measurement i Y input i = m 31 C measurement i + m 32 M measurement i + m 33 Y measurement i (Equation 4) m ij in this (Equation 4) represents the inverse characteristic of the color reproduction characteristic of the printer. However, since the linear matrix used here is only an approximation, there is no mij that satisfies (Equation 4) for all data. Therefore, the deviation D between the relationship determined by mij and the relationship that the actual data follows is defined by the following (Equation 5), and the optimum m that minimizes this deviation is defined.
The printer characteristics are approximated by finding ij .

【0085】[0085]

【数5】 [Equation 5]

【0086】この計算方法は最小二乗法としてよく知ら
れており、最適なmijを定める条件は次の(式6)とな
り、この条件から次の(式7)における3×3の方程式
が導かれる。
This calculation method is well known as the least squares method, and the condition for determining the optimum m ij is the following (formula 6), and the 3 × 3 equation in the following (formula 7) is derived from this condition. Get burned.

【0087】[0087]

【数6】 [Equation 6]

【0088】[0088]

【数7】 [Equation 7]

【0089】上記Above

【0090】[0090]

【外1】 [Outer 1]

【0091】また(式8),(式9)のXpi,Ypiは以
下の(式10)で定義される。
Further, X pi and Y pi in (Equation 8) and (Equation 9) are defined by the following (Equation 10).

【0092】[0092]

【数8】 [Equation 8]

【0093】[0093]

【数9】 [Equation 9]

【0094】[0094]

【数10】 Xpiの定義 Ypiの定義 X1i=C測i1i=C入i2i=M測i2i=M入i3i=Y測i3i=Y入i p=1,2,3 …(式10) ここで(式7)はmijを一義的に定める連立方程式であ
るため、これを解くことによりmij、すなわちマスキン
グ係数が求められる。また、(式8)および(式9)の
Nは、パッチデータの総数を表わす。
[Formula 10] Definition of X pi Definition of Y pi X 1i = C measurement i Y 1i = C input i X 2i = M measurement i Y 2i = M input i X 3i = Y measurement i Y 3i = Y input i p = 1,2,3 ... (equation 10) here, since (equation 7) are simultaneous equations defining uniquely the m ij, m ij, that is, the masking coefficient is determined by solving this. Further, N in (Equation 8) and (Equation 9) represents the total number of patch data.

【0095】以上の計算処理が終わると、図6に示すよ
うに、プリンタドライバは通常の印刷動作に入るべく、
通常印刷動作移行命令609をプリンタに送り、プリン
タからの通常印刷動作移行完了の応答609を待つ。
Upon completion of the above calculation processing, as shown in FIG. 6, the printer driver should start the normal printing operation.
A normal print operation shift command 609 is sent to the printer, and the printer waits for a response 609 from the printer indicating that the normal print operation shift is completed.

【0096】・プリンタは、通常印刷動作移行命令を受
けると、測色準備で行った印刷実行部の変更を元に戻
し、プリンタドライバへ通常印刷動作移行完了の応答6
09を返す。
Upon receipt of the normal print operation shift command, the printer undoes the change in the print execution unit made in the colorimetric preparation and returns to the printer driver a response 6 to the normal print operation shift completion.
Returns 09.

【0097】・プリンタドライバは、通常印刷動作移行
完了の応答をプリンタから受け取ると、通常印刷モード
に入り印刷要求を待つ。
When the printer driver receives from the printer a response indicating that the normal print operation has been completed, the printer driver enters the normal print mode and waits for a print request.

【0098】なお、以上の実施例において、プリンタド
ライバの色補正処理を、LUT(ルックアップテーブ
ル)を使用した処理に変更し、マスキング係数の計算処
理部分をLUTの修正処理に変更することも可能であ
る。
In the above embodiment, the color correction processing of the printer driver may be changed to the processing using the LUT (lookup table) and the masking coefficient calculation processing portion may be changed to the LUT correction processing. Is.

【0099】かくして以上の実施例によれば、いつでも
必要な時にプリンタの色再現特性を測定し、プリンタの
特性に合わせて色補正処理を変更することができる。
Thus, according to the above embodiment, the color reproduction characteristics of the printer can be measured at any time and the color correction processing can be changed according to the characteristics of the printer.

【0100】[0100]

【発明の効果】以上説明した通り本発明によれば、従来
技術の問題点を解決して、より忠実なプリンタの色再現
を実現することができるばかりでなく、プリンタの特性
の経年変化に対しても対応できる(請求項1〜6に対
応)。
As described above, according to the present invention, not only the problems of the prior art can be solved to realize more faithful color reproduction of a printer, but also the characteristics of the printer can be prevented from aging. However, it is possible (corresponding to claims 1 to 6).

【0101】また、その他の本発明によれば、色補正処
理変更動作時におけるプリンタ・ホストコンピュータの
間のプロトコルを定めることにより、このプロトコルに
従う異なる色出力特性を持った複数のプリンタに対して
も、このプロトコルに従う一つのプリンタドライバで対
応した色再現を実現することができる(請求項7に対
応)。
Further, according to another aspect of the present invention, by defining a protocol between the printer and the host computer at the time of the color correction process changing operation, even for a plurality of printers having different color output characteristics according to this protocol. The color reproduction corresponding to one printer driver according to this protocol can be realized (corresponding to claim 7).

【0102】また、パッチデータと受信手段によって受
信したデータから出力装置の出力特性を考慮した色補正
データを生成することができる(請求項1,5に対
応)。
Further, it is possible to generate color correction data in consideration of the output characteristics of the output device from the patch data and the data received by the receiving means (corresponding to claims 1 and 5).

【0103】更に、入力手段によって入力された原稿画
像データに対して記憶された色補正データを用いて色補
正を行い、色補正された画像データを前記出力装置に送
信することができる(請求項2,6に対応)。
Further, the original image data input by the input means is color-corrected using the stored color correction data, and the color-corrected image data can be transmitted to the output device. It corresponds to 2,6).

【0104】[0104]

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

【図1】画像データから印刷データを生成するまでの一
般的な処理過程を説明するブロック図である。
FIG. 1 is a block diagram illustrating a general process of generating print data from image data.

【図2】本発明の一実施例の全体的な構成を表すブロッ
ク図である。
FIG. 2 is a block diagram showing the overall configuration of an embodiment of the present invention.

【図3】プリンタドライバの機能を表すブロック図であ
る。
FIG. 3 is a block diagram showing functions of a printer driver.

【図4】印刷実行部の構成、ならびに、印刷測色制御部
と他のブロックとのインターフェースを説明する図であ
る。
FIG. 4 is a diagram illustrating a configuration of a print execution unit and an interface between a print color measurement control unit and another block.

【図5】測色装置の構造を説明する図である。FIG. 5 is a diagram illustrating a structure of a color measuring device.

【図6】色補正データ変更動作を行う際における、シス
テムのシーケンスを説明した図である。
FIG. 6 is a diagram illustrating a sequence of a system when a color correction data changing operation is performed.

【図7】パッチデータの色データ配置を表した図であ
る。
FIG. 7 is a diagram showing a color data arrangement of patch data.

【図8】マスキング係数を計算する段階で、輝度データ
と濃度データの対応付けを説明した図である。
FIG. 8 is a diagram illustrating correspondence between luminance data and density data at a stage of calculating a masking coefficient.

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

101 輝度濃度変換処理ブロック 102 色補正処理ブロック 103 黒生成・UCR処理ブロック 201 ホストコンピュータのプリンタドライバ 202 ホストコンピュータの通信部 203 プリンタの通信部 204 プリンタの印刷実行部 205 プリンタの測色装置 206 プリンタの印刷測色制御部 207 ホストコンピュータ 208 プリンタ 301 輝度濃度変換部 302 色補正部 303 黒生成・UCR部 304 二値化部 305 マスキング係数計算部 306 マスキング係数 307 測色データ 308 パッチデータ 309 パッチデータの印刷データ 402 印刷エンジン制御部 403 印刷エンジン 404 入力段用紙送り機構 405 出力段用紙送り機構 406 印刷データバッファ 502 計測制御部 503 発光部 504 測色部 505 白色光源 506 色フィルタ 507 光センサ 508 増幅回路 509 補正回路 510 照射光 511 反射光 512 印刷物 101 Luminance Density Conversion Processing Block 102 Color Correction Processing Block 103 Black Generation / UCR Processing Block 201 Printer Driver of Host Computer 202 Communication Unit of Host Computer 203 Communication Unit of Printer 204 Print Execution Unit of Printer 205 Color Measuring Device of Printer 206 Printer Print color measurement control unit 207 Host computer 208 Printer 301 Luminance density conversion unit 302 Color correction unit 303 Black generation / UCR unit 304 Binarization unit 305 Masking coefficient calculation unit 306 Masking coefficient 307 Color measurement data 308 Patch data 309 Patch data printing Data 402 Print engine control unit 403 Print engine 404 Input stage paper feed mechanism 405 Output stage paper feed mechanism 406 Print data buffer 502 Measurement control unit 503 Light emitting unit 504 Measurement Color part 505 White light source 506 Color filter 507 Optical sensor 508 Amplification circuit 509 Correction circuit 510 Irradiated light 511 Reflected light 512 Printed matter

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06T 1/00 H04N 1/46 G06F 15/66 310 H04N 1/46 Z ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G06T 1/00 H04N 1/46 G06F 15/66 310 H04N 1/46 Z

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 パッチデータを出力装置に送信する送信
手段と、 前記パッチデータに基づいて出力装置によって出力され
たデータを読み取ったデータを受信する受信手段と、 前記パッチデータと前記受信手段によって受信したデー
タから前記出力装置の出力特性を考慮した色補正データ
を生成する生成手段とを備えたことを特徴とする画像処
理装置。
1. A transmitting unit for transmitting patch data to an output device, a receiving unit for receiving data read by the output device based on the patch data, and a receiving unit for receiving the patch data and the receiving unit. An image processing apparatus comprising: a generation unit configured to generate color correction data in consideration of an output characteristic of the output apparatus from the generated data.
【請求項2】 更に、前記生成手段によって生成された
色補正データを記憶する記憶手段と、 原稿画像データを入力する入力手段と、 前記入力手段によって入力された原稿画像データに対し
て前記記憶された色補正データを用いて色補正する色補
正手段と、 前記色補正手段によって色補正された画像データを前記
出力装置に送信する第2の送信手段とを備えたことを特
徴とする請求項1に記載の画像処理装置。
2. A storage unit for storing the color correction data generated by the generation unit, an input unit for inputting document image data, and the stored image data for the document image data input by the input unit. 2. A color correction unit that performs color correction using the color correction data, and a second transmission unit that transmits the image data color-corrected by the color correction unit to the output device. The image processing device according to item 1.
【請求項3】 画像形成をすべき被記録材の色を測定す
る測色手段と、 前記測色手段によって得られた測色データを送信する第
1の通信手段と、 所定のプロトコルに従い、前記第1の通信手段との間で
データおよび手順制御信号の授受を行う第2の通信手段
と、 前記第2の通信手段を介して前記測色データを入力し、
該測色データに基づいて色データを決定する色補正手段
とを備え、前記色データを前記第2の通信手段から前記
第1の通信手段へ送信することを特徴とする画像処理装
置。
3. A colorimetric device for measuring the color of a recording material on which an image is to be formed, a first communication device for transmitting the colorimetric data obtained by the colorimetric device; Second communication means for exchanging data and procedure control signals with the first communication means, and inputting the colorimetric data via the second communication means,
An image processing apparatus comprising: a color correction unit that determines color data based on the colorimetric data, and transmitting the color data from the second communication unit to the first communication unit.
【請求項4】 請求項1において、前記測色手段および
前記第1の通信手段をプリンタ側に設け、前記第2の通
信手段および前記色補正手段をホストコンピュータ側に
設けたことを特徴とする画像処理装置。
4. The color measuring means and the first communication means are provided on a printer side, and the second communication means and the color correcting means are provided on a host computer side according to claim 1. Image processing device.
【請求項5】 パッチデータを出力装置に送信し、 前記パッチデータに基づいて出力装置によって出力され
たデータを読み取ったデータを受信し、 前記パッチデータと受信した前記データから前記出力装
置の出力特性を考慮した色補正データを生成することを
特徴とする画像処理方法。
5. Output data of the output device is transmitted from the patch data and the received data by transmitting patch data to the output device, receiving data read by the output device based on the patch data, and receiving the read data. An image processing method characterized by generating color correction data in consideration of the above.
【請求項6】 更に、前記生成された色補正データを記
憶し、 入力された原稿画像データに対して前記記憶された色補
正データを用いて色補正し、 前記色補正された画像データを前記出力装置の送信する
ことを特徴とする請求項5に記載の画像処理方法。
6. The generated color correction data is further stored, color correction is performed on the input original image data using the stored color correction data, and the color corrected image data is stored in the color correction data. The image processing method according to claim 5, wherein the image is transmitted by an output device.
【請求項7】 プリンタ側に載置されている被記録材の
色を測定し、 前記被記録材の測色データを第1の手順に従って外部装
置へ供給し、 前記測色データに基づいて修正された色データを、第2
の手順に従って前記外部装置から前記プリンタへ供給す
ることを特徴とする色データ通信方法。
7. A color of a recording material placed on a printer side is measured, color measurement data of the recording material is supplied to an external device according to a first procedure, and correction is performed based on the color measurement data. The second color data
A color data communication method comprising supplying the printer from the external device in accordance with the procedure of 1.
JP6079052A 1994-04-18 1994-04-18 Picture processor, picture processing method and color data communication method Pending JPH07288704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6079052A JPH07288704A (en) 1994-04-18 1994-04-18 Picture processor, picture processing method and color data communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6079052A JPH07288704A (en) 1994-04-18 1994-04-18 Picture processor, picture processing method and color data communication method

Publications (1)

Publication Number Publication Date
JPH07288704A true JPH07288704A (en) 1995-10-31

Family

ID=13679131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6079052A Pending JPH07288704A (en) 1994-04-18 1994-04-18 Picture processor, picture processing method and color data communication method

Country Status (1)

Country Link
JP (1) JPH07288704A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7019867B2 (en) 1997-04-02 2006-03-28 Seiko Epson Corporation Color correction device
JP2008238684A (en) * 2007-03-28 2008-10-09 Seiko Epson Corp Printing color measuring-controlling apparatus, printing color measuring-controlling method, and printing color measuring-controlling program
US7580152B2 (en) 1997-11-28 2009-08-25 Yoshio Kimura Image processing apparatus and method and memory medium
US7609414B2 (en) 2003-11-28 2009-10-27 Canon Kabushiki Kaisha Image processing method, image processor, storage medium and program
JP2009289009A (en) * 2008-05-29 2009-12-10 Brother Ind Ltd Print system, program, and printer
US7978367B2 (en) 2006-10-18 2011-07-12 Seiko Epson Corporation Printer control system, printer control method and printer
US8917394B2 (en) 1997-08-25 2014-12-23 Rah Color Technologies Llc System for distributing and controlling color reproduction at multiple sites
US9036209B2 (en) 1996-02-26 2015-05-19 Rah Color Technologies Llc System for distributing and controlling color reproduction at multiple sites
US9500527B2 (en) 2000-04-11 2016-11-22 Rah Color Technologies Llc Methods and apparatus for calibrating a color display
US9516288B2 (en) 2005-08-31 2016-12-06 Rah Color Technologies Llc Color calibration of color image rendering devices

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9036209B2 (en) 1996-02-26 2015-05-19 Rah Color Technologies Llc System for distributing and controlling color reproduction at multiple sites
US7019867B2 (en) 1997-04-02 2006-03-28 Seiko Epson Corporation Color correction device
US9894338B2 (en) 1997-08-25 2018-02-13 Rah Color Technologies Llc System for distributing and controlling color reproduction at multiple sites
US8917394B2 (en) 1997-08-25 2014-12-23 Rah Color Technologies Llc System for distributing and controlling color reproduction at multiple sites
US9057645B2 (en) 1997-08-25 2015-06-16 Rah Color Technologies Llc System for distributing and controlling color reproduction at multiple sites
US9404802B2 (en) 1997-08-25 2016-08-02 Rah Color Technologies Llc System for distributing and controlling color reproduction at multiple sites
US7580152B2 (en) 1997-11-28 2009-08-25 Yoshio Kimura Image processing apparatus and method and memory medium
US9500527B2 (en) 2000-04-11 2016-11-22 Rah Color Technologies Llc Methods and apparatus for calibrating a color display
US10008180B2 (en) 2000-04-11 2018-06-26 Rah Color Technologies Llc Methods and apparatus for calibrating a color display
US9767763B2 (en) 2000-04-11 2017-09-19 Rah Color Technologies Llc Methods and apparatus for calibrating a color display
US7609414B2 (en) 2003-11-28 2009-10-27 Canon Kabushiki Kaisha Image processing method, image processor, storage medium and program
US9516288B2 (en) 2005-08-31 2016-12-06 Rah Color Technologies Llc Color calibration of color image rendering devices
US9894340B2 (en) 2005-08-31 2018-02-13 Rah Color Technologies Llc Color calibration of color image rendering devices
US10038884B2 (en) 2005-08-31 2018-07-31 Rah Color Technologies Llc Color calibration of color image rendering devices
US10560676B2 (en) 2005-08-31 2020-02-11 Rah Color Technologies Llc Color calibration of color image rendering devices
US7978367B2 (en) 2006-10-18 2011-07-12 Seiko Epson Corporation Printer control system, printer control method and printer
JP2008238684A (en) * 2007-03-28 2008-10-09 Seiko Epson Corp Printing color measuring-controlling apparatus, printing color measuring-controlling method, and printing color measuring-controlling program
US8970868B2 (en) 2008-05-29 2015-03-03 Brother Kogyo Kabushiki Kaisha Print system, program, and printer
JP2009289009A (en) * 2008-05-29 2009-12-10 Brother Ind Ltd Print system, program, and printer

Similar Documents

Publication Publication Date Title
US7826089B2 (en) Image processing method, program, computer readable information recording medium, image processing apparatus and image forming apparatus
US5416613A (en) Color printer calibration test pattern
EP0854638B1 (en) A method for continuous incremental color calibration for color document output terminals
US5748342A (en) Image processing apparatus and method
US7355750B2 (en) Image processing apparatus, image processing method and image processing program
US6222648B1 (en) On line compensation for slow drift of color fidelity in document output terminals (DOT)
US5386305A (en) Color imaging processing method and apparatus for suppressing color blurs
EP1231772A2 (en) Output image adjustment for graphics files
JPH0846750A (en) Method and apparatus for calibrating color image reproducingsystem in field
US6271934B1 (en) Image forming apparatus which can correct an image signal conversion table
JPH07288704A (en) Picture processor, picture processing method and color data communication method
US6111664A (en) Image processing method, apparatus and controller
US20030193677A1 (en) Method and apparatus for data adjustment
US4893177A (en) Apparatus and a method for generating manuscripts to reproduce a color print
CN101291387B (en) Image file creation device, method, image processing device, method and system
US6603566B1 (en) Image forming apparatus, image processing method, and recording medium
US7268914B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program product thereof
JPH11136532A (en) Color image forming device and its control method
US6754455B2 (en) Image forming apparatus and developer supply method therefor, and image processing board
JP2000062253A (en) Method for forming special color printing profile, and apparatus for forming proof sheet of special color printing document
JPH10173947A (en) Image processor and its method
JP2001352459A (en) Image-forming device
JPH0948108A (en) Correction table forming method for proof mechanism
US6731399B2 (en) System for processing a color image
US7031020B1 (en) Image processing method, apparatus and controller