JP2801195B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2801195B2
JP2801195B2 JP62274244A JP27424487A JP2801195B2 JP 2801195 B2 JP2801195 B2 JP 2801195B2 JP 62274244 A JP62274244 A JP 62274244A JP 27424487 A JP27424487 A JP 27424487A JP 2801195 B2 JP2801195 B2 JP 2801195B2
Authority
JP
Japan
Prior art keywords
data
image
image data
input
signal
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
Application number
JP62274244A
Other languages
Japanese (ja)
Other versions
JPH01115271A (en
Inventor
秀史 大沢
昭宏 片山
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP62274244A priority Critical patent/JP2801195B2/en
Publication of JPH01115271A publication Critical patent/JPH01115271A/en
Application granted granted Critical
Publication of JP2801195B2 publication Critical patent/JP2801195B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は画像をデジタル的に処理するデジタル複写機
及びデジタルファクシミリ等の画像処理装置に関し、特
に入力した画像データを誤差拡散法により3レベル以上
の多値データに多値化処理する画像処理装置に関するも
のである。 〔従来の技術〕 一般にCCDセンサ等により画像をサンプリングし、デ
ジタル化したデータをレーザビームプリンタ等のデジタ
ルプリンタから出力し、画像を再現するデジタル複写装
置は、デジタル機器の発展により従来のアナログ複写装
置に代わり広く普及しつつある。 このデジタル複写装置は、中間調画像を再現するため
のデイザ法や濃度パターン法により階調再現を行う方式
が一般にとられている。しかしかかる方法に於いては以
下の問題があった。 (1) 原稿が印刷等の網点画像の場合、複写された画
像に原稿には無い周期的な稿模様が生じる。 (2) 原稿に線画・文字等が入っている場合には、デ
イザ処理によりエツジが切れ切れになり画質が低下す
る。 上記稿模様の発生する現像はモアレ現像と呼ばれ、そ
の発生原因は、 A)網点原稿と入力サンプリングによるビート B)網点原稿とデイザしきい値マトリクスとのビート が挙げられる。 特に(B)の現象は、一般にデイザのしきい値がドツ
ト集中型で配列される時、出力画像も疑似網点構造をし
ており、これが入力原稿との間にビートを生じ、モアレ
現像を生じさせるものである。 これに対し、他の2値化手法として誤差拡散法があ
る。この方法は原稿の画像濃度と出力画像濃度の画素ご
との濃度差を演算し、この演算結果である誤差分を周辺
画素に、特定の重みづけを施した後に分散させていく方
法である。これについては、文献R.W.Floyd and L.Stei
nberg,SID.17,PP75〜77(1976)で発表がなされてい
る。 この方法は、原稿の濃度を保存できるとともに周期性
が無いのでデイザ処理に比べて網点画像に対しモアレが
発生しない。また画像の解像度もデイザに比べ優れてい
るという特徴がある。 〔発明が解決しようとしている問題点〕 しかしながら上記従来例における誤差拡散法の場合、
写真等の濃淡変化の少ない画像では、出力画像に独特の
稿パターンが生じたり、画像のハイライト部、シヤドウ
部では、粒状性ノイズが目立つなどの欠点があった。 この対策として、多値プリンタを用いて、中間濃度に
よりノイズおよび稿パターンを目立たなくさせる方法が
考えられている。この場合誤差拡散の出力レベルを3値
以上の多値レベルにする方法が考えられるが、単純に多
値レベルにした場合疑似輪郭が生じやすいという欠点が
あった。 本発明は上述した従来技術の欠点を除去し、入力画像
データに画像のエッジ量に応じた大きさのディザ信号を
加算し、ディジ信号の加算された画像データを誤差拡散
法により3レベル以上の多値データに多値化処理するも
のであり、誤差拡散法における多値化処理により高画質
な画像を得ることができるとともに、多値化処理の際問
題となっていた疑似輪郭の発生を防止することができる
画像処理装置の提供を目的とする。 [問題点を解決するための手段] 本発明の画像処理装置は上述した目的を達成するた
め、入力した画像データを誤差拡散法により3レベル以
上の多値データに多値化処理する画像処理装置であっ
て、画像データを入力する入力手段と、ディザ信号を発
生するディザ信号発生手段と、前記入力手段で入力した
画像データからエッジ量を検出するエッジ量検出手段
と、前記エッジ量検出手段において検出されたエッジ量
が小さいほど大きなディザ信号となるように前記ディザ
信号発生手段で発生したディザ信号の大きさを制御する
制御手段と、前記制御手段により大きさの制御されたデ
ィザ信号を前記入力手段で入力した画像データに加算す
る加算手段と、前記加算手段によりエッジ量に応じて大
きさの制御されたディザ信号が加算された画像データを
3レベル以上の多値レベルのデータに多値化処理する処
理手段と、前記処理手段における多値化処理の際に発生
する誤差データを新たに入力する画像データに加算する
誤差データ加算手段とからなる。 〔実施例〕 以下図面を参照し本発明の一実施例を詳細に説明す
る。 第1図は本発明の一実施例を示したブロツク図であ
る。CCD等の光電変換素子およびこれを走査する駆動系
から構成される入力センサ部10で読み取られた画像デー
タは、A/D変換器11に送られる。A/D変換器11では各画素
のデータを8bitのデジタルデータに変換する。これによ
り256レベルの階調数をもつデータに量子化することが
できる。 次に8bitに量子化されたデジタルデータは補正回路12
に送られ、ここではセンサーの感度ムラや照明光源によ
る照度ムラを補正するためのシエーデイング補正等をデ
ジタル演算処理で行う。 次にこの補正信号100は、エツジ検出回路13、加算器1
5に送られる。エツジ検出回路13では、画像のもつエツ
ジ成分を検出し、エツジの有無に対応した信号102を付
加データ設定器14に出力する。付加データ設定器14で
は、画像の性質に適した付加データ108を加算器15に供
給する。加算器15では補正信号100と付加データ108を加
算し、この加算された信号103を誤差拡散回路16に出力
する。誤差拡散回路16では、多値プリンタ16の出力レベ
ルに応じた量子化数で信号103を再量子化し、この再量
子化された信号101を多値プリンタ17へ出力する。 多値プリンタ17とは、2値プリンタがドツトのON/OFF
(黒と白)の2つの状態しか表現できないのに対し、中
間レベルであるグレー(灰色)を、例えばインク量を制
御することにより表現するものである。グレーが1段階
のものを3値プリンタ、グレーが2段階とれるものを4
値プリンタという。 多値プリンタ17では1画素毎にインク量をコントロー
ルし、これを所定の用紙に出力することにより画像形成
を行う。 第2図は、第1図のエツジ検出回路13の詳細を示した
ブロツク図である。補正回路12で補正後の画像データ10
0はセレクタ20により選択され、ラインバツフアメモリ2
1a〜21dに送られる。セレクタ20はこのラインバツフア2
1a〜21dのうち1つを選択しデータの書き込みを行う。
セレクタ22は残りの3のラインバツファの1つを選択し
データの読み出しを行う。画像データは、第1のライン
バツフア21aに書き込みが終わると、次のデータを第2
のラインバツフア21bに書き込む。これを順次第3,第4
のラインバツフア21c,21dにデータを書き込む。第4の
ラインバツフア21dへの書き込みが終了すると第1のラ
インバツフア21aに戻ってデータの書き込みを行う。 これによりラインバツフアには現在書き込み中の画像
データラインより以前の3つの連続するラインデータが
記録されており、これをセレクタ22により選択し読み出
すことになる。次に、このラインデータは、max最大値
(以下maxという)検出回路23、min最小値(以下minと
いう)検出回路24に送られる。次に、max205、min206は
減算器25でmax205−min206の値が演算される。この値
は、比較器26で特定の閾値T1と比較され、T1より大きい
い時はエツジ部と判断し1を、小さい時は非エツジ部と
判断し0の出力信号102を得る。この信号102は後述する
第6図のセレクタ62に入力される。 第3図は、第2図のmax検出器23、min検出器24の詳細
を示したブロツク図である。セレクタ22で選ばれたライ
ンの画像データ202,203,204は、ラツチ30a〜30c,31a〜3
1c,32a〜32cで1画素ずつ遅延される。比較選択器33aで
は、ラツチ31a,32aの出力を比較するが、これはある画
素とその1つ先の画素のデータを比較することになる。
同様に比較器34aでは33aの出力結果と2つ先の画素のデ
ータを比較することになる。したがって34aの出力は、
1ラインの連続する3画素のmaxまたはminになる。次に
比較選択器35は、1ライン目と2ライン目のmax,または
minの検出をし、比較選択器36は、この結果と3ライン
目のmaxまたはminの検出を行う。以上の結果、比較選択
器36の出力は、3×3画素ブロツク内のmax又はminとな
る。ここでmax,minは以下説明する比較選択器の構成に
より求められる。 第4図にmaxを検出する際の比較選択器の構成を示
す。入力AとBは、比較器40およびラツチ41,42に、そ
れぞれ出力される。比較器40ではA>Bの時は、比較器
40の出力は1となり、この信号は、反転器43を通して、
ラツチ41のイネーブル端子に入る。ラツチ41,42は負論
理とすると、出力45はAの値となる。 逆にA≦Bの時は出力45はBの値となる。これにより
A,Bの大きい方の値が45に出力されることになる。 一方min検出器は、反転器43ラツチ42側に入れること
により容易に実現出来る。 第5−1図は、第1図,第2図のエツジ検出出力102
を得るための別の実施例を示す図である。セレクタ22か
らの3ライン分のデータにおいて、中心画素を50cまた
周辺画素50a,50b,50d,50eとする。中心画素は乗算器51
で定数倍され、この結果は減算器53に入力される。一方
周辺画素は、加算器52で総和が演算され、次に減算器53
に入る。この結果、減算器53の出力は、 出力53=定数×(50c)−{(50a)+(50b) +(50d)+(50e)} となる。これは第5−2図(a)に示したラプラシアン
演算に相当する。(但し定数=4) 次に減算器53の出力は、比較器54で閾値T4と比較さ
れ、ここでは、閾値T4より大きいときはエツジ部とし
1、逆に小さいときは非エツジ部とし0を得るようにす
ることにより出力102を得る。 同様に、第5−2図(b),(c)に示したような係
数のラプラシアン係数を用いても同様の結果が得られ
る。 第6図は第1図の付加データ設定器14の詳細を示した
ブロツク図である。デイザマトリクス回路60からの出力
106は、乗算器61である定数でK倍され信号107を得る。
また信号105は固定値で例えば0である。そして固定値1
05と信号107は、エツジ検出信号102によりセレクタ62に
おいて切り換えられ、信号108を得る。つまり、セレク
タ62はエツジの時は信号105(=0)を、非エツジの時
は信号107を選択する。これにより画像データ100に付加
されるデータ値108が決定される。デイザマトリクス60
においては、例えば第8図(a)のような−8〜+8ま
での値をもつ係数値を画素ブロツクに同期して順次繰り
返して出力する。同図では、4×4マトリクスを示した
が、入力される画像データの1ライン目では−8,4,−1,
−5の順に、2ライン目では、−4,8,7,3の順に係数値1
06を出力する。また同図(b)のように1次元方向のみ
信号値を変化させても同様の効果が得られる。 第7図は第1図の誤差拡散回路16の詳細を示したブロ
ツク図である。 画像データ100は加算器70で後述する補正データ114と
加算され、補正信号109となる。この信号は、再量子化
器72で多値レベルに量子化される。ここでは、3値(0,
128,255)に再量子することを例とすると ここでT1,T2はしきい値設定器71の設定に基づき設定
信号112により再量子化器72に設定される。 出力信号110は、出力バツファ73で多値プリンタ17の
タイミングとの調整がなされ、多値プリンタ17に送られ
る信号101に変換される。 一方、信号110と信号109は減算器74で減算され、これ
が誤差データ111として、エラーバツフアメモリ75のm
に対応する場所に記憶される。エラーバツフアメモリに
は、再量子化で生じた誤差データが、現ラインおよび2
ライン前まで計3ライン分蓄えられている。 補正データ114は、現在処理を行う注目画素位置をエ
ラーバツフアメモリ75のmの位置とすると、その周辺画
素の誤差データa〜lの12画素のデータ113を、所定の
重み付け演算およびその和を重み付け演算回路26で演算
処理された信号である。 これを式で書くと、画像データxij、補正データx′
ij、再量子化データyij,重み係数αkl,誤差εijとする
である。重み付け係数の一例を第9図に示す。 第10図は本発明の別の実施例を示した図である。 補正回路12からの出力100は付加データ設定器14から
の出力108をα倍(0≦α≦1)した値と混合器90で混
合される。 このαは、エツジ検出器からの出力120(第2図)、
または出力121(第5−1図)を混合比決定回路91に入
力し、その出力を第11図に相当する関数により出力123
として混合器90に出力される。 第11図のカーブは実験的に決定され、出力120,121が
小さい時は非エツジ部としα=1とし、付加信号が原信
号にすべて加算されることになる。逆に出力120,121が
大きい時つまりエツジ量が大きい場合は、α=0となり
付加信号がなくなり、原信号のみ混合器90から出力され
ることになる。 このように、エツジ成分の大小に応じて原信号に付加
する信号の割合を変化させることにより、網点画像では
エツジ成分が大きいので付加信号の割合が小さくなり、
画素の連続する画像ではエツジ成分が小さいので付加信
号の割合が大きくなる。 これにより、網点画像では誤差拡散法によりモアレの
発生を防止することができ、画素の連続する画像では多
値プリンタの欠点である疑似輪郭の発生を防止すること
ができる。 この様に、前述実施例によればエツジ検出手段により
画像のエツジを検出し、エツジ部では誤差拡散法による
再量子化出力を選択し、一方非エツジ部では、原データ
にデイザ信号を付加したデータを誤差拡散法で再量子化
した出力を選択するように切り換え手段を設けることに
より、誤差拡散法によるエツジの強調及び高解像度を維
持できるとともに、多値プリンタで出力する再問題とな
っていた画像の疑似輪郭の発生を防止し、高画質な画像
を得ることができる。 〔効 果〕 以上説明したごとく本発明は、入力画像データに画像
のエッジ量にが小さいほど大きい値のディザ信号を加算
し、ディザ信号の加算された画像データを誤差拡散法に
より3レベル以上の多値データに多値化処理するもので
あり、誤差拡散法における多値化処理により高画質な画
像を得ることができるとともに、多値化処理の際問題と
なっていた疑似輪郭の発生を防止することができる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus such as a digital copier and a digital facsimile for digitally processing an image, and more particularly, to a method of converting input image data into three or more levels by an error diffusion method. The present invention relates to an image processing apparatus that performs multi-value processing on multi-value data. [Prior art] In general, digital copying machines that sample images using a CCD sensor or the like, output digitized data from a digital printer such as a laser beam printer, and reproduce the images, are conventional analog copying machines due to the development of digital devices. It is becoming widely used instead. This digital copying apparatus generally adopts a method of reproducing gradation by a dither method or a density pattern method for reproducing a halftone image. However, such a method has the following problems. (1) When the original is a halftone image such as a print, a periodic manuscript not included in the original is generated in the copied image. (2) If the original contains line drawings, characters, etc., the dithering process causes the edges to be cut off, resulting in lower image quality. The development in which the manuscript pattern is generated is called moiré development, and the cause thereof is A) a beat between the halftone dot document and the input sampling B) a beat between the halftone dot document and the dither threshold matrix. In particular, the phenomenon (B) is that, when the threshold value of dither is generally arranged in a dot-concentrated manner, the output image also has a pseudo halftone dot structure, which generates a beat between the input image and the moire image. Cause it to occur. On the other hand, there is an error diffusion method as another binarization method. This method is a method of calculating a density difference between an image density of a document and an output image density for each pixel, and distributing an error as a result of the calculation after assigning specific weights to peripheral pixels. For this, see RW Floyd and L. Stei
nberg, SID.17, PP75-77 (1976). This method can preserve the density of the original and has no periodicity, so that moire does not occur in the halftone dot image as compared with dither processing. Another feature is that the image resolution is superior to that of dither. [Problems to be solved by the invention] However, in the case of the error diffusion method in the above conventional example,
An image having a small change in shading, such as a photograph, has drawbacks such as the generation of a unique draft pattern in the output image, and the appearance of grainy noise in highlights and shadows of the image. As a countermeasure, a method of using a multi-value printer to make noise and draft patterns inconspicuous due to intermediate density has been considered. In this case, a method is conceivable in which the output level of error diffusion is set to a multi-valued level of three or more values. The present invention eliminates the above-described disadvantages of the prior art, adds a dither signal having a size corresponding to the edge amount of an image to input image data, and converts the image data to which the digit signal has been added to three or more levels by an error diffusion method. Multi-value processing is performed on multi-valued data. High-quality images can be obtained by multi-value processing in the error diffusion method, and the occurrence of false contours, which was a problem in multi-value processing, is prevented. It is an object of the present invention to provide an image processing apparatus capable of performing the above. Means for Solving the Problems In order to achieve the above object, an image processing apparatus of the present invention performs multilevel processing of input image data into multilevel data of three or more levels by an error diffusion method. Wherein input means for inputting image data, dither signal generating means for generating a dither signal, edge amount detecting means for detecting an edge amount from the image data input by the input means, and the edge amount detecting means Control means for controlling the magnitude of the dither signal generated by the dither signal generation means such that the smaller the detected edge amount is, the larger the dither signal is; and the dither signal whose magnitude is controlled by the control means is input to the input means. Means for adding to the image data input by the means, and an image data to which the dither signal whose size is controlled in accordance with the edge amount is added by the adding means. Processing means for performing multi-level processing on data at three or more levels, and error data addition for adding error data generated at the time of multi-level processing in the processing means to newly input image data Means. Embodiment An embodiment of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention. Image data read by an input sensor unit 10 including a photoelectric conversion element such as a CCD and a drive system for scanning the same is sent to an A / D converter 11. The A / D converter 11 converts the data of each pixel into 8-bit digital data. As a result, the data can be quantized into data having 256 levels of gradation. Next, the digital data quantized to 8 bits is supplied to the correction circuit 12.
Here, shading correction for correcting unevenness in sensitivity of the sensor and uneven illuminance caused by the illumination light source is performed by digital arithmetic processing. Next, the correction signal 100 is supplied to the edge detection circuit 13, the adder 1
Sent to 5. The edge detection circuit 13 detects an edge component of the image and outputs a signal 102 corresponding to the presence or absence of an edge to the additional data setting unit 14. The additional data setting unit 14 supplies additional data 108 suitable for the characteristics of the image to the adder 15. The adder 15 adds the correction signal 100 and the additional data 108, and outputs the added signal 103 to the error diffusion circuit 16. The error diffusion circuit 16 re-quantizes the signal 103 with a quantization number according to the output level of the multi-level printer 16, and outputs the re-quantized signal 101 to the multi-level printer 17. Multi-level printer 17 is a binary printer with ON / OFF dots
While only two states (black and white) can be represented, gray (gray), which is an intermediate level, is represented by controlling the amount of ink, for example. One-level gray printer is a ternary printer, two-level gray printer is 4
It is called a value printer. The multi-value printer 17 controls the amount of ink for each pixel and outputs the image on a predetermined sheet to form an image. FIG. 2 is a block diagram showing details of the edge detection circuit 13 of FIG. Image data 10 corrected by the correction circuit 12
0 is selected by the selector 20 and the line buffer memory 2
Sent to 1a-21d. Selector 20 uses this line buffer 2
One of 1a to 21d is selected and data is written.
The selector 22 selects one of the remaining three line buffers and reads the data. When the writing of the image data to the first line buffer 21a is completed, the next data is transferred to the second line buffer 21a.
Is written to the line buffer 21b. This is sequentially called the third and fourth
The data is written to the line buffers 21c and 21d. When the writing to the fourth line buffer 21d is completed, the process returns to the first line buffer 21a to write the data. As a result, three consecutive line data before the currently written image data line are recorded in the line buffer, and the line data is selected and read out by the selector 22. Next, the line data is sent to a max maximum value (hereinafter referred to as max) detection circuit 23 and a min minimum value (hereinafter referred to as min) detection circuit 24. Next, the values of max205 and min206 are calculated by the subtractor 25 as max205-min206. This value is compared with a specific threshold value T1 by the comparator 26. If the value is larger than T1, it is judged as an edge portion, and if it is smaller, it is judged as a non-edge portion, and an output signal 102 of 0 is obtained. This signal 102 is input to a selector 62 shown in FIG. FIG. 3 is a block diagram showing details of the max detector 23 and the min detector 24 in FIG. The image data 202, 203 and 204 of the line selected by the selector 22 are latches 30a to 30c and 31a to 3
1c, 32a to 32c are delayed by one pixel. The comparison selector 33a compares the outputs of the latches 31a and 32a, which compares the data of a certain pixel with that of the next pixel.
Similarly, the comparator 34a compares the output result of the pixel 33a with the data of the next pixel. Therefore the output of 34a is
It becomes max or min of three consecutive pixels in one line. Next, the comparison selector 35 sets the max of the first line and the second line, or
The min / min is detected, and the comparison / selection unit 36 detects the result and max / min of the third line. As a result, the output of the comparison selector 36 becomes max or min in the 3 × 3 pixel block. Here, max and min are obtained by the configuration of the comparison selector described below. FIG. 4 shows the configuration of the comparison selector when detecting max. The inputs A and B are output to a comparator 40 and latches 41 and 42, respectively. In the comparator 40, when A> B, the comparator
The output of 40 is 1 and this signal is passed through inverter 43
It enters the enable terminal of the latch 41. Assuming that the latches 41 and 42 have negative logic, the output 45 has the value of A. Conversely, when A ≦ B, the output 45 takes the value of B. This
The larger value of A and B is output to 45. On the other hand, the min detector can be easily realized by putting it in the inverter 43 latch 42 side. FIG. 5A shows the edge detection output 102 of FIGS.
FIG. 10 is a view showing another embodiment for obtaining the above. In the data of three lines from the selector 22, the central pixel is 50c and the peripheral pixels 50a, 50b, 50d, 50e. The center pixel is a multiplier 51
, And the result is input to the subtractor 53. On the other hand, the sum of the peripheral pixels is calculated by the adder 52 and then the subtractor 53
to go into. As a result, the output of the subtractor 53 is: output 53 = constant × (50c) − {(50a) + (50b) + (50d) + (50e)}. This corresponds to the Laplacian operation shown in FIG. 5-2 (a). (Constant = 4) Next, the output of the subtractor 53 is compared with a threshold value T4 by a comparator 54. Here, when the output value is larger than the threshold value T4, the edge portion is set to 1; The output 102 is obtained. Similarly, the same result can be obtained by using the Laplacian coefficient of the coefficient as shown in FIGS. 5-2 (b) and (c). FIG. 6 is a block diagram showing the details of the additional data setting unit 14 of FIG. Output from dither matrix circuit 60
106 is multiplied by K with a constant being a multiplier 61 to obtain a signal 107.
The signal 105 is a fixed value, for example, 0. And fixed value 1
05 and the signal 107 are switched in the selector 62 by the edge detection signal 102, and the signal 108 is obtained. That is, the selector 62 selects the signal 105 (= 0) at the time of an edge, and selects the signal 107 at the time of a non-edge. Thereby, the data value 108 added to the image data 100 is determined. Dither matrix 60
In FIG. 8, for example, coefficient values having values from -8 to +8 as shown in FIG. 8 (a) are sequentially and repeatedly output in synchronization with the pixel block. In the figure, a 4 × 4 matrix is shown, but -8, 4, −1,
In the order of −5, in the second line, the coefficient value is 1 in the order of −4, 8, 7, 3.
Outputs 06. The same effect can be obtained by changing the signal value only in the one-dimensional direction as shown in FIG. FIG. 7 is a block diagram showing details of the error diffusion circuit 16 of FIG. The image data 100 is added to correction data 114 described later by the adder 70 to form a correction signal 109. This signal is quantized to a multilevel level by the requantizer 72. Here, three values (0,
128,255) Here, T 1 and T 2 are set in the requantizer 72 by the setting signal 112 based on the setting of the threshold value setter 71. The output signal 110 is adjusted by the output buffer 73 with the timing of the multi-level printer 17, and is converted into a signal 101 sent to the multi-level printer 17. On the other hand, the signal 110 and the signal 109 are subtracted by a subtractor 74, and this is used as error data 111 as m in the error buffer memory 75.
Is stored in the location corresponding to. The error buffer memory stores the error data generated by the requantization in the current line and in the 2nd line.
A total of three lines are stored before the line. Assuming that the position of the pixel of interest for which the current processing is to be performed is the position of m in the error buffer memory 75, the correction data 114 is obtained by subjecting the data 113 of the 12 pixels of the error data a to l of the peripheral pixels to a predetermined weighting operation and the sum thereof. It is a signal that has been subjected to arithmetic processing by the weighting arithmetic circuit 26. When this is expressed by an equation, image data x ij , correction data x ′
ij , requantized data y ij , weight coefficient α kl , and error ε ij It is. FIG. 9 shows an example of the weighting coefficient. FIG. 10 is a view showing another embodiment of the present invention. The output 100 from the correction circuit 12 is mixed with a value obtained by multiplying the output 108 from the additional data setting unit 14 by α (0 ≦ α ≦ 1) by the mixer 90. This α is the output 120 from the edge detector (FIG. 2),
Alternatively, the output 121 (FIG. 5-1) is input to the mixing ratio determination circuit 91, and the output is output 123 by a function corresponding to FIG.
Is output to the mixer 90. The curve shown in FIG. 11 is experimentally determined. When the outputs 120 and 121 are small, the edge portion is determined to be a non-edge portion, α = 1, and all the additional signals are added to the original signal. Conversely, when the outputs 120 and 121 are large, that is, when the edge amount is large, α = 0 and there is no additional signal, and only the original signal is output from the mixer 90. In this way, by changing the ratio of the signal added to the original signal according to the magnitude of the edge component, the dot component has a large edge component in the halftone dot image, so that the ratio of the additional signal is small.
Since the edge component is small in an image in which pixels are continuous, the ratio of the additional signal increases. This makes it possible to prevent the occurrence of moire in a halftone dot image by the error diffusion method, and to prevent the occurrence of a false contour, which is a drawback of a multi-value printer, in an image having continuous pixels. As described above, according to the above-described embodiment, the edge of the image is detected by the edge detecting means, and the requantized output by the error diffusion method is selected in the edge portion, while the dither signal is added to the original data in the non-edge portion. By providing switching means so as to select an output obtained by requantizing the data by the error diffusion method, it is possible to enhance the edge and maintain a high resolution by the error diffusion method, and there is a problem of outputting the data by a multi-value printer. It is possible to prevent the occurrence of a false contour of an image and obtain a high-quality image. [Effect] As described above, according to the present invention, a dither signal having a larger value is added to input image data as the edge amount of the image is smaller, and the image data to which the dither signal has been added is subjected to an error diffusion method to three or more levels. Multi-value processing is performed on multi-valued data. High-quality images can be obtained by multi-value processing in the error diffusion method, and the occurrence of false contours, which was a problem in multi-value processing, is prevented. can do.

【図面の簡単な説明】 第1図は本発明の一実施例を示すブロツク図、 第2図は最大値、最小値を用いたエツジ検出回路を示し
た図、 第3図は最大値、最小値検出回路を示した図、 第4図は比較/選択回路を示した図、 第5−1図はラプラシアン法を用いたエツジ検出回路を
示した図、 第5−2図はラプラシアンフイルタの一例を示した図、 第6図は付加データ設定器の詳細を示したブロツク図、 第7図は誤差拡散回路の詳細を示したブロツク図、 第8図はデイザマトリクス回路内の係数値を示した図、 第9図は誤差拡散回路の拡散マトリクスおよび重み係数
値を示した図、 第10図は本発明の第2実施例を示したブロツク図、 第11図は係数αを決定するための説明図、 10は入力センサ部、11はA/D変換器、12は補正回路、13
はエツジ検出回路、14は付加データ設定器、15は加算
器、16は誤差拡散回路、17は多値プリンタ。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing an edge detecting circuit using maximum and minimum values, and FIG. FIG. 4 shows a value detection circuit, FIG. 4 shows a comparison / selection circuit, FIG. 5-1 shows an edge detection circuit using a Laplacian method, and FIG. 5-2 shows an example of a Laplacian filter. FIG. 6 is a block diagram showing details of the additional data setting unit, FIG. 7 is a block diagram showing details of the error diffusion circuit, and FIG. 8 is a diagram showing coefficient values in the dither matrix circuit. 9, FIG. 9 is a diagram showing a diffusion matrix and a weight coefficient value of an error diffusion circuit, FIG. 10 is a block diagram showing a second embodiment of the present invention, and FIG. 11 is a diagram for determining a coefficient α. Explanation diagram, 10 is an input sensor unit, 11 is an A / D converter, 12 is a correction circuit, 13
Is an edge detection circuit, 14 is an additional data setting device, 15 is an adder, 16 is an error diffusion circuit, and 17 is a multi-value printer.

Claims (1)

(57)【特許請求の範囲】 1.入力した画像データを誤差拡散法により3レベル以
上の多値データに多値化処理する画像処理装置であっ
て、 画像データを入力する入力手段と、 ディザ信号を発生するディザ信号発生手段と、 前記入力手段で入力した画像データからエッジ量を検出
するエッジ量検出手段と、 前記エッジ量検出手段において検出されたエッジ量が小
さいほど大きなディザ信号となるように前記ディザ信号
発生手段で発生したディザ信号の大きさを制御する制御
手段と、 前記制御手段により大きさの制御されたディザ信号を前
記入力手段で入力した画像データに加算する加算手段
と、 前記加算手段によりエッジ量に応じて大きさの制御され
たディザ信号が加算された画像データを3レベル以上の
多値レベルのデータに多値化処理する処理手段と、 前記処理手段における多値化処理の際に発生する誤差デ
ータを新たに入力する画像データに加算する誤差データ
加算手段とを有することを特徴とする画像処理装置。
(57) [Claims] What is claimed is: 1. An image processing apparatus for performing multi-level processing of input image data into multi-level data of three or more levels by an error diffusion method, comprising: input means for inputting image data; dither signal generating means for generating a dither signal; An edge amount detecting means for detecting an edge amount from the image data input by the input means; and a dither signal generated by the dither signal generating means such that the smaller the edge amount detected by the edge amount detecting means is, the larger the dither signal becomes. Control means for controlling the size of the image data; addition means for adding the dither signal whose size is controlled by the control means to the image data input by the input means; and Processing means for performing multi-level processing on the image data to which the controlled dither signal has been added into multi-level data of three or more levels; An image processing apparatus, comprising: error data adding means for adding error data generated during multi-level processing in a stage to newly input image data.
JP62274244A 1987-10-29 1987-10-29 Image processing device Expired - Fee Related JP2801195B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62274244A JP2801195B2 (en) 1987-10-29 1987-10-29 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62274244A JP2801195B2 (en) 1987-10-29 1987-10-29 Image processing device

Publications (2)

Publication Number Publication Date
JPH01115271A JPH01115271A (en) 1989-05-08
JP2801195B2 true JP2801195B2 (en) 1998-09-21

Family

ID=17539007

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62274244A Expired - Fee Related JP2801195B2 (en) 1987-10-29 1987-10-29 Image processing device

Country Status (1)

Country Link
JP (1) JP2801195B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7142330B2 (en) 1999-10-29 2006-11-28 Ricoh Company, Ltd. Image processing method, image processing apparatus and recording medium
US8259357B2 (en) 2007-03-09 2012-09-04 Sharp Kabushiki Kaisha Image processing apparatus, image forming apparatus, image processing method, and computer readable recording medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0329466A (en) * 1989-06-26 1991-02-07 Nec Corp Facsimile equipment
JP2756308B2 (en) * 1989-06-30 1998-05-25 キヤノン株式会社 Image processing device
JP2570890B2 (en) * 1990-06-05 1997-01-16 三菱電機株式会社 Image processing device
JP3040896B2 (en) * 1993-06-16 2000-05-15 シャープ株式会社 Image processing device
JP2006093884A (en) * 2004-09-21 2006-04-06 Oki Electric Ind Co Ltd Filtering device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62186663A (en) * 1986-02-12 1987-08-15 Ricoh Co Ltd Halftone digital picture processor
JPS62186664A (en) * 1986-02-12 1987-08-15 Ricoh Co Ltd Halftone digital picture processor
JPS62186665A (en) * 1986-02-12 1987-08-15 Ricoh Co Ltd Halftone digital picture processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7142330B2 (en) 1999-10-29 2006-11-28 Ricoh Company, Ltd. Image processing method, image processing apparatus and recording medium
US7636179B2 (en) 1999-10-29 2009-12-22 Ricoh Company, Ltd. Image quantization processing with error diffusion using oscillating quantization threshold to develop dots that spiral outward
US8259357B2 (en) 2007-03-09 2012-09-04 Sharp Kabushiki Kaisha Image processing apparatus, image forming apparatus, image processing method, and computer readable recording medium

Also Published As

Publication number Publication date
JPH01115271A (en) 1989-05-08

Similar Documents

Publication Publication Date Title
US5068746A (en) Image processing apparatus
EP1505821B1 (en) Image processing apparatus, an image forming apparatus and an image processing method
JP2683014B2 (en) Image processing method and apparatus
JPH08228288A (en) Method and device for adaptive filtering and threshold level setting improved to reduce graininess of image
US5805738A (en) Image processing apparatus and method
US5157741A (en) Image processing method and apparatus for out-putting dot-processed data with suppression of false contours and other noise
JP2006065834A (en) Image processing device and image processing method
JP2801195B2 (en) Image processing device
EP0382581B1 (en) Image processing apparatus
EP0496599B1 (en) Image processing apparatus and method for smoothing contours
JPH01115272A (en) Image processor
JP2621865B2 (en) Image processing device
JP2683085B2 (en) Image processing device
JPS63164570A (en) Image processing method
JPH0644800B2 (en) Image processing device
JP2002344742A (en) Imaging apparatus
JP2644491B2 (en) Image processing device
JP2900907B2 (en) Image processing device
JP3679522B2 (en) Image processing method and apparatus
JP2675792B2 (en) Image processing device
JPH0691605B2 (en) Image processing device
JP2001352448A (en) Image-forming method, image-processing unit and storage medium
JPS6180969A (en) Picture signal processor
JP2644492B2 (en) Image processing device
JP2683020B2 (en) Image processing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees