JPH0698157A - Halftone image forming device - Google Patents

Halftone image forming device

Info

Publication number
JPH0698157A
JPH0698157A JP4269088A JP26908892A JPH0698157A JP H0698157 A JPH0698157 A JP H0698157A JP 4269088 A JP4269088 A JP 4269088A JP 26908892 A JP26908892 A JP 26908892A JP H0698157 A JPH0698157 A JP H0698157A
Authority
JP
Japan
Prior art keywords
data
image data
input
value
difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4269088A
Other languages
Japanese (ja)
Inventor
Yoshinori Awata
恵徳 粟田
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP4269088A priority Critical patent/JPH0698157A/en
Publication of JPH0698157A publication Critical patent/JPH0698157A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To simplify the error dispersion processing part of a halftone image preparing device. CONSTITUTION:A dither processing part 7 operates a dither processing to inputted picture data, for example, 8 bit 256 gradation data, and converts the data into, for example, 2-bit 4-gradation picture data, and outputs the data. The dither-processed picture data are inputted to an error dispersion processing part 8, and outputted as binary data. And also, the error dispersion processing part 8 calculates difference data between the input picture data and a scheduled threshold value, and feedbacked the difference data as correction data. The error dispersion processing part 8 corrects the picture data inputted from the dither processing part 7 by the difference data and a weighting correction value preliminarily set at the error dispersion processing part 8.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は中間調画像形成装置に関
するものであり、特に、中間調を再現するための2値化
手段として設けられている誤差拡散処理部の構成を簡単
にすることができる中間調画像形成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a halftone image forming apparatus, and more particularly, to simplifying the structure of an error diffusion processing section provided as a binarizing means for reproducing a halftone. The present invention relates to a halftone image forming apparatus.

【0002】[0002]

【従来の技術】従来からデジタルプリンタ、デジタルフ
ァクシミリ装置において、中間調画像を再現するための
2値化処理手法として誤差拡散処理が知られている。こ
の誤差拡散処理は、原稿の画像濃度と出力画像濃度との
画素毎の濃度差を演算し、この演算処理結果に特定の重
み付けを施した後、注目画素周辺の画素へ分散させてい
く方法である。
2. Description of the Related Art Conventionally, error diffusion processing has been known as a binarization processing method for reproducing a halftone image in a digital printer or a digital facsimile apparatus. This error diffusion processing is a method in which the density difference between the image density of the original and the output image density is calculated for each pixel, the calculation processing result is given a specific weighting, and then dispersed to the pixels around the pixel of interest. is there.

【0003】図10のブロック図および図11の画素配
列図を参照して誤差拡散処理装置の一例を説明する。図
11において、画素xは注目画素であり、その周辺の参
照画素P1〜P4はすでに2値化処理が施された画素で
ある。すなわち参照画素P1〜P3は注目画素xの1ラ
イン前の画素であり、参照画素P4は注目画素xの直前
の画素である。
An example of the error diffusion processing device will be described with reference to the block diagram of FIG. 10 and the pixel array diagram of FIG. In FIG. 11, the pixel x is the pixel of interest, and the reference pixels P1 to P4 around it are the pixels that have already been binarized. That is, the reference pixels P1 to P3 are pixels one line before the target pixel x, and the reference pixel P4 is a pixel immediately before the target pixel x.

【0004】図10において、図示しない読取装置で読
取られた画像は、8ビットのデジタルデータすなわち2
56階調のデータに量子化されて補正データ算出部1に
入力される。補正データ算出部1に入力されたデータ
は、この補正データ算出部1の次段に配置される差分デ
ータ生成/2値化部2から出力された差分データと特定
の重み付けのための補正係数とによって後述の式に従っ
て補正される。
In FIG. 10, an image read by a reading device (not shown) is 8-bit digital data, that is, 2
The data is quantized into 56 gradation data and input to the correction data calculation unit 1. The data input to the correction data calculation unit 1 includes the difference data output from the difference data generation / binarization unit 2 arranged in the next stage of the correction data calculation unit 1 and the correction coefficient for specific weighting. Is corrected according to the equation described below.

【0005】差分データ生成/2値化部2では、補正デ
ータ算出部1から供給されるデータを予定のしきい値に
従って2値化して2値化画像データを出力すると共に、
該2値化データと前記しきい値との差すなわち前記差分
データを出力する。
The difference data generation / binarization unit 2 binarizes the data supplied from the correction data calculation unit 1 according to a predetermined threshold value and outputs binarized image data.
The difference between the binarized data and the threshold value, that is, the difference data is output.

【0006】差分データはラインメモリ3に入力される
と共に、補正データ算出部1に直接入力される。ライン
メモリ3に入力された差分データはラッチ6,5,4に
転送され、所定のタイミングで補正データ算出部1に読
込まれる。
The difference data is input to the line memory 3 and directly to the correction data calculation unit 1. The difference data input to the line memory 3 is transferred to the latches 6, 5, 4 and read by the correction data calculation unit 1 at a predetermined timing.

【0007】すなわち、ラッチ4,5,6から供給され
る差分データD1〜D3は注目画素xの直前ラインの画
素P1〜P3に関する差分データであり、差分データ生
成/2値化部2から直接入力される差分データD4は注
目画素xと同一ライン上の直前画素P4に関する差分デ
ータである。
That is, the difference data D1 to D3 supplied from the latches 4, 5 and 6 are the difference data relating to the pixels P1 to P3 on the line immediately preceding the target pixel x, and are directly input from the difference data generation / binarization unit 2. The difference data D4 is the difference data regarding the immediately preceding pixel P4 on the same line as the pixel of interest x.

【0008】重み付けのための補正係数は各参照画素毎
に対応して設定されている。画素P1,P2,P3,P
4に対応する差分データを上述のようにD1,D2,D
3,D4とし、画素P1,P2,P3,P4にそれぞれ
対応する重み付けのための補正係数をa,b,c,dと
した場合、注目画素xは次式で補正される。但し、符号
x0は補正前の注目画素xの濃度、符号x1は補正後の
注目画素xの濃度である。 x1=x0+(D1×a+D2×b+D3×c+D4×d)……式1 誤差拡散処理を具備した画像処理装置の一例が、特開昭
63−155950号公報に記載されている。
The correction coefficient for weighting is set corresponding to each reference pixel. Pixels P1, P2, P3, P
As described above, the difference data corresponding to 4 is D1, D2, D
3 and D4, and the correction coefficients for weighting corresponding to the pixels P1, P2, P3, and P4 are a, b, c, and d, the pixel of interest x is corrected by the following equation. However, the code x0 is the density of the target pixel x before correction, and the code x1 is the density of the target pixel x after correction. x1 = x0 + (D1 * a + D2 * b + D3 * c + D4 * d) ... Equation 1 An example of an image processing apparatus equipped with error diffusion processing is described in Japanese Patent Laid-Open No. 63-155950.

【0009】[0009]

【発明が解決しようとする課題】上記誤差拡散処理を行
うための装置において、前記差分データD1〜D4は画
像濃度を示す8ビットのデータと該差分データの正負を
表わす1ビットの符号データとからなる。したがって、
前記補正データ算出部1を構成する演算回路では9ビッ
トのデータに関して乗算を行うための大きい乗算器を必
要とし、その結果、回路規模が大きくなって演算の高速
化が困難になるという問題点があった。
In the apparatus for performing the error diffusion process, the difference data D1 to D4 are composed of 8-bit data indicating the image density and 1-bit code data indicating the sign of the difference data. Become. Therefore,
The arithmetic circuit that constitutes the correction data calculation unit 1 requires a large multiplier for performing multiplication on 9-bit data, and as a result, the circuit scale becomes large and it is difficult to speed up the arithmetic operation. there were.

【0010】さらに、前記9ビットの差分データを格納
するために、大容量のラインメモリが必要でもあった。
Further, a large-capacity line memory was required to store the 9-bit difference data.

【0011】本発明の目的は、上記の問題点を解消し、
回路規模を小さくして小形化および低コスト化を達成で
きる中間調画像形成装置を提供することにある。
The object of the present invention is to solve the above problems,
An object of the present invention is to provide a halftone image forming apparatus capable of achieving a downsizing and a cost reduction by reducing the circuit scale.

【0012】[0012]

【課題を解決するための手段】上記の課題を解決し、目
的を達成するための本発明は、n値の階調を持つ画像デ
ータを前記n値より小さいm値の階調を持つ画像データ
に変換するための多値ディザマトリクス処理手段と、前
記m値の階調を持つ画像データを2値データによって擬
似的に表現するための誤差拡散処理手段とを具備した点
に特徴がある。
According to the present invention for solving the above problems and achieving the object, image data having an n-value gradation is converted into image data having an m-value gradation smaller than the n value. It is characterized in that it is provided with a multi-valued dither matrix processing means for converting into an image and an error diffusion processing means for artificially expressing the image data having the gradation of m values by binary data.

【0013】[0013]

【作用】上記特徴を有する本発明によれば、n値の階調
を持つ画像データは、多値ディザマトリクス処理手段に
よって前記n値より小さいm値の階調からなる画像デー
タに変換される。その結果、該m値の階調の画像データ
を誤差拡散処理する際に、より少ないデジタルデータ量
すなわちビット数で差分を表現できる。
According to the present invention having the above characteristics, the image data having the n-value gradation is converted into the image data having the m-value gradation smaller than the n-value by the multi-value dither matrix processing means. As a result, when the error diffusion processing is performed on the image data of the m-value gradation, the difference can be expressed with a smaller digital data amount, that is, the number of bits.

【0014】[0014]

【実施例】以下、図面を参照して本発明の実施例を説明
する。まず本実施例の中間調画像形成装置の概略構成を
説明する。図1のブロック図において、中間調画像形成
装置は前段にディザ処理部7を配置し、その次段に誤差
拡散処理部8を設けている。
Embodiments of the present invention will be described below with reference to the drawings. First, a schematic configuration of the halftone image forming apparatus of this embodiment will be described. In the block diagram of FIG. 1, the halftone image forming apparatus is provided with a dither processing unit 7 in the preceding stage and an error diffusion processing unit 8 in the subsequent stage.

【0015】8ビットのデジタルデータすなわち256
階調のデータに量子化された画像データは、まずディザ
処理部7に入力される。このディザ処理部7では、入力
された8ビット(256階調)の画像データを2ビット
(4階調)の画像データに変換する。そのために、この
ディザ処理部7には入力データと比較される3段階のし
きい値(8ビット)が設定されている。
8-bit digital data, that is, 256
The image data quantized into gradation data is first input to the dither processing unit 7. The dither processing unit 7 converts the input 8-bit (256 gradation) image data into 2-bit (4 gradation) image data. Therefore, the dither processing unit 7 is set with a three-step threshold value (8 bits) to be compared with the input data.

【0016】ディザ処理部7で2ビットに変換された画
像データは、次段の誤差拡散処理部8に入力される。こ
の誤差拡散処理部8では、入力された2ビットの画像デ
ータが誤差拡散処理を受けた後さらに1ビット(2階
調)の画像データに変換され、図示しない記録手段に出
力される。さらに誤差拡散処理部8では、入力された画
像データと予定のレベルとの差すなわち差分値を演算
し、この演算処理結果をフィードバックして、さらに特
定の重み付けを施した後、画像データを補正する。
The image data converted into 2 bits by the dither processing unit 7 is input to the error diffusion processing unit 8 at the next stage. In the error diffusion processing unit 8, the input 2-bit image data is subjected to error diffusion processing, and is further converted into 1-bit (2-gradation) image data, which is output to a recording unit (not shown). Further, the error diffusion processing unit 8 calculates the difference between the input image data and the expected level, that is, the difference value, feeds back the calculation processing result, further weights the image data, and then corrects the image data. .

【0017】以下、前記ディザ処理部7および誤差拡散
処理部8の詳細な構成を説明する。まず、各画素に対応
するディザしきい値を説明する。本実施例では画像デー
タを2ビット4(階調)で表わすために3段階のデータ
からなる4組のディザしきい値を準備し、2×2のディ
ザマトリクスを構成した。
The detailed configurations of the dither processing section 7 and the error diffusion processing section 8 will be described below. First, the dither threshold value corresponding to each pixel will be described. In this embodiment, in order to represent the image data by 2 bits 4 (grayscale), 4 sets of dither thresholds consisting of 3 stages of data are prepared and a 2 × 2 dither matrix is constructed.

【0018】図2において、4組のディザしきい値TH
1〜TH4はそれぞれ高(H),中(M),低(L)3
段階のしきい値を有し[図2(b)参照)]、主走査方
向の各ビット毎、および副走査方向の各ライン毎に交互
に異なるしきい値が対応できるようにディザマトリクス
が構成されている。
In FIG. 2, four sets of dither thresholds TH
1 to TH4 are high (H), medium (M), and low (L) 3 respectively
The dither matrix has a stepwise threshold value (see FIG. 2B), and the threshold values are alternately different for each bit in the main scanning direction and each line in the sub-scanning direction. Has been done.

【0019】ディザしきい値は入力画像データと同じ8
ビットで表わされる。そして、ディザ処理部7は、入力
画像データがしきい値THn−H(n=1〜4)より高
いときには“11”、入力画像データがしきい値THn
−HとTHn−Mとの間にあるときは“10”、入力画
像データがしきい値THn−MとTHn−Lとの間にあ
るときは“01”、入力画像データがしきい値THn−
Lより低いときには“00”の画像データを出力する。
The dither threshold is the same as the input image data, 8
Expressed in bits. Then, the dither processing unit 7 sets “11” when the input image data is higher than the threshold value THn−H (n = 1 to 4), and sets the input image data to the threshold value THn.
-H and THn-M is "10", input image data is between threshold values THn-M and THn-L, "01", input image data is at threshold value THn. −
When it is lower than L, the image data of "00" is output.

【0020】前記ディザしきい値に従ってディザ処理を
行うようにしたディザ処理部7の構成を図3のブロック
図を参照して説明する。同図において、しきい値設定器
9〜12には、それぞれが3段階のデータを有する4組
のディザしきい値TH1〜TH4が設定されている。
The configuration of the dither processing unit 7 which performs the dither processing according to the dither threshold will be described with reference to the block diagram of FIG. In the figure, four sets of dither thresholds TH1 to TH4 each having three-stage data are set in the threshold value setters 9 to 12.

【0021】主走査方向カウンタ13は、主走査方向1
ビット毎にハイ(H)またはロー(L)の信号を出力
し、この信号はマルチプレクサ14,15の選択信号と
して入力される。マルチプレクサ14は、前記選択信号
に応答し、しきい値設定器9および10から入力される
データのうち一方を選択して出力する。例えば、選択信
号が“H”のときにはしきい値設定器9から入力された
データを選択し、選択信号が“L”のときにはしきい値
設定器10から入力されたデータを選択して出力するよ
うに構成する。
The main scanning direction counter 13 has a main scanning direction 1
A high (H) or low (L) signal is output for each bit, and this signal is input as a selection signal for the multiplexers 14 and 15. The multiplexer 14 responds to the selection signal and selects and outputs one of the data input from the threshold value setting devices 9 and 10. For example, when the selection signal is "H", the data input from the threshold value setting device 9 is selected, and when the selection signal is "L", the data input from the threshold value setting device 10 is selected and output. To configure.

【0022】同様に、マルチプレクサ15は、前記選択
信号に応答し、しきい値設定器11および12から入力
されるデータのうち一方を選択して出力する。
Similarly, the multiplexer 15 responds to the selection signal and selects and outputs one of the data input from the threshold value setting devices 11 and 12.

【0023】マルチプレクサ14および15から出力さ
れたデータはさらにマルチプレクサ16に入力される。
マルチプレクサ16は、副走査方向カウンタ17から1
ライン毎に出力される“H”または“L”の選択信号に
応答し、前記マルチプレクサ14および15から供給さ
れたデータのうちの一方を出力する。
The data output from the multiplexers 14 and 15 is further input to the multiplexer 16.
The multiplexer 16 includes the sub-scanning direction counters 1 to 1
In response to the "H" or "L" selection signal output for each line, one of the data supplied from the multiplexers 14 and 15 is output.

【0024】以上の構成により、主走査方向1ビット毎
および副走査方向1ライン毎に、図2(a)に示したよ
うな所定のパターンに基づいてしきい値が出力される。
With the above configuration, the threshold value is output for each bit in the main scanning direction and for each line in the sub scanning direction based on a predetermined pattern as shown in FIG.

【0025】続いて、前記マルチプレクサ16から出力
されたしきい値は比較器18,19,20に供給され、
ラッチ21から入力される画像データと比較される。比
較器18〜20は、しきい値(入力B)より画像データ
(入力A)が大きい場合はそれぞれ“1”を比較結果と
して出力し、しきい値(入力B)より画像データ(入力
A)が小さい場合はそれぞれ“0”を比較結果として出
力する。そしてこの比較結果はデコーダ22に入力され
る。
Subsequently, the threshold value output from the multiplexer 16 is supplied to the comparators 18, 19 and 20,
The image data input from the latch 21 is compared. When the image data (input A) is larger than the threshold value (input B), the comparators 18 to 20 respectively output “1” as the comparison result, and the image data (input A) is output from the threshold value (input B). When is small, “0” is output as the comparison result. Then, this comparison result is input to the decoder 22.

【0026】入力A,B,Cに対応してデコーダ22か
ら出力されるデータZを図4に示す。このように、ディ
ザ処理部7では、8ビット256階調の画像データが供
給されると、これを2ビット4階調の画像データに変換
して出力する。
The data Z output from the decoder 22 corresponding to the inputs A, B and C is shown in FIG. In this way, when the dither processing unit 7 is supplied with image data of 8-bit 256 gradations, it converts this into image data of 2-bit 4 gradations and outputs it.

【0027】次に、ディザ処理された画像データを誤差
拡散手法によって2値化するための誤差拡散処理につい
て説明する。
Next, the error diffusion processing for binarizing the dithered image data by the error diffusion method will be described.

【0028】図5は、誤差拡散処理の対象となる画素す
なわちディザ処理された画像データ(注目画素)が図7
に関して後述する加算器25に入力されるタイミング
と、前記注目画素の1ライン前の画像データに関する差
分値が図7に関して後述する乗算器38〜40に入力さ
れるタイミングとの関係を示す図である。
FIG. 5 shows the pixels subject to error diffusion processing, that is, the dithered image data (pixels of interest).
FIG. 9 is a diagram showing a relationship between a timing of being input to an adder 25, which will be described later with reference to FIG. 7, and a timing of inputting a difference value regarding image data of one line before the pixel of interest to multipliers 38 to 40, which will be described later with reference to FIG. 7. .

【0029】図5において、マトリクスMは、誤差拡散
処理の対象となる注目画素およびその周辺の参照画素を
規定する範囲である。マトリクスMの上段の並びはディ
ザ処理された1ライン前のデータに対する差分値LB1
−1〜LB1−n(nは1ラインの画素数)であり、下
段の並びは注目画素が含まれるラインのディザ処理され
たデータDT1−1〜DT1−nである。
In FIG. 5, the matrix M is a range defining the pixel of interest to be subjected to the error diffusion processing and the reference pixels around it. The upper row of the matrix M is the difference value LB1 with respect to the data one line before which has been dithered.
-1 to LB1-n (n is the number of pixels in one line), and the lower row is the dithered data DT1-1 to DT1-n of the line including the target pixel.

【0030】注目画素および該注目画素の1ライン前の
データに対する差分値とが少なくとも図示のように設定
されるためにはシステムクロックに従って入力データを
2回ラッチする処理が必要となる。すなわち、データD
T1−1〜DT−nおよび差分値LB1−1〜LB1−
nを同一タイミングで演算処理部に入力させるために
は、データDT1−1〜DT1−nが演算処理部に入力
されるタイミングを、差分値LB1−1〜LB1−nの
入力タイミングに対してシステムクロックの2回分だけ
遅延させるようにする。図5(a)はラッチ前、同図
(b)は1回ラッチ後、同図(c)は2回ラッチ後の各
画素の位置関係をそれぞれ示したものである。図5にお
いて、位置Xにある画素が注目画素である。
In order to set the target pixel and the difference value of the target pixel with respect to the data one line before, at least as shown in the figure, a process of latching the input data twice according to the system clock is required. That is, the data D
T1-1 to DT-n and difference values LB1-1 to LB1-
In order to input n to the arithmetic processing unit at the same timing, the timing when the data DT1-1 to DT1-n are input to the arithmetic processing unit is set to the system with respect to the input timing of the difference values LB1-1 to LB1-n. It should be delayed by two clocks. FIG. 5A shows the positional relationship of each pixel before latching, FIG. 5B shows the positional relationship after one latching, and FIG. 5C shows the positional relationship of each pixel after latching twice. In FIG. 5, the pixel at the position X is the target pixel.

【0031】誤差拡散処理では、ディザ処理部7から供
給された画像データを2値化すると同時に、前記画像デ
ータと予定のしきい値との差分値を求める。そして、こ
の差分値を各参照画素毎に予定の重み付け補正値と乗算
し、さらに各参照画素毎の乗算結果をすべて加算する。
この加算結果をディザ処理部7から供給された画像デー
タに加算して誤差拡散処理後の画像データを得る。した
がって、この誤差拡散処理後の画像データが2値化の対
象となる。
In the error diffusion processing, the image data supplied from the dither processing unit 7 is binarized and at the same time, the difference value between the image data and a predetermined threshold value is obtained. Then, this difference value is multiplied by a predetermined weighting correction value for each reference pixel, and all the multiplication results for each reference pixel are added.
The addition result is added to the image data supplied from the dither processing unit 7 to obtain the image data after the error diffusion processing. Therefore, the image data after this error diffusion processing is to be binarized.

【0032】差分値の算出の概要を図6を参照して説明
する。図6において、しきい値TH−Bは画像データの
2値化のためのしきい値である。また、しきい値TH−
AおよびTH−Cは、それぞれ予測される画像データの
最高濃度および最低濃度を示すしきい値である。差分値
の算出のためには、まずしきい値TH−AとTH−Bと
の中央値UC、ならびにしきい値TH−CとTH−Bと
の中央値LCを算出する。そして、入力画像データがし
きい値TH−Bより高いときには、入力画像データと中
央値UCとの差分値を求める。一方、入力画像データが
しきい値TH−Bより低いときには、入力画像データと
中央値LCとの差分値を求める。例えば、入力画像デー
タのレベルがPLのとき、(PL−UC)が差分値Dと
なる。
The outline of the calculation of the difference value will be described with reference to FIG. In FIG. 6, threshold TH-B is a threshold for binarizing image data. In addition, the threshold value TH-
A and TH-C are threshold values indicating the maximum density and the minimum density of predicted image data, respectively. In order to calculate the difference value, first, the median value UC between the threshold values TH-A and TH-B and the median value LC between the threshold values TH-C and TH-B are calculated. Then, when the input image data is higher than the threshold value TH-B, the difference value between the input image data and the median value UC is obtained. On the other hand, when the input image data is lower than the threshold value TH-B, the difference value between the input image data and the median value LC is obtained. For example, when the level of the input image data is PL, (PL-UC) becomes the difference value D.

【0033】誤差拡散処理部8の構成の一例を図7,図
8に示す。同図において、前記デコーダ22から出力さ
れた画像データは、システムクロックが2回供給される
ことにより、ラッチ23およびラッチ24を介して加算
器25に入力される。加算器25では、入力された画像
データに、後述のマルチプレクサ37から供給される差
分値と各画素毎の重み付けのための補正値a〜dとのそ
れぞれの積をさらに加算した値が加算される。加算され
たデータはラッチ26にラッチされ、その後、比較器2
7に入力される。比較器27には比較のための基準値す
なわちしきい値TH−Bが、しきい値設定器28から供
給される。
An example of the configuration of the error diffusion processing unit 8 is shown in FIGS. In the figure, the image data output from the decoder 22 is input to the adder 25 via the latch 23 and the latch 24 when the system clock is supplied twice. In the adder 25, a value obtained by further adding the products of the difference value supplied from the multiplexer 37 described later and the correction values a to d for each pixel is added to the input image data. . The added data is latched in the latch 26, and then the comparator 2
Input to 7. A reference value for comparison, that is, a threshold value TH-B is supplied to the comparator 27 from the threshold value setting device 28.

【0034】前記ラッチ26から出力された画像データ
は、減算器29および30にも入力される。しきい値設
定器31および32には、しきい値TH−Aおよびしき
い値TH−Cがそれぞれ設定されている。これらのしき
い値TH−Aとしきい値TH−Bとの中央値UCは、加
算器33および除算器34からなる演算器で算出され、
前記減算器29に供給される。他方、しきい値TH−C
としきい値TH−Bとの中央値LCは加算器35および
除算器36からなる演算器で算出され、他方の減算器3
0に供給される。
The image data output from the latch 26 is also input to subtractors 29 and 30. A threshold value TH-A and a threshold value TH-C are set in the threshold value setters 31 and 32, respectively. The median value UC between the threshold value TH-A and the threshold value TH-B is calculated by an arithmetic unit including an adder 33 and a divider 34,
It is supplied to the subtractor 29. On the other hand, the threshold value TH-C
And the threshold value TH-B, a median value LC is calculated by an arithmetic unit including an adder 35 and a divider 36, and the other subtractor 3
Supplied to zero.

【0035】減算器29および30による減算結果すな
わち差分値はマルチプレクサ37に供給される。各差分
値の一方が前記比較器27の出力をセレクト信号として
選択され、マルチプレクサ37から出力される。すなわ
ち、しきい値TH−Bよりも入力画像データが大きいと
きは、比較器27の出力は“1”となり、この出力信号
によって減算器29で算出された差分値が選択される。
これとは反対にしきい値TH−Bよりも入力画像データ
が小さいときは、比較器27の出力は“0”となり、こ
の出力信号によって減算器30で算出された差分値が選
択される。
The result of subtraction by the subtracters 29 and 30, that is, the difference value is supplied to the multiplexer 37. One of the difference values is selected by using the output of the comparator 27 as a select signal and output from the multiplexer 37. That is, when the input image data is larger than the threshold value TH-B, the output of the comparator 27 becomes "1", and the difference value calculated by the subtractor 29 is selected by this output signal.
On the contrary, when the input image data is smaller than the threshold value TH-B, the output of the comparator 27 becomes "0", and the difference value calculated by the subtractor 30 is selected by this output signal.

【0036】前記マルチプレクサ37から出力された差
分値は、乗算器41に直接入力されるほか、ラインメモ
リ3およびラッチ6を介して乗算器38に出力される。
さらに、前記差分値はラッチ5を経て乗算器39へ、ま
たラッチ5およびラッチ4を経て乗算器40に入力され
る。
The difference value output from the multiplexer 37 is directly input to the multiplier 41, and is also output to the multiplier 38 via the line memory 3 and the latch 6.
Further, the difference value is input to the multiplier 39 via the latch 5 and to the multiplier 40 via the latch 5 and the latch 4.

【0037】乗算器38〜41では、補正値設定器4
2,43,44,45からそれぞれ供給される重み付け
のための補正値a〜dと前記差分値とを乗算して加算器
46に出力する。加算器46では、供給された乗算結果
の和を算出して前記加算器25に出力する。誤差拡散処
理部8に関する動作タイミングを図9のタイミングチャ
ートに示す。
In the multipliers 38 to 41, the correction value setting unit 4
The correction values a to d for weighting respectively supplied from 2, 43, 44 and 45 are multiplied by the difference value and output to the adder 46. The adder 46 calculates the sum of the supplied multiplication results and outputs it to the adder 25. The operation timing of the error diffusion processing unit 8 is shown in the timing chart of FIG.

【0038】以上説明したように、本実施例では、画像
データを2ビット4階調に変換した後、この変換後の画
像データとしきい値との差分値を得るようにした。した
がって、該差分値を使用する誤差拡散処理部では、2ビ
ット+1ビット(正負の符号ビット)のデータに関して
演算を行えば良くなる。
As described above, in this embodiment, the image data is converted into 2 bits and 4 gradations, and then the difference value between the converted image data and the threshold value is obtained. Therefore, the error diffusion processing unit using the difference value has only to perform the operation on the data of 2 bits + 1 bit (positive and negative sign bits).

【0039】[0039]

【発明の効果】以上の説明から明らかなように、本発明
によれば、ディザ処理手段によって、より少ない情報量
で表わされた画像データに関して誤差拡散処理を行うよ
うにしたので、誤差拡散処理手段の構成を簡単にでき
る。
As is apparent from the above description, according to the present invention, the error diffusion process is performed by the dither processing means for the image data represented by a smaller amount of information. The structure of the means can be simplified.

【0040】具体的には、少ない情報量で表わされた画
像データに関して演算を行えばよいので、乗算器を簡単
にできるほか、情報を格納するラインメモリの大きさも
小さくできる。その結果、回路規模を小さくでき、演算
速度を高速化できる。
Specifically, since it is only necessary to perform an operation on the image data represented by a small amount of information, the multiplier can be simplified and the size of the line memory for storing information can be reduced. As a result, the circuit scale can be reduced and the operation speed can be increased.

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

【図1】 本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】 ディザ処理部に設定されるティザしきい値の
例を示す図である。
FIG. 2 is a diagram showing an example of a tither threshold value set in a dither processing unit.

【図3】 ディザ処理部の構成を示すブロック図であ
る。
FIG. 3 is a block diagram showing a configuration of a dither processing unit.

【図4】 ディザ処理部に設けられたデコーダの入出力
を示す図である。
FIG. 4 is a diagram showing input / output of a decoder provided in a dither processing unit.

【図5】 参照画素を規定する範囲と画素との関係を示
す図である。
FIG. 5 is a diagram showing a relationship between a range defining a reference pixel and a pixel.

【図6】 差分データ算出のためのしきい値説明図であ
る。
FIG. 6 is an explanatory diagram of threshold values for calculating difference data.

【図7】 誤差拡散部の構成を示すブロック図である。FIG. 7 is a block diagram showing a configuration of an error diffusion unit.

【図8】 誤差拡散部の構成を示すブロック図である。FIG. 8 is a block diagram showing a configuration of an error diffusion unit.

【図9】 誤差拡散処理動作のタイミングチャートであ
る。
FIG. 9 is a timing chart of the error diffusion processing operation.

【図10】 従来技術を示す画像形成装置の構成を示す
ブロック図である。
FIG. 10 is a block diagram showing a configuration of an image forming apparatus showing a conventional technique.

【図11】 注目画素と参照画素の関係を示す図であ
る。
FIG. 11 is a diagram showing a relationship between a pixel of interest and a reference pixel.

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

3…ラインメモリ、 7…ディザ処理部、 8…誤差拡
散処理部
3 ... Line memory, 7 ... Dither processing section, 8 ... Error diffusion processing section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 n値の階調を持つ画像データを、2値デ
ータの2次元分布状態によって2値化して擬似的に表現
する中間調画像形成装置において、 前記n値の階調を持つ画像データを前記n値より小さい
m値の階調を持つ画像データに変換するための多値ディ
ザマトリクス処理手段と、 前記m値の階調を持つ画像データを2値データによって
擬似的に表現するための誤差拡散処理手段とを具備した
ことを特徴とする中間調画像形成装置。
1. A halftone image forming apparatus for binarizing image data having n-valued gradations and binarizing the image data according to a two-dimensional distribution state of binary data, wherein the image having n-valued gradations is used. Multivalued dither matrix processing means for converting data into image data having m-value gradations smaller than the n-value, and for representing image data having the m-value gradations in a pseudo manner by binary data Error diffusion processing means.
JP4269088A 1992-09-14 1992-09-14 Halftone image forming device Pending JPH0698157A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4269088A JPH0698157A (en) 1992-09-14 1992-09-14 Halftone image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4269088A JPH0698157A (en) 1992-09-14 1992-09-14 Halftone image forming device

Publications (1)

Publication Number Publication Date
JPH0698157A true JPH0698157A (en) 1994-04-08

Family

ID=17467506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4269088A Pending JPH0698157A (en) 1992-09-14 1992-09-14 Halftone image forming device

Country Status (1)

Country Link
JP (1) JPH0698157A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5870503A (en) * 1994-10-20 1999-02-09 Minolta Co., Ltd. Image processing apparatus using error diffusion technique
SG83717A1 (en) * 1998-05-22 2001-10-16 Toshiba Tec Kk Image processing method and device and image formation device
US6356361B1 (en) 1997-10-30 2002-03-12 Minolta Co., Ltd. Image processing apparatus and method for processing gradation image data using error diffusion
US6369912B1 (en) 1998-01-23 2002-04-09 Minolta Co., Ltd. Image processing apparatus capable of applying line component to image
US6956674B1 (en) 1999-10-21 2005-10-18 Minolta Co., Ltd. Image processor capable of reducing gradation at high speed
US7295701B2 (en) 1995-09-06 2007-11-13 Ricoh Company, Ltd. Methods and systems for efficiently processing image data for reproduction

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5870503A (en) * 1994-10-20 1999-02-09 Minolta Co., Ltd. Image processing apparatus using error diffusion technique
US7295701B2 (en) 1995-09-06 2007-11-13 Ricoh Company, Ltd. Methods and systems for efficiently processing image data for reproduction
US6356361B1 (en) 1997-10-30 2002-03-12 Minolta Co., Ltd. Image processing apparatus and method for processing gradation image data using error diffusion
US6369912B1 (en) 1998-01-23 2002-04-09 Minolta Co., Ltd. Image processing apparatus capable of applying line component to image
SG83717A1 (en) * 1998-05-22 2001-10-16 Toshiba Tec Kk Image processing method and device and image formation device
US6956674B1 (en) 1999-10-21 2005-10-18 Minolta Co., Ltd. Image processor capable of reducing gradation at high speed

Similar Documents

Publication Publication Date Title
US5307426A (en) Image processing apparatus with improved dithering scheme
US4323974A (en) Method of restoring a picture through estimation
JP3031994B2 (en) Image processing device
JPH0698157A (en) Halftone image forming device
JP3752805B2 (en) Image processing device
JPH0354511B2 (en)
JP3976863B2 (en) Image processing apparatus and method
JPH07302190A (en) Divider and image signal reader using the same
JPH118765A (en) Gradation lowering processing method, processor therefor integrated circuit for gradation lowering processing, and computer-readable recording medium recorded with gradation lowering program
JPH05183737A (en) Picture processor
JP2859445B2 (en) Image processing apparatus and image processing method
JP3679522B2 (en) Image processing method and apparatus
JP3125144B2 (en) Image data conversion method
JPH05167842A (en) Image processor
JP2860039B2 (en) Pseudo halftone image reduction device
JPH1166297A (en) Image processor and its method
JPH09102869A (en) Image processor
JPH04207470A (en) Image processor
JPH1032713A (en) Picture processor
JPS6255347B2 (en)
JPH02210963A (en) Picture processor
JPH1127527A (en) Image-processing unit and its method
JPH01170270A (en) Picture processor
JPS62107572A (en) Image processor
JPH0730756A (en) Method and device for image processing

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees