JPH1188693A - Pseudo-gradation processing unit - Google Patents

Pseudo-gradation processing unit

Info

Publication number
JPH1188693A
JPH1188693A JP9254375A JP25437597A JPH1188693A JP H1188693 A JPH1188693 A JP H1188693A JP 9254375 A JP9254375 A JP 9254375A JP 25437597 A JP25437597 A JP 25437597A JP H1188693 A JPH1188693 A JP H1188693A
Authority
JP
Japan
Prior art keywords
error
pixel
random number
pseudo
value
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
JP9254375A
Other languages
Japanese (ja)
Inventor
Rie Ishii
理恵 石井
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP9254375A priority Critical patent/JPH1188693A/en
Publication of JPH1188693A publication Critical patent/JPH1188693A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To generate in simulating manner an error with respect to a pixel on a same line as a processing pixel by a random number. SOLUTION: This processing unit is provided with a random number generator 110, an error-weighting arithmetic section 111, an adder 112, a comparator 113, an output section 114, an error memory 115, and a subtractor 116. A random number, denoting a weighted error and a simulating error of a pixel preceding to a noted pixel, is added to input data 117 and the comparator 113 compares the resulting data with a threshold level 118. The comparison result is subjected to N-value processing and the result is outputted from the output section 114. Furthermore, a difference between an output value and data before entering the comparator 113 is used for an error, it is stored in the error memory 115 and used for processing a pixel of a succeeding line.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル複写機、
デジタルファクシミリ、プリンタ等の画像処理部に適用
され、原画像を読みとるスキャナ等の画像データ入力装
置からの画像データを処理して出力する画像処理装置の
うち、特に、M値の入力データをN値に変換し(M>
N)、その際、発生する誤差を保存することによって、
原稿全体の濃度を保存しながら疑似的な階調表現を行う
疑似階調処理装置に関するものである。
The present invention relates to a digital copying machine,
Among image processing devices that are applied to an image processing unit such as a digital facsimile and a printer and that process and output image data from an image data input device such as a scanner that reads an original image, the M value input data is particularly converted into an N value input data. To (M>
N), by storing the errors that occur,
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pseudo gradation processing device that performs pseudo gradation expression while preserving the density of the entire document.

【0002】[0002]

【従来の技術】スキャナで読み取った画像データに各種
の画像処理を施す際に、疑似的な階調表現が行われ、出
力画像が作成される。疑似階調処理としては、1ドット
を或るしきい値によってN値化する1ドット多値化処
理、ディザマトリクスを用いて面積階調表現を行うディ
ザ処理、1ドットをしきい値でN値化したときに生じる
入力値と出力値の差(誤差)を保存し、他の周囲画素へ
分配していくことによって、原稿全体の濃度エネルギを
保存する誤差拡散処理などが代表的である。
2. Description of the Related Art When performing various types of image processing on image data read by a scanner, a pseudo gradation expression is performed to create an output image. The pseudo gradation processing includes a one-dot multi-value processing for converting one dot into an N value according to a certain threshold value, a dither processing for performing area gradation expression using a dither matrix, and a one-dot value as an N value using a threshold value. A typical example is an error diffusion process in which the difference (error) between the input value and the output value generated when the image is converted and stored is distributed to other surrounding pixels, thereby preserving the density energy of the entire document.

【0003】誤差拡散処理を行う画像処理装置として、
例えば特開平9−65129号公報に記載された技術が
提案されている。この技術は、変換されたN値データに
対して局所的微分値を算出し、局所的微分値を用いて入
力されたM値画像データを補正することで、エッジ強調
効果を得て、低濃度再生の再現性を向上させようとする
ものである。
As an image processing apparatus for performing an error diffusion process,
For example, a technique described in Japanese Patent Application Laid-Open No. 9-65129 has been proposed. This technique calculates a local differential value for the converted N-value data, corrects the input M-value image data using the local differential value, obtains an edge enhancement effect, and obtains a low density image. It is intended to improve the reproducibility of reproduction.

【0004】[0004]

【発明が解決しようとする課題】誤差拡散法において、
最低でも注目画素の前ライン画素において生じた誤差、
及び注目画素の前画素において生じた誤差が処理画素に
対して大きく影響する(注目画素に隣接する画素に生じ
る誤差を処理画素に反映させずに誤差拡散を行うと、一
定濃度部で誤差拡散特有の規則的なテクスチャが強く現
れた画像になり、画質が劣化する)ため、従来の誤差係
数マトリクスは、注目画素に近い前ライン画素及び隣接
画素に重みを付けて処理されていた。
SUMMARY OF THE INVENTION In the error diffusion method,
At least the error that occurred in the previous line pixel of the pixel of interest,
In addition, the error generated in the pixel before the pixel of interest greatly affects the processing pixel. (If error diffusion is performed without reflecting the error generated in the pixel adjacent to the pixel of interest in the processing pixel, the error diffusion peculiar to the constant density portion The image has a regular texture strongly appearing in the image, and the image quality deteriorates.) Therefore, the conventional error coefficient matrix is processed by weighting the previous line pixel and the adjacent pixel close to the target pixel.

【0005】しかしながら、従来のこの方法では、処理
が終了して誤差が算出されないと次の画素の処理ができ
ないため、主走査方向においては1画素ごとに演算を行
うしか方法がなく、処理の高速化が図りにくいという欠
点があった。
However, in this conventional method, the next pixel cannot be processed unless the processing is completed and an error is calculated. Therefore, there is no other way but to perform the operation for each pixel in the main scanning direction. There was a drawback that it was difficult to achieve the conversion.

【0006】本発明は、従来の問題点に鑑みてなされた
ものであり、処理画素と同ライン上にある画素に対する
誤差を乱数によって疑似的に発生させることによって、
主走査1ライン上の画素に対して一括で誤差拡散処理を
施すことができ、画像品質を保ちつつ処理の高速化を図
ることができる疑似階調処理装置を提供することを目的
とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the conventional problems, and generates an error for a pixel on the same line as a processing pixel by using a random number.
It is an object of the present invention to provide a pseudo-gradation processing device that can perform error diffusion processing on pixels on one main scanning line at a time and can speed up processing while maintaining image quality.

【0007】[0007]

【課題を解決するための手段】この目的を達成するため
に、請求項1記載の発明は、入力されたM値の画像デー
タをM値より小さいN値の画像データに変換する疑似階
調処理装置であって、誤差拡散処理を行う疑似階調処理
装置において、処理済み前ラインまでの誤差に対して重
み付け演算する誤差重み付け演算部と、注目画素の前画
素に疑似的な誤差を発生させるための乱数発生器と、入
力値に重み付けされた誤差及び乱数を付加したデータを
しきい値と比較し、N値化して出力する入出力部と、N
値化した際に発生する誤差を記憶するメモリ部とを備え
たことを特徴とするものである。
In order to achieve the above object, the present invention is directed to a pseudo gradation processing for converting input M-value image data into N-value image data smaller than the M value. A pseudo-gradation processing device for performing an error diffusion process, wherein an error weighting operation unit for performing a weighting operation on an error up to a processed previous line, and a pseudo-error for a pixel preceding the pixel of interest. A random number generator, an input / output unit that compares an error weighted to an input value and data obtained by adding a random number to a threshold value, converts the data into N-values, and outputs the N-valued data.
And a memory unit for storing an error generated when the value is converted.

【0008】また請求項2記載の発明は、請求項1記載
の発明において、注目画素ライン上にある画素の誤差に
ついては、乱数発生器の乱数を利用することを特徴とす
るものである。
According to a second aspect of the present invention, in the first aspect of the present invention, a random number of a random number generator is used for an error of a pixel on a target pixel line.

【0009】また請求項3記載の発明は、請求項1記載
の発明において、乱数発生器で発生させる乱数は、疑似
階調数Nに最適な範囲の値をとることを特徴とするもの
である。
According to a third aspect of the present invention, in the first aspect of the invention, the random number generated by the random number generator takes a value in an optimum range for the pseudo gray scale number N. .

【0010】[0010]

【発明の実施の形態】以下、本発明の実施の形態を添付
図面を参照しながら説明する。図1はデジタル複写機の
画像処理部のブロック図である。デジタル複写機の画像
処理部は、スキャナ入力部100、フィルタ処理部(フ
ィルタ回路)101、ガンマ処理部102、疑似階調処
理部103、プリンタ出力部104を備えている。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram of an image processing unit of the digital copying machine. The image processing unit of the digital copying machine includes a scanner input unit 100, a filter processing unit (filter circuit) 101, a gamma processing unit 102, a pseudo gradation processing unit 103, and a printer output unit 104.

【0011】このような構成において、スキャナ入力部
100で取り込まれた原画像データは、フィルタ処理部
101で原稿の種類に応じて、MTF処理、あるいは平
滑化などの処理を施される。その後、原稿によって例え
ば、文字原稿であれば低濃度の立ち上がりが良く、写真
原稿であれば低濃度の階調性が良くなるように、ガンマ
処理部102でガンマ変換を行う。ガンマ変換は、原稿
の種類だけでなく、プリンタのγ特性なども考慮されて
変換テーブルによって変換される。
In such a configuration, the original image data taken in by the scanner input unit 100 is subjected to a process such as an MTF process or a smoothing process according to the type of the document in the filter processing unit 101. Thereafter, gamma conversion is performed by the gamma processing unit 102 so that, for example, if a document is a character document, the rise of low density is good, and if it is a photo document, the gradation of low density is good. The gamma conversion is performed by the conversion table in consideration of not only the type of the document but also the γ characteristics of the printer.

【0012】変換されたデータは、さらに疑似階調処理
部103でN値の画像データに変換され、疑似的な階調
表現を行うことによって、出力画像を作成する。疑似階
調処理部103で行われる、疑似階調処理としては、1
ドットを或るしきい値によってN値化する1ドット多値
化処理、ディザマトリクスを用いて面積階調表現を行う
ディザ処理、1ドットをしきい値でN値化したときに生
じる入力値と出力値の差(誤差)を保存し、他の周囲画
素へ分配していくことによって、原稿全体の濃度エネル
ギを保存する誤差拡散処理などが代表的である。
The converted data is further converted into N-valued image data by a pseudo gradation processing unit 103, and a pseudo gradation expression is performed to create an output image. The pseudo gradation processing performed by the pseudo gradation processing unit 103 includes 1
1-dot multi-value processing for converting dots to N-values by a certain threshold, dither processing for area gradation expression using a dither matrix, and input values generated when 1-dots are converted to N-values with a threshold A typical example is an error diffusion process in which the difference (error) between output values is stored and distributed to other surrounding pixels, thereby preserving the density energy of the entire document.

【0013】本発明は、疑似階調処理のうちの誤差拡散
処理に関するものであり、これは周知の技術であるが、
簡単にここで説明する。図3は誤差についての説明図で
ある。点線部を任意のしきい値としたとき、入力値が点
線部の上部にあれば(図3のa)、出力は図の黒丸とな
り、その誤差は−AEである。また、入力値が点線部の
下部にあれば(図3のb)、出力は図の白丸となる。そ
の誤差はBEとなる。また、図3のcのように、入力値
が出力の白丸と同じ値なら、誤差は発生しない。
The present invention relates to an error diffusion process of the pseudo gradation process, which is a known technique.
This is briefly described here. FIG. 3 is an explanatory diagram of the error. When the dotted line is an arbitrary threshold and the input value is above the dotted line (a in FIG. 3), the output is a black circle in the figure and the error is -AE. If the input value is below the dotted line (b in FIG. 3), the output is a white circle in the figure. The error is BE. If the input value is the same as the output white circle as in FIG. 3C, no error occurs.

【0014】このようにして発生した誤差を、任意の比
率で周囲画素に分配する。この例を示した図が、図4で
ある。図4において、注目画素で発生した誤差をDEと
したとき、この例では、周囲の4画素に対して均等に分
配する。即ち、発生誤差を4つの画素に4分の1ずつ分
配する。これは、分配の一例であり、周囲のどの画素、
何画素に分配するか、また、その比率は任意である。一
般的には、注目画素により近い画素に誤差を多く分配す
ることが多い。
The error generated as described above is distributed to surrounding pixels at an arbitrary ratio. FIG. 4 shows this example. In FIG. 4, when an error generated in a target pixel is DE, in this example, the error is evenly distributed to four surrounding pixels. That is, the generated error is distributed to the four pixels in quarters. This is an example of a distribution, where any surrounding pixels,
The number of pixels and the ratio are arbitrary. In general, many errors are often distributed to pixels closer to the target pixel.

【0015】しかしながら、図4の方法では、注目画素
で発生した誤差(DE)を未処理の画素に分配するた
め、ハード構成が複雑になる。図4の誤差係数マトリク
スが、1画素ずつ主走査方向に移動してその誤差を影響
させていくことは、既に処理された画素の誤差を受け取
ることでも同様の意味が得られる。
However, in the method of FIG. 4, the error (DE) generated at the target pixel is distributed to unprocessed pixels, so that the hardware configuration becomes complicated. The fact that the error coefficient matrix of FIG. 4 moves one pixel at a time in the main scanning direction to influence the error has the same meaning as receiving an error of a pixel that has already been processed.

【0016】そこで、図5に示したように、各画素にお
いて発生した誤差をメモリに保存しておき、注目画素を
処理するときにそれらの誤差を任意の割合で受け取って
処理する方法が専ら行われている。この方法によれば、
誤差を未処理の画素に分配するよりも、より簡単な処理
を行うことができるが、処理画素の1つ前に処理した画
素において発生した誤差をも計算するため、主走査方向
には1画素ずつしか処理が行えず、1ライン一括で処理
するような方法は不可能である。
Therefore, as shown in FIG. 5, an error generated in each pixel is stored in a memory, and when the pixel of interest is processed, the error is received and processed at an arbitrary ratio. Have been done. According to this method,
Although it is possible to perform simpler processing than distributing the error to unprocessed pixels, since an error generated in a pixel processed immediately before the processed pixel is also calculated, one pixel in the main scanning direction is calculated. Only one line can be processed at a time, and a method of processing one line at a time is impossible.

【0017】そこで、図6に示すように、注目画素の前
画素の誤差分に(誤差分として)、乱数によって疑似的
に誤差を発生させ、前ラインまでの誤差の和(ERR
SUM)に加える。これによって、注目画素に対して誤
差拡散処理するときにも、前画素の処理結果を待つ必要
がないため、主走査1ラインの一括処理が可能となる。
Therefore, as shown in FIG. 6, a pseudo error is generated by a random number in the error of the previous pixel of the target pixel (as an error), and the sum of the errors up to the previous line (ERR) is obtained.
SUM). Thereby, even when the error diffusion processing is performed on the target pixel, it is not necessary to wait for the processing result of the previous pixel, so that the batch processing of one line in the main scanning can be performed.

【0018】図2は本発明の実施の形態を示す疑似階調
処理装置のブロック図である。このブロックは、図1の
疑似階調処理部103の内部を示すものであり、乱数発
生器110、誤差重み付け演算部111、加算器11
2、比較器113、出力部114、誤差メモリ115、
減算器116を備えている。符号117は入力データ、
118はしきい値を示す。
FIG. 2 is a block diagram of a pseudo gradation processing apparatus showing an embodiment of the present invention. This block shows the inside of the pseudo gradation processing unit 103 of FIG. 1, and includes a random number generator 110, an error weighting operation unit 111, and an adder 11
2, comparator 113, output unit 114, error memory 115,
A subtractor 116 is provided. Reference numeral 117 denotes input data,
Reference numeral 118 denotes a threshold.

【0019】図1のガンマ処理部102でガンマ処理さ
れた後の入力データ117は、処理済み前ラインまでの
誤差に対して、誤差重み付け演算部111で重み付け演
算された後の誤差と、処理画素の前画素の誤差の代わり
に、乱数発生器110で発生させた乱数(前画素の疑似
的な誤差)を加算器112で付加する。そしてその総和
を比較器113において、しきい値118と比較し、出
力部114からN値化して出力する。
The input data 117 that has been gamma-processed by the gamma processing unit 102 in FIG. 1 includes an error that has been weighted by the error weighting calculation unit 111 with respect to an error up to the processed line, and a processed pixel. The adder 112 adds a random number (a pseudo error of the previous pixel) generated by the random number generator 110 instead of the error of the previous pixel. Then, the sum is compared with a threshold value 118 in a comparator 113, and is output as an N value from an output unit 114.

【0020】また、出力部114からの出力値と、比較
器113に入る前のデータ、即ち、加算器112の出力
値との差分を減算器116で算出し、誤差として、誤差
メモリ115に記憶し、次ラインの画素を処理する際に
用いる。図11にそのタイミングチャートを示した。
The difference between the output value from the output unit 114 and the data before entering the comparator 113, that is, the output value of the adder 112 is calculated by the subtractor 116 and stored as an error in the error memory 115. Then, it is used when processing the pixel of the next line. FIG. 11 shows the timing chart.

【0021】図8は乱数発生器によって生成する乱数に
関する説明図である。この例で、入力データに対して、
しきい値128と比較し、128より大きいデータはF
F、128以下は0を出力する。実際の注目画素のデー
タDに周囲画素の誤差分が付加されて、しきい値と比較
される。この場合で用いられている誤差係数マトリクス
を図7の例とした場合、誤差分の内訳は、前ラインの発
生誤差err1〜err4にそれぞれ重み付け1/8あ
るいは2/8を乗算したものと、乱数で発生させた疑似
誤差R′及びRである。
FIG. 8 is an explanatory diagram relating to random numbers generated by a random number generator. In this example, for the input data,
Compared to the threshold value 128, data larger than 128
F, 128 or less outputs 0. The error D of the surrounding pixels is added to the actual data D of the target pixel, and is compared with the threshold value. When the error coefficient matrix used in this case is the example of FIG. 7, the breakdown of the error is obtained by multiplying the generated errors err1 to err4 of the previous line by 1/8 or 2/8, respectively, and a random number. Are the pseudo-errors R 'and R generated by.

【0022】図7では注目画素に近いerr3とRにつ
いては2/8の重み付けを行い、他の誤差については1
/8ずつの重み付けを行っている例を示している。そこ
で、ここでの誤差の内訳は、err1,err2,er
r4に1/8を掛けたものと、err3に2/8を掛け
たもの、誤差の重み付け1/8相当のR′と、誤差の重
み付け2/8相当のRを全て足したものである。
In FIG. 7, err3 and R which are close to the target pixel are weighted by 2/8, and other errors are 1%.
An example is shown in which weighting is performed every / 8. Therefore, the breakdown of the error here is err1, err2, er
The sum of r4 multiplied by 1/8, err3 multiplied by 2/8, R 'corresponding to error weighting 1/8, and R equivalent to error weighting 2/8 is all added.

【0023】図8で示されるように、ここでは128を
しきい値として2値化されているので、発生する誤差の
取り得る値は0から128である。つまり、R′とRの
位置で発生する誤差の取り得る範囲は0から128の間
で、さらにそれぞれの1/8相当、2/8相当であるの
で、ここでのR′は0〜16が取り得る値の範囲であ
り、Rは0〜32が取り得る値の範囲である。このよう
に、疑似誤差は、N値化した場合に取り得る誤差の範囲
の中での乱数で発生させることで、最適な処理をするこ
とができる。
As shown in FIG. 8, since the binarization is performed using 128 as the threshold value here, possible values of the generated error are 0 to 128. That is, the possible range of the error occurring at the positions of R 'and R is between 0 and 128, and furthermore, it corresponds to 1/8 and 2/8, respectively. This is a range of possible values, and R is a range of possible values from 0 to 32. As described above, the pseudo error can be optimally processed by generating the pseudo error with a random number within the range of the error that can be taken when the N value is obtained.

【0024】図9に乱数による疑似誤差の生成の例を示
した。乱数を発生させ、右に3ビットシフトすることに
よって、1/8の重み付けがされた乱数を得ることがで
きる。図10では前画素のデータによって、誤差のプラ
スマイナスを切り替える例を示している。
FIG. 9 shows an example of generation of a pseudo error using a random number. By generating a random number and shifting it to the right by 3 bits, a 1/8 weighted random number can be obtained. FIG. 10 shows an example in which the error is switched between plus and minus depending on the data of the previous pixel.

【0025】図8からも分かるように、128を超えた
データは255を出力するため、マイナスの誤差とな
り、128以下のデータは0になるため、プラスの誤差
が発生する。そのため、前画素のデータの大きさによっ
て誤差の正負を切り替える方法をとることにより、さら
に最適な誤差を生成することができる。
As can be seen from FIG. 8, since data exceeding 128 outputs 255, a negative error occurs, and data below 128 becomes 0, and a positive error occurs. Therefore, a more optimal error can be generated by switching the sign of the error depending on the size of the data of the previous pixel.

【0026】本発明の実施の形態の疑似階調処理装置
は、乱数発生器110、誤差重み付け演算部111、加
算器112、比較器113、出力部114、誤差メモリ
115、減算器116を備えている。そして、入力デー
タ117に、重み付けされた誤差及び注目画素の前画素
の疑似的な誤差を示す乱数を付加し、比較器113でし
きい値118と比較する。この比較結果をN値化して、
出力部114より出力する。また、出力値と、比較器1
13に入る前のデータとの差分を誤差として誤差メモリ
115に記憶し、次ラインの画素を処理する際に用い
る。従って、主走査1ラインの一括処理が可能となる。
The pseudo gradation processing apparatus according to the embodiment of the present invention includes a random number generator 110, an error weighting operation unit 111, an adder 112, a comparator 113, an output unit 114, an error memory 115, and a subtractor 116. I have. Then, a weighted error and a random number indicating a pseudo error of a pixel preceding the target pixel are added to the input data 117, and the comparator 113 compares the input data 117 with a threshold 118. This comparison result is converted into an N-value,
Output from the output unit 114. Also, the output value and the comparator 1
The difference from the data before entering 13 is stored in the error memory 115 as an error, and is used when processing the pixel of the next line. Therefore, batch processing of one line in the main scanning becomes possible.

【0027】[0027]

【発明の効果】請求項1記載の発明によれば、乱数によ
って疑似的に誤差を発生させて誤差拡散処理を行うこと
ができ、処理の高速化を図ることができる。
According to the first aspect of the present invention, it is possible to perform an error diffusion process by generating a pseudo error by using a random number, and to speed up the process.

【0028】請求項2記載の発明によれば、注目画素ラ
イン上にある画素の誤差については、乱数発生器の乱数
を利用し、演算処理を行わない(誤差の重み付けを行う
誤差係数マトリクスにおいて、注目画素ラインのマトリ
クスの誤差係数=0である)ので、主走査1ラインを一
括に誤差拡散処理することができ、処理の高速化を図る
ことができる。
According to the second aspect of the present invention, the error of the pixel on the target pixel line is not subjected to the arithmetic processing by using the random number of the random number generator (in the error coefficient matrix for weighting the error, Since the error coefficient of the matrix of the pixel line of interest is 0), one main scanning line can be subjected to the error diffusion processing at a time, and the processing speed can be increased.

【0029】請求項3記載の発明によれば、乱数発生器
で発生させる乱数は、疑似階調数Nに最適な範囲の値を
とるので、乱数によって作られる疑似的な誤差による誤
差拡散処理において、画質を劣化させず、かつ、処理の
高速化を図りつつ、従来の画像品質を保持することがで
きる。
According to the third aspect of the present invention, the random number generated by the random number generator takes a value in an optimum range for the pseudo gray scale number N. Therefore, in the error diffusion processing by the pseudo error generated by the random number, The conventional image quality can be maintained without deteriorating the image quality and speeding up the processing.

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

【図1】デジタル複写機の画像処理部のブロック図であ
る。
FIG. 1 is a block diagram of an image processing unit of a digital copying machine.

【図2】本発明の実施の形態を示す疑似階調処理装置の
ブロック図である。
FIG. 2 is a block diagram of a pseudo gradation processing device according to an embodiment of the present invention.

【図3】誤差発生の説明図である。FIG. 3 is an explanatory diagram of occurrence of an error.

【図4】誤差係数マトリクスの例を示す図である。FIG. 4 is a diagram illustrating an example of an error coefficient matrix.

【図5】誤差係数マトリクスの他の例を示す図である。FIG. 5 is a diagram illustrating another example of an error coefficient matrix.

【図6】本発明の誤差係数マトリクスの例を示す図であ
る。
FIG. 6 is a diagram illustrating an example of an error coefficient matrix according to the present invention.

【図7】本発明の誤差係数マトリクスの他の例を示す図
である。
FIG. 7 is a diagram showing another example of the error coefficient matrix of the present invention.

【図8】本発明における乱数発生器によって生成する乱
数に関する説明図である。
FIG. 8 is an explanatory diagram relating to random numbers generated by a random number generator according to the present invention.

【図9】本発明における疑似誤差生成の例を示す説明図
である。
FIG. 9 is an explanatory diagram showing an example of pseudo error generation in the present invention.

【図10】本発明における疑似誤差生成の他の例を示す
説明図である。
FIG. 10 is an explanatory diagram showing another example of pseudo error generation according to the present invention.

【図11】本発明の疑似階調処理装置のタイミングチャ
ートである。
FIG. 11 is a timing chart of the pseudo gradation processing device of the present invention.

【符号の説明】[Explanation of symbols]

110 乱数発生器 111 誤差重み付け演算部 112 加算器 113 比較器 114 出力部 115 誤差メモリ 116 減算器 117 入力データ 118 しきい値 Reference Signs List 110 random number generator 111 error weighting operation unit 112 adder 113 comparator 114 output unit 115 error memory 116 subtractor 117 input data 118 threshold

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 入力されたM値の画像データをM値より
小さいN値の画像データに変換する疑似階調処理装置で
あって、誤差拡散処理を行う疑似階調処理装置におい
て、 処理済み前ラインまでの誤差に対して重み付け演算する
誤差重み付け演算部と、 注目画素の前画素に疑似的な誤差を発生させるための乱
数発生器と、 入力値に重み付けされた誤差及び乱数を付加したデータ
をしきい値と比較し、N値化して出力する入出力部と、 N値化した際に発生する誤差を記憶するメモリ部と、 を備えたことを特徴とする疑似階調処理装置。
1. A pseudo-gradation processing device for converting input M-value image data into N-value image data smaller than the M value, wherein the pseudo-gradation processing device performs an error diffusion process. An error weighting operation unit that performs a weighting operation on the error up to the line, a random number generator for generating a pseudo error in a pixel preceding the target pixel, and data obtained by adding a weighted error and a random number to an input value. A pseudo-gradation processing device, comprising: an input / output unit that outputs an N-value in comparison with a threshold value; and a memory unit that stores an error generated when the N-value is converted.
【請求項2】 請求項1記載において、 注目画素ライン上にある画素の誤差については、乱数発
生器の乱数を利用することを特徴とする疑似階調処理装
置。
2. The pseudo gradation processing device according to claim 1, wherein a random number of a random number generator is used for an error of a pixel on a target pixel line.
【請求項3】 請求項1記載において、 乱数発生器で発生させる乱数は、疑似階調数Nに最適な
範囲の値をとることを特徴とする疑似階調処理装置。
3. The pseudo-gradation processing device according to claim 1, wherein the random number generated by the random number generator takes a value in a range optimal for the pseudo-gradation number N.
JP9254375A 1997-09-03 1997-09-03 Pseudo-gradation processing unit Pending JPH1188693A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9254375A JPH1188693A (en) 1997-09-03 1997-09-03 Pseudo-gradation processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9254375A JPH1188693A (en) 1997-09-03 1997-09-03 Pseudo-gradation processing unit

Publications (1)

Publication Number Publication Date
JPH1188693A true JPH1188693A (en) 1999-03-30

Family

ID=17264121

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9254375A Pending JPH1188693A (en) 1997-09-03 1997-09-03 Pseudo-gradation processing unit

Country Status (1)

Country Link
JP (1) JPH1188693A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008042872A (en) * 2006-08-04 2008-02-21 Primax Electronics Ltd Method and apparatus for processing image
EP2086216A1 (en) * 2008-02-01 2009-08-05 Sony Corporation Gradation converting device and gradation converting method
EP2169941A1 (en) * 2008-09-26 2010-03-31 Sony Corporation Gradation conversion device and gradation conversion method
US8009327B2 (en) 2002-07-11 2011-08-30 Canon Kabushiki Kaisha Method and apparatus for image processing

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8009327B2 (en) 2002-07-11 2011-08-30 Canon Kabushiki Kaisha Method and apparatus for image processing
JP2008042872A (en) * 2006-08-04 2008-02-21 Primax Electronics Ltd Method and apparatus for processing image
EP2086216A1 (en) * 2008-02-01 2009-08-05 Sony Corporation Gradation converting device and gradation converting method
US8295636B2 (en) 2008-02-01 2012-10-23 Sony Corporation Gradation converting device, gradation converting method, and computer program
EP2169941A1 (en) * 2008-09-26 2010-03-31 Sony Corporation Gradation conversion device and gradation conversion method

Similar Documents

Publication Publication Date Title
US5289293A (en) Pixel density conversion and processing
US5835687A (en) Methods and apparatus for providing digital halftone images with random error diffusion dithering
US5493419A (en) Stack filters for 1-to-N bit image processing in electronic printers
EP0781034B1 (en) Image processing apparatus and method
US4937677A (en) Method of enlarging/reducing dithered images
EP0817466A2 (en) Edge enhanced error diffusion
JP3489806B2 (en) Image processing apparatus and method
JP4068181B2 (en) Multilevel gradation pixel value level reduction method and system
US6134355A (en) Binarization using a local average, and using error diffusion
EP0382581B1 (en) Image processing apparatus
JPH1188693A (en) Pseudo-gradation processing unit
US6628427B1 (en) Method and apparatus for image processing which improves performance of gray scale image transformation
JPH0738767A (en) Image binarizing processor
JP3976863B2 (en) Image processing apparatus and method
KR100440944B1 (en) Binary image resolution reducing method and device simplifying resolution reduction algorithm
JP2714140B2 (en) Pixel density converter
JP2714141B2 (en) Pixel density converter
JP2000354163A (en) Image processing method
JP3285349B2 (en) Dither image enlarger
JP2000050069A (en) Picture binarization method and device
JP2000287089A (en) Image binarizing method
JP2898322B2 (en) Halftone estimation method for dither image
JP3077414B2 (en) Image processing method
JPH0846785A (en) Image processing unit
JPH10262148A (en) Image processor