JP2629183B2 - Image area identification device - Google Patents

Image area identification device

Info

Publication number
JP2629183B2
JP2629183B2 JP62095885A JP9588587A JP2629183B2 JP 2629183 B2 JP2629183 B2 JP 2629183B2 JP 62095885 A JP62095885 A JP 62095885A JP 9588587 A JP9588587 A JP 9588587A JP 2629183 B2 JP2629183 B2 JP 2629183B2
Authority
JP
Japan
Prior art keywords
image
density
threshold
window
character
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
JP62095885A
Other languages
Japanese (ja)
Other versions
JPS63261957A (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
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 JP62095885A priority Critical patent/JP2629183B2/en
Publication of JPS63261957A publication Critical patent/JPS63261957A/en
Application granted granted Critical
Publication of JP2629183B2 publication Critical patent/JP2629183B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、文字,写真,網点印刷等の各種原稿を読み
取って、画像処理,編集等を施す画像処理装置に関し、
特に原稿の種類を識別する画像領域識別装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus that reads various originals such as characters, photographs, halftone prints, and performs image processing and editing.
In particular, the present invention relates to an image area identification device that identifies the type of a document.

〔従来の技術〕[Conventional technology]

ディジタル複写機,ファクシミリ等の画像処理装置に
おいては、各種原稿を読み取って、画像処理,編集等を
施したのち記録を行うようになっている。
2. Description of the Related Art In an image processing apparatus such as a digital copying machine or a facsimile, various kinds of originals are read, and image processing, editing, and the like are performed, and then recording is performed.

一般の文書原稿中には、例えば、カタログのように文
字等の2値画像領域と写真や網点等の中間調画像領域と
が混在しているものが多数ある。このような原稿を読み
取って記録するに際し、原稿全面にわたって2値化して
記録すると文字の再現性は良いが、中間調部の品質が劣
化し、また逆にディザ等の中間調生成法により記録する
と、中間調は良好に再現されるが、文字は劣化してしま
うという問題がある。
For example, there are many general document documents in which a binary image region such as a character and a halftone image region such as a photograph or a halftone dot are mixed, such as a catalog. When reading and recording such an original, if the entire original is binarized and recorded, the reproducibility of the characters is good, but the quality of the halftone portion is deteriorated. However, halftones are well reproduced, but there is a problem that characters are deteriorated.

それぞれに対して品質が良好となるように、例えば文
字は2値化し、中間調はディザ処理するためには、2種
の異なった領域を識別することが必要になる。
For example, characters are binarized so that the quality is good for each of them, and halftones need to be identified with two different areas in order to perform dither processing.

この領域を識別するための手法として、特開昭58−33
74号公報に示されるように、画面を複数の画素からなる
ブロックに分割し、各ブロック内で画素濃度の最大値と
最小値の差を求め、この差が或る閾値より大きい場合に
は、2値画像領域と判定し、閾値より小さい場合には中
間調画像領域と判定する方式がある。また、特開昭58−
220563号公報に示されるように、画素マトリックスの中
心画素レベルであるフォーカス値と、画素マトリックス
の平均値であるデフォーカス値の差の絶対値をとり、こ
れが或る閾値より大きいときは2値画像領域と判定する
方式も知られている。
As a method for identifying this area, Japanese Patent Laid-Open No. 58-33
As shown in Japanese Patent Publication No. 74, the screen is divided into blocks composed of a plurality of pixels, and the difference between the maximum value and the minimum value of the pixel density is obtained in each block. If the difference is larger than a certain threshold, There is a method in which a region is determined as a binary image region, and if smaller than a threshold, a region is determined as a halftone image region. Also, Japanese Patent Laid-Open No.
As shown in Japanese Patent No. 220563, the absolute value of the difference between the focus value, which is the central pixel level of the pixel matrix, and the defocus value, which is the average value of the pixel matrix, is taken. A method of determining an area is also known.

これらの方式によれば、文字と写真に関しては、それ
ぞれ濃度勾配の変化の状態が大幅に異なるので両者を比
較的容易に識別することができる。
According to these methods, the state of change in density gradient is significantly different between a character and a photograph, so that the two can be relatively easily identified.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

しかし、いずれの方式も濃度勾配の急峻な変化のみに
着目しているために文字と網点を識別できないという欠
点があった。すなわち、網点には文字と同様に濃度勾配
の急峻な変化が存在するため、網点を文字と誤認してし
まうという問題があった。
However, any of these methods has a drawback that characters and halftone dots cannot be distinguished because they focus only on a steep change in density gradient. That is, there is a problem that a halftone dot is erroneously recognized as a character because a sharp change in density gradient exists in the halftone dot similarly to the character.

本発明は、上述の問題点を解決するために案出された
ものであって、文字と網点を高い確度で識別することを
目的とする。
The present invention has been devised to solve the above-described problems, and has as its object to identify characters and halftone dots with high accuracy.

〔問題点を解決するための手段〕[Means for solving the problem]

本発明は、前記目的を達成するため、原稿情報を複数
画像単位にわたる大きさの窓で走査し前記案内において
走査の方向に関して注目画像単位の前に位置する複数の
近傍画像単位の濃淡度の最大値及び前記注目画像単位の
後に位置する複数の近傍画像単位の濃淡度の最大値を求
める手段と、前記各最大値間のレベル差を求めこのレベ
ル差を領域識別用の閾値と比較し前記レベル差が前記閾
値より大きいときに前記注目画像単位を2値画像領域と
判定する手段とを設けたことを特徴とする。
In order to achieve the above object, the present invention scans document information through a window having a size extending over a plurality of image units, and sets a maximum density of a plurality of neighboring image units located before a target image unit with respect to a scanning direction in the guide. Means for calculating the maximum value of the values and the shades of a plurality of neighboring image units located after the image unit of interest; determining a level difference between the maximum values; comparing the level difference with a threshold for area identification; Means for determining the target image unit as a binary image area when the difference is larger than the threshold value.

前記走査を主走査方向及び副走査方向に行なうと共
に、前記各方向にそれぞれ1次元的に窓を設け、少なく
とも一方の方向が2値画像領域と判定された場合は前記
注目画像単位を2値画像領域と識別することができる。
The scanning is performed in the main scanning direction and the sub-scanning direction, and a window is provided one-dimensionally in each of the directions. If at least one direction is determined to be a binary image area, the target image unit is a binary image area. Region.

また、前記窓内の濃淡度に応じて前記閾値を変えるよ
うにすることもできる。
Further, the threshold value may be changed according to the density of the window.

〔作用〕[Action]

まず、画像領域の識別原理について説明する。 First, the principle of identifying image regions will be described.

本発明では、原稿を複数画素又は複数ブロック等の複
数画像単位にわたる大きさの窓で走査し、このときの注
目画素をはさむ前後の近傍画素の濃度変化、又は、注目
画素を含む複数画素から構成される注目ブロックをはさ
む前後の近傍ブロックの濃度変化に着目して、文字部,
網点部,写真部を分離するようにしている。なお、以下
の説明においては、画素の濃度を検出する場合を例に挙
げて説明する。
In the present invention, the original is scanned with a window having a size covering a plurality of images such as a plurality of pixels or a plurality of blocks, and the density change of neighboring pixels before and after the pixel of interest at this time, or a plurality of pixels including the pixel of interest. Focusing on the density change of neighboring blocks before and after the target block
The halftone part and the photographic part are separated. In the following description, a case where the density of a pixel is detected will be described as an example.

第2図は網点部21及び文字部22を含む画像の水平方向
すなわち主走査方向の濃度分布の一例を示す。なお、図
中のA,B,C,D,Eは走査窓20により走査される画素を示
し、画素Cが注目画素である。また、複数画素を1ブロ
ック単位として、ブロック毎に処理する場合は、各ブロ
ックの濃度としては、当該ブロックに含まれる複数の画
素の濃度の最大値,総和,平均値等を採用することがで
きる。
FIG. 2 shows an example of the density distribution in the horizontal direction, that is, the main scanning direction of an image including the halftone dot portion 21 and the character portion 22. A, B, C, D, and E in the figure indicate pixels scanned by the scanning window 20, and a pixel C is a target pixel. Further, when processing is performed for each block with a plurality of pixels as one block unit, a maximum value, a total sum, an average value, or the like of the densities of a plurality of pixels included in the block can be adopted as the density of each block. .

この濃度分布を、例えば、5×1の走査窓20で観察し
たときに以下のことが判る。
When this density distribution is observed through, for example, a 5 × 1 scanning window 20, the following is found.

網点部21では濃度変化は激しいが、網点ピッチPの各
最大値間のレベル差d1は小さい。
Concentration change in the halftone dot portion 21 is severe, the level difference d 1 between the maximum value of the halftone dot pitch P is small.

また、文字部22では急峻に濃度が変化し、注目画素C
前後の案内の最大値間のレベル差d2は大きい。
In the character portion 22, the density changes sharply, and the target pixel C
Level difference d 2 between the maximum value of the front and rear guide is large.

これより、注目画素Cをはさむ前後の近傍画素A,B及
びD,Eの濃度の最大値をそれぞれ検出してその差を求
め、この差を領域識別用の閾値と比較することにより文
字部22と網点部21を識別できることが判る。また、写真
部については濃度変化が緩やかであるため、上記方式に
より文字部と識別できる。なお、ここでいう最大値とは
波高値を含むものとする。
From this, the maximum value of the density of the neighboring pixels A, B and D, E before and after the pixel of interest C is detected, the difference is obtained, and this difference is compared with the threshold for area identification, thereby obtaining the character portion 22. It can be seen that the dot portion 21 can be identified. Further, since the density change is gradual in the photographic part, it can be distinguished from the character part by the above method. Note that the maximum value here includes the peak value.

このような識別を垂直方向すなわち副走査方向に対し
ても行ない、主走査方向或いは副走査走査方向のいずれ
かが文字部と判別されたときは、その領域を文字部と識
別することで、斜め方向を含むほとんど全ての文字成分
を検出できる。
Such identification is also performed in the vertical direction, that is, in the sub-scanning direction, and when either the main scanning direction or the sub-scanning direction is determined to be a character portion, the region is identified as a character portion, thereby obliquely identifying the character portion. Almost all character components including directions can be detected.

また、領域識別用の閾値を窓内の画像単位、例えば、
ブロックの濃度に応じて変えれば、画像の内容に応じて
閾値が変化するので、識別の誤りが少なくなる。
In addition, a threshold for area identification is set to an image unit in a window, for example,
If the threshold value is changed in accordance with the density of the block, the threshold value changes in accordance with the content of the image, so that identification errors are reduced.

〔実施例〕〔Example〕

以下、図面を参照しながら実施例に基づいて本発明の
特徴を具体的に説明する。
Hereinafter, the features of the present invention will be specifically described based on embodiments with reference to the drawings.

まず、本発明の画像領域識別装置が適用される画像処
理装置全体の概略ブロック図を第3図に示す。
First, FIG. 3 shows a schematic block diagram of the entire image processing apparatus to which the image area identification device of the present invention is applied.

図において、1は例えばCCD(電荷結合素子)を用い
た画像入力装置であり、原稿情報を例えば約16ドット/m
m(400ドット/インチ)の解像度で8ビットの濃淡デー
タとして読み取るものである。この画像入力装置1で読
み取られた原稿情報は、1画素8ビットの画像メモリ2
に格納される。なお、この画像メモリ2は、画像データ
をA3サイズで1ページ分格納できる容量を有している。
画像メモリ2からの画像データは、画像処理装置3に供
給され、原稿領域に応じて最適な処理が行なわれる。な
お、この画像処理装置3の詳細は後述する。また、4は
制御装置であり装置全体の信号制御を行うものである。
画像処理装置3により所定の処理が行われた画像データ
は画像出力装置5に供給され、例えば、約32ドット/mm
(800ドット/インチ)の解像度で2値画像の記録が行
なわれる。なお、画像出力装置5としては、電子写真式
レーザビームプリンタ,サーマルプリンタ,インクジェ
ットプリンタ等を使用することができる。
In the figure, reference numeral 1 denotes an image input device using, for example, a CCD (Charge Coupled Device).
It is read as 8-bit grayscale data at a resolution of m (400 dots / inch). Document information read by the image input device 1 is stored in an image memory 2 of 8 bits per pixel.
Is stored in The image memory 2 has a capacity to store one page of image data in A3 size.
The image data from the image memory 2 is supplied to the image processing device 3, and optimal processing is performed according to the document area. The details of the image processing device 3 will be described later. Reference numeral 4 denotes a control device for controlling signals of the entire device.
The image data on which the predetermined processing has been performed by the image processing device 3 is supplied to the image output device 5 and, for example, about 32 dots / mm
A binary image is recorded at a resolution of (800 dots / inch). In addition, as the image output device 5, an electrophotographic laser beam printer, a thermal printer, an ink jet printer, or the like can be used.

次に、画像処理装置3の構成例を第4図を参照して説
明する。
Next, a configuration example of the image processing apparatus 3 will be described with reference to FIG.

画像入力装置1(第3図参照)において読み取られた
画像データは、一旦、画像メモリ2に1ページ分格納さ
れる。次に、画像データは画像メモリ2から順次読み出
され、4つの経路a,b,c,dに分岐され、水平方向濃度差
検出回路6,垂直方向濃度差検出回路7,フィルタ処理回路
11及び2値化回路12にそれぞれ供給される。
The image data read by the image input device 1 (see FIG. 3) is temporarily stored in the image memory 2 for one page. Next, the image data is sequentially read from the image memory 2 and branched into four paths a, b, c, d, and a horizontal density difference detection circuit 6, a vertical density difference detection circuit 7, a filter processing circuit
11 and a binarization circuit 12, respectively.

経路aでは、水平方向濃度差検出回路6により画像の
水平方向すなわち主走査方向の画像の濃度差を検出し、
これを比較器8において予め設定された閾値thと比較
し、濃度差が閾値thより大きい場合に文字部が存在する
として1を、小さい場合は0を出力する。なお、比較器
8は、濃度差が閾値thと等しい場合は、1或いは0のい
ずれかを出力するように設定しておく。
In the path a, the horizontal density difference detection circuit 6 detects the density difference of the image in the horizontal direction, that is, the image in the main scanning direction.
This is compared with a predetermined threshold value th in the comparator 8, and if the density difference is larger than the threshold value th, 1 is output assuming that a character portion exists, and if it is smaller, 0 is output. Note that the comparator 8 is set so as to output either 1 or 0 when the density difference is equal to the threshold th.

この水平方向濃度差検出回路6の詳細について第1図
を参照して説明する。
Details of the horizontal density difference detection circuit 6 will be described with reference to FIG.

図において、30は主走査方向に5画素分の濃度データ
を格納する窓用メモリ30を示し、これは第2図に示す主
走査方向の5×1の窓20に対応している。この窓用メモ
リ30から、注目画素Cに対して前にある画素A,Bの濃度
の最大値max1=max(Ad,Bd)を最大値検出回路16で検出
し、注目画素Cに対して後にある画素D,Eの濃度の最大
値max2=max(Dd,Ed)を最大値検出回路17で検出する。
なお、Ad,Bd,Dd,Edは、画素A,B,D,Eの濃度を示す。ブロ
ック毎に処理する場合のブロックの濃度としては、当該
ブロックに含まれる複数の画素の濃度の最大値,平均
値,総和等を採用することができる。
In the figure, reference numeral 30 denotes a window memory 30 for storing density data for five pixels in the main scanning direction, which corresponds to the 5 × 1 window 20 in the main scanning direction shown in FIG. From this window memory 30, the maximum value max1 = max (A d , B d ) of the density of the pixels A and B in front of the pixel of interest C is detected by the maximum value detection circuit 16, and Then, the maximum value max2 = max (D d , E d ) of the density of the pixels D and E that follow is detected by the maximum value detection circuit 17.
Note that A d , B d , D d , and E d indicate the density of the pixels A, B, D, and E. As the density of a block when processing is performed for each block, a maximum value, an average value, a total sum, and the like of the densities of a plurality of pixels included in the block can be adopted.

そしてこれらの最大値max1,max2を引算回路18に供給
してその差の絶対値ABSを求め、比較器8において、こ
の差の絶対値ABSを予め設定されたレベル差すなわち領
域識別用の閾値thと比較し、これより大きければ文字と
判定する。これにより、水平方向に関して文字領域を識
別できる。
These maximum values max1 and max2 are supplied to a subtraction circuit 18 to determine the absolute value ABS of the difference, and the comparator 8 calculates the absolute value ABS of the difference as a predetermined level difference, that is, a threshold for area identification. It is compared with th, and if it is larger than this, it is determined as a character. Thereby, the character area can be identified in the horizontal direction.

この場合、窓20の走査方向の大きさは、網点ピッチP
の2倍以上あることが望ましい。例えば、原稿の網点印
刷の網点密度が133線の場合、網点ピッチPは、P=1
インチ/133本=190μmとなるので、窓20の大きさは、1
90μm×2=380μm以上あればよい。このように、窓2
0の大きさを網点ピッチの2倍以上に設定することによ
り網点が低線数の場合でも、文字と網点との識別が確実
に実現できる。これは、垂直方向に関しても同様であ
る。また、画像入力装置1の解像度が16ドット/mmの場
合、原稿読み取りのサンプリング間隔は1mm/16ドット=
62.5μmとなる。したがって、第2図に示すように窓20
の画素数は380/62.5=6.08から、7画素とすればよい。
In this case, the size of the window 20 in the scanning direction is the halftone dot pitch P
Is desirably twice or more. For example, when the halftone density of the halftone printing of the document is 133 lines, the halftone dot pitch P is P = 1.
Since inch / 133 = 190 μm, the size of the window 20 is 1
90 μm × 2 = 380 μm or more. Thus, window 2
By setting the size of 0 to twice or more the halftone dot pitch, even if the halftone dot has a low screen ruling, the distinction between the character and the halftone dot can be reliably realized. This is the same in the vertical direction. When the resolution of the image input device 1 is 16 dots / mm, the sampling interval for reading the original is 1 mm / 16 dots =
62.5 μm. Therefore, as shown in FIG.
The number of pixels may be 7 pixels from 380 / 62.5 = 6.08.

一方、第4図に示す経路bにおいては、垂直方向濃度
差検出回路7により、垂直方向すなわち副走査方向の濃
度差を検出し、水平方向濃度差検出回路6の場合と同様
に、これを比較器9において閾値thと比較し、濃度差が
閾値thより大きい場合に文字部が存在するとして1を、
小さい場合には0を出力する。
On the other hand, in the path b shown in FIG. 4, the vertical density difference detecting circuit 7 detects the density difference in the vertical direction, that is, the sub-scanning direction, and compares the density difference in the same manner as the horizontal density difference detecting circuit 6. Is compared with the threshold value th in the device 9, and when the density difference is larger than the threshold value th, 1
If smaller, 0 is output.

論理和回路10では、比較器8,9の両者の出力の少なく
とも一方が1であった場合に、注目画素及びブロックが
文字部を有するとして1を、両者とも0の場合には文字
部が存在しないとして0を出力する。
In the OR circuit 10, when at least one of the outputs of the comparators 8 and 9 is 1, the pixel of interest and the block have a character portion if they are 1, and if both are 0, a character portion exists. It outputs 0 as not performing.

このように、濃度差を検出する回路を垂直方向すなわ
ち副走査方向にも設けることで、斜め方向も含むほとん
ど全ての文字成分を検出できる。
By providing the circuit for detecting the density difference in the vertical direction, that is, also in the sub-scanning direction, almost all character components including oblique directions can be detected.

以上の処理を各画素毎に行えば、画像全体にわたって
文字領域を抽出することができる。
By performing the above processing for each pixel, a character region can be extracted over the entire image.

上述の、水平方向濃度差検出回路6,垂直方向濃度差検
出回路7,比較器8,9及び論理和回路10により画像領域識
別装置15が構成されており、文字の場合には1を出力
し、中間調の場合には0を出力する。
The above-described horizontal density difference detection circuit 6, vertical density difference detection circuit 7, comparators 8, 9 and OR circuit 10 constitute an image area identification device 15, and outputs 1 in the case of a character. In the case of halftone, 0 is output.

次に、経路cにおいては、画像データが中間調領域で
あると想定して処理が行われる。
Next, in the path c, processing is performed on the assumption that the image data is a halftone area.

フィルタ処理回路11に入力された画像データは、n×
mの2次元FIR(有限インパルス応答)フィルタによっ
て平滑化される。なお、nは水平方向のサイズ、mは垂
直方向のサイズである。ここでは133線(133lp/イン
チ)から175線までの網点成分を除去するために、n=
m=5すなわち5×5のローパスフィルタを用いてい
る。なお、lpはラインベアーズ(line pairs)を意味す
る。本実施例で用いたフィルタの係数を以下に示す。
The image data input to the filter processing circuit 11 is nx
m is smoothed by a two-dimensional FIR (finite impulse response) filter. Note that n is the size in the horizontal direction, and m is the size in the vertical direction. Here, in order to remove the halftone components from 133 lines (133 lp / inch) to 175 lines, n =
m = 5, that is, a 5 × 5 low-pass filter is used. In addition, lp means line pairs (line pairs). The coefficients of the filter used in this embodiment are shown below.

また、その空間周波数特性を第5図に示す。この空間
周波数特性から判るように、中間調領域の網点成分は完
全に除去されるので、画像出力時のモアレの発生が防止
できる。なお、フィルタの大きさは5×5に限られるも
のではなく任意であり、また入力装置の特性等や使用者
の意図によって、n≠mすなわち正方以外の係数を使用
してもよい。
FIG. 5 shows the spatial frequency characteristics. As can be seen from the spatial frequency characteristics, the halftone dot component in the halftone region is completely removed, so that the occurrence of moire at the time of image output can be prevented. Note that the size of the filter is not limited to 5 × 5, but is arbitrary. Further, n ≠ m, that is, a coefficient other than a square may be used depending on the characteristics of the input device or the user's intention.

また、経路dは画像データが文字等の2値画像領域と
想定して処理するものであって、2値化回路12において
画像データを固定閾値Bthを用いて2値化する。ここで
の2値化は、画像データの値Dが固定閾値Bthより大き
いか等しいときに値Dを最大濃淡値、すなわち、8ビッ
トデータの場合255に変換し、小さいときに最小濃淡値
0に変換するものである。
The path d is a processing which is performed on the assumption that the image data is a binary image area such as a character. The binarization circuit 12 binarizes the image data using a fixed threshold Bth. The binarization here converts the value D to the maximum gray value when the image data value D is greater than or equal to the fixed threshold value Bth, that is, 255 in the case of 8-bit data, and to the minimum gray value 0 when it is small. It is something to convert.

選択回路13においては、画像領域識別回路15の出力が
1の場合は文字であるので、経路dの信号を選択し、ま
た出力が0の場合は中間調であるので経路cの信号を選
択する。
In the selection circuit 13, if the output of the image area identification circuit 15 is 1, it is a character, so the signal on the path d is selected, and if the output is 0, the signal on the path c is selected because it is halftone. .

ディザ処理回路14では選択的に得られた画像データを
以下に示した閾値マトリックスでディザ処理することに
より、中間調画像はディザ処理され、文字等の2値画像
は既に最大値と最小値に変換されているので、単純に2
値化される。
The dither processing circuit 14 dithers the selectively obtained image data with a threshold matrix shown below, whereby the halftone image is dithered, and the binary image such as a character is already converted into the maximum value and the minimum value. So, simply 2
Valued.

以上のような構成とすることにより、中間調領域の網
点等はフィルタ処理回路11のローパスフィルタにより平
滑化された後、ディザ処理されるのでモアレの発生が抑
制される。また、文字等の2値画像領域については、単
純に2値化して出力することができる。このとき、網点
部が文字部と誤認されることがないので、性質の異なっ
た2つの領域をそれぞれ適切に再現することが可能にな
る。
With the above-described configuration, halftone dots and the like in the halftone area are smoothed by the low-pass filter of the filter processing circuit 11 and then subjected to dither processing, so that occurrence of moire is suppressed. In addition, a binary image area such as a character can be simply binarized and output. At this time, since the halftone dot portion is not mistaken for the character portion, it is possible to appropriately reproduce the two regions having different properties.

なお、上述の実施例では、領域識別用の閾値thを予め
固定値に設定している。しかし、このままでは網点画像
のハイライト部のノイズにより発生する孤立点周辺にお
いて識別誤りが発生する場合がある。すなわち、網点画
像のハイライト部では濃度の最大値自体が小さくなるた
め、ノイズが混入した場合、窓内の最大濃度の差が大き
くなり、文字と誤認されることがある。このため、第6
図に示す実施例では、窓20内の濃度に応じて適応的に閾
値thを制御するようにしている。
In the above-described embodiment, the threshold th for area identification is set to a fixed value in advance. However, in this state, an identification error may occur around an isolated point caused by noise in a highlight portion of a halftone dot image. That is, since the maximum density itself becomes small in the highlight portion of the halftone dot image, when noise is mixed, the difference between the maximum densities in the window becomes large and may be erroneously recognized as a character. Therefore, the sixth
In the illustrated embodiment, the threshold value th is adaptively controlled according to the density in the window 20.

すなわち、予め複数の閾値データが格納された閾値格
納ROM31を設けると共に、窓用メモリ30の各画素A,B,C,
D,Eの濃度を加算器32において加算し、その加算出力に
より閾値格納ROM31をアドレスし、窓内濃度の総和に応
じて閾値を変えるようにしている。具体的には、濃度の
低下に応じて閾値を高めるようにする。このように適応
的に閾値thを制御することにより、例えば、網点画像の
ハイライト部では濃度が低くなるため閾値thが高くな
り、ノイズが混入した場合でも、網点画像が文字と誤認
識されることはなくなる。したがって、状態の悪い画像
に対しても識別確度を上げることができる。なお、濃度
の総和に代えて濃度の平均を使用してもよい。
That is, a threshold storage ROM 31 in which a plurality of threshold data are stored in advance is provided, and each pixel A, B, C,
The adder 32 adds the densities of D and E, and addresses the threshold storage ROM 31 based on the added output, and changes the threshold according to the sum of the densities in the window. Specifically, the threshold is increased in accordance with the decrease in the density. By adaptively controlling the threshold value th in this manner, for example, the threshold value th becomes high because the density is low in the highlight portion of the halftone image, and even when noise is mixed, the halftone image is erroneously recognized as a character. Will not be done. Therefore, the identification accuracy can be increased even for an image in a poor state. The average of the densities may be used instead of the sum of the densities.

なお、上述の実施例においては、画素単位で濃度を検
出するようにしたが、ブロック単位で濃度を検出するよ
うにしてもよい。
In the above-described embodiment, the density is detected on a pixel basis, but the density may be detected on a block basis.

更に、本発明をカラー画像へ適用する場合には、赤,
緑,青のフィルタで読み取られた3種の色信号から輝度
信号を生成し、この輝度信号を濃度信号として本処理を
適用すればよい。
Further, when the present invention is applied to a color image, red,
A luminance signal may be generated from three types of color signals read by the green and blue filters, and this processing may be applied using the luminance signal as a density signal.

〔発明の効果〕〔The invention's effect〕

以上述べたように、本発明においては、複数画像単位
にわたる大きさの窓により原稿情報を走査し、注目画像
単位より前の複数の近傍画像単位の濃度の最大値と注目
画像単位より後の複数の近傍画像単位の最大値との差を
求め、この差が領域識別用の閾値よりも大きいときは2
値画像領域であると判別するようにしている。網点は濃
度変化は大きいが最大値間の差が小さいので、網点が文
字と誤認されることがなく両者を確実に判別することが
できる。したがって、この識別結果に応じて各領域を画
像処理すれば、各領域の画像を最適条件で再現すること
ができる。またこの識別は、注目画像単位前後において
複数の画像単位の濃度の最大値を求め、この両最大値の
差を領域識別用の閾値と比較するという単純な処理で実
現できるので、識別装置を簡単な構成とすることができ
る。
As described above, in the present invention, document information is scanned by a window having a size over a plurality of image units, and the maximum value of the density of a plurality of neighboring image units before the image unit of interest and the plurality of pixels after the image unit of interest are scanned. Is determined with respect to the maximum value of the neighboring image unit, and when this difference is larger than the threshold for area identification, 2
It is determined to be a value image area. Since a halftone dot has a large change in density but a small difference between the maximum values, the halftone dot can be reliably discriminated without being erroneously recognized as a character. Therefore, if image processing is performed on each area in accordance with the identification result, an image of each area can be reproduced under optimal conditions. In addition, this identification can be realized by a simple process of finding the maximum value of the density of a plurality of image units before and after the target image unit and comparing the difference between the two maximum values with a threshold for area identification. Configuration.

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

第1図は本発明実施例の画像領域識別装置において使用
される濃度差検出回路の構成を示すブロック図、第2図
は画像領域識別の原理を示す説明図、第3図は本発明を
実施した画像処理装置システム全体のブロック図、第4
図は本発明による画像処理装置の構成例を示すブロック
図、第5図は2次元FIRフィルタの空間周波数特性を示
すグラフ、第6図は濃度差検出回路の他の例を示すブロ
ック図である。 8:比較器 15:画像領域識別装置 18:引算回路 20:走査窓 30:窓用メモリ
FIG. 1 is a block diagram showing a configuration of a density difference detection circuit used in an image area identification apparatus according to an embodiment of the present invention, FIG. 2 is an explanatory view showing the principle of image area identification, and FIG. Block diagram of the entire image processing system,
FIG. 5 is a block diagram showing a configuration example of an image processing apparatus according to the present invention, FIG. 5 is a graph showing a spatial frequency characteristic of a two-dimensional FIR filter, and FIG. 6 is a block diagram showing another example of a density difference detection circuit. . 8: Comparator 15: Image area identification device 18: Subtraction circuit 20: Scan window 30: Window memory

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】原稿情報を複数画像単位にわたる大きさの
窓で走査し前記案内において走査の方向に関して注目画
像単位の前に位置する複数の近傍画像単位の濃淡度の最
大値及び前記注目画像単位の後に位置する複数の近傍画
像単位の濃淡度の最大値を求める手段と、前記各最大値
間のレベル差を求めこのレベル差を領域識別用の閾値と
比較し前記レベル差が前記閾値より大きいときに前記注
目画像単位を2値画像領域と判定する手段とを設けたこ
とを特徴とする画像領域識別装置。
1. The document information is scanned by a window having a size covering a plurality of image units, and the maximum value of the shading of a plurality of neighboring image units located before the image unit of interest in the scanning direction in the guidance and the image unit of interest. Means for determining the maximum value of the shades of a plurality of neighboring images located after, and determining the level difference between the maximum values, comparing the level difference with a threshold for area identification, and the level difference is larger than the threshold. Means for determining the target image unit as a binary image area.
【請求項2】前記走査は主走査方向及び副走査方向に行
われると共に、前記窓は前記各方向にそれぞれ1次元的
に設けられ、少なくとも一方の方向が2値画像領域と判
定されたときは前記注目画像単位を2値画像領域と判定
するようにしたことを特徴とする特許請求の範囲第1項
記載の画像領域識別装置。
2. The scanning is performed in a main scanning direction and a sub-scanning direction, and the windows are provided one-dimensionally in each of the directions, and when at least one direction is determined as a binary image area, 2. The image area identifying apparatus according to claim 1, wherein the target image unit is determined to be a binary image area.
【請求項3】前記窓内の画像単位の濃淡度に応じて前記
閾値を変えるようにしたことを特徴とする特許請求の範
囲第1項記載の画像領域識別装置。
3. The apparatus according to claim 1, wherein said threshold value is changed in accordance with a density of an image in said window.
JP62095885A 1987-04-18 1987-04-18 Image area identification device Expired - Lifetime JP2629183B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62095885A JP2629183B2 (en) 1987-04-18 1987-04-18 Image area identification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62095885A JP2629183B2 (en) 1987-04-18 1987-04-18 Image area identification device

Publications (2)

Publication Number Publication Date
JPS63261957A JPS63261957A (en) 1988-10-28
JP2629183B2 true JP2629183B2 (en) 1997-07-09

Family

ID=14149773

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62095885A Expired - Lifetime JP2629183B2 (en) 1987-04-18 1987-04-18 Image area identification device

Country Status (1)

Country Link
JP (1) JP2629183B2 (en)

Also Published As

Publication number Publication date
JPS63261957A (en) 1988-10-28

Similar Documents

Publication Publication Date Title
JP3276985B2 (en) Image pixel processing method
JPH01228265A (en) Method and device for processing image
JP3088010B2 (en) Line drawing separation method and apparatus
JP2629699B2 (en) Image area identification device
JP2629183B2 (en) Image area identification device
JPS63246076A (en) Filter processing unit
JPH04248766A (en) Image area separation system
JP3224172B2 (en) Color image processing equipment
JP3316077B2 (en) Background density level detector
JPH0775395B2 (en) Image processing device
JP3988970B2 (en) Image processing apparatus, image processing method, and storage medium
JP3064896B2 (en) Image processing device
JP2507927B2 (en) Image processing device
JP3792402B2 (en) Image processing apparatus, binarization method, and machine-readable recording medium recording a program for causing a computer to execute the binarization method
JP3587740B2 (en) Image processing device
JPH0457274B2 (en)
JP2696902B2 (en) Color image processing equipment
JPS6180971A (en) Picture signal processor
JPH07121063B2 (en) Image processing device
JPS6180964A (en) Picture signal processing method
JPH0346869A (en) Color image processor
JPH09247436A (en) Image area discrimination device and image processor
JP3183788B2 (en) Halftone area determination device
JP2001160900A (en) Color picture processor
JPH04339460A (en) Original detection system for image recorder

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term