JPH07203231A - Color picture processor - Google Patents

Color picture processor

Info

Publication number
JPH07203231A
JPH07203231A JP5337599A JP33759993A JPH07203231A JP H07203231 A JPH07203231 A JP H07203231A JP 5337599 A JP5337599 A JP 5337599A JP 33759993 A JP33759993 A JP 33759993A JP H07203231 A JPH07203231 A JP H07203231A
Authority
JP
Japan
Prior art keywords
color
circuit
function
output
coordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5337599A
Other languages
Japanese (ja)
Inventor
Akiko Sugano
明子 菅野
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 JP5337599A priority Critical patent/JPH07203231A/en
Priority to US08/353,906 priority patent/US6434266B1/en
Publication of JPH07203231A publication Critical patent/JPH07203231A/en
Priority to US10/119,757 priority patent/US6927877B2/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform lots of diversified color processing with a single hardware. CONSTITUTION:A coordinate conversion circuit 40 converts an input picture comprising Rin, Gin, Bin into a color space comprising a hue H, a saturation S and a lightness L and its output is fed to a function conversion circuit 26 via a selection circuit 42. The function conversion circuit 46 is composed of a RAM storing the conversion table realizing the desired function conversion to convert the hue H, the saturation S and the lightness L respectively according to f(H), f(S), f(L). An output of the circuit 46 is applied to a coordinate inverse conversion circuit 52 via a selection circuit 48. The circuit 52 converts an HSL color space into an RGB color space.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、カラー画像処理装置に
関し、より具体的には、例えばディジタル・フルカラー
複写機やコンピュータ上での画像処理ソフトウエアにお
ける色処理に適したカラー画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image processing apparatus, and more particularly to a color image processing apparatus suitable for color processing in image processing software on a digital full-color copying machine or a computer.

【0002】[0002]

【従来の技術】従来、カラー複写機におけるカラー画像
処理装置では、画像の色を変換する機能には、原色画像
の特定色に他の色に変換する色変換処理、複数色の画像
を任意の色の単色画像に変換する単色変換処理、カラー
・バランス調整処理及び画像を色数を減らしてポスター
画のようにするポスタリゼーションがあり、それぞれ独
立な回路で実現されている。
2. Description of the Related Art Conventionally, in a color image processing apparatus in a color copying machine, the function of converting the color of an image has a color conversion process of converting a specific color of a primary color image into another color and an image of a plurality of colors. There are a monochromatic conversion process for converting a color into a monochromatic image, a color balance adjustment process, and a posterization for reducing the number of colors of an image to make it into a poster image, which are realized by independent circuits.

【0003】原色画像中の特定色を他の色に変える色変
換処理では、特定色の判定方法として以下の方法が知ら
れている。なお、同じ色かどうかは、レッド信号R、グ
リーン信号G及びブルー信号Bの比率が一定の許容誤差
範囲内で一致するかどうかにより判定できる。例えば、
R1,G1,B1のうちの最大値M1を選び、他の2色
との比を求め、以下の式に当てはまる画素を同じ色、即
ち特定色であると判断する。例えば、M1=R1の時
は、入力画素信号(R,G,B)に対し、 R×(G1/M1)×α1≦G≦R×(G1/M1)×α2 R×(B1/M1)×β1≦G≦R×(B1/M1)×β2 M1×γ1≦R≦M1×γ2 但し、α1,β1,γ1は1以下、α2,β2,γ2は
1以上であり、これらの設定値により同一色と判定する
許容誤差が決定される。このように同一色と判定した特
定色の画素全部を、色(R2,G2,B2)に置き換え
れば、ベタ濃度の色変換画像が得られる。
In color conversion processing for changing a specific color in a primary color image to another color, the following method is known as a method for determining the specific color. Whether or not the colors are the same can be determined by whether or not the ratios of the red signal R, the green signal G, and the blue signal B match within a certain allowable error range. For example,
The maximum value M1 of R1, G1, and B1 is selected, the ratio with other two colors is calculated, and the pixels that meet the following formula are determined to be the same color, that is, the specific color. For example, when M1 = R1, for input pixel signals (R, G, B), R × (G1 / M1) × α1 ≦ G ≦ R × (G1 / M1) × α2 R × (B1 / M1) × β1 ≦ G ≦ R × (B1 / M1) × β2 M1 × γ1 ≦ R ≦ M1 × γ2 However, α1, β1, γ1 is 1 or less, α2, β2, γ2 is 1 or more, and these setting values are set. The allowable error for determining the same color is determined. By replacing all the pixels of the specific color determined to be the same color with the colors (R2, G2, B2), a color-converted image having a solid density can be obtained.

【0004】また、R2,G2,B2の最大値M2(例
えば、M2=R2)を選び、他の2色との比をとって、
R値を(R1×(R2/M2))、G値をG1×M1、
B値を(B1×(B2/M2))とすることにより、特
定色をその階調を維持して色変換できる。
Further, the maximum value M2 (for example, M2 = R2) of R2, G2 and B2 is selected, and the ratio with the other two colors is taken,
R value is (R1 × (R2 / M2)), G value is G1 × M1,
By setting the B value to (B1 × (B2 / M2)), it is possible to perform color conversion of a specific color while maintaining its gradation.

【0005】複数色の画像を任意の色の単色画像に変換
する単色変換処理では、指定色(R1,G1,B1)を
濃度信号(C1(シアン),M1(マゼンタ),Y1
(イエロー)及びBK1(ブラック))に変換し、その
中の最大値MXを記憶する。入力画像信号(R,G,
B)を濃度信号に変換した信号(C,M,Y)から濃度
を表わす信号ND(NEUTRAL DENCITY)
を下記式に従って算出する。即ち、 ND=(C+M+Y)/3 とする。例えば、MX=C1の場合、注目する画素の濃
度(Co,Mo,Yo,Bko)を、 Co=ND×MX Mo=ND×(M1/MX) Yo=ND×(Y1/MX) Bko=ND×(BK1/MX) とする。これにより、色は同じでも濃度の異なる画像を
得られる。
In the monochromatic conversion process for converting an image of a plurality of colors into a monochromatic image of an arbitrary color, designated colors (R1, G1, B1) are converted into density signals (C1 (cyan), M1 (magenta), Y1).
(Yellow) and BK1 (black)), and the maximum value MX therein is stored. Input image signal (R, G,
A signal ND (NEUTRAL DENCITY) representing the density from the signal (C, M, Y) obtained by converting B) into a density signal.
Is calculated according to the following formula. That is, ND = (C + M + Y) / 3. For example, when MX = C1, the density (Co, Mo, Yo, Bko) of the pixel of interest is: Co = ND × MX Mo = ND × (M1 / MX) Yo = ND × (Y1 / MX) Bko = ND X (BK1 / MX). As a result, images having the same color but different densities can be obtained.

【0006】画像の色味を調整するカラー・バランス調
整では、F値補正テーブルで色毎に持っている補正係数
に、各色で異なるゲイン・オフセットを設定して、各色
が重なったときの色調を調整する。
In color balance adjustment for adjusting the tint of an image, different gains / offsets are set for the respective colors in the F-value correction table for each color, and the color tones when the colors overlap are set. adjust.

【0007】ポスタリゼーションでは、例えばRGB入
力信号の下位6ビットをそれぞれ固定し、各色を4階調
にする。これにより、64色の限定色画像が得られる。
In posterization, for example, the lower 6 bits of the RGB input signal are fixed, and each color has 4 gradations. As a result, a limited color image of 64 colors can be obtained.

【0008】[0008]

【発明が解決しようとする課題】従来例では、各機能が
別個の回路により実現されているので、多くの機能を備
えるほど、回路が大きくなり、コストが上がるという問
題点がある。
In the conventional example, since each function is realized by a separate circuit, the larger the number of functions, the larger the circuit and the higher the cost.

【0009】また、カラー・バランスを一般ユーザが調
整する場合、例えば、R,G,B)系を(C,M,Y,
BK)系に変換し、色成分毎に調整操作する必要があ
り、「もっと明るく」とか、「すこし青っぽく」といっ
た直感的な調整を行なうには長い経験、即ち熟練した技
術が必要であった。
When a general user adjusts the color balance, for example, the R, G, B) system is adjusted to (C, M, Y,
It is necessary to perform the adjustment operation for each color component after conversion to the BK) system, and long experience, that is, skillful technique, is required to perform intuitive adjustment such as “brighter” or “slightly bluish”.

【0010】本発明は、単純な回路構成で上述した及び
その他の種々の機能を実現できるカラー画像処理装置を
提示することを目的とする。
It is an object of the present invention to provide a color image processing device which can realize the above-mentioned various functions with a simple circuit configuration.

【0011】本発明はまた、一般ユーザによる操作が容
易なカラー画像処理装置を提示することを目的とする。
Another object of the present invention is to provide a color image processing apparatus which can be easily operated by general users.

【0012】[0012]

【課題を解決するための手段】本発明に係るカラー画像
処理装置は、3原色で表現される入力画像信号を色相、
彩度及び明度の3座標に変換する座標変換手段と、当該
座標変換手段の出力を、選択自在な所定関数に従い関数
変換する関数変換手段と、当該関数変換手段の出力を3
原色画像信号に逆変換する座標逆変換手段とからなるこ
とを特徴とする。
A color image processing apparatus according to the present invention uses an input image signal represented by three primary colors as a hue,
A coordinate conversion means for converting into three coordinates of saturation and lightness, a function conversion means for converting the output of the coordinate conversion means into a function according to a selectable predetermined function, and an output of the function conversion means for three.
It is characterized by comprising coordinate reverse conversion means for performing reverse conversion into a primary color image signal.

【0013】[0013]

【作用】上記関数変換手段における関数を適宜に選択す
ることにより、多種多様な機能を実現できる。
By properly selecting the function in the function converting means, various functions can be realized.

【0014】[0014]

【実施例】以下、図面を参照して、本発明の実施例を説
明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0015】図1は、本発明の一実施例の概略構成ブロ
ック図を示し、図2は、図1に示す実施例を使用するデ
ィジタル・フルカラー複写機の概略機能ブロック図を示
す。
FIG. 1 shows a schematic block diagram of an embodiment of the present invention, and FIG. 2 shows a schematic functional block diagram of a digital full-color copying machine using the embodiment shown in FIG.

【0016】先ず、図2を説明する。図2は、本実施例
を適用するディジタル・フルカラー複写機を、その処理
の流れに注目した機能ブロックとして示している。10
は原稿からの反射光を色分解して電気信号に変換する3
ラインCCD式ライン・センサ、12はライン・センサ
10のアナログRGB出力信号をディジタル信号に変換
するA/D変換器、14は、A/D変換器12の出力に
対し、ライン・センサの画素ごとの出力ムラや光源の光
量の傾きを補正するシェーディング補正回路、16は、
センサ10のRGB分光特性を標準RGB空間に補正す
る入力マスキング回路である。
First, FIG. 2 will be described. FIG. 2 shows a digital full-color copying machine to which the present embodiment is applied as functional blocks focusing on the flow of processing. 10
Converts the reflected light from the original into an electric signal by color separation 3
Line CCD type line sensor, 12 is an A / D converter for converting an analog RGB output signal of the line sensor 10 into a digital signal, and 14 is an output of the A / D converter 12 for each pixel of the line sensor Shading correction circuit that corrects the output unevenness and the inclination of the light amount of the light source,
An input masking circuit that corrects the RGB spectral characteristics of the sensor 10 into a standard RGB space.

【0017】18は、色関連の各種変換を行なう色処理
回路であり、図1に示す回路構成からなる。20は、標
準RGB空間に分布する画像信号を出力装置(プリン
タ)で再現できる範囲に圧縮する色空間圧縮回路、22
は、RGB系の輝度信号を、シアン(C)、マゼンタ
(M)及びイエロー(Y)からなる濃度信号に変換する
光量/濃度変換回路である。24は、3色濃度信号C,
M,Yをトナーの分光特性にあわせて補正しすると同時
に黒信号BKを生成し、プリンタの記録色に合わせて一
色ずつ面順次に出力する下色除去(UCR)及び出力マ
スキング回路である。
Reference numeral 18 denotes a color processing circuit for performing various color-related conversions, which has the circuit configuration shown in FIG. Reference numeral 20 denotes a color space compression circuit that compresses an image signal distributed in the standard RGB space into a range that can be reproduced by an output device (printer).
Is a light amount / density conversion circuit for converting the RGB luminance signal into a density signal composed of cyan (C), magenta (M), and yellow (Y). 24 is a three-color density signal C,
An undercolor removal (UCR) and output masking circuit that corrects M and Y in accordance with the spectral characteristics of the toner and at the same time generates a black signal BK and outputs the black signal BK one by one in a frame-sequential manner in accordance with the recording color of the printer.

【0018】26は、濃度指定に合わせて濃度値(F
値)を各色ごとに補正するF値補正テーブル、28は、
画像の大きさを変更する変倍回路、30は、画像をエッ
ジ強調し、スムージングする空間フィルタ、32は、接
続するプリンタ34の色味の特性に合わせて、印刷出力
すべき画像信号(空間フィルタ30の出力)を補正する
プリンタ特性補正テーブルである。
26 is a density value (F
F value correction table for correcting (value) for each color, 28 is
A scaling circuit for changing the size of the image, 30 is a spatial filter for edge-enhancing and smoothing the image, 32 is an image signal (spatial filter) to be printed out in accordance with the color characteristics of the connected printer 34. 12 is a printer characteristic correction table for correcting the output (30 output).

【0019】ディジタル・フルカラー複写機では、ライ
ン・センサ10で読み取られた原稿画像は、図2に機能
ブロック12〜32で示す処理を受けてから、プリンタ
34により印刷出力される。
In the digital full-color copying machine, the original image read by the line sensor 10 is processed by the functional blocks 12 to 32 shown in FIG. 2 and then printed out by the printer 34.

【0020】次に、図1を説明する。図1に示す回路
は、図2の色処理回路18として使用される。図1にお
いて、40は、RGB色空間を、色相HUE(H)、彩
度SATURATION(S)及び明度LIGHTNE
SS(L)のHSL色空間に変換する座標変換回路であ
り、入力マスキング回路16の出力信号である入力信号
Rin,Gin,Binに対して出力信号Hin,Si
n,Linを出力する。42は、変換回路40の出力H
in,Sin,Lin、又はCPUバス44(CPUア
ドレス・バス)上のHSL色空間データを選択する選択
回路である。
Next, FIG. 1 will be described. The circuit shown in FIG. 1 is used as the color processing circuit 18 in FIG. In FIG. 1, reference numeral 40 designates an RGB color space as hue HUE (H), saturation SATURATION (S) and lightness LIGHTNE.
This is a coordinate conversion circuit for converting to the SS (L) HSL color space, and the output signals Hin, Si for the input signals Rin, Gin, Bin which are the output signals of the input masking circuit 16.
Output n and Lin. 42 is the output H of the conversion circuit 40
A selection circuit for selecting in, Sin, Lin, or HSL color space data on the CPU bus 44 (CPU address bus).

【0021】46は、選択回路42からの色相(H)、
彩度(S)及び明度(L)の色成分をそれぞれ関数f
(H),f(S),f(L)に従って変換する関数変換
回路である。関数変換回路46は具体的には、関数変換
のテーブルを格納するRAMからなり、入力はそのアド
レス、出力はテーブル値である。
Reference numeral 46 denotes a hue (H) from the selection circuit 42,
The color components of the saturation (S) and the lightness (L) are respectively expressed by the function f.
(H), f (S), f (L) is a function conversion circuit for conversion. Specifically, the function conversion circuit 46 is composed of a RAM that stores a table of function conversion, the input is its address, and the output is a table value.

【0022】48は、関数変換回路46の出力又はCP
Uデータ・バス50上のデータを選択する選択回路、5
2は選択回路48から出力されるHSL色空間の色成分
をRGB色空間に戻す座標逆変換回路である。座標逆変
換回路52の出力Rout,Gout,Boutは、図
2の色空間圧縮回路20に印加される。
48 is the output of the function conversion circuit 46 or CP
Selector circuit for selecting data on the U data bus 50, 5
Reference numeral 2 is a coordinate inverse conversion circuit that returns the color components of the HSL color space output from the selection circuit 48 to the RGB color space. The outputs Rout, Gout, Bout of the coordinate reverse conversion circuit 52 are applied to the color space compression circuit 20 of FIG.

【0023】図3は、座標変換回路40及び座標逆変換
回路52で使用されるHSL色空間の説明図である。公
知の演算により、RGB色空間の各8bitの画像信号
R,G,Bは、H(0°〜360°)、S(8bit)
及びL(8bit)に変換される。座標変換回路40及
び座標逆変換回路52は、スルーに設定できるようにな
っており、関数変換回路46は、RGB画像を変換する
のにも利用できる。
FIG. 3 is an explanatory diagram of the HSL color space used in the coordinate conversion circuit 40 and the coordinate inverse conversion circuit 52. By a known operation, the 8-bit image signals R, G, and B in the RGB color space are converted into H (0 ° to 360 °) and S (8 bit).
And L (8 bits). The coordinate conversion circuit 40 and the coordinate inverse conversion circuit 52 can be set to through, and the function conversion circuit 46 can also be used to convert an RGB image.

【0024】以下のケース(1),(2)を例に、図1
に示す回路で任意色の単色画像を生成する手段を説明す
る。
FIG. 1 shows the following cases (1) and (2) as an example.
Means for generating a monochromatic image of an arbitrary color by the circuit shown in FIG.

【0025】(1) 明度Lを保存し、色相H及び彩度
Sを固定したいとき。
(1) When the lightness L is saved and the hue H and the saturation S are fixed.

【0026】この場合、始めにプリスキャンにより原稿
画像からサンプリングするか、又は登録色中から選択す
ることにより、目的の単色(指定色)の色情報(H0、
S0、L0)を設定し、関数変換回路46に以下の値を
書き込む。
In this case, first, the color information (H0, H0) of the target single color (designated color) is obtained by sampling the original image by prescanning or selecting from the registered colors.
S0, L0) is set, and the following values are written in the function conversion circuit 46.

【0027】f(H)=H0(一定) f(S)=S0(一定) f(L)=L(スルー) Rin,Gin,Binからなる入力画像は、回路4
0,42を通過して関数変換回路46に入力し、関数変
換回路46で、色相H及び彩度を一定値H0,S0に固
定される。関数変換回路46の出力は選択回路48を介
して座標逆変換回路52に印加され、RGB色空間に戻
される。座標逆変換回路52の出力Rput,Gou
t,Boutは、明度は入力のままで、色相及び彩度が
一定値に固定された画像になっている。
F (H) = H0 (constant) f (S) = S0 (constant) f (L) = L (through) The input image composed of Rin, Gin, and Bin is the circuit 4
After passing through 0 and 42, it is input to the function conversion circuit 46, and in the function conversion circuit 46, the hue H and the saturation are fixed to constant values H0 and S0. The output of the function conversion circuit 46 is applied to the coordinate reverse conversion circuit 52 via the selection circuit 48 and returned to the RGB color space. Outputs Rput, Gou of the coordinate reverse transformation circuit 52
In t and Bout, the lightness is still input, and the hue and saturation are images fixed to constant values.

【0028】この変換では、原稿中の「黒」は、変換後
も「黒」のままである。指定色と同じ画素は、変換前後
で同じ色になる。
In this conversion, "black" in the original remains "black" after conversion. The same pixel as the designated color has the same color before and after conversion.

【0029】(2) 明度Lを圧縮し、原稿の「黒」を
「指定色」に対応させる。
(2) The lightness L is compressed so that "black" of the original corresponds to "designated color".

【0030】このときには、関数変換回路46に f(H)=H0(一定) f(S)=S0(一定) f(L)=(L×(255−L0)/255)+L0 を設定する。L0は、圧縮後の最低明度及び圧縮の傾き
を決定する定数である。この変換では、原稿画像中の
「黒」は、最低明度の指定色に変換される。
At this time, f (H) = H0 (constant) f (S) = S0 (constant) f (L) = (L × (255−L0) / 255) + L0 is set in the function conversion circuit 46. L0 is a constant that determines the minimum brightness after compression and the slope of compression. In this conversion, "black" in the original image is converted into the designated color having the lowest lightness.

【0031】なお、色相Hの数値が一定であっても、プ
リンタの特性及び色空間の歪み等により違う色に見える
場合がある。補正関数を考慮した関数f(H),f
(S),f(L)を関数変換回路46に設定すればよ
い。
Even if the value of the hue H is constant, different colors may appear due to the characteristics of the printer and the distortion of the color space. Function f (H), f considering the correction function
(S) and f (L) may be set in the function conversion circuit 46.

【0032】本実施例では、関数変換回路46に設定す
る関数f(H),f(S),f(L)を変更することに
より、例えば、HSLポスタリゼーションも容易に実現
できる。この場合には、 f(H)=int(H/30) f(S)=0 (S=0のとき) =int(S/128) (S≠0) f(L)=int(L/64) を関数変換回路46に設定する。int()は周知の通
り整数を求める関数である。
In this embodiment, by changing the functions f (H), f (S) and f (L) set in the function conversion circuit 46, for example, HSL posterization can be easily realized. In this case, f (H) = int (H / 30) f (S) = 0 (when S = 0) = int (S / 128) (S ≠ 0) f (L) = int (L / 64) is set in the function conversion circuit 46. int () is a function for obtaining an integer, as is well known.

【0033】色相/彩度/コントラスト調整の場合に
は、 f(H)=H+δH f(S)=S+δS f(L)=L+δL とする。δH,δS,δLは、調整用のバイアス又はオ
フセット値である。
In the case of hue / saturation / contrast adjustment, f (H) = H + δH f (S) = S + δS f (L) = L + δL. δH, δS, δL are bias or offset values for adjustment.

【0034】以上の処理の組み合わせは、各処理の関数
の合成関数を用いることで実現できる。その他の処理
も、関数f(H),f(S),f(L)を適宜に設定す
ることで実現できることは明らかである。更に、座標変
換回路40及び座標逆変換回路52をスルーに設定する
ことにより、RGB色空間での、各色の階調を減らすポ
スタリゼーション、及び、色ごとに途中から階調を反転
するソラリゼーションなどの処理も実現できる。
The combination of the above processes can be realized by using a composite function of the functions of the respective processes. It is obvious that other processing can be realized by appropriately setting the functions f (H), f (S), f (L). Further, by setting the coordinate conversion circuit 40 and the coordinate inverse conversion circuit 52 to be through, processing such as posterization for reducing the gradation of each color in the RGB color space and solarization for inverting the gradation from the middle for each color. Can also be realized.

【0035】上記実施例では、RGB色空間からHSL
色空間への座標変換を例にあげているが、色相・彩度・
明度の3座標をもつ座標系は上述の例に限られないの
で、例えば、L*a*B*空間から極座標への変換など
も利用できる。
In the above embodiment, the HSL is converted from the RGB color space.
The coordinate conversion to the color space is taken as an example, but the hue, saturation, and
Since the coordinate system having the three coordinates of lightness is not limited to the above example, for example, conversion from the L * a * B * space to polar coordinates can be used.

【0036】上記各種機能を、1画面内の任意の領域に
設定できるようにするには、指定領域毎に関数変換の関
数を選択できるようにすればよい。図4は、その実施例
の概略構成ブロック図を示す。
In order to be able to set the above-mentioned various functions to an arbitrary area within one screen, it is sufficient to select a function conversion function for each designated area. FIG. 4 shows a schematic block diagram of the embodiment.

【0037】図4において、60は、注目画素が所属す
る領域を示すエリアコード信号AREA、CPUアドレ
ス(アドレス・バス)62又はCPUデータ(データ・
バス)64を選択する選択回路、66は、選択回路60
の出力に従い、関数変換で使用する関数を選択する選択
信号を出力するエリアコードRAMである。エリアコー
ドRAM66には予め、各領域で施す関数変換の関数を
指定するコード(アドレス信号)が格納される。
In FIG. 4, 60 is an area code signal AREA indicating the area to which the pixel of interest belongs, a CPU address (address bus) 62 or CPU data (data.
(Bus) 64 for selecting circuit, 66 for selecting circuit 60
It is an area code RAM that outputs a selection signal for selecting a function to be used in function conversion according to the output of. The area code RAM 66 stores in advance a code (address signal) that specifies a function conversion function to be performed in each area.

【0038】68は座標変換回路40と同様の座標変換
回路、70は、座標変換回路68の出力Hin,Si
n,Lin及びエリアコードRAM66の出力、又は、
CPUバス62(CPUアドレス・バス)上のHSL色
空間データ及びエリアコードRAM66の出力に代わる
データを選択する選択回路である。
68 is a coordinate conversion circuit similar to the coordinate conversion circuit 40, and 70 is outputs Hin, Si of the coordinate conversion circuit 68.
n, Lin and output of area code RAM 66, or
A selection circuit for selecting HSL color space data on the CPU bus 62 (CPU address bus) and data in place of the output of the area code RAM 66.

【0039】72は、選択回路70の選択出力に従い、
エリアコードに応じた関数f(H、AREA),f
(S,AREA),f(L,AREA)で色相(H)、
彩度(S)及び明度(L)の色成分データを関数変換す
る関数変換回路である。74は、関数変換回路72の出
力又はCPUバス(データ・バス)64上のデータを選
択する選択回路、76は選択回路74から出力されるH
SL色空間の色成分をRGB色空間に戻す座標逆変換回
路である。座標逆変換回路76の出力Rout,Gou
t,Boutは、図2の色空間圧縮回路20に印加され
る。
Reference numeral 72 denotes a selection output of the selection circuit 70.
Function f (H, AREA), f according to area code
(S, AREA), f (L, AREA) hue (H),
It is a function conversion circuit that performs function conversion of color component data of saturation (S) and lightness (L). 74 is a selection circuit for selecting the output of the function conversion circuit 72 or data on the CPU bus (data bus) 64, and 76 is an H output from the selection circuit 74.
It is a coordinate reverse conversion circuit that returns the color components of the SL color space to the RGB color space. Outputs Rout, Gou of the coordinate reverse conversion circuit 76
t and Bout are applied to the color space compression circuit 20 of FIG.

【0040】図4において、エリアコード信号AREA
は、画像信号に同期し、注目画素が所属する領域を示し
ている。信号AREAは選択回路60を介してエリアコ
ードRAM66に入力する。RAM66には、予め、任
意の指定領域に施される処理コードが書き込まれてお
り、その出力は、関数変換回路72に使用される関数変
換用RAMの上位ビットである。こうして、処理コード
を変えることにより関数変換回路72で使用する変換用
関数を領域毎に切り替えることができ、1画面内で複数
の色処理を任意の領域ごとに適用できる。その他の動作
は、図1と同じであるので、説明を省略する。
In FIG. 4, the area code signal AREA
Indicates an area to which the pixel of interest belongs in synchronization with the image signal. The signal AREA is input to the area code RAM 66 via the selection circuit 60. A processing code to be applied to an arbitrary designated area is written in the RAM 66 in advance, and its output is an upper bit of the function converting RAM used in the function converting circuit 72. In this way, the conversion function used in the function conversion circuit 72 can be switched for each area by changing the processing code, and a plurality of color processes can be applied to each arbitrary area within one screen. Since other operations are the same as those in FIG. 1, description thereof will be omitted.

【0041】図1に示す実施例のHSL座標系では、そ
の特性上、1つのH値を指定しても、S値及びL値によ
り、印刷色がかなり異なる場合がある。図5は、Lと見
た目の色相の一例を示す。この例で、例えば、H=20
0゜のユーザーズ・カラーを設定した場合、薄い(明度
の大きい)方では、「青」を狙ったのに、濃い(明度の
小さい)方ではシアンに近い色に変わったように見えて
しまう。
In the HSL coordinate system of the embodiment shown in FIG. 1, due to its characteristics, even if one H value is designated, the printing color may differ considerably depending on the S value and the L value. FIG. 5 shows an example of an apparent hue of L. In this example, for example, H = 20
When a user's color of 0 ° is set, the lighter (higher lightness) aims for “blue”, but the darker (lower lightness) looks like a color closer to cyan.

【0042】そこで、Lの全範囲でHを変換する場合
(色相変換及びユーザーズカラー)、L変換テーブルを
H補正係数テーブルとして利用し、座標系の特性を補正
するようにするのが望ましい。この機能を実現する色処
理回路18の回路構成を図6に示す。
Therefore, when converting H in the entire range of L (hue conversion and user's color), it is desirable to use the L conversion table as an H correction coefficient table to correct the characteristics of the coordinate system. FIG. 6 shows a circuit configuration of the color processing circuit 18 which realizes this function.

【0043】図6において、80は、注目画素が所属す
る領域を示すエリアコード信号AREA又はCPUアド
レス(アドレス・バス)82を選択する選択回路、86
は、選択回路80の出力に従い、関数変換で使用する関
数を選択する選択信号及び1ビットの補正モード信号を
出力するエリアコードRAMである。エリアコードRA
M86には予め、各領域で施す関数変換の関数を指定す
るコード(アドレス信号)とその領域での補正の有無を
示す補正モード信号が格納される。
In FIG. 6, reference numeral 80 is a selection circuit for selecting the area code signal AREA indicating the area to which the pixel of interest belongs or the CPU address (address bus) 82, and 86.
Is an area code RAM that outputs a selection signal for selecting a function to be used in function conversion and a 1-bit correction mode signal according to the output of the selection circuit 80. Area code RA
In M86, a code (address signal) designating a function conversion function to be applied in each area and a correction mode signal indicating presence / absence of correction in that area are stored in advance.

【0044】88は座標変換回路40と同様の座標変換
回路、90は、選択回路70と同様の選択回路、92は
関数変換回路72と同様の関数変換回路、94は選択回
路74と同様に、関数変換回路92の出力又はCPUバ
ス(データ・バス)84上のデータを選択する選択回路
である。
Reference numeral 88 is a coordinate conversion circuit similar to the coordinate conversion circuit 40, 90 is a selection circuit similar to the selection circuit 70, 92 is a function conversion circuit similar to the function conversion circuit 72, and 94 is similar to the selection circuit 74. A selection circuit for selecting the output of the function conversion circuit 92 or the data on the CPU bus (data bus) 84.

【0045】96は、選択回路94の選択出力の内、H
成分とL成分を演算する演算回路、98は、エリアコー
ドRAM86から出力される補正モード信号に応じて、
選択回路94のH成分出力、S成分出力及びL成分出
力、又は演算回路96の出力、選択回路90のS成分出
力及び選択回路90のL成分出力を選択する選択回路、
100は、選択回路98の出力を、座標逆変換回路76
と同様にHSL色空間からRGB色空間に戻す座標逆変
換回路である。座標逆変換回路100の出力Rout,
Gout,Boutは、図2の色空間圧縮回路20に印
加される。
Reference numeral 96 denotes H out of the selection output of the selection circuit 94.
A calculation circuit for calculating the component and the L component, 98, according to the correction mode signal output from the area code RAM 86,
A selection circuit for selecting the H component output, the S component output, and the L component output of the selection circuit 94, or the output of the arithmetic circuit 96, the S component output of the selection circuit 90, and the L component output of the selection circuit 90,
Reference numeral 100 designates the output of the selection circuit 98 as the coordinate inverse transformation circuit 76.
Similarly to the above, it is a coordinate reverse conversion circuit for returning from the HSL color space to the RGB color space. The output Rout of the coordinate reverse transformation circuit 100,
Gout and Bout are applied to the color space compression circuit 20 of FIG.

【0046】回路88,90,92,94による処理は
図4と同じである。H補正モードとするときには、エリ
アコードRAM86には、関数変換回路92のf(H,
AREA)としてH補正係数テーブルを選択するような
アドレス値を格納しておく。これにより、関数変換回路
92は、H補正モード時に、L成分出力にH補正係数を
出力する。演算回路96は、そのH補正係数をH成分に
演算し、補正されたH信号を出力する。選択回路98は
エリアコードRAM86からの補正モード信号に従い、
演算回路96の出力、選択回路90のS成分出力及び選
択回路90のL成分出力を選択する。この結果、選択回
路98は、S成分及びL成分はそのまま、色相のみを補
正した信号を出力する。このようにして、全明度範囲に
わたって色相を単一にする場合、明度による色の差をよ
り少なくできる。
The processing by the circuits 88, 90, 92 and 94 is the same as in FIG. When the H correction mode is set, the area code RAM 86 stores f (H,
An address value for selecting the H correction coefficient table is stored as AREA). As a result, the function conversion circuit 92 outputs the H correction coefficient to the L component output in the H correction mode. The arithmetic circuit 96 calculates the H correction coefficient into the H component and outputs the corrected H signal. The selection circuit 98 follows the correction mode signal from the area code RAM 86,
The output of the arithmetic circuit 96, the S component output of the selection circuit 90, and the L component output of the selection circuit 90 are selected. As a result, the selection circuit 98 outputs the signal in which only the hue is corrected while the S component and the L component remain unchanged. In this way, when a single hue is used over the entire lightness range, the difference in color due to lightness can be reduced.

【0047】図6に示す実施例では、L変換テーブルと
H補正テーブルを兼用することにより回路規模の低減を
図っているが、色相補正手段がこの構成に限定されな
い。例えば、H変換関数前段に補正回路を設け、明度L
と色相Hを、さらに必要があれば彩度Sを、その関数変
換の前に補正するようにしてもよい。
In the embodiment shown in FIG. 6, the circuit scale is reduced by using the L conversion table and the H correction table in common, but the hue correction means is not limited to this configuration. For example, a correction circuit is provided before the H conversion function, and the brightness L
The hue H and, if necessary, the saturation S may be corrected before the function conversion.

【0048】H補正モード以外では、選択回路98は、
選択回路94のH成分出力、S成分出力及びL成分出力
を選択する。その他の作用効果は、図4と同じである。
In modes other than the H correction mode, the selection circuit 98
The H component output, S component output, and L component output of the selection circuit 94 are selected. Other functions and effects are the same as those in FIG.

【0049】図1に示す実施例では、例えば「赤を青に
する」処理では、図7に示すような変換関数、即ち、変
換テーブルが用いられ、「白」から「黒」に至るまで、
赤に近い色相を持った色すべてが青に変換される。これ
に対して、「真っ赤だけを青にする」という、彩度及び
明度も限定した色処理機能も望まれる。この機能を実現
するには、H,S,Lの各信号値と「特定色」の各信号
値とをウインドウ・コンパレータで比較し、全成分が特
定色から一定距離以内にある場合のみ色変換するように
すればよい。
In the embodiment shown in FIG. 1, for example, in the process of "making red into blue", the conversion function as shown in FIG. 7, that is, the conversion table is used, and from "white" to "black",
All colors with a hue close to red are converted to blue. On the other hand, a color processing function that limits saturation and lightness, that is, "makes only bright red blue" is desired. In order to realize this function, each signal value of H, S, and L is compared with each signal value of "specific color" by a window comparator, and color conversion is performed only when all components are within a certain distance from the specific color. You can do it.

【0050】図8は、色処理回路18としてそのように
構成した実施例の概略構成ブロック図を示す。図1と同
じ構成要素には同じ符号を付してある。図8において、
102,104,106,108,110,112はそ
れぞれ、色相Hの上限値、色相Hの下限値、彩度Sの上
限値、彩度Sの下限値、明度Lの上限値及び明度Lの下
限値を保持するレジスタ、114は、座標変換回路40
から出力されるH,S,L値をレジスタ102〜112
の対応する上限値及び下限値と比較し、全成分が指定範
囲に入っているかどうかを判定する判定回路である。レ
ジスタ102〜112及び判定回路114がウインドウ
・コンパレータを構成する。
FIG. 8 shows a schematic block diagram of an embodiment configured as such as the color processing circuit 18. The same components as those in FIG. 1 are designated by the same reference numerals. In FIG.
Reference numerals 102, 104, 106, 108, 110, and 112 denote the upper limit value of the hue H, the lower limit value of the hue H, the upper limit value of the saturation S, the lower limit value of the saturation S, the upper limit value of the lightness L, and the lower limit value of the lightness L, respectively. A register for holding a value, 114 is a coordinate conversion circuit 40
The H, S, and L values output from the registers 102 to 112
It is a determination circuit that compares with the corresponding upper and lower limit values of to determine whether all the components are within the specified range. The registers 102 to 112 and the determination circuit 114 form a window comparator.

【0051】116は、判定回路114の判定結果に従
い、H,S,Lが全て指定範囲内にあるとき、座標逆変
換回路52のRGB出力を選択し、H,S,Lの1つで
も指定範囲内にないとき、入力Rin,Gin,Bin
を選択する選択回路である。選択回路116の出力が、
Rout,Gout,Boutとして、色処理回路18
の出力となる。
According to the determination result of the determination circuit 114, when H, S and L are all within the designated range, 116 selects the RGB output of the coordinate reverse conversion circuit 52 and designates even one of H, S and L. Input Rin, Gin, Bin when not within the range
Is a selection circuit for selecting. The output of the selection circuit 116 is
The color processing circuit 18 is used as Rout, Gout, and Bout.
Will be output.

【0052】判定回路114は、座標変換回路40から
出力されるH値をレジスタ102,104の上限値及び
下限値と比較し、座標変換回路40から出力されるS値
をレジスタ106,108の上限値及び下限値と比較
し、座標変換回路40から出力されるL値をレジスタ1
10,112の上限値及び下限値と比較する。そして、
H値、S値及びL値の全部が、それらの上限値と下限値
で限定される範囲に入っているとき、判定回路114
は’1’を出力し、一つでもその範囲に入らないときに
は、’0’を出力する。選択回路116は、判定回路1
14の出力が’1’のとき、座標逆変換回路52のRG
B出力を選択し、判定回路114の出力が’0’のと
き、入力Rin,Gin,Binを選択する。
The determination circuit 114 compares the H value output from the coordinate conversion circuit 40 with the upper limit value and the lower limit value of the registers 102 and 104, and the S value output from the coordinate conversion circuit 40 to the upper limit values of the registers 106 and 108. The L value output from the coordinate conversion circuit 40 is compared with the value and the lower limit value to register 1
Compare with the upper and lower limits of 10,112. And
When all of the H value, S value, and L value are within the range limited by the upper limit value and the lower limit value, the determination circuit 114
Outputs "1", and outputs "0" when even one does not fall within the range. The selection circuit 116 is the determination circuit 1
When the output of 14 is "1", RG of the coordinate reverse conversion circuit 52
When the output B is selected and the output of the determination circuit 114 is "0", the inputs Rin, Gin and Bin are selected.

【0053】判定回路114の出力を必要により反転す
ることにより、例えば添削原稿中の赤ペン部分のみを消
す機能(「赤」を指定し、該当する部分を白に置き換え
る)と、赤ペンのみを残す機能(「赤」を指定し、赤以
外の部分を白に置き換える)の両方を選択的に実現でき
る。
By inverting the output of the judgment circuit 114 as necessary, for example, a function of erasing only the red pen portion in the correction original (designating "red" and replacing the corresponding portion with white) and only the red pen It is possible to selectively realize both of the function of leaving (designating "red" and replacing the part other than red with white).

【0054】色変換で「赤」を検出する場合と「白」を
検出する場合とで、レジスタ102〜112の上限値及
び下限値を変更する必要がある。
It is necessary to change the upper limit value and the lower limit value of the registers 102 to 112 depending on whether "red" is detected or "white" is detected by color conversion.

【0055】例えば、「赤(H=0、S=255、L=
128)」検出でレジスタ102〜112により、 −10≦H≦10 255−50≦S≦255+50 128−50≦L≦128+50 が設定されていたとする。同じ設定で「白(H=不定、
S=0、L=255)」を検出しようとすると、本来、
色相が設定できない(即ち、すべてのHを含む)「白」
のうち、たまたまHが設定値に近かったもののみが選択
され、まだらになる。また、Lが50くらいとかなりの
濃度をもつ部分まで選択されてしまう。これを防ぐに
は、「白」に近い値が「特定色」として選択された場
合、例えば H=全範囲(又は範囲指定なし) −10≦S≦10 255−10≦L≦255+10 といったように、ウィンドウ設定を変更する。
For example, "red (H = 0, S = 255, L =
128) ”, it is assumed that the registers 102 to 112 have set −10 ≦ H ≦ 10 255-50 ≦ S ≦ 255 + 50 128-50 ≦ L ≦ 128 + 50. With the same setting, "white (H = undefined,
S = 0, L = 255) ”,
Hue cannot be set (that is, includes all H) "white"
Among them, only those in which H happens to be close to the set value are selected and become mottled. In addition, even L having a density of about 50 is selected. To prevent this, when a value close to “white” is selected as the “specific color”, for example, H = entire range (or no range designation) −10 ≦ S ≦ 10 255-10 ≦ L ≦ 255 + 10. , Change the window settings.

【0056】これに限らず、例えば、明るい色のほうが
暗い色より色の違いが分かりやすい、「青」は「赤」よ
り見た目の色変化が小さい、といった見た目の違いがあ
るので、これらを考慮して、ウインドウの設定値を変更
すると、より見た目に近い特定色を判別できる。
Not limited to this, for example, since there is a difference in appearance that a bright color is easier to understand than a dark color and that “blue” has a smaller change in appearance than “red”, these are taken into consideration. Then, by changing the setting value of the window, it is possible to determine the specific color that is closer to the appearance.

【0057】実際には、図示しないCPUが、予め「特
定色」と「ウインドウ設定値」のテーブルを持ち、ユー
ザの「特定色」指定に応じて自動的にウインドウ設定
値、即ちレジスタ102〜112の保持値を選択する。
Actually, the CPU (not shown) has a table of "specific color" and "window setting value" in advance, and automatically sets the window setting value, that is, the registers 102 to 112 according to the user's "specific color" designation. Select a hold value for.

【0058】印刷物のようなカラー網点原稿に対しウィ
ンドウで特定色判定を行う場合、図9に示すように、網
点に応じて判定結果が点状になり、変換後の色が指定色
と見た目に異なったものになり、画像にがさつきが生じ
たりすることがある。そこで、座標変換前にスムージン
グ回路を設け、R,G,B又はH,S,Lの各値をなま
らせてから色判定を行う。これにより、見た目で同じ色
の部分と判定部分とが一致するようになる。図10は、
その実施例の概略構成ブロック図を示す。図10に示す
実施例は、図8に示す実施例に対して、座標変換回路4
0の後段にスムージング回路118を設けた。また、判
定回路114の判定結果を処理する判定信号処理回路1
20の設け、判定信号処理回路120の出力により、選
択回路116を制御するようにした。選択回路43,4
8は不要なので、削除してある。
When a specific color judgment is made in a window for a color halftone dot original such as a printed matter, as shown in FIG. 9, the judgment result becomes dot-like depending on the halftone dot, and the converted color is the designated color. The appearance may be different, and the image may be rough. Therefore, a smoothing circuit is provided before coordinate conversion, and the R, G, B or H, S, L values are rounded before the color determination. As a result, the portion having the same color and the determination portion are visually matched. Figure 10
The schematic block diagram of the Example is shown. The embodiment shown in FIG. 10 is different from the embodiment shown in FIG. 8 in the coordinate conversion circuit 4.
The smoothing circuit 118 is provided in the subsequent stage of 0. Further, the determination signal processing circuit 1 that processes the determination result of the determination circuit 114
20 is provided and the selection circuit 116 is controlled by the output of the determination signal processing circuit 120. Selection circuits 43 and 4
Since 8 is unnecessary, it has been deleted.

【0059】この実施例では、Rin,Gin,Bin
で表わされる入力画像の解像度は400dpiであると
し、5×5のスムージング回路118は、一般的な印刷
物の網点のスクリーン線数である133〜175dpi
をなまらせる。判定信号処理回路120は、色と色の変
わり目て判定結果がずれた部分を、多数決などにより太
らせ又は細らせる。その他の作用効果は、図8と同じで
ある。
In this embodiment, Rin, Gin, Bin
It is assumed that the resolution of the input image represented by is 400 dpi, and the 5 × 5 smoothing circuit 118 has a screen frequency of 133 to 175 dpi which is the screen frequency of a halftone dot of a general printed matter.
To lick. The determination signal processing circuit 120 thickens or thins a portion where the determination result is deviated due to a change between colors, by a majority vote or the like. Other functions and effects are the same as those in FIG.

【0060】なお、スムージング回路118で、色相信
号Hを処理する部分には、色相信号Hが360゜で一回
転するので、S,Lと共通の積和演算回路に加え、信号
値の実際の距離を計算する前処理回路が設けらる。
In the smoothing circuit 118, where the hue signal H is processed, the hue signal H makes one rotation at 360 °. Therefore, in addition to the product sum calculation circuit common to S and L, the actual value of the signal value is added. A preprocessing circuit for calculating the distance is provided.

【0061】図10に示す実施例では、指定範囲に該当
しない画素については色処理されない画像信号を出力す
る。これにより、スムージング回路118のスムージン
グによる不必要な解像度の低下を防ぐ。また、スムージ
ング回路118によりスムージングした信号を判定回路
114にのみ入力するようにして、スムージングによる
解像度劣化を少なくしてもよい。
In the embodiment shown in FIG. 10, an image signal that is not subjected to color processing is output for pixels that do not fall within the specified range. This prevents unnecessary reduction in resolution due to smoothing of the smoothing circuit 118. Alternatively, the signal smoothed by the smoothing circuit 118 may be input only to the determination circuit 114 to reduce resolution deterioration due to smoothing.

【0062】図10に示す実施例では、HSL信号をス
ムージングしているが、入力RGB信号Rin,Gi
n,BinをそれぞれスムージングしてからHSL信号
に変換し、判定回路114で判定するようにしてもよ
い。
In the embodiment shown in FIG. 10, the HSL signal is smoothed, but the input RGB signals Rin, Gi
Alternatively, n and Bin may be smoothed, converted into HSL signals, and then judged by the judgment circuit 114.

【0063】図2に示す色空間圧縮回路20は、以上に
説明した構成からなる色処理回路18と一体化できるこ
とは明らかである。図11は、色空間圧縮回路20を色
処理回路18に一体化した場合の、色空間を示す図であ
る。プリスキャン時、0°(R)、60°(Y)、12
0°(G)、180°(C)、240°(B)及び30
0°(M)の各色相において、もっとも彩度Sの大きい
信号値をサンプリングする。この値をプリンタ再現可能
色空間の最大値と比較し、プリンタで再現不可能な値が
画像中に含まれる場合には、その色相成分の彩度成分を
圧縮して再現可能にする。
It is obvious that the color space compression circuit 20 shown in FIG. 2 can be integrated with the color processing circuit 18 having the configuration described above. FIG. 11 is a diagram showing a color space when the color space compression circuit 20 is integrated with the color processing circuit 18. 0 ° (R), 60 ° (Y), 12 during prescan
0 ° (G), 180 ° (C), 240 ° (B) and 30
In each hue of 0 ° (M), the signal value with the highest saturation S is sampled. This value is compared with the maximum value of the printer reproducible color space, and if the image contains a value that cannot be reproduced by the printer, the saturation component of the hue component is compressed to be reproducible.

【0064】その後に各色処理機能を実行する際は、プ
リスキャンで求めた色空間圧縮用関数と各処理用の関数
を合成して変換回路46,72,92のRAMに書き込
む。
When each color processing function is executed thereafter, the color space compression function obtained by the prescan and the function for each processing are combined and written in the RAM of the conversion circuits 46, 72 and 92.

【0065】[0065]

【発明の効果】以上の説明から容易に理解できるよう
に、本発明によれば、RGB信号を色相H、彩度S及び
明度Lからなる円柱座標系に変換し、その座標系で各種
の変換処理を行なうことにより、多様な機能が単一のハ
ードウェアで実現できる。また、色の指定が直観的にな
るという利点がある。
As can be easily understood from the above description, according to the present invention, RGB signals are converted into a cylindrical coordinate system having a hue H, a saturation S and a lightness L, and various conversions are performed in the coordinate system. By performing the processing, various functions can be realized with a single hardware. Further, there is an advantage that the color designation becomes intuitive.

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

【図1】 本発明の第1実施例の概略構成ブロック図で
ある。
FIG. 1 is a schematic block diagram of a first embodiment of the present invention.

【図2】 本実施例を利用するディジタル・フルカラー
複写機の画像処理の機能ブロック図である。
FIG. 2 is a functional block diagram of image processing of a digital full-color copying machine using this embodiment.

【図3】 図1に示す実施例で用いるHSL色空間を示
す図である。
FIG. 3 is a diagram showing an HSL color space used in the embodiment shown in FIG.

【図4】 本発明の第2実施例の概略構成ブロック図で
ある。
FIG. 4 is a schematic block diagram of a second embodiment of the present invention.

【図5】 明度による見た目の色の変化例である。FIG. 5 is an example of a change in appearance color according to brightness.

【図6】 本発明の第3実施例の概略構成ブロック図で
ある。
FIG. 6 is a schematic block diagram of a third embodiment of the present invention.

【図7】 「赤を青にする」処理の変換テーブルf
(E),f(S),f(L)の一例である。
[FIG. 7] Conversion table f for the process of “making red into blue”
It is an example of (E), f (S), and f (L).

【図8】 本発明の第4実施例の概略構成ブロック図で
ある。
FIG. 8 is a schematic block diagram of a fourth embodiment of the present invention.

【図9】 カラー網点原稿で特定色を判定する場合の判
定結果の一例である。
FIG. 9 is an example of a determination result when a specific color is determined from a color halftone dot original.

【図10】 本発明の第5実施例の概略構成ブロック図
である。
FIG. 10 is a schematic block diagram of a fifth embodiment of the present invention.

【図11】 色空間を示す図である。FIG. 11 is a diagram showing a color space.

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

10:ライン・センサ 12:A/D変換器 14:シ
ェーディング補正回路 16:入力マスキング回路 18:色処理回路 20:
色空間圧縮回路 22:光量/濃度変換回路 24:下
色除去(UCR)及び出力マスキング回路 26:F値
補正テーブル 28:変倍回路 30:空間フィルタ
32:プリンタ特性補正テーブル 34:プリンタ 4
0:座標変換回路 42:選択回路 44:CPUアド
レス・バス 46:関数変換回路 48:選択回路 5
0:CPUデータ・バス 52:座標逆変換回路 6
0:選択回路 62:CPUアドレス(又はアドレス・
バス) 64:CPUデータ(又はデータ・バス) 6
6:エリアコードRAM 68:座標変換回路 70:
選択回路 72:関数変換回路 74:選択回路 76:座標逆変換回路 80:選択回
路 82:CPUアドレス(又はアドレス・バス) 8
4:CPUバス(データ・バス) 86:エリアコード
RAM 88:座標変換回路 90:選択回路 92:
関数変換回路 94:選択回路 96:演算回路 98:選択回路 1
00:座標逆変換回路 102:色相Hの上限値レジスタ 104:色相Hの下
限値レジスタ 106:彩度Sの上限値レジスタ 10
8:彩度Sの下限値レジスタ 110:明度Lの上限値
レジスタ 112:明度Lの下限値レジスタ 114:
判定回路 116:選択回路 118:スムージング回
路 120:判定信号処理回路
10: Line sensor 12: A / D converter 14: Shading correction circuit 16: Input masking circuit 18: Color processing circuit 20:
Color space compression circuit 22: Light intensity / density conversion circuit 24: Under color removal (UCR) and output masking circuit 26: F value correction table 28: Magnification circuit 30: Spatial filter
32: printer characteristic correction table 34: printer 4
0: Coordinate conversion circuit 42: Selection circuit 44: CPU address bus 46: Function conversion circuit 48: Selection circuit 5
0: CPU data bus 52: Inverse coordinate conversion circuit 6
0: selection circuit 62: CPU address (or address
Bus) 64: CPU data (or data bus) 6
6: Area code RAM 68: Coordinate conversion circuit 70:
Selection circuit 72: Function conversion circuit 74: Selection circuit 76: Inverse coordinate conversion circuit 80: Selection circuit 82: CPU address (or address bus) 8
4: CPU bus (data bus) 86: Area code RAM 88: Coordinate conversion circuit 90: Selection circuit 92:
Function conversion circuit 94: Selection circuit 96: Operation circuit 98: Selection circuit 1
00: Inverse coordinate conversion circuit 102: Hue H upper limit register 104: Hue H lower limit register 106: Saturation S upper limit register 10
8: Lower limit value register of saturation S 110: Upper limit value register of lightness L 112: Lower limit value register of lightness L 114:
Judgment circuit 116: Selection circuit 118: Smoothing circuit 120: Judgment signal processing circuit

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

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 3原色で表現される入力画像信号を色
相、彩度及び明度の3座標に変換する座標変換手段と、
当該座標変換手段の出力を、選択自在な所定関数に従い
関数変換する関数変換手段と、当該関数変換手段の出力
を3原色画像信号に逆変換する座標逆変換手段とからな
ることを特徴とするカラー画像処理装置。
1. Coordinate conversion means for converting an input image signal represented by three primary colors into three coordinates of hue, saturation and lightness,
A color characterized by comprising a function converting means for converting the output of the coordinate converting means into a function according to a selectable predetermined function, and a coordinate reverse converting means for reverse converting the output of the function converting means into three primary color image signals. Image processing device.
【請求項2】 上記座標変換手段及び上記座標逆変換手
段が、スルー手段を有する請求項1に記載のカラー画像
処理装置。
2. The color image processing apparatus according to claim 1, wherein the coordinate conversion means and the coordinate inverse conversion means include through means.
【請求項3】 上記関数変換手段は、複数の指定領域の
各々に対し、適用する関数を選択自在である請求項1又
は2に記載のカラー画像処理装置。
3. The color image processing apparatus according to claim 1, wherein the function conversion means is capable of selecting a function to be applied to each of the plurality of designated areas.
【請求項4】 上記関数変換手段は、ゆがみ補正手段を
具備する請求項1に記載のカラー画像処理装置。
4. The color image processing apparatus according to claim 1, wherein the function conversion unit includes a distortion correction unit.
【請求項5】 更に、上記座標変換手段の出力に従い1
以上の特定色を検出する特定色検出手段を有する請求項
1に記載のカラー画像処理装置。
5. Further, according to the output of the coordinate conversion means, 1
The color image processing apparatus according to claim 1, further comprising a specific color detection unit that detects the specific color.
【請求項6】 更に、上記座標変換手段の出力をスムー
ジングするスムージング手段と、当該スムージング手段
の出力に従い1以上の特定色を検出する特定色検出手段
とを具備する請求項1に記載のカラー画像処理装置。
6. The color image according to claim 1, further comprising smoothing means for smoothing the output of the coordinate conversion means, and specific color detecting means for detecting one or more specific colors according to the output of the smoothing means. Processing equipment.
【請求項7】 更に、上記特定色検出手段の出力から孤
立点を除去する孤立点除去手段を有する請求項6に記載
のカラー画像処理装置。
7. The color image processing apparatus according to claim 6, further comprising an isolated point removing means for removing isolated points from the output of the specific color detecting means.
【請求項8】 上記1以上の特定色が変更自在である請
求項5間多は6に記載のカラー画像処理装置。
8. The color image processing apparatus according to claim 5, wherein the one or more specific colors are changeable.
【請求項9】 上記関数変換手段が、色空間圧縮手段で
ある請求項1に記載のカラー画像処理装置。
9. The color image processing apparatus according to claim 1, wherein the function conversion unit is a color space compression unit.
JP5337599A 1993-12-17 1993-12-28 Color picture processor Pending JPH07203231A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP5337599A JPH07203231A (en) 1993-12-28 1993-12-28 Color picture processor
US08/353,906 US6434266B1 (en) 1993-12-17 1994-12-12 Image processing method and apparatus for converting colors in a color image
US10/119,757 US6927877B2 (en) 1993-12-17 2002-04-11 Image processing method and apparatus for converting colors in a color image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5337599A JPH07203231A (en) 1993-12-28 1993-12-28 Color picture processor

Publications (1)

Publication Number Publication Date
JPH07203231A true JPH07203231A (en) 1995-08-04

Family

ID=18310167

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5337599A Pending JPH07203231A (en) 1993-12-17 1993-12-28 Color picture processor

Country Status (1)

Country Link
JP (1) JPH07203231A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1196369A (en) * 1997-09-19 1999-04-09 Minolta Co Ltd Color characteristic extracting device, color characteristic extracting method and program storage medium
JP2006279961A (en) * 2005-03-29 2006-10-12 Xerox Corp Gray component replacement method
KR100691466B1 (en) * 2004-09-20 2007-03-09 삼성전자주식회사 Apparatus and method for controlling of hue and lightness in image display
JP2007293827A (en) * 2006-03-29 2007-11-08 Fujitsu Ltd Table value converter, and table value conversion and writing method
JP2010062921A (en) * 2008-09-04 2010-03-18 Ricoh Co Ltd Image processing apparatus and method, program, and recording medium
WO2014102428A1 (en) * 2012-12-26 2014-07-03 Universidad De Almeria Method for the automatic interpretation of images for the quantification of nucelar tumour markers

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1196369A (en) * 1997-09-19 1999-04-09 Minolta Co Ltd Color characteristic extracting device, color characteristic extracting method and program storage medium
KR100691466B1 (en) * 2004-09-20 2007-03-09 삼성전자주식회사 Apparatus and method for controlling of hue and lightness in image display
JP2006279961A (en) * 2005-03-29 2006-10-12 Xerox Corp Gray component replacement method
JP4693674B2 (en) * 2005-03-29 2011-06-01 ゼロックス コーポレイション Gray component replacement method
JP2007293827A (en) * 2006-03-29 2007-11-08 Fujitsu Ltd Table value converter, and table value conversion and writing method
JP2010062921A (en) * 2008-09-04 2010-03-18 Ricoh Co Ltd Image processing apparatus and method, program, and recording medium
WO2014102428A1 (en) * 2012-12-26 2014-07-03 Universidad De Almeria Method for the automatic interpretation of images for the quantification of nucelar tumour markers

Similar Documents

Publication Publication Date Title
US6927877B2 (en) Image processing method and apparatus for converting colors in a color image
JP2887158B2 (en) Image processing device
US6023527A (en) Method and system of selecting a color space mapping technique for an output color space
JP3676402B2 (en) Method and apparatus for cascading natural scene images
JPH07322033A (en) Picture-dependent color chroma correction method of natural scene picture in electronic document and its device
JPH09135316A (en) Device and method for processing image
JP2007028336A (en) Apparatus and method for image processing, image forming apparatus, program, and recording medium
JPH0832827A (en) Gradation correction divice for digital image
JPH0723245A (en) Picture processing unit
US5982925A (en) Method of and apparatus for reproducing color for output device
JP2906974B2 (en) Color image processing method and apparatus
JPH07203231A (en) Color picture processor
GB2423663A (en) Colour adjustment by relatively changing two components in a colour space
JPH04335771A (en) Color correcting device
JP3360476B2 (en) Image processing method and apparatus
JP2002325182A (en) Image processing method, image processing unit and image forming device provided with the unit
US5805295A (en) Image processing apparatus and method for applying special image effects to output images
JPH07177366A (en) Color image processor
JP2002218271A (en) Image processor, image formation device and image, processing method
JPH07222012A (en) Color image processor
JPH07273972A (en) Color image processor
JPH07264426A (en) Color image processor
JP2002094826A (en) Image processing unit, image forming unit and method for processing image
JPH08289143A (en) Color image picture quality adjusting device
JP3927426B2 (en) Image processing method, image processing apparatus, and image forming apparatus including the same

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030826