JP3336046B2 - Image area separation device - Google Patents

Image area separation device

Info

Publication number
JP3336046B2
JP3336046B2 JP30549292A JP30549292A JP3336046B2 JP 3336046 B2 JP3336046 B2 JP 3336046B2 JP 30549292 A JP30549292 A JP 30549292A JP 30549292 A JP30549292 A JP 30549292A JP 3336046 B2 JP3336046 B2 JP 3336046B2
Authority
JP
Japan
Prior art keywords
area
pixel
pattern
white
detecting
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 - Fee Related
Application number
JP30549292A
Other languages
Japanese (ja)
Other versions
JPH06150059A (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.)
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)

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 separating apparatus for separating a character area with high precision.

【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 divided into image areas and adaptively divided into two.
In the case of performing the binarization processing, generally, an “image area separation method for a mixed image of characters / patterns (dots, photographs)” (Transactions of the Institute of Electronics, Information and Communication Engineers, Vol.
47, January 1992), the text area and the picture area are separated, for example, MTF correction is applied to the text area, then binarized with a fixed threshold, and the dither processing is applied to the picture area. Alternatively, binarization processing by the error diffusion method is performed to achieve both character resolution and picture gradation.

【0003】[0003]

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

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

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

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

【0007】本発明の目的は、格子パターンおよび線の
密集部を文字領域として判定することによって分離精度
を向上させた像域分離装置を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an image area separating apparatus 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記載の発明では、画像の注目画素がエッジ
領域であるか否かを検出する第1の検出手段と、前記注
目画素が網点領域であるか否かを検出する第2の検出手
段と、前記注目画素が棒状領域であるか否かを検出する
第3の検出手段と、前記第1の検出手段がエッジ領域を
検出し、前記第2、第3の検出手段がそれぞれ網点領域
と棒状領域を検出しないとき、前記注目画素を文字領域
と判定し、前記第3の検出手段が棒状領域を検出したと
き、前記第1、第2の検出手段の検出結果に関わらず前
記注目画素を文字領域と判定する判定手段とを備えたこ
を特徴としている。
In order to achieve the above object, according to the first aspect of the present invention, a target pixel of an image has an edge.
First detecting means for detecting whether the area is an area or not;
Second detection means for detecting whether or not the eye pixel is a halftone dot area
And detecting whether the target pixel is a bar-shaped region.
Third detecting means and the first detecting means detect an edge area.
And the second and third detecting means respectively detect a halftone area.
When the bar-shaped area is not detected, the target pixel is set to the character area.
And that the third detection means has detected the rod-shaped region.
Irrespective of the detection results of the first and second detection means.
Determining means for determining the target pixel as a character area;
It is characterized by.

【0009】請求項2記載の発明では、画像の注目画素
がエッジ領域であるか否かを検出する第1の検出手段
と、前記注目画素が白地領域であるか否かを検出する第
4の検出手段と、前記注目画素が棒状領域であるか否か
を検出する第3の検出手段と、前記第1、第4の検出手
段がそれぞれエッジ領域と白地領域を検出し、前記第3
の検出手段が棒状領域を検出しないとき、前記注目画素
を文字領域と判定し、前記第3の検出手段が棒状領域を
検出したとき、前記第1、第4の検出手段の検出結果に
関わらず前記注目画素を文字領域と判定する判定手段と
を備えたことを特徴としている。
According to the second aspect of the present invention, a pixel of interest of an image
Detecting means for detecting whether or not is an edge area
And a second step for detecting whether or not the pixel of interest is a white background area.
4 means for detecting whether the pixel of interest is a bar-shaped area
Detecting means for detecting the first and fourth detection means,
The step detects an edge area and a white background area, respectively, and
When the detecting means does not detect the rod-shaped area, the target pixel
Is determined to be a character region, and the third detection means
When detecting, the detection results of the first and fourth detecting means
Determining means for determining the pixel of interest as a character area regardless of
It is characterized by having.

【0010】[0010]

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

【0011】[0011]

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

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

【0013】図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. A continuous portion of white pixels and a continuous portion of black pixels matching these patterns are detected, and the AND circuit 14 outputs a portion where both pixels exist as an edge region.

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

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

【0016】そして、前述したように、このようなピー
ク画素に、「格子パターン」や「密集した線」がマッチ
ングしてしまう場合が多い。
As described above, a "lattice pattern" or a "dense line" often matches such a peak pixel.

【0017】〈棒状領域検出部〉 棒状領域検出部の詳細を説明する前に、まず、実験的な
事実について説明する。400dpi、6ビットのスキ
ャナ(例えば、モノクロの輝度信号、カラーのグリーン
信号)で、文書画像を読み取った場合、図7(a),
(b),(c),(d)に示すような棒状パターン(1
画素幅の棒状パターン)は絵柄(写真、網点)の中に出
現することは少ない。
<Rod Region Detection Unit> Before describing the details of the rod region 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, a color green signal), FIG.
A bar-shaped pattern (1) as shown in (b), (c), and (d)
(A bar-shaped pattern with a pixel width) rarely appears in a picture (photograph, halftone dot).

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

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

【0020】ところで、図7の縦横棒状パターンや図8
の「+」字パターンにマッチングする写真や網点原稿と
は、例えば、絵柄中において「白看板に書かれた記号」
のような、白地上の縦横の棒であり、従って、本来文字
処理したい個所である。
The vertical and horizontal bar patterns shown in FIG.
A photograph or a halftone dot document that matches the "+" character pattern is, for example, a "sign written on a white signboard" in a picture.
Is a vertical and horizontal bar on a white background, and is therefore a place where character processing is originally desired.

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

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

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

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

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

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

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

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

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

【0030】この検出部としては、例えば、本出願人が
先に提案した(特願平3−35752号)ものを用い
る。図14は、白地領域検出部5の第1の実施例の構成
を示す。白地領域とは、注目画素の近傍に、所定の大き
さ(1×5または5×1)の白画素の塊が存在する領域
をいう。
As the detection unit, for example, the detection unit 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 is an area where a cluster of white pixels of a predetermined size (1 × 5 or 5 × 1) exists near the target pixel.

【0031】入力画像信号を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 image signal is binarized to white / non-white by a predetermined threshold value by a binarization circuit 52, and is input to a white pixel block pattern matching circuit 53. . FIG. 15 shows a white pixel block pattern 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 pixel of interest by pattern matching.
When matching with the pattern shown in FIG. 15, the target pixel is set as the active pixel. The expansion circuit 54 counts the number of active pixels in, for example, a 5 × 5 block centered on the target pixel from the output of the white pixel block pattern matching circuit 53, and if there is at least one active pixel in the block, The entire block is determined and output as a white background area.

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

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

【0034】前述したように、白地(白画素の塊)の定
義(上記した例では、5×1あるいは1×5で説明して
いるが、実際には更に大きなサイズのマスクを準備しな
ければならない可能性がある)によっては、「格子パタ
ーン」や「密集した線」がマッチングしてしまう。
As described above, the definition of the white background (cluster of white pixels) (in the above example, the explanation is made with 5 × 1 or 1 × 5, but in practice, unless a larger mask is prepared) Depending on the situation, the “grating pattern” or “dense line” may be matched.

【0035】〈総合判定部〉 総合判定部4では、各画素について次の3つの検出結果 エッジ領域検出部におけるエッジ(1)/非エッジ
(0) 白地領域検出部における白地(1)/非白地(0) 棒状領域検出部における棒状(1)/非棒状(0) を基に、注目画素の属性(文字領域/絵柄領域)を判定
する。
<Comprehensive Judgment Unit> In the overall 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 (1) / non-white background in the white area detection unit (0) The attribute (character area / picture area) of the pixel of interest is determined based on the rod shape (1) / non-rod shape (0) in the rod-shaped region detection section.

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

【0037】[0037]

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

【0038】本発明によれば、棒状パターン、「+」字
パターンなどのパターンを用いたパターンマッチングに
よって、確実に文字領域であるという情報を得て、その
情報を優先し、他の情報を利用していないので、高精度
の文字領域分離が可能となる。
According to the present invention , by performing pattern matching using a pattern such as a bar-shaped pattern or a "+" character pattern, information that a character area is definitely obtained, the information is given priority, and other information is used. As a result, character area separation with high precision is possible.

【0039】本発明によれば、確実に文字領域であると
いう情報が得られたときには、網点分離の情報を利用し
ていないので、網点領域検出部によって分離できない個
所(つまり格子状の線、線の密集した部分)をカバーす
ることができ、精度の良い分離が可能となる。
According to the present invention , when the information of the character area is surely obtained, the information of the halftone dot separation is not used. , Dense lines) can be covered, and accurate separation can be achieved.

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

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

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

【図2】エッジ領域検出部のブロック構成図である。FIG. 2 is a block diagram illustrating a configuration 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 a peak pixel.

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

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

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

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

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

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

【図13】本発明の他の実施例のブロック構成図であ
る。
FIG. 13 is a block diagram of 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 white pixel block pattern in which all 1 × 5 or 5 × 1 are white pixels.

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

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

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

【図19】網点領域と誤判定される格子状のパターン例
である。
FIG. 19 is an example of a grid-like pattern that is erroneously determined to be a 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 lattice pattern that is erroneously determined to have no white background, FIG. 21B is an example of a dense pattern of lines that are erroneously determined to have no white background, and FIG. This is a white background pattern.

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

1 エッジ領域検出部 2 網点領域検出部 3 棒状領域検出部 4 総合判定部 5 白地領域検出部 DESCRIPTION OF SYMBOLS 1 Edge area | region detection part 2 Halftone dot area | region detection part 3 Rod-shaped area | region detection part 4 Comprehensive judgment part 5 White background area detection part

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

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像の注目画素がエッジ領域であるか否
かを検出する第1の検出手段と、前記注目画素が網点領
域であるか否かを検出する第2の検出手段と、前記注目
画素が棒状領域であるか否かを検出する第3の検出手段
と、前記第1の検出手段がエッジ領域を検出し、前記第
2、第3の検出手段がそれぞれ網点領域と棒状領域を検
出しないとき、前記注目画素を文字領域と判定し、前記
第3の検出手段が棒状領域を検出したとき、前記第1、
第2の検出手段の検出結果に関わらず前記注目画素を文
字領域と判定する判定手段とを備えたことを特徴とする
像域分離装置。
2. A method according to claim 1, wherein said pixel of interest is an edge area.
First detecting means for detecting whether the pixel of interest is a halftone dot
Second detection means for detecting whether or not the area is
Third detection means for detecting whether or not a pixel is a bar-shaped area
The first detecting means detects an edge area, and
Second and third detecting means detect the dot area and the bar area, respectively.
If not, the target pixel is determined to be a character area,
When the third detecting means detects the rod-shaped area, the first,
The target pixel is sentenced regardless of the detection result of the second detection means.
Determining means for determining a character area
Image area separation device.
【請求項2】 画像の注目画素がエッジ領域であるか否
かを検出する第1の検出手段と、前記注目画素が白地領
域であるか否かを検出する第4の検出手段と、前記注目
画素が棒状領域であるか否かを検出する第3の検出手段
と、前記第1、第4の検出手段がそれぞれエッジ領域と
白地領域を検出し、前記第3の検出手段が棒状領域を検
出しないとき、前記注目画素を文字領域と判定し、前記
第3の検出手段が棒状領域を検出したとき、前記第1、
第4の検出手段の検出結果に関わらず前記注目画素を文
字領域と判定する判定手段とを備えたことを特徴とする
像域分離装置。
2. Whether or not a pixel of interest in an image is an edge area
First detecting means for detecting whether the target pixel is a white background area.
A fourth detecting means for detecting whether or not the area is
Third detection means for detecting whether or not a pixel is a bar-shaped area
And the first and fourth detecting means are respectively an edge area and
The white area is detected, and the third detecting means detects the rod-shaped area.
If not, the target pixel is determined to be a character area,
When the third detecting means detects the rod-shaped area, the first,
Regardless of the detection result of the fourth detection means, the pixel of interest is
Determining means for determining a character area
Image area separation device.
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 JPH06150059A (en) 1994-05-31
JP3336046B2 true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3568732B2 (en) 1997-04-18 2004-09-22 シャープ株式会社 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
CN1184796C (en) 2001-07-26 2005-01-12 佳能株式会社 Image processing method and equipment, image processing system and storage medium

Also Published As

Publication number Publication date
JPH06150059A (en) 1994-05-31

Similar Documents

Publication Publication Date Title
JP4396324B2 (en) Method for determining halftone area and computer program
US6389163B1 (en) Method and apparatus for automatic image segmentation using template matching filters
JP3097785B2 (en) Image processing device
US7411699B2 (en) Method and apparatus to enhance digital image quality
JP3088010B2 (en) Line drawing separation method and apparatus
KR100524072B1 (en) Method for improving image quality
JPH05328121A (en) Method and device for picture processing
US7145694B2 (en) Image processing apparatus and method
JP3336046B2 (en) Image area separation device
JP3100383B2 (en) Character region separation method and apparatus
JP3118469B2 (en) Image area separation device
JP3142279B2 (en) Halftone dot area separation device
JP3073837B2 (en) Image region separation device and image region separation method
JPH0721313A (en) Image processor
JPH0818785A (en) Image output device
JP7413751B2 (en) Image processing systems and programs
JP3251119B2 (en) Image processing device
JP3245586B2 (en) Pole pixel detection device
JPH0490082A (en) Device for detecting character direction in document
JP2507948B2 (en) Image area identification device
JP2853141B2 (en) Image area identification device
JP2853140B2 (en) Image area identification device
JP2789647B2 (en) Line image recognition method
JP3115301B2 (en) Halftone dot area separation method and apparatus
JP3281400B2 (en) Image playback device

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