JPH0732460B2 - Color image processor - Google Patents

Color image processor

Info

Publication number
JPH0732460B2
JPH0732460B2 JP58038030A JP3803083A JPH0732460B2 JP H0732460 B2 JPH0732460 B2 JP H0732460B2 JP 58038030 A JP58038030 A JP 58038030A JP 3803083 A JP3803083 A JP 3803083A JP H0732460 B2 JPH0732460 B2 JP H0732460B2
Authority
JP
Japan
Prior art keywords
color
input
unit
image signal
output
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
JP58038030A
Other languages
Japanese (ja)
Other versions
JPS59163979A (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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP58038030A priority Critical patent/JPH0732460B2/en
Publication of JPS59163979A publication Critical patent/JPS59163979A/en
Publication of JPH0732460B2 publication Critical patent/JPH0732460B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/6016Conversion to subtractive colour signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

【発明の詳細な説明】 技術分野 本発明はカラー画像処理装置に関し、さらに詳しく言え
ばカラー濃淡信号に電気的な処理を行い、カラー出力手
段を利用してカラー複写やカラー表示を得ることを可能
にするカラー画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image processing apparatus, and more specifically, it is possible to electrically process a color density signal and obtain a color copy or a color display by using a color output unit. The present invention relates to a color image processing device.

従来技術 近時話題になつているオフイス・オートメーシヨン(O
A)の先駆けとして広く一般に普及している装置として
複写機がある。現在市場にある大多数の複写機は白黒用
であり、カラーは特別な場合を除いてほとんど見られな
い。この主な理由はカラー複写機のコストが高い事もあ
げられるが、これ以外に画質の安定性に欠けている点が
ある。
Conventional technology Office automation (O
As a pioneer of A), there is a copier as a widely used device. The majority of copiers on the market today are for black and white, and colors are rarely seen except in special cases. The main reason for this is that the cost of the color copying machine is high, but other than that, there is a lack of image quality stability.

例えば、白黒の複写機において文字原稿のコピーを取
り、次にそのコピーを原稿としてコピーのコピー(孫コ
ピー)を取つた場合の画質について見ると、孫コピーを
4〜5回くり返しても何とか実用に耐えるコピー品質が
保たれる。一方カラー複写機でカラー文字原稿について
同様の事を行うと、2〜3回で画質の劣化がひどくな
り、しかも色雑音が目立つて来る。すなわち原稿に書か
れた文字の形が変形し色濃度が薄く(または濃く)なる
ばかりでなく、原稿に存在しなかつた色が発生(または
消滅)するようになる。両者の違いは、白黒複写機が中
間調の再現があまり重要でない文書原稿のコピーに適す
る様に作られているのに対して、カラー複写機は中間調
の再現が非常に重要な写真のコピーに適する様に作られ
ているからである。
For example, looking at the image quality when a copy of a text original is made in a black-and-white copying machine, and then the copy is made as a copy (grandchild copy), even if the grandchild copy is repeated 4 to 5 times, it is practically manageable. The copy quality that can withstand is maintained. On the other hand, if the same operation is performed on a color character document with a color copying machine, the image quality is severely deteriorated after a few times, and color noise becomes noticeable. That is, not only is the shape of the characters written on the original deformed and the color density becomes lighter (or darker), but also colors that do not exist on the original are generated (or disappeared). The difference between the two is that a black-and-white copier is made to be suitable for copying document originals in which halftone reproduction is not so important, while a color copier is a copy of a photograph in which halftone reproduction is very important. Because it is made to be suitable for.

白黒複写機で文字原稿の孫コピーを取つても比較的良好
なのは、白黒複写機の階調特性すなわちγ(ガンマ)特
性が立つているからである。第1図に白黒複写機とカラ
ー複写機のγ特性の一例を示す。第1図(A)は白黒複
写機の場合、第1図(B)はカラー複写機の場合のγ特
性を示しており、それぞれ横軸が原稿反射濃度、縦軸が
複写後のコピー反射濃度である。白黒複写機では原稿反
射濃度が中間の場合に、コピーとしては高濃度あるいは
低濃度のどちらかに統一され易い傾向にある事が判る。
カラー複写機のγ特性を変えて白黒複写機の様に特性の
傾きを立たせ事は可能である。しかしその場合複雑な原
稿の色が孫コピーを重ねるとともにしだいに3原色及び
それらの混色の合計6色の内のどれかに収束してしま
う。つまり、微妙な色はその濃度レベルがどんなに濃く
ても保存されない。
It is relatively good to take a grandchild copy of a text original with a black-and-white copying machine because the gradation characteristic of the black-and-white copying machine, that is, γ (gamma) characteristic is established. FIG. 1 shows an example of γ characteristics of a black-and-white copying machine and a color copying machine. 1A shows the γ characteristics in the case of a black-and-white copying machine, and FIG. 1B shows the γ characteristics in the case of a color copying machine. The horizontal axis represents the reflection density of the original, and the vertical axis represents the reflection density of the copy after copying. Is. It can be seen that in a black-and-white copying machine, when the document reflection density is intermediate, the copy tends to be unified into either high density or low density.
It is possible to change the γ characteristic of the color copying machine and make the characteristic tilt like the black and white copying machine. In that case, however, the colors of the complicated original will gradually converge to any one of the total of six primary colors and their mixed colors as the grandchild copies are overlaid. In other words, subtle colors are not preserved no matter how dark their density level is.

また従来の類似技術としては、たとえば白黒の原稿の濃
度レベルの各階調に対して特定の色を対応づけて出力す
る疑似カラー方式がある。階調と色の対応付けにより、
一般にレインボー変換と呼ばれる方式と、医療分野にお
けるコンピユータ・トモグラフイ(CT)画像に好んで用
いられる暖色−寒色変換方式の二方式が特に有名であ
る。しかしこの場合入力画像はモノクロームであり、出
力される色は階調に対して適当に対応付けられたもので
あり、現実には存在しない色が出力される訳である。こ
れら従来の類似技術には入力画像がカラーの場合の従来
例がなかつた。
As a conventional similar technique, for example, there is a pseudo-color method in which a specific color is associated with each gradation of the density level of a black-and-white original and is output. By associating gradation and color,
The two methods, generally called the rainbow conversion, and the warm-cold conversion method, which is favorably used for computer tomography (CT) images in the medical field, are particularly famous. However, in this case, the input image is monochrome, the output color is appropriately associated with the gradation, and a color that does not actually exist is output. None of these conventional similar techniques has a conventional example in which an input image is a color image.

目的 本発明は、上述の事情に鑑みてなされたもので、入力さ
れた画像信号が表す色と、あらかじめ設定した複数の特
定色との相関に応じた色修正を行なうことにより、カラ
ー複写やカラー表示の際の画質を向上させることを目的
とする。
The present invention has been made in view of the above circumstances, and color correction or color copying is performed by performing color correction according to the correlation between a color represented by an input image signal and a plurality of preset specific colors. The purpose is to improve the image quality during display.

実施例 以下図面を利用して本発明の一実施例の説明を行う。第
2図は本発明に係る一実施例のカラー複写機のブロツク
図である。図において、原稿1上のカラー濃淡画像はレ
ンズ2を介して3色色分解用ダイクロイツクミラー3に
達し、ここでイエロー(Y),マゼンタ(M),シアン
(C)の3色の光のスペクトルに分解され、CCD個体撮
像素子4−1,2,3に結像される。更にここでY,M,Cの光ス
ペクトルに対する3本の電気信号に変換され、ビデオア
ンプ5−1,2,3により所定のレベルに増幅された後、A/D
コンバータ6−1,2,3でデジタル値の信号Y,M,Cにそれぞ
れ量子化される。7は信号処理回路で信号Y,M,Cを夫々
信号Y′,M′,C′に変換する。これについては第3図で
更に詳しい説明を行う。10−1,2,3はD/Aコンバータ、8
−1,2,3はそれぞれY,M,Cのインクによるインクジエツト
プリンタヘツド,9は用紙ドラムである。
Embodiment An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a block diagram of a color copying machine according to an embodiment of the present invention. In the figure, a color grayscale image on an original 1 reaches a dichroic mirror 3 for three-color separation via a lens 2, where the spectrum of light of three colors of yellow (Y), magenta (M), and cyan (C) is obtained. And is imaged on the CCD solid-state image pickup elements 4-1, 2, and 3. Further, here, it is converted into three electric signals for the optical spectrums of Y, M and C, and after being amplified to a predetermined level by the video amplifiers 5-1 2 3 and then A / D
The digital signals Y, M and C are quantized by the converters 6-1, 2 and 3, respectively. A signal processing circuit 7 converts the signals Y, M, and C into signals Y ', M', and C ', respectively. This will be described in more detail with reference to FIG. 10-1, 2, 3 are D / A converters, 8
-1,2,3 are ink jet printer heads with Y, M, C inks, and 9 is a paper drum.

イエロー(Y),シアン(C),マゼンタ(M)は青
(B),緑(G),赤(R)との補色関係にあり、Y,M,
CまたはR,G,Bのいずれでもその混色比を変える事によ
り、フルカラー印刷が可能である(RGBは加法混色、YMC
は減法混色に適する)。上述の実施例では、インクジエ
ツトプリンタヘツドは、例えば入力電圧の強弱をインク
粒の大小の関係に直して中間調の記録ができる形式であ
るものとするが、その他デイザ法を用いて中間調を表現
しても良く、また中間調を特定のパターンで表現するド
ツトパターン法を用いても良い。
Yellow (Y), cyan (C), and magenta (M) have a complementary color relationship with blue (B), green (G), and red (R).
Full color printing is possible by changing the color mixture ratio of C or R, G, B (RGB is additive color mixing, YMC
Is suitable for subtractive color mixing). In the above-described embodiment, the ink jet printer head is assumed to be of a type capable of performing halftone recording by correcting the strength of the input voltage depending on the size relationship of the ink particles, but other types of dither method are used to perform halftone printing. It may be expressed, or a dot pattern method for expressing a halftone with a specific pattern may be used.

つまり、実施例のカラー複写機の動作原理は、原稿1を
Y,M,Cに色分解して、これをCCD固体撮像素子4−1,2,3
により電気信号に変換し、途中の信号処理回路7にて独
特のデジタル処理を行つた後、Y,M,Cのインクノズルを
駆動し用紙ドラム9上の用紙にて再び減法混色によるカ
ラー・コピーを得ようとするものである。
That is, the operation principle of the color copying machine of the embodiment is
Color-separated into Y, M, C, and CCD solid-state image sensor 4-1, 2, 3
After that, the signal processing circuit 7 performs a unique digital process on the way, and then the Y, M, and C ink nozzles are driven, and the color copying by subtractive color mixing is performed again on the paper on the paper drum 9. Is what you are trying to get.

第3図は第2図に示した信号処理回路7のさらに詳細な
ブロツク図である。3色の入力画像信号Y,M,およびCは
それぞれ入力信号線71−1,2,3に供給される。72−1か
ら72−7はデジタルカラーバンドパスフイルタで入力カ
ラー信号を7色に分解する。もちろん色の種類は7色に
限らず何色であつても良い。ここでは7色として橙(O
R),赤(R),緑(G),青(B),桃(RK),紫(P
L),黄(Y)を採用しており、この他黒については特
別な色の一種と考えられ類似の処理回路で処理できる。
すなわち、黒(BK)についても、デジタルカラーバンド
パスフイルタを設けることにより、従来の表−1のよう
な色コード99を発生させることができる。また白につい
ては印字しない事によつて原稿の白地で表現する。73は
最大値検出回路であり、上記7色のカラーバンドパスフ
イルタ出力の内、最大のものを選択して出力する。従つ
て信号線77には最大値Mが出力され、また信号線79には
最大値に対するカラーコードPが出力される。74はコン
パレータで前記最大値Mと所定のスライスレベル値Sと
の大小判定を行い、M>Sの時に出力線78のQ信号をハ
イレベル(H)にし、そうでない時にロウレベル(L)
にする。75はカラージエネレータで、その出力線76−1,
2,3にY′,M′及びC′のカラー信号を発生させる。信
号線78がLの時は色が特定されないことを示し白を発生
させる。また信号線78がHの時は信号線79から送られて
来るカラーコード信号Pに従つて種々のカラー信号を発
生する。表−1にはカラーコードPに対するカラー信号
Y′,M′,C′の関係を示す。
FIG. 3 is a more detailed block diagram of the signal processing circuit 7 shown in FIG. The three-color input image signals Y, M, and C are supplied to the input signal lines 71-1, 2, and 3, respectively. Reference numerals 72-1 to 72-7 are digital color band pass filters, and decompose the input color signal into seven colors. Of course, the number of colors is not limited to seven, and any number of colors may be used. Here, the seven colors are orange (O
R), red (R), green (G), blue (B), peach (RK), purple (P
L) and yellow (Y) are used. In addition, black is considered to be one of the special colors and can be processed by a similar processing circuit.
That is, also for black (BK), by providing a digital color bandpass filter, it is possible to generate a color code 99 as shown in Table 1 of the related art. Also, white is represented by the white background of the original because it is not printed. Reference numeral 73 denotes a maximum value detection circuit, which selects and outputs the maximum output from the above seven color band pass filter outputs. Therefore, the maximum value M is output to the signal line 77, and the color code P for the maximum value is output to the signal line 79. Reference numeral 74 is a comparator that determines the magnitude of the maximum value M and a predetermined slice level value S, sets the Q signal of the output line 78 to high level (H) when M> S, and low level (L) otherwise.
To 75 is a color generator, and its output line 76-1,
The color signals of Y ', M'and C'are generated in 2, 3'. When the signal line 78 is L, it indicates that the color is not specified and white is generated. When the signal line 78 is H, various color signals are generated according to the color code signal P sent from the signal line 79. Table 1 shows the relationship between the color signals P'and the color signals Y ', M', and C '.

同表において、y,m及びcは7色プラス白,黒を形成す
るためのイエロー出力Y′,マゼンタ出力M′,及びシ
アン出力C′の割合を決定する係数である。実施例では
出力最大値を63とし、この場合のY′,M′,C′の出力値
が表に記されている。またy=m=c=1の時は黒にな
る様にインクジエツトの絶対感度調節がなされているか
ら、表1に示す様なy,m及びcの相対出力を与える事に
より、出力値Y′,M′,C′が決定され、種々の色を発生
させる事ができる。例えば橙色を印刷する場合は、Y′
が19、M′が12、C′が0となり、これに従つて第2図
のイングジエツトプリンタヘツド8−1,2,3が駆動さ
れ、イエロー,マゼンタ,シアンのインクが紙面上でそ
れぞれ19:12:0割合で混合され、紙面上に橙色が形成さ
れる。
In the table, y, m and c are coefficients that determine the ratio of the yellow output Y ', the magenta output M'and the cyan output C'for forming 7 colors plus white and black. In the embodiment, the maximum output value is 63, and the output values of Y ', M'and C'in this case are shown in the table. Also, since the absolute sensitivity of the ink jet is adjusted so that it becomes black when y = m = c = 1, the output value Y'is obtained by giving the relative outputs of y, m and c as shown in Table 1. , M ', C'are determined, and various colors can be generated. For example, when printing orange, Y '
Is 19, M'is 12, and C'is 0. In accordance with this, the ink jet printer heads 8-1, 2, and 3 in FIG. 2 are driven, and yellow, magenta, and cyan inks are respectively printed on the paper surface. The mixture is mixed at a ratio of 19: 12: 0, and an orange color is formed on the paper surface.

また色調を変えて出力することも容易である。例えば表
−1において、青色のカラーコード06が得られたとき
に、相関させた赤色のカラー信号31,31,0を出力し、ま
た赤色のカラーコード01が得られたときに、相関させた
青色のカラー信号0,31,31を出力すれば良い。こうする
ことによつて赤と青を入れ変えた色調の出力が得られ
る。
It is also easy to change the color tone and output. For example, in Table-1, when the blue color code 06 is obtained, the correlated red color signal 31,31,0 is output, and when the red color code 01 is obtained, the correlation is performed. It suffices to output the blue color signals 0, 31, 31. By doing so, it is possible to obtain the output of the color tone in which red and blue are interchanged.

第3図において具体的に構成素子の1例を示せば、コン
パレータ74はテキサスインスツルメント社製のTTL IC S
N7485を2個、最大値検出回路73も同様のICを複数個組
合せて構成可能である。カラージエネレータ75は富士通
社製バイポーラメモリMB7051を3個用いて容易に構成で
きる。メモリには表−1が示す係数y,m,cに出力の最大
値63を掛けた値の少数点以下を丸めた値Y′,M′,C′を
書き込み、これをカラーコードPで読み出す方法でカラ
ージエネレータを構成できる。デジタルカラーバンドパ
スフイルタ72−1〜72−7については以下第4図を参照
して詳細に説明する。
In FIG. 3, if one example of the constituent elements is specifically shown, the comparator 74 is a TTL IC S manufactured by Texas Instruments Incorporated.
Two N7485s and the maximum value detection circuit 73 can be configured by combining a plurality of similar ICs. The color generator 75 can be easily constructed by using three bipolar memory MB7051 manufactured by Fujitsu. Values Y ', M', and C ', which are obtained by multiplying the coefficients y, m, and c shown in Table-1 by the maximum output value 63, are rounded to the decimal point and read out with the color code P. The method can configure a color generator. The digital color band pass filters 72-1 to 72-7 will be described in detail below with reference to FIG.

第4図は本発明に係るデジタルカラーバンドパスフイル
タの一実施例のブロツク図である。図には第3図の72−
3のデジタルカラーバンドパスフイルタについてのみ示
したが、その他のフイルムも第4図と同様な回路構成で
ある。この回路は入力信号Y,M,Cと出力信号Gとの間
に、次に様な演算をほどこしている。すなわち一般式 ここにYs,Ms及びCsはイエロー、マゼンタ及びシアンの
標準信号値で、各色に対して表−1に示した値y,m,cに
カラー信号の出力最大値63を乗じて得る。たとえば緑の
(1)式の左辺CFをGに置き変え、イエロー(Y)とシ
アン(C)が共に0.5でマゼンタ(M)が0であるか
ら、Ys,Ms及びCsはそれぞれ31,0,31となる。(1)式は
入力カラー信号Y,M,Cと標準カラー信号Ys,Ms,Csとの相
関を求めるためのものであり、相関が最大(すなわち同
一色と判定した場合)の時にCF=1となり、また相関が
少なくなるに従つてCF=0に漸近する。
FIG. 4 is a block diagram of an embodiment of the digital color bandpass filter according to the present invention. The figure shows 72-
Although only the digital color band pass filter No. 3 is shown, the other films have the same circuit configuration as in FIG. This circuit performs the following operations between the input signals Y, M, C and the output signal G. That is, the general formula Here, Ys, Ms, and Cs are standard signal values of yellow, magenta, and cyan, and are obtained by multiplying the values y, m, and c shown in Table 1 for each color by the maximum output value 63 of the color signal. For example, the CF on the left side of the green expression (1) is replaced with G, and since both yellow (Y) and cyan (C) are 0.5 and magenta (M) is 0, Ys, Ms and Cs are 31,0, respectively. 31. Formula (1) is for obtaining the correlation between the input color signals Y, M, C and the standard color signals Ys, Ms, Cs, and CF = 1 when the correlation is maximum (that is, when the same color is determined). , And as the correlation decreases, it approaches CF = 0.

第4図において、101,104,105,106,113,114及び115は乗
算器、102,103,116,117,118及び121は逆数器、107,108,
及び109は減算器、119及び120は加算器、110,111及び11
2は絶対値演算器である。図中破線122で囲んだ部分は正
規化回路である。Y,M,CとYs,Ms,Csの比較をする前にこ
こで入力Y,M,Cの振幅を正規化する。ここでは先ずYの
振幅をYsに等しくするような処理をしている。つまりYs
の逆数1/Ysを逆数器102で求め、乗算器101で入力Yと乗
ずる事によりY/Ysを得る。この値の逆数Ys/Yを逆数器10
3で求め乗算器104でもとの入力Yと掛ける事によりYN
得る。従つて正規化出力YNはYsに等しくされる。このと
きYs/Yは正規化係数であり、これを乗算器105及び106に
おいてそれぞれ入力M及び入力Cにも乗ずる事によりそ
れぞれ正規化出力MN,CNを得る。以上の演算の結果YN,
MN,CN間の相対的な比率はもとの入力Y,M,Cとかわらない
が、その振幅はYをYsとした場合の大きさに正規化され
ている。次に減算器107,108,109では、それぞれ標準カ
ラー信号Ys,Ms,Csを差し引き、さらに絶対値回路110,11
1,112によつて絶対値出力を得る。イエローについてい
えば乗算器113と逆数器116によつて|YN−Ys|/Ysを得
る。また同様にして114,117及び115,118はマゼンタ、シ
アンについての割り算を実行する。以上求めた結果は加
算器119,120によりその総和が求められる。(1)式中
の右辺分母にある+1の加算は加算器120においてキヤ
リー入力をHにして実行している。最後に逆数器121で
逆数を取り(1)式の演算を実行している。
In FIG. 4, 101, 104, 105, 106, 113, 114 and 115 are multipliers, 102, 103, 116, 117, 118 and 121 are reciprocals, 107, 108,
And 109 are subtractors, 119 and 120 are adders, and 110, 111 and 11
2 is an absolute value calculator. The part surrounded by a broken line 122 in the figure is a normalization circuit. Before comparing Y, M, C and Ys, Ms, Cs, the amplitudes of the inputs Y, M, C are normalized here. Here, first, processing is performed to make the amplitude of Y equal to Ys. That is Ys
The reciprocal 1 / Ys of is obtained by the reciprocal calculator 102, and the multiplier 101 multiplies the input Y to obtain Y / Ys. The reciprocal of this value Ys / Y
Y N is obtained by multiplying the original input Y with the multiplier 104 obtained in step 3. Therefore, the normalized output Y N is made equal to Y s. At this time, Ys / Y is a normalization coefficient, and the multipliers 105 and 106 multiply the inputs M and C, respectively, to obtain the normalization outputs M N and C N , respectively. Result of the above operation Y N ,
The relative ratio between M N and C N is the same as the original input Y, M, and C, but its amplitude is normalized to the size when Y is Ys. Next, in the subtractors 107, 108, and 109, the standard color signals Ys, Ms, and Cs are subtracted, and the absolute value circuits 110, 11
The absolute value output is obtained by 1,112. As for yellow, | Y N −Ys | / Ys is obtained by the multiplier 113 and the reciprocal calculator 116. Similarly, 114, 117 and 115, 118 execute division for magenta and cyan. The results obtained above are summed by adders 119 and 120. The addition of +1 in the denominator on the right side of the equation (1) is executed in the adder 120 with the carrier input at H. Finally, the reciprocal unit 121 takes the reciprocal number and executes the calculation of the equation (1).

第4図構成素子の具体例を示せば、乗算器は米国TRW社
製の8×8ビツト並列乗算器MPY008HJ5C、又は富士通社
製のバイポーラPROMMB7141Hを乗算器に構成する事もで
きる。入力カラー信号Y,M,Cが6Bitであれば、MB7141Hの
アドレス入力A0〜A5に入力Yを印加し、残りのアドレス
入力A6〜A11に1/Ysを印加してデータ出力01〜06から、
予め計算して記憶させたY/Ysの値を直接読み出すことが
できる。PROMを乗算器として用いるメリツトは、価格面
のメリツトもさる事ながら、乗算結果を丸める必要のあ
る時は予め丸め演算をした数値を記憶させておく事によ
り、外付けのゲート回路なしで丸め演算が実行できる点
にある。さらにPROMを用いるメリツトを上げれば、逆数
演算器102,103と乗算器101の機能を1個のPROMで実行さ
せられる事である。つまり入力変数YとYsをアドレス入
力にすればその後の全ての演算結果の最終値Ys/Yは予め
PROM内に記憶させておけば良い。同様にして減算器10
7、絶対値回路110、減算器113、および逆数器116から成
る演算回路は1個のPROM(MB7141H)で実現可能であ
る。この場合のアドレス入力はY,Ysで、データ出力は|Y
N−Ys|/Ysの演算結果である。
FIG. 4 shows a concrete example of the constituent elements. As the multiplier, an 8 × 8 bit parallel multiplier MPY008HJ5C manufactured by TRW, USA or a bipolar PROMMB7141H manufactured by Fujitsu can be used as the multiplier. If the input color signals Y, M and C are 6 bits, input Y is applied to the address inputs A 0 to A 5 of MB7141H and 1 / Ys is applied to the remaining address inputs A 6 to A 11 to output data 0 from 1-0 6,
It is possible to directly read the Y / Ys value calculated and stored in advance. The merit that uses PROM as a multiplier is not only the merit of price, but when the multiplication result needs to be rounded, the rounded value is stored in advance so that the rounding operation can be performed without an external gate circuit. There is a point that can be executed. Further, if the merit of using the PROM is increased, the functions of the reciprocal arithmetic units 102 and 103 and the multiplier 101 can be executed by one PROM. In other words, if the input variables Y and Ys are input to the address, the final value Ys / Y of all subsequent calculation results will be
It should be stored in the PROM. Similarly subtractor 10
An arithmetic circuit including the absolute value circuit 110, the subtractor 113, and the reciprocal calculator 116 can be realized by one PROM (MB7141H). In this case, the address input is Y, Ys and the data output is | Y
N- Ys | / Ys calculation result.

一般に、入力信号のビツト構成がPROMのアドレス線数以
下で、出力信号のビツト構成がPROMのデータ線数以下で
ある論理回路は全てPROMで置き変える事ができる。しか
し普通の論理回路にはPROM出力の時間的不ぞろいによる
グリツジノイズの発生と価格的な問題から使用されな
い。加算器119,120はテキサスインスツルメンツ社のSN7
4LS283を用いて構成できる。また最終段の逆数演算器12
1は富士通社のMB7123Hを用いて構成できる。つまりメモ
リアドレスの0番地には(1)式の右辺分母0の場合を
対応させ、逆数演算の結果は実施例の最大の値63を書き
込む。以下順次アドレスが1増える毎にデータの値が1
ずつ減る内容を書き込んでおけば良い。このようにすれ
ば、分母が0になる割算の計算不能も容易に回避でき
る。絶対値回路110を単独で構成する場合にはMB7123Hを
用いて構成できる。その場合には例えばBit6を符号ビツ
トとして用いる。ところで前述のごとく、YNは結局Ysに
等しくなるのであるから、乗算器104は省略する事も可
能である。
Generally, any logic circuit whose input signal bit configuration is less than the number of PROM address lines and whose output signal bit configuration is less than the number of PROM data lines can be replaced by the PROM. However, it is not used for ordinary logic circuits due to the generation of grid noise due to the time irregularity of PROM output and cost problems. Adders 119 and 120 are Texas Instruments SN7
It can be configured using the 4LS283. Also, the reciprocal calculator 12 at the final stage
1 can be configured using MB7123H from Fujitsu. That is, the address 0 of the memory address corresponds to the case of the denominator 0 on the right side of the expression (1), and the maximum value 63 of the embodiment is written as the result of the reciprocal calculation. The value of the data is incremented by 1 each time the sequential address increases by 1.
Just write down the content that decreases. By doing so, it is possible to easily avoid the incomputability of the division in which the denominator becomes 0. When the absolute value circuit 110 is configured independently, it can be configured using MB7123H. In that case, for example, Bit6 is used as the code bit. By the way, as described above, since Y N eventually becomes equal to Y s, the multiplier 104 can be omitted.

以上の説明から実施例の第4図の回路は PROM 7個 加算器 4個 の合計11個のICで構成できる。よつて7色分のカラーバ
ンドパスフイルタを実用的価格で容易に実現可能であ
る。
From the above description, the circuit of FIG. 4 of the embodiment can be constructed by a total of 11 ICs including 7 PROMs and 4 adders. Therefore, a color band pass filter for seven colors can be easily realized at a practical price.

第3図及び第4図に示す本発明の実施例の構成は、
(1)式に従つての演算を忠実に実行しようとするもの
であるが、上述した如くPROMを上手に用いて回路を小型
化しても7色をさらに越える色検出を実現しようとする
と回路規模が大きくなつてしまう。そこで、いずれ第3
図のコンパレータ74で出力Qが2値化されるのなら、途
中の演算は4Bit程度に落として計算するようにすれば、
第3図及び第4図に示す回路構成の内カラージエネレー
タ75を除く全ての回路を1個のPROM素子に代表させる事
も可能である。その場合のPROMに書き入れるデータはき
わめて複雑なものとなるが、パーソナルコンピユータを
用いてBASIC程度の言語で簡単にプログラムできる。そ
の方法を概説すれば、先ず(1)式の実行プログラムを
サブルーチンとして組み、他に最大値検出のサブルーチ
ン、スライスレベルSによる大小判定のサブルーチンお
よび表−1に示す参照テーブルを作成する。さらに入力
Y,M,Cから出力P,Qを求めるメインプログラムを作成し、
演算結果を保持するRAMエリアを確保してここに入力Y,
M,Cについて計算した結果を順次出力し利用すれば良
い。
The configuration of the embodiment of the present invention shown in FIGS. 3 and 4 is
Although it is intended to faithfully execute the operation according to the equation (1), even if the circuit is downsized by using the PROM skillfully as described above, it is attempted to realize color detection of more than 7 colors. Will grow bigger. Therefore, the third
If the output Q is binarized by the comparator 74 in the figure, if the calculation in the middle is reduced to about 4 bits,
It is also possible to represent all circuits except the color generator 75 in the circuit configuration shown in FIGS. 3 and 4 by one PROM element. In that case, the data to be written to the PROM becomes extremely complicated, but it can be easily programmed in a BASIC-like language using a personal computer. To outline the method, first, the execution program of the formula (1) is assembled as a subroutine, and in addition, a maximum value detection subroutine, a size determination subroutine by the slice level S, and a reference table shown in Table 1 are created. Enter more
Create a main program to obtain output P, Q from Y, M, C,
Secure a RAM area to hold the calculation result and input here Y,
The results calculated for M and C may be sequentially output and used.

また、上述実施例においては、(1)式による色の判定
を行つたが、色の判定を目的とする他の類似式を用いる
ことも可能である。また第3図の実施例では1画素毎に
色の判定を行う場合を示した。他に数画素を平均化して
色判別を行つても良いことは自明である。
Further, in the above-described embodiment, the color determination is performed by the formula (1), but other similar formulas for the purpose of color determination can be used. In the embodiment shown in FIG. 3, the color determination is performed for each pixel. It is obvious that color discrimination may be performed by averaging several pixels.

また上述実施例で最大値検出回路73を用いる場合につい
て述べた。表−1から明らかな如く、7色間において、
カラー信号入力Y,M,Cの割合を判定する係数y,m,cの相関
をみればかなりの違いがあることが解る。従つて複数の
カラーバンドパスフイルタ72−1〜72−7の直後に簡単
なコンパレータ回路を接続しスライスレベルを適当に設
定できる構造にすれば2以上の出力が同時に発生する可
能性は小さいといえる。よつて最大値検出回路73を省略
し、複数コンパレータの出力をデコードする等によつて
カラージエネレータ75をアクセスするところの構成の簡
略化されたカラー画像処理装置も実現可能である。
Further, the case where the maximum value detection circuit 73 is used has been described in the above embodiment. As is clear from Table-1, among the seven colors,
It can be seen that there is a considerable difference when the correlations of the coefficients y, m, and c that determine the ratio of the color signal inputs Y, M, and C are examined. Therefore, if a simple comparator circuit is connected immediately after a plurality of color band pass filters 72-1 to 72-7 so that the slice level can be appropriately set, it can be said that two or more outputs are unlikely to occur simultaneously. . Therefore, the maximum value detection circuit 73 can be omitted, and a color image processing device having a simplified configuration in which the color generator 75 is accessed by decoding the outputs of a plurality of comparators can be realized.

ここで本発明に係る前述実施例のカラー複写機の動作を
要約すると、第2図において原稿1のカラー濃淡画像
は、A/Dコンバータ6−1、6−2、及び6−3までの
処理でそれぞれY,M及びCの3色のデジタルカラー濃淡
信号に分解される。原稿の色が同一なら、例え濃度が違
つてもY,M及びCの大きさの比率は一定のはずである。
そこで信号処理回路7は (1)入力Y,M,C信号が何色を示す組合せであるかの判
定 (2)判定された色のカラー濃度レベル(類似度)と所
定のスライスレベルSとの比較、 (3)スライスレベルSより高い場合には、顕著な色信
号を受信したと見なし、相関する色のカラー信号の発
生、またそうでない場合には例えば白色のカラー信号の
生成を行う。
To summarize the operation of the color copying machine according to the above-described embodiment of the present invention, the color grayscale image of the original 1 in FIG. 2 is processed by the A / D converters 6-1, 6-2 and 6-3. Are separated into three digital color gradation signals of Y, M and C respectively. If the originals have the same color, the ratio of the sizes of Y, M, and C should be constant even if the densities are different.
Therefore, the signal processing circuit 7 (1) determines which combination the input Y, M, C signals indicate (2) the color density level (similarity) of the determined color and the predetermined slice level S Comparison (3) If the level is higher than the slice level S, it is considered that a salient color signal has been received, and a color signal of a correlated color is generated, and otherwise, for example, a white color signal is generated.

そこで分かりやすくするために、ある色のカラー濃度レ
ベルの最高値を100%、最低値を0%と表現し、前記
(2)のスライスレベルSを50%の所に設定すれば、仮
にカラー濃度レベルが60%程度の淡い濃度の原稿でも再
び100%の濃度に変換した鮮明度の高いコピーを得る事
ができる。また逆に原稿にカラー濃度が30%程度の汚れ
がある場合でもそれらは白信号に変換される。つまり実
施例ではコピー印刷されない。よつて少し色が混つた感
じのカラー原稿からもすつきりした見やすいカラーコピ
ーを得る事ができる。更には、たとえば赤、青、緑、紫
等の混在する文字で書かれた文書原稿であつても、その
文字品質を落とさずに孫コピーを得る事ができる。勿論
本発明を多色に構成すれば微妙な色でも(1)式による
処理としきい値判別によつて保存されるからフルカラー
の画像原稿も画質を落とさずにコピーすることができ
る。
Therefore, in order to make it easy to understand, if the maximum value of the color density level of a certain color is expressed as 100% and the minimum value is expressed as 0%, and the slice level S in (2) above is set at 50%, the color density will be temporarily reduced. Even if the original has a light density of about 60%, it is possible to obtain a copy with high definition converted to 100% density again. On the contrary, even if the original has stains with a color density of about 30%, those stains are converted into white signals. That is, the copy printing is not performed in the embodiment. Therefore, it is possible to obtain a smooth and easy-to-read color copy even from a color original having a slightly mixed color. Further, even for a document manuscript written with mixed characters of red, blue, green, purple, etc., a grandchild copy can be obtained without degrading the character quality. Of course, if the present invention is configured in multiple colors, even subtle colors can be saved by the processing according to equation (1) and the threshold determination, so that a full-color image original can be copied without degrading the image quality.

また本発明の特殊な応用としては、たとえば赤い色で書
かれた文字だけを消したり、あるいは青色を黄色に変換
する等種々の色の編集機能が簡単に実行できる。
As a special application of the present invention, various color editing functions such as erasing only characters written in red or converting blue into yellow can be easily executed.

以上述べた如く本発明の実施例によれば、カラー原稿の
濃度に濃淡があつても正規化手段を有するカラーバンド
パスフイルタ手段は極めて良好に入力カラー情報を弁別
することが可能である。よつて濃度のうすい原画像から
も格段に鮮明なるカラーコピーあるいはカラー表示を得
ることができる。
As described above, according to the embodiment of the present invention, the color band pass filter means having the normalizing means can discriminate the input color information very well even if the density of the color original document varies. Therefore, a markedly clear color copy or color display can be obtained even from an original image having a low density.

また本発明によれば、入力色情報弁別後に発生されるカ
ラーコードの信頼性は極めて高いから、逆にカラーコピ
ーやカラー表示の出力濃度を簡単に制御することが可能
となる。しかもこれによる画質の劣化は生じないという
効果がある。
Further, according to the present invention, since the reliability of the color code generated after the discrimination of the input color information is extremely high, on the contrary, it becomes possible to easily control the output density of the color copy or the color display. Moreover, there is an effect that the deterioration of the image quality due to this does not occur.

効果 以上のように、本発明によれば、複数の色成分からなる
画像信号を画素毎に入力する入力手段(実施例では、A/
Dコンバータ6−1〜6−3に対応する)と、前記入力
手段より入力された画像信号を、前記複数の色成分の内
の1色の色成分に基づいて正規化係数を求め、該正規化
係数に応じて前記複数の色成分の画像信号を正規化する
正規化手段(実施例では、正規化回路122)と、前記正
規化手段により正規化された画像信号に基づいて、前記
入力手段より入力された画像信号が表す色と、あらかじ
め設定した複数の特定色との相関を画素毎に抽出する抽
出手段(実施例では、デジタルカラーバンドパスフィル
タ72−1〜72−7)と、前記複数の特定色の内、前記抽
出手段により抽出された相関が最大の特定色を画素毎に
選択する選択手段(実施例では、最大値検出回路73)
と、前記選択された特定色についての相関値と所定のし
きい値とを比較する比較手段(実施例では、コンパレー
タ74)と、前記選択された特定色に対応する色コードを
出力する手段(実施例では、最大値検出回路73)と、前
記比較手段により前記相関値が前記しきい値よりも大き
いと判定された場合、前記色コードによって表される特
定色を発生させ、前記比較手段により前記相関値が前記
しきい値以下と判定された場合、白色を発生させること
により色修正を画素毎に行なう色修正手段(実施例で
は、カラージェネレータ75)と、前記色修正手段により
色修正が施された画像信号を出力する出力手段(実施例
では、D/Aコンバータ10−1〜10−3)とを有すること
により、入力画素の色と特定色との相関値と、所定のし
きい値との関係に応じて、特定色または白色を選択的に
出力することができ、鮮明なカラー画像出力を得ること
ができる。特に、本発明によれば、正規化した画像信号
に基づいて特定色との相関を抽出するので、精度のよい
色修正が可能となる。
Effects As described above, according to the present invention, input means (in the embodiment, A /
Corresponding to the D converters 6-1 to 6-3) and the image signal input from the input means to obtain a normalization coefficient based on a color component of one of the plurality of color components, and the normalization coefficient is calculated. A normalizing means (normalizing circuit 122 in the embodiment) for normalizing the image signals of the plurality of color components according to the normalizing coefficient, and the input means based on the image signal normalized by the normalizing means. Extraction means (in the embodiment, digital color bandpass filters 72-1 to 72-7) for extracting, for each pixel, the correlation between the color represented by the input image signal and a plurality of preset specific colors, and Selection means (maximum value detection circuit 73 in the embodiment) for selecting, for each pixel, a specific color having the maximum correlation extracted by the extraction means from among a plurality of specific colors
And a comparing means (a comparator 74 in the embodiment) for comparing the correlation value for the selected specific color with a predetermined threshold value, and a means for outputting a color code corresponding to the selected specific color ( In the embodiment, the maximum value detection circuit 73), when the correlation value is determined by the comparison means to be larger than the threshold value, the specific color represented by the color code is generated, and the comparison means is used. When it is determined that the correlation value is less than or equal to the threshold value, a color correction unit (color generator 75 in the embodiment) for performing color correction for each pixel by generating white color, and the color correction unit performs color correction. By having the output means (in the embodiment, the D / A converters 10-1 to 10-3) for outputting the applied image signal, the correlation value between the color of the input pixel and the specific color and the predetermined threshold value are provided. Depending on the relationship with the value A specific color or white can be selectively output, and a clear color image output can be obtained. In particular, according to the present invention, since the correlation with the specific color is extracted based on the normalized image signal, accurate color correction can be performed.

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

第1図(A)は白黒複写機の原稿反射濃度対コピー反射
濃度特性、 第1図(B)は従来のカラー複写機の原稿反射濃度対コ
ピー反射濃度特性、 第2図は本発明に係る一実施例のカラー複写機のブロツ
ク図、 第3図は第2図の信号処理回路の更に詳細なブロツク
図、 第4図は第3図のカラーバンドパスフイルタの更に詳細
なブロツク図である。 ここで、1……原稿、2……レンズ、3……ダイクロイ
ツクミラー、4−1,4−2,4−3,……CCD固体撮像素子、
5−1,5−2,5−3……ビデオアンプ、6−1,6−2,6−3
……A/Dコンバータ、7……信号処理回路、8−1,8−2,
8−3……インクジエツトプリンタヘツド、9……用紙
ドラム、10−1,10−2,10−3……D/Aコンバータであ
る。
FIG. 1A is a document reflection density vs. copy reflection density characteristic of a black-and-white copying machine, FIG. 1B is a document reflection density vs. copy reflection density characteristic of a conventional color copying machine, and FIG. 2 is related to the present invention. FIG. 3 is a block diagram of the color copying machine of one embodiment, FIG. 3 is a more detailed block diagram of the signal processing circuit of FIG. 2, and FIG. 4 is a more detailed block diagram of the color band pass filter of FIG. Here, 1 ... manuscript, 2 ... lens, 3 ... dichroic mirror, 4-1, 4-2, 4-3, ... CCD solid-state image sensor,
5-1,5-2,5-3 ... Video amplifier, 6-1, 6-2, 6-3
... A / D converter, 7 ... Signal processing circuit, 8-1,8-2,
8-3 ... Inkjet printer head, 9 ... Paper drum, 10-1, 10-2, 10-3 ... D / A converter.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の色成分からなる画像信号を画素毎に
入力する入力手段と、 前記入力手段より入力された画像信号を、前記複数の色
成分の内の1色の色成分に基づいて正規化係数を求め、
該正規化係数に応じて前記複数の色成分の画像信号を正
規化する正規化手段と、 前記正規化手段により正規化された画像信号に基づい
て、前記入力手段より入力された画像信号が表す色と、
あらかじめ設定した複数の特定色との相関を画素毎に抽
出する抽出手段と、 前記複数の特定色の内、前記抽出手段により抽出された
相関が最大の特定色を画素毎に選択する選択手段と、 前記選択された特定色についての相関値と所定のしきい
値とを比較する比較手段と、 前記選択された特定色に対応する色コードを出力する手
段と、 前記比較手段により前記相関値が前記しきい値よりも大
きいと判定された場合、前記色コードによって表される
特定色を発生させ、前記比較手段により前記相関値が前
記しきい値以下と判定された場合、白色を発生させるこ
とにより色修正を画素毎に行なう色修正手段と、 前記色修正手段により色修正が施された画像信号を出力
する出力手段とを有することを特徴とするカラー画像処
理装置。
1. An input unit for inputting an image signal composed of a plurality of color components for each pixel, and an image signal input from the input unit based on a color component of one color among the plurality of color components. Find the normalization factor,
A normalization unit that normalizes the image signals of the plurality of color components according to the normalization coefficient, and an image signal that is input from the input unit based on the image signal that is normalized by the normalization unit. Color and
Extraction means for extracting the correlation with a plurality of preset specific colors for each pixel, and selection means for selecting, for each pixel, the specific color with the maximum correlation extracted by the extracting means among the plurality of specific colors. A comparison unit that compares a correlation value and a predetermined threshold value for the selected specific color, a unit that outputs a color code corresponding to the selected specific color, and the correlation value by the comparison unit. Generating a specific color represented by the color code when it is determined to be greater than the threshold value, and generating white color when the correlation value is determined to be less than or equal to the threshold value by the comparison means. 2. A color image processing apparatus comprising: a color correction unit that performs color correction for each pixel by means of; and an output unit that outputs an image signal that has been color corrected by the color correction unit.
JP58038030A 1983-03-08 1983-03-08 Color image processor Expired - Lifetime JPH0732460B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58038030A JPH0732460B2 (en) 1983-03-08 1983-03-08 Color image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58038030A JPH0732460B2 (en) 1983-03-08 1983-03-08 Color image processor

Publications (2)

Publication Number Publication Date
JPS59163979A JPS59163979A (en) 1984-09-17
JPH0732460B2 true JPH0732460B2 (en) 1995-04-10

Family

ID=12514153

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58038030A Expired - Lifetime JPH0732460B2 (en) 1983-03-08 1983-03-08 Color image processor

Country Status (1)

Country Link
JP (1) JPH0732460B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2851452C2 (en) * 1978-11-28 1984-01-12 Dr.-Ing. Rudolf Hell Gmbh, 2300 Kiel Method of recognizing colors

Also Published As

Publication number Publication date
JPS59163979A (en) 1984-09-17

Similar Documents

Publication Publication Date Title
US6118547A (en) Image processing method and apparatus
US8259357B2 (en) Image processing apparatus, image forming apparatus, image processing method, and computer readable recording medium
US6192152B1 (en) Image processing apparatus
JP4368833B2 (en) Image processing apparatus, image processing method, image forming apparatus, program, and recording medium
JP3339610B2 (en) Improved method and apparatus for reducing warm in halftone images using gray balance correction
US6125200A (en) Removing non-text information from a color image
JP3309944B2 (en) Improved method and apparatus for performing vivid color correction in a binary printing device
US6108098A (en) Image processing apparatus and method
JPS59163980A (en) Color picture processing device
JPH07254994A (en) Method and device for forming image
US5805295A (en) Image processing apparatus and method for applying special image effects to output images
JPH0732460B2 (en) Color image processor
JPH0716235B2 (en) Color image processor
JP2008306400A (en) Image processing method, image processing device, image forming apparatus, computer program, and record medium
JP2004248103A (en) Image processing device, image reading device, image forming device, image processing method, image processing program, and computer readable record medium recording the same
JP3767210B2 (en) Document type determination device and image processing device
JP2721173B2 (en) How to extract black ink from color information
JP4101741B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP2547746B2 (en) Color image processing method
JP4499685B2 (en) Image processing apparatus, image forming apparatus including the same, image processing method, image processing program, and recording medium
JP3281391B2 (en) Full-color image reproducing apparatus and full-color image reproducing method
JPS63288566A (en) Image processor
JPH01252069A (en) Picture processing method in color picture forming device
JP2003125198A (en) Image processing apparatus and image processing method, and image forming device provided with the same, program, and recording medium
JP2001352456A (en) Image-processing method and image-processing unit, and image-forming device provided with them