JP2001053968A - Pole pixel detection device - Google Patents

Pole pixel detection device

Info

Publication number
JP2001053968A
JP2001053968A JP2000215968A JP2000215968A JP2001053968A JP 2001053968 A JP2001053968 A JP 2001053968A JP 2000215968 A JP2000215968 A JP 2000215968A JP 2000215968 A JP2000215968 A JP 2000215968A JP 2001053968 A JP2001053968 A JP 2001053968A
Authority
JP
Japan
Prior art keywords
pixel
extreme
pixels
density level
predetermined
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
JP2000215968A
Other languages
Japanese (ja)
Other versions
JP3245586B2 (en
Inventor
Satoshi Ouchi
敏 大内
Kaoru Imao
薫 今尾
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 JP2000215968A priority Critical patent/JP3245586B2/en
Publication of JP2001053968A publication Critical patent/JP2001053968A/en
Application granted granted Critical
Publication of JP3245586B2 publication Critical patent/JP3245586B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To accurately detect a pole pixel that corresponds to a halftone dot included in an image by comparing the center pixel existing in a prescribed local area of the image and the center pixel existing in a local area greater than a prescribed local area and around the center pixel of the prescribed local area with the density level of a prescribed peripheral pixel to detect the 1st and 2nd pole pixels and defining the OR of the 1st and 2nd pole pixels as a pole pixel. SOLUTION: A local area is defined as a rectangular mask of a small (3×3) pixel size and also as a rectangular mask of a larger (5×5) pixel size. In regard to these two rectangular masks, the center pixels Lc are defined as the 1st and 2nd pole pixels when the density levels of the pixels Lc are higher than those of the prescribed peripheral pixels L1-L8 by the prescribed threshold. Then the OR of the 1st and 2nd pole pixels is defined as a pole pixel. Thus, the pole pixels can be accurately detected to the halftone dots included in a wide range of the number of lines.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ディジタル式複写
機やファクシミリなど画像中の画素を網点領域とそれ以
外の非網点領域に分離するための網点領域分離装置に適
用される極点画素検出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an extreme pixel which is applied to a dot area separating apparatus for separating pixels in an image into a halftone area and other non-halftone areas, such as a digital copying machine and a facsimile. It relates to a detection device.

【0002】[0002]

【従来の技術】連続階調の写真/網点で表現された絵/
文字などの線画の混在する画像を例えばディジタル式複
写機で画像再生する場合、再生画像の画質向上を図るに
は、写真部にはディザ処理、網点部にはモアレ除去処
理、また線画部には鮮鋭化処理をそれぞれ施すことが望
ましい。
2. Description of the Related Art Continuous tone photographs / pictures represented by halftone dots /
For example, when an image in which line drawings such as characters are mixed is reproduced by a digital copying machine, in order to improve the image quality of the reproduced image, dither processing is performed on the photograph part, moiré removal processing is performed on the halftone dot part, and the line drawing part is processed. Is desirably subjected to a sharpening process.

【0003】さらに、ファクシミリなどで画像を伝送す
る場合などにおいても、画像データの圧縮率を向上する
には、写真部、網点部、線画部の各領域に適した画像圧
縮処理を施すことが望ましい。
Further, even in the case of transmitting an image by facsimile or the like, in order to improve the compression ratio of the image data, it is necessary to perform image compression processing suitable for each area of a photograph part, a halftone part, and a line drawing part. desirable.

【0004】このような画像処理を実現するには、その
前処理として、画像中の写真部、網点部、線画部をそれ
ぞれ正確に分離抽出する必要がある。一般に、写真部と
それ以外の非写真部(=網点部+線画部)を分離するに
は、画像中のエッジ画素の多少を判定することで比較的
簡単に実現できるが、網点部とそれ以外の非網点部(=
写真部+線画部)を正確に分離することは困難である。
In order to realize such image processing, it is necessary to accurately separate and extract a photograph portion, a halftone dot portion, and a line drawing portion in an image as pre-processing. Generally, to separate a photographic part from other non-photographic parts (= halftone part + line drawing part) can be relatively easily realized by determining the number of edge pixels in an image. Other non-dots (=
It is difficult to accurately separate (photograph part + line drawing part).

【0005】従来、前記網点部とそれ以外の非網点部と
を分離する1つの方法として、例えば、上野の方法(上
野:“網点写真のドットプリンタによる表現”沖電気研
究開発第132号 Vol.53 No.4 pp.71-76 )がある。こ
の方法は、原画像をラスタスキャンしてディジタル多値
データとして取り出し、ラスタ上で前後に隣接する画素
間で明暗の濃度差を求め、この差分が次の(a)(b)
(c)の条件いずれかに該当するとき、注目画素を濃度
変化の山または谷の極点画素として検出する。
Conventionally, as one method for separating the halftone dot portion from other non-halftone dot portions, for example, Ueno's method (Ueno: "Expression of halftone dot photograph by dot printer", Oki Electric R & D 132 No.53 No.4 pp.71-76). According to this method, an original image is raster-scanned and taken out as digital multi-valued data, and a density difference between light and dark is determined between adjacent pixels on the raster, and the difference is calculated by the following (a) and (b).
When any of the conditions (c) is satisfied, the target pixel is detected as a peak pixel of a peak or a valley of a density change.

【0006】(a)差分の符号が変わったとき (b)差分が零の前後で差分値の符号が変わったとき (c)前の極点との間隔が予め定めたしきい値となった
とき そして、上記のようにして得られた極点画素情報に基づ
き、次の(d)(e)の条件いずれかを満たす画素を網
点領域として検出するものである。
(A) When the sign of the difference changes. (B) When the sign of the difference value changes before and after the difference is zero. (C) When the interval from the previous pole reaches a predetermined threshold value. Then, based on the extreme pixel information obtained as described above, a pixel that satisfies any of the following conditions (d) and (e) is detected as a halftone dot area.

【0007】(d)極点間の区間長L(i)が予め定め
たしきい値TH1とTH2に対して下式を満たすとき TH1<L(i)<TH2 (e)現区間長L(i)とその前の区間長L(i−1)
が、予め定めたしきい値TH3に対して下式を満たすと
き |L(i)−L(i−1)|≦TH3
(D) When the section length L (i) between the poles satisfies the following equation with respect to predetermined thresholds TH1 and TH2: TH1 <L (i) <TH2 (e) Current section length L (i) ) And the preceding section length L (i-1)
Satisfies the following equation with respect to a predetermined threshold value TH3: | L (i) −L (i−1) | ≦ TH3

【0008】[0008]

【発明が解決しようとする課題】前記した上野の方法
は、網点部には濃度レベルの山と谷となる極点が規則的
に現れることを前提として画像中の網点部を分離するも
のである。しかし、一般的には、写真部や線画部にも多
くの極点が存在するため、十分に高い分離率は望めない
という問題があった。
The above Ueno's method separates the halftone dots in an image on the assumption that the peaks, which are peaks and valleys of the density level, appear regularly in the halftone dots. is there. However, in general, there is a problem that a sufficiently high separation rate cannot be expected because many poles also exist in a photograph part and a line drawing part.

【0009】さらに、ラスタスキャンライン上に並ぶ画
素間の1次元的な画像情報の比較によって網点の検出を
行っているため、特に、面積率の低いあるいは高い網点
部、原稿が回転するなどして水平方向からスクリーン角
が少しずれた網点部などにおいては極点間の距離が長く
なり、文字などの線画部との分離が困難であるという問
題があった。
Further, since halftone dots are detected by comparing one-dimensional image information between pixels arranged on a raster scan line, particularly, a halftone dot portion having a low or high area ratio, a document rotating, or the like. Further, in a halftone dot portion where the screen angle is slightly deviated from the horizontal direction, the distance between the extreme points becomes long, and there is a problem that it is difficult to separate from a line drawing portion such as a character.

【0010】本発明は、前記事情の下になされたもの
で、その目的とするところは、網点部の面積率の大小や
原稿の配置状態などに関係なく画像中の網点に対応する
極点画素を正確に検出することのできる極点画素検出装
置を提供することを課題とする。
The present invention has been made under the above circumstances, and an object thereof is to provide an image processing apparatus which has an extreme point corresponding to a halftone dot in an image irrespective of the magnitude of the area ratio of a halftone dot portion and the arrangement state of a document. It is an object of the present invention to provide an extreme pixel detection device capable of accurately detecting pixels.

【0011】[0011]

【課題を解決するための手段】請求項1の発明において
は、ディジタル多値データに変換された画像の所定の局
所領域内の中心画素と所定の周囲画素の濃度レベルを比
較して極点画素を検出する第1極点画素検出手段と、前
記中心画素を中心として前記所定の局所領域より広い局
所領域内の中心画素と所定の周囲画素の濃度レベルを比
較して極点画素を検出する第2極点画素検出手段と、前
記第1極点画素検出手段の検出結果と前記第2極点画素
検出手段の検出結果の論理和を極点画素として出力する
論理和手段と、を備える。
According to the first aspect of the present invention, the extreme pixel is determined by comparing the density level of a central pixel in a predetermined local area of an image converted into digital multi-valued data with a predetermined surrounding pixel. A first extreme pixel detecting means for detecting, and a second extreme pixel detecting the extreme pixel by comparing a density level of a central pixel in a local area wider than the predetermined local area with a predetermined peripheral pixel with the central pixel as a center. A detection unit; and a logical sum unit that outputs a logical sum of a detection result of the first pole pixel detection unit and a detection result of the second pole pixel detection unit as a pole pixel.

【0012】請求項2の発明においては、前記第1極点
画素検出手段の前記所定の局所領域が前記中心画素を中
心とする3×3画素で構成される領域であり、前記第2
極点画素検出手段の前記広い局所領域が5×5画素で構
成される領域とする。
In the invention according to claim 2, the predetermined local area of the first extreme pixel detection means is an area composed of 3 × 3 pixels centered on the center pixel, and
The wide local area of the extreme pixel detection means is an area composed of 5 × 5 pixels.

【0013】請求項3の発明においては、前記第2極点
画素検出手段の前記広い局所領域を前記中心画素を中心
として隣接する行および列の画素を1つおきにマスクし
て前記第1極点画素検出手段の前記局所領域と同じ面積
とし、前記第1極点画素検出手段および前記第2極点画
素検出手段が同じ位置の所定の周囲画素の濃度レベルを
比較して極点画素を検出する。
According to the third aspect of the present invention, the wide local area of the second extreme pixel detecting means is masked every other row and column adjacent to the center pixel as the first extreme pixel. The first extreme pixel detection means and the second extreme pixel detection means detect the extreme pixels by comparing the density levels of predetermined surrounding pixels at the same position with the same area as the local area of the detection means.

【0014】請求項4の発明においては、極点検出条件
を、局所領域内においてその中心画素の濃度レベルが所
定の周囲画素の濃度レベルに比べて最大または最小であ
るときに当該中心画素を極点画素として検出する。
According to the fourth aspect of the present invention, the extreme point detection condition is set such that when the density level of the central pixel in the local area is maximum or minimum compared to the density level of a predetermined surrounding pixel, the central pixel is determined as the extreme pixel. Detected as

【0015】請求項5の発明においては、極点検出条件
を、局所領域内においてその中心画素の濃度レベルが所
定の周囲画素の濃度レベルに比べて所定のしきい値より
大きいときまたは小さいときに当該中心画素を極点画素
として検出する。
According to the fifth aspect of the present invention, the extreme point detection condition is set when the density level of the center pixel in the local area is larger or smaller than a predetermined threshold value compared to the density level of predetermined surrounding pixels. The center pixel is detected as a pole pixel.

【0016】請求項6の発明においては、極点検出条件
を、局所領域内においてその中心画素の濃度レベルが所
定の周囲画素の濃度レベルに比べて最大または最小であ
り、かつ当該中心画素の濃度レベルと当該中心画素を中
にして点対象位置にある他の2つの画素の濃度レベルの
平均値との差の絶対値が所定のしきい値(TH2)より
も大きいときに、当該中心画素を極点画素として検出す
る。
According to the sixth aspect of the present invention, the extreme point detection condition is such that the density level of the central pixel in the local area is maximum or minimum as compared with the density level of a predetermined surrounding pixel, and the density level of the central pixel is When the absolute value of the difference between the center pixel and the average value of the density levels of the other two pixels located at the point target position with the center pixel as the center is larger than a predetermined threshold value (TH2), the center pixel is set to the extreme point. Detected as pixels.

【0017】請求項7の発明においては、中心画素と比
較する所定の周囲画素として、中心画素を通り上下左右
斜め方向に伸びる直線上に並んだ画素を用いる。請求項
8の発明においては、しきい値を中心画素の濃度レベル
または所定の周囲画素の濃度レベルに応じて変える。
In the present invention, pixels arranged on a straight line passing through the center pixel and extending in the up, down, left, and right directions are used as the predetermined surrounding pixels to be compared with the center pixel. In the invention according to claim 8, the threshold value is changed according to the density level of the center pixel or the density level of predetermined surrounding pixels.

【0018】請求項9の発明においては、中心画素の濃
度レベルが所定の周囲画素の濃度レベルに比べて高い山
の極点画素検出の場合のしきい値は中心画素の濃度レベ
ルが大なるとき大となるように変え、中心画素の濃度レ
ベルが所定の周囲画素の濃度レベルに比べて低い谷の極
点画素検出の場合のしきい値は中心画素の濃度レベルが
小なるとき小となるように変える。
According to the ninth aspect of the present invention, the threshold value in the case of detecting the peak pixel of the mountain where the density level of the center pixel is higher than the density level of the predetermined surrounding pixels is large when the density level of the center pixel is high. And the threshold value in the case of detecting a pole pixel in the valley where the density level of the center pixel is lower than the density level of the predetermined surrounding pixels is changed so as to become smaller when the density level of the center pixel becomes smaller. .

【0019】請求項10の発明においては、所定の周囲
画素の濃度レベルの平均値を求め、該平均値に応じてし
きい値を変える。
According to the tenth aspect of the present invention, an average value of the density levels of predetermined surrounding pixels is obtained, and the threshold value is changed according to the average value.

【0020】[0020]

【発明の実施の形態】図1は本発明の極点検出装置が適
用された網点領域分離装置のブロック図を示す。図中、
1は入力画像信号部、2は本発明に係る極点画素検出
部、3は網点候補領域検出部、4は網点領域検出部であ
る。以下、これら各回路1〜4の具体的な構成例につい
て、各回路ごとに項を分けて説明する。なお、以下の例
において処理対象とする原画像は、写真部、網点部およ
び線画部の混在した画像である。画像中に含まれる網点
部は、例えば65〜200線程度、また線画部を構成す
る文字は7級以上である。
FIG. 1 is a block diagram of a halftone dot area separating apparatus to which a pole detecting apparatus according to the present invention is applied. In the figure,
1 is an input image signal unit, 2 is an extreme pixel detection unit according to the present invention, 3 is a halftone dot candidate region detection unit, and 4 is a halftone dot region detection unit. Hereinafter, a specific configuration example of each of the circuits 1 to 4 will be described separately for each circuit. Note that the original image to be processed in the following example is an image in which a photograph portion, a halftone dot portion, and a line drawing portion are mixed. The halftone portion included in the image is, for example, about 65 to 200 lines, and the characters constituting the line drawing portion are of the seventh class or higher.

【0021】〔I〕入力画像信号部1について 入力画像信号部1は、原画像を読み取ってディジタル多
値データに変換する回路である。入力画像信号部1とし
ては、例えばスキャナなどが用いられる。この入力画像
信号部1において、原画像を例えば400dpi 、64階
調程度のディジタル多値データに変換し、予め定めたス
キャンライン分のデータを内蔵のメモリに格納記憶す
る。
[I] Input Image Signal Unit 1 The input image signal unit 1 is a circuit that reads an original image and converts it into digital multi-value data. As the input image signal unit 1, for example, a scanner is used. In the input image signal section 1, the original image is converted into digital multi-valued data of, for example, about 400 dpi and about 64 gradations, and data for predetermined scan lines is stored and stored in a built-in memory.

【0022】再生画像がモノクロであれば輝度信号を用
いて処理を実行すればよい。また、再生画像がカラーで
あれば、色分解後のRGB信号(または色補正後のYM
C信号)を用い、RGB各色毎に本発明の領域分離処理
を並列に実行し、各色についての分離結果の多数決論理
などによって最終的に網点領域であるか否かを判定すれ
ばよい。
If the reproduced image is monochrome, the processing may be executed using a luminance signal. If the reproduced image is color, the RGB signals after color separation (or YM after color correction)
By using the C signal), the area separation processing of the present invention may be performed in parallel for each of the RGB colors, and it may be finally determined whether or not the area is a halftone dot area by majority logic of the separation result for each color.

【0023】この入力画像信号部1は、単に原画像をデ
ィジタル多値データに変換するだけでなく、次の極点画
素検出部2における極点画素検出の前処理として、変換
されたディジタル多値データを所定の重み計数で平滑化
してもよい。この平滑化処理により、 (a)画像中のディジタルノイズの除去 (b)次の極点画素検出部2における極点画素の検出処
理において、小さいな画素サイズのマスク(例えば3×
3画素サイズ)を用いて大きな網点ドット(例えば65
線級)の極点画素を検出可能とすることができる。
The input image signal unit 1 not only converts the original image into digital multi-valued data, but also converts the converted digital multi-valued data as preprocessing for the next extreme pixel detection in the extreme pixel detection unit 2. Smoothing may be performed with a predetermined weight count. By this smoothing processing, (a) removal of digital noise in the image, and (b) in the next detection processing of the extreme pixel in the extreme pixel detection unit 2, a mask having a small pixel size (for example, 3 ×
Large halftone dots (for example, 65 pixels)
It is possible to detect the extreme pixel of (line class).

【0024】平滑化処理の例を図2に示す。図2(a)
は平滑化前の網点ドットの濃度レベル状態を示す。この
図では極点を構成する最大濃度レベルの画素が3画素に
亘っているため、例えば3×3画素サイズの小さなマス
クを用いて極点検出を行った場合、このマスク内では画
素間で濃度差を生じないため、極点画素の検出は不可能
である。しかし、平滑化処理すると、図2(B)に示す
ように中央の画素の濃度レベルが最大となり、その前後
の画素の濃度レベルが下がる。このため、3×3画素サ
イズの小さなマスクでも画素間で濃度差を生じ、中央の
画素を極点画素として検出することができるようにな
る。
FIG. 2 shows an example of the smoothing process. FIG. 2 (a)
Indicates the density level state of the halftone dot before smoothing. In this figure, the pixels having the maximum density level constituting the poles extend over three pixels. For example, when the pole detection is performed using a small mask having a size of 3 × 3 pixels, the density difference between the pixels in this mask is determined. Since it does not occur, it is impossible to detect an extreme pixel. However, when the smoothing process is performed, as shown in FIG. 2B, the density level of the central pixel becomes the maximum, and the density levels of the pixels before and after the central pixel decrease. For this reason, even with a small mask having a size of 3 × 3 pixels, a density difference occurs between the pixels, and the center pixel can be detected as a pole pixel.

【0025】さらに、平滑化されていない元のディジタ
ル多値データと平滑化したディジタル多値データとを用
い、それぞれのデータに基づいて極点検出を行い、その
検出結果の論理和(OR)をとることにより、同じサイ
ズのマスクで、より広範な線数の網点を領域分離するこ
とが可能となる。すなわち、元のディジタル多値データ
から小さな網点ドット(例:100線級以上)の極点画
素を検出し、また平滑化したディジタル多値データから
大きな網点ドット(例:65〜100線)の極点画素を
検出することができる。
Further, using the original digital multivalued data that has not been smoothed and the digital multivalued data that has been smoothed, pole detection is performed based on each data, and the logical sum (OR) of the detection results is obtained. As a result, it is possible to separate halftone dots having a wider number of lines with a mask of the same size. That is, an extreme pixel of a small halftone dot (for example, 100 lines or more) is detected from the original digital multilevel data, and a large halftone dot (for example, 65 to 100 lines) is obtained from the smoothed digital multilevel data. An extreme pixel can be detected.

【0026】〔II〕極点画素検出部2について 極点画素検出部2は、前記入力画像信号部1からディジ
タル多値データに変換されて送られてくる入力画像の所
定の局所領域内の濃度情報に基づいて当該局所領域内の
濃度の変化点である山および谷の極点画素を検出する回
路である。すなわち、所定の局所領域内の中心画素と所
定の周囲画素の濃度レベルを比較し、所定の極点検出条
件により極点画素を判定する。
[II] Regarding the extreme pixel detecting unit 2 The extreme pixel detecting unit 2 converts the density information in a predetermined local area of the input image, which is converted from the input image signal unit 1 into digital multivalued data and sent. The circuit detects the peak pixels of peaks and valleys, which are the points of change in the density in the local region, based on the detected values. That is, the density level of the central pixel in the predetermined local area and the density level of the predetermined surrounding pixel are compared, and the extreme pixel is determined based on the predetermined extreme detection condition.

【0027】なお、説明を簡単とするため、ここでは濃
度の最大レベル位置を与える山の極点画素を検出する場
合を例に採って述べる。濃度の最小レベル位置を与える
谷の極点画素を検出するには、山の極点画素と正反対の
性質を有するから、以下に述べる検出条件中の< >内
の語句を採用すればよい。
For the sake of simplicity, a case where a peak pixel of a mountain giving the maximum level position of density is detected will be described as an example. In order to detect the peak pixel of the valley that gives the minimum level position of the density, it has the opposite property to the peak pixel of the peak. Therefore, the words in <> in the detection conditions described below may be adopted.

【0028】さて、注目画素が山の極点画素である条件
は、当該注目画素の濃度レベルがその周囲の画素の濃度
レベルよりも大きいことである。したがって、極点検出
条件として、まず、次のを採用することができる。
The condition that the pixel of interest is the peak pixel of the mountain is that the density level of the pixel of interest is higher than the density level of the surrounding pixels. Therefore, the following can first be adopted as the extreme point detection conditions.

【0029】 所定の局所領域内において、中心画素
の濃度レベルが所定の周囲画素の濃度レベルに比べて最
大<最小>であるとき、中心画素を極点画素とする。こ
の極点検出条件の具体例を図3(A)〜(D)に示
す。局所領域として、図3(A)は3×3画素サイズの
矩形マスクを、図3(B)は十字形のマスクを、図3
(C)は井桁形のマスクを、図3(D)は5×5画素サ
イズの矩形マスクをそれぞれ採用したものである。各マ
スク中、ハッチングした画素が中心画素である。これら
のマスクにおいて、その中心画素の濃度レベルが当該マ
スク内の他のすべての画素のいずれよりも大きい時に、
中心画素を極点画素として検出すればよい。
When the density level of the central pixel is maximum <minimum> compared to the density level of the peripheral pixels in the predetermined local area, the central pixel is determined to be a pole pixel. 3A to 3D show specific examples of the extreme point detection conditions. FIG. 3A shows a 3 × 3 pixel size rectangular mask, FIG. 3B shows a cross-shaped mask, and FIG.
FIG. 3C shows a cross-shaped mask, and FIG. 3D shows a rectangular mask having a size of 5 × 5 pixels. In each mask, the hatched pixel is the central pixel. In these masks, when the density level of the central pixel is greater than any of the other pixels in the mask,
What is necessary is just to detect a center pixel as a pole pixel.

【0030】さらに、他の極点検出条件として、次の
を採用することができる。 所定の局所領域内において、中心画素の濃度レベル
が所定の周囲画素の濃度レベルに比べて所定のしきい値
TH1よりも大きい<小さい>とき、中心画素を山の極
点画素とする。
Further, the following can be adopted as other extreme point detection conditions. When the density level of the center pixel is larger than the threshold value TH1 (smaller) than the density level of the surrounding pixels in the predetermined local area, the center pixel is set as the peak pixel of the mountain.

【0031】この極点検出条件の具体例を図4(A)
(B)に示す。図4(A)は局所領域として3×3画素
サイズの矩形マスクを採用し、また図4(B)は5×5
画素サイズの矩形マスクを採用したものである。これら
の各マスクにおいて、中心画素Lcがその周囲の所定の
画素L1〜L8に対して次の条件を満たすとき、中心画
素Lcを極点画素として検出すればよい。
FIG. 4A shows a specific example of the extreme point detection condition.
It is shown in (B). FIG. 4A employs a rectangular mask having a size of 3 × 3 pixels as a local area, and FIG.
A rectangular mask having a pixel size is adopted. In each of these masks, when the central pixel Lc satisfies the following conditions with respect to the predetermined pixels L1 to L8 around it, the central pixel Lc may be detected as a pole pixel.

【0032】 Lc−L1>TH1 & Lc−L2>TH1 & Lc−L3>TH1 & Lc−L4>TH1 & Lc−L5>TH1 & Lc−L6>TH1 & Lc−L7>TH1 & Lc−L8>TH1Lc-L1> TH1 & Lc-L2> TH1 & Lc-L3> TH1 & Lc-L4> TH1 & Lc-L5> TH1 & Lc-L6> TH1 & Lc-L7> TH1 & Lc-L8> TH1

【0033】さらに、他の極点検出条件として、次の
を採用することができる。 所定の局所領域内において、中心画素の濃度レベル
が所定の周囲画素の濃度レベルに比べて最大<最小>で
あり、かつ当該中心画素の濃度レベルと当該中心画素を
中にして点対象の位置にある他の2つの画素の濃度レベ
ルの平均値との差の絶対値が所定のしきい値TH2より
も大きいとき、中心画素を極点画素とする。
Further, the following can be adopted as other extreme point detection conditions. In the predetermined local area, the density level of the central pixel is the maximum <minimum> compared to the density level of the predetermined surrounding pixels, and the density level of the central pixel and the central pixel are located at the position of the point object. When the absolute value of the difference from the average value of the density levels of the other two pixels is larger than a predetermined threshold value TH2, the center pixel is set as the extreme pixel.

【0034】この極点検出条件の具体例を図5に示
す。図5は局所領域として3×3画素サイズの矩形マス
クを採用したもので、このマスクにおいて、中心画素L
cがその周囲の所定の画素L1〜L8に対して次の条件
を満たすとき、中心画素Lcを極点画素として検出すれ
ばよい。
FIG. 5 shows a specific example of the extreme point detection condition. FIG. 5 employs a rectangular mask having a size of 3 × 3 pixels as the local area.
When c satisfies the following conditions with respect to the predetermined pixels L1 to L8 around it, the center pixel Lc may be detected as the extreme pixel.

【0035】 Lc>L1 & Lc>L2 & Lc>L3 & Lc>L4 & Lc>L5 & Lc>L6 & Lc>L7 & Lc>L8 かつ |2×Lc−L1+L8|>TH2 & |2×Lc−L2+L7|>TH2 & |2×Lc−L3+L6|>TH2 & |2×Lc−L4+L5|>TH2Lc> L1 & Lc> L2 & Lc> L3 & Lc> L4 & Lc> L5 & Lc> L6 & Lc> L7 & Lc> L8 and | 2 × Lc−L1 + L8 |> TH2 & | 2 × Lc− L2 + L7 |> TH2 & | 2 * Lc-L3 + L6 |> TH2 & | 2 * Lc-L4 + L5 |> TH2

【0036】さらに、他の極点検出条件として、次の
を採用することができる。 所定の局所領域よりも小さく、かつ当該局所領域の
中心画素を含む小領域において中心画素の濃度レベルが
所定の周囲画素の濃度レベルよりも大きい<小さい>か
または等しく、かつ当該中心画素の濃度レベルが当該小
領域を除く局所領域内の所定の画素の濃度レベルよりも
所定のしきい値TH3以上に大きい<小さい>とき、当
該中心画素を山の極点画素として検出する。
Further, the following can be adopted as other extreme point detection conditions. In a small area that is smaller than the predetermined local area and that includes the central pixel of the local area, the density level of the central pixel is smaller than or equal to the density level of the predetermined surrounding pixels, and the density level of the central pixel. Is smaller than the density level of a predetermined pixel in a local area excluding the small area by a predetermined threshold value TH3 or more, the central pixel is detected as a peak pixel of the mountain.

【0037】この極点検出条件の具体例を図6に示
す。図6の5×5画素サイズのマスクにおいて、中心画
素Lcがその周囲の画素L1〜L16に対して次の条件
を満たすとき、中心画素Lcを極点画素として検出すれ
ばよい。
FIG. 6 shows a specific example of the extreme point detection condition. In the 5 × 5 pixel size mask of FIG. 6, when the center pixel Lc satisfies the following conditions with respect to the surrounding pixels L1 to L16, the center pixel Lc may be detected as a pole pixel.

【0038】 Lc≧L1 & Lc≧L2 & Lc≧L3 & Lc≧L4 & Lc≧L5 & Lc≧L6 & Lc≧L7 & Lc≧L8 かつ Lc−L9>TH3 & Lc−L10>TH3 & Lc−L11>TH3 & Lc−L12>TH3 & Lc−L13>TH3 & Lc−L14>TH3 & Lc−L15>TH3 & Lc−L16>TH3Lc ≧ L1 & Lc ≧ L2 & Lc ≧ L3 & Lc ≧ L4 & Lc ≧ L5 & Lc ≧ L6 & Lc ≧ L7 & Lc ≧ L8 and Lc−L9> TH3 & Lc−L10> TH3 & Lc−L11 > TH3 & Lc-L12> TH3 & Lc-L13> TH3 & Lc-L14> TH3 & Lc-L15> TH3 & Lc-L16> TH3

【0039】ところで、前記各極点検出条件にお
けるしきい値TH1,TH2,TH3の値を中心画素ま
たはその周囲の画素の濃度レベルに応じて適応的(アダ
プティブ)に変えるようにすれば、文字などの線画部の
極点画素を誤って網点部の極点画素として検出すること
を防ぐことができ、網点部の極点画素のみをさらに確実
に検出することが可能となる。次に、このしきい値を適
応的(アダプティブ)に変えるための方法をに述べ
る。
By changing the values of the threshold values TH1, TH2, and TH3 under the above-described extreme point detection conditions in an adaptive manner according to the density level of the central pixel or the surrounding pixels, it is possible to change the value of the character or the like. It is possible to prevent the extreme pixel of the line drawing portion from being erroneously detected as the extreme pixel of the halftone portion, and it is possible to more reliably detect only the extreme pixel of the halftone portion. Next, a method for changing the threshold value adaptively will be described.

【0040】 しきい値を2つ用意し、入力画像信号
部1を構成するスキャナの特性などで山と谷の極点の出
方、例えば山と谷の極点付近の濃度勾配が異なるような
時は、山と谷で異なったしきい値を用いる。
When two threshold values are prepared and the way of the peak of the peak and the valley, for example, the density gradient near the peak of the valley and the valley is different due to the characteristics of the scanner constituting the input image signal unit 1, etc. Use different thresholds for peaks and valleys.

【0041】 一般に網点部をディジタル化した場
合、網点部の山の極点付近では、極点の濃度レベルが大
きく<小さく>なればなるほどその近傍の画素との濃度
のレベル差が大きくなるという性質がある。したがっ
て、この性質を利用し、しきい値を山の高さに応じて変
えるようにすればよい。例えば、前記の極点検出条件
を例に採ると、しきい値TH1として2つの値A,B
(A>B)を用意し、 もし Lc≧αならば → TH1=A もし Lc<αならば → TH1=B (α:切り換え判定値) のように、中心画素Lcの濃度レベルに応じてしきい値
TH1を2段階に変えればよい。なお、前記判定式中の
Lcに代えて、中心画素の周囲の画素の平均濃度レベ
ル、例えば図4(a)のマスク中の周囲画素L1〜L8
の平均濃度レベルを用いてしきい値TH1を切り換える
ようにすることもできる。
In general, when a halftone dot portion is digitized, near the extreme point of the peak of the halftone dot portion, the larger the density level of the extreme point becomes <smaller>, the greater the difference in density level between the neighboring pixels becomes. There is. Therefore, using this property, the threshold may be changed according to the height of the mountain. For example, taking the above-mentioned extreme point detection condition as an example, two values A and B are set as the threshold value TH1.
(A> B) is prepared, and if Lc ≧ α, then TH1 = A, if Lc <α, then TH1 = B (α: switching judgment value), such as according to the density level of the center pixel Lc. The threshold value TH1 may be changed in two stages. Note that, instead of Lc in the above-mentioned determination formula, the average density level of the pixels around the central pixel, for example, the peripheral pixels L1 to L8 in the mask of FIG.
The threshold value TH1 can be switched using the average density level of.

【0042】さらにまた、前記検出条件〜中のいず
れか2つ、またはそれ以上の複数の検出条件を用意し、
それぞれの検出条件によって極点画素を検出した後、最
終的にそれらの検出結果の論理和(OR)をとることに
より、極点画素を検出するようにしてもよい。例えば、
図4を例にとれば、図4(A)の3×3の小さな画素サ
イズのマスクで小さな網点ドットの極点画素を検出し、
図4(B)の5×5の大きな画素サイズのマスクで大き
な網点ドットの極点画素を検出し、これらの検出結果の
論理和(OR)をとればよい。これにより、広範な線数
の網点に対して極点画素を正確に検出することが可能と
なる。
Further, any two or more of the above detection conditions to are prepared.
After detecting the extreme pixel according to each detection condition, the extreme pixel may be detected by finally calculating the logical sum (OR) of the detection results. For example,
Taking FIG. 4 as an example, an extreme pixel of a small halftone dot is detected using a mask having a small pixel size of 3 × 3 in FIG.
An extreme pixel of a large halftone dot may be detected with a mask having a large pixel size of 5 × 5 in FIG. 4B, and a logical sum (OR) of these detection results may be obtained. As a result, it is possible to accurately detect an extreme pixel with respect to a halftone dot having a wide number of lines.

【0043】〔III 〕網点候補領域検出部3について 網点候補領域検出部3は、所定の小領域における前記山
および谷の極点画素の存在状態に基づいて当該小領域内
の所定の画素が網点候補領域であるかまたは非網点候補
領域であるかを判定する回路である。網点候補領域の検
出処理は、ブロック単位または画素単位で行うことがで
きる。
[III] Regarding Halftone Candidate Area Detection Unit 3 The halftone dot candidate area detection unit 3 determines a predetermined pixel in the small area based on the existence state of the peak pixels of the peaks and valleys in the predetermined small area. This is a circuit for determining whether the area is a halftone dot candidate area or a non-halftone dot candidate area. The process of detecting a halftone dot candidate region can be performed in block units or pixel units.

【0044】網点候補領域検出部3における網点候補領
域検出条件としては、まず次のを採用することができ
る。 極点画素検出部2で検出した山と谷の極点画素を所
定の大きさの小領域Sにてそれぞれ計数し、この山と谷
の極点画素の合計値を当該小領域の極点画素数Pとし、
この極点画素数Pが所定のしきい値以上であるときに、
・当該小領域S内のすべての画素を網点候補領域とする
(ブロック単位で処理の場合) あるいは ・当該小領域S内の中心画素を網点候補領域とする(画
素単位で処理の場合)。
First, the following conditions can be adopted as the halftone dot candidate area detecting condition in the halftone dot candidate area detecting section 3. The peak pixels of the peaks and valleys detected by the pole pixel detection unit 2 are counted in a small area S of a predetermined size, and the total value of the peak pixels of the peaks and valleys is defined as the number P of the pole pixels of the small area.
When the number of pole pixels P is equal to or greater than a predetermined threshold,
-All pixels in the small area S are set as halftone dot candidate areas (in the case of processing in block units) or-The central pixel in the small area S is set as halftone dot candidate areas (in the case of processing in pixel units) .

【0045】この検出条件の具体例を図7(A)
(B)に示す。図7(A)はブロック単位で処理する場
合の例、図7(B)は画素単位で処理する場合の例であ
る。前記条件を満たした場合、それぞれにおいてハッチ
ングした画素を網点候補領域として決定する。
FIG. 7A shows a specific example of this detection condition.
It is shown in (B). FIG. 7A shows an example in which processing is performed in block units, and FIG. 7B shows an example in which processing is performed in pixel units. When the above conditions are satisfied, the hatched pixels are determined as the halftone dot candidate areas.

【0046】さらに、網点の面積率にできるだけ影響を
受けないようにするため、前記における極点画素数P
に代え、次のまたはにより得られる極点画素数Pを
採用することもできる。
Further, in order to minimize the influence of the area ratio of the halftone dots, the number of pole pixels P
Alternatively, the following extreme pixel number P obtained by or can be adopted.

【0047】 山と谷の極点画素をそれぞれ別に計数
し、2つの計数値の大きい側の値を当該小領域Sの極点
画素数Pとする。 山と谷の極点画素をそれぞれ別に計数し、2つの計
数値の和の値を当該小領域Sの極点画素数Pとする。
The peak pixels at the peaks and the valleys are counted separately, and the larger value of the two count values is set as the number P of the pole pixels of the small area S. The peak pixels of the peaks and the valleys are counted separately, and the sum of the two count values is defined as the number P of the pole pixels of the small area S.

【0048】さらに、写真部や線画部の極点画素を網点
候補領域として誤って検出することを防止するため、網
点部の極点画素は均一かつ多数存在するという性質を利
用し、次のにより得られる極点画素数Pを採用するこ
ともできる。
Further, in order to prevent erroneous detection of an extreme pixel in a photograph portion or a line drawing portion as a halftone dot candidate area, the property that the extreme portion pixels in the halftone portion exist uniformly and in large numbers is used. The obtained pole pixel number P can also be adopted.

【0049】 小領域Sを複数の領域Siに分割して
各領域Siごとに極点画素数を計数し、極点画素数が所
定の値以下となる領域Siの数が所定の値以上であると
きは当該小領域Sの極点画素数を零とし、所定の値より
小さいときは各領域Siの極点画素数の合計値を当該小
領域Sの極点画素数Pとする。
The small area S is divided into a plurality of areas Si, and the number of extreme pixels is counted for each area Si. When the number of areas Si in which the number of extreme pixels is equal to or less than a predetermined value is equal to or more than a predetermined value, The number of extreme pixels in the small area S is set to zero, and when smaller than a predetermined value, the sum of the number of extreme pixels in each area Si is defined as the number P of extreme pixels in the small area S.

【0050】この検出条件の具体例を図8に示す。図
8は、小領域Sを4つの領域S1 ,S2 ,S3 ,S4
分割し、各領域ごとにその極点画素数P1 ,P2
3 ,P 4 を計数し、どれか1つでも計数値が零であれ
ば小領域Sの極点画素数を零とし、そうでなければ各領
域の極点画素数P1 ,P2 ,P3 ,P4 の合計値を小領
域Sの極点画素数Pとする。
FIG. 8 shows a specific example of this detection condition. Figure
8 indicates that the small area S is divided into four areas S1, STwo, SThree, SFourTo
Divide and, for each region, the number of extreme pixels P1, PTwo,
PThree, P FourAnd if any one of the counts is zero,
If the number of extreme pixels in the small area S is zero,
The number of extreme pixels in the area P1, PTwo, PThree, PFourSubtotal of
It is assumed that the number S of pole pixels in the area S is P.

【0051】さらにまた、極点候補領域の検出条件とし
て次のを採用することができる。 小領域Sを複数の領域Siに分割して各領域Siご
とに極点画素数を計数し、極点画素数が所定の値以下と
なる領域Siの数が所定の値以下であるとき、・当該小
領域S内のすべての画素を網点候補領域として検出する
(ブロック単位で処理の場合) あるいは ・当該小領域S内の中心画素を網点候補領域として検出
する(画素単位で処理の場合)。
Further, the following conditions can be adopted as the conditions for detecting the pole candidate region. The small area S is divided into a plurality of areas Si, and the number of extreme pixels is counted for each area Si. When the number of areas Si in which the number of extreme pixels is equal to or less than a predetermined value is equal to or less than a predetermined value, Detect all the pixels in the area S as the halftone dot candidate area (in the case of processing in block units) or • Detect the central pixel in the small area S as the halftone dot candidate area (in the case of processing in pixel units).

【0052】この検出条件の具体例を図8により説明
すれば、小領域Bを4つの領域S1,S2 ,S3 ,S4
に分割し、この分割した各領域ごとに極点画素の有無を
判定し、すべての領域S1 ,S2 ,S3 ,S4 に極点画
素が存在するとき、小領域S内のすべての画素(ブロッ
ク単位で処理の場合)または中心画素(画素単位で処理
の場合)を網点候補領域とすればよい。
A specific example of the detection condition will be described with reference to FIG. 8. If the small area B is divided into four areas S 1 , S 2 , S 3 , and S 4
Is determined for each of the divided areas. When the extreme pixels exist in all the areas S 1 , S 2 , S 3 , and S 4 , all the pixels in the small area S ( The halftone dot candidate area may be a pixel (in the case of processing in block units) or a center pixel (in the case of processing in pixel units).

【0053】〔IV〕網点領域検出部4について 網点領域検出部4は、前記網点候補領域検出部3の検出
結果を利用して最終的に網点領域を検出する回路であ
る。網点領域の検出処理は、ブロック単位または画素単
位で行うことができる。すなわち、
[IV] Regarding the Halftone Region Detecting Unit 4 The halftone region detecting unit 4 is a circuit that finally detects a halftone region by using the detection result of the halftone candidate region detecting unit 3. The process of detecting a halftone dot region can be performed in block units or pixel units. That is,

【0054】 ブロック単位で処理する場合 注目の小領域とその周囲の小領域における網点候補領域
の分布状態を判定し、注目の小領域が網点領域であるか
否かを決定する。 画素単位で処理する場合 注目の画素とその周囲の画素における網点候補領域の分
布状態を判定し、注目の画素が網点領域であるか否かを
決定する。
In the case of processing in block units: The distribution state of the halftone dot candidate areas in the small area of interest and the surrounding small areas is determined, and it is determined whether the small area of interest is a halftone area. In the case of processing in pixel units, the distribution state of the halftone dot candidate region in the target pixel and its surrounding pixels is determined, and it is determined whether or not the target pixel is a halftone region.

【0055】そして、前記のブロック単位で処理する
場合、具体的には次のの網点領域検出条件を採用する
ことができる。 注目の小領域とその周囲の小領域のうちで、網点候
補領域と判定された小領域の数が所定の個数以上あると
き、当該領域内のすべての画素を網点領域とする。
When the processing is performed in units of blocks, the following dot area detection conditions can be specifically adopted. When the number of small areas determined to be a halftone dot candidate area is equal to or more than a predetermined number among the small area of interest and its surrounding small areas, all pixels in the area are regarded as halftone dot areas.

【0056】なお、ブロック単位で処理を行う場合、そ
れぞれの小領域の中心画素で各小領域を代表させての
処理を行い、その結果に従って注目の小領域が網点領域
であるか否かを決定するようにしてもよい。これによ
り、処理の簡素化と高速化を図ることができる。
When processing is performed on a block basis, processing is performed by representing each small area with the center pixel of each small area, and it is determined whether or not the small area of interest is a halftone dot area according to the result. It may be determined. This makes it possible to simplify and speed up the processing.

【0057】この検出条件の具体例を図9に示す。こ
の図9は、注目の小領域とその前後の小領域において、
×印を付した画素を各領域の代表画素として選定し、こ
の×印画素がそれぞれ網点候補領域であるか否かを判定
することにより網点領域を検出するようにしたものであ
る。そして、例えばこの3つの×印の画素のすべてが網
点候補領域であるとき、注目の小領域内のハッチングし
て示したすべての画素を網点領域として決定する。
FIG. 9 shows a specific example of this detection condition. FIG. 9 shows that, in the small area of interest and the small areas before and after it,
Pixels marked with “x” are selected as representative pixels of each area, and halftone dot areas are detected by determining whether or not each of these “x” pixels is a halftone dot candidate area. Then, for example, when all of the three X-marked pixels are halftone dot candidate areas, all hatched pixels in the small area of interest are determined as halftone dot areas.

【0058】また、前記の画素単位で処理する場合、
具体的には次のまたはの網点領域検出条件を採用す
ることができる。 注目画素と周囲の画素のうちで網点候補領域の画素
が所定の個数以上あるとき、当該注目画素を網点領域と
する。
Further, when processing is performed on a pixel-by-pixel basis,
Specifically, the following or the following dot area detection conditions can be adopted. When there are a predetermined number or more of pixels in the halftone dot candidate area among the pixel of interest and surrounding pixels, the pixel of interest is defined as a halftone dot area.

【0059】なお、周囲の画素としては、注目画素に連
続する画素、あるいは注目画素から所定の距離だけ離れ
た位置の画素など、任意の位置の画素を採用することが
できる。この検出条件の具体例を図10および図11
に示す。図10は、×印を付して示す飛び飛びの位置の
画素を採用し、この×印画素のうちで網点領域の画素が
所定の個数以上あるとき、ハッチングした注目画素を網
点領域として決定するものである。図11は、×印を付
して示す連続位置の画素を採用し、この連続する×印画
素のうちで網点候補領域の画素が所定の個数以上あると
き、ハッチングした注目画素を網点領域として決定する
ものである。
As the surrounding pixels, a pixel at an arbitrary position such as a pixel following the pixel of interest or a pixel at a predetermined distance from the pixel of interest can be adopted. FIGS. 10 and 11 show specific examples of the detection conditions.
Shown in FIG. 10 adopts pixels at discrete positions indicated by crosses, and when there are a predetermined number or more of pixels in the halftone region among these cross-point pixels, the hatched pixel of interest is determined as the halftone region. Is what you do. FIG. 11 employs pixels at consecutive positions indicated by crosses, and when there are a predetermined number or more of pixels in the halftone dot candidate region among the consecutive crosses, the hatched target pixel is replaced with a halftone dot region. Is determined.

【0060】なお、前記図9〜図11の各例とも、周囲
の小領域または周囲画素を主走査方向(横方向)にアク
セスした場合を示したが、副走査方向(縦方向)にアク
セスしてもよいのであって、アクセスの仕方はラインバ
ッファの量と分離精度に応じて決めればよい。
Each of the examples shown in FIGS. 9 to 11 shows a case where the surrounding small area or surrounding pixels are accessed in the main scanning direction (horizontal direction). The access method may be determined according to the amount of the line buffer and the separation accuracy.

【0061】以上、図1中の各回路1〜4の具体例につ
いて述べた。図13は図1の網点領域分離装置の処理動
作のフローチャートである。以下に、このフローチャー
トを参照して図1装置の動作の概要を説明する。なお、
このフローチャートにおける極点画素検出部2、網点候
補領域検出部3および網点領域検出部4の処理条件は次
の(a)(b)(c)の通りである。
The specific examples of the circuits 1 to 4 in FIG. 1 have been described above. FIG. 13 is a flowchart of the processing operation of the halftone dot region separating apparatus of FIG. The outline of the operation of the apparatus in FIG. 1 will be described below with reference to this flowchart. In addition,
The processing conditions of the extreme pixel detection unit 2, the halftone dot candidate region detection unit 3, and the halftone dot region detection unit 4 in this flowchart are as follows (a), (b), and (c).

【0062】(a)極点画素検出部2における極点画素
の検出は、M×Mのブロックで行う(例えば、図3
(A)の3×3画素サイズのマスク)。 (b)網点候補領域検出部3における網点候補領域の検
出は、N×Nのブロック(N>M)を用いてブロック単
位で行う(例えば、図7(A)の4×4画素サイズの小
領域S)。 (c)網点領域検出部3における網点領域の検出は、前
記N×Nのブロックを図13に示すように主走査方向に
K個並べ、ブロック単位で行う。
(A) The detection of an extreme pixel in the extreme pixel detection unit 2 is performed in an M × M block (for example, FIG.
(A) 3 × 3 pixel size mask). (B) The detection of a halftone dot candidate area in the halftone dot candidate area detection unit 3 is performed in block units using N × N blocks (N> M) (for example, the 4 × 4 pixel size in FIG. 7A). Small area S). (C) The detection of the halftone dot area by the halftone dot area detection unit 3 is performed by arranging K N × N blocks in the main scanning direction as shown in FIG.

【0063】処理が開始されると、入力画像信号部1は
原画像をラスタスキャンし、原画像をディジタル多値デ
ータに変換して内部のバッファに格納する。極点画素検
出部2は、入力画像信号部1から処理に必要なNライン
分のディジタル多値データを読み込み(ステップ3
1)、M×M画素サイズのマスク、例えば図3(A)の
3×3画素サイズのマスクを各画素に順次適用し、例え
ばマスク内の中心画素の濃度レベルが周囲画素の濃度レ
ベルに比べて最大または最小であるとき、その時の中心
画素を極点画素として順次検出していく(ステップ3
2)。
When the processing is started, the input image signal unit 1 raster-scans the original image, converts the original image into digital multi-valued data, and stores it in an internal buffer. The extreme pixel detection unit 2 reads digital multivalued data for N lines required for processing from the input image signal unit 1 (step 3).
1) A mask of M × M pixel size, for example, a mask of 3 × 3 pixel size in FIG. 3A is sequentially applied to each pixel, and for example, the density level of the center pixel in the mask is compared with the density level of surrounding pixels. The maximum pixel or the minimum pixel is sequentially detected as the extreme pixel (step 3).
2).

【0064】次いで、網点候補領域検出部3は、ステッ
プ33において、前記のようにして検出されたNライン
分の極点画素についてN×Nブロックごと、例えば図7
(A)の4×4画素サイズの小領域S(以下「ブロック
S」という)ごとにその極点画素数Pを計数する。そし
て、ステップ34において、例えば、得られた極点画素
数Pが所定のしきい値以上であるブロックSを網点候補
領域として検出する。
Next, in step 33, the halftone dot candidate area detecting section 3 calculates the N-th pole pixels of the N lines detected as described above for every N × N blocks, for example, as shown in FIG.
The pole pixel number P is counted for each small area S (hereinafter, referred to as “block S”) of 4 × 4 pixel size in FIG. Then, in step 34, for example, a block S in which the obtained pole pixel number P is equal to or larger than a predetermined threshold value is detected as a halftone dot candidate area.

【0065】次いで、網点領域検出部4は、ステップ3
5において、図13に示すように、主走査方向に前記ブ
ロックSをK個並べ、このK個のブロック中で網点候補
領域のブロックの数Bを求める。そして、ステップS3
6において、このブロック数Bが所定の個数BTH以上で
あるか否かを判定し、所定の個数BTHよりも大きいとき
は注目ブロックを網点部と判定し(ステップ37)、ま
た所定の個数BTHよりも小さいときは注目ブロックは非
網点部と判定する(ステップ38)。
Next, the halftone dot area detecting section 4 executes step 3
In step 5, as shown in FIG. 13, K blocks S are arranged in the main scanning direction, and the number B of halftone dot candidate area blocks in the K blocks is obtained. Then, step S3
In 6, the block number B is equal to or a predetermined number B TH or more, is greater than the predetermined number B TH determines the target block and halftone dot portion (step 37), also given It is smaller than the number B TH is the block of interest is determined as Hiami point unit (step 38).

【0066】上記の処理を繰り返し実行することにより
(ステップ39,40)、入力画像中のすべての画素が
網点部と非網点部に領域分離される。以上説明した本発
明の網点領域分離装置は、画像中の全画素を網点部とそ
れ以外の非網点部(=写真部+線画部)とに領域分離す
るものであるが、この本発明の網点領域分離装置と公知
の写真領域分離装置(例えば、特開昭61−22597
4号参照)とを組み合わせることにより、画像を写真
部、網点部、線画部の三つの領域に分離するためのいわ
ゆる三領域分離装置を容易に構成することができる。す
なわち、三領域分離装置を構成するには、本発明の網点
領域分離装置と公知の写真領域分離装置を用い、 (a) 網点領域分離装置 → 網点部 (b) 写真領域分離装置 → 写真部 (c) (a)(b)の結果を利用し、非網点部で、か
つ非写真部となる領域→ 線画部 と判定するように構成すればよい。なお、前記(a)の
網点領域分離処理と(b)の写真領域分離処理は並列ま
たは直列処理のいずれでも行い得る。
By repeating the above processing (steps 39 and 40), all the pixels in the input image are separated into halftone portions and non-halftone portions. The halftone dot region separating apparatus of the present invention described above separates all the pixels in an image into a halftone dot portion and a non-halftone dot portion (= photo portion + line drawing portion). The halftone dot separating apparatus of the present invention and a known photographic area separating apparatus (for example, see Japanese Patent Application Laid-Open No.
By combining this with (3), a so-called three-region separating device for separating an image into three regions of a photograph portion, a halftone dot portion, and a line drawing portion can be easily configured. That is, to configure a three-region separating device, a halftone dot region separating device of the present invention and a known photographic region separating device are used, and (a) a halftone region separating device → a halftone portion (b) a photographic region separating device → Photograph part (c) Using the results of (a) and (b), a configuration may be adopted in which a non-halftone dot area and a non-photograph part is determined to be a line drawing part. The halftone dot separation process (a) and the photographic region separation process (b) can be performed in either parallel or serial processing.

【0067】図14は前記三領域分離装置を利用して構
成した複写機の一例を示す。図中、11は三領域分離装
置、12は線画領域用のMTF補正回路、13は線画領
域用の二値化処理回路、14は網点領域用の平滑処理回
路、15は網点領域用の階調性を重視したうずまき型の
ディザ処理回路、16は写真領域用の階調性を重視した
うずまき型のディザ処理回路、17は三領域分離装置1
1の判定出力に従って処理回路13,15,16のいず
れかの処理信号を選択する画像信号選択回路である。
FIG. 14 shows an example of a copying machine constructed using the three-region separating apparatus. In the figure, 11 is a three-region separating device, 12 is an MTF correction circuit for a line drawing region, 13 is a binarization processing circuit for a line drawing region, 14 is a smoothing processing circuit for a dot region, and 15 is a dot processing region. A vortex dither processing circuit emphasizing gradation, 16 is a vortex dither processing circuit emphasizing gradation for a photographic region, and 17 is a three-region separating device 1.
1 is an image signal selection circuit for selecting one of the processing signals of the processing circuits 13, 15, 16 according to the judgment output of 1.

【0068】入力画像信号は、三領域分離装置11、M
TF補正回路12、平滑処理回路14およびディザ処理
回路16に並列に入力する。三領域分離装置11は、入
力画像の全画素について網点/写真/線画に領域分離
し、その判定出力を画像信号選択回路17に送る。
The input image signal is supplied to the three-region separating device 11, M
The signals are input to the TF correction circuit 12, the smoothing processing circuit 14, and the dither processing circuit 16 in parallel. The three-region separating device 11 separates all pixels of the input image into halftone dots / photographs / line drawings, and sends the determination output to the image signal selection circuit 17.

【0069】画像信号選択回路17は、三領域分離装置
11の判定出力が写真領域信号の場合にはディザ処理回
路16の出力画像を選択し、網点領域信号の場合にはデ
ィザ処理回路16の出力画像を選択し、線画領域信号の
場合には二値化処理回路13の出力画像を選択して出力
する。この結果、入力画像中の写真部においてはうずま
き型のディザ処理回路16によって擬似中間調処理され
た画像が、網点部においては平滑処理回路14とうずま
き型のディザ処理回路15によってモアレ除去された画
像が、また線画領域においてはMTF補正回路12と二
値化処理回路13によってエッジ強調された画像が出力
される。したがって、画像信号選択回路17から出力さ
れる画像信号を用いて画像再生すれば、画像中の網点
部、写真部および線画部の各領域ごとに最良の方法で画
像処理した高品質の再生画像が得られる。
The image signal selection circuit 17 selects the output image of the dither processing circuit 16 when the determination output of the three-region separating device 11 is a photographic area signal, and selects the output image of the dither processing circuit 16 when the determination output is a halftone area signal. An output image is selected, and in the case of a line drawing area signal, an output image of the binarization processing circuit 13 is selected and output. As a result, in the photographic part of the input image, the image subjected to the pseudo halftone processing by the vortex type dither processing circuit 16 is removed by the smoothing processing circuit 14 and the vortex type dither processing circuit 15 in the halftone dot part. In the line image area, an image whose edge is enhanced by the MTF correction circuit 12 and the binarization processing circuit 13 is output. Therefore, if an image is reproduced using the image signal output from the image signal selection circuit 17, a high-quality reproduced image obtained by performing image processing by the best method for each of the halftone, photographic and line drawing areas in the image Is obtained.

【0070】[0070]

【発明の効果】中心画素を中心として所定の局所領域お
よび前記局所領域より広い所定の局所領域のそれぞれに
対して中心画素と所定の周囲画素の濃度レベルを比較し
て極点画素を検出し、検出結果の論理和を極点画素とし
て出力するようにしたので、網点部の面積率の大小や原
稿の配置状態に関係なく、極点画素を正確に検出するこ
とができる。
According to the present invention, the extreme pixel is detected by comparing the density level of the central pixel with that of a predetermined peripheral pixel for each of a predetermined local area centered on the central pixel and a predetermined local area wider than the local area. Since the logical sum of the result is output as the extreme pixel, the extreme pixel can be accurately detected irrespective of the magnitude of the area ratio of the halftone dot portion or the arrangement state of the document.

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

【図1】本発明の網点検出装置が適用された網点領域分
離装置のブロック図である。
FIG. 1 is a block diagram of a halftone dot area separating apparatus to which a halftone dot detecting apparatus according to the present invention is applied.

【図2】平滑化前後の網点ドットの様子を示す図であ
る。
FIG. 2 is a diagram illustrating a state of halftone dots before and after smoothing.

【図3】局所領域と極点画素の例を示す図である。FIG. 3 is a diagram illustrating an example of a local region and an extreme pixel.

【図4】局所領域と極点画素の例を示す図である。FIG. 4 is a diagram illustrating an example of a local region and an extreme pixel.

【図5】局所領域と極点画素の例を示す図である。FIG. 5 is a diagram illustrating an example of a local region and an extreme pixel.

【図6】局所領域と極点画素の例を示す図である。FIG. 6 is a diagram illustrating an example of a local region and an extreme pixel.

【図7】網点候補領域の検出の例を示す図である。FIG. 7 is a diagram illustrating an example of detection of a halftone dot candidate area.

【図8】小領域の分割の例を示す図である。FIG. 8 is a diagram illustrating an example of division of a small area.

【図9】網点領域の検出の例を示す図である。FIG. 9 is a diagram illustrating an example of detection of a halftone dot region.

【図10】網点領域の検出の例を示す図である。FIG. 10 is a diagram illustrating an example of detection of a halftone dot region.

【図11】網点領域の検出の例を示す図である。FIG. 11 is a diagram illustrating an example of halftone dot region detection.

【図12】処理動作のフローチャートである。FIG. 12 is a flowchart of a processing operation.

【図13】網点候補領域の計数方法の例を示す図であ
る。
FIG. 13 is a diagram illustrating an example of a method for counting halftone dot candidate areas.

【図14】本発明装置を利用して構成した複写機の例を
示す図である。
FIG. 14 is a diagram illustrating an example of a copying machine configured using the apparatus of the present invention.

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

1 入力画像信号部 2 極点画素検出部 3 網点候補領域検出部 4 網点領域検出部 DESCRIPTION OF SYMBOLS 1 Input image signal part 2 Pole pixel detection part 3 Halftone dot candidate area detection part 4 Halftone dot area detection part

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 ディジタル多値データに変換された画像
の所定の局所領域内の中心画素と所定の周囲画素の濃度
レベルを比較して極点画素を検出する第1極点画素検出
手段と、 前記中心画素を中心として前記所定の局所領域より広い
局所領域内の中心画素と所定の周囲画素の濃度レベルを
比較して極点画素を検出する第2極点画素検出手段と、 前記第1極点画素検出手段の検出結果と前記第2極点画
素検出手段の検出結果の論理和を極点画素として出力す
る論理和手段と、を備えたことを特徴とする極点画素検
出装置。
A first extreme pixel detecting means for comparing a density level of a central pixel in a predetermined local region of an image converted into digital multi-valued data with a density level of a predetermined surrounding pixel to detect an extreme pixel; A second extreme pixel detecting means for comparing a density level of a central pixel in a local area wider than the predetermined local area with a predetermined peripheral pixel with respect to a pixel to detect an extreme pixel, and a first extreme pixel detecting means; An extreme pixel detection apparatus, comprising: a logical sum unit that outputs a logical sum of a detection result and a detection result of the second extreme pixel detection unit as an extreme pixel.
【請求項2】 前記第1極点画素検出手段の前記所定の
局所領域が前記中心画素を中心とする3×3画素で構成
される領域であり、前記第2極点画素検出手段の前記広
い局所領域が5×5画素で構成される領域であることを
特徴とする請求項1記載の極点画素検出装置。
2. The method according to claim 1, wherein the predetermined local area of the first extreme pixel detecting means is an area composed of 3 × 3 pixels centered on the central pixel, and the wide local area of the second extreme pixel detecting means is selected. The extreme pixel detection apparatus according to claim 1, wherein is an area composed of 5 x 5 pixels.
【請求項3】 前記第2極点画素検出手段の前記広い局
所領域を前記中心画素を中心として隣接する行および列
の画素を1つおきにマスクして前記第1極点画素検出手
段の前記局所領域と同じ面積とし、前記第1極点画素検
出手段および前記第2極点画素検出手段が同じ位置の所
定の周囲画素の濃度レベルを比較して極点画素を検出す
るようにしたことを特徴とする請求項1または2記載の
極点画素検出装置。
3. The local area of the first extreme pixel detection means by masking the wide local area of the second extreme pixel detection means every other row and column pixels adjacent to the center pixel. The first extreme pixel detection means and the second extreme pixel detection means compare the density levels of predetermined surrounding pixels at the same position to detect an extreme pixel. 3. The extreme pixel detection device according to 1 or 2.
【請求項4】 極点検出条件を、局所領域内においてそ
の中心画素の濃度レベルが所定の周囲画素の濃度レベル
に比べて最大または最小であるときに当該中心画素を極
点画素として検出する、ようにしたことを特徴とする請
求項1,2または3記載の極点画素検出装置。
4. The extreme point detection condition is such that the central pixel is detected as an extreme pixel when the density level of the central pixel in the local area is maximum or minimum compared to the density level of a predetermined surrounding pixel. The extreme pixel detection apparatus according to claim 1, 2 or 3, wherein:
【請求項5】 極点検出条件を、局所領域内においてそ
の中心画素の濃度レベルが所定の周囲画素の濃度レベル
に比べて所定のしきい値より大きいときまたは小さいと
きに当該中心画素を極点画素として検出する、ようにし
たことを特徴とする請求項1,2または3記載の極点画
素検出装置。
5. The extreme point detection condition is set such that the central pixel is defined as an extreme pixel when the density level of the central pixel in the local area is larger or smaller than a predetermined threshold value compared to the density level of a predetermined surrounding pixel. 4. The extreme pixel detection apparatus according to claim 1, wherein the detection is performed.
【請求項6】 極点検出条件を、局所領域内においてそ
の中心画素の濃度レベルが所定の周囲画素の濃度レベル
に比べて最大または最小であり、かつ当該中心画素の濃
度レベルと当該中心画素を中にして点対象位置にある他
の2つの画素の濃度レベルの平均値との差の絶対値が所
定のしきい値(TH2)よりも大きいときに、当該中心
画素を極点画素として検出する、ようにしたことを特徴
とする請求項1,2または3記載の極点画素検出装置。
6. The extreme point detection condition is such that the density level of the central pixel in the local area is maximum or minimum compared to the density level of a predetermined peripheral pixel, and the density level of the central pixel and the central pixel are When the absolute value of the difference from the average value of the density levels of the other two pixels at the point target position is larger than a predetermined threshold value (TH2), the center pixel is detected as a pole pixel. The extreme pixel detection apparatus according to claim 1, 2 or 3, wherein:
【請求項7】 中心画素と比較する所定の周囲画素とし
て、中心画素を通り上下左右斜め方向に伸びる直線上に
並んだ画素を用いる、ことを特徴とする請求項1乃至6
のいずれかに記載の極点画素検出装置。
7. A method according to claim 1, wherein the predetermined peripheral pixels to be compared with the central pixel are pixels arranged on a straight line passing through the central pixel and extending in the up, down, left and right directions.
6. The extreme pixel detection device according to any one of the above.
【請求項8】 しきい値を中心画素の濃度レベルまたは
所定の周囲画素の濃度レベルに応じて変える、ようにし
たことを特徴とする請求項1乃至7のいずれかに記載の
極点画素検出装置。
8. The extreme pixel detection apparatus according to claim 1, wherein the threshold value is changed according to the density level of the central pixel or the density level of predetermined surrounding pixels. .
【請求項9】 中心画素の濃度レベルが所定の周囲画素
の濃度レベルに比べて高い山の極点画素検出の場合のし
きい値は中心画素の濃度レベルが大なるとき大となるよ
うに変え、中心画素の濃度レベルが所定の周囲画素の濃
度レベルに比べて低い谷の極点画素検出の場合のしきい
値は中心画素の濃度レベルが小なるとき小となるように
変える、ようにしたことを特徴とする請求項8記載の極
点画素検出装置。
9. The threshold value in the case of detecting a peak pixel of a mountain where the density level of a central pixel is higher than the density level of a predetermined surrounding pixel is changed so as to increase when the density level of the central pixel increases. The threshold value in the case of detecting the extreme pixel of the valley where the density level of the center pixel is lower than the density level of the predetermined surrounding pixels is changed so as to become smaller when the density level of the center pixel becomes smaller. 9. The extreme pixel detection apparatus according to claim 8, wherein:
【請求項10】 所定の周囲画素の濃度レベルの平均値
を求め、該平均値に応じてしきい値を変える、ようにし
たことを特徴とする請求項8記載の極点画素検出装置。
10. The extreme pixel detecting apparatus according to claim 8, wherein an average value of density levels of predetermined surrounding pixels is obtained, and a threshold value is changed according to the average value.
JP2000215968A 2000-01-01 2000-07-17 Pole pixel detection device Expired - Lifetime JP3245586B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000215968A JP3245586B2 (en) 2000-01-01 2000-07-17 Pole pixel detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000215968A JP3245586B2 (en) 2000-01-01 2000-07-17 Pole pixel detection device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP02075466A Division JP3142279B2 (en) 1990-03-27 1990-03-27 Halftone dot area separation device

Publications (2)

Publication Number Publication Date
JP2001053968A true JP2001053968A (en) 2001-02-23
JP3245586B2 JP3245586B2 (en) 2002-01-15

Family

ID=18711312

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000215968A Expired - Lifetime JP3245586B2 (en) 2000-01-01 2000-07-17 Pole pixel detection device

Country Status (1)

Country Link
JP (1) JP3245586B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6477284B1 (en) 1999-06-14 2002-11-05 Nec Corporation Photo-electric combined substrate, optical waveguide and manufacturing process therefor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2777379B2 (en) 1988-10-24 1998-07-16 株式会社リコー Area separation device

Also Published As

Publication number Publication date
JP3245586B2 (en) 2002-01-15

Similar Documents

Publication Publication Date Title
JP3585703B2 (en) Image processing device
JPH05227425A (en) Improvement in automatic image segmentation
JPH0435167A (en) Line picture separation system
JP2004034327A (en) Image processor and processing method
JP3142279B2 (en) Halftone dot area separation device
JPH08237475A (en) Image area separation method, image area separator and image processing method and image processing unit
JP3100383B2 (en) Character region separation method and apparatus
JP3245586B2 (en) Pole pixel detection device
JP2972172B2 (en) Halftone area detection method
JP3669081B2 (en) Image processing device
JP4047356B2 (en) Image processing device
JPH0775395B2 (en) Image processing device
JPS6359272A (en) Picture processor
JP3183787B2 (en) Halftone area determination device
JP2006262215A (en) Image processor, image processing method, image processing program and recording medium with the program recorded thereon
JP3093235B2 (en) Image processing method and apparatus
JP2962742B2 (en) Image processing device
JP3216963B2 (en) Halftone area determination device
JP3989636B2 (en) Image processing device
JPH05292312A (en) Dot area separator
JP3064896B2 (en) Image processing device
JP2777378B2 (en) Halftone area detection method
JP2778669B2 (en) Halftone area detection method
JPH06150059A (en) Image area separator
JP2972171B2 (en) Halftone area detection method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011002

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

Free format text: PAYMENT UNTIL: 20071026

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081026

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20081026

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091026

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101026

Year of fee payment: 9

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101026

Year of fee payment: 9