JP2853140B2 - Image area identification device - Google Patents

Image area identification device

Info

Publication number
JP2853140B2
JP2853140B2 JP1041870A JP4187089A JP2853140B2 JP 2853140 B2 JP2853140 B2 JP 2853140B2 JP 1041870 A JP1041870 A JP 1041870A JP 4187089 A JP4187089 A JP 4187089A JP 2853140 B2 JP2853140 B2 JP 2853140B2
Authority
JP
Japan
Prior art keywords
image
pixels
area
halftone
contour
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
JP1041870A
Other languages
Japanese (ja)
Other versions
JPH02222074A (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 JP1041870A priority Critical patent/JP2853140B2/en
Publication of JPH02222074A publication Critical patent/JPH02222074A/en
Application granted granted Critical
Publication of JP2853140B2 publication Critical patent/JP2853140B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は文字線画像等で表される2値画像と、写真
画像等で表される中間調画像の混在した文書画像中から
2値領域と中間調領域とを識別する文書画像領域識別装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to a binary area in a document image in which a binary image represented by a character line image or the like and a halftone image represented by a photographic image or the like are mixed. The present invention relates to a document image area identification device that identifies a document image and a halftone area.

(従来の技術) 原稿中に含まれる2値画像と中間調画像をデジタル画
像として良好に再現させる場合には、2値領域と中間調
領域それぞれの特性に応じた処理を行う必要がある。そ
のため文字線画像と写真画像等の画像識別を行う必要が
ある。さらに通信における画像圧縮の向上等を考慮した
場合、画像識別は必須のものとなる。
(Prior Art) When a binary image and a halftone image included in a document are reproduced well as a digital image, it is necessary to perform processing according to the characteristics of the binary region and the halftone region. Therefore, it is necessary to identify a character line image and a photo image. Further, in consideration of improvement of image compression in communication, image identification is indispensable.

従来の方式として例えば特開昭58−205376号公報記載
のものがある。文字線画像の濃度特性は第2図の上部に
示すように近接画素との濃度差が激しい特性を示す。一
方、写真画像の濃度特性は第3図の上部に示すように、
近接画素との濃度差がゆるやかな特性となる。上記従来
の方式はこのような2値画像と中間調画像の濃度特性の
相違を利用して画像を識別するものである。すなわちM
×N画素のブロックを単位にしてブロック内の最大濃度
差を求め、濃度差がしきい値よりも大きな場合は2値領
域、小さい場合は中間調領域として識別する方式であ
る。
As a conventional system, for example, there is one described in Japanese Patent Application Laid-Open No. 58-205376. As shown in the upper part of FIG. 2, the density characteristic of the character line image shows a characteristic in which the density difference between adjacent pixels is large. On the other hand, as shown in the upper part of FIG.
The density difference between the adjacent pixels becomes gentle. In the above-mentioned conventional method, an image is identified by utilizing such a difference in density characteristics between a binary image and a halftone image. That is, M
In this method, the maximum density difference in a block is determined in units of a block of × N pixels, and when the density difference is larger than a threshold value, the area is identified as a binary area, and when the density difference is smaller than a threshold value, it is identified as a halftone area.

(発明が解決しようとする課題) しかし、上述のような従来の方式では、M×N画素内
の濃度差を求めるため、画像は多値データを用い、多値
データの演算処理を行わなければならない。そのため演
算処理をするためのハード構成が大きくなってしまうと
いう欠点があった。
(Problems to be Solved by the Invention) However, in the conventional method as described above, since the density difference within M × N pixels is obtained, the image must use multi-value data and the multi-value data must be processed. No. Therefore, there is a disadvantage that a hardware configuration for performing the arithmetic processing becomes large.

さらに、従来の方式では、中間調画像中に存在するエ
ッジ成分も検出し、文字領域と誤認してしまうため、中
間調領域の画品質が劣化してしまうという欠点があっ
た。
Further, in the conventional method, an edge component present in a halftone image is also detected and is erroneously recognized as a character area, so that the image quality of the halftone area deteriorates.

本発明は上述のような従来技術の欠点を解消するもの
であり、文書画像中の文字線画像と写真画像の識別を簡
単なハード構成で行うことができるようにすることを目
的とするものである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described drawbacks of the related art, and has as its object to make it possible to identify a character line image and a photographic image in a document image with a simple hardware configuration. is there.

さらに、本発明は、中間調領域のエッジの誤認を防ぐ
ことができるとともに、網点画像にも対処して、良好な
再生画像を得ることができるようにすることを目的とす
るものである。
It is another object of the present invention to prevent erroneous recognition of an edge of a halftone area and to obtain a good reproduced image by coping with a halftone image.

(課題を解決するための手段) 上記目的を達成するための本発明の画像領域識別装置
は、第1図に示すように、文字線画像および写真画像が
混在する画像に対して2値化を行う2値化手段1と、2
値化された画像に対して孤立点除去を行う孤立点除去手
段2と、孤立点除去を行った画像に対して輪郭を抽出す
る輪郭抽出手段3と、2値画像と輪郭画像をM×N画素
のブロックで扱い、M×N画素内に存在する2値の黒画
素の数と輪郭抽出された画素との比により文字領域と中
間調領域を識別する領域判定手段4とを備えたことを特
徴とする。
(Means for Solving the Problems) As shown in FIG. 1, the image region identification apparatus of the present invention for achieving the above object performs binarization on an image in which a character line image and a photographic image are mixed. Binarizing means 1 and 2
An isolated point removing means 2 for removing an isolated point from the binarized image, a contour extracting means 3 for extracting a contour from the image from which the isolated point has been removed, and converting the binary image and the contour image to M × N A region determination means for treating a character region and a halftone region based on a ratio of the number of binary black pixels present in M × N pixels to the outline-extracted pixels. Features.

(作用) 入力画像は図示していないスキャナ等より多値で入力
された画像入力データは2値化手段1で2値化処理され
る。孤立点除去手段2は2値出力の孤立点を除去するこ
とにより、画像中のノイズ成分および網点成分を取り除
く。輪郭抽出手段3は孤立点が除去された画像に対して
輪郭を抽出する。領域判定手段4では2値化処理された
画像と輪郭抽出された画像情報をもとにM×N画素領域
内の黒画素の比から2値領域(文字領域)と中間調領域
を判定する。
(Operation) The input image is multi-valued input from a scanner or the like (not shown). The isolated point removing means 2 removes a noise component and a halftone dot component from the image by removing a binary output isolated point. The contour extracting means 3 extracts a contour from the image from which the isolated points have been removed. The area determining means 4 determines a binary area (character area) and a halftone area based on the ratio of black pixels in the M × N pixel area based on the image subjected to the binarization processing and the image information extracted from the outline.

本発明は、文書画像中の文字線画像と写真画像の識別
のためのすべての処理が2値データによって行われるの
で、ハード構成が簡単となると共に、処理速度が速くな
る。
According to the present invention, since all processes for identifying a character line image and a photographic image in a document image are performed using binary data, the hardware configuration is simplified and the processing speed is increased.

さらに、本発明は、中間調領域のエッジの誤認を防ぐ
ことができるとともに、網点画像にも対処して、良好な
再生画像を得ることができる。
Further, according to the present invention, it is possible to prevent erroneous recognition of the edge of the halftone area and to obtain a good reproduced image by coping with the halftone image.

(実施例) 実施例に基づいて本発明の内容を詳細に説明する。(Examples) The contents of the present invention will be described in detail based on examples.

入力画像には、文字領域、写真領域、網点領域が含ま
れ、その濃度特性、および2値化後の特性は、それぞれ
第2図、第3図、第4図のようになる。まず、これらの
特性について具体的に説明する。
The input image includes a character region, a photograph region, and a halftone dot region, and the density characteristics and the characteristics after binarization are as shown in FIGS. 2, 3, and 4, respectively. First, these characteristics will be specifically described.

文字領域の濃度特性は第2図に示すように、濃淡の激
しい特性といる。一方、背景領域が多いため、2値化後
の特性としては白領域が多くなる。また、文字には線幅
があるため、黒領域が縦方向、横方向ともに続くことは
ない。
As shown in FIG. 2, the density characteristic of the character area is a characteristic of sharp shading. On the other hand, since there are many background areas, white characteristics increase as characteristics after binarization. Further, since a character has a line width, a black area does not continue in both the vertical and horizontal directions.

写真領域の濃度特性は第3図に示すように濃淡のゆる
やかな特性となる。また、画像は一般に面で構成されて
いるため、2値化後の黒領域はある程度の面積をもつ。
As shown in FIG. 3, the density characteristic of the photographic region has a gentle gradation. Further, since an image is generally composed of planes, the black region after binarization has a certain area.

網点領域の濃度特性を第4図に示す。網点は本来は2
値画像であるため、文字の特性を示すはずであるが、網
点の大きさがスキャナの解像度と似ているため、ボケが
生じる。そのため画像が薄く、網点が孤立する領域で
は、文字特性に近く、画像が濃く、網点が密集している
ような領域では写真画像の特性に近くなる。以上の特性
の違いを利用して文字線画像と中間調画像を識別するこ
とができる。具体的には2値化した場合の画素数と、2
値画像に対して孤立点除去を行い、さらに輪郭検出を行
った後の画素数とを比較し、しきい値よりも大きい場合
は中間調領域、低い場合は文字領域と識別する。
FIG. 4 shows the density characteristics of the halftone dot area. Halftone is originally 2
Since it is a value image, it should show the characteristics of characters, but blurring occurs because the size of the halftone dot is similar to the resolution of the scanner. Therefore, in a region where the image is thin and the halftone dots are isolated, the characteristics are close to the character characteristics, and in a region where the image is dark and the halftone dots are dense, the characteristics are close to the characteristics of the photographic image. The character line image and the halftone image can be distinguished by using the above difference in the characteristics. Specifically, the number of pixels in the case of binarization and 2
An isolated point is removed from the value image, and the number of pixels after the contour detection is performed is compared with the value image.

第5図、第6図、第7図にそれぞれ文字、写真、網点
の3種類の画像に対して2値化を行った場合と2値画像
に対して孤立点除去を行った後、輪郭抽出を行った場合
の模式図を示す。
5, 6, and 7 show the case where binarization is performed on three types of images, that is, a character, a photograph, and a halftone dot, and the case where an isolated point is removed from a binary image, and then the contour is obtained. FIG. 3 shows a schematic diagram when extraction is performed.

文字領域における孤立点はノイズのみであり、また文
字の線幅は通常1〜4ドット程度である。そのため2値
画像の画素数と輪郭抽出後の画素数との比は多くても2
倍程度である。
The isolated point in the character area is only noise, and the line width of the character is usually about 1 to 4 dots. Therefore, the ratio between the number of pixels of the binary image and the number of pixels after contour extraction is at most 2
It is about twice.

写真領域においては孤立点はほとんどない。また基本
的に画像は面で構成されているため、2値画像の画素数
と輪郭抽出後の画素数との比は非常に大きい。
There are almost no isolated points in the photographic area. Further, since the image is basically composed of planes, the ratio between the number of pixels of the binary image and the number of pixels after contour extraction is very large.

網点領域においては、濃度の薄い領域における網点が
孤立点として除去されてしまう。すなわち、網点領域の
中で文字に近い性質を示してしたものは除去されてしま
い、写真の特性に近い領域が残る。そのため、2値画像
の画素数と輪郭抽出後の画素数との比は非常に大きくな
る。
In the halftone dot area, halftone dots in a low density area are removed as isolated points. That is, the halftone dot area that has a property similar to a character is removed, and an area close to the characteristics of a photograph remains. Therefore, the ratio between the number of pixels of the binary image and the number of pixels after contour extraction becomes very large.

以上より2値画像の画素数と輪郭抽出後の画素数との
比を調べ、しきい値よりも大きい場合は中間調領域、し
きい値よりも小さい場合は文字領域と識別することがで
きる。画素数を比べるためには識別範囲としてM×Nの
ブロックを参照する方式がある。M,Nの値としては“文
字の線幅〜文字の大きさ”程度がめやすとなる。
As described above, the ratio between the number of pixels of the binary image and the number of pixels after contour extraction is examined. If the ratio is larger than the threshold value, it can be identified as a halftone area, and if it is smaller than the threshold value, it can be identified as a character area. In order to compare the number of pixels, there is a method of referring to an M × N block as an identification range. As the values of M and N, a standard value is about “character line width to character size”.

しきい値は入力系の解像度にもよるが、文字の線幅を
1〜4ドットと考えると輪郭画素数の数倍程度が良い。
しきい値は固定であるが、実際には2値画像の黒画素と
輪郭抽出後の黒画素との比を用いているため、入力画像
の濃度に左右されずに正確に識別することができる。
The threshold value depends on the resolution of the input system, but is preferably about several times the number of contour pixels when the line width of the character is considered to be 1 to 4 dots.
Although the threshold value is fixed, since the ratio between the black pixels of the binary image and the black pixels after the contour extraction is actually used, the threshold value can be accurately determined without being influenced by the density of the input image. .

以上に詳述した領域識別の原理による本施例のハード
構成について説明する。
The hardware configuration of the present embodiment based on the principle of area identification described above will be described.

第8図に示すように、本実施例の装置は、多値で入力
された文字線画像、写真画像の混在する画像に対して2
値化を行う2値化回路11と、2値化された画像に対して
孤立点除去を行う孤立点除去回路12と、孤立点除去を行
った画像に対して輪郭を抽出する輪郭抽出回路13と、2
値画像と輪郭画像をM×N画素のブロックで扱い、M×
N画素内に存在する2値の黒画素の数と輪郭抽出された
画素との比により文字領域と中間調領域を識別する領域
判定回路14とを有している。孤立点除去回路12および輪
郭抽出回路13の入力部には、3ラインずつ並列に順次入
力画像を取り込むためのラインメモリ15,16が設けら
れ、また領域判定回路14の入力部には、5ラインずつ並
列に順次画像を取り込むためのラインメモリ17が設けら
れている。さらに、本実施例の装置は、入力画像を文字
画像とみなして、全て文字画像の属性に適した処理を行
い、処理結果を画像切替回路20に供給する文字処理回路
18と、入力画像を中間調画像とみなして、全て中間調画
像の属性に適した処理を行い、処理結果を画像切替回路
20に供給する中間調処理回路19と、領域判定回路14の出
力に基づきそれぞれの画像の属性に適した画像を切り替
えて出力する画像切替回路20とを備えている。
As shown in FIG. 8, the apparatus according to the present embodiment performs two-dimensional processing on an image in which a character line image and a photographic image are input in a multi-valued manner.
A binarizing circuit 11 for performing binarization, an isolated point removing circuit 12 for removing an isolated point from the binarized image, and a contour extracting circuit 13 for extracting a contour from the image from which the isolated point has been removed And 2
The value image and the contour image are treated as a block of M × N pixels,
An area determination circuit 14 for identifying a character area and a halftone area based on the ratio of the number of binary black pixels existing in N pixels to the contour-extracted pixels is provided. The input units of the isolated point removal circuit 12 and the contour extraction circuit 13 are provided with line memories 15 and 16 for sequentially taking in the input image in three lines at a time, and the input unit of the area determination circuit 14 has five lines. A line memory 17 for taking in images sequentially in parallel is provided. Further, the apparatus according to the present embodiment regards the input image as a character image, performs processing suitable for all attributes of the character image, and supplies the processing result to the image switching circuit 20.
18 and the input image is regarded as a halftone image, and all processes suitable for the attributes of the halftone image are performed.
The image processing apparatus includes a halftone processing circuit 19 to be supplied to the image processing circuit 20 and an image switching circuit 20 for switching and outputting an image suitable for the attribute of each image based on the output of the area determination circuit 14.

孤立点除去回路は第9図(a)(b)に示すように4
連結もしくは8連結のマスクパターンにより孤立点を除
去する。ここでは一例として1ドットの孤立点除去のマ
スクパターンを示す。4連結の場合の孤立点除去回路構
成の一例を第10図に示す。第10図に示すように、ライン
メモリ151,152およびラッチ回路21〜24により着目画素
の上下左右の隣接画素の値を取り出し、論理和回路(OR
回路)25に入力し、ラッチ路22の出力である着目画素の
値とOR回路25の出力を論理関回路(AND回路)26に入力
し、着目画素の上下左右の隣接画素がすべて白画素であ
るとき、着目画素の値に係わらずAND回路26の出力を白
画素値とするよう構成されている。
As shown in FIGS. 9 (a) and 9 (b),
An isolated point is removed by a connected or 8-connected mask pattern. Here, a mask pattern for removing one dot isolated point is shown as an example. FIG. 10 shows an example of an isolated point removing circuit configuration in the case of four connections. As shown in FIG. 10, the line memory 15 1, 15 2 and the latch circuit 21 to 24 retrieves the value of the upper, lower, left and right adjacent pixels of the pixel of interest, the OR circuit (OR
Circuit) 25, and the value of the pixel of interest, which is the output of the latch path 22, and the output of the OR circuit 25 are input to the logic-related circuit (AND circuit) 26. At one time, the output of the AND circuit 26 is set to a white pixel value regardless of the value of the pixel of interest.

輪郭検出は3ライン分のデータを参照することによ
り、簡単な論理演算で抽出することができる。輪郭検出
回路構成の一例を第11図に示す。
Contour detection can be extracted by a simple logical operation by referring to data for three lines. FIG. 11 shows an example of the configuration of the contour detection circuit.

第11図において、画像を走査して順次出力される2値
化されたデータが入力され、走査線の2ライン分をライ
ンメモリ161,162に記憶することによって、ラインメモ
リ161の出力を注目画素出力bとするとき、ラインメモ
リ162から注目画素の1ライン前の対応画素(上方向の
隣接画素)cを出力し、入力データを注目画素の1ライ
ン後の対応画素(下方向の隣接画素)aとして出力す
る。また、ラインメモリ161の出力からラッチ30,31を用
いて注目画素eと1画素前の隣接画素dと1画素後の隣
接画素fとを出力する。
In FIG. 11, binarized data sequentially output by scanning an image is input, and two scan lines are stored in the line memories 16 1 and 16 2 , whereby the output of the line memory 16 1 is output. when the target pixel output b, outputs c (adjacent pixels upward) 1 line before the corresponding pixel of the target pixel from the line memory 16 2, the corresponding pixel (downward after one line of the target pixel input data Is output as an adjacent pixel a). Also outputs a pixel of interest e and preceding pixel adjacent pixels d and neighboring pixels f after one pixel by using the latch 30, 31 from the output of the line memory 16 1.

排他的論理和演算(EXOR)回路32により注目画素bと
下方向の隣接画素aとの排他的論理和演算を行い、その
出力gと注目画素bとの論理積演算(AND)をAND回路33
により行うことによって、画像の下側の輪郭部を表わす
信号hを得る。また、EXOR回路34により注目画素bと上
方向の隣接画素cとの排他的論理和演算を行い、その出
力iと注目画素bとの論理積演算をAND回路35により行
うことによって、上側の輪郭部を表わす信号jを得る。
信号iおよびjを論理和(OR)回路36によって混合する
ことにより画像の上下の輪郭部を表す信号kを得る。
The exclusive OR operation (EXOR) circuit 32 performs an exclusive OR operation on the target pixel b and the adjacent pixel a in the downward direction, and performs an AND operation on the output g and the target pixel b with an AND circuit 33.
, A signal h representing the lower contour portion of the image is obtained. Further, the exclusive OR operation of the pixel of interest b and the adjacent pixel c in the upward direction is performed by the EXOR circuit 34, and the AND operation of the output i and the pixel of interest b is performed by the AND circuit 35. Obtain a signal j representing the part.
The signals i and j are mixed by a logical sum (OR) circuit 36 to obtain a signal k representing the upper and lower contours of the image.

EXOR回路37により注目画素eと1画素前の隣接画素d
との排他的論理和演算を行い、その出力1と注目画素e
との論理積演算をAND回路38により行うことによって、
画像の右側部の輪郭部分を表わす信号mを得る。また、
EXOR回路39により注目画素eと左隣の隣接画素fとの排
他的論理和演算を行い、その出力nと注目画素eとの論
理積演算をAND回路40により行うことによって、左側部
の輪郭部分を表わす信号oを得る。信号mおよびoをOR
回路41によって混合することにより画像の左右の輪郭部
分を表す信号pを得る。
The EXOR circuit 37 determines the pixel of interest e and the adjacent pixel d immediately before the pixel d.
And an exclusive OR operation with the output 1 and the pixel of interest e
By performing a logical AND operation with AND circuit 38,
A signal m representing the outline on the right side of the image is obtained. Also,
The exclusive OR operation of the pixel of interest e and the adjacent pixel f on the left is performed by the EXOR circuit 39, and the AND operation of the output n and the pixel of interest e is performed by the AND circuit 40. Is obtained. OR signals m and o
The signals p representing the right and left contour portions of the image are obtained by mixing by the circuit 41.

OR回路43により画像の上下の輪郭を表す信号kと左右
の輪郭を表す信号pとの論理和演算により輪郭線を表す
信号を出力する。なお、ラッチ42は注目画素bとeとが
1画素分の時間のずれがあるので、そのタイミングの調
整を行うためのものである。画像を走査しながら順次以
上のような処理をすることによって、輪郭部を正確に求
めることができる。この輪郭検出回路は、簡単な論理演
算のみのハードウエアによる逐次処理を行うので、処理
が高速であるとともに、リアルタイムの処理が可能であ
る。
An OR circuit 43 outputs a signal representing an outline by performing a logical OR operation of a signal k representing the upper and lower contours of the image and a signal p representing the left and right contours. The latch 42 is used to adjust the timing of the pixels of interest b and e because there is a time lag of one pixel. By sequentially performing the above processing while scanning the image, the contour portion can be accurately obtained. Since this contour detection circuit performs sequential processing by hardware using only simple logical operations, the processing is fast and real-time processing is possible.

第12図に領域判定回路の構成の一例を示す。この例で
は5×5画素領域内の2値画像の画素数と輪郭画像の画
素数の比を調べ、比が2倍以上の場合は中間調領域、他
は文字領域と判定するものである。ラインメモリ171〜1
74は2値化回路11の出力から各5ライン分ずつの2値出
力を並列に取り出しデコータ45に与える。デコータ45は
入力された5ビット中の黒ビットの数の同じパターンに
対してその黒ビットの数を表す3ビットの出力に変換す
る。5×5画素カウンタ46はデコータ45の4個の出力を
ラッチし、5個目の出力が来たときに、ラッチした4個
の出力と5個目の出力を加算することにより、5×5画
素領域内の2値画像の画素数を得る。輪郭検出回路13の
出力に対しても同然に、ラインメモリ175〜178、デコー
タ47および5×5画素数カウンタ48により、5×5画素
領域内の輪郭画像の画素数を得る。得られた2値画像の
画素数と輪郭画像の画素数を比較器49により比較する。
比較器49は入力Aが入力Bより大きいとき中間調である
ことを示す判定出力を出力するものであるが、輪郭画像
の画素数出力bは、比較器49に対し、図のように1ビッ
ト分の桁を高位の方にずらして入力されているので、比
較器49の入力BはB=2bとなり、入力AはA=aとな
る。従って、a>2bのとき即ちa/bの比が2以上である
とき中間調領域と判定し、それ以外のとき2値領域と判
定する。
FIG. 12 shows an example of the configuration of the area determination circuit. In this example, the ratio between the number of pixels in the binary image and the number of pixels in the outline image in the 5 × 5 pixel area is checked. If the ratio is twice or more, the area is determined as a halftone area, and the others are determined as character areas. Line memory 17 1 -1
7 4 provides the output of the binarization circuit 11 to the decoder 45 retrieves the binary output of each respective five lines minutes in parallel. The decoder 45 converts the same pattern of the number of black bits in the input 5 bits into a 3-bit output representing the number of black bits. The 5 × 5 pixel counter 46 latches the four outputs of the decoder 45, and when the fifth output arrives, adds the latched four outputs and the fifth output to obtain a 5 × 5 pixel counter. Obtain the number of pixels of the binary image in the pixel area. Similarly to the output of the contour detection circuit 13, the line memories 175 to 178, the decoder 47 and the 5 × 5 pixel number counter 48 obtain the number of pixels of the contour image in the 5 × 5 pixel area. The number of pixels of the obtained binary image is compared with the number of pixels of the contour image by the comparator 49.
When the input A is larger than the input B, the comparator 49 outputs a determination output indicating that the image is in a half tone. The output b of the number of pixels of the contour image is 1 bit as shown in FIG. Since the minute digits are input shifted to the higher order, the input B of the comparator 49 is B = 2b, and the input A is A = a. Therefore, when a> 2b, that is, when the ratio of a / b is 2 or more, it is determined to be a halftone region, and otherwise, it is determined to be a binary region.

文字処理回路18は入力された画像データを文字の特性
に応じた処理を行い、中間調処理回路19は入力された画
像データを中間調画像の特性に応じた処理を行う。
The character processing circuit 18 performs processing on the input image data according to the characteristics of the characters, and the halftone processing circuit 19 performs processing on the input image data according to the characteristics of the halftone image.

画像切替回路20は、領域判定回路14の出力に基づき文
字処理回路18、中間調処理回路19の出力を切り替えて出
力し、それぞれの領域に適合した処理のなされた合成画
像を出力する。
The image switching circuit 20 switches and outputs the outputs of the character processing circuit 18 and the halftone processing circuit 19 based on the output of the area determination circuit 14, and outputs a composite image that has been processed according to each area.

(発明の効果) 本発明によれば、文字線画像、中間調画像の混在した
文書画像に対して2値領域と中間調領域の識別が可能と
なる。処理はすべて2値データで行うためハード構成が
簡略化されるとともに、動作速度が高速となり、リアル
タイム処理が可能になる。
(Effect of the Invention) According to the present invention, it is possible to identify a binary area and a halftone area in a document image in which a character line image and a halftone image are mixed. Since all processing is performed using binary data, the hardware configuration is simplified, the operating speed is increased, and real-time processing becomes possible.

さらに、本発明によれば、従来誤認していた中間調領
域のエッジ領域も正確に識別でき、また網点画像にも対
処できるため、高画質の再現が可能になる。
Further, according to the present invention, the edge region of the halftone region, which has conventionally been erroneously recognized, can be accurately identified, and a halftone image can be dealt with.

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

第1図は本発明の基本的な構成を示すブロック図であ
る。 第2図は文字画像の濃度特性、2値特性を表す図であ
る。 第3図は写真画像の濃度特性、2値特性を表す図であ
る。 第4図は網点画像の濃度特性、2値特性を表す図であ
る。 第5図(a)は2値化した文字画像、(b)は2値化し
た文字画像に対して孤立点除去および輪郭抽出処理を施
こした後の文字画像をそれぞれ示す図である。 第6図は(a)は2値化した写真画像、(b)は2値化
した写真画像に対して孤立点除去および輪郭抽出処理を
施こした後の写真画像をそれぞれ示す図である。 第7図は(a)は2値化した網点画像、(b)は2値化
した網点画像に対して孤立点除去および輪郭抽出処理を
施こした後の網点画像をそれぞれ示す図である。 第8図は本発明の一実施例の概略の構成を示すブロック
図である。 第9図(a)は8連結の孤立点除去のマスクパターンの
例、(b)は8連結の孤立点除去のマスクパターンの例
を示す図である。 第10図は孤立点除去回路の構成の一例を示す図である。 第11図は輪郭検出回路の構成の一例を示す図である。 第12図は領域判定回路の構成の一例を示す図である。 1……2値化手段、2……孤立点除去手段、3……輪郭
抽出手段、4……領域判定手段。
FIG. 1 is a block diagram showing a basic configuration of the present invention. FIG. 2 is a diagram showing density characteristics and binary characteristics of a character image. FIG. 3 is a diagram showing density characteristics and binary characteristics of a photographic image. FIG. 4 is a diagram illustrating density characteristics and binary characteristics of a halftone dot image. FIG. 5 (a) is a diagram showing a binarized character image, and FIG. 5 (b) is a diagram showing a binarized character image after performing isolated point removal and contour extraction processing. FIG. 6 (a) is a diagram showing a binarized photographic image, and FIG. 6 (b) is a diagram showing a photographic image after performing an isolated point removal and contour extraction process on the binarized photographic image. 7A is a diagram showing a binarized halftone dot image, and FIG. 7B is a diagram showing a halftone dot image after subjecting the binarized halftone image to isolated point removal and contour extraction processing. It is. FIG. 8 is a block diagram showing a schematic configuration of one embodiment of the present invention. FIG. 9A is a diagram showing an example of a mask pattern for removing eight connected isolated points, and FIG. 9B is a diagram showing an example of a mask pattern for removing eight connected isolated points. FIG. 10 is a diagram showing an example of a configuration of an isolated point removing circuit. FIG. 11 is a diagram showing an example of the configuration of the contour detection circuit. FIG. 12 is a diagram showing an example of the configuration of the area determination circuit. 1 ... binarization means, 2 ... isolated point removal means, 3 ... contour extraction means, 4 ... area determination means.

フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06T 7/40 H04N 1/40Continuation of the front page (58) Field surveyed (Int.Cl. 6 , DB name) G06T 7/40 H04N 1/40

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】文字線画像および写真画像が混在する画像
に対して2値化を行う2値化手段と、 2値化された画像に対して孤立点除去を行う孤立点除去
手段と、 孤立点除去を行った画像に対して輪郭を抽出する輪郭抽
出手段と、 2値画像と輪郭画像をM×N画素のブロックで扱い、M
×N画素内に存在する2値の黒画素の数と輪郭抽出され
た画素との比により文字領域と中間調領域を識別する領
域判定手段と を備えたことを特徴とする画像領域識別装置。
A binarizing means for binarizing an image in which a character line image and a photographic image are mixed; an isolated point removing means for removing an isolated point from the binarized image; A contour extracting means for extracting a contour from the image from which the points have been removed; a binary image and a contour image are treated as blocks of M × N pixels;
An image area identification apparatus, comprising: area determination means for identifying a character area and a halftone area based on a ratio of the number of binary black pixels existing in × N pixels to the pixels whose contour has been extracted.
JP1041870A 1989-02-23 1989-02-23 Image area identification device Expired - Lifetime JP2853140B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1041870A JP2853140B2 (en) 1989-02-23 1989-02-23 Image area identification device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1041870A JP2853140B2 (en) 1989-02-23 1989-02-23 Image area identification device

Publications (2)

Publication Number Publication Date
JPH02222074A JPH02222074A (en) 1990-09-04
JP2853140B2 true JP2853140B2 (en) 1999-02-03

Family

ID=12620296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1041870A Expired - Lifetime JP2853140B2 (en) 1989-02-23 1989-02-23 Image area identification device

Country Status (1)

Country Link
JP (1) JP2853140B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5754708A (en) * 1994-11-16 1998-05-19 Mita Industrial Co. Ltd. Dotted image area detecting apparatus and dotted image area detecting method

Also Published As

Publication number Publication date
JPH02222074A (en) 1990-09-04

Similar Documents

Publication Publication Date Title
US4656665A (en) Thresholding technique for graphics images using histogram analysis
JPH029270A (en) Picture processing device
JPH05227425A (en) Improvement in automatic image segmentation
JP3088010B2 (en) Line drawing separation method and apparatus
JPS62172867A (en) Picture processor
JPH0879517A (en) Method for identifying type of image
JP2853140B2 (en) Image area identification device
JP2874592B2 (en) Image processing device for distinguishing text / photo / dot area
JPH10108012A (en) Image area separating device
JP2507948B2 (en) Image area identification device
JP2800199B2 (en) Image area identification device
JP2853141B2 (en) Image area identification device
JP2674083B2 (en) Image area identification device
JP3020293B2 (en) Attribute determination method
JP3210378B2 (en) Image input device
JPH06152947A (en) Image processor
JP2700352B2 (en) Background noise removal binarization processing device
JPS61157158A (en) Picture processing device
JPS6180964A (en) Picture signal processing method
JPH03153167A (en) Character area separation system
JPS61125683A (en) Picture processor
JPH0561677B2 (en)
JPH0630265A (en) Image processor
JPS63182972A (en) Binarization processor
JPH0486156A (en) Picture binarizing method