JP2592066B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2592066B2
JP2592066B2 JP62154544A JP15454487A JP2592066B2 JP 2592066 B2 JP2592066 B2 JP 2592066B2 JP 62154544 A JP62154544 A JP 62154544A JP 15454487 A JP15454487 A JP 15454487A JP 2592066 B2 JP2592066 B2 JP 2592066B2
Authority
JP
Japan
Prior art keywords
gradation
image
signal
pixels
numbered
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
JP62154544A
Other languages
Japanese (ja)
Other versions
JPS64864A (en
JPH01864A (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 JP62154544A priority Critical patent/JP2592066B2/en
Publication of JPS64864A publication Critical patent/JPS64864A/en
Publication of JPH01864A publication Critical patent/JPH01864A/en
Application granted granted Critical
Publication of JP2592066B2 publication Critical patent/JP2592066B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】 (技術分野) 本発明は、多階調表現されたデジタル画像信号を数階
調のデジタル画素信号に変換する画像処理装置に関す
る。
Description: TECHNICAL FIELD The present invention relates to an image processing apparatus for converting a digital image signal expressed in multiple gradations into a digital pixel signal having several gradations.

(従来技術) デジタル画像データを使用する複写機,フアクシミ
リ,プリンター等において、多階調表現された画像信号
を数階調に階調処理をする方法としてデイザ法がよく用
いられているが、デイザ法にはデイザマトリクスパター
ンを使用するということで、網点画像入力に対してはモ
アレが生じる、また、マトリクスサイズが大きくなると
解像度が下がる。さらに、ハードウエアで実現するため
には数ラインのバツフアメモリが必要、などの欠点があ
る。
(Prior Art) In a copying machine, a facsimile, a printer, and the like using digital image data, a dither method is often used as a method of performing gradation processing of an image signal expressed in multiple gradations to several gradations. Since a dither matrix pattern is used in the method, moire occurs when a halftone dot image is input, and the resolution decreases as the matrix size increases. Further, there is a drawback such that a buffer memory of several lines is required for realizing with hardware.

また、従来デイザ法により生ずる変換誤差を次ブロツ
クのデイザ処理前の画像信号にフイードバツクする方法
はある。又、ウエイトマトリクスを用いて誤差補正を行
う画像2値化処理法もある。
In addition, there is a conventional method in which a conversion error generated by the dither method is fed back to an image signal before dither processing of the next block. There is also an image binarization processing method for performing error correction using a weight matrix.

しかし、上記したように、デイザ法を用いるとそのデ
イザマトリクスの大きさから、解像度が悪化してしま
い、2値化処理では階調の再現性が悪くなつてしまう。
However, as described above, when the dither method is used, the resolution is deteriorated due to the size of the dither matrix, and the reproducibility of gradation is deteriorated in the binarization processing.

(目 的) 本発明の目的は、上記した従来技術の欠点を解決する
ことにあり、網点原稿を含む原画からモアレの発生をお
さえ、かつ解像度を下げないで階調処理を行うことので
きる画像処理装置を提供することにある。
(Purpose) An object of the present invention is to solve the above-mentioned drawbacks of the prior art, and it is possible to suppress the occurrence of moire from an original image including a halftone original and perform gradation processing without lowering the resolution. An image processing device is provided.

(構 成) 上記目的を達成するため、本発明は、多階調表現され
た画像信号から再生画像を得る画像処理装置において、
画像信号を偶数番目の画素と奇数番目の画素とに分離し
て加算する手段と、加算後の信号を階調処理した結果お
よび階調処理により生じた変換誤差を1ブロツク分保持
する手段を備え、上記変換誤差を次のブロツクの画素信
号にフイードバツクすることによつて、デイザ法などに
おけるマトリクスを用いることなく、モアレの発生や解
像度の低下がなく変換誤差を補正するようにしたことを
特徴とする。
(Structure) In order to achieve the above object, the present invention provides an image processing apparatus for obtaining a reproduced image from an image signal represented by multiple gradations.
Means for separating and adding the image signal into even-numbered pixels and odd-numbered pixels; and means for holding the result of gradation processing of the added signal and the conversion error caused by the gradation processing for one block. By feeding back the conversion error to the pixel signal of the next block, the conversion error is corrected without the occurrence of moire or reduction in resolution without using a matrix in the dither method or the like. I do.

以下、本発明による画像処理装置の実施例を図面を用
いて説明する。
Hereinafter, embodiments of the image processing apparatus according to the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロツク図であつ
て、1は画像分配部、2,3,5は加算器、4,6は階調処理
部、7は画像結合部である。
FIG. 1 is a block diagram showing an embodiment of the present invention, in which 1 is an image distribution unit, 2, 3, and 5 are adders, 4 and 6 are gradation processing units, and 7 is an image combining unit.

同図において、入力の多階調画像信号は画素分配部1
により偶数番目の画素信号と奇数番目の画素信号に分配
される。偶数番目の画素信号は後述する加算器2を介し
て奇数番目の画素信号と加算器3により加算される。階
調処理部4,6ではそれぞれの入力階調画像信号を画像再
生装置が画像を再現するのに適したn階調に変換する。
なお、nは2以上かつ入力階調数以下の整数である。
In FIG. 1, an input multi-tone image signal is supplied to a pixel distribution unit 1.
Is distributed to even-numbered pixel signals and odd-numbered pixel signals. The even-numbered pixel signal is added to the odd-numbered pixel signal by an adder 3 via an adder 2 described later. The gradation processing units 4 and 6 convert the respective input gradation image signals into n gradations suitable for the image reproducing device to reproduce an image.
Note that n is an integer equal to or larger than 2 and equal to or smaller than the number of input gradations.

この時、n階調画像信号は入力階調画像信号に対して
変換誤差を生じるが、この誤差は加算器5,2により再び
階調画像信号に加算され階調処理に使用される。このよ
うにして階調処理されたn階調画像信号は画素結合部
で、偶数番目の画素信号と奇数番目の画素信号が合成さ
れて出力される。
At this time, the n-gradation image signal causes a conversion error with respect to the input gradation image signal, and this error is again added to the gradation image signal by the adders 5 and 2 and used for gradation processing. The n-gradation image signal subjected to the gradation processing in this manner is output at the pixel combining section by combining the even-numbered pixel signal and the odd-numbered pixel signal.

本実施例の特徴は画素分配部1により階調画像信号を
偶数番目の画素と奇数番目の画素に分け、それぞれに対
して加算器2,5を用いて2画素単位で順に誤差補正をし
てから階調処理をする点である。
The feature of the present embodiment is that the grayscale image signal is divided into even-numbered pixels and odd-numbered pixels by the pixel distribution unit 1, and error correction is sequentially performed on each of the two pixels using adders 2 and 5. The point is that the gradation processing is performed.

第2図は本発明の他の実施例の回路構成図であつて、
8,17,18,19はラツチ、9,10,14は加算器、11は減算器、1
2はオーバーフロー補正器、13はアンダーフロー補正
器、15,16は除算器、20はデータセレクタ、21は分周カ
ウンタである。
FIG. 2 is a circuit diagram of another embodiment of the present invention.
8, 17, 18, 19 are latches, 9, 10, 14 are adders, 11 is subtractors, 1
2 is an overflow corrector, 13 is an underflow corrector, 15 and 16 are dividers, 20 is a data selector, and 21 is a frequency dividing counter.

同図において入力信号である多階調画像信号は、ラツ
チ8に入力する。ラツチ8は他のラツチ17,18,19と同じ
ように非同期クリヤ機能を持ち水平同期信号によりクリ
ヤされる。つまり第2図におけるラツチはすべて水平同
期信号により初期化された後1ラインの初めの階調画像
をラツチすることになる。ラツチのタイミングはラツチ
8,17,18,19共に画素クロツクを分周カウンタ21で1/2分
周した画素クロツクにより決定され、これは1画素間隔
である。
In the figure, a multi-tone image signal which is an input signal is input to a latch 8. The latch 8 has an asynchronous clear function like the other latches 17, 18, and 19 and is cleared by a horizontal synchronizing signal. In other words, all the latches in FIG. 2 are initialized by the horizontal synchronizing signal, and then the first gradation image of one line is latched. Latch timing is Latch
Each of 8, 17, 18, and 19 is determined by the pixel clock obtained by dividing the pixel clock by 1/2 by the frequency dividing counter 21, which is one pixel interval.

ラツチ8の出力は加算器9に入り、ここでラツチ19の
出力と加算される。ラツチ19の出力は第1図における階
調処理部6の出力に相当する階調処理の量子化誤差であ
る。加算器10は加算器9の出力とラツチ8の出力を加算
するが、これは第1図における加算器3に相当し、偶数
番目の画素信号と奇数番目の画素信号を加算する意味を
もつ。加算器10の出力は2つに分けられ、オーバーフロ
ー補正器12、減算器11に入るが、これらはそれぞれ偶数
番目の画素信号、奇数番目の画素信号として以降の回路
で処理される。オーバーフロー補正器12に入つた偶数番
目の画素信号は、入力階調画素信号がとりうる最大値以
上の画素信号に対してのみ最大値−1として出力して補
正する。
The output of the latch 8 enters the adder 9 where it is added to the output of the latch 19. The output of the latch 19 is a quantization error of the gradation processing corresponding to the output of the gradation processing unit 6 in FIG. The adder 10 adds the output of the adder 9 and the output of the latch 8, which corresponds to the adder 3 in FIG. 1 and has the meaning of adding even-numbered pixel signals and odd-numbered pixel signals. The output of the adder 10 is divided into two and enters an overflow corrector 12 and a subtractor 11, which are processed as even-numbered pixel signals and odd-numbered pixel signals by the subsequent circuits. The even-numbered pixel signals input to the overflow corrector 12 are output as the maximum value -1 and corrected only for pixel signals that are equal to or more than the maximum value that the input gradation pixel signal can take.

減算器11は加算器10の出力信号から入力階調画素信号
がとりうる最大値を減算し、アンダーフロー補正器13は
減算器11の出力において負になつた信号をθに補正す
る。この結果アンダーフロー補正器13の出力は前述のオ
ーバーフロー補正器12で補正された値に相当する信号が
出力される。
The subtractor 11 subtracts the maximum value of the input gradation pixel signal from the output signal of the adder 10, and the underflow corrector 13 corrects the negative signal in the output of the subtractor 11 to θ. As a result, the output of the underflow corrector 13 outputs a signal corresponding to the value corrected by the overflow corrector 12 described above.

除算器15は、前述のオーバーフロー補正器12の出力信
号をあらかじめ定められている量子化階調Stepで除算す
る。これは第1図における階調処理部4に相当し、商が
偶数番目の画素のn階調画素信号となりラツチ17に入力
され余りが量子化誤差補正のために加算器14に入力され
る。量子化階調Stepは、入力階調数を出力階調数nで割
つた値に設定しておく。
The divider 15 divides the output signal of the overflow corrector 12 by a predetermined quantization gradation Step. This corresponds to the gradation processing unit 4 in FIG. 1. The quotient becomes the n-th gradation pixel signal of the even-numbered pixel, and is input to the latch 17 and the remainder is input to the adder 14 for quantization error correction. The quantization gradation Step is set to a value obtained by dividing the number of input gradations by the number n of output gradations.

なお、除算器15は、階調がリニアステツプの場合を規
定したものであつて、それがノンリニアな場合はすなわ
ち、プリンタなどの特性に合わせて例えば、ログカーブ
に合わせるような処理を行なえばよい。
The divider 15 defines a case where the gradation is a linear step. If the gradation is non-linear, that is, the divider 15 may perform processing such as, for example, a log curve according to the characteristics of a printer or the like.

加算器14において量子化誤差分とアンダーフロー補正
器13の出力が加算された信号は奇数番目の画素信号とな
り偶数番目の信号同様に除算器16(第1図では階調処理
部6に相当)により階調処理がなされn階調画素信号と
なりラツチ18に入力される。またここで生じた量子化誤
差(除算器16の余り)はラツチ19によりラツチされた
後、前述の加算器9に入力され、次に入力される。
The signal obtained by adding the quantization error and the output of the underflow corrector 13 in the adder 14 becomes an odd-numbered pixel signal and a divider 16 (corresponding to the gradation processing unit 6 in FIG. 1) like the even-numbered signal. , And becomes an n-gradation pixel signal, which is input to the latch 18. The quantization error (the remainder of the divider 16) generated here is latched by the latch 19, and then input to the adder 9 described above, and then input.

偶数番目の画素の階調信号に加算されてn階調量子化
時における量子化誤差を補正する。
The quantization error is added to the gradation signal of the even-numbered pixel to correct the quantization error at the time of quantization of n gradations.

ラツチ17,18にラツチされたn階調処理後の画像信号
はそれぞれ偶数,奇数番目の画素信号として、データセ
レクタ20により交互に出力される。データセレクタ20の
セレクトタイミング信号には分周カウンタ21の出力を用
いている。これは第1図における画素結合部7に相当し
画素分配部1により分離された画素を再びもとの形にも
どす。このようにしてデータセレクタ20にはn階調に量
子化処理された画素信号が出力される。
The image signals latched on the latches 17 and 18 after the n gradation processing are alternately output by the data selector 20 as even-numbered and odd-numbered pixel signals, respectively. The output of the frequency dividing counter 21 is used as a select timing signal of the data selector 20. This corresponds to the pixel coupling section 7 in FIG. 1 and returns the pixels separated by the pixel distribution section 1 to the original shape again. In this manner, the pixel signal quantized to n gradations is output to the data selector 20.

第3図は第2図の動作を説明する動作波形図であり、
第4図は第2図の各信号の値を示す説明図である。
FIG. 3 is an operation waveform diagram for explaining the operation of FIG.
FIG. 4 is an explanatory diagram showing the value of each signal in FIG.

第2図において、最高階調値すなわち最高濃度値を10
0、量子化階調ステツプを20、出力階調数をn=5、ラ
ツチ19に保持されているデータを10、入力される偶数番
目の画素信号を55、奇数番目の画数信号を62とすると、
画素ロツクに対して、第2図における各装置は、第4図
に示すようになる。
In FIG. 2, the highest gradation value, that is, the highest density value is 10
0, the number of quantized gradation steps is 20, the number of output gradations is n = 5, the data held in the latch 19 is 10, the even-numbered pixel signal is 55, and the odd-numbered image signal is 62. ,
With respect to the pixel lock, each device in FIG. 2 is as shown in FIG.

第4図は、入力多階調信号55,62に対して、出力5階
調信号4,2が得られたことを示している。
FIG. 4 shows that, for the input multi-gradation signals 55 and 62, the output 5-gradation signals 4, 2 were obtained.

本実施例においての入力である多階調画像信号は、主
走査方向に画素が連続している場合は、主走査方法にと
なりあつた偶数番目の画素と奇数番目の画素を加算処理
する。
When pixels are continuous in the main scanning direction, the multi-tone image signal which is an input in the present embodiment performs the main scanning method, and adds even-numbered pixels and odd-numbered pixels which have been used in the main scanning method.

第5図は副走査方向に対応した本発明による画像処理
装置の他の実施例を示すブロツク図であつて、22は主走
査方向1ライン分のバツフアメモリ、23はデータセレク
タ、24は第2図と同じ構成・作用を持つ回路、25は変換
誤差バツフアメモリである。
FIG. 5 is a block diagram showing another embodiment of the image processing apparatus according to the present invention corresponding to the sub-scanning direction, wherein 22 is a buffer memory for one line in the main scanning direction, 23 is a data selector, and 24 is FIG. 25 is a conversion error buffer memory having the same configuration and operation as the above.

同図に示した構成は、主走査方向に連続な入力に対し
て副走査方向にとなりあつた画素を加算処理するため
に、主走査方向に1ライン分の多階調画像信号用バツフ
アメモリ22と変換誤差保持用のバツフアメモリ25を追加
することで対応している。
In the configuration shown in FIG. 3, a buffer memory 22 for a multi-tone image signal for one line in the main scanning direction is provided in order to add pixels adjacent to each other in the sub-scanning direction with respect to an input continuous in the main scanning direction. This is supported by adding a buffer memory 25 for holding a conversion error.

(効 果) 以上説明したように、本発明によれば、デイザ法など
におけるマトリクスを用いていないので、再生画像の解
像度が良く、モアレが生じない。また変換誤差をフイー
ドバツク補正しているので、画像全体で階調の再現性が
良い。
(Effects) As described above, according to the present invention, since a matrix in the dither method or the like is not used, the resolution of a reproduced image is good and moire does not occur. Further, since the conversion error is subjected to the feedback correction, the reproducibility of the gradation in the entire image is good.

そして、偶数画素と奇数画素を加算することにより、
ベタ画像部での均一性、ハーフトーン部でのエツジ強調
の効果が得られる。
Then, by adding even pixels and odd pixels,
The uniformity in the solid image portion and the effect of edge enhancement in the halftone portion can be obtained.

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

第1図は本発明の一実施例を示すブロツク図、第2図は
本発明の他の実施例の回路構成図、第3図は第2図の動
作波形図、第4図は第2図の各信号の値を示す説明図、
第5図は副走査方向に対応した本発明の他の実施例を示
すブロツク図である。 1……画素分配部、2,3,5……加算器、4,6……階調処理
部、7……画素結合部。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a circuit configuration diagram of another embodiment of the present invention, FIG. 3 is an operation waveform diagram of FIG. 2, and FIG. Explanatory diagram showing the value of each signal of
FIG. 5 is a block diagram showing another embodiment of the present invention corresponding to the sub-scanning direction. 1 ... Pixel distribution unit, 2,3,5 ... Adder, 4,6 ... Grayscale processing unit, 7 ... Pixel combining unit.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】多階調表現された画像信号から該画像信号
の引続く2画素を1ブロツクとして処理し、再生画像を
得る画像処理装置において、前記画像信号を偶数番目の
画素と奇数番目の画素とに分離する分離手段と、分離し
た偶数番目の画素と奇数番目の画素とを加算する加算手
段と、加算後の信号を階調処理した結果及び階調処理に
より生じた変換誤差を前記第1ブロツク分保持する保持
手段と、上記変換誤差を次ブロツクの画素信号にフイー
ドバツクする手段とを備えたことを特徴とする画像処理
装置。
1. An image processing apparatus for obtaining a reproduced image by processing two successive pixels of an image signal from a multi-gradation-expressed image signal as one block, wherein the image signal is divided into even-numbered pixels and odd-numbered pixels. A separating unit that separates the pixels into pixels, an adding unit that adds the even-numbered pixels and the odd-numbered pixels that have been separated, and a conversion result generated by performing the gradation processing on the added signal and the conversion error caused by the gradation processing. An image processing apparatus comprising: holding means for holding one block; and means for feeding back the conversion error to a pixel signal of the next block.
【請求項2】前記フイードバツク手段は前記保持手段に
保持された変換誤差と次ブロツクの階調処理前の画像信
号との加算であることを特徴とする特許請求の範囲第
(1)項に記載の画像処理装置。
2. The apparatus according to claim 1, wherein said feedback means is an addition of a conversion error held by said holding means and an image signal before gradation processing of a next block. Image processing device.
JP62154544A 1987-06-23 1987-06-23 Image processing device Expired - Fee Related JP2592066B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62154544A JP2592066B2 (en) 1987-06-23 1987-06-23 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62154544A JP2592066B2 (en) 1987-06-23 1987-06-23 Image processing device

Publications (3)

Publication Number Publication Date
JPS64864A JPS64864A (en) 1989-01-05
JPH01864A JPH01864A (en) 1989-01-05
JP2592066B2 true JP2592066B2 (en) 1997-03-19

Family

ID=15586575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62154544A Expired - Fee Related JP2592066B2 (en) 1987-06-23 1987-06-23 Image processing device

Country Status (1)

Country Link
JP (1) JP2592066B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4887098A (en) * 1988-11-25 1989-12-12 Xerox Corporation Thermal ink jet printer having printhead transducers with multilevelinterconnections

Also Published As

Publication number Publication date
JPS64864A (en) 1989-01-05

Similar Documents

Publication Publication Date Title
US4449150A (en) Method of processing medium tone picture
US7170642B2 (en) Image processing apparatus and method for improving output image quality
JPS59156070A (en) Picture processing device
US5805738A (en) Image processing apparatus and method
GB2129652A (en) Method and apparatus for processing image signal
US4937677A (en) Method of enlarging/reducing dithered images
JPH05167863A (en) Method and device for processing image
JP2592066B2 (en) Image processing device
JPH1117945A (en) Image processing unit
JP2606846B2 (en) Image signal processing device
JPH01864A (en) Image processing device
US7342688B2 (en) Apparatus for eliminating moire in scanned image and method for the same
US8259358B2 (en) Apparatus for eliminating moire in scanned image and method for the same
JPH06203148A (en) Method and device for processing image
JP2800071B2 (en) Color image forming equipment
JPH02107061A (en) Picture signal processing method
JPH065879B2 (en) Image processing device
JPH042034B2 (en)
JPS61157161A (en) Picture processing device
JP2002101304A (en) Image processing unit
JPH0638024A (en) Image processor
JPH07274017A (en) Picture processor
JPH08179738A (en) Multiple gradation image data transforming device
JPH0117309B2 (en)
JPH0575864A (en) Reading system in facsimile

Legal Events

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