Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2932277B2 - Color image recording device - Google Patents
[go: Go Back, main page]

JP2932277B2 - Color image recording device - Google Patents

Color image recording device

Info

Publication number
JP2932277B2
JP2932277B2 JP1018164A JP1816489A JP2932277B2 JP 2932277 B2 JP2932277 B2 JP 2932277B2 JP 1018164 A JP1018164 A JP 1018164A JP 1816489 A JP1816489 A JP 1816489A JP 2932277 B2 JP2932277 B2 JP 2932277B2
Authority
JP
Japan
Prior art keywords
color
correction
data
tone
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 - Lifetime
Application number
JP1018164A
Other languages
Japanese (ja)
Other versions
JPH02199964A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1018164A priority Critical patent/JP2932277B2/en
Publication of JPH02199964A publication Critical patent/JPH02199964A/en
Application granted granted Critical
Publication of JP2932277B2 publication Critical patent/JP2932277B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Color Electrophotography (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、カラー画像記録装置に係り、特に、カラー
印刷画像データ形成時に色補正し印刷するカラー画像記
録装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image recording apparatus, and more particularly, to a color image recording apparatus that performs color correction and prints when forming color print image data.

〔従来の技術〕[Conventional technology]

例えば、熱転写式カラープリンタにおいては、インク
フィルムの混色特性,記録紙やサーマルヘッドの記録濃
度特性,多色刷りにおける位置ずれ等が、画質を劣化さ
せる要因となっている。そこで従来は、階調ルックアッ
プテーブルやカラーマスキングにより、階調の過不足と
混濁や位置ずれによる色ずれとをそれぞれ補正してい
た。なお、画質は色再現性や階調性等を要素として評価
される。
For example, in a thermal transfer type color printer, the color mixing characteristics of the ink film, the recording density characteristics of the recording paper or the thermal head, the misalignment in multicolor printing, and the like are factors that degrade the image quality. Therefore, conventionally, a gradation look-up table and color masking have been used to correct the excess and deficiency of gradation and the color shift due to turbidity and misalignment, respectively. The image quality is evaluated using factors such as color reproducibility and gradation.

通常、階調調整は、ユーザーがいくつかのルックアッ
プテーブルと印刷画像とを見比べながら、最も近いもの
を1つ選んで行っている。階調調整だけでは、色ずれは
補正できないので、カラーマスキングによる色補正も必
要である。カラーマスキングは、いくつかの既知の色デ
ータを印刷し、印刷したサンプルの色と既知の色データ
とから別設の色度測定装置により最小2乗法で色補正係
数を求め、これらを用いて入力した色データを補正する
ものである。従来の装置では、例えば、特開昭58−2445
7号に記載のように、色補正係数は、特定の装置,記録
紙,インク条件のもとで求めた値に固定されており、こ
れを用いて色を補正していた。
Normally, the gradation adjustment is performed by the user selecting the closest one while comparing the look-up table with the print image. Since color shift cannot be corrected only by tone adjustment, color correction by color masking is also necessary. In color masking, several known color data are printed, a color correction coefficient is obtained by a least-squares method from a color of a printed sample and the known color data by a separate chromaticity measuring device, and input using these. The color data is corrected. In a conventional apparatus, for example, Japanese Patent Laid-Open No. 58-2445
As described in No. 7, the color correction coefficient is fixed to a value obtained under specific device, recording paper, and ink conditions, and the color is corrected using this value.

また、機構的には、YMC(イエロ,マゼンタ,シア
ン)と面順次に印刷していくときに生ずる印刷位置のず
れをきびしく規制し、例えば、記録紙の縁をベルトで押
さえる機構で色ずれを小さくするだけで、製品ごとに補
正係数を調整することはしていない。
In terms of mechanism, the shift of the printing position that occurs when printing in YMC (yellow, magenta, cyan) sequentially and face-to-face is strictly controlled. For example, a color shift is performed by a mechanism that presses the edge of the recording paper with a belt. It does not adjust the correction coefficient for each product simply by reducing it.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上記従来技術は、インクフィルム等の色調特性や記録
紙の記録濃度特性が変わったあるいは変えた場合の補正
またはカラー画像記録装置一台ごとの記録濃度特性につ
いての配慮がなく、ユーザーが他の記録紙やインクフィ
ルムを自由に選択して用いることができなかった。たと
え使ったとしても、色再現性や階調性が損なわれるとい
う問題があった。
The prior art described above does not take into account the correction when the color tone characteristics of the ink film or the like or the recording density characteristics of the recording paper has changed or changed, or the recording density characteristics of each color image recording apparatus, and the user cannot use another recording paper. Or an ink film could not be freely selected and used. Even if used, there is a problem that color reproducibility and gradation are impaired.

また、機構的にYMCの記録位置がずれ、色ずれが生じ
た場合、色再現性が著しく低下してしまうという問題が
あった。
Further, when the recording position of the YMC is mechanically shifted and a color shift occurs, there is a problem that color reproducibility is significantly reduced.

本発明の目的は、インクフィルム等の色調特性または
カラー画像記録装置や記録紙の記録濃度特性が変わって
も、色再現性や階調性などの画質を損なわないで、良好
なカラー画像が得られるカラー画像記録装置を提供する
ことである。
An object of the present invention is to obtain a good color image without impairing image quality such as color reproducibility and gradation even if the color tone characteristics of an ink film or the like or the recording density characteristics of a color image recording device or recording paper are changed. An object of the present invention is to provide a color image recording apparatus.

〔課題を解決するための手段〕[Means for solving the problem]

本発明は、上記目的を達成するために、カラースキャ
ナもしくはカラーカメラ等から取り込まれた3色色分解
信号またはコンピュータからの画像データを入力し、こ
れらの画像データを補正した後に印刷するカラー画像記
録装置において、カラーパレットデータを発生する手段
と、使用予定のインクを用いて使用予定の記録紙上にそ
のカラーパレットを印刷した複数のカラーサンプルを読
取り3色色分解信号を得る読取り手段と、読取り手段で
読み取ったデータとこのデータに対応する前記カラーパ
レットデータとを用いて目標とする記録特性からの色差
が最小となる色補正マトリクスを最小2乗法により求め
る色補正マトリクス演算部と、前記補正値を用いて入力
データを補正する色補正部とを備え、色補正された画像
データに基づき前記インクおよび記録紙を用いて印刷す
るカラー画像記録装置を提案するものである。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a color image recording apparatus which receives a three-color separation signal captured from a color scanner or a color camera or image data from a computer, corrects the image data, and prints the corrected image data. Means for generating color pallet data, reading means for reading a plurality of color samples obtained by printing the color pallet on recording paper to be used using ink to be used, and obtaining three-color separation signals, and reading by the reading means. A color correction matrix calculating unit that obtains a color correction matrix that minimizes a color difference from a target printing characteristic by using a least square method, using the corrected data and the color pallet data corresponding to the data. A color correction unit for correcting input data, wherein the color correction unit It proposes a color image recording apparatus for printing with ink and recording paper.

また、色補正する前の部分に、前記印刷されたカラー
パレットのY(イエロー),M(マゼンタ),C(シアン)
それぞれの階調サンプルを読み取って得られた濃度デー
タをいくつかの階調補正変換テーブルに通し補正後の階
調濃度カーブと予め設定した目標の階調濃度カーブとの
差が最小となる階調補正変換テーブルを求める階調補正
変換テーブル選択部と、前記選択された階調補正変換テ
ーブルにより入力画像データを階調補正する階調補正部
とを備え、階調補正および前記色補正された画像データ
を用いて印刷するカラー画像記録装置を提案するもので
ある。
Before the color correction, Y (yellow), M (magenta), C (cyan) of the printed color palette
The gradation data obtained by reading each gradation sample is passed through several gradation correction conversion tables, and the gradation at which the difference between the corrected gradation density curve and the preset target gradation density curve is minimized A tone correction conversion table selecting unit for obtaining a correction conversion table; and a tone correction unit for performing tone correction on input image data based on the selected tone correction conversion table. A color image recording apparatus for printing using data is proposed.

さらに、前記読取り手段の光源またはカラーセンサの
分光特性から混色の度合を求め読取りデータの混色を補
正する手段を備えてもよい。
Further, a means may be provided for obtaining the degree of color mixture from the light source of the reading means or the spectral characteristics of the color sensor and correcting the color mixture of the read data.

前記階調補正部を色補正部の後に配置する場合、階調
補正部は、前記階調補正変換テーブルの入出力逆の階調
逆変換テーブルを作成しカラーパレットデータをこの階
調逆変換テーブルにより階調変換する手段を備える手段
を備えるようにする。
When the tone correction unit is arranged after the color correction unit, the tone correction unit creates a tone reverse conversion table of the input / output reverse of the tone correction conversion table, and converts the color palette data into the tone reverse conversion table. Means for converting the gradation according to.

前記印刷されたカラーパレットのグレーの階調サンプ
ルを読み取って得られた3色の濃度データを各階調ごと
に平均した濃度カーブを求め、各色ごとに前記目標の階
調濃度カーブと前記平均濃度カーブとの差を求め、この
差にある値を掛け、上記階調補正変換テーブルの値から
引き、各色毎に引いた値を階調補正変換テーブルに設定
するグレーバランス補正部を備えることも可能である。
A density curve is obtained by averaging the density data of three colors obtained by reading the gray tone sample of the printed color palette for each tone, and obtaining the target tone density curve and the average density curve for each color. It is also possible to provide a gray balance correction unit that obtains the difference from the difference, multiplies the difference by a certain value, subtracts the difference from the value of the tone correction conversion table, and sets the value subtracted for each color in the tone correction conversion table. is there.

グレーバランス補正部は、前記目標の階調濃度カーブ
に対し低濃度域における補正カーブをいくつか用意して
おき、印刷されたカラーパレットのグレーの階調サンプ
ルを読み取って得られた3色の濃度データを各階調ごと
に平均した濃度カーブを求め、各色ごとに目標の階調濃
度カーブと平均濃度カーブとの差の総和を求め、この総
和に基づき低濃度域における補正カーブの一つを選択
し、その値を階調補正変換テーブルに設定する手段を含
むこともできる。
The gray balance correction unit prepares several correction curves in the low density region with respect to the target gradation density curve, and obtains the density of three colors obtained by reading the gray gradation sample of the printed color palette. A density curve is obtained by averaging the data for each gradation, and the sum of the difference between the target gradation density curve and the average density curve is obtained for each color, and one of the correction curves in the low density range is selected based on this sum. And means for setting the value in the gradation correction conversion table.

前記色補正部は、さらに、2つ以上の上位下位に分け
た3色の画像データにそれぞれ色補正マトリクスを掛け
て求めたデータを符号付きのデータとしてそれぞれ書き
込んだ2つ以上の変換テーブルと、各変換テーブルの出
力を加算する手段と、加算結果をある範囲に制限する手
段とを備えるように構成してもよい。
The color correction unit further includes two or more conversion tables each of which is obtained by multiplying two or more upper and lower three-color image data by a color correction matrix and obtaining data obtained as signed data, It may be configured to include a unit for adding the output of each conversion table and a unit for limiting the addition result to a certain range.

前記読取り手段については、カラーセンサを主走査方
向に複数設けることができる。
Regarding the reading means, a plurality of color sensors can be provided in the main scanning direction.

主走査方向に平行に置かれたラインセンサまたは主走
査方向に移動可能なカラーセンサを含むようにしてもよ
い。
A line sensor placed parallel to the main scanning direction or a color sensor movable in the main scanning direction may be included.

これらのカラー画像補正手段は、カラーサーマルプリ
ンタ,カラーインクジェットプリンタ,電子写真式カラ
ープリンタのいずれにも適用できる。
These color image correction means can be applied to any of a color thermal printer, a color inkjet printer, and an electrophotographic color printer.

〔作用〕[Action]

本発明の補正値を求める段階においては、いくつかの
階調データまたは色データを発生し、記録紙の送り方向
に帯状にカラーパレットを印刷する。読み取りセンサを
前記カラーパレットが読み取れる位置に設置し、カラー
パレットを読み取る。読み取りセンサからの3色色分解
信号を得て混色補正を行い、さらにYMCの濃度データに
変換する。次に、読み取ったイエローの階調サンプルの
Y濃度データを、いくつかの階調補正変換テーブルで変
換し、それぞれ目標とする記録濃度値との差を求め、全
ての階調サンプルでの差を総和し、差の総和が最小とな
る階調補正変換テーブルをY用階調補正変換テーブルと
する。なお、M,Cの階調補正変換テーブルをイエローと
同じにはしたくない場合、M,CもY用階調変換テーブル
を求めたのと同様にして階調補正変換テーブルを求め
る。
In the step of obtaining the correction value of the present invention, some gradation data or color data is generated, and a color pallet is printed in a belt shape in the recording paper feed direction. A reading sensor is installed at a position where the color pallet can be read, and the color pallet is read. A three-color separation signal from the reading sensor is obtained, color mixing is corrected, and further converted to YMC density data. Next, the Y density data of the read yellow tone sample is converted by using several tone correction conversion tables, and the difference between the read Y tone data and the target print density value is calculated. The gradation correction conversion table that sums up and minimizes the difference sum is defined as a Y gradation correction conversion table. If the M and C gradation correction conversion tables are not desired to be the same as yellow, the M and C also obtain the gradation correction conversion table in the same manner as the Y gradation conversion table.

さらにグレーバランスを取るために、印刷されたカラ
ーパレットのグレーの階調サンプルを読み取って得られ
た3色の濃度データを各階調ごとに平均する。それらの
平均からの差を各色ごとに求め、その差を上記で求めた
階調補正変換テーブルの値からそれぞれ引き、各色ごと
に新たに階調補正変換テーブルを設定する。
Further, in order to obtain a gray balance, the density data of three colors obtained by reading the gray tone samples of the printed color palette is averaged for each tone. The difference from the average is obtained for each color, the difference is subtracted from the value of the tone correction conversion table obtained above, and a new tone correction conversion table is set for each color.

色補正だけを行う場合は、多数のサンプルの色データ
とこれに対応するカラーパレットデータとを用い、色差
が最小となるように最小2乗法により色補正係数を求め
る。
When only color correction is performed, color correction coefficients are obtained by the least squares method so that the color difference is minimized, using the color data of a large number of samples and the corresponding color pallet data.

階調補正を加えてから色補正する場合は、多数のサン
プルにおいて、サンプルの色データを階調補正変換テー
ブルで変換し、これらとこれらに対応するカラーパレッ
トデータとを用い、色差が最小となるように最小2乗法
により色補正係数を求める。なお、入力画像データが輝
度データである場合は、階調補正変換テーブルの中に輝
度濃度変換手段を含めてもよい。
When performing color correction after applying gradation correction, for many samples, the color data of the samples is converted using a gradation correction conversion table, and these and color pallet data corresponding to these are used to minimize the color difference. As described above, the color correction coefficient is obtained by the least square method. When the input image data is luminance data, a luminance / density conversion unit may be included in the gradation correction conversion table.

逆に色補正してから階調補正する場合は、カラーパレ
ットデータを入出力逆の階調逆変換テーブルで変換し、
逆変換結果データとこれらに対応するサンプルの濃度デ
ータとを用い、色差が最小となるよう最小2乗法を用い
て色補正係数を求める。
Conversely, when performing gradation correction after performing color correction, the color palette data is converted with the input / output reverse gradation reverse conversion table,
Using the inverse conversion result data and the corresponding sample density data, a color correction coefficient is obtained by the least square method so that the color difference is minimized.

補正値を設定した後は、入力画像データが輝度データ
であれば、輝度濃度変換し、色補正と階調補正とを行
い、記録部に出力する。
After the correction value is set, if the input image data is luminance data, the image data is subjected to luminance / density conversion, color correction and gradation correction are performed, and output to the recording unit.

記録部は、記録紙を送りながら印刷を行う。 The recording unit performs printing while feeding recording paper.

本発明においては、例えば記録紙やインクを変えた場
合でも、カラーパレットデータの既知の色データを出力
して記録特性を計測し、補正系のパラメータを最適化で
きるので、画質低下を最小限に抑制できる。
In the present invention, for example, even when the recording paper or ink is changed, known color data of the color pallet data is output to measure the recording characteristics, and the parameters of the correction system can be optimized. Can be suppressed.

〔実施例〕〔Example〕

次に、図面を参照して、本発明の実施例を詳細に説明
する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は、本発明によるカラー画像記録装置の一例と
しての熱転写式カラー画像記録装置の概略構成を示す図
である。図において、回転ドラム1に記録紙2を巻き付
けた後、サーマルヘッド3を押し下げ、回転ドラム1を
矢印A方向に回転させる。Y(イエロー)M(マゼン
タ)C(シアン)の面順次となってるインクフィルム4
は、回転ドラム1の回転により矢印B方向に搬送され
る。回転ドラム1の回転により矢印B方向に搬送され
る。回転ドラム1は、回転ドラム駆動モータ5により駆
動されている。トップセンサ8は、記録紙の先端を検出
し、その検出信号を信号処理回路6に送る。信号処理回
路6は、記録位置を決めて記録信号をヘッド(この場合
はサーマルヘッド)3に出力する。回転ドラム1が1回
転するごとに、Y,M,Cの順番に印刷がなされる。信号処
理回路6は、外部からRGB(レッド,グリーン,ブル
ー)画像データを取込み、この画像データを補正した
後、サーマルヘッド3に記録データとして送る。カラー
画像記録装置の記録特性等が変化し、補正値を修正した
い場合は、信号処理回路6の中でカラーパレットデータ
を発生し、補正なしのデータをサーマルヘッド3に送り
印刷する。印刷されたカラーサンプルは、読み取りセン
サ7により読み取られ、信号処理回路6に送られる。信
号処理回路6は測定した色データを用い新たな補正値を
求める。これをメモリ等に保持し、それ以後の画像デー
タの補正に用いる。
FIG. 1 is a diagram showing a schematic configuration of a thermal transfer type color image recording apparatus as an example of a color image recording apparatus according to the present invention. In the figure, after the recording paper 2 is wound around the rotating drum 1, the thermal head 3 is pushed down, and the rotating drum 1 is rotated in the direction of arrow A. Y (yellow), M (magenta), C (cyan) face-sequential ink film 4
Is transported in the direction of arrow B by the rotation of the rotary drum 1. It is transported in the direction of arrow B by rotation of the rotating drum 1. The rotating drum 1 is driven by a rotating drum drive motor 5. The top sensor 8 detects the leading edge of the recording paper and sends a detection signal to the signal processing circuit 6. The signal processing circuit 6 determines a recording position and outputs a recording signal to the head (in this case, a thermal head) 3. Each time the rotating drum 1 makes one rotation, printing is performed in the order of Y, M, and C. The signal processing circuit 6 fetches RGB (red, green, blue) image data from the outside, corrects the image data, and sends it to the thermal head 3 as recording data. When the recording characteristics and the like of the color image recording apparatus change and it is desired to correct the correction value, color pallet data is generated in the signal processing circuit 6, and data without correction is sent to the thermal head 3 for printing. The printed color sample is read by the reading sensor 7 and sent to the signal processing circuit 6. The signal processing circuit 6 obtains a new correction value using the measured color data. This is stored in a memory or the like and used for subsequent image data correction.

読み取りセンサ7は、第2図に示すように、光源9
で、記録紙2上に印刷されたカラーサンプルを照らし、
結像レンズ10によりサンプル画像を生じさせ、R,G,Bの
カラーフィルタを持つカラーセンサ11で3色色分解信号
を得る。なお、R,G,Bの代わりにY(イエロー),G(グ
リーン),C(シアン)などのカラーフィルタを用いても
よい。3色色分解信号は、A/D変換器12でアナログ/デ
ジタル変換され、信号処理回路6に送られる。読み取り
センサ7に混色補正機能を持たせて、カラーフィルタや
照明などの特性を補正してから信号処理回路6に送って
もよい。混色補正とは、光源9やカラーセサ11の分光特
性から混色の度合を求め、線形演算により読み取りデー
タの混色を補正する手順である。
The reading sensor 7 is, as shown in FIG.
Illuminates the color sample printed on the recording paper 2,
A sample image is generated by the imaging lens 10, and a three-color separation signal is obtained by a color sensor 11 having R, G, and B color filters. Note that color filters such as Y (yellow), G (green), and C (cyan) may be used instead of R, G, and B. The three-color separation signal is subjected to analog / digital conversion by the A / D converter 12 and sent to the signal processing circuit 6. The reading sensor 7 may be provided with a color mixing correction function to correct characteristics such as a color filter and illumination, and then sent to the signal processing circuit 6. The color mixture correction is a procedure for obtaining the degree of color mixture from the spectral characteristics of the light source 9 and the color sensor 11 and correcting the color mixture of the read data by linear calculation.

さて、信号処理回路6については、第3図を用いて説
明する。信号処理回路6は、CPU13と、メモリ14と、読
み取りセンサ7インターフェイス15と、画像データ入力
インターフェイス16と、メカニズムコントローラインタ
ーフェイス17と、サーマルヘッドドライバ18と、モータ
ドライバ19と、パネル・スイッチインターフェイス20と
からなる。メカニズムを制御するモータやセンサは、主
要なものだけを記した。スイッチの主なものは、プリン
トスイッチ21とテストプリントスイッチ22である。
Now, the signal processing circuit 6 will be described with reference to FIG. The signal processing circuit 6 includes a CPU 13, a memory 14, a reading sensor 7 interface 15, an image data input interface 16, a mechanism controller interface 17, a thermal head driver 18, a motor driver 19, a panel switch interface 20, Consists of Only the main motors and sensors that control the mechanism are described. The main switches are a print switch 21 and a test print switch 22.

このような構成の信号処理回路6の動作を、第4図の
フローチャートを用いて説明する。ここでは、記録紙と
インクフィルムとを他の種類のものに変えたとする。テ
ストプリントスイッチ22を押し、テストプリントを開始
する。記録紙を給紙し、回転ドラム1に記録紙2を巻き
付ける。トップセンサ8が記録紙2の先端を検出した
後、副走査方向のライン信号をカウントして記録位置ま
で回転ドラム1を回転させる。このライン信号は、回転
ドラム1が回転して1ラインピッチ進むごとに発生す
る。カラーパレットデータをメモリ14から作成し、補正
処理なしでサーマルヘッド3に出力する。読み取りセン
サ7を動作状態にする。副走査方向のライン信号をカウ
ントし、サンプルが読み取り位置まで来たら読み取りを
開始する。なお、読み取りセンサ7は、1つのサンプル
を数回読み取る。それらのデータは、信号処理回路6の
中でそれぞれ平均化され、3色の色データとなる。そし
て、YMCの面順次で印刷しつつ、サンプルを読み取る。
サンプルの印刷の様子を第5図に示す。まず1色目のY
インクで、インク量を16段階に変えてY1〜Y16を印刷す
る。例えば記録部で分散網点型の4×4の面積階調で印
刷する場合、4×4のマトリクスの中で1ドットずつ記
録ドットを増やして行くことにより、Y1〜Y16を印刷す
る。
The operation of the signal processing circuit 6 having such a configuration will be described with reference to the flowchart of FIG. Here, it is assumed that the recording paper and the ink film are changed to other types. Press the test print switch 22 to start test print. The recording paper is fed, and the recording paper 2 is wound around the rotating drum 1. After the top sensor 8 detects the leading end of the recording paper 2, the line signal in the sub-scanning direction is counted, and the rotary drum 1 is rotated to the recording position. This line signal is generated each time the rotating drum 1 rotates and advances by one line pitch. The color pallet data is created from the memory 14 and output to the thermal head 3 without any correction processing. The reading sensor 7 is set to the operating state. The line signal in the sub-scanning direction is counted, and reading is started when the sample reaches the reading position. The reading sensor 7 reads one sample several times. These data are respectively averaged in the signal processing circuit 6 to become three color data. Then, the sample is read while printing in the YMC plane-sequential manner.
FIG. 5 shows how the sample is printed. First, Y for the first color
Y1 to Y16 are printed by changing the ink amount in 16 steps with ink. For example, in the case of printing with a dispersed halftone type 4 × 4 area gradation in the recording unit, Y1 to Y16 are printed by increasing the recording dots one by one in a 4 × 4 matrix.

続いて、2色目のMインクで、インク量を16段階に変
えてM1〜M16を2ケース印刷し、第5図に示すような16
段階のR1〜R16、Y1〜Y16を得る。最後に3色目のCイン
クで、インク量を16段階に変えてC1〜C16を3ケース印
刷し、第5図に示すようなBl1〜Bl16、B1〜B16は、C1〜
C16を得る。それぞれ読み取ったデータはメモリ14に格
納され、記録紙2は排紙される。そして読み取ったデー
タから補正値を求め、その結果をメモリ等に格納し、テ
ストプリントを終わる。なお、Blはンブラックを表わ
し、Wは白を表わす。
Subsequently, M1 to M16 are printed in two cases by changing the ink amount in 16 steps with the second color M ink, and the M16 ink shown in FIG.
Steps R1-R16, Y1-Y16 are obtained. Finally, three cases of C1 to C16 are printed with the third color C ink by changing the ink amount in 16 steps, and Bl1 to Bl16 and B1 to B16 as shown in FIG.
Get C16. The read data is stored in the memory 14, and the recording paper 2 is discharged. Then, a correction value is obtained from the read data, the result is stored in a memory or the like, and the test print is completed. Bl represents black, and W represents white.

補正後の印刷動作は、第6図のようになる。プリント
スイッチ21を押すと、印刷が開始される。記録紙2を給
紙し、回転ドラム1に記録紙2を巻き付ける。トップセ
ンサ8が記録紙2の先端を検出した後、副走査方向のラ
イン信号をカウントして記録位置まで回転ドラム1を回
転する。画像データを入力し、輝度データならば濃度デ
ータに変換しこの濃度データを階調補正変換テーブルで
補正変換する。そして色補正し、これらをメモリ14に格
納する。メモリ14からYMCの順で一面ずつ読み出し、サ
ーマルヘッド3に出力し、YMC面順次で転写する。補正
演算を3回行い、演算欠格をメモリ14に蓄えることなく
YMCの面順次で転写してもよい。3色転写が終わると排
紙して印刷を終了する。
The printing operation after the correction is as shown in FIG. Pressing the print switch 21 starts printing. The recording paper 2 is fed, and the recording paper 2 is wound around the rotating drum 1. After the top sensor 8 detects the leading end of the recording paper 2, the line signal in the sub-scanning direction is counted, and the rotary drum 1 is rotated to the recording position. Image data is input, and if it is luminance data, it is converted into density data, and this density data is corrected and converted by a gradation correction conversion table. Then, color correction is performed, and these are stored in the memory 14. The data is read from the memory 14 one by one in the order of YMC, output to the thermal head 3, and transferred in the order of YMC. Performs the correction operation three times without storing the operation disqualification in the memory 14.
The image may be transferred in the YMC plane sequence. When the three-color transfer is completed, the sheet is discharged and printing is completed.

さらに、第7図を用いて、データ処理の流れを説明す
る。入力画像データは例えば7ビットデータであり、輝
度データであれば輝度濃度変換部23で輝度濃度変換が行
なわれる。そして、階調補正部24と色補正部25とで、そ
れぞれ階調補正と色補正と実行し、印刷部26に出力す
る。階調補正は、例えば変換テーブル式である。変換テ
ーブルは、いくつかの変換テーブルから最適なものが選
択され設定される。
Further, the flow of data processing will be described with reference to FIG. The input image data is, for example, 7-bit data. If the input image data is luminance data, the luminance / density conversion unit 23 performs luminance / density conversion. Then, the tone correction unit 24 and the color correction unit 25 execute the tone correction and the color correction, respectively, and output to the printing unit 26. The gradation correction is, for example, a conversion table method. As the conversion table, an optimum one is selected and set from several conversion tables.

色補正は、色補正マトリクスにより、入力画像データ
の3色データを変換する。色補正マトリクスは、カラー
マスキング方程式の立て方により異なる。入力データを
Dr,Dg,Dbとし、印刷インクの量をy,m,cとすると、通常
カラーマスキング方程式は、 で示され、特に記録系が非線形である場合は、2次項を
付加し、次のようなマスキング方程式も使われる。
In color correction, three-color data of input image data is converted by a color correction matrix. The color correction matrix differs depending on how the color masking equation is established. Input data
If Dr, Dg, Db and the amount of printing ink are y, m, c, the normal color masking equation is In particular, when the recording system is nonlinear, a second-order term is added, and the following masking equation is used.

次にテストプリントを行い補正値を求める手順につい
て、第8図のフローチャートにより説明する。
Next, a procedure for performing a test print and obtaining a correction value will be described with reference to a flowchart of FIG.

(1)カラーパレットデータ28を印刷部26を通して印刷
し、サンプル29を読み取りセンサ7で読み取る。なお、
読み取りデータは、この場合は、7ビットとする。
(1) The color pallet data 28 is printed through the printing unit 26, and the sample 29 is read by the reading sensor 7. In addition,
In this case, the read data is 7 bits.

(2)混色補正部30で読み取りデータの混色を補正し、
輝度濃度変換部23で輝度濃度変換を行う。そして、デー
タを第3図のメモリ14に格納しておく。
(2) The color mixture correction unit 30 corrects the color mixture of the read data,
The luminance / density conversion unit 23 performs luminance / density conversion. Then, the data is stored in the memory 14 of FIG.

(3)イエローの階調サンプルY1〜Y16のy濃度データ
をメモリ14から取り出し、階調補正部24に予め用意して
おいた階調補正用のいくつかの階調補正変換テーブルに
通す。熱転写プリンタにおいて、階調濃度カーブは、一
般にS字カーブとなる。したがって、階調補正カーブ
は、逆S字カーブとなる。本実施例で用いた補正カーブ
の一例を第9図に示す。
(3) The y-density data of the yellow tone samples Y1 to Y16 are taken out of the memory 14 and passed through several tone correction conversion tables prepared in advance in the tone correction unit 24. In a thermal transfer printer, the gradation density curve is generally an S-shaped curve. Therefore, the gradation correction curve is an inverted S-shaped curve. FIG. 9 shows an example of the correction curve used in this embodiment.

(4)階調補正変換テーブル選択部27では、階調補正変
換テーブルから出力されたそれぞれの補正データと目標
とする階調濃度データとの誤差を階調補正変換テーブル
毎に総加算する。目標とする階調濃度カーブは、直線か
またはそれに近い曲線である。
(4) The tone correction conversion table selection unit 27 adds up the errors between the respective correction data output from the tone correction conversion table and the target tone density data for each tone correction conversion table. The target gradation density curve is a straight line or a curve close thereto.

(5)階調補正変換テーブル選択部27は、それら誤差の
総加算のうち最小の階調補正変換テーブルをy用階調補
正変換テーブルとして設定する。
(5) The gradation correction conversion table selection unit 27 sets the smallest gradation correction conversion table among the total additions of the errors as the y gradation correction conversion table.

(6)m,cもyと同様にしてm用c用の階調補正変換テ
ーブルを設定する。
(6) For m and c, similarly to y, a gradation correction conversion table for m and c is set.

なお、上記例においては16個のデータにより階調補正
カーブを選択するようにしたが、16個のデータから補間
処理により、データを増やし、誤差演算を行い、階調補
正カーブを選択するようにしてもよい。
In the above example, the tone correction curve is selected based on the 16 data. However, the data is increased from the 16 data by interpolation processing, error calculation is performed, and the tone correction curve is selected. You may.

グレーバランスも補正する場合(第8図フローチャー
トにおいてAの部分)の手順について、第10図のフロー
チャートにより説明する。
The procedure for correcting the gray balance (part A in the flowchart in FIG. 8) will be described with reference to the flowchart in FIG.

(1)グレーの階調サンプルBl1〜Bl16のymc濃度データ
を取り出す。
(1) Extract ymc density data of gray tone samples Bl1 to Bl16.

(2)グレーバランス補正部31は各色毎に16個のデータ
から補間処理により128個のデータを作成する。
(2) The gray balance correction unit 31 creates 128 data by interpolation from 16 data for each color.

(3)そして、3色の平均濃度カーブを求める。第11図
に平均濃度カーブとイエローの階調濃度カーブの例を示
す。この例は、重ねずれにより、低濃度域でイエローが
目立ったものであり、低濃度域でイエローを抑える必要
がある。
(3) Then, an average density curve of three colors is obtained. FIG. 11 shows an example of an average density curve and a yellow tone density curve. In this example, yellow is conspicuous in the low density region due to misregistration, and it is necessary to suppress yellow in the low density region.

(4)グレーバランス補正部31は、各色ごとに階調濃度
カーブと平均濃度カーブとの差を求め、これにある値を
掛け、階調補正変換テーブル選択部27で求めた階調補正
カーブから引く。
(4) The gray balance correction unit 31 calculates the difference between the gradation density curve and the average density curve for each color, multiplies the difference by a certain value, and calculates the difference from the gradation correction curve obtained by the gradation correction conversion table selection unit 27. Pull.

(5)そして、各色毎に引いた値を階調補正変換テーブ
ルに設定する。
(5) Then, the value subtracted for each color is set in the gradation correction conversion table.

グレーバランスが崩れるのは、主に低濃度域の記録に
おいてであることを利用すれば、次のような手順を採用
することもできる。1つの階調補正カーブに対して第12
図に示すように、低濃度域における補正カーブをいくつ
か用意しておく。そして、上記における各色ごとの階調
濃度データから平均濃度データを引いた値の総合値によ
り低濃度域における階調補正カーブを選択する。なお、
総合値に対する低濃度域における階調補正カーブは予め
対応付けておく。平均濃度データの代わりに、3色いず
れかの階調濃度データを用い総合値を求めてもよい。第
13図はこの代案の手順を示すフローチャートである。
If the fact that the gray balance is lost mainly in recording in a low density region is used, the following procedure can be adopted. The twelfth for one gradation correction curve
As shown in the figure, several correction curves in the low density range are prepared. Then, the tone correction curve in the low density range is selected based on the total value of the values obtained by subtracting the average density data from the tone density data for each color. In addition,
The gradation correction curve in the low density range with respect to the total value is associated in advance. Instead of the average density data, a total value may be obtained using tone density data of any of the three colors. No.
FIG. 13 is a flowchart showing the procedure of this alternative.

次に、色補正マトリクスを求める手順(第8図フロー
チャートにおいてBの部分)について、第14図のフロー
チャートにより説明する。
Next, the procedure for obtaining the color correction matrix (the portion B in the flowchart in FIG. 8) will be described with reference to the flowchart in FIG.

(1)サンプル29の読み取りデータに対して混色補正と
輝度濃度変換とを行ない格納しておいた色データを取り
出し、設定された階調補正変換テーブルで階調補正変換
を行う。
(1) The color data correction and the luminance / density conversion are performed on the read data of the sample 29, the stored color data is taken out, and the gradation correction conversion is performed using the set gradation correction conversion table.

(2)これらのデータとこれらに対応するカラーパレッ
トデータ28とから、色補正マトリクス演算部32で、最小
2乗法を用いて色差が最小となる色補正マトリクスを求
める。
(2) From these data and the corresponding color pallet data 28, the color correction matrix calculator 32 obtains a color correction matrix that minimizes the color difference by using the least squares method.

具体的には、記録サンプル29を読み取って得られた階
調補正後のデータを=(dr,dg,db)nとする。一方、
カラーパレットデータをT=(C,M,Y)nとし、これら
から次式に従い色補正マトリクスAを求める。なお、色
補正として(2)式を用いる場合は、2次項も含めて色
補正マトリクスを求める。tは、転置行列を表し、−1
は、逆行列を表す。
Specifically, the data after gradation correction obtained by reading the recording sample 29 is set to = (dr, dg, db) n. on the other hand,
The color pallet data is set to T = (C, M, Y) n, and a color correction matrix A is obtained from these according to the following equation. When the equation (2) is used for color correction, a color correction matrix including a quadratic term is obtained. t represents a transposed matrix, and −1
Represents an inverse matrix.

この色補正マトリクスは、記録したカラーサンプルに
対して、濃度誤差が最小となるようデータを補正する。
This color correction matrix corrects data for a recorded color sample so that a density error is minimized.

(3)Aの補正係数を色補正部25に設定する。(3) Set the correction coefficient of A in the color correction unit 25.

なお、色補正のみにより入力画像を補正する場合は、
階調補正変換を行う前のデータと対応するカラーパレッ
トデータとから、最小2乗法を用いて色差が最小となる
色補正マトリクスを求める。
When correcting an input image only by color correction,
From the data before the tone correction conversion and the corresponding color pallet data, a color correction matrix that minimizes the color difference is obtained using the least squares method.

本実施例では、第7図のデータ処理をソフトウェアで
実行するものを示したが、高速処理したいところはハー
ドウェアで実現してもよい。例えば、輝度濃度変換や階
調補正には、ROM,RAMなでの変換テーブルを用いてもよ
い。また、色補正も変換テーブルにより実現できる。す
なわち、(3)式で求めた色補正マトリクスを用い、
(1)または(2)式で全ての入力データに対する補正
値を求め、これらを変換テーブルに書き込んでおき、色
補正を行う。なお、演算した結果負になった補正値は0
とする。また、最大値を越えた補正値は最大値に制限す
る。
In the present embodiment, the data processing shown in FIG. 7 is executed by software. However, where high-speed processing is desired, the processing may be realized by hardware. For example, a conversion table such as a ROM or a RAM may be used for luminance density conversion and gradation correction. Also, color correction can be realized by a conversion table. That is, using the color correction matrix obtained by equation (3),
Correction values for all the input data are obtained by equation (1) or (2), and these are written in a conversion table to perform color correction. The negative correction value obtained by the calculation is 0.
And The correction value exceeding the maximum value is limited to the maximum value.

ここで、3色の色データがそれぞれ7ビットデータと
すると、21本のアドレス線が必要となるが、これを満た
す1個のRAMは今のところない。そこで、全てのデータ
に対して(1)式の線形変換(2次項がない)で色補正
することを考える。(1)式を用いる場合は、階調補正
でグレーバランスを考慮した補正を行う。第15図は、
(1)式における入力データを上位と下位に分けて演算
し、それぞれの演算結果を変換テーブルに書き込んでお
き色補正する回路を示している。入力データは、画素ご
とにYMCの画像データとし、順次階調補正変換テーブル3
3に入力される。階調補正変換テーブル33には、階調補
正テーブルが8個、グレーバランス補正テーブルが8個
に対し4個ずつ書き込まれている。そして下位B0〜B6の
7ビットに入力データ、B7〜B9の3ビットに8種類の階
調補正テーブルを選択するモードセレクトデータ、B10
〜B12の3ビットにもモードセレクトデータ、B13、14に
グレーバランス補正カーブを選択するグレーセレクトデ
ータを入力する。なお、セレクトデータは、各色ごとに
設定できる。階調補正テーブル33からの出力データはラ
ッチ34y,ラッチ34m,ラッチ34cに保持される。そして、
それぞれ上位3ビットは、上位色補正変換テーブル35a
の入力データとなり、それぞれ下位4ビットは下位色補
正変換テーブル35bの入力データとなる。また、色補正
変換テーブル35には色指定信号36が入力され、補正値の
色が指定される。上位色補正変換テーブル34aには、3
色の入力データの上位3ビットを取り出し、その下位4
ビットを0としたデータを(1)式に入れて求めた値が
符号付き8ビットで3色それぞれ書き込まれている。下
位色補正変換テーブル35bには、3色の入力データの下
位4ビットを(1)式に入れて求めた値が符号付き8ビ
ットで3色それぞれ書き込まれている。なお、(1)式
の演算結果として値が負となる場合もあるので、書き込
みデータは符号ビット付きとなっている。書き込みは、
図示していないアドレス線およびデータ線を通じて行わ
れる。
Assuming that each of the three color data is 7-bit data, 21 address lines are required, but there is no single RAM that satisfies these. Therefore, it is considered that color correction is performed on all data by the linear transformation of Equation (1) (there is no quadratic term). When the equation (1) is used, the gradation correction is performed in consideration of the gray balance. FIG.
A circuit is shown in which the input data in the equation (1) is divided into upper and lower computations, and the respective computation results are written in a conversion table to perform color correction. The input data is YMC image data for each pixel.
Entered in 3. In the gradation correction conversion table 33, eight gradation correction tables and four gray balance correction tables are written for each eight. The lower 7 bits of B0 to B6 are input data, and the 3 bits of B7 to B9 are mode select data for selecting eight kinds of gradation correction tables.
Mode select data is also input to the three bits B12 to B12, and gray select data for selecting the gray balance correction curve is input to B13 and B14. The select data can be set for each color. Output data from the gradation correction table 33 is held in the latches 34y, 34m, and 34c. And
The upper three bits are the upper color correction conversion table 35a.
, And the lower 4 bits become the input data of the lower color correction conversion table 35b. Further, a color designation signal 36 is input to the color correction conversion table 35, and the color of the correction value is designated. The upper color correction conversion table 34a has 3
The upper 3 bits of the color input data are extracted and the lower 4 bits are extracted.
Values obtained by putting the data in which the bit is 0 into the expression (1) are written in 8 colors with sign for each of the three colors. In the lower color correction conversion table 35b, the values obtained by putting the lower 4 bits of the input data of the three colors into the expression (1) are written as signed 8-bit data for each of the three colors. Since the value may be negative as a result of the operation of the expression (1), the write data has a sign bit. Writing is
This is performed through address lines and data lines (not shown).

色補正変換テーブル35から出力された上位補正値と下
位補正値とは、加算器37で加算される。その結果が負で
あれば、ディスイネーブル信号38でセレクタ回路39をデ
ィスイネーブルし、0を出力する。一方、結果が127を
越えれば、セレクト信号40により127を選択する。その
ほかの加算結果はそのまま出力する。この選択はセレク
タ回路39によりなされる。
The upper correction value and the lower correction value output from the color correction conversion table 35 are added by the adder 37. If the result is negative, the selector circuit 39 is disabled by the disable signal 38 and 0 is output. On the other hand, if the result exceeds 127, 127 is selected by the select signal 40. Other addition results are output as they are. This selection is made by the selector circuit 39.

第16図は、(1)式における入力データを上位,中
位,下位の3つに分けて演算し、それぞれの演算結果を
変換テーブルに書き込んでおき、色補正する回路を示し
ている。上位色補正変換テーブル35cには、3色の入力
データの上位2ビットを取り出し、その下位5ビットを
0としたデータを(1)式に入れて求めた値が符号付き
8ビットで3色それぞれ書き込まれている。中位色補正
変換テーブル35dには、3色の入力データの下位5ビッ
トのうち上位2ビットを取り出し、その下位3ビットを
0としたデータを(1)式に入れて求めた値が符号付き
8ビットで3色それぞれ書き込まれている。下位色補正
変換テーブル35eには、3色の入力データの下位3ビッ
トを(1)式に入れて求めた値が符号付き8ビットで3
色ぞれぞれ書き込まれている。3色の入力データは、上
位,中位,下位に分かれて、色補正変換テーブル35に入
力され、色指定信号36により色を指定される。その結
果、色指定された上位補正値,中位補正値,下位補正値
が色補正変換テーブル35から出力される。以下、第15図
と同様にして色補正がなされる。なお、入力データの分
け方に制限はなく、また、色補正変換テーブルが9ビッ
トを扱えれば、8ビットの入力データに対して上記色補
正処理が可能である。
FIG. 16 shows a circuit for calculating the input data in equation (1) by dividing the data into upper, middle, and lower three parts, writing the respective calculation results in a conversion table, and performing color correction. The upper color correction conversion table 35c takes out the upper 2 bits of the input data of the three colors, puts the data with the lower 5 bits of 0 into the equation (1), and obtains the value obtained by using the signed 8 bits for each of the three colors. Has been written. In the middle color correction conversion table 35d, the value obtained by taking out the upper 2 bits out of the lower 5 bits of the input data of the three colors and putting the lower 3 bits as 0 into the equation (1) is signed. Each of the three colors is written in 8 bits. In the lower color correction conversion table 35e, a value obtained by putting the lower three bits of the input data of three colors into the expression (1) is a signed 8-bit value of 3 bits.
Each color is written. The input data of the three colors is input to the color correction conversion table 35, divided into upper, middle and lower order, and the color is specified by the color specifying signal 36. As a result, the upper correction value, the middle correction value, and the lower correction value designated for the color are output from the color correction conversion table 35. Thereafter, color correction is performed in the same manner as in FIG. Note that there is no restriction on how to divide the input data, and if the color correction conversion table can handle 9 bits, the above-described color correction processing can be performed on 8-bit input data.

本実施例によれば、記録濃度特性または混色の度合が
異なるインクフィルムや指定されたものと種類の異なる
記録紙を用いても、また、機構的に色ずれが生じても、
色補正係数を再度設定できるので、色再現性を損なうこ
とがない。また、上記補正回路を用いれば、入力データ
を高速に補正できる。
According to the present embodiment, even if an ink film having a different recording density characteristic or a different degree of color mixing or a recording paper of a type different from the designated type is used, or even if a color shift occurs mechanically,
Since the color correction coefficient can be set again, the color reproducibility is not impaired. In addition, the use of the above-described correction circuit allows input data to be corrected at high speed.

第17図は、他の実施例の信号処理回路を示す図であ
る。本実施例は、色補正した後に階調補正するものであ
る。テストプリントにおいて階調補正変換テーブルを選
択する手順は、前記実施例と同様である。ただし、階調
サンプルの濃度データは、色補正部25をスルーさせる。
FIG. 17 is a diagram showing a signal processing circuit of another embodiment. In this embodiment, tone correction is performed after color correction. The procedure for selecting the gradation correction conversion table in the test print is the same as in the above embodiment. However, the density data of the gradation sample is passed through the color correction unit 25.

ここでは、主な違いである色補正値の求め方について
説明する。第18図は、その手順を示すフローチャートで
ある。
Here, a method of obtaining a color correction value, which is a main difference, will be described. FIG. 18 is a flowchart showing the procedure.

(1)カラーパレットデータ28を階調補正部24の階調補
正変換テーブルを逆に通して変換する。すなわち、入出
力逆の逆変換テーブルを作成しておき、これを通してデ
ータを変換する。すなわち、前記実施例では、サンプル
29を階調補正してから色補正していたが、ここではカラ
ーパレットデータ28を逆変換し、次の色補正に備える。
(1) The color pallet data 28 is converted through the gradation correction conversion table of the gradation correction unit 24 in reverse. That is, a reverse conversion table for input / output reverse is prepared, and data is converted through this. That is, in the above embodiment, the sample
Although the color correction is performed after the gradation correction of 29, here, the color pallet data 28 is inversely converted to prepare for the next color correction.

(2)色補正演算部31は、変換されたカラーパレットデ
ータとメモリ14に格納しておいたサンプル29の色データ
とから、最小2乗法を用いて、色差が最小となる色補正
マトリクスを求める。
(2) The color correction calculation unit 31 obtains a color correction matrix with the minimum color difference from the converted color palette data and the color data of the sample 29 stored in the memory 14 by using the least square method. .

(3)Aの補正係数を色補正部25に設定する。(3) Set the correction coefficient of A in the color correction unit 25.

本実施例においても、記録濃度特性または混色の度合
が異なるインクフィルムや指定されたものと種類の異な
る記録紙を用いた場合、また、機構的に色ずれが生じた
場合に、色補正係数を再度設定できるので、色再現性を
損なうことがない。
Also in the present embodiment, when an ink film having a different recording density characteristic or color mixing degree or a recording paper of a different type from the designated one is used, or when a color misregistration occurs mechanically, the color correction coefficient is reset. Since it can be set, color reproducibility is not impaired.

3色色分解信号を得る手段の他の形態を第19図,第20
図,第21図に示す。
FIGS. 19 and 20 show another form of means for obtaining a three-color separation signal.
It is shown in Fig. 21.

第19図の例は、読み取りセンサ7を主走査方向に複数
並べたものであり、多数のカラーサンプルを同時に読み
取る。したがって、カラーパレットは、第22図に示すよ
うに、2列以上を同時に記録するものとなる。すなわ
ち、まず、1色目のYインクで、インク量を16段階に変
えてY1〜Y16を記録する。続いて、2色目のMインク
で、インク量を16段階に変えてM1〜M16を2ケース記録
し、16段階のR1〜R16、M1〜M16を得る。最後に、3色目
のCインクで、インク量を16段階に変えてC1〜C16を4
ケース記録し、Bl1〜Bl16,B1〜B16、C1〜C16、G1〜G16
を得る。これらを記録しながら、複数の読み取りセンサ
7で3色色分解信号を読み取る。それぞれの読み取りセ
ンサ7からの出力は、第23図に示すように、マルチプレ
クサ41により、1カラーサンプルの色信号としてA/D変
換器12に導かれる。A/D変換されたデータは、信号処理
回路6に送られる。それ以後は、前記実施例と同様であ
る。この実施例によれば、カラーサンプルを多く記録で
きるので、色補正係数の信頼性が向上する。
In the example of FIG. 19, a plurality of reading sensors 7 are arranged in the main scanning direction, and a large number of color samples are read simultaneously. Therefore, as shown in FIG. 22, the color palette records two or more rows simultaneously. That is, first, Y1 to Y16 are printed with the first color Y ink while changing the ink amount in 16 steps. Subsequently, with M ink of the second color, the ink amount is changed to 16 levels and M1 to M16 are recorded in two cases, and R1 to R16 and M1 to M16 of 16 levels are obtained. Finally, with the third color C ink, change the ink amount to 16 levels and set C1 to C16 to 4
Record cases, Bl1 to Bl16, B1 to B16, C1 to C16, G1 to G16
Get. While recording these, a plurality of reading sensors 7 read the three-color separation signals. As shown in FIG. 23, the output from each reading sensor 7 is guided to the A / D converter 12 by the multiplexer 41 as a color signal of one color sample. The A / D converted data is sent to the signal processing circuit 6. After that, it is the same as the above embodiment. According to this embodiment, since many color samples can be recorded, the reliability of the color correction coefficient is improved.

第20図の例は、読み取りセンサ7として、ラインセン
サ42を用いたものであり、多数のカラーサンプルを同時
に読み取る。読み取りセンサ7のブロック図を第24図に
示す。ラインセンサ42は、第22図に示すようなカラーパ
レットを読み取り、主走査方向ラインスタート信号43と
3色色分割信号を出力する。3色色分解信号は、A/D変
換器12で色データに変換された後、平均化処理回路44に
入力される。平均化処理回路44は、ラインセンサ42から
の主走査方向ラインスタート信号43と副走査方向ライン
信号45に入力し、1つのカラーサンプルからの複数の色
データを平均化し、信頼性の高い色データを得る。すな
わち、ラインセンサ42の1つ1つの読み取りセンサの色
測定エリアが小さいため、1点だけの測定では十分な色
測定ができない。本実施例では、複数点から得られた色
データを平均化しているので、信頼性が高くなる。平均
化処理回路44からのデータは、信号処理回路6に送ら
れ、それ以後は前記実施例と同様に処理される。
In the example of FIG. 20, a line sensor 42 is used as the reading sensor 7, and a large number of color samples are read simultaneously. FIG. 24 shows a block diagram of the reading sensor 7. The line sensor 42 reads a color palette as shown in FIG. 22, and outputs a line start signal 43 in the main scanning direction and a three-color division signal. The three-color separation signal is converted into color data by the A / D converter 12 and then input to the averaging circuit 44. The averaging processing circuit 44 inputs the main scanning direction line start signal 43 and the sub scanning direction line signal 45 from the line sensor 42, averages a plurality of color data from one color sample, and obtains highly reliable color data. Get. That is, since the color measurement area of each reading sensor of the line sensor 42 is small, sufficient color measurement cannot be performed by measuring only one point. In this embodiment, since the color data obtained from a plurality of points are averaged, the reliability is improved. The data from the averaging circuit 44 is sent to the signal processing circuit 6 and thereafter processed in the same manner as in the above embodiment.

この実施例によれば、カラーサンプルを多数読み取れ
るので、色補正係数の信頼性が向上する。
According to this embodiment, since many color samples can be read, the reliability of the color correction coefficient is improved.

第21図の例は、読み取りセンサが、主走査方向に移動
可能であり、多数のカラーサンプルを順次読み取る構成
となっている。読み取りセンサ7は、読み取りセンサ走
査モータ46で案内バー47を回転させると、主走査方向に
移動する。読み取りセンサ7は、第22図に示すカラーパ
レットをY,M,C,Bl,B,G,の順に読み取る。
The example of FIG. 21 has a configuration in which the reading sensor is movable in the main scanning direction and sequentially reads a large number of color samples. The reading sensor 7 moves in the main scanning direction when the guide bar 47 is rotated by the reading sensor scanning motor 46. The reading sensor 7 reads the color palette shown in FIG. 22 in the order of Y, M, C, B1, B, and G.

本実施例においても、多数のカラーサンプルが読み取
れるので、色補正係数の信頼性が向上する。
Also in this embodiment, since a large number of color samples can be read, the reliability of the color correction coefficient is improved.

〔発明の効果〕〔The invention's effect〕

本発明によれば、インクフィルム等の色調特性または
カラー画像記録装置や記録紙の記録濃度特性が変わって
も、補正係数を再度設定できるので、色再現性や階調性
などの画質を損なわないで、良好なカラー画像が得られ
るカラー画像記録装置が提供される。
According to the present invention, even if the color tone characteristics of an ink film or the like or the recording density characteristics of a color image recording apparatus or recording paper change, the correction coefficient can be set again, so that image quality such as color reproducibility and gradation is not impaired. And a color image recording apparatus capable of obtaining a good color image.

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

第1図は本発明によるカラー画像記録装置の概略構成を
示す図、第2図は読取りセンサの構成を示す図、第3図
は信号処理回路の構成を示すブロック図、第4図は信号
処理回路のテストプリント動作を示すフローチャート、
第5図はテストプリントが印刷されていく様子を示す
図、第6図は信号処理回路のプリント動作を示すフロー
チャート、第7図はデータ処理回路を示すブロック図、
第8図は補正処理手順を示すフローチャート、第9図は
本実施例で用いた階調補正カーブを示す図、第10図はグ
レーバランスの補正手順を示すフローチャート、第11図
はグレーバランスの補正方法を説明する図、第12図はグ
レーバランスにおける補正カーブを示す図、第13図はグ
レーバランスの補正手順の他の例を示すフローチャー
ト、第14図は色補正手順を示すフローチャート、第15図
は色補正を変換テーブル式で行う回路の構成を示す図、
第16図はその変形例を示す図、第17図はデータ処理回路
の他の実施例を示すブロック図、第18図はその補正値を
求める手順を示すフローチャート、第19図,第20図,第
21図は読取りセンサの他の形態を示す図、第22図は主走
査方向に複数列カラーパレットを印刷する様子を示す
図、第23図は第19図読取りセンサの回路構成を示す図、
第24図は第20図読取りセンサの回路構成を示す図であ
る。 1……回転ドラム、2……記録紙、3……サーマルヘッ
ド、4……インクフィルム、5……回転ドラム駆動モー
タ、6……信号処理回路、7……読み取りセンサ、8…
…トップセンサ、9……光源、10……結像レンズ、11…
…カラーセンサ、12……A/D変換器、13……CPU、14……
メモリ、15……読み取りセンサインターフェイス、16…
…画像データ入力インターフェイス、17……メカコント
ロールインターフェイス、18……サーマルヘッドドライ
バ、19……モータドライバ、20……パネル・スイッチイ
ンターフェース、21……プリントスイッチ、22……テス
トプリントスイッチ、23……輝度濃度変換部、24……階
調補正部、25……色補正部、26……印刷部、27……階調
補正変換テーブル選択部、28……カラーパレットデー
タ、29……サンプル、30……混色補正部、31……グレー
バランス補正部、32……色補正マトリクス演算部、33…
…階調補正変換テーブル、34……ラッチ、35……色補正
変換テーブル、36……色指定信号、37……加算器、38…
…ディスイネーブル信号、39……セレクタ回路、40……
セレクト信号、41……マルチプレクサ、42……ラインセ
ンサ、43……主走査方向ラインスタート信号、44……平
均化処理回路、45……副走査方向ライン信号、46……読
み取りセンサ走査モータ、47……案内バー。
FIG. 1 is a diagram showing a schematic configuration of a color image recording apparatus according to the present invention, FIG. 2 is a diagram showing a configuration of a reading sensor, FIG. 3 is a block diagram showing a configuration of a signal processing circuit, and FIG. Flowchart showing a test print operation of the circuit,
FIG. 5 is a view showing a state in which a test print is printed, FIG. 6 is a flowchart showing a print operation of a signal processing circuit, FIG. 7 is a block diagram showing a data processing circuit,
8 is a flowchart showing a correction processing procedure, FIG. 9 is a view showing a tone correction curve used in this embodiment, FIG. 10 is a flowchart showing a gray balance correction procedure, and FIG. 11 is a gray balance correction. FIG. 12 is a diagram illustrating a correction curve in gray balance, FIG. 13 is a flowchart illustrating another example of a gray balance correction procedure, FIG. 14 is a flowchart illustrating a color correction procedure, FIG. Is a diagram showing a configuration of a circuit that performs color correction by a conversion table formula,
FIG. 16 is a diagram showing a modification thereof, FIG. 17 is a block diagram showing another embodiment of the data processing circuit, FIG. 18 is a flowchart showing a procedure for obtaining the correction value, FIGS. No.
FIG. 21 is a diagram showing another embodiment of the reading sensor, FIG. 22 is a diagram showing a state of printing a plurality of columns of color pallets in the main scanning direction, FIG. 23 is a diagram showing a circuit configuration of the reading sensor of FIG.
FIG. 24 is a diagram showing a circuit configuration of the reading sensor of FIG. DESCRIPTION OF SYMBOLS 1 ... Rotary drum, 2 ... Recording paper, 3 ... Thermal head, 4 ... Ink film, 5 ... Rotary drum drive motor, 6 ... Signal processing circuit, 7 ... Reading sensor, 8 ...
... Top sensor, 9 ... Light source, 10 ... Imaging lens, 11 ...
... color sensor, 12 ... A / D converter, 13 ... CPU, 14 ...
Memory, 15… Read sensor interface, 16…
... image data input interface, 17 ... mechanical control interface, 18 ... thermal head driver, 19 ... motor driver, 20 ... panel switch interface, 21 ... print switch, 22 ... test print switch, 23 ... Brightness / density conversion unit, 24: gradation correction unit, 25: color correction unit, 26: printing unit, 27: gradation correction conversion table selection unit, 28: color pallet data, 29: sample, 30 …… Color mixture correction section, 31… Gray balance correction section, 32 …… Color correction matrix calculation section, 33…
... gradation correction conversion table, 34 ... latch, 35 ... color correction conversion table, 36 ... color designation signal, 37 ... adder, 38 ...
... Disable signal, 39 ... Selector circuit, 40 ...
Select signal, 41: Multiplexer, 42: Line sensor, 43: Main scan direction line start signal, 44: Average processing circuit, 45: Sub-scan direction line signal, 46: Read sensor scan motor, 47 …… Information bar.

Claims (13)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】カラースキャナもしくはカラーカメラ等か
ら取り込まれた3色色分解信号またはコンピュータから
の画像データを入力し、これらの画像データを補正した
後に印刷するカラー画像記録装置において、 カラーパレットデータを発生する手段と、 使用予定のインクを用いて使用予定の記録紙上に前記カ
ラーパレットを印刷した複数のカラーサンプルを読取り
3色色分解信号を得る読取り手段と、 前記読取り手段で読み取ったデータと当該データに対応
する前記カラーパレットデータとを用いて目標とする記
録特性からの色差が最小となる色補正マトリクスを最小
2乗法により求める色補正マトリクス演算部と、 前記補正値を用いて入力データを補正する色補正部とを
備え、 色補正された画像データに基づき前記インクおよび記録
紙を用いて印刷することを特徴とするカラー画像記録装
置。
1. A color image recording apparatus which receives a three-color color separation signal captured from a color scanner or a color camera or image data from a computer, corrects the image data, and prints after correcting the image data. Reading means for reading a plurality of color samples obtained by printing the color pallet on recording paper to be used using ink to be used, and obtaining a three-color separation signal; and reading the data read by the reading means and the data. A color correction matrix operation unit that obtains a color correction matrix that minimizes a color difference from a target recording characteristic using the corresponding color palette data by a least square method, and a color that corrects input data using the correction value. And a recording unit based on the color-corrected image data. Color image recording apparatus characterized by printing with.
【請求項2】請求項1に記載のカラー画像記録装置にお
いて、 前記印刷されたカラーパレットのY(イエロー),M(マ
ゼンタ),C(シアン)それぞれの階調サンプルを読み取
って得られた濃度データをいくつかの階調補正変換テー
ブルに通し補正後の階調濃度カーブと予め設定した目標
の階調濃度カーブとの差が最小となる階調補正変換テー
ブルを求める階調補正変換テーブル選択部と、 前記選択された階調補正変換テーブルにより入力画像デ
ータを階調補正する階調補正部とを備え、 階調補正および前記色補正された画像データに基づき印
刷することを特徴とするカラー画像記録装置。
2. The color image recording apparatus according to claim 1, wherein a density sample obtained by reading Y (yellow), M (magenta), and C (cyan) tone samples of the printed color pallet. A tone correction conversion table selecting unit that passes data through several tone correction conversion tables and obtains a tone correction conversion table that minimizes the difference between the corrected tone density curve and a preset target tone density curve. A tone correction unit for tone-correcting input image data based on the selected tone correction conversion table, wherein a color image is printed based on the tone-corrected and color-corrected image data. Recording device.
【請求項3】請求項1または2に記載のカラー画像記録
装置において、 前記読取り手段の光源またはカラーセンサの分光特性か
ら混色の度合を求め読取りデータの混色を補正する手段
を備えたことを特徴とするカラー画像記録装置。
3. The color image recording apparatus according to claim 1, further comprising: means for obtaining a degree of color mixing from a light source of the reading means or a spectral characteristic of a color sensor and correcting color mixing of read data. Color image recording apparatus.
【請求項4】請求項2に記載のカラー画像記録装置にお
いて、 前記階調補正部が、前記階調補正変換テーブルの入出力
逆の階調逆変換テーブルを作成しカラーパレットデータ
をこの階調逆変換テーブルにより階調変換する手段を備
え、 色補正した後、前記階調補正変換テーブルで階調補正す
ることを特徴とするカラー画像記録装置。
4. A color image recording apparatus according to claim 2, wherein said gradation correction section creates a gradation reverse conversion table which is the input / output reverse of said gradation correction conversion table, and converts the color pallet data into said gradation. A color image recording apparatus, comprising: means for performing tone conversion by an inverse conversion table, and after performing color correction, performing tone correction using the tone correction conversion table.
【請求項5】請求項2〜4のいずれか一項に記載のカラ
ー画像記録装置において、 前記印刷されたカラーパレットのグレーの階調サンプル
を読み取って得られた3色の濃度データを各階調ごとに
平均した濃度カーブを求め、各色ごとに前記目標の階調
濃度カーブと前記平均濃度カーブとの差を求め、この差
にある値を掛け、上記階調補正変換テーブルの値から引
き、各色毎に引いた値を階調補正変換テーブルに設定す
るグレーバランス補正部を備えたことを特徴とするカラ
ー画像記録装置。
5. The color image recording apparatus according to claim 2, wherein the density data of three colors obtained by reading a gray tone sample of the printed color pallet is used for each tone. An average density curve is obtained for each color, a difference between the target tone density curve and the average density curve is obtained for each color, this difference is multiplied by a certain value, subtracted from the value of the tone correction conversion table, and A color image recording apparatus comprising a gray balance correction unit for setting a value subtracted every time in a gradation correction conversion table.
【請求項6】請求項5に記載のカラー画像記録装置にお
いて、 前記グレーバランス補正部が、前記目標の階調濃度カー
ブに対し低濃度域における補正カーブをいくつか用意し
ておき、前記印刷されたカラーパレットのグレーの階調
サンプルを読み取って得られた3色の濃度データを各階
調ごとに平均した濃度カーブを求め、各色ごとに前記目
標の階調濃度カーブと前記平均濃度カーブとの差の総和
を求め、この総和に基づき前記低濃度域における補正カ
ーブの一つを選択し、その値を階調補正変換テーブルに
設定する手段を含むことを特徴とするカラー画像記録装
置。
6. The color image recording apparatus according to claim 5, wherein the gray balance correction unit prepares some correction curves in a low density region with respect to the target gradation density curve, and performs the printing. A density curve is obtained by averaging the density data of the three colors obtained by reading the gray tone samples of the color palette for each tone, and calculating the difference between the target tone density curve and the average density curve for each color. And a means for selecting one of the correction curves in the low-density region based on the total and setting the value in a gradation correction conversion table.
【請求項7】請求項1〜6のいずれか一項に記載のカラ
ー画像記録装置において、 前記色補正部が、2つ以上の上位下位に分けた3色の画
像データにそれぞれ色補正マトリクスを掛けて求めたデ
ータを符号付きのデータとしてそれぞれ書き込んだ2つ
以上の変換テーブルと、各変換テーブルの出力を加算す
る手段と、加算結果をある範囲に制限する手段とを備え
たことを特徴とするカラー画像記録装置。
7. The color image recording apparatus according to claim 1, wherein the color correction unit applies a color correction matrix to two or more upper and lower three-color image data. Two or more conversion tables each of which writes the data obtained by the multiplication as signed data, means for adding the outputs of the conversion tables, and means for limiting the addition result to a certain range. Color image recording device.
【請求項8】請求項1〜7のいずれか一項に記載のカラ
ー画像記録装置において、 前記読取り手段が、主走査方向に複数設けたカラーセン
サを含むことを特徴とするカラー画像記録装置。
8. A color image recording apparatus according to claim 1, wherein said reading means includes a plurality of color sensors provided in a main scanning direction.
【請求項9】請求項1〜7のいずれか一項に記載のカラ
ー画像記録装置において、 前記読取り手段が、主走査方向に平行に置かれたライン
センサを含むことを特徴とするカラー画像記録装置。
9. A color image recording apparatus according to claim 1, wherein said reading means includes a line sensor placed parallel to the main scanning direction. apparatus.
【請求項10】請求項1〜7のいずれか一項に記載のカ
ラー画像記録装置において、 前記読取り手段が、主走査方向に移動可能なカラーセン
サを含むことを特徴とするカラー画像記録装置。
10. The color image recording apparatus according to claim 1, wherein said reading means includes a color sensor movable in a main scanning direction.
【請求項11】請求項1〜10のいずれか一項に記載のカ
ラー画像記録装置において、 前記カラーインクが、カラーサーマルインクフィルムで
あることを特徴とするカラーサーマルプリンタ。
11. A color thermal printer according to claim 1, wherein said color ink is a color thermal ink film.
【請求項12】請求項1〜10のいずれか一項に記載のカ
ラー画像記録装置において、 前記カラーインクをそれぞれ噴射するノズルを有するこ
とを特徴とするカラーインクジェットプリンタ。
12. A color ink jet printer according to claim 1, further comprising a nozzle for ejecting each of said color inks.
【請求項13】請求項1〜10のいずれか一項に記載のカ
ラー画像記録装置において、 前記カラー画像をカラートナーにより形成することを特
徴とする電子写真式カラープリンタ。
13. An electrophotographic color printer according to claim 1, wherein said color image is formed by color toner.
JP1018164A 1989-01-27 1989-01-27 Color image recording device Expired - Lifetime JP2932277B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1018164A JP2932277B2 (en) 1989-01-27 1989-01-27 Color image recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1018164A JP2932277B2 (en) 1989-01-27 1989-01-27 Color image recording device

Publications (2)

Publication Number Publication Date
JPH02199964A JPH02199964A (en) 1990-08-08
JP2932277B2 true JP2932277B2 (en) 1999-08-09

Family

ID=11963969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1018164A Expired - Lifetime JP2932277B2 (en) 1989-01-27 1989-01-27 Color image recording device

Country Status (1)

Country Link
JP (1) JP2932277B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006311922A (en) * 2005-05-09 2006-11-16 Hitachi Medical Corp X-ray equipment

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100404857B1 (en) * 1996-12-31 2004-02-14 엘지전자 주식회사 Method for deciding color sample for color compensation using genetic algorithm in color image input and output apparatus
JP2003162111A (en) * 2001-11-27 2003-06-06 Canon Inc Color image forming equipment
JP5223770B2 (en) 2009-04-28 2013-06-26 コニカミノルタビジネステクノロジーズ株式会社 Image processing apparatus, image forming apparatus, and image processing method
JP2012242467A (en) * 2011-05-17 2012-12-10 Ricoh Co Ltd Image forming apparatus, image forming method, program, and recording medium
JP2013037179A (en) * 2011-08-08 2013-02-21 Ricoh Co Ltd Image forming apparatus, image forming method, program, and recording medium
JP5482820B2 (en) 2012-03-29 2014-05-07 富士ゼロックス株式会社 Image reading apparatus and image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006311922A (en) * 2005-05-09 2006-11-16 Hitachi Medical Corp X-ray equipment

Also Published As

Publication number Publication date
JPH02199964A (en) 1990-08-08

Similar Documents

Publication Publication Date Title
US7965417B2 (en) Tone correction table generation method and apparatus
EP0168818B1 (en) Color image copying apparatus
US5528377A (en) Extended density color printing
US5386305A (en) Color imaging processing method and apparatus for suppressing color blurs
US6999200B2 (en) Method of and device for managing print colors, and image data processing device
US6629746B2 (en) Reduction of artefacts in reproduced images
JP2647398B2 (en) Image signal processing device
US5857063A (en) Multicolorant process control
JP3360358B2 (en) How to determine printing color material amount
JPS6338155B2 (en)
US20100208304A1 (en) Image correction method and image correction system
EP0940972A2 (en) Two-tone printer and method of making density correction curves for two tone printing
JP2932277B2 (en) Color image recording device
EP0211509A2 (en) Method for printing a colour image
US5196927A (en) Method for electronic color processing
JPH0570352B2 (en)
US11778125B2 (en) Image processing apparatus, method, and product generating correction information in ascending order from a region of a smaller number of printing materials
JP2000013627A (en) Color converting method
JP3209053B2 (en) Color reproduction device
US8625164B2 (en) Image forming apparatus and method, computer program, and recording medium using density signal and look-up table
JPH08163387A (en) Color image recording apparatus and color image recording system
JP2000022954A (en) Media density calibration method for gradation printer
EP1349362A2 (en) Image processing diagnostic method
JP2005184144A (en) Color image data correction method, color image data correction device, and color correction table creation program.
JP7626969B2 (en) Image processing device and computer program