JP2635384B2 - Image processing method and apparatus - Google Patents

Image processing method and apparatus

Info

Publication number
JP2635384B2
JP2635384B2 JP63248984A JP24898488A JP2635384B2 JP 2635384 B2 JP2635384 B2 JP 2635384B2 JP 63248984 A JP63248984 A JP 63248984A JP 24898488 A JP24898488 A JP 24898488A JP 2635384 B2 JP2635384 B2 JP 2635384B2
Authority
JP
Japan
Prior art keywords
error
peripheral pixels
density
distribution
remainder
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
JP63248984A
Other languages
Japanese (ja)
Other versions
JPH0297169A (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 JP63248984A priority Critical patent/JP2635384B2/en
Publication of JPH0297169A publication Critical patent/JPH0297169A/en
Application granted granted Critical
Publication of JP2635384B2 publication Critical patent/JP2635384B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は画像処理方法及びその装置に関し、特に入力
濃度と出力濃度との間で生じる誤差を周辺画素に分配す
る画像処理方法及びその装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method and apparatus, and more particularly to an image processing method and apparatus for distributing an error generated between an input density and an output density to peripheral pixels. .

[従来の技術] 従来、この種の画像処理方法はいわゆる誤差拡散法
『R,WFloyd and L.Steinberg“An Adaptive Algorithm
for Spatial Gray Scale"SID 75 Digest(1976)』とし
て知られている。
[Prior art] Conventionally, this kind of image processing method is called an error diffusion method “R, WFloyd and L. Steinberg“ An Adaptive Algorithm ”.
For Spatial Gray Scale "SID 75 Digest (1976)".

誤差拡散法によれば、誤差を空間的に清算してゆくの
で入力画像と出力画像の濃度を一致させることができ
る。また、デイザ処理のようにデイザマトリクスサイズ
による階調数の制限も無く、デイザ処理で課題となつて
いる階調性と解像度の両立を可能とする利点がある。
According to the error diffusion method, since the error is spatially settled, the density of the input image and the density of the output image can be matched. Further, unlike the dither processing, there is no limitation on the number of gradations due to the dither matrix size, and there is an advantage that it is possible to achieve both gradation and resolution, which are issues in dither processing.

誤差拡散法における注目画素(i,j)の補正後の濃度D
ijに着目すると、これは(1)式で表わせる。
Density D of pixel of interest (i, j) after correction in error diffusion method
Focusing on ij , this can be expressed by equation (1).

ここで、 Xij:注目画素(i,j)の入力画素濃度 Ei+m,j+n:処理済みの周辺画素Xi+m,j+nで生
じた2値化誤差 αi+m,j+n:重みマトリクス係数 である。
Here, X ij: a weighting matrix coefficients: input pixel density E i + m, j + n of the pixel of interest (i, j): the processed peripheral pixel X i + m, 2 binarization error generated in j + n α i + m, j + n.

この誤差拡散法は、通常は、注目画素(i,j)で生じ
た誤差を所定の重みマトリクス係数に従つて後続の周辺
画素に分配することとで行なわれる。具体的には、閾値
をTとして、1画素6ビツトで考えると、注目画素(i,
j)の出力濃度Yijは、 Yij=63(Dij≧T) Yij=0(Dij<T) により決定される。従つて、出力濃度Yijのプリントに
より生じる誤差Eijは差分(Dij−Yij)である。また重
みマトリクスαijを、 として、誤差Eij=25とすると、 画素(i+1,j)には、 4×Int(25×1/10)=8 画素(i−1,j+1)には、 1×Int(25×1/10)=2 画素(i,j+1)には、 4×Int(25×1/10)=8 画素(i+1,j+1)には、 1×Int(25×1/10)=2 を夫々分配することになる。
This error diffusion method is generally performed by distributing an error generated at a target pixel (i, j) to subsequent peripheral pixels according to a predetermined weight matrix coefficient. Specifically, assuming that the threshold value is T and that one pixel is 6 bits, the pixel of interest (i,
The output density Y ij of j) is determined by Y ij = 63 (D ij ≧ T) Y ij = 0 (D ij <T). Therefore, the error E ij caused by printing the output density Y ij is a difference (D ij −Y ij ). The weight matrix α ij is Assuming that the error E ij = 25, 4 × Int (25 × 1/10) = 8 for pixel (i + 1, j) and 1 × Int (25 × 1/2) for pixel (i−1, j + 1) 10) = 2 Pixels (i, j + 1) are distributed 4 × Int (25 × 1/10) = 8 Pixels (i + 1, j + 1) are distributed 1 × Int (25 × 1/10) = 2 Will be.

ここで、記号Intは少数点以下の切り捨てを意味し、
従来よりハードウエアの簡単化、またはソフトウエア処
理の高速化の目的で採用されている。しかし、少数点以
下の切り捨てを行うと、実際の誤差分配値の合計Eij
は、 Eij =8+2+8+2=20 となり、発生した誤差Eij=25とは異なつてしまう。こ
のために(入力画像濃度)≠(出力画像濃度)の関係に
なり、画質が劣化した。
Here, the symbol Int means truncation below the decimal point,
It has been employed for the purpose of simplifying hardware or speeding up software processing. However, when truncation below the decimal point is performed, the sum of the actual error distribution values E ij *
Is E ij * = 8 + 2 + 8 + 2 = 20, which is different from the generated error E ij = 25. For this reason, the relationship of (input image density) ≠ (output image density) was established, and the image quality deteriorated.

この点、除算による余りの部分を次画素(i+1,j)
に繰り越すことにより入力と出力の画像濃度を一致させ
る方法があるが、これによれは回路構成は簡単になる
が、次画素に大きなウエイトがかかるので、画質が劣化
する場合があつた。
In this regard, the remainder of the division is taken as the next pixel (i + 1, j).
There is a method of making the input and output image densities coincide by carrying over to the above. However, this method simplifies the circuit configuration, but causes a large weight to be applied to the next pixel, which may deteriorate the image quality.

[発明が解決しようとする課題] 本発明は上述した従来技術の欠点を除去するものであ
り、その目的とする所は、簡単な方法又は構成で迅速か
つ高画質の誤差拡散処理を行える画像処理方法及びその
装置を提供することにある。
[Problems to be Solved by the Invention] The present invention is to eliminate the above-mentioned drawbacks of the prior art, and an object of the present invention is to provide an image processing apparatus capable of performing quick and high-quality error diffusion processing with a simple method or configuration. It is an object of the present invention to provide a method and an apparatus therefor.

[課題を解決するための手段] 本発明の画像処理方法は上記の目的を達成するため
に、入力濃度と出力濃度との間で生じる誤差を周辺画素
に分配する画像処理方法において、前記誤差を所定の重
みマトリクスの各係数の総和で除算すると共に、その商
の整数部には前記重みマトリクスの各係数倍をして対応
する周囲画素に分配し、かつその余りは予め決められた
配分順位に従つて対応する周辺画素に分配することをそ
の概要とする。
[Means for Solving the Problems] In order to achieve the above object, an image processing method according to the present invention provides an image processing method for distributing an error generated between an input density and an output density to peripheral pixels. While dividing by the sum of the respective coefficients of the predetermined weight matrix, the integer part of the quotient is multiplied by each coefficient of the weight matrix and distributed to the corresponding surrounding pixels, and the remainder is determined in a predetermined distribution order. Therefore, the distribution to the corresponding peripheral pixels is briefly described.

本発明の画像処理装置は上記の目的を達成するため
に、入力濃度と出力濃度との間で生じる誤差を周辺画素
に分配する画像処理装置において、入力濃度を所定閾値
で2値化する2値化手段と、前記2値化で生じた誤差を
所定の重みマトリクスの各係数の総和で除算する除算手
段と、前記除算で求めた商の整数部に前記重みマトリク
スの各係数を乗じて対応する周辺画素へ分配する誤差分
配手段と、前記除算で生じた余りを所定の順位及び配分
に従つて対応する周辺画素に分配する余り分配手段を備
えることをその概要とする。
In order to achieve the above object, an image processing apparatus for distributing an error generated between an input density and an output density to peripheral pixels according to the present invention is a binary image processing apparatus for binarizing an input density with a predetermined threshold. And a dividing means for dividing an error generated by the binarization by a sum of respective coefficients of a predetermined weight matrix, and corresponding to the integer part of the quotient obtained by the division by multiplying each coefficient of the weight matrix. The outline is to include error distribution means for distributing to the peripheral pixels and remainder distribution means for distributing the remainder generated by the division to the corresponding peripheral pixels according to a predetermined order and distribution.

[作用] かかる構成において、2値化手段は入力濃度を所定閾
値で2値化する。除算手段は前記2値化で生じた誤差を
所定の重みマトリクスの各係数の総和で除算する。そし
て誤差分配手段は前記除算で求めた商の整数部に前記重
みマトリクスの各係数を乗じて対応する周辺画素へ分配
し、余り分配手段は前記除算で生じた余りを所定の順位
及び配分に従つて対応する周辺画素に分配する。
[Operation] In such a configuration, the binarizing means binarizes the input density with a predetermined threshold. The dividing means divides the error generated by the binarization by the sum of each coefficient of a predetermined weight matrix. Then, the error distribution means multiplies the integer part of the quotient obtained by the division by each coefficient of the weight matrix and distributes it to the corresponding peripheral pixels, and the remainder distribution means determines the remainder generated by the division according to a predetermined order and distribution. And distribute to the corresponding peripheral pixels.

従つて、少数演算は省略でき、かつ例えばその余りが
小さい時はこれを適当な周辺画素に高速で割り当て、ま
た余りが大きくなるにつれてこれを複数の周辺画素に所
定配分で高速に分配する。
Therefore, the decimal operation can be omitted and, for example, when the remainder is small, it is allocated to appropriate peripheral pixels at high speed, and as the remainder becomes large, it is distributed to a plurality of peripheral pixels at high speed in a predetermined distribution.

[実施例の説明] 以下、添付図面に従つて本発明による実施例を詳細に
説明する。
[Description of Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第2図は実施例の画像処理装置の前処理部のブロツク
構成図である。図において、201は入力センサ部であ
り、CCD等の光電変換素子及びこれを主・副走査する駆
動回路等から成り、原稿の読み取り走査を行う。202はA
/D変換器であり、入力センサ部201で読み取つた画像信
号を例えば6ビツトの輝度データに変換する。従つて階
調数は0〜63の64階調であり、黒のデータは「00000
0」、白のデータは「111111」である。203は補正回路で
あり、CCD等の光電変換素子の感度むら及び光源の配光
特性の歪み等から成るシエーデイング歪の補正を行う。
204はROM変換テーブルであり、補正回路203出力の輝度
データを濃度データXijにテーブル変換する。即ち、 Xij=−γlog(輝度データ) γ:正の定数 の関係でテーブル変換を行う。
FIG. 2 is a block diagram of a preprocessing unit of the image processing apparatus according to the embodiment. In the figure, reference numeral 201 denotes an input sensor unit, which includes a photoelectric conversion element such as a CCD and a drive circuit for main and sub-scanning of the element, and performs scanning of a document. 202 is A
A / D converter converts an image signal read by the input sensor unit 201 into, for example, 6-bit luminance data. Therefore, the number of gradations is 64 gradations from 0 to 63, and the black data is "00000
“0” and white data are “111111”. Reference numeral 203 denotes a correction circuit, which corrects shading distortion caused by uneven sensitivity of a photoelectric conversion element such as a CCD and distortion of light distribution characteristics of a light source.
Reference numeral 204 denotes a ROM conversion table, which converts the luminance data output from the correction circuit 203 into density data Xij . That is, table conversion is performed in the relationship of X ij = −γ log (luminance data) γ: positive constant.

第3図は実施例のROM変換テーブル204の記憶内容を示
す図に係り、図中、「入力」の欄はROMアドレスを示
し、「出力」の欄はROMデータを示している。
FIG. 3 is a diagram showing the storage contents of the ROM conversion table 204 according to the embodiment. In the figure, the “input” column indicates a ROM address, and the “output” column indicates ROM data.

第1図は実施例の画像処理装置の画像処理部のブロツ
ク構成図である。図において、101は加算器であり、注
目画素(i,j)における入力画素濃度Xijとこれまでに累
積された誤差濃度Eij′を加算して補正後の画素濃度Dij
を求める。102はコンパレータであり、求めたDijを閾値
Tにより2値化して出力画素濃度Yijを決定する。具体
的には、 Yij=63(Dij≧T) Yij=0(Dij<T) の2値化処理を行う。103は2値(ドツト)方式のプリ
ンタであり、出力画素濃度Yijに従つてドツト画像を形
成する。即ち、Yij=0(白)の時は出力ドツトをOFFに
し、Yij=63(黒)の時は出力ドツトをONにする。
FIG. 1 is a block diagram of the image processing unit of the image processing apparatus according to the embodiment. In the figure, reference numeral 101 denotes an adder, which adds the input pixel density X ij at the target pixel (i, j) and the error density E ij ′ accumulated so far to obtain a corrected pixel density D ij
Ask for. Reference numeral 102 denotes a comparator, which binarizes the obtained D ij with a threshold T to determine an output pixel density Y ij . Specifically, a binarization process of Y ij = 63 (D ij ≧ T) Y ij = 0 (D ij <T) is performed. 103 denotes a printer of binary (dots) method, to form a sub connexion dots image in the output pixel density Y ij. That is, when Y ij = 0 (white), the output dot is turned off, and when Y ij = 63 (black), the output dot is turned on.

一方、104は誤差演算器であり、注目画素(i,j)のプ
リントにより生じる誤差濃度Eijを算出する。具体的に
は、 Eij=Dij−Yij の処理を行う。105は誤差配分演算回路であり、例えば
第4図のような重みマトリクスに従つて誤差濃度Eij
周辺5画素に分配する。
On the other hand, reference numeral 104 denotes an error calculator which calculates an error density Eij generated by printing the target pixel (i, j). Specifically, processing of E ij = D ij −Y ij is performed. An error distribution calculation circuit 105 distributes the error density Eij to five peripheral pixels according to, for example, a weight matrix as shown in FIG.

第5図は注目画素X(i,j)とその周辺画素の関係を
示す図である。注目画素X(i,j)のプリントにより生
じる誤差濃度Eijの分配先画素を夫々A〜Eとすると、
これらの座標は、 A:(i+1,j) B:(i+1,j) C:(i−1,j+1) D:(i,j+1) E:(i+1,j+1) である。
FIG. 5 is a diagram showing the relationship between the pixel of interest X (i, j) and its surrounding pixels. If the distribution destination pixels of the error density E ij generated by printing the target pixel X (i, j) are A to E, respectively,
These coordinates are A: (i + 1, j) B: (i + 1, j) C: (i−1, j + 1) D: (i, j + 1) E: (i + 1, j + 1)

なお、各画素A〜Eは夫々第4図示の重みマトリクス
と対応しており、そのうち画素A,D,Eについては重み係
数(例えば2)を同じにしたのでこれらを第1図の記号
Sijで代表させた。同じく画素B,Cについても重み係数
(例えば1)を同じにしたのでこれらを記号Tijで代表
させた。
Note that each of the pixels A to E corresponds to the weight matrix shown in FIG. 4, and the pixels A, D, and E have the same weighting coefficient (for example, 2).
S ij . Similarly, the weight coefficients (for example, 1) of the pixels B and C are set to be the same, so that they are represented by the symbol Tij .

例えば、6ビツト被除数Eijを除数8(23)で割るデ
ジタル演算は被除数Eijの下位3ビツトを除くことで容
易に行える。即ち、商は上位3ビツトであり、余りRij
(=0〜7)は下位3ビツトである。次に、商の整数部
については第4図示の重みマトリクスに従い各係数値を
乗じて対応する周辺画素に分配する。Sij及びTijの値は
夫々、 Sij=2×Int(Eij/8) Tij=1×Int(Eij/8) である。
For example, a digital operation of dividing the 6-bit dividend E ij by the divisor 8 (2 3 ) can be easily performed by removing the lower 3 bits of the dividend E ij . That is, the quotient is the upper three bits, and the remainder R ij
(= 0 to 7) are the lower 3 bits. Next, the integer part of the quotient is multiplied by each coefficient value according to the weight matrix shown in FIG. 4 and distributed to the corresponding peripheral pixels. The values of S ij and T ij are respectively S ij = 2 × Int (E ij / 8) T ij = 1 × Int (E ij / 8).

一方、余りRijについては順位付け用ROM106の分配順
位及び配分量に従つて周辺画素A〜Eに分配する。
On the other hand, the remainder for R ij is distributed to the slave connexion peripheral pixels A~E the distribution order and the allocation amount of ranking for ROM 106.

第6図は実施例の順位付け用ROM106の回路図である。
ROMのアドレス端子A0(LSB)〜A2(MSB)には夫々余りR
ijの3ビツトデータRij(0)〜Rij(2)が入力してお
り、ROMのデータ出力端子D0〜D6には7ビツトの順位及
び配分量データQ1〜Q7が出力する。
FIG. 6 is a circuit diagram of the ranking ROM 106 of the embodiment.
The address terminals A0 (LSB) to A2 (MSB) of the ROM are all R
3 bit data R ij of ij (0) ~R ij (2 ) has entered, the data output terminal D0~D6 the ROM 7 bits of rank and allocation amount data Q 1 to Q 7 is output.

第7図は実施例の順位付け用ROM106の記憶内容を示す
図である。ROMのアドレス入力である余りRijの採り得る
値は0〜7であり、これに応じて周辺画素A〜Eに割り
当てるべき順位及び配分量が示されている。例えば、R
ij=0の時は配分量無し、Rij=1の時は画素Aにのみ
1を割り当てる。余りは小さいので画素Aにのみ割り当
てても負担増にならず、画質は劣化しない。またRij
2の時は画素AとDに夫々1を、Rij=3の時は画素A
に2及び画素Dに1を分配する。このように余りが大き
くなるにつれて配分量及び画素数を増している。以下R
ij=4〜7の時も同様である。何れにしても少数点以下
の計算をしないので構造簡単であり、かつ高速処理可能
である。また配分値の合計は余りに等しくなり、適正に
濃度清算が行われる。
FIG. 7 is a diagram showing the stored contents of the ranking ROM 106 of the embodiment. The possible values of the remainder Rij , which is the address input of the ROM, are 0 to 7, and the order and the allocation amount to be assigned to the peripheral pixels A to E are shown accordingly. For example, R
When ij = 0, there is no distribution amount, and when Rij = 1, 1 is assigned only to pixel A. Since the remainder is small, even if only the pixel A is assigned, the burden does not increase and the image quality does not deteriorate. Also, R ij =
2 is 1 for pixels A and D, and R ij = 3 is pixel A
2 and 1 to the pixel D. As described above, as the remainder increases, the distribution amount and the number of pixels increase. Below R
The same applies when ij = 4-7. In any case, since the calculation of the decimal point or less is not performed, the structure is simple and high-speed processing is possible. In addition, the sum of the distribution values becomes excessively equal, and the concentration settlement is performed appropriately.

第8図は順位付け用ROM106のアドレス入力Rijと出力
データQ1〜Q7の関係を示す図である。ここでQ1〜Q7は夫
々配分量“1"の大きさを持つており、画素AとDには夫
々2ビツトを割り当てることで配分量0〜2を表せるよ
うにしている。これを式で表わすと、 画素A=Sij+Q2+Q1 画素B=Tij+Q5 画素C=Tij+Q6 画素D=Sij+Q4+Q3 画素E=Sij+Q7 になる。こうして、走査開始より始まつて注目画素が1
画素進む度に上記手順に従つて誤差を求め、その周辺画
素A〜Eに分配し、各周辺画素ではこれらを累積する処
理を繰り返す。
FIG. 8 is a graph showing the relationship between the output and address inputs R ij ranking for ROM106 data Q 1 to Q 7. Here, Q 1 to Q 7 each have the size of the allocation amount “1”, and the allocation amounts 0 to 2 can be represented by allocating two bits to the pixels A and D, respectively. Denoting this formula, the pixel A = S ij + Q 2 + Q 1 pixel B = T ij + Q 5 pixels C = T ij + Q 6 pixels D = S ij + Q 4 + Q 3 pixel E = S ij + Q 7. In this way, the pixel of interest is 1 from the start of scanning.
Each time the pixel advances, an error is calculated according to the above procedure, distributed to its peripheral pixels A to E, and the process of accumulating these is repeated for each peripheral pixel.

従つて、見方を変えて、第5図における注目画素X
(i,j)に対する補正値Dijを求めることを考えると、こ
れは既に処理済みの周辺画素a〜eからの各重み付け配
分量の総和Eij′を加えることにほかならない。そこ
で、第1図において、加算器111はd+eを行い、加算
器113はc+(d+e)を行う。メモリ114は加算器113
で得た(j−1)ライン目の誤差値を記憶している。ま
た加算器117はb+{c+(d+e)}を行い、加算器1
19は最終的なEij=a+[b+{c+(d+e)}]を
行い、結果をラツチ120に格納する。
Therefore, from a different point of view, the target pixel X in FIG.
Considering finding the correction value D ij for (i, j), this is nothing less than adding the total sum E ij ′ of the weighted distribution amounts from the already processed peripheral pixels a to e. Therefore, in FIG. 1, the adder 111 performs d + e, and the adder 113 performs c + (d + e). The memory 114 is an adder 113
The error value of the (j-1) th line obtained in (1) is stored. The adder 117 performs b + {c + (d + e)}, and the adder 1
19 performs the final E ij = a + [b + {c + (d + e)}], and stores the result in the latch 120.

尚、余りの配分順位は第7図示以外のものでも良い。 The remaining distribution order may be other than that shown in FIG.

また、回路を簡単化するためにjライン目の画素A,B
のみに誤差分配するようにしても良い。
Also, in order to simplify the circuit, pixels A and B on the j-th line
The error distribution may be performed only to the error distribution.

[発明の効果] 以上述べた如く本発明によれば、少数点以下の演算が
必要ないのでソフトウエア処理でも高速に行え、またハ
ードウエア構造が簡単になる。しかも画質の劣化がな
い。
[Effects of the Invention] As described above, according to the present invention, arithmetic operation with a decimal point or less is not required, so that software processing can be performed at high speed and the hardware structure is simplified. Moreover, there is no deterioration in image quality.

また本発明によれば、余りを該余りに応じて順位付け
て配分するので特定画素に大きな重みがかからず、誤差
を均一に分配でき、画質が向上する。
Further, according to the present invention, since the remainder is allocated and ranked according to the remainder, a large weight is not applied to a specific pixel, errors can be uniformly distributed, and image quality is improved.

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

第1図は実施例の画像処理装置の画像処理部のブロツク
構成図、 第2図は実施例の画像処理装置の前処理部のブロツク構
成図、 第3図は実施例のROM変換テーブル204の記憶内容を示す
図、 第4図は実施例の重みマトリクスの内容を示す図、 第5図は注目画素X(i,j)とその周辺画素の関係を示
す図、 第6図は実施例の順位付け用ROM106の回路図、 第7図は実施例の順位付け用ROM106の記憶内容を示す
図、 第8図は順位付け用ROM106のアドレス入力Rijと出力デ
ータQ1〜Q7の関係を示す図である。 図中、101,107〜109,111,113,117,119及び122……加算
器、110,112,116,118及び120……ラツチ、102……コン
パレータ、103……プリンタ、104……誤差演算器、105
……誤差配分値演算回路、106……順位付け用ROM、114
……メモリ、115……タイミング発生回路、201……入力
センサ部、202……A/D変換器、203……補正回路、204…
…ROM変換テーブルである。
FIG. 1 is a block diagram of an image processing unit of the image processing apparatus of the embodiment, FIG. 2 is a block diagram of a pre-processing unit of the image processing apparatus of the embodiment, and FIG. 3 is a block diagram of the ROM conversion table 204 of the embodiment. FIG. 4 shows the contents of the weight matrix of the embodiment. FIG. 5 shows the relationship between the pixel of interest X (i, j) and its surrounding pixels. circuit diagram of a ranking for ROM 106, FIG. 7 is a diagram showing the storage contents of ranking for ROM 106 embodiment, the FIG. 8 is the relationship of the output address input R ij ranking for ROM 106 data Q 1 to Q 7 FIG. In the figure, 101, 107 to 109, 111, 113, 117, 119, and 122 adders, 110, 112, 116, 118, and 120 latches, 102 comparators, 103 printers, 104 error calculators, 105
... Error distribution value calculation circuit, 106 ROM for ranking, 114
…… Memory, 115 …… Timing generation circuit, 201 …… Input sensor section, 202 …… A / D converter, 203 …… Correction circuit, 204…
... ROM conversion table.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力濃度と出力濃度との間で生じる誤差を
周辺画素に分配する画像処理方法において、 前記誤差を所定の重みマトリクスの各係数の総和で除算
すると共に、その商の整数部には前記重みマトリクスの
各係数倍をして対応する周囲画素に分配し、かつその余
りは予め決められた配分順位に従つて対応する周辺画素
に分配することを特徴とする画像処理方法。
1. An image processing method for distributing an error generated between an input density and an output density to peripheral pixels, wherein the error is divided by a sum of respective coefficients of a predetermined weight matrix, and an integer part of the quotient is added to the division. And (c) multiplying the weight matrix by each coefficient and distributing the remainder to corresponding peripheral pixels, and distributing the remainder to the corresponding peripheral pixels according to a predetermined distribution order.
【請求項2】入力濃度と出力濃度との間で生じる誤差を
周辺画素に分配する画像処理装置において、 入力濃度を所定閾値で2値化する2値化手段と、 前記2値化で生じた誤差を所定の重みマトリクスの各係
数の総和で除算する除算手段と、 前記除算で求めた商の整数部に前記重みマトリクスの各
係数を乗じて対応する周辺画素へ分配する誤差分配手段
と、 前記除算で生じた余りを所定の順位及び配分に従つて対
応する周辺画素に分配する余り分配手段を備えることを
特徴とする画像処理装置。
2. An image processing apparatus for distributing an error generated between an input density and an output density to peripheral pixels, comprising: a binarizing means for binarizing an input density with a predetermined threshold; Division means for dividing the error by the sum of each coefficient of a predetermined weight matrix; and error distribution means for multiplying the integer part of the quotient obtained by the division by each coefficient of the weight matrix and distributing the result to corresponding peripheral pixels, An image processing apparatus comprising: a remainder distribution unit that distributes a remainder generated by division to corresponding peripheral pixels according to a predetermined order and distribution.
JP63248984A 1988-10-04 1988-10-04 Image processing method and apparatus Expired - Fee Related JP2635384B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63248984A JP2635384B2 (en) 1988-10-04 1988-10-04 Image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63248984A JP2635384B2 (en) 1988-10-04 1988-10-04 Image processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH0297169A JPH0297169A (en) 1990-04-09
JP2635384B2 true JP2635384B2 (en) 1997-07-30

Family

ID=17186299

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63248984A Expired - Fee Related JP2635384B2 (en) 1988-10-04 1988-10-04 Image processing method and apparatus

Country Status (1)

Country Link
JP (1) JP2635384B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05292322A (en) * 1992-04-14 1993-11-05 Omron Corp Picture reader

Also Published As

Publication number Publication date
JPH0297169A (en) 1990-04-09

Similar Documents

Publication Publication Date Title
JP2500837B2 (en) Pixel value quantization method
JPH06332396A (en) Method for processing image and device therefor
JP2635384B2 (en) Image processing method and apparatus
US5481293A (en) Image processing device for correcting an error in a multilevel image signal and for printing the image
JP3124605B2 (en) Image processing device
JPH0738767A (en) Image binarizing processor
JP2882531B2 (en) Image processing device
JP3124589B2 (en) Image processing device
JP2644491B2 (en) Image processing device
JPH01284172A (en) Picture processor
JP2644492B2 (en) Image processing device
JP2916171B2 (en) Image processing device
JP2810395B2 (en) Image processing device
JP2002209102A (en) Method for deteriorating gray scale image using error diffusion system approach
JP3157870B2 (en) Image processing method
JPH0668250A (en) Image processor
JP3011464B2 (en) Image processing method
JP2848567B2 (en) Image processing device
JP3124604B2 (en) Image processing device
JP3179823B2 (en) Image processing device
JP2792581B2 (en) Image processing device
JP2833666B2 (en) Image processing device
JP2000184196A (en) Method and device for thresholding picture
JP2001136389A (en) Picture processor
JPH02210959A (en) Picture processor

Legal Events

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