JPH01864A - Image processing device - Google Patents

Image processing device

Info

Publication number
JPH01864A
JPH01864A JP62-154544A JP15454487A JPH01864A JP H01864 A JPH01864 A JP H01864A JP 15454487 A JP15454487 A JP 15454487A JP H01864 A JPH01864 A JP H01864A
Authority
JP
Japan
Prior art keywords
image
gradation
signal
processing
pixel
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.)
Granted
Application number
JP62-154544A
Other languages
Japanese (ja)
Other versions
JPS64864A (en
JP2592066B2 (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
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP62154544A priority Critical patent/JP2592066B2/en
Priority claimed from JP62154544A external-priority 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

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (技術分野) 本発明は、多階調表現されたデジタル画像信号を数階調
のデジタル画素信号に変換する画像処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to an image processing device that converts a digital image signal expressed in multiple gradations into a digital pixel signal with several gradations.

(従来技術) デジタル画像データを使用する複写機、ファクシミリ、
プリンター等において、多階調表現さゎた画像信号を数
階調に階調処理をする方法と1−てデイザ法がよく用い
られているが、デイザ法にはデイザマトリクスパターン
を使用するということで、網点画像入力に対してはモア
レが生じる、また、マトリクスサイズが大きくなると解
像度が下がる。さらに、ハードウェアで実現するために
は数ラインのバックアメモリが必要、などの欠点がある
(Prior art) Copying machines, facsimile machines, etc. that use digital image data,
In printers, etc., the dither method is often used as a method of processing an image signal with multi-gradation expression into several gradations, but the dither method uses a dither matrix pattern. As a result, moiré occurs when inputting a halftone image, and as the matrix size increases, the resolution decreases. Furthermore, it has drawbacks such as the need for several lines of backup memory to implement it in hardware.

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

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

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

(構 成) 上記目的を達成するため、本発明は、多階調表現された
画像信号から再生画像を得る画像処理装置において、画
像信号を偶数番目の画素と奇数番目の画素とに分離して
加算する手段と、加算後の信号を階調処理した結果およ
び階調処理により生じた変換誤差を1ブロック分保持す
る手段を備え、上記変換誤差を次のブロックの画素信号
にフィードバックすることによって、デイザ法などにお
けるマトリクスを用いることなく、モアレの発生や解像
度の低下がな(変換誤差を補正するようにしたことを特
徴とする。
(Structure) In order to achieve the above object, the present invention provides an image processing device that obtains a reproduced image from an image signal expressed in multiple gradations, in which the image signal is separated into even-numbered pixels and odd-numbered pixels. A means for adding and a means for holding one block of the result of gradation processing of the signal after the addition and a conversion error caused by the gradation processing, and feeding back the conversion error to the pixel signal of the next block, It does not use a matrix in the dither method, and does not cause moiré or decrease in resolution (it is characterized by correcting conversion errors).

以下、本発明による画像処理装置の実施例を図面を用い
て説明する。
Embodiments of an image processing apparatus according to the present invention will be described below 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,
1 is an image distribution section, 2 and 3.5 are adders, 4.6 is a gradation processing section, and 7 is an image combination section.

同図において、入力の多階調画像信号は画素分配部1に
より偶数番目の画素信号と奇数番目の画素信号に分配さ
れる。偶数番目の画素信号は後述する加算器2を介して
、奇数番目の画素信号と加算器3により加算される。階
調処理部4,6ではそれぞれの入力階調画像信号を画像
再生装置が画像を再現するのに適したn IV調に変換
する。なお、nは2以上かつ入力階調数以下の整数であ
る。
In the figure, an input multi-gradation image signal is distributed by a pixel distribution section 1 into even-numbered pixel signals and odd-numbered pixel signals. The even-numbered pixel signals are added to the odd-numbered pixel signals by an adder 3 via an adder 2, which will be described later. The gradation processing units 4 and 6 convert the respective input gradation image signals into nIV tones suitable for the image reproduction device to reproduce the image. Note that n is an integer greater than or equal to 2 and less than or equal to 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 pixel signal, but this error is added to the gradation image signal again by the adder 5.2 and used for gradation processing. The n-gradation image signal subjected to the gradation processing in this manner is outputted by combining even-numbered pixel signals and odd-numbered pixel signals in a pixel combining section.

本実施例の特徴は画素分配部1により階調画像信号を偶
数番目の画素と奇数番目の画素に分け、それぞれに対し
て加算器2,5を用いて2画素率位で順に誤差補正をし
てから階調処理をする点である。
The feature of this embodiment is that the pixel distribution unit 1 divides the gradation image signal into even-numbered pixels and odd-numbered pixels, and adders 2 and 5 are used to perform error correction for each pixel in turn at a rate of about 2 pixels. The point is to perform gradation processing after that.

第2図は本発明の他の実施例の回路構成図であって、8
.1?、18.19はラッチ、9,10.14は加算器
、11は減算器、12はオーバーフロー補正器、13は
アンダーフロー補正器、15.16は除算器、20はデ
ータセレクタ、21は分周カウンタである。
FIG. 2 is a circuit configuration diagram of another embodiment of the present invention,
.. 1? , 18.19 is a latch, 9, 10.14 is an adder, 11 is a subtracter, 12 is an overflow corrector, 13 is an underflow corrector, 15.16 is a divider, 20 is a data selector, 21 is a frequency divider It is a counter.

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

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

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

除算器15は、前述のオーバーフロー補正器12の出力
信号をあらかじめ定められている量子化階調5tepで
除算する。これは第1図における階調処理部4に相当し
、商が偶数番目の画素のn階調画素信号となりラッチ1
7に入力され余りが量子化誤差補正のために加算器14
に入力される。
The divider 15 divides the output signal of the overflow corrector 12 described above by a predetermined quantization tone of 5 tep. This corresponds to the gradation processing section 4 in FIG.
7 and the remainder is input to adder 14 for quantization error correction.
is input.

量子化階調5tepは、入力階調数を出力階調数nで割
った値に設定してお(。
The quantization gradation level 5tep is set to the value obtained by dividing the number of input gradation levels by the number of output gradation levels n.

なお、除算器15は、階調がリニアステップの場合を想
定したものであって、それがノンリニアな場合はすなわ
ち、プリンタなどの特性に合わせて例えば、ログカーブ
に合わせるような処理を行なえばよい。
Note that the divider 15 is designed to assume a case where the gradation is a linear step, and if the gradation is non-linear, it is sufficient to perform processing such as matching to a log curve in accordance with the characteristics of the printer or the like.

加算器14においてt子化誤差分とアンダーフロー補正
器13の出力が加算された信号は奇数番目の画素信号と
なり偶e番目の信、号同様に除算器16(第1図では階
調処理部6に相当)により階調処理がなされn階調画素
信号となりラッチ18に入力される。またここで生じた
量子化誤差(除算器16の余り)はラッチ19によりラ
ッチされた後、jiff 上の加算器9に入力され、次
に入力される偶数番目の画素の階調信号にQn nされ
てn l’l’? :y’1量子化時における量子化誤
差を補正する。
The signal obtained by adding the t childization error and the output of the underflow corrector 13 in the adder 14 becomes an odd-numbered pixel signal, and similarly to the even e-th signal. 6), gradation processing is performed to form an n gradation pixel signal, which is input to the latch 18. In addition, the quantization error (remainder of the divider 16) generated here is latched by the latch 19, and then input to the adder 9 on the jiff, and is added to the gradation signal of the even-numbered pixel to be inputted next. Been n l'l'? : Correct the quantization error during y'1 quantization.

ラッチ17.18にラッチされたn階調処理後の画像信
号はそれぞれ偶数、奇数番目の画素信号として、データ
セレクタ20により交互に出力される。データセレクタ
20のセレクトタイミング信号には分周カウンタ21の
出力を用いている。
The image signals after n gradation processing latched by the latches 17 and 18 are output alternately by the data selector 20 as even-numbered and odd-numbered pixel signals, respectively. The output of the frequency division counter 21 is used as the selection timing signal of the data selector 20.

これは第1図における画素結合部7に相当し1面素分配
部1により分離された画素を再びもとり形知もどす。こ
のようにしてデータセレクタ20にはn階調に量子化処
理された画素信号が出力されろ。
This corresponds to the pixel combining section 7 in FIG. 1, and returns the pixels separated by the one-plane pixel distributing section 1 to restore their shape. In this way, a pixel signal quantized to n gradations is output to the data selector 20.

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

第2図において、最高階調値すなわち最高濃就値を10
0、量子化階調ステップを20、出力階調数をn=5、
ラッチ19に保持されているデータを10、入力される
偶数番目の画素信号を55、奇数番目の画数信号を62
とすると、画素ロックに対して、第2図における各装イ
近は、第4図に示すようになる。
In Figure 2, the highest gradation value, that is, the highest concentration value, is 10
0, quantization gradation step 20, output gradation number n=5,
The data held in the latch 19 is 10, the even numbered pixel signal input is 55, and the odd numbered pixel signal is 62.
If this is the case, the respective mounting positions in FIG. 2 for pixel locking will be as shown in FIG. 4.

第4図は、入力多[)〒制置・号55.G2に対して、
出力5階調信号4.2が得られたことを示している。
Figure 4 shows the number of inputs. For G2,
This shows that an output 5-gradation signal of 4.2 was obtained.

本実施列においての入力である多階調画像信号は、主走
査方向に画素が連続している場合は、主走査方法にとな
りあ゛りた偶数番目の画素と奇数番目の画素を加算処理
する。
If the input multi-gradation image signal in this implementation row has consecutive pixels in the main scanning direction, the even numbered pixels and the odd numbered pixels that are next to each other are added together using the main scanning method. .

第5図は副走査方向に対応した本発明による画像処理装
置の他の実施例を示すブロック図であって、22は主走
査方向1ライン分のバッファ、メモリ、23はデータセ
レクタ、24は第2図と同じ構成・作用を持つ回路、2
5は変換誤差バッファメモリである。
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, in which 22 is a buffer and memory for one line in the main-scanning direction, 23 is a data selector, and 24 is a third embodiment of the image processing apparatus according to the present invention. 2 Circuit with the same configuration and function as in Figure 2, 2
5 is a conversion error buffer memory.

同図に示した構成は、主;?’tft方向に連続な入力
に対してム;:1走査方向・p二となりあった画素を加
算処理するために、主走査方向に1ライン分の多階調画
像信号用バッファメモリ22と変換誤差保持用のバック
アメモリ25を追加することで対応している。
The configuration shown in the figure is mainly;? 'For continuous input in the tft direction, in order to perform addition processing on pixels that are 1 scanning direction and 2 pixels, the buffer memory 22 for multi-gradation image signals for 1 line in the main scanning direction and the conversion error are added. This is handled by adding a backup memory 25 for holding.

(効 果) 以上説明したよ5に、不発明によれば、デイザ法などに
おけるマトリクスを用いていないので、再生画像の解像
度が良く、モアレが生じないっ牙た変換誤差をフィード
バック補正しているので、画像全体で階調の再現性が良
い。
(Effects) As explained above, according to the invention, the matrix used in the dither method is not used, so the resolution of the reproduced image is good and moiré does not occur.Conversion errors are feedback corrected. Therefore, gradation reproducibility is good throughout the image.

そして、偶数画素と奇数画素を加算することにより、ペ
タ画像部での均一性、ハーフトーン部でのエツジ強調の
効米が得られる。
By adding the even-numbered pixels and the odd-numbered pixels, uniformity in the peta image area and effectiveness of edge enhancement in the halftone area can be obtained.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例乞示すブロック図、第2図は
本発明の他の実施例の回路構成図、第3図は第2図の動
作波形図、第4図は′i42図の谷1′d号の値を示す
説明図、第5図は副走査方向に対応した本発明の他の実
施例を示すブロック図である。 1・・・・・・画素分配部、2,3.5・・・・・・加
算器、4、6・・・・・・階調処理部、7・・・・・・
画素結合部。 第1図
Fig. 1 is a block diagram showing one 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. 4 is an 'i42 diagram. 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... Gradation processing unit, 7...
Pixel joining part. Figure 1

Claims (2)

【特許請求の範囲】[Claims] (1)多階調表現された両像信号から該画像信号の引続
く2画素を1ブロックとして処理し、再生画像を得る画
像処理装置において、前記画像信号を偶数番目の画素と
奇数番目の画素とに分離する分離手段と、分離した偶数
番目の画素と奇数番目の画素とを加算する加算手段と、
加算後の信号を階調処理した結果及び階調処理により生
じた変換誤差を前記1ブロック分保持する保持手段と、
上記変換誤差を次ブロックの画素信号にフィードバック
する手段とを備えたことを特徴とする画像処理装置。
(1) In an image processing device that obtains a reproduced image by processing successive two pixels of the image signal from both image signals expressed in multiple gradations as one block, the image signal is divided into even-numbered pixels and odd-numbered pixels. separation means for separating the separated even-numbered pixels and odd-numbered pixels;
holding means for holding the result of gradation processing of the signal after addition and the conversion error caused by the gradation processing for the one block;
An image processing device comprising: means for feeding back the conversion error to a pixel signal of the next block.
(2)前記フィードバック手段は前記保持手段に保持さ
れた変換誤差と次ブロックの階調処理前の画像信号との
加算であることを特徴とする特許請求の範囲第(1)項
に記載の画像処理装置。
(2) The image according to claim 1, wherein the feedback means is an addition of the conversion error held in the holding means and the image signal of the next block before gradation processing. Processing equipment.
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 true JPH01864A (en) 1989-01-05
JP2592066B2 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

Similar Documents

Publication Publication Date Title
EP0659012B1 (en) Method for quantization of gray level pixel data with extended distribution set
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) Image processing method and apparatus
JP2592066B2 (en) Image processing device
JPH01864A (en) Image processing device
JP2606846B2 (en) Image signal processing device
US6181827B1 (en) Image processing method and apparatus
JP2882531B2 (en) Image processing device
JP2800071B2 (en) Color image forming equipment
JPH02107061A (en) Image signal processing method
JPH0638024A (en) Image processing device
JPS61157161A (en) Image processing device
JPH042034B2 (en)
JPH08179738A (en) Multi-tone image data converter
JPS6029872A (en) Method and device for picture signal processing
JPH07274017A (en) Image processing device
JPH01170271A (en) Image correction method
JPH04252386A (en) Picture processor
JPH0130348B2 (en)
JPH0117309B2 (en)
JPS61157166A (en) Picture processing device