JPH10224648A - Picture processor and picture processing method - Google Patents

Picture processor and picture processing method

Info

Publication number
JPH10224648A
JPH10224648A JP9025172A JP2517297A JPH10224648A JP H10224648 A JPH10224648 A JP H10224648A JP 9025172 A JP9025172 A JP 9025172A JP 2517297 A JP2517297 A JP 2517297A JP H10224648 A JPH10224648 A JP H10224648A
Authority
JP
Japan
Prior art keywords
color
attribute
image processing
tables
image
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.)
Withdrawn
Application number
JP9025172A
Other languages
Japanese (ja)
Inventor
Kenichi Ota
健一 太田
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 JP9025172A priority Critical patent/JPH10224648A/en
Publication of JPH10224648A publication Critical patent/JPH10224648A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize a picture processing corresponding to the attribute of an input picture through the use of a look up table in few memory areas by varying the number of bits in a high-order bit signal addressing the look up table. SOLUTION: In a color signal processing block 12-1, an input signal is divided into high-order bit signals Ru1, Gu1 and Bu1 and low-order bit signals 54-1Rl1, Gl1 and Bl1 of respective colors in a bit division circuit 52-1. The high-order bit signal 3-1 is inputted as the address signal of the look up table LUT1 (55-1) storing grid point data. An output value (57-1) stored in the table, which corresponds to the high-order bit signal 53-1, is read. A product sum arithmetic circuit (59-1) generates a first output signal C1 by using the output signal value 57-1 and a weight coefficient 58-1 and it is transmitted to an interpolation circuit. Blocks 12-2 and 12-3 are similarly processed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像の属性を考慮
して、テーブルを用いて画像処理する画像処理装置及び
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and method for performing image processing using a table in consideration of image attributes.

【0002】[0002]

【従来の技術】従来、この種の装置としては図8のよう
なものがある。これは原稿画像をR、G、B3色に色分
解し、これを減法混色の3原色であるC、M、Y信号に
変換しインクジェットプリンターなどで印字出力させカ
ラーの複製画像を得ようとするものである。
2. Description of the Related Art Conventionally, there is an apparatus of this type as shown in FIG. In this method, an original image is separated into three colors of R, G, and B, and these are converted into C, M, and Y signals, which are three primary colors of subtractive color mixture, and are printed out by an inkjet printer or the like to obtain a color duplicate image. Things.

【0003】図の信号処理回路101、102、103
で入力3原色信号R、G、Bから出力色信号C、M、Y
を個別に生成する。
The signal processing circuits 101, 102, 103 shown in FIG.
From the input three primary color signals R, G, B to the output color signals C, M, Y
Are generated individually.

【0004】例えばR、G、BからC、M、Y信号を生
成するには、101、102、103ではそれぞれ次式
のようないわゆるマスキング演算が実行される。
For example, in order to generate C, M, and Y signals from R, G, and B, so-called masking operations are performed at 101, 102, and 103, respectively, as in the following equations.

【0005】 101:C=A11×R+A12×G+A13×B 102:M=A21×R+A22×G+A23×B 103:Y=A31×R+A32×G+A33×B ここでAijは出力デバイスの特性に応じて決められる係
数である。
[0005] 101: C = A 11 × R + A 12 × G + A 13 × B 102: M = A 21 × R + A 22 × G + A 23 × B 103: Y = A 31 × R + A 32 × G + A 33 × B where A ij is The coefficient is determined according to the characteristics of the output device.

【0006】また他の従来例としては信号処理回路10
1、102、103で上のような積和演算を行うのでは
なく、あらかじめ演算結果をテーブルメモリーに記憶し
ておき、入力されるR、G、B信号値に対しその演算結
果をテーブルから読み出し出力するという方式も考えら
れている。しかしこの場合入力信号が各色8ビットで表
現されているとすると224アドレス(すなわち1600
万以上)の記憶領域が必要となり現実的ではない。
Another conventional example is a signal processing circuit 10.
Rather than performing the product-sum operation as described above at 1, 102, and 103, the operation result is stored in a table memory in advance, and the operation result is read from the table for the input R, G, and B signal values. An output method is also being considered. However, in this case, if the input signal is represented by 8 bits for each color, 2 24 addresses (that is, 1600 addresses)
), Which is not practical.

【0007】そこでさらに他の従来例として図9に示す
ようなものがある。これは入力R、G、B信号を上位ビ
ットデータ111と下位ビットデータ112に分割し、
テーブルメモリー113には上位ビットに対する演算結
果のみを記憶しておき、この上位ビットデータに対する
出力値114を下位ビットデータで線形補間(115)
して最終出力信号116を求めるというものである。こ
うすることによりテーブルメモリーの記憶領域は上位ビ
ットのビット数で必要となるアドレスだけ持っていれば
良いことになり、例えば上位ビットして各色3ビットす
れば29アドレス(すなわち512アドレス)の記憶領
域だけあれば良いということになり記憶領域を大幅に減
らすことが可能になる。
Therefore, there is another conventional example shown in FIG. This divides the input R, G, B signals into upper bit data 111 and lower bit data 112,
The table memory 113 stores only the operation result for the upper bit, and the output value 114 for the upper bit data is linearly interpolated with the lower bit data (115).
Thus, a final output signal 116 is obtained. The table storage memory by doing this will be sufficient if only have addresses that are required by the number of bits of the upper bits, for example, upper bit and stored for each color 3 bit them if 2 9 address (i.e. 512 address) This means that only the area is sufficient, and the storage area can be significantly reduced.

【0008】[0008]

【発明が解決しようとする課題】以上説明した従来例に
おいて、R,G,Bといった3色で表現された入力色分
解信号を所定の演算式に従って出力色信号に変換するも
のであるが、一般にここで必要とされる演算式は入力さ
れる画像全体の属性により最適な値が異なり、任意の入
力信号に対して一律の演算式を適用することには不都合
がある。
In the prior art described above, an input color separation signal represented by three colors of R, G, and B is converted into an output color signal in accordance with a predetermined arithmetic expression. The optimum value of the arithmetic expression required here differs depending on the attribute of the entire image to be input, and it is inconvenient to apply a uniform arithmetic expression to an arbitrary input signal.

【0009】例えば図10に示すような原稿画像121
を3色に色分解し、これをプリンターで印字出力させよ
うとした場合、従来例で示したような所定の演算式に従
って画像全体を印字出力のための基準色信号であるY
(イエロー)、M(マゼンタ)、C(シアン)、K(ブ
ラック)に変換し印字出力することになる。
For example, an original image 121 as shown in FIG.
Is color-separated into three colors and this is to be printed out by a printer. In accordance with a predetermined arithmetic expression as shown in the conventional example, the whole image is Y, which is a reference color signal for printing out.
(Yellow), M (magenta), C (cyan), and K (black) and print out.

【0010】しかし、図10で示す画像中には122の
ように黒い文字で表される部分、123のような連続階
調の写真部分というように異なる属性を持った複数の領
域が存在する。これら、異なる属性を持った領域に対し
同一の演算式による変換を試みると、例えば以下のよう
な不都合が生じる。
However, in the image shown in FIG. 10, there are a plurality of regions having different attributes, such as a portion represented by black characters such as 122 and a photograph portion of continuous tone such as 123. Attempts to convert the areas having different attributes using the same arithmetic expression will cause the following inconveniences, for example.

【0011】・黒い文字の部分はY,M,Cのインクを
印字せずにKインク単色で再現したいが、一方写真部分
の黒い部分はKインク単色では絶対濃度が不足し写真の
持つ深みが損なわれるためY,M,C,Kすべてのイン
クを用いて印字したい。
It is desired to reproduce black character portions with a single color of K ink without printing Y, M, and C inks, whereas black portions of a photo portion have a lack of absolute density with a single color of K ink, and the depth of a photo is limited. I want to print using all Y, M, C, and K inks because they will be damaged.

【0012】・写真部分では豊かな階調再現性や色再現
性が重視されるのに対し、文字部分ではコントラストが
高くはっきりした再現が求められ、色再現性などは重要
ではない。
In the photographic part, rich tone reproducibility and color reproducibility are emphasized, while in the character part, high contrast and clear reproduction are required, and the color reproducibility is not important.

【0013】このような点に鑑みて本発明はなされたも
のであり、少ないメモリー領域で、ルックアップテーブ
ルを用いて入力画像の属性に応じた画像処理を行うこと
を目的とする。
The present invention has been made in view of the above points, and has as its object to perform image processing according to the attributes of an input image using a lookup table in a small memory area.

【0014】また、自動的に入力画像の属性に応じた高
精度の画像処理を行うことを目的とする。
It is another object of the present invention to automatically perform high-precision image processing according to the attributes of an input image.

【0015】[0015]

【課題を解決するための手段】上述の目的を達成するた
めに、本願第1の発明は、入力画像データに対してテー
ブルを用いて画像処理を行い出力画像データを生成する
画像処理装置であって、異なる属性に対応する複数のテ
ーブルを格納する格納手段と、入力画像データの上位N
ビットに基づきテーブルを参照して格子点データを抽出
する抽出手段と、入力画像データの下位Mビット及び前
記格子点データに基づき補間処理を行うことにより、出
力画像データを生成する生成手段とを有し、前記格納手
段は、テーブルを参照する前記上記Nビットの値が異な
る複数のテーブルを格納することを特徴とする。
According to a first aspect of the present invention, there is provided an image processing apparatus for performing image processing on input image data using a table to generate output image data. Storing means for storing a plurality of tables corresponding to different attributes;
Extraction means for extracting grid point data by referring to the table based on the bits, and generating means for generating output image data by performing interpolation processing based on the lower M bits of the input image data and the grid point data. The storage means stores a plurality of tables having different values of the N bits referring to the tables.

【0016】また、本願第2の発明は、異なる色処理特
性を有するN個のテーブルを格納する格納手段と、入力
画像の属性を判定する判定手段と、前記判定された属性
に基づき、前記複数のテーブルからM(M<N)個のテ
ーブルを選択し、該選択されたM個のテーブルによって
色処理されたデータに対して該判定された属性に応じた
重み付け処理を行い出力信号を生成する手段とを有する
ことを特徴とする。
Further, the second invention of the present application is a storage means for storing N tables having different color processing characteristics, a determination means for determining an attribute of an input image, and the plurality of tables based on the determined attribute. M (M <N) tables are selected from the tables and weighting processing is performed on the data that has been color-processed by the selected M tables according to the determined attribute to generate an output signal. Means.

【0017】[0017]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

(実施形態1)図1に、本発明を実施した回路構成の一
例をブロック図で示す。
(Embodiment 1) FIG. 1 is a block diagram showing an example of a circuit configuration embodying the present invention.

【0018】まず3色色分解信号として、8ビットの信
号値X,Y,Zが入力されるものとして説明する。各色
信号は各々3個の色信号処理ブロック12−1〜12−
3に並列に入力される。色信号処理ブロック12−1〜
12−3は従来例で示した3次元ルックアップテーブル
による周知の色信号処理を行う処理ブロックであり、各
々は入力信号X,Y,Zに対する出力信号C1、C2、
C3を出力する。色信号処理ブロックの詳細については
後述する。C1、C2、C3は一旦14の補間回路に入
力される。
First, a description will be given assuming that 8-bit signal values X, Y, and Z are input as three-color color separation signals. Each color signal has three color signal processing blocks 12-1 to 12-.
3 are input in parallel. Color signal processing block 12-1
Reference numeral 12-3 denotes a processing block for performing well-known color signal processing using a three-dimensional look-up table shown in the conventional example, and output signals C1, C2,
Output C3. Details of the color signal processing block will be described later. C1, C2, and C3 are once input to 14 interpolation circuits.

【0019】CPU16は変換に必要となる変換パラメ
ーターを図示しない記憶装置から読み出し色処理ブロッ
ク12−1〜12−3にセットする。
The CPU 16 reads conversion parameters required for conversion from a storage device (not shown) and sets them in the color processing blocks 12-1 to 12-3.

【0020】次に第4の入力信号としてWが入力され
る。X,Y,Zの3入力信号は上記のように色信号処理
ブロック12−1〜12−3の入力信号として与えら
れ、それぞれ出力信号C1〜C3が出力される。一方第
4の入力信号Wは補間回路14に入力される。補間回路
14は後述するように12からの3個の出力信号と第4
の入力信号Wを用いて補間演算を行いひとつの出力信号
CS(15)を生成する。
Next, W is input as a fourth input signal. The three input signals X, Y, and Z are provided as input signals to the color signal processing blocks 12-1 to 12-3 as described above, and output signals C1 to C3 are output, respectively. On the other hand, the fourth input signal W is input to the interpolation circuit 14. The interpolation circuit 14 outputs the three output signals from the 12 and the fourth
And performs an interpolation operation using the input signal W to generate one output signal CS (15).

【0021】以上の動作をカラー複写機を例にとって具
体的に説明する。
The above operation will be specifically described by taking a color copying machine as an example.

【0022】図2に、カラー複写機の装置概観図を示
す。図2において、201はイメージスキャナー部であ
り、原稿を読み取り、ディジタル信号処理を行う部分で
ある。また、202は、プリンタ部であり、イメージス
キャナー201によって読み取られた原稿画像に対応し
た画像を用紙にフルカラーでプリント出力する部分であ
る。
FIG. 2 shows an outline view of a color copying machine. In FIG. 2, reference numeral 201 denotes an image scanner unit which reads a document and performs digital signal processing. Reference numeral 202 denotes a printer unit which prints out an image corresponding to the document image read by the image scanner 201 on a sheet in full color.

【0023】イメージスキャナー201において、20
0は鏡面圧板であり、原稿台ガラス(以下プラテン)2
03上の原稿204は、ランプ205で照射され、ミラ
ー206、207、208に導かれ、レンズ209によ
って、3ラインの個体撮像素子センサ(以下CCD)2
10上に像を結び、フルカラー情報としてのレッド
(R),グリーン(G),ブルー(B)の3つの画像信
号が信号処理部211に送られる。なお、205、20
6は速度vで、207、208は速度1/2vでライン
センサの電気的走査(主走査)方向に対して垂直方向に
機械的に動くことによって、原稿全面を走査(副走査)
する。ここで、原稿204は、主走査および副走査とも
に400dpi(dots/inch)の解像度で読み
とられる。
In the image scanner 201, 20
Reference numeral 0 denotes a mirror pressure plate, and a platen glass (hereinafter, platen) 2
The original 204 on the original 03 is illuminated by a lamp 205, guided to mirrors 206, 207, and 208, and three-line solid-state image sensor (hereinafter referred to as CCD) 2
An image is formed on the image 10, and three image signals of red (R), green (G), and blue (B) as full-color information are sent to the signal processing unit 211. Note that 205, 20
Reference numeral 6 denotes a speed v, and 207 and 208 scan the entire original surface (sub-scan) by mechanically moving the line sensor at a speed of 1/2 v in the direction perpendicular to the electrical scanning (main scanning) direction of the line sensor.
I do. Here, the document 204 is read at a resolution of 400 dpi (dots / inch) in both the main scanning and the sub-scanning.

【0024】信号処理部211においては、読み取られ
た画像信号を電気的に処理し、マゼンタ(M),シアン
(C),イエロ(H),ブラック(Bk)の各成分に分
解し、プリンタ部202に送る。また、イメージスキャ
ナ201における一回の原稿走査につき、M、C、Y、
Bkのうちひとつの成分がプリンタ部202に送られ、
計4回の原稿走査によって、一回のプリントアウトが完
成する。
The signal processing unit 211 electrically processes the read image signal, decomposes it into magenta (M), cyan (C), yellow (H), and black (Bk) components. Send to 202. Further, M, C, Y,
One component of Bk is sent to the printer unit 202,
A total of four document scans complete one printout.

【0025】イメージスキャナ部201より送られてく
るM,C,Y,Bkの各画像信号は、レーザードライバ
ー212に送られる。レーザードライバー212は、送
られてきた画像信号に応じ、半導体レーザー213を変
調駆動する。レーザー光は、ポリゴンミラー214、f
−θレンズ215、ミラー216を介し、感光ドラム2
17上を走査する。ここで、読取と同様に主走査および
副走査ともに400dpi(dots/inch)の解
像度で書込まれる。
Each of the M, C, Y, and Bk image signals sent from the image scanner unit 201 is sent to a laser driver 212. The laser driver 212 modulates and drives the semiconductor laser 213 according to the sent image signal. The laser light is applied to the polygon mirror 214, f
The photosensitive drum 2 via the −θ lens 215 and the mirror 216
17 is scanned. Here, similarly to the reading, both the main scanning and the sub scanning are written at a resolution of 400 dpi (dots / inch).

【0026】218は回転現像器であり、マゼンタ現像
部219、シアン現像部220、イエロ現像部221、
ブラック現像部222より構成され、4つの現像部が交
互に感光ドラム217に接し、感光ドラム上に形成され
た静電現像をトナーで現像する。
Reference numeral 218 denotes a rotary developing unit, which includes a magenta developing unit 219, a cyan developing unit 220, a yellow developing unit 221,
The developing unit includes a black developing unit 222. The four developing units alternately contact the photosensitive drum 217, and develop the electrostatic development formed on the photosensitive drum with toner.

【0027】223は転写ドラムであり、用紙カセット
224または225より供給される用紙をこの転写ドラ
ム223に巻き付け、感光ドラム上に現像された像を要
旨に転写する。
Reference numeral 223 denotes a transfer drum, which winds a sheet supplied from the sheet cassette 224 or 225 around the transfer drum 223, and transfers the developed image on the photosensitive drum to a gist.

【0028】この様にして、M,C,Y,Bkの4色が
順次転写された後に、用紙は、定着ユニット226を通
過して、トナーが用紙に定着された後に排紙される。
After the four colors of M, C, Y, and Bk are sequentially transferred in this manner, the sheet passes through the fixing unit 226, and is discharged after the toner is fixed on the sheet.

【0029】図3に信号処理部211の詳細を示す。C
CDで読みとられたR、G、B信号301はA/D変換
回路302でそれぞれデジタル信号に変換され、303
のシェーディング補正回路で原稿照明ランプの光量ムラ
やCCDの感度ばらつきの補正を行う。304の色信号
処理回路が図1で説明した入力色分解信号を出力色分解
信号に変換する変換回路である。入力信号X,Y,Zが
それぞれシェーディング補正回路からのR,G,B信号
のそれぞれに対応する。305はシェーディング補正後
の色分解信号X,Y,Zを入力として画像の属性を判別
して判別信号Wを生成する画像属性判別部である。
FIG. 3 shows the details of the signal processing section 211. C
The R, G, and B signals 301 read by the CD are converted into digital signals by an A / D conversion circuit 302, respectively.
The shading correction circuit described above corrects unevenness in the amount of light of the original illumination lamp and variation in sensitivity of the CCD. A color signal processing circuit 304 is a conversion circuit that converts the input color separation signal described with reference to FIG. 1 into an output color separation signal. The input signals X, Y, and Z correspond to the R, G, and B signals from the shading correction circuit, respectively. Reference numeral 305 denotes an image attribute determining unit that receives the color separation signals X, Y, and Z after the shading correction and determines an image attribute to generate a determination signal W.

【0030】これらX,Y,Z及びWを用いて色信号処
理回路304は図1で示したようなひとつの出力信号3
07を生成する。ここではプリンター部へ送出するC
(シアン)信号を生成するように示してあるが、同様の
手順をM,C,Y,K全てについて行いプリンターの動
作と同期して、プリンター部へ送出する。CPU306
はM,C,Y,Kのいずれの信号出力を行うかに応じて
色信号処理ブロックに適切なパラメーターを設定する。
Using these X, Y, Z, and W, the color signal processing circuit 304 outputs one output signal 3 as shown in FIG.
07 is generated. Here, C sent to the printer unit
Although a (cyan) signal is shown to be generated, the same procedure is performed for all of M, C, Y, and K, and the signal is transmitted to the printer unit in synchronization with the operation of the printer. CPU306
Sets appropriate parameters in the color signal processing block according to which of M, C, Y, and K signals is to be output.

【0031】次に画像属性判別部305、及び色信号処
理部304の動作について詳細に説明する。図10で説
明したように複数の画像属性領域が原稿中に混在してい
る場合を考えると、122の黒文字領域は黒トナーのみ
で再現されるように、123の写真領域は銀塩写真原稿
の色になるべく忠実に再現するようにR,G,Bから
M,C,Y,Kへの変換を行うのが望ましい。
Next, the operations of the image attribute discriminating unit 305 and the color signal processing unit 304 will be described in detail. Considering the case where a plurality of image attribute areas are mixed in the original as described with reference to FIG. 10, the photographic area 123 is a silver halide photographic original such that the black character area 122 is reproduced only with black toner. It is desirable to perform conversion from R, G, B to M, C, Y, K so as to reproduce colors as faithfully as possible.

【0032】これを実現するには以下のような方法が考
えられる。すなわち文字領域は線画部および単一濃度の
べた部で構成されており、一方写真領域は多くの濃度レ
ベルにより複雑な形状を構成している。従って各々の領
域について例えば注目画素周辺の5×5画素程度の範囲
にヒストグラム(画素濃度に対する生起度数分布)を求
めると、図4に示すように文字領域では図4(A)のよ
うに特定の濃度レベルに度数が集中した分布となり、一
方写真領域では図4(B)のように広い範囲の濃度レベ
ルに分散した度数分布となる。
The following method is conceivable for realizing this. That is, the character region is composed of a line drawing portion and a solid portion of a single density, while the photographic region has a complex shape with many density levels. Accordingly, when a histogram (occurrence frequency distribution with respect to pixel density) is obtained in a range of about 5 × 5 pixels around the pixel of interest in each area, for a character area as shown in FIG. 4, a specific area as shown in FIG. In the photographic area, the frequency distribution is distributed over a wide range of density levels, as shown in FIG. 4B.

【0033】そこで画像属性判別部305は入力画像信
号のひとつ(例えばG信号)を注目画素の周辺5×5画
素で記憶し、そのヒストグラムH(i)を作成する。こ
こでiは記憶した各画素の濃度レベル(画像信号値)で
あり、Hはその出現度数を表す。5×5画素すべてにつ
いて度数分布を係数すると、以下の式(1)により属性
判定信号Wを生成する。
Therefore, the image attribute discriminating unit 305 stores one of the input image signals (for example, a G signal) in 5 × 5 pixels around the pixel of interest and creates a histogram H (i). Here, i is the stored density level (image signal value) of each pixel, and H represents the frequency of appearance. When the frequency distribution is coefficiented for all 5 × 5 pixels, an attribute determination signal W is generated by the following equation (1).

【0034】 W=Σ{(H(i)/25)2} ・・・(1) ここでΣはi(=画像信号値)の0から255までの総
和を表す。H(i)は5×5画素での出現度数を表して
いるので、例えば全ての画素の濃度値がひとつのレベル
のみで構成されている場合Hの最大値は25となる。す
なわちこの場合W=1となる。
W = {(H (i) / 25) 2 } (1) where Σ represents the sum of i (= image signal value) from 0 to 255. Since H (i) represents the frequency of appearance of 5 × 5 pixels, the maximum value of H is 25, for example, when the density values of all the pixels are composed of only one level. That is, in this case, W = 1.

【0035】一方写真領域のように画素値が複数の濃度
レベルに分散している場合H(i)は25よりかなり小
さくなるのでWは相対的に小さくなり0に近くなる。
On the other hand, when the pixel values are dispersed in a plurality of density levels as in a photographic area, H (i) becomes considerably smaller than 25, and W becomes relatively small and approaches zero.

【0036】以上により文字領域ではWは1に近くなり
写真領域では0に近い値が出力される。もちろんWはデ
ジタル信号であるので0〜1の間を適当な量子化レベ
ル、8ビットならば0〜255として表現しておくこと
になる。
As described above, W is close to 1 in the character area, and a value close to 0 is output in the photographic area. Of course, since W is a digital signal, a value between 0 and 1 is represented as an appropriate quantization level, and 8 bits are represented as 0 to 255.

【0037】次に色信号処理ブロック12−1〜12−
3の構成および設定すべきパラメーターについて説明す
る。
Next, the color signal processing blocks 12-1 to 12-
The configuration of No. 3 and parameters to be set will be described.

【0038】まずブロックごとの構成例を図5に示す。
色信号処理ブロック12−1〜12−3のブロックの対
応する部分を図5では点線枠で示してある。入力X,
Y,Z信号色信号処理ブロックは12−1〜12−3の
ブロックに並列に入力される。色信号処理ブロック12
−1について説明すると、入力信号はビット分割回路5
2−1で各色の上位ビット信号Ru1、Gu1、Bu1
(53−1)と下位ビット信号RL1,GL1,BL1
(54−1)に分割される。ここで上位ビット信号のビ
ット数をN1ビットとし、入力信号のビット数を各色8
ビットとすると下位ビットのビット数は(8−N1)ビ
ットとなる。
First, FIG. 5 shows a configuration example for each block.
The corresponding portions of the color signal processing blocks 12-1 to 12-3 are indicated by dotted frames in FIG. Input X,
The Y and Z signal color signal processing blocks are input in parallel to blocks 12-1 to 12-3. Color signal processing block 12
-1 will be described.
In 2-1 the upper bit signals Ru1, Gu1, and Bu1 of each color
(53-1) and lower bit signals RL1, GL1, BL1
(54-1). Here, the number of bits of the upper bit signal is N1 bits, and the number of bits of the input signal is 8 for each color.
If it is a bit, the number of lower bits is (8-N1) bits.

【0039】上位ビット信号はルックアップテーブルL
UT1(55−1)のアドレス信号として入力され、上
位ビット信号に対応するテーブルに記憶されている出力
信号値(57−1)を読み出す。一方下位ビット信号は
重み係数発生回路1(56−1)に入力され補間演算の
ための重み係数58−1を生成する。
The upper bit signal is a look-up table L
The output signal value (57-1) input as the address signal of the UT1 (55-1) and stored in the table corresponding to the upper bit signal is read. On the other hand, the lower bit signal is input to the weight coefficient generation circuit 1 (56-1) to generate a weight coefficient 58-1 for the interpolation operation.

【0040】積和演算回路1(59−1)は出力信号値
57−1と重み係数58−1を用いて周知の積和演算を
行い第一の出力信号C1を生成する。
The product-sum operation circuit 1 (59-1) performs a well-known product-sum operation using the output signal value 57-1 and the weight coefficient 58-1 to generate a first output signal C1.

【0041】積和演算回路の動作について図6を用いて
説明する。ここでは感嘆のため入力信号がR,Gの2次
元であるものとする。入力R,G信号の関係は図の2次
元平面上の長方形で表され、R、Gそれぞれ8ビットの
0〜255の数値を持つ。ルックアップテーブルには図
の丸印で示されるとびとびの入力信号の組に対する出力
信号値が記憶されている。この丸印の位置を格子点と呼
ぶことにする。格子点の数Q、および格子点の間隔Δd
は上位ビットのビット数N1で決まり、 Q=(2N12 Δd=2(8-N1) となる。図ではN1=2の場合を示してあるので、Q=
16、Δd=32である。
The operation of the product-sum operation circuit will be described with reference to FIG. Here, it is assumed that the input signal is two-dimensional R and G for exclamation. The relationship between the input R and G signals is represented by a rectangle on a two-dimensional plane in the drawing, and each of R and G has an 8-bit numerical value of 0 to 255. The look-up table stores output signal values for discrete input signal sets indicated by circles in the figure. The position of this circle is called a lattice point. Number Q of grid points and spacing Δd between grid points
Is determined by the number N1 of upper bits, and Q = (2 N1 ) 2 Δd = 2 (8−N1) . In the figure, the case where N1 = 2 is shown, so that Q =
16, Δd = 32.

【0042】まず任意の入力信号R,G(図中×印)に
対し上位ビット信号Ru,Guで決まる4つの格子点
(図中黒丸)のデータをLUT1から読み出す。これは
図から明らかなように入力信号を取り囲む最近傍の格子
点である。これらのデータをC00,C10,C01,
C11とする。次に下位ビット信号RL,GLから積和
演算の重み係数を生成する。これは×印の入力信号に対
する出力信号の4近傍の格子点データから線形補間で求
めるための補間係数を求めることに相当する。重み係数
は4つの格子点データそれぞれについて1個づつ合計4
個必要である。これらをA00,A10,A01,A1
1とすると以下の式で求められる。
First, data of four lattice points (black circles in the figure) determined by upper bit signals Ru and Gu for arbitrary input signals R and G (marks in the figure) are read from LUT1. This is the nearest grid point surrounding the input signal as is apparent from the figure. These data are stored in C00, C10, C01,
C11. Next, a weight coefficient for the product-sum operation is generated from the lower bit signals RL and GL. This is equivalent to obtaining an interpolation coefficient to be obtained by linear interpolation from grid point data in the vicinity of 4 of the output signal with respect to the input signal indicated by x. The weighting factor is a total of 4 for each of the four grid point data.
Required. These are A00, A10, A01, A1
If it is set to 1, it can be obtained by the following equation.

【0043】A00=(Δd−RL)×(Δd−GL) A10=RL×(Δd−GL) A01=(Δd−RL)×GL A11=RL×GL この式により求められた係数により積和演算回路1(5
9−1)は次式の演算を行い出力信号C1を生成する。
A00 = (Δd-RL) × (Δd-GL) A10 = RL × (Δd-GL) A01 = (Δd-RL) × GL A11 = RL × GL Product-sum operation by the coefficient obtained by this equation Circuit 1 (5
9-1) performs an operation of the following equation to generate an output signal C1.

【0044】C1=(A00×C00+A10×C10
+A01×C01+A11×C11)/(Δd2) 以上2次元の入力信号に対する演算方法を説明したが、
これを3次元に拡張するのは周知なためここでは説明を
省略するが、ルックアップテーブルの容量に関係する格
子点の数Qと、出力信号の精度に影響する格子点間隔Δ
dの関係は3次元入力信号の場合次のようになる。
C1 = (A00 × C00 + A10 × C10
+ A01 × C01 + A11 × C11) / (Δd 2 ) The calculation method for the two-dimensional input signal has been described above.
Since it is well known to extend this to three dimensions, the description is omitted here. However, the number Q of grid points related to the capacity of the lookup table and the grid point interval Δ that affects the accuracy of the output signal are described.
The relation of d is as follows in the case of a three-dimensional input signal.

【0045】Q=(2N13 Δd=2(8-N1) つまりN1の値を大きくすればするほど、Δdが小さく
なり図6の格子点の間隔が密になるので、得られる出力
信号の精度が向上する。しかしQの値はN1を1(ビッ
ト)上げるだけでQの値は8倍になり、それだけメモリ
ーコストが大きくなってしまう。
Q = (2 N1 ) 3 Δd = 2 (8−N1) In other words, as the value of N1 is increased, Δd decreases and the interval between the lattice points in FIG. 6 becomes dense. The accuracy of is improved. However, when the value of Q is increased by 1 (bit) N1 only, the value of Q becomes 8 times, and the memory cost increases accordingly.

【0046】そこで実施形態5では図5に示す3個の同
一構成の色信号処理ブロックにおいてルックアップテー
ブルをアドレスする上位ビット信号のビット数N1,N
2,N3を異ならせるように構成する。
Therefore, in the fifth embodiment, in the three color signal processing blocks having the same structure shown in FIG.
2 and N3 are configured to be different.

【0047】以下にその構成方法について説明する。The configuration method will be described below.

【0048】前述したように文字領域では入力R,G,
B信号がR=G=B=0に近い色、すなわち黒で表され
る色はC=M=Y=0でKのみの信号に置き換えること
が望ましい。このような格子点データを色信号処理ブロ
ック12−3に設定する。一般に文字画像に対して、そ
の色の再現が原稿に非常に忠実である必要はなく色信号
処理の変換精度は余り高い必要がない。従って出力信号
を格納するLUT3の格子点の数は余り多い必要が無
い。すなわちN3の値を小さくし、メモリー容量を節約
することができる。
As described above, in the character area, the input R, G,
It is desirable that the color of the B signal which is close to R = G = B = 0, that is, the color represented by black, is replaced with a signal of only K with C = M = Y = 0. Such grid point data is set in the color signal processing block 12-3. In general, the color reproduction of a character image does not need to be very faithful to the original, and the conversion accuracy of the color signal processing does not need to be very high. Therefore, the number of grid points in the LUT 3 for storing output signals does not need to be very large. That is, the value of N3 can be reduced, and the memory capacity can be saved.

【0049】また写真領域ではなるべく入力原稿になる
べく近い色再現が得られるようにするのが望ましく、原
稿をなるべく忠実に再現するような出力信号に変換する
必要がある。一般に入力信号に対して高い色再現性が得
られるような出力信号を得るためには非線形の変換をす
る必要があり、LUTの格子点の数は多いほど変換の精
度が向上する。例えばR=G=B=0の黒色信号が入力
された場合にはC=M=Y=100程度でK=255と
いった4色同時に印字するように変換した方が色再現性
から望ましい。従って、このような非線形変換に対応し
た格子点データを色信号処理ブロック12−1に設定
し、かつN1に大きな値を設定し格子点間隔を狭くす
る。
In the photographic area, it is desirable to obtain color reproduction as close as possible to that of the input document, and it is necessary to convert the signal into an output signal that reproduces the document as faithfully as possible. Generally, it is necessary to perform non-linear conversion in order to obtain an output signal capable of obtaining high color reproducibility with respect to an input signal, and the conversion accuracy improves as the number of lattice points of the LUT increases. For example, when a black signal of R = G = B = 0 is input, it is desirable from the viewpoint of color reproducibility that conversion is performed so that four colors such as C = M = Y = 100 and K = 255 are simultaneously printed. Therefore, grid point data corresponding to such non-linear conversion is set in the color signal processing block 12-1, and a large value is set in N1 to reduce the grid point interval.

【0050】色信号処理ブロック12−2には両者の中
間の格子点データを中間のビット数N2で設定する。
In the color signal processing block 12-2, intermediate grid point data between the two is set with an intermediate bit number N2.

【0051】通常考えられる構成としてはN1=4ビッ
ト、N2=3ビット、N3=2ビットといった数値を用
いるのが望ましい。
As a normally conceivable configuration, it is desirable to use numerical values such as N1 = 4 bits, N2 = 3 bits, and N3 = 2 bits.

【0052】以上において各ルックアップテーブルの入
力ビット数N1,N2,N3はあらかじめ回路構成上決
定しておき、その格子点の数だけの格子点データをCP
U16から設定する。
In the above, the number of input bits N1, N2, and N3 of each look-up table are determined in advance in the circuit configuration, and the grid point data of the number of grid points is determined by CP.
Set from U16.

【0053】このように構成すると同一のR,G,B入
力信号(図ではX,Y,Z)に対して異なる出力信号C
1〜C3が得られる。これらの値に対し、図1の補間回
路14は前述した画像属性判別信号Wによる下記の演算
を行って最終出力信号CSを得る。
With this configuration, different output signals C for the same R, G, B input signals (X, Y, Z in the figure)
1 to C3 are obtained. For these values, the interpolation circuit 14 in FIG. 1 performs the following calculation based on the above-described image attribute discrimination signal W to obtain a final output signal CS.

【0054】0≦W<85の場合 CS=C1+(C2−C1)*W/85 85≦W<170の場合 CS=C2+(C3−C2)*(W−85)/85 170≦W<255の場合 CS=C2+(C3−C2)*(W−170)/85When 0≤W <85 CS = C1 + (C2-C1) * W / 85 When 85≤W <170 CS = C2 + (C3-C2) * (W-85) / 85 170≤W <255 CS = C2 + (C3-C2) * (W-170) / 85

【0055】すなわちW=0に近い場合は色信号処理ブ
ロック12−1のパラメーターにより演算される出力信
号C1に近い値がCSとして出力される。これは写真領
域に適した出力信号となっている。
That is, when W = 0, a value close to the output signal C1 calculated by the parameters of the color signal processing block 12-1 is output as CS. This is an output signal suitable for a photographic area.

【0056】またW=1に近い場合は色信号処理ブロッ
ク12−3のパラメーターにより演算される出力信号C
3に近い値がCSとして出力され、これは文字領域に好
適な出力信号となっている。
When W = 1, the output signal C calculated by the parameters of the color signal processing block 12-3 is used.
A value close to 3 is output as CS, which is an output signal suitable for the character area.

【0057】そしてWが0〜1の中間の値である場合、
写真領域に適した出力信号と、文字領域に適した出力信
号との中間の値がWの値により補間されて生成されるこ
とになる。
When W is an intermediate value between 0 and 1,
An intermediate value between the output signal suitable for the photographic area and the output signal suitable for the character area is generated by interpolation with the value of W.

【0058】本実施形態によれば、入力画像部の属性に
応じた変換をルックアップテーブルを用いて自動的に行
うことができる。
According to this embodiment, the conversion according to the attribute of the input image portion can be automatically performed using the look-up table.

【0059】またNの値を変化させることで、写真領域
ではNの値を大きくして階調再現性や色再現性に優れた
変換を行い、逆に文字領域ではNを小さくすることで色
再現性などは多少犠牲になるが、メモリー容量を大きく
減少させることが可能になる。
By changing the value of N, the value of N is increased in the photographic area to perform conversion excellent in gradation reproducibility and color reproducibility, and conversely, by reducing N in the character area, the color is reduced. Although the reproducibility is somewhat sacrificed, the memory capacity can be greatly reduced.

【0060】(実施形態2)図7に実施形態2にかかる
色信号処理回路をブロック図で示す。
(Second Embodiment) FIG. 7 is a block diagram showing a color signal processing circuit according to a second embodiment.

【0061】ここでは色信号処理ブロックを2つ(72
−1、72−2)とし2つの出力信号C1,C2を74
のセレクタで選択するように構成している。像域判別信
号W’は1ビットの信号であり、実施形態1における式
(1)で求められたWの値をあらかじめ決められたしき
い値で2値化したものである。例えばW>128のとき
W’=1、W<127のときW’=0というようにして
得られるものである。
Here, two color signal processing blocks (72
-1, 72-2) and the two output signals C1 and C2 are set to 74
Is configured to be selected by the selector. The image area discrimination signal W ′ is a 1-bit signal, which is obtained by binarizing the value of W obtained by Expression (1) in the first embodiment with a predetermined threshold value. For example, it is obtained such that W ′ = 1 when W> 128 and W ′ = 0 when W <127.

【0062】72−1と72−2には実施形態1で色信
号処理ブロック12−1と12−3に設定したビット数
N1,N3および格子点データを用いて同様に構成す
る。
72-1 and 72-2 are similarly configured using the bit numbers N1, N3 and grid point data set in the color signal processing blocks 12-1 and 12-3 in the first embodiment.

【0063】セレクタ74はW’によりC1とC2のい
ずれかを選択して出力信号CSとする。あきらかにW’
=0のときは写真領域用の出力信号C1を選択してCS
として出力し、W’=1のときは文字領域用の出力信号
C2を選択してCSとして出力する。
The selector 74 selects one of C1 and C2 according to W 'and sets it as an output signal CS. Obviously W '
When = 0, the output signal C1 for the photograph area is selected and CS is selected.
When W '= 1, the output signal C2 for the character area is selected and output as CS.

【0064】こうすることにより前記実施形態と同様の
効果を得ることができる。
By doing so, the same effect as in the above embodiment can be obtained.

【0065】(実施形態3)図8に、実施形態3にかか
る色信号処理回路の構成をブロック図で示す。なお、他
の回路構成は実施形態1と同様である。
(Third Embodiment) FIG. 8 is a block diagram showing a configuration of a color signal processing circuit according to a third embodiment. The other circuit configuration is the same as that of the first embodiment.

【0066】実施形態3では、色信号処理ブロックをN
こ備えている。
In the third embodiment, the color signal processing block is set to N
I am prepared.

【0067】以下、3色色分解信号として、8ビットの
信号値X,Y,Zが入力されるものとして実施形態3の
色信号処理回路の構成を説明する。各色信号は各々N個
の色信号処理ブロック80−1〜80−Nに並列に入力
される。色信号処理ブロック80−1〜80−Nは色信
号処理を行う処理ブロックであり、各々は入力信号,
Y,Zに対する出力信号C1,C2、・・・、CNを出
力する。C1〜CNは一旦補間回路81に入力される。
Hereinafter, the configuration of the color signal processing circuit of the third embodiment will be described assuming that 8-bit signal values X, Y, and Z are input as three-color color separation signals. Each color signal is input in parallel to N color signal processing blocks 80-1 to 80-N. The color signal processing blocks 80-1 to 80-N are processing blocks for performing color signal processing.
The output signals C1, C2,..., CN for Y and Z are output. C1 to CN are temporarily input to the interpolation circuit 81.

【0068】CPU82は変換に必要となる変換パラメ
ーターを図示しない記憶装置から読み出し色信号処理ブ
ロック80−1〜80−Nにセットする。
The CPU 82 reads a conversion parameter required for conversion from a storage device (not shown) and sets it in the color signal processing blocks 80-1 to 80-N.

【0069】次に第4の入力信号としてWが入力され
る。第4の入力信号Wは補間回路81に入力される。補
間回路81は後述するように色信号処理ブロックからの
N個の出力信号と第4の入力信号Wを用いて補間演算を
行いひとつの出力信号CSを生成する。
Next, W is input as a fourth input signal. The fourth input signal W is input to the interpolation circuit 81. The interpolation circuit 81 performs an interpolation operation using the N output signals from the color signal processing block and the fourth input signal W to generate one output signal CS, as described later.

【0070】次に画像属性判別部及び色信号処理部の動
作について詳細に説明する。
Next, the operations of the image attribute determining section and the color signal processing section will be described in detail.

【0071】まず、原稿画像の1例を図12を用いて説
明する。
First, an example of a document image will be described with reference to FIG.

【0072】図12で示す画像131には132のよう
に黒い文字で表される部分、133のように複数色に色
分けされたグラフ部分、134のような連続階調の写真
部分というように異なる属性を持った複数の領域が存在
する。
The image 131 shown in FIG. 12 has different portions such as a portion represented by black characters such as 132, a graph portion divided into a plurality of colors such as 133, and a continuous tone photograph portion such as 134. There are multiple areas with attributes.

【0073】黒い文字の部分122はY,M,Cのイン
クを印字せずKインク単色で再現したい。写真部分12
4の黒い部分はKインク単色は絶対濃度が不足し写真の
持つ深みが損われるためY,M,C,Kすべてのインク
を用いて印字したい。グラフ部分123は鮮やかな色彩
で彩られているので、なるべくC,M,Yを混色させず
なるべく彩度の高い色で再現したい。
It is desired to reproduce the black character portion 122 with a single color of the K ink without printing the Y, M, and C inks. Photo part 12
In the black portion of 4, the K ink single color lacks the absolute density and the depth of the photograph is impaired, so it is desired to print using all the Y, M, C, and K inks. Since the graph portion 123 is colored with vivid colors, it is desirable to reproduce colors with as high a saturation as possible without mixing C, M, and Y as much as possible.

【0074】図12で説明したように複数の画像属性領
域が原稿中に混在している場合を考えると、132の黒
文字領域は黒トナーのみで再現されるように、133の
グラフ領域は原稿の色を強調してなるべく鮮やかに再現
するように、そして134は銀塩写真原稿の色になるべ
く忠実に再現するようにR,G,BからM,C,Y,K
への変換を行うのが望ましい。
Considering the case where a plurality of image attribute areas are mixed in a document as described with reference to FIG. 12, the graph area 133 is changed so that the black character area 132 is reproduced only with black toner. In order to reproduce colors as vividly as possible by emphasizing colors, and from R, G, B to M, C, Y, K so as to reproduce colors as faithfully as possible in silver halide photographic originals.
It is desirable to convert to

【0075】これを実現するには以下のような方法が考
えられる。すなわち文字領域、グラフ領域は線画部およ
び単一濃度のべた部で構成されており、一方写真領域は
多くの濃度レベルにより複雑な形状を構成している。従
って各々の領域について例えば注目画素周辺の5×5画
素程度の範囲のヒストグラム(画素濃度に対する生起度
数分布)を求めると、図4に示すように文字、グラフ領
域では図4(A)のように特定の濃度レベルに度数が集
中した分布となり、一方写真領域では図4(B)のよう
に広い範囲の濃度レベルに分散した度数分布となる。
The following method is conceivable for realizing this. That is, the character area and the graph area are composed of a line drawing portion and a solid portion of a single density, while the photographic region has a complex shape with many density levels. Accordingly, when a histogram (occurrence frequency distribution with respect to pixel density) in a range of about 5 × 5 pixels around the target pixel is obtained for each area, for example, as shown in FIG. In the photographic area, the frequency distribution is distributed over a wide range of density levels, as shown in FIG. 4B.

【0076】底で画像属性判別部305は入力画像信号
のひとつ(例えばY信号)を注目画素の周辺5×5画素
で記憶し、そのヒストグラムH(i)を作成する。ここ
でiは記憶した各画素の濃度レベル(画像信号値)であ
り、Hはその出現度数を表す。5×5画素すべてについ
て度数分布を係数し、上述した式(1)により属性判定
信号Wを生成する。
At the bottom, the image attribute discriminating unit 305 stores one of the input image signals (for example, the Y signal) as 5 × 5 pixels around the pixel of interest and creates a histogram H (i). Here, i is the stored density level (image signal value) of each pixel, and H represents the frequency of appearance. The frequency distribution is coefficientd for all 5 × 5 pixels, and the attribute determination signal W is generated by the above equation (1).

【0077】したがって、図4(A)のように特定の濃
度レベルに度数が集中する文字、グラフ領域ではWは1
に近くなる。
Therefore, as shown in FIG. 4A, a character whose frequency is concentrated at a specific density level, W is 1 in the graph area.
Become closer to

【0078】一方写真領域のように画素値が複数の濃度
レベルに分散している場合H(i)は25よりかなり小
さくなるのでWは相対的に小さくなり0に近くなる。
On the other hand, when the pixel values are dispersed in a plurality of density levels as in a photographic area, H (i) becomes considerably smaller than 25, and W becomes relatively small and approaches zero.

【0079】以上により文字、グラフ領域ではWは1に
近くなり写真領域では0に近い値が出力される。もちろ
んWはデジタル信号であるので0〜1の間を適当な量子
化レベル、8ビットならば0〜255として表現してお
くことになる。
As described above, W is close to 1 in the text and graph areas, and a value close to 0 in the photographic area. Of course, since W is a digital signal, a value between 0 and 1 is represented as an appropriate quantization level, and 8 bits are represented as 0 to 255.

【0080】次に色信号処理ブロック80−1〜Nに設
定すべきパラメーターについて説明する。文字、グラフ
領域では前述したように入力R,G,B信号をなるべく
Y,M,C,Kの原色に近い色信号に変換することが望
ましい。すなわちR=G=B=0に近い色、すなわち黒
で表される色はC=M=Y=0でKのみの信号に置き換
え、またR=255,G=0,B=0といった赤で表さ
れる色はYとMのみ(C=K=0)の信号値に置き換え
ることが望ましい。このような変換パラメーターを色信
号処理ブロック80−Nに設定する。
Next, parameters to be set in the color signal processing blocks 80-1 to 80-N will be described. As described above, it is desirable to convert the input R, G, and B signals into color signals that are as close as possible to the primary colors of Y, M, C, and K in the character and graph regions. That is, a color close to R = G = B = 0, that is, a color represented by black is replaced with a signal of only K at C = M = Y = 0, and a red color such as R = 255, G = 0, B = 0. It is desirable to replace the colors represented by signal values of only Y and M (C = K = 0). Such conversion parameters are set in the color signal processing block 80-N.

【0081】また写真領域ではなるべく入力信号になる
べく近い色再現が得られるようにするのが望ましく、例
えばR=G=B=0の黒色信号が入力された場合にはC
=M=Y=100程度でK=255といった4色同時に
印字するように置き換えることが望ましい。このような
変換パラメーターは色信号処理ブロック80−1に設定
する。
In the photographic area, it is desirable to obtain color reproduction as close as possible to the input signal. For example, when a black signal of R = G = B = 0 is input, C
= M = Y = 100 and K = 255. Such conversion parameters are set in the color signal processing block 80-1.

【0082】色信号処理ブロック80−2〜80−(N
−1)には両者の中間のパラメーターを設定する。
The color signal processing blocks 80-2 to 80- (N
In -1), an intermediate parameter between the two is set.

【0083】以上のパラメーターはCPUから設定す
る。
The above parameters are set from the CPU.

【0084】このように構成すると同一のR,G,B入
力信号(図ではX,Y,Z)に対して異なる出力信号C
1〜CNが得られる。これらの値に対し、補間回路14
は前述した画像属性判別信号Wによる下記の演算を行っ
て最終出力信号CSを得る。ここではN=5の場合につ
いて説明する。
With this configuration, different output signals C for the same R, G, B input signals (X, Y, Z in the figure)
1 to CN are obtained. The interpolation circuit 14
Performs the following calculation based on the above-described image attribute determination signal W to obtain a final output signal CS. Here, a case where N = 5 will be described.

【0085】0≦W<64の場合 CS=C1+(C2−C1)*W/64 64≦W<128の場合 CS=C2+(C3−C2)*(W−64)/64 128≦W<192の場合 CS=C3+(C4−C3)*(W−128)/64 192≦W<255の場合 CS=C4+(C5−C4)*(W−192)/63When 0≤W <64 CS = C1 + (C2-C1) * W / 64 When 64≤W <128 CS = C2 + (C3-C2) * (W-64) / 64 128≤W <192 In the case of CS = C3 + (C4-C3) * (W−128) / 64 When 192 ≦ W <255 CS = C4 + (C5-C4) * (W−192) / 63

【0086】すなわちW=0に近い場合は12−1のパ
ラメーターにより演算される出力信号C1に近い値がC
Sとして出力される。これは写真領域に適した出力信号
となっている。
That is, when W = 0, the value close to the output signal C1 calculated by the parameter 12-1 is C
Output as S. This is an output signal suitable for a photographic area.

【0087】またW=1に近い場合は12−5のパラメ
ーターにより演算される出力信号C5に近い値がCSと
して出力され、これは文字、グラフ領域に好適しな出力
信号となっている。
When W is close to 1, a value close to the output signal C5 calculated by the parameter 12-5 is output as CS, which is an output signal suitable for a character and a graph area.

【0088】そしてWが0〜1の中間の値である場合、
写真領域に適した出力信号と、文字、グラフ領域に適し
た出力信号との中間の値がWの値により補間されて生成
されることになる。
When W is an intermediate value between 0 and 1,
An intermediate value between the output signal suitable for the photographic area and the output signal suitable for the text and graph areas is generated by interpolation with the value of W.

【0089】なお、属性判別信号Wに基づき、M個(N
>M)の色信号処理ブロックからの出力信号に対して、
補間処理を行い最終出力信号を得るようにしても構わな
い。
It should be noted that M (N
> M) for the output signal from the color signal processing block,
Interpolation processing may be performed to obtain a final output signal.

【0090】(他の実施形態)本発明は、上述の各実施
形態の色信号変換のためのパラメーターをホストコンピ
ュータからダウンロードするような構成にすることもも
ちろん可能である。
(Other Embodiments) In the present invention, it is of course possible to adopt a configuration in which the parameters for color signal conversion in each of the above embodiments are downloaded from a host computer.

【0091】また上述の各実施形態では、判別された領
域ごとに適した出力信号をひとつだけ出力するようにし
たが、たとえばプリンター部としてM,C,Y,Kを同
時に印字可能な装置を用いる場合、M,C,Y,Kの4
つの異なる信号を並列に出力するように構成しても良
い。
In each of the above embodiments, only one output signal suitable for each discriminated area is output. However, for example, a device that can simultaneously print M, C, Y, and K is used as a printer unit. In the case, 4 of M, C, Y, K
It may be configured to output three different signals in parallel.

【0092】また、複数の機器(例えばホストコンピュ
ータ、インタフェース機器、リーダ、プリンタ等)から
構成されるシステムに適用しても一つの機器(例えば複
写機、ファクシミリ装置)からなる装置に適用してもよ
い。
Further, the present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.) or to an apparatus including one device (for example, a copying machine or a facsimile machine). Good.

【0093】また前述した実施形態の機能を実現する様
に各種のデバイスを動作させる様に該各種デバイスと接
続された装置あるいはシステム内のコンピュータに、前
記実施形態機能を実現するためのソフトウエアのプログ
ラムコードを供給し、そのシステムあるいは装置のコン
ピュータ(CPUあるいはMPU)を格納されたプログ
ラムに従って前記各種デバイスを動作させることによっ
て実施したものも本発明の範疇に含まれる。
Further, software for realizing the functions of the above-described embodiment is provided in an apparatus or a computer in the system connected to the various devices so as to operate the various devices so as to realize the functions of the above-described embodiment. The present invention also includes a program code supplied and executed by operating the various devices according to a stored program in a computer (CPU or MPU) of the system or apparatus.

【0094】またこの場合、前記ソフトウエアのプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコード自体、及びそのプログ
ラムコードをコンピュータに供給するための手段、例え
ばかかるプログラムコードを格納した記憶媒体は本発明
を構成する。
In this case, the program code of the software implements the functions of the above-described embodiment, and the program code itself and means for supplying the program code to the computer, such as the program code The storage medium storing the information constitutes the present invention.

【0095】かかるプログラムコードを格納する記憶媒
体としては例えばフロッピーディスク、ハードディス
ク、光ディスク、光磁気ディスク、CD−ROM、磁気
テープ、不揮発性のメモリカード、ROM等を用いるこ
とが出来る。
As a storage medium for storing such a program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, magnetic tape, nonvolatile memory card, ROM or the like can be used.

【0096】またコンピュータが供給されたプログラム
コードを実行することにより、前述の実施形態の機能が
実現されるだけではなく、そのプログラムコードがコン
ピュータにおいて稼働しているOS(オペレーティング
システム)、あるいは他のアプリケーションソフト等と
共同して前述の実施形態の機能が実現される場合にもか
かるプログラムコードは本発明の実施形態に含まれるこ
とは言うまでもない。
When the computer executes the supplied program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer, or another program. Needless to say, the program code is included in the embodiment of the present invention even when the functions of the above-described embodiment are realized in cooperation with application software or the like.

【0097】更に供給されたプログラムコードが、コン
ピュータの機能拡張ボードやコンピュータに接続された
機能拡張ユニットに備わるメモリに格納された後そのプ
ログラムコードの指示に基づいてその機能拡張ボードや
機能格納ユニットに備わるCPU等が実際の処理の一部
または全部を行い、その処理によって前述した実施形態
の機能が実現される場合も本発明に含まれることは言う
までもない。
Further, the supplied program code is stored in a memory provided in a function expansion board of the computer or a function expansion unit connected to the computer, and then stored in the function expansion board or the function storage unit based on the instruction of the program code. It is needless to say that the present invention includes a case where a provided CPU or the like performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0098】[0098]

【発明の効果】以上説明したように、本発明によれば、
少ないメモリー領域で、ルックアップテーブルを用いて
入力画像データの属性に応じた画像処理を行うことがで
きる。
As described above, according to the present invention,
Image processing according to the attributes of input image data can be performed using a look-up table in a small memory area.

【0099】また、自動的に入力画像の属性に応じた高
精度の画像処理を行うことができる。
Further, high-precision image processing according to the attributes of the input image can be automatically performed.

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

【図1】実施形態1にかかる色信号処理回路の構成の1
例を示すブロック図。
FIG. 1 illustrates a configuration of a color signal processing circuit according to a first embodiment.
FIG. 4 is a block diagram showing an example.

【図2】実施形態1にかかるカラー複写装置の装置概観
図。
FIG. 2 is an outline view of the color copying apparatus according to the first embodiment.

【図3】実施形態1にかかる信号処理部の構成の1例を
示すブロック図。
FIG. 3 is a block diagram showing an example of a configuration of a signal processing unit according to the first embodiment.

【図4】実施形態1にかかる画像属性判別の原理を説明
する図。
FIG. 4 is an exemplary view for explaining the principle of image attribute determination according to the first embodiment;

【図5】実施形態1にかかる色信号処理ブロックの構成
の1例を示すブロック図。
FIG. 5 is a block diagram showing an example of a configuration of a color signal processing block according to the first embodiment.

【図6】ルックアップテーブルによる色信号処理の原理
を説明する図。
FIG. 6 is a view for explaining the principle of color signal processing using a lookup table.

【図7】実施形態2にかかる色信号処理回路の構成の1
例を示すブロック図。
FIG. 7 shows a first configuration of the color signal processing circuit according to the second embodiment.
FIG. 4 is a block diagram showing an example.

【図8】実施形態2にかかる色信号処理回路の構成の1
例を示すブロック図。
FIG. 8 shows a configuration of a color signal processing circuit according to a second embodiment.
FIG. 4 is a block diagram showing an example.

【図9】従来の色信号変換方法を説明する図。FIG. 9 is a diagram illustrating a conventional color signal conversion method.

【図10】従来のテーブル変換方法を説明する図。FIG. 10 is a diagram illustrating a conventional table conversion method.

【図11】原稿画像の1例を示す図。FIG. 11 is a diagram showing an example of a document image.

【図12】原稿画像の1例を示す図。FIG. 12 is a diagram showing an example of a document image.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 1/46 Z ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI H04N 1/46 Z

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 入力画像データに対してテーブルを用い
て画像処理を行い出力画像データを生成する画像処理装
置であって、 異なる属性に対応する複数のテーブルを格納する格納手
段と、 入力画像データの上位Nビットに基づきテーブルを参照
して格子点データを抽出する抽出手段と、 入力画像データの下位Mビット及び前記格子点データに
基づき補間処理を行うことにより、出力画像データを生
成する生成手段とを有し、 前記格納手段は、テーブルを参照する前記上位Nビット
の値が異なる複数のテーブルを格納することを特徴とす
る画像処理装置。
1. An image processing apparatus for performing image processing on input image data using a table to generate output image data, comprising: storage means for storing a plurality of tables corresponding to different attributes; Extracting means for extracting grid point data by referring to a table based on the upper N bits of the data, and generating means for generating output image data by performing an interpolation process based on the lower M bits of input image data and the grid point data The image processing apparatus according to claim 1, wherein the storage unit stores a plurality of tables having different values of the upper N bits referring to the tables.
【請求項2】 更に、入力画像データの属性を示す属性
情報を入力する入力手段と、 前記属性情報に基づき、前記異なる属性に対応する複数
のテーブルによって生成された出力画像データに対して
重み付け処理を行う重み付け処理手段とを有することを
特徴とする請求項1記載の画像処理装置。
2. An input means for inputting attribute information indicating an attribute of the input image data; and a weighting process for output image data generated by a plurality of tables corresponding to the different attributes based on the attribute information. 2. The image processing apparatus according to claim 1, further comprising a weighting processing unit that performs the following.
【請求項3】 前記入力画像データを含む複数の画素に
対応する画像データに基づき、該入力画像データの属性
を判断し、前記属性情報を生成する判断手段を有するこ
とを特徴とする請求項2記載の画像処理装置。
3. The image processing apparatus according to claim 2, further comprising a determination unit configured to determine an attribute of the input image data based on image data corresponding to a plurality of pixels including the input image data and generate the attribute information. The image processing apparatus according to any one of the preceding claims.
【請求項4】 前記格納手段に格納されている複数のテ
ーブルには、写真画像に対応する第1のテーブルと文字
画像に対応する第2のテーブルが含まれていることを特
徴とする請求項1記載の画像処理装置。
4. The plurality of tables stored in the storage means include a first table corresponding to a photographic image and a second table corresponding to a character image. 2. The image processing device according to 1.
【請求項5】 前記第1のテーブルの方が前記第2のテ
ーブルより前記上位Nビットの値が大きいことを特徴と
する請求項3記載の画像処理装置。
5. The image processing apparatus according to claim 3, wherein the value of the upper N bits is larger in the first table than in the second table.
【請求項6】 第2のテーブルは無彩色が黒単色で再現
するような格子点データを有していることを特徴とする
請求項4記載の画像処理装置。
6. The image processing apparatus according to claim 4, wherein the second table has grid point data such that an achromatic color is reproduced as a single black color.
【請求項7】 格納されている異なる属性に対応する複
数のテーブルに基づき入力画像データに対して画像処理
を行い出力画像データを生成する画像処理方法であっ
て、 入力画像データの上位Nビットに基づきテーブルを参照
して格子点データを抽出する抽出工程と、 入力画像データの下位Mビット及び前記格子点データに
基づき補間処理を行うことにより、出力画像データを生
成する生成工程とを有し、 前記格納されているテーブルはテーブルを参照する前記
上位Nビットの値が異なることを特徴とする画像処理方
法。
7. An image processing method for performing image processing on input image data based on a plurality of stored tables corresponding to different attributes to generate output image data, comprising: An extraction step of extracting grid point data by referring to a table based on the table, and a generation step of generating output image data by performing an interpolation process based on lower M bits of input image data and the grid point data, The image processing method according to claim 1, wherein the stored table differs in the value of the upper N bits referring to the table.
【請求項8】 異なる色処理特性を有するN個のテーブ
ルを格納する格納手段と、 入力画像の属性を判定する判定手段と、 前記判定された属性に基づき、前記複数のテーブルから
M(M<N)個のテーブルを選択し、該選択されたM個
のテーブルによって色処理されたデータに対して該判定
された属性に応じた重み付け処理を行い出力信号を生成
する手段とを有することを特徴とする画像処理装置。
8. A storage unit for storing N tables having different color processing characteristics; a determination unit for determining an attribute of an input image; and M (M <M) based on the determined attribute. Means for selecting N) tables and performing weighting processing on the data color-processed by the selected M tables in accordance with the determined attribute to generate an output signal. Image processing apparatus.
【請求項9】 前記判定手段は、属性判定画素を含む数
画素の分布を検出し、入力画像の属性を判定することを
特徴とする請求項8記載の画像処理装置。
9. The image processing apparatus according to claim 8, wherein the determination unit detects a distribution of several pixels including an attribute determination pixel and determines an attribute of the input image.
【請求項10】 前記判定手段は、画素毎に属性を判定
することを特徴とする請求項8記載の画像処理装置。
10. The image processing apparatus according to claim 8, wherein said determining means determines an attribute for each pixel.
【請求項11】 入力画像の属性を判定し属性情報を生
成し、 前記属性情報に基づき、格納されている異なる色処理特
性を有するN個のテーブルからM(M<N)個のテーブ
ルを選択し、 前記選択されたM個のテーブルによって色処理されたデ
ータに対して該判定された属性に応じた重み付け処理を
行い出力信号を生成することを特徴とする画像処理方
法。
11. An attribute of an input image is determined to generate attribute information, and M (M <N) tables are selected from N tables having different stored color processing characteristics based on the attribute information. An image processing method comprising: performing weighting processing according to the determined attribute on data color-processed by the selected M tables to generate an output signal.
JP9025172A 1997-02-07 1997-02-07 Picture processor and picture processing method Withdrawn JPH10224648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9025172A JPH10224648A (en) 1997-02-07 1997-02-07 Picture processor and picture processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9025172A JPH10224648A (en) 1997-02-07 1997-02-07 Picture processor and picture processing method

Publications (1)

Publication Number Publication Date
JPH10224648A true JPH10224648A (en) 1998-08-21

Family

ID=12158597

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9025172A Withdrawn JPH10224648A (en) 1997-02-07 1997-02-07 Picture processor and picture processing method

Country Status (1)

Country Link
JP (1) JPH10224648A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002321392A (en) * 2001-03-02 2002-11-05 Oce Technologies Bv Constitution method for printer and ink cartridge
JP2006203532A (en) * 2005-01-20 2006-08-03 Fuji Xerox Co Ltd Color conversion apparatus, color conversion method, and program
KR100693735B1 (en) 2005-01-07 2007-03-12 엘지전자 주식회사 Method of data conversion using Look Up Tables
KR100970621B1 (en) 2003-05-26 2010-07-15 엘지전자 주식회사 Image compensation apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002321392A (en) * 2001-03-02 2002-11-05 Oce Technologies Bv Constitution method for printer and ink cartridge
US7375834B2 (en) 2001-03-02 2008-05-20 Oce-Technologies B.V. Method of configuring a printer and ink cartridge
KR100970621B1 (en) 2003-05-26 2010-07-15 엘지전자 주식회사 Image compensation apparatus
KR100693735B1 (en) 2005-01-07 2007-03-12 엘지전자 주식회사 Method of data conversion using Look Up Tables
JP2006203532A (en) * 2005-01-20 2006-08-03 Fuji Xerox Co Ltd Color conversion apparatus, color conversion method, and program
JP4529702B2 (en) * 2005-01-20 2010-08-25 富士ゼロックス株式会社 Color conversion apparatus, color conversion method, and program

Similar Documents

Publication Publication Date Title
US5748342A (en) Image processing apparatus and method
JP4261739B2 (en) Image processing apparatus, image processing method, storage medium, and image processing system
US7940434B2 (en) Image processing apparatus, image forming apparatus, method of image processing, and a computer-readable storage medium storing an image processing program
EP0929190B1 (en) Method and apparatus for correcting luminance and chrominance data in digital color images
US5960162A (en) Image processing apparatus which converts multi-value density data and outputs the converted data
KR100405226B1 (en) Halftone dither cell with integrated preferred color matching
US20010035989A1 (en) Method, apparatus and recording medium for color correction
US20070030499A1 (en) Color processing method and apparatus
GB2273017A (en) Colour error diffusion dependent on neighbouring pixel gradation
US7411707B2 (en) Image processing apparatus and method thereof
JP4373312B2 (en) Image forming method and image forming system for reproducing color image into monochrome image
US20070030498A1 (en) Color processing method and apparatus
JP4280404B2 (en) Image processing apparatus and method
JP2004235993A (en) Method for image processing
US6373980B2 (en) Image processing method and apparatus for transforming the color space of entered image data
JP4637686B2 (en) Color conversion apparatus, image forming apparatus, color conversion method, and computer program
US7460268B2 (en) Image processing device, image forming device, image processing method, image processing program, and recording medium containing the image processing program recorded thereon
JPH11136532A (en) Color image forming device and its control method
JPH10224648A (en) Picture processor and picture processing method
JP2001352456A (en) Image-processing method and image-processing unit, and image-forming device provided with them
JPH09284579A (en) Color signal processor and copying device
JP4261720B2 (en) Image processing apparatus, image processing method, and recording medium
JP2001119591A (en) Color image processing unit
JPH10200764A (en) Picture processor
JP3206031B2 (en) Color image forming equipment

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040511