JPH02274173A - Character separating device - Google Patents
Character separating deviceInfo
- Publication number
- JPH02274173A JPH02274173A JP1097185A JP9718589A JPH02274173A JP H02274173 A JPH02274173 A JP H02274173A JP 1097185 A JP1097185 A JP 1097185A JP 9718589 A JP9718589 A JP 9718589A JP H02274173 A JPH02274173 A JP H02274173A
- Authority
- JP
- Japan
- Prior art keywords
- processing section
- character
- picture element
- area
- processing
- 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.)
- Pending
Links
- 238000009499 grossing Methods 0.000 claims abstract description 12
- 238000000926 separation method Methods 0.000 claims description 8
- 239000000203 mixture Substances 0.000 abstract description 3
- 238000000034 method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 3
- 230000004069 differentiation Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 241000422842 Chamaecyparis pisifera Species 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
Landscapes
- Character Input (AREA)
- Facsimile Image Signal Circuits (AREA)
- Image Analysis (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、デジタル多階調画像から網点上における文字
領域を抽出する文字分離装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a character separation device that extracts character areas on halftone dots from a digital multi-tone image.
文書画像には、網点と文字が混在していることが多い。 Document images often contain a mixture of halftone dots and characters.
そして1文字や線は必ずしも白地上に存在せず、第6図
に示す例のように網点上に文字や線が存在することが少
なくない。A single character or line does not necessarily exist on a white background, but often a character or line exists on a halftone dot, as shown in the example shown in FIG.
このような文書画像をデジタルコピアで再生する場合1
画質向上のために、網点領域のモアレを除去し、また文
字や線を鮮明に再生する(切れ切れにしない)ような処
理を施すことが好ましいが、そのためには文字領域(第
6図の例において、破線内の文字とその周囲の数ドツト
幅の領域)を網点領域から分離抽出する必要がある。When reproducing such document images with a digital copier 1
In order to improve image quality, it is preferable to remove moiré in the halftone dot area and to reproduce characters and lines clearly (without cutting them). In this case, it is necessary to separate and extract the characters within the broken line and the surrounding area several dots wide from the halftone dot area.
従来、このような分離の方法は、網点の性質を利用して
網点領域を抽出する方法と1文字の性質を利用して文字
領域を抽出する方法とに大別される。Conventionally, such separation methods are broadly classified into methods of extracting halftone dot areas using the properties of halftone dots and methods of extracting character areas using the properties of a single character.
前者の例は特開昭60−80365号公報に述べられて
おり、これは網点画素をパターンマツチングによって検
出し、網点画素が存在する成る大きさのマスク内を網点
領域とする。The former example is described in Japanese Patent Laid-Open No. 60-80365, in which halftone dot pixels are detected by pattern matching, and a halftone dot area is defined within a mask of a size in which the halftone dot pixels exist.
後者の例は論文「デイザ法におけるモアレの除去処理」
(佐原;第2回ノンインパクトプリンティング技術シ
ンポジウム論文集、3−4.1985、pP、69−7
2)に述べられている。これでは、網点エツジを消去す
るため、まず入力データを平滑化し、平滑化データをエ
ツジ強調してから2値化し、閾値の高い部分を文字領域
であると判定する。An example of the latter is the paper "Moiré removal process using dither method"
(Sawara; Proceedings of the 2nd Non-Impact Printing Technology Symposium, 3-4.1985, pP, 69-7
2). In this case, in order to erase halftone dot edges, input data is first smoothed, edges of the smoothed data are emphasized, and then binarized, and portions with high threshold values are determined to be character areas.
しかし、上記従来技術によれば、白地上に存在する文字
の分離については問題がないが、網点上の文字は網点の
近くにあるため、文字領域が網点の中に埋もれてしまい
精度よく分離できない。また上記論文に述べられた方法
においては1文字のエツジのみを高精度に抽出するパラ
メータ設定が困難であるため、網点のエツジも一部立っ
てしまう結果、網点領域を文字領域と誤判定することが
ある。However, according to the above-mentioned conventional technology, there is no problem in separating characters existing on a white background, but since the characters on the halftone dots are located near the halftone dots, the character area is buried in the halftone dots, resulting in poor accuracy. Cannot be separated well. In addition, in the method described in the above paper, it is difficult to set parameters to extract only the edges of a single character with high precision, so some of the edges of halftone dots also stand up, resulting in misidentification of halftone dot areas as character areas. There are things to do.
したがって、本発明の目的は、網点上の文字領域を精度
良く分離するための文字分離装置を提供することである
。SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a character separation device for accurately separating character areas on halftone dots.
第1図は本発明の一実施例を示す概略ブロック図である
。1は平滑化処理部、2および3はエツジ画素抽出のた
めの微分処理部および2値化処理部、4はエツジ画素計
数および判定を行う計数処理部である。FIG. 1 is a schematic block diagram showing one embodiment of the present invention. 1 is a smoothing processing section, 2 and 3 are differential processing sections and binarization processing sections for extracting edge pixels, and 4 is a counting processing section for counting and determining edge pixels.
平滑化処理部1はデジタル多階調入力画像(文字と網点
が混在した文書画像等)に、例えばの3X3の平滑化フ
ィルタをかける。kの値は1から10程度の範囲に選ば
れるが、これは対象画像の文字の級数、網点の線数や面
積率、画像読取りに使用されるスキャナの特性等に応じ
て決定される。The smoothing processing unit 1 applies, for example, a 3×3 smoothing filter to a digital multi-tone input image (such as a document image containing a mixture of characters and halftone dots). The value of k is selected in the range of about 1 to 10, and is determined depending on the character series of the target image, the number and area ratio of halftone dots, the characteristics of the scanner used to read the image, etc.
微分処理部2は例えば
の3×3のラプラシアンフィルタを平滑化画像にかける
ことにより、微分処理を行う。The differential processing unit 2 performs differential processing by applying, for example, a 3×3 Laplacian filter to the smoothed image.
2値化処理部3は、微分処理部2による微分処理画像を
特定レベルthlで2値化する。この2値化処理によっ
て有効となった画素、すなわちth1以上のレベルの画
素はエツジ画素である。The binarization processing unit 3 binarizes the differentially processed image by the differentiation processing unit 2 at a specific level thl. Pixels made valid by this binarization process, that is, pixels with a level of th1 or higher, are edge pixels.
計数処理部4においては、抽出されたエツジ画素を、予
め定めたNXNのブロックを単位として計数し、その計
数値Pによって文字領域と網点領域の判定を行う。In the counting processing section 4, the extracted edge pixels are counted in units of predetermined NXN blocks, and based on the counted value P, a character area and a halftone dot area are determined.
すなわち、1画素ずつの処理の場合には、計数値Pがあ
る値th2以上となったときに、注目ブロックの中心画
素を文字領域とし、そうでなければ網点領域とする。That is, in the case of processing one pixel at a time, when the count value P exceeds a certain value th2, the center pixel of the block of interest is set as a character area, otherwise it is set as a halftone dot area.
あるいはブロック単位の処理とすることも可能であり、
この場合には、計数値Pがth2以上となったブロック
全体の画素を文字領域とし、そうでないブロック全体の
画素を網点領域とする。Alternatively, it is also possible to process in blocks,
In this case, the pixels of the entire block where the count value P is equal to or greater than th2 are defined as a character area, and the pixels of the entire block where this is not the case are defined as a halftone dot area.
このような処理によれば、前の処理において網点エツジ
画素を一部誤抽出しても、網点エツジ画素は密度が小さ
いため除去できる。また、文字の一部にかすれがあって
も、その周囲をエツジとして抽出すれば、かすれ部分も
文字領域として判定できる。According to such processing, even if some of the halftone edge pixels are erroneously extracted in the previous processing, the halftone edge pixels can be removed because they have a low density. Furthermore, even if a part of a character is faded, if the area around it is extracted as an edge, the faded part can be determined as a character area.
なお、N、thl、th2はパラメータ設定のための実
験によって適切な値に決められる。Note that N, thl, and th2 are determined to appropriate values through experiments for parameter setting.
第2図は上述の文字分離処理のアルゴリズムのフローチ
ャートである。なお、平滑化や微分のためのフィルタを
3×3のフィルタとしているので。FIG. 2 is a flowchart of the algorithm for the above-mentioned character separation process. Note that the filter for smoothing and differentiation is a 3x3 filter.
処理の初めに3ラインの画像データをセットするように
なっている。Three lines of image data are set at the beginning of processing.
第3図に本発明を適用したデジタルコピアの両信号処理
系の一例を示す。再生画像がモノクロームであれば、こ
の画信号処理系への入力画信号は原稿の輝度信号である
が、これはRGB信号より生成された輝度信号でもよい
。再生画像がカラーであれば、色分解されて読み取られ
た原稿のRGB信号、またはその色補正後のYMC信号
が入力し、各色信号別に輝度信号と同様に処理されるこ
とになる。FIG. 3 shows an example of both signal processing systems of a digital copier to which the present invention is applied. If the reproduced image is monochrome, the image signal input to this image signal processing system is the luminance signal of the document, but this may also be a luminance signal generated from RGB signals. If the reproduced image is in color, the RGB signals of the color-separated and read document or the YMC signals after color correction are input, and each color signal is processed in the same way as the luminance signal.
第3図において、入力画信号はバッファ12に蓄積され
るとともに、平滑化部12によって平滑化される。この
平滑化部12は、第1図における文字分離のための平滑
化処理部1の役目と、網点のデイザ化によるモアレの発
生を防止するための前処理部の役目とを兼ねている。In FIG. 3, the input image signal is accumulated in a buffer 12 and smoothed by a smoothing section 12. This smoothing section 12 serves both as the smoothing processing section 1 for character separation in FIG. 1 and as a preprocessing section for preventing the occurrence of moiré due to dithering of halftone dots.
平滑化画信号はバッファ13に蓄積されるとともに網点
/文字領域判定部14に入力する。この網点/文字領域
判定部14は第1微分処理部2.2値化処理部3および
計数処理部4に対応する処理部分であり、その判定出力
信号はマルチプレクサ15の制御信号となる。The smoothed image signal is accumulated in the buffer 13 and is input to the halftone/character area determining section 14. This halftone/character area determination section 14 is a processing section corresponding to the first differential processing section 2 , the binarization processing section 3 , and the counting processing section 4 , and its determination output signal becomes a control signal for the multiplexer 15 .
網点領域処理部16は、バッファ13より入力する平滑
化画信号にデイザ処理を施す部分である。The halftone area processing section 16 is a section that performs dither processing on the smoothed image signal inputted from the buffer 13.
ここでは階調性を重視し、渦巻き型のデイザマトリック
スを使用する。このようなデイザマトリックスの例を第
4図に示す。Here, we emphasize gradation and use a spiral dither matrix. An example of such a dither matrix is shown in FIG.
文字領域処理部17はバッファ11より入力する画信号
(外部からの入力画信号)に、鮮鋭化処理はを施し、次
にデイザ処理を施す。鮮鋭化処理は例えば
のようなフィルタをかけることによって行う。デイザ処
理は、解像度を重視したベイヤー(B ayer)型の
デイザマトリックスを使用する。その−例を第5図に示
す。The character area processing section 17 performs sharpening processing on the image signal input from the buffer 11 (input image signal from the outside), and then performs dither processing. The sharpening process is performed by applying a filter such as the one shown below. The dither processing uses a Bayer type dither matrix that emphasizes resolution. An example thereof is shown in FIG.
マルチプレクサ15は、網点/文字領域判定部14の判
定出力が網点領域を示すときに網点領域処理部16から
入力する画信号を出力画信号とし、その判定出力が文字
領域を示すときに文字領域処理部17より入力する画信
号を出力画信号とする。The multiplexer 15 outputs an image signal inputted from the halftone area processing section 16 when the judgment output of the halftone/character area judgment section 14 indicates a halftone dot area, and outputs an image signal inputted from the halftone dot area processing section 16 when the judgment output of the halftone dot/character area judgment section 14 indicates a text area. The image signal input from the character area processing section 17 is used as an output image signal.
ここで、文字領域とは文字とその範囲の数ドツト幅の範
囲(第6図の破線の内部)である。Here, the character area is a character and its range several dots wide (inside the broken line in FIG. 6).
かくして、網点領域のモアレを除去し、かつ文字領域の
文字や線が鮮明で切れ切れにならない画像の再生が可能
である。カラーの場合も、各色信号毎に同様の処理が行
われるので、再生画像の画質を向上できる。In this way, it is possible to remove moiré in the halftone dot area and reproduce an image in which the characters and lines in the character area are clear and unbroken. In the case of color, similar processing is performed for each color signal, so the quality of the reproduced image can be improved.
以上に説明したように、本発明によれば、白地上の文字
は勿論のこと、網点上の文字も網点と高精度に分離する
ことができるため、例えばディジタルコピアにおいて1
文字領域と網点領域にそれぞれ最適な処理を施し再生画
像の画質を向上できる。As explained above, according to the present invention, not only characters on a white background but also characters on halftone dots can be separated from the halftone dots with high precision.
The image quality of the reproduced image can be improved by applying optimal processing to the text area and halftone area.
第1図は本発明の文字分離装置の一例の概略ブロック図
、第2図は文字分離処理のアルゴリズムを示すフローチ
ャート、第3図は本発明が適用されたデジタルコピアの
画信号処理系の概略ブロック図、第4図および第5図は
デイザマトリックスの例を示す図、第6図は文字領域の
説明図である。
1・・・平滑化処理部、 2・・・微分処理部、3・・
・2値化処理部、 4・・・計数処理部、2・・・平滑
化部、 11.13・・・バッファ、4・・・網点/
文字領域判定部、
5・・・マルチプレクサ、
6・・網点領域処理部、
7・・文字領域処理部。
書 ・・・・ ・― o#hFig. 1 is a schematic block diagram of an example of a character separation device of the present invention, Fig. 2 is a flowchart showing an algorithm for character separation processing, and Fig. 3 is a schematic block diagram of an image signal processing system of a digital copier to which the present invention is applied. 4 and 5 are diagrams showing examples of dither matrices, and FIG. 6 is an explanatory diagram of a character area. 1... Smoothing processing section, 2... Differential processing section, 3...
・Binarization processing section, 4... Counting processing section, 2... Smoothing section, 11.13... Buffer, 4... Halftone dot/
Character area determination section, 5...Multiplexer, 6. Halftone area processing section, 7. Character area processing section. Book... ・―― o#h
Claims (1)
による平滑化画像よりエッジ画素を抽出する手段と、該
手段により抽出されたエッジ画素を計数し、その計数値
が所定値を越えた領域を文字領域と判定する手段とを有
することを特徴とする、網点上の文字領域を抽出する文
字分離装置。(1) A means for smoothing a digital multi-tone image, a means for extracting edge pixels from the smoothed image by the means, and a means for counting the edge pixels extracted by the means, and the count value exceeding a predetermined value. 1. A character separation device for extracting a character area on a halftone dot, comprising means for determining a character area on a halftone dot.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1097185A JPH02274173A (en) | 1989-04-17 | 1989-04-17 | Character separating device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1097185A JPH02274173A (en) | 1989-04-17 | 1989-04-17 | Character separating device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02274173A true JPH02274173A (en) | 1990-11-08 |
Family
ID=14185525
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1097185A Pending JPH02274173A (en) | 1989-04-17 | 1989-04-17 | Character separating device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02274173A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04342080A (en) * | 1991-05-17 | 1992-11-27 | Dainippon Screen Mfg Co Ltd | Method for processing picture area division |
US7190833B2 (en) | 2001-09-05 | 2007-03-13 | Hitachi, Ltd. | Mobile device and transmission system |
US7627192B2 (en) | 2004-07-07 | 2009-12-01 | Brother Kogyo Kabushiki Kaisha | Differentiating half tone areas and edge areas in image processing |
JP2013211772A (en) * | 2012-03-30 | 2013-10-10 | Brother Ind Ltd | Image processing device and program |
-
1989
- 1989-04-17 JP JP1097185A patent/JPH02274173A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04342080A (en) * | 1991-05-17 | 1992-11-27 | Dainippon Screen Mfg Co Ltd | Method for processing picture area division |
US7190833B2 (en) | 2001-09-05 | 2007-03-13 | Hitachi, Ltd. | Mobile device and transmission system |
US7627192B2 (en) | 2004-07-07 | 2009-12-01 | Brother Kogyo Kabushiki Kaisha | Differentiating half tone areas and edge areas in image processing |
JP2013211772A (en) * | 2012-03-30 | 2013-10-10 | Brother Ind Ltd | Image processing device and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0810774A2 (en) | Detection and rendering of text in halftone tinted areas | |
JPH0435167A (en) | Line picture separation system | |
JPH02274173A (en) | Character separating device | |
JP3100383B2 (en) | Character region separation method and apparatus | |
JPH03276966A (en) | Dot area separator | |
JPH02110677A (en) | System for detecting edge part of color image | |
JPH02274174A (en) | Picture signal processor | |
JP3007102B2 (en) | Image processing device | |
JP2507948B2 (en) | Image area identification device | |
JPH05292312A (en) | Dot area separator | |
JPH05344330A (en) | Picture area discriminating device | |
JP2647458B2 (en) | Halftone dot area separation device | |
JP2777378B2 (en) | Halftone area detection method | |
JPH05130406A (en) | Color picture processor | |
JPH0385061A (en) | Character area separate system | |
JPH06150059A (en) | Image area separator | |
JPH0382269A (en) | Character region separation system | |
JPH03213057A (en) | Picture area identifying device | |
JP2004112280A (en) | Image processing apparatus | |
JPH03153167A (en) | Character area separation system | |
JPH02292956A (en) | Separating method for dot area | |
JPH04339471A (en) | Device for identifying image area | |
JPH03219774A (en) | Picture processor | |
JPH03133261A (en) | Character area separation system | |
JP3161715B2 (en) | Character area judgment device |