JP2000165685A - Color picture processor - Google Patents

Color picture processor

Info

Publication number
JP2000165685A
JP2000165685A JP11373842A JP37384299A JP2000165685A JP 2000165685 A JP2000165685 A JP 2000165685A JP 11373842 A JP11373842 A JP 11373842A JP 37384299 A JP37384299 A JP 37384299A JP 2000165685 A JP2000165685 A JP 2000165685A
Authority
JP
Japan
Prior art keywords
color
signal
determination
input
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP11373842A
Other languages
Japanese (ja)
Other versions
JP3262553B2 (en
Inventor
Yoichi Takaragi
洋一 宝木
Masahiro Funada
正広 船田
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 JP37384299A priority Critical patent/JP3262553B2/en
Publication of JP2000165685A publication Critical patent/JP2000165685A/en
Application granted granted Critical
Publication of JP3262553B2 publication Critical patent/JP3262553B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To precisely execute the reproduction of a color picture by generating a black signal for recording an achromatic area decided by an achromatic area signal through the use of signal components expressing neutral density most among the color signals of plural color components. SOLUTION: R(red), G(green) and B(blue) signals are given black area decision by a black area deciding part 806. In a case the pixel is a black area, a selector 804 selects Y", M", C", Bk" as outputs y(yellow), m(magenta), c(cyan), bk(black). Since Y", M", C" are outputs from a data generating part 805 and their values are 0, the values of the output y, m, c of the selector are all 0. In addition, Bk" is obtained by giving logarithm transformation to a G signal among inputted color signals and then giving density correction by a lookup table 808. In this case the signal among three primary color signals, the G signal is the nearest to a neutral density picture. A black signal for recording in the achromatic area decided by the achromatic area signal is generated like this.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はカラー画像処理装置
に関する。
The present invention relates to a color image processing apparatus.

【0002】[0002]

【従来の技術】従来、特公昭56−48869号公報に
開示されているように、カラー印字装置において、複数
の原色信号のレベルを比較し、無彩色のレベル値のとき
には、黒色のみを再生面上に着色することにより、複数
の原色の位置ずれによる画質劣化を防止する技術が知ら
れている。
2. Description of the Related Art Conventionally, as disclosed in Japanese Patent Publication No. 56-48869, in a color printing apparatus, the levels of a plurality of primary color signals are compared. There is known a technique for preventing deterioration of image quality due to misregistration of a plurality of primary colors by coloring on the top.

【0003】また、例えばカラー複写機において、読み
取り原稿が白黒原稿かカラーかを自動判別し、白黒原稿
の場合には黒単色プリントを実行し、カラー原稿の場合
にはカラープリントを実行する技術が知られている。か
かる原稿の種類の判別により、コピー実行時間の短縮、
経費の削減を図ることができる。
Further, for example, in a color copying machine, there is a technique for automatically determining whether a read original is a black-and-white original or a color original, executing black monochrome printing for a black-and-white original, and performing color printing for a color original. Are known. By determining the type of the original, the copy execution time can be reduced,
Expenses can be reduced.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来技術では、画像入力用のカラーセンサの読み取り位置
のずれ等に起因して、入力画像の黒文字の周辺部の画素
を有彩色と誤判定することが多かった。そのため、出力
画像の黒文字の周辺部に発生する色にじみを押さえるこ
とができなかった。
However, according to the above-mentioned prior art, pixels around the black characters of the input image are erroneously determined to be chromatic due to a shift in the reading position of the color sensor for image input. There were many. For this reason, it has not been possible to suppress color fringing occurring around the black characters of the output image.

【0005】特に図3に示す様な3ラインセンサは、R
(レッド)、G(グリーン)、B(ブルー)の各ライン
センサを一定の距離をおいて平行に並べたものである
が、光学系駆動用モータの振動等に起因して各ラインセ
ンサの読み取り位置がそれぞれ微妙にずれる。即ち3ラ
インセンサは一般に原稿上の異なるラインをR、G、B
各色のラインセンサが読み取り、適当な処理を施すこと
により原稿上の同一ラインに関するR、G、Bの色成分
信号の画素情報を得るものであるが、上述の様な振動等
の影響から所定の信号処理を施してもライン相互間の読
み取り位置のズレが無視できなくなる。
In particular, a three-line sensor as shown in FIG.
(Red), G (Green), and B (Blue) line sensors are arranged in parallel at a certain distance, but the reading of each line sensor is caused by vibration of the optical system driving motor and the like. The positions are slightly different. That is, a three-line sensor generally uses different lines on a document as R, G, B
The line sensor of each color reads and performs appropriate processing to obtain pixel information of the R, G, and B color component signals related to the same line on the document. Even if the signal processing is performed, the deviation of the reading position between lines cannot be ignored.

【0006】また、上記有彩・無彩の誤判定に伴い白黒
原稿とカラー原稿を誤判定するという問題があった。
In addition, there is a problem that a black-and-white document and a color document are erroneously determined in accordance with the chromatic / achromatic erroneous determination.

【0007】そこで本発明は、有彩/無彩の判定或いは
白黒原稿とカラー原稿の判別等を的確に行い、高精度に
カラー画像再生を行うことのできるカラー画像処理装置
を提供することを目的とする。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a color image processing apparatus capable of accurately performing chromatic / achromatic determination or discrimination between a black-and-white document and a color document and reproducing a color image with high accuracy. And

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
に本発明は、異なる分光特性に基づき複数成分のカラー
信号を入力する入力手段、前記複数成分のカラー信号に
従って、無彩色領域を示す無彩色領域信号を発生する発
生手段、前記複数色成分のカラー信号のうち最も中性濃
度を表す信号成分を用いて前記無彩色領域信号により決
る無彩色領域の記録用の黒信号を発生する処理手段とを
有することを特徴とする。
According to the present invention, there is provided an input means for inputting a plurality of component color signals based on different spectral characteristics, and an achromatic color indicating an achromatic region according to the plurality of component color signals. Generating means for generating a chromatic area signal; processing means for generating a black signal for recording in an achromatic area determined by the achromatic area signal using a signal component representing the most neutral density among the color signals of the plurality of color components And characterized in that:

【0009】また複数画素からなるブロック領域の入力
画像信号に応じた画像情報から該ブロック領域内の特定
画素の有彩・無彩判定信号を発生する発生手段、複数の
前記判定信号に基づき、前記入力画像信号に応じた画像
が白黒画像であるカラー画像であるか自動的に判別する
判別手段とを有し、前記発生手段は、前記入力画像信号
を構成する複数の色成分信号における信号レベルの最大
値、最小値により構成される2次元の判定空間を線形ま
たは非線形に区分し、有彩・無彩の判定を行なうことを
特徴とする。
Generating means for generating a chromatic / achromatic determination signal of a specific pixel in the block area from image information corresponding to an input image signal of the block area including a plurality of pixels; Determining means for automatically determining whether an image corresponding to the input image signal is a color image that is a black and white image, wherein the generating means determines a signal level of a plurality of color component signals constituting the input image signal. The two-dimensional determination space constituted by the maximum value and the minimum value is linearly or non-linearly divided, and chromatic / achromatic determination is performed.

【0010】更には、複数の色成分信号を入力する入力
手段、前記色成分信号から判定対象画素の色相を判定す
る色相判定手段、前記色相判定手段の出力に応じて前記
複数の色成分信号に応じた画素を、無彩色と判定する基
準を拡大する彩度判定手段を有することを特徴とする。
Further, input means for inputting a plurality of color component signals, hue determination means for determining the hue of a pixel to be determined from the color component signals, and conversion of the plurality of color component signals in accordance with the output of the hue determination means. The image processing apparatus further includes a saturation determination unit that expands a reference for determining a corresponding pixel as an achromatic color.

【0011】[0011]

【発明の実施の形態】実施例1 まず最初に本発明の第1の実施例の3ラインセンサの構
成について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 First, the configuration of a three-line sensor according to a first embodiment of the present invention will be described.

【0012】図1は、本実施例の画像処理装置のセンサ
部のブロック図である。同図において、1−1はR(レ
ッド)カラーセンサ、1−2はG(グリーン)カラーセ
ンサ、1−3はB(ブルー)カラーセンサ、1−4、1
−5、1−6はアナログ/デジタル変換器、1−7はR
センサ信号遅延メモリ、1−8はGセンサ信号遅延メモ
リ、1−9はRセンサ信号補間器、1−10はGセンサ
信号補間器である。1−11はクロック発生器でセンサ
1−1、1−2、1−3を同一のクロックより駆動す
る。クロック発生器はプリンタ或いは図2のマイクロプ
ロセッサー2−11から送られる水平同期信号に同期し
て画素クロック(CCDの転送クロックを発生する)。
FIG. 1 is a block diagram of a sensor unit of the image processing apparatus according to the present embodiment. In the figure, 1-1 is an R (red) color sensor, 1-2 is a G (green) color sensor, 1-3 is a B (blue) color sensor, 1-4, 1
-5 and 1-6 are analog / digital converters, 1-7 is R
A sensor signal delay memory, 1-8 is a G sensor signal delay memory, 1-9 is an R sensor signal interpolator, and 1-10 is a G sensor signal interpolator. Reference numeral 1-11 denotes a clock generator which drives the sensors 1-1, 1-2, and 1-3 using the same clock. The clock generator generates a pixel clock (generates a CCD transfer clock) in synchronization with a horizontal synchronizing signal sent from the printer or the microprocessor 2-11 in FIG.

【0013】図2は図1の遅延メモリ1−7、1−8及
び補間器1−9、1−10の構成図である。
FIG. 2 is a block diagram of the delay memories 1-7 and 1-8 and the interpolators 1-9 and 1-10 of FIG.

【0014】2−1はFIFOメモリで構成されるR信
号遅延メモリ、2−2はFIFOメモリで構成されるG
信号遅延メモリ、2−3及び2−4はFIFOメモリの
どの部分のセンサラインデータを乗算器に送るかを選択
するセレクタ、2−5、2−6、2−7、2−8は乗算
器、2−9、2−10は加算器である。2−14は倍率
等を入力し、表示する操作部、2−11はマイクロプロ
セッサであり、操作部2−14から倍率データに基づい
て乗算器2−5、2−6、2−7、2−8及びセレクタ
2−3、2−4を制御する。
2-1 is an R signal delay memory constituted by a FIFO memory, and 2-2 is a G signal constituted by a FIFO memory.
A signal delay memory, 2-3 and 2-4 are selectors for selecting which part of the FIFO memory to send sensor line data to the multiplier, and 2-5, 2-6, 2-7 and 2-8 are multipliers , 2-9 and 2-10 are adders. Reference numeral 2-14 denotes an operation unit for inputting and displaying a magnification and the like, and 2-11 denotes a microprocessor. Multipliers 2-5, 2-6, 2-7, 2 based on magnification data from the operation unit 2-14. -8 and the selectors 2-3 and 2-4.

【0015】図3は3ライン並列カラーセンサの構成図
である。301はR(レッド)ラインセンサ、302は
G(グリーン)ラインセンサ、303はB(ブルー)ラ
インセンサ、304はカラーセンサIC本体である。
FIG. 3 is a configuration diagram of a three-line parallel color sensor. Reference numeral 301 denotes an R (red) line sensor, 302 denotes a G (green) line sensor, 303 denotes a B (blue) line sensor, and 304 denotes a color sensor IC body.

【0016】本実施例において、ラインセンサ間の間隔
180μm、センサ画素幅10μmであり、等倍読み取
り時に必要な図2、2−1及び2−2の遅延メモリサイ
ズは、それぞれ2−1のR信号遅延メモリが36ライン
メモリ、G信号2−2のG信号遅延メモリが18ライン
メモリである。
In the present embodiment, the interval between the line sensors is 180 μm, the sensor pixel width is 10 μm, and the delay memory sizes of FIGS. The signal delay memory is a 36-line memory, and the G signal delay memory for the G signal 2-2 is an 18-line memory.

【0017】本実施例では、100%〜400%までの
副走査方向の変倍を可能とする為に、図2、2−1のR
信号遅延メモリサイズは144ラインメモリ、G信号遅
延メモリサイズは72ラインメモリで構成されている。
In this embodiment, in order to enable zooming in the sub-scanning direction from 100% to 400%, R in FIGS.
The signal delay memory size is composed of 144 line memories, and the G signal delay memory size is composed of 72 line memories.

【0018】図4は読み取り装置構成図である。FIG. 4 is a block diagram of the reading apparatus.

【0019】401はカラーセンサIC本体、402は
Rラインセンサ、403はGラインセンサ、404はB
ラインセンサ、405は第3反射ミラー、406は第2
反射ミラー、407は第1反射ミラー、408は原稿板
ガラス、409は原稿圧板、411は原稿を露光する照
明ランプ、412は結像レンズ、410は読み取り装置
本体である。原稿は図中矢印方向に走査される。
Reference numeral 401 denotes a color sensor IC body; 402, an R line sensor; 403, a G line sensor;
Line sensor, 405 is the third reflection mirror, 406 is the second reflection mirror
A reflection mirror, 407 is a first reflection mirror, 408 is an original plate glass, 409 is an original platen, 411 is an illumination lamp for exposing the original, 412 is an image forming lens, and 410 is a reading device main body. The original is scanned in the direction of the arrow in the figure.

【0020】ここで、読み取り装置の模式図を図6に示
す。
Here, FIG. 6 shows a schematic diagram of the reading device.

【0021】601は原稿、602は原稿601を照ら
すランプ、603はミラー、604はミラー603によ
り反射された原稿からの光を受光素子である3ラインセ
ンサ605に結像させるレンズ、606は画像処理部で
ある。
Reference numeral 601 denotes an original; 602, a lamp for illuminating the original 601; 603, a mirror; 604, a lens for forming an image of light from the original reflected by the mirror 603 on a three-line sensor 605 as a light receiving element; Department.

【0022】図5は、図2マイクロプロセッサ2−11
の処理流れ図である。
FIG. 5 shows the microprocessor 2-11 of FIG.
It is a processing flowchart of.

【0023】以下、図5の処理流れ図に従って説明す
る。
Hereinafter, description will be made with reference to the processing flow chart of FIG.

【0024】変倍率N、mをRセンサとBセンサ間の距
離をセンサの副走査方向の距離或いは等倍時の副走査方
向の読取画素ピッチで割った数とする。
The scaling factors N and m are obtained by dividing the distance between the R sensor and the B sensor by the distance between the sensors in the sub-scanning direction or the reading pixel pitch in the sub-scanning direction at the same magnification.

【0025】今、105%の副走査方向の変倍をする場
合について考えると、N=1.05。前述した通り、本
実施例ではm=36であるからRラインセンサとBライ
ンセンサの間隔内に含まれる画素数はN×m=1.05
×36=37.8(画素)となる。ここでN×mは倍率
Nにおけるセンサ間の読取画素数である。
Now, let us consider the case of changing the magnification in the sub-scanning direction by 105%, where N = 1.05. As described above, since m = 36 in the present embodiment, the number of pixels included in the interval between the R line sensor and the B line sensor is N × m = 1.05.
× 36 = 37.8 (pixels). Here, N × m is the number of read pixels between sensors at the magnification N.

【0026】図2、2−1のFIFOメモリにおいて+
37ラインの画素データをD(37)、+38ラインの
画素データをD(38)とし、式(1)の線形演算によ
り現在B(ブルー)センサが読み取っている原稿位置と
同じ位置に対応するR(レッド)信号の値を求める。
In the FIFO memory shown in FIGS.
The pixel data of the 37th line is set to D (37), and the pixel data of the +38 line is set to D (38), and R corresponding to the same position as the document position currently read by the B (blue) sensor by the linear operation of Expression (1). (Red) Find the value of the signal.

【0027】 D(37.8)=0.2×D(37)+0.8×D(38) …式(1)D (37.8) = 0.2 × D (37) + 0.8 × D (38) Equation (1)

【0028】上記補間処理に対応する制御をマイクロプ
ロセッサ2−11が行う。
The microprocessor 2-11 performs control corresponding to the above-mentioned interpolation processing.

【0029】500でN、mをセットし、501でマイ
クロプロセッサ2−11は式(2)の演算を行う。
At step 500, N and m are set, and at step 501, the microprocessor 2-11 performs the operation of equation (2).

【0030】A=N×m−〔N×m〕 …式(2) ここで〔 〕は少数部を切り捨てる整数化処理である。A = N × m− [N × m] Equation (2) Here, [] is an integer conversion process in which a decimal part is truncated.

【0031】本実施例の場合、m=36であるから10
5%の副走査方向変倍の場合、 A=36×1.05−〔36×1.05〕=0.8 …式(3) となる。
In the case of this embodiment, since m = 36, 10
In the case of 5% magnification change in the sub-scanning direction, A = 36 × 1.05- [36 × 1.05] = 0.8 (3)

【0032】502でマイクロプロセッサ2−11は、
乗算器2−5に係数Aを乗算係数として設定する。
At 502, the microprocessor 2-11
The coefficient A is set as a multiplication coefficient in the multiplier 2-5.

【0033】503で〔N×m〕の値を求め、セレクタ
2−3の設定を行う。〔N×m〕の値は変倍時のRライ
ンセンサとBラインセンサの副走査方向の画素間隔の整
数部分である。m=36、N=1.05の場合〔N×
m〕=37であり、FIFOメモリ2−1のD(37)
(:+37ラインの画素データ)のデータが乗算器2−
6に流れ、FIFOメモリ2−1のD(37+1)のデ
ータが乗算器2−5に流れる様、マイクロプロセッサ2
−11はセレクタ2−3の設定を行う。
In step 503, the value of [N × m] is obtained, and the selector 2-3 is set. The value of [N × m] is an integer part of the pixel interval in the sub-scanning direction of the R line sensor and the B line sensor during zooming. When m = 36 and N = 1.05 [N ×
m] = 37, and D (37) of the FIFO memory 2-1
(: Pixel data of +37 line) is a multiplier 2-
6 so that the data of D (37 + 1) of the FIFO memory 2-1 flows to the multiplier 2-5.
Reference numeral -11 sets the selector 2-3.

【0034】504で(1−A)の値を求め、乗算器2
−6に乗算の係数として設定する。こうして式(1)の
演算が行われ、Rのデータが得られる。
In step 504, the value of (1-A) is obtained,
-6 is set as the multiplication coefficient. In this way, the calculation of equation (1) is performed, and the data of R is obtained.

【0035】次にGのデータを求める為に、式(4)の
演算を行う。
Next, in order to obtain the data of G, the operation of equation (4) is performed.

【0036】E=N×l−〔N×l〕 …式(4) ここでlはGセンサとBセンサ間の距離をセンサの副走
査方向の距離、或いは等倍時の読取画素ピッチで割った
数である。
E = N × 1− [N × 1] (1) where 1 is the distance between the G sensor and the B sensor divided by the distance in the sub-scanning direction of the sensor or the read pixel pitch at the same magnification. Number.

【0037】本実施例の場合l=18であるから、今1
05%の副走査方向の変倍をする場合、N=1.05で
あり、N×l=18.9であるから、 D(18.9)=0.1×D(18)+0.9×D(19) …式(5) を求める必要がある。そこで、 E=18×1.05−〔18×1.05〕=0.9 …式(6) を設定し、506で〔N×l〕の値を求め、セレクタ2
−4の設定を行う。〔N×l〕の値は、変倍時のGライ
ンセンサとBラインセンサの副走査方向の画素間隔の整
数部分である。l=18、N=1.05の場合〔N×
l〕=18であり、FIFOメモリ2−2のD(18)
(+18ラインの画素データ)のデータが加算器2−8
に流れ、FIFOメモリ2−2のD(18+1)ライン
のデータが乗算器2−7に流れる様マイクロプロセッサ
2−11はセレクタ2−4の設定を行う。
In this embodiment, since l = 18, 1
In the case of changing the magnification in the sub-scanning direction by 05%, since N = 1.05 and N × l = 18.9, D (18.9) = 0.1 × D (18) +0.9 × D (19) Expression (5) needs to be obtained. Therefore, E = 18 × 1.05- [18 × 1.05] = 0.9 Expression (6) is set, and the value of [N × 1] is obtained in 506, and the selector 2
-4 is set. The value of [N × 1] is an integer part of the pixel interval in the sub-scanning direction between the G line sensor and the B line sensor during zooming. l = 18, N = 1.05 [N ×
l] = 18, and D (18) of the FIFO memory 2-2
(+18 line pixel data) is added to the adder 2-8.
The microprocessor 2-11 sets the selector 2-4 so that the data of the D (18 + 1) line of the FIFO memory 2-2 flows to the multiplier 2-7.

【0038】507でE=0.9の値を乗算係数として
乗算器2−7に設定する。508で(1−E)=0.1
の値を乗算器2−8に乗算係数として設定する。こうし
て式(4)の演算が行われ、GのデータD(18.9)
が求められる。
In step 507, the value of E = 0.9 is set in the multiplier 2-7 as a multiplication coefficient. (1-E) = 0.1 at 508
Is set as a multiplication coefficient in the multiplier 2-8. In this way, the operation of the equation (4) is performed, and the data D of G (18.9)
Is required.

【0039】以上の例はm、lが整数であったが、実際
にはRセンサとBセンサ間及びGセンサとBセンサ間の
距離を正確に作成することは難しい。例えばセンサの副
走査方向の距離(或いは、等倍時の副走査方向の読取画
素間隔)を10μmとした時、RセンサとBセンサの距
離が365μm、GセンサとBセンサの距離が178μ
mとなった場合には、mは36.5、lは17.8とな
る。この場合には等倍時、即ちN=1.0の場合にも補
間処理が必要となり、式(1)、式(4)は夫々下記の
如くなる。
In the above example, m and l are integers. However, it is actually difficult to accurately create distances between the R sensor and the B sensor and between the G sensor and the B sensor. For example, when the distance in the sub-scanning direction of the sensor (or the read pixel interval in the sub-scanning direction at the same magnification) is 10 μm, the distance between the R sensor and the B sensor is 365 μm, and the distance between the G sensor and the B sensor is 178 μm.
When it becomes m, m becomes 36.5 and 1 becomes 17.8. In this case, interpolation processing is also required at the same magnification, that is, when N = 1.0, and the equations (1) and (4) are as follows.

【0040】 A′=1×36.5−〔1×36.5〕=0.5 ∴D(36.5)=0.5×D(36)+0.5×D(37) …式(1)′ E′=1×17.8−〔1×17.8〕=0.8 ∴D(17.8)=0.2×D(17)+0.8×D(18) …式(2)′ いずれにしても図5の流れ図により実現できる。A ′ = 1 × 36.5− [1 × 36.5] = 0.5 ΔD (36.5) = 0.5 × D (36) + 0.5 × D (37) Equation ( 1) ′ E ′ = 1 × 17.8− [1 × 17.8] = 0.8 ∴D (17.8) = 0.2 × D (17) + 0.8 × D (18) Equation ( 2) 'In any case, it can be realized by the flowchart of FIG.

【0041】次に図7、図8により上記3ラインセンサ
を用いた読取装置の構成と動作について説明する。
Next, the configuration and operation of a reading apparatus using the above three-line sensor will be described with reference to FIGS.

【0042】図7、図8において、701は機箱、70
2は原稿載置ガラス、703は原稿、409は原稿を押
える原稿圧着板である。407は第1ミラーで、レール
706、706′に沿って摺動自在な支持部材707、
707′に支持されている。411は原稿3を照明する
ランプ、709はランプカバーで、ランプ411及びラ
ンプカバー709は支持部材に固定されており、これら
は一体で移動し、第1ミラーユニットAを構成してい
る。406、405は第2、第3ミラーで、上記レール
706、706′上を摺動自在な支持部材713、71
3′に支持されている。また、支持部材713、71
3′は第2ミラーカバー714によって保持されてお
り、これらは一体で移動し、第2ミラーユニットBを構
成している。第1、第2ミラーユニットA、Bは同一方
向へ同期して2対1の速度比で移動する。
7 and 8, reference numeral 701 denotes a machine box;
Reference numeral 2 denotes an original placing glass, reference numeral 703 denotes an original, and reference numeral 409 denotes an original pressing plate for pressing the original. Reference numeral 407 denotes a first mirror, which is a support member 707 slidable along rails 706 and 706 '.
707 '. Reference numeral 411 denotes a lamp for illuminating the document 3, and 709 denotes a lamp cover. The lamp 411 and the lamp cover 709 are fixed to a support member, and move together to form the first mirror unit A. 406 and 405 are second and third mirrors, and support members 713 and 71 slidable on the rails 706 and 706 '.
3 'is supported. Also, the support members 713, 71
Reference numeral 3 'is held by a second mirror cover 714, which moves together to form a second mirror unit B. The first and second mirror units A and B move synchronously in the same direction at a speed ratio of 2: 1.

【0043】412は結像レンズ、401固体撮像素子
である。
Reference numeral 412 denotes an imaging lens and 401 solid-state image sensor.

【0044】717はモータ、718はタイミングベル
ト、719は駆動軸である。駆動軸719には駆動プー
リ720、大プーリ721、721′、大プーリの半分
の径を有する小プーリ722、722′が固着されてお
り、これらは同期して回転する。723、723′、7
24、724′はテンションプーリで、テンションプー
リの回転軸725A 、725A ′、725B 、725
B ′にはバネ726A 、726A ′、726B 、726
B ′が取り付けられている。
Reference numeral 717 is a motor, 718 is a timing belt, and 719 is a drive shaft. A drive pulley 720, large pulleys 721, 721 ', and small pulleys 722, 722' having a half diameter of the large pulley are fixed to the drive shaft 719, and these rotate synchronously. 723, 723 ', 7
24,724 'is the tension pulley, the rotation axis 725 A of the tension pulley, 725 A', 725 B, 725
'The spring 726 A, 726 A' B, 726 B, 726
B 'is attached.

【0045】727、727′は長ワイヤで、その両端
部は第1ミラー支持部材707、707′に取り付けら
れ、また大プーリ721、721′に数回転、テンショ
ンプーリ723、723′に反回転巻き付けられてい
る。長ワイヤ727、727′には、バネ726A 、7
26A ′により3〜4kgの張力が加えられており、大
プーリ721、721′が回転するとこの回転力は長ワ
イヤ727、727′を介して支持部材707、70
7′に伝達され、第1ミラーユニットAはスライド移動
する。
Numerals 727 and 727 'are long wires, both ends of which are attached to the first mirror supporting members 707 and 707', and are wound around the large pulleys 721 and 721 'several times and wound around the tension pulleys 723 and 723'. Have been. The long wire 727,727 ', the spring 726 A, 7
26 A 'tension 3~4kg has been added, the large pulley 721,721' This rotational force when the rotation is supported via a long wire 727,727 'member 707,70
7 ', the first mirror unit A slides.

【0046】728、728′は短ワイヤで、その両端
部は第2、第3ミラー支持部材713、713′に取り
付けられ、また小プーリ722、722′に数回転、テ
ンションプーリ724、724′に半回転巻き付けられ
ている。短ワイヤ728、728′にもバネ726B
726B ′により3〜4kgの張力が加えられており、
小プーリ722、722′が回転すると第2ミラーユニ
ットBがスライド移動する。
Short wires 728 and 728 'are attached to the second and third mirror support members 713 and 713' at both ends, and are rotated several times on the small pulleys 722 and 722 ', and are connected to the tension pulleys 724 and 724'. It is wound half a turn. The spring 726 B in the short wire 728,728 ',
726 B 'applies 3-4 kg tension,
When the small pulleys 722, 722 'rotate, the second mirror unit B slides.

【0047】しかして、原稿703を原稿戴置ガラス7
02上にセットし、読み取りキー(図示せず)を押すと
ランプ411が点灯し、図7に実線で示したホームポジ
ションに位置する第1,第2ミラーユニットA,Bは速
度比2対1で往動を開始する。これにより原稿703の
原稿面はランプ411の長手方向に沿った部分が順次連
続して走査され、その原稿面からの反射光は、第1,第
2,第3ミラー407,406,405及び結像レンズ
412を経由して固体撮像素子401にスリット露光さ
れて読み取りが実行される。上記の読み取り動作におい
て、第1ミラーユニットA及び第2ミラーユニットBは
速度比2対1で同期して移動するため、原稿面から固体
撮像素子401までの距離(光路長)は一定に保たれ、
原稿画像はボケなくスリット露光される。
The original 703 is placed on the original placing glass 7
2 and press a read key (not shown) to turn on the lamp 411, and the first and second mirror units A and B located at the home positions indicated by solid lines in FIG. To start the forward movement. As a result, the original surface of the original 703 is scanned in succession along the longitudinal direction of the lamp 411, and the light reflected from the original surface is reflected by the first, second, and third mirrors 407, 406, 405 and Slit exposure is performed on the solid-state imaging device 401 via the image lens 412, and reading is performed. In the above reading operation, the first mirror unit A and the second mirror unit B move synchronously at a speed ratio of 2 to 1, so that the distance (optical path length) from the document surface to the solid-state imaging device 401 is kept constant. ,
The original image is slit-exposed without blur.

【0048】図7に破線で示す反転位置に第1,第2ミ
ラーユニットA,Bが達するとランプ411が消灯し、
復動が開始され、原稿読み取り開始位置Cまで第1ミラ
ーユニットAが移動すると、ブレーキが加わり、第1,
第2ミラーユニットA,Bは図7に実線で示すホームポ
ジションで停止する。繰返し読み取りの場合は上記の動
作を設定された回数だけ繰返す。
When the first and second mirror units A and B reach the reversal positions indicated by broken lines in FIG.
When the backward movement is started and the first mirror unit A moves to the document reading start position C, the brake is applied, and
The second mirror units A and B stop at the home position indicated by the solid line in FIG. In the case of repeated reading, the above operation is repeated a set number of times.

【0049】いま図4において、ミラー407の移動速
度をv、ラインセンサ間の距離をl、1ラインのデータ
読み取りに要する時間をtとすると、必要な遅延ライン
数Lは次式で示される。
In FIG. 4, if the moving speed of the mirror 407 is v, the distance between the line sensors is 1, and the time required for reading one line of data is t, the required number L of delay lines is expressed by the following equation.

【0050】L=l/v×1/t …(1)L = 1 / v × 1 / t (1)

【0051】式(1)の移送速度vは一定であることが
前提になっているが、ミラー407を駆動するモータの
性能(例えばコギング現象をおこすなど)や、駆動機構
に起因し移動速度のずれΔvが生じる。移動速度のずれ
量Δvは時間により変化する量であり、正又は負の値を
とる。
Although it is assumed that the transfer speed v in the equation (1) is constant, the performance of the motor driving the mirror 407 (for example, causing a cogging phenomenon) and the movement speed due to the drive mechanism are reduced. A shift Δv occurs. The shift amount Δv of the moving speed is an amount that changes with time and takes a positive or negative value.

【0052】一方式(1)で示す遅延ライン数Lは固定
であるためラインセンサ毎の原稿上の読み取り位置にず
れが生じ、これにより色ずれが発生する。
Since the number of delay lines L shown in one method (1) is fixed, a shift occurs in the reading position on the document for each line sensor, thereby causing a color shift.

【0053】この現象に起因する色ずれは、ミラーの移
動速度のずれ量Δvが時間により変化する値であるた
め、単純な色ずれ(例えば赤味を帯びるなど)とは異な
り、読み取り位置によって異なる複雑な色ずれとなる。
The color shift caused by this phenomenon is different from a simple color shift (for example, reddish) and differs depending on the reading position because the shift amount Δv of the mirror moving speed changes with time. Complicated color shift occurs.

【0054】そのため並列カラーセンサ401を用いて
黒文字のみで構成された原稿に代表される無彩画像の原
稿を読み取る際、複雑な色ずれが発生し、読み取り対象
の原稿の白黒/カラー判定の際にも誤判定の大きな要因
となっていた。
Therefore, when reading an achromatic image document represented by only a black character using the parallel color sensor 401, complicated color misregistration occurs, and the monochrome / color determination of the document to be read is performed. This was also a major cause of misjudgment.

【0055】そこで本実施例においては以下の様な手段
によりこれを解決している。
In this embodiment, this is solved by the following means.

【0056】図9の黒領域判定回路のブロック図におい
て、101,102,103は入力カラー信号であり、
それぞれR(レッド),G(グリーン),B(ブルー)
に対応する8ビットのデジタル信号である。これらの信
号は前述の様なイメージセンサにより入力される。10
4,105,106はそれぞれR,G,Bのカラー信号
の平滑回路、107はR,G,B信号の最大値A(A=
max(R,G,B))を検出する回路、108はR,
G,B信号の最小値B(B=min(R,G,B))を
検出する回路である。
In the block diagram of the black area determination circuit shown in FIG. 9, reference numerals 101, 102, and 103 denote input color signals.
R (red), G (green), B (blue) respectively
Is an 8-bit digital signal corresponding to. These signals are input by the image sensor as described above. 10
4, 105, and 106 are smoothing circuits for the R, G, and B color signals, respectively, and 107 is the maximum value A (A = A) of the R, G, and B signals.
max (R, G, B)), and 108 is a circuit for detecting R,
This circuit detects the minimum value B (B = min (R, G, B)) of the G and B signals.

【0057】109は最大値検出回路107及び最小値
検出回路108で求められた値より、D=max(R,
G,B)−min(R,G,B)を求める回路、110
は109により算出した値Dと定数aの大小比較を行
い、式(1)で示す比較結果を出力する回路である。
Reference numeral 109 denotes D = max (R, R, D) based on the values obtained by the maximum value detection circuit 107 and the minimum value detection circuit 108.
G, B) -min (R, G, B) circuit 110
Is a circuit that compares the value D calculated by 109 with the constant a, and outputs a comparison result represented by Expression (1).

【0058】 D<a:出力1 D≧a:出力0 (1) 111はA(A=max(R,G,B))と定数bの大
小比較を行い、式(2)で示す比較結果を出力する回路
である。
D <a: output 1 D ≧ a: output 0 (1) 111 compares A (A = max (R, G, B)) with a constant b and compares the result with the expression (2) Is a circuit that outputs.

【0059】 A<b:出力1 A≧b:出力0 (2) 112は110と111からの出力信号のAND演算を
行う回路、113は112から出力される黒領域信号を
補正する回路である。
A <b: output 1 A ≧ b: output 0 (2) 112 is a circuit that performs an AND operation on the output signals from 110 and 111, and 113 is a circuit that corrects the black area signal output from 112 .

【0060】本実施例においては明度が高いほど、入力
カラー信号値は大きい値となる。したがって、D=ma
x(R,G,B)−min(R,G,B)の値が定数a
より小さく、かつA=max(R,G,B)の値が定数
bに対応する一定の明度より小さい場合、すなわち図1
2に示す斜線領域に入力カラー信号値が含まれる場合は
AND回路112より1が黒領域信号補正回路113に
出力される。その他の場合、すなわち図12に示す斜線
領域に入力信号値が含まれない場合はAND回路112
より0が補正回路113に出力される。
In this embodiment, the higher the lightness, the larger the input color signal value. Therefore, D = ma
x (R, G, B) -min (R, G, B) is a constant a
1 and the value of A = max (R, G, B) is smaller than the constant brightness corresponding to the constant b, that is, FIG.
If the input color signal value is included in the shaded area indicated by 2, the AND circuit 112 outputs 1 to the black area signal correction circuit 113. In other cases, that is, when the input signal value is not included in the hatched area shown in FIG.
Is output to the correction circuit 113.

【0061】定数a及び定数bを適切に定めることによ
り、入力画の黒領域をその他の有彩色領域及び明るい原
稿地の部分から識別することができる。
By appropriately setting the constants a and b, the black area of the input image can be identified from the other chromatic areas and the bright original background.

【0062】但し、前述のように入力カラー信号の色ず
れ誤差の影響により、黒領域の部分の周辺の部分に誤判
定が生じる可能性がある。黒領域信号補正回路113
は、前記誤判定の補正を行うものである。なお、114
は原稿の黒文字を読み取り、判定された黒領域信号、1
16は補正回路113を経た後の判定信号、115はラ
インバッファである。
However, as described above, there is a possibility that an erroneous determination may occur in a portion around the black region due to the effect of the color misregistration error of the input color signal. Black area signal correction circuit 113
Corrects the erroneous determination. Note that 114
Indicates the black character of the document, and the determined black area signal, 1
Reference numeral 16 denotes a determination signal after passing through the correction circuit 113, and reference numeral 115 denotes a line buffer.

【0063】図10は黒領域信号補正回路113の機能
ブロック図である。図10において、116はAND回
路112より出力される黒領域信号114を格納するラ
インバッファであり、1画素につき1ビットで構成され
る。113はラインバッファ115に格納された黒領域
信号114を補正して判定信号116を出力するOR回
路である。この回路は補正対象画素eと、その近傍の8
画素(a,b,c,d,f,g,h,i)の値をOR演
算し、a〜iのうち少なくとも1つが1の場合には1
を、a〜iのすべてが0の場合には0を出力する。図1
5にこの補正回路による補正例を示す。補正例1はa〜
iの画素のうちa,b,d,e,g,hが0でc,f,
iが1の場合であり、この場合には補正前の補正対象画
素eの値が0であっても補正後のeの値は1となる。ま
た補正例2はbのみが1で他の画素はすべて0の場合で
あり、この場合にも補正前の補正対象画素eの値が0で
あっても補正後のeの値は1となる。
FIG. 10 is a functional block diagram of the black area signal correction circuit 113. In FIG. 10, reference numeral 116 denotes a line buffer for storing the black area signal 114 output from the AND circuit 112, which is constituted by one bit per pixel. An OR circuit 113 corrects the black area signal 114 stored in the line buffer 115 and outputs a determination signal 116. This circuit includes a correction target pixel e and 8
OR the values of the pixels (a, b, c, d, f, g, h, i), and if at least one of a to i is 1, 1
Is output when all of a to i are 0. FIG.
FIG. 5 shows an example of correction by this correction circuit. Correction Example 1 is a-
Of the pixels of i, a, b, d, e, g, h are 0 and c, f,
In this case, i is 1, and in this case, the value of e after correction is 1 even if the value of the correction target pixel e before correction is 0. In correction example 2, only b is 1 and all the other pixels are 0. In this case as well, even if the value of the correction target pixel e before correction is 0, the value of e after correction is 1 .

【0064】図14は本実施例に基づき原稿黒文字から
補正黒領域が再現されるまでを説明する図であり、60
1は原稿黒文字、602は入力画像、604は補正前の
黒領域、605は補正後の黒領域である。図14に示す
通り、原稿黒文字601を読み取り、判定された黒領域
信号114は原稿黒文字の周辺の読み取り時に生じる入
力カラー信号の色ずれ誤差603により604のように
原稿黒文字601より細めに判定される。そこで補正回
路113は黒領域信号114を補正し、判定信号116
を出力することにより、太め処理された補正黒領域60
5を再現している。
FIG. 14 is a diagram for explaining the process from the original black character to the reproduction of the corrected black area based on the present embodiment.
Reference numeral 1 denotes an original black character, 602 denotes an input image, 604 denotes a black area before correction, and 605 denotes a black area after correction. As shown in FIG. 14, the original black character 601 is read, and the determined black area signal 114 is determined to be narrower than the original black character 604 as indicated by 604 due to the color shift error 603 of the input color signal generated when reading around the original black character. . Therefore, the correction circuit 113 corrects the black area signal 114 and outputs a determination signal 116.
Is output, the thickened corrected black area 60
5 is reproduced.

【0065】図11は図9における平滑回路104〜1
06の機能を示すブロック図である。図11において、
301は入力カラー信号を格納するラインバッファであ
り、1画素につき8ビットで構成される。302はライ
ンバッファ301に格納された入力カラー信号を平滑化
カラー信号として出力する平滑演算器である。該演算器
は平滑化対象画素nについてnの近傍の4画素(j,
k,l,m)を用いて n=(4n+j+k+l+m)/8 で表わされる荷重平均をとることにより平滑化カラー信
号を出力する。
FIG. 11 shows the smoothing circuits 104-1 in FIG.
It is a block diagram which shows the function of 06. In FIG.
A line buffer 301 stores an input color signal, and is composed of 8 bits per pixel. Reference numeral 302 denotes a smoothing operation unit that outputs an input color signal stored in the line buffer 301 as a smoothed color signal. The arithmetic unit calculates four pixels (j,
The smoothed color signal is output by taking the weighted average represented by n = (4n + j + k + 1 + m) / 8 using (k, l, m).

【0066】図13−(a),図13−(b),図13
−(c)は計算機実験の結果を示す図である。図13−
(c)は黒文字原稿の例を表す図であり、図13−
(a),図13−(b)はカラー信号についてのmax
(R,G,B)−min(R,G,B)の分布を示した
ものである。図13−(a)は平滑化処理を行う前の入
力カラー原信号であり、図13−(b)は平滑化処理を
行った後の平滑化カラー信号である。この2図から明ら
かなように平滑化処理をした場合、入力されたmax
(R,G,B)−min(R,G,B)のばらつきが低
減しており、黒領域を抽出するための判定処理に平滑化
したカラー信号を用いるのが有効であることが実験的に
確かめられた。特に図13−(c)示すような画数の多
い文字において顕著な効果がみられる。
FIGS. 13 (a), 13 (b) and 13
FIG. 9C is a diagram showing the result of a computer experiment. Fig. 13-
FIG. 13C is a diagram showing an example of a black character original, and FIG.
(A) and FIG. 13- (b) show max for the color signal.
The distribution of (R, G, B) -min (R, G, B) is shown. FIG. 13A shows an input color original signal before the smoothing process is performed, and FIG. 13B shows a smoothed color signal after the smoothing process is performed. As is apparent from FIG. 2, when the smoothing process is performed, the input max
It is experimentally that the variation of (R, G, B) -min (R, G, B) is reduced, and it is effective to use a smoothed color signal for the determination process for extracting a black region. Was confirmed. In particular, a remarkable effect is seen in a character having a large number of strokes as shown in FIG.

【0067】図16は黒領域判定信号に基づく色信号処
理のブロック図である。
FIG. 16 is a block diagram of the color signal processing based on the black area determination signal.

【0068】図16において、800は画像読取部、8
01は対数変換部、802はマスキング変換部、803
はUCR(下色除去)部、804はセレクタである。
In FIG. 16, reference numeral 800 denotes an image reading unit;
01 is a logarithmic converter, 802 is a masking converter, 803
Is a UCR (under color removal) unit, and 804 is a selector.

【0069】画像読取部(例えばCCD)800により
入力されたR信号,G信号,B信号は801で対数変
換、802でマスキング演算を経てY信号,M信号,C
信号となり、803で下色除去処理(UCR)を受けて
Y′信号,M′信号,C′信号としてセレクタ804に
入力される。
An R signal, a G signal, and a B signal input from an image reading unit (for example, a CCD) 800 undergo logarithmic conversion at 801, undergo masking calculation at 802, and output Y, M, and C signals.
The signal is subjected to under color removal processing (UCR) at 803 and input to the selector 804 as a Y 'signal, M' signal, and C 'signal.

【0070】また一方でR信号,G信号,B信号は平滑
回路を経て黒領域判定部806に送られる。ここで第1
図に示した黒領域判定が行われる。黒領域判定部806
で当該画素が黒領域であると判定された場合にはセレク
タ804は出力y(イエロー),m(マゼンタ),c
(シアン),bk(ブラック)としてY″,M″,
C″,Bk″を選択する。
On the other hand, the R signal, the G signal, and the B signal are sent to a black area determination unit 806 via a smoothing circuit. Here the first
The black area determination shown in the figure is performed. Black area determination unit 806
If the pixel is determined to be a black area, the selector 804 outputs y (yellow), m (magenta), c
(Cyan), Y ", M", bk (black)
C ", Bk" are selected.

【0071】ここでY″,M″,C″は0データ発生部
805からの出力であり、その値は0である。したがっ
てセレクタの出力y,m,cの値はともに0となる。ま
たBk″は入力カラー信号のうちG(グリーン)信号を
対数変換した後LUT(ルックアップテーブル)808
で濃度補正したものである。
Here, Y ″, M ″, and C ″ are outputs from the 0 data generator 805, and their values are 0. Therefore, the values of the outputs y, m, and c of the selector are all 0. Bk ″ is an LUT (look-up table) 808 after logarithmic conversion of a G (green) signal among input color signals.
Is the density corrected.

【0072】図8に示すように、判定部806に入力す
る信号は平滑化信号を用い、プリントのための信号はこ
れとは別に平滑化せずにプリンタ809に送っている。
これにより判定のための信号処理による出力信号の劣化
を生じないで済む。
As shown in FIG. 8, a signal input to the determination unit 806 uses a smoothed signal, and a signal for printing is sent to the printer 809 without being separately smoothed.
As a result, the output signal does not deteriorate due to the signal processing for the determination.

【0073】R(レッド),G(グリーン),B(ブル
ー)の3原色カラー信号のうち、G(グリーン)信号を
用いることとしたのは、第13図のR,G,Bの各セン
サーの分光感度特性図に示す通り、G信号が最も中性濃
度画像(NDイメージ)に近いからである。すなわち、
R,G,Bの各信号を用いて演算し、中性濃度信号を生
成する方式(例えばNTSCのY信号)では、R,G,
Bの各信号の位置ずれの影響を受け、画像の鮮明度が低
下する場合がある。これに対し、黒領域の出力に単色の
G信号を用いれば、回路構成が簡単になり、またMTF
の劣化を防止することができるという利点がある。
Of the three primary color signals of R (red), G (green) and B (blue), the G (green) signal is used for each of the R, G and B sensors in FIG. This is because the G signal is closest to the neutral density image (ND image) as shown in FIG. That is,
In a method of generating a neutral density signal by calculating using each signal of R, G, B (for example, NTSC Y signal), R, G, B
There is a case where the sharpness of the image is reduced due to the influence of the displacement of each signal of B. On the other hand, if a monochromatic G signal is used for the output of the black area, the circuit configuration is simplified and the MTF
There is an advantage that deterioration of the can be prevented.

【0074】一方、当該領域が黒領域でないと判定され
た場合には、セレクタ804はY′,M′,C′,B
k′を選択し、出力y,m,c,bkとしてY′,
M′,C′,Bk′をプリンタ809に送出する。
On the other hand, if it is determined that the area is not a black area, the selector 804 determines whether Y ′, M ′, C ′, B
k ', and outputs Y', m, c, bk as Y ',
M ′, C ′, and Bk ′ are sent to the printer 809.

【0075】なお、本実施例では画像読取部800で
R,G,Bの3原色フィルターを使用した場合に黒領域
の出力に単色のG信号を用いることとしたが、例えば、
C(シアン),Y(イエロー),W(ホワイト)の3色
といった他のフィルターを使用した場合にも本実施例と
同様のことがいえる。すなわち、この場合には、Y,
M,Cの各信号を用いて演算をすることなく、W(ホワ
イト)信号単色から無彩色領域の出力を行うことによ
り、回路構成が簡単になり、またMTFの劣化を防止す
ることができるという上述と同様の効果が得られる。
In this embodiment, when the three primary color filters of R, G, and B are used in the image reading unit 800, a monochromatic G signal is used to output a black region.
The same can be said for the present embodiment when other filters such as three colors of C (cyan), Y (yellow), and W (white) are used. That is, in this case, Y,
By outputting an achromatic region from a single color of a W (white) signal without performing an operation using each of the M and C signals, the circuit configuration is simplified and MTF deterioration can be prevented. The same effect as described above can be obtained.

【0076】なお上述のCCD3ラインセンサの改良と
しては図17(a)に示す様なものも考えられる。
As an improvement of the above-mentioned CCD three-line sensor, the one shown in FIG.

【0077】図17において1701はレッド成分
(R)のラインセンサであり、レッド成分光のみを透過
するフィルタでラインセンサの複数の受光素子の表面が
覆われている。同様に1702はグリーン成分(G)の
ラインセンサ、1703はブルー成分(B)のラインセ
ンサであり、それぞれグリーン成分、ブルー成分の光の
みを透過するフィルタで複数の受光素子表面が覆われて
いる。
In FIG. 17, reference numeral 1701 denotes a red component (R) line sensor, which is a filter that transmits only red component light and covers the surfaces of a plurality of light receiving elements of the line sensor. Similarly, reference numeral 1702 denotes a green component (G) line sensor, and reference numeral 1703 denotes a blue component (B) line sensor. A plurality of light receiving element surfaces are covered with filters that transmit only green component and blue component light, respectively. .

【0078】各ラインセンサは、それぞれ180μmの
ピッチで隣接して平行に配置され、Bのラインセンサ
は、20μm×10μmの受光素子アレイで構成され、
R及びGのセンサは10μm×10μmの受光素子アレ
イで構成される。ここでBとR及びGの受光素子の受光
面積が異なるのは次の理由による。すなわち、一般に、
ブルー成分光のみの透過フィルターにおいては、ブルー
光の透過率が、レッド/グリーン成分光のみの透過フィ
ルターにおけるレッド/グリーン光の透過率に比べ低い
傾向にある。従って、信号のS/N比(信号雑音比)を
向上させる為にBのみの受光面積を大きくし、RとGの
信号とレベルを合わせる様にしてある。そのため、図1
7−(b)に示す様に、Bセンサの入力レベルと、R,
Gセンサの入力レベルがそろわず色ずれが発生する。
Each line sensor is arranged adjacently and in parallel at a pitch of 180 μm, and the B line sensor is constituted by a light receiving element array of 20 μm × 10 μm.
The R and G sensors are constituted by a 10 μm × 10 μm light receiving element array. Here, the light receiving areas of the light receiving elements of B, R and G are different for the following reason. That is, in general,
The transmittance of blue light in a filter transmitting only blue component light tends to be lower than the transmittance of red / green light in a filter transmitting only red / green component light. Therefore, in order to improve the S / N ratio (signal-to-noise ratio) of the signal, the light receiving area of only B is increased, and the levels of the R and G signals are matched. Therefore, FIG.
As shown in 7- (b), the input level of the B sensor, R,
The input level of the G sensor is not uniform, and a color shift occurs.

【0079】また、縮小光学系は、原稿面上の振動等に
よる色ずれ量がセンサ上に増幅されて伝わり、副走査方
向の移動時の速度むらによる色ずれの影響をより強くう
けるため、本実施例で示す無彩領域判定手段及び出力信
号補正手段が有効なものとなる。
In the reduction optical system, the amount of color misregistration due to vibrations on the original surface is amplified and transmitted to the sensor, and the effect of color misregistration due to uneven speed during movement in the sub-scanning direction is more strongly affected. The achromatic region determination unit and the output signal correction unit described in the embodiment become effective.

【0080】実施例2 前記実施例1においては、黒領域と判定されると黒単色
で出力するという処理を行っているが、色網点画が入力
原稿である場合、原稿の黒部分が強調され、出力画像の
色網点中の黒が不自然に強調されることがあった。
Second Embodiment In the first embodiment, a process of outputting a single black color when a black area is determined is performed. However, when a color halftone image is an input document, the black portion of the document is emphasized. In some cases, black in color dots of an output image is unnaturally emphasized.

【0081】本実施例は有彩画素が無彩画素の近傍にあ
る場合にこれを黒領域としないことにより、上記欠点を
除去するものである。
In the present embodiment, when a chromatic pixel is in the vicinity of an achromatic pixel, the above-mentioned disadvantage is eliminated by not setting this as a black area.

【0082】図18,図19,図20は本発明のカラー
画像処理装置の第2の実施例を説明する図面であり、図
18は上記処理装置の黒領域判定回路のブロック図、図
19は上記処理装置の有彩画素数カウント回路のブロッ
ク図、図20はmax(R,G,B)−min(R,
G,B)空間における有彩領域を示す図である。
FIGS. 18, 19, and 20 are views for explaining a second embodiment of the color image processing apparatus of the present invention. FIG. 18 is a block diagram of a black area determination circuit of the processing apparatus, and FIG. FIG. 20 is a block diagram of a chromatic pixel number counting circuit of the above processing device, and FIG. 20 shows max (R, G, B) -min (R,
FIG. 3 is a diagram illustrating a chromatic region in a (G, B) space.

【0083】図18において101〜115は図9と同
様なので説明を省略する。901はD=max(R,
G,B)−min(R,G,B)の値がある定数Cより
大きいか否かを比較する比較回路であり、図20の斜線
部分に当該画素が含まれるか否かを判定する。
In FIG. 18, reference numerals 101 to 115 are the same as those in FIG. 901 is D = max (R,
G, B) -min (R, G, B) is a comparison circuit for comparing whether or not the value is larger than a constant C, and determines whether or not the pixel is included in a hatched portion in FIG.

【0084】有彩画素の場合D=max(R,G,B)
−min(R,G,B)の値が無彩画素より大きい値と
なるため、定数Cを適切に定めることにより当該画素が
有彩か無彩かを判定することができる。この比較回路9
01はD≦Cの場合に0を出力し、D>Cの場合に1を
出力する。
In the case of a chromatic pixel, D = max (R, G, B)
Since the value of −min (R, G, B) is larger than the achromatic pixel, it is possible to determine whether the pixel is chromatic or achromatic by appropriately setting the constant C. This comparison circuit 9
01 outputs 0 when D ≦ C, and outputs 1 when D> C.

【0085】902は、3ラインのFIFOバッファメ
モリであり、有彩画素の判定結果が格納される。903
は当該画素の近傍の8画素に存在する有彩画素の個数を
カウントするカウンターである。すなわち、図19に示
す通り、ラインバッファ902に格納された画素Sを考
えると、この画素S及び近傍画素o,p,q,r,t,
u,v,wのうち有彩画素と判断されたものの個数がE
の値であり、カウンター903から出力される。
Reference numeral 902 denotes a 3-line FIFO buffer memory for storing the result of chromatic pixel determination. 903
Is a counter for counting the number of chromatic pixels present in the eight pixels near the pixel. That is, as shown in FIG. 19, considering the pixel S stored in the line buffer 902, this pixel S and neighboring pixels o, p, q, r, t,
The number of pixels determined as chromatic pixels among u, v, w is E
And is output from the counter 903.

【0086】904はカウンター903で計測された有
彩画素の個数Eが定数d(本実施例ではd=1)を超え
るか否かを判定する比較回路である。すなわち、比較回
路904はE>dの場合に0を出力し、E≦dの場合に
1を出力する。
A comparison circuit 904 determines whether or not the number E of chromatic pixels measured by the counter 903 exceeds a constant d (d = 1 in this embodiment). That is, the comparison circuit 904 outputs 0 when E> d, and outputs 1 when E ≦ d.

【0087】前記処理により、当該画素の8連結近傍に
有彩画素が特定の個数(定数dに相当)以下の場合のみ
黒領域判定となる。
According to the above-described processing, a black area is determined only when the number of chromatic pixels is equal to or less than a specific number (corresponding to a constant d) in the vicinity of eight connected pixels.

【0088】905はAND回路であり、補正回路11
3の出力及び比較回路904の出力がいずれも1の場合
に1を判定信号906として出力し、その他の場合には
0を出力する。
Reference numeral 905 denotes an AND circuit, and the correction circuit 11
When both the output of 3 and the output of the comparison circuit 904 are 1, 1 is output as the determination signal 906, and otherwise, 0 is output.

【0089】これにより、入力カラー原稿が色網点画で
ある場合に、色網点の中の黒が不自然に強調されること
を防止することが可能となる。
Thus, when the input color document is a color halftone image, it is possible to prevent black in the color halftone dots from being unnaturally emphasized.

【0090】なお本実施例では、有彩色領域判定も無彩
色領域判定と同数の近傍8画素を用いて行っているが、
この近傍画素数を有彩色領域判定と無彩色領域判定で異
なったものとすることもできる。
In this embodiment, the chromatic color area determination is also performed by using the same number of neighboring eight pixels as the achromatic color area determination.
The number of neighboring pixels may be different between the chromatic color area determination and the achromatic color area determination.

【0091】実施例3 図21は本発明のカラー画像処理装置の第3の実施例を
説明する図面であり、黒領域判定回路のブロック図であ
る。
Embodiment 3 FIG. 21 is a view for explaining a third embodiment of the color image processing apparatus according to the present invention, and is a block diagram of a black area determination circuit.

【0092】前記第2の実施例においては、当該画素の
近傍に有彩画素が存在する場合に、黒領域判定を妨げる
ものであったが、本実施例においては、当該画素の近傍
の黒領域判定画素数fと、有彩判定画素数Eを比較し、
f>Eの場合に黒領域判定を行うものである。
In the second embodiment, when a chromatic pixel is present in the vicinity of the pixel, the black area determination is prevented. In the present embodiment, the black area in the vicinity of the pixel is prevented. By comparing the number of judgment pixels f with the number of chromatic judgment pixels E,
When f> E, a black area determination is performed.

【0093】図21において、1201は黒領域判定の
結果を格納する3ラインのFIFOバッファメモリであ
り、1202は当該画素の近傍8画素の黒画素数を計数
するカウンタである。1203は黒画素数fと有彩画素
数Eとを比較する回路(コンパレータ)であり、f>E
の場合に1が、f≦Eの場合に0が判定信号1204と
して出力される。
In FIG. 21, reference numeral 1201 denotes a 3-line FIFO buffer memory for storing the result of the black area determination, and reference numeral 1202 denotes a counter for counting the number of black pixels of eight pixels near the pixel. Reference numeral 1203 denotes a circuit (comparator) for comparing the number f of black pixels with the number E of chromatic pixels, where f> E
1 is output as the determination signal 1204 when f ≦ E, and 0 when f ≦ E.

【0094】本実施例によれば有彩画素が黒画素の近傍
に存在する場合に、黒領域判定を妨げることにより、色
網点原稿の出力画像に不自然な黒が発生するのを防止す
ることができる。
According to the present embodiment, when a chromatic pixel exists in the vicinity of a black pixel, an unnatural black is prevented from being generated in an output image of a color halftone dot original by preventing a black area determination. be able to.

【0095】以上説明したように、本出願の実施例1か
ら実施例3によれば、判定した黒領域信号を補正する手
段を設けることにより、入力カラーセンサの位置ずれ等
により生じる、黒領域の誤判定による黒文字周辺の色に
じみを防ぐことができる。
As described above, according to the first to third embodiments of the present application, by providing the means for correcting the determined black area signal, the black area caused by the displacement of the input color sensor or the like is provided. Color fringing around black characters due to erroneous determination can be prevented.

【0096】また、入力カラー信号を平滑化して、黒領
域の判定を行うことにより、より正確な黒領域判定を行
うことができる。
Further, by determining the black area by smoothing the input color signal, more accurate black area determination can be performed.

【0097】さらに、入力カラー信号を該入力カラー信
号の特定の単色成分を用いて処理することにより、回路
構成が簡単となる。
Further, by processing the input color signal using a specific single color component of the input color signal, the circuit configuration is simplified.

【0098】実施例4 図23〜図30は第4の実施例を説明する図面である。 Embodiment 4 FIGS. 23 to 30 are views for explaining a fourth embodiment.

【0099】図23の判定回路のブロック図において、
2101はCCDでR(レッド),G(グリーン),B
(ブルー)を読み取るカラーセンサであり、例えば実施
例1の3ラインセンサを用いることができる。2102
はアナログ入力信号に対して8ビット(256階調)の
デジタル信号を出力するA/D変換器、2103はR,
G,Bのデジタルカラー信号を格納するラインバッフ
ァ、2104はR,G,Bの画像データをラインバッフ
ァ2103から順番に読み出すよう制御するアドレスシ
ーケンサ、2105はアドレスシーケンサ2104から
のR,G,B各8ビットの信号の最大値を検出する回
路、2106はアドレスシーケンサ2104からのR,
G,B各8ビットの信号の最小値を検出する回路、21
07はROM(リードオンリメモリ)で構成される16
ビット入力で1ビット出力のルックアップテーブル(L
UT)であり、図25に示す斜線の有彩色領域に(ma
x(R,G,B),min(R,G,B))が含まれる
場合に1を出力し、それ以外の場合に0を出力するよう
に構成されている。2108は、対象画素とその周囲の
8画素の有彩画素数をカウントするカウンタ(I)、2
109は2108で計測した有彩画素数(Aとする)
を、ある正の定数αと比較し、A>αの場合に1を出力
し、それ以外の場合に0を出力するコンパレータであ
る。2110は2109の出力が1となる個数をカウン
トするカウンタ(II)、2111はマイクロプロセッ
サであり、カウンタ2110の値より、原稿が白黒原稿
かカラー原稿かの判定、その他の制御を行う。2112
はCCD駆動回路、2113はカラーコピー動作又は白
黒コピー動作を行うよう制御する信号である。
In the block diagram of the judgment circuit shown in FIG.
2101 is a CCD with R (red), G (green), B
(Blue), for example, the three-line sensor of the first embodiment can be used. 2102
Is an A / D converter that outputs a digital signal of 8 bits (256 gradations) with respect to the analog input signal.
A line buffer for storing G and B digital color signals, 2104 is an address sequencer for controlling to read out R, G and B image data from the line buffer 2103 in order, and 2105 is each of R, G and B from the address sequencer 2104. A circuit for detecting the maximum value of the 8-bit signal, 2106 includes R, R from the address sequencer 2104,
A circuit for detecting the minimum value of an 8-bit signal for each of G and B, 21
07 is a ROM (Read Only Memory) 16
Look-up table (L
UT) and (ma) in the hatched chromatic area shown in FIG.
It is configured to output 1 when x (R, G, B) and min (R, G, B)) are included, and to output 0 in other cases. Reference numeral 2108 denotes a counter (I) for counting the number of chromatic pixels of the target pixel and its surrounding eight pixels, 2
109 is the number of chromatic pixels measured at 2108 (A)
Is compared with a certain positive constant α, and outputs 1 when A> α, and outputs 0 otherwise. Reference numeral 2110 denotes a counter (II) for counting the number at which the output of 2109 becomes 1, and reference numeral 2111 denotes a microprocessor. 2112
A CCD drive circuit 2113 is a signal for controlling a color copy operation or a monochrome copy operation.

【0100】上記構成において、各構成部分は以下のよ
うな動作を行う。
In the above configuration, each component performs the following operation.

【0101】CCD2101で読み取られたR(レッ
ド),G(グリーン),B(ブルー)のアナログ入力信
号は、A/D変換器2102でそれぞれ8ビットのデジ
タル信号に変換され、ラインバッファ2103に格納さ
れる。このラインバッファ2103は、3ライン分の画
像データを格納できるものであり、R,G,Bの各々に
ついて、計3個用意されている。ラインバッファ210
3に格納されている画像データの状態を図24に示す。
The R (red), G (green), and B (blue) analog input signals read by the CCD 2101 are converted into 8-bit digital signals by the A / D converter 2102 and stored in the line buffer 2103. Is done. The line buffer 2103 can store image data for three lines, and a total of three line buffers are prepared for each of R, G, and B. Line buffer 210
FIG. 24 shows the state of the image data stored in No.3.

【0102】次に、ある画素が有彩画素であるか無彩画
素であるかを判断する手順について説明する。いま、図
24において画素eを判断対象画素とすると、まず画素
eについてのR,G,Bそれぞれ8ビットのデータをア
ドレスシーケンサ2104によりラインバッファ210
3からアクセスする。このデータを用いて最大値検出回
路2105により、R,G,Bのうちの最大値max
(R,G,B)を検出し、最小値検出回路2106によ
りR,G,Bのうちの最小値min(R,G,B)を検
出する。このmax(R,G,B),min(R,G,
B)の値はそれぞれ8ビットのデジタル信号であり、L
UT(ルックアップテーブル)2107に入力される。
LUT2107は(max(R,G,B),min
(R,G,B))が図25の斜線領域に含まれる場合に
は、当該画素を有彩画素と判断し、カウンタ(I)21
08に1を出力する。一方、含まれない場合には無彩画
素と判断し、0を出力する。
Next, a procedure for determining whether a certain pixel is a chromatic pixel or an achromatic pixel will be described. Now, assuming that a pixel e is a pixel to be judged in FIG. 24, first, 8-bit data for each of R, G, and B for the pixel e is stored in the line buffer 210 by the address sequencer 2104.
Access from 3 The maximum value detection circuit 2105 uses this data to generate a maximum value max of R, G, and B.
(R, G, B) is detected, and the minimum value detection circuit 2106 detects the minimum value min (R, G, B) of R, G, B. This max (R, G, B), min (R, G,
Each value of B) is an 8-bit digital signal and L
The data is input to a UT (lookup table) 2107.
The LUT 2107 is (max (R, G, B), min
If (R, G, B)) is included in the shaded area in FIG. 25, the pixel is determined to be a chromatic pixel, and the counter (I) 21
Outputs 1 to 08. On the other hand, if not included, it is determined that the pixel is an achromatic pixel, and 0 is output.

【0103】ここで図25は、(max(R,G,
B),min(R,G,B))空間における有彩色領域
を図示したものである。従来、図26に示すように、m
ax(R,G,B)−min(R,G,B)の値Aがあ
る定数kを超える場合、すなわちA>kとなる場合に、
当該画素を判定する方法が知られている。これに対し、
図25に示すように、(max(R,G,B),min
(R,G,B))空間を非線型に区分し、有彩色判定す
ることにより、より正確に判定を行うことができる。
Here, FIG. 25 shows the relationship between (max (R, G,
FIG. 3B illustrates a chromatic color area in a B (), min (R, G, B)) space. Conventionally, as shown in FIG.
When the value A of ax (R, G, B) -min (R, G, B) exceeds a certain constant k, that is, when A> k,
A method for determining the pixel is known. In contrast,
As shown in FIG. 25, (max (R, G, B), min
(R, G, B)) The space can be divided into non-linear shapes and chromatic colors can be determined, so that the determination can be made more accurately.

【0104】なお、黒文字(無彩色)の原稿画像を、C
CD2101により入力した場合の(max(R,G,
B),min(R,G,B))空間の分布は図27に示
すようになる。
The original image of black characters (achromatic color) is
(Max (R, G,
FIG. 27 shows the distribution of the (B), min (R, G, B)) space.

【0105】以上のようにして、画素eについての有彩
・無彩の判定は一応は可能であるが、上述の構成のみで
は、例えばCCDセンサの位置ずれ等に起因する誤判定
を生じるおそれがある。そこで、本発明においては、以
下の構成によりかかる誤判定を防止することにしてい
る。
As described above, the chromatic / achromatic determination of the pixel e can be performed for the time being. However, with the above-described configuration only, there is a possibility that an erroneous determination may occur due to, for example, a displacement of the CCD sensor. is there. Therefore, in the present invention, such an erroneous determination is prevented by the following configuration.

【0106】すなわち、図24において判断対象画素e
に対して、その周囲の8画素a,b,c,d,f,g,
h,i(eを中心とする3×3マトリックスの領域)に
ついて、上述と同様の有彩・無彩の判定を行う。そして
a〜iの合計9画素についてLUTの出力が1となるも
のの数、すなわち有彩画素数の個数を、カウンタ(I)
2108により計数し、このカウント数Aを比較回路2
109においてある適当な正の定数αと比較し、A>α
の場合には、最終的に画素eを有彩画素と判定し、A≦
αの場合には無彩画素と判定する。
That is, in FIG.
With respect to the surrounding eight pixels a, b, c, d, f, g,
For h and i (3 × 3 matrix area centered on e), the same chromatic / achromatic determination is performed as described above. Then, the number of the LUTs whose output is 1 for a total of nine pixels a to i, that is, the number of chromatic pixels is determined by a counter (I).
2108, and the counted number A is compared with the comparison circuit 2
109 and compare it with some suitable positive constant α.
, The pixel e is finally determined to be a chromatic pixel, and A ≦
In the case of α, it is determined that the pixel is an achromatic pixel.

【0107】このように3×3のマトリックスで計9画
素の画像情報に基づき有彩・無彩の判定を行うことによ
り上記誤判定の防止を図ることができる。
As described above, erroneous determination can be prevented by performing chromatic / achromatic determination based on image information of a total of 9 pixels in a 3 × 3 matrix.

【0108】比較回路2109は有彩画素と判定する場
合には1を出力し、無彩画素と判定する場合には0を出
力する。
The comparison circuit 2109 outputs 1 when it is determined that the pixel is a chromatic pixel, and outputs 0 when it is determined that it is an achromatic pixel.

【0109】ここまでの一連の動作を原稿上のすべての
画素に対して行い、比較回路2109が1を出力する回
数、すなわち有彩画素の個数をカウンタ(II)211
0が計数し、全画素数に対するカウンタ(II)のカウ
ント数の割合Jが、ある定数βより大きい場合には、マ
イクロプロセッサ2111がカラー原稿と判定し、そう
でない場合には白黒原稿と判定し、それぞれのコピー動
作を行う。
The series of operations up to this point is performed for all pixels on the original, and the number of times that the comparison circuit 2109 outputs 1 (ie, the number of chromatic pixels) is counted by the counter (II) 211.
When 0 is counted and the ratio J of the count number of the counter (II) to the total number of pixels is larger than a certain constant β, the microprocessor 2111 determines that the document is a color document, and otherwise determines that the document is a monochrome document. Perform each copy operation.

【0110】上述の動作におけるマイクロプロセッサ2
111の処理を図28−(a)、図28−(b)のフロ
ーチャートで説明する。
Microprocessor 2 in the above operation
The processing of step 111 will be described with reference to the flowcharts of FIGS. 28- (a) and 28- (b).

【0111】S1において、マイクロプロセッサ211
1がCCD駆動回路2112を制御し、読み取りを開始
する。CCD駆動回路2112は変換パルスをA/D変
換器2102に送り、画素毎にR,G,B信号を8ビッ
トのデジタル信号に変換する。
At S1, the microprocessor 211
1 controls the CCD drive circuit 2112 to start reading. The CCD drive circuit 2112 sends the conversion pulse to the A / D converter 2102, and converts the R, G, and B signals into 8-bit digital signals for each pixel.

【0112】まず1ライン目を走査し(S2)、H−s
ync(水平同期信号)の割り込みを待って(S3)、
次のラインの走査に移る(S4)、3ライン目を走査し
終わると(S5)、判定に必要な画像データがラインバ
ッファ2103に格納される。
First, the first line is scanned (S2) and Hs
Waiting for an interrupt of the sync (horizontal synchronization signal) (S3),
The process shifts to scanning of the next line (S4), and when scanning of the third line is completed (S5), image data necessary for determination is stored in the line buffer 2103.

【0113】S6で、R,G,Bそれぞれのラインバッ
ファに格納されている8ビットの画像データをアドレス
シーケンサ2104により順番にアクセスする。判定対
象画素の周囲を含めた9画素について繰り返し(S
7)、1ライン分の処理が終了すれば次のラインの読み
取り(S3)に戻る(S9)。全ライン読み取りが終了
している場合には、カウンタ(II)のカウンタ値Bを
読み取り(S10)、全画素数に対するカウンタ(I
I)のカウント数の割合をJとする(S11)。Jの値
がある適当な定数βよりも大きい場合には,カラー原稿
と判定し(S12)、カラーコピーの動作を実行する
(S13)。一方、J≦βの場合には白黒原稿と判定し
(S12)、白黒コピーの動作を実行し(S14)、カ
ラーコピー動作を省略する。
At S 6, the 8-bit image data stored in the R, G, and B line buffers are sequentially accessed by the address sequencer 2104. Repeat for 9 pixels including the periphery of the determination target pixel (S
7) When the processing for one line is completed, the process returns to reading of the next line (S3) (S9). If all lines have been read, the counter value B of the counter (II) is read (S10), and the counter (I) for the total number of pixels is read.
The ratio of the count number of I) is set to J (S11). If the value of J is larger than an appropriate constant β, it is determined that the document is a color original (S12), and a color copy operation is performed (S13). On the other hand, if J ≦ β, it is determined that the document is a monochrome document (S12), a monochrome copy operation is performed (S14), and the color copy operation is omitted.

【0114】図29は、画像処理装置全体の構成を説明
する図面である。
FIG. 29 is a diagram illustrating the configuration of the entire image processing apparatus.

【0115】図29において、2701は画像読取部、
2702はカラー/白黒判定部、2703は画像処理
部、2704は画像再生部、2705は制御部である。
In FIG. 29, reference numeral 2701 denotes an image reading unit;
Reference numeral 2702 denotes a color / monochrome determination unit, 2703 denotes an image processing unit, 2704 denotes an image reproduction unit, and 2705 denotes a control unit.

【0116】画像読取部2701の情報に基づき、カラ
ー/白黒判定部2702がカラー原稿か白黒原稿かを判
定し、画像処理部2703は判定部2702の判定に応
じてカラー原稿の場合にはカラー画像処理を行い、白黒
画像処理を行う。画像再生部2704はカラー原稿の場
合にはY(イエロー),M(マゼンタ),C(シアン)
等のインクによるカラープリントを実行し、白黒原稿の
場合には、Bk(ブラック)の単色プリントを実行す
る。かかる判定を行うことにより、コピー時間の短縮、
経費の削減を図ることができる。
Based on the information of the image reading unit 2701, the color / monochrome determination unit 2702 determines whether the document is a color document or a monochrome document, and the image processing unit 2703 determines the color image if the document is a color document according to the determination of the determination unit 2702. Processing is performed, and black and white image processing is performed. In the case of a color original, the image reproducing unit 2704 is provided with Y (yellow), M (magenta), and C (cyan).
And color printing using inks such as Bk (black) for monochrome documents. By making such a determination, the copy time can be reduced,
Expenses can be reduced.

【0117】図30は、本実施例において本発明が適用
されるデジタルカラー複写機の全体構成図を示してい
る。
FIG. 30 shows an overall configuration diagram of a digital color copying machine to which the present invention is applied in this embodiment.

【0118】図30において、2201はイメージスキ
ャナ部で原稿を読み取り、デジタル信号処理を行う部分
である。また2202はプリンタ部であり、イメージス
キャナ部2201に読み取られた原稿画像に対応した画
像を用紙にフルカラーでプリント出力する部分である。
In FIG. 30, reference numeral 2201 denotes a portion for reading an original by an image scanner and performing digital signal processing. Reference numeral 2202 denotes a printer unit which prints out an image corresponding to the document image read by the image scanner unit 2201 on a sheet in full color.

【0119】イメージスキャナ部2201において、2
200は鏡面圧板であり、原稿台ガラス(以下プラテ
ン)2203上の原稿2204は、ランプ2205で照
射され、ミラー2206,2207,2208に導か
れ、レンズ2209により3ラインセンサ(以下CC
D)2210上に像を結び、フルカラー情報レッド
(R),グリーン(G),ブルー(B)成分として信号
処理部2211に送られる。尚、2205,2206は
速度vで、2207,2208は1/2vでラインセン
サの電気的走査方向に対して垂直方向に機械的に動くこ
とによって原稿全面を走査する。信号処理部2211で
は読み取られた信号を電気的に処理し、マゼンタ
(M),シアン(C),イエロー(Y),ブラック(B
k)の各成分に分解し、プリンタ部2202に送る。ま
た、イメージスキャナ部2201における一回の原稿走
査につき、M,C,Y,Bkのうちひとつの成分がプリ
ンタ部2202に送られ、計4回の原稿走査により一回
のプリントアウトが完成する。
In the image scanner unit 2201, 2
Reference numeral 200 denotes a mirror pressure plate. A document 2204 on a platen glass (hereinafter, platen) 2203 is irradiated with a lamp 2205, guided to mirrors 2206, 2207, and 2208.
D) An image is formed on 2210 and sent to the signal processing unit 2211 as full-color information red (R), green (G), and blue (B) components. Reference numerals 2205 and 2206 denote the speed v, and 2207 and 2208 denote the 1/2 v, and the entire surface of the document is scanned by mechanically moving in the direction perpendicular to the electrical scanning direction of the line sensor. The signal processing unit 2211 electrically processes the read signal, and outputs magenta (M), cyan (C), yellow (Y), and black (B
The component is decomposed into components k) and sent to the printer unit 2202. In addition, for one original scan in the image scanner unit 2201, one component among M, C, Y, and Bk is sent to the printer unit 2202, and one printout is completed by a total of four original scans.

【0120】イメージスキャナ部2201より送られて
くるM,C,YまたはBkの画信号は、レーザドライバ
2212に送られる。レーザドライバ2212は画信号
に応じ、半導体レーザ2213を変調駆動する。レーザ
光はポリゴンミラー2214、f−θレンズ2215、
ミラー2216を介し、感光ドラム2217上を走査す
る。
The image signal of M, C, Y or Bk sent from the image scanner unit 2201 is sent to the laser driver 2212. The laser driver 2212 modulates and drives the semiconductor laser 2213 according to the image signal. The laser beam is a polygon mirror 2214, an f-θ lens 2215,
Scanning is performed on the photosensitive drum 2217 via the mirror 2216.

【0121】2218は回転現像器であり、マゼンタ現
像部2219、シアン現像部2220、イエロー現像部
2221、ブラック現像部2222より構成され、4つ
の現像器が交互に感光ドラム2217に接し、感光ドラ
ム2217上に形成された静電潜像をトナーで現像す
る。
Reference numeral 2218 denotes a rotary developing unit, which comprises a magenta developing unit 2219, a cyan developing unit 2220, a yellow developing unit 2221, and a black developing unit 2222. The four developing units alternately contact the photosensitive drum 2217, The electrostatic latent image formed thereon is developed with toner.

【0122】2223は転写ドラムで、用紙カセット2
224又は2225より給紙されてきた用紙をこの転写
ドラム2223に巻きつけ、感光ドラム2217上に現
像された像を用紙に転写する。
Reference numeral 2223 denotes a transfer drum.
The paper fed from 224 or 2225 is wound around the transfer drum 2223, and the image developed on the photosensitive drum 2217 is transferred to the paper.

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

【0124】実施例5 図31〜図33は第5の実施例を説明する図面である。 Embodiment 5 FIGS. 31 to 33 are views for explaining a fifth embodiment.

【0125】図31の判定回路のブロック図において、
2101,2102,2105〜2113は図23と同
様なので説明は省略する。2301はLUT2107か
らの1ビットの信号を格納するラインバッファ、230
2はラインバッファ2301に格納されているデータを
マイクロプロセッサ2111からのアドレスバスによ
り、1画素ずつアクセスするアドレスシーケンサであ
る。
In the block diagram of the judgment circuit shown in FIG.
Reference numerals 2101, 2102, and 2105 to 2113 are the same as those in FIG. 2301 is a line buffer for storing a 1-bit signal from the LUT 2107;
Reference numeral 2 denotes an address sequencer for accessing data stored in the line buffer 2301 pixel by pixel via an address bus from the microprocessor 2111.

【0126】上記構成において、各部は以下のような動
作を行う。
In the above configuration, each unit operates as follows.

【0127】CCD2101で読み取られたR,G,B
のアナログ入力信号は、A/D変換器2102でそれぞ
れ8ビットのデジタル信号に変換される。このR,G,
Bの8ビット信号に基づき、1画素毎に最大値検出回路
2105によりR,G,Bのうちの最大値max(R,
G,B)を検出し、最小値検出回路2106により、
R,G,Bのうちの最小値min(R,G,B)を検出
する。このmax(R,G,B)、min(R,G,
B)の値はそれぞれ8ビットのデジタル信号であり、L
UT(ルックアップテーブル)2107に入力される。
上述の実施例4の場合同様LUT2107は(max
(R,G,B),min(R,G,B))が図25の斜
線領域に含まれる場合には当該画素を有彩画素と判断
し、1を出力する。一方含まれない場合には無彩画素と
判断し、0を出力する。
R, G, B read by CCD 2101
Are converted into 8-bit digital signals by the A / D converter 2102, respectively. This R, G,
On the basis of the 8-bit signal of B, the maximum value detection circuit 2105 detects the maximum value max (R,
G, B), and the minimum value detection circuit 2106 detects
The minimum value min (R, G, B) of R, G, B is detected. This max (R, G, B), min (R, G,
Each value of B) is an 8-bit digital signal and L
The data is input to a UT (lookup table) 2107.
As in the case of the fourth embodiment, the LUT 2107 is (max
If (R, G, B), min (R, G, B)) is included in the hatched area in FIG. 25, the pixel is determined to be a chromatic pixel, and 1 is output. On the other hand, if it is not included, it is determined that the pixel is an achromatic pixel, and 0 is output.

【0128】LUT2107により、CCD2101で
走査する1画素毎に、有彩・無彩が判定され、その結果
はラインバッファ2301に格納される。ラインバッフ
ァ2301は、3ライン分のデータを格納できるもの
で、3ライン分のデータがそろった時点で以下の手順に
移る。
The LUT 2107 determines chromaticity or achromaticity for each pixel scanned by the CCD 2101, and the result is stored in the line buffer 2301. The line buffer 2301 is capable of storing data for three lines, and proceeds to the following procedure when the data for three lines is completed.

【0129】図32はラインバッファの格納の状態を示
す図であり、いま、最終的な有彩・無彩の判断対象画素
をeとすると、その周囲の8画素a,b,c,d,f,
g,h,iを含めた9画素について1画素ずつアドレス
シーケンサ2302がラインバッファ2301からアク
セスし、格納されているデータが1のもの、すなわち有
彩画素をカウンタ(I)2108がカウントする。その
後処理は実施例4の場合と同様であり、このカウント数
Aを比較回路2109においてある適当な正の定数αと
比較し、A>αの場合には最終的に画素eを有彩画素と
判定し、A≦αの場合には無彩画素と判定する。比較回
路2109は有彩画素と判定する場合には1を出力し、
無彩画素と判定する場合には0を出力する。
FIG. 32 is a diagram showing the state of storage in the line buffer. Assuming that the final chromatic / achromatic pixel to be determined is e, the eight surrounding pixels a, b, c, d, f,
The address sequencer 2302 accesses the nine pixels including g, h, and i from the line buffer 2301 one pixel at a time, and the counter (I) 2108 counts one having stored data, that is, a chromatic pixel. Thereafter, the processing is the same as in the case of the fourth embodiment. The count number A is compared with an appropriate positive constant α in a comparison circuit 2109. If A> α, the pixel e is finally determined as a chromatic pixel. It is determined that the pixel is an achromatic pixel when A ≦ α. The comparison circuit 2109 outputs 1 when determining that the pixel is a chromatic pixel,
If the pixel is determined to be an achromatic pixel, 0 is output.

【0130】ここまでの一連の動作を原稿上のすべての
画素に対して行い、比較回路2109が1を出力する回
数、すなわち有彩画素の個数をカウンタ(II)211
0が計数し、全画素数に対するカウンタ(II)のカウ
ント数の割合Jが、ある定数βより大きい場合には、マ
イクロプロセッサ2111がカラー原稿と判定し、そう
でない場合には白黒原稿と判定し、それぞれのコピー動
作を行う。
The series of operations up to this point is performed for all pixels on the original, and the number of times that the comparison circuit 2109 outputs 1 (ie, the number of chromatic pixels) is counted by the counter (II) 211.
When 0 is counted and the ratio J of the count number of the counter (II) to the total number of pixels is larger than a certain constant β, the microprocessor 2111 determines that the document is a color document, and otherwise determines that the document is a monochrome document. Perform each copy operation.

【0131】上述の動作におけるマイクロプロセッサ2
111の処理の手順を図33のフローチャートで説明す
る。
Microprocessor 2 in the above operation
The procedure of the process of 111 will be described with reference to the flowchart of FIG.

【0132】S1〜S5は実施例4の場合と同様なので
説明は省略する。
Steps S1 to S5 are the same as those in the fourth embodiment, and a description thereof will be omitted.

【0133】S6において、アドレスシーケンサ230
2によりラインバッファ2301に格納されているデー
タをアクセスするが、本実施例の場合には、すでに画素
毎の有彩・無彩のデータがラインバッファ2301に格
納されているので、対象画素とその周辺の8画素、計9
画素中の有彩画素についてカウンタ(I)でカウントす
れば足りる。したがって、実施例4の場合に比べて、処
理速度を上げることができる。
In S6, the address sequencer 230
2, the data stored in the line buffer 2301 is accessed. In this embodiment, since the chromatic / achromatic data for each pixel is already stored in the line buffer 2301, the target pixel and its 8 peripheral pixels, 9 total
It is sufficient to count the chromatic pixels in the pixels with the counter (I). Therefore, the processing speed can be increased as compared with the case of the fourth embodiment.

【0134】S7〜S14も実施例4の場合と同様なの
で説明は省略する。
Steps S7 to S14 are the same as those in the fourth embodiment, and a description thereof will be omitted.

【0135】以上本実施例によれば、LUT2107の
後に、ラインバッファ2301を設けることにより、m
ax(R,G,B),min(R,G,B)の検出、有
彩・無彩の判定を1画素につき9回ずつ行う手間が省
け、処理に要する時間を短縮することができる。また、
A/D変換器の後にR,G,B各色毎のラインバッファ
を設ける必要もなくなり、装置の簡略化を図ることがで
きる。
According to the present embodiment, by providing the line buffer 2301 after the LUT 2107,
The ax (R, G, B) and min (R, G, B) detection and the chromatic / achromatic determination can be omitted nine times per pixel, and the time required for processing can be reduced. Also,
There is no need to provide a line buffer for each of the R, G, and B colors after the A / D converter, and the device can be simplified.

【0136】実施例6 図34〜図36は、第6の実施例を示したものである。 Embodiment 6 FIGS. 34 to 36 show a sixth embodiment.

【0137】前述第4の実施例においては、有彩判定対
象画素の周辺画素の有彩判定信号により、当該画素の有
彩判定を行い、その判定信号に基づいて入力原稿の白黒
/カラー判定を行うものであった。
In the above-described fourth embodiment, the chromaticity determination of the pixel is performed based on the chromaticity determination signal of the pixel surrounding the chromaticity determination target pixel, and the monochrome / color determination of the input document is performed based on the determination signal. Was to do.

【0138】本実施例においては、有彩判定対象画素の
周辺画素の有彩判定信号及び黒判定信号より、当該画素
の有彩判定を行い、その判定信号に基づいて、入力原稿
の白黒/カラー判定を行うものである。
In the present embodiment, the chromaticity determination of the pixel is performed based on the chromaticity determination signal and the black determination signal of the peripheral pixel of the chromaticity determination target pixel, and the monochrome / color / color of the input document is determined based on the determination signal. The judgment is performed.

【0139】入力原稿が白黒の場合のカラーセンサによ
る入力信号の色ずれ領域は、図34に示すように黒領域
の近傍に発生する。したがって、判定対象画素の近傍に
黒と判定される画素がある程度存在する場合、有彩判定
を妨げることにより、色ずれによる誤判定をより確実に
防止することができる。
A color misregistration area of an input signal by a color sensor when an input document is black and white occurs near a black area as shown in FIG. Therefore, when there are some pixels that are determined to be black in the vicinity of the determination target pixel, erroneous determination due to color misregistration can be more reliably prevented by preventing chromatic determination.

【0140】図35は第6の実施例の判定回路のブロッ
ク図である。
FIG. 35 is a block diagram of a judgment circuit according to the sixth embodiment.

【0141】図35において、2101〜2106、2
111〜2113は図23と同様なので説明は省略す
る。2401は有彩判定を行うための16ビット入力、
1ビット出力のルックアップテーブルであり、2402
は黒判定を行うための16ビット入力、1ビット出力の
ルックアップテーブルである。2403はLUT(I)
2401の出力が1の場合、すなわち有彩画素数Cをカ
ウントするカウンタ(I)であり、2404はLUT
(II)2402の出力が1の場合、すなわち黒画素数
Bkをカウントするカウンタ(II)である。2405
はカウンタ(I)2403の出力Cと、カウンタ(I
I)2404の出力Bkを比較し、C>Bkのとき、す
なわち黒画素数よりも有彩画素数の方が多い場合に1を
出力し、C≦Bkのときに0を出力する比較回路であ
る。2406は比較回路2405の出力をカウントする
カウンタ(III)である。
In FIG. 35, reference numerals 2101 to 2106, 2
Since steps 111 to 2113 are the same as those in FIG. 23, the description is omitted. 2401 is a 16-bit input for performing chromaticity determination,
A 1-bit output lookup table, 2402
Is a 16-bit input, 1-bit output lookup table for performing black determination. 2403 is the LUT (I)
When the output of 2401 is 1, that is, a counter (I) for counting the number of chromatic pixels C, 2404 is a LUT
(II) When the output of 2402 is 1, that is, a counter (II) for counting the number of black pixels Bk. 2405
Is the output C of the counter (I) 2403 and the counter (I)
I) A comparison circuit that compares the output Bk of 2404 and outputs 1 when C> Bk, that is, when the number of chromatic pixels is larger than the number of black pixels, and outputs 0 when C ≦ Bk. is there. Reference numeral 2406 denotes a counter (III) for counting the output of the comparison circuit 2405.

【0142】上記構成において、各構成部分は以下のよ
うな動作を行う。
In the above configuration, each component performs the following operation.

【0143】CCD2101で読み取られたR(レッ
ド),G(グリーン),B(ブルー)のアナログ入力信
号は、A/D変換器2102でそれぞれ8ビットのデジ
タル信号に変換され、ラインバッファ2103に格納さ
れる。このラインバッファ2103は、3ライン分の画
像データを格納できるものであり、R,G,Bの各々に
ついて計3個用意されている。
The R (red), G (green), and B (blue) analog input signals read by the CCD 2101 are converted into 8-bit digital signals by an A / D converter 2102 and stored in a line buffer 2103. Is done. The line buffer 2103 can store image data for three lines, and a total of three line buffers are prepared for each of R, G, and B.

【0144】実施例4の場合と同様に、いま、図24に
おいて画素eを判断対象画素とすると、まず画素eにつ
いてのR,G,Bそれぞれ8ビットのデータをアドレス
シーケンサ2104により、ラインバッファ2103か
らアクセスする。
As in the case of the fourth embodiment, assuming that the pixel e is a pixel to be judged in FIG. 24, first, 8-bit data for each of R, G, and B for the pixel e is stored in the line buffer 2103 by the address sequencer 2104. Access from

【0145】このデータを用いて最大値検出回路210
5により、R,G,Bのうち最大値max(R,G,
B)を検出し、最小値検出回路2106により、R,
G,Bのうちの最小値min(R,G,B)を検出す
る。このmax(R,G,B)、min(R,G,B)
の値はそれぞれ8ビットのデジタル信号であり、LUT
(I)2401と、LUT(II)2402に一組ずつ
入力される。
Using this data, the maximum value detection circuit 210
5, the maximum value max (R, G,
B) is detected, and R,
The minimum value min (R, G, B) of G and B is detected. This max (R, G, B), min (R, G, B)
Are 8-bit digital signals, and the LUT
(I) 2401 and LUT (II) 2402 are input one by one.

【0146】図36は(max(R,G,B),min
(R,G,B))空間における判定領域を示す図であ
る。
FIG. 36 shows (max (R, G, B), min
It is a figure which shows the determination area | region in (R, G, B)) space.

【0147】図36において2501は白領域、250
2は黒領域、2503は中間領域、2504は有彩色領
域である。
Referring to FIG. 36, reference numeral 2501 denotes a white area;
2 is a black area, 2503 is an intermediate area, and 2504 is a chromatic area.

【0148】LUT(I)2401は、(max(R,
G,B),min(R,G,B))が図36の有彩色領
域2504に含まれる場合には、当該画素を有彩画素と
判断し、カウンタ(I)2403に1を出力する。一
方、有彩色領域2504に含まれない場合には0を出力
する。
The LUT (I) 2401 is expressed as (max (R,
If (G, B), min (R, G, B)) are included in the chromatic area 2504 in FIG. 36, the pixel is determined to be a chromatic pixel, and 1 is output to the counter (I) 2403. On the other hand, when it is not included in the chromatic area 2504, 0 is output.

【0149】また、LUT(II)2402は(max
(R,G,B),min(R,G,B))が図36の黒
領域2502に含まれる場合には、当該画素を黒画素と
判断し、カウンタ(II)2404に1を出力する。一
方、黒領域2502に含まれない場合には0を出力す
る。
The LUT (II) 2402 is (max
When (R, G, B), min (R, G, B)) is included in the black region 2502 in FIG. 36, the pixel is determined to be a black pixel, and 1 is output to the counter (II) 2404. . On the other hand, when it is not included in the black area 2502, 0 is output.

【0150】比較回路2405は、カウンタ(I)24
03のカウント数C、すなわち有彩画素数と、カウンタ
(II)2404のカウント数Bk、すなわち黒画素数
を比較し、C>Bkのとき1を、C≦Bkのとき0を出
力する。この出力をカウンタ(III)2406がカウ
ントし、ここまでの一連の動作を原稿上のすべての画素
に対して行い、比較回路2405が1を出力する回数、
すなわち有彩画素の個数をカウンタ(III)2406
が計数し、全画素数に対するカウンタ(III)のカウ
ント数の割合Jが、ある定数βより大きい場合には、マ
イクロプロセッサ2111がカラー原稿と判定し、そう
でない場合には白黒原稿と判定し、それぞれのコピー動
作を行う。
The comparison circuit 2405 includes a counter (I) 24
The count number C of 03, ie, the number of chromatic pixels, is compared with the count number Bk of the counter (II) 2404, ie, the number of black pixels, and 1 is output when C> Bk, and 0 is output when C ≦ Bk. This output is counted by a counter (III) 2406, and a series of operations up to this point are performed on all pixels on the document, and the number of times the comparison circuit 2405 outputs 1
That is, the number of chromatic pixels is counted by the counter (III) 2406.
When the ratio J of the count number of the counter (III) to the total number of pixels is larger than a certain constant β, the microprocessor 2111 determines that the document is a color document, otherwise, determines that the document is a monochrome document, Each copy operation is performed.

【0151】なお、マイクロプロセッサ2111の処理
のフローチャートは、実施例4の場合とほぼ同様なの
で、その説明は省略する。
Note that the flowchart of the processing of the microprocessor 2111 is almost the same as that of the fourth embodiment, and the description thereof will be omitted.

【0152】以上のように、本実施例によれば、有彩画
素数と黒画素数を比較して判定対象画素の有彩・無彩を
判定するため、第4の実施例に比べると、判定精度が向
上するという効果がある。
As described above, according to the present embodiment, the number of chromatic pixels and the number of black pixels are compared to determine whether the pixel to be determined is chromatic or achromatic. There is an effect that the determination accuracy is improved.

【0153】実施例7 図37〜図40は第7の実施例を説明する図面である。Embodiment 7 FIGS. 37 to 40 are views for explaining a seventh embodiment.

【0154】上述の図34に示すように、白黒原稿の入
力画像の色にじみは、エッジ部に顕著に発生する。本実
施例においては、エッジ部を検出する手段を設け、該エ
ッジ部は色判定を行わないことにより、誤判定を減少さ
せるものである。
As shown in FIG. 34, the color bleeding of the input image of the black-and-white original remarkably occurs at the edge portion. In this embodiment, a means for detecting an edge portion is provided, and the edge portion does not perform color determination, thereby reducing erroneous determination.

【0155】また、本実施例においては原稿の白黒/カ
ラー判定のための読み取りスキャン速度を画像形成時よ
り高速で行うことにより、複写に要する時間の短縮を図
ることができる。
Further, in this embodiment, the time required for copying can be reduced by making the scanning speed for reading the original black and white / color higher than at the time of image formation.

【0156】図37の第7の実施例の判定回路の処理ブ
ロック図において、2101〜2113は図4と同様な
ので説明は省略する。2501はエッジ判定部であり、
当該画素がエッジであるか否かを判定する。2503は
AND回路であり、当該画素がエッジ部でない場合の
み、有彩判定信号をカウンタ2110に送り出す。
In the processing block diagram of the determination circuit of the seventh embodiment in FIG. 37, reference numerals 2101 to 2113 are the same as those in FIG. Reference numeral 2501 denotes an edge determination unit.
It is determined whether the pixel is an edge. Reference numeral 2503 denotes an AND circuit, which sends a chromaticity determination signal to the counter 2110 only when the pixel is not an edge portion.

【0157】上記構成において、各部は以下のような動
作を行う。
In the above configuration, each unit operates as follows.

【0158】基本動作は実施例4の場合と同様である
が、本実施例では白黒/カラー判定のための原稿スキャ
ンをコピー動作のための読み取りスキャンの2倍の速度
で行う。
The basic operation is the same as that of the fourth embodiment, but in this embodiment, the original scan for black / white / color determination is performed at twice the speed of the read scan for the copy operation.

【0159】そこで図38に示すように、ブロック処理
の対象となるウインドウのサイズを、主走査方向が副走
査方向の2倍となるようにすることで、白黒/カラー判
定における主走査方向と副走査方向のバランスをとって
いる。
Therefore, as shown in FIG. 38, the size of the window to be subjected to the block processing is set to be twice as large in the main scanning direction as in the sub-scanning direction. The scanning direction is balanced.

【0160】また、エッジ判定部2501は、図39の
エッジ判定処理ブロック図に示すように判定対象画素a
がエッジ部であるか否かを判断する。図39において2
104はアドレスシーケンサであって、図38に示すよ
うに画素のa〜eのG(グリーン)データ8ビットを演
算回路2504〜2507へ送る。2504〜2507
は演算回路で、それぞれ|a−b|,|a−e|,|a
−d|,|a−c|の8ビットデータを出力する。ここ
で図38に示すように、aは判定対象画素、bとeは画
素aに対し副走査方向に隣接する画素、cとdは画素a
に対し主走査方向に1つおいてとなりの画素である。か
かる画素の取り方をするのは、本実施例では白黒/カラ
ー判定のための原稿スキャンを通常のスキャンの2倍の
速度で行っているためである。2508は加算回路で、
2504〜2507の出力の総和F(F=|a−b|+
|a−e|+|a−d|+|a−c|)を求める。25
09は比較回路で前記総和Fが予め定められた値γより
大きい場合にはエッジ部と判定し0を出力し、小さい場
合にはエッジ部でないと判定し1を出力する。
The edge determining unit 2501 determines whether the pixel a to be determined is a pixel a as shown in FIG.
Is an edge portion. In FIG. 39, 2
Reference numeral 104 denotes an address sequencer, which sends 8 bits of G (green) data of pixels a to e to the arithmetic circuits 2504 to 2507 as shown in FIG. 2504-2507
Are arithmetic circuits, | ab |, | ae |, | a, respectively.
Output 8-bit data of −d |, | ac−. Here, as shown in FIG. 38, a is a pixel to be determined, b and e are pixels adjacent to the pixel a in the sub-scanning direction, and c and d are pixels a.
In the main scanning direction. The reason for taking such pixels is that in the present embodiment, the original scan for black / white / color determination is performed at twice the speed of a normal scan. Reference numeral 2508 denotes an addition circuit.
Sum F of outputs of 2504 to 2507 (F = | a−b | +
| Ae | + | ad | + | ac |). 25
A comparison circuit 09 determines that the edge is an edge and outputs 0 when the sum F is larger than a predetermined value γ, and outputs 1 when the total F is smaller than the predetermined value γ.

【0161】AND回路2503は比較回路2109と
2509のいずれもが1の場合には、カウンタ(II)
2110に1を出力し、それ以外の場合には0を出力す
る。
When both of the comparison circuits 2109 and 2509 are 1, the AND circuit 2503 operates the counter (II).
Output 1 to 2110; otherwise output 0.

【0162】このようにして、エッジ部と判定された画
素については、白黒/カラーの判定を行わず、誤判定を
防止することができる。
In this way, for a pixel determined to be an edge portion, black / white / color determination is not performed, and erroneous determination can be prevented.

【0163】図40−(a),図40−(b)は上述の
動作におけるマイクロプロセッサ2111の処理をフロ
ーチャートに示したものである。図40−(a),図4
0−(b)においてS1〜S10,S13,S14は実
施例4の場合と同様なので説明は省略する。
FIGS. 40- (a) and 40- (b) are flowcharts showing the processing of the microprocessor 2111 in the above operation. FIG. 40- (a), FIG.
In 0- (b), S1 to S10, S13, and S14 are the same as those in the fourth embodiment, and a description thereof will be omitted.

【0164】S20,S21はエッジ判定を行うため
に、上記図38の画素a〜eの計5画素のG(グリー
ン)データ8ビットをラインバッファ2103から演算
回路2504〜2507へアクセスするステップであ
る。
Steps S20 and S21 are steps for accessing the arithmetic circuits 2504 to 2507 from the line buffer 2103 with 8 bits of G (green) data of a total of five pixels a to e in FIG. .

【0165】S22において、有彩判定画素数Bの値が
定数βより大きい場合にカラー原稿と判断している。特
に、入力カラーセンサの色ずれ度合が小さい場合は本判
定方式が有効であり、これにより読み取りサイズの大小
にかかわらず、カラー部分が存在すればカラー原稿と判
定することができる。
In S22, if the value of the chromatic determination pixel number B is larger than the constant β, it is determined that the original is a color original. In particular, when the degree of color misregistration of the input color sensor is small, this determination method is effective. Thus, regardless of the size of the reading size, it can be determined that a color document exists if a color portion exists.

【0166】以上の様に本実施例によればエッジ部の白
黒/カラー判定を行わないことにより白黒/カラーの誤
判定を防止することができる。
As described above, according to this embodiment, erroneous black / white / color determination can be prevented by not performing black / white / color determination of the edge portion.

【0167】また本実施例によれば、白黒/カラー判定
の際の原稿スキャンを通常のコピー動作の読み取りスキ
ャンよりも速くすることにより、白黒/カラー判定に要
する時間を短縮できる。
Further, according to the present embodiment, the time required for the black / white / color determination can be reduced by making the original scan at the time of the black / white / color determination faster than the reading scan of the normal copy operation.

【0168】以上の実施例においてLUT(ルックアッ
プテーブル)は、最大値検出回路あるいは最小値検出回
路の出力がR,G,Bのいずれとなるかにより、異なっ
たものを用意することもできる。かかる構成とすればよ
り適切なテーブル参照が可能となる。
In the above embodiments, different LUTs (lookup tables) can be prepared depending on whether the output of the maximum value detection circuit or the minimum value detection circuit is R, G, or B. With this configuration, more appropriate table reference can be performed.

【0169】また、アドレスシーケンサからデータをア
クセスした後の処理をハードにより行うのではなく、コ
ンピュータの制御によりソフトで行うこともできる。
The processing after accessing data from the address sequencer may be performed by software under the control of a computer, instead of being performed by hardware.

【0170】さらに、(max(R,G,B),min
(R,G,B))空間において有彩色領域を決定するに
際し、非線型に区分せずに、線型に区分して近似するこ
ともできる。
Further, (max (R, G, B), min
When determining the chromatic color area in the (R, G, B)) space, it is also possible to approximate linearly instead of nonlinearly.

【0171】なお有彩・無彩の判定は、必ずしも3×3
のマトリックス計9画素で行う必要はなく、例えば対象
画素の上下左右を含め計5画素としたり、5×5のマト
リックス計25画素とすることもできる。
Note that the determination of chromatic / achromatic is not necessarily 3 × 3
It is not necessary to perform the processing with a total of 9 pixels, and for example, a total of 5 pixels including the upper, lower, left, and right of the target pixel may be used, or a 5 × 5 matrix of 25 pixels may be used.

【0172】以上説明したように、本出願の第4の実施
例から第7の実施例のカラー画像処理装置によれば、複
数画素からなるブロック領域の画素情報から該ブロック
領域内の特定の画素の有彩・無彩判定信号を発生する手
段と、複数の前記判定信号に基づき、入力画像信号が白
黒画像信号であるかカラー画像信号であるかを自動的に
判別する手段を有することにより、上記判定における誤
判定を防止することができる。
As described above, according to the color image processing apparatuses of the fourth to seventh embodiments of the present application, the specific pixel in the block area is obtained from the pixel information of the block area including a plurality of pixels. Means for generating a chromatic / achromatic determination signal, and having means for automatically determining whether the input image signal is a monochrome image signal or a color image signal based on a plurality of the determination signals, Erroneous determination in the above determination can be prevented.

【0173】実施例8 図41−(a)は、第8の実施例の全体構成図である。
図41−(a)において、3201はイメージスキャナ
部で原稿を読取り、ディジタル信号処理を行う部分であ
る。
Embodiment 8 FIG. 41- (a) is an overall configuration diagram of the eighth embodiment.
In FIG. 41A, reference numeral 3201 denotes a portion which reads an original by an image scanner and performs digital signal processing.

【0174】イメージスキャナ部3201において、3
200は鏡面圧板であり、原稿台ガラス(以下プラテ
ン)3203上の原稿3204は、ランプ3205で照
射され、ミラー3206,3207,3208に導か
れ、レンズ3209により実施例1で説明した3ライン
センサ(以下CCD)3210上に像を結び、フルカラ
ー情報レッド(R),グリーン(G),ブルー(B)成
分として色判定部3211に送られる。尚、3205,
3206は速度vで、3207,3208は1/2vで
ラインセンサの電気的走査方向に対して垂直方向に機械
的に動くことによって原稿全面を走査する。
In the image scanner section 3201, 3
Reference numeral 200 denotes a mirror surface pressure plate, and a document 3204 on a platen glass (hereinafter referred to as a platen) 3203 is irradiated with a lamp 3205, guided to mirrors 3206, 3207, and 3208, and is three-line sensor ( An image is formed on a CCD (CCD) 3210 and sent to a color determination unit 3211 as full-color information red (R), green (G), and blue (B) components. 3205
Reference numeral 3206 denotes a speed v, and 3207 and 3208 scan the entire original by mechanically moving in a direction perpendicular to the electrical scanning direction of the line sensor at 1/2 v.

【0175】図41−(b)はイメージスキャナ部の内
部ブロック図である。図41−(b)において、310
1はカウンタであり、CCD3210の主走査位置を指
定する主走査アドレス3102を出力する。すなわち、
水平同期信号HSYNCが1のときに、図示されないC
PUより所定値にセットされ、画素のクロック信号CL
Kによってインクリメントされる。
FIG. 41- (b) is an internal block diagram of the image scanner section. In FIG. 41- (b), 310
Reference numeral 1 denotes a counter which outputs a main scanning address 3102 for specifying a main scanning position of the CCD 3210. That is,
When the horizontal synchronization signal HSYNC is 1, C (not shown)
PU sets the pixel clock signal CL to a predetermined value.
Incremented by K.

【0176】CCD3201上に結像された画像は、3
つのラインセンサ3301,3302,3303におい
て光電変換され、それぞれR成分、G成分、B成分の読
取信号として、増巾器3304,3305,3306、
サンプルホールド回路3307,3308,3309及
びA/D変換器3310,3311,3312を通じて
各色8ビットのデジタル画信号3313(R),331
4(G),3315(B)として出力される。
The image formed on the CCD 3201 is 3
Are photoelectrically converted by the three line sensors 3301, 3302, and 3303, and read as R component, G component, and B component read signals, respectively, as amplifiers 3304, 3305, and 3306;
8-bit digital image signals 3313 (R), 331 for each color through sample hold circuits 3307, 3308, 3309 and A / D converters 3310, 3311, 3312.
4 (G) and 3315 (B).

【0177】図42は、色判定部3211の彩度判定の
ブロック図である。
FIG. 42 is a block diagram of the saturation judgment of the color judgment section 3211.

【0178】図42において、3301はMAX/MI
N検知器であり、3302〜3309はセレクタ、33
10〜3315は減算器で入力Aと入力Bに対してA−
Bを出力する。3316〜3323はコンパレータで入
力Aと入力Bに対して3316,3319は2A>Bの
場合、3317,3320,3322,3323はA>
Bの場合、3318,3321はA>2Bの場合に1を
出力し、それ以外の場合には0を出力する。3324〜
3328はANDゲート、3329はNORゲート、3
330はNANDゲートである。
In FIG. 42, reference numeral 3301 denotes MAX / MI
N detectors 3302 to 3309 are selectors, 33
Numerals 10 to 3315 denote subtracters for input A and input B.
B is output. Reference numerals 3316 to 3323 denote comparators. For inputs A and B, 3316 and 3319 denote 2A> B, and 3317, 3320, 3322, and 3323 denote A>.
In the case of B, 3318 and 3321 output 1 when A> 2B, and output 0 in other cases. 3324-
3328 is an AND gate, 3329 is a NOR gate, 3
330 is a NAND gate.

【0179】上記構成において、MAX/MIN検知器
3301には、図43−(a)に示す回路を用いる。図
43−(a)において、3350,3351,3352
はコンパレータであり、それぞれR>G,G>B,B>
Rの場合に1を出力する。図43−(a)に示す回路
は、図43−(b)に示す様に、以下の判定信号S0
0,S01,S02,S10,S11,S12を発生さ
せる。すなわち、MAXがRの場合又はR,G,Bがす
べて等しい場合にはS00=1,S01=S02=0、
MAXがGの場合は、S01=1,S00=S02=
0、MAXがBの場合は、S02=1,S00=S01
=0、MINがRの場合又は、R,G,Bがすべて等し
い場合には、S10=1,S11=S12=0、MIN
がGの場合は、S11=1,S10=S12=0、MI
NがBの場合は、S12=1,S10=S11=0、と
なる。
In the above configuration, the MAX / MIN detector 3301 uses the circuit shown in FIG. In FIG. 43- (a), 3350, 3351, 3352
Are comparators, and R> G, G> B, B>, respectively.
Outputs 1 in the case of R. As shown in FIG. 43- (b), the circuit shown in FIG.
0, S01, S02, S10, S11, S12 are generated. That is, when MAX is R or when R, G, and B are all equal, S00 = 1, S01 = S02 = 0,
When MAX is G, S01 = 1, S00 = S02 =
0, when MAX is B, S02 = 1, S00 = S01
= 0, MIN is R, or when R, G, B are all equal, S10 = 1, S11 = S12 = 0, MIN
Is G, S11 = 1, S10 = S12 = 0, MI
When N is B, S12 = 1 and S10 = S11 = 0.

【0180】例えば、MAXがRの場合にはR>Gかつ
R≧Bであるからコンパレータ3350は1を出力し、
コンパレータ3352は0を出力する。そしてAND1
は1を出力し、OR1は1を出力する。AND2,AN
D3は0を出力する。すなわちS00=1,S01=S
02=0となる。同様の判定を行った結果が図43−
(b)に示す表である。
For example, when MAX is R, since R> G and R ≧ B, the comparator 3350 outputs 1;
The comparator 3352 outputs 0. And AND1
Outputs 1 and OR1 outputs 1. AND2, AN
D3 outputs 0. That is, S00 = 1, S01 = S
02 = 0. FIG. 43-
It is a table shown to (b).

【0181】MAX/MIN検知器の出力S00,S0
1,S02はセレクタ3302に入力され、出力S1
0,S11,S12はセレクタ3303〜3309に入
力される。
Outputs S00 and S0 of MAX / MIN detector
1, S02 are input to the selector 3302, and the output S1
0, S11, and S12 are input to the selectors 3303 to 3309.

【0182】セレクタ3302〜3309は図44−
(a)に示す様にAND回路とOR回路で構成される。
このセレクタによれば、図44−(b)に示す様に、入
力A,B,Cに対しS01=1,S1=S2=0のとき
にAを出力し、S1=1,S0=S2=0のときにBを
出力し、S2=1,S0=S1=0のときにCを出力す
る。本実施例では入力A,B,CにR,G,B信号を対
応させている。
The selectors 3302 to 3309 are shown in FIG.
As shown in (a), the circuit is composed of an AND circuit and an OR circuit.
According to this selector, as shown in FIG. 44- (b), A is output when S01 = 1, S1 = S2 = 0, and S1 = 1, S0 = S2 = When 0, B is output, and when S2 = 1, S0 = S1 = 0, C is output. In this embodiment, R, G, and B signals are made to correspond to inputs A, B, and C, respectively.

【0183】本実施例の画素色判定は、R,G,B信号
の中で最大のものの値をMAX、最小のものの値をMI
Nとし、図45−(a)に示す様にA,B,C,Dの4
つの領域に区分することによって行う。
In the pixel color judgment of this embodiment, the maximum value of the R, G, and B signals is set to MAX, and the minimum value is set to MI.
N, and 4 of A, B, C, and D as shown in FIG.
This is done by dividing into two areas.

【0184】すなわち、無彩色の領域においては、MA
XとMINの差が小さく、有彩色に近くなればなるほ
ど、MAXとMINの差は大きくなることを利用して、
MAX,MINをパラメータとした線形の連立不等式に
よってMAX−MIN平面を区分する。
That is, in the achromatic region, MA
Taking advantage of the fact that the smaller the difference between X and MIN and the closer to the chromatic color, the larger the difference between MAX and MIN,
The MAX-MIN plane is divided by a linear simultaneous inequality using MAX and MIN as parameters.

【0185】具体的には、Ka,Kb,Kc,ia,i
b,ic,WMX,WMNを予め定められた定数とし、
図45−(a)の様なA,B,C,Dの4つの領域に区
分する。
Specifically, Ka, Kb, Kc, ia, i
b, ic, WMX, WMN are predetermined constants,
It is divided into four areas A, B, C, and D as shown in FIG.

【0186】Aは、暗い無彩色(黒)の領域である。
(MAX,MIN)がこの領域に含まれる条件は、 MIN≦WMN又はMAX≦WMX であって、かつ
A is a dark achromatic (black) area.
The condition in which (MAX, MIN) is included in this area is MIN ≦ WMN or MAX ≦ WMX, and

【0187】[0187]

【外1】 のすべてを満たすことである。[Outside 1] Is to meet all of

【0188】Bは暗い無彩色と有彩色の中間の領域であ
る。(MAX,MIN)がこの領域に含まれる条件は、 MIN≦WMN又はMAX≦WMX であって、かつ
B is an intermediate region between a dark achromatic color and a chromatic color. The condition in which (MAX, MIN) is included in this area is MIN ≦ WMN or MAX ≦ WMX, and

【0189】[0189]

【外2】 のいずれかを満し、かつ[Outside 2] Satisfy one of

【0190】[0190]

【外3】 のすべてを満たすことである。[Outside 3] Is to meet all of

【0191】Cは、有彩色領域である。(MAX,MI
N)がこの領域に含まれる条件は、 MIN≦WMN又はMAX≦WMX であって、かつ
C is a chromatic area. (MAX, MI
The condition in which N) is included in this area is that MIN ≦ WMN or MAX ≦ WMX, and

【0192】[0192]

【外4】 のいずれかを満たすことである。[Outside 4] To satisfy any of the following.

【0193】Dは、明るい無彩色(白)の領域である。
(MAX,MIN)がこの領域に含まれる条件は、
D is a bright achromatic (white) area.
The condition that (MAX, MIN) is included in this area is as follows:

【0194】[0194]

【外5】 のいずれも満たすことである。[Outside 5] Is to satisfy both.

【0195】図45−(b)は上記A,B,C,Dの各
状態に対する出力信号を示したものである。すなわち、
A領域に含まれる場合には、BL1=1,UNK1=C
OL1=0、B領域に含まれる場合には、UNK1=
1,BL1=COL1=0、C領域に含まれる場合に
は、COL1=1,BL1=UNK1=0、D領域に含
まれる場合には、BL1=1,UNK1=COL1=
0、である。
FIG. 45- (b) shows the output signals for the respective states A, B, C and D. That is,
In the case of being included in the A area, BL1 = 1, UNK1 = C
OL1 = 0, when included in the B area, UNK1 =
1, BL1 = COL1 = 0, when included in the C area, COL1 = 1, BL1 = UNK1 = 0, and when included in the D area, BL1 = 1, UNK1 = COL1 =
0.

【0196】上述の領域判定を行うのが図42の330
4〜3330の回路である。MAX/MIN検知器33
01の出力に応じセレクタ3302,3303はそれぞ
れMAX信号、MIN信号をR,G,Bの中から選択す
るが、セレクタ3303に連動してセレクタ3304〜
3309もそれぞれ定数ka,kb,kc,ia,i
b,icの値を選択する。例えばMAXがR信号、MI
NがG信号の場合にはセレクタ3304はKAG、33
05はKBG、3306はKCG、3307はiAG、
3308はiBG、3309はiCGを選択し、それぞ
れ定数ka,kb,kc,ia,ib,icとする。こ
のように最小値がR,G,Bのいずれかによって定数k
a,kb,kc,ia,ib,icの値を変更するのは
以下の理由による。
The above-mentioned area determination is performed at 330 in FIG.
4 to 3330. MAX / MIN detector 33
The selectors 3302 and 3303 select the MAX signal and the MIN signal from R, G, and B in response to the output of 01, respectively.
3309 is also a constant ka, kb, kc, ia, i
Select the values of b and ic. For example, MAX is an R signal, MI
When N is a G signal, the selector 3304 outputs KAG, 33
05 is KBG, 3306 is KCG, 3307 is iAG,
3308 selects iBG, and 3309 selects iCG, and sets them as constants ka, kb, kc, ia, ib, and ic, respectively. Thus, the minimum value is a constant k depending on any of R, G, and B.
The values of a, kb, kc, ia, ib, and ic are changed for the following reasons.

【0197】一般にフルカラーセンサの場合にはセンサ
固有の色バランスのいずれかある為、全ての色味に対
し、同一の判定基準で有彩色/無彩色の判定をすると誤
判定の原因となる。そこで図46に示す様にして、R−
G−Bの3次元空間を3分割することでセンサーの色バ
ランス特性に対応している。即ち、R−G−Bの3次元
空間をMIN=Rである領域3702、MIN=Gであ
る領域3703、MIN=Bである領域3704に分
け、それぞれに応じたka,kb,kc,ia,ib,
icの値を用いる。
In general, in the case of a full-color sensor, there is one of the color balances specific to the sensor, so that a chromatic / achromatic color determination for all colors based on the same determination criterion may cause an erroneous determination. Therefore, as shown in FIG.
By dividing the three-dimensional space of GB into three, it corresponds to the color balance characteristics of the sensor. That is, the three-dimensional space of RGB is divided into a region 3702 where MIN = R, a region 3703 where MIN = G, and a region 3704 where MIN = B, and corresponding ka, kb, kc, ia, ib,
Use the value of ic.

【0198】例えば、R成分の信号が低めにあらわれる
センサに対しては、図41中のKAR,KBR,KC
R,iAR,iBR,iCRの値を少し大きめにとって
おくことで、MIN=Rである場合において、図45−
(a)に示す領域において、A領域を広くC領域をせま
くとることが可能となり、様々なセンサに対してきめ細
く対応することができる。
For example, for a sensor in which the signal of the R component appears lower, KAR, KBR, KC in FIG.
By slightly increasing the values of R, iAR, iBR and iCR, when MIN = R, FIG.
In the area shown in (a), the area A can be widened and the area C can be narrowed, and various sensors can be finely handled.

【0199】減算器3310〜3312とコンパレータ
3316〜3318は、MAX−kaと2MIN、MA
X−kbとMIN、MAX−kcと1/2MIN、の大
小関係を判定する。
The subtractors 3310 to 3312 and the comparators 3316 to 3318 are provided with MAX-ka, 2MIN, MA
The magnitude relationship between X-kb and MIN and the relationship between MAX-kc and 1/2 MIN are determined.

【0200】また減算器3313〜3315とコンパレ
ータ3319〜3321は、MAX−iaと2MIN、
MAX−ibとMIN、MAX−icと1/2MIN、
の大小関係を判定する。
The subtractors 3313 to 3315 and the comparators 3319 to 3321 are provided with MAX-ia and 2MIN,
MAX-ib and MIN, MAX-ic and 1/2 MIN,
Is determined.

【0201】コンパレータ3322と3323はそれぞ
れ、MAXとWMX、MINとWMN、の大小関係を判
断する。
The comparators 3322 and 3323 determine the magnitude relationship between MAX and WMX, and MIN and WMN, respectively.

【0202】以上から、上記領域判定が行われ、結果
は、BL1,UNK1,COL1の判定信号として出力
される。
From the above, the area determination is performed, and the result is output as a determination signal for BL1, UNK1, and COL1.

【0203】本実施例によれば、色相判定の結果に応じ
て彩度判定の基準を切り換える彩度判定手段を有するこ
とにより、読取センサーの色バランス特性に対応した彩
度判定が可能となり、白黒/カラー判定の誤判定の防止
のために有効である。
According to the present embodiment, the presence of the saturation determining means for switching the reference of the saturation determination in accordance with the result of the hue determination enables the saturation determination corresponding to the color balance characteristics of the reading sensor to be performed. / Effective for preventing erroneous color determination.

【0204】また、MAX−MIN空間を有彩色領域、
明るい無彩色(白)領域、暗い無彩色(黒)領域、有彩
と無彩の中間色領域と細かく区分し彩度判定を行うた
め、有彩/無彩判定がより正確になる。
Further, the MAX-MIN space is defined as a chromatic color area,
Since the saturation determination is performed by finely distinguishing between a bright achromatic (white) region, a dark achromatic (black) region, and a chromatic and achromatic intermediate color region, the chromatic / achromatic determination becomes more accurate.

【0205】さらに領域は線型に区分しているので、簡
単な不等式により領域を定めることができる。
Further, since the area is sectioned linearly, the area can be determined by a simple inequality.

【0206】なお本実施例においては彩度判定のための
判定基準として、色成分信号のMAX−MIN空間を複
数領域に区分したが、彩度を示すパラメータはMAX−
MINの組み合わせに限るものではなく、例えばMAX
と平均値あるいはMINと平均値、MAXの平方根とM
INの平方根など様々なパラメータの組み合わせが考え
られる。
In this embodiment, the MAX-MIN space of the color component signal is divided into a plurality of regions as a criterion for determining the saturation.
It is not limited to the combination of MIN, for example, MAX
And average or MIN and average, MAX square root and M
Various combinations of parameters such as the square root of IN are possible.

【0207】また、本実施例においてはR−G−Bの3
次元空間を3分割したが、3分割に限らず6分割、12
分割とすることもできる。このように細かく分割すれ
ば、より適切な判定処理を行うことができる。
Further, in this embodiment, 3 of RGB is used.
The dimensional space was divided into three parts.
It can be divided. Such fine division enables more appropriate determination processing to be performed.

【0208】実施例9 図47は第9の実施例を説明するブロック図である。図
47において、3301〜3303は図2と同様なので
説明は省略する。3701はリードオンメモリ(RO
M)でありMAX信号、MIN信号、S10,S11,
S12信号がそのアドレスに入力される。ROM370
1においては図45−(a)、図45−(b)に示すよ
うな判定結果を出力すべく予めデータがプログラムされ
ており、出力BL1,UNK1,COL1が出力され
る。
Ninth Embodiment FIG. 47 is a block diagram for explaining a ninth embodiment. In FIG. 47, reference numerals 3301 to 303303 are the same as those in FIG. 3701 is a read-on memory (RO)
M) and the MAX signal, the MIN signal, S10, S11,
The S12 signal is input to the address. ROM370
In No. 1, data is programmed in advance to output determination results as shown in FIGS. 45A and 45B, and outputs BL1, UNK1, and COL1 are output.

【0209】本実施例によれば、領域判定をするにあた
り、その度演算を行うことなく、判定結果を得ることが
でき判定に要する時間を短縮することができる。
According to the present embodiment, a determination result can be obtained without performing an operation each time a region is determined, and the time required for the determination can be reduced.

【0210】また回路構成も簡素化することができる。Further, the circuit configuration can be simplified.

【0211】なお、本実施例ではROMを用いたが、R
AMをこれに置き換えて用いることもできる。
In this embodiment, the ROM is used.
AM can be used in place of this.

【0212】実施例10 図48、図49は第10の実施例を説明する図である。 Embodiment 10 FIGS. 48 and 49 are views for explaining the tenth embodiment.

【0213】図48は彩度判定のブロック図である。図
中、MAX及びMINは図1で説明したものと同様の信
号であり、加算器8001、減算器8002、800
3、二乗器8004,8005、乗算器8006,80
07、加算器8008を経て判定信号Jがつくられる。
JはJ=(MAX+MIN−a)2 ×b+(MAX−M
IN)2 ×cなる式で計算され、8003,8006,
8007に予めセットされるa,b,cの値に応じて算
出される。
FIG. 48 is a block diagram of the saturation judgment. In the figure, MAX and MIN are the same signals as those described in FIG. 1, and an adder 8001, subtractors 8002, 800
3, squarers 8004, 8005, multipliers 8006, 80
07, a decision signal J is generated via an adder 8008.
J is J = (MAX + MIN-a) 2 × b + (MAX-M
IN) 2 × c, calculated as 8003, 8006,
It is calculated according to the values of a, b, and c preset in 8007.

【0214】ここでa,b,cの値を適当選ぶことによ
り、J1 <J2 なる適当な定数においてJ=J1 となる
曲線及びJ=J2 となる曲線は図49に示す様に楕円曲
線で示される。従って判定回路8009においてJの値
をJ1 とJ2 と比較することで、図45−(a)と同様
の判定をすることができる。
[0214] Here a, b, by selecting appropriate values of c, J 1 <J = J 1 and becomes a curve and J = J 2 curve in J 2 becomes appropriate constant as shown in FIG. 49 Indicated by an elliptic curve. Thus the value of J in the judgment circuit 8009 is compared with J 1 and J 2, can be determined similarly to FIG. 45- (a).

【0215】本実施例によれば領域区分に楕円曲線を用
いたことにより、直線を用いる場合より、領域区分に柔
軟性を持たせることができる。
According to the present embodiment, the use of the elliptic curve for the area division allows the area division to have more flexibility than the case of using a straight line.

【0216】なお本実施例の楕円曲線に限らず、双曲
線、放物線など、他のあらゆる線型、非線型の方程式に
より領域区分することができる。
Note that the area can be divided by any other linear or non-linear equation, such as a hyperbola, a parabola, etc., without being limited to the elliptic curve of this embodiment.

【0217】実施例11 図50、図51は、第11の実施例を説明する図であ
り、図50は彩度判定のブロック図、図51はR−G−
B空間を示す図である。
Embodiment 11 FIGS. 50 and 51 are views for explaining the eleventh embodiment. FIG. 50 is a block diagram of the saturation judgment, and FIG.
It is a figure showing the B space.

【0218】図50において図2との違いはセレクタ3
304,3305,3306,3307,3308,3
309にMAX信号を示すS00,S01,S02をセ
レクト信号として入力していることである。本実施例に
よれば、図51に示す様にMAX=Rである様な空間5
001、MAX=Gである様な空間5002、MAX=
Bである様な空間5003の各場合において、ia,i
b,ic,ka,kb,kcの各値を切り換えることが
できる。
In FIG. 50, the difference from FIG.
304, 3305, 3306, 3307, 3308, 3
309 indicates that S00, S01, and S02 indicating the MAX signal are input as select signals. According to the present embodiment, as shown in FIG.
001, space 5002 such that MAX = G, MAX =
In each case of space 5003 that is B, ia, i
Each value of b, ic, ka, kb, and kc can be switched.

【0219】実施例12 図52は第12の実施例を説明する図であり、彩度判定
の処理ブロック図である。
Embodiment 12 FIG. 52 is a diagram for explaining a twelfth embodiment, and is a processing block diagram of a saturation judgment.

【0220】9001は(R,G,B)から(Y,I,
Q)空間の(I,Q)を計算する演算器で、
9001 is (R, G, B) to (Y, I,
Q) An arithmetic unit for calculating (I, Q) in space.

【0221】[0221]

【外6】 なる式で(I,Q)が計算される。(I,Q)によって
色相を判定することが可能である為、予めROM900
2にその判定結果をプログラムしておけばセレクタ33
04〜3309の切換信号を出力することができる。
[Outside 6] (I, Q) is calculated by the following equation. Since the hue can be determined by (I, Q), the ROM 900 is determined in advance.
2 is programmed with the determination result, the selector 33
Switching signals of 04 to 3309 can be output.

【0222】なお、本実施例では(I,Q)を用いた
が、(L* ,a* ,b* )空間の(a * ,b* )やその
他の色度を表す信号を用いることもできる。
In this embodiment, (I, Q) is used.
Is (L* , A* , B* ) Space (a * , B* ) And its
Signals representing other chromaticities can also be used.

【0223】また、色相によるセレクタの切り換えも3
通りに限らず6通り、12通りとすることもできる。
Switching of selectors by hue is also possible.
Not only the street but also 6 streets and 12 streets can be used.

【0224】更に、セレクタ信号としてはMAX信号や
MAX信号とMIN信号の組み合わせも用いることがで
きる。
Further, a MAX signal or a combination of a MAX signal and a MIN signal can be used as a selector signal.

【0225】実施例13 図53〜56図は、第13の実施例を説明する図であ
る。
Embodiment 13 FIGS. 53 to 56 are views for explaining the thirteenth embodiment.

【0226】図53は、本実施例の構成を示すブロック
図であり、3101は第1検出手段、3102は第2検
出手段である。
FIG. 53 is a block diagram showing the structure of this embodiment. Reference numeral 3101 denotes a first detecting means, and 3102 denotes a second detecting means.

【0227】ここで第1検出手段3101は上記実施例
8に記載した色相判定手段であり、画素毎に入力された
R,G,Bの各信号に対し、当該画素が暗い無彩色すな
わち黒であることを示すBL1信号、有彩色であること
を示すCOL1信号、暗い無彩色と有彩色の中間である
ことを示すUNK1信号を出力し、第2判定手段310
2に送る。
Here, the first detecting means 3101 is the hue judging means described in the eighth embodiment, and in response to the R, G, B signals input for each pixel, the pixel is a dark achromatic color, that is, black. A second determination means 310 outputs a BL1 signal indicating that there is, a COL1 signal indicating that the color is a chromatic color, and a UNK1 signal indicating that the color is between a dark achromatic color and a chromatic color.
Send to 2.

【0228】第2判定手段3102は、判定対象画素を
中心とする5×5マトリクス(図55)の周辺画素群の
判定結果をもとに、当該画素の判定結果を修正し、当該
画素が暗い無彩色すなわち黒であることを示すBL信
号、有彩色であることを示すCOL信号を出力する。
The second judging means 3102 corrects the judgment result of the pixel based on the judgment result of the peripheral pixel group of the 5 × 5 matrix (FIG. 55) centering on the judgment target pixel, and makes the pixel dark. A BL signal indicating an achromatic color, that is, black, and a COL signal indicating a chromatic color are output.

【0229】すなわち、本実施例は、実施例8の色相判
定手段の出力に対し、さらに適当な判定を行うことによ
り有彩/無彩の判定信号を出力するという構成をとる。
That is, the present embodiment has a configuration in which a chromatic / achromatic determination signal is output by performing more appropriate determination on the output of the hue determining means of the eighth embodiment.

【0230】図54は第2判定手段3102のブロック
図である。第1判定手段によって判定されたBK1,C
OL1,UNK1の信号は、ラインメモリ7001,7
002,7003,7004によってライン遅延され、
HSYNK信号、CLK信号によって同期をとられ、5
ラインが同時に出力される。ここで、BK1,COL
1,UNK1を、1ライン遅延したものをそれぞれ、B
K2,COL2,UNK2、2ライン遅延したものをそ
れぞれ、BK3,COL3,UNK3、3ライン遅延し
たものをそれぞれ、BK4,COL4,UNK4、4ラ
イン遅延したものをそれぞれ、BK5,COL5,UN
K5、とするとき、図55に示す様な5×5のエリア内
で、カウント手段7005で黒画素をカウントしNBを
得、カウント手段7006で有彩色画素をカウントしN
Cを得る。更にコンパレータ7007により5×5のブ
ロック内での黒画素の数NBと有彩画素の数NCを比較
する。
FIG. 54 is a block diagram of the second judging means 3102. BK1, C determined by the first determination means
OL1 and UNK1 signals are stored in the line memories 7001 and 7
002, 7003, 7004
Synchronized by HSYNC signal and CLK signal, 5
Lines are output simultaneously. Here, BK1, COL
1 and UNK1 delayed by one line
K2, COL2, UNK2, two lines delayed BK3, COL3, UNK3, three lines delayed BK4, COL4, UNK4, four lines delayed BK5, COL5, UN
55, black pixels are counted by the counting means 7005 to obtain NB in a 5 × 5 area as shown in FIG.
Get C. Further, the number NB of black pixels and the number NC of chromatic pixels in the 5 × 5 block are compared by the comparator 7007.

【0231】更に、ゲート回路7008,7009,7
010,7011,7012を通して、5×5のエリア
の中心画素に対する第一判定手段の出力BK3,COL
3,UNK3の結果と共に演算され、中心画素が黒であ
ることを示すBL信号と、中心画素が有彩であることを
示すCOL信号が出力される。このときの判定基準は、
第1判定基準の判定結果が、黒画素及び有彩画素であっ
たものに対しては、判定を覆さない。すなわち、BK3
=1又はCOL3=1である場合にはBK=1又はCO
L=1とする。又、第1判定基準の判定結果が有彩画素
と無彩画素の中間であったものに対しては、NBとNC
の値を比較し、NB>NCのときは黒画素としBL=1
とし、NB≦NCのときは有彩画素としCOL=1を出
力する。その結果、図45−(a)に示した不確定な中
間領域Bを、黒領域A又は有彩領域Cのいずれかに精度
よく振り分けることができる。
Further, the gate circuits 7008, 7009, 7
010, 7011, and 7012, the outputs BK3, COL of the first determination means for the center pixel of the 5 × 5 area
3, a BL signal indicating that the center pixel is black and a COL signal indicating that the center pixel is chromatic are output. The criterion at this time is:
If the determination result of the first determination criterion is a black pixel and a chromatic pixel, the determination is not reversed. That is, BK3
= 1 or CO if COL3 = 1
Let L = 1. If the result of the first criterion is between a chromatic pixel and an achromatic pixel, NB and NC
Are compared, and when NB> NC, a black pixel is set and BL = 1
When NB ≦ NC, COL = 1 is output as a chromatic pixel. As a result, the uncertain intermediate area B shown in FIG. 45A can be accurately assigned to either the black area A or the chromatic area C.

【0232】またNBとNCの比較は図56に示すよう
にROMを用いて行うこともできる。図16において、
ROM7101のアドレスには図14と同様にNB,N
C,BK3,COL3,UNK3が入力され、予め記憶
されている演算結果BL,COLが出力される。
The comparison between NB and NC can also be performed using a ROM as shown in FIG. In FIG.
The addresses of the ROM 7101 include NB and N as in FIG.
C, BK3, COL3, and UNK3 are input, and calculation results BL and COL stored in advance are output.

【0233】このようにROMを用いることにより回路
構成を簡略化することができる。
By using a ROM as described above, the circuit configuration can be simplified.

【0234】以上の様に、本出願の第8の実施例から第
13の実施例のカラー画像処理装置によれば、複数の色
成分信号を入力する入力手段と、前記色成分信号から判
定対象画素の色相を判定する手段と、前記色相判定手段
の出力に応じて彩度判定の基準を切り換える彩度判定手
段を有することにより、複数の色成分信号を入力する入
力手段と、前記色成分信号から組み合わせによって彩度
を示す複数のパラメータを抽出する手段と、前記パラメ
ータにより形成される空間を有彩色領域、明るい無彩色
(白)領域、暗い無彩色領域、有彩と無彩の中間色領域
を含む複数の領域を含む複数の領域に区分し、判定対象
画素がそのいずれに属するかにより彩度を判定する判定
手段を有することにより、上記白黒/カラー判定におけ
る誤判定を防止することができる。
As described above, according to the color image processing apparatuses of the eighth to thirteenth embodiments of the present application, the input means for inputting a plurality of color component signals, Input means for inputting a plurality of color component signals, comprising: means for determining the hue of a pixel; and saturation determination means for switching a reference for saturation determination in accordance with the output of the hue determination means. Means for extracting a plurality of parameters indicating saturation by a combination from a chromatic area, a bright achromatic (white) area, a dark achromatic area, and an intermediate color area between chromatic and achromatic. Erroneous determination in the black-and-white / color determination is provided by having a determination unit that determines the saturation based on which of the determination target pixels belongs to the plurality of regions including the plurality of included regions. It is possible.

【0235】なお、本出願にかかる発明は3ラインセン
サに限らずR,G,Bの点順次のラインセンサやエリア
センサなど種々のイメージセンサ(固体撮像素子を用い
たものや撮像管を用いたものなど)を有する画像処理装
置に対して適用することができる。
The invention according to the present application is not limited to a three-line sensor, and various image sensors such as an R, G, B dot-sequential line sensor and an area sensor (one using a solid-state image sensor or one using an imaging tube) And the like.

【0236】また画像出力手段もレーザービームカラー
プリンタや熱転写型カラープリンタ、インクジェットカ
ラープリンタ、ドットカラープリンタなど種々の出力装
置を用いることができる。
As the image output means, various output devices such as a laser beam color printer, a thermal transfer type color printer, an ink jet color printer, and a dot color printer can be used.

【0237】[0237]

【発明の効果】以上説明したように本出願に記載した発
明によれば、カラー画像処理装置において読み取りセン
サの位置ずれ等に影響されずに良好な画像を得ることが
できる。
As described above, according to the invention described in the present application, a good image can be obtained in a color image processing apparatus without being affected by the displacement of the reading sensor.

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

【図1】本発明の第1の実施例の読取装置の信号処理ブ
ロック図である。
FIG. 1 is a signal processing block diagram of a reading device according to a first embodiment of the present invention.

【図2】遅延メモリ及び補間演算の構成図である。FIG. 2 is a configuration diagram of a delay memory and an interpolation operation.

【図3】3ライン並列カラーセンサの構成図である。FIG. 3 is a configuration diagram of a three-line parallel color sensor.

【図4】読み取り装置構成図である。FIG. 4 is a configuration diagram of a reading device.

【図5】マイクロプロセッサの処理流れ図である。FIG. 5 is a processing flowchart of a microprocessor.

【図6】読み取り動作を説明する図である。FIG. 6 is a diagram illustrating a reading operation.

【図7】読み取り装置の動作を示す図である。FIG. 7 is a diagram illustrating the operation of the reading device.

【図8】読み取り装置の構造を示す図である。FIG. 8 is a diagram showing a structure of a reading device.

【図9】本発明の第1の実施例の黒領域判定回路のブロ
ック図である。
FIG. 9 is a block diagram of a black area determination circuit according to the first embodiment of the present invention.

【図10】本発明の第1の実施例の黒領域補正回路のブ
ロック図である。
FIG. 10 is a block diagram of a black area correction circuit according to the first embodiment of the present invention.

【図11】本発明の第1の実施例の平滑化回路の機能ブ
ロック図である。
FIG. 11 is a functional block diagram of a smoothing circuit according to the first embodiment of the present invention.

【図12】本発明の第1の実施例のmax(R,G,
B)−min(R,G,B)空間における黒領域を説明
する図である。
FIG. 12 is a diagram illustrating a configuration of max (R, G,
FIG. 4 is a diagram illustrating a black area in a (B) -min (R, G, B) space.

【図13】本発明の第1の実施例の入力カラー原信号に
ついてのmax(R,G,B)−min(R,G,B)
の分布図と平滑化入力カラー信号についてののmax
(R,G,B)−min(R,G,B)の分布図と黒文
字原稿の例を表す図である。
FIG. 13 shows the relationship between max (R, G, B) -min (R, G, B) of the input color original signal according to the first embodiment of the present invention.
Distribution map and max for the smoothed input color signal
FIG. 5 is a diagram illustrating a distribution diagram of (R, G, B) -min (R, G, B) and an example of a black character document.

【図14】本発明の第1の実施例の原稿黒文字から補正
黒領域が再現されるまでを説明する図である。
FIG. 14 is a diagram illustrating a process from reproduction of an original black character to reproduction of a corrected black area according to the first embodiment of the present invention.

【図15】本発明の第1の実施例のOR信号処理例を示
す図である。
FIG. 15 is a diagram illustrating an example of OR signal processing according to the first embodiment of this invention.

【図16】本発明の第1の実施例のカラー信号処理のブ
ロック図である。
FIG. 16 is a block diagram of color signal processing according to the first embodiment of the present invention.

【図17】3ラインセンサの別の例を示す図である。FIG. 17 is a diagram showing another example of a three-line sensor.

【図18】本発明の第2の実施例の黒領域判定回路のブ
ロック図である。
FIG. 18 is a block diagram of a black area determination circuit according to a second embodiment of the present invention.

【図19】本発明の第2の実施例の有彩画素数カウント
回路のブロック図である。
FIG. 19 is a block diagram of a chromatic pixel number counting circuit according to a second embodiment of the present invention.

【図20】本発明の第2の実施例のmax(R,G,
B)−min(R,G,B)空間における有彩領域を説
明する図である。
FIG. 20 shows the values of max (R, G,
FIG. 3B is a diagram illustrating a chromatic region in a -min (R, G, B) space.

【図21】本発明の第3の実施例の黒領域判定回路のブ
ロック図である。
FIG. 21 is a block diagram of a black area determination circuit according to a third embodiment of the present invention.

【図22】Red,Blue,Greenの各色センサ
の分光感度特性図である。
FIG. 22 is a diagram illustrating spectral sensitivity characteristics of the red, blue, and green color sensors.

【図23】本発明の第4の実施例の判定回路のブロック
図である。
FIG. 23 is a block diagram of a determination circuit according to a fourth embodiment of the present invention.

【図24】本発明の第4の実施例のラインバッファの格
納の状態を示す図である。
FIG. 24 is a diagram illustrating a storage state of a line buffer according to the fourth embodiment of this invention.

【図25】本発明の第4の実施例の(max(R,G,
B),min(R,G,B))空間と有彩色領域との関
係を示す図である。
FIG. 25 shows (max (R, G,
FIG. 4 is a diagram illustrating a relationship between a B), min (R, G, B)) space and a chromatic color area.

【図26】従来例の有彩判定空間図である。FIG. 26 is a chromatic determination space diagram of a conventional example.

【図27】黒文字入力データの分布図である。FIG. 27 is a distribution diagram of black character input data.

【図28】本発明の第4の実施例のマイクロプロセッサ
2111の処理流れ図である。
FIG. 28 is a processing flowchart of a microprocessor 2111 according to the fourth embodiment of this invention.

【図29】本発明と画像処理全体の構成との関係を説明
する図である。
FIG. 29 is a diagram illustrating the relationship between the present invention and the overall configuration of image processing.

【図30】カラー複写機の全体構成図である。FIG. 30 is an overall configuration diagram of a color copying machine.

【図31】本発明の第5の実施例の判定回路のブロック
図である。
FIG. 31 is a block diagram of a determination circuit according to a fifth embodiment of the present invention.

【図32】本発明の第5の実施例のラインバッファの格
納の状態を示す図である。
FIG. 32 is a diagram illustrating a storage state of a line buffer according to a fifth embodiment of the present invention.

【図33】本発明の第5の実施例のマイクロプロセッサ
2111の処理流れ図である。
FIG. 33 is a processing flowchart of a microprocessor 2111 according to the fifth embodiment of the present invention.

【図34】黒文字をカラーセンサーで読み取った場合の
色ずれと、黒文字部との関係を示す図である。
FIG. 34 is a diagram illustrating a relationship between a color shift when a black character is read by a color sensor and a black character portion.

【図35】本発明の第6の実施例の判定回路のブロック
図である。
FIG. 35 is a block diagram of a determination circuit according to a sixth embodiment of the present invention.

【図36】本発明の第6の実施例の(max(R,G,
B),min(R,G,B))空間における判定領域を
示した図である。
FIG. 36 shows (max (R, G, G) of the sixth embodiment of the present invention.
FIG. 3B is a diagram showing a determination area in a (B), min (R, G, B)) space.

【図37】本発明の第7の実施例の判定回路のブロック
図である。
FIG. 37 is a block diagram of a determination circuit according to a seventh embodiment of the present invention.

【図38】本発明の第7の実施例のラインバッファのウ
インドウを示す図である。
FIG. 38 is a diagram showing a window of the line buffer according to the seventh embodiment of the present invention.

【図39】本発明の第7の実施例のエッジ判定部250
1の処理回路ブロック図である。
FIG. 39 is an edge determination unit 250 according to the seventh embodiment of the present invention.
1 is a processing circuit block diagram of FIG.

【図40】本発明の第7の実施例のマイクロプロセッサ
2111の処理流れ図である。
FIG. 40 is a processing flowchart of a microprocessor 2111 according to the seventh embodiment of this invention.

【図41】本発明の第8の実施例の全体構成図とイメー
ジスキャナ部の内部ブロック図である。
FIG. 41 is an overall configuration diagram of an eighth embodiment of the present invention and an internal block diagram of an image scanner unit.

【図42】色判定部211の彩度判定のブロック図であ
る。
FIG. 42 is a block diagram of saturation determination by a color determination unit 211.

【図43】MAX/MIN検知回路と、MAX/MIN
検知器の出力信号を説明する図である。
FIG. 43 shows a MAX / MIN detection circuit and MAX / MIN
It is a figure explaining an output signal of a detector.

【図44】セレクタの回路図とセレクタの出力信号を説
明する図である。
FIG. 44 is a diagram illustrating a circuit diagram of a selector and an output signal of the selector.

【図45】判定条件を示す図と判定信号を説明する図で
ある。
FIG. 45 is a diagram illustrating a determination condition and a diagram illustrating a determination signal.

【図46】R−G−Bの色空間を表す図である。FIG. 46 is a diagram illustrating an RGB color space.

【図47】本発明の第9の実施例の彩度判定のブロック
図である。
FIG. 47 is a block diagram of saturation determination according to the ninth embodiment of the present invention.

【図48】本発明の第10の実施例の彩度判定のブロッ
ク図である。
FIG. 48 is a block diagram of saturation determination according to the tenth embodiment of the present invention.

【図49】判定条件を示す図である。FIG. 49 is a diagram showing determination conditions.

【図50】本発明の第11の実施例の彩度判定のブロッ
ク図である。
FIG. 50 is a block diagram of saturation determination according to an eleventh embodiment of the present invention.

【図51】R−G−Bの色相空間を示す図である。FIG. 51 is a diagram illustrating an RGB hue space.

【図52】本発明の第12の実施例の彩度判定の処理ブ
ロック図である。
FIG. 52 is a processing block diagram of saturation determination according to a twelfth embodiment of the present invention.

【図53】本発明の第13の実施例の構成を示すブロッ
ク図である。
FIG. 53 is a block diagram showing a configuration of a thirteenth embodiment of the present invention.

【図54】第2判定手段のブロック図である。FIG. 54 is a block diagram of a second determination unit.

【図55】第2判定手段に用いる5×5マトリクスであ
る。
FIG. 55 is a 5 × 5 matrix used for a second determination unit.

【図56】第2判定手段のブロック図である。FIG. 56 is a block diagram of a second determination unit.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 異なる分光特性に基づき複数成分のカラ
ー信号を入力する入力手段、 前記複数成分のカラー信号に従って、無彩色領域を示す
無彩色領域信号を発生する発生手段、 前記複数色成分のカラー信号のうち最も中性濃度を表す
信号成分を用いて前記無彩色領域信号により決る無彩色
領域の記録用の黒信号を発生する処理手段とを有するこ
とを特徴とするカラー画像処理装置。
An input unit configured to input a color signal of a plurality of components based on different spectral characteristics; a generation unit configured to generate an achromatic region signal indicating an achromatic region in accordance with the color signals of the plurality of components; Processing means for generating a black signal for recording in an achromatic region determined by the achromatic region signal using a signal component representing the most neutral density of the signals.
【請求項2】 前記入力カラー信号は、R(レッド)、
G(グリーン)、B(ブルー)であり、前記無彩色領域
信号の発生手段は前記入力カラー信号の色成分信号から
入力画像の無彩色領域を判定し、該判定に基づき該無彩
色領域信号を発生する手段であることを特徴とする請求
項1記載のカラー画像処理装置。
2. The input color signal is R (red),
G (green) and B (blue), and the means for generating an achromatic color area signal determines an achromatic color area of an input image from a color component signal of the input color signal. 2. A color image processing apparatus according to claim 1, wherein the color image processing apparatus generates the color image.
【請求項3】 複数画素からなるブロック領域の入力画
像信号に応じた画像情報から該ブロック領域内の特定画
素の有彩・無彩判定信号を発生する発生手段、 複数の前記判定信号に基づき、前記入力画像信号に応じ
た画像が白黒画像であるかカラー画像であるか自動的に
判別する判別手段とを有し、 前記発生手段は、前記入力画像信号を構成する複数の色
成分信号における信号レベルの最大値、最小値により構
成される2次元の判定空間を線形または非線形に区分
し、有彩・無彩の判定を行なうことを特徴とするカラー
画像処理装置。
Generating means for generating a chromatic / achromatic determination signal of a specific pixel in the block area from image information corresponding to an input image signal of a block area including a plurality of pixels; Determining means for automatically determining whether an image corresponding to the input image signal is a black-and-white image or a color image, wherein the generating means includes a signal in a plurality of color component signals constituting the input image signal. A color image processing apparatus, wherein a two-dimensional determination space formed by the maximum value and the minimum value of a level is divided into linear or non-linear, and chromatic / achromatic determination is performed.
【請求項4】 複数の色成分信号を入力する入力手段、 前記色成分信号から判定対象画素の色相を判定する色相
判定手段、 前記色相判定手段の出力に応じて前記複数の色成分信号
に応じた画素を、無彩色と判定する基準を拡大する彩度
判定手段を有することを特徴とするカラー画像処理装
置。
An input unit for inputting a plurality of color component signals; a hue determination unit for determining a hue of a determination target pixel from the color component signals; A color image processing apparatus comprising: a saturation determination unit that expands a criterion for determining a pixel to be achromatic.
【請求項5】 前記入力手段は、異なる分光特性に基づ
き前記複数の色成分信号を入力することを特徴とする請
求項4記載のカラー画像処理装置。
5. The color image processing apparatus according to claim 4, wherein said input means inputs said plurality of color component signals based on different spectral characteristics.
【請求項6】 前記入力手段は、並列に配置された複数
のラインセンサーであることを特徴とする請求項5記載
のカラー画像処理装置。
6. The color image processing apparatus according to claim 5, wherein said input means is a plurality of line sensors arranged in parallel.
【請求項7】 前記色相判定手段は、前記入力手段によ
り入力されたR(レッド)、G(グリーン)、B(ブル
ー)の色成分信号のうち、何れが最大であるかを検出す
ることにより、色相を判定する手段であることを特徴と
する請求項6記載のカラー画像処理装置。
7. The hue determination means detects which of the R (red), G (green), and B (blue) color component signals input by the input means is the largest. 7. A color image processing apparatus according to claim 6, wherein said means is a means for judging hue.
【請求項8】 前記色相判定手段は、前記入力手段によ
り入力されたR(レッド)、G(グリーン)、B(ブル
ー)の色成分信号のうち何れが最小であるかを検出する
ことにより、色相を判定する手段であることを特徴とす
る請求項6記載のカラー画像処理装置。
8. The hue determination unit detects which of the R (red), G (green), and B (blue) color component signals input by the input unit is the smallest, 7. The color image processing apparatus according to claim 6, wherein the color image processing device is means for determining a hue.
【請求項9】 前記彩度判定手段は、前記入力手段によ
り入力された色成分信号から、組み合わせによって彩度
を示す複数のパラメータを抽出し、前記パラメータによ
り形成される空間を有彩色領域、無彩色領域、有彩と無
彩の中間色領域を含む複数の色領域に区分し、判定対象
画素がそのいずれに属するかにより彩度を判定すること
を特徴とする請求項6記載のカラー画像処理装置。
9. The saturation determination unit extracts a plurality of parameters indicating saturation by a combination from the color component signal input by the input unit, and converts a space formed by the parameters into a chromatic color area, 7. The color image processing apparatus according to claim 6, wherein the color image is divided into a plurality of color regions including a chromatic region and a chromatic and achromatic intermediate color region, and the saturation is determined depending on which of the determination target pixels belongs to. .
JP37384299A 1989-07-21 1999-12-28 Color image processing apparatus and color image processing method Expired - Fee Related JP3262553B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP37384299A JP3262553B2 (en) 1989-07-21 1999-12-28 Color image processing apparatus and color image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP37384299A JP3262553B2 (en) 1989-07-21 1999-12-28 Color image processing apparatus and color image processing method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP01189196A Division JP3048158B2 (en) 1988-10-04 1989-07-21 Color image processing equipment

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2000290966A Division JP3236281B2 (en) 2000-09-25 2000-09-25 Color image processing apparatus and color image processing method
JP2000290409A Division JP3236280B2 (en) 2000-09-25 2000-09-25 Color image processing apparatus and color image processing method

Publications (2)

Publication Number Publication Date
JP2000165685A true JP2000165685A (en) 2000-06-16
JP3262553B2 JP3262553B2 (en) 2002-03-04

Family

ID=18502853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP37384299A Expired - Fee Related JP3262553B2 (en) 1989-07-21 1999-12-28 Color image processing apparatus and color image processing method

Country Status (1)

Country Link
JP (1) JP3262553B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7145693B2 (en) 2001-08-08 2006-12-05 Canon Kabushiki Kaisha Image processing apparatus and method
JP2008059406A (en) * 2006-09-01 2008-03-13 Mitsubishi Electric Corp Image processor and image processing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7145693B2 (en) 2001-08-08 2006-12-05 Canon Kabushiki Kaisha Image processing apparatus and method
JP2008059406A (en) * 2006-09-01 2008-03-13 Mitsubishi Electric Corp Image processor and image processing method
JP4618218B2 (en) * 2006-09-01 2011-01-26 三菱電機株式会社 Image processing apparatus and image processing method

Also Published As

Publication number Publication date
JP3262553B2 (en) 2002-03-04

Similar Documents

Publication Publication Date Title
JP3048158B2 (en) Color image processing equipment
JP2872285B2 (en) Image processing apparatus and image processing method
US7046861B2 (en) Image forming apparatus with image distortion correction function
JP3003261B2 (en) Color image recognition device
US5594558A (en) Color image processing apparatus
US6215512B1 (en) Image forming apparatus with image distortion correction system
US5239383A (en) Image processing apparatus capable of image editing
US6192152B1 (en) Image processing apparatus
US6441915B1 (en) Image forming apparatus
US5189523A (en) Image processing apparatus
EP0363146B1 (en) Color image processing apparatus
JP3333894B2 (en) Image processing device
JP3262553B2 (en) Color image processing apparatus and color image processing method
JP3236281B2 (en) Color image processing apparatus and color image processing method
JPH08149323A (en) Image processor
JP3236280B2 (en) Color image processing apparatus and color image processing method
JP3230282B2 (en) Image reading device
JPH11177825A (en) Image processor
JP3554012B2 (en) Image processing apparatus and image processing method
JP3230281B2 (en) Image reading device
JPH1115968A (en) Image processor and image formation device
JP3471915B2 (en) Image processing apparatus and method
JPH04342370A (en) Image forming device
JP2002125121A (en) Image processing method and image processing unit, and image forming device provided with them
JP2862280B2 (en) Image processing apparatus and method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011120

LAPS Cancellation because of no payment of annual fees