JPH0716235B2 - Color image processor - Google Patents

Color image processor

Info

Publication number
JPH0716235B2
JPH0716235B2 JP58038029A JP3802983A JPH0716235B2 JP H0716235 B2 JPH0716235 B2 JP H0716235B2 JP 58038029 A JP58038029 A JP 58038029A JP 3802983 A JP3802983 A JP 3802983A JP H0716235 B2 JPH0716235 B2 JP H0716235B2
Authority
JP
Japan
Prior art keywords
color
output
input
colors
pixel
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
JP58038029A
Other languages
Japanese (ja)
Other versions
JPS59163978A (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 JP58038029A priority Critical patent/JPH0716235B2/en
Publication of JPS59163978A publication Critical patent/JPS59163978A/en
Publication of JPH0716235B2 publication Critical patent/JPH0716235B2/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)
  • Image 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 to 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
Reference numerals -1, 2 and 3 are ink jet printer heads using Y, M and 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).
Or full color printing is possible by changing the color mixture ratio of 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色として橙(OR),赤
(R),緑(G),青(B),桃(PK),紫(PL),黄
(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. 72-1 to 72
-7 is a digital color bandpass filter that separates 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, seven colors are adopted as orange (OR), red (R), green (G), blue (B), peach (PK), purple (PL), and yellow (Y). It is considered as a kind of special color and can be processed by a similar processing circuit. That is, also for black (BK), the color code 99 as shown in Table 1 described later can be generated by providing the digital color bandpass filter. 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 between the maximum value M and a predetermined slice level value S, and when M> S, sets the Q signal of the output line 78 to high level (H), and otherwise sets it to low level (L). . A color generator 75 generates Y ', M', and C'color signals on its output lines 76-1, 2, and 3. Signal line 78
When L 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 '
, 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 printed on the paper surface at 19 and 19 respectively. : 12: 0 The mixture is mixed at a ratio of 0:12, and an orange color is formed on the paper.

また色調を変えて出力することも容易である。例えば表
−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. The coefficients y, m, c shown in Table 1 are multiplied by the maximum value 63 of the output and rounded down to the decimal point Y ', M', C ', and the color code P is read out. 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. 72-3 in Fig. 3
Although only the digital color band pass filter is shown, the other filters have the same circuit configuration as that shown in FIG. This circuit, between the input signal Y, M, C and the output signal G,
The following calculations are performed. That is, the general formula Here, Y S , M S, and C S 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, replacing CF on the left side of green (1) with G, yellow (Y) and cyan (C) are both 0.5, and magenta (M) is 0, so Y S , M S, and C S are 31 respectively. , 0,31. Formula (1) is for obtaining the correlation between the input color signals Y, M, C and the standard color signals Y S , M S , C S , and when the correlation is maximum (that is, when the same color is determined). CF = 1, 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 Y S , M S , C S , the amplitudes of the inputs Y, M, C are normalized here. Here, first, the processing for making the amplitude of Y equal to Y S is performed. That is Ys
Obtaining the reciprocal 1 / Y S of the reciprocal 102, obtain a Y / Y S by multiplying the input Y in multiplier 101. The reciprocal of this value Y S / Y is reciprocal 10
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, Y S / Y is a normalization coefficient, and the multipliers 105 and 106 also multiply the inputs M and C, respectively, to obtain normalized outputs M N and C N , respectively. Result of the above operation Y N ,
The relative ratio between M N and C N does not change from the original input Y, M and C, but its amplitude is normalized to the size when Y is Y S. Next, in the subtractors 107, 108, and 109, the standard color signals Y S , M S , and C S are subtracted, and the absolute value circuits 110, 11
The absolute value output is obtained by 1,112. As for yellow, | Y N −Y S | / Y S 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)で実現可能であ
る。この場合のアドレス入力はYN,YSで、データ出力は
|YN−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, C are 6 bits, apply the input Y to the address inputs A 0 to A 5 of MB7141H and apply 1 / Y S to the remaining address inputs A 6 to A 11 to output the data. From 0 1 to 0 6 ,
It is possible to directly read the Y / Y S 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 Y S are input as addresses, the final values Y S / 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 N , Y S , and the data output is the operation result of | Y N −Y S | / Y S.

一般に、入力信号のビツト構成が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 properly using the PROM 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 sub-routine, and in addition, a maximum value detection sub-routine, a size determination sub-routine 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 equation (1), but other similar equations 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, in the above embodiment, the case where the maximum value detection circuit 73 is used has been described. As is clear from Table-1, it can be seen that there is a considerable difference among the seven colors by looking at the correlation of the coefficients y, m, and c for judging the ratio of the color signal inputs Y, M, and C. 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 set appropriately, 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 of colors the input Y, M, C signals indicate (2) compares the color density level of the determined color with a predetermined slice level S, (3) If it is higher than the slice level S, it is considered that a significant color signal has been received, and a color signal of a correlated color is generated, and otherwise, 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 can be easily executed, for example, only characters written in red color are converted into a white background and erased, or blue is converted into yellow.

以上述べた如く本発明の実施例によれば、原稿の複写の
複写を繰り返しても色の鮮明度を失わず、さらには色雑
音の混入をも防ぎ、極めて良好な画質のカラーコピーを
得ることができる。また本発明によれば原稿からその色
調を変えたコピーあるいは表示を得ることも容易に可能
である。従つて高度な色編集機能をも有するようなカラ
ー画像処理装置を容易に実現できる。
As described above, according to the embodiments of the present invention, it is possible to obtain a color copy having an extremely good image quality without losing the color clarity even when the copying of the original document is repeated and preventing the mixing of color noise. You can Further, according to the present invention, it is possible to easily obtain a copy or display in which the color tone is changed from the original. Therefore, a color image processing apparatus having an advanced color editing function can be easily realized.

効果 以上のように、本発明によれば、画像信号を画素毎に入
力する入力手段(実施例では、A/Dコンバータ6−1〜
6−3に対応する)と、前記入力手段より入力された画
像信号が表す色と、あらかじめ設定した複数の特定色と
の相関を画素毎に抽出する抽出手段(実施例では、デジ
タルカラーバンドパスフィルタ72-1〜72-7)と、前記複
数の特定色の内、前記抽出手段により抽出された相関が
最大の特定色を画素毎に選択する選択手段(実施例で
は、最大値検出回路73)と、前記選択された特定色につ
いての相関値と所定のしきい値とを比較する比較手段
(実施例では、コンパレータ74)と、前記選択された特
定色に対応する色コードを出力する手段(実施例では、
最大値検出回路73)と、前記比較手段により前記相関値
が前記しきい値よりも大きいと判定された場合、前記色
コードによって表される特定色を発生させ、前記比較手
段により前記相関値が前記しきい値以下と判定された場
合、白色を発生させることにより色修正を画素毎に行な
う色修正手段(実施例では、カラージェネレータ75)
と、前記色修正手段により色修正が施された画像信号を
出力する出力手段(実施例では、D/Aコンバータ10-1〜1
0-3)とを有することにより、入力画素の色と特定色と
の相関値と、所定のしきい値との関係に応じて、特定色
または白色を選択的に出力することができ、鮮明なカラ
ー画像出力を得ることができる。
Effects As described above, according to the present invention, input means (in the embodiment, A / D converters 6-1 to 6-1) for inputting an image signal for each pixel is used.
6-3) and a color represented by the image signal input from the input unit and a plurality of preset specific colors are extracted for each pixel (in the embodiment, a digital color bandpass). Filters 72-1 to 72-7) and a selection unit (in the embodiment, a maximum value detection circuit 73) for selecting, for each pixel, a specific color having the maximum correlation extracted by the extraction unit among the plurality of specific colors. ), Comparing means for comparing a correlation value for the selected specific color with a predetermined threshold value (comparator 74 in the embodiment), and means for outputting a color code corresponding to the selected specific color. (In the example,
Maximum value detection circuit 73), when it is determined by the comparison means that the correlation value is larger than the threshold value, a specific color represented by the color code is generated, and the correlation value is calculated by the comparison means. If it is determined that the value is less than or equal to the threshold value, color correction means for performing color correction for each pixel by generating white color (color generator 75 in the embodiment).
And output means for outputting the image signal color-corrected by the color correction means (in the embodiment, the D / A converters 10-1 to 10-1
0-3), it is possible to selectively output a specific color or white according to the relationship between the correlation value between the color of the input pixel and the specific color and a predetermined threshold value. It is possible to obtain various color image outputs.

【図面の簡単な説明】[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.

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

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】画像信号を画素毎に入力する入力手段と、 前記入力手段より入力された画像信号が表す色と、あら
かじめ設定した複数の特定色との相関を画素毎に抽出す
る抽出手段と、 前記複数の特定色の内、前記抽出手段により抽出された
相関が最大の特定色を画素毎に選択する選択手段と、 前記選択された特定色についての相関値と所定のしきい
値とを比較する比較手段と、 前記選択された特定色に対応する色コードを出力する手
段と、 前記比較手段により前記相関値が前記しきい値よりも大
きいと判定された場合、前記色コードによって表される
特定色を発生させ、前記比較手段により前記相関値が前
記しきい値以下と判定された場合、白色を発生させるこ
とにより色修正を画素毎に行なう色修正手段と、 前記色修正手段により色修正が施された画像信号を出力
する出力手段とを有することを特徴とするカラー画像処
理装置。
1. Input means for inputting an image signal for each pixel; extraction means for extracting, for each pixel, a correlation between a color represented by the image signal input by the input means and a plurality of preset specific colors. A selection unit that selects, for each pixel, a specific color having the maximum correlation extracted by the extraction unit among the plurality of specific colors, and a correlation value and a predetermined threshold value for the selected specific color. Comparing means for comparing, means for outputting a color code corresponding to the selected specific color, and if the correlation value is determined by the comparing means to be larger than the threshold value, represented by the color code. When the correlation value is determined to be less than or equal to the threshold value by the comparison means, a color correction means for performing color correction for each pixel by generating white color; Osamu Color image processing apparatus characterized by an output means for outputting an image signal is applied.
JP58038029A 1983-03-08 1983-03-08 Color image processor Expired - Lifetime JPH0716235B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
JPS59163978A JPS59163978A (en) 1984-09-17
JPH0716235B2 true JPH0716235B2 (en) 1995-02-22

Family

ID=12514126

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH0716235B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11595242B2 (en) 2011-07-11 2023-02-28 Board Of Regents Of The University Of Nebraska Robotic surgical devices, systems and related methods

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11595242B2 (en) 2011-07-11 2023-02-28 Board Of Regents Of The University Of Nebraska Robotic surgical devices, systems and related methods

Also Published As

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

Similar Documents

Publication Publication Date Title
US6118547A (en) Image processing method and apparatus
JP4331159B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium therefor
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
JP2008227759A (en) Image processing device, image forming device, image processing method, image processing program, and computer readable recording medium
JP2003209708A (en) Image processing method, image processor, image forming device, program, and recording medium
JP3309944B2 (en) Improved method and apparatus for performing vivid color correction in a binary printing device
JPH11238130A (en) Removal of non-text information from color image
US7072072B1 (en) Color rendering optimized for text and line art
JPH07254994A (en) Method and device for forming image
US5805295A (en) Image processing apparatus and method for applying special image effects to output images
JPH0716235B2 (en) Color image processor
JPH0732460B2 (en) Color image processor
JP2008306400A (en) Image processing method, image processing device, image forming apparatus, computer program, and record medium
JP2003264701A (en) Image processing method, image processor and image forming device provided with the same
JP2721173B2 (en) How to extract black ink from color information
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
JP4101741B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP2002314827A (en) Image processing method, image processing device, image forming device equipped therewith, image processing program, and recording medium
JP4499685B2 (en) Image processing apparatus, image forming apparatus including the same, image processing method, image processing program, and recording medium
JPS63288566A (en) Image processor
JPH01252069A (en) Picture processing method in color picture forming device
JP2003224718A (en) Image processing method and image processor
JPH0654179A (en) Image processor