JPH10200742A - Binarizing image processing method for multi-gradation data and image processing unit adopting the method - Google Patents

Binarizing image processing method for multi-gradation data and image processing unit adopting the method

Info

Publication number
JPH10200742A
JPH10200742A JP9003917A JP391797A JPH10200742A JP H10200742 A JPH10200742 A JP H10200742A JP 9003917 A JP9003917 A JP 9003917A JP 391797 A JP391797 A JP 391797A JP H10200742 A JPH10200742 A JP H10200742A
Authority
JP
Japan
Prior art keywords
error diffusion
diffusion coefficient
highlight
tone
middle tone
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
JP9003917A
Other languages
Japanese (ja)
Inventor
Hideaki Kitagawa
英明 北川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP9003917A priority Critical patent/JPH10200742A/en
Publication of JPH10200742A publication Critical patent/JPH10200742A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To smooth gradation and to enhance image quality by suppressing tailing and delayed starting of a highlight part of a gradation image and production of stripes to a transition part from the highlight part to a middle tone part which are caused by binarizing multi-gradation data by the error spread method. SOLUTION: An error distribution coefficient of a highlight part to be distributed in the main scanning direction is selected higher than the total sum of the coefficient in the subscanning direction, and the error distribution coefficient for a part from the end of the highlight part to a middle tone part is selected to be a median of the error distribution coefficient of the highlight part and the middle tone part. Moreover, the error distribution coefficient of the middle tone part is selected for the error distribution coefficient of the part after the middle tone part. Relating to this processing unit, an error distribution coefficient acquisition circuit 3 applies an error distribution coefficient to gradation data classified into three stages by a gradation share circuit based on gradation of received data 1 so as to conduct error distribution processing for the data and provides an output of binarized data.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、多階調データを誤
差拡散法により2値化する2値化画像処理方法およびそ
の方法を実施するための処理装置に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a binarized image processing method for binarizing multi-tone data by an error diffusion method and a processing apparatus for executing the method.

【0002】[0002]

【従来の技術】多階調データを、0か1かの2階調しか
表現できない画像化装置に出力する場合、階調ハーフト
ーン処理により疑似的に表現させることが行われてい
る。この処理方法として、集合型デイザ法や分散型デイ
ザ法があるが、これは、固定の2次元閾値テーブルと当
該画素濃度との単純比較により、ドットのオン/オフを
決定していく方法である。この方法は、一定の面積内の
ドット数によって階調を再現するものであるから、確実
にテーブルの面積分の階調を疑似的に表現することはで
きる。しかし、この方法では、解像度はテーブルの大き
さに依存する、つまり、画素濃度に関わらず固定の2次
元テーブルを使用するため、水平解像度はテーブルの横
幅分、また、垂直解像度はテーブルの高さ分低下すると
いう問題があった。
2. Description of the Related Art When outputting multi-gradation data to an imaging device capable of expressing only two gradations of 0 or 1, pseudo-expression is performed by gradation halftone processing. As this processing method, there are a collective dither method and a distributed dither method, which is a method of determining dot on / off by a simple comparison between a fixed two-dimensional threshold table and the pixel density. . Since this method reproduces the gradation by the number of dots within a certain area, it is possible to surely express the gradation corresponding to the area of the table. However, in this method, the resolution depends on the size of the table, that is, since a fixed two-dimensional table is used regardless of the pixel density, the horizontal resolution is the width of the table, and the vertical resolution is the height of the table. There was a problem that it decreased by minutes.

【0003】また、他の方法として、誤差拡散法(文献
「loyd.R.W.and L.Steinberg:Adoptive algorithm for
spatial grey scale,SID Int.Sym.Digest of Tech Pap
ers36.37.1975」参照)が知られているが、この方法
は、入力側画素濃度および該入力側画素濃度と閾値との
比較の結果として出力される出力側の画素濃度との濃度
差を演算し、この差を特定の重み付けを施した後に近傍
の画素に分配していくものであって、実質解像度は低下
せず高品位な出力が可能な疑似階調表現方法である。表
1は、この方法において現在処理している画素(x,
y)の誤差を近傍の画素へ配分する際の重み、即ち、誤
差拡散係数についての実例であって、前記文献で提案さ
れたものである。
As another method, an error diffusion method (referred to in the document "loyd. RWand L. Steinberg: Adoptive algorithm for
spatial gray scale, SID Int.Sym.Digest of Tech Pap
ers36.37.1975 ") is known, but this method calculates the input pixel density and the density difference between the output pixel density output as a result of comparing the input pixel density with the threshold value. This difference is distributed to neighboring pixels after a specific weight is given, and this is a pseudo gradation expression method capable of high-quality output without substantially lowering the resolution. Table 1 shows that the pixel (x,
This is an actual example of the weight at the time of distributing the error of y) to the neighboring pixels, that is, the error diffusion coefficient, which has been proposed in the above-mentioned literature.

【0004】[0004]

【表1】 [Table 1]

【0005】しかしながら、この方法によるときには、
近傍画素への濃度誤差の配分割合が常に一定の位置関係
に保持されているためノイズ模様をつくる問題点があ
り、この問題を解決するため、従来から、例えば、複数
の補正誤差配分係数セットを用意し、それを無作意に選
択して集積誤差を演算することにより、注目画素の周辺
画素に対する誤差の配分割合が一定の相対的関係になら
ないようにしたもの(特開昭64−18369号公報,
参照)、重み付け係数に無作意に選択された変動値を加
えて前記係数を変動させるとともに画素値の主走査方向
を行毎に左右逆転させるもの(米国特許第495506
5号明細書,参照)、さらに、多値化されたデータのレ
ベルに応じて、誤差拡散係数のデータ領域マトリックス
サイズを切り替え(例えば、前記データが灰色レベルの
時は小さいマトリックスを選択し、それ以外のときは大
きなマトリックスを選択する)、そのマトリックスに基
づいて誤差を拡散させ、画像に周期的な構造ができるの
を防止したもの(特開平1−157166号公報,参
照)が知られている。
However, when using this method,
Since the distribution ratio of the density error to the neighboring pixels is always kept in a fixed positional relationship, there is a problem of creating a noise pattern.To solve this problem, conventionally, for example, a plurality of correction error distribution coefficient sets have been used. It is prepared such that the distribution ratio of the error to the peripheral pixels of the target pixel does not have a fixed relative relationship by randomly selecting the selected error and calculating the integration error (Japanese Patent Application Laid-Open No. 64-18369). Gazette,
(See U.S. Pat. No. 4,955,506.) A method in which a randomly selected variation value is added to a weighting coefficient to vary the coefficient, and the main scanning direction of pixel values is reversed left and right for each row.
Further, according to the level of the multi-valued data, the data area matrix size of the error diffusion coefficient is switched (for example, when the data is a gray level, a small matrix is selected. Otherwise, a large matrix is selected), and an error is diffused based on the matrix to prevent a periodic structure from being formed in the image (see JP-A-1-157166). .

【0006】[0006]

【発明が解決しようとする課題】このように、従来の誤
差拡散法では、前記ノイズ模様の発生、即ち、濃度が徐
々に上がるあるいは下がっていくグラデーション画像の
ハイライト部においては、ある程度誤差が蓄積されたラ
インは近傍の画素もドットがオンになりやすいため、主
走査方向に帯状の模様(以下、尾引き現象という)が生
じるという問題があり、さらに、この問題に加え、濃度
が低いハイライト領域では、誤差拡散法の特性上、数ラ
イン分の誤差が蓄積されないとドットがオンにならない
ため、誤差が負になりやすいエッジ部では、白く抜け、
ふちどりをしたような画像になる(以下、立ち後れ現象
という)という問題があった。
As described above, in the conventional error diffusion method, errors are accumulated to some extent in the occurrence of the noise pattern, that is, in a highlight portion of a gradation image whose density gradually increases or decreases. In addition to the above problem, in the main line, there is a problem that a band-like pattern (hereinafter, referred to as a tailing phenomenon) occurs in the main scanning direction because dots are easily turned on. In the area, dots are not turned on unless errors for several lines are accumulated, due to the characteristics of the error diffusion method.
There is a problem that an image looks like a frame (hereinafter, referred to as a trailing phenomenon).

【0007】従って、本願発明は、先ず上記した従来の
誤差拡散法による問題を解決し、画質を向上させること
を課題とする。さらに、後述の請求項1の発明の誤差拡
散係数をそのままハイライト部以外の画像を含んだ、例
えば、グラデーション画像に適用させると、ミドルトー
ン部との境界に筋が入る副作用が認められるので、本発
明のもう1つの課題は、この副作用を解消することであ
って、これにより階調を滑らかにし、かつ、画質の向上
を図るものである。
Accordingly, an object of the present invention is to solve the above-mentioned problem of the conventional error diffusion method and improve the image quality. Further, when the error diffusion coefficient of the invention of claim 1 described below is directly applied to a gradation image including an image other than the highlight portion, a side effect of streaking at the boundary with the middle tone portion is recognized, Another object of the present invention is to eliminate this side effect, and to achieve a smooth gradation and an improved image quality.

【0008】[0008]

【課題を解決するための手段】本発明は、前記した問題
を解決するため、従来のものと異なり、原画像の濃度に
応じてそれぞれ重み付けの割合を変えた誤差拡散係数を
適用し、それによって誤差拡散処理を行うものである。
In order to solve the above-mentioned problem, the present invention is different from the conventional one in that an error diffusion coefficient is applied in which the weighting ratio is changed according to the density of the original image. The error diffusion process is performed.

【0009】請求項1の発明は、多階調データを誤差拡
散法により2値化する2値化画像処理方法において、ハ
イライト部の主走査方向の誤差拡散係数を副走査方向の
誤差拡散係数の総和より大きく配分した誤差拡散係数を
適用して誤差拡散処理を行うことによりハイライト部の
画質を効率よく向上させるものである。
According to a first aspect of the present invention, there is provided a binarized image processing method for binarizing multi-tone data by an error diffusion method, wherein an error diffusion coefficient of a highlight portion in a main scanning direction is changed to an error diffusion coefficient of a sub scanning direction. The image quality of the highlight portion is efficiently improved by performing the error diffusion process by applying the error diffusion coefficient distributed more than the sum of the above.

【0010】請求項2の発明は、多階調データを誤差拡
散法により2値化する2値化画像処理方法において、ハ
イライト部の終わりからミドルトーン部の始まりの部分
における誤差拡散係数を、ハイライト部とミドルトーン
部の誤差拡散係数の中間値とし、該誤差拡散係数を適用
して誤差拡散処理を行うことにより、階調をなめらかに
表現し画質を効率よく向上させるようにしたものであ
る。
According to a second aspect of the present invention, in the binarized image processing method for binarizing multi-tone data by an error diffusion method, an error diffusion coefficient in a portion from the end of a highlight portion to the start of a middle tone portion is calculated by: The error diffusion coefficient is set to an intermediate value between the highlight part and the middle tone part, and the error diffusion coefficient is applied to perform the error diffusion processing, so that the gradation is smoothly expressed and the image quality is efficiently improved. is there.

【0011】請求項3の発明は、多階調データを誤差拡
散法により2値化する2値化画像処理方法において、元
画像の階調データを階調値に従ってハイライト部、ハイ
ライト部の終わりからミドルトーン部の始まり部分、及
びミドルトーン部以降の3段階に振り分け、ハイライト
部では主走査方向の誤差拡散係数を副走査方向の誤差拡
散係数の総和より大きく配分した誤差拡散係数を、ハイ
ライト部の終わりからミドルトーン部の始まりの部分で
は、ハイライト部とミドルトーン部の誤差拡散係数の中
間値の誤差拡散係数を、また、ミドルトーン部以降では
ミドルトーン部の誤差拡散係数を取得し、前記振り分け
られた階調データにそれぞれ前記取得された誤差拡散係
数を適用して誤差拡散処理を施すことにより、階調をな
めらかに表現し画質を効率よく向上させるようにしたも
のである。
According to a third aspect of the present invention, there is provided a binary image processing method for binarizing multi-tone data by an error diffusion method, wherein the tone data of the original image is highlighted in accordance with the tone value. From the end, the beginning part of the middle tone part and the three steps after the middle tone part, the highlight part distributes the error diffusion coefficient in the main scanning direction larger than the sum of the error diffusion coefficients in the sub-scanning direction, In the part from the end of the highlight part to the beginning of the middle tone part, the error diffusion coefficient of the intermediate value between the error diffusion coefficient of the highlight part and the middle tone part, and the error diffusion coefficient of the middle tone part after the middle tone part The obtained gradation data is subjected to error diffusion processing by applying the obtained error diffusion coefficients to the divided gradation data, so that the gradation is smoothly expressed and displayed. The is obtained so as to improve efficiency.

【0012】請求項4の発明は、多階調データを誤差拡
散法により2値化する2値化画像処理装置において、元
画像の階調データを階調値に従ってハイライト部、ハイ
ライト部の終わりからミドルトーン部の始まりの部分、
及びミドルトーン部以降の3段階に振り分ける階調振り
分け回路,ハイライト部には主走査方向の誤差拡散係数
を副走査方向の誤差拡散係数の総和より大きく配分した
誤差拡散係数の総和より大きく配分した誤差拡散係数
を、ハイライト部の終わりからミドルトーン部の始まり
の部分には、ハイライト部とミドルトーン部の誤差拡散
係数の中間値の誤差拡散係数を、ミドルトーン部以降に
はミドルトーン部の誤差拡散係数をそれぞれ取得する誤
差拡散係数取得回路、前記階調振り分け回路により振り
分けられた階調データにそれぞれ前記誤差拡散係数取得
回路により取得された誤差拡散係数を適用して誤差拡散
処理を施す誤差拡散処理部を具備し、階調をなめらかに
表現し画質を効率よく向上させるようにしたものであ
る。
According to a fourth aspect of the present invention, there is provided a binarized image processing apparatus for binarizing multi-tone data by an error diffusion method, wherein a tone portion of an original image is highlighted in accordance with a tone value. From the end to the beginning of the middle tone section,
And a tone distribution circuit for distributing into three stages after the middle tone portion, and in the highlight portion, the error diffusion coefficient in the main scanning direction is distributed more than the sum of the error diffusion coefficients in the sub-scanning direction. The error diffusion coefficient, the error diffusion coefficient of the intermediate value of the error diffusion coefficient of the highlight part and the middle tone part in the part from the end of the highlight part to the beginning of the middle tone part, and the middle tone part after the middle tone part An error diffusion coefficient acquisition circuit for acquiring the error diffusion coefficient of each of the above, and an error diffusion process is performed by applying the error diffusion coefficient acquired by the error diffusion coefficient acquisition circuit to each of the gradation data distributed by the gradation distribution circuit. An error diffusion processing unit is provided so that gradation is smoothly expressed and image quality is efficiently improved.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施の形態を詳細
に説明する。表2は、誤差拡散法についての前記文献で
提案された前記誤差拡散係数(表1)を適用したときの
蓄積誤差の具体例を示したものであって、最大濃度25
5,濃度3%(8/256)で領域を均一に塗りつぶし
た場合の16×16のある領域の蓄積誤差を算出したも
のである。表中の網かけをした部分はその誤差値が閾値
を越えた箇所であり、この画素が実際に描画されること
となる。
Embodiments of the present invention will be described below in detail. Table 2 shows a specific example of the accumulated error when the error diffusion coefficient (Table 1) proposed in the literature for the error diffusion method is applied.
5, the accumulation error of a certain 16 × 16 area when the area is uniformly filled with a density of 3% (8/256). The shaded portion in the table is the portion where the error value exceeds the threshold, and this pixel is actually drawn.

【0014】[0014]

【表2】 [Table 2]

【0015】そして、この表2から以下の事項が明かと
なる。即ち、 (1)蓄積誤差が閾値を越えてオンになっている画素
は、3行目に集中している(これが尾引き現象の原因で
ある)。 (2)3行目以降9行目までは画素がオンにならない
(これが立ち遅れ現象の原因である)。 ここで、蓄積誤差が閾値を越えた場合、つまり、画素が
オンになると最大濃度が出力され、誤差は閾値と比較さ
れる比較器への入力側の濃度から出力側の最大濃度を引
いた値となるから、ハイライト部ではこの誤差は大きな
負の値になりやすい。そして、誤差が負になった場合、
前記で提案された係数でみると、それは、副走査方向に
は全体で9/16の比率で分配されてから次の行の誤差
はそれまでの誤差よりかなり小さな値となり、それが再
び閾値に達するまでに数行分の誤差を蓄積しなければな
らない。これが立ち遅れ現象の原因であると考えられ
る。表2の4行目から8行目の間はこの典型的な例であ
る。
From Table 2, the following matters become clear. That is, (1) Pixels for which the accumulated error exceeds the threshold value and are turned on are concentrated in the third row (this is the cause of the tailing phenomenon). (2) The pixels are not turned on from the third row to the ninth row (this is the cause of the lag phenomenon). Here, when the accumulated error exceeds the threshold value, that is, when the pixel is turned on, the maximum density is output, and the error is a value obtained by subtracting the maximum density on the output side from the density on the input side to the comparator to be compared with the threshold value. Therefore, this error tends to be a large negative value in the highlight portion. And if the error is negative,
From the viewpoint of the coefficients proposed above, it can be seen that, after being distributed in the sub-scanning direction at a ratio of 9/16 as a whole, the error of the next row becomes much smaller than the previous error, which is again set to the threshold value. Several rows of errors must be accumulated before reaching. This is considered to be the cause of the lag phenomenon. Tables 2 to 4 show typical examples of this.

【0016】他方、その誤差は右側の画素には7/16
の比率でしか拡散されないため、数画素先ではこの負の
効果が薄れ、閾値近傍で定常化している正の誤差と相殺
され再び閾値を越えて画素がオンになってしまう。これ
が尾引き現象の原因であると考えられる。つまり、尾引
き現象と立ち遅れ現象の発生はいずれも誤差拡散係数の
主走査方向と副走査方向における分配率にその原因があ
るということができる。
On the other hand, the error is 7/16 in the right pixel.
, The negative effect is weakened a few pixels ahead, and is offset by the positive error that has become stationary near the threshold value, so that the pixel is turned on again after exceeding the threshold value. This is considered to be the cause of the tailing phenomenon. In other words, it can be said that the occurrence of the trailing phenomenon and the lagging phenomenon are both caused by the distribution ratio of the error diffusion coefficient in the main scanning direction and the sub scanning direction.

【0017】こうしたことから、(1)閾値を越えた後
の負の誤差を右側に多く分配すれば負の効果が保たれる
から、近隣の画素が閾値を越える確率も低くなり、か
つ、(2)前記誤差の副走査方向の分配率を少なくすれ
ば、負の効果が薄れ閾値に達するタイミングが早まるか
ら、請求項1の発明は、この点に注目して従来の誤差分
配係数の重み付けについて主走査方向の重み付けを副走
査方向のそれより大きくして前記課題を解決するように
したのである。
From the above, (1) If a large amount of negative error after the threshold value is exceeded is distributed to the right side, the negative effect is maintained, so that the probability of neighboring pixels exceeding the threshold value is reduced, and ( 2) If the distribution ratio of the error in the sub-scanning direction is reduced, the timing at which the negative effect fades and the threshold value is reached is advanced, and the invention of claim 1 focuses on this point and describes the conventional weighting of the error distribution coefficient. The above-mentioned problem is solved by making the weight in the main scanning direction larger than that in the sub-scanning direction.

【0018】表3は、請求項1の発明の誤差分配係数の
一実施例を示したものである。
Table 3 shows an embodiment of the error distribution coefficient according to the first aspect of the present invention.

【0019】[0019]

【表3】 [Table 3]

【0020】表3に示すとおり、従来の3×2の誤差拡
散係数の主走査方向(7/16)と副走査方向(3/1
6+5/16+1/16=9/16)との分配率の関係
は、本実施例で(10/16)と(1/16+4/16
+1/16=6/16)とし、逆転されている。
As shown in Table 3, the conventional 3 × 2 error diffusion coefficient has a main scanning direction (7/16) and a sub-scanning direction (3/1).
6 + 5/16 + 1/16 = 9/16), the relationship between (10/16) and (1/16 + 4/16) in the present embodiment.
+ 1/16 = 6/16), which is reversed.

【0021】表4は、この係数を適用して、前と同様に
ハイライト部で均一に描画した場合の蓄積誤差を示した
ものである。表4から明らかなように、請求項1の発明
によれば、累積誤差の値が閾値を越えた画素、つまり、
オン状態の画素の分布は均一になっており、従って、尾
引き現象と立ち遅れ現象は抑制されている。なお、ミド
ルトーン部以降については、従来の表1に示す係数を適
用することができる。
Table 4 shows the accumulated errors when this coefficient is applied and uniform drawing is performed in the highlight portion as before. As is clear from Table 4, according to the first aspect of the present invention, pixels whose accumulated error value exceeds the threshold value, that is,
The distribution of the pixels in the ON state is uniform, so that the tailing phenomenon and the lagging phenomenon are suppressed. Note that, for the middle tone portion and thereafter, the conventional coefficients shown in Table 1 can be applied.

【0022】[0022]

【表4】 [Table 4]

【0023】請求項1の発明によれば、係数の個数は従
来のものと同じく3×2であるから、本発明の誤差拡散
処理のための特別なメモリ回路や演算処理は不要であ
り、そのため極めて効率的に画質を向上させることがで
きる。
According to the first aspect of the present invention, the number of coefficients is 3 × 2 as in the prior art, so that a special memory circuit and arithmetic processing for the error diffusion processing of the present invention are not required. The image quality can be improved extremely efficiently.

【0024】ところで、請求項1の発明は、ハイライト
部の誤差拡散係数に関するものであるが、これをそのま
まハイライト部以外の画像を含んだ、例えば、グラデー
ション画像に適用すると、ミドルトーンとの境界に筋が
入る副作用が生じる。
By the way, the invention of claim 1 relates to the error diffusion coefficient of the highlight portion, but when this is applied to an image other than the highlight portion as it is, for example, to a gradation image, the difference between the image and the middle tone is obtained. Side effects of streaking at the border occur.

【0025】その理由は、(1)主走査方向の誤差分配
率は前記文献で提案されたものと異なり、それより大き
いから、ハイライト部からミドルトーン部へ移動する場
合、境界上の誤差は少なくなる傾向が生じ、白抜けが発
生しやすいこと、(2)ミドルトーン部からハイライト
部へ移行する場合、境界上の誤差は多くなる傾向が生じ
て横筋が発生しやすいこと、によるものであると考えら
れる。
The reasons are as follows: (1) Since the error distribution ratio in the main scanning direction is different from that proposed in the above-mentioned document and is larger than that, the error on the boundary when moving from the highlight portion to the middle tone portion is reduced. (2) When shifting from the middle tone portion to the highlight portion, errors on the boundary tend to increase and horizontal streaks are likely to occur. It is believed that there is.

【0026】従って、この問題を解決するには、ハイラ
イト部の終わりからミドルトーン部の始まりの部分につ
いては、双方の誤差拡散係数の中間値を誤差拡散係数と
して適用することが有効であるといえる。
Therefore, in order to solve this problem, it is effective to apply the intermediate value of the two error diffusion coefficients as the error diffusion coefficient from the end of the highlight part to the start of the middle tone part. I can say.

【0027】請求項2の発明は、この点に注目してハイ
ライト部においては、ハイライト部に対応した前記誤差
拡散係数を適用し、かつ、ハイライト部の終わりからミ
ドルトーン部の始まりの部分については、双方の誤差拡
散係数の中間値を誤差拡散係数として適用することとし
た。これによって、ハイライト以外の階調を含んだ画像
においても画像の特性にかかわらず、階調がなめらかで
かつ均一な高画質出力を得ることが可能となった。
According to the invention of claim 2, paying attention to this point, in the highlight portion, the error diffusion coefficient corresponding to the highlight portion is applied, and the middle portion of the middle tone portion is started from the end of the highlight portion. For the part, the intermediate value of both error diffusion coefficients was applied as the error diffusion coefficient. As a result, even in an image including a gradation other than the highlight, it is possible to obtain a high-quality output in which the gradation is smooth and uniform, regardless of the characteristics of the image.

【0028】表5は、請求項2の発明の誤差拡散係数の
一実施例を示すものであって、ハイライト部には表3の
係数を、また、ミドルトーン部以降には、表1の係数を
適用した場合における、ハイライト部の終わりからミド
ルトーン部の始まる部分で有効な誤差拡散係数の一例を
示すものである。なお、ここに例示したもの以外のもの
も考えられることは言うまでもない。
Table 5 shows an embodiment of the error diffusion coefficient according to the second aspect of the present invention. The coefficient shown in Table 3 is used for a highlight part, and the coefficient shown in Table 1 is used for a middle tone part and thereafter. 9 shows an example of an error diffusion coefficient effective in a portion where a middle tone portion starts from the end of a highlight portion when a coefficient is applied. It goes without saying that things other than those exemplified here are also conceivable.

【0029】[0029]

【表5】 [Table 5]

【0030】次に、図1に従って、本発明による画像処
理装置の実施例について説明する。1は元画像の階調デ
ータである。2はこの階調データを階調値に従ってハイ
ライト部、ハイライト部の終わりからミドルトーン部の
始まりの部分、及びミドルトーン部以降の3つに振り分
ける階調振り分け回路であり、具体的には、例えば、最
高濃度を255とした場合、濃度8以下をハイライト
部、濃度16以下をハイライト部の終わりからミドルト
ーン部の始まり部分、それ以上をミドルトーン部に振り
分ける回路である。また、3は誤差拡散係数取得回路で
あり、前記階調値に従って振り分けられた階調データ
は、ここでそれぞれ別々の誤差拡散係数、具体的には、
表3,表5,表1に示した係数を取得する。4は誤差拡
散処理部であって、前記取得された誤差拡散係数を適用
して従来の誤差拡散処理を行う。
Next, an embodiment of the image processing apparatus according to the present invention will be described with reference to FIG. Reference numeral 1 denotes gradation data of the original image. Reference numeral 2 denotes a gradation distribution circuit which distributes the gradation data into three parts, a highlight part, a part from the end of the highlight part to the beginning of the middle tone part, and three parts after the middle tone part according to the gradation value. For example, when the maximum density is 255, the circuit distributes a density of 8 or less to a highlight portion, a density of 16 or less from the end of the highlight portion to the start of the middle tone portion, and the higher portion to a middle tone portion. Reference numeral 3 denotes an error diffusion coefficient acquisition circuit, and the grayscale data distributed according to the grayscale values here are different error diffusion coefficients, specifically,
The coefficients shown in Table 3, Table 5, and Table 1 are obtained. An error diffusion processing unit 4 performs a conventional error diffusion process by applying the obtained error diffusion coefficient.

【0031】この画像処理装置に元画像の階調データ1
が入力されると、データ1はその階調値に従って上記振
り分け回路2により、ハイライト部、ハイライト部の終
わりからミドルトーン部の始まり部分及びミドルトーン
部以降の3つに振り分けられ、次に、誤差拡散係数取得
回路3では前記振り分けられた階調データについて、振
り分けられた段階に従ってそれぞれ表3,表5,表1に
示した誤差拡散係数を取得する。そして、振り分けられ
た階調データは、誤差拡散処理部4において、前記それ
ぞれの濃度に対応した誤差拡散係数を適用することによ
り従来の誤差拡散処理が施され、高画質な2値化データ
が得られる。
In this image processing apparatus, the gradation data 1 of the original image
Is input, the data 1 is sorted by the sorting circuit 2 into three from the highlight portion, the end of the highlight portion to the start portion of the middle tone portion, and the middle tone portion according to the gradation value. The error diffusion coefficient obtaining circuit 3 obtains the error diffusion coefficients shown in Tables 3, 5 and 1 for the allocated gradation data in accordance with the allocated stages. The sorted gradation data is subjected to conventional error diffusion processing by applying error diffusion coefficients corresponding to the respective densities in the error diffusion processing unit 4 to obtain high-quality binary data. Can be

【0032】[0032]

【発明の効果】請求項1の発明は、グラデーション画像
のハイライト部における誤差拡散処理にあたり、従来の
誤差分配係数の重み付けについて主走査方向の重み付け
を副走査方向のそれより大きくしたので、従来の方法を
実施する際に生ずるハイライト部における尾引き現象お
よび立ち遅れ現象の発生を抑制することができ、かつ、
請求項2の発明は、ハイライト部の終わりからミドルト
ーン部の始まりの部分については、双方の誤差拡散係数
の中間値を誤差拡散係数として適用するため、ハイライ
ト部分以外の階調も含んだ画像においても画像の特性に
かかわらず階調がなめらかでかつ均一な高画質出力を得
ることが可能となった。また、請求項3乃至4の発明
は、元画像の階調データに応じてハイライト部、ハイラ
イト部の終わりからミドルトーン部の始まり部分および
ミドルトーン部以降の各段階に振り分け、夫々異なる前
記誤差拡散係数を適用して誤差拡散処理を施すようにし
たので、従来の誤差拡散法に見られるような尾引き現象
や立ち遅れが抑制され、かつ、ハイライト部とミドルト
ーン部の境界に筋模様のない高画質な2値化データを得
ることができる。
According to the first aspect of the present invention, the weighting of the conventional error distribution coefficient in the main scanning direction is made larger than that in the sub-scanning direction in the error diffusion processing in the highlight portion of the gradation image. It is possible to suppress the occurrence of a tailing phenomenon and a rise delay phenomenon in a highlight portion which occurs when the method is performed, and
According to the invention of claim 2, since the intermediate value between the two error diffusion coefficients is applied as the error diffusion coefficient from the end of the highlight part to the start of the middle tone part, the gradation other than the highlight part is also included. Regardless of the image characteristics, it is possible to obtain a smooth and uniform high-quality output regardless of the image characteristics. According to the third and fourth aspects of the present invention, according to the gradation data of the original image, the highlight portion, the end portion of the highlight portion, the start portion of the middle tone portion, and the middle tone portion and the subsequent stages are assigned to different stages. The error diffusion process is performed by applying the error diffusion coefficient, which suppresses the tailing phenomenon and lag that occur in the conventional error diffusion method, and also creates a streak pattern at the boundary between the highlight and middle tone areas. It is possible to obtain high-quality binarized data with no image quality.

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

【図1】 本発明による画像処理装置の一実施例を示す
要部ブロック構成図である。
FIG. 1 is a block diagram of a main part showing an embodiment of an image processing apparatus according to the present invention.

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

1… 元画像の階調データ、2…階調振り分け回路、3
…誤差拡散係数取得回路、4…誤差拡散処理部、5…2
値化データ。
1 ... gradation data of original image, 2 ... gradation distribution circuit, 3
... Error diffusion coefficient acquisition circuit, 4 ... Error diffusion processing unit, 5 ... 2
Value data.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 多階調データを誤差拡散法により2値化
する2値化画像処理方法において、ハイライト部の主走
査方向の誤差拡散係数を副走査方向の誤差拡散係数の総
和より大きく配分した誤差拡散係数を適用して誤差拡散
処理を行うことにより、ハイライト部の画質を効率よく
向上させるようにしたことを特徴とする2値化画像処理
方法。
In a binarized image processing method for binarizing multi-tone data by an error diffusion method, an error diffusion coefficient in a main scanning direction of a highlight portion is distributed to be larger than a sum of error diffusion coefficients in a sub scanning direction. A binarized image processing method characterized in that the image quality of a highlight portion is efficiently improved by performing an error diffusion process by applying the error diffusion coefficient thus obtained.
【請求項2】 多階調データを誤差拡散法により2値化
する2値化画像処理方法において、ハイライト部の終わ
りからミドルトーン部の始まりの部分における誤差拡散
係数を、ハイライト部とミドルトーン部の誤差拡散係数
の中間値とし、該誤差拡散係数を適用して誤差拡散処理
を行うことにより、階調をなめらかに表現し画質を効率
よく向上させるようにしたことを特徴とする2値化画像
処理方法。
2. A binary image processing method for binarizing multi-tone data by an error diffusion method, wherein an error diffusion coefficient in a portion from the end of a highlight portion to the start of a middle tone portion is determined by comparing the error diffusion coefficient between the highlight portion and the middle portion. A two-valued binary image processing method wherein an intermediate value of an error diffusion coefficient of a tone portion is used, and the error diffusion coefficient is applied to perform an error diffusion process, so that gradation is smoothly expressed and image quality is efficiently improved. Image processing method.
【請求項3】 多階調データを誤差拡散法により2値化
する2値化画像処理方法において、元画像の階調データ
を階調値に従ってハイライト部、ハイライト部の終わり
からミドルトーン部の始まりの部分、及びミドルトーン
部以降の3段階に振り分け、ハイライト部では主走査方
向の誤差拡散係数を副走査方向の誤差拡散係数の総和よ
り大きく配分した誤差拡散係数を、ハイライト部の終わ
りからミドルトーン部の始まりの部分では、ハイライト
部とミドルトーン部の誤差拡散係数の中間値の誤差拡散
係数を、また、ミドルトーン部以降ではミドルトーン部
の誤差拡散係数を取得し、前記振り分けられた階調デー
タにそれぞれ前記取得された誤差拡散係数を適用して誤
差拡散処理を施すことにより、階調をなめらかに表現し
画質を効率よく向上させるようにしたことを特徴とする
2値化画像処理方法。
3. A binarized image processing method for binarizing multi-tone data by an error diffusion method, wherein a tone portion of an original image is highlighted according to a tone value, and a middle tone portion from the end of the highlight portion. At the beginning of the image and the middle tone part, and in the highlight part, the error diffusion coefficient obtained by distributing the error diffusion coefficient in the main scanning direction larger than the sum of the error diffusion coefficients in the sub-scanning direction is assigned to the highlight part. From the end to the beginning of the middle tone portion, obtain the error diffusion coefficient of the intermediate value of the error diffusion coefficient of the highlight portion and the middle tone portion, and obtain the error diffusion coefficient of the middle tone portion after the middle tone portion. The obtained error diffusion coefficient is applied to the divided gradation data to perform an error diffusion process, so that the gradation is smoothly expressed and the image quality is efficiently improved. A binarized image processing method, characterized in that:
【請求項4】 多階調データを誤差拡散法により2値化
する2値化画像処理装置において、元画像の階調データ
を階調値に従ってハイライト部、ハイライト部の終わり
からミドルトーン部の始まりの部分、及びミドルトーン
部以降の3段階に振り分ける階調振り分け回路,ハイラ
イト部には主走査方向の誤差拡散係数を副走査方向の誤
差拡散係数の総和より大きく配分した誤差拡散係数の総
和より大きく配分した誤差拡散係数を、ハイライト部の
終わりからミドルトーン部の始まりの部分には、ハイラ
イト部とミドルトーン部の誤差拡散係数の中間値の誤差
拡散係数を、ミドルトーン部以降にはミドルトーン部の
誤差拡散係数をそれぞれ取得する誤差拡散係数取得回
路、前記階調振り分け回路により振り分けられた階調デ
ータにそれぞれ前記誤差拡散係数取得回路により取得さ
れた誤差拡散係数を適用して誤差拡散処理を施す誤差拡
散処理部を具備し、階調をなめらかに表現し画質を効率
よく向上させることを特徴とする2値化画像処理装置。
4. A binary image processing apparatus for binarizing multi-tone data by an error diffusion method, wherein a tone portion of an original image is highlighted according to a tone value, and a middle tone portion from the end of the highlight portion. And a tone distribution circuit that distributes the error diffusion coefficients in the main scanning direction to the three stages after the middle tone portion. The error diffusion coefficients in the main scanning direction are larger than the sum of the error diffusion coefficients in the sub-scanning direction. From the end of the highlight part to the beginning of the middle tone part, the error diffusion coefficient distributed larger than the sum is the error diffusion coefficient of the intermediate value of the error diffusion coefficient of the highlight part and the middle tone part, and the middle tone part and subsequent parts. The error diffusion coefficient acquisition circuit for acquiring the error diffusion coefficient of the middle tone portion, and the erroneous grayscale data allocated by the grayscale distribution circuit. Binarization characterized by comprising an error diffusion processing unit for performing an error diffusion process by applying an error diffusion coefficient acquired by a difference diffusion coefficient acquisition circuit, to smoothly express gradation and improve image quality efficiently. Image processing device.
JP9003917A 1997-01-13 1997-01-13 Binarizing image processing method for multi-gradation data and image processing unit adopting the method Pending JPH10200742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9003917A JPH10200742A (en) 1997-01-13 1997-01-13 Binarizing image processing method for multi-gradation data and image processing unit adopting the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9003917A JPH10200742A (en) 1997-01-13 1997-01-13 Binarizing image processing method for multi-gradation data and image processing unit adopting the method

Publications (1)

Publication Number Publication Date
JPH10200742A true JPH10200742A (en) 1998-07-31

Family

ID=11570523

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9003917A Pending JPH10200742A (en) 1997-01-13 1997-01-13 Binarizing image processing method for multi-gradation data and image processing unit adopting the method

Country Status (1)

Country Link
JP (1) JPH10200742A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7265874B2 (en) 2002-04-10 2007-09-04 Canon Kabushiki Kaisha Image processing apparatus and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7265874B2 (en) 2002-04-10 2007-09-04 Canon Kabushiki Kaisha Image processing apparatus and method
US7889394B2 (en) 2002-04-10 2011-02-15 Canon Kabushiki Kaisha Image processing apparatus and method

Similar Documents

Publication Publication Date Title
US6333793B1 (en) Image quality in error diffusion scheme
JPH10200742A (en) Binarizing image processing method for multi-gradation data and image processing unit adopting the method
JP4068181B2 (en) Multilevel gradation pixel value level reduction method and system
JP3834901B2 (en) Method for binarizing halftone images
KR100251551B1 (en) Non-casual error diffusion for digital image quantization
JP3431779B2 (en) Threshold value matrix error diffusion binarization method and computer system
JP3431778B2 (en) Threshold value matrix error diffusion binarization method and computer system
JP3431780B2 (en) Threshold value matrix error diffusion binarization method and computer system
US7336390B2 (en) Method and apparatus for reducing multi-bit image data
JP4537211B2 (en) Image processing apparatus, image processing method, program causing computer to execute the method, image forming apparatus, and computer-readable recording medium recording the program
JP2000270210A (en) Picture processor
KR100321299B1 (en) Adaptive Error Diffusion Method Based on High Pass Filtering
JP4469511B2 (en) Image processing method
JP2608404B2 (en) Image processing device
JP2810395B2 (en) Image processing device
JPH08168004A (en) Device and method for processing image
JPH08321949A (en) Binarization processing method for intermediate tone image
JPH02210960A (en) Picture processor
JP3740732B2 (en) Dither matrix creation method
KR100547102B1 (en) Adaptive error diffusion method based on the interval of black pixels
JP2644491B2 (en) Image processing device
JP2644492B2 (en) Image processing device
JP4798860B2 (en) Image processing method
JPH09214760A (en) Picture data binarizing device
JPH10191038A (en) Multi-valued image binarization method