JPH0443764A - Picture area identification device - Google Patents
Picture area identification deviceInfo
- Publication number
- JPH0443764A JPH0443764A JP2149807A JP14980790A JPH0443764A JP H0443764 A JPH0443764 A JP H0443764A JP 2149807 A JP2149807 A JP 2149807A JP 14980790 A JP14980790 A JP 14980790A JP H0443764 A JPH0443764 A JP H0443764A
- Authority
- JP
- Japan
- Prior art keywords
- image
- halftone
- signal
- magnification
- block
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Facsimile Image Signal Circuits (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、デジタル複写機、ファクシミリ、スキャナな
どに適用される画像領域識別装置に係り、特に入力画像
の各領域が網点処理されたものか否かを自動的に識別す
る点に特徴のある画像領域識別装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image area identification device applied to digital copying machines, facsimiles, scanners, etc. The present invention relates to an image area identification device that is characterized in that it automatically identifies whether or not it is an image area.
例えば、デジタル複写機においては、C0D(チャージ
・カップルド・デバイス)イメージセンサ等を用いて原
稿像を微小領域、即ち、画素ごとに読み取り、イメージ
センサの出力に得られるアナログ電気信号をA/D (
アナログ/デジタル)変換し、得られるデジタル信号に
各種処理を施した後、その信号を記録装置に与えてコピ
ー画像を得ている。For example, in a digital copying machine, a C0D (charge-coupled device) image sensor or the like is used to read a document image in minute areas, that is, pixel by pixel, and the analog electrical signal obtained from the output of the image sensor is converted into an A/D converter. (
After performing various processing on the resulting digital signal, the signal is sent to a recording device to obtain a copy image.
ところで、この種の装置に用いられる記録装置では、各
記&iW!i素ごとに濃度レベルを変えるのが難しいた
め、記録/非記録の二値的または多値的な記録を行うの
が一般的である。しかしながら、原稿には写真等の中間
調画像も含まれることがあるので、中間調画像を再現す
る必要がある。二値または多値記録を行う記録装置を用
いて中間調表現を行う方法としては、従来よりデイザ法
、濃度パターン法、サブマトリクス法、誤差拡散法等々
が提案されており、これらの方法を用いれば、中間調画
像を再現できる。By the way, in the recording device used for this type of device, each record &iW! Since it is difficult to change the density level for each i element, binary or multi-value recording of recording/non-recording is generally performed. However, since a document may also include halftone images such as photographs, it is necessary to reproduce halftone images. Conventionally, methods such as the dither method, density pattern method, submatrix method, and error diffusion method have been proposed as methods for expressing halftones using a recording device that performs binary or multivalue recording. For example, halftone images can be reproduced.
ところが、中間調処理を行う場合、原稿像濃度が写真の
ように緩やかに変化する場合には比較的好ましいコピー
像が得られるが、原稿像濃度が文字のように二値的に変
化する場合には、コピー像の輪郭がぼけて文字が読みづ
らくなったり、原稿地肌の汚れがコピー像に現れたりし
で、コピー品質が著しく低下する。However, when halftone processing is performed, a relatively favorable copy image can be obtained when the original image density changes gradually, such as in a photograph, but when the original image density changes in a binary manner, such as with text, a relatively favorable copy image can be obtained. In this case, the outline of the copy image becomes blurred, making it difficult to read characters, and dirt on the background of the original appears on the copy image, resulting in a significant drop in copy quality.
文字等の原稿像に対しては、中間調処理を行わずに、単
純な二値または多値処理を行えば、好ましいコピーが得
られる。従って、中間調処理の有無を指定するスイッチ
を設ければ、原稿の種別に応じたオペレータの判断によ
って、好ましいコピーモードが選択できる。For original images such as characters, a preferable copy can be obtained by performing simple binary or multivalue processing without performing halftone processing. Therefore, if a switch is provided to specify whether halftone processing is to be performed or not, a preferred copy mode can be selected based on the operator's judgment depending on the type of document.
ところが、例えばパンフレットのように、1つの原稿中
に、写真のような中間11iI像と文字のような二値画
像とが混在する場合もかなりある。このような場合、二
値または多値モードを選択すれば写真の品質が低下する
し、中間調モードを選択すれば文字の品質が低下する。However, there are many cases in which intermediate 11iI images such as photographs and binary images such as characters are mixed in one document, such as a pamphlet. In such a case, if the binary or multivalue mode is selected, the quality of the photograph will be degraded, and if the halftone mode is selected, the quality of the text will be degraded.
ところで、この種のデジタル複写装置においてはもう1
つの不都合がある。即ち、ラインセンサ等を用いて画像
を小さな画素単位で読取る場合、原稿上の濃度変化に周
期性があると、その周期(ピッチ)と画像読取センサの
配列ピッチ(サンプリング周期)との干渉によって、記
録画像上にモアレが生じることがある。例えば、原稿に
おいて網点印刷が行われている場合、その画像上の濃度
変化には周期性があるので、この濃度変化の周期と読取
センサのサンプリング周期との干渉によってモアレが生
じる。By the way, there is one more thing about this type of digital copying device.
There are two disadvantages. In other words, when reading an image in small pixel units using a line sensor or the like, if there is periodicity in density changes on the document, interference between the period (pitch) and the array pitch (sampling period) of the image reading sensor causes Moiré may occur on recorded images. For example, when halftone dot printing is performed on a document, the density changes on the image have periodicity, and moiré occurs due to interference between the density change period and the sampling period of the reading sensor.
例えば、画像読取センサの分解能が400dpiの場合
であれば、その分解能に近い密度の網点印刷、即ち、1
33線(約10.5画素/ m m )〜200&l(
約16画素/mm)(7)範囲(7)%J度(7)場合
に、読取信号にモアレが発生し昌い。勿論、他の密度の
場合でもモアレが発生するが、前記密度の場合に特に発
生が著しく、それによる信号の変動幅が大きい。For example, if the resolution of the image reading sensor is 400 dpi, dot printing with a density close to that resolution, that is, 1
33 lines (approximately 10.5 pixels/mm) ~ 200&l(
(approximately 16 pixels/mm) (7) range (7) % J degrees (7) Moiré occurs in the read signal. Of course, moiré occurs at other densities as well, but at the above-mentioned densities, moiré occurs particularly markedly, and the signal fluctuation range due to it is large.
網点印刷自体は、一種の疑似中間調表現であり、画素単
位の濃度変化は110(記録/非記録)の二値的なもの
である。網点印刷においては、網点のピッチ変化や網点
の大きさの変化によって画素集合の全体を見た場合の平
均濃度を多段に変化させ、これによって中間調濃度を表
現している。従って、モアレの問題を考えなければ、網
点印刷の原稿像をコピーする場合には、信号を二値的に
処理することにより、記録画像に網点画像を再現し、好
ましいコピーを行うことができる。しかし実際には、特
定の密度で網点印刷された原稿像に対しでは、上述のよ
うにモアレが発生するため、著しくコピー品質が低下す
る。Halftone printing itself is a kind of pseudo-halftone expression, and the density change in pixel units is a binary value of 110 (recorded/non-recorded). In halftone printing, the average density of the entire pixel set is changed in multiple steps by changing the pitch of the halftone dots and the size of the halftone dots, thereby expressing halftone density. Therefore, unless the moiré problem is taken into consideration, when copying a halftone dot printed original image, it is possible to reproduce the halftone image on the recorded image by binary processing the signal and perform a desirable copy. can. However, in reality, moiré occurs as described above in a document image printed with halftone dots at a specific density, resulting in a significant deterioration in copy quality.
一方、画像読取信号を中間調処理して二値または多値信
号に変換する場合、処理の過程で複数画素の濃度の平均
化、しきい値レベルの変更等々を行うため、結果的にコ
ピー画像にモアレが発生しないか、または影響が小さく
なる。この場合、コピー画像の濃度は網点によって疑似
中間調表現されるが、コピー上の網点は原稿上の網点を
直接再現したものではなく、複写機特有の中間調処理に
よって生成される網点である。On the other hand, when converting an image reading signal into a binary or multivalued signal through halftone processing, the processing process averages the density of multiple pixels, changes the threshold level, etc., resulting in a copied image. Moiré does not occur or its effect is reduced. In this case, the density of the copied image is represented by halftone dots, but the halftone dots on the copy are not direct reproductions of the halftone dots on the original, but are generated by halftone processing unique to copying machines. It is a point.
従って、網点印刷された画像あるいはデジタル複写機に
よって網点処理でコピーされた画像が原稿である場合に
は、画素単位では二値記録であるが、中間調処理を行う
複写モードを選択する方が好ましい。Therefore, if the original is a halftone-printed image or an image copied using halftone processing by a digital copying machine, it is better to select a copy mode that performs halftone processing, although it is binary recording in pixel units. is preferred.
また前述のように、文字部は単純二値または多値、網点
部はデイザ法等の中間調処理を行えばよく、そのため、
領域分割を行う方法も考えれられる。例えば、特開昭6
3−279665号公報に示されたように、網点領域を
検出し、網点領域は中間調処理、その他は単純二値化を
おこなえば、文字と網点写真部を良好な画像として出力
させることができる。Furthermore, as mentioned above, it is sufficient to perform simple binary or multi-value processing for the text area, and halftone processing such as dithering for the halftone area.
A method of performing area division may also be considered. For example, JP-A-6
As shown in Publication No. 3-279665, by detecting halftone dot areas, performing halftone processing on the halftone dot areas, and performing simple binarization on the rest, the text and halftone photographic areas can be output as good images. be able to.
特開昭63−279665号公報で示された網点領域検
出方式では、入力画像情報の二次元配列パターンを予め
定めたパターンと比較して、記録ドツトおよび非記録ド
ツトの検出を行い、その検出結果に基づいて入力画像情
報が網点パターンか否かを識別する。In the halftone dot area detection method disclosed in Japanese Patent Laid-Open No. 63-279665, recorded dots and non-recorded dots are detected by comparing a two-dimensional array pattern of input image information with a predetermined pattern. Based on the result, it is determined whether the input image information is a halftone pattern.
網点処理された画像においては、記録ドツト(例えば黒
画素)と非記録ドツト(例えば白画素)とが所定のピッ
チおよび間隔で交互に繰り返し配列されている。従っで
ある位置に存在する記録画素と、その周囲に存在する非
記録画素とが所定の配列パターンである状態、またはあ
る位置に存在する非記録画素と、その周囲に存在する記
録画素とが所定の配列パターンである状態が繰り返し現
れる場合には、その画素が網点処理されたものと見做し
得る。つまり、注目画素を順次移動し、各々の注目画素
について、それとその周囲の画素とでなる二次元領域の
画像情報を、予め定めた記録ドツト構出パターンおよび
非記録ドツト検出パターンと比較することにより、入力
画像が網点パターンか否かを識別し得る。In a halftone-processed image, recorded dots (for example, black pixels) and non-recorded dots (for example, white pixels) are alternately and repeatedly arranged at predetermined pitches and intervals. Therefore, a state in which a recording pixel existing at a certain position and non-recording pixels existing around it are in a predetermined arrangement pattern, or a state in which a non-recording pixel existing at a certain position and a recording pixel existing around it are in a predetermined arrangement pattern. If a state with an arrangement pattern of . In other words, by sequentially moving the pixel of interest and comparing the image information of a two-dimensional area consisting of it and its surrounding pixels for each pixel of interest with a predetermined recorded dot composition pattern and non-recorded dot detection pattern. , can identify whether the input image is a halftone pattern.
しかしながら、網点処理された画像をイメージスキャナ
で実際に読み取ると、画像の濃度に応じて、読み取られ
た信号の画像パターンが大きく変わり、網点の識別に誤
りを生じることが多い、即ち、網点印刷においては、濃
度を所定小領域内の網点状記録ドツトの面積の大小で表
現しているので、画像濃度が変わると、網点の形状が大
きく変わる。特に網点濃度が50%の近傍にあると、網
点を構成する記録ドツト(例えば黒′#l素)または非
記録ドツト(例えば白画素)が隣同士つながって連続的
になることがあるので、このような場合には、黒ドツト
と白ドツトのいずれも検出できないことが多い。However, when an image subjected to halftone dot processing is actually read with an image scanner, the image pattern of the read signal changes greatly depending on the density of the image, often resulting in errors in halftone dot identification. In dot printing, the density is expressed by the size of the area of the halftone recording dots within a predetermined small area, so when the image density changes, the shape of the halftone dots changes significantly. In particular, when the halftone dot density is around 50%, recorded dots (for example, black '#l elements) or non-recorded dots (for example, white pixels) constituting the halftone dots may be connected to each other and become continuous. In such cases, it is often impossible to detect either black dots or white dots.
画像情報を記録画素レベルと非記録画素レベルとに二値
化する際のしきい値レベルを調整すると、網点濃度が5
0%の場合の識別エラーを減少できる。しかしその場合
、網点濃度が50%より高い場合または低い場合に識別
エラーが増加する。If you adjust the threshold level for binarizing image information into recorded pixel level and non-recorded pixel level, the halftone density will be 5.
Identification errors in the case of 0% can be reduced. However, in that case, identification errors increase when the halftone density is higher or lower than 50%.
そこで、少なくとも2種類のしきい値を設定し、記録ド
ツトを検出する回路と非記録ドツトを検出する回路とで
、互いに異なるしきい値で二値化された画像情報を参照
し、記録ドツトの検出結果と非記録ドツトの検出結果の
両者に基づいて網点パターンを識別する。Therefore, at least two types of threshold values are set, and a circuit for detecting recorded dots and a circuit for detecting non-recorded dots refer to the binarized image information with different threshold values, and detect recorded dots. The halftone dot pattern is identified based on both the detection result and the detection result of non-recorded dots.
網点画像の場合、イメージスキャナで読み取られた信号
は、一般に第14図に示すようになる。In the case of a halftone image, the signals read by the image scanner are generally as shown in FIG.
これをみると、信号の山の高さ、谷の深さおよびデユー
ティが、濃度に応じて変化しているのが分かる。Looking at this, it can be seen that the height of the peaks, the depth of the valleys, and the duty of the signal change depending on the concentration.
ここで、濃度レベルが50%の信号に着目すると、画像
の位置によって、信号の山の高さおよび谷の深さが変化
しているのが分かる。Here, when focusing on the signal with a density level of 50%, it can be seen that the height of the peaks and the depth of the valleys of the signal change depending on the position of the image.
濃度50%の信号をしきい値T H+ で二値化する場
合、最初の部分Paでは、山がTH,より大きく谷がT
H,より小さいので、二値化された信号には、山が記録
画素、谷が非記録画素として現れ、後の部分pbでは、
山と谷のいずれもTH。When a signal with a concentration of 50% is binarized using the threshold value T H+ , in the first part Pa, the peak is TH and the larger valley is T
Since it is smaller than H, in the binarized signal, peaks appear as recorded pixels and valleys appear as non-recorded pixels, and in the latter part pb,
Both mountains and valleys are TH.
より大きいので、二値化された信号には、非記録画素は
現れない、即ち、T H+で二値化すると、最初の部分
Paでは、記録画素と非記録画素の配列パターンから網
点(記録ドツト)を検出可能であるが、後の部分pbか
らは網点が検出できない。Therefore, non-recorded pixels do not appear in the binarized signal. In other words, when binarized with T H+, in the first part Pa, halftone dots (recorded pixels) are dots) can be detected, but halftone dots cannot be detected from the later portion pb.
また、この信号をしきい値T Htで二値化する場合、
最初の部分Paでは、山と谷のいずれもTH!より小さ
いので、二値化された信号には記録画素が現れず、後の
部分pbでは、山がT Htより大きく谷がT H+よ
り小さいので、二値化された信号に、山が記録画素、谷
が非記録画素として現れる。従って、T Hzで二値化
すると、最初の部分paからは網点を検出できないが、
後の部分Pbでは、記録画素と非記録画素との配列パタ
ーンから網点(非記録ドツト)を検出し得る。Moreover, when this signal is binarized with a threshold value T Ht,
In the first part Pa, both the peaks and valleys are TH! In the latter part pb, the peak is greater than T Ht and the valley is smaller than T H+, so the peak appears as a recording pixel in the binarized signal. , valleys appear as non-recorded pixels. Therefore, when binarized at T Hz, halftone dots cannot be detected from the first part pa, but
In the latter portion Pb, halftone dots (non-recorded dots) can be detected from the arrangement pattern of recorded pixels and non-recorded pixels.
つまり、記録ドツトで構成される網点を検出する場合に
しきい値TH,を利用し、非記録ドツトで構成される網
点を検出する場合にしきい値T Htを利用すれば、濃
度が50%の網点画像であっても、記録ドツトと非記録
ドツトのいずれか一方の網点は検出される。濃度が20
%のように低い場合には、しきい値TH,により記録ド
ツトの網点が検出されるし、濃度が80%のように高い
場合には、しきい値T Htにより非記録ドツトの網点
が検出される。In other words, if the threshold value TH is used to detect halftone dots made of recorded dots, and the threshold value THt is used to detect halftone dots made of non-recorded dots, the density will be 50%. Even in a halftone image, either a recorded dot or a non-recorded dot is detected. concentration is 20
When the density is low, such as 80%, the halftone dots of recorded dots are detected by the threshold value TH, and when the density is high, such as 80%, the halftone dots of non-recorded dots are detected by the threshold value TH. is detected.
しかしながら上記従来技術では、変倍時に対応する網点
検出方式については説明されていない。However, the above-mentioned prior art does not describe a halftone dot detection method that can be used when changing the magnification.
つまり、通常は変倍されると網点のパターンの形状が変
化してしまい、用意されたパターンでは対応できなく、
変倍時の網点検出率と等倍時の網点検出率は著しく異な
ったものとなり、変倍時の画像は誤検出が多くなり、著
しく画像が劣化してしまう。従来ではこれらの欠点を解
決するために、網点検出パターンの数を増やす等の対策
を行っていたが、これでは回路構成素子の増大を招くと
いう不具合があった。In other words, the shape of the halftone dot pattern usually changes when the magnification is changed, and the prepared pattern cannot handle it.
The halftone dot detection rate when the magnification is changed is significantly different from the halftone dot detection rate when the magnification is the same, and the image when the magnification is changed has many false detections, resulting in significant image deterioration. Conventionally, measures such as increasing the number of halftone detection patterns have been taken in order to solve these drawbacks, but this has the problem of increasing the number of circuit components.
本発明は上記従来技術の欠点を解消し、網点領域の検出
率の向上と、網点領域外の誤検出の低減を図ることを目
的とする。It is an object of the present invention to eliminate the drawbacks of the above-mentioned conventional techniques, improve the detection rate of halftone dot areas, and reduce erroneous detection outside the halftone dot areas.
上記目的は、原稿画像を多数の微少画素領域に区分して
その濃度を読取り、その濃度に応じた電気信号を出力す
る画像読取手段と、原稿とこの画像読取手段とを相対的
に走査駆動すると共に、指定された画像変倍率に応じて
走査速度を調整して画像の副走査方向の画像倍率を変更
する第1の副走査変倍手段と、前記画像読取手段が出力
するアナログ信号をデジタル信号に変換する変換手段と
、指定された画像変倍率に応じて前記変換手段が出力す
るデジタル信号の画像の主走査方向の間引きまたは補間
を行い、画像変倍率を変更する主走査変倍手段と、デジ
タル信号の二次元配列パターンを予め定めた記録ドツト
および非記録ドツト検出パターンと比較し、その結果を
出力する記録ドツトおよび非記録ドツトの検出手段と、
指定された変倍率に応じて前記第1の副走査変倍手段に
よって変倍された画像情報の間引きまたは補間を行う第
2の副走査変倍手段とを備える第1の手段によって達成
される。The above purpose is to provide an image reading means that divides the original image into a large number of minute pixel areas, reads the density thereof, and outputs an electric signal according to the density, and scans and drives the original and this image reading means relative to each other. and a first sub-scanning magnification means for changing the image magnification in the sub-scanning direction of the image by adjusting the scanning speed according to a specified image magnification ratio, and converting the analog signal outputted by the image reading means into a digital signal. a converting means for converting the image into a digital signal; and a main scanning scaling means for changing the image scaling factor by thinning or interpolating the image of the digital signal output by the converting means in the main scanning direction according to a specified image scaling factor; Recorded dot and non-recorded dot detection means that compares the two-dimensional array pattern of the digital signal with a predetermined recorded and non-recorded dot detection pattern and outputs the result;
This is achieved by a first means including a second sub-scanning magnification means that thins out or interpolates the image information scaled by the first sub-scanning magnification means in accordance with a specified magnification ratio.
また上記目的は、原稿画像を多数の微少画素領域に区分
してその濃度を読取り、その濃度に応じた電気信号を出
力する画像読取手段と、原稿とこの画像読取手段とを相
対的に走査駆動すると共に、指定された画像変倍率に応
じて走査速度を調整して画像の副走査方向の画像倍率を
変更する副走査変倍手段と、前記画像読取手段が出力す
るアナログ信号をデジタル信号に変換する変換手段と、
指定された画像変倍率に応じて前記変換手段が出力する
デジタル信号の画像の主走査方向の間引きまたは補間を
行い、画像変倍率を変更する主走査変倍手段と、デジタ
ル信号の二次元配列パターンを予め定めた記録ドツトお
よび非記録ドツト検出パターンと比較し、その結果を出
力する記録ドツトおよび非記録ドツトの検出手段とを備
える第2の手段によっても達成される。The above object also includes an image reading means that divides the original image into a large number of minute pixel areas, reads the density thereof, and outputs an electric signal according to the density; and a relative scanning drive between the original and the image reading means. and a sub-scanning magnification means for changing the image magnification in the sub-scanning direction of the image by adjusting the scanning speed according to a specified image magnification, and converting the analog signal outputted by the image reading means into a digital signal. a conversion means for
a main scanning magnification means for changing the image magnification by thinning out or interpolating the image of the digital signal output by the conversion means in the main scanning direction according to a specified image magnification; and a two-dimensional array pattern of the digital signals. This can also be achieved by a second means comprising recorded dot and non-recorded dot detection means for comparing the detected dots with a predetermined recorded dot and non-recorded dot detection pattern and outputting the results.
第1、第2の手段によれば、画像読取手段、副走査変倍
手段(第1の副走査変倍手段)、主走査変倍手段、変換
手段、検出手段を備え、任意の変倍率で副走査方向に変
倍された画像情報を、網点領域識別用の副走査変倍手段
を持つことで等倍の画像情報に逆に変倍し直し、その二
次元画像領域で網点研域識別パターンを用いて比較し、
その結果を出力する。According to the first and second means, the image reading means, the sub-scanning magnification changing means (the first sub-scanning magnification changing means), the main scanning magnification changing means, the converting means, and the detecting means are provided, and an arbitrary magnification ratio can be obtained. The image information scaled in the sub-scanning direction is re-scaled back to the same size image information by having a sub-scanning scaling means for identifying the halftone dot area, and the halftone dot research area is then resized in the two-dimensional image area. Compare using identification patterns,
Output the result.
以下、本発明の実施例を図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.
第2図に、本発明を実施する一形式のデジタル複写機の
機構部の構成を示す、第2図を参照すると、この複写機
は、装置上方に配置されたスキャナ1と装置下方に配置
されたプリンタ2で構成されている。FIG. 2 shows the structure of a mechanical section of one type of digital copying machine that embodies the present invention. Referring to FIG. 2, this copying machine has a scanner 1 placed above the device and a scanner 1 placed below the device. The printer 2 is made up of two printers.
26が、原稿を載置するコンタクトガラスである。スキ
ャナ1は、コンタクトガラス26上に載置される原稿の
像を走査しながら読み取る。副走査は機械的であり、電
気モータMTの駆動によって、スキャナに備わったキャ
リッジが第2図の左右方向に移動する。原稿からの反射
光が、各種ミラーおよびレンズを介して、固定された像
読取センサ10に結像される。像読取センサ10は、C
CDラインセンサであり、第2図においては紙面に垂直
な方向に、5000個の読取セルが1列に配列されてい
る。この例では、コピー倍率が1.0のときに原稿像の
1mmあたり16ifi素の分解能になる。主走査は、
この像読取センサ10の内部に備わるCCDシフトレジ
スタによって電気的に行われる。主走査の方向は、読取
セルの配列方向、即ち、第2図においては紙面に垂直な
方向である。26 is a contact glass on which the original is placed. The scanner 1 scans and reads an image of a document placed on a contact glass 26 . The sub-scanning is mechanical, and a carriage provided in the scanner moves in the left-right direction in FIG. 2 by driving the electric motor MT. Reflected light from the original is imaged on a fixed image reading sensor 10 via various mirrors and lenses. The image reading sensor 10 is C
This is a CD line sensor, and in FIG. 2, 5000 reading cells are arranged in a row in the direction perpendicular to the paper surface. In this example, when the copy magnification is 1.0, the resolution is 16 ifi elements per 1 mm of the original image. The main scan is
This is electrically performed by a CCD shift register provided inside the image reading sensor 10. The main scanning direction is the direction in which the reading cells are arranged, that is, the direction perpendicular to the plane of the paper in FIG.
原稿像をスキャナ1で読み取って得られる信号は、各種
処理を施された後、プリンタ2に送られる。A signal obtained by reading an original image with a scanner 1 is sent to a printer 2 after being subjected to various processing.
プリンタ2では、その信号に応じて二値的に記録を行う
。The printer 2 performs binary printing in accordance with the signal.
プリンタ2には、レーザ書込ユニット25、感光体ドラ
ム3、帯電チャージャ24、現像器12、転写チャージ
ャ14、分離チャージャ15、定着器23等々が備わっ
ている。このプリンタ2は、従来より知られている一般
のレーザプリンタと比べて格別に異なる部分はないので
、動作だけ簡単に説明する。The printer 2 includes a laser writing unit 25, a photosensitive drum 3, a charger 24, a developing device 12, a transfer charger 14, a separation charger 15, a fixing device 23, and the like. Since this printer 2 has no particular differences from conventionally known general laser printers, only the operation will be briefly described.
感光体ドラム3は、第2図においては時計方向に回転す
る。そしてその表面が、帯電チャージャ24の付勢によ
って一様に高電位に帯電する。この帯電した面に、記録
する画像に応じた二値信号によって変調されたレーザ光
が照射される。レーザ光は、機械的な走査によって、感
光体ドラム3上を主走査方向に繰り返し走査する。感光
体ドラム3の帯電した面は、レーザ光の照射を受けると
電位が変化する。従って、レーザ光の変化、即ち、記録
する像に応じた電位分布が、感光体ドラム3の表面に生
じる。この電位分布が静電潜像である。The photosensitive drum 3 rotates clockwise in FIG. Then, the surface thereof is uniformly charged to a high potential by the energization of the electrification charger 24. This charged surface is irradiated with laser light modulated by a binary signal corresponding to the image to be recorded. The laser beam repeatedly scans the photosensitive drum 3 in the main scanning direction by mechanical scanning. The electrical potential of the charged surface of the photosensitive drum 3 changes when it is irradiated with laser light. Therefore, a change in the laser beam, that is, a potential distribution depending on the image to be recorded is generated on the surface of the photosensitive drum 3. This potential distribution is an electrostatic latent image.
この静電潜像が形成された部分が、現像器12を通ると
、その電位に応じてトナーが付着し、静電潜像がトナー
像、即ち、可視像に現像される。この可視像は、給紙カ
セット4または5から感光体ドラム3に送り込まれる転
写紙に重なり、転写チャージャ14の付勢によって転写
紙に転写する。When the portion on which the electrostatic latent image is formed passes through the developing device 12, toner is attached depending on the potential thereof, and the electrostatic latent image is developed into a toner image, that is, a visible image. This visible image overlaps the transfer paper fed from the paper feed cassette 4 or 5 to the photosensitive drum 3, and is transferred onto the transfer paper by the bias of the transfer charger 14.
像が転写された転写紙は、定着器23を通って排紙トレ
ー22に排紙される。The transfer paper on which the image has been transferred passes through the fixing device 23 and is discharged onto the paper discharge tray 22 .
第3図に、第2図のデジタル複写機の電気回路の構成を
示す。第3図を参照すると、スキャナlには、像読取セ
ンサ10、走査制御部20、増幅器30、A/D (ア
ナログ/デジタル)変換器40、中間調処理部55.2
値化処理部65、領域判定部70、操作制御部80、出
力制御部9o、モータドライバMD等々が備わっている
。FIG. 3 shows the configuration of the electric circuit of the digital copying machine shown in FIG. 2. Referring to FIG. 3, the scanner l includes an image reading sensor 10, a scanning control section 20, an amplifier 30, an A/D (analog/digital) converter 40, and a halftone processing section 55.2.
It includes a value processing section 65, an area determination section 70, an operation control section 80, an output control section 9o, a motor driver MD, and the like.
走査制御部20は、プリンタ2との信号のやりとり、主
走査制御、副走査制御および各種タイミング信号の生成
を行う、各種タイミング信号は、走査タイミングに同期
するように生成される。各種状態信号、プリントスター
ト信号、コピー倍率信号等々が、プリンタ2から走査制
御部2oに送られる。走査制御部20は、走査同期信号
、状態信号等々をプリンタ2に送出する。モータMTを
駆動することにより、スキャナ1を機械的に走査し副走
査を行う。The scan control unit 20 exchanges signals with the printer 2, performs main scanning control, sub-scanning control, and generates various timing signals.The various timing signals are generated in synchronization with the scanning timing. Various status signals, print start signals, copy magnification signals, etc. are sent from the printer 2 to the scan control section 2o. The scan control unit 20 sends a scan synchronization signal, a status signal, etc. to the printer 2. By driving the motor MT, the scanner 1 mechanically scans and performs sub-scanning.
像読取センサ10は、−aのCCDラインセンサと同様
に、多数の読取セル、CCDシフトレジスタ等々を備え
ている。走査制御部20が副走査同期信号を出力すると
、像読取センサ1oの多数の読取セルに蓄積された信号
が、CCDシフトレジスタの各ビットに一気に転送され
る。その後、主走査パルス信号に同期して、CCDシフ
トレジスタの信号シフトが行われ、該レジスタに保持さ
れた画像信号が、シリアル信号として、1画素分ずつそ
の出力端子に現れる(第3図のa:以下、画像信号から
生成される信号は括弧でくくって示す)。The image reading sensor 10 includes a large number of reading cells, a CCD shift register, etc., like the CCD line sensor -a. When the scan control section 20 outputs the sub-scanning synchronization signal, the signals accumulated in a large number of reading cells of the image reading sensor 1o are transferred to each bit of the CCD shift register at once. Thereafter, the signal of the CCD shift register is shifted in synchronization with the main scanning pulse signal, and the image signal held in the register appears as a serial signal at its output terminal one pixel at a time (a in Figure 3). (Hereinafter, signals generated from image signals are shown in parentheses).
増幅器30は、画像信号(a)の増幅、ノイズ除去等々
を行う。A/D変換器40は、アナログ画像信号を6ビ
ツトのデジタル信号に変換する。The amplifier 30 amplifies the image signal (a), removes noise, etc. A/D converter 40 converts the analog image signal into a 6-bit digital signal.
なお、図面には示されていないが、A/D変換器40で
得られたデジタル信号は、シェーディング補正、地肌除
去、白黒変換等々の従来より知られている各種画像処理
を受けた後で6ビツト、即ち、64階調のデジタル画像
信号(b)として出力される。このデジタル画像信号(
b)は、メデイアンフィルタ50、MTF補正部60に
印加される。Although not shown in the drawings, the digital signal obtained by the A/D converter 40 is subjected to various conventional image processing such as shading correction, background removal, black and white conversion, etc. It is output as a digital image signal (b) of bits, that is, 64 gradations. This digital image signal (
b) is applied to the median filter 50 and the MTF correction section 60.
メデイアンフィルタ50で処理されたデジタル画像信号
(c)は、中間調処理部55へ印加される。この中間調
処理部55は、6ビツトのデジタル画像信号(C)をサ
ブマトリクス法によって中間調情報を含む二値信号(e
)に変換する回路である。The digital image signal (c) processed by the median filter 50 is applied to the halftone processing section 55. The halftone processing unit 55 converts the 6-bit digital image signal (C) into a binary signal (e
).
サブマトリクス法による中間調処理を行う回路は公知で
あり、この実施例においては特別な回路を用いていない
ので、具体的な構成および動作は省略する。なお、サブ
マトリクス法以外に、デイザ法、濃度パターン法による
中間調処理を行ってもよい。A circuit that performs halftone processing using the submatrix method is well known, and since no special circuit is used in this embodiment, the specific configuration and operation will be omitted. Note that, in addition to the submatrix method, halftone processing may be performed using a dither method or a density pattern method.
また、メデイアンフィルタ50は、nxmのマトリクス
内の画像情報を平滑化させ、前述したような網点画像の
モアレを低減する効果を持つため必要となる。またメデ
イアンフィルタ50に関する回路も公知であり、この実
施例においては特別な回路を用いていないので、具体的
な構成および動作は省略する。Furthermore, the median filter 50 is necessary because it has the effect of smoothing the image information in the nxm matrix and reducing the moiré of the halftone dot image as described above. Further, the circuit related to the median filter 50 is well known, and since no special circuit is used in this embodiment, the specific configuration and operation will be omitted.
さらに、MTF補正部60で処理されたデジタル画像信
号(d)は、主走査変倍処理部66、副走査変倍処理部
67に印加され、その後副走査変倍処理部67を経て領
域判定部70へ印加される。Further, the digital image signal (d) processed by the MTF correction unit 60 is applied to a main scanning scaling processing unit 66 and a sub-scanning scaling processing unit 67, and then passes through the sub-scanning scaling processing unit 67 to an area determination unit. 70.
二値化処理部65では、MTF補正された入力画像信号
を予め定められた固定しきい値レベルと比較し、それら
の大小に応じたこ値信号(f)を出力する。従って、こ
こで行う処理は単純な二値化処理であり、信号(f)に
は、原稿像の中間濃度の情報は含まれない。The binarization processing unit 65 compares the MTF-corrected input image signal with a predetermined fixed threshold level and outputs a value signal (f) according to the magnitude thereof. Therefore, the processing performed here is simple binarization processing, and the signal (f) does not include information on the intermediate density of the original image.
また、ここで中間調処理部55および二値化処理部65
において、プリンタ出力か白/黒二値の場合を想定して
いるため、前述のような説明となったが、プリンタ2が
三値または四価等の多値プリンタであれは、中間調処理
部55では多値デイザ法、二値化処理部65では多段の
スレッシュレベルを持つ単純多値化による多値出力とな
る。なお、多値デイザ法および単純多値化等は、本発明
において重要なポイントではなく、さらに公知技術を以
て実施できるため、具体的な構成および動作は省略する
。Also, here, the halftone processing section 55 and the binarization processing section 65
The above explanation is based on the assumption that the printer output is binary white/black, but if the printer 2 is a multi-level printer such as a three-level or four-level printer, the halftone processing section 55 is a multi-value dither method, and a binarization processing unit 65 is a multi-value output using simple multi-value conversion with multiple threshold levels. Note that the multi-level dither method, simple multi-level conversion, etc. are not important points in the present invention, and can be implemented using known techniques, so their specific configuration and operation will be omitted.
領域判定部70は、後述するように、原稿画像が網点情
報を含むか否かを判定する回路であり、その判定結果に
応じた二値信号(g)を主走査変倍処理部66に出力す
る。As will be described later, the area determination section 70 is a circuit that determines whether or not the original image includes halftone dot information, and sends a binary signal (g) according to the determination result to the main scanning magnification processing section 66. Output.
第40図に主走査変倍処理のブロック図を示す。FIG. 40 shows a block diagram of main scanning magnification processing.
なお、これは−例であり他の方法を用いてもよい、第4
0図に示す変倍処理方式においては、トグルRAM32
0a、320bのアドレスカウンタ321a、321b
のクロックを、倍率データROM322a、322bで
作っている。Note that this is just an example and other methods may be used.
In the scaling processing method shown in Figure 0, the toggle RAM 32
Address counters 321a, 321b of 0a, 320b
The clock is generated by the magnification data ROMs 322a and 322b.
これは、倍率に合わせたデータをROMまたはRAMの
内部メモリに格納していることで例えば等倍の場合、前
記RAM320a、320bのアドレスとデータが1対
1、つまり、等倍の場合アドレスカウンタ321a、3
21bのクロックはRAMのライト時ライトのクロック
を入力し、またRAMのリード時リード(画周波数)の
クロックを入力し、RAMのアドレスとすれば、入力デ
ータはそのまま画周波数と対応じて出力され、入出力の
画周波数の変換をし、さらに等倍のデータとなる。これ
は第41図に示すタイミングチャー)(XI)の場合で
ある。This is because data corresponding to the magnification is stored in the internal memory of the ROM or RAM. For example, in the case of the same magnification, the address and data of the RAM 320a, 320b are 1:1, that is, in the case of the same magnification, the address counter 321a ,3
For the clock 21b, input the write clock when writing to RAM, input the clock for reading (picture frequency) when reading RAM, and use it as the RAM address.The input data will be output as is in correspondence with the picture frequency. , the input and output image frequencies are converted, and the data becomes the same size. This is the case of the timing chart (XI) shown in FIG.
また、RAM320a、320bのアドレスとデータの
関係で、ライト時、ライトクロックの画周波数を間引く
。例えば、第41図の(X O,5)のCLKのように
CLKを間引けば、ライト時RAMのアドレスカウンタ
はライトクロックに対して間引かれたクロックとなり、
その時のデータはライトのクロックに対応じているため
、(X 0.5 )の場合、アドレスが+1ずつ増加し
ていくうちに、データは2個まで進むから、アドレス1
に対しデータ1、アドレス2に対しデータ3となり、R
AM320a、320bにはデータが間引かれた状態と
なる。このRAMの格納されたデータをリード時、リー
ドのクロックでアドレスカウンタクロックとすると、出
力データはリードクロックの画周波数で、×0.5の倍
率となる。これは第41図のタイミングチャートの(X
o、5)の場合である。Furthermore, the image frequency of the write clock is thinned out during writing depending on the relationship between the address and data of the RAMs 320a and 320b. For example, if the CLK is thinned out like the CLK at (X O, 5) in FIG.
The data at that time corresponds to the write clock, so in the case of (X 0.5), as the address increases by +1, the data advances up to 2, so the address 1
data is 1 for address 2, data is 3 for address 2, and R
The AM 320a and 320b are in a state where data is thinned out. When reading the data stored in this RAM, if the read clock is used as the address counter clock, the output data is the image frequency of the read clock, multiplied by 0.5. This is (X
This is the case of o.5).
RAM320a、320bのアドレスとデータの関係で
ライト時、ライトのクロックをアドレスカウンタのクロ
ックとして入力し、データをRAMに取り込み、リード
時、リードクロックの画周波数を間引く。例えば、第4
1図のタイミングチャートの(×2)のCLKのように
CLKを間引けば、リード時、RAMのアドレスカウン
タは、リードクロックに対し間引かれたクロックとなり
、その時のデータはリードのクロックに対応じているた
め、(×2)の場合、アドレスが+1ずつ増加するうち
にデータはリードクロックに対し2個出力する形になり
、同一データが1個ずつ付加された×2倍のデータの状
態となる。When writing, the write clock is input as the address counter clock and the data is taken into the RAM, and when reading, the image frequency of the read clock is thinned out based on the relationship between the addresses and data of the RAMs 320a and 320b. For example, the fourth
If CLK is thinned out like (x2) CLK in the timing chart in Figure 1, when reading, the RAM address counter will be a clock that is thinned out from the read clock, and the data at that time will correspond to the read clock. Therefore, in the case of (x2), two pieces of data will be output to the read clock while the address increases by +1, and the same data will be added one piece at a time, resulting in twice the data. becomes.
つまり、縮小時はライトクロックを間引き、リード時は
リードのクロックで出力し、拡大時はり一ドクロツクを
間引き、ライト時はライトのクロックで入力を行う。That is, when reducing, the write clock is thinned out, when reading, the read clock is output, when expanding, the clock is thinned out, and when writing, the write clock is used as input.
また、上記方式において、ライト/リード時のクロック
の切り換えは、トグルRAM320a。Further, in the above system, switching of the clock during write/read is performed by the toggle RAM 320a.
320bのライト/リードと同期させ、倍率データRO
Mのループカウンタのカウンタクロックに切り換えて入
力させる。倍率データROM322a、322bにはア
ドレスに合わせた倍率データが格納されている。320b write/read, magnification data RO
Switch to and input the counter clock of the loop counter of M. The magnification data ROMs 322a and 322b store magnification data corresponding to the addresses.
第42図はこの倍率ROMの格納データを示すものであ
る。×1の場合は全てHで、第40図のゲート326a
、326bでのクロックとのアンドを取るため、クロッ
クと同じクロックがアドレスカウンタ321aに入力さ
れる。×0.5の場合はHとLが交互、つまり、100
個中5o個がHとなり、ゲート326a、326bとの
アンドでアドレスクロックは元のクロックの半分となる
。FIG. 42 shows the data stored in this magnification ROM. In the case of ×1, all are H, and the gate 326a in FIG.
, 326b, the same clock as the clock is input to the address counter 321a. In the case of ×0.5, H and L alternate, that is, 100
50 out of these become H, and by AND with gates 326a and 326b, the address clock becomes half of the original clock.
さらに×2の場合は200個中1o0個がHとなり、ゲ
ート326a、326bとのアンドでアドレスクロック
は元のクロックの半分となる。×0゜5と×0.2の場
合、ROMデータの切り換えは、RAM320a、32
0bのライト/リードの切り換えと同期する。Further, in the case of x2, 100 out of 200 become H, and the address clock becomes half of the original clock by AND with gates 326a and 326b. In the case of ×0°5 and ×0.2, switching of ROM data is performed in RAM320a, 32
Synchronizes with write/read switching of 0b.
また、セレクタ323a、323bにより、倍率データ
ROM322a、322bの上位アドレスを切り換え、
リード/ライト時のROMデータの切り換えを行ってい
る。In addition, the selectors 323a and 323b switch the upper addresses of the magnification data ROMs 322a and 322b,
Switches ROM data during read/write.
初期データは、アドレスカウンタ321a、321bへ
のクロックが元のクロックと同様になるようなROMデ
ータ、つまり、全てHのデータを出力するように設定し
ている。The initial data is set to output ROM data such that the clock to the address counters 321a and 321b is the same as the original clock, that is, all H data.
上記でも分かるように、縮小時は縮小データ/100=
縮小クロツク、拡大時は拡大データ/100=拡大クロ
ツクとして1%刻みの縮小、拡大にも対応するようにし
ている。As you can see above, when reducing, reduced data/100=
A reduction clock is used, and when enlarged, the enlargement data/100 is used as an enlargement clock, so that it also corresponds to reduction and enlargement in 1% increments.
なお、324a、324bはループカウンタ制御部、3
25a、325bはラッチ部、327は3ステートバツ
フアで、RAM320a、320bの入力データの切り
換え、328はRAM320a、320bの出力データ
の切り換えを行っている。Note that 324a and 324b are loop counter control units;
25a and 325b are latch parts, 327 is a 3-state buffer, which switches the input data of the RAMs 320a and 320b, and 328 switches the output data of the RAMs 320a and 320b.
第43図は倍率データROM322a、322bのルー
プカウンタ制御部324a、324bの説明図である。FIG. 43 is an explanatory diagram of the loop counter control units 324a and 324b of the magnification data ROMs 322a and 322b.
データセレクタ330は、倍率データが100以上か1
00未満かの制御信号で倍率データと初期データ(ここ
では100とする)をセレクトする。The data selector 330 determines whether the magnification data is 100 or more or 1
Magnification data and initial data (here, 100) are selected using a control signal that is less than 00.
これは100未満の場合、つまり縮小時、前記RAM3
20a、320bのアドレスカウンタ321a、321
bのクロックがカウンタ331のクロックに対し、何カ
ウントかで縮小時の抜き取リデータの量が決定されるた
め、初期値データを選択する(この場合は100ループ
カウンタとなる)、また、拡大時、縮小時と同様にする
と、ループカウンタ331では100/拡大データ量と
なり、誤差が出るため拡大データ量は常に100個とし
、lループ拡大データ量とすると、拡大データ量/10
0となり、正確な倍率に合った前記RAM320a、3
20bのアドレスカウンタ321a、321bのクロッ
クとなる。If this is less than 100, that is, when shrinking, the RAM3
Address counters 321a, 321 of 20a, 320b
Since the amount of sampled redata at the time of reduction is determined by how many counts the clock of b is with respect to the clock of the counter 331, the initial value data is selected (in this case, it will be 100 loop counter), and the number of times the clock of the counter 331 is , if we do the same as when reducing, the loop counter 331 will be 100/enlarged data amount, which will cause an error, so the enlarged data amount will always be 100, and if we take l loop enlarged data amount, then the enlarged data amount/10
0, and the RAM 320a, 3 that matches the exact magnification
It becomes a clock for address counters 321a and 321b of 20b.
上記説明で、縮小時は100ループカウンタ331、拡
大時は拡大データ量のループカウンタを構成するために
、カウンタ331の値とセレクタ330の値とをコンパ
レータ332で比較し、カウンタ値がセレクタ値より多
ければ、カウンタ331のクリア信号をコンパレータ3
32より出力してループカウントとする。このカウンタ
331の出力データが前記ROM322a、322bの
下位アドレスと接続されている。In the above explanation, in order to configure a loop counter of 100 loop counter 331 during reduction and an expanded data amount loop counter during enlargement, the value of counter 331 and the value of selector 330 are compared by comparator 332, and the counter value is larger than the selector value. If there is a large amount, the clear signal of the counter 331 is sent to the comparator 3.
It is output from 32 and used as a loop count. The output data of this counter 331 is connected to the lower addresses of the ROMs 322a and 322b.
操作制御部80は、操作ボード上のモードキーの操作に
応じたモード信号(i)を出力制御部90に与える。The operation control section 80 provides the output control section 90 with a mode signal (i) according to the operation of the mode key on the operation board.
出力制御部90は、操作制御部80から与えられるモー
ド信号(i)と領域判定部70から与えられる二値信号
(g)とに応じて、中間調処理部55が出力する二値画
像信号(e)、二値化処理部65が出力する二値画像信
号(f)または所定レベルの信号(白レベル)を、選択
的に出力する。The output control unit 90 outputs a binary image signal ( e) Selectively output the binary image signal (f) or a signal at a predetermined level (white level) output by the binarization processing unit 65.
この信号(a)がプリンタ2に記録信号として与えられ
る。プリンタ2は、この二値信号に応じてレーザ光を変
調し、記録を行う。This signal (a) is given to the printer 2 as a recording signal. The printer 2 modulates the laser beam according to this binary signal and performs recording.
第1図に、第3図に示す領域判定部70の構成を示す、
なお、この図は網点領域検出ブロック図でもある。FIG. 1 shows the configuration of the area determination section 70 shown in FIG.
Note that this figure is also a block diagram for detecting a halftone dot area.
第1図の入力画像データDaは、前述した第3図のMT
F補正部60からの補正データ(d)と同じである。The input image data Da in FIG. 1 is the MT in FIG.
This is the same as the correction data (d) from the F correction section 60.
領域判定部70へMTF補正信号を入力させるのは、第
4図に示すごとく入力データのままではCCDピッチと
網点とのピッチの位相差で網点を解像しない場合がある
からである。The reason why the MTF correction signal is inputted to the area determination section 70 is because, as shown in FIG. 4, if the input data is unchanged, the halftone dots may not be resolved due to the phase difference between the CCD pitch and the pitch of the halftone dots.
つまり、第4図の濃度20%では、入力原稿網点濃度で
濃度の高い網点と濃度の低い網点かあり、濃度50%で
は中間濃度部に網点の濃淡が現れるが、ここでも網点の
濃淡の比が大きい場合と小さい場合があり、さらに濃度
80%では、網点の白の核の部分の濃度が薄い場合また
は濃い場合もある。In other words, at a density of 20% in Figure 4, there are halftone dots with a high density and halftone dots with a low density in the input document halftone density, and at a density of 50%, shades of halftone dots appear in the intermediate density area, but here too, there are halftone dots with a high density and halftone dots with a low density. The density ratio of the dots may be large or small, and at a density of 80%, the density of the white core portion of the halftone dot may be light or dark.
後述するように、本実施例では、網点かどうかの判定基
準を設けるうえで、この網点の黒の核または白の核が存
在しているか否かにより判定しているため、網点の濃度
情報が非常に重要なポイントとなっている。As will be described later, in this embodiment, in establishing a criterion for determining whether or not a halftone dot exists, the determination is made based on whether or not the black core or white core of this halftone dot exists. Concentration information is a very important point.
そのため本実施例では、入力データに、予め定められた
MTFの補正を行うことを第1の特徴とする。Therefore, the first feature of this embodiment is to perform a predetermined MTF correction on input data.
つまり、前述したように、入力網点ピッチとC0DIO
の読取ピッチの位相差によって生じる、網点の核濃度と
周辺濃度の差が余りない場合も想定し、MTFの補正を
かけ、第4図(b)のMTF後のデータに示すように、
網点の核濃度と周辺濃度の濃度差を拡げることにより、
後述の網点検出をし易くし、検出精度の向上を図る。In other words, as mentioned above, the input halftone pitch and C0DIO
Assuming that there is not much difference between the core density and peripheral density of the halftone dot caused by the phase difference in the reading pitch, MTF correction is applied, and as shown in the post-MTF data in Figure 4(b),
By widening the density difference between the core density and peripheral density of the halftone dot,
This makes it easier to detect halftone dots, which will be described later, and improves detection accuracy.
また、第5図はMTFの補正の一例であり、主、副走査
時、3×3のマトリクス内に対応する画素に対し、図に
示すような重み係数により補正を行つ。FIG. 5 shows an example of MTF correction, in which pixels corresponding in a 3×3 matrix are corrected using weighting coefficients as shown in the figure during main and sub-scanning.
なお、この係数は一例であり、他の係数でもよく、また
モード倍率等により変更可能なものとする。Note that this coefficient is just an example, and other coefficients may be used, and it can be changed depending on the mode magnification or the like.
第5図に示されたMTF係数を設定するためのブロック
図を第6図に示す0図において、6ia。6ia shows a block diagram for setting the MTF coefficient shown in FIG. 5 in FIG.
61cは、FIFO(ファーストイン・ファーストアウ
ト)メモリであり、主走査方向、1ライン遅延用であり
、2個使用しているため、2ラインの遅延を実現させ、
現ラインと合わせ、3ラインデータを同一時間軸上に存
在させる。また、F/F(フリップ・フロップ)61b
、61d、61e、61fによ・り各ラインの主走査方
向遅延を実現させている。61c is a FIFO (first-in, first-out) memory for one line delay in the main scanning direction, and since two are used, two lines of delay can be realized.
Together with the current line, three lines of data are made to exist on the same time axis. Also, F/F (flip flop) 61b
, 61d, 61e, and 61f realize a delay in the main scanning direction for each line.
この構成により、第5図に示されたマトリクスの係数に
対応する画像データが、同一時間軸上に存在し得る。With this configuration, image data corresponding to the coefficients of the matrix shown in FIG. 5 can exist on the same time axis.
つまり、第5図のMlに対応する画像データは第6図す
であり、M2に対応する画像データは第6図aであり、
M3に対応する画像データは第6図Cであり、M4に対
応する画像データは第6図eであり、M5に対応する画
像データは第6図dである。That is, the image data corresponding to Ml in FIG. 5 is shown in FIG. 6, the image data corresponding to M2 is shown in FIG.
The image data corresponding to M3 is shown in FIG. 6C, the image data corresponding to M4 is shown in FIG. 6e, and the image data corresponding to M5 is shown in FIG. 6d.
また、論理回路61gでaとbのデータの和a+b、論
理回路61hでdとeのデータの和d+eX論理回!6
1iで(a + b)と(d+e)の和(a十り+d十
e)を実現し、論理回路61にでCと1ビツトシフト入
力して2倍にした2Cとの和3Xcを実現し、さらに、
(a+b+d+e)を反転回路61jを通し、論理回路
61にで−(a十す十d+e)を1ビ・ントシトフ入力
して−(a + b + d + e ) / ’lと
3×Cの和を取ることで3xc−(a十り+d+e)/
2を得て(論理回路611)、第5図の係数による、M
TFの補正を実現している。この3Xc−(a+b十d
+e)/2が、第3図のMTF補正部60のd出力とな
り、領域判定部70へ入力される。Also, in the logic circuit 61g, the sum of data a and b is a+b, and in the logic circuit 61h, the sum of data d and e is d+eX logic times! 6
1i realizes the sum (a + d + e) of (a + b) and (d + e), and realizes the sum 3Xc of C and 2C, which is doubled by shifting 1 bit and inputting it to the logic circuit 61, moreover,
(a + b + d + e) is passed through the inverting circuit 61j, and -(a ten su ten d + e) is inputted by 1 bit to the logic circuit 61, and the sum of -(a + b + d + e) / 'l and 3 x C is obtained. By taking 3xc-(a+d+e)/
2 (logic circuit 611), and M according to the coefficients in FIG.
This realizes TF correction. This 3Xc-(a+b10d
+e)/2 becomes the d output of the MTF correction section 60 in FIG. 3, and is input to the area determination section 70.
後述する領域判定部70では、MTF補正信号dに基づ
き注目Wi業の濃度と、周辺画素の濃度の濃度差による
濃度パターンマツチング法を述べているが、特開昭63
−279665号公報のように、入力画像情報を、ある
しきい値で二値化し、二値化後の信号による入力画像情
報でも、MTFの補正信号を入力させることにより、前
述のごとく網点の濃度振幅は広がり、濃度差を検出しや
すい。また2硫化する上でも、黒ドツト、白ドツトを出
力しやすくなる効果がある。In the area determination unit 70, which will be described later, a density pattern matching method is described based on the density difference between the density of the target Wi area and the density of surrounding pixels based on the MTF correction signal d, but this method is disclosed in Japanese Patent Laid-Open No. 63
As in Publication No. 279665, input image information is binarized with a certain threshold value, and even if the input image information is a signal after binarization, by inputting an MTF correction signal, halftone dots can be adjusted as described above. The concentration amplitude is widened, making it easy to detect concentration differences. Also, in terms of disulfidation, it has the effect of making it easier to output black dots and white dots.
第1図に基づき網点領域検出について述べる。Halftone dot area detection will be described based on FIG.
各ブロックの詳細説明は後述するため、ここでは概略を
説明する。A detailed explanation of each block will be given later, so an outline will be explained here.
まず、網点かどうかを判定するため、画像データのある
エリアを同一時間軸上に存在させ、またもしある任意の
変倍率で画像データがモータの走査速度により副走査方
向に変倍されていたら、ここで逆変倍を行い、等倍の画
像データに補正される。First, in order to determine whether it is a halftone dot or not, we make certain areas of image data exist on the same time axis, and if the image data is scaled in the sub-scanning direction by the scanning speed of the motor at a certain arbitrary scaling ratio, then , here, reverse scaling is performed and the image data is corrected to the same size.
まず、網点かどうかを判定するため、画像データのある
エリアを同一時間軸上に存在させることが必要となる。First, in order to determine whether it is a halftone dot or not, it is necessary to have certain areas of image data exist on the same time axis.
なお、ここでスキャナ2の主走査方向を示すためにXの
信号を用い、副走査方向を示すためにYの信号を用いる
。よって、Y方向遅延回路71およびX方向遅延回路7
2により、あるエリアを同一時間軸上に存在させ、変倍
されていれば逆変倍を行い、等倍の画像データとする。Here, an X signal is used to indicate the main scanning direction of the scanner 2, and a Y signal is used to indicate the sub-scanning direction. Therefore, the Y-direction delay circuit 71 and the X-direction delay circuit 7
2, a certain area is made to exist on the same time axis, and if the area has been scaled, inverse scaling is performed to obtain image data of the same size.
また、次段の白レベル検出回路73、黒レベル検出回路
74は、網点の白の核または黒の核を検出するもので、
注目画素が網点の核かどうかを判定するため、周辺画素
との濃度差を検出し、ある一定収上の濃度差があれば、
白または黒の網点の核とし、この網点核の状態が定めら
れた規定のパターンと一致しているかどうかの判定をパ
ターンマツチング回路75で行い、網点の検出を行う。Further, the next stage white level detection circuit 73 and black level detection circuit 74 are for detecting the white core or black core of the halftone dot.
In order to determine whether the pixel of interest is the nucleus of a halftone dot, the density difference with surrounding pixels is detected, and if there is a certain density difference,
A halftone dot is detected by determining whether the state of the halftone dot nucleus matches a predetermined pattern in a pattern matching circuit 75.
そして、定められたnxmのエリアに網点が1個以上存
在する場合、nxmのエリアを網点ブロックとする網点
ブロック検出回路(1)76と、nxmのエリアに網点
が2個以上存在する場合、nxmのエリアを網点ブロッ
クとする網点ブロック検出回路(2)77とを設け、さ
らに網点ブロックの複数ブロックのうちで2点以上網点
検出ブロック、1点以上網点検出ブロック、網点が存在
しないブロックが、ある一定の割合で存在しているとき
、前述の複数網点ブロックを網点エリアにする網点エリ
ア検出回路7Bを設ける。If one or more halftone dots exist in the determined nxm area, a halftone block detection circuit (1) 76 that uses the nxm area as a halftone block, and two or more halftone dots exist in the nxm area. In this case, a halftone block detection circuit (2) 77 is provided which uses the nxm area as a halftone block, and a halftone block detection circuit (2) 77 for detecting two or more halftone dots and one or more halftone dot detection circuit among the plurality of halftone blocks is provided. A halftone dot area detection circuit 7B is provided which makes the aforementioned plural halftone dot blocks into a halftone dot area when blocks without halftone dots exist at a certain rate.
また、領域判定部70に主、副走査変倍後のデータを入
力させず、逆に等倍に逆変倍補正を行った画像データを
入力させる効果を以下に述べる。In addition, the effect of not inputting data after main and sub-scanning scaling to the area determination unit 70, but instead inputting image data that has undergone inverse scaling correction to the same size will be described below.
第44図にある倍率に対応じた網点検出パターンの一例
を示す。(alは等倍時の網点検出パターン、(b)4
よ副走査方向にのみX 0.5 Lだ網点検出パターン
、(C1は×2のものである。An example of a halftone detection pattern corresponding to the magnification shown in FIG. 44 is shown. (al is the halftone detection pattern at the same magnification, (b) 4
The halftone dot detection pattern is X 0.5 L only in the sub-scanning direction (C1 is a ×2 one).
本装置のように、例えば、×0.5の変倍率が設定され
ると、まず前述したように等倍時の走査速度の2倍の速
さで原稿画像は読取られ、×2の変倍率では1/2の速
さとなる。よって同じ網点を読取っても変倍率が異なる
と、網点検出パターンの形状も副走査方向に変化してい
く。For example, when a magnification ratio of ×0.5 is set like in this device, the document image is first read at twice the scanning speed at the same magnification as described above, and then the magnification ratio is ×2. Then the speed will be 1/2. Therefore, even if the same halftone dot is read, if the magnification ratio is different, the shape of the halftone dot detection pattern will also change in the sub-scanning direction.
本発明のように網点検出パターンでパターンマツチング
を行うエリアを副走査方向に逆変倍補正を行った場合、
+8+に示す網点検出パターンを持つことで(b)、
(C)が全く不要となる。また現在では1%刻みで変倍
率を設定可能なシステムも数多く、正確な網点検出を行
おうとした場合、網点検出パターンは前述の理由により
膨大な数となる。逆に回路規模を縮小し網点検出パター
ンの数を減らすと、誤検出に直結する。よって本発明を
利用することで正確でかつ回路規模を簡素化することが
できる。When inverse magnification correction is performed in the sub-scanning direction on the area where pattern matching is performed using the halftone detection pattern as in the present invention,
By having the halftone detection pattern shown in +8+, (b)
(C) is completely unnecessary. Furthermore, there are currently many systems in which the magnification can be set in 1% increments, and if accurate halftone dot detection is to be performed, the number of halftone dot detection patterns will be enormous for the reasons mentioned above. On the other hand, reducing the circuit scale and reducing the number of halftone detection patterns directly leads to false detection. Therefore, by using the present invention, accuracy and circuit scale can be simplified.
次に、副走査変倍回路67およびY方向遅延回路71に
ついて説明する。Next, the sub-scanning scaling circuit 67 and the Y-direction delay circuit 71 will be explained.
副走査変倍回路67およびY方向遅延回路71は第7図
に示すように、FIFOメそり101〜104、ROM
105,106、AND素子107.108、セレクタ
109より構成されている。As shown in FIG.
105 and 106, AND elements 107 and 108, and a selector 109.
なお、この回路は一実施例であり、パターンマツチング
に使用するパターンの最大サイズにより回路が異なる。Note that this circuit is one example, and the circuit differs depending on the maximum size of the pattern used for pattern matching.
また副走査変倍の方式も既に公知のものを含め色々考え
られる。Furthermore, various sub-scanning magnification methods can be considered, including already known methods.
第8図にはタイミングを示す、以下これらを用いてY方
向遅延回路71について説明する。The timing is shown in FIG. 8, and the Y-direction delay circuit 71 will be explained below using these timings.
まず、第9図を用いてタイミング関係を制御する制御信
号について説明する0図中Aは原稿を表しており、制御
信号は副走査方向(Y方向)の有効原稿幅を表す信号F
GATE、主走査方向(X方向)の有効原稿幅を表す信
号LGATE、主走査方向の読み取りの同期を取る信号
LSYNC2および図には示していないが、システム全
体の基準信号CLKからなる。つまり図において原稿情
報はLSYNCに同期して主走査方向に1ラインずつ読
み取られ、FGATE、LGATEがともに“H”のと
き有効データとなる。そして読み取られた画像データは
CLKに同期して1画素ずつCCDl0から出力される
。First, we will explain the control signals that control the timing relationship using FIG.
GATE, a signal LGATE representing the effective document width in the main scanning direction (X direction), a signal LSYNC2 for synchronizing reading in the main scanning direction, and a reference signal CLK for the entire system, although not shown in the figure. That is, in the figure, the original information is read line by line in the main scanning direction in synchronization with LSYNC, and becomes valid data when both FGATE and LGATE are "H". The read image data is output pixel by pixel from the CCD10 in synchronization with CLK.
第8図において、FGATEが“H”になった後、最初
のLSYNCに同期して読み取られた画像データは、L
GATEが“H″の期間を1ライン目の有効画像データ
D +−+ 〜DI−aとしてCLKに同期してIWi
素ずつメモリ101に記憶される。そして次のLSYN
Cに同期して得られた2ライン目の画像データDg−+
〜D!−おは、やはりメモリ101に記憶されるが、
その際に、既にメモリ101に記憶されていた1ライン
目の画像データD1−3〜D1−7はCLKに同期して
、1画素ずつメモリ102に1ライン分遅延された画像
データとして記憶される。In FIG. 8, after FGATE becomes “H”, the image data read in synchronization with the first LSYNC is
IWi synchronizes with CLK by using the period when GATE is "H" as the first line's effective image data D +-+ ~ DI-a.
Each element is stored in the memory 101. And the next LSYN
Second line image data Dg-+ obtained in synchronization with C
~D! -Oh, it is still stored in the memory 101, but
At this time, the first line of image data D1-3 to D1-7 that was already stored in the memory 101 is stored pixel by pixel in the memory 102 as image data delayed by one line in synchronization with CLK. .
以下3ライン目、4ライン目−−−m=−と走査して画
像データを得ると、メモリ103,104で遅延してい
き、5ライン目を読み取ったときに、メモリ101〜1
04の各出力は、メモリ104の出力がDl−I−Dl
−1l、メモリ103の出力がDl−1〜D!−7、メ
モリ102の出力がD3−1〜D 3−r+、メモリ1
01の出力がり、−1〜D 4−nとなり、これと現在
読み取った5ライン目の画像データDs−〜D、−7と
合わせて5ライン分の画像データが同一時間に得られる
。When the image data is obtained by scanning the 3rd line, 4th line---m=-, it is delayed in the memories 103 and 104, and when the 5th line is read, the memory 101-1
Each output of memory 104 is Dl-I-Dl.
-1l, the output of memory 103 is Dl-1~D! -7, the output of memory 102 is D3-1 to D3-r+, memory 1
The output of 01 is -1 to D4-n, and by combining this with the currently read image data of the 5th line Ds- to D, -7, five lines of image data are obtained at the same time.
これは変倍率が等倍の時の動作である。つまり変倍(等
倍)データがROM105.106に入力されると、R
OMIO3からはその変倍率に対応じた副走査量引きデ
ータを出力し、LGATEとアンドを取られる。このA
ND素子107の出力がメモリ101〜104のライト
リセット、リードリセット信号となる。またROM10
6は本回路の最終出力D1〜Db%の出力を制御する選
択信号SELを出力する0等倍時では逆変倍が必要なく
、ROMIO5(7)出力は“H”、ROMl06から
は′L” (SEL信号)の信号が出力されるため、メ
モリ101〜104のライトリセット、リードリセット
信号はLGATEとなり、順次画像データは遅延され、
α1はり、−1〜DS−、、α2はD4−1〜D4□、
α3はDl−I−D、−1l、α4はD4−I〜Da−
Fl、α、はり、−1〜D、−7がセレクタ109のA
系列入力となり、SEL信号が°L”になり、A系列入
力が出力される。This is the operation when the magnification ratio is equal to the same magnification. In other words, when variable magnification (same magnification) data is input to ROM105.106, R
OMIO3 outputs sub-scanning amount subtraction data corresponding to the magnification, and is ANDed with LGATE. This A
The output of the ND element 107 becomes a write reset signal and a read reset signal for the memories 101 to 104. Also ROM10
6 outputs a selection signal SEL that controls the final output D1 to Db% of this circuit.When the magnification is 0, inverse scaling is not necessary, and the ROMIO5 (7) output is "H" and the output from ROM106 is 'L'. (SEL signal) is output, the write reset and read reset signals of the memories 101 to 104 become LGATE, and the image data is sequentially delayed.
α1 beam, -1 to DS-, α2 is D4-1 to D4□,
α3 is Dl-I-D, -1l, α4 is D4-I~Da-
Fl, α, beam, -1 to D, -7 are A of selector 109
It becomes a series input, the SEL signal becomes °L'', and the A series input is output.
次に、末輩Wl!こ変倍率、×2がセットされた場合に
ついて述べる。走査速度は等倍時の速さの1×2で走査
し、副走査方向の画像データが2倍となる。よって本回
路では逆変倍< x O,5)を行い、等倍の画像デー
タとする。その動作は変倍データ(×2)が入力される
と、ROM105は間引き信号を出力し、AND素子1
07によりLGATEとのアンドをとり、W−R信号(
ライトリセット、リードリセット信号)を出力する。メ
モリ101から104は第8図に示すように、1ライン
目、3ライン目、5ライン目−と1ライン飛ばしてデー
タを書込む。よってDbl〜I)bsなるIライン間引
いたデータが出力され、等倍画像データに逆変倍された
ことになる。よってROM105が出力する間引き信号
により、諸種の副走査ラインの間引きによる逆変倍が可
能である。逆に本装置に変倍率、×0.5がセットされ
ると、今度は走査速度が等倍時の2倍の速さとなり、副
走査方向に画像データが縮小される。よって本回路では
×2の副走査変倍を行えばよい。Next, junior Wl! The case where the variable magnification is set to x2 will be described. The scanning speed is 1×2, which is the same speed as when magnified, and the image data in the sub-scanning direction is doubled. Therefore, this circuit performs inverse scaling < x O, 5) to obtain image data of the same size. The operation is such that when the variable magnification data (x2) is input, the ROM 105 outputs a thinning signal, and the AND element 1
07, performs an AND with LGATE and outputs the WR signal (
Outputs write reset and read reset signals). As shown in FIG. 8, the memories 101 to 104 write data by skipping one line, such as the first line, the third line, and the fifth line. Therefore, I-line thinned data Dbl to I)bs is output and is inversely scaled to equal-size image data. Therefore, the thinning signal output from the ROM 105 enables reverse scaling by thinning out various sub-scanning lines. Conversely, when the magnification ratio is set to x0.5 in this apparatus, the scanning speed becomes twice as fast as when the image is at the same magnification, and the image data is reduced in the sub-scanning direction. Therefore, in this circuit, it is sufficient to perform sub-scanning magnification of ×2.
以下、その動作について説明を行う。ROMIO3は変
倍データ(xo、5)が入力されると“H”を出力し、
AND素子107にてLGATEとアンドを取られ、同
じ< LGATEを出力し、これがW−R信号となる。The operation will be explained below. ROMIO3 outputs “H” when the variable magnification data (xo, 5) is input,
AND element 107 performs an AND operation with LGATE and outputs the same <LGATE, which becomes the WR signal.
またROM106は“H”を出力し、同じ< LGAT
Eとなり、セレクタ109はB系列の入力を出力するこ
とになる。ここでセレクタ109のB系列入力はα5×
2、α4×2、α3×1となり、第8図のタイミングチ
ャート中、Db、−Dいなるデータを得る。同一のデー
タを2回出力することで×2の逆変倍が行われる。Also, the ROM106 outputs “H” and the same < LGAT
E, and the selector 109 outputs the B-series input. Here, the B series input of the selector 109 is α5×
2, α4×2, α3×1, and data Db and -D are obtained in the timing chart of FIG. Inverse scaling of ×2 is performed by outputting the same data twice.
逆変倍で拡大を行う場合は、メモリ101〜104が出
力するデータの組み合わせを変え、同しデータを重複し
て出力させることで諸種の副走査変倍を行うことができ
る。When enlarging by inverse scaling, various types of sub-scanning scaling can be performed by changing the combination of data output by the memories 101 to 104 and outputting the same data redundantly.
前述の通り、副走査変倍およびY方向遅延を行う上で、
本発明では一実施例を基に説明を行ったが、公知技術を
含め諸種の方式で行ってもよい。As mentioned above, when performing sub-scanning magnification and Y-direction delay,
Although the present invention has been described based on one embodiment, various methods including known techniques may be used.
また、この種のパターンマツチングを行う際、あまり厳
密な副走査逆変倍は必要なく、例えば、100%と10
1%などの逆変倍は必要なく、1θ%刻みで近似させた
り、数種の副走査変倍後のパターンを用意し、副走査逆
変倍を行うステップを粗くし、副走査変倍回路の構成を
簡略化する等のことも本発明を利用することで容易に応
用することができる。なお、従来の副走査変倍回路はフ
レームメモリのような大規模な記憶手段を持っているの
に対し、本実施例で使用した副走査変倍回路67では、
前述したような大規模な記憶手段を必要としないため、
副走査変倍方式単独でも非常に有用である。Also, when performing this type of pattern matching, it is not necessary to perform very strict reverse magnification in the sub-scanning direction, for example, 100% and 10%.
There is no need for inverse scaling such as 1%, but it can be approximated in 1θ% increments, or several patterns after sub-scanning scaling may be prepared, and the steps for performing sub-scanning inverse scaling may be coarsened, and the sub-scanning scaling circuit By using the present invention, it is possible to easily apply the present invention to simplify the configuration of the system. Note that while the conventional sub-scanning magnification circuit has a large-scale storage means such as a frame memory, the sub-scanning magnification circuit 67 used in this embodiment has
Because it does not require large-scale storage means as mentioned above,
The sub-scanning variable magnification method alone is also very useful.
次にX方向遅延回路72について説明する。Next, the X-direction delay circuit 72 will be explained.
X方向遅延回路72は第10図に示すように5つのブロ
ックからなり、各ブロックがそれぞれ5個のフリップ・
フロップ群(111〜115,116〜120,121
〜125,126〜130゜131〜135)にて構成
される。なお、この回路は一例であり、パターン・マツ
チングに使用するパターンの最大サイズにより回路は異
なる。各ブロックは、それぞれY方向遅延回路71によ
り得られた5ライン分の画像データD、、%D、、を処
理するものであり、同じ動作をするので画像データD1
を処理するブロックについてのみ説明する。The X-direction delay circuit 72 consists of five blocks as shown in FIG. 10, and each block has five flips.
Flop group (111-115, 116-120, 121
~125,126~130°131~135). Note that this circuit is just an example, and the circuit differs depending on the maximum size of the pattern used for pattern matching. Each block processes 5 lines of image data D,,%D,, obtained by the Y-direction delay circuit 71, and performs the same operation, so the image data D1
We will only explain the blocks that process.
また第11図には回路の動作のタイミングを示す。Further, FIG. 11 shows the timing of the operation of the circuit.
以下これらの図を用いてX方向遅延回路72について説
明する。The X-direction delay circuit 72 will be explained below using these figures.
第11図において、5ライン目の画像データを読み取る
と、メモリ104からCLKに同期して、1画素ずつ1
ライン目の画像データD、が出力される。そして、1ラ
イン目の1画素目の画像データD1−1がフリップ・フ
ロップ111に入力されると、フリップ・フロップ11
1にラッチされ、その値が記憶される。そして2画素目
の画像データD I−tが入力されると、フリップ・フ
ロップ111はその値を記憶するが、その際既に記憶し
ていた1画素目の画像データD+−+ はCLKに同期
して、1画素分遅延されたデータとしてフリップ・フロ
ップ112に記憶される。In FIG. 11, when the fifth line of image data is read, one pixel at a time is read from the memory 104 in synchronization with CLK.
The image data D for the line is output. Then, when the image data D1-1 of the first pixel of the first line is input to the flip-flop 111, the flip-flop 11
It is latched to 1 and its value is stored. Then, when the second pixel image data D I-t is input, the flip-flop 111 stores that value, but at that time, the first pixel image data D+-+ that has already been stored is synchronized with CLK. The data is then stored in the flip-flop 112 as data delayed by one pixel.
以下、3′f!j素目、4画素目・−の画像データD1
−1D I−a−・−が入力されると、フリップ・フロ
ップ113〜115で遅延していき、6!素百の画像デ
ータが入力されると、フリップ・フロップ111〜11
5の各出力は、フリップ・フロップ115の出力がDl
−I、フリップ・フロップ114の出力がり、−、、フ
リップ・フロップ113の出力がDI−s、フリップ・
フロップ112の出力がDI−4、フリップ・フロップ
111の出力がD 、−。Below, 3'f! j-th element, 4th pixel - image data D1
When -1D I-a-.- is input, it is delayed by flip-flops 113 to 115, and 6! When elementary image data is input, flip-flops 111 to 11
Each output of flip-flop 115 is Dl
-I, the output of the flip-flop 114 is -,, the output of the flip-flop 113 is DI-s, the flip-flop
The output of the flop 112 is DI-4, and the output of the flip-flop 111 is D1, -.
となり、これと現在入力されてきた6画素目の画像デー
タD + −bと合わせて、同一ライン内の6画素分の
画像データが同一時間に得られる。By combining this with the currently input image data D + -b of the 6th pixel, image data for 6 pixels in the same line can be obtained at the same time.
従って、5つのブロックを合わせると第12図に示すよ
うに5ライン×6画素、合計300画素の画像データD
CI〜Dcs。が同一時間に得られる。Therefore, when the five blocks are combined, as shown in FIG. 12, the image data D is 5 lines x 6 pixels, a total of 300 pixels.
CI~Dcs. are obtained at the same time.
X方向遅延回路72より5ライン×6画素、合計300
画素画像データDCI〜D C36が得られるが、この
うちの数画素を用いてパターン・マツチングを行い、網
点を検出する。5 lines x 6 pixels from the X direction delay circuit 72, total 300
Pixel image data DCI to DC36 are obtained, and pattern matching is performed using several pixels of these to detect halftone dots.
第13図fat〜fe)は、パターン・マツチングに使
用するパターンの例であり、それぞれ丸印を付けた画素
De15が現在注目している注目画素であり、実線の四
角形で囲まれた画素が周辺画素となる。Figure 13 fat to fe) are examples of patterns used for pattern matching, and the pixel De15 marked with a circle is the current pixel of interest, and the pixels surrounded by solid rectangles are the surrounding pixels. Becomes a pixel.
例えば、同図(a)のパターンにおいては、注目画素は
D elsであり、周辺画素はDcz〜D cs+
D c?。For example, in the pattern shown in FIG.
Dc? .
Delll Dc+s+ Dell、 Dell、 D
cza* Dczh 〜Deteの14画素である。そ
してパターン・マツチングは注目画素と周辺画素の関係
が、
(i)注目画素の濃度が全ての周辺画素の濃度よりもあ
る一定の濃度以上高い場合、
(ii )注目画素の濃度が全ての周辺画素の濃度より
もある一定の濃度以上低い場合、
をパターンにマツチしていると見做して、その注目画素
を網点として検出する。なお、上述のある一定の濃度を
以下重みと呼ぶ。Dell Dc+s+ Dell, Dell, D
There are 14 pixels from cza*Dczh to Dete. In pattern matching, the relationship between the pixel of interest and surrounding pixels is such that (i) the density of the pixel of interest is higher than the density of all surrounding pixels, (ii) the density of the pixel of interest is higher than the density of all surrounding pixels. If the density is lower than the density by a certain value or more, it is assumed that matches the pattern, and the pixel of interest is detected as a halftone dot. Note that the above-mentioned certain density is hereinafter referred to as a weight.
第16図に20%、80%の濃度の網点と各網点を簡単
にするためへの部分で一次元的に見た場合の濃度分布を
示す、そして上ic!(i)の場合には第16図中■の
部分、つまり網点そのものを網点として検出し、上記(
11)の場合には第16図中■の部分、つまり網点と網
点て囲まれた部分を網点として検出する。Figure 16 shows the density distribution when viewed one-dimensionally with halftone dots of 20% and 80% density and a section for simplifying each halftone dot, and the upper ic! In case (i), the part marked ■ in Figure 16, that is, the halftone dot itself, is detected as a halftone dot, and the above (
In the case of 11), the part marked ■ in FIG. 16, that is, the part surrounded by halftone dots, is detected as a halftone dot.
上記のごとく網点は、濃度の高い、つまり一定面積の黒
の面積比率が高い場合、白の核が存在しており、濃度の
低い、つまり白の面積比率が高い場合、黒の核が存在し
得る。As mentioned above, when the density of a halftone dot is high, that is, the area ratio of black in a certain area is high, there is a white nucleus, and when the density is low, that is, the area ratio of white is high, there is a black nucleus. It is possible.
ここで、網点検出を行う上で第14図に示すごとく網点
画像の入力データを、複数のスレッシュレベルで二値化
し、その各々の二値化パターンが、網点パターンとマツ
チングしているか否かにより、網点の検出を行うパター
ンマツチングでは第15図に示すごとく、二値化スレッ
シュレベル周辺の文字、線画情報は、画像自体の濃度ム
ラ、搬送ムラ等による機械的ノイズ、照明および前述し
たCCDl0のピッチムラ等により、文字、線Mfi度
情軸情報一ではなく、入力画像の濃度のムラが生じ、二
値化後のデータは黒の途切れが発生してしまう、この黒
の途切れが網点パターンとマツチングすれば、誤検出と
なる。In performing halftone dot detection, the input data of the halftone dot image is binarized at multiple threshold levels as shown in Figure 14, and each binarized pattern is checked to see if it matches the halftone dot pattern. As shown in Fig. 15, in pattern matching that detects halftone dots, text and line drawing information around the binarization threshold level is affected by mechanical noise caused by density unevenness of the image itself, transportation unevenness, etc., illumination and Due to the above-mentioned pitch unevenness of CCD10, the character and line Mfi degree axis information is not the same, but the density of the input image becomes uneven, and the data after binarization has black breaks. If it matches the halftone pattern, it will be a false detection.
つまり本実施例においては、上記欠点を補正するもので
あり、多少の濃度ムラが生しても、濃度差レベルは網点
に比較し、十分小さいものであるため、ある程度の濃度
差を、注目画素と周辺iii素に持たせた濃度差パター
ンマツチングにより、上記欠点を補い、誤検出を低減で
きる。In other words, in this embodiment, the above-mentioned drawback is corrected, and even if some density unevenness occurs, the density difference level is sufficiently small compared to halftone dots, so a certain amount of density difference can be noticed. By matching the density difference pattern between the pixel and the surrounding iii pixels, the above drawback can be compensated for and false detections can be reduced.
また、この濃度差は、網点の濃度(面積率)によって変
化させることもないため、回路自体の構成も比較的容易
となる効果を奏する。Further, since this density difference does not change depending on the density (area ratio) of the halftone dots, the configuration of the circuit itself becomes relatively easy.
以下第13図(alに示すパターンの場合を、白レベル
検出回路73および黒レベル検出回路74について説明
する。In the case of the pattern shown in FIG. 13 (al), the white level detection circuit 73 and the black level detection circuit 74 will be described below.
黒レベル検出回路74では前記(i)の場合について、
白レベル検出回路73では前記(ii )の場合につい
て、それぞれ周辺画素に対する注目画素の重み付けを行
い、重み付けをした注目画素(重み付き注目画素)と周
辺画素との大小関係を判定する。In the case (i) above, the black level detection circuit 74 performs the following:
In the case (ii), the white level detection circuit 73 weights the pixel of interest relative to the surrounding pixels, and determines the magnitude relationship between the weighted pixel of interest (weighted pixel of interest) and the surrounding pixels.
第13図fa)のパターンを用いた場合の黒レベル検出
回路74を第17図に示す。黒レベル検出回路74は、
減算器161および比較器162〜175にて構成され
る。なお、この回路は一例であり、パターン等により構
成は変わる。減算器161では、注目画素の周辺画素に
対する重み付けを行う、つまり、注目画素データDco
klSと周辺画素データ(この場合Dc!〜D cs+
De?、 Dc+z+D(131Dell、 Dc
+*+ Dcta* Dczb〜Dczeの14画素の
濃度の大小関係に応じて、信号D1〜D、14を得る。FIG. 17 shows the black level detection circuit 74 when the pattern shown in FIG. 13 fa) is used. The black level detection circuit 74 is
It is composed of a subtracter 161 and comparators 162 to 175. Note that this circuit is just an example, and the configuration may vary depending on the pattern, etc. The subtracter 161 weights the surrounding pixels of the pixel of interest, that is, the pixel of interest data Dco
klS and surrounding pixel data (in this case Dc! ~ D cs+
De? , Dc+z+D(131Dell, Dc
+*+ Dcta* Signals D1 to D, 14 are obtained depending on the magnitude relationship of the density of 14 pixels Dczb to Dcze.
ここで信号D1〜D14は(重み付き注目iI業データ
)〉(周辺画素データ)のとき“H”となり、それ以外
のときは“L″となる。Here, the signals D1 to D14 become "H" when (weighted attention data)>(peripheral pixel data), and become "L" otherwise.
次に第13図(a)のパターンを用いた場合の白レベル
検出回路73を第18図に示す、白レベル検出回路73
は、加算器141および比較器142〜155にて構成
される。なお、この回路は一例であり、パターン等によ
り構成は変わる。加算器141では注目画素の周辺画素
に対する重み付けを行うが、白レベル検出回路73では
黒レベル検出回路74とは逆に注目画素データDe15
に重みデータD。、を加えて重み付き注目画素データD
coss+sを生成し、比較器142〜155へ出力す
る。なおこの重みデータD。0は任意に設定できる。そ
して比較器142〜155では、黒レベル検出回j@7
4と同様に、重み付き注目画素と周辺画素の濃度の大小
関係に応じて、信号I)a+〜D4,4を得る。ここで
信号D a I−D a + aは黒レベル検出回路7
4とは逆に(重み付き注画素データ)〈(周辺画素デー
タ)のとき“H”となり、それ以外のときはL″となる
。Next, FIG. 18 shows the white level detection circuit 73 when the pattern of FIG. 13(a) is used.
is composed of an adder 141 and comparators 142 to 155. Note that this circuit is just an example, and the configuration may vary depending on the pattern, etc. The adder 141 weights the peripheral pixels of the pixel of interest, but the white level detection circuit 73 weights the pixel of interest data De15, contrary to the black level detection circuit 74.
weight data D. , and weighted pixel data of interest D
coss+s is generated and output to comparators 142-155. Note that this weight data D. 0 can be set arbitrarily. And in the comparators 142 to 155, the black level detection time j@7
Similarly to 4, signals I) a+ to D4, 4 are obtained depending on the magnitude relationship between the density of the weighted pixel of interest and the surrounding pixels. Here, the signal D a I-D a + a is the black level detection circuit 7
Contrary to 4, it becomes "H" when (weighted pixel data) < (peripheral pixel data), and becomes "L" in other cases.
なお、パターン・マツチングは単一パターンのみでなく
複数パターンを用いてもよく、その際は各パターンに応
じた第17図、第18図に類似した黒レベル検出回路7
4および白レベル検出回路73を一例として第19図の
ように、並列に配置することにより実現できる。Note that pattern matching may use not only a single pattern but also multiple patterns, in which case a black level detection circuit 7 similar to that shown in FIGS. 17 and 18 corresponding to each pattern may be used.
This can be realized by arranging 4 and the white level detection circuit 73 in parallel, as shown in FIG. 19, for example.
次にパターン・マツチング回路について説明する。Next, the pattern matching circuit will be explained.
第13図Ta)のパターンを用いた場合のパターン・マ
ツチング回路の一例を第20図に示す。パターン・マツ
チング回路75は、ANDゲート181.182および
ORゲート183にて構成される。なお、この回路は一
例であり、パターン等により構成は変わる。白レベル検
出回路73より得られた信号D□〜D□4は、(重み付
き注画素データ)〈(周辺画素データ)のときH″とな
り、それ以外のときは“L”となる、従ってANDゲ−
)181に信号D□〜D−14を入力して、信号D□〜
D4,4が全て“H′のとき、つまり注目画素が全ての
周辺画素に対して、ある重み以上濃度が低いとき、パタ
ーンにマツチしているので、その注目画素を網点と判定
し、信号D□を“H″とする。逆に信号Da+〜D□、
のうち1つでも“L”のときはパターンにマツチしてい
ないので、その注目画素を非網点と判定し、信号り、w
を“L”とする、同様にして黒レベル検出回路74より
得られた信号D1〜D□4をANDゲート182に入力
し、信号り、1〜D14が全て“H”のときは注目画素
が、全ての周辺画素に対しである重み以上濃度が高いの
で、パターンにマツチしていることになる。したがって
、その注目画素を網点と判定し、信号り、bを“H”と
する、また逆に信号D□〜D□4のうち、1つでもL1
のときはパターンにマツチしていないので、その注目画
素を非網点と判定し、信号り。を“L”とする、そして
信号D @ W + D a bはORゲート183
に入力され、信号D m@+ Dabのうちのいずれ
か一方が“H“のとき、つまりいずれか一方のパターン
とマツチし、その注目画素が網点と検出されたときは、
その注目画素を最終的に網点とし、信号Dtを“H”と
する、また信号D m1m+ Dabが両方とも°L”
のときは、その注目画素は最終的に非網点とし、信号D
fを“L”とする。FIG. 20 shows an example of a pattern matching circuit using the pattern shown in FIG. 13 (Ta). The pattern matching circuit 75 is composed of AND gates 181 and 182 and an OR gate 183. Note that this circuit is just an example, and the configuration may vary depending on the pattern, etc. The signals D□ to D□4 obtained from the white level detection circuit 73 are H'' when (weighted pixel data) < (peripheral pixel data), and are “L” otherwise. Game
)181, input the signals D□~D-14, and input the signals D□~
When D4 and D4 are all "H'", that is, when the pixel of interest has a density lower than a certain weight compared to all surrounding pixels, it matches the pattern, so the pixel of interest is determined to be a halftone dot, and the signal is Set D□ to “H”. Conversely, signals Da+ to D□,
If even one of them is "L", it does not match the pattern, so the pixel of interest is determined to be a non-halftone dot, and the signal is
Similarly, the signals D1 to D□4 obtained from the black level detection circuit 74 are input to the AND gate 182, and when the signals D1 to D14 are all "H", the pixel of interest is set to "L". , the density is higher than a certain weight for all surrounding pixels, so it matches the pattern. Therefore, the pixel of interest is determined to be a halftone dot, and the signal b is set to "H", or conversely, at least one of the signals D□ to D□4 is L1.
When , it does not match the pattern, so the pixel of interest is determined to be a non-halftone dot, and a signal is sent. is set to “L”, and the signal D @ W + D a b is the OR gate 183
and when either one of the signals Dm@+Dab is "H", that is, when it matches one of the patterns and the pixel of interest is detected as a halftone dot,
The pixel of interest is finally set as a halftone dot, and the signal Dt is set to "H", and both signals Dm1m+Dab are set to "L"
, the pixel of interest is finally treated as a non-halftone dot, and the signal D
Let f be “L”.
なお、パターンを複数使用してパターン・マツチングを
行う場合は、−例として第19図に示すように複数の黒
レベル検出回路74a〜74Cおよび白レベル検出回路
732〜73Cに対応じたANDゲートを設け、パター
ンにマツチしているかどうか(注目画素が網点か非網点
か)を判定し、その出力をORゲートに入力して、各パ
ターンのうち1つでもその注目画素を網点と判定した場
合には、その注目画素を最終的に網点と判定し、いずれ
のパターンでもその注目画素を非網点と検出した場合に
は、その注目画素を最終的に非網点と判定するようにす
れば実現できる。When performing pattern matching using a plurality of patterns, for example, as shown in FIG. It determines whether the pixel of interest matches a pattern (whether the pixel of interest is a halftone dot or a non-halftone dot), inputs the output to the OR gate, and determines that at least one pixel of interest in each pattern is a halftone dot. In this case, the pixel of interest is finally determined to be a halftone dot, and if the pixel of interest is detected as a non-halftone dot in any pattern, the pixel of interest is finally determined to be a non-halftone dot. It can be achieved by doing this.
網点ブロック検出回路(1) 76および網点ブロック
検出回路(2177について説明する。The halftone block detection circuit (1) 76 and the halftone block detection circuit (2177) will be explained.
網点ブロック検出回路(1176および網点ブロック検
出回路(2177では、複数画素からなるブロック中に
網点画素がIN素存在するブロック(網点ブロックl)
、同じく複数W!i素存在するブロック(網点ブロック
2)をそれぞれ検出する。The halftone block detection circuit (1176) and the halftone block detection circuit (2177) detect a block (halftone block l) in which there are IN number of halftone pixels in a block consisting of a plurality of pixels.
, also multiple W! Each block (halftone dot block 2) in which i elements exist is detected.
従来の技術では、このような網点ブロック化を行う際に
、そのブロック中に1画素でも網点画素が存在する場合
、そのブロックを網点ブロックとして領域化を行ってき
たが、この場合、ノイズ等により1画素でも非網点画素
を網点画素と誤認識すると、そのブロック全体を網点ブ
ロックとして誤認識してしまう欠点が存在したことは前
述の通りである。In conventional technology, when creating such a halftone block, if there is even one halftone pixel in the block, the block is treated as a halftone block and the area is divided into regions. As mentioned above, there is a drawback that if even one non-halftone pixel is mistakenly recognized as a halftone pixel due to noise or the like, the entire block is mistakenly recognized as a halftone block.
第21図に、100線、濃度50%の網点画像を前述の
400dpiで読み取った場合の画像データを示す。図
中ハツチングしたところが網点であり、画像データの上
および左の1〜16の数字は各画素に対応する。この図
より明らかなように、適当な大きさのサイズのブロック
、例えば8×8画素をブロックとすると、4〜5個の網
点が存在しているので、ブロック中に複数の網点画素が
存在する場合に、そのブロックを網点ブロックとすると
、前述のような欠点を防ぐことができる。但し、モアレ
等の影響により網点画素が検出しずらくなっている場合
、ブロック中に複数画素存在する場合に、そのブロック
を網点ブロックとすると、逆に網点画像部を非網点画像
部と誤認識してしまう欠点が生じるので、本実施例にお
いては、ブロック中に1画素でも網点画素が存在する場
合と、ブロック中に複数網点画素が存在する場合をそれ
ぞれ網点ブロック1、網点ブロック2として検出し、以
後の処理に使用する。FIG. 21 shows image data when a halftone dot image with 100 lines and a density of 50% is read at the aforementioned 400 dpi. The hatched areas in the figure are halftone dots, and the numbers 1 to 16 above and to the left of the image data correspond to each pixel. As is clear from this figure, if a block of an appropriate size, for example 8 x 8 pixels, is used, there are 4 to 5 halftone dots, so there are multiple halftone dots in the block. If such a block exists, the above-mentioned drawbacks can be avoided by making the block a halftone block. However, if it is difficult to detect halftone pixels due to the influence of moire, etc., or if there are multiple pixels in a block, if that block is set as a halftone block, the halftone image part will be converted into a non-halftone image. Therefore, in this embodiment, when there is even one halftone pixel in a block, and when there are multiple halftone pixels in a block, the halftone block 1 is used. , and is detected as halftone block 2 and used for subsequent processing.
第22図に、網点ブロック検出回H(1)76および網
点ブロック検出回路(2177の構成を示す、網点ブロ
ック検出回路(1176は、主走査方向網点ブロック検
出回路(1) 201でブロックの主走査方向に網点画
素が存在するかしないかを検出し、副走査方向網点ブロ
ック検出回路<xi 203により、ブロックの副走査
方向に網点画素が存在するラインが1ラインでも存在す
るときに、そのブロックを網点ブロック1として検出す
る。FIG. 22 shows the configuration of the halftone block detection circuit H(1) 76 and the halftone block detection circuit (2177). The presence or absence of halftone pixels in the main scanning direction of the block is detected, and the sub-scanning direction halftone block detection circuit <xi 203 detects whether there is even one line in which halftone pixels exist in the sub-scanning direction of the block. , the block is detected as halftone block 1.
網点ブロック検出回路(2) 77は、主走査方向網点
ブロック検出回路(1) 201により、ブロックの主
走査方向に網点画素が存在するかしないかを検出し、副
走査方向網点ブロック検出回路(2) 204により、
網点画素の存在するラインが所定の複数ライン存在する
とき、そのブロックを網点ブロック2として検出する。The halftone block detection circuit (2) 77 uses the main scanning direction halftone block detection circuit (1) 201 to detect the presence or absence of halftone pixels in the main scanning direction of the block, and detects the presence or absence of halftone pixels in the sub scanning direction halftone block. By the detection circuit (2) 204,
When there are a predetermined plurality of lines in which halftone dot pixels exist, that block is detected as halftone block 2.
また、主走査方向網点ブロック検出回路+21202に
より、ブロックの主走査中に網点画素が所定の複数画素
存在するかしないかを検出し、副走査方向網点ブロック
検出回路(1)205により、ブロックの副走査方向に
網点画素が所定の複数画素存在するラインが1ラインで
も存在するとき、そのブロックを網点ブロック2として
検出する。そしていずれか一方で、そのブロックが網点
ブロック2として検出された場合に、そのブロックを網
点ブロック2として検出する。Further, the main scanning direction halftone block detection circuit + 21202 detects whether a predetermined plurality of halftone pixels exist or not during main scanning of the block, and the sub scanning direction halftone block detection circuit (1) 205 detects whether a predetermined plurality of halftone pixels exist or not. If there is even one line in which a predetermined plurality of halftone dot pixels exist in the sub-scanning direction of the block, that block is detected as halftone block 2. If that block is detected as halftone block 2 on either side, that block is detected as halftone block 2.
以下各部の詳細を、ブロックのサイズを主走査方向8i
i!i素×副走査方向8ラインとし、ブロック中2ii
ii素以上網点画素が存在するときに、網点ブロック2
とする場合について説明する。The details of each part are as follows, and the block size is 8i in the main scanning direction.
i! i element x 8 lines in the sub-scanning direction, 2ii in the block
When there are ii or more halftone pixels, halftone block 2
A case will be explained below.
主走査方向網点ブロック検出回路(1) 201につい
て説明する。The main scanning direction halftone block detection circuit (1) 201 will be explained.
主走査方向網点ブロック検出回路(1) 201は、第
23図に示すように、8進カウンタ210、フリップ・
フロップ211〜213、ANDゲート214.215
、ORゲート216およびNANDゲート217にて構
成される。なお、この回路は一例であり、ブロックのサ
イズにより回路は異なる。The main scanning direction halftone block detection circuit (1) 201 includes an octal counter 210, a flip counter 210, as shown in FIG.
Flops 211-213, AND gates 214.215
, an OR gate 216, and a NAND gate 217. Note that this circuit is just an example, and the circuit differs depending on the size of the block.
また、第25図にはこの回路の動作のタイミングの一例
を示す、なお、図中の■〜■の信号は、第23図中の■
〜■の各位置に対応する。また第25図のCLKO上の
数字は画素に対応する。Further, FIG. 25 shows an example of the timing of the operation of this circuit. Note that the signals from ■ to ■ in the figure correspond to the signals indicated by ■ in FIG.
Corresponding to each position of ~■. Further, the numbers above CLKO in FIG. 25 correspond to pixels.
以下、これらの図を用いて、主走査方向網点ブロック検
出回路(11201について説明する。The main scanning direction halftone block detection circuit (11201) will be explained below using these figures.
主走査方向網点ブロック検出回路(11201では、ブ
ロックの主走査方向8画素中に網点画素が存在するかし
ないかを検出する。8進カウンタ210のQ、〜Qcの
各出力は、基準信号CLKが入力される度に第25図の
ように順次出力を変えていくので、これをANDゲート
214に入力することにより、フリップ・フロップ21
1の出力■。The main scanning direction halftone block detection circuit (11201 detects whether or not a halftone pixel exists in the 8 pixels in the main scanning direction of the block. Each output of Q, to Qc of the octal counter 210 is a reference signal Each time CLK is input, the output is changed sequentially as shown in FIG. 25, so by inputting this to the AND gate 214, the flip-flop
1 output■.
■は8クロツク毎に“Hlまたは“Loになる。■ becomes "Hl" or "Lo" every 8 clocks.
ここで例えば、2画素目が網点と判定され、信号Dtが
“H″になっている場合、ANDゲート215の出力■
の状態にかかわらず、ORゲート216の出力■がH″
となるので、次のCLKの立上がりでこの信号がラッチ
され、フリップ・フロップ212の出力■が“H”とな
る。そして信号■と■をANDゲート215に入力する
ことにより、ANDゲート215の出力■は“H″とな
り、この信号■がORゲート216に入力されるので、
以下信号Dfの状態にかかわらず、信号■は“H”とな
り、信号■も“H″となる。そして9画素目にくると信
号■が“L”になるので、信号Dfが“Loのとき信号
■は“Loとなり、次のCLKの立上がりでこの信号が
ラッチされ、信号■が“Llとなる。信号■とCLK−
t−NANDゲート217に入力することにより、NA
NDゲート217の出力■は第25図のようになり、こ
の信号■をフリップ・フロップ213のクロックに入力
することにより、信号■の立上がりで信号■がラッチさ
れるので、フリップ・フロップ213の出力■は信号■
が“H”のとき、つまり8画素中に網点が存在したとき
は“H”となり、逆に信号■が“Lo、つまり8画素中
に網点が存在しなかったとき“L”となる。For example, if the second pixel is determined to be a halftone dot and the signal Dt is "H", the output of the AND gate 215 is
Regardless of the state of
Therefore, this signal is latched at the next rising edge of CLK, and the output 2 of the flip-flop 212 becomes "H". Then, by inputting the signals ■ and ■ to the AND gate 215, the output ■ of the AND gate 215 becomes "H", and this signal ■ is input to the OR gate 216.
Thereafter, regardless of the state of the signal Df, the signal (2) becomes "H" and the signal (2) also becomes "H". Then, when the 9th pixel arrives, the signal ■ becomes "L", so when the signal Df is "Lo", the signal ■ becomes "Lo", and at the next rising edge of CLK, this signal is latched, and the signal ■ becomes "Ll". .Signal ■ and CLK-
By inputting to the t-NAND gate 217, the NA
The output ■ of the ND gate 217 becomes as shown in FIG. ■is a signal■
When is "H", that is, when there is a halftone dot in 8 pixels, it becomes "H", and conversely, when the signal ■ is "Lo", that is, when there is no halftone dot in 8 pixels, it becomes "L" .
以下、9画素目〜16画素目まで8画素中には網点画素
が2個存在する場合を、また17画素目から24画素目
までは網点画素が存在しない場合のタイミングの例を示
す。Below, examples of timing will be shown in which there are two halftone dot pixels among the 8 pixels from the 9th pixel to the 16th pixel, and when there are no halftone dot pixels from the 17th pixel to the 24th pixel.
主走査方向網点ブロック検出回路+21202について
説明する。The main scanning direction halftone block detection circuit +21202 will be explained.
主走査方向網点ブロック検出回路f21202は、第2
4図に示すように、8進カウンタ220.221、フリ
ップフロップ222〜224、デイレイ225,226
、ANDゲート227.228、ORゲート229.2
30およびNANDゲート231にて構成される。なお
、この回路は一例であり、ブロックのサイズにより回路
は異なる。The main scanning direction halftone block detection circuit f21202
As shown in Figure 4, octal counters 220 and 221, flip-flops 222 to 224, and delays 225 and 226
, AND gate 227.228, OR gate 229.2
30 and a NAND gate 231. Note that this circuit is just an example, and the circuit differs depending on the size of the block.
また、第26図には、この回路の動作のタイミングの一
例を示す、なお、第26図中の■〜[相]はの信号は第
24図中の■〜[相]の各位置に対応する。In addition, Fig. 26 shows an example of the timing of the operation of this circuit. Note that the signals from ■ to [phase] in Fig. 26 correspond to the positions of ■ to [phase] in Fig. 24. do.
また、第26図のCLKO上の数字は画素に対応する。Further, the numbers on CLKO in FIG. 26 correspond to pixels.
以下、これらの図を用いて主走査方向網点ブロック+2
1202について説明する。Below, using these figures, the main scanning direction halftone block +2
1202 will be explained.
主走査方向網点ブロック検出回路(2) 202では、
ブロックの主走査方向8画素中に網点画素が2画素以上
存在するかしないかを検出する。8進カウンタ220の
Qa〜Q、の各出力は、基準信号CLKが入力される度
に第26図のように順次出力が変わるので、これらをA
NDゲート227に入力することにより、フリップ・フ
ロップ222の出力■、■は8クロツク毎に“H”また
は“L。In the main scanning direction halftone block detection circuit (2) 202,
It is detected whether there are two or more halftone dot pixels among the eight pixels in the main scanning direction of the block. The outputs of Qa to Q of the octal counter 220 change sequentially as shown in FIG. 26 every time the reference signal CLK is input, so these are
By inputting it to the ND gate 227, the outputs ① and ② of the flip-flop 222 become “H” or “L” every 8 clocks.
になる、ここで例えば、3画素目と6画素目が網点と判
定され、信号り、が“H″になっている場合、信号Df
とCLKの反転信号をANDゲート228に入力するこ
とにより、ANDゲート228の出力■は信号Dfが“
H”のときにCLKの反転信号が出力される。そしてこ
の信号■を8進カウンタ221のクロックに入力すると
、最初の信号■が“H”となったときは、8進カウンタ
221のQm 、Qc出力はともに“Loなので、この
2つの信号をORゲート230に入力して得られたOR
ゲート230の出力■も“L”となるが、信号■が2回
目に“H”となったときは、8進カウンタ221のQ、
出力が“H”となるので、信号■が“H”となる。そし
てこの次のCLKの立上がりでこの信号■がラッチされ
るので、フリップ・フロップ223の出力■も“H″と
なる。これ以後8進カウンタ221がクリアされるまで
はQl出力が“H”の状態を保つので、信号■も“H”
の状態を保つ。そして信号■とCLKをNANDゲート
231に入力することにより、NANDゲート231の
出力■は第26図のようになリ、この信号■をフリップ
・フロップ224のクロックに入力することにより、信
号■の立上がりで信号■がラッチされるので、フリップ
・フロップ224の出力[相]は信号■が“H”のとき
、っまり8画素中網点画素が2Wi素以上存在したとき
は“H”となり、信号■がL”のとき、っまり8画素中
網点画素が1画素しか存在しなかったとき、または網点
画素が存在しなかったときは“L”となる、8進カウン
タ221のクリアは信号■をデイレイ225に入力して
、得られた信号■と信号■をORゲート229に入力し
て得られる。ORゲート229の出力■をさらにデイレ
イ226に入力し、遅延させた信号■を8進カウンタ2
21のクリア端子(CR)に入力することにより行う。For example, if the third and sixth pixels are determined to be halftone dots and the signal D is "H", the signal Df
By inputting the inverted signal of CLK and CLK to the AND gate 228, the output ■ of the AND gate 228 is determined when the signal Df is “
When the signal is "H", an inverted signal of CLK is output. Then, when this signal (2) is inputted to the clock of the octal counter 221, when the first signal (2) becomes "H", the Qm of the octal counter 221, Both Qc outputs are “Lo,” so the OR gate obtained by inputting these two signals to the OR gate 230
The output ■ of the gate 230 also becomes “L”, but when the signal ■ becomes “H” for the second time, the Q of the octal counter 221,
Since the output becomes "H", the signal (2) becomes "H". Since this signal (2) is latched at the next rising edge of CLK, the output (2) of the flip-flop 223 also becomes "H". After this, the Ql output maintains the "H" state until the octal counter 221 is cleared, so the signal ■ also goes "H".
maintain the condition. Then, by inputting the signal ■ and CLK to the NAND gate 231, the output ■ of the NAND gate 231 becomes as shown in FIG. 26. By inputting this signal ■ to the clock of the flip-flop 224, the output ■ Since the signal ■ is latched at the rising edge, the output [phase] of the flip-flop 224 becomes "H" when the signal ■ is "H" and when there are 2 Wi elements or more of halftone dot pixels among exactly 8 pixels, When the signal ■ is "L", when there is only one halftone pixel among exactly eight pixels, or when there is no halftone pixel, it becomes "L".The octal counter 221 is cleared. It is obtained by inputting the signal ■ to the delay 225, and inputting the obtained signal ■ and the signal ■ to the OR gate 229.The output ■ of the OR gate 229 is further input to the delay 226, and the delayed signal ■ is Advance counter 2
This is done by inputting to the clear terminal (CR) of 21.
以下、9画素目〜16画素目は、網点画素が1画素存在
する場合を、また17画素目から24画素目までは網点
画素が存在しない場合のタイミングの例を示す。Hereinafter, timing examples will be shown in which the 9th pixel to the 16th pixel are the case where one halftone dot pixel exists, and the 17th pixel to the 24th pixel are the case where there is no halftone dot pixel.
副走査方向網点ブロック検出回路(1)(符号2゜3ま
たは205;以下203として表示する)について説明
する。The sub-scanning direction halftone block detection circuit (1) (symbol 2°3 or 205; hereinafter expressed as 203) will be explained.
副走査方向網点ブロック検出回路(1) 203は、第
27図に示すように、8進カウンタ2402メモリ24
1、ORゲート242、ANDゲート243およびNA
NDゲート244にて構成される。The sub-scanning direction halftone block detection circuit (1) 203 includes an octal counter 2402 memory 24 as shown in FIG.
1, OR gate 242, AND gate 243 and NA
It is composed of an ND gate 244.
なお、この回路は一例であり、ブロックのサイズにより
回路は異なる。Note that this circuit is just an example, and the circuit differs depending on the size of the block.
また第28図には、この回路の動作のタイミングの一例
を示す、なお、第28図中の■〜■の信号は第27図中
の■〜■の各位lでの信号と対応する。また第28図の
1/8CLKの上の数字はブロックに対応する。以下こ
れらの図を用いて副走査方向網点ブロック検出回路口)
203について説明する。FIG. 28 shows an example of the timing of the operation of this circuit. The signals ① to ② in FIG. 28 correspond to the signals ① to ① in FIG. 27. Further, the numbers above 1/8 CLK in FIG. 28 correspond to blocks. The sub-scanning direction halftone block detection circuit will be explained below using these diagrams)
203 will be explained.
副走査方向網点ブロック検出回路(1) 203では、
主走査方向網点ブロック検8回路(1) 201または
主走査方向網点ブロック検出回路(2) 202により
、ブロックの主走査8画素中に網点画素が存在するかし
ないか、または網点画素が2画素以上存在するかしない
かを検出した後に、ブロックの副走査8ライン中1ライ
ンでも網点画素が存在するという検出結果が存在したと
きに、そのブロックを網点ブロック1として検出し、ま
た8ライン中エラインでも網点画素が2M素以上存在す
るという検出結果が存在したときに、そのブロックを網
点ブロック2として検出する。In the sub-scanning direction halftone block detection circuit (1) 203,
The main scanning direction halftone block detection circuit (1) 201 or the main scanning direction halftone block detection circuit (2) 202 determines whether or not there is a halftone dot pixel among the eight main scanning pixels of the block. After detecting whether two or more pixels exist or not, if there is a detection result that a halftone dot pixel exists in even one of the eight sub-scanning lines of the block, detect that block as halftone block 1, Further, when there is a detection result that there are 2M or more halftone dot pixels in the eight lines, that block is detected as halftone block 2.
まず網点ブロックlの検出について説明する。First, detection of halftone block l will be explained.
8進カウンタ240は、LSYNCが入力される度に順
次カウント・アップしていく、そして、このQ、〜Qc
出力をNANDゲート244に入力することにより、信
号■を得る。まず、8進カウンタ240の出力が7の場
合、Q a ”” Q cの各出力は“H”となるので
、信号■は“Loとなる。The octal counter 240 sequentially counts up each time LSYNC is input, and these Q, ~Qc
By inputting the output to the NAND gate 244, a signal ■ is obtained. First, when the output of the octal counter 240 is 7, each output of Q a "" Q c becomes "H", so the signal ■ becomes "Lo".
そして主走査方向網点ブロック検出回路(1) 203
の検出結果の信号の(=D□)が、今1ブロック目と4
ブロツク目に網点画素が存在し“H”となったとすると
、メモリ241の出力■がどのような状態であっても、
信号■が“L”なので、ANDゲート243の出力■は
“Loとなる。そして信号■と信号■をORゲート24
2に入力し、信号■を得る0次に次のラインに進み、カ
ウンタ240の出力が0の場合、信号■は1H″となる
。And main scanning direction halftone block detection circuit (1) 203
The signal (=D□) of the detection result is now the 1st block and the 4th block.
If there is a halftone pixel in the block and it becomes "H", no matter what state the output (■) of the memory 241 is,
Since the signal ■ is “L”, the output ■ of the AND gate 243 becomes “Lo”.Then, the signal ■ and the signal ■ are OR gate 24
2 and obtains the signal ``0'', which then advances to the next line and when the output of the counter 240 is 0, the signal ``■'' becomes 1H''.
そして信号■が今2ブロック目と4ブロツク目が“H”
になったとすると、メモリ241の出力■は、前ライン
でORゲート242の出力信号■を1/8CLKでラッ
チした信号であり、前ラインの信号ので1ブロツク目と
4フ゛ロツク目力びH”であった信号が保持されている
。そして信号■が“H”なので、信号■は信号■がその
まま出力された信号となり、従ってORゲート242が
らの出力■は1,2.4ブロツク目が“H”の信号とな
る。And the signal ■ is now “H” in the 2nd and 4th blocks.
Then, the output (■) of the memory 241 is a signal obtained by latching the output signal (■) of the OR gate 242 in the previous line with 1/8 CLK, and the output signal (2) of the memory 241 is a signal obtained by latching the output signal (■) of the OR gate 242 in the previous line with 1/8 CLK. Since the signal (2) is "H", the signal (2) becomes the signal that is output as is, and therefore the output (2) from the OR gate 242 is "H" in the 1st, 2.4th block. It becomes a signal.
以下同様に進み、カウンタの出力が6の場合、信号■は
“Hoとなる。そして信号■が今3ブロック目が前の7
ラインも含めて初めて“H”になったとすると、信号■
が1H″なので、信号■はメモリ241で保持していた
信号■がそのまま出力された信号どなり、従って信号■
は、1〜4ブロツク目が1H″の信号となる。そしてこ
の信号■が1/8CLKでラッチされ、次のラインでの
メモリ241からの出力■となるので、結局ブロックの
副走査方向8ライン中1ラインでも信号■が“Ho、す
なわち、ブロックの主走査8画素中に網点画素が存在す
るという検出結果になると、それを保持し続けて、その
ブロックを網点ブロック1として検出し、“H”の信号
を出力する。The process continues in the same manner, and when the counter output is 6, the signal ■ becomes “Ho”.Then, the signal ■ is now 3rd block and the previous 7
If it becomes “H” for the first time including the line, then the signal ■
is 1H'', the signal ■ is the signal ■ held in the memory 241 that is output as is, and therefore the signal ■
The 1st to 4th blocks become a 1H" signal. This signal (2) is latched by 1/8 CLK and becomes the output (2) from the memory 241 in the next line, so in the end, 8 lines in the sub-scanning direction of the block Even in the middle 1st line, when the signal ■ is "Ho", that is, the detection result is that there is a halftone dot pixel among the 8 main scanning pixels of the block, this is held and the block is detected as halftone block 1, Outputs an “H” signal.
逆に8ライン中全ての信号が“L”、すなわち、網点画
素が存在しないという検出結果になると、それを保持し
続けそのブロックを非網点ブロックとしてL″の信号を
出力する。そして次のラインに進み、カウンタ240の
出力が再び7になると、信号■が“L”になるので、メ
モリ241の出力■は保持されなくなり、クリアされる
。Conversely, if all the signals in the 8 lines are "L", that is, the detection result is that there is no halftone dot pixel, this is held and the block is treated as a non-halftone block and an "L" signal is output.Then, next When the output of the counter 240 becomes 7 again, the signal 2 becomes "L", so the output 2 of the memory 241 is no longer held and is cleared.
網点ブロック2の検出については、信号■をDl、にす
るだけで、動作は網点ブロックlの検出と同様である。Regarding the detection of the halftone dot block 2, the operation is the same as that for the detection of the halftone dot block 1, by simply changing the signal 2 to Dl.
副走査方向網点ブロック検出回路(2) 204につい
て説明する。The sub-scanning direction halftone block detection circuit (2) 204 will be explained.
副走査方向網点ブロック検出回路(2) 204は第2
9図に示すように、メモリ250、ANDゲートブロッ
ク251およびORゲート252にて構成される。さら
にANDゲートブロック251は、第31図に示すよう
に複数のANDゲート260〜287にて構成される。Sub-scanning direction halftone block detection circuit (2) 204 is the second
As shown in FIG. 9, it is composed of a memory 250, an AND gate block 251, and an OR gate 252. Furthermore, the AND gate block 251 is composed of a plurality of AND gates 260 to 287, as shown in FIG.
なお、これらの回路は一例であり、他の構成にしてもよ
い。Note that these circuits are merely examples, and other configurations may be used.
また第30図には、この回路のメモリ250の出力まで
の動作のタイミングを、また第32図には、ANDゲー
トブロック251からORゲート252の出力までの動
作の一例を示す。Further, FIG. 30 shows the timing of the operation of this circuit up to the output of the memory 250, and FIG. 32 shows an example of the operation from the AND gate block 251 to the output of the OR gate 252.
以下、これらの図を用いて副走査方向網点ブロック検出
回路(2) 204について説明する。The sub-scanning direction halftone block detection circuit (2) 204 will be explained below using these figures.
主走査方向網点ブロック検出回路(11201によりブ
ロックの主走査方向8画素中に網点画素が存在するかど
うかを検出した信号D□をメモリ250のD 、N、に
入力し、I)out+の出力をD02にフィードバック
して入力し、以下同様にり。UTtの出力をDINff
の入力に、Do、、、の出力をり、□の入力に、という
ように出力を次の入力にフィードバックしてやると、主
走査方向網点ブロック検出回路(IJ 201からの1
ライン目の検出信号D 91−1をまずDullに入力
し、次に2ライン目の検出信号り、、、を入力すると、
DOD?+の出力をり、N、に入力しているので、Do
llloの出力からはD□、が1ライン分遅延して出力
される。The main scanning direction halftone block detection circuit (inputs the signal D□ detected by the main scanning direction halftone block detection circuit 11201 to see if there is a halftone dot pixel among the 8 pixels in the main scanning direction of the block to D, N of the memory 250, The output is fed back to D02 and inputted, and so on. UTt output to DINff
The output of Do, , , is fed back to the input of , and the output of □ is fed back to the next input, and so on.
When the detection signal D91-1 of the line is first input to Dull, and then the detection signal D91-1 of the second line is inputted,
DOD? Since the output of + is input to R, N, Do
From the output of lllo, D□ is output with a delay of one line.
以下、3ライン目、4ライン目、−の検出信号D*+−
s、D□−4,−を順次入力し、8ライン目の検出信号
D□−1を入力すると、Dooy+〜$の各出力信号り
1,1〜D、1.は1ライン目〜8ライン目の検出信号
り、、−、〜pet−sとなり、ブロックの副走査方向
8ライン分の信号が得られることになる。Below, the 3rd line, 4th line, - detection signal D*+-
s, D□-4, - are input sequentially, and when the 8th line detection signal D□-1 is input, each output signal from Dooy+ to $ is 1, 1 to D, 1. are the detection signals for the 1st line to the 8th line, -, -pet-s, and signals for 8 lines in the sub-scanning direction of the block are obtained.
次に信号D * + l” D 、 、 、をANDゲ
ートブロック251に入力すると、ANDゲートブロッ
ク251では第31図に示すように、信号り、11〜D
、18の各2つの信号の入力のANDを取っているので
、第32図に示すように、信号D11が1. 3. 4
゜7.11.12ブロツク目で、信号D1□が2゜3.
4.6.8.9.12ブロツク目で、主走査8mN素中
網点画素が存在して“H”になり、信号り17.〜D、
IIには網点画素が存在せず常に“L”だったとすると
、ANDゲートブロック251からの出力信号Dk□〜
Db3mは、信号D1.が信号Dez + D@+zと
3.4.12)゛ロック目でともに1H″ということは
、3.4.12ブロツク中に少なくとも2画素以上綱点
画素が存在していることを示しているので、3,4.1
2ブロツク目を網点ブロック2として検出し1H”とす
る。Next, when the signals D*+l'' D, , , are input to the AND gate block 251, the AND gate block 251 inputs the signals 11 to D as shown in FIG.
, 18 are ANDed, so that the signal D11 becomes 1. , 18 as shown in FIG. 3. 4
At the ゜7.11.12th block, the signal D1□ is 2゜3.
4.6.8.9.At the 12th block, there is a halftone dot pixel in the main scanning 8mN element and it becomes "H", and the signal rises to 17. ~D,
If there is no halftone pixel in II and it is always “L”, the output signal Dk□~ from the AND gate block 251
Db3m is the signal D1. The fact that the signal Dez + D@+z and 3.4.12) are both 1H at the lock point indicates that there are at least two or more anchor point pixels in the 3.4.12 block. Therefore, 3,4.1
The second block is detected as halftone block 2 and set to 1H''.
その他の信号は2ラインでともに“H”となるブロック
が存在しないので、網点ブロック2として検出できず、
“Lゝとなる。そして信号I)+lI〜Db3゜をOR
ゲート252に入力すると、信号D1゜の3,4,12
フ゛ロツク目が“H”なので、3.4.12ブロツク目
を網点ブロック2として検出して“H”を出力する。Other signals cannot be detected as halftone block 2 because there is no block in which both lines are "H".
becomes “L”.Then, OR the signal I)+lI~Db3°
When input to the gate 252, 3, 4, 12 of the signal D1°
Since the block number is "H", the 3.4.12 block is detected as halftone block 2 and "H" is output.
第33図ないし第36図は、前述の回路より得られた1
点網点ブロック情報DC22点網点ブロック情報DHを
基に、第37図に示す計6つのブロック(以下エリアと
言う)のDG、DHにより、網点エリアであるかを判定
する回路の具体的な一例を示すブロック図である。また
、第38図、第39図は上記網点エリアであるがを判定
する回路の動作を示すタイミングチャートである。Figures 33 to 36 show the results obtained from the circuit described above.
A specific example of a circuit that determines whether it is a halftone dot area based on the dot halftone block information DC22 dot halftone block information DH and the DG and DH of a total of six blocks (hereinafter referred to as areas) shown in FIG. FIG. 2 is a block diagram showing an example. Further, FIGS. 38 and 39 are timing charts showing the operation of the circuit for determining the halftone dot area.
以下、これらの図を基に説明を行う。The explanation will be given below based on these figures.
第33図ないし第36図において、300.330はP
I FORAM (ファーストイン・ファーストアウ
ト・ラム)、301.302は多大力D−F/F、30
3〜317.319〜325は多入力AND素子、31
8,326,327,329.333は多入力OR素子
、328はAND素子、331はOR素子、332はシ
フト・レジスタである。In Figures 33 to 36, 300.330 is P
I FORAM (first in first out ram), 301.302 is a large force D-F/F, 30
3 to 317. 319 to 325 are multi-input AND elements, 31
8, 326, 327, 329.333 is a multi-input OR element, 328 is an AND element, 331 is an OR element, and 332 is a shift register.
第38図において、前述の回路より、LGATE、1/
8LGATE、1/8CLK、IN−DC,IN−DH
(第33図のDG、DHに入力される1点または2点網
点ブロック情報)が入力される。上段の5つの信号(L
GATE、1/8LGATE、IN−DG、IN−DH
,1/8CLK)のIN−DC,IN−DHのDATG
n、DATHnの部分を詳細に示した信号がその下段の
信号である。IN−DGは1点網点ブロック情報データ
、nライン目の8ビクセルごとに1.2゜3−40.
11. 12. 13−n、すなわち、DATGn−1
,DATGn−2,DATGn−3゜DATGn −4
,−−−−−−−DATGn −10,DATGn−1
1,DATGn−12,・−nとする。IN−DH(2
点網点ブロック情報データ)も同様にDATHn−1,
DATHn−2,DATHn−3,DATHn−4,−
=−−−DATHn−10゜DATHn−11,DAT
Hn−12,DATHn−13とする。P I FOR
AM300はリード・ライトCLKを1/8CLKとし
、ライト・リセット信号、リード・リセット信号を1/
8LGATEとしている。すなわち、DIN+端子から
入力されたデータをDATGn−1とすると、同一時間
上に1つ前の1/8LGATEがrHJになったとき書
き込んだ値、すなわち、nライン目より8ライン目のデ
ータ(DATG (n−8)−1〕を1/8CLKに同
期して、読み出しを順次行う。In FIG. 38, from the circuit described above, LGATE, 1/
8LGATE, 1/8CLK, IN-DC, IN-DH
(1-point or 2-point halftone block information input to DG and DH in FIG. 33) is input. The five signals in the upper row (L
GATE, 1/8LGATE, IN-DG, IN-DH
, 1/8CLK) IN-DC, IN-DH DATG
The signal showing the portions of n and DATHn in detail is the lower signal. IN-DG is 1-point dot block information data, 1.2° 3-40.
11. 12. 13-n, i.e., DATGn-1
, DATGn-2, DATGn-3゜DATGn-4
, -------DATGn -10, DATGn-1
1, DATGn-12, -n. IN-DH(2
Similarly, the dot dot block information data) is DATHn-1,
DATHn-2, DATHn-3, DATHn-4, -
=---DATHn-10°DATHn-11,DAT
Hn-12 and DATHn-13. PI FOR
AM300 uses 1/8 CLK for read/write CLK, and 1/8 CLK for write/reset signal and read/reset signal.
It is set as 8LGATE. In other words, if the data input from the DIN+ terminal is DATGn-1, the value written when the previous 1/8LGATE became rHJ at the same time, that is, the data from the nth line to the 8th line (DATG (n-8)-1] are sequentially read out in synchronization with 1/8 CLK.
よってDC23,DH23,DG13.DHI3なるタ
イミングの信号を得られる。またDG23、DH23,
DG13.DH13は多入力D−F/F 301により
、1/8CLKをクロックとし、DG22.DH22,
DG12.D)112なるタイミングの信号を得る。さ
らにDG22.DH22,DG12.DH12は同じく
、多入力D−F/F 302により、DG21.DH2
1,DGll、DHIIを得る。これで第37図に示す
エリアの各ブロックの1点、2点網点情報DG。Therefore, DC23, DH23, DG13. A signal with a timing of DHI3 can be obtained. Also DG23, DH23,
DG13. DH13 uses 1/8 CLK as a clock by multi-input D-F/F 301, and DG22. DH22,
DG12. D) Obtain a signal with a timing of 112. Furthermore, DG22. DH22, DG12. Similarly, the DH12 uses the multi-input DF/F 302 to output the DG21. DH2
1. Obtain DGll and DHII. This gives 1-point and 2-point halftone dot information DG for each block in the area shown in FIG.
DHが同一時間上に出力され、次段の網点エリア判定回
路へと入力される。これは第38図に示すタイミング上
では、IN−DG、IN−DHにnライン目で1/8L
GATEが“H”になってから8ピクセル単位計算し、
3番目のDATGn−3、DATHn−3が入力された
とき、DG23.DH23からはnライン目より8ライ
ン前で1/8LGATEが“H”になってから3番目の
DATG (n−8)−3,DATH(n8)−3、
DG22.DH22からは、その1/8CLK1個分前
(1/8 LGATEが“Hlになってから2番目)の
DATG (n−8) −2,DATH(n−8)−2
、
DG21.DH21からは同様に1/8LGATEがr
HJになってから1番目のDATG (n−8)−1,
DATH(n−8)−1、DG13.DH13からはn
ライン目より、16ライン前で1/8LGATEが“H
゛になってから3番目のDATG (n−16)−3,
DATH(n−16)−3、
DG12.DH12からはDATG (n−16)−2
,DATH(n−16)−2、
DGII、−DHIIからはDATG (n−16)−
,1,DATH(n−16)−1、
が各々得られることから理解される。DH is output at the same time and input to the next stage halftone area determination circuit. On the timing shown in Fig. 38, this means that 1/8L is applied to IN-DG and IN-DH at the nth line.
After GATE becomes “H”, calculate in 8 pixel units,
When the third DATGn-3 and DATHn-3 are input, DG23. From DH23, 1/8 LGATE becomes "H" 8 lines before the nth line, and then the third DATG (n-8)-3, DATH (n8)-3, DG22. From DH22, DATG (n-8) -2, DATH (n-8) -2 one 1/8 CLK before (the second after 1/8 LGATE became "Hl")
, DG21. From DH21, 1/8 LGATE is r
1st DATG after becoming HJ (n-8)-1,
DATH(n-8)-1, DG13. From DH13 n
1/8 LGATE is “H” 16th line before the 1st line
3rd DATG (n-16)-3,
DATH(n-16)-3, DG12. DATG (n-16)-2 from DH12
, DATH (n-16)-2, DGII, -DHII to DATG (n-16)-
, 1, DATH(n-16)-1, are obtained.
第34図、第35図は、上記第33図で同一時間上に得
られた第37図のエリアの各ブロックの1点、2点網点
情報DC,DHを基に、ある条件が成立すればそのエリ
アを網点エリアと判定する回路を示すブロック図である
。Figures 34 and 35 show that a certain condition is satisfied based on the 1-point and 2-point halftone dot information DC and DH of each block in the area of Figure 37 obtained at the same time in Figure 33 above. FIG. 3 is a block diagram showing a circuit that determines an area to be a halftone dot area.
上記のある条件とは、第37図のエリアにおいて以下の
通りである。The above-mentioned certain conditions are as follows in the area of FIG. 37.
1)2点網点情報DHが4つ“H″で、かつ1点網点情
報DGが1つ以上“H”のとき。1) When four pieces of 2-point halftone dot information DH are "H" and one or more pieces of 1-point halftone dot information DG are "H".
2)2点網点情報DHが5つ以上“H″であるとき。2) When 5 or more 2-point dot information DH is "H".
そして、1)、2)のいずれかが満足すれば、そのエリ
アを網点エリアとする。上記条件は一例であり、DH,
DGの個数は勿論システムにより可変できる。If either 1) or 2) is satisfied, that area is set as a halftone dot area. The above conditions are an example, and DH,
Of course, the number of DGs can be varied depending on the system.
前述のごとく網点ブロック内に存在する網点検出信号は
、複数個存在する。つまり、網点エリア検出部で網点ブ
ロック6個をDH1つまり2点網点検出とすればよいが
、網点原稿はCCDl0による読取ピッチとの位相差に
より、モアレが発生する。このモアレにより網点ブロッ
クが実際網点画像であるにもかかわらず、複数の網点検
出がなされないことがある。As described above, there are a plurality of halftone detection signals within a halftone block. That is, the halftone dot area detecting section may perform halftone dot detection on six halftone dot blocks as DH1, that is, two dot halftone dots, but moiré occurs in the halftone original due to the phase difference with the reading pitch by CCD10. Due to this moiré, a plurality of halftone dots may not be detected even though the halftone dot block is actually a halftone image.
また、例えば文字の一部分や地肌の汚れを1つのドツト
として検出し、それを網点領域に誤判定することがある
。Furthermore, for example, a part of a character or dirt on the background may be detected as a single dot, and it may be incorrectly determined to be a halftone dot area.
よって前述のごとく網点ブロックを1点以上網点検出の
みにすると、上記誤判定が多くなり、さらに網点ブロッ
ク2点以上綱点検出のみにすると、上記モアレにより網
点エリアを検出できなくなる。Therefore, as described above, if one or more halftone dot blocks are used only for halftone dot detection, the above-mentioned erroneous judgments will increase, and furthermore, if two or more halftone dot blocks are only used for dot detection, halftone dot areas cannot be detected due to the moiré.
そのため、1点網点および2点網点検出ブロックの組み
合わせ、さらには網点検出がないブロックとの組み合わ
せにより、上記欠点を改善するものである。Therefore, the above-mentioned drawbacks are improved by a combination of one-dot halftone dot and two-dot halftone dot detection blocks, and further by a combination with a block without halftone detection.
第34図の多入力AND素子303〜317は、各2点
網点情報DHII〜DH13,DH21〜DH23,の
中から、4つずつ全ての組み合わせを選び、前述の条件
1)の2点網点情報が4つ“H′になるかを示し、その
情報を次段の回路へ伝える。The multi-input AND elements 303 to 317 in FIG. It indicates whether four pieces of information become "H" and transmits that information to the next stage circuit.
そしてB41〜B49. B41゜〜B□、は、多入
力OR素子327の入力となり、いずれか1つでも“H
”になるかの情報をAND素子328の一方の入力へ、
また他方の入力に多入力OR素子318より1点網点情
報DGII〜DG13.DG21〜DC23その中の1
つ以上の“H”があるかを多入力OR素子329に伝え
ている。よってAND素子328の出力は条件1)が当
てはまることになる。And B41 to B49. B41° to B□ are the inputs of the multi-input OR element 327, and any one of them becomes “H”.
” to one input of the AND element 328,
In addition, one-point dot information DGII to DG13. DG21~DC23 1 of them
The multi-input OR element 329 is informed whether there are more than one "H". Therefore, condition 1) applies to the output of AND element 328.
次に、多入力AND素子320〜325は、2点網点情
報DHII〜DH13,DH21〜DH23の中から5
つずつ全ての組み合わせを選び、多入力OR素子326
に出力し、それらのうち1つでも”H″があるかを多入
力OR素子329に伝えている。多入力AND素子31
9は、2点網点情報DH11〜DHI3.DH21〜D
H23の全てが“H″であるかを多入力OR素子329
に伝える0以上のことは条件の2)に当てはまる。Next, the multi-input AND elements 320 to 325 select five dots from the two-point halftone information DHII to DH13, DH21 to DH23.
Select all the combinations one by one and use the multi-input OR element 326
The multi-input OR element 329 is informed whether even one of them is "H". Multi-input AND element 31
9 is two-point halftone information DH11 to DHI3. DH21~D
The multi-input OR element 329 determines whether all of H23 are “H”.
Condition 2) applies if the value is 0 or more.
よって多入力OR素子329からは、条件1)または2
)が当てはまったときは“H″、そうでなかったときは
#L″というAMI信号が出力される。Therefore, from the multi-input OR element 329, condition 1) or 2 is satisfied.
) is applied, an AMI signal of “H” is output, and otherwise, an AMI signal of #L” is output.
第36図は、第37図のエリアが網点エリアであったら
(AMI信号が“H”のとき)、その全てのデータ、8
(ピクセル)×8 (ライン)を網点領域とする回路
のブロック図である。ここで第39図のタイミング・チ
ャートを参照しながら、説明を行う。FIG. 36 shows that if the area in FIG. 37 is a halftone area (when the AMI signal is "H"), all the data, 8
FIG. 2 is a block diagram of a circuit whose halftone dot area is (pixels)×8 (lines). An explanation will now be given with reference to the timing chart of FIG. 39.
1/8CLK、1/8LGATE、LGATEを基準と
し、画像データDAT−INが第39図のようになって
いるとする。ここでDATn−1は、nライン目でLG
ATEの立上がりから数え、8ピクセル単位で1番目の
画像データを表している。さらにAMInはnライン目
の前述の回路より検出された網点エリア情報、AM J
(n −8)は(n−8)ライン目、AMI (
n−16)は(n−16)ライン目の網点エリア情報の
ことであり、各々第39図に記したタイミングの信号を
得たものとする。It is assumed that the image data DAT-IN is as shown in FIG. 39 with 1/8 CLK, 1/8 LGATE, and LGATE as standards. Here, DATn-1 is LG on the nth line.
Counting from the rising edge of ATE, the first image data is expressed in units of 8 pixels. Furthermore, AMIn is halftone area information detected by the above-mentioned circuit on the nth line, AM J
(n-8) is the (n-8)th line, AMI (
n-16) is the halftone dot area information for the (n-16)th line, and it is assumed that the signals at the timings shown in FIG. 39 are obtained for each.
F I FORAM330は、リード・ライトCLKを
1/8CLK、ライト・リセット信号を1/8LGAT
E、リード・リセット信号をLGATEとすることで、
1/8LGATEが”H゛のときに書き込んだ網点エリ
ア情報を、LGATEが“H”になったとき、1ライン
前に書き込まれた網点エリア情報を1/8CLKに同期
しながら、順次読み出す。FI FORRAM330 uses 1/8 CLK for read/write CLK and 1/8 LGAT for write/reset signal.
E. By setting the read/reset signal to LGATE,
When LGATE becomes "H", the halftone area information written when 1/8 LGATE is "H" is read out sequentially while synchronizing with 1/8 CLK. .
第39図において、AMInは画像データDATn−1
と、DAT (n+1)−3のとき“H3で、AMI
(n−8)、AMI (n−16)は第39図に記
した画像データの範囲内では、全て“L″であったとす
る。PIFORAM330のDout+、 Dour
t端子からは画像データDATn−1に対応する部分の
み“H″で、後は“L″という信号を出力する。OR素
子331はOR出力という信号を出力し、これがシフト
・レジスタ332へと伝えられ、さらにOR素子331
の出力と、シフト・レジスタ332のQ+ 、Qt出力
(1回ラッチと2回ラッチ)とのORを、多入力OR素
子333で取られることにより、Bなる信号を得る。In FIG. 39, AMIn is image data DATn-1
And when DAT (n+1)-3, “At H3, AMI
(n-8) and AMI (n-16) are all "L" within the range of the image data shown in FIG. 39. Dout+, Dour of PIFORAM330
From the t terminal, only the portion corresponding to the image data DATn-1 is "H", and the rest is "L". The OR element 331 outputs a signal called OR output, which is transmitted to the shift register 332 and further outputs the OR element 331.
The multi-input OR element 333 obtains a signal B by ORing the output with the Q+ and Qt outputs (once latched and twice latched) of the shift register 332.
これは画像データ、DATn−1,DATn−2、DA
Tn−3,DAT (n−8)−1,DAT (n−8
)−2,DAT (n−8) −3のエリアにおいて
、DATn−1のブロックのみ網点エリア情報が“H”
であるのを、エリア全体に対応する網点エリア情報を“
H”とすることになる。This is image data, DATn-1, DATn-2, DA
Tn-3, DAT (n-8)-1, DAT (n-8
)-2, DAT (n-8) In the area of -3, only the block of DATn-1 has halftone area information “H”
The halftone area information corresponding to the entire area is “
It will be set as “H”.
例えば最終段で、本実施例で使用したPIFORAM、
多入力D−F/F等で遅延された分、画像データも同様
に遅延させ、網点エリア情報を制御信号とし、例えば、
文字処理を施した画像データと中間調処理を施した画像
データを、セレクタ等を用いることで、文字、中間調の
分離を行うことができる。また、本発明の具体的な実施
例の説明では、第37図のエリアを網点判定エリアとし
たが、そのエリアの大きさを、その装置の入・出力特性
や対象原稿の特性等により可変し、判定エラーを低減す
るように、本実施例を基に容品に応用することもできる
。また網点エリアを判定する条件も、前述の理由により
可変し、判定エラーの低減を図ることもできる。For example, in the final stage, the PIFORAM used in this example,
The image data is similarly delayed by the amount of delay caused by the multi-input D-F/F, etc., and the halftone area information is used as a control signal, for example,
By using a selector or the like, it is possible to separate text and halftones from image data that has undergone character processing and image data that has undergone halftone processing. In addition, in the description of the specific embodiment of the present invention, the area shown in FIG. 37 is used as the halftone dot determination area, but the size of the area can be changed depending on the input/output characteristics of the device, the characteristics of the target document, etc. However, this embodiment can also be applied to containers so as to reduce judgment errors. Furthermore, the conditions for determining the halftone dot area can also be varied for the reasons described above, thereby reducing determination errors.
第45図はスキャナの他の例を示す構成図である。この
構成は第3図に示す構成から副走査変倍部67を削除し
たものであり、他は同じである。FIG. 45 is a configuration diagram showing another example of the scanner. This configuration is the same as the configuration shown in FIG. 3 except that the sub-scanning magnification changing section 67 is removed.
ここで、領域判定部70へ主走査変倍後のデータを入力
させず、副走査変倍後のみのデータを入力させる効果を
述べる。Here, the effect of not inputting data after main scanning scaling to the area determination unit 70, but inputting only data after sub-scanning scaling will be described.
第46図に倍率に対応じた網点形状をモデル化した図を
示す、(a)は等倍の網点形状、(b)は等倍の網点形
状のモアレが発生した場合の形状を示す。Figure 46 shows a model of the halftone dot shape corresponding to the magnification. (a) shows the halftone dot shape at the same magnification, and (b) shows the shape when moiré occurs in the halftone dot shape at the same magnification. show.
(a)では網点が解像され、(b)ではモアレが発生し
ていても、一応網点として見做すことができる。しかし
50%縮小した場合においては、(C)の副走査方向の
みの変倍された網点および(d)の主、副走査の変倍さ
れた網点は網点を解像している。ざらにモアレが発生し
た場合において、(elでは一応網点を解像しているが
、(f)では網点を解像しない、これは前述のごとく入
力データを主走査方向で間引きを行っているためであり
、明らかにパターンマツチングによる網点検出を行う上
では副走査方向のみのデータをパターンマツチングする
方がよい。In (a), the halftone dots are resolved, and in (b), even if moiré occurs, they can be regarded as halftone dots. However, in the case of 50% reduction, the scaled halftone dots in only the sub-scanning direction in (C) and the scaled halftone dots in the main and sub-scanning directions in (d) are resolved. When rough moiré occurs, halftone dots are resolved in (el), but not in (f). This is because the input data is thinned out in the main scanning direction as described above. This is because of the fact that it is clearly better to pattern match data only in the sub-scanning direction when detecting halftone dots by pattern matching.
また(幻〜0)は200%に拡大した場合であり、モア
レの有無に係わらず網点は解像する。然るにパターンを
見ても分かるように、副走査方向のみの拡大のパターン
は主走査変倍を行っていないため、パターンマツチング
のエリアは小さくて済み、回路上簡略化できることが分
かる。よって網点検出部70へは副走査変倍後のみのデ
ータを入力させることにより検出率の向上および回路の
簡素化が図られる訳である。Further, (phantom to 0) is the case when the image is enlarged to 200%, and the halftone dots are resolved regardless of the presence or absence of moiré. However, as can be seen from the pattern, since the pattern enlarged only in the sub-scanning direction is not subjected to main-scanning magnification, the pattern matching area can be small and the circuit can be simplified. Therefore, by inputting only the data after sub-scanning scaling to the halftone dot detection section 70, the detection rate can be improved and the circuit can be simplified.
次に、前述の第12図に示すエリアに対する画素を第4
8図に示すエリアに対する画素に変更した場合を考える
。このときは第7図に示すY方向遅延回路71でメモリ
を11増やし、さらに、それに対応するX方向の遅延に
対応するF/Fを増やすことで実現される。そして、第
13図(C)のパターンについて倍率ごとのパターンを
示したのが前述の第44図(a) 〜(C)である、(
a)は第13図のIC)と同様であり、山)は50%縮
小、(C)は200%拡大のパターンであり、このパタ
ーンは前述の第46図の説明により明白である。さらに
白レベル検出、黒レベル検出は前述の如く同様であり、
第47図に示すように各々のパターンで出力された等倍
のデータDf、、、50%縮小のデータDtmt、20
0%拡大の・データDyesが各々第17図ないし第2
0図に示されたように出力される。ここでセレクタ40
3に各々の信号が入力され、倍率デ−タキーによって選
択された倍率により各倍率パターンの信号を切換えるこ
とで、倍率に適合した網点パターンマツチングが実現で
きる。Next, the pixels for the area shown in FIG.
Consider the case where the pixels for the area shown in FIG. 8 are changed. This can be achieved by increasing the number of memories by 11 in the Y-direction delay circuit 71 shown in FIG. 7, and further increasing the number of F/Fs corresponding to the corresponding delay in the X-direction. The above-mentioned FIGS. 44(a) to (C) show patterns for each magnification regarding the pattern in FIG. 13(C).
A) is the same as IC) in FIG. 13, with peaks) having a 50% reduction and pattern (C) having a 200% enlargement, and this pattern is clear from the explanation of FIG. 46 above. Furthermore, white level detection and black level detection are the same as described above,
As shown in FIG. 47, the same-size data Df, ..., 50% reduced data Dtmt, 20
0% enlarged data Dyes are shown in Figures 17 to 2, respectively.
The output is as shown in Figure 0. Here selector 40
3, and by switching the signals of each magnification pattern according to the magnification selected by the magnification data key, dot pattern matching suitable for the magnification can be realized.
以上説明したように、請求項1.2記載の発明によれば
、任意の変倍率で副走査方向に変倍された画像情報を、
網点領域識別用の副走査変倍手段を持つことで等倍の画
像情報に逆に変倍し直し、その二次元画像領域で網点領
域識別パターンを用いて比較し、その結果を出力するよ
うな構成にすることで回路構成素子を増大させることな
く正確に網点画像領域を識別することができる。As explained above, according to the invention recited in claim 1.2, image information scaled in the sub-scanning direction at an arbitrary scale ratio,
By having a sub-scanning magnification means for identifying the halftone dot area, the image information is rescaled to the same size, compared using the halftone dot area identification pattern in the two-dimensional image area, and the result is output. With such a configuration, it is possible to accurately identify the halftone image area without increasing the number of circuit components.
第1図は本発明の一実施例に係る網点領域検出回路の全
体を示すブロック図、第2図はデジタル複写機の概略構
成図、第3図はスキャナの電気的構成図、第4図は入力
データと補正後データの波形図、第5図はMTF補正の
一例の説明図、第6図はMTF係数設定の回路構成を示
すブロック図、第7図はY方向遅延回路図、第8図はY
方向遅延回路のタイミングチャート、第9図はタイミン
グ関係を制御する制御信号についての説明図、第1θ図
はX方向遅延回路図、第11図はX方向遅延回路のタイ
ミングチャート、第12図はX方向遅延回路によって得
られる画像データを示す説明図、第13図はパターンマ
ツチングに使用するパターンを示す説明図、第14図は
イメージスキャナで読取られた網点画像の信号波形図、
第15図は従来例のパターンマツチング方式の説明図、
第16図は網点とその濃度分布を示す説明図、第17図
は黒レベル検出回路のブロック図、第18図は白レベル
検出回路のブロック図、第19図は黒レベル検出回路と
白レベル検出回路を並列に配置した例を示す図、第20
図はパターンマツチング回路の一例を示すブロック図、
第21図は100線、濃度50%の網点画像を4QQd
piで読取った場合の画像データを示す説明図、第22
図は網点ブロック検出回路の一例を示すブロック図、第
23図、第24図は主走査方向網点ブロック検出回路の
一例を示すブロック図、第25図は第23図に示す回路
のタイミングチャート、第26図は第24図に示す回路
のタイミングチャート、第27図は副走査方向網点ブロ
ック検出回路(1)の−例を示すブロック図、第28図
は第27図に示す回路のタイミングチャート、第29図
は副走査方向網点ブロック検出回路(2)の−例を示す
ブロック図、第30図は第29図のメモリの動作タイミ
ングチャート、第31図は第29図のANDゲートブロ
ックの一例を示す回路図、第32図は第31図に示す回
路のタイミングチャート、第33図、第34図、第35
図、第36図は網点エリアを判定する回路の一例を示す
ブロック図、第37図は6つのブロック(エリア)を示
す図、第38図、第39図は網点エリア判定回路のタイ
ミングチャート、第40図は変倍処理のブロック図、第
41図は変倍処理のタイミングチャート、第42図は倍
率ROMの格納データの説明図、第43図はループカウ
ンタ制御部の説明図、第44図はある倍率に対応じた網
点検出パターンの一例を示す説明図、第45図はスキャ
ナの他の例を示す構成図、第46図は倍率に対応じた網
点形状をモデル化して示す説明図、第47図はセレクタ
の入出力内容を示す説明図、第48図はX方向遅延回路
によって得られた画像データを示す説明図である。
66・・・主走査変倍回路、67・・・副走査変倍回路
、71・・・Y方向遅延回路、72・・・X方向遅延回
路、73・・・白レベル検出回路、74・・・黒レベル
検出回路、75・・・パターン・マツチング回路、76
・・・網点ブロック検出回路(1)、77・・・網点ブ
ロック検出回路(2)、78・・・網点エリア検出回路
。
第
図
第
図
(b)
1bit シフト (X2)
第
図
(X方向)
d
〜
噂
犠
、5−−−−.5゜
Oct
第
図
−−−(:h−t Dr−z −−−一1n−
第72
図
Pb
第
図
ト」111丁「シー−
第15図
入力画(象
2値化後
A部の濃度
見20
図
第22図
第2j図
゛ぐ
第37図
主走査(ピクセル)
第43図
第44図
(a)
(b)
(C)
第46図
(b)
(C)
(d)
(e)
(f)
第46図
(Q)
(h)
(i)
Cツノ
モアし
モアし
第47図
CPUデータ
第砺図FIG. 1 is a block diagram showing the entire halftone area detection circuit according to an embodiment of the present invention, FIG. 2 is a schematic configuration diagram of a digital copying machine, FIG. 3 is an electrical configuration diagram of a scanner, and FIG. 4 5 is an explanatory diagram of an example of MTF correction, FIG. 6 is a block diagram showing the circuit configuration of MTF coefficient setting, FIG. 7 is a Y-direction delay circuit diagram, and FIG. 8 is a waveform diagram of input data and corrected data. The diagram is Y
9 is an explanatory diagram of control signals that control timing relationships. 1θ is a diagram of the X-direction delay circuit. FIG. 11 is a timing chart of the X-direction delay circuit. An explanatory diagram showing image data obtained by the directional delay circuit, FIG. 13 is an explanatory diagram showing a pattern used for pattern matching, FIG. 14 is a signal waveform diagram of a halftone image read by an image scanner,
FIG. 15 is an explanatory diagram of a conventional pattern matching method,
Figure 16 is an explanatory diagram showing halftone dots and their density distribution, Figure 17 is a block diagram of the black level detection circuit, Figure 18 is a block diagram of the white level detection circuit, and Figure 19 is the black level detection circuit and white level. Diagram showing an example of arranging detection circuits in parallel, No. 20
The figure is a block diagram showing an example of a pattern matching circuit.
Figure 21 shows a 4QQd halftone image with 100 lines and 50% density.
Explanatory diagram showing image data when read with pi, No. 22
The figure is a block diagram showing an example of a halftone block detection circuit, FIGS. 23 and 24 are block diagrams showing an example of a main scanning direction halftone block detection circuit, and FIG. 25 is a timing chart of the circuit shown in FIG. 23. , FIG. 26 is a timing chart of the circuit shown in FIG. 24, FIG. 27 is a block diagram showing an example of the sub-scanning direction halftone block detection circuit (1), and FIG. 28 is a timing chart of the circuit shown in FIG. 27. 29 is a block diagram showing an example of the sub-scanning direction halftone block detection circuit (2), FIG. 30 is an operation timing chart of the memory in FIG. 29, and FIG. 31 is an AND gate block diagram in FIG. 29. FIG. 32 is a timing chart of the circuit shown in FIG. 31, FIG. 33, FIG. 34, and FIG.
36 is a block diagram showing an example of a circuit for determining the halftone dot area, FIG. 37 is a diagram showing six blocks (areas), and FIGS. 38 and 39 are timing charts of the halftone dot area determining circuit. , FIG. 40 is a block diagram of the scaling process, FIG. 41 is a timing chart of the scaling process, FIG. 42 is an explanatory diagram of data stored in the magnification ROM, FIG. 43 is an explanatory diagram of the loop counter control section, and FIG. The figure is an explanatory diagram showing an example of a halftone detection pattern corresponding to a certain magnification, FIG. 45 is a configuration diagram showing another example of a scanner, and FIG. 46 is a modeled representation of a halftone dot shape corresponding to a certain magnification. FIG. 47 is an explanatory diagram showing input/output contents of the selector, and FIG. 48 is an explanatory diagram showing image data obtained by the X-direction delay circuit. 66... Main scanning magnification circuit, 67... Sub-scanning magnification circuit, 71... Y direction delay circuit, 72... X direction delay circuit, 73... White level detection circuit, 74...・Black level detection circuit, 75...Pattern matching circuit, 76
. . . Halftone block detection circuit (1), 77 . . . Halftone block detection circuit (2), 78 . . . Halftone area detection circuit. Figure (b) 1-bit shift (X2) Figure (X direction) d ~ Rumor sacrifice, 5----. 5゜Oct Fig. ---(:h-t Dr-z ---11n- Fig. 72 Fig. 20 Fig. 22 Fig. 2j Fig. 37 Main scanning (pixel) Fig. 43 Fig. 44 (a) (b) (C) Fig. 46 (b) (C) (d) (e) ( f) Figure 46 (Q) (h) (i) C horn mower and mower Figure 47 CPU data diagram
Claims (2)
度を読取り、その濃度に応じた電気信号を出力する画像
読取手段と、原稿とこの画像読取手段とを相対的に走査
駆動すると共に、指定された画像変倍率に応じて走査速
度を調整して画像の副走査方向の画像倍率を変更する第
1の副走査変倍手段と、前記画像読取手段が出力するア
ナログ信号をデジタル信号に変換する変換手段と、指定
された画像変倍率に応じて前記変換手段が出力するデジ
タル信号の画像の主走査方向の間引きまたは補間を行い
、画像変倍率を変更する主走査変倍手段と、デジタル信
号の二次元配列パターンを予め定めた記録ドットおよび
非記録ドット検出パターンと比較し、その結果を出力す
る記録ドットおよび非記録ドットの検出手段と、指定さ
れた変倍率に応じて前記第1の副走査変倍手段によつて
変倍されたた画像情報の間引きまたは補間を行う第2の
副走査変倍手段とを備えたことを特徴とする画像領域識
別装置。(1) An image reading means that divides the original image into a large number of minute pixel areas, reads the density thereof, and outputs an electric signal according to the density, and scans and drives the original and this image reading means relative to each other. , a first sub-scanning magnification means for changing the image magnification in the sub-scanning direction of the image by adjusting the scanning speed according to a specified image magnification ratio; and converting the analog signal outputted by the image reading means into a digital signal. a converting means for converting, a main scanning scaling means for thinning out or interpolating an image of a digital signal outputted by the converting means in the main scanning direction according to a specified image scaling ratio, and changing the image scaling ratio; recording dot and non-recording dot detection means for comparing the two-dimensional array pattern of the signal with a predetermined recording dot and non-recording dot detection pattern and outputting the result; An image area identification device comprising: a second sub-scanning magnification changer that thins out or interpolates the image information scaled by the sub-scanning magnification changer.
度を読取り、その濃度に応じた電気信号を出力する画像
読取手段と、原稿とこの画像読取手段とを相対的に走査
駆動すると共に、指定された画像変倍率に応じて走査速
度を調整して画像の副走査方向の画像倍率を変更する副
走査変倍手段と、前記画像読取手段が出力するアナログ
信号をデジタル信号に変換する変換手段と、指定された
画像変倍率に応じて前記変換手段が出力するデジタル信
号の画像の主走査方向の間引きまたは補間を行い、画像
変倍率を変更する主走査変倍手段と、デジタル信号の二
次元配列パターンを予め定めた記録ドットおよび非記録
ドット検出パターンと比較し、その結果を出力する記録
ドットおよび非記録ドットの検出手段とを備えたことを
特徴とする画像領域識別装置。(2) An image reading means that divides the original image into a large number of minute pixel areas, reads the density thereof, and outputs an electric signal according to the density, and scans and drives the original and this image reading means relative to each other. , a sub-scanning magnification means for changing the image magnification in the sub-scanning direction of the image by adjusting the scanning speed according to a specified image magnification ratio, and a conversion for converting the analog signal outputted by the image reading means into a digital signal. means, a main scanning magnification means for thinning out or interpolating the image of the digital signal output by the converting means in the main scanning direction according to a designated image magnification rate, and changing the image magnification rate; An image area identification device comprising a recording dot and non-recording dot detection means for comparing a dimensional array pattern with a predetermined recording dot and non-recording dot detection pattern and outputting the result.
Priority Applications (6)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2149807A JPH0443764A (en) | 1990-06-11 | 1990-06-11 | Picture area identification device |
| US07/688,930 US5351138A (en) | 1990-04-24 | 1991-04-23 | Image area discriminating device |
| DE4113367A DE4113367C2 (en) | 1990-04-24 | 1991-04-24 | Image processing device |
| GB9108850A GB2245449B (en) | 1990-04-24 | 1991-04-24 | Image area discriminating device |
| DE4143504A DE4143504C2 (en) | 1990-04-24 | 1991-04-24 | Image area discriminator for copier, facsimile or scanner |
| US08/209,410 US5408339A (en) | 1990-04-24 | 1994-03-14 | Image area discriminating device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2149807A JPH0443764A (en) | 1990-06-11 | 1990-06-11 | Picture area identification device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0443764A true JPH0443764A (en) | 1992-02-13 |
Family
ID=15483144
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2149807A Pending JPH0443764A (en) | 1990-04-24 | 1990-06-11 | Picture area identification device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0443764A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012056162A (en) * | 2010-09-08 | 2012-03-22 | Ricoh Co Ltd | Image forming apparatus |
-
1990
- 1990-06-11 JP JP2149807A patent/JPH0443764A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012056162A (en) * | 2010-09-08 | 2012-03-22 | Ricoh Co Ltd | Image forming apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0234590B1 (en) | Method of and apparatus for generating high-resolution binary image data with respect to linear edges | |
| US6424742B2 (en) | Image processing apparatus for discriminating image field of original document plural times and method therefor | |
| JP2005094740A (en) | Image processing apparatus, image forming apparatus, and image processing method | |
| US5351138A (en) | Image area discriminating device | |
| US4575768A (en) | Conversion to a two-valued video signal | |
| JP3479161B2 (en) | Image processing device | |
| JPH06290300A (en) | Image area identifying device | |
| JPH0443764A (en) | Picture area identification device | |
| JP3188804B2 (en) | Mixed image processing device | |
| JP3073221B2 (en) | Image area identification device | |
| JP3149137B2 (en) | Image area identification device | |
| JP3584329B2 (en) | Image forming device | |
| JP3073220B2 (en) | Image area identification device | |
| JP3073219B2 (en) | Image area identification device | |
| JP3033973B2 (en) | Image area identification device | |
| JP3152464B2 (en) | Image area identification device | |
| JP3033974B2 (en) | Image area identification device | |
| JP3152463B2 (en) | Image area identification device | |
| JP3033978B2 (en) | Image area identification device | |
| JPH05110831A (en) | Image area identifying apparatus and image area identifying method | |
| JPH0438074A (en) | image area identification device | |
| JPH046950A (en) | Picture area recognizing device | |
| JPH0414380A (en) | Picture area identification device | |
| JPH0414379A (en) | image area identification device | |
| JP3183788B2 (en) | Halftone area determination device |