JP2692838B2 - Image processing device - Google Patents
Image processing deviceInfo
- Publication number
- JP2692838B2 JP2692838B2 JP63056550A JP5655088A JP2692838B2 JP 2692838 B2 JP2692838 B2 JP 2692838B2 JP 63056550 A JP63056550 A JP 63056550A JP 5655088 A JP5655088 A JP 5655088A JP 2692838 B2 JP2692838 B2 JP 2692838B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- threshold value
- dot
- output
- image
- 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.)
- Expired - Fee Related
Links
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Color, Gradation (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデジタルプリンタ及びデジタルファクシミリ
等の画像処理装置に関し、特に、画像情報を表わす多値
レベルの画像データを入力し、2値データに変換する画
像処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus such as a digital printer and a digital facsimile, and in particular, multi-level image data representing image information is input and converted into binary data. Image processing apparatus.
従来より、デジタルプリンタ、デジタルフアクシミリ
等において中間調を再現するための2値化手法として、
しきい値に周期的に変動するデイザマトリクスを用いる
デイザ法がある。この方法では表現できる階調数がデイ
ザマトリクスにより制限されてしまい、例えば、この階
調数が16階調程度の場合には、出力画像に疑似輪郭を生
じてしまう欠点があった。また、最近注目されている2
値化手法として、2値化処理で発生した誤差を周辺の画
素に分散する誤差拡散法という手法がある。この手法、
1975年にFloidとSteinbergにより“An Adaptive Algori
thm for Spatial Gray Scale"SID DIGESTという論文の
なかで提案されたもので、解像度・階調共にデイザ法よ
りも優れた手法である。Conventionally, as a binarization method for reproducing halftones in digital printers, digital facsimiles, etc.,
There is a dither method that uses a dither matrix whose threshold value varies periodically. In this method, the number of gradations that can be expressed is limited by the dither matrix. For example, when the number of gradations is about 16 gradations, there is a drawback that a pseudo contour is generated in an output image. In addition, 2 which has been receiving attention recently
As a binarization method, there is a method called an error diffusion method in which an error generated in the binarization process is dispersed to surrounding pixels. This technique,
In 1975 by Floid and Steinberg, “An Adaptive Algori
It was proposed in a paper called thm for Spatial Gray Scale "SID DIGEST", and it is a method superior in both resolution and gradation to the dither method.
しかしながら、上記方法では原稿の濃度が低い画像の
ハイライト部では、ドツトが全く打たれない部分が発生
し、その部分の後再生画像中にドツトが近接して発生
し、それが線状につながって画像の品位を著しく低下さ
せるという欠点があった。However, according to the above method, in the highlight part of the image where the density of the original is low, there is a part where dots are not hit at all, and dots appear close to each other in the reproduced image after that part, and they are connected in a line. However, there is a drawback that the quality of the image is remarkably deteriorated.
つまり誤差拡散法により画像濃度の低い部分を2値化
した場合、2値化時の周囲に拡散される正の誤差が小さ
い為、注目画素に集る正の誤差も小さくなる。そのため
注目画素濃度がなかなか2値化の閾値(通常127)を超
えるような値にならず、全くドツトの打たれない部分が
発生する。そして、誤差を複数の画素に拡散しているの
で、一度閾値を超える画素が発生すると続けてドツトが
発生してしまう。That is, when the low image density portion is binarized by the error diffusion method, the positive error diffused in the surroundings at the time of binarization is small, and thus the positive error gathered in the target pixel is also small. As a result, the density of the pixel of interest does not easily exceed the threshold for binarization (usually 127), and a portion where no dot is generated occurs. Then, since the error is diffused to a plurality of pixels, once a pixel exceeding the threshold value occurs, dots continuously occur.
本発明は上述した従来技術の欠点を除去し、画像のハ
イライト部での白抜け及びドットのつながりを防止し、
高画質な再生画像を得ることができる画像処理装置の提
供を目的とする。The present invention eliminates the above-mentioned drawbacks of the prior art, prevents white spots and dot connection in the highlight portion of an image,
It is an object of the present invention to provide an image processing device capable of obtaining a high quality reproduced image.
本発明は上述した目的を達成するため、画像情報を表
わす多値レベルの画像データを入力し、2値データに変
換する画像処理装置において、 複数画素からなる2値化処理済みの領域にドットをオ
ンにする2値データが存在するか否かを検出する検出手
段と、 前記検出手段がドットをオンにする2値データが存在
しないことを検出すると入力画像データのレベルに応じ
て変動幅の変化するディザ信号を所定のレベルの信号に
加算したデータを2値化処理用の閾値として設定し、前
記検出手段がドットをオンにする2値データが存在する
ことを検出すると、高いレベルの閾値を2値化処理用の
閾値として設定する設定手段と、 前記設定手段により設定された2値化処理用の閾値を
用いて誤差拡散法により入力画像データを2値データに
変換する2値化手段とを有することを特徴とする。In order to achieve the above-mentioned object, the present invention provides an image processing apparatus for inputting multi-valued level image data representing image information and converting it into binary data, by forming dots in a binarized region composed of a plurality of pixels. A detection unit that detects whether or not there is binary data to be turned on, and a variation width depending on the level of the input image data when the detection unit detects that there is no binary data to turn on the dot. The data obtained by adding the dither signal to the signal of the predetermined level is set as the threshold value for the binarization process, and when the detection unit detects that the binary data for turning on the dot exists, the threshold value of the high level is set. The input image data is converted into binary data by the error diffusion method using the setting unit that sets the threshold value for the binarization process and the threshold value for the binarization process set by the setting unit. And having a digitizing unit.
まず、本実施例における原理を以下に説明する。 First, the principle of this embodiment will be described below.
本実施例は入力データDに応じて2値化のためのしき
い値Tを変化させ、画像のハイライト部でのドツトの出
現をコントロールするものである。In this embodiment, the threshold T for binarization is changed according to the input data D to control the appearance of dots in the highlight portion of the image.
これを実現する手段として以下の2つがある。 There are the following two means for realizing this.
(1)画像濃度Dに基づき選択されたサイズのウインド
ウ内の既に2値化されたデータのONドツトの出現状態を
調べるドツト検出手段。(1) Dot detection means for checking the appearance state of ON dots of already binarized data in the window of the size selected based on the image density D.
(2)画像のハイライト部で濃度に応じて振幅が変わる
変動データを固定しきい値に加え、特定の確率でドツト
をONさせる変動データ発生手段。(2) A fluctuation data generating means for adding fluctuation data whose amplitude changes in accordance with the density in a highlighted portion of an image to a fixed threshold value and turning on the dot with a specific probability.
この2つの手段からの出力信号を用いて2値化のため
のしきい値Tのコントロールを以下の手順により行う。Using the output signals from these two means, the threshold value T for binarization is controlled by the following procedure.
(イ)(1)の出力により近接領域にドツトがある場合
は、しきい値Tを高く設定し、画像の2値化処理におい
て出力データBが0になるようにコントロールする。こ
の結果、入力データと出力データとの差である補正デー
タD′はすべて誤差として未処理の周囲画素に拡散され
る。(A) If there is a dot in the proximity area due to the output of (1), the threshold value T is set high and the output data B is controlled to 0 in the image binarization processing. As a result, the correction data D ′, which is the difference between the input data and the output data, is diffused to the unprocessed surrounding pixels as an error.
(ロ)(1)の出力により近接領域にドツトがない場合
は、入力データDに応じた振幅を持つ変動データと固定
しきい値を加算したものを新たなしきい値Tとして2値
化処理を行う。(B) When there is no dot in the proximity area due to the output of (1), the binarization process is performed by adding the fluctuation data having the amplitude corresponding to the input data D and the fixed threshold value as a new threshold value T. To do.
以下図面を用いて第1の実施例を詳細に説明する。 The first embodiment will be described in detail below with reference to the drawings.
第1図は、本発明の一実施例を示したブロツク構成図
である。FIG. 1 is a block diagram showing an embodiment of the present invention.
画像読取装置1によって読取られた入力画像データD
(100)は、加算器10で注目画素11の補正データΔD
(100)と加算され、補正済データD′(102)を得る。
D′は比較器12でしきい値T(103)と比較され、D′
≧Tの時は1、D′<Tの時は0となる出力B(104)
を得る。Input image data D read by the image reading device 1
(100) is the correction data ΔD of the target pixel 11 in the adder 10.
(100) is added to obtain corrected data D '(102).
D'is compared with the threshold value T (103) by the comparator 12, and D '
Output B (104) that becomes 1 when ≧ T and 0 when D ′ <T
Get.
出力データBはレベル変換器13で入力データの最大値
Dmaxと最小値Dminにレベル変換され信号B′(105)を
得る。例えば入力が8bitデータの時は0→0,1→255の値
に変換する。この出力B′は減算器14でD′との差分が
とられ、誤差分信号(106)E=D′−B′が得られ
る。この誤差信号Eに基づき配分器15では、注目画素
の周囲12画素のエラーバツフアメモリ16に配分される誤
差データが演算される。これによりそれぞれのエラーバ
ツフアメモリには上記誤差データの累積値が保存される
ことになる。The output data B is the maximum value of the input data in the level converter 13.
The level is converted into D max and the minimum value D min to obtain a signal B ′ (105). For example, when the input is 8-bit data, it is converted into a value of 0 → 0, 1 → 255. This output B'is subtracted from D'in a subtractor 14, and an error component signal (106) E = D'-B 'is obtained. Based on the error signal E, the distributor 15 calculates error data distributed to the error buffer memory 16 of 12 pixels around the target pixel. As a result, the cumulative value of the error data is stored in each error buffer memory.
また、出力信号Bはラインメモリ17に送られる。この
ラインメモリ17は、FIFO(フアーストインフアーストア
ウト)メモリで構成され、1段目の出力107を2段目の
入力とするような結線をする。これを3段(17−1,17−
2,17−3)組み合わせることにより2値化したデータを
4ライン分(l0,l1,l2,l3)参照することが可能とな
る。Further, the output signal B is sent to the line memory 17. The line memory 17 is composed of a FIFO (Fast In First Out) memory and is connected so that the output 107 of the first stage is the input of the second stage. This is 3 steps (17-1,17-
2, 17-3) By combining, it is possible to refer to the binarized data for four lines (l 0 , l 1 , l 2 , l 3 ).
一方、入力画像データDはドツト検出器18,変動デー
タ発生器19に入力される。ドツト検出器18では入力デー
タDに基づき1bitラインメモリからの出力で構成される
ウインドウサイズをかえ、ウインドウ内のドツトの有無
を検出し、この結果をしきい値選択回路20および変動デ
ータ発生器19に出力する。On the other hand, the input image data D is input to the dot detector 18 and the fluctuation data generator 19. The dot detector 18 changes the window size composed of the output from the 1-bit line memory on the basis of the input data D, detects the presence or absence of dots in the window, and uses this result as the threshold selection circuit 20 and the fluctuation data generator 19 Output to.
変動データ発生器19は、0を中心に正負に振れる変動
データを発生する回路で、例えばデイザ信号などを発生
する。変動データの振幅値は入力データDの値により変
化し、例えば第2図に示すようにDが小さいほど振幅が
大きくなるようなカーブをとる。ただしD=0の値は振
幅も0にする。これはDが小さいほど濃度の低いハイラ
イト部を示しており、ここで振幅を大きくすることで、
ドツトを分散させることができる。The fluctuation data generator 19 is a circuit that generates fluctuation data that swings positively and negatively around 0, and generates, for example, a dither signal. The amplitude value of the fluctuation data changes according to the value of the input data D. For example, as shown in FIG. 2, a curve having a larger amplitude as D becomes smaller is taken. However, the value of D = 0 also sets the amplitude to 0. This indicates a highlight portion with lower density as D becomes smaller. By increasing the amplitude here,
Dots can be dispersed.
ドツト検出器18からの出力信号108は、また変動デー
タを更新する時の制御信号として使われ、1bitラインメ
モリ17−1〜17−3のウインドウ内(尚、ウインドウの
サイズは入力データDに応じて変化する。)にドツトが
存在しない時にのみ変動データが更新されるように制御
される。これにより変動データの持つ周期性をくずすこ
とができ変動データの周期性の影響を低減させることが
可能となる。この変動データは、しきい値選択器20に入
力される。このドツト検出器18,変動データ発生器19,し
きい値選択器20を合わせてしきい値決定回路21とする。The output signal 108 from the dot detector 18 is also used as a control signal when updating the fluctuation data, and within the window of the 1-bit line memories 17-1 to 17-3 (the window size depends on the input data D). The change data is controlled so that it is updated only when there is no dot. As a result, the periodicity of the variation data can be destroyed and the influence of the periodicity of the variation data can be reduced. This variation data is input to the threshold selector 20. The dot detector 18, the fluctuation data generator 19, and the threshold value selector 20 are collectively referred to as a threshold value determining circuit 21.
第3図は入力データDに基づき1bitラインメモリの出
力からなるウインドウサイズを変化させることを説明す
るための図である。例では、ウインドウサイズを4段階
に切り換えている。FIG. 3 is a diagram for explaining that the window size formed by the output of the 1-bit line memory is changed based on the input data D. In the example, the window size is switched in four stages.
(ただし、D1<D2<D3である) D1,D2,D3は実験的に定めるパラメータである。 (However, D 1 <D 2 <D 3 ) D 1 , D 2 , and D 3 are experimentally determined parameters.
ここで0,1,2,3は第4図のエンコーダ35から出力され
る値である。このウインドウサイズは、この例に限られ
ず、もっと広い範囲で数段階に分けて選択できるように
することにより、よりよいしきい値コントロールが可能
となる。Here, 0, 1, 2, and 3 are values output from the encoder 35 in FIG. This window size is not limited to this example, and better threshold value control can be achieved by allowing selection in a wider range in several stages.
ここで、画像の濃度が低いほど、参照する処理済領域
を大きくすることにより、画像濃度に合った均一性でド
ツトを打つことができ、画像の品位を向上することがで
きる。Here, the lower the image density is, the larger the processed area is referred to, so that the dots can be printed with uniformity according to the image density, and the image quality can be improved.
第4図はしきい値決定回路21の詳細を示したブロツク
図である。FIG. 4 is a block diagram showing details of the threshold value determining circuit 21.
ラツチ回路30には1ビツトラインメモリ17−1,17−2,
17−3からの出力l0,l1,l2,l3が入り出力WD1,WD2,WD3を
得る。The latch circuit 30 has one bit line memory 17-1, 17-2,
The outputs l 0 , l 1 , l 2 , l 3 from 17-3 are input and outputs WD 1 , WD 2 , WD 3 are obtained.
第5図にラツチ回路30の詳細を示す。 FIG. 5 shows details of the latch circuit 30.
1bitラインメモリからの入力l0,l1,l2,l3はラツチ50a
〜50xに入りそれぞれ1画素ずつ遅延された画素データ
が得られる。Input from 1bit line memory l 0 , l 1 , l 2 , l 3 are latch 50a
.About.50x, and pixel data delayed by one pixel each is obtained.
出力信号線WD1はラツチ50a,50b,50c,50d,50e,50f,50
g,50h,50n,50o,50u,50vの12画素の出力を示すものであ
る。Output signal line WD 1 is latch 50a, 50b, 50c, 50d, 50e, 50f, 50
It shows the output of 12 pixels of g, 50h, 50n, 50o, 50u, 50v.
出力信号線WD2はラツチ50i,50j,50k,50l,50m,50p,50
t,50wの8画素の出力を示すものである。Output signal line WD 2 is latch 50i, 50j, 50k, 50l, 50m, 50p, 50
It shows an output of 8 pixels of t and 50w.
出力信号線WD3はラツチ50q,50r,50s,50xの4画素の出
力を示すものである。The output signal line WD 3 shows the output of four pixels of latches 50q, 50r, 50s, 50x.
前述サイズAはWD1,WD2,WD3の合計24画素の領域を示
し、またサイズBはWD2,WD3の合計12画素領域を示し、
またサイズCはWD3の4画素領域を示す。The size A indicates a total area of 24 pixels of WD 1 , WD 2 and WD 3 , and the size B indicates a total area of 12 pixels of WD 2 and WD 3 .
The size C indicates a 4-pixel area of WD 3 .
次に第4図においてWD1,WD2,WD3の画素群は全ての論
理ORがOR回路31a,31b,31cでとられる。次にOR回路32,33
にて以下の式の論理ORがとられ、信号WA,WB,WCが得られ
る。Next, in FIG. 4, all logical ORs of the pixel groups of WD 1 , WD 2 and WD 3 are taken by the OR circuits 31a, 31b and 31c. Next, the OR circuit 32, 33
At, the logical OR of the following equations is taken and signals WA, WB, WC are obtained.
(ただし、∪は論理OR) この論理ORをとることで、ウインドウ内に1画素でも
ドツトがオンであればWA,WB,WCの出力は1となる。この
出力信号はセレクタのI0〜I2端子に入る。またI3は0に
固定されている。セレクタ34の出力はエンコーダ35から
の0,1,2,3,4の出力に応じてI0,I1,I2,I3をセレクトす
る。セレクタ34では式1に示したように入力信号Dのレ
ベルに応じたエンコーダ35からの2bitの出力信号Sel−W
300の0,1,2,3に対しWA,WB,WC,0の信号を切り換えて、セ
レクタ36にSel−T300信号を送る。Sel−Tは参照領域に
1つでもドツトがあれば1を、1つもなければ0を出力
する。 (However, ∪ is a logical OR) By taking this logical OR, the output of WA, WB, and WC becomes 1 if the dot is on even for one pixel in the window. This output signal enters the I 0 to I 2 terminals of the selector. I 3 is fixed at 0. The output of the selector 34 selects I 0 , I 1 , I 2 , I 3 according to the outputs of 0 , 1 , 2 , 3 , 4 from the encoder 35. In the selector 34, the 2-bit output signal Sel-W from the encoder 35 according to the level of the input signal D as shown in Expression 1
The signals of WA, WB, WC, 0 are switched for 0, 1, 2, and 3 of 300, and the Sel-T300 signal is sent to the selector 36. Sel-T outputs 1 if there is at least one dot in the reference area and outputs 0 if there is no dot.
デイザROM37は、しきい値の変動信号の原信号を生成
する回路であり、アドレスカウンタ38で示されたデータ
を出力する。デイザマトリクスはベイヤ型デイザなどが
適している。尚、このデイザマトリクスは正負の値を有
している。そしてこの出力はゲインコントローラ39で第
2図に示すようにデータDに対応した振幅値制御がなさ
れ、固定閾値44の値と加算器45で加算され、セレクタ36
のI0端子に入力される。またセレクタ36の端子I1には、
2値化比較器12の出力がかならず0になるような高いし
きい値が設定されている。ハイスレツシユホールド回路
40が結線され、これらの信号はSel−T信号300により切
り換えられる。The dither ROM 37 is a circuit that generates an original signal of the threshold fluctuation signal, and outputs the data indicated by the address counter 38. A Bayer type dither is suitable for the dither matrix. Note that this dither matrix has positive and negative values. Then, this output is subjected to amplitude value control corresponding to the data D by the gain controller 39 as shown in FIG. 2, and is added to the value of the fixed threshold value 44 by the adder 45, and the selector 36
Input to the I 0 pin of. The terminal I 1 of the selector 36 is
A high threshold value is set so that the output of the binary comparator 12 is always 0. High threshold hold circuit
40 is wired and these signals are switched by the Sel-T signal 300.
すなわち、Sel−Tが1の時はつまり既に2値化済の
参照領域にドツトがある場合は高いしきい値、またSel
−Tが0の時つまり参照領域にドツトが無い場合は変動
しきい値が選択されることになる。That is, when Sel-T is 1, that is, when there is a dot in the already binarized reference area, a high threshold value, or Sel-T
When -T is 0, that is, when there is no dot in the reference area, the variation threshold value is selected.
またエンコーダ35の出力は比較器41で出力が3かチエ
ツクされ、この信号とSel−T信号のNORがNOR回路42で
とられる。NOR回路の出力と画素ClK302とのANDがAND回
路43でとられ、この結果はアドレスカウンタ38のClK端
子に入力される。これにより濃度がD3よりも小さく参照
ウインドウ内に1がない場合のみ、アドレスが更新され
ることになり、デイザROMの持つ周期構造の影響を低減
することが可能となる。The output of the encoder 35 is checked by the comparator 41 so that the output is 3 or 3, and the NOR of this signal and the Sel-T signal is taken by the NOR circuit 42. The output of the NOR circuit and the pixel ClK302 are ANDed by the AND circuit 43, and the result is input to the ClK terminal of the address counter 38. As a result, the address is updated only when the density is smaller than D 3 and there is no 1 in the reference window, and the influence of the periodic structure of the dither ROM can be reduced.
以上説明した実施例によれば画像濃度の低い部分で
は、ゲインコントローラ39で負の値を持つデイザマトリ
クスの値の振幅を大きくしているので固定閾値の値を下
げることができ、画像濃度の低い部分で発生していたド
ツトが打たれず白く抜ける現象を防止できる。さらに、
画像濃度に応じて振幅の大きさを制御することで、文字
部分の劣化を抑制でき、また画像の滑らかさも保つこと
ができる。According to the embodiment described above, in the portion where the image density is low, the gain controller 39 increases the amplitude of the value of the dither matrix having a negative value, so that the fixed threshold value can be lowered, and It is possible to prevent the phenomenon that the dots that were generated in the lower part do not get hit and come out white. further,
By controlling the magnitude of the amplitude according to the image density, it is possible to suppress the deterioration of the character portion and also maintain the smoothness of the image.
又、既に2値化処理された参照領域でドツトが打たれ
ていれば、ハイスレツシユホールド40で高い閾値を選択
するので強制的に注目画素でドツトが打たれるのを防
止、ハイライト部でドツトがつながるのを防止できる。Also, if a dot is hit in the reference area that has already been binarized, a high threshold is selected in the high threshold hold 40, so that the dot is forcibly prevented from being hit in the pixel of interest. Can prevent the dots from connecting.
更に、参照領域を濃度に応じて変化させているので濃
度に応じてドツトの制御を行うことができる。又、閾値
をデイザROMの値のゲインを制御して固定閾値と加算す
ることにより求めるので、閾値に乱数を発生させ用いる
場合に比べて、ハード規模を簡素化することができる。Further, since the reference area is changed according to the density, the dot can be controlled according to the density. Further, since the threshold value is obtained by controlling the gain of the value of the dither ROM and adding it to the fixed threshold value, the hardware scale can be simplified as compared with the case where a random number is generated for the threshold value and used.
更に、デイザROMの出力を画像濃度及び参照領域内の
ドツトの有無に基づき制御するので、デイザROMの持つ
周期構造の影響を低減することができる。Furthermore, since the output of the dither ROM is controlled based on the image density and the presence or absence of dots in the reference area, it is possible to reduce the influence of the periodic structure of the dither ROM.
第6図に第4図に示した実施例を一部変更したブロツ
ク図を示す。FIG. 6 shows a block diagram obtained by partially modifying the embodiment shown in FIG.
尚、第6図で第4図と同じ構成要素のものには同一の
番号を附しその説明を省略する。In FIG. 6, the same components as those in FIG. 4 are designated by the same reference numerals and the description thereof will be omitted.
T070はしきい値の初期値であり、ΔT72はしきい値の
変分である。初期値T0は最初ラツチ69に保持されており
T′=T0−ΔTの演算が加算器71で行われる。T 0 70 is the initial value of the threshold and ΔT 72 is the variation of the threshold. The initial value T 0 is initially held in the latch 69, and the calculation of T ′ = T 0 −ΔT is performed by the adder 71.
NOR42の出力が0の時つまり入力濃度データDがD3よ
り大きい場合、又は参照領域にドツトがオンされている
ときはT0が選択されている。一方、NORの出力が1の時
つまりDがD3より小さく、参照領域にドツトが無い場合
はT′が選択される。そしてこのT0又はT′がセレクタ
36のI0端子に入力される。つまりセレクタ67はNOR42の
1,0に応じI0,I1を選択して出力する。これと同時にラツ
チ69にこのデータが入る。NOR42の出力が1でT′が選
択されると加算器71ではT″=T′−ΔTの演算がなさ
れる。この様にNOR42の出力が1り時すなわち0D<D
3かつウインドウ内に1が存在しない場合が続く限り、
しきい値TがΔTきざみずつ低くなり、ドツトをONにす
る確率を上昇させる。When the output of NOR 42 is 0, that is, when the input density data D is larger than D 3 , or when the dot is turned on in the reference area, T 0 is selected. On the other hand, when that is D output of NOR 1 is less than D 3, if dots in the reference region is not T 'is selected. And this T 0 or T'is the selector
Input to 36 I 0 pin. In other words, selector 67 is NOR42
I 0 and I 1 are selected and output according to 1,0. At the same time, this data is entered in the latch 69. When the output of NOR42 is 1 and T'is selected, the adder 71 calculates T "= T '-. DELTA.T. In this way, when the output of NOR42 is 1, that is, 0D <D.
As long as 3 and 1 does not exist in the window,
The threshold value T is lowered by ΔT, and the probability of turning on the dot is increased.
一方、いったんドツトが打たれるとウインドウ内に1
が存在することからNOR42の出力が0となり、セレクタ6
7は初期値T0を選択する。これにより、ドツトが連続し
て打たれることを防止できる。On the other hand, once a dot is hit, 1 is displayed in the window.
, The output of NOR42 becomes 0, and selector 6
7 selects the initial value T 0 . This prevents the dots from being continuously hit.
又、入力データD>D3の場合もNOR42の出力は0とな
り、しきい値は初期化される。Also, when the input data D> D 3 , the output of NOR 42 becomes 0, and the threshold value is initialized.
この様に第2の実施例によれば濃度が低く、かつ2値
化済みの参照領域でドツトが無い場合に、しきい値を下
げることにより、濃度の低い部分で全くドツトが打たれ
ず白く抜けることを防止できる。As described above, according to the second embodiment, when the density is low and there is no dot in the binarized reference area, the threshold value is lowered so that the dot is not hit at all in the low density portion and becomes white. It can be prevented from coming off.
尚、本実施例をカラー画像処理装置に用いる場合、本
実施例の回路を必要色分持たせることで実現できる。When the present embodiment is used in a color image processing apparatus, it can be realized by providing the circuit of the present embodiment with necessary colors.
以上説明したごとく本発明によれば、所定領域にドッ
トをオンにする2値データが存在しない場合は、入力画
像データのレベルに応じて変動幅の変化するディザ信号
を所定のレベルの信号に加算したデータを2値化処理用
の閾値として設定し、2値化処理するので、ハイライト
部での白抜けの発生を防止することができる。更に、所
定領域にドットをオンにする2値データが存在する場合
は、高いレベルの閾値を2値化処理用の閾値として設定
し、2値化処理するので、ハイライト部でのドットのつ
ながりを防止することができる。As described above, according to the present invention, when the binary data for turning on the dot does not exist in the predetermined area, the dither signal whose fluctuation range changes according to the level of the input image data is added to the signal of the predetermined level. Since the set data is set as the threshold value for the binarization process and the binarization process is performed, it is possible to prevent the occurrence of white spots in the highlight portion. Further, when there is binary data for turning on dots in a predetermined area, a high level threshold value is set as a threshold value for binarization processing and binarization processing is performed. Can be prevented.
第1図は本発明の一実施例を示したブロツク構成図、 第2図は変動データの振幅制御の説明図、 第3図は既に2値化されたデータを参照するウインドウ
の説明図、 第4図はしきい値決定回路の第1の実施例を示した図、 第5図はラツチ回路のブロツク図、 第6図はしきい値決定回路の第2実施例を示した図、 1は画像読取装置、10は加算器、11は注目画素、12は比
較器、13はレベル変換器、14は減算器、15は誤差配分
器、16はエラーバツフアメモリ、17−1,17−2,17−3は
1bitラインメモリ、18はドツト検出器、19は変動データ
発生器、20はしきい値選択器、21はしきい値決定回路、
22は画像出力装置である。FIG. 1 is a block configuration diagram showing an embodiment of the present invention, FIG. 2 is an explanatory diagram of amplitude control of fluctuation data, FIG. 3 is an explanatory diagram of a window for referring to already binarized data, FIG. 4 is a diagram showing a first embodiment of the threshold value determining circuit, FIG. 5 is a block diagram of a latch circuit, and FIG. 6 is a diagram showing a second embodiment of the threshold value determining circuit. Image reading device, 10 is an adder, 11 is a pixel of interest, 12 is a comparator, 13 is a level converter, 14 is a subtractor, 15 is an error distributor, 16 is an error buffer memory, 17-1, 17-2 , 17-3 is
1-bit line memory, 18 dot detector, 19 variable data generator, 20 threshold selector, 21 threshold decision circuit,
Reference numeral 22 is an image output device.
Claims (1)
を入力し、2値データに変換する画像処理装置におい
て、 複数画素からなる2値化処理済みの領域にドットをオン
にする2値データが存在するか否かを検出する検出手段
と、 前記検出手段がドットをオンにする2値データが存在し
ないことを検出すると入力画像データのレベルに応じて
変動幅の変化するディザ信号を所定のレベルの信号に加
算したデータを2値化処理用の閾値として設定し、前記
検出手段がドットをオンにする2値データが存在するこ
とを検出すると、高いレベルの閾値を2値化処理用の閾
値として設定する設定手段と、 前記設定手段により設定された2値化処理用の閾値を用
いて誤差拡散法により入力画像データを2値データに変
換する2値化手段とを有することを特徴とする画像処理
装置。1. An image processing apparatus for inputting multi-valued image data representing image information and converting it into binary data, wherein binary data for turning on dots in a binarized area consisting of a plurality of pixels. And a dither signal whose variation range changes in accordance with the level of the input image data when the detection unit detects that there is no binary data for turning on the dot. The data added to the level signal is set as a threshold value for binarization processing, and when the detection means detects the presence of binary data for turning on the dot, the high level threshold value is set for binarization processing. And a binarizing unit for converting the input image data into binary data by an error diffusion method using the binarizing threshold set by the setting unit. The image processing apparatus according to claim.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63056550A JP2692838B2 (en) | 1988-03-09 | 1988-03-09 | Image processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63056550A JP2692838B2 (en) | 1988-03-09 | 1988-03-09 | Image processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01228372A JPH01228372A (en) | 1989-09-12 |
| JP2692838B2 true JP2692838B2 (en) | 1997-12-17 |
Family
ID=13030209
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63056550A Expired - Fee Related JP2692838B2 (en) | 1988-03-09 | 1988-03-09 | Image processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2692838B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3030981B2 (en) * | 1991-09-26 | 2000-04-10 | 富士ゼロックス株式会社 | Halftone image reproduction method and apparatus |
-
1988
- 1988-03-09 JP JP63056550A patent/JP2692838B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01228372A (en) | 1989-09-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH077619A (en) | Document processing system | |
| EP0781034B1 (en) | Image processing apparatus and method | |
| JP2815157B2 (en) | Image processing device | |
| US6134355A (en) | Binarization using a local average, and using error diffusion | |
| JP2692838B2 (en) | Image processing device | |
| JPH08298598A (en) | Image processor and image processing method | |
| JPH0683367B2 (en) | Image processing device | |
| JP2662401B2 (en) | Image processing device | |
| JP2003110852A (en) | Halftone processing method and apparatus | |
| JPH0793534A (en) | Image processing device | |
| US5200839A (en) | Image processing apparatus | |
| JPH11346311A (en) | Tone reproduction method | |
| JP2900907B2 (en) | Image processing device | |
| JP2003198843A (en) | Reduced-buffer error diffusion | |
| JP2662402B2 (en) | Image processing device | |
| JP2670477B2 (en) | Image processing device | |
| JP2851662B2 (en) | Image processing device | |
| JP2749985B2 (en) | Image processing device | |
| JP2675792B2 (en) | Image processing device | |
| JPH02210960A (en) | Picture processor | |
| JPH0644800B2 (en) | Image processing device | |
| JP2601156B2 (en) | Image processing device | |
| JP3965713B2 (en) | Color image binarization method by error diffusion method | |
| JPH05176168A (en) | Adaptive halftone processing method | |
| JP3184616B2 (en) | Image processing method and apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |