JP2647458C - - Google Patents

Info

Publication number
JP2647458C
JP2647458C JP2647458C JP 2647458 C JP2647458 C JP 2647458C JP 2647458 C JP2647458 C JP 2647458C
Authority
JP
Japan
Prior art keywords
pixel
halftone
interest
halftone dot
edge density
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
Other languages
Japanese (ja)
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
Publication date

Links

Description

【発明の詳細な説明】 〔概 要〕 網点領域とその他の領域とを高い精度で分離するために、注目画素を囲む局所
領域においてエッジ密度を計測してこのエッジ密度が予め定めた閾値を超えるか
否かにより当該注目画素が網点候補画素であるか否かを判定するエッジ密度検出
部と、上記注目画素を囲む局所領域の画素情報を予め定めた網点画素判定パター
ンと比較して当該注目画素が網点候補画素であるか否かを判定するパターン比較
部と、上記エッジ密度検出部および上記パターン比較部によって網点候補画素と
判定された注目画素に対して、該注目画素の周辺領域の網点候補画素情報に基づ
いて当該注目画素の属性が網点画素であるか否かを判定する補正処理部とを網点
領域分離装置に設けた。 〔産業上の利用分野〕 網点で表現された画と文字などの線画とが混在している画像をファクシミリあ
るいは複写機などで再生する場合には、再生された画像の品質を向上するために
、網点で表現された画の領域ではモアレ除去のための平滑化処理を、また、文字
などの線画の領域では鮮鋭化処理をそれぞれ行なうことが望ましい。 また、画像を伝送する場合においても、上記のようなそれぞれの領域の特性に
応じた符号化処理を適用することによってデータ圧縮の効率を改善することがで
きる。 本発明は、このような画像処理を行なうための前処理として、網点で表現され
ている網点領域を文字領域などの他の領域と分離するための網点領域分離方式に
関する。 〔従来の技術〕 特開昭60−80365号公報には、入力した画像データをある固定された閾
値で画素ごとに2値化した後、注目画素を含む例えば5×5画素の2値化画像を
予め蓄積されている網点パターンと比較し、この網点パターンと一致する画素の
数が一定の値を超えることによって網点領域として検出するようにした領域分離
方法が記載されている。 〔発明が解決しようとする課題〕 しかしながら、このような領域分離方法においては、2値化するために固定さ
れた閾値を用いていることから、網点領域の網点率によっては網点パターンを識
別することが困難であり、また、網点のパターンが蓄積されている網点パターン
と異なっていると網点領域として検出されないことがある。 本発明は、画像中の網点領域を文字領域あるいは写真領域などの他の領域から
高い精度で分離するための網点領域分離装置を提供することを目的とする。 〔課題を解決するための手段〕 注目画素を囲む局所領域においてエッジ密度を計測してこのエッジ密度が予め
定めた閾値を超えるか否かにより当該注目画素が網点候補画素であるか否かを判
定するエッジ密度検出部と、上記注目画素を囲む局所領域の画素情報を予め定め
た網点画素判定パターンと比較して当該注目画素が網点候補画素であるか否かを
判定するパターン比較部と、上記エッジ密度検出部および上記パターン比較部に
よって網点候補画素と判定された注目画素に対して、該注目画素の周辺領域の網
点候補画素情報に基づいて当該注目画素の属性が網点画素であるか否かを判定す
る補正処理部とを網点領域分離装置に設けた。 〔作 用〕 本発明者は、注目画素を囲む局所領域においてエッジ密度を計測し、このエッ
ジ密度が予め定めた閾値を超えることによって当該注目画素の属性を網点画素と
判定することができることを見出した。 すなわち、高線数の網点画像においてはほとんどの画素がエッジを持つという
性質があり、第2図に斜線でハッチングして示した注目画素を囲む太線で示した
ような局所領域におけるエッジ密度を例えばエッジ抽出フィルタなどによって計
測し、この密度が閾値THを超えるときにこの注目画素の属性を網点ないしは網
点候補として判定することができる。なお、文字の場合には比較的エッジが多い
けれども、上記のような高線数の網点画像に比較すればそのエッジ密度は低い。 そして、このエッジ密度に基づく注目画素の属性の判定と、公知のパターン比
較による注目画素の属性の判定とをそれぞれ独立かつ並行して行うことによって
、この属性判定の精度を高め、さらに、注目画素の周辺領域の網点候補画素情報
に基づいて当該注目画素の属性が網点画素であるか否かを判定することによって
、網点領域を極めて高い精度で他の文字領域などから分離することができる。 〔実施例〕 第1図は本発明の原理的な実施例を示すもので、一点鎖線で囲って10で示し
たブロックはエッジ密度検出部、一点鎖線で囲って20で示したブロックはパタ
ーン比較部、40は周辺情報による補正を行う補正処理部である。 上記エッジ密度検出部10およびパターン比較部20は、注目画素が網点候補
であることを判定すると“H”レベルの出力をOR回路30に送るので、これら
エッジ密度検出部10およびパターン比較部20のいずれかで網点候補と判定さ
れると、OR回路30から網点候補であることを示す“H”レベルの出力が補正
処理部40に送られて、周辺画素についての網点判定情報による補正が行われる
。 より詳細に説明すると、エッジ密度検出部10のエッジ密度検出手段11にお
いては、第2図に太線の枠で示したエッジ抽出フィルタによって注目画素を囲む
局所領域内の全画素についてフィルタリングを行い、エッジと判定された画素の
数が所定値THを超えるとこの注目画素をエッジと判定する。 第3図は、第2図に太線で示したエッジフィルタの例を示すもので、エッジ値 を求める画素(第2図にハッチングして示した画素に相当する)を中心とする3
×3画素=9個の画素のそれぞれの濃度値について図示した係数を乗算し、得ら
れた各画素の値を加算することによって中心に位置する画素のエッジ値を得て、
このエッジ値が予め定めた値を超えるとエッジ画素と判断する。 ブロック20は公知のパターンマッチングによって網点画素を判定するもので
あり、図示の実施例においては、エッジ強調処理21を行った後に2値化22を
行い、予め用意されている網点パターンとパターンマッチング23を行うことに
よって注目画素が網点候補であるか否かを判定し、網点候補と判定されると“H
”レベルの判定結果を上記OR回路30の他方の入力端子に供給する。 したがって、このOR回路30からは、エッジ密度検出部10あるいはパター
ン検出部20の少なくとも一方で網点候補と判定された画素について“H”レベ
ルの出力が得られ、この出力は補正処理部40に供給される。 この補正処理部40では、網点候補としての判定結果を注目画素の周辺の画素
についての網点判定情報に基づいて補正して、網点画素であるか否かを最終的に
判定する。 第4図は、この周辺の画素についての網点判定情報による補正の原理を示すも
ので、周辺の画素が網点である場合には注目画素も網点領域に属する画素である
確率が高いことに基づいて、ハッチングで示すように、網点候補画素であると判
定された注目画素の周辺のk×k画素の領域に網点候補画素と判定されている画
素が含まれている場合にはこの注目画素を網点領域に属する画素と補正する。 これによって、網点領域を高い精度で他の文字領域、写真領域などから分離す
ることができる。 〔発明の効果〕 本発明においては、そのエッジ密度検出部による網点領域の判定処理が、蓄積
されているパターンに依存して判定を行うものではなく、しかも高い線数の網点
領域の判定に優れていることから、パターン比較部による網点領域判定処理の弱
点を補うことができる。 したがって、本発明によれば、簡単な処理と極めて高い精度で、網点領域を文
字領域、写真領域などから分離することができるという格別の効果が得られる。
DETAILED DESCRIPTION OF THE INVENTION [Outline] In order to separate a halftone dot region from other regions with high accuracy, an edge density is measured in a local region surrounding a pixel of interest, and the edge density is set to a predetermined threshold value. An edge density detection unit that determines whether or not the target pixel is a halftone dot candidate pixel based on whether the pixel exceeds the target pixel, and compares pixel information of a local region surrounding the target pixel with a predetermined halftone pixel determination pattern. A pattern comparison unit that determines whether the pixel of interest is a halftone dot candidate pixel, and a pixel of interest that is determined as a halftone dot candidate pixel by the edge density detection unit and the pattern comparison unit. The halftone dot separation apparatus is provided with a correction processing unit that determines whether or not the attribute of the pixel of interest is a halftone pixel based on halftone candidate pixel information of the surrounding area. [Industrial applications] To improve the quality of the reproduced image when playing back an image in which an image represented by halftone dots and a line drawing such as a character are mixed by a facsimile or a copying machine, etc. It is preferable to perform a smoothing process for removing moiré in a region of an image represented by halftone dots, and to perform a sharpening process in a region of a line drawing such as a character. Also, in the case of transmitting an image, the efficiency of data compression can be improved by applying the encoding process according to the characteristics of each area as described above. The present invention relates to a halftone dot region separation method for separating a halftone dot region represented by a halftone dot from another region such as a character region as preprocessing for performing such image processing. [Prior Art] Japanese Patent Application Laid-Open No. 60-80365 discloses that a binarized image of, for example, 5 × 5 pixels including a pixel of interest after binarizing input image data for each pixel with a fixed threshold value. Is compared with a halftone pattern stored in advance, and an area separation method is described in which the number of pixels that match this halftone pattern exceeds a certain value and is detected as a halftone area. [Problems to be Solved by the Invention] However, in such a region separation method, since a fixed threshold value is used for binarization, a halftone dot pattern is formed depending on a halftone dot ratio of a halftone dot region. It is difficult to discriminate, and if the halftone pattern is different from the stored halftone pattern, it may not be detected as a halftone area. SUMMARY OF THE INVENTION It is an object of the present invention to provide a halftone dot area separating apparatus for separating a halftone dot area in an image from other areas such as a character area or a photograph area with high accuracy. [Means for Solving the Problems] An edge density is measured in a local region surrounding a target pixel, and whether or not the target pixel is a halftone dot candidate pixel is determined based on whether or not the edge density exceeds a predetermined threshold value. An edge density detecting unit for determining, and a pattern comparing unit for comparing pixel information of a local area surrounding the target pixel with a predetermined halftone pixel determination pattern to determine whether the target pixel is a halftone candidate pixel If, with respect to the target pixel determined as the halftone candidate pixel by the edge density detecting unit and the pattern comparator unit, attribute dot of the target pixel based on the dot candidate pixel information of the peripheral area of the target pixel A correction processing unit that determines whether a pixel is a pixel or not is provided in the halftone dot region separation device. [Operation] The present inventor measures the edge density in a local region surrounding the pixel of interest, and determines that the attribute of the pixel of interest can be determined as a halftone pixel when the edge density exceeds a predetermined threshold. I found it. In other words, most halftone dot images have the property of having an edge, and the edge density in the local region shown by the bold line surrounding the target pixel indicated by hatching in FIG. For example, it is measured by an edge extraction filter or the like, and when this density exceeds the threshold value TH, the attribute of the target pixel can be determined as a halftone dot or a halftone dot candidate. Although a character has relatively many edges, its edge density is lower than that of a halftone image having a high screen ruling as described above. The determination of the attribute of the pixel of interest based on the edge density and the determination of the attribute of the pixel of interest based on a known pattern comparison are performed independently and in parallel, thereby increasing the accuracy of the attribute determination. By determining whether or not the attribute of the target pixel is a halftone pixel based on halftone candidate pixel information of the surrounding area, the halftone area can be separated from other character areas with extremely high accuracy. it can. [Embodiment] FIG. 1 shows a principle embodiment of the present invention. A block surrounded by a dashed line and indicated by 10 is an edge density detection unit, and a block surrounded by a dashed line and indicated by 20 is a pattern comparison unit. And 40, a correction processing unit that performs correction based on the peripheral information. When the edge density detecting section 10 and the pattern comparing section 20 determine that the target pixel is a halftone dot candidate, they send an “H” level output to the OR circuit 30. Is determined to be a halftone dot candidate, the output of the “H” level indicating the halftone dot candidate is sent from the OR circuit 30 to the correction processing unit 40, and the output is determined based on the halftone dot determination information on the peripheral pixels. Correction is performed. More specifically, in the edge density detecting means 11 of the edge density detecting unit 10, filtering is performed on all pixels in a local region surrounding the pixel of interest by an edge extraction filter shown by a thick frame in FIG. If the number of pixels determined to exceed the predetermined value TH, the target pixel is determined to be an edge. FIG. 3 shows an example of an edge filter indicated by a bold line in FIG.
× 3 pixels = multiply the respective density values of the nine pixels by the coefficient shown in the figure, add the obtained pixel values, and obtain the edge value of the pixel located at the center,
If the edge value exceeds a predetermined value, it is determined that the pixel is an edge pixel. The block 20 is for determining a halftone pixel by a known pattern matching. In the illustrated embodiment, the edge emphasizing process 21 is performed, then the binarization 22 is performed, and a halftone pattern and a previously prepared halftone pattern are determined. By performing the matching 23, it is determined whether or not the pixel of interest is a halftone dot candidate.
The determination result of the “level” is supplied to the other input terminal of the OR circuit 30. Therefore, the OR circuit 30 outputs a pixel determined to be a halftone candidate by at least one of the edge density detection unit 10 and the pattern detection unit 20. Is output at the “H” level, and this output is supplied to the correction processing unit 40. In the correction processing unit 40, the determination result as the halftone dot candidate is determined by the halftone dot determination information on the pixels around the pixel of interest. Finally, it is determined whether or not a pixel is a halftone pixel based on the following equation. In the case of a halftone dot, based on the high probability that the pixel of interest is also a pixel belonging to a halftone dot area, as indicated by hatching, k × k around the pixel of interest determined to be a halftone dot candidate pixel Pixel If the area includes a pixel determined to be a halftone dot candidate pixel, the pixel of interest is corrected to a pixel belonging to the halftone area, thereby making the halftone area highly accurate with respect to other character areas and photographs. [Effect of the Invention] In the present invention, the process of determining a halftone dot region by the edge density detection unit does not depend on the stored pattern, and Since it is excellent in the determination of a halftone dot region having a high screen ruling, it is possible to compensate for the weakness of the halftone dot region determination processing by the pattern comparing unit. A special effect is obtained in that the halftone dot region can be separated from the character region, the photograph region, and the like.

【図面の簡単な説明】 第1図は、本発明の原理的実施例を示す図、 第2図は、エッジ密度計測の原理を示す図、 第3図は、実施例において使用されるエッジフィルタを示す図、 第4図は、実施例における周辺領域の網点判定情報による補正を説明する図で
ある。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram showing a principle embodiment of the present invention, FIG. 2 is a diagram showing a principle of edge density measurement, FIG. 3 is an edge filter used in the embodiment FIG. 4 is a diagram for explaining correction based on halftone dot determination information of a peripheral area in the embodiment.

Claims (1)

【特許請求の範囲】 【請求項1】 注目画素を囲む局所領域においてエッジ密度を計測し、このエ
ッジ密度が予め定めた閾値を超えるか否かにより当該注目画素が網点候補画素で
あるか否かを判定するエッジ密度検出部と、 上記注目画素を囲む局所領域の画素情報を予め定めた網点画素判定パターンと
比較して当該注目画素が網点候補画素であるか否かを判定するパターン比較部と
、 上記エッジ密度検出部および上記パターン比較部によって網点候補画素と判定
された注目画素に対して、該注目画素の周辺領域の網点候補画素情報に基づいて
当該注目画素の属性が網点画素であるか否かを判定する補正処理部と、 を備えることを特徴とする網点領域分離装置。
Claims: 1. An edge density is measured in a local region surrounding a target pixel, and whether the target pixel is a halftone dot candidate pixel is determined based on whether the edge density exceeds a predetermined threshold. An edge density detection unit that determines whether the pixel of interest is a dot candidate pixel by comparing the pixel information of the local area surrounding the pixel of interest with a predetermined dot pixel determination pattern A comparing unit, for the pixel of interest determined to be a halftone dot candidate pixel by the edge density detection unit and the pattern comparison unit, the attribute of the pixel of interest based on halftone candidate pixel information of a peripheral region of the pixel of interest; A correction processing unit that determines whether or not a pixel is a halftone pixel .

Family

ID=

Similar Documents

Publication Publication Date Title
JP3276985B2 (en) Image pixel processing method
JPH0435167A (en) Line picture separation system
JP3568732B2 (en) Image processing device
JP2647458B2 (en) Halftone dot area separation device
JP2647458C (en)
JPH0851538A (en) Image processor
JP2001218046A (en) Dot area judging method
JP3966448B2 (en) Image processing apparatus, image processing method, program for executing the method, and recording medium storing the program
JP3251119B2 (en) Image processing device
JP7377435B2 (en) Image processing device
JPH05292312A (en) Dot area separator
JP3216165B2 (en) Image region identification device and image region identification method
JP2004104662A (en) Image forming device
JPH02274173A (en) Character separating device
JP2507948B2 (en) Image area identification device
JP2853140B2 (en) Image area identification device
JP3115301B2 (en) Halftone dot area separation method and apparatus
JP5818559B2 (en) Image processing device
JPH05344329A (en) Picture area discriminating device
JPH03153167A (en) Character area separation system
JPH03133262A (en) Character area separation system
JP3086243B2 (en) Halftone dot area detection device
JPH01286571A (en) Picture area identification device
JP2007288690A (en) Region separation device of picture and its method
JP2853141B2 (en) Image area identification device