JP3761229B2 - Color image communication device - Google Patents

Color image communication device Download PDF

Info

Publication number
JP3761229B2
JP3761229B2 JP30544095A JP30544095A JP3761229B2 JP 3761229 B2 JP3761229 B2 JP 3761229B2 JP 30544095 A JP30544095 A JP 30544095A JP 30544095 A JP30544095 A JP 30544095A JP 3761229 B2 JP3761229 B2 JP 3761229B2
Authority
JP
Japan
Prior art keywords
color
matrix
color correction
pattern data
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP30544095A
Other languages
Japanese (ja)
Other versions
JPH09149279A (en
Inventor
和幸 西村
真一 佐藤
Original Assignee
パナソニック コミュニケーションズ株式会社
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 パナソニック コミュニケーションズ株式会社 filed Critical パナソニック コミュニケーションズ株式会社
Priority to JP30544095A priority Critical patent/JP3761229B2/en
Publication of JPH09149279A publication Critical patent/JPH09149279A/en
Application granted granted Critical
Publication of JP3761229B2 publication Critical patent/JP3761229B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は自身で色ずれの補正を行うカラー画像通信装置に関する。
【0002】
【従来の技術】
従来、カラーファクシミリ装置等のカラー画像読み取り記録装置では装置製造時に読み取りに起因する色ずれと、記録に起因する色ずれを下記に示すような方法で独立に求め、この色ずれを補正する補正係数を求めていた。ファクシミリ装置の場合、読み取りに起因する色ずれは原稿を読み取って送信する場合に発生し、記録に起因する色ずれは受信した原稿を記録する場合に発生する。また、コピー動作のように読み取ったデータを記録する場合は、両方の色ずれが発生する。この場合読み取り、記録双方に起因する色ずれの補正係数は、それぞれの補正係数を掛け合わせてることにより、算出していた。
【0003】
▲1▼読取部ではデータの明確なカラーパターンを読み取り、この読み取り値を数値化したデータと、予め同一のカラーパターンを基準となる読取装置で読み取り数値化したデータとを比較して色ずれを求め、その色ずれを補正する色補正係数を算出する。
▲2▼記録部では基準となるカラー数値データを用紙上に出画させ出画結果を色差計などの色を測る装置で測定し、その色ずれを求め、その色ずれを補正する補正係数を算出する。
【0004】
【発明が解決しようとする課題】
上述のように色ずれを補正した状態でカラー画像読取り記録装置は出荷され、ユーザが使用するが、経時変化や記録媒体のばらつきなどにより色ずれが発生する。しかし装置をユーザ側に設置後はユーザまたはサービスマンが発生した色ずれを測定し、この色補正係数を求めることは困難であった。
【0005】
本発明は、上述の問題点に鑑みてなされたもので、色補正用パターンデータを保持し、このデータに基づき自身で色補正係数を算出できるカラー画像通信装置を提供することを目的とする。また色補正係数を迅速に演算できるようにすることを目的とする。また色補正係数は読取りと記録の一体動作に対する補正係数と読取りと記録別々の補正係数を得ることを目的とする。
【0006】
【課題を解決するための手段】
本発明のカラー画像通信装置では、色補正用パターンデータを記憶しておき、このデータを記録手段で出画し、この出画を読取り手段で読み取ってパターンデータとし、記憶してある色補正用パターンデータと比較して色ずれを補正する補正データを生成する。
【0007】
本発明によれば、読取り手段と記録手段とを一体とした色ずれ補正係数を得ることができる。
【0008】
【発明の実施の形態】
請求項1の発明では、色補正用パターンデータを保持する記憶手段と、前記色補正用パターンデータを読み出し、印刷出力する記録手段と、この印刷出力された色補正用パターンを読み取り、読み取りパターンデータを出力する読取り手段と、この読み取りパターンデータと前記色補正用パターンデータとの色差を小さくする補正データを生成する色補正手段とを備え、前記色補正用パターンデータとして複数の色度データを含むものが用いられ、前記色補正手段は、色補正用パターンデータとこの読み取りパターンデータの各色差の誤差の総和を小さくする色補正マトリックスを最小自乗法で求めるマトリックス演算手段を有したことを特徴とする。
【0009】
記憶手段で保持する色補正用パターンデータを記録手段で印刷出力し、この印刷出力された色補正用パターンを読取り手段で読み取る。色補正手段ではこの読み取ったデータと、記憶手段に保持した色補正用パターンデータとを比較して色ずれを求めこの色ずれを補正する補正データを生成する。色補正用パターンデータとして複数の色度データのものを用いて記録し、この記録したものの読み取りを行い、色補正手段では、各色について、保存したデータと読み取ったデータの色差の誤差の総和が最も小さくなる補正係数をマトリックスの形で最小自乗法で求める。これにより、装置自身で読取り手段と記録手段を一体とした最も色差の誤差の少ない補正係数を得ることができる。
【0012】
請求項2の発明では、請求項1の発明で、前記マトリックス演算手段は、マトリックスの各パラメータの変動範囲内で変動する単位を大きな値に設定して色差の誤差の総和が一番小さくなるマトリックスと二番目に小さくなるマトリックスを算出し、これら2つのマトリックスの範囲内で各パラメータの変動する単位をより小さな値に設定し、再度誤差の総和が一番小さくなるマトリックスと二番目に小さくなるマトリックスを算出し、以下同様の演算を繰り返して予め定めた変動する単位での誤差の総和が一番小さくなるマトリックスの各パラメータの値を演算する。
【0013】
補正係数を構成するマトリックスの各パラメータの変動範囲内で変動する単位をまず荒く設定して変動させ、各色差の誤差の総和が一番小さくなるマトリックスと二番目に小さくなるマトリックスを算出し、次にこれら2つのマトリックスの範囲内で各パラメータの変動する単位をより小さな値に設定し、再度誤差の総和が一番小さくなるマトリックスと二番目に小さくなるマトリックスを算出する。このような手順を複数回実施し、誤差の総和が一番小さくなるマトリックスを近似的に求める。この方法により補正係数を迅速に算出することができる。
【0014】
請求項3の発明では、請求項1発明で、前記マトリックス演算手段は、前記色補正用パターンデータと前記読み取りパターンデータを明度と色度を分離して表す色座標に変換し、読み取りパターンデータについては、明度のデータは前記色補正用パターンデータの明度に置換した後、両データ間の色差の誤差の総和が小さくなるような色補正マトリックスを求める。
【0015】
記憶手段に保持した色補正用パターンデータとこのデータで出画された画像パターンを読取り手段で読み取った読取パターンデータについて読取パターンデータにある値の補正係数をかけ、このかけた値と、色補正用パターンデータとの差が最小になるように補正係数を決める。色はR(赤)、G(緑)、B(青)の3色で表示され、本装置のハードウェアはこのR,G,Bで画像処理を行う。また色は明度と色度を分離して表現できる色座標(*L*a*b)で表すことができる。色補正部では、色度の補正のみを行いたい為、読取パターンデータを一端RGB表色系から*L*a*b表色系に変換し、そのうち明度成分*Lを、色補正用パターンデータの明度成分*Liに置換した後に、両データ間の色差の誤差の総和が小さくなるような色補正マトリックスを求める。
【0022】
以下、本発明の実施の形態について図面を参照して説明する。
図1は本発明の一実施の形態の全体構成図を示す。読取り部1は原稿を読み取り電気信号に変換し、読取りデータを生成する。色補正部2はこの読取りデータまたは受信したデータの色ずれを補正する。画像処理部3は色ずれを補正したデータに明度補正を行うγ補正と2値化処理を行う。通信部5は回線を介して読取りデータを送信し、相手側からのデータの受信を行い、制御部6は全体の制御を行う。
【0023】
図2は色補正部2、画像処理部3、制御部6の詳細な構成図である。色補正部2は、色補正用カラーパターンを読み取る時に平滑化処理を施し、色情報の読み取り精度を向上させる平滑化処理部7と、入力信号を平滑化処理部7を経由する色補正係数算出時と通常の読み取り時とを選択するセレクタ8と、3×3の線形一次変換にて色補正を行うマトリックス演算部9と、送信時、受信時およびコピー時のそれぞれに対する色補正係数を保持する補正データ蓄積部10とからなる。画像処理部3は、明度を補正するγ補正部11と、誤差拡散処理等により画像信号を2値化等を行う2値化処理部12から構成される。図3はガンマー補正カーブを示す図で読取り部1の撮像素子の出力電圧を濃度信号に変換する(反射率〜濃度変換)補正カーブである。制御部6はマトリックス演算部9で算出したマトリックスの判定、RGB系座標と明度と色度を分離して表現できる色座標(*L*a*b)との変換、色補正用カラーパターンデータの保持等を行うと共に全体を制御する。
【0024】
以上のように構成された装置の色補正係数を算出する動作について説明する。図4、図5は色補正係数算出動作フロー図である。先に説明したように色はR,G,Bの3原色で表示され、画像処理装置のハードウェアは、このR,G,B系により画像処理する。また色は明度と色度を分離して表現できる色座標(*L*a*b)でも表現できる。そこで、色ずれを演算して補正係数を算出する場合、明度を一定にして色度の差だけを補正する様な補正係数を算出する。しかし、色ずれの補正係数はR,G,B系で処理をする装置に対して用いられるので、R,G,B系で表さなければならない。このため色差の演算は*L*a*b座標系で行い、補正係数の演算はR,G,B系座標系で行う。
【0025】
図4において、制御部6では保持している複数の色補正用カラーパターンデータ(Ri Gi Bi )を*L*a*b表色系に変換し、明度情報(*Li )を取得しておく(S1)。ここで色補正用カラーパターンデータとは色ずれの補正に用いる基準となるカラーパターンを数値データとして表したもので、このデータを基準となる記録装置で出画すると、基準となるカラーパターンとなる。またこの基準となるカラーパターンを基準となる読取り装置で読み取ったデータは色補正用カラーパターンデータとなる。色ずれの補正係数とは、対象となる装置をこの基準となる記録装置、読取り装置に出来るだけ近づけるようにした値である。
【0026】
この色補正用カラーパターンデータを記録部4より出画し(S2)、これを出画カラーパターンとする。この場合色補正部2による処理は行わないで出画される。この出画カラーパターンを読取り部1で読み取り、色情報の読取り精度を上げるため平滑化処理を施し、このデータをRo Go Bo とする(S3)。図1の左右に示す出画カラーパターンはこの様子を示す。次にこの読み取ったデータRo Go Bo の明度情報(*L)を得るため一旦*L*a*b表色系に変換して(*Lo *ao *bo )を得る。ここでこのデータの明度情報(*Lo )を元の色補正用カラーパターンデータの明度情報(*Li )に置き換え、(*Li *ao*bo )とする(S4)。色補正部では、色度のみの補正を行いたい為、読み取ったデータの明度情報を元の色補正用カラーパターンデータの明度データと置換する。
【0027】
次にこのようにして得た(*Li *ao *bo )を再度RGB信号に変換して(RchGchBch)を得る(S5)。これはハードウェアはRGB系で色データを処理するので、この補正係数もRGB系で算出する必要があるためである。補正係数をR,G,Bの3色に合わせ3×3のマトリックスとし次の(1)式で表す。
【0028】
【数1】

Figure 0003761229
【0029】
求めるマトリックスを(1)式のように設定すると、変数はa〜fまでの6個で表される。そこでこの各変数の初期値、変動範囲、分解能(つまり各変数の大きさの単位で0.1ごとの値とか、0.01ごとの値とかを表す)を決定する(S6)。図5において、下記に示す(2)式により変数a〜fをある値にしたマトリックスを(RchGchBch)に乗じ、(Rtmp Gtmp Btmp )を算出する(S7)。
【0030】
【数2】
Figure 0003761229
【0031】
マトリックスが色ずれを最小にする補正マトリックスとなった後、(2)式の(RchGchBch)は補正前のデータを表し、(Rtmp Gtmp Btmp )は補正後のデータを表す。次に得られた(Rtmp Gtmp Btmp )を再度*L*a*b座標に変換し、(*Ltmp *atmp *btmp )を得る(S8)。各色毎にこのデータと基準となる色補正用カラーパターンデータ(*Li *ai *bi )との誤差を算出し、その誤差の総和ΔEを(3)式で求める(S9)。
【0032】
【数3】
Figure 0003761229
【0033】
(3)式においてA^2はAの2乗を表しA^1/2はAの1/2乗(平方)を表す。マトリックスの変数a〜fをその変動範囲内で変更する毎にこの総和を算出し(S11)、S7〜S10,S11のステップを繰り返して、マトリックス係数変動範囲内の全ての総和を計算し(S10)、その誤差の総和ΔEが最も小さくなる変換マトリックスの変数a〜fを求める。このマトリックスが読取り部1と記録部4の双方の補正係数、つまりコピー動作時の色補正係数となる。
【0034】
上記説明では色補正係数を最小自乗法で算出したが、この方法だと、分解能を小さく設定すると計算時間が極めて大きくなる。例えば、各変数a〜fの範囲を−2.0〜+2.0とし、分解能を0.01単位と設定すると、S7〜S9の計算を401の6乗通り計算する必要があり、計算時間が非常に長くかかる。そこで短時間に計算する方法について説明する。
【0035】
まず初めから最終分解能0.01で計算せず、初めは各変数を荒く分解し(例えば0.5単位)、最小自乗法を用い、誤差の総和(ΔE)が最も小さくなるマトリックスM11と2 番目に小さくなるマトリックスM12を算出する(S12)。このマトリックスM11,M12によって決まった変数a〜fの範囲内で、分解能を少し細かく設定し(例えば0.2単位)(S14)、再度ΔEが最も小さくなるマトリックスM21と2番目に小さくなるマトリックスM22とを算出する(S7〜S12)。このようにして各変数の値が最終分解能(例えば0.01)になるまで複数回(n回)行い(S13)、ΔEが最も小さくなるマトリックスMn1を算出し、これを色補正係数とする(S15)。これにより短時間で最適な色補正係数を得ることができる。
【0036】
上述の方法により、コピー動作時(読取り部1および記録部4の双方に起因した色ずれが発生する)の色補正係数をマトリックスの形((1)式に示すT-1)で求めたが、送信時は読取り部1のみの色補正係数が必要であり、受信時には記録部4のみの色補正係数が必要となるので、これらを別々に求める必要がある。なお、読取り部1と記録部4双方の(つまりコピー時の)色補正係数をT-1とし、読取り部1単独の色補正係数をR-1,記録部4単独の色補正係数をW-1とすれば、次の(4)式が成立する。
-1=W-1×R-1 ……(4)
このためR-1又はW-1のいずれか一方が求まれば、先に求めたT-1とから他方も求めることができる。
【0037】
読取り部1のみの色補正係数を求めるために、複数の色補正用カラーパタンと、この色補正用カラーパタンを基準となる読取り装置で読み取った色補正用カラーパタンデータとを用意し、このデータは予め制御部6に読み込んでおく。次に用意した色補正用カラーパタンを読取り部1で読み取り、この読み取ったデータと制御部6に読み込んだ色補正用カラーパタンデータとの誤差が最も小さくなるような読取り用の補正用マトリックスR-1を上記の最小自乗法により算出する。R-1が求まれば記録用の補正マトリックスW-1を次の(5)式により求めることができる。
-1=T-1×〔R-1-1 ……(5)
【0038】
以上のようにしてコピー時、送信時、受信時の色補正係数を算出することができる。また別の方法として製品製作時に決定した読取り部1の色補正係数R-1と、記録部4の色補正係数W-1を用いることにより、コピー時の色補正係数T-1を用いて(5)式から他の一方を算出する。これはR-1,W-1のいずれかが経時変化などによる劣化の少ない場合、これを持続して使用すると共に、これを用いて(5)式により色補正係数を算出する。
【0039】
以上の方法によりコピー動作時(T-1)、送信動作時(R-1)、および受信動作時(W-1)の色補正用マトリックスが得られ、補正データ蓄積部10に格納される。次にこのようにして設定された色補正係数を使ってコピー動作、送信動作、受信動作を行う場合について説明する。
【0040】
コピー動作時は、読取り部1より読み取られた原稿は、電気信号に変換され色補正部2に出力される。色補正部2ではSel01信号により平滑化処理を施さない信号と、mod01 信号により選択され補正データ蓄積部10より入力されるコピー動作時の色補正係数(T-1)とがマトリックス演算部9で(2)式を用いて乗算され、色ずれを補正されたデータとなって画像処理部3に出力される。画像処理部3でγ補正、2値化処理等をした後、記録部4に出力され、記録部4で印字される。
【0041】
送信時動作は、読取り部1より読み取られた原稿は、電気信号に変換され色補正部2に出力される。色補正部2ではSel01信号により平滑化処理を施さない信号と、mod01 信号により選択され補正データ蓄積部10より入力される送信動作時の色補正係数(R-1)とがマトリックス演算部9で(2)式を用いて乗算され、読み取り時の色ずれを補正されたデータとなって画像処理部3に出力される。画像処理部3はγ補正、2値化処理を行った後、通信部5に出力され、回線により相手側へ送信される。
【0042】
受信時の動作は回線を介して通信部5より入力された電気信号は、色補正部2に入力され、色補正部2ではSel01信号により平滑化処理を施さない信号と、mod01 信号により選択され補正データ蓄積部10に蓄積された受信動作時の色補正係数(W-1)とがマトリックス演算部9で(2)式を用いて乗算され、画像処理部3へ出力される。画像処理部3でγ補正、2値化処理等を行った後記録部4へ出力され、記録部4にて印字出力される。
【0043】
【発明の効果】
以上の説明より明らかなように、本発明は、色補正用カラーパターンデータを記憶しておき、これを記録手段から出画し、この出画を読取り手段で読み取り、この読取りデータと色補正用カラーパターンデータとの差が少なくなるような補正係数を求めることにより読取り手段と記録手段の双方の色補正係数を得ることができる。この算出は最小自乗法を用いるが色補正係数を構成するマトリックスの変数の単位(分解能)を段階的に目的とする値に近づけていくことにより、短時間にマトリックスの変数を確定し、色補正係数を得ることができる。また色補正用パターンと色補正用パターンデータを用い読取り手段で色補正用パターンを読み込んだデータと色補正パターンデータとの誤差を少なくすることにより読取り手段の色補正係数を算出することができる。また読取り手段の色補正係数と読取り手段と記録手段の双方の色補正係数とから記録手段の色補正係数を算出することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態の構成を示すブロック図
【図2】色補正部、画像処理部および制御部の詳細な構成を示すブロック図
【図3】γ補正曲線図
【図4】色補正係数算出動作フロー図
【図5】図4に続く色補正係数算出動作フロー図
【符号の説明】
1 読取り部
2 色補正部
3 画像処理部
4 記録部
5 通信部
6 制御部
7 平滑化処理部
8 セレクタ
9 マトリックス演算部
10 補正データ蓄積部
11 γ補正部
12 2値化処理部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a color image communication apparatus that corrects color misregistration by itself.
[0002]
[Prior art]
Conventionally, a color image reading and recording apparatus such as a color facsimile apparatus independently obtains color misregistration caused by reading and color misregistration caused by recording at the time of manufacturing the apparatus by the following method, and a correction coefficient for correcting the color misregistration. I was looking for. In the case of a facsimile machine, color misregistration caused by reading occurs when a document is read and transmitted, and color misregistration caused by recording occurs when a received document is recorded. Further, when the read data is recorded as in the copying operation, both color shifts occur. In this case, correction coefficients for color misregistration caused by both reading and recording have been calculated by multiplying the respective correction coefficients.
[0003]
(1) The reading unit reads a clear color pattern of the data, and compares the data obtained by digitizing the read value with the data obtained by previously reading and digitizing the same color pattern by a reference reading device. Then, a color correction coefficient for correcting the color shift is calculated.
(2) In the recording unit, the reference color numerical data is output on paper, and the output result is measured by a color measuring device such as a color difference meter, the color shift is obtained, and a correction coefficient for correcting the color shift is obtained. calculate.
[0004]
[Problems to be solved by the invention]
The color image reading and recording apparatus is shipped with the color misregistration corrected as described above and is used by the user. However, color misregistration occurs due to changes over time and variations in the recording medium. However, after the apparatus is installed on the user side, it is difficult to measure the color misregistration generated by the user or service person and obtain the color correction coefficient.
[0005]
The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a color image communication apparatus that holds color correction pattern data and can calculate a color correction coefficient by itself based on the data. It is another object of the present invention to enable quick calculation of color correction coefficients. The purpose of the color correction coefficient is to obtain a correction coefficient for an integrated operation of reading and recording and a correction coefficient for reading and recording separately.
[0006]
[Means for Solving the Problems]
In the color image communication apparatus of the present invention, color correction pattern data is stored, this data is output by the recording means, this output is read by the reading means as pattern data, and the stored color correction pattern data is stored. Correction data for correcting color misregistration is generated in comparison with the pattern data.
[0007]
According to the present invention, it is possible to obtain a color misregistration correction coefficient in which the reading unit and the recording unit are integrated.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
According to the first aspect of the present invention, storage means for holding color correction pattern data, recording means for reading out the color correction pattern data and printing it out, reading out the color correction pattern printed out, and reading pattern data And color correction means for generating correction data for reducing the color difference between the read pattern data and the color correction pattern data, and the color correction pattern data includes a plurality of chromaticity data. The color correction means has matrix calculation means for obtaining a color correction matrix for reducing the sum of errors of each color difference between the color correction pattern data and the read pattern data by a least square method. To do.
[0009]
The color correction pattern data held in the storage means is printed out by the recording means, and the printed color correction pattern data is read by the reading means. The color correction unit compares the read data with the color correction pattern data held in the storage unit to obtain a color shift, and generates correction data for correcting the color shift. The color correction pattern data is recorded using a plurality of chromaticity data, and the recorded data is read. In the color correction means, for each color, the sum of errors of the color difference between the stored data and the read data is the largest. A correction coefficient that decreases is obtained in the form of a matrix by the method of least squares. Thereby, the correction coefficient with the smallest color difference error in which the reading unit and the recording unit are integrated by the apparatus itself can be obtained.
[0012]
According to a second aspect of the present invention, in the first aspect of the invention, the matrix calculating means sets the unit that varies within the variation range of each parameter of the matrix to a large value, and the matrix in which the total sum of the color difference errors is minimized. Calculate the second smallest matrix, set the unit that fluctuates each parameter within the range of these two matrices to a smaller value, and again the matrix with the smallest sum of errors and the second smallest matrix Thereafter, the same calculation is repeated to calculate the values of the parameters of the matrix that minimize the sum of errors in a predetermined variable unit.
[0013]
The unit that fluctuates within the fluctuation range of each parameter of the matrix that composes the correction coefficient is first set roughly to vary, and the matrix with the smallest total error of each color difference and the second smallest matrix are calculated. Then, the unit in which each parameter fluctuates within the range of these two matrices is set to a smaller value, and again a matrix with the smallest sum of errors and a matrix with the second smallest are calculated. Such a procedure is performed a plurality of times, and a matrix having the smallest sum of errors is approximately obtained. With this method, the correction coefficient can be quickly calculated.
[0014]
According to a third aspect of the present invention, in the first aspect of the present invention, the matrix calculation means converts the color correction pattern data and the read pattern data into color coordinates representing lightness and chromaticity separately, and reads the read pattern data. After the lightness data is replaced with the lightness of the color correction pattern data, a color correction matrix is obtained so that the sum of errors in color differences between the two data becomes small.
[0015]
The color correction pattern data held in the storage means and the read pattern data read by the reading means for the image pattern output by this data are multiplied by a correction coefficient of a value in the read pattern data, and this multiplied value and the color correction The correction coefficient is determined so that the difference from the pattern data for use is minimized. The colors are displayed in three colors of R (red), G (green), and B (blue), and the hardware of this apparatus performs image processing with these R, G, and B. Further, the color can be represented by color coordinates (* L * a * b) that can be expressed by separating lightness and chromaticity. Since the color correction unit only wants to correct the chromaticity, the read pattern data is once converted from the RGB color system to the * L * a * b color system, and the lightness component * L is converted into the color correction pattern data. After the replacement with the lightness component * Li, a color correction matrix is obtained so that the sum of errors of the color differences between the two data becomes small.
[0022]
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is an overall configuration diagram of an embodiment of the present invention. The reading unit 1 reads a document and converts it into an electrical signal to generate read data. The color correction unit 2 corrects the color shift of the read data or received data. The image processing unit 3 performs γ correction and binarization processing for performing brightness correction on the data corrected for color misregistration. The communication unit 5 transmits read data via a line and receives data from the other party, and the control unit 6 performs overall control.
[0023]
FIG. 2 is a detailed configuration diagram of the color correction unit 2, the image processing unit 3, and the control unit 6. The color correction unit 2 performs a smoothing process when reading a color pattern for color correction, and calculates a color correction coefficient that passes the input signal through the smoothing processing unit 7 and a smoothing processing unit 7 that improves the reading accuracy of color information. A selector 8 for selecting time and normal reading, a matrix calculation unit 9 for performing color correction by 3 × 3 linear primary conversion, and color correction coefficients for transmission, reception, and copy And a correction data storage unit 10. The image processing unit 3 includes a γ correction unit 11 that corrects brightness, and a binarization processing unit 12 that binarizes an image signal by error diffusion processing or the like. FIG. 3 is a diagram showing a gamma correction curve, which is a correction curve for converting the output voltage of the image sensor of the reading unit 1 into a density signal (reflectance to density conversion). The control unit 6 determines the matrix calculated by the matrix calculation unit 9, converts RGB system coordinates, color coordinates (* L * a * b) that can express brightness and chromaticity separately, and color correction color pattern data Hold and control the whole.
[0024]
An operation for calculating the color correction coefficient of the apparatus configured as described above will be described. 4 and 5 are flowcharts of the color correction coefficient calculation operation. As described above, the colors are displayed in the three primary colors R, G, and B, and the hardware of the image processing apparatus performs image processing using the R, G, and B systems. The color can also be expressed by color coordinates (* L * a * b) that can be expressed by separating lightness and chromaticity. Therefore, when calculating the correction coefficient by calculating the color misregistration, the correction coefficient is calculated so as to correct only the difference in chromaticity while keeping the lightness constant. However, since the color misregistration correction coefficient is used for an apparatus that processes in the R, G, B system, it must be expressed in the R, G, B system. Therefore, the color difference calculation is performed in the * L * a * b coordinate system, and the correction coefficient calculation is performed in the R, G, B system coordinate system.
[0025]
In FIG. 4, the control unit 6 converts a plurality of color correction color pattern data (Ri Gi Bi) into the * L * a * b color system and obtains lightness information (* Li). (S1). Here, the color pattern data for color correction is a numerical data representing a reference color pattern used for correction of color misregistration. When this data is output by a reference recording device, it becomes a reference color pattern. . Data obtained by reading the reference color pattern with the reference reading device is color pattern data for color correction. The color misregistration correction coefficient is a value that makes the target device as close as possible to the reference recording device and reading device.
[0026]
The color pattern data for color correction is output from the recording unit 4 (S2), and this is used as an output color pattern. In this case, the image is output without performing processing by the color correction unit 2. The output color pattern is read by the reading unit 1, and smoothing processing is performed to increase the reading accuracy of the color information, and this data is set as Ro Go Bo (S3). The output color patterns shown on the left and right in FIG. Next, in order to obtain lightness information (* L) of the read data Ro Go Bo, it is converted into the * L * a * b color system and (* Lo * ao * bo) is obtained. Here, the lightness information (* Lo) of this data is replaced with the lightness information (* Li) of the original color pattern data for color correction to obtain (* Li * ao * bo) (S4). In the color correction unit, since it is desired to correct only the chromaticity, the brightness information of the read data is replaced with the brightness data of the original color pattern data for color correction.
[0027]
Next, (* Li * ao * bo) obtained in this way is converted again into an RGB signal to obtain (RchGchBch) (S5). This is because the hardware processes color data in the RGB system, and it is necessary to calculate this correction coefficient also in the RGB system. The correction coefficient is represented by the following equation (1) as a 3 × 3 matrix for the three colors R, G, and B.
[0028]
[Expression 1]
Figure 0003761229
[0029]
If the matrix to be obtained is set as shown in the equation (1), the variables are represented by six from a to f. Therefore, the initial value, variation range, and resolution of each variable (that is, a value in units of 0.1 or a value in units of 0.01) are determined (S6). In FIG. 5, (RchGtmp Btmp) is calculated by multiplying (RchGchBch) by a matrix in which variables a to f are set to certain values according to the following equation (2) (S7).
[0030]
[Expression 2]
Figure 0003761229
[0031]
After the matrix becomes a correction matrix that minimizes color misregistration, (RchGchBch) in equation (2) represents data before correction, and (Rtmp Gtmp Btmp) represents data after correction. Next, (Rtmp Gtmp Btmp) obtained is converted again into * L * a * b coordinates to obtain (* Ltmp * atmp * btmp) (S8). The error between this data and the reference color pattern data for color correction (* Li * ai * bi) is calculated for each color, and the total ΔE of the errors is obtained by the equation (3) (S9).
[0032]
[Equation 3]
Figure 0003761229
[0033]
In Formula (3), A ^ 2 represents the square of A, and A ^ 1/2 represents A squared (square). Each time the matrix variables a to f are changed within the variation range, the sum is calculated (S11), and the steps S7 to S10 and S11 are repeated to calculate all the sums within the matrix coefficient variation range (S10). ), Variables a to f of the transformation matrix that minimize the total error ΔE. This matrix is a correction coefficient for both the reading unit 1 and the recording unit 4, that is, a color correction coefficient during the copying operation.
[0034]
In the above description, the color correction coefficient is calculated by the method of least squares. However, with this method, if the resolution is set small, the calculation time becomes extremely long. For example, if the range of each variable a to f is set to −2.0 to +2.0 and the resolution is set to 0.01 unit, it is necessary to calculate S7 to S9 according to the sixth power of 401. It takes a very long time. Therefore, a method for calculating in a short time will be described.
[0035]
First, do not calculate with a final resolution of 0.01 from the beginning. First, each variable is roughly decomposed (for example, 0.5 units), and the least square method is used. A matrix M12 that becomes smaller is calculated (S12). Within the range of the variables a to f determined by the matrices M11 and M12, the resolution is set slightly finer (for example, 0.2 unit) (S14), and again the matrix M21 having the smallest ΔE and the matrix M22 having the second smallest value. Are calculated (S7 to S12). In this way, the process is performed a plurality of times (n times) until the value of each variable reaches the final resolution (for example, 0.01) (S13), the matrix Mn1 having the smallest ΔE is calculated, and this is used as the color correction coefficient ( S15). Thereby, an optimum color correction coefficient can be obtained in a short time.
[0036]
According to the above method, the color correction coefficient at the time of the copy operation (color misregistration caused by both the reading unit 1 and the recording unit 4 occurs) is obtained in the form of a matrix (T −1 shown in the equation (1)). When transmitting, only the color correction coefficient of the reading unit 1 is required, and when receiving, the color correction coefficient of only the recording unit 4 is required. Therefore, it is necessary to obtain these separately. Note that the color correction coefficient of both the reading unit 1 and the recording unit 4 (that is, at the time of copying) is T −1 , the color correction coefficient of the reading unit 1 alone is R −1 , and the color correction coefficient of the recording unit 4 alone is W −. If it is 1 , the following equation (4) is established.
T −1 = W −1 × R −1 (4)
For this reason, if one of R -1 and W -1 is obtained, the other can also be obtained from the previously obtained T -1 .
[0037]
In order to obtain the color correction coefficient of only the reading unit 1, a plurality of color correction color patterns and color correction color pattern data read by the reading device serving as a reference for the color correction color patterns are prepared. Is read into the control unit 6 in advance. Next, the prepared color correction color pattern is read by the reading unit 1, and the reading correction matrix R − that minimizes the error between the read data and the color correction color pattern data read by the control unit 6. 1 is calculated by the least square method. If R -1 is obtained, the recording correction matrix W -1 can be obtained by the following equation (5).
W −1 = T −1 × [R −1 ] −1 (5)
[0038]
As described above, the color correction coefficient at the time of copying, transmission, and reception can be calculated. As another method, by using the color correction coefficient R −1 of the reading unit 1 determined at the time of product manufacture and the color correction coefficient W −1 of the recording unit 4, the color correction coefficient T −1 at the time of copying is used ( 5) Calculate the other one from the equation. This is because when either R −1 or W −1 is less deteriorated due to a change with time or the like, it is used continuously, and a color correction coefficient is calculated using the equation (5).
[0039]
With the above method, color correction matrices at the time of copy operation (T −1 ), transmission operation (R −1 ), and reception operation (W −1 ) are obtained and stored in the correction data storage unit 10. Next, a case where a copy operation, a transmission operation, and a reception operation are performed using the color correction coefficient set in this way will be described.
[0040]
During the copying operation, the document read by the reading unit 1 is converted into an electric signal and output to the color correction unit 2. In the color correction unit 2, a signal that is not subjected to the smoothing process by the Sel01 signal and a color correction coefficient (T −1 ) at the time of the copy operation that is selected by the mod01 signal and input from the correction data storage unit 10 Multiplication is performed using equation (2), and the resultant data is output to the image processing unit 3 as color-corrected data. After the image processing unit 3 performs γ correction, binarization processing, and the like, the image is output to the recording unit 4 and printed by the recording unit 4.
[0041]
In the transmission operation, the document read by the reading unit 1 is converted into an electric signal and output to the color correction unit 2. In the color correction unit 2, a signal that is not subjected to the smoothing process by the Sel01 signal and a color correction coefficient (R −1 ) at the time of transmission input from the correction data storage unit 10 selected by the mod01 signal are received by the matrix calculation unit 9. Multiplication is performed using equation (2), and the resultant data is output to the image processing unit 3 as data corrected for color misregistration during reading. The image processing unit 3 performs γ correction and binarization processing, and then outputs to the communication unit 5 and is transmitted to the other side through a line.
[0042]
When receiving, the electrical signal input from the communication unit 5 through the line is input to the color correction unit 2, and the color correction unit 2 selects the signal that is not subjected to the smoothing process with the Sel01 signal and the mod01 signal. The matrix correction unit 9 multiplies the color correction coefficient (W −1 ) stored in the correction data storage unit 10 during the reception operation by using the equation (2) and outputs the result to the image processing unit 3. The image processing unit 3 performs γ correction, binarization processing, etc., and then outputs the result to the recording unit 4, where it is printed out.
[0043]
【The invention's effect】
As is apparent from the above description, the present invention stores color pattern data for color correction, outputs this from the recording means, reads this output by the reading means, and reads the read data and the color correction data. By obtaining a correction coefficient that reduces the difference from the color pattern data, it is possible to obtain the color correction coefficients of both the reading means and the recording means. This calculation uses the method of least squares, but the unit (resolution) of the matrix variable that makes up the color correction coefficient is gradually brought closer to the target value, so that the matrix variable can be determined in a short time and color correction can be performed. A coefficient can be obtained. Further, the color correction coefficient of the reading means can be calculated by reducing the error between the color correction pattern data and the data obtained by reading the color correction pattern by the reading means using the color correction pattern and the color correction pattern data. Further, the color correction coefficient of the recording means can be calculated from the color correction coefficient of the reading means and the color correction coefficients of both the reading means and the recording means.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention. FIG. 2 is a block diagram showing a detailed configuration of a color correction unit, an image processing unit, and a control unit. Color Correction Coefficient Calculation Operation Flow Diagram [FIG. 5] Color Correction Coefficient Calculation Operation Flow Diagram Following FIG. 4 [Explanation of Symbols]
DESCRIPTION OF SYMBOLS 1 Reading part 2 Color correction part 3 Image processing part 4 Recording part 5 Communication part 6 Control part 7 Smoothing process part 8 Selector 9 Matrix calculating part 10 Correction data storage part 11 γ correction part 12 Binarization processing part

Claims (3)

色補正用パターンデータを保持する記憶手段と、前記色補正用パターンデータを読み出し、印刷出力する記録手段と、この印刷出力された色補正用パターンを読み取り、読み取りパターンデータを出力する読取り手段と、この読み取りパターンデータと前記色補正用パターンデータとの色差を小さくする補正データを生成する色補正手段とを備え、前記色補正用パターンデータとして複数の色度データを含むものが用いられ、前記色補正手段は、色補正用パターンデータとこの読み取りパターンデータの各色差の誤差の総和を小さくする色補正マトリックスを最小自乗法で求めるマトリックス演算手段を有することを特徴とするカラー画像通信装置。Storage means for holding color correction pattern data; recording means for reading out the color correction pattern data and printing it out; reading means for reading out the printed color correction pattern and outputting read pattern data; A color correction unit that generates correction data for reducing a color difference between the read pattern data and the color correction pattern data, wherein the color correction pattern data includes a plurality of chromaticity data, and the color The color image communication apparatus characterized in that the correction means has a matrix calculation means for obtaining a color correction matrix for reducing the sum of errors of each color difference between the color correction pattern data and the read pattern data by a least square method . 前記マトリックス演算手段は、マトリックスの各パラメータの変動範囲内で変動する単位を大きな値に設定して色差の誤差の総和が一番小さくなるマトリックスと二番目に小さくなるマトリックスを算出し、これら2つのマトリックスの範囲内で各パラメータの変動する単位をより小さな値に設定し、再度誤差の総和が一番小さくなるマトリックスと二番目に小さくなるマトリックスを算出し、以下同様の演算を繰り返して予め定めた変動する単位での誤差の総和が一番小さくなるマトリックスの各パラメータの値を演算することを特徴とする請求項1記載のカラー画像通信装置。The matrix calculation means sets a unit that varies within the variation range of each parameter of the matrix to a large value, calculates a matrix in which the sum of the color difference errors is the smallest and a matrix that is the second smallest. Set the unit that fluctuates each parameter within the range of the matrix to a smaller value, calculate again the matrix with the smallest sum of errors and the second smallest matrix, and repeat the same operation below to determine in advance 2. The color image communication apparatus according to claim 1 , wherein the values of the parameters of the matrix having the smallest sum of errors in the unit of variation are calculated. 前記マトリックス演算手段は、前記色補正用パターンデータと前記読み取りパターンデータを明度と色度を分離して表す色座標に変換し、読み取りパターンデータについては、明度のデータは前記色補正用パターンデータの明度に置換した後、両データ間の色差の誤差の総和が小さくなるような色補正マトリックスを求めることを特徴とする請求項1記載のカラー画像通信装置。The matrix calculation means converts the color correction pattern data and the read pattern data into color coordinates representing lightness and chromaticity separately, and for the read pattern data, the lightness data is the color correction pattern data. 2. The color image communication apparatus according to claim 1, wherein a color correction matrix is obtained so that a sum of errors of color differences between the two data becomes small after replacement with lightness.
JP30544095A 1995-11-24 1995-11-24 Color image communication device Expired - Fee Related JP3761229B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30544095A JP3761229B2 (en) 1995-11-24 1995-11-24 Color image communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30544095A JP3761229B2 (en) 1995-11-24 1995-11-24 Color image communication device

Publications (2)

Publication Number Publication Date
JPH09149279A JPH09149279A (en) 1997-06-06
JP3761229B2 true JP3761229B2 (en) 2006-03-29

Family

ID=17945171

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30544095A Expired - Fee Related JP3761229B2 (en) 1995-11-24 1995-11-24 Color image communication device

Country Status (1)

Country Link
JP (1) JP3761229B2 (en)

Also Published As

Publication number Publication date
JPH09149279A (en) 1997-06-06

Similar Documents

Publication Publication Date Title
EP0648042B1 (en) Colour reproduction system
EP0653879B1 (en) Method of and system for predicting a colour reproduction image
EP1152598B1 (en) On-line calibration system for a dynamically varying color marking device
EP0706285B1 (en) Image processing apparatus and method therefor
US6320668B1 (en) Color correction apparatus and method in an image system
EP0660590B1 (en) Image reproducing system
JPH0522227B2 (en)
JP4795643B2 (en) Printing preparation method in the pre-printing stage
US6330078B1 (en) Feedback method and apparatus for printing calibration
EP0868074B1 (en) Color image processing device
JPH0983824A (en) Color correction method
US8311321B2 (en) Method of and system for predicting print colors
US8373897B2 (en) Method of and system for predicting print colors
US5982949A (en) Method of and apparatus for predicting image
US6160635A (en) Color conversion method using ordered color signal interpolation
JP3761229B2 (en) Color image communication device
US6522338B1 (en) Method of color matching between color image processing devices, by interpolation of relatively small number of color data sets
JP3243395B2 (en) Gray balance correction method for color image and image processing apparatus
JP3776326B2 (en) How to create a color conversion table
JPS62150252A (en) Device for deciding dot area ratio
US20100110456A1 (en) Method of and apparatus for converting colors
JP3790204B2 (en) Color image processing apparatus and color image processing method
JPH09261492A (en) Color predictive expression preparing device
JPH02214266A (en) Color correction method for color picture signal
JP3243404B2 (en) Color gradation control method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050607

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050620

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050920

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051115

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20051213

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060110

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090120

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100120

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110120

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110120

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120120

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130120

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees