JPH06150059A - Image area separator - Google Patents

Image area separator

Info

Publication number
JPH06150059A
JPH06150059A JP4305492A JP30549292A JPH06150059A JP H06150059 A JPH06150059 A JP H06150059A JP 4305492 A JP4305492 A JP 4305492A JP 30549292 A JP30549292 A JP 30549292A JP H06150059 A JPH06150059 A JP H06150059A
Authority
JP
Japan
Prior art keywords
area
pixel
pattern
separation device
image area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4305492A
Other languages
Japanese (ja)
Other versions
JP3336046B2 (en
Inventor
Satoshi Ouchi
敏 大内
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP30549292A priority Critical patent/JP3336046B2/en
Publication of JPH06150059A publication Critical patent/JPH06150059A/en
Application granted granted Critical
Publication of JP3336046B2 publication Critical patent/JP3336046B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To improve separating accuracy by judging the concentrated part of lattice patterns and lines as a character area. CONSTITUTION:An edge area detection part 1 detects parts, where white picture elements are continued and black picture elements are continued, and outputs a place, where both of those parts are existent, as an edge area. A dot area detection part 2 detects peak picture elements and outputs an area, where these picture elements exist with a prescribed density or more, as a dot area. A bar-shaped area detection part 3 detects bar-shaped patterns such as '¦', '-'and '+' by performing pattern matching. When the bar-shaped pattern is detected, a general judge part 4 judges the noticed picture element as a character area regardless of the other detected results.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、文字領域を高精度に分
離する像域分離装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image area separation device for separating character areas with high accuracy.

【0002】[0002]

【従来の技術】従来から画像を像域分離して適応的に2
値化処理を行う場合、一般的には、「文字/絵柄(網
点、写真)混在画像の像域分離方式」(電子情報通信学
会論文誌Vol.J75−DI1 No.1 pp39−
47 1992年1月を参照)に記載されているよう
に、文字領域と絵柄領域を分離して、例えば文字領域に
はMTF補正をした後、固定閾値で2値化し、絵柄領域
にはディザ処理あるいは誤差拡散法による2値化処理を
施し、文字の解像度と絵柄の階調性を両立させている。
2. Description of the Related Art Conventionally, an image is separated into image areas and adaptively
In the case of performing the binarization process, in general, "image area separation method of mixed image of characters / pictures (dots and photographs)" (IEICE Transactions Vol. J75-DI1 No. 1 pp39-
47, January 1992), the character area and the pattern area are separated, and for example, the character area is subjected to MTF correction, then binarized with a fixed threshold, and the pattern area is dithered. Alternatively, binarization processing by the error diffusion method is performed to achieve both character resolution and pattern gradation.

【0003】[0003]

【発明が解決しようとする課題】ところで、上記した像
域分離方法では、本来文字領域として判定すべき格子状
のパターンを絵柄領域として誤判定するという欠点があ
る。すなわち、図19に示すように、格子状パターンの
「+」の部分や「□」の中心部分を網点のピーク画素
(中心画素の濃度レベルが周囲のそれよりも高い、また
は低い画素)として誤って検出し、格子パターン全域を
ピーク画素密度の高い網点領域であると誤判定して、絵
柄用の処理を施してしまう。
By the way, the above-mentioned image area separation method has a drawback that a grid-like pattern which should be originally determined as a character area is erroneously determined as a picture area. That is, as shown in FIG. 19, the “+” portion or the central portion of the “□” of the grid pattern is defined as the peak pixel of the halftone dot (pixel whose density level of the central pixel is higher or lower than that of the surrounding pixels). It is erroneously detected, and the whole area of the lattice pattern is erroneously determined to be a halftone dot area having a high peak pixel density, and the processing for the pattern is performed.

【0004】また、線が密集した図20に示す画像に対
しても(スキャナのSNにもよるが)、上記と同様な処
理が行われる。すなわち、線が密集した部分では、一本
の線がある程度一様の濃度レベルで読み取られないと、
図20の、、に示す線の尾根部分をピーク画素と
して誤って検出してしまうことがある。これによって、
このような線が密集したパターン全域をピーク画素密度
の高い網点領域であると誤判定して、絵柄用の処理を行
っている。
Further, for the image shown in FIG. 20 in which lines are densely arranged (depending on the SN of the scanner), the same processing as described above is performed. In other words, in the area where the lines are dense, if one line cannot be read at a uniform density level,
The ridge portion of the line shown in and of FIG. 20 may be erroneously detected as a peak pixel. by this,
The entire area of the pattern in which such lines are densely erroneously determined as a halftone dot area having a high peak pixel density, and processing for a pattern is performed.

【0005】さらに、本出願人は先に、エッジ検出と白
地検出とを組み合わせた像域分離装置を提案した(特願
平3−35752号)。この像域分離装置においては、
注目画素がエッジ領域であり、かつ近傍に白地が存在す
れば、注目画素を文字領域と判定するものである。
Further, the present applicant has previously proposed an image area separation device that combines edge detection and white background detection (Japanese Patent Application No. 3-35752). In this image area separation device,
If the pixel of interest is an edge area and a white background exists in the vicinity, the pixel of interest is determined to be a character area.

【0006】この装置には白地領域検出回路が設けら
れ、該回路内には図21(c)に示す白地検出用のパタ
ーンが用意されている。そして、準備する白地のパター
ンのサイズによっては(このパターンのサイズが大きけ
れば大きいほど)、上記した「格子パターン」(図21
(a))や「密集した線」(図21(b))に対して、
白地なしと判定するため、その結果として絵柄として誤
って処理してしまうという問題があった。
A white background area detection circuit is provided in this apparatus, and a white background detection pattern shown in FIG. 21C is prepared in the circuit. Then, depending on the size of the white background pattern to be prepared (the larger the size of this pattern), the above-mentioned "lattice pattern" (see FIG. 21).
(A)) and "dense lines" (Fig. 21 (b)),
Since it is determined that there is no white background, there is a problem that it is mistakenly processed as a pattern as a result.

【0007】本発明の目的は、格子パターンおよび線の
密集部を文字領域として判定することによって分離精度
を向上させた像域分離装置を提供することにある。
It is an object of the present invention to provide an image area separation device in which the accuracy of separation is improved by determining a dense portion of a grid pattern and lines as a character area.

【0008】[0008]

【課題を解決するための手段】前記目的を達成するため
に、請求項1記載の発明では、画像情報を入力する手段
と、該画像情報をディジタル多値信号に変換する手段
と、注目画素とその近傍のディジタル多値信号あるいは
2値信号から少なくとも2以上の異なる領域情報を検出
する手段と、該検出結果に基づいて該注目画素が文字領
域であるか否かを判定する手段とを備えた像域分離装置
において、前記検出手段が特定の特徴量を検出したと
き、前記判定手段は前記検出手段によって検出される他
の特徴量に係らず文字領域であると判定することを特徴
としている。
In order to achieve the above object, in the invention described in claim 1, means for inputting image information, means for converting the image information into a digital multi-valued signal, and a pixel of interest are provided. A means for detecting at least two or more different area information from a digital multi-valued signal or a binary signal in the vicinity thereof and a means for judging whether or not the pixel of interest is a character area based on the detection result are provided. In the image area separating apparatus, when the detecting unit detects a specific feature amount, the determining unit determines that it is a character area regardless of other feature amounts detected by the detecting unit.

【0009】請求項2記載の発明では、前記特定の特徴
量は、パターンマッチングを利用した局所的な形状であ
ることを特徴としている。
According to a second aspect of the present invention, the specific feature amount is a local shape using pattern matching.

【0010】請求項3記載の発明では、前記局所的な形
状は、棒状のパターンであることを特徴としている。
According to a third aspect of the invention, the local shape is a rod-shaped pattern.

【0011】請求項4記載の発明では、前記局所的な形
状は、縦方向および横方向の棒状パターンであることを
特徴としている。
According to a fourth aspect of the invention, the local shape is a bar pattern in the vertical and horizontal directions.

【0012】請求項5記載の発明では、前記局所的な形
状は、棒状パターンが縦横方向に交差したパターンであ
ることを特徴とする請求項2記載の像域分離装置。
According to a fifth aspect of the invention, the local shape is a pattern in which rod-shaped patterns intersect in the vertical and horizontal directions, and the image area separating apparatus according to the second aspect.

【0013】請求項6記載の発明では、前記他の特徴量
は、注目画素が網点領域であるか否かを表す網点領域情
報であることを特徴としている。
According to the sixth aspect of the invention, the other feature amount is halftone dot area information indicating whether or not the pixel of interest is a halftone dot area.

【0014】請求項7記載の発明では、前記網点領域情
報は、網点ドットのピークに相当する画素を検出し、該
画素の密度を基に判定される情報であることを特徴とし
ている。
According to a seventh aspect of the present invention, the halftone dot area information is information that is detected based on the density of the pixels by detecting the pixels corresponding to the peaks of the halftone dots.

【0015】請求項8記載の発明では、前記他の特徴
は、注目画素の近傍が白地領域であるか否かを表す白地
領域情報であることを特徴としている。
According to the eighth aspect of the present invention, the other feature is white background area information indicating whether or not the vicinity of the pixel of interest is a white background area.

【0016】請求項9記載の発明では、前記白地領域情
報は、所定の閾値以下の白画素の塊を検出し、注目画素
の近傍において該白画素の塊が有るか否かを表す情報で
あることを特徴としている。
In the invention according to claim 9, the white background area information is information indicating whether or not a group of white pixels equal to or smaller than a predetermined threshold is detected and whether or not there is a group of white pixels in the vicinity of the pixel of interest. It is characterized by that.

【0017】[0017]

【作用】エッジ領域検出部は、白画素の連続した個所と
黒画素の連続した個所を検出し、両者が存在する所をエ
ッジ領域として出力し、網点領域検出部は、ピーク画素
を検出し、ピーク画素が所定密度以上ある領域を網点領
域として出力し、棒状領域検出部は、パターンマッチン
グによって棒状パターンを検出する。総合判定部は、棒
状領域検出部によって棒状パターンが検出されたとき、
エッジ領域検出部と網点領域検出部の検出結果に係ら
ず、注目画素を文字領域と判定する。このように、文字
領域であるという確度の高い情報が得られたときには、
その情報を優先して利用し、他の情報を利用しないの
で、文字領域を高精度に分離できる。
The edge area detection unit detects a continuous portion of white pixels and a continuous portion of black pixels and outputs a portion where both are present as an edge area, and the halftone area detection unit detects a peak pixel. , A region having peak pixels of a predetermined density or more is output as a halftone dot region, and the rod-shaped region detection unit detects a rod-shaped pattern by pattern matching. The comprehensive determination unit, when the rod-shaped area detection unit detects the rod-shaped pattern,
Regardless of the detection results of the edge area detection unit and the halftone dot area detection unit, the pixel of interest is determined to be the character area. In this way, when information with high accuracy that it is a character area is obtained,
Since the information is preferentially used and other information is not used, the character area can be separated with high accuracy.

【0018】[0018]

【実施例】以下、本発明の一実施例を図面を用いて具体
的に説明する。図1は、本発明の第1の実施例のブロッ
ク構成図である。本発明の像域分離装置は、大きく4つ
の処理ブロックから構成されている。すなわち、エッジ
領域検出部1、網点領域検出部2、棒状領域検出部3、
そして総合判定部4からなる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a block diagram of the first embodiment of the present invention. The image area separation device of the present invention is mainly composed of four processing blocks. That is, the edge area detection unit 1, the halftone dot area detection unit 2, the rod-shaped area detection unit 3,
Then, it is composed of the comprehensive judgment unit 4.

【0019】以下、各構成要素について詳述する。 〈エッジ領域検出部〉この検出部としては、例えば前掲
した論文に記載(p42の図10を参照)の技術を用い
る。図2は、エッジ領域検出部のブロック構成図であ
る。3値化回路11では、入力画像データにエッジ強調
を施した後、2種類の固定閾値を用いて3値化する。黒
画素連続性検出部12と白画素連続性検出部13は、そ
れぞれ3値化後の黒画素および白画素が連続する領域を
パターンマッチングによって検出する。
Hereinafter, each component will be described in detail. <Edge Area Detection Unit> For this detection unit, for example, the technique described in the above-mentioned paper (see FIG. 10 on p42) is used. FIG. 2 is a block diagram of the edge area detection unit. The ternarization circuit 11 performs edge enhancement on the input image data, and then ternarizes it using two types of fixed threshold values. The black pixel continuity detecting unit 12 and the white pixel continuity detecting unit 13 detect the regions where the black pixels and the white pixels after the ternarization are continuous by pattern matching.

【0020】図3は、黒画素の連続性を検出するパター
ンであり、図4は、白画素の連続性を検出するパターン
を示す。これらパターンにマッチングした白画素の連続
した個所と黒画素の連続した個所を検出し、AND回路
14では、両者が存在する所をエッジ領域として出力す
る。
FIG. 3 shows a pattern for detecting continuity of black pixels, and FIG. 4 shows a pattern for detecting continuity of white pixels. The continuous portion of white pixels and the continuous portion of black pixels matching these patterns are detected, and the AND circuit 14 outputs the portion where both are present as an edge area.

【0021】〈網点領域検出部〉この検出部について
も、例えば前掲した論文に記載(p41の図6を参照)
の技術を用いる。図5は、網点領域検出部のブロック構
成図である。ピーク画素検出部21では、図6に示すよ
うなピーク画素を検出する。ここで、ピーク画素とは、
中心画素の濃度レベルLが周囲のすべての画素のそれよ
りも高い、あるいは低く、かつ、Lと中心画素を挾んで
対角線に存在する対画素の濃度レベルa,bが、4対と
もに、|2×L−a−b|>TH(固定の閾値)である
とき、中心画素をピーク画素とする。
<Dot Area Detection Unit> This detection unit is also described in, for example, the above-mentioned paper (see FIG. 6 on p41).
Technology of. FIG. 5 is a block diagram of the halftone dot area detection unit. The peak pixel detector 21 detects peak pixels as shown in FIG. Here, the peak pixel is
The density level L of the central pixel is higher or lower than that of all the surrounding pixels, and the density levels a and b of the diagonal pixels that are diagonally across L and the central pixel are 4 | When xL−a−b |> TH (fixed threshold value), the central pixel is set as the peak pixel.

【0022】網点領域検出回路22は、4×4画素を1
ブロックとし、4ブロックにおいて、ピーク画素を含む
ブロックが2ブロック以上存在すれば、注目ブロックを
網点候補領域として判定し、網点領域補正回路23で
は、注目ブロックを中心とした9個のブロックにおい
て、4ブロック以上が網点候補であれば(つまり、ある
程度の大きさを持って網点領域が存在している)、注目
ブロックを網点領域とし、そうでなければ注目ブロック
を非網点領域として、補正処理する。
The halftone dot area detection circuit 22 sets 4 × 4 pixels to 1
If there are two or more blocks including the peak pixel in the four blocks, the block of interest is determined as a halftone dot candidate area, and the halftone dot area correction circuit 23 selects nine blocks centered on the target block. If 4 or more blocks are halftone dot candidates (that is, a halftone dot area exists with a certain size), the target block is the halftone dot area, and if not, the target block is the non-halftone dot area. As a correction process.

【0023】そして、前述したように、このようなピー
ク画素に、「格子パターン」や「密集した線」がマッチ
ングしてしまう場合が多い。
As described above, the "lattice pattern" and the "dense lines" are often matched with such peak pixels.

【0024】〈棒状領域検出部〉棒状領域検出部の詳細
を説明する前に、まず、実験的な事実について説明す
る。400dpi、6ビットのスキャナ(例えば、モノ
クロの輝度信号、カラーのグリーン信号)で、文書画像
を読み取った場合、図7(a),(b),(c),
(d)に示すような棒状パターン(1画素幅の棒状パタ
ーン)は絵柄(写真、網点)の中に出現することは少な
い。
<Bar-Shaped Area Detection Unit> Before describing the details of the bar-shaped area detection unit, experimental facts will be described first. When a document image is read by a 400-dpi, 6-bit scanner (for example, a monochrome luminance signal and a color green signal), FIGS. 7 (a), 7 (b), 7 (c),
A rod-shaped pattern (rod-shaped pattern having a width of 1 pixel) as shown in (d) rarely appears in a picture (photograph, halftone dot).

【0025】さらに、縦方向、横方向のパターンに限定
すれば、絵柄中にマッチングすることはほとんどなくな
る。図7の棒パターン検出で特に問題となるのは、実際
には網点原稿である。しかしながら、網点は一般にある
特定のスクリーン角を持っているので、縦方向、横方向
に限定すれば、棒パターンに頻繁にマッチングするとい
う問題が非常に少なくなる。
Further, if the pattern is limited to the vertical direction and the horizontal direction, it is almost impossible to match the pattern. What is particularly problematic in the bar pattern detection of FIG. 7 is actually a halftone dot original. However, since the halftone dots generally have a certain screen angle, the problem of frequent matching with the bar pattern is greatly reduced if the halftone dots are limited to the vertical and horizontal directions.

【0026】また、同様な理由で、図8に示すような
「+」字パターンを準備すれば、線画の格子パターンの
みを検出することができ、絵柄中に誤って検出すること
がなくなる。図7の例では、5画素の長さを持つ棒パタ
ーンであるが、これを7画素や9画素のように、さらに
長い棒パターンにすることによって、絵柄中に、そのよ
うなパターンにマッチングする個所が少なくなる(ただ
し、7画素や9画素の如き長い棒パターンを準備するこ
とによってコストは上昇する)。
Further, for the same reason, if a "+" character pattern as shown in FIG. 8 is prepared, only the grid pattern of the line drawing can be detected, and it is prevented from being erroneously detected in the pattern. In the example of FIG. 7, a bar pattern having a length of 5 pixels is used. However, by making this a bar pattern having a longer length such as 7 pixels or 9 pixels, a pattern is matched with such a pattern. The number of points is reduced (however, the cost increases by preparing a long bar pattern such as 7 pixels or 9 pixels).

【0027】ところで、図7の縦横棒状パターンや図8
の「+」字パターンにマッチングする写真や網点原稿と
は、例えば、絵柄中において「白看板に書かれた記号」
のような、白地上の縦横の棒であり、従って、本来文字
処理したい個所である。
By the way, the vertical and horizontal bar patterns of FIG. 7 and FIG.
Photographs and halftone dot originals that match the "+" character pattern of are, for example, "signs written on a white sign" in the design.
It is a vertical and horizontal bar on a white background, and is therefore the place where characters should be originally processed.

【0028】以上のような背景から、本発明では、図
7、8に示すような、特に縦方向、横方向の棒パターン
に属する領域(つまり、図7、8の注目画素とその近傍
画素)については、他の情報、例えば網点領域の検出結
果に関係なく、文字領域と判定するという、考え方を基
本とするものである。
In view of the above background, in the present invention, the regions particularly belonging to the bar patterns in the vertical and horizontal directions as shown in FIGS. 7 and 8 (that is, the target pixel in FIGS. 7 and 8 and its neighboring pixels). Is based on the idea that it is determined as a character area regardless of other information, for example, the detection result of a halftone dot area.

【0029】さて、図9は、棒状領域検出部のブロック
構成図である。2値化回路31は、スキャナからの信号
を固定の閾値で2値化する。なお、前処理としてMTF
補正フィルタ(例えば、前掲した論文の図11のフィル
タ)をかけることも有効である。また、二つの異なる閾
値で3値化して、黒画素、白画素を検出することも、絵
柄中(特に写真)の誤判定を減らす効果が期待できる。
Now, FIG. 9 is a block diagram of the rod-shaped area detection unit. The binarization circuit 31 binarizes the signal from the scanner with a fixed threshold value. As a pre-treatment, MTF
It is also effective to apply a correction filter (for example, the filter shown in FIG. 11 of the above-mentioned paper). Further, it is possible to expect the effect of reducing the erroneous determination in the pattern (especially the photograph) by detecting the black pixel and the white pixel by performing the ternarization with two different thresholds.

【0030】パターンマッチング回路32では、図7
(a)の「|」パターン,(b)の「−」パターン、図
8の「+」パターン、更には図10(a)から(d)に
示すパターンを用いて棒状画素を検出する。また、これ
らパターンは、白地上の細線を検出するパターンである
が、準備するパターンの白黒を逆にすることによって、
黒べたの中の白抜き文字も検出することができる。パタ
ーンがマッチングしたとき、注目画素を棒状画素として
出力する。
In the pattern matching circuit 32, as shown in FIG.
Rod-shaped pixels are detected using the "|" pattern of (a), the "-" pattern of (b), the "+" pattern of FIG. 8, and the patterns shown in FIGS. 10 (a) to 10 (d). Also, these patterns are patterns that detect fine lines on a white background, but by reversing the black and white of the prepared pattern,
White characters in a black solid can also be detected. When the patterns match, the pixel of interest is output as a rod-shaped pixel.

【0031】膨張回路33では、上記したようにパター
ンマッチングした画素領域を、図11に示すような5×
5のマスクで膨張する。つまり、5×5のマスク内に1
個でも棒状画素があれば、注目画素を棒状画素にする。
In the expansion circuit 33, the pixel area subjected to the pattern matching as described above is converted into 5 × as shown in FIG.
Inflate with a mask of 5. That is, 1 in a 5x5 mask
If even individual rod-shaped pixels exist, the pixel of interest is made a rod-shaped pixel.

【0032】このような膨張処理が行われる理由は、パ
ターンマッチング回路32でマッチングする画素位置は
文字の背(尾根)の部分であり、実際に文字領域と判定
したい部分は文字エッジであるので、上記したような膨
張処理が必要となる。
The reason why such expansion processing is performed is that the pixel position matched by the pattern matching circuit 32 is the spine (ridge) portion of the character, and the portion to be actually determined to be the character area is the character edge. The expansion process as described above is required.

【0033】〈総合判定部〉総合判定部4では、各画素
について次の3つの検出結果 エッジ領域検出部におけるエッジ(1)/非エッジ
(0) 網点領域検出部における網点(1)/非網点(0) 棒状領域検出部における棒状(1)/非棒状(0) を基に、注目画素の属性(文字領域/絵柄領域)を判定
する。
<Comprehensive Judgment Unit> In the comprehensive judgment unit 4, the following three detection results are obtained for each pixel: edge (1) / non-edge (0) in the edge area detection unit, halftone dot (1) / in the halftone area detection unit Non-halftone dot (0) Based on the rod-like (1) / non-rod-like (0) in the rod-like area detection unit, the attribute (character area / pattern area) of the pixel of interest is determined.

【0034】図12は、判定テーブルを示す。このテー
ブルの特徴は、棒状領域検出部の検出結果が棒状であれ
ば(出力信号は1)、他の検出結果に関係なく、注目画
素を文字領域と判定している点である。
FIG. 12 shows a judgment table. The feature of this table is that if the detection result of the rod-shaped area detection unit is rod-shaped (the output signal is 1), the pixel of interest is determined to be the character area regardless of other detection results.

【0035】このように、本発明では、文字領域/絵柄
領域を判定する際に、棒状領域検出部からの確度の高い
情報を優先して用いているので、高精度に文字領域の分
離を行うことができる。
As described above, according to the present invention, when the character area / pattern area is determined, the highly accurate information from the rod-shaped area detecting portion is used with priority, so that the character area is separated with high accuracy. be able to.

【0036】図13は、本発明の他の実施例のブロック
構成図である。この実施例の像域分離装置は、前述した
実施例の網点領域検出部を、白地領域検出部5に置き換
えたもので、エッジ領域検出部と棒状領域検出部は前述
したものと同様であるので、白地領域検出部5と総合判
定部4について説明する。
FIG. 13 is a block diagram showing another embodiment of the present invention. In the image area separating apparatus of this embodiment, the halftone dot area detecting unit of the above-described embodiment is replaced with the white background area detecting unit 5, and the edge area detecting unit and the rod-like area detecting unit are the same as those described above. Therefore, the white background area detection unit 5 and the comprehensive determination unit 4 will be described.

【0037】この検出部としては、例えば、本出願人が
先に提案した(特願平3−35752号)ものを用い
る。図14は、白地領域検出部5の第1の実施例の構成
を示す。白地領域とは、注目画素の近傍に、所定の大き
さ(1×5または5×1)の白画素の塊が存在する領域
をいう。
As this detection unit, for example, the one previously proposed by the present applicant (Japanese Patent Application No. 3-35752) is used. FIG. 14 shows the configuration of the first embodiment of the white background area detection unit 5. The white background area refers to an area in which a block of white pixels having a predetermined size (1 × 5 or 5 × 1) exists near the target pixel.

【0038】入力画像信号をMTF補正回路51で鮮鋭
化処理後、2値化回路52によって、画像信号を所定の
閾値によって白/非白に2値化し、白画素塊パターンマ
ッチング回路53に入力する。図15は、1×5または
5×1が全て白画素である白画素塊のパターンを示す。
白画素塊パターンマッチング回路53では、注目画素の
近傍にある白画素の塊をパターンマッチングで検出し、
図15に示すパターンとマッチングしたときに、注目画
素をアクティブ画素とする。膨張回路54は、白画素塊
パターンマッチング回路53の出力から、注目画素を中
心とした例えば5×5のブロック内についてアクティブ
画素の個数を計数し、ブロック内に1個でもアクティブ
画素があれば、ブロック全体を白地領域として判定出力
する。
After the input image signal is sharpened by the MTF correction circuit 51, the binarization circuit 52 binarizes the image signal into white / non-white by a predetermined threshold value and inputs it to the white pixel block pattern matching circuit 53. . FIG. 15 shows a pattern of white pixel blocks in which 1 × 5 or 5 × 1 are all white pixels.
The white pixel block pattern matching circuit 53 detects a block of white pixels near the target pixel by pattern matching,
When the pattern shown in FIG. 15 is matched, the pixel of interest is set as the active pixel. From the output of the white pixel block pattern matching circuit 53, the expansion circuit 54 counts the number of active pixels in, for example, a 5 × 5 block centered on the pixel of interest, and if there is at least one active pixel in the block, The entire block is judged and output as a white background area.

【0039】図16は、白地領域検出部の第2の実施例
である。この実施例では補正回路を設けている。他の構
成は、実施例1のものと同様である。入力画像信号をM
TF補正部で鮮鋭化処理後、2値化回路によって、画像
信号を所定の閾値によって白/非白に2値化し、白画素
塊パターンマッチング回路に入力する。白画素塊パター
ンマッチング回路では、注目画素の近傍にある白画素の
塊をパターンマッチングで検出し、図15に示すパター
ンとマッチングしたときに、注目画素を仮のアクティブ
画素とする。
FIG. 16 shows a second embodiment of the white background area detecting section. In this embodiment, a correction circuit is provided. Other configurations are similar to those of the first embodiment. Input image signal is M
After the sharpening processing in the TF correction unit, the binarization circuit binarizes the image signal into white / non-white according to a predetermined threshold value, and inputs it to the white pixel block pattern matching circuit. The white pixel block pattern matching circuit detects a block of white pixels in the vicinity of the pixel of interest by pattern matching, and when matching the pattern shown in FIG. 15, sets the pixel of interest as a temporary active pixel.

【0040】白画素の塊を検出後、補正回路において、
図17に示すように、主走査方向に対して、注目画素か
らそれぞれ左右にL画素だけ離れた距離に白画素の塊
A,Bが存在する場合に、該注目画素を真のアクティブ
画素として出力する。膨張回路は、注目画素を中心とし
た例えば5×5のブロック内についてアクティブ画素の
個数を計数し、ブロック内に1個でもアクティブ画素が
あれば、ブロック全体を白地領域として判定出力する。
After detecting the cluster of white pixels, in the correction circuit,
As shown in FIG. 17, when there are clusters A and B of white pixels at a distance of L pixels left and right from the target pixel in the main scanning direction, the target pixel is output as a true active pixel. To do. The expansion circuit counts the number of active pixels in, for example, a 5 × 5 block centered on the pixel of interest, and if even one active pixel exists in the block, the entire block is determined and output as a white background area.

【0041】前述したように、白地(白画素の塊)の定
義(上記した例では、5×1あるいは1×5で説明して
いるが、実際には更に大きなサイズのマスクを準備しな
ければならない可能性がある)によっては、「格子パタ
ーン」や「密集した線」がマッチングしてしまう。
As described above, the definition of the white background (lump of white pixels) is explained as 5 × 1 or 1 × 5 in the above example, but in reality, a mask of a larger size must be prepared. In some cases, "lattice pattern" and "dense lines" will match.

【0042】〈総合判定部〉総合判定部4では、各画素
について次の3つの検出結果 エッジ領域検出部におけるエッジ(1)/非エッジ
(0) 白地領域検出部における白地(1)/非白地(0) 棒状領域検出部における棒状(1)/非棒状(0) を基に、注目画素の属性(文字領域/絵柄領域)を判定
する。
<Comprehensive Judgment Unit> In the comprehensive judgment unit 4, the following three detection results are obtained for each pixel: Edge (1) / non-edge (0) in the edge area detection unit White background (1) / non-white background in the white background area detection unit (0) Based on the rod-shaped (1) / non-rod-shaped (0) in the rod-shaped region detection unit, the attribute (character region / pattern region) of the pixel of interest is determined.

【0043】図18は、判定テーブルを示す。このテー
ブルの特徴は、先のテーブルと同様に、棒状領域検出部
の検出結果が棒状であれば(出力信号は1)、他の検出
結果に関係なく、注目画素を文字領域と判定している点
である。
FIG. 18 shows a judgment table. Similar to the previous table, the feature of this table is that if the detection result of the rod-shaped area detection unit is rod-shaped (the output signal is 1), the pixel of interest is determined to be the character area regardless of other detection results. It is a point.

【0044】[0044]

【発明の効果】以上、説明したように、請求項1記載の
発明によれば、確実に文字領域であるという情報が得ら
れたときには、その情報を優先し、他の情報を利用して
いないので、精度の良い分離を行うことができる。ま
た、局所処理によって分離しているので、小規模な回路
構成によって実現可能となる。
As described above, according to the first aspect of the present invention, when the information indicating the character area is surely obtained, the information is prioritized and other information is not used. Therefore, accurate separation can be performed. In addition, since they are separated by local processing, they can be realized by a small-scale circuit configuration.

【0045】請求項2乃至5記載の発明によれば、棒状
パターン、「+」字パターンなどのパターンを用いたパ
ターンマッチングによって、確実に文字領域であるとい
う情報を得て、その情報を優先し、他の情報を利用して
いないので、高精度の文字領域分離が可能となる。
According to the second to fifth aspects of the invention, the information that the character area is surely obtained by the pattern matching using the pattern such as the rod-shaped pattern and the "+" character pattern, and the information is prioritized. Since no other information is used, highly accurate character area separation is possible.

【0046】請求項6、7記載の発明によれば、確実に
文字領域であるという情報が得られたときには、網点分
離の情報を利用していないので、網点領域検出部によっ
て分離できない個所(つまり格子状の線、線の密集した
部分)をカバーすることができ、精度の良い分離が可能
となる。
According to the sixth and seventh aspects of the present invention, when the information indicating that the character area is surely obtained, since the information of the halftone dot separation is not used, the part which cannot be separated by the halftone dot area detecting unit. (That is, the grid-shaped lines and the densely packed lines) can be covered, and accurate separation can be achieved.

【0047】請求項8、9記載の発明によれば、確実に
文字領域であるという情報が得られたときには、白地分
離の情報を利用していないので、白地領域検出部による
分離の困難な個所(つまり格子状の線、線の密集した部
分)をカバーすることができ、精度の良い分離が可能と
なる。
According to the eighth and ninth aspects of the present invention, when the information indicating that the character area is surely obtained, the information on the white background separation is not used. (That is, the grid-shaped lines and the densely packed lines) can be covered, and accurate separation can be achieved.

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

【図1】本発明の第1の実施例のブロック構成図であ
る。
FIG. 1 is a block configuration diagram of a first embodiment of the present invention.

【図2】エッジ領域検出部のブロック構成図である。FIG. 2 is a block configuration diagram of an edge area detection unit.

【図3】黒画素の連続性を検出するパターンを示す。FIG. 3 shows a pattern for detecting continuity of black pixels.

【図4】白画素の連続性を検出するパターンを示す。FIG. 4 shows a pattern for detecting continuity of white pixels.

【図5】網点領域検出部のブロック構成図である。FIG. 5 is a block diagram of a halftone dot area detection unit.

【図6】ピーク画素を説明する図である。FIG. 6 is a diagram illustrating peak pixels.

【図7】(a),(b),(c),(d)は、棒状パタ
ーンの例である。
7 (a), (b), (c) and (d) are examples of rod-shaped patterns.

【図8】「+」字パターンの例である。FIG. 8 is an example of a “+” pattern.

【図9】棒状領域検出部のブロック構成図である。FIG. 9 is a block configuration diagram of a rod-shaped area detection unit.

【図10】(a),(b),(c),(d)は、棒状パ
ターンの他の例である。
10 (a), (b), (c) and (d) are other examples of rod-shaped patterns.

【図11】5×5の膨張マスクである。FIG. 11 is a 5 × 5 dilation mask.

【図12】第1の実施例の総合判定テーブルである。FIG. 12 is a comprehensive determination table according to the first embodiment.

【図13】本発明の他の実施例のブロック構成図であ
る。
FIG. 13 is a block diagram showing another embodiment of the present invention.

【図14】白地領域検出部の第1の実施例の構成を示
す。
FIG. 14 shows a configuration of a first embodiment of a white background area detection unit.

【図15】1×5または5×1が全て白画素である白画
素塊のパターンを示す。
FIG. 15 shows a pattern of white pixel blocks in which 1 × 5 or 5 × 1 are all white pixels.

【図16】白地領域検出部の第2の実施例である。FIG. 16 is a second example of a white background area detection unit.

【図17】注目画素から左右にL画素だけ離れた距離に
白画素の塊を検出する図である。
FIG. 17 is a diagram for detecting a cluster of white pixels at a distance of L pixels to the left and right from the target pixel.

【図18】第2の実施例の総合判定テーブルである。FIG. 18 is a comprehensive determination table according to the second embodiment.

【図19】網点領域と誤判定される格子状のパターン例
である。
FIG. 19 is an example of a grid pattern that is erroneously determined as a halftone dot area.

【図20】網点領域と誤判定される線の密集パターン例
である。
FIG. 20 is an example of a dense pattern of lines erroneously determined as a halftone dot area.

【図21】(a)は、白地なしと誤判定される格子状の
パターン例であり、(b)は、白地なしと誤判定される
線の密集パターン例であり、(c)は、準備する白地パ
ターンである。
21A is an example of a grid-like pattern that is erroneously determined to have no white background, FIG. 21B is an example of a dense pattern of lines that is erroneously determined to have no white background, and FIG. It is a white background pattern.

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

1 エッジ領域検出部 2 網点領域検出部 3 棒状領域検出部 4 総合判定部 5 白地領域検出部 1 Edge Area Detection Section 2 Halftone Area Detection Section 3 Rod Area Detection Section 4 Total Judgment Section 5 White Area Detection Section

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 画像情報を入力する手段と、該画像情報
をディジタル多値信号に変換する手段と、注目画素とそ
の近傍のディジタル多値信号あるいは2値信号から少な
くとも2以上の異なる領域情報を検出する手段と、該検
出結果に基づいて該注目画素が文字領域であるか否かを
判定する手段とを備えた像域分離装置において、前記検
出手段が特定の特徴量を検出したとき、前記判定手段は
前記検出手段によって検出される他の特徴量に係らず文
字領域であると判定することを特徴とする像域分離装
置。
1. A means for inputting image information, a means for converting the image information into a digital multi-valued signal, and at least two or more different area information from a pixel of interest and a digital multi-valued signal or a binary signal in the vicinity thereof. In an image area separating device comprising a means for detecting and a means for determining whether or not the pixel of interest is a character area based on the detection result, when the detecting means detects a specific feature amount, An image area separation device, wherein the determination means determines that the area is a character area regardless of the other characteristic amounts detected by the detection means.
【請求項2】 前記特定の特徴量は、パターンマッチン
グを利用した局所的な形状であることを特徴とする請求
項1記載の像域分離装置。
2. The image area separation device according to claim 1, wherein the specific feature amount is a local shape using pattern matching.
【請求項3】 前記局所的な形状は、棒状のパターンで
あることを特徴とする請求項2記載の像域分離装置。
3. The image area separation device according to claim 2, wherein the local shape is a rod-shaped pattern.
【請求項4】 前記局所的な形状は、縦方向および横方
向の棒状パターンであることを特徴とする請求項2記載
の像域分離装置。
4. The image area separation device according to claim 2, wherein the local shape is a bar-shaped pattern in a vertical direction and a horizontal direction.
【請求項5】 前記局所的な形状は、棒状パターンが縦
横方向に交差したパターンであることを特徴とする請求
項2記載の像域分離装置。
5. The image area separation device according to claim 2, wherein the local shape is a pattern in which rod-shaped patterns intersect in the vertical and horizontal directions.
【請求項6】 前記他の特徴量は、注目画素が網点領域
であるか否かを表す網点領域情報であることを特徴とす
る請求項1記載の像域分離装置。
6. The image area separation device according to claim 1, wherein the other feature amount is halftone dot area information indicating whether or not the pixel of interest is a halftone dot area.
【請求項7】 前記網点領域情報は、網点ドットのピー
クに相当する画素を検出し、該画素の密度を基に判定さ
れる情報であることを特徴とする請求項6記載の像域分
離装置。
7. The image area according to claim 6, wherein the halftone dot area information is information determined by detecting a pixel corresponding to a peak of a halftone dot and determining a density of the pixel. Separation device.
【請求項8】 前記他の特徴は、注目画素の近傍が白地
領域であるか否かを表す白地領域情報であることを特徴
とする請求項1記載の像域分離装置。
8. The image area separation device according to claim 1, wherein the other feature is white background area information indicating whether or not the vicinity of the pixel of interest is a white background area.
【請求項9】 前記白地領域情報は、所定の閾値以下の
白画素の塊を検出し、注目画素の近傍において該白画素
の塊が有るか否かを表す情報であることを特徴とする請
求項8記載の像域分離装置。
9. The white background area information is information indicating whether or not a group of white pixels equal to or smaller than a predetermined threshold is detected and whether or not there is a group of white pixels near a target pixel. Item 8. The image area separation device according to item 8.
JP30549292A 1992-11-16 1992-11-16 Image area separation device Expired - Fee Related JP3336046B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30549292A JP3336046B2 (en) 1992-11-16 1992-11-16 Image area separation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30549292A JP3336046B2 (en) 1992-11-16 1992-11-16 Image area separation device

Publications (2)

Publication Number Publication Date
JPH06150059A true JPH06150059A (en) 1994-05-31
JP3336046B2 JP3336046B2 (en) 2002-10-21

Family

ID=17945816

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30549292A Expired - Fee Related JP3336046B2 (en) 1992-11-16 1992-11-16 Image area separation device

Country Status (1)

Country Link
JP (1) JP3336046B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6192153B1 (en) 1997-04-18 2001-02-20 Sharp Kabushiki Kaisha Image processing device
US6681047B1 (en) 1999-05-31 2004-01-20 Ricoh Co., Ltd. Method and system for determining character edges based upon edges pair and image characteristics of pixels between the edge pair
US6760489B1 (en) 1998-04-06 2004-07-06 Seiko Epson Corporation Apparatus and method for image data interpolation and medium on which image data interpolation program is recorded
US7054485B2 (en) 2001-07-26 2006-05-30 Canon Kabushiki Kaisha Image processing method, apparatus and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6192153B1 (en) 1997-04-18 2001-02-20 Sharp Kabushiki Kaisha Image processing device
US6760489B1 (en) 1998-04-06 2004-07-06 Seiko Epson Corporation Apparatus and method for image data interpolation and medium on which image data interpolation program is recorded
US6681047B1 (en) 1999-05-31 2004-01-20 Ricoh Co., Ltd. Method and system for determining character edges based upon edges pair and image characteristics of pixels between the edge pair
US7054485B2 (en) 2001-07-26 2006-05-30 Canon Kabushiki Kaisha Image processing method, apparatus and system

Also Published As

Publication number Publication date
JP3336046B2 (en) 2002-10-21

Similar Documents

Publication Publication Date Title
US6389163B1 (en) Method and apparatus for automatic image segmentation using template matching filters
JP3097785B2 (en) Image processing device
JP4491488B2 (en) Image processing apparatus, image reading apparatus, image data output processing apparatus, and image processing method
Bhattacharjya et al. Data embedding in text for a copier system
JPH05328121A (en) Method and device for picture processing
EP1259064A1 (en) Image data compressing method and restoring method
US6775031B1 (en) Apparatus and method for processing images, image reading and image forming apparatuses equipped with the apparatus, and storage medium carrying programmed-data for processing images
JP3514050B2 (en) Image processing device
JP3336046B2 (en) Image area separation device
JP2616386B2 (en) Image processing device
JP3073837B2 (en) Image region separation device and image region separation method
JP3100383B2 (en) Character region separation method and apparatus
JP3142279B2 (en) Halftone dot area separation device
JPH0818785A (en) Image output device
JP3966448B2 (en) Image processing apparatus, image processing method, program for executing the method, and recording medium storing the program
JP7413751B2 (en) Image processing systems and programs
JP4035696B2 (en) Line segment detection apparatus and image processing apparatus
JP3245586B2 (en) Pole pixel detection device
JP3251119B2 (en) Image processing device
JPH05292312A (en) Dot area separator
JP3647213B2 (en) Image processing device
JPH05344330A (en) Picture area discriminating device
JP2972171B2 (en) Halftone area detection method
JPH05284358A (en) Picture processing unit
JP2778669B2 (en) Halftone area detection method

Legal Events

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

Free format text: PAYMENT UNTIL: 20080802

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080802

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090802

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees