JP3064896B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3064896B2
JP3064896B2 JP8052935A JP5293596A JP3064896B2 JP 3064896 B2 JP3064896 B2 JP 3064896B2 JP 8052935 A JP8052935 A JP 8052935A JP 5293596 A JP5293596 A JP 5293596A JP 3064896 B2 JP3064896 B2 JP 3064896B2
Authority
JP
Japan
Prior art keywords
color
block
image
image data
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP8052935A
Other languages
Japanese (ja)
Other versions
JPH08256271A (en
Inventor
譲 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP8052935A priority Critical patent/JP3064896B2/en
Publication of JPH08256271A publication Critical patent/JPH08256271A/en
Application granted granted Critical
Publication of JP3064896B2 publication Critical patent/JP3064896B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、カラー画像か白黒
画像かを判定してカラー原稿の場合にはフルカラーの出
力処理を行い白黒原稿の場合には黒トナーの現像出力処
理を行う画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for judging whether a color image or a black-and-white image is output in the case of a color original and performing full-color output processing and in the case of a black-and-white original development output processing of black toner. About.

【0002】[0002]

【従来の技術】図4はデジタルカラー画像処理装置の構
成を示す図、図5は従来のエッジ処理回路の構成例を示
す図、図6は色相検出回路の構成を示す図である。
2. Description of the Related Art FIG. 4 is a diagram showing a configuration of a digital color image processing apparatus, FIG. 5 is a diagram showing a configuration example of a conventional edge processing circuit, and FIG. 6 is a diagram showing a configuration of a hue detection circuit.

【0003】一般にカラー複写機では、Y(イエロ
ー)、M(マゼンタ)、C(シアン)、K(ブラック)
の4色からなる現像プロセスを実行してフルカラーの原
稿を再現している。このとき、1回の原稿読み取りスキ
ャンで得たフルカラーの画像データを4回の現像プロセ
ス実行のために記憶しておくには、非常に大きなメモリ
容量が必要となる。そのため、各現像色毎に繰り返し原
稿読み取りスキャンを行いながら、信号処理を行い現像
プロセスを実行している。
Generally, in a color copying machine, Y (yellow), M (magenta), C (cyan), K (black)
A full-color original is reproduced by executing the developing process of four colors. At this time, an extremely large memory capacity is required to store the full-color image data obtained by one original reading scan for performing the developing process four times. Therefore, the signal processing is performed and the developing process is executed while repeatedly performing the original reading scan for each developing color.

【0004】原稿読み取りでは、ラインセンサーを用い
て光学的にB(青)、G(緑)、R(赤)の色分解信号
により読み取り画像データを取り込み、図4に示すよう
にEND変換31、カラーマスキング(カラーコレクシ
ョン)32を通してカラーのトナー信号Y、M、Cに変
換している。その後、UCR33により墨版(K)生
成、下色除去を行い、色相分離型非線形フィルタ部、T
RC(トーン調整)40、SG(スクリーンジェネレー
タ)41を通し現像色のトナー信号Xをオン/オフの2
値化データにする。そして、この2値化データでレーザ
光を制御して帯電した感光体を露光し網点階調により各
色の画像を重ね合わせフルカラーの原稿を再現してい
る。
In reading an original, read image data is fetched optically using color separation signals of B (blue), G (green), and R (red) using a line sensor, and an END conversion 31, as shown in FIG. The color toner signals Y, M, and C are converted through color masking (color correction) 32. Thereafter, black plate (K) generation and under color removal are performed by the UCR 33, and a hue separation type nonlinear filter section, T
The toner signal X of the developed color is turned on / off through an RC (tone adjustment) 40 and an SG (screen generator) 41.
Convert to quantified data. The charged photoreceptor is exposed by controlling the laser beam with the binarized data, and the images of the respective colors are superimposed on the basis of the halftone dots to reproduce a full-color original.

【0005】通常、デジタルカラー画像処理装置では、
原稿のコピーを行うメインスキャンに先立ってまずプリ
スキャンを行い、このプリスキャンで原稿サイズの検知
やカラー原稿か白黒原稿かの識別を行う。そして、メイ
ンスキャン時にその情報を基に、カラー原稿の場合には
フルカラー出力処理を行い、白黒原稿の場合にはK
(黒)だけの出力処理を行う等、コピー動作の制御、パ
ラメータの切り換え等を行っている。また、文字、線画
等の2値画像と、写真や網点印刷物等の中間調画像とが
混在するような、種類の異なった画像を有する原稿に対
しては、非線形フィルタ処理を導入し、特に鮮鋭度の高
い文字、線画等の2値画像を得るためにエッジ強調処理
を行う方式が種々提案されている。その1例として色相
分離型非線形フィルタ部を備えた構成例を示したのが図
4である。
Usually, in a digital color image processing apparatus,
Prior to the main scan for copying a document, a pre-scan is performed first, and the size of the document is detected and the color document or the black-and-white document is identified by the pre-scan. Then, based on the information at the time of the main scan, full-color output processing is performed for a color original, and K
Control of copy operation, switching of parameters, and the like, such as performing output processing only for (black). In addition, non-linear filter processing is introduced for originals having different types of images such as a mixture of binary images such as characters and line drawings and halftone images such as photographs and halftone prints. Various methods have been proposed for performing edge enhancement processing to obtain a binary image such as a character or a line image with high sharpness. FIG. 4 shows an example of a configuration including a hue separation type nonlinear filter section as one example.

【0006】色相分離型非線形フィルタ部には、UCR
33において墨版生成、下色除去処理を施して生成され
たY、M、C、K信号から現像工程にしたがってセレク
トされた現像色の画像データXが入力され、2系統に分
岐される。そのうち一方は平滑化フィルタ34で平滑化
の処理が行われ、他方はγ変換36、エッジ検出フィル
タ37、エッジ強調用LUT38でエッジ強調の処理が
行われる。そして、これらの出力が最終的に加算器39
で合成されて非線形フィルタ信号として出力される。そ
のエッジ処理回路の構成例を示したのが図5である。
The hue separation type non-linear filter section includes a UCR
At 33, the image data X of the development color selected in accordance with the development process from the Y, M, C, and K signals generated by performing the black plate generation and undercolor removal processing is input, and branched into two systems. One of them is subjected to smoothing processing by a smoothing filter 34, and the other is subjected to edge enhancement processing by a γ conversion 36, an edge detection filter 37, and an edge enhancement LUT 38. These outputs are finally added to the adder 39.
And output as a nonlinear filter signal. FIG. 5 shows a configuration example of the edge processing circuit.

【0007】エッジ処理では、色相検出回路35により
入力画像の色相を検出し、そのときの現像色が必要色か
否かの判定を行う。ここで、もし入力画像が黒領域であ
る場合には、Y、M、Cの有彩色信号のエッジ強調は行
わずに、Kのみをエッジ量に応じて強調するように制御
する。
In the edge processing, the hue of the input image is detected by the hue detection circuit 35, and it is determined whether or not the developed color at that time is a necessary color. Here, if the input image is a black area, control is performed such that only K is enhanced in accordance with the edge amount without performing edge enhancement of the chromatic signals of Y, M, and C.

【0008】色相検出回路35は、図6(a)に示すよ
うにY、M、Cの最大値と最小値を求める最大最小回路
42、現像色を選択するマルチプレクサ43、最大値と
最小値との差を計算する減算回路44、最小値と現像色
との差を計算する減算回路45、及びコンパレータ46
〜48を有している。コンパレータ46〜48は、閾値
と比較し、閾値より大きい場合にr、m、c′、m′、
y′の出力をそれぞれ論理「1」にするものである。そ
して、この出力から同図(b)に示す判定条件により判
定色相を導き、さらに、同図(c)に示す必要色・不必
要色の判定条件により現像色について必要色「1」か不
必要色「0」かを判定する。判定色相としては、通常の
文字の色として用いられる、W(白)、Y、M、C、
B、G、R、Kの8色を対象としている。
As shown in FIG. 6A, a hue detection circuit 35 includes a maximum / minimum circuit 42 for obtaining the maximum and minimum values of Y, M, and C, a multiplexer 43 for selecting a developed color, and a maximum and minimum value. , A subtractor 45 for calculating the difference between the minimum value and the developed color, and a comparator 46
~ 48. Comparators 46 to 48 compare with the threshold value, and when they are larger than the threshold value, r, m, c ′, m ′,
The output of y 'is set to logic "1". Then, from this output, a judgment hue is derived based on the judgment condition shown in FIG. 7B, and further, the necessary color “1” is determined for the developed color by the necessary color / unnecessary color judgment condition shown in FIG. It is determined whether the color is “0”. As the determination hue, W (white), Y, M, C,
Targets eight colors B, G, R, and K.

【0009】必要色・不必要色の判定条件から明らかな
ように色相が例えばBの場合には、現像色でmとcが必
要色とされ、他は不必要色とされる。従って、この場
合、必要色のサイクルではエッジ強調用LUT38の
によりエッジが強調され、不必要色のサイクルではエッ
ジ強調用LUT38のによりエッジ強調をしない信号
としている。
As is clear from the necessary / unnecessary color judging conditions, when the hue is, for example, B, m and c are required colors in the developed colors, and the other colors are unnecessary colors. Therefore, in this case, the edge is enhanced by the edge enhancement LUT 38 in the cycle of the necessary color, and the signal is not edge-enhanced by the edge enhancement LUT 38 in the cycle of the unnecessary color.

【0010】[0010]

【発明が解決しようとする課題】図7は文字太り現象を
説明するための図、図8はエッジ強調処理を説明するた
めの図である。
FIG. 7 is a diagram for explaining a character fattening phenomenon, and FIG. 8 is a diagram for explaining edge emphasis processing.

【0011】上記のようにエッジ強調処理では、閾値t
hとの比較により色相識別を行い、その結果によりエッ
ジ検出信号をエッジ強調用LUTで変換してエッジ強調
信号を生成している。ところが、IITのMTF特性
は、図7(a)に示すように周波数が高くなるにしたが
って悪くなってくる。しかも、このMTFの劣化の度合
は、色や主、副の走査方向によっても異なる。このよう
なMTFの劣化により、原稿の濃度分布が例えば同図
(b)のaに示すようなものであっても同図(b)のb
に示すようにつぶれたデータとなってしまう。色相検出
では、この信号bを閾値thと比較して色相を判定する
ため、本来はwの幅のものがw′のようにかなり太った
状態で色相が判定され、これがエッジ強調の処理範囲と
される。この判定に基づいて同図(c)に示すようなエ
ッジ強調信号dが加算されエッジが強調されるので、同
図(b)のcのように太った文字により再現される。さ
らに、この文字太りは、IITだけでなくIOTの現像
材、現像方式、現像特性等にも起因して現れる。
As described above, in the edge enhancement processing, the threshold value t
The hue is identified by comparing with h, and the edge detection signal is converted by the edge enhancement LUT based on the result to generate an edge enhancement signal. However, as shown in FIG. 7A, the MTF characteristics of the IIT deteriorate as the frequency increases. Moreover, the degree of deterioration of the MTF differs depending on the color and the main and sub scanning directions. Due to such deterioration of the MTF, even if the density distribution of the document is, for example, as shown in FIG.
As shown in (1), the data is collapsed. In the hue detection, the signal b is compared with the threshold th to determine the hue. Therefore, the hue is originally determined in a state where the width of w is considerably thick like w ', and this is regarded as the processing range of the edge enhancement. You. Based on this determination, an edge emphasizing signal d as shown in FIG. 9C is added to emphasize the edge, and thus the character is reproduced as a bold character as shown in FIG. 9B. Further, the thickening of the character appears due to not only the IIT but also the IOT developer, the developing method, the developing characteristics, and the like.

【0012】また、上記の方式では、Y、M、C、K信
号全てを強調していた他の従来方式に比べると、黒文字
再現は向上できるが、Y、M、C信号中に平滑化信号が
残る。すなわち、図5のエッジ強調用LUT38に示す
ように必要色はにより強調し、不必要色はにより除
去するだけであるため、例えば図8(a)に示すような
黒文字のフィルタ入力信号に対して、Y、M、Cを強調
せずKのみを強調するようなエッジ強調処理信号が生成
されるが、平滑化フィルタでは、同図(b)に示すよう
にY、M、C、K信号全てについて滑らかにした平滑化
処理信号が生成される。従って、これらを最終的に合成
すると、同図(c)に示すようにY、M、C、Kの平滑
化信号が残る。
In the above system, black character reproduction can be improved as compared with other conventional systems in which all the Y, M, C, and K signals are emphasized, but the smoothed signal is included in the Y, M, and C signals. Remains. That is, as shown in the edge enhancement LUT 38 in FIG. 5, necessary colors are only further emphasized and unnecessary colors are simply removed, so that, for example, a black character filter input signal as shown in FIG. , Y, M, and C are not emphasized, but only the K signal is emphasized. In the smoothing filter, as shown in FIG. , A smoothed processing signal is generated. Therefore, when these are finally combined, smoothed signals of Y, M, C, and K remain as shown in FIG.

【0013】通常、黒文字の場合であっても、Kだけで
なくY、M、Cの信号も載ってくるので、エッジの部分
にこのY、M、Cの平滑化された色が現れ、つまり黒文
字をK1色で再現することができない。このような構成
では、K1色再現の場合と比較すると、線の太り、レジ
ズレ等によるエッジの色変わりや濁りが生じ、そのため
鮮鋭さがなくなり画質的に劣るという問題がある。
Normally, even in the case of a black character, not only K but also Y, M, and C signals are carried, so that the smoothed colors of Y, M, and C appear at the edge portion. Black characters cannot be reproduced in K1 color. In such a configuration, as compared with the case of K1 color reproduction, there is a problem that color change or turbidity of the edge occurs due to thickening of the line, misregistration, and the like, so that sharpness is lost and image quality is deteriorated.

【0014】さらに、文字、線画等の2値画像と、写真
や網点印刷物等の中間調画像において、それぞれの原稿
や領域を予め指定することが容易である場合には、その
原稿毎に或いは領域毎に画像種を指定することによっ
て、それぞれに最適なパラメータを選択することがで
き、再現性を高めることができるが、これらの混在画像
の場合には、2値画像にも中間調画像にもそれなりに再
現できるパラメータが選択されることになる。そのた
め、2値画像に対しても中間調画像に対しても最適な処
理にはならず、いずれにも満足できる画像を得ることは
難しい。例えば2値画像では、エッジ強調が弱くぼけ
て、文字が鮮明でなくなったり、また、黒文字では、エ
ッジ部や小文字部に濁りが生じてしまうという問題があ
る。他方、中間調画像については、エッジ検出周波数の
近傍が強調されてしまうため、中間調画像の滑らかさが
なくなり、変なモアレやエッジが変に強調された荒い画
像になってしまう。
Further, in a case where it is easy to specify each original or region in a binary image such as a character or a line drawing and a halftone image such as a photograph or a halftone print, it is possible to specify each original or region separately. By specifying the image type for each area, the optimal parameters can be selected for each area, and the reproducibility can be improved. However, in the case of these mixed images, both the binary image and the halftone image are used. The parameters that can be reproduced as such are selected. Therefore, optimal processing is not performed on both binary images and halftone images, and it is difficult to obtain images that are satisfactory for both. For example, in a binary image, there is a problem that edge enhancement is weakly blurred and characters are not clear, and black characters are turbid at an edge portion or a small letter portion. On the other hand, in the case of the halftone image, the vicinity of the edge detection frequency is emphasized, so that the halftone image loses smoothness, resulting in a rough image in which strange moire and edges are strangely emphasized.

【0015】その他、画調を識別する装置としては、所
定の画素ブロック内の平均値と標準偏差等を使うもの
(例えば特開昭63ー205783号公報)や位相の異
なる複数のディザ変換で変換した2値出力を使うもの
(例えば特開昭63ー193770号公報)があるが、
文字でも色文字と黒文字、さらには中間調画像との識別
ができないという問題がある。
[0015] In addition, as a device for identifying an image tone, a device using an average value and a standard deviation in a predetermined pixel block (for example, JP-A-63-205783) or a plurality of dither transforms having different phases are used. There is one that uses binary output (for example, JP-A-63-193770).
There is a problem that even a character cannot be distinguished from a color character, a black character, and a halftone image.

【0016】[0016]

【課題を解決するための手段】本発明は、上記の課題を
解決するものであって、カラー画像か白黒画像かを簡単
に識別できるようにし、ブロック単位での画像の領域識
別を容易にするものである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and makes it possible to easily identify a color image or a black and white image, thereby facilitating image area identification in block units. Things.

【0017】そのために本発明は、入力された画像デー
タを複数の画素からなるブロックにブロック化するブロ
ック化手段と、前記ブロックに含まれる色情報を代表す
るブロック色を判定するブロック色判定手段と、前記ブ
ロック色判定手段により判定したブロック色をカウント
し、ブロック色のカウント値に基づき前記画像データが
カラー画像であるか白黒画像であるかを判定する判定手
段とを有することを特徴とし、前記判定手段は、前記ブ
ロック色判定手段による判定結果から有彩色である頻度
と有彩色でない頻度との比較に基づき、前記画像データ
がカラー画像であるか白黒画像であるかを判定し、或い
は前記ブロック色判定手段による判定結果から有彩色で
ある頻度と閾値とを比較する比較手段を有し、前記比較
手段の比較結果に基づき前記画像データがカラー画像で
あるか白黒画像であるかを判定することを特徴とするも
のである。
For this purpose, the present invention provides a blocking means for blocking input image data into a block composed of a plurality of pixels, and a block color determining means for determining a block color representative of color information contained in the block. Counting a block color determined by the block color determining means, and determining means for determining whether the image data is a color image or a black and white image based on the count value of the block color, Determining means for determining whether the image data is a color image or a black-and-white image based on a comparison between the frequency of a chromatic color and the frequency of a non-chromatic color from the determination result by the block color determining means, or Comparing means for comparing the frequency of a chromatic color with a threshold from the judgment result by the color judging means; Is characterized in that Hazuki said image data to determine whether the monochrome image or a color image.

【0018】また、入力された画像データを複数の画素
からなるブロックにブロック化するブロック化手段と、
前記ブロックに含まれる色情報を代表するブロック色を
判定するブロック色判定手段と、前記ブロック色判定手
段により判定したブロック色をカウントし、ブロック色
のカウント値に基づき前記画像データがカラー画像であ
るか白黒画像であるかを判定する判定手段と、前記判定
手段による判定結果に基づき、黒のみの出力とフルカラ
ー出力を選択して、前記画像データに基づき画像を出力
する出力手段とを有するものであり、さらに、メインス
キャンで得られる画像データによりカラー原稿か白黒原
稿かを判定する画像処理装置であって、スキャンされた
画像データを複数の画素からなるブロックにブロック化
するブロック化手段と、前記ブロックに含まれる色情報
を代表するブロック色を判定するブロック色判定手段
と、前記ブロック色判定手段により判定したブロック色
をカウントし、ブロック色のカウント値に基づき前記画
像データがカラー画像であるか白黒画像であるかを判定
する判定手段と、前記判定手段による判定結果に基づい
て、黒のみの出力とフルカラー出力とを切り換えて出力
する出力手段とを有することを特徴とするものである。
A blocking means for blocking the input image data into blocks each comprising a plurality of pixels;
A block color determining unit that determines a block color representative of the color information included in the block; counting the block colors determined by the block color determining unit; and the image data is a color image based on the count value of the block colors. A black-and-white image or a black-and-white image, and an output unit that selects black-only output or full-color output based on the result of the determination and outputs an image based on the image data. An image processing apparatus for determining whether a color original or a black-and-white original based on image data obtained by a main scan, and a block forming unit configured to block the scanned image data into blocks each including a plurality of pixels; Block color determining means for determining a block color representing color information included in the block; The block color determined by the determination unit is counted, and the determination unit determines whether the image data is a color image or a black and white image based on the count value of the block color. An output means for switching and outputting between only output and full-color output is provided.

【0019】[0019]

【発明の実施の形態】以下、画素をブロック化してブロ
ック色判定を行うことによって従来より高精度に自動的
にカラー原稿か白黒原稿に対応した動作の選択を実現で
きるようにした本発明の実施の形態を説明する。図1は
本発明のブロック色判定を利用した画像処理装置の実施
の形態を示す図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will now be described in which it is possible to automatically and accurately select an operation corresponding to a color original or a black and white original by performing block color judgment by dividing pixels. Form will be described. FIG. 1 is a diagram showing an embodiment of an image processing apparatus using block color judgment of the present invention.

【0020】図1(a)において、黒ブロックカウンタ
12は、ブロック色判定部11で判定した黒ブロックの
数をカウントするものであり、色ブロックカウンタ13
は、背景のW、黒のK以外の色ブロックの数をカウント
するものである。比率計算部14は、黒ブロックカウン
タ12のカウント値fb と色ブロックカウンタ13のカ
ウント値fc との比率計算(fc /fb )を行うもので
あり、判定部15は、その比率がある閾値を越えたか否
かの判定によりカラー原稿か白黒原稿かを識別するもの
である。上記構成によりカラー原稿と白黒原稿とを識別
できるので、プリスキャンを実行してこの判定を行い、
判定部15の信号をメインスキャン時に用いることによ
りカラー原稿の場合にはフルカラーの出力処理を行い、
白黒原稿の場合にはK現像出力処理を行うようにするこ
とができる。また、同図(b)に示すように黒ブロック
カウンタを省き色ブロックカウンタ22のみを用いて色
ブロックをカウントし、その出力を比較器23で閾値t
hと比較してカラー原稿か白黒原稿かの識別を行うよう
に構成してもよい。
In FIG. 1A, a black block counter 12 counts the number of black blocks determined by the block color determination section 11, and a color block counter 13
Is for counting the number of color blocks other than the background W and black K. Ratio calculation unit 14 performs the rate calculation and the count value f c of the count value f b and the color block counter 13 of a black block counter 12 (f c / f b) , the determination unit 15, is the ratio A color original or a black-and-white original is identified by determining whether or not a certain threshold value is exceeded. Since the color document and the black and white document can be distinguished by the above configuration, a pre-scan is executed to make this determination,
By using the signal of the determination unit 15 at the time of the main scan, a full-color output process is performed for a color original,
In the case of a black-and-white document, K development output processing can be performed. Also, as shown in FIG. 2B, the black block counter is omitted, the color blocks are counted using only the color block counter 22, and the output is compared with the threshold value t by the comparator 23.
Alternatively, a configuration may be adopted in which a color original or a black-and-white original is distinguished from h.

【0021】次に、文字と中間調の混在原稿について文
字領域か中間調領域かを判定し、判定した原稿領域毎に
パラメータの切り換えを行って画像データを調整し生成
するようにした画像処理装置によりブロック色判定をさ
らに具体的に説明する。
Next, an image processing apparatus which determines whether the original is a character area or a half-tone area for a mixed original of characters and halftones, and switches the parameters for each determined original area to adjust and generate image data. Will be described more specifically with reference to FIG.

【0022】図2は文字と中間調の混在原稿について文
字領域か中間調領域かを判定するように構成した画像領
域識別方式の画像処理装置の実施の形態を示す図、図3
は図2に示す回路の動作を説明するための図である。
FIG. 2 is a diagram showing an embodiment of an image processing apparatus of an image area identification system configured to determine whether the original is a character area or a halftone area for a document in which characters and halftones are mixed.
FIG. 3 is a diagram for explaining the operation of the circuit shown in FIG.

【0023】図2において、色相検出部1は、各画素毎
に8色(Y、M、C、K、W、B、G、R)の色相のい
ずれかを検出するものであり、コンパレータ2は、YM
Cのうち最大のものが閾値thmax 以上か否かを検出す
るものである。色相検出部1では、低い濃度のノイズ等
も検出するので、この場合には、後述するランレングス
が短くなって、文字領域と誤って認識してしまうという
問題が生じる。そこで、少なくともある程度以上の濃度
を有する画素を文字候補とするために閾値thmax との
比較判定を行い、ノイズを除去するのがコンパレータ2
である。
In FIG. 2, a hue detecting section 1 detects one of eight colors (Y, M, C, K, W, B, G, R) for each pixel, and a comparator 2 Is YM
It is to detect whether or not the largest one of C is equal to or larger than a threshold thmax. The hue detection unit 1 also detects low-density noise and the like, and in this case, the run-length described below becomes short, and a problem arises in that the hue is incorrectly recognized as a character area. Therefore, in order to make a pixel having at least a certain density or higher as a character candidate, a comparison with a threshold th max is performed to remove noise.
It is.

【0024】ブロック化部3は、数画素例えば図3
(a)に示すように4×4〜8×8に各画素をブロック
化するものである。この場合のブロックサイズは、大き
くすることによって識別確度は上がるが、ライン数が増
えるのでハードウエア規模が大きくなるという問題が生
じる。したがって、プリスキャンを前提とした場合のス
キャンスピードによって変わる。
The blocking unit 3 includes several pixels, for example, as shown in FIG.
As shown in (a), each pixel is divided into blocks of 4 × 4 to 8 × 8. In this case, as the block size is increased, the identification accuracy is increased, but there is a problem that the hardware scale is increased because the number of lines is increased. Therefore, it varies depending on the scan speed on the premise of pre-scanning.

【0025】ブロック判定部4は、7色判定を行うもの
である。7色判定は、Wを除く7色(Y、M、C、K、
B、G、R)についてブロック内の最大頻度色を判定
し、それをブロック色とするものである。実際の例を示
して説明する。図3(a)に示したように4×4画素を
1ブロックとしてそれぞれの色の頻度をカウントする
と、K=6,M=2,R=1,C=1,W=6となる
が、Wを除いた色/黒画素で最大である色をブロック色
として採用する。この場合は、Kが最大であるので、ブ
ロック色はKとなる。このようにブロック色を求める
と、図3(d)に示すように画素単位のランレングスで
は、ランが短くなり文字との切り分けが困難であった網
点領域のランレングスが長くなる。一方、文字領域の場
合は、文字と文字との間が網点のピッチより長いためブ
ロックランレングスは短くなる。このようにブロックラ
ン長でみると切り分けが可能になる。
The block determination section 4 performs a seven-color determination. The seven-color determination is based on seven colors except for W (Y, M, C, K,
For B, G, and R), the color with the highest frequency in the block is determined, and that color is determined as the block color. An explanation will be given by showing an actual example. As shown in FIG. 3A, when the frequency of each color is counted with 4 × 4 pixels as one block, K = 6, M = 2, R = 1, C = 1, W = 6. The color that is the maximum of the color / black pixels excluding W is adopted as the block color. In this case, since K is the maximum, the block color is K. When the block color is obtained in this manner, as shown in FIG. 3D, in the run length in pixel units, the run becomes short, and the run length of the halftone dot region which is difficult to separate from the character becomes long. On the other hand, in the case of the character area, the block run length is short because the distance between the characters is longer than the pitch of the halftone dots. As described above, it is possible to separate the blocks based on the block run length.

【0026】主走査方向カラーランカウント部6は、ブ
ロック色判定部4からW(0)か、それ以外の色黒
(1)かを表す1ビットをもらい、主走査方向の色/黒
ブロックのランレングスをカウントするものであり、コ
ンパレータ7は、図3(c)に示すような各ブロックの
カウント値(ランレングス)が閾値thrun より短いか
否かを判定するものである。ここでは、色/黒ブロック
のランレングスが閾値thrun より短いと文字の候補と
なる。
The main scan direction color run count unit 6 receives one bit indicating W (0) or another color black (1) from the block color judgment unit 4, and determines the color / black block in the main scan direction. The run length is counted, and the comparator 7 determines whether or not the count value (run length) of each block as shown in FIG. 3C is shorter than the threshold value th run . Here, if the run length of the color / black block is shorter than the threshold value th run , it becomes a character candidate.

【0027】副走査方向エッジ検出部5は、図3(b)
に示すように副走査方向の数ブロックの範囲でエッジが
あるか否かを検出するものであり、エッジがある場合に
文字の候補とする。これは、文字領域で用いられる横線
も長いランレングスとなるため、上記の主走査方向のラ
ンレングスでは文字の候補とならないので、このような
場合にも文字の候補として検出するためのものである。
そのため、例えば図3(b)に示すように副走査方向に
例えば5ブロックをとり、注目ブロックの両側を見て白
ブロックがある場合に文字の候補としている。
The sub-scanning direction edge detecting section 5 is shown in FIG.
As shown in (1), it is detected whether or not there is an edge in a range of several blocks in the sub-scanning direction. If there is an edge, it is determined as a character candidate. This is because the horizontal line used in the character area also has a long run length, and is not a character candidate with the above-described run length in the main scanning direction. Therefore, even in such a case, the character is detected as a character candidate. .
Therefore, for example, as shown in FIG. 3B, for example, five blocks are taken in the sub-scanning direction, and if there is a white block as seen from both sides of the target block, it is determined as a character candidate.

【0028】オアゲート8とアンドゲート9は、上記の
検出結果から主走査方向か副走査方向のいずれかで文字
の候補が存在し、且つブロックのmaxフラグが1であ
れば、このブロックを文字領域と判定し、ブロック色判
定部4で判定したブロック色信号を出力するものであ
る。なお、maxフラグは、コンパレータ2でYMCの
うち最大のものが閾値thmax 以上であると判定された
画素がブロック内に1以上あることを示す信号である。
When the OR gate 8 and the AND gate 9 indicate that a character candidate exists in either the main scanning direction or the sub-scanning direction and the max flag of the block is 1, the block is mapped to the character area. And outputs the block color signal determined by the block color determination unit 4. The max flag is a signal indicating that there is one or more pixels in the block for which the largest YMC among the comparators 2 is determined to be equal to or greater than the threshold thmax.

【0029】上記実施の形態は、この文字部周辺のラン
レングスが短いことに着目したものである。すなわち、
文字部は、文字のブロックのかたまりと背景のかたまり
で構成され、地肌背景中にあるため、濃度変化が急峻で
あるのに対し、画像部は、画像背景中にあり濃度が緩や
かである。そのため、ランレングスを観察すると、文字
領域ではランレングスが短く、中間調領域ではランレン
グスが長くなる。しかも、画素単位では網点領域と文字
領域との識別が困難であったが、網点の場合にはブロッ
ク化することによりランレングスが長くなるので、文字
領域ではなく中間調領域で認識することができる。つま
り、ブロック化によって高い周波数を有する網点パッチ
部もランレングスが長い色ブロックとして発生しやすく
なり、中間調領域として取り込むことができる。また、
主走査方向カラーランカウント部6とコンパレータ7に
より文字の候補を検出するだけでは、主走査方向にラン
レングスの長いライン等を誤認してしまうため、副走査
方向エッジ検出部5によりエッジがある場合も文字の候
補とすることによって認識精度を上げている。
The above embodiment focuses on the short run length around the character portion. That is,
The character portion is composed of a block of character blocks and a block of the background, and is located in the background of the background, so that the density changes sharply, whereas the image portion is located in the background of the image and has a moderate density. Therefore, when the run length is observed, the run length is short in the character area and long in the halftone area. Moreover, it is difficult to discriminate a halftone area from a character area on a pixel-by-pixel basis. However, in the case of a halftone dot, the run length is increased by blocking, so that the halftone area should be recognized instead of the character area. Can be. That is, the halftone dot patch portion having a high frequency is likely to be generated as a color block having a long run length due to blocking, and can be captured as a halftone region. Also,
Simply detecting a character candidate using the main scan direction color run count unit 6 and the comparator 7 may mistakenly detect a line having a long run length in the main scan direction. The recognition accuracy is also increased by using the character candidates.

【0030】なお、本発明は、上記実施の形態に限定さ
れるものではなく、種々の変形が可能である。例えば上
記実施の形態では、YMCの信号で色相検出を行った
が、a* 、b* 、IQ等の色度信号を用いてもよい。ま
た、画素毎に色相判定を行ってブロック色を求めたが、
画素毎に平均化した後ブロック色を求めるようにしても
よい。従来は、画素単位での色判定を用いていたため
に、実際には黒文字原稿でありながらも、読取装置、或
いはセンサーによって特に文字のエッジ部での色判定エ
ラーが発生しやすく、これらの誤認の積算でカラー原稿
と見誤るケースが多々あった。本発明のブロック色によ
る判定ではこの点を大幅に改善できる。また、多少のラ
インバッファの追加でプリスキャンの必要なしにメイン
スキャンと同時に識別可能であることはいうまでもな
い。
It should be noted that the present invention is not limited to the above embodiment, and various modifications are possible. For example, in the above embodiment, the hue detection is performed using the YMC signal, but a chromaticity signal such as a * , b * , or IQ may be used. Also, the hue was determined for each pixel to obtain the block color.
A block color may be obtained after averaging for each pixel. In the past, since color judgment was performed on a pixel-by-pixel basis, a color reading error was likely to occur particularly at the edge of a character due to the reading device or sensor, even though the document was actually a black character document. In many cases, the total was mistaken for a color original. This point can be greatly improved by the determination based on the block color of the present invention. Needless to say, the addition of the line buffer enables identification at the same time as the main scan without the need for the prescan.

【0031】[0031]

【発明の効果】以上の説明から明らかなように、本発明
によれば、各画素をブロック化してブロック色を判定
し、それをカウントした値でカラー原稿か白黒原稿かを
識別し、それぞれの原稿に対応した処理を行うことがで
きるので、白黒原稿での無駄の動作をなくすこともでき
る。また、識別のためのハードウエアも簡易な構成で高
精度の識別が可能となる。
As is apparent from the above description, according to the present invention, each pixel is divided into blocks to determine a block color, and a color original or a black-and-white original is discriminated based on the counted value. Since the processing corresponding to the original can be performed, it is also possible to eliminate the useless operation for the monochrome original. In addition, identification hardware can be identified with high accuracy by a simple configuration.

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

【図1】 本発明のブロック色判定を利用した画像処理
装置の実施の形態を示す図である。
FIG. 1 is a diagram illustrating an embodiment of an image processing apparatus using block color determination according to the present invention.

【図2】 文字と中間調の混在原稿について文字領域か
中間調領域かを判定するように構成した画像領域識別方
式の画像処理装置の実施の形態を示す図である。
FIG. 2 is a diagram illustrating an embodiment of an image processing apparatus of an image area identification method configured to determine whether a document is a character area or a halftone area for a mixed document including characters and halftones.

【図3】 図2に示す回路の動作を説明するための図で
ある。
FIG. 3 is a diagram for explaining the operation of the circuit shown in FIG. 2;

【図4】 デジタルカラー画像処理装置の構成を示す図
である。
FIG. 4 is a diagram illustrating a configuration of a digital color image processing apparatus.

【図5】 従来のエッジ処理回路の構成例を示す図であ
る。
FIG. 5 is a diagram illustrating a configuration example of a conventional edge processing circuit.

【図6】 色相検出回路の構成を示す図である。FIG. 6 is a diagram illustrating a configuration of a hue detection circuit.

【図7】 文字太り現象を説明するための図である。FIG. 7 is a diagram for explaining the character fattening phenomenon.

【図8】 エッジ強調処理を説明するための図である。FIG. 8 is a diagram illustrating edge enhancement processing.

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

11、21…ブロック判定部、12…黒ブロックカウン
タ、13、22…色ブロックカンウタ、14…比率計算
部、15…判定部、23…比較器
11, 21: block determination unit, 12: black block counter, 13, 22: color block counter, 14: ratio calculation unit, 15: determination unit, 23: comparator

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 1/40 - 1/409 H04N 1/46 - 1/64 G06T 7/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 1/40-1/409 H04N 1/46-1/64 G06T 7/00

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力された画像データを複数の画素から
なるブロックにブロック化するブロック化手段と、 前記ブロックに含まれる色情報を代表するブロック色を
判定するブロック色判定手段と、 前記ブロック色判定手段により判定したブロック色をカ
ウントし、ブロック色のカウント値に基づき前記画像デ
ータがカラー画像であるか白黒画像であるかを判定する
判定手段とを有する画像処理装置。
1. Blocking means for blocking input image data into a block composed of a plurality of pixels; Block color determining means for determining a block color representing color information included in the block; An image processing device comprising: a counting unit that counts the block colors determined by the determining unit and determines whether the image data is a color image or a monochrome image based on the count value of the block colors.
【請求項2】 請求項1の画像処理装置において、 前記判定手段は、前記ブロック色判定手段による判定結
果から有彩色である頻度と有彩色でない頻度との比較に
基づき、前記画像データがカラー画像であるか白黒画像
であるかを判定することを特徴とする画像処理装置。
2. The image processing apparatus according to claim 1, wherein the determination unit determines that the image data is a color image based on a comparison between a frequency of a chromatic color and a frequency of a non-chromatic color based on a determination result by the block color determination unit. Or an image processing apparatus that determines whether the image is a monochrome image.
【請求項3】 請求項1の画像処理装置において、 前記判定手段は、前記ブロック色判定手段による判定結
果から有彩色である頻度と閾値とを比較する比較手段を
有し、前記比較手段の比較結果に基づき前記画像データ
がカラー画像であるか白黒画像であるかを判定すること
を特徴とする画像処理装置。
3. The image processing apparatus according to claim 1, wherein the determining unit includes a comparing unit that compares a frequency of a chromatic color with a threshold from a result of the determination by the block color determining unit. An image processing apparatus for determining whether the image data is a color image or a monochrome image based on a result.
【請求項4】 入力された画像データを複数の画素から
なるブロックにブロック化するブロック化手段と、 前記ブロックに含まれる色情報を代表するブロック色を
判定するブロック色判定手段と、 前記ブロック色判定手段により判定したブロック色をカ
ウントし、ブロック色のカウント値に基づき前記画像デ
ータがカラー画像であるか白黒画像であるかを判定する
判定手段と、 前記判定手段による判定結果に基づき、黒のみの出力と
フルカラー出力を選択して、前記画像データに基づき画
像を出力する出力手段とを有する画像処理装置。
4. Blocking means for blocking input image data into blocks each including a plurality of pixels; block color determining means for determining a block color representing color information included in the blocks; The block color determined by the determination unit is counted, and the determination unit determines whether the image data is a color image or a monochrome image based on the count value of the block color. And an output unit for selecting an output of the image data and a full-color output and outputting an image based on the image data.
【請求項5】 メインスキャンで得られる画像データに
よりカラー原稿か白黒原稿かを判定する画像処理装置で
あって、 スキャンされた画像データを複数の画素からなるブロッ
クにブロック化するブロック化手段と、 前記ブロックに含まれる色情報を代表するブロック色を
判定するブロック色判定手段と、 前記ブロック色判定手段により判定したブロック色をカ
ウントし、ブロック色のカウント値に基づき前記画像デ
ータがカラー画像であるか白黒画像であるかを判定する
判定手段と、 前記判定手段による判定結果に基づいて、黒のみの出力
とフルカラー出力とを切り換えて出力する出力手段とを
有する画像処理装置。
5. An image processing apparatus for determining whether a document is a color document or a monochrome document based on image data obtained by a main scan, comprising: a block forming unit configured to block the scanned image data into blocks each including a plurality of pixels; A block color determining unit that determines a block color representative of color information included in the block; counting the block colors determined by the block color determining unit; and the image data is a color image based on the count value of the block colors. An image processing apparatus comprising: a determination unit configured to determine whether the image is a monochrome image or a monochrome image; and an output unit configured to switch between black-only output and full-color output based on a determination result by the determination unit.
JP8052935A 1996-03-11 1996-03-11 Image processing device Expired - Lifetime JP3064896B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8052935A JP3064896B2 (en) 1996-03-11 1996-03-11 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8052935A JP3064896B2 (en) 1996-03-11 1996-03-11 Image processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002940A Division JPH0722330B2 (en) 1990-01-10 1990-01-10 Image region identification method for image processing apparatus

Publications (2)

Publication Number Publication Date
JPH08256271A JPH08256271A (en) 1996-10-01
JP3064896B2 true JP3064896B2 (en) 2000-07-12

Family

ID=12928727

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8052935A Expired - Lifetime JP3064896B2 (en) 1996-03-11 1996-03-11 Image processing device

Country Status (1)

Country Link
JP (1) JP3064896B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014192853A (en) * 2013-03-28 2014-10-06 Kyocera Document Solutions Inc Image processing device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3762267B2 (en) 2001-08-08 2006-04-05 キヤノン株式会社 Image processing apparatus and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014192853A (en) * 2013-03-28 2014-10-06 Kyocera Document Solutions Inc Image processing device

Also Published As

Publication number Publication date
JPH08256271A (en) 1996-10-01

Similar Documents

Publication Publication Date Title
JP3436828B2 (en) Image processing device
US6424742B2 (en) Image processing apparatus for discriminating image field of original document plural times and method therefor
JP2564959B2 (en) Pictogram area identification method for image processing device
JPH0722330B2 (en) Image region identification method for image processing apparatus
JP3784649B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JPH0497657A (en) Area separating device for color picture
JP3576808B2 (en) Image processing device
JP4115999B2 (en) Image processing apparatus, image forming apparatus, image reading processing apparatus, image processing method, image processing program, and computer-readable recording medium
JPH0435167A (en) Line picture separation system
JP3560776B2 (en) Color type discriminator
US7826098B2 (en) Image processing apparatus
JP3064896B2 (en) Image processing device
JP3224172B2 (en) Color image processing equipment
JP3847565B2 (en) Image processing apparatus, image forming apparatus including the same, and image processing method
JP3767210B2 (en) Document type determination device and image processing device
JPH10108012A (en) Image area separating device
JP3255085B2 (en) Image area determination method and apparatus, image processing apparatus
JP3316077B2 (en) Background density level detector
JP3581756B2 (en) Image processing device
JP3262773B2 (en) Method and apparatus for detecting pixel color of color image
JP2002125121A (en) Image processing method and image processing unit, and image forming device provided with them
JPH10215382A (en) Color image processing unit
JP3261247B2 (en) Image processing system
JPH104497A (en) Picture processor
JPH09149246A (en) Picture processing method and picture processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090512

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 10

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 10