JP2717020B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2717020B2
JP2717020B2 JP2175095A JP17509590A JP2717020B2 JP 2717020 B2 JP2717020 B2 JP 2717020B2 JP 2175095 A JP2175095 A JP 2175095A JP 17509590 A JP17509590 A JP 17509590A JP 2717020 B2 JP2717020 B2 JP 2717020B2
Authority
JP
Japan
Prior art keywords
pixel
density
data
texture
density value
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 - Lifetime
Application number
JP2175095A
Other languages
Japanese (ja)
Other versions
JPH0465974A (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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2175095A priority Critical patent/JP2717020B2/en
Publication of JPH0465974A publication Critical patent/JPH0465974A/en
Application granted granted Critical
Publication of JP2717020B2 publication Critical patent/JP2717020B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は多階調原画像を2値化するための画像処理装
置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for binarizing a multi-tone original image.

[従来の技術] イメージスキャナやファクシミリで使用されているモ
ノクロ中間調画像を2値化するための方法としては「デ
ィザ法」(画像電子学会誌第10巻第5号(1981))に示
されているような組織的ディザ法が一般的に知られてい
るが、この方法は擬似階調数を増加すると文字や線図形
の解像度が低下するため、文字や線図形と中間調画像が
混在する原稿については得策ではない。
[Prior Art] A method for binarizing a monochrome halftone image used in an image scanner or a facsimile is shown in "Dither Method" (Journal of Image Electronics Society of Japan, Vol. 10, No. 5, (1981)). The systematic dithering method is generally known, but this method reduces the resolution of characters and line figures as the number of pseudo gradations increases, so that characters and line figures and halftone images are mixed. Not a good idea for manuscripts.

そこで、上記問題点を解決する方法として「空間グレ
イスケールへの適用アルゴリズム」(エスアイデー 75
ダイジェスト)(「An Adaptive Algorithm for Spatia
l Grey Scale」(SID 75 DIGEST))に示されているよ
うな誤差拡散法が知られている。この誤差拡散法は2値
化された表示濃度(白又は黒)に対する原画像の読取り
濃度値の誤差を平均して小さくする方法であり、下式
(1)、(2)及び(3)により、ある一画素の周辺に
生じた2値化誤差を誤差フィルタにより重み付けし、こ
の画素の濃度値fmnを補正する。
Therefore, as a method to solve the above problem, “Algorithm applied to spatial gray scale” (S.I.D. 75
Digest) ("An Adaptive Algorithm for Spatia
l Gray Scale "(SID 75 DIGEST)). This error diffusion method is a method of averaging and reducing the error of the read density value of the original image with respect to the binarized display density (white or black), and by the following equations (1), (2) and (3) The binarization error generated around a certain pixel is weighted by an error filter, and the density value fmn of this pixel is corrected.

m:画像の左上端を第1行とする行方向番号、 n:画像の左上端を第1列とする列方向番号、 k:1≦k≦m−1の整数、 l:1≦1≦n−1の整数、 fmn:入力画素濃度値、 f′mn:補正された画素濃度値、 gmn:2値化された画素濃度値、 emn:2値化濃度誤差、T:閾値、 αkl:2値化濃度誤差用重み付け係数、 *:m行n列にある画素に対応する2値化濃度誤差用重
み付け係数 [発明が解決しようとする課題] しかしながら、上述の従来の誤差拡散法によりモノク
ロ中間調画素を2値化するための装置では、ある一画素
の周辺に生じた2値化誤差を誤差フィルタにより重み付
けしこの画素の濃度値を補正しており、画素間の濃度差
が大きい画素領域については2値化特性が良好である
が、画素の濃度値がテクスチャ(縞模様)が発生する濃
度範囲の中央値に近く画素間の濃度差が小さい画像領域
については、行及び列方向のテクスチャが発生する確率
が高くなるという問題点がある。
m: row direction number with the top left corner of the image as the first row, n: column direction number with the top left corner of the image as the first column, k: 1 ≦ k ≦ m−1, l: 1 ≦ 1 ≦ integer of n-1, fmn: input pixel density value, f'mn: corrected pixel density value, gmn: binarized pixel density value, emn: binarized density error, T: threshold value, αkl: 2 Weighting coefficient for binarized concentration error, *: Weighting coefficient for binarized density error corresponding to pixels at m rows and n columns [Problems to be Solved by the Invention] However, the method for binarizing monochrome halftone pixels by the conventional error diffusion method described above. The apparatus corrects the density value of this pixel by weighting the binarization error generated around a certain pixel by an error filter, and has a good binarization characteristic in a pixel area where the density difference between pixels is large. However, in the image area where the density value of the pixel is close to the median of the density range where the texture (striped pattern) occurs and the density difference between the pixels is small, the probability that the texture in the row and column directions occurs increases. There is a point.

第4図は従来の誤差拡散法によりモノクロ中間調画像
を2値化する装置の出力例を示す図であり、8ビット
(256階調)の画像データについて、中央値(=128)に
近く画素間の濃度差が小さい画素領域を2値化し拡大し
た出力画像を示した図である。
FIG. 4 is a diagram showing an output example of a device for binarizing a monochrome halftone image by a conventional error diffusion method. For 8-bit (256 gradation) image data, a pixel close to the median (= 128) is used. FIG. 4 is a diagram illustrating an output image obtained by binarizing and enlarging a pixel region having a small density difference between the pixels.

同図に示すように、行及び列方向のテクスチャが2値
化された画像に発生すると、写真の背景のように画素の
濃度分布が本来均一であった画像領域がこのテクスチャ
により強調され人間の視覚からも目立った領域になり、
出力画像の品質が劣化するという問題点がある。
As shown in the figure, when the texture in the row and column directions occurs in a binarized image, an image region where the density distribution of pixels is originally uniform, such as the background of a photograph, is emphasized by this texture and the human It becomes an area that is also noticeable from the visual sense,
There is a problem that the quality of the output image is degraded.

従って、本発明の目的は画素の濃度値がテクスチャが
発生する濃度範囲の中央値に近く画素間の濃度値差が小
さい画像領域の画質を向上することができるモノクロ中
間調画像を2値化するための画像処理装置を提供するこ
とにある。
Accordingly, an object of the present invention is to binarize a monochrome halftone image that can improve the image quality of an image area in which the density value of a pixel is close to the median of the density range in which texture occurs and where the density value difference between pixels is small. To provide an image processing device for the purpose.

[課題を解決するための手段] 上述の目的を達成するために、本発明の画像処理装置
は、画像の画素を誤差拡散法により2値化する2値化手
段と、画像の一画素の濃度値が中間調データであること
を判定すると共にテクスチャが発生する濃度範囲内にあ
ることを判定するための判定手段と、判定手段により中
間調データであり且つテクスチャの発生する濃度範囲内
にあると判定される一画素の濃度値を補正するための補
正手段とを備えており、補正手段は、積和演算器と、2
値化手段によって2値化された出力画像データを格納す
る出力画像データバッファと、一画素の濃度値と一画素
の周辺にある複数の画素の濃度値との行方向および列方
向の相関を弱め斜め方向の相関を強めることによって一
画素の周辺に発生するテクスチャを抑制するテクスチャ
抑制用重み付け係数を格納するテクスチャ抑制用重み受
け係数バッファとを有し、一画素の周辺にある複数の画
素の出力画像データバッファに格納された出力画像デー
タとテクスチャ抑制用重み付け係数バッファに格納され
たテクスチャ抑制用重み付け係数とを積和演算器により
演算し補正データを求め、該補正データに基づき当該一
画素の濃度値を補正するよう構成されている。
[Means for Solving the Problems] To achieve the above object, an image processing apparatus according to the present invention includes a binarizing unit for binarizing an image pixel by an error diffusion method, and a density of one pixel of the image. A determination unit for determining that the value is halftone data and determining that the value is within a density range in which texture occurs; and determining that the value is halftone data and within a density range in which texture occurs. Correction means for correcting the density value of one pixel to be determined, wherein the correction means includes a product-sum calculator and 2
An output image data buffer for storing output image data binarized by the binarizing unit, and weakening a correlation in a row direction and a column direction between the density value of one pixel and the density values of a plurality of pixels around one pixel. A texture suppression weighting coefficient buffer for storing texture suppression weighting coefficients for suppressing textures generated around one pixel by strengthening the correlation in the oblique direction, and outputting a plurality of pixels around one pixel The output image data stored in the image data buffer and the texture suppression weighting coefficient stored in the texture suppression weighting buffer are calculated by a product-sum calculator to obtain correction data, and the density of the one pixel is determined based on the correction data. It is configured to correct the value.

[作用] 画像の一画素の濃度値が中間調データであり且つテク
スチャが発生する濃度範囲内にあると判定される場合
は、一画素の濃度値とこの一画素の周辺にある2値化さ
れた複数の画素の濃度値との間の行及び列方向の相関を
弱めるように且つ斜め方向の相関を強調するように、一
画素の周辺にある複数の画素の出力画像データバッファ
に格納された出力画像データとテクスチャ抑制用重み付
け係数バッファに格納されたテクスチャ抑制用重み付け
係数とを積和演算器により演算し補正データを求め、該
補正データに基づき一画素の濃度値が補正される。
[Operation] When it is determined that the density value of one pixel of the image is halftone data and is within the density range in which texture occurs, the density value of one pixel and the binarization around the one pixel are determined. In order to weaken the correlation in the row and column directions between the density values of the plurality of pixels and to emphasize the correlation in the diagonal direction, the pixel values are stored in the output image data buffer of a plurality of pixels around one pixel. The output image data and the texture suppression weighting coefficient stored in the texture suppression weighting coefficient buffer are calculated by a product-sum calculator to obtain correction data, and the density value of one pixel is corrected based on the correction data.

従って、画素の濃度値がテクスチャが発生する濃度範
囲の中央値の近くであって画素間の濃度差が小さい画像
領域の画質が向上される。
Therefore, the image quality of the image area where the density value of the pixel is close to the central value of the density range where the texture occurs and the density difference between the pixels is small is improved.

[実施例] 以下、図面を参照して本発明の実施例を説明する。Embodiment An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明に係る画像処理装置の一実施例を示す
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of the image processing apparatus according to the present invention.

同図に示すように、多階調原画像の各画素の濃度値f
mnを格納するためのバッファ10はデータ判定部11に接続
されている。
As shown in the figure, the density value f of each pixel of the multi-tone original image
The buffer 10 for storing mn is connected to the data determination unit 11.

データ判定部11は加算器12、スイッチ13及びスイッチ
14に接続されている。
The data determination unit 11 includes an adder 12, a switch 13, and a switch.
Connected to 14.

積和演算器15は2値化された出力画素データgmnを格
納するためのバッファ17及びテクスチャ(縞模様)抑制
用重み付け係数を格納するためのバッファ18に接続され
ており、後述の如く求められる補正データをスイッチ13
を介して加算器12に出力する。
The product-sum calculator 15 is connected to a buffer 17 for storing binarized output pixel data gmn and a buffer 18 for storing texture (striped pattern) suppression weighting coefficients, and is obtained as described later. Switch correction data 13
And outputs the result to the adder 12.

積和演算器16は誤差拡散法による2値化の際に用いる
2値化濃度誤差データemnを格納するためのバッファ19
及び誤差拡散法による2値化の際に用いる2値化濃度誤
差用重み付け係数を格納するためのバッファ20に接続さ
れており、後述の如く求められる補正データをスイッチ
14を介して加算器12に出力する。
The product-sum calculator 16 stores a buffer 19 for storing binarized density error data emn used for binarization by the error diffusion method.
And a buffer 20 for storing a binarized density error weighting coefficient used for binarization by the error diffusion method, and switches correction data obtained as described later.
Output to adder 12 via 14.

加算器12は減算器21及び比較器22に接続されている。 The adder 12 is connected to a subtractor 21 and a comparator 22.

減算器21は加算器12及びバッファ17に接続されてお
り、減算した2値化濃度誤差データemnをバッファ19に
出力する。
The subtractor 21 is connected to the adder 12 and the buffer 17, and outputs the subtracted binary density error data emn to the buffer 19.

比較器22は加算器12に接続されており、閾値Tと比較
して2値化された出力画素データをバッファ17に出力す
る。
The comparator 22 is connected to the adder 12, and outputs the output pixel data binarized by comparing with the threshold value T to the buffer 17.

ここで、m及びnは画像又はバッファの左上端を第1
行第1列としたときの行方向及び列方向番号である。
Here, m and n are the first upper left corner of the image or buffer.
The row direction and column direction numbers when the first row is the row.

データ判定部11は本発明の判定手段の一例となってい
る。加算器12、スイッチ13、スイッチ14、積和演算器1
5、バッファ17、バッファ18及び比較器22は本発明の補
正手段の一例となっている。積和演算器16、バッファ1
9、バッファ20及び減算器21は本発明の2値化手段の一
例となっている。
The data determination unit 11 is an example of the determination unit of the present invention. Adder 12, switch 13, switch 14, product-sum operation unit 1
5, the buffer 17, the buffer 18, and the comparator 22 are an example of the correction means of the present invention. Multiply-accumulate unit 16, buffer 1
The buffer 9, the buffer 20, and the subtractor 21 are an example of the binarizing means of the present invention.

次に、上述の実施例の動作を説明する。 Next, the operation of the above embodiment will be described.

第1図において、例えば256階調の多階調原画像の各
画素の濃度値fmnはバッファ10に一旦格納されデータ判
定部11に送出される。
In FIG. 1, for example, the density value fmn of each pixel of a multi-tone original image of 256 tones is temporarily stored in a buffer 10 and sent to a data determination unit 11.

データ判定部11は各画素の濃度値fmnを加算器12に出
力すると共に、後述する判定方法に従った判定結果をス
イッチ13及びスイッチ14に出力する。
The data determination unit 11 outputs the density value fmn of each pixel to the adder 12, and outputs a determination result according to a determination method described later to the switches 13 and 14.

積和演算器15はバッファ17に格納された2値化された
出力画素データgmnのうち一画素×の周辺にある各画素
の濃度値a、b、c及びdに、バッファ18に格納された
一画素×の周辺に発生するテクスチャ(縞模様)を抑制
するためのテクスチャ抑制用重み付け係数β、β
β及びβを掛けあわせ加算して求められる補正デー
タをスイッチ13に出力する。
The sum-of-products calculator 15 stores the density values a, b, c, and d of the pixels around one pixel x in the binarized output pixel data gmn stored in the buffer 17, and stores the density values a, b, c, and d in the buffer 18. Texture suppression weighting coefficients β a , β b , for suppressing texture (stripes) generated around one pixel x,
The correction data obtained by multiplying and adding β c and β d is output to the switch 13.

ここで、濃度値aはm行n列にある一画素×に隣接す
るm行n−1列の画素に対応する濃度値であり、濃度値
cは一画素×に隣接するm−1行n列の画素に対応する
濃度値であり、濃度値b及びdは濃度値cの画素にそれ
ぞれ隣接するm−1行n−1列及びm−1行n+1列の
画素に対応する濃度値である。
Here, the density value a is a density value corresponding to a pixel at m rows and n-1 columns adjacent to one pixel x in m rows and n columns, and a density value c is m-1 rows n and n pixels adjacent to one pixel x. The density values correspond to the pixels in the column, and the density values b and d are the density values corresponding to the pixels in the m-1 row n-1 column and the m-1 row n + 1 column adjacent to the pixel having the density value c, respectively. .

また、テクスチャ抑制用重み付け係数βはm行n列
にある一画素×に隣接するm行n+1列の画素に対応す
る係数であり、係数βは一画素×に隣接するm+1行
n列の画素に対応する係数であり、係数β及びβ
係数βに対応した画素にそれぞれ隣接するm+1行n
+1列及びm+1行n−1列の画素に対応する係数であ
る。
The texture suppression weighting coefficient β a is a coefficient corresponding to a pixel in the m row and n + 1 column adjacent to one pixel x in the m row and n column, and the coefficient β c is a coefficient in the m + 1 row and n column adjacent to the pixel x. The coefficients β b and β d are m + 1 rows n adjacent to the pixel corresponding to the coefficient β c , respectively.
It is a coefficient corresponding to the pixel of the + 1st column and the (m + 1) th row and the n-1th column.

上述のように、積和演算器15は一画素×の濃度値とこ
の一画素の周辺にある2値化された複数の画素の濃度値
との相関を行及び列方向については弱め、斜め方向につ
いては強調するための補正データをスイッチ13に出力す
る。
As described above, the product-sum calculator 15 weakens the correlation between the density value of one pixel × and the density values of a plurality of binarized pixels around the one pixel in the row and column directions, and in the oblique direction. Is output to the switch 13 for emphasis.

積和演算器16はバッファ19に一時格納された2値化濃
度誤差データA、B、C及びDに、バッファ20に格納さ
れた一画素×の周辺に発生した2値化誤差を誤差フィル
タで重み付けして補正するための2値化濃度誤差用重み
付け係数α、α、α及びαを掛けあわせ加算し
て求められる補正データをスイッチ14に出力する。
The sum-of-products arithmetic unit 16 uses a binarized density error data A, B, C, and D temporarily stored in the buffer 19 and a binarized error generated around one pixel x stored in the buffer 20 by an error filter. The correction data obtained by multiplying and adding the binarized density error weighting coefficients α A , α B , α C and α D for weighting and correcting is output to the switch 14.

ここで、2値化濃度誤差データAはm行n列にある一
画素×に隣接するm行n+1列の画素に対応するデータ
であり、2値化濃度誤差データCは一画素×に隣接する
m+1行n列の画素に対応するデータであり、2値化濃
度誤差データB及びDは2値化濃度誤差データCに対応
した画素にそれぞれ隣接するm+1行n+1列及びm+
1行n−1列の画素に対応するデータである。
Here, the binarized density error data A is data corresponding to a pixel at m rows and n + 1 columns adjacent to one pixel x at m rows and n columns, and the binarized density error data C is adjacent to one pixel x. The binarized density error data B and D are data corresponding to the pixel of the (m + 1) row and the nth column, and the binarized density error data B and D are respectively the m + 1 row and the n + 1 column and the m +
This is data corresponding to the pixels in row 1 and column n-1.

また、2値化濃度誤差用重み付け係数αはm行n列
にある一画素×に隣接するm行n+1列の画素に対応す
る係数であり、係数αは一画素×に隣接するm+1行
n列の画素に対応する係数であり、係数α及びα
係数αに対応した画素にそれぞれ隣接するm+1行n
+1列及びm+1行n−1列の画素に対応する係数であ
る。
The binarized density error weighting coefficient α A is a coefficient corresponding to a pixel in the m row and n + 1 column adjacent to one pixel x in the m row and n column, and the coefficient α C is an m + 1 row adjacent to one pixel x. Coefficients corresponding to n columns of pixels, and coefficients α B and α D are m + 1 rows n adjacent to the pixel corresponding to coefficient α C respectively.
It is a coefficient corresponding to the pixel of the + 1st column and the (m + 1) th row and the n-1th column.

上述のように、積和演算器16は2値化濃度誤差データ
A、B、C及びDに、2値化濃度誤差用重み付け係数α
、α、α及びαを掛けあわせ加算することによ
り誤差拡散法のための補正データをスイッチ14に出力す
る。
As described above, the product-sum operation unit 16 adds the binarized density error weighting coefficient α to the binarized density error data A, B, C, and D.
A , α B , α C and α D are multiplied and added to output correction data for the error diffusion method to the switch 14.

加算器12はデータ判定部11から送出される多階調原画
像の各画素の濃度値fmnと、後述の判定方法に従った判
定結果に応じてスイッチ13及びスイッチ14から送出され
る上述の補正データとを加算し、加算した結果を減算器
21及び比較器22に出力する。
The adder 12 performs the above-described correction sent from the switches 13 and 14 according to the density value fmn of each pixel of the multi-tone original image sent from the data judgment unit 11 and the judgment result according to the judgment method described later. Adds data and subtracts the result of addition
Output to 21 and comparator 22.

減算器21はバッファ17から送出される2値化された出
力画素データgmnと、加算器12から送出される多階調原
画像の各画素の濃度値fmnとの差を算出して求められる
2値化濃度誤差データA、B、C及びDをバッファ19に
出力する。
The subtracter 21 calculates and calculates a difference between the binarized output pixel data gmn sent from the buffer 17 and the density value fmn of each pixel of the multi-tone original image sent from the adder 12. The digitized density error data A, B, C and D are output to the buffer 19.

比較器22は加算器12から送出される加算後の補正デー
タと閾値Tとを比較して2値化された出力画像データを
バッファ17に出力する。
The comparator 22 compares the corrected correction data sent from the adder 12 with the threshold value T and outputs binarized output image data to the buffer 17.

データ判定部11は次の3つの判定方法により、原画像
のある一画素の濃度値が白又は黒の文字データである
か、又は中間調データであるかを判定すると共に、中間
調データと判定した場合にこの一画素の濃度値はテクス
チャが発生する濃度範囲内にあるか否かを判定する。
The data determination unit 11 determines whether the density value of one pixel of the original image is white or black character data or halftone data by the following three determination methods. In this case, it is determined whether or not the density value of this one pixel is within the density range in which texture occurs.

第2図は着目する一画素及びこの一画素×の周辺にあ
る画素を示す図である。
FIG. 2 is a diagram showing one pixel of interest and pixels around this one pixel ×.

判定(エッジによる判定) 第2図に示す一画素×の濃度値と一画素×の周辺にあ
る画素I、II、III及びIVの各濃度値との各差分の絶対
値の最大値を求め、この最大値がエッジ判定用の閾値Te
dge(図示せず)より大きいか否かを判定する。この最
大値がエッジ判定用の閾値Tedgeより大きい場合には、
一画素×が文字データであると判定する。
Judgment (judgment by edge) The maximum value of the absolute value of each difference between the density value of one pixel x shown in FIG. 2 and the density values of the pixels I, II, III and IV around one pixel x is obtained, This maximum value is the threshold Te for edge determination.
It is determined whether it is greater than dge (not shown). If this maximum value is larger than the threshold Tedge for edge determination,
It is determined that one pixel x is character data.

判定(周辺画素との平均による判定) 一画素×の濃度値と一画素×の周辺にある画素I、I
I、III及びIVの各濃度値との平均値を求め、この平均値
が文字の白を判定するための閾値Twhiteより小さいか、
またこの平均値が文字の黒を判定するための閾値Tblack
より大きいかを判定する。
Judgment (judgment by averaging with surrounding pixels) Density value of one pixel x and pixels I, I around one pixel x
Determine the average value of each of the density values of I, III and IV, and this average value is smaller than a threshold Twhite for determining white of the character,
This average value is a threshold value Tblack for determining black of a character.
Determine if it is greater than.

第3図は画素の濃度分布と閾値との関係を示す図であ
る。
FIG. 3 is a diagram showing a relationship between a density distribution of pixels and a threshold value.

同図に示すように、この平均値が文字の白判定用閾値
Twhiteより大きく且つ文字の黒判定用閾値Tblackより小
さい場合には一画素×の濃度値が中間調領域にあると判
定する。
As shown in the figure, this average value is a threshold value for white determination of a character.
If it is larger than Twhite and smaller than the threshold value Tblack for black determination of a character, it is determined that the density value of one pixel is in the halftone area.

判定(一画素の濃度値による判定) 一画素×の濃度値Pが、テクスチャが発生する濃度範
囲の中央値の近くにあるかを判定する。即ち、第3図に
示すように、濃度値Pがテクスチャの発生濃度範囲の下
限値Ttext0及び上限値Ttext1に対して Ttext0<P<Ttext1 である場合に、一画素×の濃度値Pはテクスチャが発生
する領域内にあると判定する。
Judgment (Judgment by Density Value of One Pixel) It is judged whether or not the density value P of one pixel is near the median of the density range in which texture occurs. That is, as shown in FIG. 3, when the density value P is Ttext0 <P <Ttext1 with respect to the lower limit value Ttext0 and the upper limit value Ttext1 of the texture generation density range, the density value P of one pixel × It is determined that it is within the area where the occurrence occurs.

第1表(発明の詳細な説明の最後に記載)は上述のデ
ータ判定部11の判定処理の結果に従って制御されるスイ
ッチ13及びスイッチ14の動作を示している。
Table 1 (described at the end of the detailed description of the invention) shows the operation of the switches 13 and 14 that are controlled according to the result of the determination process of the data determination unit 11 described above.

判定により文字データであると判定した場合(ケー
ス(a))、又は判定により文字データであると判定
した場合(ケース(b))には、スイッチ13及びスイッ
チ14の両方をオフにする。
When it is determined that the data is character data (case (a)) or when it is determined that the data is character data (case (b)), both the switch 13 and the switch 14 are turned off.

従って、入力された濃度値がそのまま加算器12を経由
して比較器22に出力され、固定の閾値Tと比較され2値
化された出力画像データが出力される。この場合、文字
のコントラストは顕著となる。
Accordingly, the input density value is output as it is to the comparator 22 via the adder 12, and is compared with a fixed threshold value T to output binarized output image data. In this case, the contrast of the character becomes remarkable.

判定と判定により文字データであると判定され
ず、更に判定によりテクスチャが発生する濃度範囲内
にあると判定されない場合(ケース(c))には、スイ
ッチ13をオフにしスイッチ14をオンにする。
When it is not determined that the character data is character data by the determination and the determination is not that the character data is within the density range in which the texture is generated (case (c)), the switch 13 is turned off and the switch 14 is turned on.

従って、加算器12がデータ判定部11からの多階調原画
像の画素の濃度値とスイッチ13からの補正データとを加
算するので、その加算値は式(1)に示す補正値とな
り、従来の誤差拡散方により2値化を行うことになる。
Therefore, since the adder 12 adds the density value of the pixel of the multi-tone original image from the data judgment unit 11 and the correction data from the switch 13, the added value becomes the correction value shown in the equation (1). Is performed by the error diffusion method.

最後に、判定と判定により文字データであると判
定されず、更に判定によりテクスチャが発生する濃度
範囲内にあると判定される場合(ケース(d))には、
スイッチ13及びスイッチ14の両方をオンにする。
Finally, when it is not determined that the character data is character data by the determination and the determination is further that the texture data is within the density range in which the texture is generated (case (d)),
Turn on both the switch 13 and the switch 14.

従って、加算器12がデータ判定部11から送出される多
階調原画像の画素の濃度値とスイッチ13及びスイッチ14
の両方からの補正データとを加算するので、その加算値
は式(4)に示すようになる。
Accordingly, the adder 12 determines the density values of the pixels of the multi-tone original image sent from the data determination unit 11 and the switches 13 and 14.
And the correction data from both of them are added, and the added value is as shown in equation (4).

*:m行n列にある画素に対応するテクスチャ抑制用重
み付け係数 この場合、積和演算器15が一画素×の周辺にある2値
化された各画素の濃度値に、テクスチャ抑制用重み付け
係数βklを掛けあわせ加算して求められる補正データに
より、一画素の濃度値と一画素の周辺にある複数の画素
の濃度値との相関が行及び列方向については弱められる
と共に斜め方向については強調されるため、第4図に示
すような行及び列方向のテクスチャの発生を防止するこ
とができる。
*: Texture suppression weighting coefficient corresponding to the pixel at m row and n column In this case, the product-sum calculator 15 assigns the texture suppression weighting coefficient to the density value of each binarized pixel around one pixel ×. By the correction data obtained by multiplying and adding βkl, the correlation between the density value of one pixel and the density values of a plurality of pixels around one pixel is weakened in the row and column directions and emphasized in the oblique direction. Therefore, generation of texture in the row and column directions as shown in FIG. 4 can be prevented.

[発明の効果] 以上説明したように本発明は、画像の画素を誤差拡散
法により2値化する2値化手段と、画像の一画素の濃度
値が中間調データであることを判定すると共にテクスチ
ャが発生する濃度範囲内にあることを判定するための判
定手段と、判定手段により中間調データであり且つテク
スチャの発生する濃度範囲内にあると判定される一画素
の濃度値を補正するための補正手段とを備えており、補
正手段は、積和演算器と、2値化手段によって2値化さ
れた出力画像データを格納する出力画像データバッファ
と、一画素の濃度値と一画素の周辺にある係数の画素の
濃度値との行方向および列方向の相関を弱め斜め方向の
相関を強めることによって一画素の周辺に発生するテク
スチャを抑制するテクスチャ抑制用重み付け係数を格納
するテクスチャ抑制用重み付け係数バッファとを有し、
一画素の周辺にある複数の画素の出力画像データバッフ
ァに格納された出力画像データとテクスチャ抑制用重み
付け係数バッファに格納されたテクスチャ抑制用重み付
け係数とを積和演算器により演算し補正データを求め、
該補正データに基づき当該一画素の濃度値を補正するよ
う構成されているため、画素の濃度値がテクスチャが発
生する濃度範囲の中央値の近くであって画素間の濃度差
が小さい画像領域の画質を向上することができる。
[Effects of the Invention] As described above, the present invention provides a binarizing unit that binarizes pixels of an image by an error diffusion method, and determines that the density value of one pixel of the image is halftone data. Determining means for determining that the texture is within the density range in which the texture occurs, and correcting the density value of one pixel which is determined as the halftone data and is in the density range in which the texture occurs by the determining means. Correction means, wherein the correction means comprises a product-sum operation unit, an output image data buffer for storing output image data binarized by the binarization means, a density value of one pixel and one pixel A texture suppression weighting coefficient for suppressing the texture generated around one pixel by weakening the correlation in the row and column directions with the density value of the pixel of the surrounding coefficient and increasing the correlation in the oblique direction is stored. A weight coefficient buffer for texture suppression,
An output image data stored in an output image data buffer of a plurality of pixels around one pixel and a texture suppression weighting coefficient stored in a texture suppression weighting coefficient buffer are calculated by a product-sum calculator to obtain correction data. ,
Since the configuration is such that the density value of the one pixel is corrected based on the correction data, the density value of the pixel is close to the median of the density range in which texture occurs and the density difference between pixels is small. Image quality can be improved.

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

第1図は本発明に係る画像処理装置の一実施例を示すブ
ロック図、第2図は着目する一画素及びこの一画素の周
辺にある画素を示す図、第3図は画素の濃度分布と閾値
との関係を示す図、第4図は従来の誤差拡散法によりモ
ノクロ中間調画像を2値化する装置の出力例を示す図で
ある。 10、17、18、19、20……バッファ、11……データ判定
部、12……加算器、13、14……スイッチ、15、16……積
和演算器、21……減算器、22……比較器。
FIG. 1 is a block diagram showing an embodiment of an image processing apparatus according to the present invention, FIG. 2 is a diagram showing a pixel of interest and pixels around the pixel, and FIG. FIG. 4 is a diagram showing a relationship with a threshold, and FIG. 4 is a diagram showing an output example of a device for binarizing a monochrome halftone image by a conventional error diffusion method. 10, 17, 18, 19, 20 buffer, 11 data determination unit, 12 adder, 13, 14 switch, 15, 16 product-sum operation unit, 21 subtractor 22, ...... Comparator.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】画像の画素を誤差拡散法により2値化する
2値化手段と、該画像の一画素の濃度値が中間調データ
であることを判定すると共にテクスチャが発生する濃度
範囲内にあることを判定するための判定手段と、該判定
手段により中間調データであり且つテクスチャの発生す
る濃度範囲内にあると判定される前記一画素の濃度値を
補正するための補正手段とを備えており、前記補正手段
は、積和演算器と、前記2値化手段によって2値化され
た出力画像データを格納する出力画像データバッファ
と、前記一画素の濃度値と前記一画素の周辺にある複数
の画素の濃度値との行方向および列方向の相関を弱め斜
め方向の相関を強めることによって前記一画素の周辺に
発生するテクスチャを抑制するテクスチャ抑制用重み付
け係数を格納するテクスチャ抑制用重み付け係数バッフ
ァとを有し、前記一画素の周辺にある複数の画素の前記
出力画像データバッファに格納された前記出力画像デー
タと前記テクスチャ抑制用重み付け係数バッファに格納
された前記テクスチャ抑制用重み付け係数とを前記積和
演算器により演算し補正データを求め、該補正データに
基づき前記一画素の濃度値を補正するよう構成されてい
ることを特徴とする画像処理装置。
1. A binarizing means for binarizing pixels of an image by an error diffusion method, and determining that the density value of one pixel of the image is halftone data and within a density range in which texture occurs. Determination means for determining that there is a pixel, and correction means for correcting the density value of the one pixel determined to be halftone data and within the density range in which texture occurs by the determination means. The correction means includes a product-sum calculator, an output image data buffer for storing output image data binarized by the binarization means, a density value of the one pixel, and a periphery of the one pixel. A texture suppression weighting coefficient for suppressing the texture generated around one pixel by weakening the correlation in the row and column directions with the density value of a plurality of pixels and increasing the correlation in the oblique direction. A texture suppression weighting coefficient buffer, wherein the output image data of the plurality of pixels around the one pixel stored in the output image data buffer and the texture suppression stored in the texture suppression weighting coefficient buffer An image processing apparatus configured to calculate correction data by calculating a weighting coefficient for use by the product-sum calculator, and to correct the density value of the one pixel based on the correction data.
JP2175095A 1990-07-02 1990-07-02 Image processing device Expired - Lifetime JP2717020B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2175095A JP2717020B2 (en) 1990-07-02 1990-07-02 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2175095A JP2717020B2 (en) 1990-07-02 1990-07-02 Image processing device

Publications (2)

Publication Number Publication Date
JPH0465974A JPH0465974A (en) 1992-03-02
JP2717020B2 true JP2717020B2 (en) 1998-02-18

Family

ID=15990166

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2175095A Expired - Lifetime JP2717020B2 (en) 1990-07-02 1990-07-02 Image processing device

Country Status (1)

Country Link
JP (1) JP2717020B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6846441B2 (en) 2000-09-19 2005-01-25 Fuji Photo Film Co., Ltd. Method for recycling used-up plastic products and washing process of crushed plastic and apparatus therefor

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5429015B2 (en) * 2010-04-14 2014-02-26 コニカミノルタ株式会社 Image processing apparatus and image processing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6418369A (en) * 1987-07-14 1989-01-23 Matsushita Electric Ind Co Ltd Picture signal processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6846441B2 (en) 2000-09-19 2005-01-25 Fuji Photo Film Co., Ltd. Method for recycling used-up plastic products and washing process of crushed plastic and apparatus therefor
US7231927B2 (en) 2000-09-19 2007-06-19 Fujifilm Corporation Method for recycling used-up plastic products and washing process of crushed plastic and apparatus therefor

Also Published As

Publication number Publication date
JPH0465974A (en) 1992-03-02

Similar Documents

Publication Publication Date Title
EP0659012B1 (en) Method for quantization of gray level pixel data with extended distribution set
KR960014303B1 (en) Image processing device for resolution conversion
US5243445A (en) Picture processing apparatus
EP0781034B1 (en) Image processing apparatus and method
JP3700357B2 (en) Image processing device
JP3489806B2 (en) Image processing apparatus and method
JP2717020B2 (en) Image processing device
KR100251551B1 (en) Non-casual error diffusion for digital image quantization
JPH07312688A (en) Image processing device
JP3157870B2 (en) Image processing method
JP3011464B2 (en) Image processing method
JP2860039B2 (en) Pseudo halftone image reduction device
JP4460079B2 (en) Image processing device
JP2857906B2 (en) Halftone binarization processor
JP2702593B2 (en) Isolated point removal device
JPH06292005A (en) Picture signal processing unit
JP2644492B2 (en) Image processing device
JPH06253133A (en) Picture processing device
JP2867487B2 (en) Image processing method
JPH06291993A (en) Picture signal processing unit
JPH09247450A (en) Image processing unit
JPH0758953A (en) Binarizing device and device using the same
JPH04328957A (en) Method of quantizing white and black or color image
JP2000050067A (en) Image processing method and device therefor
JP2001111831A (en) Image processing system