JP3157861B2 - Area division method - Google Patents

Area division method

Info

Publication number
JP3157861B2
JP3157861B2 JP22835191A JP22835191A JP3157861B2 JP 3157861 B2 JP3157861 B2 JP 3157861B2 JP 22835191 A JP22835191 A JP 22835191A JP 22835191 A JP22835191 A JP 22835191A JP 3157861 B2 JP3157861 B2 JP 3157861B2
Authority
JP
Japan
Prior art keywords
area
halftone
rectangle
image
region
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
JP22835191A
Other languages
Japanese (ja)
Other versions
JPH05130396A (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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP22835191A priority Critical patent/JP3157861B2/en
Priority to US07/928,012 priority patent/US5381241A/en
Priority to DE69226314T priority patent/DE69226314D1/en
Priority to EP92113760A priority patent/EP0527488B1/en
Publication of JPH05130396A publication Critical patent/JPH05130396A/en
Application granted granted Critical
Publication of JP3157861B2 publication Critical patent/JP3157861B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、写真、図形画像等の
中間領域の領域分割方法に係り、特に複写機、ファクシ
ミリ、OCR等、セットされた原稿を画像として読み取
る機器において、写真、図形画像等の中間調領域が存在
する場合に当該領域と文字領域とを分割し、別個の処理
を行うための領域分割方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for dividing an intermediate area of a photograph, a graphic image, or the like, and particularly to an apparatus for reading a set original as an image, such as a copying machine, a facsimile, and an OCR. The present invention relates to an area dividing method for dividing an area such as a halftone area and a character area when the halftone area exists and performing separate processing.

【0002】[0002]

【従来の技術】従来、中間調領域を分割する方法として
は、画像を2値化し輝度値の高い部分を中間調領域、輝
度値の低い部分を文字領域として処理する方法が存在し
ている。しかしながら、この方法では、比較的輝度値の
低い黒っぽい写真等において文字領域と同等の処理が施
され、立体感のない、平板な処理が行われることがあっ
た。
2. Description of the Related Art Conventionally, as a method of dividing a halftone region, there is a method of binarizing an image and processing a portion having a high luminance value as a halftone region and a portion having a low luminance value as a character region. However, in this method, a process similar to that of a character area is performed on a blackish photograph or the like having a relatively low luminance value, and a flat process without a three-dimensional effect may be performed.

【0003】[0003]

【発明が解決しようとする課題】この発明は、このよう
な従来の問題点を解消すべく創案されたもので、中間調
の輝度値を有する写真、図形等の領域を確実に抽出し得
る領域分割方法を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in order to solve such a conventional problem, and is intended to reliably extract a region such as a photograph or a figure having a halftone luminance value. It is intended to provide a division method.

【0004】[0004]

【課題を解決する手段】この発明に係る領域分割方法
は、所定コンボリューション内の輝度値の差と、上限、
下限値に基づいて中間調画素を抽出するものである。こ
の発明に係る領域分割方法によれば、中間調領域を確実
に抽出し得る。
An area dividing method according to the present invention comprises the steps of: calculating a difference between luminance values within a predetermined convolution;
The halftone pixel is extracted based on the lower limit value. According to the area dividing method according to the present invention, the halftone area can be reliably extracted.

【0005】[0005]

【実施例】次にこの発明に係る領域分割方法の1実施例
を図面に基づいて説明する。図1のフローチャートにお
いて、まず原稿をスキャナ等の入力手段から読取り(ス
テップ1−1)、適当なサイズに縮小するステップ(1
−2)。このサイズ縮小により、ディザ画像の濃淡化が
行われ、ディザ化された写真についても中間調領域をし
ての処理が実行される。また以後の処理に要するメモリ
容量を節減でき、平滑化によるノイズ除去の効果も得ら
れる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of an area dividing method according to the present invention will be described with reference to the drawings. In the flowchart of FIG. 1, first, a document is read from an input means such as a scanner (step 1-1), and the document is reduced to an appropriate size (1).
-2). With this size reduction, the dither image is shaded, and the dithered photograph is also processed as a halftone area. Further, the memory capacity required for the subsequent processing can be reduced, and the effect of noise removal by smoothing can be obtained.

【0006】ここに縮小率としては400dots/i
nchで入力された画像では寸法比1/8(50dot
s/inch)以下を採用したときに、65線程度のデ
ィザ画像の濃淡化を確実に実行でき、実用上1/16
(25dots/inch)程度が好ましい。そして縮
小に際して、原画像の一定サイズの領域を1個の画素で
代表することが一般に行われるが、画像全体の濃淡情報
を最大限に保存するという意味でその領域の平均濃度を
代表画素に与える。
Here, the reduction rate is 400 dots / i.
For images input with nch, the size ratio is 1/8 (50 dots)
s / inch) or less, the dither image of about 65 lines can be reliably shaded, and practically 1/16
(25 dots / inch) is preferable. At the time of reduction, a region of a fixed size of the original image is generally represented by one pixel, but the average density of the region is given to the representative pixel in the sense of maximally storing the density information of the entire image. .

【0007】この縮小画像を2値化し(ステップ1−
3)、膨張、収縮の処理により中間調領域の周辺におけ
る領域の切り分けが明瞭に行われるようにする(ステッ
プ1−4)。写真の近傍に添えられる解説等の文字は写
真の領域に属するものと判断される可能性があり、その
場合文字に対し中間調の処理が実行されて文字がぼやけ
ることになる。そこで高輝度を優先する膨張を行ってこ
のような文字領域を消去し、さらに収縮して元の領域サ
イズに戻す。これによって低輝度の写真領域が明確に分
離される。このとき図形融合によるグループ減少、ノイ
ズ除去の効果も得られる。
The reduced image is binarized (step 1-
3) The region around the halftone region is clearly separated by expansion and contraction processing (step 1-4). There is a possibility that characters such as commentary attached to the vicinity of the photograph may be determined to belong to the region of the photograph. In this case, halftone processing is performed on the character, and the character is blurred. Therefore, such a character area is erased by performing expansion giving priority to high luminance, and further contracted to return to the original area size. This clearly separates the low-luminance photographic areas. At this time, the effect of group reduction and noise removal by the graphic fusion can be obtained.

【0008】次にステップ1−2で得られた縮小画像の
3×3コンボリューションごとに中央画素が中間調画素
か否かの判断を行う(ステップ1−5〜1−8)。中間
調画素か否かは、その画素の濃度のみでなく、濃度分布
をも考慮する必要があるため、コンボリューション処理
が必要である。ステップ1−5においては、コンボリュ
ーション内の画素の最大輝度と最小輝度の差、すなわち
輝度差が所定値以下か否かを判断する。図5、図6に示
すように、写真等の中間調領域は輝度変化が穏やかであ
り、輝度差は有力な指標となる。
Next, it is determined whether or not the center pixel is a halftone pixel for each 3 × 3 convolution of the reduced image obtained in step 1-2 (steps 1-5 to 1-8). Since it is necessary to consider not only the density of the pixel but also the density distribution as to whether or not the pixel is a halftone pixel, a convolution process is necessary. In step 1-5, it is determined whether or not the difference between the maximum luminance and the minimum luminance of the pixels in the convolution, that is, the luminance difference is equal to or less than a predetermined value. As shown in FIGS. 5 and 6, a halftone area such as a photograph has a gentle change in luminance, and the luminance difference is a powerful index.

【0009】ステップ1−6、1−7においては輝度分
布の上限、下限をそれぞれ評価する。すなわち上限が所
定値以上であるコンボリューションの中央画素を中間調
画素から除外し、背景の白い領域を除去する。また下限
が所定値以下であるコンボリューションの中央画素を中
間調領域から除外し、大きな黒い文字の領域などを排除
する。ステップ1−5〜1−7の条件に合致した画素の
みが中間調画素として抽出され(ステップ1−8)、続
いてステップ1−4で得られた2値画像の各領域ごとに
中間調画素をカウントする。この領域の全画素数に対し
このカンウト値の割合が所定値以上の単位領域が中間調
候補領域とされる(ステップ1−9)。
In steps 1-6 and 1-7, the upper and lower limits of the luminance distribution are evaluated, respectively. That is, the center pixel of the convolution whose upper limit is equal to or more than the predetermined value is excluded from the halftone pixels, and the white area of the background is removed. Also, the central pixel of the convolution whose lower limit is equal to or less than a predetermined value is excluded from the halftone area, and a large black character area and the like are excluded. Only pixels that meet the conditions of steps 1-5 to 1-7 are extracted as halftone pixels (step 1-8), and then, for each region of the binary image obtained in step 1-4, halftone pixels Count. A unit area in which the ratio of the count value to the total number of pixels in this area is equal to or greater than a predetermined value is determined as a halftone candidate area (step 1-9).

【0010】次に写真、図形等の中間調領域と判断され
た領域(図2(a)(b)(c))について、当該領域
に外接する最小の長方形を生成する(ステップ1−1
0)(図3(A)(B)(C))。このように、長方形
単位で領域を取り扱うことにより、高速のメモリコント
ロールが容易となり、全体の処理を高速化し得る。次に
ステップ1−10で生成された長方形の隣接する2辺の
サイズを求め、各々が所定値以下か否かを判断する(ス
テップ1−11)。ここでは、1辺のサイズが所定値以
下であれば、通常の写真、図形等のサイズとしては余り
に小さすぎるとしてそれらを排除し、ステップ1−10
に戻る。なお、領域の縦横のプロポーションが異常な値
であるときに中間調領域から除外するという処理も適宜
採用し得る。
Next, for a region (FIGS. 2A, 2B, and 2C) determined as a halftone region such as a photograph or a figure, a minimum rectangle circumscribing the region is generated (step 1-1).
0) (FIGS. 3A, 3B, and 3C). In this way, by handling the area in units of rectangles, high-speed memory control is facilitated, and the overall processing can be speeded up. Next, the sizes of two adjacent sides of the rectangle generated in step 1-10 are obtained, and it is determined whether each of them is equal to or smaller than a predetermined value (step 1-11). Here, if the size of one side is equal to or less than a predetermined value, it is determined that the size of a normal photograph, figure, or the like is too small, and is excluded.
Return to It should be noted that a process of excluding a region from the halftone region when the vertical and horizontal proportions of the region are abnormal values may be appropriately adopted.

【0011】ステップ1−12では、長方形が複数個存
在する場合に、それら長方形がお互いに部分的に重複す
るか否かを判定する。図3に示すように長方形(A)及
び(B)は部分的に重複している。この場合、ステップ
1−13で両長方形を統合して長方形(D)とする。こ
れは、通常、お互いの長方形が重複するぐらい隣接して
いる中間調領域は、同一写真、図形等と判断する方が、
当該領域を漏れなくとらえられるからであり、また、こ
れによって領域分割が単純下され、処理が高速化される
とともに美しい処理結果が得られるからである。複数の
長方形が部分的に重複しなくなるまでステップ1−12
からの処理が繰り返され、重複がなくなればステップ1
−14に至る。
In step 1-12, when there are a plurality of rectangles, it is determined whether the rectangles partially overlap each other. As shown in FIG. 3, rectangles (A) and (B) partially overlap. In this case, in step 1-13, both rectangles are integrated to form a rectangle (D). This is because it is usually better to judge halftone areas that are adjacent to each other so that rectangles overlap each other as the same photo, figure, etc.
This is because the region can be caught without omission, and the region can be simply divided, thereby speeding up the processing and obtaining a beautiful processing result. Steps 1-12 until a plurality of rectangles no longer overlap
Is repeated, and if duplication is eliminated, step 1
-14.

【0012】ステップ1−14では、分割された全ての
長方形について写真、図形等の特徴画素面積を求め、そ
の面積値が所定値以下か否かを判断する。ここで、面積
値が所定値以上であれば、処理は終了する。なお、分割
された長方形において写真、図形等の特徴画素の面積が
所定値より小さいことが判明した場合は、例えば図8の
ように写真、図形等が配置されている可能性がる。その
場合は、例えば使用者にその旨の注意を促し、分割処理
を解消することが好ましい(ステップ1−15)。これ
により、写真、図形画像等の中間調領域を文字及び背景
からなる画像領域から確実に分割することが可能とな
る。
In step 1-14, the characteristic pixel areas of photographs, figures, etc. are obtained for all the divided rectangles, and it is determined whether or not the area value is equal to or smaller than a predetermined value. Here, if the area value is equal to or larger than the predetermined value, the process ends. If it is found that the area of the feature pixel such as a photograph or a figure in the divided rectangle is smaller than a predetermined value, there is a possibility that the photograph, the figure or the like is arranged as shown in FIG. In this case, for example, it is preferable to alert the user to that effect and eliminate the division process (step 1-15). As a result, it is possible to reliably divide a halftone area such as a photograph or a graphic image from an image area composed of characters and a background.

【0013】[0013]

【発明の効果】以上のように本発明によれば、セットさ
れた原稿を画像として読み取る複写機等において、写
真、図形画像等の中間調領域が存在する場合に当該領域
を文字及び背景からなる画像領域から確実に分割し得る
という効果を有する。
As described above, according to the present invention, when a halftone area such as a photograph or a graphic image exists in a copying machine or the like that reads a set original as an image, the area is composed of characters and a background. This has the effect that the image can be reliably divided from the image area.

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

【図1】本発明の1実施例を示すステップ1−1からス
テップ1−8のフローチャートである。
FIG. 1 is a flowchart of steps 1-1 to 1-8 showing one embodiment of the present invention.

【図2】写真部分とされた領域を示す概念図である。FIG. 2 is a conceptual diagram showing an area defined as a photograph portion.

【図3】長方形を説明するための図である。FIG. 3 is a diagram for explaining a rectangle.

【図4】重複する長方形の統合を説明する図である。FIG. 4 is a diagram illustrating the integration of overlapping rectangles.

【図5】文字及び背景からなる画像の輝度分布を示す概
念図である。
FIG. 5 is a conceptual diagram illustrating a luminance distribution of an image including a character and a background.

【図6】写真、図形等のからなる画像の輝度分布を示す
概念図である。
FIG. 6 is a conceptual diagram illustrating a luminance distribution of an image including a photograph, a figure, and the like.

【図7】上限値及び下限値を説明する概念図である。FIG. 7 is a conceptual diagram illustrating an upper limit and a lower limit.

【図8】写真、図形等が特殊に配置された場合の長方形
を示す概念図である。
FIG. 8 is a conceptual diagram showing a rectangle when a photograph, a figure, and the like are specially arranged.

【図9】ステップ1−9からステップ1−15のフロー
チャートである。
FIG. 9 is a flowchart of steps 1-9 to 1-15.

フロントページの続き (72)発明者 猪田 嗣郎 大阪市阿倍野区長池町22番22号 シャー プ株式会社内 (56)参考文献 特開 平2−84879(JP,A) 特開 平3−16380(JP,A) 特開 平3−141774(JP,A) 特開 平4−356869(JP,A) 特開 昭64−61170(JP,A) 特開 昭56−116182(JP,A) 特開 平1−168167(JP,A)Continuation of front page (72) Inventor Shiro Inoda 22-22, Nagaike-cho, Abeno-ku, Osaka-shi Inside Sharpe Co., Ltd. (56) References JP-A-2-84879 (JP, A) JP-A-3-16380 (JP, A) JP-A-3-141774 (JP, A) JP-A-4-356869 (JP, A) JP-A-64-61170 (JP, A) JP-A-56-116182 (JP, A) JP-A-1 −168167 (JP, A)

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像に対して2値化処理を行い、背景画
像領域ではない各領域を定めるステップと、上記画像に
おける、縦横所定画素数の所定コンボリューション内の
輝度値の差が所定値以下であり、かつ当該コンボリュー
ション内の最大輝度値が所定値以下、最小輝度値が所定
値以上であるとき、当該コンボリューション内の中央画
素を中間調画素とするステップと、上記画像の上記各領
域毎に、当該領域内に含まれる上記中間調画素の個数を
計数し、当該領域内の構成画素数に対する、上記中間調
画素の個数の割合が所定値以上である領域を中間調領域
とするステップとを含むことを特徴とする領域分割方
法。
An image is subjected to a binarization process to obtain a background image.
Defining each area that is not an image area;
Within a given convolution of a given number of pixels vertically and horizontally
The difference between the brightness values is equal to or less than a predetermined value and the convolution
The maximum luminance value in the application is less than the specified value, and the minimum luminance value is specified.
Value is greater than or equal to
Making the pixel a halftone pixel;
For each area, the number of the halftone pixels included in the area is
Counting, and the above halftone with respect to the number of constituent pixels in the area.
A region where the ratio of the number of pixels is equal to or greater than a predetermined value is a halftone region.
A region dividing method characterized by including the following steps:
Law.
【請求項2】 画像を縮小し、縮小画像について上記
中間調画素の抽出を行うことを特徴とする、請求項1に
記載の領域分割方法。
Wherein a reduced image, and performs the extraction of the halftone pixel on the reduced image, the area dividing method according to claim 1.
【請求項3】 上記2値化処理の後、画像の膨張および
収縮処理を行って、背景画像領域ではない各領域を定め
ることにより、該各領域周辺の文字領域を該各領域から
除外することを特徴とする、請求項1に記載の領域分割
方法。
3. The method according to claim 2, wherein after the binarization processing, the image is expanded and
Perform contraction processing to determine each area that is not a background image area
By doing so, the character area around each area is
2. The method according to claim 1, wherein the area is excluded .
【請求項4】 相隣接する中間調領域を統合した図形に
外接する最小の長方形を1個の中間調領域とみなすこと
を特徴とする、請求項1に記載の領域分割方法。
4. The area dividing method according to claim 1, wherein a minimum rectangle circumscribing a figure obtained by integrating adjacent halftone areas is regarded as one halftone area.
【請求項5】 複数の長方形が部分的に重複するとき
に、これらの長方形を統合した図形に外接する最小の
方形を1個の中間調領域とみなすことを特徴とする、請
求項4に記載の領域分割方法。
When 5. A plurality of rectangular partially overlapping, the minimum length that circumscribes these rectangles was integrated graphic
5. The area dividing method according to claim 4, wherein the rectangle is regarded as one halftone area.
【請求項6】 長方形の少なくとも一辺が所定値以下の
ときに、この長方形は中間調領域ではないものとみなす
ことを特徴とする、請求項4または5に記載の領域分割
方法。
6. The method according to claim 4, wherein when at least one side of the rectangle is equal to or smaller than a predetermined value, the rectangle is regarded as not being a halftone region.
【請求項7】 長方形の縦横のプロポーションが所定値
から外れたときに、この長方形は中間調領域ではないも
のとみなすことを特徴とする、請求項4または5に記載
の領域分割方法。
7. The area dividing method according to claim 4, wherein when the vertical and horizontal proportions of the rectangle deviate from predetermined values, the rectangle is regarded as not a halftone area.
JP22835191A 1991-08-13 1991-08-13 Area division method Expired - Fee Related JP3157861B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP22835191A JP3157861B2 (en) 1991-08-13 1991-08-13 Area division method
US07/928,012 US5381241A (en) 1991-08-13 1992-08-11 Method for discriminating between figure and text areas of an image
DE69226314T DE69226314D1 (en) 1991-08-13 1992-08-12 Area classification method for an image
EP92113760A EP0527488B1 (en) 1991-08-13 1992-08-12 Area classification method of an image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22835191A JP3157861B2 (en) 1991-08-13 1991-08-13 Area division method

Publications (2)

Publication Number Publication Date
JPH05130396A JPH05130396A (en) 1993-05-25
JP3157861B2 true JP3157861B2 (en) 2001-04-16

Family

ID=16875105

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22835191A Expired - Fee Related JP3157861B2 (en) 1991-08-13 1991-08-13 Area division method

Country Status (1)

Country Link
JP (1) JP3157861B2 (en)

Also Published As

Publication number Publication date
JPH05130396A (en) 1993-05-25

Similar Documents

Publication Publication Date Title
JP2702928B2 (en) Image input device
US5065437A (en) Identification and segmentation of finely textured and solid regions of binary images
JP2000175038A (en) Image binary processing system on area basis
EP0527488B1 (en) Area classification method of an image
JP3568732B2 (en) Image processing device
JP3157861B2 (en) Area division method
JP3100383B2 (en) Character region separation method and apparatus
JP2784278B2 (en) Image scaling processor
JPH0730752A (en) Image area discriminating device
JP3997696B2 (en) Apparatus, method and recording medium for image processing
JPH07118002B2 (en) Image processing device
JP4742632B2 (en) Image processing apparatus, image processing method, and program
JP3615440B2 (en) Edge extraction method and image processing method
JP2000030050A (en) Picture processor, its method, and recording medium having recorded picture processing program thereon
JP3326309B2 (en) Image processing device
JP3007102B2 (en) Image processing device
JP4027016B2 (en) Image processing apparatus, image processing method, and storage medium
JPS60136476A (en) Picture processor
JPH05292312A (en) Dot area separator
JPH1098613A (en) Picture processor
JPH03219774A (en) Picture processor
JP3020293B2 (en) Attribute determination method
JP3157860B2 (en) How to extract figure area of manuscript
JP3147246B2 (en) Image processing apparatus and method
JPH07254981A (en) Data managing device for image magnifying processor

Legal Events

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

Free format text: PAYMENT UNTIL: 20080209

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090209

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees