JPH02272877A - Half tone picture estimating device - Google Patents

Half tone picture estimating device

Info

Publication number
JPH02272877A
JPH02272877A JP1093864A JP9386489A JPH02272877A JP H02272877 A JPH02272877 A JP H02272877A JP 1093864 A JP1093864 A JP 1093864A JP 9386489 A JP9386489 A JP 9386489A JP H02272877 A JPH02272877 A JP H02272877A
Authority
JP
Japan
Prior art keywords
circuit
output
conditional expression
image
supplied
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
JP1093864A
Other languages
Japanese (ja)
Inventor
Takashi Hasebe
孝 長谷部
Yoshinori Abe
阿部 喜則
Seiichiro Hiratsuka
平塚 誠一郎
Masahiko Matsunawa
松縄 正彦
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 JP1093864A priority Critical patent/JPH02272877A/en
Publication of JPH02272877A publication Critical patent/JPH02272877A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To attain the reduction of cost by constituting a conditional expression decision circuit of an arithmetic circuit to compute two outputs and a pair of comparison circuits to which the computed output of the above-mentioned circuit is supplied. CONSTITUTION:In the case where a conditional expression ¦2e-g¦<=1 is decided when the total value of binary picture element level in each scanning opening is made (d) to (g) respectively, the subtraction processing of the expression 2e-g=p is executed by the arithmetic circuit 95. A signal corresponding to a constant '1' is supplied to the comparison circuit 96 as a reference signal, and the signal corresponding to the constant a-1' is supplied to the comparison circuit 97 of the other side, and they are level-compared with subtracted output (p) in the respective circuits. Then, the compared output Ca of '1' is obtained from the comparison circuit 96, and the compared output Cb of '-1' is obtained from the comparison circuit 97. Accordingly, if they are made to pass through an AND circuit 98, the decided output of the conditional expression can be obtained. Thus, the conditional expression decision circuit can be realized through simple arithmetic processing, and the reduction of the cost can be attained.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、例えば中間調表示された2値画像からオリ
ジナルの中間調画像を良好に推定できるようにした中間
調画像推定装置に関し、特にこれに使用される走査開口
選択のための回路構成を前素化したものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a halftone image estimating device that can satisfactorily estimate an original halftone image from, for example, a halftone displayed binary image, and particularly relates to This is a pre-elementized circuit configuration for scanning aperture selection used in .

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

このような出力装置を用いて擬似的に中間調画像を表現
する方法として面積階調法の一種であるディザ法が知ら
れている。
A dither method, which is a type of area gradation method, is known as a method for expressing a halftone image in a pseudo manner using such an output device.

ディザ法とは第7図に示すように、オリジナル中間調画
像(同図(イ))に対して、同図(ロ)のような所定の
閾値と大きざ(8X8画素程度)を有する閾値マトリッ
クス(本例では、ベイヤ(Bayar)型ディザマトリ
ックス)を用いて2値化して、同図(ハ)のような擬似
中間調画像であるディザ画像を作成するようにしたもの
である。
As shown in Figure 7, the dithering method is based on a threshold matrix having a predetermined threshold value and size (approximately 8x8 pixels) as shown in Figure 7 (B) for the original halftone image (Figure 7 (A)). (In this example, a Bayer type dither matrix) is used to perform binarization to create a dithered image which is a pseudo halftone image as shown in FIG.

このようなディザ画像からオリジナルの中間調画像を推
定できれば、推定した中間調画像に基づいて種々のデー
タ処理を行なうことができ、画像変換にも自由度を持た
せることができるようになって都合がよい。
If it is possible to estimate the original halftone image from such a dithered image, it is possible to perform various data processing based on the estimated halftone image, and it is possible to have a degree of freedom in image conversion, which is convenient. Good.

ディザ画像から中間調画像を推定するには、所定の大き
さのマトリックス(以下走査開口という)を用意し、こ
の走査開口内に存在する白若しくは黒の画素数と、所定
の要件(後述する)を満たすことを条件として、注目す
べき画素の中間調レベルを推定し、これを各画素ごとに
順次実行する。
To estimate a halftone image from a dithered image, a matrix of a predetermined size (hereinafter referred to as a scanning aperture) is prepared, and the number of white or black pixels existing within this scanning aperture and predetermined requirements (described later) are determined. Under the condition that the condition is satisfied, the halftone level of the pixel of interest is estimated, and this is sequentially executed for each pixel.

その際、走査開口を行及び列方向に1画素ずつ移動きせ
て推定し、これを最後の画素まで実行してオリジナルの
中間調画像に対する擬似中間調画像を推定する。
At this time, the scanning aperture is estimated by moving one pixel at a time in the row and column directions, and this is executed up to the last pixel to estimate a pseudo halftone image for the original halftone image.

このように走査開口を用いて中間調画像を推定する場合
、同一面積の走査開口を用いるよりは、開口面積の異な
る複数の走査開口を予め用意しておき、元となるディザ
画像の周波数特性に応じて最も適した開口面積の走査開
口を選択し、その画素の中間調画像(中間調レベル)を
推定した方がオリジナルの中間調画像により近い中間調
画像を推定できる。
When estimating a halftone image using a scanning aperture in this way, rather than using scanning apertures with the same area, it is better to prepare multiple scanning apertures with different aperture areas in advance and adjust the frequency characteristics of the original dithered image. It is possible to estimate a halftone image closer to the original halftone image by selecting the scanning aperture with the most suitable aperture area and estimating the halftone image (halftone level) of that pixel.

これは、低空間周波数領域(画素レベル変化が少ない領
域)においては高い画素レベル階調判別能力を持ち、高
空間周波数領域(画素レベル変化か多い領域)において
は、低い画素レベル階調判別能力しかないという人間の
視覚特性を巧みに利用したもので、低空間周波数領域で
は大きな走査開口を用い、高空間周波数領域においては
小きな走査開口を用いるように走査開口が選択される。
This has a high pixel level gradation discrimination ability in the low spatial frequency region (region with few pixel level changes), but only a low pixel level gradation discrimination ability in the high spatial frequency region (region with many pixel level changes). The scan aperture is selected to use a large scan aperture in low spatial frequency regions and a small scan aperture in high spatial frequency regions.

このような原理に基づいて中間調画像を推定する具体例
は、本出願人が既に提案しているので(例えば、特開昭
63−267571号公報など)、その詳細な説明は省
略するが、走査開口としては、第8図のように8種類の
開口面積を持つ走査開口A−G及び2が使用される。
A specific example of estimating a halftone image based on such a principle has already been proposed by the applicant (for example, in Japanese Patent Laid-Open No. 63-267571, etc.), so a detailed explanation thereof will be omitted. As the scanning apertures, scanning apertures A to G and 2 having eight different aperture areas as shown in FIG. 8 are used.

A−Zの各走査開口中に示した黒丸は、第7図(ハ)の
ディザ画像上を移動させるときの移動中心である。走査
開口Zは移動中心に対して左上の画素に選定されている
が、左下、右上あるいは右下の何れの位置に選定しても
よい。このように走査開口の位置を特定することによっ
て、推定画素位置も特定される。
The black circles shown in each scanning aperture from A to Z are the centers of movement when moving on the dithered image in FIG. 7(C). Although the scanning aperture Z is selected at the upper left pixel with respect to the center of movement, it may be selected at any position at the lower left, upper right, or lower right. By specifying the position of the scanning aperture in this manner, the estimated pixel position is also specified.

このような走査開口を使用して第7図(ハ)のディザ画
(虫から中間調画像を推定すると、第9図(イ)のよう
な中間調画像が得られる。これは、第7図(イ)に示し
たオリジナルの中間調画像に非常に近くなる。
If a halftone image is estimated from the dithered image (insect) in FIG. 7(c) using such a scanning aperture, a halftone image as shown in FIG. 9(a) will be obtained. The result is very close to the original halftone image shown in (a).

第9図(イ)の中間調画像を推定するときに使用した各
画素に関する走査開口を示すと、同図(ロ)のようにな
る。1行1列の画素は走査開口D、1行2列の画素は走
査開口り、1行3列の画素は走査開口Cが夫々使用され
るごとくである。
The scanning aperture for each pixel used when estimating the halftone image in FIG. 9(A) is shown in FIG. 9(B). The pixel in the 1st row and 1st column uses the scanning aperture D, the pixel in the 1st row and 2nd column uses the scanning aperture, and the pixel in the 1st row and 3rd column uses the scanning aperture C.

走査開口を選択する際の基準となるのは、選択された走
査開口内での画素レベルに変化がないという条件であっ
て、これについては先に示した公報に詳しく開示されて
いるが、再掲すると以下のような式となる。
The criterion for selecting a scanning aperture is the condition that there is no change in the pixel level within the selected scanning aperture. Then, the formula becomes as follows.

ここでは、各走査量ロD−G内の2値画素しへルの合計
値をそれぞれ、d ””= gとする。
Here, it is assumed that the total value of the binary pixels in each scanning amount DG-G is d""=g.

2d−el≦1  −−−(1) 2d−f l≦1  ・・・ (2) 2e−gl≦1  ・・・ (3) 2f−gl≦1  ・・・ (4) d=o又はd=16 ・・・ (5) これら各条件を満足している場合を○、満足していない
場合をXとして、各条件に応じて用いるべき走査開口は
第10図のように定められている。
2d-el≦1 ---(1) 2d-fl≦1 ... (2) 2e-gl≦1 ... (3) 2f-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. 10, with ○ indicating that each of these conditions is satisfied and X indicating that they are not satisfied.

図中の*印は、Oあるいは×を示している。The * mark in the figure indicates O or ×.

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

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

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

(1)〜〈4)式全てを満足する場合には、開口Gが選
択される。
When all formulas (1) to (4) are satisfied, the aperture 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).

ざて、上述した条件式において、例えば(3)式を展開
すると、 一1≦2e−g≦1  ・・・ (6)、’−Cg−1
)/2≦e≦(g+1)/2・・・ (7) (7)式を用いて、gの値に対するe値を計算すると、
第11図に示すように、gが奇数のと?eは2つの値を
とることが判る。そこで、gが奇数のととは対応する2
つの値の判定を行ない、偶数のときは対応する1つの値
を同時に2つの値で判定する。
Now, in the conditional expression mentioned above, for example, when formula (3) is expanded, -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 Figure 11, when g is an odd number? It can be seen that e takes on two values. Therefore, when g is an odd number, the corresponding 2
If the number is even, one corresponding value is determined as two values at the same time.

そのため、条件式判定回路70は第12図に示すように
、条件式ROM91と、一対の判定回路(データ一致検
出回路)92.93と、オア回路94とで構成される。
Therefore, as shown in FIG. 12, the conditional expression determination circuit 70 is composed of a conditional expression ROM 91, a pair of determination circuits (data coincidence detection circuits) 92 and 93, and an OR circuit 94.

条件式ROM91の内容の一部を第13図に示す。この
ように、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.

条件式ROM91の出力は、gが奇数値であるときの判
定回路93に供給され、ここに供給されたeの値とのデ
ータが比較される。同様に、gが偶数値のときの判定回
路92が設けられ、ここに8と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 is compared with the value of e supplied here. Similarly, a determination circuit 92 for when g is an even value is provided, and 8 and e are supplied thereto.

各判定で成立時は、°1°°、不成立時は、”0゛が出
力される。
When each determination is satisfied, 1° is output, and when it is not established, 0 is output.

[発明が解決しようとする課題] このように、従来では夫々の条件式判定回路に条件式R
OMか使用されるため、コストアップをもたらしていた
[Problems to be Solved by the Invention] In this way, in the past, each conditional expression judgment circuit has a conditional expression R.
Since OM was used, the cost increased.

そこで、この発明ではこのような点を考慮したもので、
条件式判定回路を簡素化してコストダウンを図れるよう
にしたものである。
Therefore, this invention takes these points into consideration,
The conditional expression determination circuit is simplified to reduce costs.

[課題を解決するための手段] 上述の課題を1解決するために、この発明においては、
開口面積の異なる複数の走査開口を所定の条件式にした
がって選択して、ディザ画像などのn値画像(n≧2)
よりオリジナル中間調画像を推定する中間調画像推定装
置において、走査開口選択のための複数の条件式判定回
路が設けられ、 夫々の条件式判定回路は、2入力を演算する演算回路と
、その演算出力が供給される一対の比較回路とを有し、 夫々の比較回路には条件式の定数に関連した基準信号が
供給され、上記比較出力に基づいて判定出力が出力され
るようになされたことを特(数とする乙のである。
[Means for Solving the Problems] In order to solve one of the above problems, in this invention,
Multiple scanning apertures with different aperture areas are selected according to a predetermined conditional expression to create an n-value image (n≧2) such as a dither image.
In a halftone image estimation device for estimating an original halftone image, a plurality of conditional expression judgment circuits for scanning aperture selection are provided, and each conditional expression judgment circuit includes an arithmetic circuit that calculates two inputs, and a calculation circuit that calculates two inputs. and a pair of comparison circuits to which an output is supplied, each comparison circuit is supplied with a reference signal related to a constant of the conditional expression, and a judgment output is output based on the comparison output. is a special number.

[作 用] 例えば、条件式(3)を展開すると、以下のようになる
[Operation] For example, when conditional expression (3) is expanded, it becomes as follows.

2e−g≦1     ・ ・ ・ (8)2e−g≧
−1・ ・ ・ (9) そこで、 2e−g=p      ・ ・ ・ (10)とおき
、演算回路95では(10)式の減算処理が行なわれる
2e-g≦1 ・ ・ ・ (8) 2e-g≧
-1 . . . (9) Therefore, 2e-g=p .

比較回路96には、その基準信号として(8)式の定数
(=1)に相当する信号が供給され、他方の比較回路9
7には、(9)式の定数(=−1)に相当する信号が供
給され、夫々において減算出力pとレベル比較される。
The comparison circuit 96 is supplied with a signal corresponding to the constant (=1) in equation (8) as its reference signal, and the other comparison circuit 9
7 is supplied with a signal corresponding to the constant (=-1) in equation (9), and the level is compared with the subtraction output p in each of them.

(8)式が成立すると、比較回路96がら°′1°“の
比較出力Caが得られ、(9)式が成立すると、比較回
路97から°゛11パ較出力cbが得られる。したがっ
て、アンド回路98を通せば、(3)式の判定出力が得
られる。
When the formula (8) is satisfied, the comparator output Ca of "11" is obtained from the comparison circuit 96, and when the formula (9) is satisfied, the comparison output cb of "11" is obtained from the comparator circuit 97. Therefore, If the signal is passed through the AND circuit 98, the judgment output of equation (3) is obtained.

このように、簡単な演算処理で条件式判定回路を実現で
きる。
In this way, a conditional expression determination circuit can be realized with simple arithmetic processing.

[実 施 例] 以下、この発明に係る中間調画像推定方法について、第
1図以下を参照して詳細に説明する。
[Example] Hereinafter, a halftone image estimation method according to the present invention will be explained in detail with reference to FIG. 1 and subsequent figures.

第3図は中間調画像推定装置の具体例である。FIG. 3 shows a specific example of a halftone image estimation device.

同図において、画像読み取り装置1は原稿画像を読み取
って2値データに変換するものである。
In the figure, an image reading device 1 reads an original image and converts it into binary data.

原稿画像4.t CCDなどの光電変換素子を用いて読
み取られて電気信号に変換される。変換された電気信号
はデジタルデータに変換され、このデジタルデータにシ
ェーディング補正(CCD出力の均一化補正)を施した
のり、第7図(ハ)に示すような2値データ(ディザ画
像を構成する2値デーク)に変換されるような一連のデ
ータ処理かなされる。
Manuscript image 4. It is read using a photoelectric conversion element such as a CCD and converted into an electrical signal. The converted electric signal is converted to digital data, and this digital data is subjected to shading correction (correction for equalizing CCD output) and then converted to binary data (composing a dithered image) as shown in FIG. 7 (c). A series of data processing is performed, such as converting the data into a binary data (binary data).

デジタル化された2値データは中間調画像推定手段2と
、必要に応じて画像メモリユニット6に供給される。中
間調画像推定手段2は既に2値化処理された2値データ
を再処理する時に使用する手段であって、画像読み取り
装置1からの2値データの場合には、既にデジタル化さ
れた段階で中間調データになっているので、特に処理さ
れないで後段に出力される。中間調画像推定手段2には
2値データの他に推定処理に必要なタイミング信号が供
給される。
The digitized binary data is supplied to the halftone image estimating means 2 and, if necessary, to the image memory unit 6. The halftone image estimating means 2 is a means used when reprocessing binary data that has already been binarized, and in the case of binary data from the image reading device 1, it is used to reprocess binary data that has already been digitized. Since it is halftone data, it is output to the subsequent stage without any particular processing. In addition to the binary data, the halftone image estimating means 2 is supplied with timing signals necessary for estimation processing.

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

画像処理された中間調画像信号は2値化手段4に供給さ
れて、閾値選択信号によって選択された閾値を用いて再
2値化処理か行なわれる。閾値選択43号はコントロー
ルターミナルあるいはキーボードなどから指定される。
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. 43 is designated from the control terminal or keyboard.

5はレーザプリンタなどの記録装置で、2値化手段4あ
るいは画像メモリユニット6より出力きれた2値データ
に基づいて画像が再現される。
Reference numeral 5 denotes a recording device such as a laser printer, in which an image is reproduced based on the binary data output from the binarization means 4 or the image memory unit 6.

画像メモリユニット6は画像読み取り装置1より得られ
る2値データそのものも記憶できるような構成となされ
ている。
The image memory unit 6 is configured to be able to store the binary data itself obtained from the image reading device 1.

第4図は第3図を画像処理システムとして構成した場合
の一例を示すものである。
FIG. 4 shows an example of the configuration of FIG. 3 as an image processing system.

画像読み取り手段1、中間調画像推定手段2、画像処理
手段3.2値化手段4及び記録装置5は夫々、第1及び
第2のインターフェース11,12を介してコントロー
ルターミナル13に接続される。また、画像メモリユニ
ット6はシステムバス14を介して第1のインターフェ
ース11と接続される構成となきれている。15は外部
装置を示す。
Image reading means 1, halftone image estimation means 2, image processing means 3, binarization means 4 and recording device 5 are connected to 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 bus 14. 15 indicates an external device.

第5図は中間調画像推定手段2の一例である。FIG. 5 shows an example of the halftone image estimating means 2. As shown in FIG.

これも先に説明した公報に開示されている構成を一部流
用できるので、流用部分の詳細な説明は省略する。
Since a part of the configuration disclosed in the above-mentioned publication can also be used in this case, a detailed explanation of the part to be used will be omitted.

端子2aには画像読み取り装置1からの2値データが供
給きれ、この2値データは第1のセレクタ21を介して
ラインメモリ部22に供給きれる。
Binary data from the image reading device 1 can be supplied to the terminal 2a, and this binary data can be supplied to the line memory section 22 via the first selector 21.

ラインメモリ部22は第1のセレクタ21から送られて
くる2値デークを受けて、1ラインごとの2値データを
記憶するためのもので、図に示すようにL1〜L9まで
の9個のラインメモリで構成される。そして、第2のセ
レクタ23ではこれら9個のラインメモリL1〜L9の
夫々に、夫々のラインに対応した2値データか順次セレ
クトきれて記憶される。
The line memory section 22 receives the binary data sent from the first selector 21 and stores the binary data for each line, and as shown in the figure, it stores nine data from L1 to L9. Consists of line memory. The second selector 23 sequentially selects and stores binary data corresponding to each line in each of these nine line memories L1 to L9.

ここで、ラインメモリを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 one more line memory is required for real-time processing. be.

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

ラインメモリを8個使用するときには、これらと1個の
ラッチ回路を組合せればよい。このとき、ラッチ回路に
は入力した2値データが供給される。
When using eight line memories, it is sufficient to combine them with one latch circuit. At this time, the input binary data is supplied to the latch circuit.

こうしたときラッチ回路の出力と、現在書き込み中にあ
るラインメモリを除いた残り7個のラインメモリの出力
とで、8ライン分の2値デークを得ることがでとる。
In this case, it is possible to obtain eight lines of binary data using the output of the latch circuit and the outputs of the remaining seven line memories excluding the line memory currently being written.

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

選択された走査開口を示すデータは彦根回路24に供給
されて、その走査開口内の画素レベルとゲインとによっ
て定まる中間調画像の値が推定される。ここに、ゲイン
とは、走査開口の面積比に対応するもので、走査開口G
のゲインを1とじたとき、走査開口E、Fはゲイン2、
走査開口りはゲイン4、走査開口B、Cはゲイン8、走
査開口Aはゲイン16、そして走査開口Zはゲイン64
となる。
Data indicating the selected scan aperture is provided to Hikone circuit 24 to estimate the value of the halftone image determined by the pixel level and gain within the scan aperture. Here, the gain corresponds to the area ratio of the scanning aperture, and the gain corresponds to the area ratio of the scanning aperture G.
When the gain of is set to 1, the scanning apertures E and F have a gain of 2,
The scan aperture has a gain of 4, scan apertures B and C have a gain of 8, scan aperture A has a gain of 16, and scan aperture Z has a gain of 64.
becomes.

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

第6図は中間調画像推定部30の具体例を示す。FIG. 6 shows a specific example of the halftone image estimation section 30.

8個のシフトレジスタ(8画素分)で構成きれた手段4
0は複数の走査開口を設定するために設けられている。
Means 4 consisting of 8 shift registers (8 pixels)
0 is provided to set multiple scanning apertures.

50は計数回路であフて、走査開口数と同数設けられる
。この計数回路50 (50a〜50g。
50 is a counting circuit, which is provided in the same number as the scanning numerical aperture. This counting circuit 50 (50a to 50g).

50z)においては、中間調画像レベルを推定する注目
画素に各走査開口を設定したときの、その走査開口内の
白若しくは黒画素数が計数される。
50z), when each scanning aperture is set to the pixel of interest whose halftone image level is to be estimated, the number of white or black pixels within the scanning aperture is counted.

そのうち、計数回路50a〜50cの出力は1、濃度パ
ターン判別回路60に供給されて、この計数値に基づい
て作成された2値画像と、走査開口内のオリジナル2値
画像(第7図(ハ))とが比較される。
Among them, the outputs of the counting circuits 50a to 50c are 1, which is supplied to the density pattern discrimination circuit 60, which outputs a binary image created based on the counted value and an original binary image within the scanning aperture (see Fig. 7 (H)). )) are compared.

残りの計数回路5od〜50gの出力は条件式判定回路
70に供給される。
The outputs of the remaining counting circuits 5od to 50g are supplied to the conditional expression determination circuit 70.

条件式判定回路70も計数回路の数と同じたけ設けられ
、夫々からの判定出力と、濃度パターン判別回路60の
判別出力が走査開口の判定回路80に供給されて、唯一
の走査開口が選択される。
The same number of conditional expression determination circuits 70 as the number of counting circuits are provided, and the determination output from each of them and the determination output of the density pattern determination circuit 60 are supplied to the scanning aperture determination circuit 80 to select the only scanning aperture. Ru.

31はパターンの位置情報を出力する回路である。32
は計数された白画素数を保持するためのレジスタを示し
、その出力が乗算器33に供給されて計数された白画素
数に各走査開口のゲインが乗算される。乗算結果である
白画素数が、求めようとする中間調画像の推定値として
使用される。
31 is a circuit that outputs pattern position information. 32
indicates 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, which is the result of the multiplication, is used as an estimated value of the halftone image to be obtained.

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

条件式判定回路70は以下のように構成される。The conditional expression determination circuit 70 is configured as follows.

例えば、条件式(3)を展開すると、以下のようになる
For example, when conditional expression (3) is expanded, it becomes as follows.

2e−g≦1     ・ ・ ・ (8)2e−g≧
−1・ ・ ・ (9) そこで、 2e−g=p      ・ ・ ・ (10)とおけ
ば、(3)式は演算回路とその出力に対する比較回路で
構成できる。
2e-g≦1 ・ ・ ・ (8) 2e-g≧
-1. . . (9) Therefore, by setting 2e-g=p . . . (10), equation (3) can be composed of an arithmetic circuit and a comparison circuit for its output.

第1図はその一例を示す。FIG. 1 shows an example.

条件式判定回路7oは4つとも同一構成であって、演算
回路95と一対の比較回路96.97を有する。
All four conditional expression determination circuits 7o have the same configuration and include an arithmetic circuit 95 and a pair of comparison circuits 96 and 97.

演d回路95は2入力の演算処理を行なうもので、上述
した(3)式を例示するならば、走査開口E及びGに関
連した白画素数eggが入力する。
The computation circuit 95 performs two-input arithmetic processing, and to exemplify the above-mentioned equation (3), the white pixel count egg related to the scanning apertures E and G is input.

演算回路95てはその減算処理(=2e−g)が行なわ
れて′g算出力pが形成される。
The arithmetic circuit 95 performs the subtraction process (=2e-g) to form the calculated output p.

′g算出力pは比較回路96.97に共通に供給される
。比較回路96には(8)式に関連した基準信号(=1
の信号)が供給きれており、演算出力pが基準信号以下
のとぎ、°゛1“の比較出力Caが出力される。
'g calculation output p is commonly supplied to comparison circuits 96 and 97. The comparison circuit 96 receives a reference signal (=1
signal) is fully supplied, and when the calculation output p is less than the reference signal, a comparison output Ca of °゛1'' is output.

他方の比較回路97には(9)式に関連した基準信号(
=−1の信号)が供給されており、演算出力pが基準信
号以上のとき、°゛1°゛の比較出力cbが出力される
。比較出力Ca、Cbはアンド回路98で論理和される
。そのため、(3)式が成立するどき1°°の判定出力
が得られる。
The other comparison circuit 97 receives a reference signal (
= -1 signal) is supplied, and when the calculation output p is greater than or equal to the reference signal, a comparison output cb of 1° is output. The comparison outputs Ca and Cb are logically summed by an AND circuit 98. Therefore, when equation (3) is satisfied, a determination output of 1°° is obtained.

(1)、(2)及び(4)式の夫々についても、上述し
た同じ構成の判定回路を使用してその式の判定出力が求
められる。
For each of equations (1), (2), and (4), the judgment output of the equation is obtained using the judgment circuit having the same configuration as described above.

第2図は演算回路95の一例であって、白画素数e+g
がバイナリ−のディジタルデータであるときには、左シ
フト処理回路100に白画素数eを供給すれば、これよ
り20の出力が得られる。
FIG. 2 shows an example of the arithmetic circuit 95, in which the number of white pixels is e+g.
When is binary digital data, if the number e of white pixels is supplied to the left shift processing circuit 100, an output of 20 can be obtained.

これと、白画素数gとをdべ算器101に供給すれば、
これより、2e−g=pの試算出力か■n単に得られる
If this and the number g of white pixels are supplied to the d calculator 101,
From this, we can simply obtain the trial calculation power of 2e-g=p.

上述した例では、オリジナル画像として2値のディザ画
像を例示したが、2値ディザ画像の代りに、多値画像(
3値のディザ画像など)を使用し、その中間調画像レベ
ルを推定する場合にも、この発明を適用することかでき
ることは、容易に理解できよう。
In the above example, a binary dithered image was used as the original image, but instead of a binary dithered image, a multilevel image (
It is easy to understand that the present invention can also be applied to the case where a ternary dithered image (such as a ternary dithered image) is used and its halftone image level is estimated.

[発明の効果] 以上説明したように、この発明では2入力を演算する演
算回路と、その演算出力が供給される一対の比較回路と
で条件式判定回路を構成したものである。
[Effects of the Invention] As described above, in the present invention, a conditional expression determination circuit is configured by an arithmetic circuit that calculates two inputs and a pair of comparison circuits to which the arithmetic output is supplied.

これによれば、条件式判定を簡単な回路で実現できるか
ら、従来のようにROMなどを使用する必要がない。そ
のため、従来よりも大幅なコストダウンを達成できる実
益を有する。
According to this, since conditional expression determination can be realized with a simple circuit, there is no need to use a ROM or the like as in the past. Therefore, it has the practical benefit of achieving a significant cost reduction compared to the conventional method.

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

第1図はこの発明に係る中間調画像推定装置に使用され
る条件式判定回路の一例を示す系統図、第2図はFtH
回路の系統図、第3図及び第4図は中間調画像推定装置
の一例を示す系統図、第5図は中間調画像推定手段の系
統図、第6図は中間調画像推定部の系統図、第7図はオ
リジナル中間調画像からディザ画像を作成する場合の説
明図、第8図は使用する走査開口の一例を示す図、第9
図は走査開口を選択したときに得られる推定中間調画像
の一例を示す図及びそのときに使用した開口の選択例を
示す図、第10図〜第13図はこの発明の説明に供する
図である。 画像読み取り装置 中間調画像推定手段 画像処理手段 2値化手段 記録装置 ラインメモリ部 選択回路 中間調画像推定部 70・・・条件式判定回路 95・・・演算回路 96.97・・・比較回路 70:条件式判定回路 95:演算回路 (イ)オリジナル中間調画像 (ロ) 閾値マトリックス 第7図 (ハ)ディザ画像 第 走査開口例 第1O図 70:条件式判定回路 第12図 (イ) (ロ) BCB ACC ACB CCF CCC DDCB ECZ BBB CGG 第9図 第 図
FIG. 1 is a system diagram showing an example of a conditional expression determination circuit used in a halftone image estimation device according to the present invention, and FIG.
A system diagram of the circuit, FIGS. 3 and 4 are system diagrams showing an example of a halftone image estimation device, FIG. 5 is a system diagram of the halftone image estimation means, and FIG. 6 is a system diagram of the halftone image estimation section. , FIG. 7 is an explanatory diagram when creating a dithered image from an original halftone image, FIG. 8 is a diagram showing an example of the scanning aperture used, and FIG.
The figure shows an example of an estimated halftone image obtained when the scanning aperture is selected, and the figure shows an example of the selection of the aperture used at that time. be. Image reading device Halftone image estimation means Image processing means Binarization means Recording device Line memory section selection circuit Halftone image estimation section 70...Conditional expression determination circuit 95...Arithmetic circuit 96,97...Comparison circuit 70 : Conditional expression judgment circuit 95: Arithmetic circuit (a) Original halftone image (b) Threshold matrix Fig. 7 (c) Dither image 1st scanning aperture example Fig. 1O Fig. 70: Conditional expression judgment circuit Fig. 12 (a) (b) ) BCB ACC ACB CCF CCC DDCB ECZ BBB CGG Figure 9

Claims (1)

【特許請求の範囲】[Claims] (1)開口面積の異なる複数の走査開口を所定の条件式
にしたがって選択して、ディザ画像などのn値画像(n
≧2)よりオリジナル中間調画像を推定する中間調画像
推定装置において、 走査開口選択のための複数の条件式判定回路が設けられ
、 夫々の条件式判定回路は、2入力を演算する演算回路と
、その演算出力が供給される一対の比較回路とを有し、 夫々の比較回路には条件式の定数に関連した基準信号が
供給され、上記比較出力に基づいて判定出力が出力され
るようになされたことを特徴とする中間調画像推定装置
(1) Multiple scanning apertures with different aperture areas are selected according to a predetermined conditional expression, and an n-value image (n
≧2) In a halftone image estimating device that estimates an original halftone image, a plurality of conditional expression judgment circuits for scanning aperture selection are provided, and each conditional expression judgment circuit includes an arithmetic circuit that calculates two inputs, and an arithmetic circuit that calculates two inputs. , and a pair of comparison circuits to which the calculation output is supplied, each comparison circuit is supplied with a reference signal related to a constant of the conditional expression, and a judgment output is output based on the comparison output. A halftone image estimation device characterized by:
JP1093864A 1989-04-13 1989-04-13 Half tone picture estimating device Pending JPH02272877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1093864A JPH02272877A (en) 1989-04-13 1989-04-13 Half tone picture estimating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1093864A JPH02272877A (en) 1989-04-13 1989-04-13 Half tone picture estimating device

Publications (1)

Publication Number Publication Date
JPH02272877A true JPH02272877A (en) 1990-11-07

Family

ID=14094311

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1093864A Pending JPH02272877A (en) 1989-04-13 1989-04-13 Half tone picture estimating device

Country Status (1)

Country Link
JP (1) JPH02272877A (en)

Similar Documents

Publication Publication Date Title
JP4317619B2 (en) Image processing device
JPH077461B2 (en) Image estimation method
JPH02272877A (en) Half tone picture estimating device
JP3667002B2 (en) Image processing method and apparatus
JPH0793534A (en) Picture processor
JP2898321B2 (en) Halftone estimation method for dither image
JP3615050B2 (en) Interpolation apparatus and imaging apparatus using the same
JPH03117269A (en) Halftone picture estimation device
JPH02312358A (en) Halftone image estimating device
JPH02252359A (en) Half tone picture estimating method
JP2903175B2 (en) Image processing device
JPH0548881A (en) Picture varying power processing system and device
JPS62117469A (en) Image processor
JPH02252362A (en) Half tone picture estimator
JPH02252360A (en) Half tone picture estimating method
JPH0453352B2 (en)
JP2634939B2 (en) Image processing device
JPH02312359A (en) Halftone image estimating device
JPH0322755A (en) Half-tone image estimating device
JPH0638038A (en) Smoothing processing method for binary image
JPS63296176A (en) Image estimating device
JPS63132571A (en) Image read processor
JPH0624006B2 (en) Image processing device
JPH04229767A (en) Picture processing unit
JPS63290072A (en) Picture estimating device