JP3197299B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP3197299B2
JP3197299B2 JP26249491A JP26249491A JP3197299B2 JP 3197299 B2 JP3197299 B2 JP 3197299B2 JP 26249491 A JP26249491 A JP 26249491A JP 26249491 A JP26249491 A JP 26249491A JP 3197299 B2 JP3197299 B2 JP 3197299B2
Authority
JP
Japan
Prior art keywords
pixels
pixel
data
image data
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP26249491A
Other languages
Japanese (ja)
Other versions
JPH05103207A (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.)
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 JP26249491A priority Critical patent/JP3197299B2/en
Publication of JPH05103207A publication Critical patent/JPH05103207A/en
Application granted granted Critical
Publication of JP3197299B2 publication Critical patent/JP3197299B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、中間調の画像データを
処理する画像処理装置に関し、特に、誤差拡散法により
多階調画像データを少階調画像データに変換する画像処
理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for processing halftone image data, and more particularly to an image processing apparatus for converting multi-tone image data into low-tone image data by an error diffusion method.

【0002】[0002]

【従来の技術】デジタル複写機等において、濃淡画像
(中間調画像)を2値記録手法で再現する場合、組織的
ディザ法が一般的に用いられている。しかし、組織的デ
ィザ法では濃度変化が大きい部分の表現ができず、文字
や線画などのエッジがぼけてしまう欠点がある。また印
刷物に使われ網点画像を再生すると、網点の周期パター
ンとディザパターンの干渉によりモワレが発生する。
2. Description of the Related Art In a digital copying machine or the like, when a grayscale image (halftone image) is reproduced by a binary recording method, an organized dither method is generally used. However, the systematic dither method has a drawback in that it is not possible to represent a portion where the density change is large, and the edges of characters and line drawings are blurred. Further, when a halftone image used for a printed matter is reproduced, moire occurs due to interference between a periodic pattern of the halftone dots and a dither pattern.

【0003】これに対して、多階調画像データを少階調
画像データに変換して、少階調画像記録をしうるプリン
タすなわち3値以上の中間調記録をしうるプリンタで記
録する階調記録は、モワレが発生しにくい特徴がある。
多階調から少階調への画像データ変換法として誤差拡散
法(平均誤差最小法)がある。誤差拡散法は、網点画像
に対して概略でいうとモワレが発生しにくい特徴を持
つ。しかし、誤差拡散法を用いた場合でも、濃度変化の
小さい領域で目ざわりな縞模様が発生することがある。
On the other hand, the gradation to be recorded by a printer capable of converting multi-gradation image data into low-gradation image data and capable of recording low-gradation images, that is, a printer capable of half-tone recording of three or more values. The recording has a characteristic that moire hardly occurs.
As a method of converting image data from multiple gradations to small gradations, there is an error diffusion method (minimum average error method). The error diffusion method has a feature that moire is less likely to occur in a halftone dot image. However, even when the error diffusion method is used, a striking stripe pattern may occur in a region where the density change is small.

【0004】[0004]

【発明が解決しようとする課題】すなわち、誤差拡散法
において、多階調から少階調への画像データの変換、す
なわち、画像データのデータビット数の低減変換、を行
なうと、再生画像に疑似輪郭が生じ易くなる。疑似輪郭
は、誤差拡散するための重み付け処理に用いるマトリク
スが単一であると、画像データに周期的構造ができ易く
なるために発生するもので、再生画像の劣化をもたら
す。
That is, in the error diffusion method, if the conversion of image data from multi-gradation to low-gradation, that is, conversion to reduce the number of data bits of the image data, is performed, the reproduced image becomes pseudo. Contours are more likely to occur. The pseudo contour is generated when a single matrix is used for weighting processing for error diffusion, because a periodic structure is likely to be formed in image data, and the reproduced image is deteriorated.

【0005】また、画像データに対して、2画素を1画
素とするような間引き処理を行なう場合、従来において
は奇数番目と偶数番目の一方の画素の画像データのみを
摘出していたが、入力データに対して正確な画像再現が
できなかった。
In the case where thinning processing is performed on image data such that two pixels are regarded as one pixel, conventionally, only image data of one of an odd-numbered pixel and an even-numbered pixel has been extracted. An accurate image could not be reproduced for the data.

【0006】本発明は、誤差拡散法を用いた画像処理装
置において、出力画像の劣化を防ぐことを目的とする。
An object of the present invention is to prevent an output image from deteriorating in an image processing apparatus using an error diffusion method.

【0007】[0007]

【課題を解決するための手段】第1の発明の画像処理装
置は、画像データをそのデータビット数より少ないビッ
ト数の画像データに変換する再量子化手段(201),該再
量子化手段(201)が再量子化した時に発生する誤差デー
タを一時記憶する記憶手段(202)、および、該記憶手段
(202)に記憶された誤差データを所定マトリクス内の周
辺画素に分散する第1補正手段(201,203)、を備える、
多値誤差拡散による画像処理装置において、主走査方向
に連続する2画素を1グループとし、副走査方向に隣接
する主走査間では該グループ化を1画素分主走査方向に
ずらすグループ化手段(501,502,503,504,505,506);お
よび、同一グループ内先行,後行2画素の、前記第1補
正手段(201,203)が補正し再量子化手段が再量子化した
各画像データ(ID1,ID2)を、前記後行画素よりその濃度
(ID2)の一部(ID2/2)を差し引き前記先行画素の濃度(ID
1)に加えるように変換する第2補正手段(503); 備える。なお、理解を容易にするために、カッコ内
は、図面に示し後述する実施例の対応要素又は対応事項
の記号を、参考までに付記した以下も同様である。
An image processing apparatus according to a first aspect of the present invention.
The unit replaces image data with fewer bits than its data bits.
Requantization means (201) for converting the image data into
Error data generated when the quantization means (201) re-quantizes
Storage means (202) for temporarily storing data, and the storage means
The error data stored in (202) is
First correction means (201, 203) dispersed to side pixels,
In an image processing device using multi-level error diffusion, the main scanning direction
Into two groups that are adjacent to each other in the sub-scanning direction
Between main scans, the grouping is performed by one pixel in the main scan direction.
Shifting grouping means (501, 502, 503, 504, 505, 506);
And within the same groupLeading, trailingThe first complement of two pixels
Corrected by the correct means (201, 203) and requantized by the requantizer
Each image data(ID1, ID2)ToThe density from the following pixel
A part (ID2 / 2) of (ID2) is subtracted and the density (ID
As in 1)Second correction means (503) for converting the In addition,To make it easier to understand,In parenthesesTo
IsShown in the drawingCorresponding elements of the embodiment described laterOr corresponding items
The signAdded for reference.The same applies to the following.

【0008】第2の発明の画像処理装置は、画像データ
をそのデータビット数より少ないビット数の画像データ
に変換する再量子化手段(201),該再量子化手段(201)が
再量子化した時に発生する誤差データを一時記憶する記
憶手段(202)、および、該記憶手段(202)に記憶された誤
差データを所定マトリクス内の周辺画素に分散する第1
補正手段(201,203)、を備える、多値誤差拡散による画
像処理装置において、主走査方向に連続する2画素を1
グループとするグループ化手段(501a, 502a); 各グループ内2画素の、前記再量子化の前の画像データ
を比較し後行画素が先行画素より高濃度であるかを判定
する比較手段(505a,506a,507a);および、同一グループ
先行,後行2画素の、前記第1補正手段(201,203)が
補正し再量子化手段が再量子化した各画像データ(ID1,I
D2)を、前記後行画素よりその濃度(ID2)の一部(ID2/2)
を差し引き前記先行画素の濃度(ID1)に加えるように変
換し、前記比較手段が後行画素が高濃度であると判定し
ているときには、2画素宛ての変換データを相互に入れ
替えて前記同一グループ内2画素の画像データとする第
2補正手段(504a,503a, 508a); を備える。
According to a second aspect of the present invention, there is provided an image processing apparatus comprising: a requantizing means for converting image data into image data having a bit number smaller than the number of data bits; Storage means (202) for temporarily storing error data generated when the error occurs, and a first means for dispersing the error data stored in the storage means (202) to peripheral pixels in a predetermined matrix.
In an image processing apparatus based on multi-level error diffusion, comprising correction means (201, 203), two pixels continuous in the main scanning direction
Grouping means (501a, 502a) as a group; comparing means (505a) for comparing the image data of two pixels in each group before the requantization and determining whether the following pixel has a higher density than the preceding pixel. 506a, 507a); and image data (ID1, I2 ) of the preceding and succeeding two pixels in the same group, which are corrected by the first correction means (201, 203) and requantized by the requantization means.
D2) , a part of the density (ID2) from the subsequent pixel (ID2 / 2)
Is subtracted and added to the density (ID1) of the preceding pixel, and when the comparing means determines that the succeeding pixel has high density, the conversion data destined for the two pixels are replaced with each other and the same group is replaced. Second correction means (504a, 503a, 508a) for making image data of two pixels among them.

【0009】[0009]

【作用】第1の発明によれば、グループ化手段(501,50
2,503,504,505,506)が、主走査方向に連続する2画素を
1グループとし、副走査方向に隣接する主走査間では該
グループ化を1画素分主走査方向にずらす。また、第2
補正手段(503)が、同一グループ内先行,後行2画素
の、前記第1補正手段(201,203)が補正し再量子化手段
が再量子化した各画像データ(ID1,ID2)を、前記後行画
素よりその濃度(ID2)の一部(ID2/2)を差し引き前記先行
画素の濃度(ID1)に加えるように変換する。この濃度移
動により主走査方向2画素間に濃度差が付けられるが、
主走査方向の偶数番目の走査ラインと奇数番目の走査ラ
インとで、グループ化された複数画素ブロックの端部が
主走査方向にずれる。従って、単一のマトリクスを用い
て誤差拡散してもその周期性が崩れ、再生画像上での疑
似輪郭の発生が防止され、形成される画像の画質が向上
する。また、周期性を崩すことは、入力データに含まれ
るモアレ成分に対しても効果がある。
According to the first aspect, the grouping means (501, 50)
2, 503, 504, 505, 506) make two pixels continuous in the main scanning direction into one group, and shift the grouping by one pixel in the main scanning direction between main scannings adjacent in the sub-scanning direction. Also, the second
The correction means (503) compares each image data (ID1, ID2) of the preceding and succeeding two pixels in the same group, which has been corrected by the first correction means (201, 203) and re-quantized by the re-quantization means, to the subsequent Line drawing
Part of the concentration (ID2) (ID2 / 2)
It is converted to be added to the pixel density (ID1) . This density shift causes a density difference between the two pixels in the main scanning direction.
At the even-numbered scan lines and the odd-numbered scan lines in the main scanning direction, the ends of the grouped pixel blocks are shifted in the main scanning direction. Therefore, even if error diffusion is performed using a single matrix, the periodicity is lost, and the occurrence of a false contour on the reproduced image is prevented, and the image quality of the formed image is improved. Breaking the periodicity is also effective for moiré components included in the input data.

【0010】また、第2の発明によれば、グループ化手
段(501a,502a)が、主走査方向に連続する2画素を1グ
ループとし、比較手段(505a,506a,507a)が、各グループ
内2画素の、前記再量子化の前の画像データを比較し後
行画素が先行画素より高濃度であるかを判定する。ま
た、第2補正手段(504a,503a,508a)が、同一グループ内
先行,後行2画素の、前記第1補正手段(201,203)が補
正し再量子化手段が再量子化した各画像データ(ID1,ID
2)を、前記後行画素よりその濃度(ID2)の一部(ID2/2)を
差し引き前記先行画素の濃度(ID1)に加えるように変換
し、前記比較手段が後行画素が高濃度であると判定して
いるときには、2画素宛ての変換データを相互に入れ替
えて前記同一グループ内2画素の画像データとする。従
って、入力データに対する出力画像の画素再現がより正
確となり、出力画像の画質を向上することができる。
Further, according to the second invention, the grouping means (501a, 502a) groups two pixels continuous in the main scanning direction into one group, and the comparing means (505a, 506a, 507a) sets The image data of the two pixels before the requantization is compared to determine whether the following pixel has a higher density than the preceding pixel. Also, the second correction means (504a, 503a, 508a)
Each image data (ID1, ID2) of the preceding and succeeding two pixels, which is corrected by the first correction means (201, 203) and requantized by the requantization means.
2) , a part (ID2 / 2) of the density (ID2) from the subsequent pixel
The conversion is performed so as to be added to the density (ID1) of the preceding pixel, and when the comparing means determines that the subsequent pixel has high density, the conversion data destined for the two pixels are replaced with each other and within the same group. It is assumed that the image data is two pixels. Therefore, the pixel reproduction of the output image with respect to the input data becomes more accurate, and the image quality of the output image can be improved.

【0011】本発明の他の目的および特徴は図面を参照
した以下の実施例の説明により明らかになろう。
Other objects and features of the present invention will become apparent from the following description of embodiments with reference to the drawings.

【0012】[0012]

【実施例】(実施例1) 図1に本発明の画像処理装置を含む画像形成装置の構成
概略を示す。スキャナ部101で読み取られた画像デー
タは、γ補正処理部102においてγ補正処理が施さ
れ、多値誤差拡散処理部103でさらに、誤差拡散処理
が施される。また誤差拡散処理が施された画像データ
は、2画素単位処理部104で連続する2画素間をもと
に所定の処理が行われる。処理後のデータは多値プリン
タ105に送られ、画像形成される。
Embodiment 1 FIG. 1 shows a schematic configuration of an image forming apparatus including an image processing apparatus of the present invention. The image data read by the scanner unit 101 is subjected to γ correction processing in a γ correction processing unit 102, and further subjected to error diffusion processing in a multi-level error diffusion processing unit 103. Further, the image data on which the error diffusion processing has been performed is subjected to predetermined processing by a two-pixel unit processing unit 104 based on a space between two consecutive pixels. The processed data is sent to the multi-value printer 105 to form an image.

【0013】図2に、図1に示す多値誤差拡散処理部1
03の構成概略を示す。多値誤差拡散処理部103は、
誤差拡散法により64値の画像データを8値の画像デー
タに変換する回路である。64値の信号aは6ビットで
表現され、64値の中の0は(00000)、63は(1111
1)でそれぞれ表わされる。図2に示す信号a0〜a5
は、図1に示す信号aに対応し、例えば64値中の16
は、a4=1,a5=a3=a2=a1=0である。
FIG. 2 shows a multi-level error diffusion processor 1 shown in FIG.
03 shows a schematic configuration. The multi-level error diffusion processing unit 103
This is a circuit for converting 64-value image data into 8-value image data by an error diffusion method. The 64-value signal a is represented by 6 bits, where 0 in the 64 values is (00000) and 63 is (1111).
1) respectively. Signals a0 to a5 shown in FIG.
Corresponds to the signal a shown in FIG. 1, for example, 16 out of 64 values.
Is a4 = 1, a5 = a3 = a2 = a1 = 0.

【0014】加算器201は、S(S0〜S5)=A
(A0〜A5)+B(B0〜B5)なるSを出力する。
出力Sの上位3ビットS6,S5,S4が信号b2,b
1,b0として3ビット8値の量子化信号として出力さ
れる。このb2,b1,b0が図1の信号bに対応す
る。出力Sの下位4ビットS3,S2,S1,S0はこ
の量子化の時の量子化誤差であり、メモリ202に一時
記憶される。
The adder 201 determines that S (S0 to S5) = A
An S that is (A0 to A5) + B (B0 to B5) is output.
The upper three bits S6, S5 and S4 of the output S are the signals b2 and b
1 and b0 are output as a 3-bit 8-value quantized signal. These b2, b1, and b0 correspond to the signal b in FIG. The lower 4 bits S3, S2, S1 and S0 of the output S are quantization errors at the time of this quantization and are temporarily stored in the memory 202.

【0015】演算部203は、誤差メモリ202に一時
記憶された誤差に対し、量子化対象画素の周辺の誤差量
に誤差位置に応じた重み付けをして加算平均を算出す
る。この画素位置に応じた重み付け係数を画素マトリク
スで表現したものをウエイトマトリクスと呼び、本実施
例では図3に示すようなウエイトマトリクスを使用して
いる。
The arithmetic unit 203 calculates the average of the errors temporarily stored in the error memory 202 by weighting the error amount around the pixel to be quantized according to the error position. A representation of the weighting coefficients corresponding to the pixel positions in a pixel matrix is called a weight matrix, and in this embodiment, a weight matrix as shown in FIG. 3 is used.

【0016】図3において、ハッチングで示した部分が
量子化対象画素、すなわち現時点での信号a(a0〜a
5)に対応する。この画素に隣接する画素で、かつ、既
に量子化された画素に対し、対象画素からの距離に応じ
て図3のマトリクスに従って重み付けをする。
In FIG. 3, a hatched portion indicates a pixel to be quantized, that is, a signal a (a0 to a) at the present time.
This corresponds to 5). A pixel adjacent to this pixel and already quantized is weighted according to the distance from the target pixel in accordance with the matrix of FIG.

【0017】図4は、誤差メモリ202に一時記憶され
ている周辺画素の各誤差量を表わす。図3および図4に
対し、演算部203の出力e(e0〜e3)は、 e=(1×E1+3×E2+1×E3+3×E4)/8 である。メモリ202に一時記憶されているデータS
3,S2,S1,S0に対して上記演算を行ない、演算
により得られた4ビットをe3,e2,e1,e0とし
て出力する。この出力e3,e2,e1,e0が加算器
201のB入力端子の下位4ビット(B3,B2,B
1,B0)に入力される。なお、図3および図4におい
て、xは入力画像信号及びプリンタで105の記録の主
走査方向、yは副走査方向をそれぞれ示す。
FIG. 4 shows each error amount of the peripheral pixels temporarily stored in the error memory 202. 3 and FIG. 4, the output e (e0 to e3) of the calculation unit 203 is e = (1 × E1 + 3 × E2 + 1 × E3 + 3 × E4) / 8. Data S temporarily stored in the memory 202
The above operation is performed on 3, S2, S1, and S0, and the four bits obtained by the operation are output as e3, e2, e1, and e0. The outputs e3, e2, e1, and e0 are the lower 4 bits (B3, B2, B) of the B input terminal of the adder 201.
1, B0). 3 and 4, x indicates the input image signal and the main scanning direction of printing on the printer 105, and y indicates the sub-scanning direction.

【0018】メモリ202は、量子化対象画素の1ライ
ン前の誤差量(例えば、E1,E2,E3)を一時記憶
する1ラインバッファメモリと、量子化対象画素と同一
ラインで1画素手前の画素分(例えば、E4)を一時記
憶するシフトレジスタとで構成されている。
The memory 202 includes a one-line buffer memory for temporarily storing an error amount (for example, E1, E2, E3) one line before the pixel to be quantized, and a pixel one line before the same line as the pixel to be quantized. And a shift register for temporarily storing the minute (for example, E4).

【0019】以上説明した図2に示す多値誤差拡散処理
部103の動作(演算)を要約すると、次のようにな
る。 1)S=A+B=a+e =a+(1×E1+3×E2+1×E3+3×E4)/8 により、周辺画素の量子化誤差によりaを補正する。 2)Sの中、上位3ビットを取り出すことにより、8値
に量子化する。 3)Sの中、下位4ビットは、この画素の量子化誤差と
してメモリに一時記憶され、今後に量子化されるべき周
辺画素の補正に使用される。
The operation (calculation) of the multi-level error diffusion processing unit 103 shown in FIG. 2 described above is summarized as follows. 1) S = A + B = a + e = a + (1 × E1 + 3 × E2 + 1 × E3 + 3 × E4) / 8, and a is corrected by a quantization error of peripheral pixels. 2) Quantizing to 8 values by extracting the upper 3 bits from S. 3) The lower 4 bits in S are temporarily stored in a memory as a quantization error of this pixel, and are used for correction of peripheral pixels to be quantized in the future.

【0020】このようにして、信号aの階調性が保存さ
れつつ、64値から8値に量子化が行われる。
In this manner, quantization is performed from 64 values to 8 values while maintaining the gradation of the signal a.

【0021】図5に、図1に示す2画素単位処理部10
4の構成概略を示す。2画素単位処理部104は、連続
した2画素にもとづいて演算処理を行なう回路である。
多値誤差拡散処理後のデータbは、ラッチ501および
ラッチ502に入力される。ラッチ501は画素クロッ
クCK1で動作し、入力される画素データを画素毎にラ
ッチする。これに対してラッチ502は画素クロックC
K1の半分の周波数のクロックCK2で動作するため、
入力画素データを1画素おきにラッチする。またラッチ
501の出力はラッチ502に入力される。この結果、
ラッチ502からは連続する2画素データの先行画素と
後行画素が同時に出力される。なおこの時、ラッチ50
2からの出力のうちQ0,Q1,Q2は後行画素に、Q
3,Q4,Q5は先行画素にそれぞれ対応する。以下、
Q3,Q4,Q5をID1で表し、Q0,Q1,Q2を
ID2で表す。
FIG. 5 shows a two-pixel unit processing unit 10 shown in FIG.
4 shows an outline of the configuration. The two-pixel unit processing unit 104 is a circuit that performs arithmetic processing based on two consecutive pixels.
The data b after the multi-level error diffusion processing is input to the latch 501 and the latch 502. The latch 501 operates with the pixel clock CK1, and latches input pixel data for each pixel. On the other hand, the latch 502 outputs the pixel clock C
Since it operates with a clock CK2 having half the frequency of K1,
The input pixel data is latched every other pixel. The output of the latch 501 is input to the latch 502. As a result,
The preceding and succeeding pixels of the continuous two-pixel data are simultaneously output from the latch 502. At this time, the latch 50
2, Q0, Q1, and Q2 are output to the succeeding pixel,
3, Q4 and Q5 respectively correspond to the preceding pixels. Less than,
Q3, Q4, and Q5 are represented by ID1, and Q0, Q1, and Q2 are represented by ID2.

【0022】データ変換RAM503では、テーブル変
換方式で連続する2画素ID1,ID2の間のデータの
移動を行なう。カウンタ504は画素クロックCK1で
動作する主走査方向のカウンタで、LSB(最下位ビッ
ト)がデータ変換RAM503に入力される。データ変
換RAM503は主走査カウンタのLSB信号を用い
て、データ変換後の連続する2画素データをそれぞれ異
なる値に変換する。以下、データ変換後の連続する2画
素のうち先行画素をID1′、後行画素をID2′で表
わす。またカウンタ504はライン同期信号LSYNC
でクリアされ、各ラインの始まりには常に0になる。
In the data conversion RAM 503, data is moved between two consecutive pixels ID1 and ID2 by a table conversion method. The counter 504 is a counter in the main scanning direction operated by the pixel clock CK1, and the LSB (least significant bit) is input to the data conversion RAM 503. The data conversion RAM 503 uses the LSB signal of the main scanning counter to convert continuous two-pixel data after data conversion into different values. Hereinafter, of the two consecutive pixels after data conversion, the preceding pixel is represented by ID1 'and the succeeding pixel is represented by ID2'. The counter 504 has a line synchronization signal LSYNC.
And is always 0 at the beginning of each line.

【0023】データ変換RAM503にはあらかじめ図
6に示すような変換テーブルを書き込んでおく。図6の
変換は式を用いて、 ID1′=ID1+INT(ID2/2) ID2′=ID2−INT(ID2/2) と表すことができる。ただしINTは小数点以下を切り
捨てる関数である。
A conversion table as shown in FIG. 6 is written in the data conversion RAM 503 in advance. The conversion shown in FIG. 6 can be expressed by using the following formula: ID1 '= ID1 + INT (ID2 / 2) ID2' = ID2-INT (ID2 / 2) However, INT is a function that rounds down decimal places.

【0024】データ変換RAM503の出力信号C(C
0,C1,C2,C3)は、カウンタ504のLSB信
号が「L」レベルの時ID1′を表し、「H」レベルの
時ID2′を表す。
The output signal C of the data conversion RAM 503 (C
0, C1, C2, C3) represent ID1 'when the LSB signal of the counter 504 is at "L" level, and represent ID2' when it is at "H" level.

【0025】副走査方カウンタ505は副走査同期信号
FGATEでクリアされ、主走査方向のライン数をカウ
ントする。このカウンタのLSB信号で、偶数ラインと
奇数ラインの処理を区別して行なう。EX−OR(排他
的論理和)ゲート506および507で、実際の各ライ
ン毎の2画素化の単位を変えている。具体的には図7の
ハッチング部に示すように、偶数ラインと、奇数ライン
の2画素化の構成を変えている。
The sub-scanning method counter 505 is cleared by the sub-scanning synchronization signal FGATE, and counts the number of lines in the main scanning direction. With the LSB signal of this counter, the processing of the even-numbered lines and the processing of the odd-numbered lines are performed separately. EX-OR (exclusive OR) gates 506 and 507 change the unit of actual pixelization for each line. More specifically, as shown by the hatched portion in FIG. 7, the configuration of the two-pixel conversion of the even lines and the odd lines is changed.

【0026】2画素単位処理104で形成された画像デ
ータは多値プリンタ105に入力されるが、多値プリン
タは、4ビット11値の画像データに対して11種類に
パルス幅を変調しレーザー露光時間を制御して、1画素
あたり11値の階調記録を行なう。
The image data formed by the two-pixel unit processing 104 is input to the multi-value printer 105. The multi-value printer modulates the pulse width of the 4-bit 11-value image data into 11 types and performs laser exposure. By controlling the time, gradation recording of 11 values per pixel is performed.

【0027】(実施例2) 図8に本発明の画像処理装置を含む画像形成装置の構成
概略を示す。図8に示す構成は、図1に示す構成(実施
例1)と比較して2画素単位処理部の構成が一部異な
る。また、2画素単位処理部の入力データを形成するた
めにディレイメモリ106を有する。他は実施例1と同
様の構成である。
Embodiment 2 FIG. 8 shows a schematic configuration of an image forming apparatus including the image processing apparatus of the present invention. The configuration illustrated in FIG. 8 partially differs from the configuration illustrated in FIG. 1 (Example 1) in the configuration of the two-pixel unit processing unit. Further, a delay memory 106 is provided for forming input data of the two-pixel unit processing unit. Other configurations are the same as those of the first embodiment.

【0028】図9に、2画素単位処理部104aの構成
概略を示す。ラッチ501a,502aおよびデータ変
換RAM503aは、実施例1(図5)に示すラッチ5
01,502およびデータ変換RAM503とその構成
は同じであり、データRAM503aの駆動信号を形成
するための回路が異なる。データRAM503aの駆動
信号を形成するための回路は、カウンタ504a、ラッ
チ505a,606a、コンパレータ507a、および
EX−ORゲード508aにより構成されている。な
お、データRAM503aの出力信号C(C0,C1,
C2,C3)は、データRAM503aに入力されるA
6信号が「L」レベルの時ID1′を表し、「H」レベ
ルの時ID2′を表す。
FIG. 9 shows a schematic configuration of the two-pixel unit processing unit 104a. The latches 501a and 502a and the data conversion RAM 503a correspond to the latch 5 shown in the first embodiment (FIG. 5).
01 and 502 and the data conversion RAM 503 have the same configuration, and a circuit for forming a drive signal for the data RAM 503a is different. A circuit for forming a drive signal for the data RAM 503a includes a counter 504a, latches 505a and 606a, a comparator 507a, and an EX-OR gate 508a. Note that the output signal C (C0, C1,
C2, C3) are the A input to the data RAM 503a.
When six signals are at "L" level, they represent ID1 ', and when they are at "H" level, they represent ID2'.

【0029】スキャナ1からのデータは、γ補正処理、
多値誤差拡散処理により遅れた量だけディレイメモリ1
06によって遅延され、ラッチ505aに入力される。
ここでラッチは506aはラッチ502a(または実施
例1のラッチ502)と同じように連続する2画素のデ
ータを保持する。コンパレータ507aの入力端子Pに
は先行画素データが、入力端子Qには後行画素データが
入力される。コンパレータ507aは、P<Qの時
「H」レベルを出力する。従って、先行画素データが大
きいときには先行画素データが優先的に出力され、後行
画素データが大きい時には後行画素データが優先的に出
力される。
The data from the scanner 1 is subjected to gamma correction processing,
Delay memory 1 by the amount delayed by multi-level error diffusion processing
06 and input to the latch 505a.
Here, the latch 506a holds data of two consecutive pixels in the same manner as the latch 502a (or the latch 502 of the first embodiment). The input terminal P of the comparator 507a receives the preceding pixel data, and the input terminal Q receives the following pixel data. Comparator 507a outputs “H” level when P <Q. Therefore, when the preceding pixel data is large, the preceding pixel data is output with priority, and when the following pixel data is large, the succeeding pixel data is output with priority.

【0030】すなわち、後行画素データの方が大きいと
きにはコンパレータ507aが「H」レベルを出力し、
RAM503aのA6信号はHになるため、RAM50
3aがID2’を先行画素(504aのLSB出力:
L)宛てに出力し、ID1’を後行画素(504aのL
SB出力:H)宛てに出力する。つまり、2画素宛ての
変換データID1’,ID2’を相互に入れ替えて、同
一グループ内2画素の画像データとする。
That is, when the succeeding pixel data is larger, the comparator 507a outputs "H" level,
Since the A6 signal of the RAM 503a becomes H,
3a assigns ID2 ′ to the preceding pixel (LSB output of 504a:
L), and ID1 ′ is output to the succeeding pixel (L of 504a).
SB output: output to H). That is, the conversion data ID1 'and ID2' destined for two pixels are exchanged with each other to obtain image data of two pixels in the same group.

【0031】先行画素データの方が大きいときには、コ
ンパレータ507aが「L」レベルを出力し、RAM5
03aのA6信号はLになるため、RAM503aがI
D1’を先行画素(504aのLSB出力:L)宛てに
出力し、ID2’を後行画素(504aのLSB出力:
H)宛てに出力する。つまり、2画素宛ての変換データ
ID1’,ID2’を入れ替えなく、同一グループ内2
画素の各画像データとする。
When the preceding pixel data is larger, the comparator 507a outputs an "L" level,
Since the A6 signal of the signal 03a goes low, the RAM 503a
D1 ′ is output to the preceding pixel (LSB output of 504a: L), and ID2 ′ is output to the following pixel (LSB output of 504a: L).
H). That is, the conversion data ID1 'and ID2' destined for the two pixels are not exchanged,
It is assumed that each pixel is image data.

【0032】以上をまとめると、次の通りである。The above is summarized as follows.

【0033】 先行画素 後行画素 507a A6信号 変換データ の濃度P:ID1 の濃度Q:ID2 の出力 の入れ替え 小 大 H H:ID2’/L:ID1’ 有り 大 小 L L:ID1’/H:ID2’ 無し なお、主走査カウンタ504aのLSBは、先行画素の
ときL、後行画素のときHである。
Preceding pixel Subsequent pixel 507a A6 signal Replacement of output of density P: ID1 of density Q: ID2 of A6 signal conversion data Small Large H H: ID2 '/ L: ID1' Yes Large Small L L: ID1 '/ H: ID2 'None LSB of the main scanning counter 504a is L for the preceding pixel and H for the succeeding pixel.

【0034】[0034]

【発明の効果】第1の発明によれば、主走査方向の偶数
走査ラインと奇数走査ラインとで、2画素化の構成を変
えるので、単一のマトリクスを用いて誤差拡散してもそ
の周期性を崩し、再生画像上での疑似輪郭の発生を防止
でき、画質が向上する。また、周期性を崩すことは、入
力データに含まれるモアレ成分に対しても効果がある。
According to the first aspect of the present invention, the configuration of two pixels is changed between the even scan line and the odd scan line in the main scanning direction. Thus, the occurrence of a false contour on the reproduced image can be prevented, and the image quality can be improved. Breaking the periodicity is also effective for moiré components included in the input data.

【0035】また、第2の発明によれば、2画素単位処
理において連続2画素のデータ値に対応して画像データ
を形成するので、入力データに対する出力画の画素再現
がより正確となり、出力画像の画質を向上することがで
きる。
According to the second aspect of the present invention, in the two-pixel unit processing, image data is formed corresponding to data values of two consecutive pixels, so that pixel reproduction of an output image with respect to input data becomes more accurate, and Image quality can be improved.

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

【図1】 本発明の画像処理装置を含む画像形成装置の
構成概略を示すブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of an image forming apparatus including an image processing apparatus of the present invention.

【図2】 図1に示す多値誤差拡散処理部103の構成
概略を示すブロック図である。
FIG. 2 is a block diagram schematically showing a configuration of a multi-level error diffusion processing unit 103 shown in FIG.

【図3】 演算部203において、誤差メモリ202に
一時記憶された誤差に対し量子化対象画素の周辺の誤差
量に誤差位置に応じた重み付けする際に用いるウエイト
マトリクスである。
FIG. 3 is a weight matrix used when the arithmetic unit 203 weights an error temporarily stored in an error memory 202 to an error amount around a quantization target pixel according to an error position.

【図4】 誤差メモリ202に一時記憶されている周辺
画素の各誤差量を表わすマトリクスである。
FIG. 4 is a matrix showing error amounts of peripheral pixels temporarily stored in an error memory 202;

【図5】 図1に示す2画素単位処理部104の構成概
略を示すブロック図である。
FIG. 5 is a block diagram illustrating a schematic configuration of a two-pixel unit processing unit 104 illustrated in FIG. 1;

【図6】 データ変換RAM503のデータ変換テーブ
ルである。
FIG. 6 is a data conversion table of a data conversion RAM 503.

【図7】 2画素単位処理部104において、偶数ライ
ンと奇数ラインで2画素化の単位を変えている様子を示
す、画素単位の位置を表す平面図である。
FIG. 7 is a plan view showing the position of a pixel unit, showing how the two-pixel unit is changed between an even line and an odd line in the two-pixel unit processing unit 104;

【図8】 図8に本発明の画像処理装置を含む画像形成
装置の構成概略を示すブロック図である。
FIG. 8 is a block diagram illustrating a schematic configuration of an image forming apparatus including the image processing apparatus of the present invention.

【図9】 2画素単位処理部104aの構成概略を示す
ブロック図である。
FIG. 9 is a block diagram illustrating a schematic configuration of a two-pixel unit processing unit 104a.

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

101:スキャナ 102:γ補正処理部 103:多値誤差拡散処理部 201:加算器(再量子化手段) 202:メモリ(記憶手段) 203:演算部(201,203:第1の補正手段) 104:2画素単位処理部 501,502:ラッチ 503:データ変換RAM(第2の補正手段) 504,505:カウンタ 506:排他的論理和ゲート (501,502,503,504,505,506:
グループ化手段) 105:プリンタ 104a:2画素単位処理部 501a,502a,505a,506a:ラッチ (501a,502a:グループ化手段) 503a:データ変換RAM 504a:カウンタ 507a:コンパレー
タ (505a,506a,507a:比較手段) 508a:排他的論理和ゲート (503a,504a,508a:第2の補正手段) 106:ディレイメモリ
101: scanner 102: γ correction processing unit 103: multi-value error diffusion processing unit 201: adder (requantization unit) 202: memory (storage unit) 203: arithmetic unit (201, 203: first correction unit) 104 : Two pixel unit processing units 501, 502: latch 503: data conversion RAM (second correction means) 504, 505: counter 506: exclusive OR gate (501, 502, 503, 504, 505, 506:
Grouping unit) 105: Printer 104a: 2-pixel unit processing unit 501a, 502a, 505a, 506a: Latch (501a, 502a: Grouping unit) 503a: Data conversion RAM 504a: Counter 507a: Comparator (505a, 506a, 507a: Comparison means) 508a: Exclusive OR gate (503a, 504a, 508a: Second correction means) 106: Delay memory

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】画像データをそのデータビット数より少な
いビット数の画像データに変換する再量子化手段,該再
量子化手段が再量子化した時に発生する誤差データを一
時記憶する記憶手段、および、該記憶手段に記憶された
誤差データを所定マトリクス内の周辺画素に分散する第
1補正手段、を備える、多値誤差拡散による画像処理装
置において、 主走査方向に連続する2画素を1グループとし、副走査
方向に隣接する主走査間では該グループ化を1画素分主
走査方向にずらすグループ化手段;および、 同一グループ内先行,後行2画素の、前記第1補正手段
が補正し再量子化手段が再量子化した各画像データを、
前記後行画素よりその濃度の一部を差し引き前記先行画
素の濃度に加えるように変換する第2補正手段; を備えることを特徴とする画像処理装置。
1. A re-quantizing means for converting image data into image data having a bit number smaller than the data bit number, a storing means for temporarily storing error data generated when the re-quantizing means re-quantizes, and A first correction means for dispersing the error data stored in the storage means to peripheral pixels in a predetermined matrix, wherein two pixels continuous in the main scanning direction are grouped as one group. Grouping means for shifting the grouping by one pixel in the main scanning direction between main scans adjacent in the sub-scanning direction; and the first correction means of the preceding and succeeding two pixels in the same group which are corrected and requantized. Each image data requantized by the
A part of the density is subtracted from the succeeding pixel to obtain the preceding image.
An image processing apparatus comprising: a second correction unit that performs conversion so as to add to the elemental density .
【請求項2】画像データをそのデータビット数より少な
いビット数の画像データに変換する再量子化手段,該再
量子化手段が再量子化した時に発生する誤差データを一
時記憶する記憶手段、および、該記憶手段に記憶された
誤差データを所定マトリクス内の周辺画素に分散する第
1補正手段、を備える、多値誤差拡散による画像処理装
置において、 主走査方向に連続する2画素を1グループとするグルー
プ化手段; 各グループ内2画素の、前記再量子化の前の画像データ
を比較し後行画素が先行画素より高濃度であるかを判定
する比較手段;および、 同一グループ内先行,後行2画素の、前記第1補正手段
が補正し再量子化手段が再量子化した各画像データを、
前記後行画素よりその濃度の一部を差し引き前記先行画
素の濃度に加えるように変換し、前記比較手段が後行画
素が高濃度であると判定しているときには、2画素宛て
の変換データを相互に入れ替えて前記同一グループ内2
画素の画像データとする第2補正手段; を備えることを特徴とする画像処理装置。
2. A requantization means for converting image data into image data having a smaller number of bits than the number of data bits, a storage means for temporarily storing error data generated when the requantization means requantizes, and A first correction means for dispersing the error data stored in the storage means to peripheral pixels in a predetermined matrix, wherein two pixels continuous in the main scanning direction are grouped into one group. grouping means; two pixels in each group, the determined comparison means comparison Kogyo pixels previous image data re-quantization or a higher concentration than the preceding pixel; and, in the same group prior, after Each image data of two pixels in a row, which is corrected by the first correction means and requantized by the requantization means,
A part of the density is subtracted from the succeeding pixel to obtain the preceding image.
If the comparison means determines that the subsequent pixel has a high density, the conversion data addressed to the two pixels are exchanged with each other to replace the two pixels in the same group.
An image processing apparatus comprising: a second correction unit configured to generate image data of pixels.
JP26249491A 1991-10-11 1991-10-11 Image processing device Expired - Fee Related JP3197299B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26249491A JP3197299B2 (en) 1991-10-11 1991-10-11 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26249491A JP3197299B2 (en) 1991-10-11 1991-10-11 Image processing device

Publications (2)

Publication Number Publication Date
JPH05103207A JPH05103207A (en) 1993-04-23
JP3197299B2 true JP3197299B2 (en) 2001-08-13

Family

ID=17376579

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26249491A Expired - Fee Related JP3197299B2 (en) 1991-10-11 1991-10-11 Image processing device

Country Status (1)

Country Link
JP (1) JP3197299B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6462838B1 (en) 1998-03-25 2002-10-08 Minolta Co., Ltd. Method of and apparatus for forming an image

Also Published As

Publication number Publication date
JPH05103207A (en) 1993-04-23

Similar Documents

Publication Publication Date Title
US5729663A (en) Method and apparatus for gray screening
US5339171A (en) Image processing apparatus especially suitable for producing smooth-edged output multi-level tone data having fewer levels than input multi-level tone data
EP0659012B1 (en) Method for quantization of gray level pixel data with extended distribution set
US5121447A (en) Apparatus for performing gradation processing on image data
EP0356225B1 (en) Image processing apparatus
US5208684A (en) Half-tone image processing system
US5226096A (en) Digital halftoning with selectively applied dot-to-dot error diffusion
US6373990B1 (en) Image processing utilizing luminance-density conversion
JPH0777418B2 (en) Image processing device
US5805738A (en) Image processing apparatus and method
US5289294A (en) Image processing apparatus
US5309254A (en) Image processing apparatus capable of processing halftone image data
JP2660004B2 (en) Recording device
US5760918A (en) Image processing apparatus with conversion and reconversion of the number of bits per pixel
JP3197299B2 (en) Image processing device
JPS6349428B2 (en)
US5200839A (en) Image processing apparatus
JPH06284291A (en) Picture processor
JP3124589B2 (en) Image processing device
JP2848566B2 (en) Image processing device
JPS6349427B2 (en)
JP3679522B2 (en) Image processing method and apparatus
JP2701310B2 (en) Halftone image generation method and apparatus
JP3428822B2 (en) Image processing apparatus and image processing method
JPS61186072A (en) Picture processing device

Legal Events

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

Free format text: PAYMENT UNTIL: 20080608

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090608

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090608

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100608

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees