JP2738865B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2738865B2
JP2738865B2 JP1169406A JP16940689A JP2738865B2 JP 2738865 B2 JP2738865 B2 JP 2738865B2 JP 1169406 A JP1169406 A JP 1169406A JP 16940689 A JP16940689 A JP 16940689A JP 2738865 B2 JP2738865 B2 JP 2738865B2
Authority
JP
Japan
Prior art keywords
image data
value
level
processing
threshold
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
JP1169406A
Other languages
Japanese (ja)
Other versions
JPH0334770A (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 JP1169406A priority Critical patent/JP2738865B2/en
Publication of JPH0334770A publication Critical patent/JPH0334770A/en
Application granted granted Critical
Publication of JP2738865B2 publication Critical patent/JP2738865B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は画像データを多値の画像データに多値化処理
する画像処理装置に関し、特に入力画像データと多値化
後の多値画像データとの誤差を補正しながら多値化を行
う画像処理装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for performing multi-value processing of image data into multi-value image data, and more particularly to input image data and multi-value image data after multi-value processing. The present invention relates to an image processing apparatus that performs multi-value processing while correcting an error with the image processing.

〔従来の技術〕[Conventional technology]

従来より、濃度保存型の量子化方法としては、誤差拡
散法、平均誤差最小法等が知られている。第7図
(a),(b)に誤差拡散法により入力画像データを多
値化処理する際のブロツク図を示す。多値化(n値化)
部にはn−1個の閾値が用いられる構成となっており、
これらの閾値とt1〜tn-1と画像データとの大小を比較し
て画像のn値化処理を行う。そしてn値化処理の際発生
する誤差(入力画像データとn値化処理後の出力画像デ
ータとの差)は、誤差計算部において計算され、周囲の
まだ2値化が行われていない複数又は単一の画素に加算
され、入力画像と出力画像の濃度の保存が行なわれる。
この種の量子化方法によれば文字等の線画及び写真等の
中間調画像いずれの画像に対しても良好に再現できると
いった長所がある。
Conventionally, an error diffusion method, an average error minimization method, and the like have been known as a density preserving type quantization method. FIGS. 7 (a) and 7 (b) are block diagrams showing multi-value processing of input image data by the error diffusion method. Multi-value (n-value)
The section has a configuration in which n-1 thresholds are used,
The threshold value is compared with the values of t 1 to t n−1 and the image data to perform the image n-value conversion processing. The error (difference between the input image data and the output image data after the n-value processing) generated at the time of the n-value processing is calculated by the error calculation unit, and a plurality of the surrounding pixels that have not been binarized yet are calculated. It is added to a single pixel, and the density of the input image and the output image is preserved.
According to this type of quantization method, there is an advantage that it is possible to satisfactorily reproduce both a line image such as a character and a halftone image such as a photograph.

〔発明が解決しようとしている課題〕[Problems to be solved by the invention]

しかしながら上述の従来例では、n値化のためにn−
1個の閾値t1〜tn-1と画像データを比較している。この
際t1〜tn-1までが互いに接近した値を持っているため
に、n値化の結果と原画素の画像データ値との誤差が微
小になり、誤差が微小になると周囲の画素への誤差拡散
が十分に行われないことになる。このため誤差拡散法に
より多値化ではなく、単なる多値化と非常に近い結果と
なってしまう。
However, in the above-described conventional example, n-value
The image data is compared with one threshold value t1 to tn -1 . For up to this time t 1 ~t n-1 has a value close to each other, the error between the image data value of the n value conversion result and the original pixel is very small, around the error is very small pixel Will not be sufficiently diffused. For this reason, the error diffusion method is not multi-valued, but very similar to simple multi-valued conversion.

このために原画像がグラデーシヨン(濃度勾配)を持
つ中間調画像の場合は、多値化を行なった際の境界がは
っきりしてしまい、疑似輪郭が発生して画質が劣化し、
時には誤差拡散法による2値化より悪い画質になってし
まう欠点があった。
For this reason, when the original image is a halftone image having a gradation (density gradient), the boundary when performing multi-valued processing becomes clear, a pseudo contour occurs, and the image quality deteriorates.
There was a drawback that the image quality was sometimes worse than the binarization by the error diffusion method.

さらに疑似輪郭の発生原因としては、n値化の結果を
プリンタ等に出力する際にも考えられる。例えばインク
ジエツトプリンタで濃度により、淡いインク、濃いイン
クというように出力するインクの切り換える時に大きな
濃度差が発生する。このためにインクの切り換えに相当
する濃度付近で疑似輪郭が発生する。第8図(a)は誤
差拡散法によりn値化を行なった際の処理結果の一例を
示すものであり、誤差の拡散量が少ないためはっきりと
した境界が現われてしまい、しかも出力“1"と“2"で使
用する濃淡インクが異なる場合には、さらにはっきりと
した疑似輪郭が発生するといった欠点があった。
Further, the cause of the occurrence of the pseudo contour can be considered when outputting the result of the n-value conversion to a printer or the like. For example, depending on the density of an ink jet printer, a large density difference occurs when switching between light ink and dark ink to be output. For this reason, a pseudo contour occurs near the density corresponding to the ink switching. FIG. 8 (a) shows an example of the processing result when n-value conversion is performed by the error diffusion method. Since the amount of error diffusion is small, a clear boundary appears, and the output "1" is output. If the dark and light inks used are different from those of "2" and "2", there is a disadvantage that a clearer pseudo contour is generated.

本発明は上述した従来技術の欠点を除去するものであ
り、多値化処理の際に発生する誤差データを補正するこ
とにより解像度及び階調性ともに優れた画像を再現でき
るとともに、多値化処理の際用いる複数組の閾値のうち
少なくとも1つの組の閾値を濃度レベルの高いほうに片
寄らせ、さらに少なくとも1つの組の閾値を濃度レベル
の低いほうに片寄らせたことにより、発生する誤差の量
を多くし、疑似輪郭の発生をも防止することができる画
像処理装置の提供を目的とする。
The present invention eliminates the above-mentioned disadvantages of the prior art. By correcting error data generated at the time of multi-value processing, it is possible to reproduce an image excellent in both resolution and gradation and to perform multi-value processing. Of at least one of the plurality of sets of thresholds used in the step (b) is biased toward the higher density level, and at least one set of thresholds is biased toward the lower density level. It is an object of the present invention to provide an image processing apparatus capable of preventing the occurrence of false contours.

[課題を解決するための手段] 上述した目的を達成するべく本発明の画像処理装置
は、入力画像データを多値の画像データに多値化する画
像処理装置において、画像データを入力する入力手段
と、1画素の多値化処理のための複数の閾値を1組と
し、複数組の閾値を周期的に変動させて発生する閾値発
生手段と、前記閾値発生手段からの1組複数の閾値と1
画素の入力画像データを比較することにより入力画像デ
ータを多値レベルの画像データに多値化処理する多値化
手段と、前記多値化処理により発生する入力画像データ
と多値化後の多値画像データとの誤差を補正する補正手
段とを有し、前記閾値発生手段が発生する閾値を、複数
組の閾値のうち少なくとも1つの組の閾値を濃度レベル
の高いほうに片寄らせ、さらに少なくとも1つの組の閾
値を濃度レベルの低いほうに片寄らせたことを特徴とす
る。
Means for Solving the Problems In order to achieve the above object, an image processing apparatus according to the present invention is an image processing apparatus for converting input image data into multi-valued image data. A plurality of thresholds for multi-value processing of one pixel as one set, a threshold generation unit that generates the plurality of sets of thresholds by periodically changing, and a set of a plurality of thresholds from the threshold generation unit; 1
A multi-level converting means for performing multi-level processing of the input image data into multi-level image data by comparing the input image data of the pixels; and a multi-level processing after the multi-level processing and the input image data generated by the multi-level processing. Correction means for correcting an error with the value image data, wherein the threshold value generated by the threshold value generation means is biased toward a higher density level of at least one of the plurality of threshold values, and further at least One set of threshold values is biased toward the lower density level.

〔実施例〕〔Example〕

以下、図面を参照し本発明の一実施例を詳細に説明す
る。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例を示したブロツク図であ
る。
FIG. 1 is a block diagram showing one embodiment of the present invention.

1は原稿画像を読取り、8ビツトに量子化されたデジ
タル画像データを出力する画像入力部である。又、画像
入力部はコンピユータからの画像を入力する構成であっ
てもよい。画像入力部1によって入力された入力画像デ
ータには加算部2でラインバツフア6からの拡散誤差が
加算される。この拡散誤差は、現在入力している入力画
像データ以前の画素に対し多値化処理を行なった際に発
生した誤差である。次に多値化部3において多値化が行
なわれる。その結果が最終出力としてレーザビームプリ
ンタ,インクジエツトプリンタやモニタ等によって構成
される画像出力部7に出力される。また、この出力は差
分計算部4に送られる。差分計算部4では多値化前の入
力画像データと多値化後の出力画像データとの差を計算
する。この計算結果が多値化の際の誤差となる。この誤
差は配分演算部5において、現在処理している画素の周
辺画素に振り分けるデータとして分割される。尚、配分
演算部5では現在処理している画素に近い画素により多
くの誤差が分配される様重み付けが行なわれている。適
当な分割の配分比で分られた拡散誤差データはラインバ
ツフア6の周辺画素に相当する適当な位置に加算され
る。最終的に、注目画素に割り当てられる誤差はこのラ
インバツフア6において加算され、多値化処理する段階
で加算部2によって誤差の加算が行なわれる。誤差は当
然負の場合もある。
An image input unit 1 reads an original image and outputs digital image data quantized to 8 bits. Further, the image input unit may be configured to input an image from a computer. The adder 2 adds the diffusion error from the line buffer 6 to the input image data input by the image input unit 1. This diffusion error is an error generated when multi-value processing is performed on a pixel before the currently input image data. Next, multi-level conversion is performed in the multi-level conversion unit 3. The result is output as a final output to an image output unit 7 including a laser beam printer, an ink jet printer, a monitor, and the like. This output is sent to the difference calculator 4. The difference calculator 4 calculates a difference between the input image data before multi-value conversion and the output image data after multi-value conversion. This calculation result becomes an error in multi-value conversion. This error is divided by the distribution calculation unit 5 as data to be distributed to peripheral pixels of the pixel currently being processed. The distribution calculation unit 5 performs weighting so that more errors are distributed to pixels close to the pixel currently being processed. Diffusion error data obtained at an appropriate division distribution ratio is added to an appropriate position corresponding to a peripheral pixel of the line buffer 6. Finally, the error assigned to the pixel of interest is added in the line buffer 6, and the addition of the error is performed by the adder 2 at the stage of multi-value processing. The error can of course be negative.

尚、誤差は入力画像データよりも出力画像データが小
さい時は正のデータであり、逆に入力画像データよりも
出力画像データが大きい時は負のデータとなる。
The error is positive when the output image data is smaller than the input image data, and is negative when the output image data is larger than the input image data.

次に多値化部3について詳細に説明する。第2図は多
値化部の詳細な構成の一実施例を示す図であり、多値化
(n値化)のために11−1〜11−(n−1)までn−1
個の比較器が用意されている。
Next, the multi-value conversion unit 3 will be described in detail. FIG. 2 is a diagram showing an embodiment of the detailed configuration of the multi-level conversion unit, where n-1 to 11- (n-1) are used for multi-level conversion (n-level conversion).
Are provided.

比較器11−1〜11(n−1)では、それぞれ入力画像
データと閾値を格納した閾値ROM10−1〜10(n−1)
からの閾値との比較を行ない、画像データが閾値よりも
大きい時は1を又小さい時は0をエンコーダ12へ出力す
る。エンコーダ12では、比較器11−1〜11−(n−1)
の比較結果に基づき閾値を越えた比較器がいくつある
か、つまり比較器から出力された1の値がいくつあるか
に基づき多値化の出力を決定する。
In the comparators 11-1 to 11 (n-1), threshold ROMs 10-1 to 10 (n-1) storing the input image data and the threshold, respectively.
Then, when the image data is larger than the threshold value, 1 is outputted, and when the image data is smaller than the threshold value, 0 is outputted to the encoder 12. In the encoder 12, the comparators 11-1 to 11- (n-1)
Is determined based on the number of comparators exceeding the threshold value, that is, the number of 1 values output from the comparators, based on the comparison result.

閾値ROM10−1〜10−(n−1)に格納されている閾
値データは注目画素(処理中の画素データ)の位置に応
じて定まった値を出力する様になっている。このため水
平カウンタ8に入力される画素クロツクと垂直カウンタ
9に入力される水平同期信号(HSYNC)の数に応じて画
素位置を決定し、この水平カウンタ8及び垂直カウンタ
9からの出力が閾値ROM10−1〜10−(n−1)にアド
レスデータとして供給される。
The threshold data stored in the threshold ROMs 10-1 to 10- (n-1) output a value determined according to the position of the pixel of interest (pixel data being processed). For this reason, the pixel position is determined according to the pixel clock input to the horizontal counter 8 and the number of horizontal synchronization signals (HSYNC) input to the vertical counter 9, and the outputs from the horizontal counter 8 and the vertical counter 9 are used as the threshold ROM 10. -1 to 10- (n-1) are supplied as address data.

第3図(a)にn=4即ち入力画像データを4値化す
る際の閾値ROM10−1〜10−3に格納されている閾値デ
ータを示す。
FIG. 3A shows threshold data stored in the threshold ROMs 10-1 to 10-3 when n = 4, that is, when the input image data is quaternized.

尚、ここで入力画像データは8bit(0〜255)に量子
化されたデータとし、多値化処理されて出力されるデー
タは0,80,160,255の4値のデータとする。第3図(a)
において13に示したx11〜x22は画素の位置を示してい
る。
Here, the input image data is assumed to be data quantized to 8 bits (0 to 255), and the data output after being subjected to the multi-value processing is assumed to be 4-value data of 0, 80, 160, 255. Fig. 3 (a)
X 11 ~x 22 shown in 13 indicate the positions of pixels in.

14,15,16に示したそれぞれの閾値マトリクスは本実施
例では2×2とした。従って水平カウンタ8と垂直カウ
ンタ9は画素位置を指定するために下位2bitのみを閾値
ROM10に供給すれば良い事になる。結局多値化部2では
第3図の(b)に示す4種類の内どれか1つの組合せの
閾値を用いる。例えば〔20,40,60〕の閾値が選ばれる画
素位置では、4値化誤差拡散処理結果の濃度が濃くなる
可能性が大きく、又、60を越える入力画像データは3
(8bit255)で出力されるため誤差の拡散量が大きくな
る可能性が高い。逆に〔200,220,240〕の閾値が選ばれ
ると処理結果は薄く出力する傾向が強くなり、又、200
未満の入力画像データは0(8bit0)で出力されるため
誤差の拡散量が大きくなる可能性が高くなる。
Each of the threshold matrices shown in 14, 15, and 16 is 2 × 2 in this embodiment. Therefore, the horizontal counter 8 and the vertical counter 9 use only the lower 2 bits as a threshold to specify the pixel position.
It would be good to supply it to ROM10. Eventually, the multi-level conversion unit 2 uses the threshold value of any one of the four types shown in FIG. 3B. For example, at a pixel position where a threshold value of [20, 40, 60] is selected, there is a high possibility that the density of the quaternized error diffusion processing result will be high.
(8 bits 255), the error diffusion amount is likely to be large. Conversely, if a threshold of [200, 220, 240] is selected, the processing result tends to output thinly,
Since the input image data less than 0 is output as 0 (8 bit 0), the possibility that the amount of error diffusion becomes large increases.

この様に閾値を濃度の高い方又は低い方にかたよらせ
ることで単純な3つの閾値例えば(60,120,180)を用い
て誤差拡散法を行なう場合よりも誤差の拡散量を大きく
することができる。
In this way, by making the threshold value higher or lower, the amount of error diffusion can be made larger than when the error diffusion method is performed using three simple threshold values, for example, (60, 120, 180).

つまり、本実施例によれば、誤差を補正しない単純な
n(4)値化処理になることを防止することができる。
これによりn値化処理後レベルが明確に変化することを
防止でき、疑似輪郭の発生を防止することができる。
In other words, according to the present embodiment, it is possible to prevent a simple n (4) -value processing without correcting the error.
As a result, it is possible to prevent the level after the n-value conversion process from clearly changing, and to prevent the occurrence of a false contour.

しかも本実施例では、閾値を画素位置に応じて周期的
に変化させる様にしている。例えば第3図においてはx
11,x22,x12,x21の順で閾値の濃度レベルを高くしてい
る。従って、この2×2のマトリクスとして考えた場
合、閾値が極端に低い濃度や高い濃度に設定されること
なく閾値のバランスをとることができる。尚、閾値の設
定の仕方は前述の実施例に限るものではない。例えば第
3図(a)の閾値を用いて4値化処理した場合0(8bit
0)と3(8bit255)の出力が多くなるが閾値の組合せを
仮に(20,50,80)というようにとれば1(8bit80)や2
(8bit160)が出力される頻度が大きくなる。
Moreover, in this embodiment, the threshold value is periodically changed according to the pixel position. For example, in FIG.
Have higher concentration levels of threshold 11, the order of x 22, x 12, x 21 . Therefore, when considered as a 2 × 2 matrix, the thresholds can be balanced without setting the thresholds to extremely low or high densities. The method of setting the threshold is not limited to the above embodiment. For example, when quaternary processing is performed using the threshold value of FIG.
The output of 0) and 3 (8 bit 255) increases, but if the combination of thresholds is assumed to be (20, 50, 80), 1 (8 bit 80) or 2
(8bit160) is output more frequently.

つまり、1組の閾値の中でそれぞれのデータ差が小さ
い程2値化に近い処理結果となる。
In other words, the smaller the data difference among a set of threshold values, the closer the processing result to binarization.

従って、これを利用し原稿が文字等の場合は解像度を
向上させるため1組の閾値中でそれぞれのデータの差が
小さいものを用い、原稿が写真等の場合は階調性を向上
させるため、1組の閾値中でそれぞれのデータの差が大
きいものを用いるようにすると、更に画質を向上するこ
とができる。
Therefore, by using this, when the original is a character or the like, to improve the resolution, use a set of threshold values with a small difference between the respective data, and when the original is a photograph or the like, to improve the gradation, If one set of threshold values having a large difference between the respective data is used, the image quality can be further improved.

〔他の実施例〕[Other embodiments]

第4図は本発明の第2の実施例を示したブロツク図で
ある。図中、第1図と同一の構成要素には同一の符号を
附し、その詳細な説明は省略する。
FIG. 4 is a block diagram showing a second embodiment of the present invention. In the figure, the same components as those in FIG. 1 are denoted by the same reference numerals, and detailed description thereof will be omitted.

多値化部21は例えば第6図のaに示した3つの閾値を
用い単なる4値化を行なう。この4値化を行う際のデー
タには多値化処理を行う前に第2加算部20においてデイ
ザ信号が加えられている。第2加算部20にはデイザROM1
9の出力が与えられており、水平カウンタ17、垂直カウ
ンタ18により注目画素位置をカウントした位置情報がデ
イザROMにアドレスとして与えられる。それぞれのカウ
ンタは画像クロツク及び水平同期信号HSYNCに基づいて
カウントされる。デイザROM19のデータ内容の例を第5
図(a)に示す。この場合多値化部31の閾値が第6図a
であれば第1の実施例と全く同じ結果が得られる。
The multi-level conversion unit 21 simply performs four-level conversion using, for example, the three threshold values shown in FIG. A dither signal is added to the data at the time of performing the quaternary conversion in the second adder 20 before performing the multi-value processing. The second adder 20 has a dither ROM 1
Nine outputs are given, and the position information obtained by counting the target pixel position by the horizontal counter 17 and the vertical counter 18 is given as an address to the dither ROM. Each counter is counted based on the image clock and the horizontal synchronization signal HSYNC. Example of data contents of dither ROM 19
It is shown in FIG. In this case, the threshold value of the multi-level conversion unit 31 is
Then, the same result as in the first embodiment can be obtained.

又第6図のa〔20,40,60〕を〔20,50,80〕のようにす
れば多値化の際に、0,3の出力のほかに1,2の出力頻度が
高くなる。
If a [20,40,60] in FIG. 6 is changed to [20,50,80], the output frequency of 1,2 becomes high in addition to the output of 0,3 in the case of multi-valued conversion. .

このデイザROM19と多値化部31の閾値の組合せにより
出力に対する効果を変えることができる。つまり画像出
力部7が、表示装置か、レーザビームプリンタか或いは
LBP、インクジエツトプリンタかに応じて前述した組み
合わせを任意に設定でき、出力装置に応じた画像処理を
行なうことができる。例えば第5図(b)と第6図bの
組合せでは、4値化した際に、“0",“1",“2",“3"の
出現頻度をかたよらせなくすることができ、又第5図
(c)と第6図bの組合せでは“0",“3"の出現頻度を
低くし、“1",“2"の出現頻度を高くすることができ
る。これは、第5図(b)のデイザ信号の方が第5図
(c)のデイザ信号に比べ振れ幅が大きいためである。
The effect on the output can be changed by the combination of the dither ROM 19 and the threshold value of the multi-value quantization unit 31. That is, the image output unit 7 is a display device, a laser beam printer, or
The combination described above can be arbitrarily set depending on whether the printer is an LBP or an inkjet printer, and image processing can be performed according to the output device. For example, in the combination of FIG. 5B and FIG. 6B, when quaternized, the appearance frequencies of “0”, “1”, “2”, and “3” can be prevented from fluctuating, In addition, in the combination of FIG. 5C and FIG. 6B, the appearance frequency of “0” and “3” can be reduced, and the appearance frequency of “1” and “2” can be increased. This is because the dither signal of FIG. 5B has a larger amplitude than the dither signal of FIG. 5C.

このデイザ信号の振幅が大きいほど第8図(b)に示
した疑似輪郭防止幅が大きくなり、疑似輪郭の発生を防
止することができる。一方、この場合再生画像にノイズ
が発生するが、ノイズの発生を抑えるにはデイザ信号の
振幅が小さいものを用いればよい。
The larger the amplitude of the dither signal is, the larger the false contour prevention width shown in FIG. 8B is, and the occurrence of the false contour can be prevented. On the other hand, in this case, noise is generated in the reproduced image. To suppress the noise, a signal having a small dither signal amplitude may be used.

つまり、出力装置の特徴に応じ疑似輪郭の目立ちやす
い出力装置に対しては第5図(b)に示したデイザ信号
の振幅が大きいものを用い、疑似輪郭の目立ちにくい出
力装置に対しては第5図(c)に示したデイザ信号の振
幅が小さいものを用いることにより、ノイズ感のない画
像を得ることができる。
In other words, the output device having a large amplitude of the dither signal shown in FIG. 5B is used for an output device in which the pseudo contour is conspicuous according to the characteristics of the output device, and the output device is used for the output device in which the pseudo contour is not conspicuous. 5 By using a dither signal having a small amplitude as shown in FIG. 5 (c), it is possible to obtain an image without noise.

前述説明した実施例では第4図〔B〕の部分にデイザ
信号を付加したが、又、第5図〔A〕の位置に入れる事
も可能である。この場合には、誤差拡散法における濃度
保存という点から、加えるデイザROMの値は正負両方の
値をとり、その合計が0となる事が望ましいのは容易に
考察できる。
In the above-described embodiment, the dither signal is added to the portion shown in FIG. 4B, but it is also possible to add the dither signal to the position shown in FIG. 5A. In this case, from the viewpoint of preserving the density in the error diffusion method, it can be easily considered that the value of the dither ROM to be added takes both positive and negative values, and it is desirable that the sum thereof be 0.

さらに本発明においては、デイザROMや閾値ROMの大き
さ(サイズ)を限定するものではない。
Further, in the present invention, the size (size) of the dither ROM or the threshold ROM is not limited.

又、本実施例では入力画像データが1つの場合を説明
したが、このデータをR,G,B3つに増やすことにより本発
明はカラー画像にも適用することができる。
In the present embodiment, the case where the number of input image data is one has been described. However, the present invention can be applied to a color image by increasing this data to R, G, and B.

以上説明したように本実施例によれば、多値化の際に
閾値や入力画像データ等を操作する事により、誤差拡散
の多値化結果にバラツキ効果を持たせて、疑似輪郭防止
に役立たせる事が可能である。
As described above, according to the present embodiment, by operating a threshold value, input image data, and the like at the time of multi-value conversion, the multi-value conversion result of error diffusion has a variation effect, which is useful for preventing false contours. It is possible to make it.

さらに閾値ROMやデイザROMの閾値のとり方により、誤
差拡散特有のテクスチヤー構造の出現防止の効果も生じ
る。
Further, depending on how to set the threshold value of the threshold ROM or the dither ROM, an effect of preventing the appearance of a texture structure peculiar to error diffusion also occurs.

〔発明の効果〕〔The invention's effect〕

以上説明した如く本発明によれば、多値化処理の際に
発生する誤差データを補正することにより解像度及び階
調性ともに優れた画像を再現できるとともに、多値化処
理の際用いる複数組の閾値のうち少なくとも1つの組の
閾値を濃度レベルの高いほうに片寄らせ、さらに少なく
とも1つの組の閾値を濃度レベルの低いほうに片寄らせ
たことにより、発生する誤差の量を多くし、疑似輪郭の
発生をも防止することができる。
As described above, according to the present invention, it is possible to reproduce an image excellent in both resolution and gradation by correcting error data generated at the time of the multi-value processing, and a plurality of sets used at the time of the multi-value processing. By biasing at least one set of thresholds toward higher density levels and further biasing at least one set of thresholds toward lower density levels, the amount of errors that occur is increased, and pseudo contours are increased. Can also be prevented from occurring.

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

第1図は本発明の第1の実施例を示すブロツク図、 第2図は多値化部の詳細な構成を示した図、 第3図は多値化閾値マトリクスを示した図、 第4図は本発明の第2の実施例を示したブロツク図、 第5図は第2の実施例で用いられるデイザ信号を示した
図、 第6図は第2の実施例で用いられる多値化閾値を示した
図、 第7図(a),第7図(b)は一般的な多値の誤差拡散
法を説明するための図、 第8図は従来の多値化処理結果と本実施例の多値化処理
結果を示した図である。 図中1は画像入力部、2は加算部、3は多値化部、4は
差分計算部、5は配分演算部、6はラインバツフア、7
は画像出力部、8は水平カウンタ、9は垂直カウンタ、
10−1〜10−(n−1)は閾値ROM、11−1〜11(n−
1)は比較器、12はエンコーダ、17は水平カウンタ、18
は垂直カウンタ、19はデイザROM、20は加算部、21は多
値化部である。
FIG. 1 is a block diagram showing a first embodiment of the present invention, FIG. 2 is a diagram showing a detailed configuration of a multi-value conversion unit, FIG. 3 is a diagram showing a multi-value threshold matrix, and FIG. FIG. 5 is a block diagram showing a second embodiment of the present invention, FIG. 5 is a diagram showing a dither signal used in the second embodiment, and FIG. 6 is a multi-level coding used in the second embodiment. 7 (a) and 7 (b) are diagrams for explaining a general multi-valued error diffusion method, and FIG. 8 is a diagram showing a conventional multi-value processing result and the present embodiment. FIG. 14 is a diagram illustrating an example of a multi-value processing result. In the figure, 1 is an image input unit, 2 is an addition unit, 3 is a multi-value conversion unit, 4 is a difference calculation unit, 5 is a distribution operation unit, 6 is a line buffer, 7
Is an image output unit, 8 is a horizontal counter, 9 is a vertical counter,
10-1 to 10- (n-1) are threshold ROMs, and 11-1 to 11 (n-
1) is a comparator, 12 is an encoder, 17 is a horizontal counter, 18
Denotes a vertical counter, 19 denotes a dither ROM, 20 denotes an addition unit, and 21 denotes a multi-value conversion unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力画像データを多値の画像データに多値
化する画像処理装置において、 画像データを入力する入力手段と、 1画素の多値化処理のための複数の閾値を1組とし、複
数組の閾値を周期的に変動させて発生する閾値発生手段
と、 前記閾値発生手段からの1組複数の閾値と1画素の入力
画像データを比較することにより入力画像データを多値
レベルの画像データに多値化処理する多値化手段と、 前記多値化処理により発生する入力画像データと多値化
後の多値画像データとの誤差を補正する補正手段とを有
し、 前記閾値発生手段が発生する閾値を、複数組の閾値のう
ち少なくとも1つの組の閾値を濃度レベルの高いほうに
片寄らせ、さらに少なくとも1つの組の閾値を濃度レベ
ルの低いほうに片寄らせたことを特徴とする画像処理装
置。
1. An image processing apparatus for converting input image data into multi-valued image data, comprising: a set of input means for inputting image data; and a plurality of thresholds for multi-value processing of one pixel. A threshold value generating means for periodically varying a plurality of sets of threshold values; and a plurality of sets of threshold values from the threshold value generating means and input image data of one pixel to compare input image data at a multi-level level. A multi-level processing unit for performing multi-level processing on the image data; and a correction unit configured to correct an error between the input image data generated by the multi-level processing and the multi-level image data after the multi-level processing. The threshold value generated by the generating means is such that at least one of the plurality of threshold values is biased toward a higher density level, and at least one of the threshold values is biased toward a lower density level. Image processing Apparatus.
JP1169406A 1989-06-30 1989-06-30 Image processing device Expired - Fee Related JP2738865B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1169406A JP2738865B2 (en) 1989-06-30 1989-06-30 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1169406A JP2738865B2 (en) 1989-06-30 1989-06-30 Image processing device

Publications (2)

Publication Number Publication Date
JPH0334770A JPH0334770A (en) 1991-02-14
JP2738865B2 true JP2738865B2 (en) 1998-04-08

Family

ID=15886011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1169406A Expired - Fee Related JP2738865B2 (en) 1989-06-30 1989-06-30 Image processing device

Country Status (1)

Country Link
JP (1) JP2738865B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1098662A (en) * 1996-09-20 1998-04-14 Pioneer Electron Corp Driving device for self-light emitting display unit

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62239666A (en) * 1986-04-10 1987-10-20 Seiko Epson Corp Binarization processor
JPS63288755A (en) * 1987-05-21 1988-11-25 Canon Inc Image processing method
JP2703911B2 (en) * 1987-12-03 1998-01-26 キヤノン株式会社 Image processing device

Also Published As

Publication number Publication date
JPH0334770A (en) 1991-02-14

Similar Documents

Publication Publication Date Title
US5488673A (en) Image processing with fixed or variable threshold
US5325448A (en) Image treatment method and apparatus with error dispersion and controllable quantization
JP3313399B2 (en) Image processing device
EP0715451B1 (en) Error diffusion pattern shifting reduction through programmable threshold perturbation
US5394250A (en) Image processing capable of handling multi-level image data without deterioration of image quality in highlight areas
JPH10271331A (en) Image processing method and device therefor
KR950006440B1 (en) Halt-tone image processing system
JPH07123248A (en) Method and device for processing picture
US5289294A (en) Image processing apparatus
JP3262414B2 (en) Image processing apparatus and image processing method
US6330075B1 (en) Image processing method and apparatus
JPH0530361A (en) Method and device for reproducing intermediate tone picture
US6369912B1 (en) Image processing apparatus capable of applying line component to image
JP2738865B2 (en) Image processing device
JP2882531B2 (en) Image processing device
JP5312158B2 (en) Image processing apparatus and image processing method
US5200839A (en) Image processing apparatus
JP2733314B2 (en) Image processing device
JP3124589B2 (en) Image processing device
JPH01130945A (en) Image processing apparatus
JP2851662B2 (en) Image processing device
JP2848567B2 (en) Image processing device
JP3560265B2 (en) Pseudo halftone processing method
JP3574711B2 (en) Image data binarization method and apparatus
JP2792581B2 (en) Image processing device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090116

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees