JPS63234672A - Picture estimate device - Google Patents

Picture estimate device

Info

Publication number
JPS63234672A
JPS63234672A JP62068389A JP6838987A JPS63234672A JP S63234672 A JPS63234672 A JP S63234672A JP 62068389 A JP62068389 A JP 62068389A JP 6838987 A JP6838987 A JP 6838987A JP S63234672 A JPS63234672 A JP S63234672A
Authority
JP
Japan
Prior art keywords
image
aperture
scanning aperture
scanning
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP62068389A
Other languages
Japanese (ja)
Inventor
Takashi Hasebe
孝 長谷部
Seiichiro Hiratsuka
平塚 誠一郎
Masahiko Matsunawa
松縄 正彦
Yoshinori Abe
阿部 喜則
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP62068389A priority Critical patent/JPS63234672A/en
Publication of JPS63234672A publication Critical patent/JPS63234672A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To estimate an excellent intermediate tone picture by preparing plural kinds of the scanning aperture with different open area and selecting a density pattern discriminating circuit and a conditional equation discrimination depending on the spatial frequency component of a picture. CONSTITUTION:Plural kinds of scanning aperture being regions set in calculating an intermediate tone level are prepared, and a scanning aperture larger than the referenced scanning opening is selected in case of the low spatial frequency region, that is, in case of a picture such as gradation picture. In this case, which scanning aperture is to be selected depends on whether or not a conditional equation representing no density change in a region to be discriminated is satisfied by using the conditional equation discrimination circuit 70. Thus, in case of a high spatial frequency region, that is, in case of a picture such as a line picture or character picture, a scanning aperture smaller than the reference scanning aperture is selected. Which scanning aperture is to be selected depends on whether or not a condition representing the absence of the change in the density pattern in the region to be discriminated is satisfied by using the density pattern discrimination circuit 60. Thus, an intermediate tone picture close to an original picture is estimated.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、例えば中間調表示された2値画像から元の
中間調画像を良好に推定することができるようにした画
像推定装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image estimating device that can satisfactorily estimate an original halftone image from, for example, a binary image displayed in halftones.

[発明の背景] 現在、実用に供されている出力装置、例えば表示装置や
印刷装置は白と黒の2値でしか表わされないものが多い
[Background of the Invention] Currently, many of the output devices in practical use, such as display devices and printing devices, can only be represented in binary values, white and black.

このような出力装置を用いて擬似的に中間調を表現する
方法として、濃度パターン法(輝度パターン法)やディ
ザ法などが知られている。
Density pattern method (luminance pattern method), dither method, etc. are known as methods for expressing halftones in a pseudo manner using such an output device.

濃度パターン法やディザ法はともに面積階調法の一種で
、一定の面積(マトリックス)内に記録するドツトの数
を変化させることにより中間調画像を表現する。
Both the density pattern method and the dither method are types of area gradation methods, and express halftone images by changing the number of dots recorded within a fixed area (matrix).

濃度パターン法は第35図(ロ)に示すように、閾値マ
トリックスを用いて原稿の1画素に対応した部分を複数
ドツトで記録する方法で、ディザ法は第35図(イ)に
示すように、原稿の1画素に対応した部分を1ドツトで
記録する方法である。
The density pattern method, as shown in Figure 35 (B), is a method of recording multiple dots in a portion corresponding to one pixel of the document using a threshold matrix, and the dither method, as shown in Figure 35 (B), This is a method in which a portion of the document corresponding to one pixel is recorded as one dot.

それぞれ図に示すように2値化された出力データが得ら
れる。この出力データは擬似的に白、黒2値で中間調画
像を表現するものである。
As shown in the figures, binarized output data is obtained. This output data pseudo-expresses a halftone image using binary values of white and black.

[発明が解決しようとする問題点] ところで、このような2値化きれた擬似中間調画像から
、元の中間調画像(第35図の入力データに相当する)
を推定することができれば、種々のデータ処理を行なう
ことができ、画像変換にも自由度を持たせることができ
るようになって都合がよい。
[Problems to be Solved by the Invention] By the way, the original halftone image (corresponding to the input data in FIG. 35) can be obtained from such a fully binarized pseudo halftone image.
If it is possible to estimate this, it will be convenient because it will be possible to perform various data processing, and it will also be possible to provide flexibility in image conversion.

濃度パターン画像の場合、パターンレベルの配置が分か
れば直ちに中間調画像に戻すことができる。しかしなが
ら、情報量のわりに解像力が低い。
In the case of a density pattern image, once the pattern level arrangement is known, the image can be immediately restored to a halftone image. However, the resolution is low compared to the amount of information.

これに対して、ディザ画像は濃度パターン画像と比較し
て情報量のわりには解像力が高いが、元の中間調画像に
戻すことが困難である。そのため、ディザ画像のみでは
種々の画像変換を行なうことができなかった。
On the other hand, although a dithered image has a higher resolution than a density pattern image in terms of the amount of information, it is difficult to restore the original halftone image. Therefore, it has not been possible to perform various image conversions using dithered images alone.

そこで、この発明はこのような従来の欠点を解決したも
のであって、回路規模を増大することなく、オリジナル
2値画像(例えば、2値のディザ画像)から元の中間調
画像を良好に推定できるようにした画像推定装置を提案
するものである。
Therefore, the present invention solves these conventional drawbacks, and is capable of effectively estimating an original halftone image from an original binary image (for example, a binary dithered image) without increasing the circuit scale. This paper proposes an image estimation device that can perform the following functions.

対象となるオリジナルの2値画像としては2値化された
文字、線画であってもよい。
The target original binary image may be a binary character or line drawing.

[問題点を解決するための手段] 上述の問題点を解決するために、この発明においては、
白画素と黒画素からなる2値画像から中間調画像(中間
調レベル)を推定する画像推定装置において、 中間調レベルを推定する注目画素を含む複数の走査開口
を設定するための複数のラインメモリと、各走査開口内
での白若しくは黒画素数を計数する計数回路と、 この各走査開口の計数結果に基づいて作成した2値画像
と上記走査開口内のオリジナル2値画像を比較する濃度
パターン判別回路と、 各走査開口内の白若しくは黒画素数が所定の条件を満足
するかどうかを判別する条件式判定回路と、 上記濃度パターン判別回路及び条件式判定回路からの出
力から唯一の走査開口を決定する開口判定回路とを有し
、 決定されたこの走査開口内の白若しくは黒画素数に基づ
いて注目画素の中間調レベルが算出されるようになされ
たことをことを特徴とするものである。
[Means for solving the problems] In order to solve the above problems, in this invention,
In an image estimation device that estimates a halftone image (halftone level) from a binary image consisting of white pixels and black pixels, multiple line memories are used to set multiple scanning apertures including the pixel of interest whose halftone level is to be estimated. , a counting circuit that counts the number of white or black pixels within each scanning aperture, and a density pattern that compares the binary image created based on the counting result of each scanning aperture with the original binary image within the scanning aperture. a determination circuit; a conditional expression determination circuit that determines whether the number of white or black pixels in each scanning aperture satisfies a predetermined condition; and a conditional expression determination circuit that determines whether or not the number of white or black pixels in each scanning aperture satisfies a predetermined condition; and an aperture determination circuit for determining the scanning aperture, and the halftone level of the pixel of interest is calculated based on the determined number of white or black pixels within the scanning aperture. be.

[作 用] 人間の視覚は低空間周波数領域(画素レベル変化が少な
い領域)においては高い画素レベル階調判別能力を持ち
、高空間周波数領域(画素レベル変化が多い領域)にお
いては、低い画素レベル階調判別能力しかないという特
性を有している。
[Function] Human vision has high pixel level gradation discrimination ability in low spatial frequency regions (regions with few pixel level changes), and has high pixel level gradation discrimination ability in high spatial frequency regions (regions with many pixel level changes). It has the characteristic of only having the ability to discriminate between gradations.

そこで、低空間周波数領域においては大きな走査開口を
用いて多階調を有する画像の高い階調表現を行ない、高
空間周波数領域においては小ざな走査開口を用いて文字
、線画等の高い解像力の画像を再現すれば、いままでよ
りも更によい中間調画像の推定を行なうことができる。
Therefore, in the low spatial frequency region, a large scanning aperture is used to express images with high gradations, and in the high spatial frequency region, a small scanning aperture is used to produce high-resolution images such as characters and line drawings. By reproducing this, it is possible to estimate a halftone image even better than before.

そのため、複数種の走査開口が用意される。そして、低
空間周波数領域のとき、従って階調画のような画像のと
きには、基準となる走査開口より大きな走査開口が選択
きれる。このときどの走査開口を選択するかは条件式判
定回路を用い、判定すべき領域内での濃度変化が無いと
いう条件式を満たすか否かによって決められる。
Therefore, multiple types of scanning apertures are prepared. In the case of a low spatial frequency region, that is, in the case of an image such as a gradation image, a scanning aperture larger than the reference scanning aperture can be selected. Which scanning aperture to select at this time is determined using a conditional expression determination circuit, depending on whether or not the conditional expression that there is no density change within the region to be determined is satisfied.

これに対して、高空間周波数領域のとき、つまり線画や
文字画のような画像のときには、基準となる走査開口よ
り小さな走査開口が選択きれる。
On the other hand, in the case of a high spatial frequency region, that is, in the case of an image such as a line drawing or character image, a scanning aperture smaller than the reference scanning aperture can be selected.

このときどの走査開口を選択するかは濃度パターン判別
回路を用い、判定すべき領域内での濃度パターンの変化
が無いという条件を満たすか否かによって決められる。
Which scanning aperture to select at this time is determined using a density pattern discrimination circuit, depending on whether the condition that there is no change in the density pattern within the region to be determined is satisfied.

このような人間の画素レベル階調判別能力を考慮して中
間調画像を作成すれば、元の中間調画像が階調面、線画
、文字画を含むようなものであっても、より原画に近い
中間調画像を推定することができる。
If a halftone image is created taking into account the human pixel-level gradation discrimination ability, even if the original halftone image contains gradation planes, line drawings, and character drawings, it will be more similar to the original image. A close halftone image can be estimated.

[実 施 例] 以下、この発明に係る画像推定装置の一例を第1図以下
を参照して詳細に説明する。
[Example] Hereinafter, an example of an image estimation device according to the present invention will be described in detail with reference to FIG. 1 and subsequent figures.

説明の便宜上、まず画像推定装置の前提となる画像推定
動作を、第22図以下を参照しながら説明することにす
る。
For convenience of explanation, the image estimation operation that is the premise of the image estimation device will first be explained with reference to FIG. 22 and subsequent figures.

また、以下に示す実施例では、2値画像として2値のデ
ィザ画像について説明するが、その他の2値画像を対象
としてもよい。ディザ画像は組織的ディザ法によった場
合を例示する。組織的2値デイザ法としては、8×8の
ベイヤ(Bayer)型ディザマトリックスを閾値マト
リックスとして用いた場合を例にとって説明する。
Further, in the embodiments shown below, a binary dither image will be described as a binary image, but other binary images may be used. The dithered image is exemplified by a systematic dithering method. The systematic binary dither method will be explained by taking as an example a case where an 8×8 Bayer type dither matrix is used as a threshold matrix.

第22図はこの発明を説明するための2値ディザ画像例
を示す図である。
FIG. 22 is a diagram showing an example of a binary dither image for explaining the present invention.

同図(イ)はデジタルデータに変換されたオリジナル中
間調画像、同図(ロ)は8×8ベイヤ型の閾値マトリッ
クス、同図(ハ)は閾値マトリックス(ロ)によって白
及び黒の2値に変換されたオリジナル画像(イ)に対応
した2値ディザ画像である。
The figure (A) shows the original halftone image converted to digital data, the figure (B) shows the 8x8 Bayer threshold matrix, and the figure (C) shows the binary values of white and black using the threshold matrix (B). This is a binary dithered image corresponding to the original image (a) converted into .

なお、同図(ハ)に示す2値ディザ画像は、白レベルの
画素を白抜きで、黒レベルの画素を黒色で図示しである
。以後の説明も同様である。
Note that, in the binary dither image shown in FIG. 3C, pixels at a white level are shown in white, and pixels at a black level are shown in black. The same applies to the subsequent explanation.

ベイヤ型閾値マトリックスとは、同図(ロ)に示すよう
にドツトが分散するディザパターンをとるものである。
The Bayer threshold matrix has a dither pattern in which dots are dispersed, as shown in FIG.

さて、ディザ画像(ハ)の上を行方向及び列方向に走査
きせるために、開口面積の異なる複数種の走査開口が用
意される。この例では、ディザマトリックスの大tSと
して、8X8のマトリックスを例示したので、取り扱う
走査開口としては最大8×8となる。この走査開口を第
23図に示すように、走査開口Gとする。
Now, in order to scan the dithered image (c) in the row and column directions, a plurality of types of scanning apertures with different aperture areas are prepared. In this example, an 8×8 matrix is illustrated as the large tS of the dither matrix, so the maximum scanning aperture to be handled is 8×8. This scanning aperture is referred to as a scanning aperture G, as shown in FIG.

この走査開口Gに対して、さらにその面積が1/2.1
/4.1/8.1/16及び1764となる走査開口F
〜A、Zが用意される。
The area of this scanning aperture G is 1/2.1
/4.1/8.1/16 and 1764 scanning aperture F
~A and Z are prepared.

Zは1行×1列の大きざの、Aは2行×2列の大きざの
、Bは2行×4列の大きざの、Cは4行×2列の大きさ
の、Dは4行×4列の大きざの、Eは4行×8列の大き
さの、Fは8行×4列の大きざの走査開口をそれぞれ示
している。
Z has a size of 1 row x 1 column, A has a size of 2 rows x 2 columns, B has a size of 2 rows x 4 columns, C has a size of 4 rows x 2 columns, and D has a size of 4 rows x 2 columns. E indicates a scanning aperture having a size of 4 rows by 4 columns, E indicates a scanning aperture having a size of 4 rows by 8 columns, and F indicates a scanning aperture having a size of 8 rows by 4 columns.

A−Zの各開口中に示した黒丸は、第22図(ハ)のデ
ィザ画像上を移動させるときの移動中心である。
The black circles shown in each aperture of A-Z are the centers of movement when moving on the dithered image in FIG. 22(c).

このような面積の異なる走査開口のうち最適な走査開口
を選択しながら、中間調画像の値か推定きれる。
The value of the halftone image can be estimated while selecting the optimum scanning aperture among the scanning apertures having different areas.

ここで、走査すべき走査開口の大きざを固定したままで
中間調画像を求めると、各走査開口に対応した中間調画
像は第24図に示すような値となる。
Here, if halftone images are obtained while fixing the size of the scanning aperture to be scanned, the halftone image corresponding to each scanning aperture will have values as shown in FIG.

同図(イ)は最小の走査開口Zを使用して推定した中間
調画像である。以下同様に、同図(ロ)〜(チ)に走査
開口A−Gを使用して推定した中間調画像を示す。この
中間調画像は第25図に示すような順序をもって推定さ
れたものである。
The figure (a) is a halftone image estimated using the minimum scanning aperture Z. Similarly, halftone images estimated using scanning apertures A to G are shown in FIGS. This halftone image is estimated in the order shown in FIG.

走査開口として、Dを使用したときの推定操作を説明す
ると、まず第26図に示すように、走査開口りを2値デ
ィザ画像(ハ)の初期位置(第1行の第1列)に重ねる
(第25図ステップ?a。
To explain the estimation operation when using D as the scanning aperture, first, as shown in Fig. 26, the scanning aperture is superimposed on the initial position (first row, first column) of the binary dithered image (c). (Figure 25 Step ?a.

7b)。7b).

この場合、第26図のように走査開口り内に含まれる画
素は、各々完全に含まれCいることが望ましい。すなわ
ち、ある画素の一部が欠けて含まれることがないように
することが好ましい。
In this case, it is desirable that each pixel contained within the scanning aperture be completely contained, as shown in FIG. That is, it is preferable to prevent a certain pixel from being partially missing.

次に、この走査開口りで囲まれた部分の画素レベルを計
算してその値を中間調の推定値とする(スッテブ7c)
。この場合3となる。走査開口りの面積ば走査開口Gの
1/4であることから、最大開口面積と同じくするため
、画素レベルにこの面積比(以下ゲインという。この場
合、ゲインは4である)が掛けられた値、っまり12が
この画素の中間調画像レベルとして推定きれる。従って
、1行1列目(1,1)の中間調画像の推定値は12で
ある。
Next, calculate the pixel level of the area surrounded by this scanning aperture and use that value as the estimated value of the halftone (Step 7c)
. In this case, it becomes 3. Since the area of the scanning aperture is 1/4 of the scanning aperture G, the pixel level was multiplied by this area ratio (hereinafter referred to as gain; in this case, the gain is 4) to make it the same as the maximum aperture area. The value exactly 12 can be estimated as the halftone image level of this pixel. Therefore, the estimated value of the halftone image at the 1st row and 1st column (1, 1) is 12.

次に、ステップ7dにおいて、最終列か否かが判別され
、最終列でないときには、ステップ7eに移行して、走
査開口りを1列従って、1画素分だけ右に移動きせて、
(1,2)における中間調画像が推定される。この場合
も、走査開口り内の2値画像レベルを前述と同様に合計
して推定するものであって、例示の場合3となる。従っ
て、この場合においても中間調画像の値は12と推定さ
れる。
Next, in step 7d, it is determined whether or not it is the last column, and if it is not the last column, the process moves to step 7e, and the scanning aperture is moved by one column, that is, by one pixel, to the right.
A halftone image at (1,2) is estimated. In this case as well, the binary image level within the scanning aperture is estimated by summing it up in the same manner as described above, and in the illustrated case it is 3. Therefore, the value of the halftone image is estimated to be 12 in this case as well.

このような推定処理を同行の全ての列について順次実行
する。
Such estimation processing is performed sequentially for all columns in the same row.

最終列、つまり第1行目が終了したら、ステップ7fに
おいて、最終行の有無がチェックされ、最終行でないと
ぎにはステップ7gにおいて、走査開口りの最初の行が
1行だけ下側にシフトされる。そして、第1列目(2,
1)の画素から上述と同様に中間調濃度推定操作を順次
実行する。
When the last column, that is, the first row, is completed, the presence or absence of the last row is checked in step 7f, and if it is not the last row, the first row of the scanning aperture is shifted downward by one row in step 7g. Ru. And the first column (2,
Starting from the pixel 1), the halftone density estimation operation is sequentially executed in the same manner as described above.

このような演算処理を最後の行の最後の列まで、走査開
口りを2値ディザ画像の画素ごとに順次移動させて実行
することにより、中間調画像推定値を求め、中間調画像
推定操作を終了する。
By sequentially moving the scanning aperture for each pixel of the binary dither image and executing such arithmetic processing up to the last column of the last row, halftone image estimated values are obtained and halftone image estimation operations are performed. finish.

第24図の(ホ)は、このようにして求めた推定中間調
画像を示す図である。このような推定動作は空間周波数
特性に関係なく中間調画像を推定していることから、階
調表現や文字、線画の再現に必要な解像力の表現に欠け
る欠点がある。そのため、オリジナルの中間調画像とは
異なった画像として再現されてしまう。
(E) of FIG. 24 is a diagram showing the estimated halftone image obtained in this manner. Since such an estimation operation estimates a halftone image without regard to the spatial frequency characteristics, it has the disadvantage that it lacks the resolving power necessary for expressing gradations, characters, and line drawings. Therefore, the image is reproduced as an image different from the original halftone image.

そこで、この発明では画像の空間周波数特性をも考慮し
、画像のもつ空間周波特性に応じて注目画素ごとに最適
な走査開口を選択し、選択した走査開口よりオリジナル
画像(中間調画像)を推定しようとするものである。こ
うすれば、オリジナルに近い中間調画像を推定できるこ
とになるからである。
Therefore, in this invention, we also consider the spatial frequency characteristics of the image, select the optimal scanning aperture for each pixel of interest according to the spatial frequency characteristics of the image, and estimate the original image (halftone image) from the selected scanning aperture. This is what I am trying to do. This is because by doing so, it is possible to estimate a halftone image that is close to the original.

この推定動作のため、後述するように濃度パターン判別
回路と条件式判定回路が設けられている。
For this estimation operation, a density pattern determination circuit and a conditional expression determination circuit are provided, as will be described later.

走査開口の選択は次のようにして行なわれる。Selection of the scanning aperture is performed as follows.

すなわち、低空間周波数領域においては大きな走査開口
を用いて高い階調表現を行ない、高空間周波数領域にお
いては小ざな走査開口を用いて高い解像力の画像でも再
現できるようにする。ここで、線画や文字画は高空間周
波数領域の画像に対応し、階調画は低空間周波数領域の
画像に対応する。
That is, in the low spatial frequency region, a large scanning aperture is used to express high gradations, and in the high spatial frequency region, a small scanning aperture is used to reproduce even images with high resolution. Here, line drawings and character drawings correspond to images in a high spatial frequency domain, and gradation drawings correspond to images in a low spatial frequency domain.

また、低空間周波数領域においては、複数の走査開口の
うちの最適な開口を選択する基準として、濃度の変化が
ないということを所定の条件式に従って求める。これに
対して、高空間周波数領域においては、その最適開口を
選択する基準としてパターンの一致、不一致によって決
定する。
Furthermore, in the low spatial frequency region, as a criterion for selecting the optimum aperture among the plurality of scanning apertures, it is determined that there is no change in density according to a predetermined conditional expression. On the other hand, in the high spatial frequency region, the optimum aperture is selected based on whether or not the patterns match.

そのため、この発明に係る中間調画像の推定操作は、第
27図に示すような操作手順となる。
Therefore, the halftone image estimation operation according to the present invention has an operation procedure as shown in FIG. 27.

第27図に示すフローチャートに示される推定値の操作
概要を説明する。
An outline of the operation of the estimated value shown in the flowchart shown in FIG. 27 will be explained.

まず、基準となる走査開口を設定する。この例では、中
間の走査開口であるDが使用される(ステップk)。次
に、走査開口りの濃度パターンの一致、不一致がチェッ
クされる(ステップI)。
First, a reference scanning aperture is set. In this example, an intermediate scan aperture, D, is used (step k). Next, the density patterns of the scanning apertures are checked for coincidence or mismatch (step I).

どのようにして濃度パターンの一致、不一致を見るかに
ついては後述する。
How to determine whether or not the density patterns match will be described later.

濃度パターンが一致しているときには、所定の条件式に
基づいて走査開口D−Gのうちのいづれかが選択される
(ステップm)。これに対して、濃度パターンが不一致
のときはステップnに移って濃度パターン判別により走
査開口C−A、Zの伺れかが選択される。
When the density patterns match, one of the scanning apertures DG is selected based on a predetermined conditional expression (step m). On the other hand, if the density patterns do not match, the process moves to step n, where the scanning apertures C-A and Z are selected based on density pattern discrimination.

走査開口の選択が終了すると、続いて求められた走査開
口に基づいて中間調画像のレベルが推定きれる(ステッ
プO)。その後、この推定された中間調画像のレベルに
基づいて、拡大・縮小などの画像処理が実行されると共
に、これが2値化されて、中間調画像の推定処理が終了
する(ステップp、q)。
When the selection of the scanning aperture is completed, the level of the halftone image can be estimated based on the subsequently determined scanning aperture (step O). Thereafter, image processing such as enlargement/reduction is performed based on the estimated level of the halftone image, and this is also binarized, thereby completing the halftone image estimation process (steps p, q). .

ステップlの処理操作を詳細に説明する。The processing operation of step 1 will be explained in detail.

ここでは、まず、取り扱う複数種の走査開口のうちで、
中間の開口面積を有する走査開口りが選択される。
Here, first of all, among the multiple types of scanning apertures handled,
A scanning aperture with an intermediate aperture area is selected.

そして、選択開口りを第22図(ハ)の初期位置(第2
6図参照)に重ねると、第28図(イ)に示すディザ画
像が得られる。この走査開口り内の白画素数をカウント
すると3である。走査開口りのゲインは4であることか
ら、この白画素数3をゲイン倍した値12が平均的画素
レベルであるものとして、(ロ)に示すように各画素を
12で埋め合わせる。
Then, move the selected aperture to the initial position (second position) shown in FIG.
6), the dithered image shown in FIG. 28(a) is obtained. The number of white pixels within this scanning aperture is counted as three. Since the gain of the scanning aperture is 4, each pixel is compensated by 12 as shown in (b), assuming that the value 12 obtained by multiplying the number of white pixels by the gain, 3, is the average pixel level.

(ロ)に示す平均画素レベル像を(ハ)に示す閾値マト
リックスで2値化すると、(ニ)に示すようなものとな
る。閾値マトリックス(ハ)は走査開口のディザ画像上
における位置情報を示すものである。
When the average pixel level image shown in (B) is binarized using the threshold value matrix shown in (C), it becomes as shown in (D). The threshold matrix (c) indicates positional information of the scanning aperture on the dithered image.

ここで、ディザ画像(イ)と2値画像(ニ)を比較する
と、両者の濃度パターンが一致する。
Here, when the dithered image (A) and the binary image (D) are compared, their density patterns match.

従って、この場合には第27図ステップl、mから明ら
かなように、条件式に基づいて適切な走査開口が選択さ
れることになる。
Therefore, in this case, as is clear from steps l and m in FIG. 27, an appropriate scanning aperture is selected based on the conditional expression.

なお、濃度パターンが一致せず、ステップnが選択され
た場合においても、走査開口内に濃度変化が認められな
い限り、できるだけ大きな走査開口を選択するものであ
る。従って、走査開口の選択順序を第29図に示すよう
に、C−+B+A−+Zの順にとる。
Note that even if the density patterns do not match and step n is selected, the largest possible scanning aperture is selected as long as no density change is observed within the scanning aperture. Therefore, the scanning apertures are selected in the order of C-+B+A-+Z as shown in FIG.

第30図は空間周波数特性を考慮した中間調画像推定方
法の説明図である。
FIG. 30 is an explanatory diagram of a halftone image estimation method that takes spatial frequency characteristics into consideration.

第30図は走査開口りの移動中心が(4,6)であると
きの説明図であって、上述したと同様に、走査開口りを
第22図(ハ)の移動位置(4,6)にその開口中心が
一致するような状態で重ねると、第30図工程(1)に
示す通りとなる。
FIG. 30 is an explanatory diagram when the center of movement of the scanning aperture is (4, 6), and similarly to the above, the scanning aperture is moved to the movement position (4, 6) of FIG. 22 (C). When stacked so that the centers of the openings coincide with each other, the result is as shown in step (1) in FIG. 30.

この走査開口り内の白画素数をカウントすると4である
。走査開口りのゲインは4であるから、ゲイン倍した値
の16が平均的画素レベルであるものとして、(ロ)に
示すように各画素を16で埋め合わせる。
The number of white pixels within this scanning aperture is counted as four. Since the gain of the scanning aperture is 4, assuming that 16, which is the value multiplied by the gain, is the average pixel level, each pixel is compensated with 16 as shown in (b).

そして、(ロ)に示す平均画素レベル像を(ハ)に示す
閾値マトリックスで2値化すると、(ニ)に示すような
ものとなる。
Then, when the average pixel level image shown in (B) is binarized using the threshold value matrix shown in (C), it becomes as shown in (D).

ここで、ディザ画像(イ)と2値画像(ニ)を比較する
と、同一の濃度パターンではない。
Here, when comparing the dithered image (A) and the binary image (D), they do not have the same density pattern.

そこで、第30図の工程(2)に進む。このとき使用さ
れる走査開口はCである。
Therefore, proceed to step (2) in FIG. 30. The scanning aperture used at this time is C.

この走査開口C内の白画素数をカウントすると2である
。走査開口Cのゲインは8.であるから、ゲイン倍した
値の16が平均的画素レベルである1ものとして、(ロ
)に示すように各画素を16で埋め合わせる。
The number of white pixels within this scanning aperture C is counted as 2. The gain of scanning aperture C is 8. Therefore, assuming that 16, which is the value multiplied by the gain, is the average pixel level, each pixel is compensated for by 16 as shown in (b).

そして、(ロ)に示す平均画素レベル像を(ハ)に示す
閾値マトリックスで2値化すると、(ニ)に示すような
ものとなる。
Then, when the average pixel level image shown in (B) is binarized using the threshold value matrix shown in (C), it becomes as shown in (D).

ここで、ディザ画像(イ)と2値画像(ニ)を比較する
と、同一の濃度パターンとなっている。
Here, when the dithered image (A) and the binary image (D) are compared, they have the same density pattern.

従って、この場合には走査開口Cが最適開口として選択
され、そのときの中間調画像の推定値は16となる。
Therefore, in this case, scanning aperture C is selected as the optimal aperture, and the estimated value of the halftone image at that time is 16.

なお、−回の工程で走査開口が選択されないときには、
次の走査開口を使用して上述の処理操作が順次実行され
る。走査開口Aでもその濃度パターンが一致しないとき
に番ヨ、最小の走査開口Zをそのときの走査開口として
選択し、ゲイン倍(=64)t、た値、すなわち64あ
るいはOが中間調画像の推定値として使用される。
Note that when the scanning aperture is not selected in the -th step,
The processing operations described above are performed sequentially using the next scan aperture. When the density patterns do not match even with the scanning aperture A, the smallest scanning aperture Z is selected as the scanning aperture at that time, and the value multiplied by the gain (=64)t, that is, 64 or O, is the halftone image. Used as an estimate.

次に、第27図ステップmについてその処理操作を説明
する。
Next, the processing operation for step m in FIG. 27 will be explained.

ステップmはステップlで一致、成立した場合に判定す
るものである。
Step m is determined when a match is found in step l.

ステップmにおいても、人間の画素レベル階調判別能力
を考慮して走査開口D−Gを選択するものである。つま
り、上述と同じく、低空間周波数領域においては大きな
走査開口を用いて高い階調表現を行ない、高空間周波数
領域においては小ざな走査開口を用いて高い解像力の画
像を再現しようとするものである。
Also in step m, the scanning aperture DG is selected in consideration of the human pixel level gradation discrimination ability. In other words, as mentioned above, in the low spatial frequency region, a large scanning aperture is used to express high gradations, and in the high spatial frequency region, a small scanning aperture is used to reproduce an image with high resolution. .

その際に使用する条件とは、画素レベルの変化がないと
いう条件である。
The condition used at this time is that there is no change in the pixel level.

まず、ここでは、各走査量ロD−G内の2値画素レベル
の合計値をそれぞれ、d””=gとする。そして、画素
レベル変化がないという条件を以下のように定める。
First, here, the total value of binary pixel levels within each scanning amount DG is set to d""=g. Then, the condition that there is no change in pixel level is determined as follows.

12d−el≦1   −−−(1) +2d−fl≦1   ・・・  (2)12e−gl
≦1   ・・・  (3)12f−gl≦1   ・
・・  (4)d=o又はd=16  ・・・  (5
)これら各条件を満足している場合を01満足していな
い場合を×として、各条件に応じて用いるべき走査開口
を第31図のように定める。図中の*印は、○あるいは
×を示している。
12d-el≦1 ---(1) +2d-fl≦1 ... (2) 12e-gl
≦1... (3) 12f-gl≦1 ・
... (4) d=o or d=16 ... (5
) The scanning aperture to be used according to each condition is determined as shown in FIG. 31, with the case where each of these conditions is satisfied as 0 and the case where it is not satisfied as x. The * mark in the figure indicates ○ or ×.

例えば、(1)、(2)、(5)式を満足していない場
合には、(3)、(4)式を満足しているかどうかをチ
ェックするまでもなく、開口りが選択きれる。
For example, if formulas (1), (2), and (5) are not satisfied, the aperture can be selected without checking whether formulas (3) and (4) are satisfied.

(5)式が満足きれていない場合において、(1)式は
満足するが(2)式を満足しない場合には、開口Eが選
択される。
When equation (5) is not satisfied, when equation (1) is satisfied but equation (2) is not satisfied, opening E is selected.

(1)式は満足しないが、(2)式を満足する場合には
、開口Fが選択される。
If the equation (1) is not satisfied but the equation (2) is satisfied, the aperture F is selected.

(1)〜(4)成金てを満足する場合には、開口Gが選
択される。
If (1) to (4) metal formation are satisfied, opening G is selected.

また、開口りの白画素数がOあるいは16のときには、
(1)〜(4)式に関係なく、開口りが選択される。
Also, when the number of white pixels in the aperture is O or 16,
The aperture is selected regardless of equations (1) to (4).

以上の条件で、第22図(ハ)に示す2値ディザ画像の
各開口の中心位置が(4,4)の右下であるときの最適
走査開口を求めてみる。この場合の白画素数は、 d=3.e=9.f=8+ g=21となる。
Under the above conditions, the optimum scanning aperture will be determined when the center position of each aperture in the binary dithered image shown in FIG. 22 (c) is at the lower right of (4, 4). The number of white pixels in this case is d=3. e=9. f=8+g=21.

まず、条件式(1)、(2)式をもとめる。First, conditional expressions (1) and (2) are determined.

−12d−el=16−91=3 で、(1)式を満足しない。また、 + 2d−f I= 16−81=2 で、(2)式も満足しない。-12d-el=16-91=3 Therefore, formula (1) is not satisfied. Also, +2d-f I=16-81=2 Therefore, equation (2) is not satisfied either.

従って、第31図により最適走査開口はDとなる。Therefore, the optimum scanning aperture is D according to FIG.

なお、上述の条件式は一例に過ぎず、画素レベルの変化
がないという条件を表わすものであれば、上述の条件式
以外の条件式を使用してもよい。
Note that the above-mentioned conditional expression is only an example, and a conditional expression other than the above-mentioned conditional expression may be used as long as it expresses the condition that there is no change in the pixel level.

次に、走査開口としてDが選択された場合の、中間調画
像の第1行第1例目の画素についての値を推定する。走
査開口りを選択したときの初期位置の2値画素レベルの
合計値はd=3、走査開口りのゲインは4であるので、
中間調画体推定値は3X4=12となる。
Next, the value for the first example pixel in the first row of the halftone image when D is selected as the scanning aperture is estimated. When the scanning aperture is selected, the total value of the binary pixel level at the initial position is d=3, and the gain of the scanning aperture is 4, so
The estimated halftone image value is 3X4=12.

このような推定操作を注目する画素ごとに実行して、そ
の都度走査開口A−Zのうちいづれかが選択されるもの
である。従って、走査量ロA−Z全体についての開口選
択のフローを整理すると、第32図に示すようになって
、唯一で、しかも最適な走査開口が選択される。
Such an estimation operation is performed for each pixel of interest, and one of the scanning apertures AZ is selected each time. Therefore, when the flow of aperture selection for the entire scanning amount RO is organized, a unique and optimal scanning aperture is selected as shown in FIG. 32.

第33図(イ)はこのようにして求めた推定中間調画像
を示す図である。ちなみに、各中間調画像推定にどの開
口を用いたかを、第33図(ロ)に示す。
FIG. 33(a) is a diagram showing the estimated halftone image obtained in this manner. Incidentally, FIG. 33 (b) shows which aperture is used for each halftone image estimation.

第1行の場合を例にとって説明すれば、中間調推定画像
の(1,1)がり、(1,2)がDl(1,3)がC,
(1,4)がB、(1,5)がC,(1,6)がB、(
1,7)がBである。
To explain the case of the first row as an example, (1, 1) of the estimated halftone image, (1, 2) is Dl, (1, 3) is C,
(1,4) is B, (1,5) is C, (1,6) is B, (
1, 7) is B.

ところで、この第32図に示すフローをそのままハード
化すると、高速な画像処理を実現するのが困難である。
By the way, if the flow shown in FIG. 32 is made into hardware as it is, it will be difficult to realize high-speed image processing.

そこで、これを比較的簡単な論理回路で構成する例を次
に説明する。そのためには、第32図に基づいて各判定
の真理値表を作成する。
Therefore, an example of configuring this with a relatively simple logic circuit will be described below. To do this, a truth table for each determination is created based on FIG.

その結果を第34図に示す。The results are shown in FIG.

この真理値表を用いて走査開口を決定する開口選択のた
めの論理式は次のようにすればよい。
The logical formula for aperture selection that determines the scanning aperture using this truth table may be as follows.

開口B=BP−CP−DP 開口c=cp・“σ丁 開口D=DP −DW+DP −DW−Sl−S2開口
E=DP争n涜1・Sl・π7 +DP −DW−Sl−S2− S3− S4M口F=
DP−DW−3l−32 +DP −DW−Sl・S2・百丁 開口G=DP@DW−3l−32−83−34判定手段
において、上記の論理処理を実行すれば、唯一の開口を
選択できるのは、容易に理解できよう。
Aperture B = BP - CP - DP Aperture c = cp - "σ" Aperture D = DP -DW + DP -DW - Sl - S2 Aperture E = DP conflict n 1 - Sl - 7 + DP - DW - Sl - S2 - S3 - S4M mouth F=
DP-DW-3l-32 +DP -DW-Sl・S2・Hyakucho opening G=DP@DW-3l-32-83-34 If the above logical processing is executed in the determination means, only one opening can be selected. can be easily understood.

ここに、AP−DPとはA−Dの各パターン判定を満た
すということであり、DwとはDの画素数が判定式(5
)を満たすということであり、81〜S4とは条件式(
1)〜(4)を満たすということであり、そして、 −の表示は満たきないということを夫々表わしている。
Here, AP-DP means that each pattern determination of A-D is satisfied, and Dw means that the number of pixels of D satisfies the determination formula (5
), and 81 to S4 satisfy the conditional expression (
This means that 1) to (4) are satisfied, and - indicates that they are not satisfied.

なお、選択された走査開口は、次のような3ピツトの符
号をあてがうことによって、どの走査開口が選択された
のかを容易に識別することができる。
The selected scanning aperture can be easily identified by assigning the following 3-pit code to the selected scanning aperture.

Z (000)、A (001)、B (010)。Z (000), A (001), B (010).

C(011)、D  (100)、E  (101)。C (011), D (100), E (101).

F  (110)、G  (111) この符号化された信号でゲイン倍された中間調画像推定
値が得られる。
F (110), G (111) A halftone image estimate value multiplied by the gain is obtained using this encoded signal.

上述した画像推定方法の処理手順は第1図に示すような
構成によって実現することができる。
The processing procedure of the image estimation method described above can be realized by a configuration as shown in FIG.

続いて、この発明に係る画像推定装置の一例を詳細に説
明する。
Next, an example of the image estimation device according to the present invention will be described in detail.

第3図は中間調画像を推定する中間調画像推定装置の概
略構成を、信号の流れを基準にして示したもので、画像
読み取り装置1は原稿画像を読み取って2値データに変
換するものである。
FIG. 3 shows a schematic configuration of a halftone image estimation device for estimating a halftone image based on the flow of signals. The image reading device 1 reads a document image and converts it into binary data. be.

原稿画像はCCDなどの光電変換素子を用いて読み取ら
れて電気信号に変換される。変換された電気信号はA/
D変換きれて、デジタルデータに変換され、このデジタ
ルデータにシエーデング補正(CCD出力の均一化補正
)を施したのち、2値化データに変換されるような一連
のデータ処理がなされる。
The original image is read using a photoelectric conversion element such as a CCD and converted into an electrical signal. The converted electrical signal is A/
After the D conversion is completed, the data is converted into digital data, this digital data is subjected to shading correction (correction for equalizing the CCD output), and then a series of data processing is performed such as conversion into binary data.

画像読み取り装置1からのデジタル化きれた2値データ
は中間調画像復元手段2に供給きれる。
The digitized binary data from the image reading device 1 is supplied to the halftone image restoring means 2.

この中間調画像復元手段2には、2値データの他にタイ
ミング信号が供給されて、2値データから所定の中間調
画像信号が復元される。
The halftone image restoring means 2 is supplied with a timing signal in addition to the binary data, and restores a predetermined halftone image signal from the binary data.

中間調画像信号はタイミング信号と共に、画像処理手段
3に供給されて拡大・縮小、フィルタリング処理などの
指定処理モードに対応した画像処理が実行される。
The halftone image signal and the timing signal are supplied to the image processing means 3, and image processing corresponding to the specified processing mode, such as enlargement/reduction and filtering processing, is executed.

画像処理された中間調画像信号は2値化手段4に供給さ
れて、閾値選択信号によって選択された閾値を用いて再
2値化処理が行なわれる。閾値選択48号はコントロー
ルターミナルあるいはキーボードなどから指定される。
The image-processed halftone image signal is supplied to the binarization means 4, where it is re-binarized using the threshold selected by the threshold selection signal. Threshold selection No. 48 is designated from the control terminal or keyboard.

なお、5は記録装置で、2値化手段4あるいは画像メモ
リユニット6より出力された2値データに基づいて画像
が再現される。
Note that 5 is a recording device in which an image is reproduced based on binary data output from the binarization means 4 or the image memory unit 6.

記録装置5としては、レーザプリンタやLEDプリンタ
などを使用することができる。画像メモリユニット6は
画像読み取り装置1より得られる2値データそのものも
記憶できるような構成となされている。
As the recording device 5, a laser printer, an LED printer, or the like can be used. The image memory unit 6 is configured to be able to store the binary data itself obtained from the image reading device 1.

第4図は画像処理システムとして構成した場合の一例を
示すブロック図である。
FIG. 4 is a block diagram showing an example of the configuration as an image processing system.

画像読み取り装置1、中間調画像復元手段2、画像処理
手段3.2値化手段4及び記録装置5は夫々、第1及び
第2のインターフェース11゜12を介してコントロー
ルターミナル13に接続される。また、画像メモリユニ
ット6はシステムパス14を介して第1のインターフェ
ース11と接続される構成となきれている。15は外部
装置を示す。
The image reading device 1, halftone image restoring means 2, image processing means 3, binarization means 4 and recording device 5 are connected to a control terminal 13 via first and second interfaces 11 and 12, respectively. Further, the image memory unit 6 is configured to be connected to the first interface 11 via the system path 14. 15 indicates an external device.

続いて、各部の構成を詳細に説明する。Next, the configuration of each part will be explained in detail.

画像読み取り装置1にて読み取られた画像信号、つまり
2値信号はこの発明の要部である中間調画像復元手段2
に供給されて、この2値信号から所定の中間調レベルを
有した中間調画像が復元きれる。
The image signal read by the image reading device 1, that is, the binary signal, is sent to the halftone image restoring means 2, which is the main part of the present invention.
A halftone image having a predetermined halftone level can be restored from this binary signal.

第1図はこの発明に係る画像推定装置の要部である中間
調画像復元手段2の一例を示す。
FIG. 1 shows an example of halftone image restoring means 2, which is a main part of the image estimation apparatus according to the present invention.

画像読み取り装置1からの2値データは第1のセレクト
回路21を介してラインメモリ部22に供給される。
Binary data from the image reading device 1 is supplied to the line memory section 22 via the first select circuit 21.

ラインメモリ部22は第1のセレクト回路21から送ら
れてくる2値データを受けて、1ラインごとの2値デー
タを記憶するためのもので、図に示すようにL1〜L9
までの9個のラインメモリで構成きれる。そして、第1
のセレクト回路21ではこれら9個のラインメモリL1
〜L9の夫々に、夫々のラインに対応した2値データが
順次セレクトきれて記憶される。
The line memory section 22 is for receiving the binary data sent from the first select circuit 21 and storing the binary data for each line, as shown in the figure, L1 to L9.
It can be configured with up to 9 line memories. And the first
The select circuit 21 selects these nine line memories L1.
.about.L9, binary data corresponding to each line is sequentially selected and stored.

ここで、ラインメモリを9ライン分用意したのは、使用
する最大の走査開口Gの行数が8行であることと、リア
ルタイム処理を行なうために゛、もう1行のラインメモ
リが必要なためである。
The line memory for 9 lines is prepared here because the maximum number of lines of the scanning aperture G to be used is 8 lines, and because one more line memory is required for real-time processing. It is.

そのため、第2のセレクト回路23において、9個のラ
インメモリのうち現在の画像処理に必要な8個のライン
メモリが選択される。
Therefore, in the second selection circuit 23, eight line memories necessary for the current image processing are selected from among the nine line memories.

選択された8個のラインメモリの各2値データは中間調
画像推定部30に供給されて、この2値データに基づい
て複数種の走査開口のうちから唯一の走査開口が選択き
れる。
The binary data of each of the eight selected line memories is supplied to the halftone image estimating section 30, and based on this binary data, a unique scanning aperture is selected from among the plurality of types of scanning apertures.

選択きれた走査開口を示すデータは選択回路24に供給
されて、その走査開口内の画素レベルとゲインとによっ
て定まる中間調画像の値が推定きれる。
Data indicating the selected scan aperture is supplied to a selection circuit 24 to estimate the value of the halftone image determined by the pixel level and gain within the scan aperture.

タイミング発生回路25から得られた各種のタイミング
信号は、上述した第1及び第2のセレクト回路21.2
3を始めとして、ラインメモリ部22、中間調画像推定
部30及び選択回路24に供給されて、必要なタイミン
グでデータの選択やアドレス送出の制御が行なわれる。
Various timing signals obtained from the timing generation circuit 25 are sent to the first and second selection circuits 21.2 described above.
3, the data is supplied to the line memory unit 22, halftone image estimation unit 30, and selection circuit 24, and data selection and address sending are controlled at necessary timings.

そのため、このタイミング発生回路25には画像読み取
り部1側から同期クロック、水平有効域信号H−VAL
ID及び垂直有効域信号V−VALIDが供給され、そ
のタイミングに基づいて上述した各種のタイミング信号
が生成される。
Therefore, this timing generation circuit 25 receives a synchronization clock from the image reading section 1 side and a horizontal effective area signal H-VAL.
The ID and vertical valid area signal V-VALID are supplied, and the various timing signals described above are generated based on the timing thereof.

第5図は水平同期信号H−SYNC,水平有効域信号H
−VALID、同期クロック及び画像情報との関係を示
す。すなわち、水平有効域信号H−VALIDの画像デ
ータ有効期間内において、画像情報が同期クロッりに同
期して読み出される。
Figure 5 shows the horizontal synchronization signal H-SYNC and the horizontal effective area signal H.
- Shows the relationship between VALID, synchronization clock, and image information. That is, the image information is read out in synchronization with the synchronous clock within the image data valid period of the horizontal valid area signal H-VALID.

原稿の画像読み取りのスタートと、水平有効域信号H−
VALID及び垂直有効域信号V−VALIDの関係を
第6図に示す。このように画像読み取りがスタートして
から所定の時間が経過したのちに、゛画像の読み取りが
開始される。画像読み取り幅は適用される最大原稿サイ
ズによって決まる。
Start of document image reading and horizontal effective area signal H-
The relationship between VALID and the vertical valid area signal V-VALID is shown in FIG. After a predetermined period of time has elapsed since the start of image reading, ``image reading is started. The image reading width is determined by the maximum document size to be applied.

中間調画像推定部30は次のような処理を行なうために
設けられたものである。つまり、この推定部30は、中
間調レベルを推定する注目画素を含む複数の走査開口を
設定し、特定走査開口内での白若しくは黒画素数を計数
し、この特定走査開口の計数結果に基づいて作成した2
値画像と、この特定走査開口のオリジナル走査開口の2
値画像とを比較判定する。  ″ そして、判定結果が不成立の場合には、各走査開口につ
いて上述した計数及び比較判定を行なうことにより、唯
一の走査開口を決定する。
The halftone image estimation section 30 is provided to perform the following processing. In other words, this estimating unit 30 sets a plurality of scanning apertures including the pixel of interest whose halftone level is to be estimated, counts the number of white or black pixels within a specific scanning aperture, and based on the counting result of this specific scanning aperture. 2 created by
value image and the original scan aperture of this particular scan aperture.
Compare and judge with the value image. '' If the determination result is not established, the only scanning aperture is determined by performing the above-mentioned counting and comparison determination for each scanning aperture.

判定が成立しているときには、各走査開口内の白若しく
は黒画素数が所定の条件を満足するかどうかを判別し、
唯一の走査開口を決定する。
When the determination is true, it is determined whether the number of white or black pixels within each scanning aperture satisfies a predetermined condition;
Determine the unique scanning aperture.

すなわち、中間調画像推定部30は特定の条件にあった
走査開口を決定するための一手段である。
That is, the halftone image estimating section 30 is a means for determining a scanning aperture that meets specific conditions.

そのため、第2図に示すように、この中間調画像推定部
30は、次のような複数の手段で構成される。
Therefore, as shown in FIG. 2, this halftone image estimating section 30 is composed of a plurality of means as described below.

1、複数の走査開口を設定する手段402、中間調画像
レベルを推定する注目画素に各走査開口を設定し、走査
開口内の白若しくは黒画素数を計数する手段50 3、各走査開口ごとに計数された白若しくは黒画素数を
もとに2値画像を作成する手段を有し、走査開口内のオ
リジナルの2値画像と、作成された2値画像とを各走査
開口ごとに濃度パターン比較する手段60及び80 4、各走査開口ごとに計数された白または黒画素数が所
定の条件を満足するかどうかを判別する手段70及び8
0 なお、第2図において、手段40はシフトレジスタで構
成され、手段60は濃度パターン判別回路として構成さ
れ、手段70は条件式から濃度変化の有無を判別する条
件式判定回路として構成きれる。そして、濃度パターン
判別回路60と条件式判定回路70の出力から開口判定
回路80で、唯一の走査開口が選択される。
1. Means 402 for setting a plurality of scanning apertures; Means 50 for setting each scanning aperture to a pixel of interest for estimating the halftone image level, and counting the number of white or black pixels within the scanning aperture 3. For each scanning aperture It has a means for creating a binary image based on the counted number of white or black pixels, and compares the density pattern of the original binary image within the scanning aperture and the created binary image for each scanning aperture. 4. Means 70 and 80 for determining whether the number of white or black pixels counted for each scanning aperture satisfies a predetermined condition.
0. In FIG. 2, the means 40 is constituted by a shift register, the means 60 is constituted as a density pattern determining circuit, and the means 70 is constituted as a conditional expression determining circuit for determining the presence or absence of a density change from a conditional expression. Then, the aperture determination circuit 80 selects the only scanning aperture from the outputs of the density pattern determination circuit 60 and the conditional expression determination circuit 70.

31はパターンの位置情報を出力する回路である。手段
50としてこの例では、白画素数を計数するようになさ
れているが、黒画素数を計数するようにしてもよい。
31 is a circuit that outputs pattern position information. In this example, the means 50 is configured to count the number of white pixels, but it may also be configured to count the number of black pixels.

32は計数された白画素数を保持するためのレジスタを
示し、その出力が乗算器33に供給されて計数された白
画素数に各走査開口のゲインが乗算される。乗算結果の
白画素数が求めようとする中間調画像の推定値として使
用される。
Reference numeral 32 denotes a register for holding the counted number of white pixels, and its output is supplied to a multiplier 33, where the counted number of white pixels is multiplied by the gain of each scanning aperture. The number of white pixels resulting from the multiplication is used as an estimated value of the desired halftone image.

そのため、この中間調画像の推定値を示すデータが選択
回路24に供給され、開口判定回路80から出力された
走査開口選択信号に基づいて、中間調画像の推定値が選
択きれる。例えば、走査開口りが選択されたならば、こ
の走査開口内の白画素数dにゲイン(=4)を掛けた中
間調画像推定値(=4d)が選択されるものである。
Therefore, data indicating the estimated value of the halftone image is supplied to the selection circuit 24, and based on the scanning aperture selection signal output from the aperture determination circuit 80, the estimated value of the halftone image can be selected. For example, if a scanning aperture is selected, a halftone image estimate value (=4d), which is obtained by multiplying the number d of white pixels within this scanning aperture by a gain (=4), is selected.

続いて、これら手段の具体例を説明する。Next, specific examples of these means will be explained.

シフトレジスタ40は第7図に示すように、8人カラッ
チ回路で構成され、これが図示するように9段にわたり
縦続接続されものである。ラッチ回路を9段使用したの
は、このシフトレジスタ40を全ての白画素数計数回路
のシフトレジスタとして共通に使用するようにしたため
である。
As shown in FIG. 7, the shift register 40 is composed of an eight-person Carratch circuit, which is cascaded in nine stages as shown. The reason why nine stages of latch circuits are used is that this shift register 40 is commonly used as a shift register for all the white pixel number counting circuits.

そして、必要な段数にあるラッチ回路の出力を利用して
白画素数が計数される。図は、走査開口Gに対応した計
数回路50gの一例を示す。ここで、走査開口Gは8行
×8列の面積を有するから、この走査開口内の全自画素
数を計数するには、図示するように初段と終段のラッチ
回路41.49の各ラッチ出力が利用される。
Then, the number of white pixels is counted using the outputs of the latch circuits in the required number of stages. The figure shows an example of a counting circuit 50g corresponding to the scanning aperture G. Here, since the scanning aperture G has an area of 8 rows x 8 columns, in order to count the total number of pixels within this scanning aperture, each latch of the first and final stage latch circuits 41 and 49 must be The output is used.

そのため、初段のラッチ回路41のラッチ出力が第1の
計数ROM51に供給きれ、終段のラッチ回路49のラ
ッチ出力が第2の計数ROM52に供給されて、夫々の
ラッチ回路でラッチきれた2値データのうちの白画素数
が計数される。
Therefore, the latch output of the first-stage latch circuit 41 is fully supplied to the first counting ROM 51, and the latch output of the final-stage latch circuit 49 is supplied to the second counting ROM 52, so that the binary values latched by the respective latch circuits are The number of white pixels in the data is counted.

各計数出力r+には減算器53に供給されて、k−rの
演算が行なわれる。そして、 k>rのときには、°“0°“ k<rのときには、°°1°。
Each count output r+ is supplied to a subtracter 53, where the calculation k-r is performed. And when k>r, °"0°" When k<r, °°1°.

となるような減算出力が得られる。You can obtain the subtraction power as follows.

各計数出力r、にはざらに、比較器54に供給きれてそ
の大小関係が比較される。この例では、k>rのときに
は、II O11 k<rのときには、°°1°。
Each count output r is roughly supplied to the comparator 54 and compared in magnitude. In this example, when k>r, II O11 When k<r, °°1°.

のような比較出力が得られる。You will get a comparison output like this.

減算出力及び比較出力は夫々用1及び第2のラッチ回路
55.56に供給されてラッチされると共に、ラッチ回
路55の出力が加減算器58に、第3のラッチ回路57
のラッチ出力と共に供給される。そして、上述の第2の
ラッチ出力が加減算器58にその制御信号として供給さ
れる。この例では、 k>rのときには、減算動作 k<rのときには、加算動作 となるように刺部される。
The subtraction output and the comparison output are supplied to and latched by the first and second latch circuits 55 and 56, respectively, and the output of the latch circuit 55 is supplied to the adder/subtractor 58 and the third latch circuit 57.
is supplied with the latch output. The second latch output described above is then supplied to the adder/subtractor 58 as its control signal. In this example, when k>r, a subtraction operation is performed, and when k<r, an addition operation is performed.

終段に設けられた第3のラッチ回路57のラッチ出力が
走査開口Gにおける白画素数を示すデータとして出力さ
れるものである。
The latch output of the third latch circuit 57 provided at the final stage is output as data indicating the number of white pixels in the scanning aperture G.

続いて、この計数動作を第8図及び第9図を参照して説
明する。
Next, this counting operation will be explained with reference to FIGS. 8 and 9.

まず、第8図に示すようなディザ画像(これは第22図
に示すディザ画像(ハ)と同一)を例示する。シフトレ
ジスタ用のラッチ回路41〜49がOにセットされる。
First, a dithered image as shown in FIG. 8 (which is the same as the dithered image (c) shown in FIG. 22) will be exemplified. Latch circuits 41 to 49 for shift registers are set to O.

そのセット信号をクリヤ信号とする(第9図A、B)。The set signal is used as a clear signal (FIG. 9A, B).

このクリヤ信号はローレベルあるいはその立下りによっ
て全てのラッチ回路41〜49.55〜57が0になる
(同図C〜E)。。
When this clear signal goes low or falls, all latch circuits 41-49, 55-57 become 0 (C-E in the same figure). .

セットされたのち、クリヤ信号はハイレベルとなり、タ
ロツク信号(同図A)に同期した2値データが初段のラ
ッチ回路41に供給きれてラッチされる。第1のラッチ
回路41のラッチデータが第1の計数ROM51に、第
9のラッチ回路49が第2の計数ROM52に夫々入力
される。
After being set, the clear signal becomes high level, and the binary data synchronized with the tarlock signal (A in the figure) is fully supplied to the first stage latch circuit 41 and latched. The latch data of the first latch circuit 41 is input to the first counting ROM 51, and the ninth latch circuit 49 is input to the second counting ROM 52.

計数ROM51.52は共に、2値画像データの情報を
白画素数の数値情報に置き換えるROMである。第8図
から明らかなように、第1の計数ROM51からはに=
4という数値データが出力きれる。第2の計数ROM5
2からの数値データrはOである。
The counting ROMs 51 and 52 are both ROMs that replace information on binary image data with numerical information on the number of white pixels. As is clear from FIG. 8, from the first counting ROM 51 =
The numerical data 4 can be output. Second counting ROM5
The numerical data r from 2 is O.

従って、ラッチ回路55では、k−rの数値データがラ
ッチされる。また、k−r>Oであるから、ラッチ回路
56では、” 1 ” (ハイレベル)がラッチされる
Therefore, the latch circuit 55 latches the k-r numerical data. Further, since k-r>O, the latch circuit 56 latches "1" (high level).

ラッチ回路56の出力が°1°°であることから、加減
算器58は加算器として動作し、従って、第2のクロッ
ク信号が入力すると、ラッチ回路55と57の各ラッチ
出力が加算される。上例では、k=4.r=oであるか
ら、加算出力Xは4となる。
Since the output of the latch circuit 56 is 1°, the adder/subtractor 58 operates as an adder, and therefore, when the second clock signal is input, the latch outputs of the latch circuits 55 and 57 are added. In the above example, k=4. Since r=o, the addition output X is 4.

第8図から明らかなように、第1列目の2値データの白
画素数のトータル値は4であるから、算出された数値デ
ータと一致する。
As is clear from FIG. 8, the total number of white pixels in the binary data in the first column is 4, which matches the calculated numerical data.

第2のクロック信号が得られたタイミングでは、第8図
に示す第2列目の2値データが入力されるので、今度は
に=2、r=oとなる。その結果、第3のクロック信号
によって加減算器58では、(k−r)+x なる演算が実行される。x=4であるから、新たなXは
、x=6となる。
At the timing when the second clock signal is obtained, the binary data in the second column shown in FIG. 8 is input, so that this time, 2=2 and r=o. As a result, the third clock signal causes the adder/subtracter 58 to perform the operation (k-r)+x. Since x=4, the new X becomes x=6.

このような演算の繰り返しによって、走査開口Gの白画
素数が算出される。第10図に各クロックタイミングの
ときのラッチ出力k + r + x及び加減算器58
の動作モードを示す。
By repeating such calculations, the number of white pixels of the scanning aperture G is calculated. FIG. 10 shows the latch output k + r + x and the adder/subtractor 58 at each clock timing.
indicates the operating mode.

これからも明らかなように、9クロツク目で第1から第
8列目の2値データが全てラッチきれたことになり、1
0クロツク目で走査開口G内の白画素数の合計値が求ま
ることになる。第8図の場合では、x=21となる。1
1クロツク目では、走査開口Gが1行2列目に移動した
ときの走査開口内に含まれる白画素数が算出され、上例
では、x=20となる。
As is clear from this, all the binary data in columns 1 to 8 are latched at the 9th clock, and 1
At the 0th clock, the total number of white pixels within the scanning aperture G is determined. In the case of FIG. 8, x=21. 1
At the first clock, the number of white pixels included in the scanning aperture when the scanning aperture G moves to the first row and second column is calculated, and in the above example, x=20.

走査開口E、F用の計数回路50e、50fは、計数回
路50gと同一構成のものが使用される。
The counting circuits 50e and 50f for the scanning apertures E and F have the same configuration as the counting circuit 50g.

これに対して、走査開口り用の計数回路50dは、第1
1図に示すような回路構成のものが使用きれる。つまり
、この場合には、一対の計数ROM51.52と、それ
らの出力を直接演算する加算器59及びその加算出力デ
ータをラッチするラッチ回路57とで構成きれる。これ
は、2列分の2値データの総数を一個の計数ROMで演
算することができるため、減算器53やラッチ回路55
.56が不必要になるからである。
On the other hand, the scanning aperture counting circuit 50d
A circuit configuration as shown in Figure 1 can be used. In other words, in this case, it is composed of a pair of counting ROMs 51 and 52, an adder 59 that directly calculates their outputs, and a latch circuit 57 that latches the added output data. This is because the total number of binary data for two columns can be calculated with one counting ROM, so the subtracter 53 and latch circuit 55
.. This is because 56 becomes unnecessary.

なお、この場合には、第3行目から第6行目までの2値
データが入力された第3から第6のラッチ回路43〜4
6までが使用される。
In this case, the third to sixth latch circuits 43 to 4 to which the binary data from the third row to the sixth row are input.
Up to 6 are used.

第12図は走査開口C用として使用される計数回路50
cの一例を、第13図は走査開口B用として使用される
計数回路50bの一例を、第14図は走査開口A及びZ
用として使用される計数回路50a、50zの一例を夫
々示す。
FIG. 12 shows a counting circuit 50 used for scanning aperture C.
13 shows an example of the counting circuit 50b used for scanning aperture B, and FIG. 14 shows an example of the counting circuit 50b used for scanning apertures A and Z.
Examples of counting circuits 50a and 50z used for this purpose are shown respectively.

使用するシフトレジスタは、走査開口の行数と列数に応
じて適宜選定される。そして、夫々1個の計数ROMと
ラッチ回路とで構成きれる。夫々における白画素数算出
動作は省略する。
The shift register to be used is appropriately selected depending on the number of rows and columns of the scanning aperture. Each of them can be configured with one counting ROM and a latch circuit. The operation of calculating the number of white pixels in each case will be omitted.

以上のようにして算出きれた各走査ROにおける白画素
数のうち、走査開口A−D及びZの各白画素数は濃度パ
ターン判別回路60に供給きれる。
Among the numbers of white pixels in each scan RO that have been calculated as described above, the numbers of white pixels in each of scan openings A-D and Z can be supplied to the density pattern discrimination circuit 60.

走査開口D−Gの白画素数は条件式判定回路7゜に供給
される。
The number of white pixels in the scanning aperture DG is supplied to a conditional expression determination circuit 7°.

濃度パターン判別回路60は濃度パターンROM61 
a〜61 dとパターン判別部65a〜65dとで構成
される(第15図参照)。
The density pattern discrimination circuit 60 has a density pattern ROM 61.
It is composed of a to 61d and pattern discrimination sections 65a to 65d (see FIG. 15).

そして、計数回路50a〜50dの各計数データが、対
応する濃度パターンROM61 a〜Bidの上位のア
ドレスとして供給され、また白画素数計数時の走査開口
の位置情報が下位アドレスとして共通に供給される。 
 − 走査開口りのパターンは16ドツトで構成きれるため、
2行分(2列分でもよい)の濃度パターンデータを格納
した一対のROM62d、63d(第16図参照)が濃
度パターン用ROMとして使用される。
Then, each counting data of the counting circuits 50a to 50d is supplied as the upper address of the corresponding density pattern ROM 61a to Bid, and the position information of the scanning aperture when counting the number of white pixels is commonly supplied as the lower address. .
- Since the scanning aperture pattern can consist of 16 dots,
A pair of ROMs 62d and 63d (see FIG. 16) storing two rows (or two columns) of density pattern data are used as density pattern ROMs.

位置情報とは、第28図(ハ)に示した閾値マトリック
スを決定する情報であり、走査開口の移動に対応してそ
の位置情報が変わる。従って、上位のアドレスによって
第28図(ロ)に示す中間調画像が形成きれ、これとそ
のときの位置情報とによって、第28図(ニ)に示す濃
度パターンに相当する再2値画像データが出力される。
The position information is information for determining the threshold matrix shown in FIG. 28(c), and the position information changes in accordance with the movement of the scanning aperture. Therefore, the halftone image shown in FIG. 28(B) can be formed using the upper address, and the binary image data corresponding to the density pattern shown in FIG. 28(D) can be created using this and the position information at that time. Output.

この再2値画像データと、この再2値画像データが得ら
れたときの濃度パターン情報(第28図(イ)に示す2
値画像データ)がパターン判別部65a〜65dに供給
きれて両者のパターンの一致、不一致が判別される。
This re-binary image data and the density pattern information when this re-binary image data is obtained (the
(value image data) is completely supplied to the pattern determining sections 65a to 65d, and it is determined whether the two patterns match or do not match.

同一パターンであるときは、°゛1°° (ハイレベル
)、そうでないときには、°°0“(ローレベル)が出
力される。
When the patterns are the same, °°1°° (high level) is output; otherwise, °°0'' (low level) is output.

判定に使用する再2値データのROMについて説明する
。濃度パターンの判定方法でも述べたように、白画素数
と位置情報により再2値データが作成される。
The ROM of binary data used for determination will be explained. As described in the density pattern determination method, binary data is created again using the number of white pixels and position information.

開口りを使用したときで、その白画素数dが、d=1で
あるときの出カバターン例を第17図に示す。図示する
ように、白画素数が同一であっても、位置情報によって
出カバターンが相違する。
FIG. 17 shows an example of the output pattern when an aperture is used and the number d of white pixels is d=1. As shown in the figure, even if the number of white pixels is the same, the output pattern differs depending on the position information.

パターンは16通りである。これは走査開口G(8×8
マトリツクス)が基本のマトリックスとなっているから
である。そのため、アドレスは主走査方向における位置
情報を示す2ビツトのデータ(下位ビット)と、同じく
副走査方向の位置情報を示す2ビツトのデータ(上位ビ
ット)とで表わすことができる。
There are 16 patterns. This is the scanning aperture G (8×8
This is because the matrix) is the basic matrix. Therefore, an address can be represented by 2-bit data (lower bits) indicating positional information in the main scanning direction and 2-bit data (upper bits) indicating positional information in the sub-scanning direction.

条件式判定回路70は、上述した条件式(1)〜(5)
を判定する判定回路71〜75を有しく第15図参照)
、夫々には対応する白画素数を示すデータが供給される
The conditional expression determination circuit 70 determines the conditional expressions (1) to (5) described above.
(See FIG. 15)
, are each supplied with data indicating the number of corresponding white pixels.

ここで、条件式(5)を設けたのは、このような条件を
無視した場合、文字画像の推定処理を実行すると、推定
画像中にチリ(白点または黒点となって現れるノイズ)
が発生し、変換画質を損ねることが、諸種の実験によっ
て判明したからである。
The reason why conditional expression (5) is provided here is that if such a condition is ignored, when the character image estimation process is executed, dust (noise that appears as white dots or black dots) will appear in the estimated image.
This is because various experiments have revealed that this occurs, impairing the converted image quality.

判定回路71〜74は同様な構成であるので、条件式(
3)の判定を行なう判定回路73についてのみ、その具
体例を説明する。
Since the determination circuits 71 to 74 have similar configurations, the conditional expression (
A specific example of only the determination circuit 73 that performs the determination in 3) will be described.

条件式(3)を展開すると、次式のようになる・。Expanding conditional expression (3), it becomes as follows.

−1≦2e−g≦1 ・・・・ (6)、’、Cg−1
)/2≦e≦(g+1)/2・・・・ (7) (7)式を用いて、gの値に対するe値を計算すると、
第19図に示すように、gが奇数のときeは2つの値を
とることが判る。そこで、gが奇数のときは対応する2
つの値の判定を行ない、偶数のときは対応する1つの値
を同時に2つを行なうようにする。
-1≦2e-g≦1... (6),',Cg-1
)/2≦e≦(g+1)/2... (7) Using equation (7) to calculate the e value for the value of g,
As shown in FIG. 19, it can be seen that when g is an odd number, e takes on two values. Therefore, when g is an odd number, the corresponding 2
If the number is even, two values are checked at the same time.

そして、第18図に示すように、条件式ROM91と、
一対の判定回路(データ一致検出回路)92.93とで
条件式判定回路71〜74が構成される。
Then, as shown in FIG. 18, the conditional expression ROM91,
A pair of determination circuits (data matching detection circuits) 92 and 93 constitute conditional expression determination circuits 71 to 74.

条件式ROM91の内容の一部を第20図に示す。この
ように、gが奇数であるときには、その入力値に対応し
て大きいデータが出力されるようになされている。走査
開口Gの白画素数が奇数値か、偶数値かによってアドレ
スが変わっているが、これはアドレスを変えることによ
って出力データの内容を確認し易くするためである。
A part of the contents of the conditional expression ROM 91 is shown in FIG. In this way, when g is an odd number, large data is output corresponding to the input value. The address changes depending on whether the number of white pixels of the scanning aperture G is odd or even, and this is to make it easier to confirm the contents of the output data by changing the address.

条件式ROM91の出力は、gが奇数値であるときの判
定回路93に供給され、ここに供給されたeの値とのデ
ータが比較きれる。同様に、gが偶数値のときの判定回
路92が設けられ、ここにgとeが供給される。
The output of the conditional expression ROM 91 is supplied to a determination circuit 93 when g is an odd value, and the data can be compared with the value of e supplied here. Similarly, a determination circuit 92 for when g is an even value is provided, and g and e are supplied thereto.

開口Gの白画素数gは7ピツト構成であり、その最下位
ビットgoが条件式ROM91の最上位アドレス端子A
6に入力され、最下位ビットを除く残りの6ビツトg1
〜g6は夫々対応するアドレス端子AO〜A5に入力さ
れる。これに対して、開口Eの白画素数eは6ビツト構
成であり、その最下位ビットから順に判定回路92.9
3の対応するアドレス端子に供給されることになる。従
って、条件式ROM91の出力は6ビツト構成である。
The number g of white pixels of the aperture G is composed of 7 pits, and the least significant bit go is the most significant address terminal A of the conditional expression ROM91.
6 and the remaining 6 bits excluding the least significant bit g1
~g6 are input to corresponding address terminals AO~A5, respectively. On the other hand, the number e of white pixels of the aperture E has a 6-bit configuration, and the determination circuit 92.9
3 to the corresponding address terminals. Therefore, the output of the conditional expression ROM 91 has a 6-bit configuration.

このことから、偶数値判定回路92では、開口Gの白画
素数gのうちで最下位ビットを除いたビット同士で判定
が実行きれることになる。
From this, the even value determination circuit 92 can perform determination on the bits of the number g of white pixels of the aperture G excluding the least significant bit.

各判定で成立時は、°°1°゛、不成立時は、゛°0°
゛が出力される。
If each judgment is true, °°1°゛; if not, °°0°
゛ is output.

具体例を次に示そう。Let's look at a specific example below.

(1)g=o、e=1のとき ROM91からはOが出力され、これとeとの判定が実
行される。結果は不成立(°°0°゛)である。
(1) When g=o and e=1, O is output from the ROM 91, and a determination is made between this and e. The result is not true (°°0°゛).

判定回路92では、gの最下位ビットは無視されるので
、g=0である。その結果、不成立(°0°゛)である
。従って、最終的には、不成立となり、計算結果に一致
する。
In the determination circuit 92, the least significant bit of g is ignored, so g=0. As a result, it is not true (°0°゛). Therefore, in the end, it does not hold, and it agrees with the calculation result.

(2)g=1.e=1のとき ROM91からは1が出力され、これとeとの判定が実
行される。結果は成立 (°°1°°)である。
(2) g=1. When e=1, 1 is output from the ROM 91, and a determination is made between this and e. The result is valid (°°1°°).

判定回路92では、gの最下位ピットは無視されるので
、g=Oである。その結果、不成立(0°“)である。
In the determination circuit 92, the lowest pit of g is ignored, so g=O. As a result, it is not established (0°").

従って、最終的には、成立することになり、計算結果に
一致する。
Therefore, in the end, it holds true and agrees with the calculation result.

その他の条件式についても同様である。夫々のROMに
は、e+f+gの各自画素数が供給される。
The same applies to other conditional expressions. Each ROM is supplied with the number of pixels of e+f+g.

なお、夫々に使用されるROMを共通に使用するには、
条件式(4)は上述と同一の構成でよく、条件式(1)
と(2)の場合には、詳細な説明は割愛するものの、ア
ドレス端子A5をローレベルとすればよい。
In addition, in order to use the ROM used in each,
Conditional expression (4) may have the same structure as above, and conditional expression (1)
In the case of (2), the address terminal A5 may be set to a low level, although a detailed explanation will be omitted.

第21図は条件式(5)を実現するための構成例を示す
。すなわち、図示のように、d=Oを判定する判定回路
96と、d=16を判定する判定回路97とオア(OR
)回路98とで構成され、d=o若しくはd=16のと
きには、オア出力が“°1゛となる。
FIG. 21 shows a configuration example for realizing conditional expression (5). That is, as shown in the figure, a determination circuit 96 that determines d=O, a determination circuit 97 that determines d=16, and an OR (OR)
) circuit 98, and when d=o or d=16, the OR output becomes "°1".

濃度パターン判別回路60及び条件式判定回路70の各
出力は開口判定回路80に供給されて、唯一の走査開口
が選択される。選択条件は、上述した通りである。
The outputs of the density pattern determination circuit 60 and the conditional expression determination circuit 70 are supplied to an aperture determination circuit 80, and a unique scanning aperture is selected. The selection conditions are as described above.

開口選択データは3ビツトのデータであり、これが第2
図に示す選択回路24に供給きれる。この選択回路24
には次のようなデータが供給される。
The aperture selection data is 3-bit data, which is the second
It can be supplied to the selection circuit 24 shown in the figure. This selection circuit 24
is supplied with the following data:

すなわち、計数手段50の各計数データがレジスタ32
を介して乗算器33に供給されて、各走査開口の白画素
数a”g、zに夫々のゲインを掛けた値が演算きれる。
That is, each count data of the counting means 50 is stored in the register 32.
are supplied to the multiplier 33 via the multiplier 33, and a value obtained by multiplying the number of white pixels a''g and z of each scanning aperture by the respective gain can be calculated.

ゲインが特徴的な数値1゜2.4,8,16.64であ
ることから、2進数の特徴を生かして、シフト配線を行
なって(従って、乗算器を使用しないで)選択回路24
にデータを送るようにしてもよい。
Since the gain is a characteristic value of 1°2.4, 8, 16.64, the selection circuit 24 is constructed by making use of the characteristics of binary numbers and performing shift wiring (therefore, without using a multiplier).
You may also send data to

乗算器33からは、1g〜64zのデータ、すなわち中
間調画像データ(推定された中間調レベル)が出力きれ
、これらが選択回路24に供給される。選択回路24で
は、上述の開口選択データによって唯一の中間調画像デ
ータが選択きれる。
The multiplier 33 outputs data 1g to 64z, that is, halftone image data (estimated halftone level), and supplies these to the selection circuit 24. In the selection circuit 24, only one halftone image data can be selected based on the aperture selection data described above.

このような処理動作は推定する注目画素ごとに実行され
るものであって、第22図(ハ)に示すディザ画像の場
合、どのような開口を選択し、そのときの推定中間調画
像がどのようになるかは、第33図に示した通りである
Such processing operations are performed for each pixel of interest to be estimated, and in the case of the dithered image shown in FIG. This is as shown in FIG. 33.

なお、上述したディザ画像はランダムディザや条件付デ
ィザよりも最大面積の走査開口に閾値が1つずつ入るよ
うに、組織的ディザ法によるディザ画像が好ましく、ま
た最小面積の走査開口にも閾値が均等に入るような分散
形ディザ画像が好ましい。分散形ディザ画像でも完全に
閾値が分散したベイヤ型ディザ画像が特に好ましい。
Note that for the dithered image described above, it is preferable to use a dithered image using a systematic dithering method so that one threshold value is included in each scanning aperture with the largest area than with random dithering or conditional dithering, and a threshold value is also set in the scanning aperture with the smallest area. A distributed dithered image that is evenly spaced is preferred. Even among distributed dithered images, a Bayer type dithered image in which the threshold values are completely distributed is particularly preferable.

また、単純閾値によって2値化された文字、線画におい
ても、上述した中間調画像復元手段を採用すれば、元の
中間調画像に近い中間調画像を推定することができる。
Further, even for characters and line drawings that have been binarized using a simple threshold, if the above-mentioned halftone image restoration means is employed, a halftone image close to the original halftone image can be estimated.

また、上述した実施例では、計数回路50においてディ
ザ画像中の白画素数を計数するようにしているが、黒画
素数を計数してもよい。複数種の走査開口の形状及び開
口面積は一例に過ぎない。
Further, in the above embodiment, the counting circuit 50 counts the number of white pixels in the dithered image, but the number of black pixels may also be counted. The shapes and aperture areas of the plurality of types of scanning apertures are merely examples.

なお、上述したディザ画像はランダムディザや条件付デ
ィザよりも最大面積の走査開口に閾値が1つずつはいる
ように、組織的ディザ法によるディザ画像が好ましく、
完全に閾値が分散したベイヤー型ディザ画像が特に好ま
しい。
Note that the dithered image described above is preferably a dithered image based on a systematic dithering method so that one threshold value is included in each scanning aperture with the maximum area, rather than random dithering or conditional dithering.
Particularly preferred is a Bayer dithered image with fully distributed thresholds.

上述した説明においては、中間調画像を推定するのに、
走査開口内の白画像数をカウントした場合を例示した。
In the above explanation, in order to estimate a halftone image,
An example is shown in which the number of white images within the scanning aperture is counted.

しかし、この発明はこれに限るものではなく、黒画素数
をカウントして求めてもよい。
However, the present invention is not limited to this, and may be determined by counting the number of black pixels.

ざらに、走査開口の種類及び大きざは上側に限定きれる
ものではない。
In general, the type and size of the scanning aperture are not limited to the upper side.

[発明の効果] 以上説明したように、この発明に係る画像推定装置よれ
ば、開口面積の異なる複数種の走査開口を用意すると共
に、濃度パターン判別回路と条件式判定回路とを画像の
空間周波数成分に応じて選択するように構成したもので
ある。すなわち、低空間周波数領域においては大きな走
査開口を用いて高い階調表現を行ない、高空間周波数領
域においては小ざな走査開口を用いて高い解像力の画像
を再現するようにしたものである。これによれば、いま
までよりも更によい中間調画像の推定を行なうことがで
きる。
[Effects of the Invention] As explained above, according to the image estimation device according to the present invention, a plurality of types of scanning apertures having different aperture areas are prepared, and the density pattern discriminating circuit and the conditional expression discriminating circuit are It is configured to select according to the component. That is, in the low spatial frequency region, a large scanning aperture is used to express high gradation, and in the high spatial frequency region, a small scanning aperture is used to reproduce an image with high resolution. According to this, a halftone image can be estimated even better than before.

すなわち、人間の画素レベル階調判別能力を考慮して中
間調画像を作成するようにしたので、元の中間調画像に
近い中間調画像を得ることができる。
That is, since the halftone image is created taking into consideration the human pixel level gradation discrimination ability, it is possible to obtain a halftone image that is close to the original halftone image.

この中間調画像を利用することによって、階調変換、拡
大・縮小などの種々の画像処理を行なうことができる。
By using this halftone image, various image processing such as gradation conversion, enlargement/reduction, etc. can be performed.

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

第1図はこの発明に係る画像推定装置として機能する中
間調画像復元手段のブロック図、第2図は中間調画像推
定部の具体例を示すブロック図、第3図は画像処理装置
の概要を示すブロック図、第4図は画像処理システムの
ブロック図、第5図及び第6図は夫々画像読み取り動作
の説明に供するタイムチャート、第7図は白画素数計数
回路の具体例を示すブロック図、第8図はその動作説明
に使用するディザ画像の図、第9図はそのときのタイム
チャート、第10図はクロック信号とラッチデータ及び
加減算処理動作との関係を示す図、第11図〜第14図
は夫々他の白画素数の計数回路の一例を示すブロック図
、第15図は濃度パターン判別回路及び条件式判定回路
のブロック図、第16図は濃度パターンROMのブロッ
ク図、第17図は出力濃度パターンの一例を示す図、第
18図は条件式判定回路のブロック図、第19図は白画
素数gとeとの関係を示す図、第20図は条件式ROM
の内容を示す図、第21図は他の条件式判定回路の一例
を示すブロック図、第22図はオリジナル中間調画像か
らディザ画像を作成する場合の説明図、第23図は使用
する走査開口の一例を示す図、第24図は開口を固定し
たときに得られる中間調画像の推定値を示す図、第25
図は従来の中間調画像推定操作の一例を示すフローチャ
ート、第26図はディザ画像に対する走査開口の位置関
係を示す図、第27図はこの発明の画像推定操作の一例
を示すフローチャート、第28図は中間調画像推定方法
の説明に供する図、第29図はそのときの開口選択順序
の説明図、第30図は第27図と同様な説明図、第31
図はこの発明において使用する開口選択のための条件式
を示す図、第32図はこの発明に係る開口選択の一例を
示すフローチャート、第33図はこの発明の方法によっ
て得られた中間調画像の一例を示す図及びそのときに使
用した開口の選択例を示す図、第34図はそのときに使
用した真理値表を示す図、第35図はz値化法の説明図
である。 2・・・中間調画像復元手段 3・・・画像処理手段 4・・・2値化手段 22・・・ラインメモリ部 24・・・選択回路 30・・・中間調画像推定部 40・・・シフトレジスタ 50・・・自画素数計数回路 60・・・濃度パターン判別回路 70・・・条件式判定回路 80・・・開口判定回路 特許出願人  小西六写真工業株式会社く 〉14図 )二ソフトレジ又ケ ラ     ラ     ラ     ラ     ラ
チ    チ    チ    テ    チ    
   8フィン回  口  回  口  口 給 −−”  −J 第20図 第19図 o   ooooooo      o    ooo
o   o。 19  1001001    10   0049 
 0A20  0001010    10    0
00A   0A21   1001010    1
1    004A   0B22  0001011
    11    000B   0B23   1
001011    12    004B   QC
24000110012000CQC 25100110013004C0D 26  0001101    13   000D 
  0D27   1001101    14   
 004D   0E28  0001110    
14    000E   0E29   10011
10    15    004E   0F30  
0001111    15    000F   0
F31   1001111    16    00
4F    10C’JO寸N−■の− の−■ 寸F+■ 第 23図 査開口例 第 (イ)開口Z 064 064 064 0 0 0    1616
16:064 0646464 06464   32
3248f64 0646464 064 064  
 484864 f64 064 064 064 0
64   484848:(ニ)開口C 161616323224161624161624:
242432484032242432   2428
39 :484848565648404848   
444852 !56565656564840484
8    525656 !565648485648
404848    525252 !4848484
04040404040 、  484844−(ト)
開口F 222428283026242424    272
626 :283034343632302828  
  333232 :343640404036343
232    383837 :4648484846
44444240    474746 。 24図 (ロ)開口A                   
   (ハ)開口B544832324848    
32.4048484840404040(ホ)開口D
                     (へ)開
口E364032282828    ’ 32323
2303232343230(チ)開口G LO4140403936 [64645434239 [54342393937 第29 C 開口選択順の 図 第33 (イ) ” 54 54 56 56 58 ・   52 52 50 50 56(ロ) DCBC DCAC BAAC AZCC BBCC EDDC EEEC FCBB F   E   BCG 図 BCC ZAA AZZ CCC C’BEE BEE CFE CGC EGB 久方データ  閾値マトリツ 画素 35図 クス             出力データ手続補正書 昭和62年 4月20日
FIG. 1 is a block diagram of a halftone image restoring means that functions as an image estimation device according to the present invention, FIG. 2 is a block diagram showing a specific example of a halftone image estimation section, and FIG. 3 is an overview of the image processing device. 4 is a block diagram of the image processing system, FIGS. 5 and 6 are time charts for explaining the image reading operation, and FIG. 7 is a block diagram showing a specific example of a white pixel number counting circuit. , FIG. 8 is a diagram of a dither image used to explain the operation, FIG. 9 is a time chart at that time, FIG. 10 is a diagram showing the relationship between the clock signal, latch data, and addition/subtraction processing operations, and FIGS. FIG. 14 is a block diagram showing an example of another counting circuit for the number of white pixels, FIG. 15 is a block diagram of a density pattern discrimination circuit and a conditional expression determination circuit, FIG. 16 is a block diagram of a density pattern ROM, and FIG. The figure shows an example of the output density pattern, Figure 18 is a block diagram of the conditional expression determination circuit, Figure 19 is a diagram showing the relationship between the number of white pixels g and e, and Figure 20 is the conditional expression ROM.
21 is a block diagram showing an example of another conditional expression determination circuit, FIG. 22 is an explanatory diagram for creating a dither image from an original halftone image, and FIG. 23 shows the scanning aperture used. FIG. 24 is a diagram showing an example of the halftone image obtained when the aperture is fixed, and FIG.
26 is a flowchart showing an example of a conventional halftone image estimation operation, FIG. 26 is a diagram showing the positional relationship of a scanning aperture with respect to a dithered image, FIG. 27 is a flowchart showing an example of an image estimation operation of the present invention, and FIG. is a diagram for explaining the halftone image estimation method, FIG. 29 is an explanatory diagram of the aperture selection order at that time, FIG. 30 is an explanatory diagram similar to FIG. 27, and FIG.
32 is a flowchart showing an example of aperture selection according to the present invention, and FIG. 33 is a diagram showing a conditional expression for aperture selection used in the present invention. A diagram showing an example and a selection example of the aperture used at that time, FIG. 34 is a diagram showing a truth table used at that time, and FIG. 35 is an explanatory diagram of the z-value conversion method. 2...Halftone image restoring means 3...Image processing means 4...Binarization means 22...Line memory section 24...Selection circuit 30...Halftone image estimation section 40... Shift register 50...Self-pixel number counting circuit 60...Density pattern discrimination circuit 70...Conditional expression judgment circuit 80...Aperture judgment circuit Patent applicant Konishi Roku Photo Industry Co., Ltd. Figure 14) Two software Regimata kerala la la la lachi chi chi te chi
8 fin times mouth times mouth mouth feeding--” -J Figure 20 Figure 19 o ooooooo o ooo
o o. 19 1001001 10 0049
0A20 0001010 10 0
00A 0A21 1001010 1
1 004A 0B22 0001011
11 000B 0B23 1
001011 12 004B QC
24000110012000CQC 25100110013004C0D 26 0001101 13 000D
0D27 1001101 14
004D 0E28 0001110
14 000E 0E29 10011
10 15 004E 0F30
0001111 15 000F 0
F31 1001111 16 00
4F 10C'JO size N-■ -■ Dimension F+■ 23rd drawing Opening example No. (A) Opening Z 064 064 064 0 0 0 1616
16:064 0646464 06464 32
3248f64 0646464 064 064
484864 f64 064 064 064 0
64 484848: (d) Opening C 161616323224161624161624:
242432484032242432 2428
39:484848565648404848
444852! 56565656564840484
8 525656! 565648485648
404848 525252! 4848484
04040404040, 484844-(g)
Opening F 222428283026242424 272
626:283034343632302828
333232:343640404036343
232 383837 :4648484846
44444240 474746. Figure 24 (b) Opening A
(c) Opening B544832324848
32.4048484840404040 (E) Opening D
(to) Opening E364032282828' 32323
2303232343230 (H) Aperture G LO4140403936 [64645434239 [54342393937 29th C Diagram of opening selection order No. 33 (A) ” 54 54 56 56 58 ・ 52 52 50 50 56 (B) DCBC DCAC BAAC AZCC BBCC EDDC EEEC FCBB F E BCG Figure BCC ZAA AZZ CCC C'BEE BEE CFE CGC EGB Kugata data Threshold matrix pixel 35 diagram Output data procedure amendment document April 20, 1988

Claims (5)

【特許請求の範囲】[Claims] (1)白画素と黒画素からなる2値画像から中間調レベ
ルを推定する画像推定装置において、中間調レベルを推
定する注目画素を含む複数の走査開口を設定するための
複数のラインメモリと、各走査開口内での白若しくは黒
画素数を計数する計数回路と、 この各走査開口の計数結果に基づいて作成した2値画像
と上記走査開口内のオリジナル2値画像を比較する濃度
パターン判別回路と、 各走査開口内の白若しくは黒画素数が所定の条件を満足
するかどうかを判別する条件式判定回路と、 上記濃度パターン判別回路及び条件式判定回路からの出
力から唯一の走査開口を決定する開口判定回路とを有し
、 決定されたこの走査開口内の白若しくは黒画素数に基づ
いて注目画素の中間調レベルが算出されるようになされ
たことをことを特徴とする画像推定装置。
(1) In an image estimation device that estimates a halftone level from a binary image consisting of white pixels and black pixels, a plurality of line memories for setting a plurality of scanning apertures including a pixel of interest whose halftone level is to be estimated; A counting circuit that counts the number of white or black pixels within each scanning aperture, and a density pattern discrimination circuit that compares the binary image created based on the counting results of each scanning aperture with the original binary image within the scanning aperture. , a conditional expression determination circuit that determines whether the number of white or black pixels in each scanning aperture satisfies a predetermined condition, and a unique scanning aperture determined from the outputs from the density pattern determination circuit and the conditional expression determination circuit. An image estimating device comprising: an aperture determination circuit that calculates a halftone level of a pixel of interest based on the determined number of white or black pixels within the scanning aperture.
(2)上記2値画像がディザ画像であることを特徴とす
る特許請求の範囲第1項記載の画像推定装置。
(2) The image estimation device according to claim 1, wherein the binary image is a dithered image.
(3)上記ディザ画像が組織的ディザ画像であることを
特徴とする特許請求の範囲第2項記載の画像推定装置。
(3) The image estimation device according to claim 2, wherein the dithered image is a systematic dithered image.
(4)上記組織的ディザ画像がドット分散型ディザ画像
であることを特徴とする特許請求の範囲第3項記載の画
像推定装置。
(4) The image estimation device according to claim 3, wherein the systematic dither image is a dot-dispersed dither image.
(5)上記ドット分散型ディザ画像がベイヤ型ディザ画
像であることを特徴とする特許請求の範囲第4項記載の
画像推定装置。
(5) The image estimation device according to claim 4, wherein the dot-dispersed dithered image is a Bayer dithered image.
JP62068389A 1987-03-23 1987-03-23 Picture estimate device Pending JPS63234672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62068389A JPS63234672A (en) 1987-03-23 1987-03-23 Picture estimate device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62068389A JPS63234672A (en) 1987-03-23 1987-03-23 Picture estimate device

Publications (1)

Publication Number Publication Date
JPS63234672A true JPS63234672A (en) 1988-09-29

Family

ID=13372309

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62068389A Pending JPS63234672A (en) 1987-03-23 1987-03-23 Picture estimate device

Country Status (1)

Country Link
JP (1) JPS63234672A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6147771A (en) * 1997-04-24 2000-11-14 Konica Corporation Method of image density adjustment and apparatus using the method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6147771A (en) * 1997-04-24 2000-11-14 Konica Corporation Method of image density adjustment and apparatus using the method

Similar Documents

Publication Publication Date Title
JPS63126073A (en) Method for estimating image
JP2967014B2 (en) Image processing device
JPH11187264A (en) Method and device for processing image
JP3749282B2 (en) Image processing device
JPS63234672A (en) Picture estimate device
JPS63296176A (en) Image estimating device
JPS63290072A (en) Picture estimating device
JP3461247B2 (en) Image processing apparatus and image processing method
JPH05136995A (en) Simple binary-coding and false halftone mixture processing method and device for image data
JPH0799543B2 (en) Image processing device
JPS6359272A (en) Picture processor
JP3058076B2 (en) Gradation processing method
JPH0453352B2 (en)
JP3428822B2 (en) Image processing apparatus and image processing method
JPS62118484A (en) Picture processing method
JPH01173973A (en) Gradation correcting device
JP2934971B2 (en) Image binarization processing device
JPH0638038A (en) Smoothing processing method for binary image
JPH0624006B2 (en) Image processing device
JPH06113125A (en) Picture processor
JPH02252359A (en) Half tone picture estimating method
JPS62117469A (en) Image processor
JPH02252360A (en) Half tone picture estimating method
JPH03117269A (en) Halftone picture estimation device
JPS62118483A (en) Picture processing method