JPS59186467A - Image discriminating method - Google Patents

Image discriminating method

Info

Publication number
JPS59186467A
JPS59186467A JP58062013A JP6201383A JPS59186467A JP S59186467 A JPS59186467 A JP S59186467A JP 58062013 A JP58062013 A JP 58062013A JP 6201383 A JP6201383 A JP 6201383A JP S59186467 A JPS59186467 A JP S59186467A
Authority
JP
Japan
Prior art keywords
image
picture element
black level
level
coordinate
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
Application number
JP58062013A
Other languages
Japanese (ja)
Inventor
Hisafumi Shoji
尚史 庄司
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP58062013A priority Critical patent/JPS59186467A/en
Publication of JPS59186467A publication Critical patent/JPS59186467A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To discriminate automatically on whether an image is a dot image or not with high precision by discriminating the fact that the image is the dot image when the rate of black level picture elements when picture elements are sampled at reference intervals is larger than a specific value and the rate of white level picture elements is larger than a specific value. CONSTITUTION:The lateral axis in a figure represents picture elements on one scanning line and the longitudinal axis represents the level of the tentative binary-coding of each picture element by circuits S and D using a single fixed threshold value. The coordinate P=(a+b)/2 of the center picture element of a black-level picture element block B1 is calculated from the coordinate (a) of the starting picture element and coordinate (d) of the ending picture element of said block B1, and the coordinate Q= (c+d)/2 of the center picture element of a block-level picture element of a black-level picture element block B2 is calculated from the coordinate (c) of the starting picture element and coordinate (d) of the ending picture element of said block B2 to calculate the interval D=Q-P between the center picture elements from those P and Q. This D is regarded as a reference interval to sample picture elements at reference intervals from the center picture element (e.g. picture element at coordinate P), calculating the rate of block-level picture elements and the rate of white-level picture elements.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、網点画像か否かを判別する画像判別方法に関
し、更に詳しくは、階調を網点の密度ではなく網点の大
小で表現した網点画像の判別方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an image discrimination method for determining whether or not an image is a halftone dot image. This invention relates to a method for determining expressed halftone images.

(従来技術) ドツト集中型閾値マトリクスを用いたディザ処理法は、
2値ドツトによる擬似中間調再現法として有効な方法で
ある。しかし、この方法には、空間周波数が特定成分に
偏る傾向があるため、再生画像にモアレパターンが生じ
易い。即ち、網点画像をドツト集中型閾値マトリクスで
2値化すると、モアレパターンが生じ、画質が著しく劣
化することが多い。この坦象は、所謂各世代コピーをし
ようと覆ると、特に顕茗に埋ねれる。このため、網点画
像を2値化する場合には、モアレパターンの生しにくい
処理方法に替える必要がある。
(Prior art) A dither processing method using a dot concentration threshold matrix is
This is an effective method for reproducing pseudo-halftones using binary dots. However, in this method, the spatial frequency tends to be biased towards a specific component, so moiré patterns are likely to occur in the reproduced image. That is, when a halftone image is binarized using a dot concentration type threshold matrix, a moiré pattern is generated and the image quality often deteriorates significantly. This impression is especially hidden when we try to copy each generation. Therefore, when a halftone image is to be binarized, it is necessary to use a processing method that is less likely to produce moiré patterns.

ところで、原稿が連続−的又は離散的階調をもつものか
、或いは網点て形成されているものかは、−見しただけ
では判断がつきにくい。特に一般のオペレータとにとっ
ては、この判断に際して、かなりの注意力を要求される
By the way, it is difficult to judge just by looking at the document whether it has continuous or discrete gradation, or whether it is formed with halftone dots. Particularly for ordinary operators, a great deal of attentiveness is required when making this judgment.

しかし、現実にはこの画像判別をオペレータが目視によ
って行い、その判別結果に合致する処理方法を選択して
いる。このため、判別ミスに起因する無駄な作業を度々
行っていた。この種の作業の高速化や効率化が要望され
、複写機等にあっては既に自動原稿送り装置(ADF装
置)を備えたものが広く普及している現在において、こ
の目視での画像判別による処理操作では、前述の高速化
や効率化に対応することは実際上不可能である。
However, in reality, an operator performs this image discrimination visually and selects a processing method that matches the discrimination result. For this reason, wasteful work due to discrimination errors is often performed. There is a demand for speeding up and improving the efficiency of this type of work, and copying machines equipped with automatic document feeders (ADF devices) are now widely used. In processing operations, it is practically impossible to respond to the above-mentioned increases in speed and efficiency.

(発明の目的) 本発明は、この点に鑑みてなされたもので、その目的は
、高い信頼性で網点画像か否かの判別を自動的に行える
画像判別方法を提供づ−ることにある。
(Object of the Invention) The present invention has been made in view of this point, and its purpose is to provide an image discrimination method that can automatically discriminate whether or not it is a halftone image with high reliability. be.

(発明の構成) この目的を達成する本発明の画像判別方法は、一走査線
上の画素を単一の固定閾値を用いて2値化し、これによ
り得られた黒レベル画素ブロックの内から、隣接する2
つの黒レベル画素ブロックを選択し、該2つの黒レベル
画素ブロックの間隔に基づいて基準間隔を設定し、任意
の黒レベル画素ブロックの中心画素から該基準間隔毎に
画素をサンプリングしたときの黒レベル画素の割合が所
定値より大きく、且つ、任意の隣接覆る2つの黒レベル
画素ブロックの中間画素から前記基準間隔毎に画素をリ
ーシブリングしたとぎの白レベル画素の割合が所定値よ
り大きいとき、前記画像は網点画像であると判別するこ
とを特徴とするものである。
(Structure of the Invention) The image discrimination method of the present invention that achieves this objective binarizes pixels on one scanning line using a single fixed threshold, and from among the black level pixel blocks obtained by this, adjacent do 2
Select one black level pixel block, set a reference interval based on the interval between the two black level pixel blocks, and sample pixels at each reference interval from the center pixel of any black level pixel block. When the ratio of pixels is larger than a predetermined value, and the ratio of white level pixels obtained by reassigning pixels at each reference interval from the middle pixel of two arbitrary adjacent overlapping black level pixel blocks is larger than the predetermined value, The image is characterized in that it is determined to be a halftone image.

(実施例) 以下、図面を参照し本発明の詳細な説明覆る。(Example) Hereinafter, a detailed description of the present invention will be given with reference to the drawings.

第1図は本発明の判別原理を説明するための図で、横軸
は一走査線上の画素を示し、縦軸は各画素を単一固定閾
値て暫定的に2値化した場合のレベルを示している。即
ち、II B IIのレベルが黒レベルを示し、“°W
″のレベルが白レベルを示している。この2値化によっ
て、黒レベル画素ブロックB+〜B4と白レベル画素ブ
ロックW、〜W5が構成されている。本発明方法では、
これらの黒レベル画素ブロックの中から、隣接する任意
の2つの黒レベル画素ブロックを選択して、画像判別を
行う。例えば隣接する2つの黒レベル画素ブロックとし
て8+ 、B2を選択しtc場合には、黒レベル画素ブ
ロックB1の先頭画素の座標a及び最後画素の座標すか
ら、黒レベル画素ブロックB1の中心画素の座標P= 
(a +b ) 、/2を求め、同様に、黒レベル画素
ブロックB2の先頭画素の座標C及び最後画素の座標d
から、黒レベル画素ブロックB2の中心画素の座標Q=
 (c +d )/2を求め、これらP、Qから中心画
素間の間隔D=Q−Pを算出すると、各中心画素は網点
の中心と略一致し、間隔りは、網点間隔に等しい。従っ
て、このDを基準間隔として、上記中心画素(例えば座
標Pの画素)から上記基準間隔毎に画素をサンプリング
していくと、サンプリング間隔が網点間隔に等しいこと
から、サンプリング画素が黒レベル画素である場合が多
くなる。一方、黒レベル画素ブロックB+とB2の中間
画素(この画素の座標RはR= (P+Q)/2で示さ
れる)は、網点の中間位置の画素であるから、この中間
画素から上記基準間隔毎に画素をサンプリングしていく
と、サンプリング画素が白レベル画素である場合が多く
なる。従って、上記2つのサンプリングにおいて、前者
のサンプリングでの黒レベル画素の割合が所定値より大
ぎく、後者のサンプリングでの白レベル画素の割合が所
定値より太き(ブれば、網点画像であると判断すること
ができる。尚、黒レベル画素の割合が所定値より大ぎい
が小さいかの比較ど、白レベル画素の割合が所定値より
小さいが大きいかの比較とは同一の意味であり、具体的
な比較では、黒白何れのレベルの画素を)パ択してその
割合をとってもよい。
FIG. 1 is a diagram for explaining the discrimination principle of the present invention. The horizontal axis shows pixels on one scanning line, and the vertical axis shows the level when each pixel is temporarily binarized using a single fixed threshold. It shows. That is, the level of II B II indicates the black level, and “°W
'' level indicates the white level. Through this binarization, black level pixel blocks B+ to B4 and white level pixel blocks W and to W5 are constructed. In the method of the present invention,
Any two adjacent black level pixel blocks are selected from among these black level pixel blocks to perform image discrimination. For example, if 8+ and B2 are selected as two adjacent black level pixel blocks and tc, the coordinates of the center pixel of the black level pixel block B1 are given by the coordinates a of the first pixel and the coordinates of the last pixel of the black level pixel block B1. P=
(a + b), /2 is calculated, and similarly, the coordinate C of the first pixel and the coordinate d of the last pixel of the black level pixel block B2 are calculated.
From, the coordinates Q of the center pixel of the black level pixel block B2 =
(c + d)/2 is calculated, and from these P and Q, the distance between the center pixels D=Q-P is calculated. Each center pixel approximately coincides with the center of the halftone dot, and the distance is equal to the halftone dot distance. . Therefore, when pixels are sampled from the center pixel (for example, the pixel at coordinate P) at each reference interval using this D as a reference interval, the sampling interval is equal to the halftone dot interval, so the sampling pixel becomes the black level pixel. In many cases, this is the case. On the other hand, since the intermediate pixel between black level pixel blocks B+ and B2 (the coordinates R of this pixel is indicated by R= (P+Q)/2) is a pixel located at the intermediate position of the halftone dot, If pixels are sampled every time, the sampling pixels will be white level pixels in many cases. Therefore, in the above two samplings, the proportion of black level pixels in the former sampling is larger than the predetermined value, and the proportion of white level pixels in the latter sampling is thicker than the predetermined value (if It can be determined that the percentage of black level pixels is greater than or equal to a predetermined value, and the comparison of whether the percentage of white level pixels is greater than or equal to a predetermined value has the same meaning. For a specific comparison, pixels of either black or white level may be selected and their ratios taken.

第2図は上述の判別方法を現実に実行する判別装置がと
るべき具体的な判別手順の一例を示すものである。この
装置に第1図の如き2値化データが入力された場合の判
別動作を次に説明する。
FIG. 2 shows an example of a specific discrimination procedure that should be taken by a discrimination device that actually executes the above-described discrimination method. The determination operation when binary data as shown in FIG. 1 is input to this device will be described next.

まず、第1図の如く暫定的に2値化されたー走査線分の
画像テークを画像メモリ等から受けると、第1及び第2
の黒レベル画素ブロックBl、B2について、白レベル
から黒レベルに立ち上がる画素の座標a、Cと、黒レベ
ルから白レベルに立ち下がる画素の座標す、dとを検出
し、p= (a +11 > /2. Q7 (c +
d ) /2を算出し、更に、R= (P+Q)、/2
.D= (Q−P)を算出する。
First, as shown in Fig. 1, when an image take of a scanning line segment that has been provisionally binarized is received from an image memory or the like, the first and second
For the black level pixel blocks Bl and B2, the coordinates a and C of the pixels rising from the white level to the black level and the coordinates S and d of the pixels falling from the black level to the white level are detected, and p= (a +11 > /2.Q7 (c +
d) Calculate /2, and further, R= (P+Q), /2
.. Calculate D=(Q-P).

次に、座標がp+n −D (n =O〜n l)で示
される画素を次々にサンプリングし、思レベルである場
合に内蔵のカウンタをカウントアツプしていき、黒レベ
ルの累積回数1を求める。このLが求まると、所定数L
○とLどの比較を行い、L<LOのときは非網点画像で
あると判断する。
Next, pixels whose coordinates are p + n - D (n = O to n l) are sampled one after another, and when the pixel is at the desired level, the built-in counter is counted up to find the cumulative number of black levels. . Once this L is determined, a predetermined number L
○ and L are compared, and when L<LO, it is determined that the image is a non-halftone image.

一方、L≧L○のときには、座標がR+n −D(n=
o〜n2)で示される画素を次々にサンプリングし、白
レベルである場合にカウントアツプしていき、白レベル
の累積回数Mを求め、これが所定値M○より大きいかど
うかを比較する。イして、M < M oの場合には、
非網点画像であるとY生新し、M≧Moの場合は網点画
像であると判断す−る。
On the other hand, when L≧L○, the coordinates are R+n −D (n=
The pixels indicated by o to n2) are sampled one after another, and when they are at the white level, they are counted up, the cumulative number of times M of the white level is determined, and it is compared to see if this is greater than a predetermined value M○. Then, if M < Mo, then
If it is a non-halftone image, Y is determined, and if M≧Mo, it is determined that it is a halftone image.

尚、この判別手順では、走査線の最初に現われた黒レベ
ル画素ブロックB1とその次の黒レベル画素ブロックB
2との間隔を基準間隔(サンプリング間隔)にしている
が、走査ラインの初期に現われるノイズ等の影響を防止
するために、非網点画像と判断した場合でも、判別開始
画素をずらして、再び判別を行い、これらの判断結果か
ら最終的に画像判別を行うように構成すれば、判別精度
は更に向上する。又、中心画素ISI隔を種々の隣接黒
レベル画素ブロックについて求め、その中で最も頻度の
多い値を採用り−るようにすれば、白ぬきの網点があ′
る場合についての判別¥R度も極めて高くなる。
In this determination procedure, the black level pixel block B1 appearing at the beginning of the scanning line and the next black level pixel block B
2 is used as the reference interval (sampling interval), but in order to prevent the influence of noise etc. that appears at the beginning of the scanning line, even if it is determined that the image is a non-halftone image, the discrimination start pixel is shifted and the determination is repeated again. If the configuration is such that the determination is made and the image is finally determined based on the results of these determinations, the determination accuracy will be further improved. Also, if the center pixel ISI interval is determined for various adjacent black level pixel blocks and the value with the highest frequency is adopted, it is possible to obtain a white halftone dot.
The degree of discrimination in the case of

第3図は上記判別方法を採用して画像データの2値化を
行う画像処理装置のブロック図である。
FIG. 3 is a block diagram of an image processing apparatus that binarizes image data by employing the above-described discrimination method.

この図において、画像入力部Iは原稿の一走査うイン分
の階調信号を発生させ、2値画像形成部S。
In this figure, an image input section I generates a gradation signal corresponding to one scan of the original, and a binary image forming section S generates a tone signal corresponding to one scan of the original.

Dに送る。2値画像形成部Sは、単一固定閾値を用いて
入力信号を2値化し、又、2値画像形成部りはドツト集
中型閾値マトリクスを用いて入力信号を2値化し、それ
ぞれ画像メモリMl、M2に格納する。次に、単一固定
閾値により2値信号化された画像メモリMl内の画像デ
ータを用いて、演算処理部Cが網点画像か否かを判別す
る。この判別アルゴリズムは前)ホの通りである。この
判別の結果、網点画像と判断された画像に対しては、2
値画像形成部Sが単−固定閾値を用いて全入力データを
2値化し、非網点画像と判断された画像に対しては、2
値画像形成部りがドツト集中型閾値マトリクスを用いて
全入力データを2値化する。
Send to D. The binary image forming section S binarizes the input signal using a single fixed threshold value, and the binary image forming section binarizes the input signal using a dot concentrated threshold matrix, and stores the input signal in the image memory Ml. , stored in M2. Next, using the image data in the image memory M1 that has been converted into a binary signal using a single fixed threshold value, the arithmetic processing unit C determines whether or not it is a halftone image. This discrimination algorithm is as described above. As a result of this discrimination, for images determined to be halftone images, 2
The value image forming unit S binarizes all input data using a single fixed threshold, and for images determined to be non-halftone images,
The value image forming section binarizes all input data using a dot-concentrated threshold matrix.

画像出力部Oには、画像メモリM l、 M−2の内、
最適の2値化がなされたデータが格納された画像メモリ
から、画像データが送られ、そこでソフトコピー又はハ
ードコピーとして画像の再生若しくは外部装置への画像
データの伝送がなされる。この場合、再生画像にモアレ
パターンが生じ(いことは勿論である。尚、2値画像形
成部Sにお【プる全データの2値化においては、ランダ
ムディザ閾値やドツト分散型閾値マトリクスを用いても
よい。
The image output unit O includes image memories Ml, M-2,
Image data is sent from an image memory in which optimally binarized data is stored, and the image is then reproduced as a soft copy or hard copy or transmitted to an external device. In this case, it goes without saying that a moire pattern will occur in the reproduced image.In addition, when converting all the data input to the binary image forming section S into binarization, a random dither threshold value or a dot-distributed threshold matrix is used. May be used.

(発明の効果) 以上説明したように、本発明によれば、高い信頼性で網
点画像か否かの判別を自動的に行うことができる。
(Effects of the Invention) As described above, according to the present invention, it is possible to automatically determine whether an image is a halftone image or not with high reliability.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明方法の原理説明図、第2図は本発明方法
の具体的判別手順の一例を示づ説明図、第3図は本発明
方法を用いて画像信号を2値化づる画像処理装置のブロ
ック図である。 ■・・・画像入力部   S、D・・・2値画像形成部
Ml、M2・・・画像メモリ C・・・演算処理部   O・・・画像出力部特許出願
人 小西六写真工業株式会社
Fig. 1 is an explanatory diagram of the principle of the method of the present invention, Fig. 2 is an explanatory diagram showing an example of a specific discrimination procedure of the method of the present invention, and Fig. 3 is an image obtained by binarizing an image signal using the method of the present invention. FIG. 2 is a block diagram of a processing device. ■...Image input section S, D...Binary image forming section Ml, M2...Image memory C...Arithmetic processing section O...Image output section Patent applicant Konishiroku Photo Industry Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] (1)画像が網点画像であるか否かを判別する画像判別
方法において、一走査線上の画素を単一の固定閾値を用
いて2値化し、これにより得られた黒レベル画素ブロッ
クの内から、隣接する2つの黒レベル画素ブロックを選
択し、該2つの黒レベル画素ブロックの間隔に基づき基
準間隔を設定し、任意の黒レベル画素ブロックの中心画
素から該基準間隔毎に画素をサンプリングしたときの黒
レベル画素の割合が所定値より大きく、且つ、任意の隣
接する2つの黒レベル画素ブロックの中間画素から前記
基準間隔毎に画素をサンプリングしたときの白レベル画
素の割合が所定値より大きいとき、前記画像は網点画像
であると判別することを特徴とする画像判別方法。
(1) In an image discrimination method for determining whether an image is a halftone image, pixels on one scanning line are binarized using a single fixed threshold, and the black level of the resulting black level pixel block is , two adjacent black level pixel blocks were selected, a reference interval was set based on the interval between the two black level pixel blocks, and pixels were sampled at each of the reference intervals from the center pixel of an arbitrary black level pixel block. when the proportion of black level pixels is larger than a predetermined value, and when pixels are sampled at each reference interval from the middle pixel of any two adjacent black level pixel blocks, the proportion of white level pixels is larger than a predetermined value. An image discrimination method characterized in that the image is determined to be a halftone image.
(2)前記基準間隔の値として、第1の黒レベル画素ブ
ロックの中心画素と該第1の黒レベル画素ブロックと隣
接する第2の黒レベル画素ブロックの中心画素との間隔
を選択することを特徴とする特許請求の範囲第1項記載
の画像判別方法。
(2) Selecting the interval between the center pixel of the first black level pixel block and the center pixel of the second black level pixel block adjacent to the first black level pixel block as the value of the reference interval. An image discrimination method according to claim 1, characterized in that:
JP58062013A 1983-04-07 1983-04-07 Image discriminating method Pending JPS59186467A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58062013A JPS59186467A (en) 1983-04-07 1983-04-07 Image discriminating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58062013A JPS59186467A (en) 1983-04-07 1983-04-07 Image discriminating method

Publications (1)

Publication Number Publication Date
JPS59186467A true JPS59186467A (en) 1984-10-23

Family

ID=13187842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58062013A Pending JPS59186467A (en) 1983-04-07 1983-04-07 Image discriminating method

Country Status (1)

Country Link
JP (1) JPS59186467A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63142766A (en) * 1986-12-04 1988-06-15 Nec Corp Image area separating device
JPS63142765A (en) * 1986-12-04 1988-06-15 Nec Corp Image area separator
JPS63142770A (en) * 1986-12-04 1988-06-15 Nec Corp Image area separating device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63142766A (en) * 1986-12-04 1988-06-15 Nec Corp Image area separating device
JPS63142765A (en) * 1986-12-04 1988-06-15 Nec Corp Image area separator
JPS63142770A (en) * 1986-12-04 1988-06-15 Nec Corp Image area separating device
JPH0533871B2 (en) * 1986-12-04 1993-05-20 Nippon Electric Co
JPH0533870B2 (en) * 1986-12-04 1993-05-20 Nippon Electric Co

Similar Documents

Publication Publication Date Title
JPH05227425A (en) Improvement in automatic image segmentation
EP0613290A1 (en) Method and apparatus for binary image data compression
JPH1084475A (en) Image area discrimination method and image-processing unit
JPS5810960A (en) Picture signal processing circuit
JPH02165775A (en) Picture processor
JPH07193705A (en) Area discriminating circuit for dot picture
JPH06276392A (en) Picture processing unit
JPS59186467A (en) Image discriminating method
JPH0775395B2 (en) Image processing device
JPH05136995A (en) Simple binary-coding and false halftone mixture processing method and device for image data
JP3451490B2 (en) Image information processing method
JPH02195774A (en) Multilevel image binarizing system
JP3051144B2 (en) Halftone image processing device
JPS5814673A (en) Gradation signal restoring system
JP2941843B2 (en) Apparatus and method for reducing image signal
JP2521744B2 (en) Image processing device
JPH0951438A (en) Image processing unit
JPH06296235A (en) Facsimile equipment
JP2604049B2 (en) Image area judgment method
JPH0357083A (en) Image area separating method for binary picture
JPH0618439B2 (en) Image processing device
JPH04270561A (en) Picture processor
JPH0496571A (en) Picture processor
JPH0338782A (en) Detector for density of original
JPH06303424A (en) Dot area discrimination device