JP2002305665A - Image processor - Google Patents

Image processor

Info

Publication number
JP2002305665A
JP2002305665A JP2001109468A JP2001109468A JP2002305665A JP 2002305665 A JP2002305665 A JP 2002305665A JP 2001109468 A JP2001109468 A JP 2001109468A JP 2001109468 A JP2001109468 A JP 2001109468A JP 2002305665 A JP2002305665 A JP 2002305665A
Authority
JP
Japan
Prior art keywords
pixel
area
color
determination
determined
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001109468A
Other languages
Japanese (ja)
Inventor
Norikazu Sakai
則和 酒井
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2001109468A priority Critical patent/JP2002305665A/en
Publication of JP2002305665A publication Critical patent/JP2002305665A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image processor capable of realizing automatic original color decision (ACS) processing that can output decision results agreeing to user's preference and sense of sight. SOLUTION: This image processor has a plurality of area deciding parts E1 to E25 which set a pixel color decision area divided into a plurality of areas on a chromaticity plane with a plurality of thresholds THa1 to THa6 and THb1 to THb6, decide which area of the pixel color decision area a pixel of a decision object is included in and also can switchingly decide that a pixel included in each area is a color pixel or a black and white pixel in each of the areas divided in the pixel color decision area, and a decision results outputting part 27 including an OR circuit 28 for deciding the pixel of the decision object is a color pixel or a black and white pixel on the basis of decision results of the plurality of area deciding parts E1 to E25 as the configuration of a pixel color deciding part 24 for deciding a pixel constituting an image read by an image reading means is a color pixel or a black and white pixel.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、原稿の画像を読み
取ってその画像データを処理する複写機、イメージスキ
ャナ、ファクシミリ装置等の画像処理装置に関し、特
に、処理対象の原稿がカラー原稿か白黒原稿かを自動的
に判定するACS(Auto Color Selection)処理機能を備
えた画像処理装置に適用して好適なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus such as a copying machine, an image scanner and a facsimile apparatus for reading an image of a document and processing the image data. It is suitable to be applied to an image processing apparatus having an ACS (Auto Color Selection) processing function for automatically determining whether or not the image processing is performed.

【0002】[0002]

【従来の技術】一般に、フルカラー複写機等の画像処理
装置においては、処理対象の原稿がカラー原稿か白黒原
稿かに応じて画像形成モード(カラーモード/白黒モー
ド)を切り換えるようにしている。また、原稿がカラー
原稿か白黒原稿かを判定する、いわゆる原稿色の判定
は、ユーザがその都度指定しなくても、ACS処理機能
によって自動的に行うものが公知となっている。
2. Description of the Related Art Generally, in an image processing apparatus such as a full-color copying machine, an image forming mode (color mode / monochrome mode) is switched according to whether a document to be processed is a color document or a monochrome document. It is also known that the determination of whether a document is a color document or a black-and-white document, that is, the determination of the so-called document color is automatically performed by the ACS processing function without the user having to specify each time.

【0003】ACS処理においては、実際に原稿の画像
を読み取ってその読み取り画像を構成する画素がカラー
画素か白黒画素かを判定する画素色判定を行い、この判
定結果を用いて原稿色がカラー原稿か白黒原稿かを判定
している。また、画素色判定に際して、従来の画像処理
装置では、L*a*b*表色系の均等色空間において、色相及
び彩度を表す色度平面上(a*b*平面上)に四角形の判定
領域を設定し、判定対象の画素(注目画素)が判定領域
に含まれるか否かに応じて画素色(カラー/白黒)を判
定するものが知られている。具体的には、図18に示す
ように、a*軸及びb*軸で表される色度平面上に、a*の最
小閾値及び最大閾値と、b*の最小閾値及び最大閾値によ
って判定領域を区画し、この判定領域を固定の白黒領域
として設定する。そして、この白黒領域に含まれる画素
を白黒画素、それ以外の画素(即ち、白黒領域に含まれ
ない画素)をカラー画素と判定している。
In the ACS processing, an image of a document is actually read, and a pixel color determination is performed to determine whether the pixels constituting the read image are color pixels or black and white pixels. Or black-and-white original. Further, when determining the pixel color, in the conventional image processing apparatus, in a uniform color space of the L * a * b * color system, a square is formed on a chromaticity plane (on an a * b * plane) representing hue and saturation. It is known that a determination region is set and a pixel color (color / black and white) is determined depending on whether or not a determination target pixel (target pixel) is included in the determination region. Specifically, as shown in FIG. 18, on the chromaticity plane represented by the a * axis and the b * axis, the determination area is determined by the minimum and maximum thresholds of a * and the minimum and maximum thresholds of b *. , And this determination area is set as a fixed black and white area. The pixels included in the black and white area are determined as black and white pixels, and the other pixels (that is, pixels not included in the black and white area) are determined as color pixels.

【0004】しかしながら、色度に関する白黒/カラー
判定の境界はあくまで主観的なものであるため、その判
定基準が個々のユーザによって異なる場合が考えられ
る。したがって従来においては、ユーザに好みに応じて
上記判定領域を最適化させる必要が生じていた。
However, since the boundary between black and white / color judgments regarding chromaticity is only subjective, it is possible that the judgment criterion may be different for each user. Therefore, conventionally, it has been necessary for the user to optimize the determination area according to his / her preference.

【0005】こうした点に関して、例えば特開平4−9
0675号公報には、上記判定領域と別に所定色フィル
タ領域を設け、このフィルタ領域に含まれる画素を白黒
画素として取り扱う方法が提案されている。また、特開
平4−336876号公報には、上記判定領域の大きさ
を明度(L*値)に応じて可変する方法が提案されてい
る。
[0005] Regarding these points, for example, Japanese Patent Laid-Open No.
No. 0675 proposes a method in which a predetermined color filter area is provided separately from the determination area, and pixels included in the filter area are treated as black and white pixels. Japanese Patent Application Laid-Open No. 4-336876 proposes a method of changing the size of the determination area according to the brightness (L * value).

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記二
つの公報に記載された方法では、いずれも判定領域を自
在に構成し得るものとなっていないため、ユーザの好み
に応じて判定領域を細かく設定することができなかっ
た。その結果、ユーザ側で白黒原稿と認識した原稿がA
CS処理でカラー原稿と判定されたり、逆に、ユーザ側
でカラー原稿と認識した原稿がACS処理で白黒原稿と
判定されたりするケースがあった。
However, according to the methods described in the above two publications, the determination area is not freely configured, so that the determination area is set finely according to the user's preference. I couldn't. As a result, the document that the user has recognized as a black and white document is A
In some cases, the CS process determines that the document is a color document, and conversely, the user recognizes a document that is recognized as a color document as a monochrome document in the ACS process.

【0007】本発明は、上記課題を解決するためになさ
れたもので、その目的とするところは、ユーザの好みや
視覚に即した判定結果を出力可能なACS処理を実現で
きる画像処理装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and an object of the present invention is to provide an image processing apparatus capable of realizing an ACS processing capable of outputting a judgment result in accordance with the user's preference and vision. Is to do.

【0008】[0008]

【課題を解決するための手段】本発明に係る画像処理装
置は、画像読み取り手段で読み取られた画像を構成する
画素がカラー画素か白黒画素かを判定する画素色判定手
段を備える。この画素色判定手段は、色度平面上に複数
のエリアNI分割された画素色判定領域を設定し、判定
対象の画素が画素色判定領域のいずれのエリアに含まれ
るかを判定する第1の判定手段と、画素色判定領域内で
分割された各々のエリア毎に、当該エリアに含まれる画
素をカラー画素と判定するか白黒画素と判定するかを切
り換え可能なエリア設定手段と、これら第1の判定手段
の判定結果とエリア設定手段の設定条件に基づいて判定
対象の画素がカラー画素か白黒画素かを判定する第2の
判定手段とを有する。
An image processing apparatus according to the present invention comprises a pixel color determining means for determining whether a pixel constituting an image read by an image reading means is a color pixel or a monochrome pixel. The pixel color determination means sets a pixel color determination area divided into a plurality of areas NI on a chromaticity plane, and determines which area of the pixel color determination area includes the pixel to be determined. Determining means, for each area divided in the pixel color determination area, area setting means capable of switching between determining whether a pixel included in the area is a color pixel or a monochrome pixel, And a second determination unit that determines whether the pixel to be determined is a color pixel or a monochrome pixel based on the determination result of the determination unit and the setting condition of the area setting unit.

【0009】上記構成の画像処理装置において、第1の
判定手段は、色度平面上に複数のエリアで分割された画
素色判定領域を設定し、判定対象の画素がいずれのエリ
アに含まれるかを判定する。このとき、判定対象の画素
を含むエリアがエリア設定手段によってカラー画素と判
定するように設定されていた場合は、第2の判定手段で
この画素がカラー画素と判定される。また、判定対象の
画素を含むエリアがエリア設定手段によって白黒画素と
判定するように設定されていた場合は、第2の判定手段
でこの画素が白黒画素と判定される。
In the image processing apparatus having the above configuration, the first determination means sets a pixel color determination area divided by a plurality of areas on a chromaticity plane, and determines which area includes the pixel to be determined. Is determined. At this time, if the area including the pixel to be determined has been set to be determined as a color pixel by the area setting means, this pixel is determined as a color pixel by the second determination means. If the area including the pixel to be determined is set by the area setting means to be determined as a monochrome pixel, the second determination means determines that the pixel is a monochrome pixel.

【0010】[0010]

【発明の実施の形態】以下、本発明に係る画像処理装置
を、例えばイメージスキャナ等の画像読取装置に適用し
た場合の実施の形態につき、図面を参照しつつ詳細に説
明する。なお、本発明に係る画像処理装置は画像読取装
置に限らず、カラー複写機、ファクシミリ装置等の画像
形成装置などにも適用可能である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which an image processing apparatus according to the present invention is applied to an image reading apparatus such as an image scanner will be described below in detail with reference to the drawings. The image processing apparatus according to the present invention is not limited to an image reading apparatus, but is applicable to an image forming apparatus such as a color copying machine and a facsimile machine.

【0011】図1は本発明が適用される画像読取装置の
構成を示す概略図である。図示した画像読取装置1は、
処理対象の原稿2を予め設定された読取位置に自動的に
送り込む自動原稿送り装置(ADF)付きの原稿押さえ
カバー3を備えた構成となっている。原稿押さえカバー
3は、装置本体4上でヒンジ機構等により開閉自在に支
持され、ユーザにより開閉操作されるものである。装置
本体4の上面部には、原稿台となるプラテンガラス5が
設けられている。処理対象の原稿2は、このプラテンガ
ラス5上にセット(載置)される。
FIG. 1 is a schematic diagram showing the configuration of an image reading apparatus to which the present invention is applied. The illustrated image reading device 1 includes:
A document holding cover 3 with an automatic document feeder (ADF) that automatically feeds a document 2 to be processed to a preset reading position is provided. The document holding cover 3 is supported on the apparatus main body 4 by a hinge mechanism or the like so as to be openable and closable, and is opened and closed by a user. On the upper surface of the apparatus main body 4, a platen glass 5 serving as a document table is provided. The document 2 to be processed is set (placed) on the platen glass 5.

【0012】一方、装置本体4の内部には、原稿の画像
を読み取る画像読み取り手段としての光学走査系が組み
込まれている。この光学走査系は、フルレートキャリッ
ジ6と、ハーフレートキャリッジ7と、結像レンズ8
と、光電変換素子9とを備えて構成されている。フルレ
ートキャリッジ6にはランプ10と第1ミラー11が搭
載され、ハーフレートキャリッジ7には第2ミラー12
と第3ミラー13が搭載されている。
On the other hand, an optical scanning system as image reading means for reading an image of a document is incorporated in the apparatus main body 4. This optical scanning system includes a full-rate carriage 6, a half-rate carriage 7, an imaging lens 8
And a photoelectric conversion element 9. A lamp 10 and a first mirror 11 are mounted on the full-rate carriage 6, and a second mirror 12 is mounted on the half-rate carriage 7.
And a third mirror 13 are mounted.

【0013】これらのキャリッジ6,7は、共通のキャ
リッジ移動用モータを駆動源として副走査方向(図の左
右方向)に移動するものである。その際、ハーフレート
キャリッジ7はフルレートキャリッジ6の1/2の移動
量をもって移動し、これによって副走査方向のいずれの
位置にキャリッジ6,7が移動した状態でも、原稿面か
ら光電変換素子9までの光路長が常に一定に保持される
構成となっている。
The carriages 6 and 7 move in the sub-scanning direction (left and right directions in the drawing) using a common carriage moving motor as a drive source. At this time, the half-rate carriage 7 moves with a moving amount of の of the full-rate carriage 6, so that even if the carriages 6 and 7 move to any position in the sub-scanning direction, the half-rate carriage 7 moves from the original surface to the photoelectric conversion element 9. Is always kept constant.

【0014】一方、ランプ10は原稿2の被読み取り面
に向けて光を照射するもので、その原稿面からの反射光
が、第1ミラー11、第2ミラー12及び第3ミラー1
3により順に反射される。結像レンズ8は、第3ミラー
13によって反射された光を所定の縮小倍率で光電変換
素子9の撮像面に結像させるものである。光電変換素子
9は、原稿画像を読み取るためのイメージセンサで、例
えば3ラインカラーCCDセンサ等によって構成され
る。この光電変換素子9は、原稿からの反射光を画素単
位で光電変換し、R(赤),G(緑),B(青)のアナ
ログ画像信号(以下、RGB信号と記す)を出力する。
On the other hand, the lamp 10 irradiates light to the surface of the original 2 to be read, and the reflected light from the original surface is reflected by the first mirror 11, the second mirror 12, and the third mirror 1
3 sequentially reflected. The imaging lens 8 forms an image of the light reflected by the third mirror 13 on the imaging surface of the photoelectric conversion element 9 at a predetermined reduction magnification. The photoelectric conversion element 9 is an image sensor for reading a document image, and is constituted by, for example, a three-line color CCD sensor. The photoelectric conversion element 9 performs photoelectric conversion of reflected light from a document in pixel units and outputs R (red), G (green), and B (blue) analog image signals (hereinafter, referred to as RGB signals).

【0015】図2は本発明が適用される画像読取装置の
制御構成を示すブロック図である。図2において、光電
変換素子9から入力されるRGB信号は、アナログ/シ
ェーディング補正部14に与えられる。このアナログ/
シェーディング補正部14は、光電変換素子9から与え
られるRGB信号に対して、自動ゲイン制御(AG
F)、自動オフセット制御(AOC)等の処理を実施し
た後、A/D変換を施す。このA/D変換により、RG
B信号はアナログ値からデジタルの多値情報に変換され
るため、このデジタル化されたRGB信号に対し、アナ
ログ/シェーディング補正部14がシェーディング補正
を施す。
FIG. 2 is a block diagram showing a control configuration of an image reading apparatus to which the present invention is applied. 2, the RGB signals input from the photoelectric conversion element 9 are provided to the analog / shading correction unit 14. This analog /
The shading correction unit 14 performs automatic gain control (AG) on the RGB signals given from the photoelectric conversion element 9.
F), after performing processing such as automatic offset control (AOC), A / D conversion is performed. By this A / D conversion, RG
Since the B signal is converted from an analog value into digital multi-value information, the analog / shading correction unit 14 performs shading correction on the digitized RGB signal.

【0016】こうして補正されたRGB信号(多値情
報)は画像処理部15へ送られる。画像処理部15は、
与えられたRGB信号に対して種々の処理を施すもので
ある。この画像処理部15での処理形態の一つとして、
RGB→L*a*b*の変換が実施される。これにより、RG
B信号は明度を表すL*と色相及び彩度を表すa*,b*の多
値情報に変換される。この変換によって生成されたL*a*
b*信号はACS処理部16に送られる。このACS処理
部16は、処理対象の原稿がカラー原稿か白黒原稿かを
判定する処理を行う。
The corrected RGB signals (multi-valued information) are sent to the image processing unit 15. The image processing unit 15
Various processes are performed on a given RGB signal. As one of the processing modes in the image processing unit 15,
The conversion from RGB to L * a * b * is performed. Thereby, RG
The B signal is converted into multivalued information of L * representing lightness and a * and b * representing hue and saturation. L * a * generated by this transformation
The b * signal is sent to the ACS processing unit 16. The ACS processing unit 16 performs a process of determining whether a document to be processed is a color document or a monochrome document.

【0017】一方、主制御部17は、例えばCPU(中
央演算処理装置)等によって構成され、ROM(Read-On
ly Memory)18に格納された所定の制御プログラムに
従って本装置全体の動作を制御するものである。主制御
部17には本装置内の状態情報として各種センサ19か
らの検知信号が入力される。各種センサ19の中には、
例えば、原稿押さえカバー3の開閉状態を検知するセン
サや、自動原稿送り装置による原稿の搬送位置を検知す
るセンサなどが含まれる。ADF制御部20、照明制御
部21及び走査制御部22は、それぞれ主制御部17か
らの命令に従って制御対象部の動作を制御するものであ
る。即ち、ADF制御部20は、先述の原稿押さえカバ
ー3に装備された自動原稿送り装置の動作を制御し、照
明制御部21は先述のフルレートキャリッジ6に搭載さ
れたランプ10のオンオフ動作を制御し、走査制御部2
2は、キャリッジ移動用モータ(ステッピングモータ
等)23の回転動作を制御する。
On the other hand, the main control unit 17 is constituted by, for example, a CPU (Central Processing Unit), and has a ROM (Read-On).
ly Memory) 18 to control the operation of the entire apparatus according to a predetermined control program. Detection signals from various sensors 19 are input to the main control unit 17 as state information in the apparatus. Among various sensors 19,
For example, a sensor that detects the open / closed state of the document holding cover 3 and a sensor that detects the position where the document is conveyed by the automatic document feeder are included. The ADF control unit 20, the illumination control unit 21, and the scan control unit 22 control the operation of the control target unit in accordance with commands from the main control unit 17, respectively. That is, the ADF control unit 20 controls the operation of the automatic document feeder mounted on the document holding cover 3 described above, and the illumination control unit 21 controls the on / off operation of the lamp 10 mounted on the full rate carriage 6 described above. , Scanning control unit 2
Reference numeral 2 controls a rotation operation of a carriage moving motor (stepping motor or the like) 23.

【0018】図3はACS処理部16の内部構成を示す
ブロック図である。図示のようにACS処理部16は、
画素色判定部24、ブロック色判定部25及び原稿色判
定部26によって構成されている。画素色判定部24
は、光学走査系(6〜13)によって読み取られた原稿
画像を構成する画素がカラー画素か白黒画素かを判定す
るものである。この画素色判定部24における画素色
(カラー画素/白黒画素)の判定は、原稿からの読み取
り画像を構成する各々の画素毎(画素単位)に行われ
る。また、画素色判定部24による画素色の判定結果は
ブロック色判定部25に送られる。なお、画素色判定部
24の詳細については後段で説明する。
FIG. 3 is a block diagram showing the internal configuration of the ACS processing unit 16. As shown, the ACS processing unit 16
It comprises a pixel color determination unit 24, a block color determination unit 25, and a document color determination unit 26. Pixel color determination unit 24
Is to determine whether pixels constituting a document image read by the optical scanning system (6 to 13) are color pixels or monochrome pixels. The determination of the pixel color (color pixel / black and white pixel) in the pixel color determination unit 24 is performed for each pixel (pixel unit) constituting an image read from a document. The result of the pixel color determination by the pixel color determination unit 24 is sent to the block color determination unit 25. The details of the pixel color determination unit 24 will be described later.

【0019】ブロック色判定部25は、原稿サイズに対
応した画像の読み取り領域をN画素×Mライン単位のブ
ロックに分割し、それぞれのブロック毎にカラーブロッ
クか白黒ブロックかを判定するものである。このブロッ
ク色判定部25におけるブロック色(カラー/白黒)の
判定処理には、画素色判定部24から送られる画素色の
判定結果が用いられる。即ち、ブロック色判定部25で
は、上述のように分割したブロック内に含まれるカラー
画素の個数をカウントするとともに、このカウント値と
予め設定されたブロック色判定用の閾値とを比較し、こ
の比較結果に基づいて当該ブロックがカラーブロックか
白黒ブロックかを判定する。このブロック色判定部25
によるブロック色の判定結果は原稿色判定部26に送ら
れる。
The block color determining section 25 divides an image reading area corresponding to the document size into blocks of N pixels × M lines, and determines whether each block is a color block or a monochrome block. The determination result of the pixel color sent from the pixel color determination unit 24 is used for the determination process of the block color (color / monochrome) in the block color determination unit 25. That is, the block color determination unit 25 counts the number of color pixels included in the divided block as described above, and compares the count value with a preset threshold value for block color determination. It is determined whether the block is a color block or a black and white block based on the result. This block color determination unit 25
Is sent to the document color determination unit 26.

【0020】原稿色判定部26は、画像の読み取りが行
われた原稿がカラー原稿か白黒原稿かを判定するもので
ある。この原稿色判定部26における原稿色(カラー/
白黒)の判定処理には、ブロック色判定部25から送ら
れるブロック色の判定結果が用いられる。即ち、原稿色
判定部26では、上述のように原稿サイズに対応した画
像の読み取り領域内で分割されたブロックのうち、ブロ
ック色判定部25でカラーブロックと判定されたブロッ
ク個数をカウントするとともに、このカウント値と予め
設定された原稿色判定用の閾値とを比較し、この比較結
果に基づいて原稿がカラー原稿か白黒原稿かを判定す
る。この原稿色判定部26による原稿色の判定結果は主
制御部17に送られ、例えば画像形成装置等で画像を生
成の際に利用される。
The document color determining section 26 determines whether the document from which the image has been read is a color document or a black and white document. The original color (color / color / color
The determination result of the block color sent from the block color determination unit 25 is used for the determination process of “black and white”. That is, the document color determination unit 26 counts the number of blocks determined as color blocks by the block color determination unit 25 among the blocks divided in the image reading area corresponding to the document size as described above, The count value is compared with a preset threshold value for document color determination, and it is determined whether the document is a color document or a monochrome document based on the comparison result. The result of the determination of the document color by the document color determination unit 26 is sent to the main control unit 17 and is used, for example, when an image is generated by an image forming apparatus or the like.

【0021】ここで、画素色判定部24の構成とその処
理内容について詳しく説明する。先ず、画素色判定部2
4では、図4に示すように、色相及び彩度を表す色度平
面(a*b*平面上)上に複数(図例では25)のエリア
(No.1〜No.25)で分割(細分化)された画素色判定領
域を設定する。この画素色判定領域内で分割された各々
のエリア(No.1〜No.25)は、a*軸に対応する複数個
(図例では6つ)の閾値THa1〜THa6と、b*軸に対応
する複数個(図例では6つ)の閾値THb1〜THb6とに
よって格子状に区切られている。これらの閾値THa1〜
THa6及びTHb1〜THb6は、画素色判定用の閾値とし
て画素色判定部15に与えられる。
Here, the configuration of the pixel color determining section 24 and the processing contents thereof will be described in detail. First, the pixel color determination unit 2
In FIG. 4, as shown in FIG. 4, a plurality of (25 in the example in the figure) areas (No. 1 to No. 25) are divided on a chromaticity plane (on the a * b * plane) representing hue and saturation (FIG. 4). A subdivided pixel color determination area is set. Each of the areas (No. 1 to No. 25) divided in the pixel color determination area has a plurality (six in the example) of thresholds THa1 to THa6 corresponding to the a * axis and the b * axis. A plurality of (six in the example in the figure) threshold values THb1 to THb6 are separated in a grid pattern. These threshold values THa1 to
THa6 and THb1 to THb6 are provided to the pixel color determination section 15 as pixel color determination thresholds.

【0022】ここで、上述した色度平面上において、a*
軸に対応するの閾値THa1〜THa6のうち、閾値THa1
及びTHa6はそれぞれa*の最小閾値及び最大閾値として
与えられ、その間を区切るものとして閾値THa2〜TH
a5が与えられる。同様に、b*軸に対応するTHb1〜TH
b6のうち、閾値THb1及びTHb6はそれぞれb*の最小閾
値及び最大閾値として与えられ、その間を区切るものと
して閾値THb2〜THb5が与えられる。
Here, on the chromaticity plane described above, a *
Of the threshold values THa1 to THa6 corresponding to the axis, the threshold value THa1
And THa6 are respectively given as a minimum threshold value and a maximum threshold value of a *, and the threshold values THa2 to TH
a5 is given. Similarly, THb1 to THb corresponding to the b * axis
Of b6, the threshold values THb1 and THb6 are given as the minimum and maximum threshold values of b *, respectively, and the threshold values THb2 to THb5 are given to separate them.

【0023】このことから、a*軸及びb*軸に対応するそ
れぞれの最小閾値THa1,THb1及び最大閾値THa6,
THb6は、上述した画素色判定領域の外枠(範囲)を規
定するものとなる。この画素色判定領域は、色度平面上
で明示的にカラーと認識される領域を除いた内側領域
(カラー/白黒の認識が曖昧な領域を含む)を囲むよう
に設定される。例えば、a*軸上でa*の取り得るの値の範
囲が−80〜+80であるとすると、THa1=−30、
THa6=+30に設定される。また、b*軸上でb*の取り
得る値の範囲が−60〜+100であるとすると、TH
b1=−30、THb6=+30に設定される。なお、画素
色判定領域の大きさや、画素色判定領域におけるエリア
の分割数、大きさ等については、画素色判定部24に与
える閾値の条件を変えることで任意に変更可能である。
Accordingly, the minimum threshold values THa1 and THb1 and the maximum threshold values THa6 and THa6 corresponding to the a * axis and the b * axis, respectively.
THb6 defines the outer frame (range) of the above-described pixel color determination area. The pixel color determination area is set so as to surround an inner area (including an area where color / black and white recognition is ambiguous) excluding an area that is explicitly recognized as a color on the chromaticity plane. For example, if the range of possible values of a * on the a * axis is −80 to +80, THa1 = −30,
THa6 = + 30 is set. Assuming that the range of possible values of b * on the b * axis is −60 to +100, TH
b1 = −30 and THb6 = + 30. Note that the size of the pixel color determination area, the number of divisions of the area in the pixel color determination area, the size, and the like can be arbitrarily changed by changing the condition of the threshold value provided to the pixel color determination unit 24.

【0024】図5は画素色判定部24の内部構成を示す
ブロック図である。図示のように画素色判定部24は、
主として、画素色判定領域内で分割された各々のエリア
(No.1〜No.25)に対応するエリア判定部E1〜E25
と、各々のエリア判定部E1〜E25からの出力に基づ
いて画素色(カラー画素/白黒画素)を判定し、この判
定結果を出力する判定結果出力部27とによって構成さ
れている。
FIG. 5 is a block diagram showing the internal configuration of the pixel color judgment unit 24. As shown in the figure, the pixel color determination unit 24
Mainly, area determination units E1 to E25 corresponding to the respective areas (No. 1 to No. 25) divided in the pixel color determination area.
And a determination result output unit 27 that determines a pixel color (color pixel / monochrome pixel) based on the output from each of the area determination units E1 to E25 and outputs the determination result.

【0025】エリア判定部E1は、画素色判定領域のエ
リアNo.1に対応するもので、第1比較回路CMP-1、第2
比較回路CMP-2、第3比較回路CMP-3、第4比較回路CMP-
4、第1論理積回路AND-1、第2論理積回路AND-2、第3
論理積回路AND-3、セレクタSEL-1によって構成されてい
る。
The area determination section E1 corresponds to the area No. 1 of the pixel color determination area, and includes a first comparison circuit CMP-1 and a second comparison circuit CMP-1.
Comparison circuit CMP-2, third comparison circuit CMP-3, fourth comparison circuit CMP-
4, first AND circuit AND-1, second AND circuit AND-2, third
It comprises an AND circuit AND-3 and a selector SEL-1.

【0026】このうち、第1比較回路CMP-1の一方の入
力端には画素値Da*(判定対象の画素のa*値)が与えら
れ、同他方の入力端には閾値THa1が与えられる。ま
た、第2比較回路CMP-2の一方の入力端には画素値Da*
が与えられ、同他方の入力端には閾値THa2が与えられ
る。これに対して、第3比較回路CMP-3の一方の入力端
には画素値Db*(判定対象の画素のb*値)が与えられ、
同他方の入力端には閾値THb1が与えられる。また、第
4比較回路CMP-4の一方の入力端には画素値Db*が与え
られ、同他方の入力端には閾値THb2が与えられる。
The pixel value Da * (a * value of the pixel to be determined) is given to one input terminal of the first comparison circuit CMP-1, and the threshold value THa1 is given to the other input terminal. . A pixel value Da * is input to one input terminal of the second comparison circuit CMP-2.
And a threshold value THa2 is applied to the other input terminal. On the other hand, a pixel value Db * (b * value of the pixel to be determined) is given to one input terminal of the third comparison circuit CMP-3,
A threshold value THb1 is given to the other input terminal. A pixel value Db * is provided to one input terminal of the fourth comparison circuit CMP-4, and a threshold value THb2 is provided to the other input terminal.

【0027】一方、第1論理積回路AND-1の一方の入力
端には第1比較回路CMP-1の出力が与えられ、同他方の
入力端には第2比較回路CMP-2の出力が与えられる。ま
た、第2論理積回路AND-2の一方の入力端には第3比較
回路CMP-3の出力が与えられ、同他方の入力端には第4
比較回路CMP-4の出力が与えられる。さらに、第3論理
積回路AND-3の一方の入力端には第1論理積回路AND-1の
出力が与えられ、同他方の入力端には第2論理積回路AN
D-2の出力が与えられる。この第3論理積回路AND-3の出
力はセレクタSELの一方の入力aとなる。セレクタSEL-1
の他方の入力bはグランドに接地されている。このセレ
クタSEL-1には選択信号φSEL1が与えられる。この選択
信号φSEL1は、セレクタSEL-1における2つの入力a,bの
うち、どちらをセレクタSEL-1の出力として選択するか
を決定するものである。選択信号φSEL1は、外部からオ
ペレータ、ユーザ等によって切り換え操作可能となって
いる。
On the other hand, the output of the first comparison circuit CMP-1 is provided to one input terminal of the first AND circuit AND-1, and the output of the second comparison circuit CMP-2 is provided to the other input terminal. Given. The output of the third comparison circuit CMP-3 is provided to one input terminal of the second AND circuit AND-2, and the output of the fourth comparison circuit CMP-3 is applied to the other input terminal.
The output of the comparison circuit CMP-4 is provided. Further, the output of the first AND circuit AND-1 is provided to one input terminal of the third AND circuit AND-3, and the second AND circuit AN is provided to the other input terminal thereof.
The output of D-2 is provided. The output of the third AND circuit AND-3 is one input a of the selector SEL. Selector SEL-1
Is connected to the ground. The selector SEL-1 is supplied with a selection signal φSEL1. The selection signal φSEL1 determines which of the two inputs a and b of the selector SEL-1 is to be selected as the output of the selector SEL-1. The selection signal φSEL1 can be switched from outside by an operator, a user, or the like.

【0028】エリア判定部E2は、画素色判定領域のエ
リアNo.2に対応するもので、第1比較回路CMP-1、第2
比較回路CMP-2、第3比較回路CMP-3、第4比較回路CMP-
4、第1論理積回路AND-1、第2論理積回路AND-2、第3
論理積回路AND-3、セレクタSEL-2によって構成されてい
る。このエリア判定部E2は、他のエリア判定部(〜E
25)も含めて、基本的にエリア判定部E1と同様の構
成及び機能を備えている。ただし、画素値(Da*,Db
*)との比較対象としては、各々のエリア判定部E1〜
E25に対応するエリアNo.1〜No.25を区切る閾値が与
えられる。
The area judgment section E2 corresponds to the area No. 2 of the pixel color judgment area, and includes a first comparison circuit CMP-1 and a second comparison circuit CMP-1.
Comparison circuit CMP-2, third comparison circuit CMP-3, fourth comparison circuit CMP-
4, first AND circuit AND-1, second AND circuit AND-2, third
It comprises an AND circuit AND-3 and a selector SEL-2. This area determination section E2 is provided with another area determination section (to E
Basically, it has the same configuration and function as the area determination unit E1, including 25). However, the pixel values (Da *, Db
*) Is compared with each area determination unit E1
A threshold value for dividing areas No. 1 to No. 25 corresponding to E25 is given.

【0029】ここで、各々のエリア判定部E1〜E25
の動作機能について、エリア判定部E1を例に挙げて説
明する。エリア判定部E1においては、第1比較回路CM
P-1で画素値Da*と閾値THa1とが比較され、第2比較
回路CMP-2で画素値Da*と閾値THa2とが比較される。
また、第3比較回路CMP-3で画素値Db*と閾値THb1と
が比較され、第4比較回路CMP-4で画素値Db*と閾値T
Hb2とが比較される。そして、画素値Da*が閾値THa1
〜THa2の範囲内であれば、第1比較回路CMP-1及び第
2比較回路CMP-2の出力が共に「1」となる。同様に、
画素値Db*が閾値THb1〜THb2の範囲内であれば、第
3比較回路CMP-3及び第4比較回路CMP-4の出力が共に
「1」となる。
Here, each of the area determination units E1 to E25
The operation function will be described by taking the area determination unit E1 as an example. In the area determination unit E1, the first comparison circuit CM
The pixel value Da * is compared with the threshold value THa1 at P-1, and the pixel value Da * is compared with the threshold value THa2 at the second comparison circuit CMP-2.
The third comparator CMP-3 compares the pixel value Db * with the threshold value THb1, and the fourth comparator CMP-4 compares the pixel value Db * with the threshold value THb1.
Hb2 is compared. Then, the pixel value Da * is set to the threshold value THa1.
If the output is within the range THa2, the outputs of the first comparator CMP-1 and the second comparator CMP-2 are both "1". Similarly,
If the pixel value Db * is in the range between the threshold values THb1 and THb2, the outputs of the third comparison circuit CMP-3 and the fourth comparison circuit CMP-4 are both "1".

【0030】また、第1比較回路CMP-1及び第2比較回
路CMP-2の出力が共に「1」の場合は、第1論理積回路A
ND-1の出力が「1」となり、同様に、第3比較回路CMP-
3及び第4比較回路CMP-4の出力が共に「1」の場合は、
第2論理積回路AND-2の出力が「1」となる。さらに、
第1論理積回路AND-1及び第2論理積回路AND-2の出力が
共に「1」の場合は、第3論理積回路AND-3の出力が
「1」となる。
When the outputs of the first comparator CMP-1 and the second comparator CMP-2 are both "1", the first AND circuit A
The output of ND-1 becomes "1", and the third comparator CMP-
When the outputs of the third and fourth comparison circuits CMP-4 are both "1",
The output of the second AND circuit AND-2 becomes "1". further,
When the outputs of the first AND circuit AND-1 and the second AND circuit AND-2 are both "1", the output of the third AND circuit AND-3 is "1".

【0031】したがって、画素値Da*が閾値THa1〜T
Ha2の範囲内でかつ画素値Db*が閾値THb1〜THb2の
範囲内である場合、即ち色度平面上の画素色判定領域に
おいて判定対象の画素がエリアNo.1に含まれる場合は第
3論理積回路AND-3の出力が「1」となり、それ以外の
場合、即ち判定対象の画素がエリアNo.1に含まれない場
合は第3論理積回路AND-3の出力が「0」となる。
Therefore, when the pixel value Da * is equal to the threshold value
If the pixel value Db * is within the range of the threshold values THb1 to THb2, that is, if the pixel to be determined is included in the area No. 1 in the pixel color determination area on the chromaticity plane, the third logic The output of the AND circuit AND-3 becomes "1", otherwise, that is, if the pixel to be determined is not included in the area No. 1, the output of the third AND circuit AND-3 becomes "0". .

【0032】このことから、第1比較回路CMP-1、第2
比較回路CMP-2、第3比較回路CMP-3、第4比較回路CMP-
4、第1論理積回路AND-1、第2論理積回路AND-2、第3
論理積回路AND-3からなる回路構成は、判定対象の画素
がエリアNo.1に含まれるか否かを判定する判定機能を奏
するものとなる。
From this, the first comparison circuit CMP-1 and the second comparison circuit CMP-1
Comparison circuit CMP-2, third comparison circuit CMP-3, fourth comparison circuit CMP-
4, first AND circuit AND-1, second AND circuit AND-2, third
The circuit configuration including the AND circuit AND-3 has a determination function of determining whether or not the determination target pixel is included in the area No. 1.

【0033】一方、セレクタSEL-1において、選択信号
φSEL1により入力aが選択されている場合は、第3論理
積回路AND-3の出力(「1」又は「0」)がセレクタSEL
-1から出力され、選択信号φSEL1により入力bが選択さ
れている場合は、判定対象の画素がエリアNo.1に含まれ
るか否かにかかわらず、強制的に「0」が出力される。
On the other hand, when the input a is selected by the selection signal φSEL1 in the selector SEL-1, the output ("1" or "0") of the third AND circuit AND-3 is output to the selector SEL-1.
When the input signal b is output from −1 and the input signal b is selected by the selection signal φSEL1, “0” is forcibly output regardless of whether or not the pixel to be determined is included in the area No. 1.

【0034】したがって、第3論理積回路AND-3の出力
が「1」の場合、即ち判定対象の画素がエリアNo.1に含
まれる場合に、選択信号φSEL1により入力aが選択され
ているとセレクタSEL-1の出力が「1」となり、選択信
号φSEL1により入力bが選択されているとセレクタSEL-1
の出力が「0」となる。このとき、エリア判定部E1の
判定結果として、セレクタSEL-1の出力が「1」の場合
を白黒画素、「0」の場合をカラー画素と判定するもの
とすると、選択信号φSEL1により入力aが選択されてい
る場合は、エリアNo.1に含まれる画素が白黒画素と判定
され、選択信号φSEL1により入力bが選択されている場
合は、エリアNo.1に含まれる画素がカラー画素と判定さ
れることになる。
Therefore, when the output of the third AND circuit AND-3 is "1", that is, when the pixel to be determined is included in the area No. 1, the input signal a is selected by the selection signal φSEL1. When the output of the selector SEL-1 becomes "1" and the input b is selected by the selection signal φSEL1, the selector SEL-1
Is "0". At this time, assuming that the output of the selector SEL-1 is “1” as a monochrome pixel and the output of the selector SEL-1 is “0” as a color pixel as the determination result of the area determination unit E1, the input signal a is selected by the selection signal φSEL1. When selected, the pixels included in area No. 1 are determined as black and white pixels, and when input b is selected by selection signal φSEL1, the pixels included in area No. 1 are determined as color pixels. Will be.

【0035】また、選択信号φSEL1により入力aが選択
されていても、判定対象の画素がエリアNo.1に含まれな
い場合は、セレクタSEL-1の出力が「0」となる。さら
に、判定対象の画素が、画素色判定領域のいずれのエリ
アNo.1〜No.25にも含まれない場合は、各々のエリア判
定部E1〜E25におけるセレクタSEL-1〜SEL-25の出
力が全て「0」となる。つまり、本実施形態において
は、色度平面上で画素色判定領域外の領域(明示的にカ
ラーと認識される領域)を固定のカラー領域とし、判定
対象の画素がこのカラー領域に含まれる場合(換言する
と、判定対象の画素が画素色判定領域に含まれない場
合)は、当該画素をカラー画素と判定して「0」を出力
する構成となっている。
Even if the input a is selected by the selection signal φSEL1, if the pixel to be determined is not included in the area No. 1, the output of the selector SEL-1 becomes "0". Further, when the pixel to be determined is not included in any of the areas No. 1 to No. 25 of the pixel color determination area, the output of the selectors SEL-1 to SEL-25 in each of the area determination units E1 to E25. Are all "0". That is, in the present embodiment, a region outside the pixel color determination region (a region that is explicitly recognized as a color) on the chromaticity plane is set as a fixed color region, and a pixel to be determined is included in this color region. (In other words, when the pixel to be determined is not included in the pixel color determination area), the pixel is determined to be a color pixel and “0” is output.

【0036】以上のことから、エリア判定部E1におい
ては、セレクタSEL-1に与える選択信号φSEL1を切り換
えることにより、エリアNo.1に含まれる画素をカラー画
素と判定するか白黒画素と判定するかを任意に切り換え
可能となる。
From the above, in the area determination section E1, by switching the selection signal φSEL1 to be given to the selector SEL-1, the pixels included in the area No. 1 are determined as color pixels or monochrome pixels. Can be arbitrarily switched.

【0037】また、各々のエリア判定部E1〜E25に
設けられた判定回路(第1比較回路CMP-1、第2比較回
路CMP-2、第3比較回路CMP-3、第4比較回路CMP-4、第
1論理積回路AND-1、第2論理積回路AND-2、第3論理積
回路AND-3による回路構成)は、判定対象の画素が画素
色判定領域のいずれのエリアNo.1〜No.25に含まれるか
を判定する第1の判定手段を構成するものとなる。
The determination circuits (the first comparison circuit CMP-1, the second comparison circuit CMP-2, the third comparison circuit CMP-3, and the fourth comparison circuit CMP-) provided in each of the area determination units E1 to E25. 4. The circuit configuration of the first AND circuit AND-1, the second AND circuit AND-2, and the third AND circuit AND-3) is such that the determination target pixel is any one of the area No. 1 in the pixel color determination area. No. 25 to No. 25.

【0038】さらに、各々のエリア判定部E1〜E25
に設けられたセレクタSEL-1,SEL-2,…,SEL-25は、画
素色判定領域内で分割された各々のエリアNo.1〜No.25
毎に、当該エリアに含まれる画素をカラー画素と判定す
るか白黒画素と判定するかを切り換え可能なエリア設定
手段を構成するものとなる。
Further, each of the area determination units E1 to E25
, SEL-25 provided in each of the areas No. 1 to No. 25 divided in the pixel color determination area.
For each time, an area setting means that can switch between determining whether a pixel included in the area is a color pixel or a monochrome pixel is configured.

【0039】一方、判定結果出力部27は、論理和回路
28、インバータ29及びセレクタ30によって構成さ
れている。論理和回路28には、各々のエリア判定部E
1〜E25からの出力がそれぞれ入力として与えられ
る。この論理和回路28の出力はセレクタ30の一方の
入力aとなる。インバータ29は、論理和回路28の出
力を反転するもので、この反転出力がセレクタ30の他
方の入力bとなる。
On the other hand, the judgment result output section 27 is composed of an OR circuit 28, an inverter 29 and a selector 30. The OR circuit 28 includes each area determination unit E
Outputs from 1 to E25 are provided as inputs. The output of the OR circuit 28 is one input a of the selector 30. The inverter 29 inverts the output of the OR circuit 28, and this inverted output becomes the other input b of the selector 30.

【0040】上記構成の判定結果出力部27において、
論理和回路28は、各々のエリア判定部E1〜E25か
らの出力が全て「0」の場合に「0」を出力し、いずれ
か一つでも「1」の出力がなされた場合は「1」を出力
する。この論理和回路28の出力は、セレクタ30の一
方の入力aに与えられる。これに対して、セレクタ30
の他方の入力bには、論理和回路28の出力をインバー
タ29で反転した反転出力が与えられる。また、セレク
タ30には選択信号φSELAが与えられる。この選択信号
φSELAは、セレクタ30における2つの入力a,bのう
ち、どちらをセレクタ30の出力として選択するかを決
定するものである。選択信号φSELAは、外部からオペレ
ータ、ユーザ等によって切り換え操作可能となってい
る。
In the judgment result output unit 27 having the above configuration,
The OR circuit 28 outputs “0” when the outputs from the area determination units E1 to E25 are all “0”, and “1” when any one of the outputs is “1”. Is output. The output of the OR circuit 28 is provided to one input a of the selector 30. In contrast, the selector 30
An inverted output obtained by inverting the output of the OR circuit 28 by the inverter 29 is provided to the other input b of the circuit. The selector 30 is supplied with a selection signal φSELA. The selection signal φSELA determines which of the two inputs a and b of the selector 30 is to be selected as the output of the selector 30. The selection signal φSELA can be switched by an operator, a user, or the like from outside.

【0041】ここで、論理和回路28の出力が「0」の
場合は、セレクタ30の一方の入力aが「0」で、他方
の入力bが「1」となる。したがって、選択信号φSELA
により入力aが選択されていればセレクタ30の出力が
「0」となり、入力bが選択されていればセレクタ30
の出力が「1」となる。また、論理和回路28の出力が
「1」の場合は、セレクタ30の一方の入力aが「1」
で他方の入力bが「0」となる。したがって、選択信号
φSELAにより入力aが選択されていればセレクタ30の
出力が「1」となり、入力bが選択されていればセレク
タ30の出力が「0」となる。そして、セレクタ30の
出力が「0」の場合は、判定対象の画素がカラー画素で
あるとの判定結果となり、セレクタ30の出力が「1」
の場合は、判定対象の画素が白黒画素であるとの判定結
果となる。
Here, when the output of the OR circuit 28 is "0", one input a of the selector 30 is "0" and the other input b is "1". Therefore, the selection signal φSELA
When the input a is selected, the output of the selector 30 becomes “0”, and when the input b is selected, the selector 30
Is "1". When the output of the OR circuit 28 is “1”, one input a of the selector 30 is “1”.
, The other input b becomes “0”. Therefore, if the input a is selected by the selection signal φSELA, the output of the selector 30 becomes “1”, and if the input b is selected, the output of the selector 30 becomes “0”. When the output of the selector 30 is “0”, the result of the determination is that the pixel to be determined is a color pixel, and the output of the selector 30 is “1”.
In the case of, the determination result is that the pixel to be determined is a monochrome pixel.

【0042】このように、論理和回路28は、各々のエ
リア判定部E1〜E25からの出力に基づいて「0」又
は「1」を出力することから、第1の判定手段の判定結
果とエリア設定手段の設定条件に基づいて判定対象の画
素がカラー画素か白黒画素かを判定する第2の判定手段
を構成するものとなる。また、インバータ29は、論理
和回路28の出力を反転することから、第2の判定手段
の判定結果を反転する反転判定手段を構成するものとな
る。さらに、セレクタ30は、論理和回路28の出力又
はインバータ29の出力を選択可能で、当該セレクタ3
0の出力が画素色判定部24における最終的な判定結果
として出力されることから、本発明における判定結果選
択手段を構成するものとなる。
As described above, the OR circuit 28 outputs "0" or "1" based on the output from each of the area judgment sections E1 to E25, so that the judgment result of the first judgment means and the area This constitutes a second determining means for determining whether the pixel to be determined is a color pixel or a monochrome pixel based on the setting conditions of the setting means. Further, since the inverter 29 inverts the output of the OR circuit 28, it constitutes an inversion judging means for inverting the judgment result of the second judging means. Further, the selector 30 can select the output of the OR circuit 28 or the output of the inverter 29, and
Since the output of 0 is output as the final determination result in the pixel color determination unit 24, it constitutes a determination result selection unit in the present invention.

【0043】上記構成からなる画素色判定部24を備え
た画像処理装置においては、画素色判定領域内で分割さ
れた各々のエリアNo.1〜No.25のうち、任意のエリアに
含まれる画素をカラー画素又は白黒画素と判定させるこ
とが可能となる。例えば、エリア判定部E2のセレクタ
SEL-2に対し、入力aを選択させる選択信号φSEL2を与え
た場合はエリアNo.2に含まれる画素を白黒画素と判定さ
せることが可能となり、入力bを選択させる選択信号φS
EL2を与えた場合はエリアNo.2に含まれる画素をカラー
画素と判定させることが可能となる。また、エリア判定
部E2のセレクタSEL-2に対しては入力aを選択させる選
択信号φSEL2を与え、エリア判定部E2を除く他のエリ
ア判定部のセレクタに対しては全て入力bを選択させる
選択信号を与えることにより、エリアNo.2に含まれる画
素だけを白黒画素と判定させることが可能となる。その
結果、ユーザの好みや視覚、さらにはユーザの意図に応
じて、画素色判定領域を任意に設定することが可能とな
る。
In the image processing apparatus provided with the pixel color judging section 24 having the above configuration, the pixels included in an arbitrary area among the respective areas No. 1 to No. 25 divided in the pixel color judging area. Can be determined as a color pixel or a monochrome pixel. For example, the selector of the area determination unit E2
When the selection signal φSEL2 for selecting the input a is given to the SEL-2, the pixels included in the area No. 2 can be determined as the monochrome pixels, and the selection signal φS for selecting the input b can be determined.
When EL2 is given, pixels included in area No. 2 can be determined as color pixels. Further, a selection signal φSEL2 for selecting the input a is given to the selector SEL-2 of the area determination unit E2, and all selectors other than the area determination unit E2 are selected for the input b. By providing the signal, only the pixels included in the area No. 2 can be determined as black and white pixels. As a result, it is possible to arbitrarily set the pixel color determination area according to the user's preference and vision, as well as the user's intention.

【0044】また、判定結果出力部27にインバータ
(判定出力選択手段)29を設けたことにより、任意の
エリアに含まれる画素だけをカラー画素と判定させるこ
とが可能となる。例えば、エリア判定部E2のセレクタ
SEL-2に対して入力aを選択させる選択信号φSEL2を与え
るとともに、エリア判定部E2を除く他のエリア判定部
(E1、E3〜E25)のセレクタに対して全て入力b
を選択させる選択信号を与え、かつ判定結果出力部27
のセレクタ30に対して入力bを選択させる選択信号φS
ELAを与えることにより、エリアNo.2に含まれる画素だ
けをカラー画素と判定させることが可能となる。これに
より、画素色判定領域を設定する際のバリエーションを
増やすことができる。
Further, by providing an inverter (judgment output selection means) 29 in the judgment result output section 27, it is possible to judge only pixels included in an arbitrary area as color pixels. For example, the selector of the area determination unit E2
A selection signal φSEL2 for selecting the input a is supplied to the SEL-2, and all the input signals b are input to the selectors of the other area determination units (E1, E3 to E25) except the area determination unit E2.
And a judgment result output unit 27
Selection signal φS which causes the selector 30 to select the input b.
By providing ELA, only pixels included in area No. 2 can be determined to be color pixels. As a result, variations when setting the pixel color determination area can be increased.

【0045】以下、具体的な事例を挙げて説明する。先
ず、ユーザが自身の好みで画素色判定領域を設定する場
合の手順につき、図6のフローチャートを用いて説明す
る。ユーザが画素色判定領域を設定する場合は、画像読
取装置の操作パネルを介してACSユーザ選択モードを
選択する(ステップS1)。このACSユーザ選択モー
ドは、原稿画像の読み取りモードの一つとして、ユーザ
が画素色判定領域を設定するために予め用意されたモー
ドである。
Hereinafter, a specific case will be described. First, a procedure in the case where the user sets the pixel color determination area according to his / her preference will be described with reference to the flowchart in FIG. When the user sets the pixel color determination area, the user selects the ACS user selection mode via the operation panel of the image reading apparatus (step S1). The ACS user selection mode is a mode prepared in advance for the user to set the pixel color determination area as one of the original image reading modes.

【0046】ここで、ユーザがACSユーザ選択モード
を選択しなかった場合は、予め用意された標準のエリア
設定条件に従って画素色判定領域内のエリアが設定され
る(ステップS2)。この標準のエリア設定条件におい
ては、画素色判定領域内において、中央寄り(a*軸とb*
軸が交差するゼロ点周辺)のエリアに含まれる画素が白
黒画素と判定され、周辺寄りのエリアに含まれる画素が
カラー画素と判定されるよう、各々のエリア判定部にお
けるセレクタの選択信号が切り換えられる。
If the user has not selected the ACS user selection mode, an area in the pixel color determination area is set according to a standard area setting condition prepared in advance (step S2). In this standard area setting condition, the center (a * axis and b *
The selection signal of the selector in each area determination unit is switched so that the pixels included in the area near the zero point where the axes intersect) are determined as monochrome pixels, and the pixels included in the area near the periphery are determined as color pixels. Can be

【0047】これに対して、ユーザがACSユーザ選択
モードを選択した場合は、ユーザによる色の指定が行わ
れる(ステップS3)。このユーザによる色指定は、例
えば原稿押さえカバー3(図1)上に設けられたユーザ
インターフェース(エディットパッド等)の中からユー
ザが白黒としたい色を選択することにより行われる。ユ
ーザインターフェース上で指定可能な色は、画素色判定
部24で設定される画素色判定領域内のどのエリアに属
するかが予め対応付けられている。そのため、ユーザに
よって色が指定されると、上記標準のエリア設定条件に
対し、ユーザの指定色に対応するエリアに含まれる画素
を白黒画素と判定するための条件を付加したかたちで、
画素色判定領域内のエリアが設定される(ステップS
4)。ここでのエリア設定は、例えばユーザの指定色に
対応するエリアが図4におけるエリアNo.1であったとす
ると、このエリアNo.1に対応するエリア判定部E1のセ
レクタSEL-1が入力aを選択するように選択信号φSEL1を
切り換えることで実行される。
On the other hand, when the user selects the ACS user selection mode, the user specifies a color (step S3). The color designation by the user is performed by, for example, selecting a color desired to be black and white from a user interface (edit pad or the like) provided on the document pressing cover 3 (FIG. 1). The color that can be specified on the user interface is associated in advance with which area in the pixel color determination area set by the pixel color determination unit 24. Therefore, when a color is specified by the user, a condition for determining a pixel included in an area corresponding to the color specified by the user as a monochrome pixel is added to the standard area setting condition.
An area within the pixel color determination area is set (step S
4). For example, assuming that the area corresponding to the color designated by the user is area No. 1 in FIG. 4, the selector SEL-1 of the area determination unit E1 corresponding to this area No. This is executed by switching the selection signal φSEL1 so as to make a selection.

【0048】その後、光学走査系によって原稿画像の読
み取りが行われた後、ACS処理がなされる(ステップ
S5,S6)。このACS処理の中では、先のステップ
S2又はS4で設定された画素色判定領域を用いて画素
色判定が行われる。そのため、ステップS4で設定され
た画素色判定領域を用いた判定では、ユーザの指定色に
対応するエリアに含まれる画素が白黒画素として判定さ
れることになる。
Thereafter, after the original image is read by the optical scanning system, ACS processing is performed (steps S5 and S6). In the ACS processing, pixel color determination is performed using the pixel color determination area set in the previous step S2 or S4. Therefore, in the determination using the pixel color determination area set in step S4, the pixels included in the area corresponding to the color designated by the user are determined as monochrome pixels.

【0049】続いて、処理対象の原稿が図7に示すよう
な赤印入りの原稿である場合に、この赤印のみを含む原
稿をカラー原稿と判定しないための処理について説明す
る。かかる処理は、原稿画像の読み取りを行うにあたっ
て、ユーザが赤印除去モードを選択することにより実行
される。この赤印除去モードは、原稿画像の読み取りモ
ードの一つとして予め用意されたモードである。ユーザ
によって赤印除去モードが選択されると、当該赤印除去
モードに対応するエリア設定条件に従って画素色判定領
域が設定される。
Next, a description will be given of a process for not determining a document containing only the red mark as a color document when the document to be processed is a document with a red mark as shown in FIG. This processing is executed by the user selecting the red mark removal mode when reading the document image. The red mark removal mode is a mode prepared in advance as one of the original image reading modes. When the red mark removal mode is selected by the user, the pixel color determination area is set according to the area setting condition corresponding to the red mark removal mode.

【0050】即ち、赤印除去モードが選択されると、画
素色判定領域内では、図8に示すように、白黒領域とな
るエリアに含まれる画素と赤色領域となるエリアに含ま
れる画素は全て白黒画素と判定されるように設定され、
それ以外のエリアに含まれる画素は全てカラー画素と判
定されるように設定される。この場合のエリア設定につ
いても、各々のエリアに対応するエリア判定部のセレク
タの選択信号を適宜切り換えることで行われる。また、
この赤印除去モードにおいては、図5におけるセレクタ
30が論理和回路28の出力を最終的な画素色判定結果
として出力するように、選択信号φSELAが切り換えられ
る。
That is, when the red mark removal mode is selected, in the pixel color determination area, as shown in FIG. 8, all the pixels included in the black and white area and the pixels included in the red area are all included. Is set to be determined as a black and white pixel,
All pixels included in the other areas are set so as to be determined as color pixels. The area setting in this case is also performed by appropriately switching the selection signal of the selector of the area determination unit corresponding to each area. Also,
In the red mark removal mode, the selection signal φSELA is switched so that the selector 30 in FIG. 5 outputs the output of the OR circuit 28 as the final pixel color determination result.

【0051】このような条件で設定された画素色判定領
域において、原稿の赤印に対応する画素G1を判定対象
とした場合は、当該画素G1が赤色領域内のいずれか一
つのエリアに含まれる。この画素G1を含むエリアは、
当該エリアに含まれる画素を白黒画素と判定するように
設定されている。そのため、図9に示すように、この画
素G1を含むエリアの判定結果は「1」となる。したが
って、判定対象の画素G1は、エリア判定部の判定結果
「1」に応じて白黒画素と判定される。
When the pixel G1 corresponding to the red mark of the document is to be determined in the pixel color determination area set under such conditions, the pixel G1 is included in any one area of the red area. . The area including the pixel G1 is
The pixels included in the area are set to be determined as black and white pixels. Therefore, as shown in FIG. 9, the determination result of the area including the pixel G1 is “1”. Therefore, the pixel G1 to be determined is determined as a monochrome pixel according to the determination result “1” of the area determination unit.

【0052】また、原稿の白黒部分に対応する画素G2
は白黒領域内のいずれか一つのエリアに含まれる。この
画素G2を含むエリアは、当該エリアに含まれる画素を
白黒画素と判定するように設定されている。そのため、
図10に示すように、この画素G2を含むエリアの判定
結果は「1」となる。したがって、判定対象の画素G2
は、エリア判定部の判定結果「1」に応じて白黒画素と
判定される。
The pixel G2 corresponding to the monochrome portion of the original
Is included in any one of the black and white areas. The area including the pixel G2 is set so that the pixels included in the area are determined as black and white pixels. for that reason,
As shown in FIG. 10, the determination result of the area including the pixel G2 is “1”. Therefore, the determination target pixel G2
Are determined as black and white pixels according to the determination result “1” of the area determination unit.

【0053】一方、赤色以外のカラー画素(図例では青
と緑の中間色画素)G3は、白黒領域及び赤色領域以外
の領域内のいずれか一つのエリアに含まれる。この画素
G3を含むエリアは、当該エリアに含まれる画素をカラ
ー画素と判定するように設定されている。そのため、図
11に示すように、この画素G3を含むエリアの判定結
果は「0」となる。したがって、判定対象の画素G3
は、エリア判定部の判定結果「0」に応じてカラー画素
と判定される。
On the other hand, a color pixel G3 other than red (in the illustrated example, an intermediate color pixel between blue and green) G3 is included in any one of the areas other than the black and white area and the red area. The area including the pixel G3 is set so that the pixels included in the area are determined as color pixels. Therefore, as shown in FIG. 11, the determination result of the area including the pixel G3 is “0”. Therefore, the determination target pixel G3
Are determined as color pixels according to the determination result “0” of the area determination unit.

【0054】このような赤印除去モードに基づく処理を
実行することにより、先の図7に示すように赤印のみを
含む原稿をカラー原稿と判定することがなくなる。つま
り、赤印のみを含む原稿は全て白黒原稿と判定させるこ
とが可能となる。したがって、この赤印除去モードを備
えた画像処理装置は、原稿の画像をカラー複写機などで
コピーする場合、コピー代金を節約するために、赤印入
りの原稿を白黒モードで画像出力したいユーザにとって
非常に使い勝手のよいものとなる。また、赤印以外への
対応として、例えば指定色除去モードを用意し、この指
定色除去モードでユーザ等により指定された色について
上記同様の処理を行うことにより、指定色のみを含む原
稿を全て白黒原稿と判定させることが可能となる。ちな
みに、ユーザによる色の指定は、上記ACSユーザ選択
モードの場合と同様にエディットパッド等のユーザイン
ターフェースを用いて行うようにすればよい。
By executing the processing based on the red mark removal mode, it is not necessary to determine a document including only the red mark as a color document as shown in FIG. That is, all documents including only the red mark can be determined to be monochrome documents. Therefore, when an image processing apparatus having the red mark removal mode is used to copy an image of a document with a color copier or the like, a user who wants to output a document with a red mark in black and white mode in order to save a copy fee. It becomes very convenient. In addition, for example, a designated color removal mode is prepared as a response to a color other than the red mark, and the same processing as described above is performed on a color designated by a user or the like in the designated color removal mode, so that all originals containing only the designated color can be processed. It is possible to determine that the document is a monochrome document. Incidentally, the designation of the color by the user may be performed using a user interface such as an edit pad as in the case of the ACS user selection mode.

【0055】さらに、画素色判定領域のエリア設定条件
を適宜変更することにより、赤印を含む原稿のみをカラ
ー原稿と判定させることも可能である。かかる処理は、
原稿画像の読み取りを行うにあたって、ユーザが赤印読
取モードを選択することにより実行される。この赤印読
取モードは、原稿画像の読み取りモードの一つとして予
め用意されたモードである。ユーザによって赤印読取モ
ードが選択されると、当該赤印読取モードに対応するエ
リア設定条件に従って画素色判定領域が設定される。
Further, by appropriately changing the area setting condition of the pixel color determination area, it is possible to determine only a document including a red mark as a color document. Such processing is
In reading a document image, the process is performed by the user selecting the red mark reading mode. The red mark reading mode is a mode prepared in advance as one of the reading modes of the document image. When the user selects the red mark reading mode, the pixel color determination area is set according to the area setting condition corresponding to the red mark reading mode.

【0056】即ち、赤印読取モードが選択されると、画
素色判定領域内では、図12に示すように、赤色領域内
のエリアに含まれる画素は白黒画素と判定されるように
設定され、赤色領域外のエリアに含まれる画素は全てカ
ラー画素と判定されるように設定される。この場合のエ
リア設定についても、各々のエリアに対応するエリア判
定部のセレクタの選択信号を適宜切り換えることで行わ
れる。また、この赤印読取モードにおいては、図5にお
けるセレクタ30がインバータ29の出力(反転出力)
を最終的な画素色判定結果として出力するよう、選択信
号φSELAが切り換えられる。
That is, when the red mark reading mode is selected, as shown in FIG. 12, in the pixel color determination area, the pixels included in the area within the red area are set to be determined as black and white pixels. All pixels included in the area outside the red area are set to be determined as color pixels. The area setting in this case is also performed by appropriately switching the selection signal of the selector of the area determination unit corresponding to each area. In the red mark reading mode, the selector 30 in FIG.
Is output as the final pixel color determination result.

【0057】このような条件で設定された画素色判定領
域において、原稿の赤印に対応する画素G1を判定対象
とした場合は、当該画素G1が画素色判定領域内で赤色
領域内のいずれか一つのエリアに含まれる。この画素G
1を含むエリアは、当該エリアに含まれる画素を白黒画
素と判定するように設定されている。そのため、図13
に示すように、この画素G1を含むエリアの判定結果は
「1」となる。ただし、この赤印読取モードにおいて
は、インバータ29による反転判定結果を最終的な画素
色判定結果として出力するように設定されている。した
がって、判定対象の画素G1は、エリア判定部の判定結
果を反転してなる反転判定結果「0」に応じてカラー画
素と判定される。
When the pixel G1 corresponding to the red mark of the document is to be determined in the pixel color determination area set under such conditions, the pixel G1 is included in any one of the red areas in the pixel color determination area. Included in one area. This pixel G
The area including 1 is set so that the pixels included in the area are determined as black and white pixels. Therefore, FIG.
As shown in (1), the determination result of the area including the pixel G1 is “1”. However, in the red mark reading mode, the result of the inversion determination by the inverter 29 is set to be output as the final pixel color determination result. Therefore, the determination target pixel G1 is determined as a color pixel according to the inversion determination result “0” obtained by inverting the determination result of the area determination unit.

【0058】また、原稿の白黒部分に対応する画素G2
は、画素色判定領域内で赤色領域外のいずれか一つのエ
リアに含まれる。この画素G2を含むエリアは、当該エ
リアに含まれる画素をカラー画素と判定するように設定
されている。そのため、図14に示すように、この画素
G2を含むエリアの判定結果は「0」となる。そして、
最終的には、エリア判定部の判定結果を反転してなる反
転判定結果「1」に応じて画素G2が白黒画素と判定さ
れる。
The pixel G2 corresponding to the monochrome portion of the original
Is included in any one area outside the red area in the pixel color determination area. The area including the pixel G2 is set so that the pixels included in the area are determined as color pixels. Therefore, as shown in FIG. 14, the determination result of the area including the pixel G2 is “0”. And
Ultimately, the pixel G2 is determined to be a black and white pixel according to the inversion determination result "1" obtained by inverting the determination result of the area determination unit.

【0059】また、赤色以外のカラー画素(図例では青
と緑の中間色画素)G3も画素色判定領域内で赤色領域
外のいずれか一つのエリアに含まれるため、図15に示
すように、この画素G3を含むエリアの判定結果は
「0」となる。そして、最終的には、エリア判定部の判
定結果を反転してなる反転判定結果「1」に応じて画素
G3が白黒画素と判定される。
Further, since the color pixel G3 other than red (in the illustrated example, an intermediate color pixel between blue and green) G3 is also included in any one area outside the red area in the pixel color determination area, as shown in FIG. The determination result of the area including the pixel G3 is “0”. Finally, the pixel G3 is determined to be a monochrome pixel according to the inversion determination result “1” obtained by inverting the determination result of the area determination unit.

【0060】このような赤印読取モードに基づく処理を
実行することにより、赤印のみを含む原稿をカラー原稿
と判定させることが可能となる。また、赤印以外への対
応として、例えば指定色読取モードを用意し、この指定
色読取モードでユーザにより指定された色について上記
同様の処理を行うことにより、指定色のみを含む原稿を
カラー原稿と判定させることが可能となる。ちなみに、
ユーザによる色の指定は、上記ACSユーザ選択モード
の場合と同様にエディットパッド等のユーザインターフ
ェースを用いて行うようにすればよい。
By executing such a process based on the red mark reading mode, a document including only the red mark can be determined to be a color document. In addition, for example, a designated color reading mode is prepared as a response other than the red mark, and the same processing as described above is performed on the color designated by the user in the designated color reading mode, so that a document including only the designated color is converted to a color document. Can be determined. By the way,
The user can specify the color by using a user interface such as an edit pad in the same manner as in the ACS user selection mode.

【0061】また、画素色判定部24における画素色判
定領域の設定手法としては種々の変形及び応用が可能で
ある。例えば、図16に示すように、色度平面上におい
て、彩度の低い無彩色領域を固定の白黒領域とし、この
白黒領域の周辺領域を複数(図例では16個)のエリア
に分割して画素色判定領域を設定する場合が考えられ
る。この場合の白黒領域は明示的に白黒と認識される領
域であり、この白黒領域に含まれる画素は全て白黒画素
と判定される。このように固定の白黒領域を設けること
により、エリア判定部の個数を減らして回路構成を簡素
化することができる。
Various modifications and applications are possible as a method of setting the pixel color judgment area in the pixel color judgment section 24. For example, as shown in FIG. 16, on the chromaticity plane, an achromatic region with low saturation is defined as a fixed black and white region, and a peripheral region of the black and white region is divided into a plurality of (16 in the example in the figure) areas. There is a case where a pixel color determination area is set. The black and white area in this case is an area that is explicitly recognized as black and white, and all the pixels included in this black and white area are determined as black and white pixels. By providing a fixed black and white area in this way, the number of area determination units can be reduced and the circuit configuration can be simplified.

【0062】また、これ以外にも、画素色判定領域を明
度(L*値)に応じて可変する構成とし、これによって図
17に示すように画素色判定領域をL*a*b*色空間上で三
次元的に拡張したかたちで設定するものであってもよ
い。具体的には、L*軸上で明度の値(L*値)を幾つかに
レベル分けし、それぞれの明度レベルに応じた画素色判
定領域を色度平面上に設定するものとする。かかる構成
を採用した場合は、判定対象となる画素の明度が画素色
判定に反映されるようになるため、より精度の高い画素
色判定を実施することが可能となる。また、画素色判定
領域を区切る複数の閾値を明度に応じて可変する構成と
しても、これと同様の効果が得られる。
In addition, in addition to the above, the pixel color determination area is configured to be variable according to the lightness (L * value), whereby the pixel color determination area is changed to the L * a * b * color space as shown in FIG. It may be set in a three-dimensionally expanded form above. Specifically, the brightness value (L * value) is divided into several levels on the L * axis, and a pixel color determination area corresponding to each brightness level is set on the chromaticity plane. When such a configuration is adopted, the brightness of the pixel to be determined is reflected in the pixel color determination, so that more accurate pixel color determination can be performed. Further, a similar effect can be obtained by a configuration in which a plurality of thresholds for dividing the pixel color determination area are changed according to the brightness.

【0063】また、上記実施形態においては、色度平面
上で明示的にカラーと認識される領域を除いた内側領域
を画素色判定領域に設定するとしたが、これ以外にも、
例えば、a*軸に対応する最小閾値(THa1)及び最大閾
値(THa6)をそれぞれa*軸上でa*の取り得る最小値及
び最大値に設定し、同様に、b*軸に対応する最小閾値
(THb1)及び最大閾値(THb6)をそれぞれb*軸上で
b*の取り得る最小値及び最大値に設定することにより、
判定対象の画素が必ず画素色判定領域内のいずれかのエ
リアに含まれるように構成することも可能である。かか
る構成を採用した場合は、インバータ29による判定反
転手段と、セレクタ30による判定結果選択手段を設け
なくても、各種の画像の読み取りモード(赤印除去モー
ド、赤印読取モード等)に対応することが可能となる。
In the above-described embodiment, the inside area other than the area that is explicitly recognized as a color on the chromaticity plane is set as the pixel color determination area.
For example, the minimum threshold value (THa1) and the maximum threshold value (THa6) corresponding to the a * axis are set to the minimum and maximum values that a * can take on the a * axis, and similarly, the minimum threshold value corresponding to the b * axis is set. The threshold (THb1) and the maximum threshold (THb6) are respectively set on the b * axis.
By setting the minimum and maximum values of b *,
It is also possible to configure so that the pixel to be determined is always included in any area in the pixel color determination area. When such a configuration is employed, various image reading modes (red-mark removal mode, red-mark reading mode, etc.) are supported without providing a judgment inversion unit by the inverter 29 and a judgment result selection unit by the selector 30. It becomes possible.

【0064】[0064]

【発明の効果】以上説明したように本発明の画像処理装
置によれば、画素色判定手段において、色度平面上に複
数のエリアで分割された画素色判定領域を設定し、かつ
各々のエリアにおけるカラー/白黒の判定を自在に設定
し得る構成としたので、カラー/白黒の判定基準をユー
ザのニーズに合わせて最適化し、ACS処理の機能向上
を図ることができる。また、画素色判定を用いたACS
処理では、ユーザの好みや視覚に即した判定結果を出力
させることが可能となる。そのため、原稿色の誤判定に
よるユーザからのクレームが低減するなど、市場での信
頼性向上に大きく貢献するものとなる。
As described above, according to the image processing apparatus of the present invention, the pixel color judgment means sets a pixel color judgment area divided by a plurality of areas on the chromaticity plane, and sets each area. Since the color / black and white determination in the above can be freely set, the color / black and white determination criterion can be optimized according to the needs of the user, and the function of the ACS processing can be improved. ACS using pixel color determination
In the process, it is possible to output a determination result that matches the user's preference and vision. This greatly contributes to improving reliability in the market, such as reducing complaints from users due to erroneous determination of a document color.

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

【図1】 本発明が適用される画像読取装置の構成を示
す概略図である。
FIG. 1 is a schematic diagram showing a configuration of an image reading apparatus to which the present invention is applied.

【図2】 本発明が適用される画像読取装置の制御構成
を示すブロック図である。
FIG. 2 is a block diagram illustrating a control configuration of an image reading apparatus to which the present invention is applied.

【図3】 ACS処理部の内部構成を示すブロック図で
ある。
FIG. 3 is a block diagram illustrating an internal configuration of an ACS processing unit.

【図4】 画素色判定領域を説明する図である。FIG. 4 is a diagram illustrating a pixel color determination area.

【図5】 画素色判定部の内部構成を示すブロック図で
ある。
FIG. 5 is a block diagram illustrating an internal configuration of a pixel color determination unit.

【図6】 ユーザによる画素色判定領域の設定手順を示
すフローチャートである。
FIG. 6 is a flowchart illustrating a procedure for setting a pixel color determination area by a user.

【図7】 赤印入り原稿を示す図である。FIG. 7 is a diagram illustrating a document with a red mark.

【図8】 赤印除去モードにおける画素色判定領域の設
定条件を説明する図である。
FIG. 8 is a diagram illustrating a setting condition of a pixel color determination area in a red mark removal mode.

【図9】 赤印除去モードにおける画素色の判定結果を
示す図(その1)である。
FIG. 9 is a diagram (part 1) illustrating a determination result of a pixel color in a red mark removal mode.

【図10】 赤印除去モードにおける画素色の判定結果
を示す図(その2)である。
FIG. 10 is a diagram (part 2) illustrating a result of determining a pixel color in the red mark removal mode.

【図11】 赤印除去モードにおける画素色の判定結果
を示す図(その3)である。
FIG. 11 is a diagram (part 3) illustrating a determination result of a pixel color in a red mark removal mode.

【図12】 赤印読取モードにおける画素色判定領域の
設定条件を説明する図である。
FIG. 12 is a diagram illustrating a setting condition of a pixel color determination area in a red mark reading mode.

【図13】 赤印読取モードにおける画素色の判定結果
を示す図(その1)である。
FIG. 13 is a diagram (part 1) illustrating a determination result of a pixel color in a red mark reading mode.

【図14】 赤印読取モードにおける画素色の判定結果
を示す図(その2)である。
FIG. 14 is a diagram (part 2) illustrating a determination result of a pixel color in a red mark reading mode.

【図15】 赤印読取モードにおける画素色の判定結果
を示す図(その3)である。
FIG. 15 is a diagram (part 3) illustrating a determination result of a pixel color in a red mark reading mode.

【図16】 画素色判定領域の他の設定手法を説明する
図である。
FIG. 16 is a diagram illustrating another method for setting a pixel color determination area.

【図17】 画素色判定領域のさらに他の設定手法を説
明する図である。
FIG. 17 is a diagram illustrating still another setting method of the pixel color determination area.

【図18】 従来の画素色判定手法を説明する図であ
る。
FIG. 18 is a diagram illustrating a conventional pixel color determination method.

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

16…ACS処理部、24…画素色判定部、25…ブロ
ック色判定部、26…原稿色判定部、27…判定結果出
力部、28…論理和回路、29…インバータ、30…セ
レクタ、E1〜E25…エリア判定部、CMP-1〜CMP-4…
比較回路、AND-1〜AND-3…論理積回路、SEL-1〜SEL-25
…セレクタ
16 ACS processing unit, 24 pixel color determination unit, 25 block color determination unit, 26 document color determination unit, 27 determination result output unit, 28 OR circuit, 29 inverter, 30 selector, E1 to E1 E25: Area judgment unit, CMP-1 to CMP-4 ...
Comparison circuit, AND-1 to AND-3: AND circuit, SEL-1 to SEL-25
…selector

フロントページの続き Fターム(参考) 5B057 AA11 BA02 CA01 CA02 CA08 CA12 CA16 CB18 CC01 CE16 CE18 CH08 5C077 LL19 MP08 PP32 PP36 PP43 PP48 PP68 PQ12 PQ20 SS01 TT06 5C079 HB01 HB08 LA03 LA10 MA11 NA03 PA02 5L096 AA02 AA03 AA06 BA07 CA14 DA02 FA15 GA19 GA41 Continued on the front page F term (reference) 5B057 AA11 BA02 CA01 CA02 CA08 CA12 CA16 CB18 CC01 CE16 CE18 CH08 5C077 LL19 MP08 PP32 PP36 PP43 PP48 PP68 PQ12 PQ20 SS01 TT06 5C079 HB01 HB08 LA03 LA10 MA11 NA03 PA02 5L09A A02 FA02 GA19 GA41

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 画像読み取り手段で読み取られた画像を
構成する画素がカラー画素か白黒画素かを判定する画素
色判定手段を備える画像処理装置において、前記画素色
判定手段は、 色度平面上に複数のエリアに分割された画素色判定領域
を設定し、判定対象の画素が前記画素色判定領域のいず
れのエリアに含まれるかを判定する第1の判定手段と、 前記画素色判定領域内で分割された各々のエリア毎に、
当該エリアに含まれる画素をカラー画素と判定するか白
黒画素と判定するかを切り換え可能なエリア設定手段
と、 前記第1の判定手段の判定結果と前記エリア設定手段の
設定条件に基づいて前記判定対象の画素がカラー画素か
白黒画素かを判定する第2の判定手段とを有することを
特徴とする画像処理装置。
1. An image processing apparatus comprising: a pixel color determination unit configured to determine whether a pixel constituting an image read by an image reading unit is a color pixel or a black and white pixel. A first determination unit configured to set a pixel color determination area divided into a plurality of areas, and determine which area of the pixel color determination area includes a pixel to be determined; For each divided area,
Area setting means capable of switching whether a pixel included in the area is determined to be a color pixel or a monochrome pixel; and the determination based on a determination result of the first determination means and a setting condition of the area setting means. An image processing apparatus comprising: a second determination unit configured to determine whether a target pixel is a color pixel or a monochrome pixel.
【請求項2】 前記画素色判定手段は、 前記第2の判定手段による判定結果を反転する判定反転
手段と、 前記第2の判定手段による判定結果又は前記判定反転手
段で反転した判定結果を最終的な画素色判定結果として
選択可能な判定結果選択手段とを備えることを特徴とす
る請求項1記載の画像処理装置。
2. The method according to claim 1, wherein the pixel color determination unit includes: a determination inversion unit configured to invert a determination result obtained by the second determination unit; and a determination result obtained by the second determination unit or a determination result inverted by the determination inversion unit. The image processing apparatus according to claim 1, further comprising: a determination result selection unit that can be selected as a typical pixel color determination result.
【請求項3】 前記第1の判定手段は、前記色度平面上
の領域のうち、無彩色領域を固定の白黒領域とし、この
白黒領域の周辺領域を複数のエリアに分割して前記画素
色判定領域を設定してなることを特徴とする請求項1記
載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein the first determination unit sets an achromatic region as a fixed black and white region among the regions on the chromaticity plane, divides a peripheral region of the black and white region into a plurality of areas, and The image processing apparatus according to claim 1, wherein a determination area is set.
【請求項4】 前記画素色判定領域を明度或いは画像の
読取モードに応じて可変としてなることを特徴とする請
求項1記載の画像処理装置。
4. The image processing apparatus according to claim 1, wherein the pixel color determination area is variable according to brightness or an image reading mode.
【請求項5】 前記画素色判定領域は複数の閾値を用い
て前記複数のエリアに分割されるもので、前記複数の閾
値を、明度或いは画像の読み取りモードに応じて可変と
してなることを特徴とする請求項1記載の画像処理装
置。
5. The pixel color determination area is divided into the plurality of areas using a plurality of thresholds, and the plurality of thresholds are variable according to brightness or an image reading mode. The image processing device according to claim 1.
【請求項6】 前記エリア設定手段は、ユーザによる色
の指定を受け付けて、当該指定色に対応するエリアに含
まれる画素をカラー画素と判定するか白黒画素と判定す
るかを設定することを特徴とする請求項1記載の画像処
理装置。
6. The area setting means receives a designation of a color by a user, and sets whether a pixel included in an area corresponding to the designated color is determined as a color pixel or a monochrome pixel. The image processing apparatus according to claim 1.
JP2001109468A 2001-04-09 2001-04-09 Image processor Pending JP2002305665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001109468A JP2002305665A (en) 2001-04-09 2001-04-09 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001109468A JP2002305665A (en) 2001-04-09 2001-04-09 Image processor

Publications (1)

Publication Number Publication Date
JP2002305665A true JP2002305665A (en) 2002-10-18

Family

ID=18961405

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001109468A Pending JP2002305665A (en) 2001-04-09 2001-04-09 Image processor

Country Status (1)

Country Link
JP (1) JP2002305665A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7528989B2 (en) 2004-07-08 2009-05-05 Fuji Xerox Co., Ltd Image processing apparatus and image processing method
JP2010220134A (en) * 2009-03-18 2010-09-30 Ricoh Co Ltd Image processing device, image processing method of image processing device, and image processing program
US7821688B2 (en) 2007-04-24 2010-10-26 Murata Machinery, Ltd. Image processing device and image processing method
JP2011082796A (en) * 2009-10-07 2011-04-21 Riso Kagaku Corp Image reader, and image processing method
US8009902B2 (en) 2007-03-26 2011-08-30 Murata Machinery, Ltd. Image processing apparatus and method for detecting a background color based on data chrominance distribution
US8014594B2 (en) 2007-03-30 2011-09-06 Murata Machinery, Ltd. Image color discriminating apparatus, image color discriminating method and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7528989B2 (en) 2004-07-08 2009-05-05 Fuji Xerox Co., Ltd Image processing apparatus and image processing method
US8009902B2 (en) 2007-03-26 2011-08-30 Murata Machinery, Ltd. Image processing apparatus and method for detecting a background color based on data chrominance distribution
US8014594B2 (en) 2007-03-30 2011-09-06 Murata Machinery, Ltd. Image color discriminating apparatus, image color discriminating method and program
US7821688B2 (en) 2007-04-24 2010-10-26 Murata Machinery, Ltd. Image processing device and image processing method
JP2010220134A (en) * 2009-03-18 2010-09-30 Ricoh Co Ltd Image processing device, image processing method of image processing device, and image processing program
JP2011082796A (en) * 2009-10-07 2011-04-21 Riso Kagaku Corp Image reader, and image processing method

Similar Documents

Publication Publication Date Title
JP4677753B2 (en) Moving image processing apparatus and method
EP0635971B1 (en) Apparatus and method for automatic colour conversion
KR950009647B1 (en) Image quality control systems for an image processing system
CN100456803C (en) Image processing apparatus
JPH04336876A (en) Color picture recognizing device
JPH08251427A (en) Image reproducing device
US20080062483A1 (en) Image processing method, image processing apparatus, manuscript reading apparatus, image forming apparatus and recording medium
JP6947021B2 (en) Image processing method, image processing device and image processing system
JP4329271B2 (en) Image processing apparatus, image forming apparatus, and image processing method
JP2003219116A (en) Image processing device and its controlling method
EP1898626A2 (en) Image color determining device and image color determining method
JP3333894B2 (en) Image processing device
JP2002305665A (en) Image processor
JP2984306B2 (en) Image reading device having focus adjusting device
US6178010B1 (en) Image processing device
JP3407525B2 (en) Image reproduction device
JP4006947B2 (en) Image reading device
JP2002044464A (en) Image processing method and apparatus
JP2890456B2 (en) Image processing device
JP2001169307A (en) Image pickup device with white balance adjustment function and white balance adjustment method
JP3767210B2 (en) Document type determination device and image processing device
JP2003116011A (en) Image processor and image processing method
JP3202269B2 (en) Color facsimile machine
JP2004064532A (en) Image processing device, image forming device comprising it, image processing method, program for executing it, and recording medium having recorded program
JP4042335B2 (en) Document reader