JPS6148275A - Picture signal processor - Google Patents

Picture signal processor

Info

Publication number
JPS6148275A
JPS6148275A JP59170657A JP17065784A JPS6148275A JP S6148275 A JPS6148275 A JP S6148275A JP 59170657 A JP59170657 A JP 59170657A JP 17065784 A JP17065784 A JP 17065784A JP S6148275 A JPS6148275 A JP S6148275A
Authority
JP
Japan
Prior art keywords
error
data
bit
value
output
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
JP59170657A
Other languages
Japanese (ja)
Other versions
JPH0351353B2 (en
Inventor
Hiroyoshi Tsuchiya
博義 土屋
Toshiharu Kurosawa
俊晴 黒沢
Hirotaka Otsuka
大塚 博隆
Yuji Maruyama
祐二 丸山
Katsuo Nakazato
中里 克雄
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP59170657A priority Critical patent/JPS6148275A/en
Priority to DE8585305304T priority patent/DE3583474D1/en
Priority to EP85305304A priority patent/EP0174721B1/en
Priority to US06/758,961 priority patent/US4692811A/en
Publication of JPS6148275A publication Critical patent/JPS6148275A/en
Publication of JPH0351353B2 publication Critical patent/JPH0351353B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To decrease a storage capacity of an error data storage means by L- bit per picture element without losing the gradation reproducibility in comparison with a conventional mean error least method by correcting the data for L- bit's share at the next picture element. CONSTITUTION:A weight means operating means 11 operates a weight mean value EW from the content of an error matrix 2 and gives the result as an output. An operating circuit 6 adds an original picture data IXY at an input terminal 5 and a mean error Ea taking a mean value EW as a high-order bit and a low- order L-bit data EX-1,YL in a binary error before one picture element being an output of a delay means 12 as a low order bit to output the result IXY'. A binary means 9 compares the value IXY' with a prescribed value R/2' and a binary output PXY is outputted to an output terminal 7. On the other hand, an operation means 10 operates a difference EXY between the value IXY' and the binary output PXY, the high-order U bit EXYU is outputted to a storage means 1 as a new error on a coordinate XY of an original picture and the low order L- bit EXYL is outputted to the means 12.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は階調画像を2値再生する機能を備えた画像信号
処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an image signal processing device having a function of reproducing a gradation image in binary.

従来例の構成とその問題点 近年日常業務におけるファクシミリ利用がますます拡大
の一途であり、それとともに従来の白黒2値の他に階調
画像の再現に対する要望も強まりつつある。特に2値に
よる擬似階調再現は表示装置や記録装置との適応が良い
ので強く要望されている。
Conventional configurations and their problems In recent years, the use of facsimiles in daily work has been expanding more and more, and along with this, there has been an increasing demand for reproduction of gradation images in addition to the conventional black and white binary. In particular, pseudo gradation reproduction based on binary values is strongly desired since it is well suited for display devices and recording devices.

これらの擬似階調再現は閾値のマトリクステーブルに従
って画像を2値化していく各種ディザ法が広く使われて
いる。しかしながらこれら従来の方法は階調再現性を良
くする為にはマトリクステ−プルを大きくする必要があ
り、高分解能を得る為にはマ) IJクステーブルを小
さくしなければ々らないという′、矛盾があるた、め階
調再現性と高分解。
For these pseudo gradation reproductions, various dithering methods are widely used in which an image is binarized according to a matrix table of threshold values. However, in these conventional methods, it is necessary to increase the size of the matrix staple in order to improve gradation reproducibility, and in order to obtain high resolution, it is necessary to reduce the size of the IJ table. There is a contradiction between gradation reproducibility and high resolution.

能の両立が困難であった。特に、階調画像と2値画像が
混在す゛る画像に対してiそのいずれかを犠牲にせざる
をえなくなるという欠点を有していた。
It was difficult to balance Noh. In particular, this method has the disadvantage that, for images in which a gradation image and a binary image are mixed, one of them must be sacrificed.

上記階調再現性と高分解能が両立する方法として、平均
誤差最小法があり各種従来法の方法の中では再現画質に
対して比較的良い評価が与えられている。
The minimum average error method is a method that achieves both the above-mentioned gradation reproducibility and high resolution, and has been given a relatively good evaluation for reproduced image quality among various conventional methods.

第1図は上記平均誤差最小法を実現する装置の要部ブロ
ック図である。
FIG. 1 is a block diagram of the main parts of a device that implements the above-described minimum average error method.

第1図において、1は誤差データ記憶手段、2は誤差マ
トリクス、3は原画像の座標xyにおける誤差Exアの
記憶位置、4は誤差マトリクス2の誤差データを入力し
て平均誤差Eaを出力する平均誤差演算手段、5は原画
像の座標xyにおける原画像データIxアの入力端子、
6は工′エア(−Ixア+Exア)の演算手段、7はO
またはRの2値信号Pxyの出力端子、8は一定閾値R
/2 を印加する信号端子、9は入力信号1/、ア と
一定閾値R/2を比較してI’、、>R/2の時Pxy
=Rを、またその他の場合はp  =Qを出力する2値
化手段、10y はExy(−I′xy−Pxア)の演算手段である。
In FIG. 1, 1 is an error data storage means, 2 is an error matrix, 3 is a storage position of the error Exa at the coordinates xy of the original image, and 4 is an input device for inputting the error data of the error matrix 2 and outputting the average error Ea. average error calculation means; 5 is an input terminal for original image data Ixa at coordinates xy of the original image;
6 is a calculation means for the air (-Ixa + Exa), and 7 is O
or the output terminal of the binary signal Pxy of R, 8 is a constant threshold value R
/2 is applied to the signal terminal, 9 compares the input signal 1/, A with a constant threshold value R/2, and when I', > R/2, Pxy
=R, and in other cases p=Q, and 10y is a calculation means for Exy (-I'xy-Pxa).

さて上記平均誤差Eaの演算を説明すると次のようにな
る。
Now, the calculation of the above average error Ea will be explained as follows.

Ea″ <14.ij)  :Σ、aij  Ex+i
、y+j      (1)1】     11 (但し、l+1は誤差マトリクス2内の座標を示す0)
また係数マ) IJクスαijは座標xyからの距離に
対して誤差の重み付けをするものであり、(但し、*は
注目画素である。) 以下、上記第1図の構成の動作につき順を追って説明す
る。まず平均誤差演算手段4は誤差マトリクス2の内容
から平均誤差Eaを演算して出力し、次に演算手段6は
入力端子5の原画像データ■エアと前記平均誤差Eaを
加算してその値■′□アを出力する。そして2値化手段
9は前記値■′ゆを一定閾値R/2  と比較し、2値
出力P を出カフ 端子7に出力する。一方、演算手段10では前記値1′
エア と2′値出力PXyの差分Exyを演算し、原画
像の座標xyにおける新たな誤差として記憶手段1に出
力する。々お、誤差マ) IJクス2は原画像の主走査
方向に原画像データIxアの1画素入力毎に記憶手段1
上を図の右方向へ移動して行き、副走査毎に左端に戻り
1ライン下がることになる。
Ea″ <14.ij): Σ, aij Ex+i
, y+j (1)1] 11 (However, l+1 is 0 indicating the coordinate in error matrix 2)
In addition, the coefficient Ma) IJ coefficient αij weights the error with respect to the distance from the coordinates explain. First, the average error calculation means 4 calculates and outputs the average error Ea from the contents of the error matrix 2, and then the calculation means 6 adds the original image data ``Air'' of the input terminal 5 and the average error Ea to obtain the value ■ ′□A is output. Then, the binarization means 9 compares the value ■'Y with a constant threshold value R/2, and outputs a binary output P to the output terminal 7. On the other hand, in the calculation means 10, the value 1'
The difference Exy between the air and the 2' value output PXy is calculated and output to the storage means 1 as a new error in the coordinates xy of the original image. The IJ box 2 stores the storage means 1 for each pixel input of the original image data IxA in the main scanning direction of the original image.
It moves along the top to the right in the figure, and returns to the left end for each sub-scan, moving down one line.

さて、上記平均誤差最小法X法は閾値のマド17クステ
ーブルを参照しなから2値化していく単純なディザ法に
比べて再現画質が良好ではあるが、これまで一般のファ
クシミリ装置に対する適用例が少なかった。その理由は
画像データ処理の演算量が多いこと、誤差データを記憶
するラインバッファ′を必要とすること等、単純なディ
ザ法に比べて製造コストが高くなることが原因となって
いる。特にラインバッファを使用して、カラー画像を処
理する場合には、バッファ容量が増大し更にh担が重く
なるという欠点を有していたみ 6、−2  ・ 発明の目的 本発明は前記平均誤差最小法における従来の問題点に鑑
み、ラインバッファの記憶容量を削減しても2値画像の
階調再現性を損なわな一画像処理装置を提供することを
目的とする。
Now, the above-mentioned minimum average error method There were few. The reason for this is that the amount of calculation required for image data processing is large and that a line buffer for storing error data is required, resulting in higher manufacturing costs than the simple dither method. In particular, when a line buffer is used to process a color image, the buffer capacity increases and the h load becomes heavier6,-2. In view of the conventional problems with the minimum method, an object of the present invention is to provide an image processing device that does not impair the gradation reproducibility of a binary image even when the storage capacity of a line buffer is reduced.

発明の構成 本発明は (1)誤差データ記憶手段に記憶されている注目画素x
y近傍の2値化誤差の加重平均値E7を演算する加重平
均演算手段と、 (2)前記加重平均値Ewを上位ビット、1画素前の2
値化誤差の下位LビットデータEx、、−1,ア(L)
を下位ビットとする平均誤差Ea と原画像データI 
の加算値■′  を演算する第1の演xy      
    xy 算手段と、 (3)前記加算値■/、ア を閾値処理し2値出力Pエ
アとする2値化手段と、 (4)前記加算値1/、アと前記2値出力Pxyから2
値化誤差Exア(= )/、アーPxア)を演算する第
2の演算手段と、 (5)前記2値化誤差Exyの上位Uビア)データを前
記誤差データ記憶手段に記憶し、残りの下位Lビットデ
ータを次画素演算まで保持する手段とを具備した画像信
号処理装置であり、従来の平均誤差最小法に比べて誤差
データ記憶手段の記憶容量を削減し、従って加重平均演
算の演算ビット数も削減することを可能としたものであ
る。
Structure of the Invention The present invention provides (1) the pixel of interest x stored in the error data storage means;
(2) a weighted average calculating means for calculating a weighted average value E7 of binarization errors in the y neighborhood;
Lower L bit data of value conversion error Ex, -1, A (L)
The average error Ea and the original image data I, where is the lower bit
The first operation xy that calculates the added value ■'
xy calculation means; (3) binarization means for thresholding the added values 1/, a to obtain a binary output P air; (4) 2 from the added values 1/, a and the binary output Pxy.
(5) storing the upper U via) data of the binarization error Exy in the error data storage means; This image signal processing device is equipped with means for holding the lower L bit data of until the next pixel calculation, and reduces the storage capacity of the error data storage means compared to the conventional minimum average error method, and therefore reduces the storage capacity of the error data storage means, thereby reducing the weighted average calculation. This also makes it possible to reduce the number of bits.

なお、前記加重平均演算手段において注目画素xy近傍
の各2値化誤差データを−L位ビットとし、それぞれの
下位ビットにLビットの0を付加した後加重平均値Ew
を演算し、前記第1の演算手段において前記Ewにデー
タEx−1,y(L)を加算−た値を平均誤差Eaとす
ることにより、演算精度を向上させることも可能となる
In addition, in the weighted average calculation means, each binarized error data in the vicinity of the pixel xy of interest is set to -L bits, and after adding L bits of 0 to each lower bit, the weighted average value Ew is calculated.
It is also possible to improve the calculation accuracy by calculating the value obtained by adding the data Ex-1,y(L) to the Ew in the first calculation means and setting the value obtained by adding the data Ex-1, y(L) to the Ew as the average error Ea.

実施例の説明 以下、図面を参照しながら本発明の一実施例について説
明する。
DESCRIPTION OF EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例における画像信号処理装置の
ブロックを示すものである。
FIG. 2 shows a block diagram of an image signal processing device according to an embodiment of the present invention.

同図において、1〜3は第1図の説明と同様であるが取
扱うデータビット数はUビットに減少している。5〜1
oは第1図と同様である。壕だ加重平均演算手段11は
第1図の平均誤差演算と同様の演算をUビットデータで
行なう。第1図の構成と異なる点は遅延手段12を設け
た点で、2値化誤差の下位ビットデータを1画素分遅延
する。
In the figure, numbers 1 to 3 are the same as the explanation in FIG. 1, but the number of data bits handled is reduced to U bits. 5-1
o is the same as in FIG. The weighted average calculation means 11 performs the same calculation as the average error calculation shown in FIG. 1 on U-bit data. The difference from the configuration shown in FIG. 1 is that a delay means 12 is provided, which delays the lower bit data of the binarization error by one pixel.

以下上記第2図の構成の動作につき順を追って説明する
The operation of the configuration shown in FIG. 2 will be explained step by step below.

まず加重平均演算手段11は誤差マトリクス2の内容か
ら加重平均値Ewを演算して出力し、演算回路6は前記
加重平均値II、を上位ビットとし、遅延手段12の出
力である1画素前の2値化誤差における下位Lビットデ
ータEx−1,y(L)を下位ビットとする平均誤差E
aと入力端子5の原画像データ■゛を加算し、その値1
′  を出力する。
First, the weighted average calculation means 11 calculates and outputs the weighted average value Ew from the contents of the error matrix 2, and the calculation circuit 6 uses the weighted average value II as the upper bit and calculates the weighted average value Ew from the content of the error matrix 2. Average error E with lower L bit data Ex-1,y(L) as lower bit in binarization error
Add a and the original image data of input terminal 5 ■゛, and the value is 1
′ is output.

xy                   xy2値
化手段9は前記値1′エア を一定量値R/2 と比較
し、2値出力P を出力端子7に出力する。
The xy xy binarization means 9 compares the value 1'air with the constant amount value R/2 and outputs a binary output P to the output terminal 7.

y 一方、演算手段1oでは前記値工′エア と2値出力P
xyの差分E!アを演算し、その上位UビットExア9
、、、、− (U)を原画像の座標xyにおける新たな誤差として記
憶手段1に出力し、下位LビットExy(L)を遅延手
段12に出力する。遅延手段12は1画素前のEx−1
,y(L)を新たな入力データExy(L)に更新し保
持する。なお誤差マ) IJクス2は記憶手段1上を図
の右へ主走査、下へ副走査される。
y On the other hand, in the calculation means 1o, the value ′ air and the binary output P
xy difference E! A is calculated, and its upper U bit Exa9
. The delay means 12 is one pixel before Ex-1.
, y(L) are updated to new input data Exy(L) and held. The IJ block 2 is main-scanned on the storage means 1 to the right in the figure and sub-scanned downward.

なお、前記平均誤差Eaを演算する際、前記誤差マ) 
IJクスの各Uビットの誤差データの下位にLピノ)の
0を付加して加重平均の演算を行ない、前記遅延回路の
出力データと加算して平均誤差Eaとすることにより、
加重平均の演算精度を向上させることができる。さらに
各プロ、りにおけるデータ入出力のタイミングを、演算
手段6が入力データEaを取込む時点で、演算手段1o
において前回の演算結果が保持されている状態に調整す
ることにより、前記遅延手段12は不要と々る。
Note that when calculating the average error Ea, the error matrix)
By adding 0 of L pinot to the lower order of the error data of each U bit of IJx, performing a weighted average calculation, and adding it with the output data of the delay circuit to obtain the average error Ea,
The calculation accuracy of weighted average can be improved. Furthermore, the timing of data input/output in each program is set at the time when the calculation means 6 takes in the input data Ea.
By adjusting the state in which the previous calculation result is held, the delay means 12 becomes unnecessary.

実験結果では8ビア)データの内、下位5ビツトを削減
しても画質劣化は認められず、逆に従来の平均誤差最小
性特有の縞模様であるテクスチャで視覚的に不快な部分
が解消される良い結果を得1oべ一7゛ ている。
In the experimental results, no deterioration in image quality was observed even if the lower 5 bits of the 8-via data were reduced, and on the contrary, the visually unpleasant part of the striped texture characteristic of conventional minimum average error was eliminated. I've had good results with 10 and 17 results.

発明の効果 以上のように本発明ではLビット分のデータを次画素演
算で補正することにより従来の平均誤差最小法に比べて
階調再現性を損なわず、誤差データ記憶手段の記憶容量
を1画素当たりLビット削減することができる。
Effects of the Invention As described above, in the present invention, by correcting data for L bits by the next pixel calculation, the gradation reproducibility is not impaired compared to the conventional minimum average error method, and the storage capacity of the error data storage means is reduced to 1. L bits per pixel can be reduced.

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

第1図は従来の平均誤差最小法を実現する装置の要部ブ
ロック図、第2図は本発明の一実施例における画像信号
処理装置のブロック図である。 1・・・・・・誤差データ記憶手段、2・・・・・・誤
差マトリクス、3・・・・・・注目画素xyの誤差デー
タ記憶位置。 4・・・・・・平均誤差演算手段、6・・・・・・原画
像データ入力端子、6,1o・・・・・・加減演算手段
、7・・・・・・2値信号の出力端子、11・・・・・
・加重平均演算手段、12・・・・・・遅延手段。
FIG. 1 is a block diagram of a main part of an apparatus for realizing the conventional minimum average error method, and FIG. 2 is a block diagram of an image signal processing apparatus according to an embodiment of the present invention. 1... Error data storage means, 2... Error matrix, 3... Error data storage position of the target pixel xy. 4: Average error calculation means, 6: Original image data input terminal, 6,1o: Addition/subtraction calculation means, 7: Output of binary signal Terminal, 11...
- Weighted average calculation means, 12... Delay means.

Claims (2)

【特許請求の範囲】[Claims] (1)誤差データ記憶手段に記憶されている注目画素x
y近傍の2値化誤差の加重平均値E_wを演算する加重
平均演算手段と、前期加重平均値E_wを上位ビットと
し、1画素前の2値化誤差の下位ビットデータE_x_
−_1_,_y(L)を下位ビットとする平均誤差E_
aと原画像データI_x_yの加算値I′_x_yを演
算する第1の演算手段と、前記加算値I′_x_yを閾
値処理し2値出力P_x_yとする2値化手段と、前記
加算値I′_x_yと前記2値出力P_x_yから2値
化誤差E_x_y(但し、E_x_y=I′_x_y−
P_x_y)を演算する第2の演算手段と、前記2値化
誤差E_x_yの上位Uビットデータを前記誤差データ
記憶手段に記憶し、残りの下位Lビットデータを次画素
演算まで保持する保持手段とを具備した画像信号処理装
置。
(1) Pixel of interest x stored in error data storage means
A weighted average calculating means for calculating a weighted average value E_w of the binarization error in the y neighborhood, and a lower bit data E_x_ of the binarization error one pixel before, with the previous weighted average value E_w as the upper bit.
−_1_, average error E_ with _y(L) as the lower bit
a and the original image data I_x_y; a binarization means for thresholding the added value I'_x_y to obtain a binary output P_x_y; and the binarization error E_x_y from the binary output P_x_y (however, E_x_y=I′_x_y−
P_x_y), and a holding means for storing the upper U bit data of the binarization error E_x_y in the error data storage means and holding the remaining lower L bit data until the next pixel operation. Equipped with an image signal processing device.
(2)誤差データ記憶手段に記憶されている注目画素x
y近傍の各2値化誤差データを上位ビットとし、前記各
2値化誤差データの下位ビットにLビットのOデータを
付加した後、加重平均値E_wを演算し、前記E_wに
1画素前の2値化誤差の下位ビットデータE_x_−_
1_,_y(L)を加算した値を平均誤差E_aとする
ことを特徴とする特許請求の範囲第1項記載の画像信号
処理装置。
(2) Pixel of interest x stored in error data storage means
After setting each binarized error data in the y neighborhood as the upper bits and adding L bits of O data to the lower bits of each binarized error data, a weighted average value E_w is calculated, and the value of the previous pixel is added to the E_w. Lower bit data of binarization error E_x_-_
1. The image signal processing device according to claim 1, wherein the average error E_a is a value obtained by adding 1_,_y(L).
JP59170657A 1984-07-25 1984-08-16 Picture signal processor Granted JPS6148275A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP59170657A JPS6148275A (en) 1984-08-16 1984-08-16 Picture signal processor
DE8585305304T DE3583474D1 (en) 1984-07-25 1985-07-25 IMAGE SIGNAL PROCESSING DEVICE.
EP85305304A EP0174721B1 (en) 1984-07-25 1985-07-25 Apparatus for processing image signal
US06/758,961 US4692811A (en) 1984-07-25 1985-07-25 Apparatus for processing image signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59170657A JPS6148275A (en) 1984-08-16 1984-08-16 Picture signal processor

Publications (2)

Publication Number Publication Date
JPS6148275A true JPS6148275A (en) 1986-03-08
JPH0351353B2 JPH0351353B2 (en) 1991-08-06

Family

ID=15908942

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59170657A Granted JPS6148275A (en) 1984-07-25 1984-08-16 Picture signal processor

Country Status (1)

Country Link
JP (1) JPS6148275A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62242473A (en) * 1986-04-15 1987-10-23 Nec Corp Pseudo halftone image processor
JPS63155951A (en) * 1986-12-19 1988-06-29 Matsushita Electric Ind Co Ltd Picture signal processor
JPS63212274A (en) * 1987-02-27 1988-09-05 Matsushita Electric Ind Co Ltd Picture signal processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62242473A (en) * 1986-04-15 1987-10-23 Nec Corp Pseudo halftone image processor
JPS63155951A (en) * 1986-12-19 1988-06-29 Matsushita Electric Ind Co Ltd Picture signal processor
JPS63212274A (en) * 1987-02-27 1988-09-05 Matsushita Electric Ind Co Ltd Picture signal processor

Also Published As

Publication number Publication date
JPH0351353B2 (en) 1991-08-06

Similar Documents

Publication Publication Date Title
JPS6125269B2 (en)
JPH05268462A (en) Picture processor
JPH0698159A (en) Method and apparatus for binary coding
JP2924079B2 (en) Gamma correction circuit
US5784100A (en) Apparatus and method for performing shading correction by multiplying a differential shading correction factor and input image data
JP5013805B2 (en) Processor-readable storage medium
JPH09307789A (en) Image processing unit
JPS6148275A (en) Picture signal processor
JPS63209370A (en) Image signal processor
JP3348499B2 (en) Cyclic noise reduction device
JP3094810B2 (en) Color image processing equipment
JPH08111777A (en) Image processor
JPH01238373A (en) Picture signal processor
JP2857906B2 (en) Halftone binarization processor
JP3094809B2 (en) Color image processing equipment
JPH09116773A (en) Image processing unit and its method
JPH0311879A (en) Picture element density converter
JPH048063A (en) Picture processing system
JP2002218493A (en) Contour correction circuit and method
JPH02285771A (en) Picture processing unit
JPH04335477A (en) Image converting system
JPS6132656A (en) Picture signal processing device
JPS6262661A (en) Picture signal processing unit
JPH02107062A (en) Picture signal processor
JPS6266769A (en) Picture signal processing device