JP2857906B2 - Halftone binarization processor - Google Patents

Halftone binarization processor

Info

Publication number
JP2857906B2
JP2857906B2 JP2038463A JP3846390A JP2857906B2 JP 2857906 B2 JP2857906 B2 JP 2857906B2 JP 2038463 A JP2038463 A JP 2038463A JP 3846390 A JP3846390 A JP 3846390A JP 2857906 B2 JP2857906 B2 JP 2857906B2
Authority
JP
Japan
Prior art keywords
data
pixel data
edge
pixel
coefficient
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
JP2038463A
Other languages
Japanese (ja)
Other versions
JPH03243059A (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.)
KASHIO KEISANKI KK
Original Assignee
KASHIO KEISANKI KK
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 KASHIO KEISANKI KK filed Critical KASHIO KEISANKI KK
Priority to JP2038463A priority Critical patent/JP2857906B2/en
Publication of JPH03243059A publication Critical patent/JPH03243059A/en
Application granted granted Critical
Publication of JP2857906B2 publication Critical patent/JP2857906B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Color, Gradation (AREA)
  • 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 a halftone binarization processing device used in, for example, a facsimile machine.

[従来の技術] 従来、ファクシミリ装置により受信した画像は、白画
素と黒画素のみにより表現されるため、画像の白部分と
黒部分が強調され過ぎ質的に見ると、かなり見劣りする
ものであった。そこで、最近になって、各画素を示すデ
ータを複数ビットで構成して複数の階調を持たせ、階調
にしたがい白画素および黒画素の出現頻度を変化させる
ことにより中間調を再現可能し、画像の品質を飛躍的に
向上させるようにしたものがある。
[Prior Art] Conventionally, an image received by a facsimile apparatus is represented only by white pixels and black pixels, and therefore, when the white and black portions of the image are emphasized too much, they are considerably inferior when viewed qualitatively. Was. Therefore, recently, it has been possible to reproduce halftones by forming data indicating each pixel with a plurality of bits to have a plurality of gradations and changing the appearance frequency of white pixels and black pixels according to the gradations. In some cases, the quality of an image is dramatically improved.

ところで、このような疑似中間調で構成される画像
は、例えば、白に近い領域中に小さなレベル差を盛った
他の白領域が存在するような場合、画像を出力した際に
領域間の変化が明確でなくなる、いわゆる白つぶれ現象
を生じ、同様に、黒領域中にレベルの差の小さな異なる
他の黒領域が存在するような場合も、プリント出力した
時にこれら領域間の変化が明確でなくなる、黒つぶれ現
象を生じるなど、画像レベルの変化箇所の表現が十分で
なくなり、画像品質の劣化を招く傾向があった。
By the way, in the case of an image composed of such a pseudo halftone, for example, when there is another white region having a small level difference in a region close to white, a change between regions when the image is output is obtained. Is also not clear, that is, a so-called underexposure phenomenon occurs. Similarly, when there is another black area having a small level difference in the black area, the change between these areas becomes unclear when printed out. For example, a change in image level is not sufficiently expressed, for example, a blackout phenomenon occurs, and the image quality tends to deteriorate.

[発明が解決しようとする課題] このように従来の疑似中間調で構成される画像出力に
ついては、白に近い領域および黒に近い領域でレベル差
の小さな領域が存在すると、これら領域間での画像レベ
ルの変化の表現を十分にできない傾向があり、再生画像
の品質が十分でない欠点があった。
[Problems to be Solved by the Invention] As described above, in the conventional image output composed of pseudo halftones, if there is a region having a small level difference between a region close to white and a region close to black, the region between these regions is reduced. There is a tendency that the change of the image level cannot be sufficiently expressed, and the quality of the reproduced image is not sufficient.

本発明は、上記事情に鑑みてなされたもので、白に近
い領域および黒に近い領域での画像レベルの変化箇所を
強調して表現することができる中間調の2値化処理装置
を提供することを目的とする。
The present invention has been made in view of the above circumstances, and provides a halftone binarization processing apparatus capable of emphasizing and expressing image level changes in a region close to white and a region close to black. The purpose is to:

[課題を解決するための手段] 本発明の中間調の2値化処理装置は、中間調の入力画
像信号をアナログ・デジタル変換して多値の画像データ
に量子化するとともに、この量子化されたデータを記憶
手段に記憶し、この記憶手段より1つの画素データを指
定するとともに、この指定画素の周囲の画素データの値
の平均値を演算し、この演算された平均値が白領域レベ
ル又は黒領域レベルに近い所定のレベル領域内にあると
きは、上記所定のレベル領域外にある場合より大きなエ
ッジ強調度を上記指定された画素データに対して決定
し、この決定されたエッジ強調度に基づいて上記指定画
素データについてエッジ強調処理を行ない、このエッジ
強調された画素データを2値化するようにしたものであ
る。
[Means for Solving the Problems] A halftone binarization processing device according to the present invention performs analog-to-digital conversion of a halftone input image signal to quantize it into multi-valued image data. The stored data is stored in the storage means, one pixel data is designated from the storage means, and the average value of the pixel data values around the designated pixel is calculated, and the calculated average value is the white area level or When it is within a predetermined level area close to the black area level, a larger edge enhancement degree is determined for the specified pixel data than when it is outside the predetermined level area. The edge emphasizing process is performed on the designated pixel data on the basis of the specified pixel data, and the edge-emphasized pixel data is binarized.

[作 用] 本発明の中間調の2値化処理装置によれば、指定画素
周囲の画素データにより決定されるエッジ強調度により
画像レベルの変化を強調して表現できるようになるの
で、白領域または黒領域中にレベルの異なる他の領域が
存在するような場合も、これら領域間でエッジ箇所を強
調して表現できるようになり、再生画像上での、いわゆ
る白つぶれ、または黒つぶれなどの現象を回避でき、良
質な画像が得られる。
[Operation] According to the halftone binarization processing device of the present invention, a change in image level can be emphasized and expressed by an edge emphasis degree determined by pixel data around a designated pixel. Alternatively, even in the case where another region having a different level exists in the black region, the edge portion can be emphasized and expressed between these regions, and so-called white loss or black loss on the reproduced image. The phenomenon can be avoided, and a high-quality image can be obtained.

[実施例] 以下、本発明の一実施例を図面にしたがい説明する。Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は、同実施例の回路構成を示すものである。図
において、1は図示しない原稿を読み取るスキャナで、
このスキャナ1は主走査方向に1ラインずつ原稿の読み
取り行い各画素データをアナログ信号で出力するように
している。そして、このスキャナ1の出力は、A/D変換
器2に送られデジタル信号に変換される。この場合、A/
D変換器2は、それぞれの1画素について、8ビットよ
りなる0〜255の多値の画像データとして出力するよう
になっている。
FIG. 1 shows a circuit configuration of the embodiment. In the figure, reference numeral 1 denotes a scanner for reading a document (not shown),
The scanner 1 reads an original line by line in the main scanning direction and outputs each pixel data as an analog signal. The output of the scanner 1 is sent to an A / D converter 2 and converted into a digital signal. In this case, A /
The D converter 2 outputs 8-bit multivalued image data of 0 to 255 for each one pixel.

A/D変換器2の出力は、メモリ3に送られる。このメ
モリ3は、1画素1バイトで記憶するもので、少なくと
も3ライン分の画素データを記憶可能にしている。
The output of the A / D converter 2 is sent to the memory 3. The memory 3 stores one byte per pixel, and is capable of storing at least three lines of pixel data.

メモリ3の出力は、エッジ強調回路4に送られる。 The output of the memory 3 is sent to the edge enhancement circuit 4.

ここで、エッジ強調回路4は、第2図に示すように構
成している。エッジ強調処理においては、メモリ3は、
アドレス制御部31のアドレス指定に応じて第3図(a)
に示すように3ラインにわたってエッジ強調される画素
(i、j)を中心に(i−1、j)、(i、j−1)、
(i、j+1)、(i+1、j)より合計5画素分のデ
ータを読み出すようになっている。そして、これら画素
データfのうち中心の画素データf(i、j)をラッチ
41に与え、他の4つの画素データ(i−1、j)、
(i、j−1)、(i、j+1)、(i+1、j)をf
算出部42に与えるようにしている。
Here, the edge emphasizing circuit 4 is configured as shown in FIG. In the edge enhancement processing, the memory 3
FIG. 3 (a) according to the address designation of the address control unit 31
(I-1, j), (i, j-1), centering on the pixel (i, j) edge-emphasized over three lines as shown in FIG.
Data of a total of five pixels is read from (i, j + 1) and (i + 1, j). Then, the central pixel data f (i, j) of the pixel data f is latched.
41, the other four pixel data (i-1, j),
(I, j-1), (i, j + 1), (i + 1, j) are expressed as f
It is provided to the calculation unit 42.

算出部42は、画素データ(i、j)の周囲4画素
のデータf(i−1、j)、f(i、j−1)、f
(i、j+1)、f(i+1、j)より、これらデータ
の平均値を下式より求めるようにしている。
The calculator 42 calculates data f (i−1, j), f (i, j−1), f (f) of four pixels around the pixel data (i, j).
From (i, j + 1) and f (i + 1, j), the average value of these data is determined by the following equation.

(i、j) =1/4{f(i−1、j)+f(i、j−1) +f(i、j+1)+f(i+1、j)} …(1) ラッチ41の出力は、加算器43、44に与えられ、算出
部42の平均値は、加算器43に与えられる。さらに、加
算器43の出力は、係数回路45を介して加算器44に与えら
れ、この加算器44より g(i、j) =f(i、j)−β{(i、j) −f(i、j) …(2) のエッジ強調データg(i、j)を出力するようにして
いる。この場合、βはエッジ強調度を決定する係数で、
上述した周囲4つの画素の平均値(i、j)の大きさ
に応じて係数選択回路46により選択される。ここで、黒
つぶれ現象が発生すると考えられる画素レベルをL1、白
つぶれ現象が発生すると考えられる画素レベルをL2とす
ると、 0≦(i、j)<L1→β=10 …(3) L1≦(i、j)<L2→β=5 …(4) L2≦(i、j)≦255→β=10 …(5) になるように構成している。
(I, j) = 1/4 {f (i-1, j) + f (i, j-1) + f (i, j + 1) + f (i + 1, j)} (1) The output of the latch 41 is added The average value of the calculation unit 42 is provided to the adders 43. Further, the output of the adder 43 is given to an adder 44 via a coefficient circuit 45, and the adder 44 gives g (i, j) = f (i, j) -β {(i, j) -f (I, j)... (2) The edge emphasis data g (i, j) is output. In this case, β is a coefficient that determines the degree of edge enhancement,
The coefficient is selected by the coefficient selection circuit 46 in accordance with the average value (i, j) of the four surrounding pixels. Here, assuming that the pixel level at which the blackout phenomenon occurs is L1 and the pixel level at which the whiteout phenomenon occurs is L2, 0 ≦ (i, j) <L1 → β = 10 (3) L1 ≦ (I, j) <L2 → β = 5 (4) L2 ≦ (i, j) ≦ 255 → β = 10 (5)

つまり、エッジ強調回路4は、第3図(a)に示す中
心画素データf(i、j)と、この画素データの周囲の
4つの画素データf(i−1、j)、f(i、j−
1)、f(i、j+1)、f(i+1、j)に対して、
同図(b)に示すエッジ強調フィルタとして作用するよ
うになっている。
That is, the edge emphasizing circuit 4 includes the central pixel data f (i, j) shown in FIG. 3 (a) and the four pixel data f (i-1, j), f (i, j-
1), f (i, j + 1), f (i + 1, j)
It functions as an edge enhancement filter shown in FIG.

第1図に戻って、エッジ強調回路4の出力は、メモリ
5に記憶される。このメモリ5も、上述したメモリ2と
同様に、1画素1バイトで記憶するようにしている。
Returning to FIG. 1, the output of the edge enhancement circuit 4 is stored in the memory 5. The memory 5 also stores one byte per pixel, as in the memory 2 described above.

メモリ5のデータは、誤差拡散処理回路6に送られ
る。この誤差拡散処理回路6は、誤差拡散法による処理
を実行するものである。そして、この誤差拡散処理回路
6により誤差拡散処理されたデータは、2値化回路7に
送られるようになっている。
The data in the memory 5 is sent to the error diffusion processing circuit 6. The error diffusion processing circuit 6 executes a process by an error diffusion method. The data subjected to error diffusion processing by the error diffusion processing circuit 6 is sent to a binarization circuit 7.

次に、以上のように構成した実施例の動作を説明す
る。
Next, the operation of the embodiment configured as described above will be described.

いま、スキャナ1により原稿が1ラインずつ読み取ら
れると、スキャナ1より画素に対応したアナログ信号が
出力される。
Now, when the original is read line by line by the scanner 1, the scanner 1 outputs an analog signal corresponding to the pixel.

アナログ信号は、A/D変換器2に送られ、それぞれの
1画素について、黒〜白の階調が8ビットよりなる0〜
255の多値の画像データに変換され、メモリ3に記憶さ
れる。
The analog signal is sent to the A / D converter 2, and for each pixel, 0 to 0 in which the gray level of black to white is 8 bits.
The image data is converted into 255-valued image data and stored in the memory 3.

メモリ3に記憶された画素データは、アドレス制御部
31のアドレス指定により、第3図(a)に示すように3
ラインにわたって(i、j)の画素を中心に(i−1、
j)、(i、j−1)、(i、j+1)、(i+1、
j)の4つの画素のデータが読み出され、エッジ強調回
路4に送られる。
The pixel data stored in the memory 3 is stored in an address control unit.
By the address designation of 31, as shown in FIG.
Around the pixel of (i, j) over the line, (i-1,
j), (i, j-1), (i, j + 1), (i + 1,
The data of the four pixels j) are read out and sent to the edge enhancement circuit 4.

この状態から、エッジ強調回路4において、第4図に
示すエッジ強調処理が実行される。
From this state, the edge enhancement circuit 4 performs the edge enhancement processing shown in FIG.

まず、ステップA1で、メモリ3より読み出された画素
データfのうち、中心の画素データf(i、j)は、ラ
ッチ41にラッチされる。また、これと同時に中心画素デ
ータf(i、j)の周囲の4つの画素データf(i−
1、j)、f(i、j−1)、f(i、j+1)、f
(i+1、j)は算出部42に送られ、これら画素デー
タの平均値(i、j)が上述の(1)式より求められ
る(ステップA2)。
First, in step A1, the central pixel data f (i, j) of the pixel data f read from the memory 3 is latched by the latch 41. At the same time, the four pixel data f (i−i) around the central pixel data f (i, j)
1, j), f (i, j-1), f (i, j + 1), f
(I + 1, j) is sent to the calculation unit 42, and the average value (i, j) of these pixel data is obtained from the above equation (1) (step A2).

次いで、ステップA3に進む。ステップA3では、算出
部42で算出された平均値(i、j)の大きさが判断さ
れる。この場合、平均値(i、j)が上述の(3)〜
(5)式のいずれに該当するかが判断される。いま、平
均値(i、j)がレベルL1とL2の間にあって、(4)
式が該当すると判断されると、係数選択回路46によりエ
ッジ強調度を決定する係数βとして「5」が選択され、
ステップA4においてβ=5が係数回路45に与えられる。
Next, the process proceeds to step A3. In step A3, the magnitude of the average value (i, j) calculated by the calculation unit 42 is determined. In this case, the average value (i, j) is equal to the above (3) to
It is determined which of the equations (5) is applicable. Now, the average value (i, j) is between levels L1 and L2, and (4)
When it is determined that the expression is applicable, “5” is selected as the coefficient β for determining the degree of edge enhancement by the coefficient selection circuit 46,
In step A4, β = 5 is given to the coefficient circuit 45.

次いで、ステップA5に進む。ステップA5では、エッジ
強調データg(i、j)が計算される。この場合、ま
ず、ラッチ41および算出部42の出力が加算器43に与え
られ、(−f)が演算される。そして、この加算器43
の出力は、係数βが設定された係数回路45を介して、ラ
ッチ41の出力とともに、加算器44に送られる。これによ
り、加算器44より g(i、j) =f(i、j)−β{(i、j) −f(i、j)} が演算され、エッジ強調データg(i、j)が出力され
る。そして、ステップA6に進み、エッジ強調データg
(i、j)は、メモリ5に書き込まれる。
Next, the process proceeds to step A5. In step A5, edge emphasis data g (i, j) is calculated. In this case, first, the outputs of the latch 41 and the calculation unit 42 are given to the adder 43, and (−f) is calculated. And this adder 43
Is sent to the adder 44 together with the output of the latch 41 via the coefficient circuit 45 in which the coefficient β is set. Thus, the adder 44 calculates g (i, j) = f (i, j) -β {(i, j) -f (i, j)}, and the edge emphasis data g (i, j) is obtained. Is output. Then, the process proceeds to step A6, where the edge emphasis data g
(I, j) is written to the memory 5.

この場合のデータg(i、j)は、平均値(i、
j)から(4)式が該当すると判断され、エッジ強調度
を決定する係数βとして「5」が選択されているので、
極端にエッジを強調しないようなものになる。
The data g (i, j) in this case is an average value (i,
Since j) to (4) are determined to be applicable and “5” is selected as the coefficient β for determining the degree of edge enhancement,
It becomes something that does not emphasize the edge extremely.

以上は、1画素分のエッジ強調処理であるが、同様な
処理がスキャナ1より新たな1ラインが読み込まれる度
にメモリ3のjラインに含まれる全ての画素データfに
ついて実行される。
The above is the edge enhancement processing for one pixel, but the same processing is executed for all the pixel data f included in the j-th line of the memory 3 every time a new line is read by the scanner 1.

ステップA3において、算出部42により算出された画
素データの平均値(i、j)が、レベルL1と「0」の
の間にあって、(3)式が該当する場合は、係数選択回
路46によりエッジ強調度を決定する係数βとして「10」
が選択され、ステップA7においてβ=10が係数回路45に
与えられ、この係数β=10に基づいてステップA5で、エ
ッジ強調データg(i、j)が算出される。この場合の
データf(i、j)は、周囲画素より黒に近い部分と判
断され、エッジ強調度を決定する係数βとして「10」が
選択されるので、強いエッジ強調がされることになる。
In step A3, when the average value (i, j) of the pixel data calculated by the calculation unit 42 is between the level L1 and “0”, and the equation (3) is applicable, the edge selection is performed by the coefficient selection circuit 46. “10” as coefficient β to determine the degree of emphasis
Is given to the coefficient circuit 45 in step A7, and the edge emphasis data g (i, j) is calculated in step A5 based on the coefficient β = 10. In this case, the data f (i, j) is determined to be a portion closer to black than surrounding pixels, and “10” is selected as the coefficient β for determining the degree of edge enhancement, so that strong edge enhancement is performed. .

同様にして、算出部42により算出された画素データ
の平均値(i、j)が、レベルL2と「255」の間にあ
って、(5)式が該当する場合は、係数選択回路46によ
りエッジ強調度を決定する係数βとして「10」が選択さ
れ、ステップA8においてβ=10が係数回路45に与えら
れ、この係数β=10に基づいてステップA5で、エッジ強
調データg(i、j)が算出される。この場合のデータ
f(i、j)は、白に近い部分と判断され、エッジ強調
度を決定する係数βとして「10」が選択され、強いエッ
ジ強調がされることになる。
Similarly, when the average value (i, j) of the pixel data calculated by the calculation unit 42 is between the level L2 and “255” and the equation (5) is applicable, the edge selection is performed by the coefficient selection circuit 46. “10” is selected as the coefficient β for determining the degree, and β = 10 is given to the coefficient circuit 45 in step A8. Based on the coefficient β = 10, the edge emphasis data g (i, j) is obtained in step A5. Is calculated. In this case, the data f (i, j) is determined to be a part close to white, and “10” is selected as the coefficient β for determining the degree of edge enhancement, and strong edge enhancement is performed.

以下、同様にしてエッジ強調処理は実行され、この処
理により得られたエッジ強調データg(i、j)は、順
にメモリ5に書き込まれるようになる。
Thereafter, the edge emphasis processing is executed in a similar manner, and the edge emphasis data g (i, j) obtained by this processing is sequentially written to the memory 5.

次に、メモリ5に書き込まれたエッジ強調データは、
誤差拡散処理回路6に送られ、誤差拡散処理が実行され
る。
Next, the edge enhancement data written in the memory 5 is
The data is sent to the error diffusion processing circuit 6, where the error diffusion processing is performed.

ここで、誤差拡散処理を簡単に説明する。いま、第3
図(c)に示すように、メモリ5の(i、k)のデータ
xについて考えると、このデータx(i、k)を含めて
2ラインにわたり(i+1、k)、(i−1、k+
1)、(i、k+1)、(i+1、k+1)の各座標の
データに注目し、これら座標のデータに対し、例えば同
図dに示すような拡散係数を付与しておく。
Here, the error diffusion processing will be briefly described. Now, the third
As shown in FIG. 5C, when considering the data x of (i, k) in the memory 5, (i + 1, k), (i-1, k +) over two lines including the data x (i, k)
Attention is paid to the data of each coordinate of 1), (i, k + 1), and (i + 1, k + 1), and a diffusion coefficient as shown in FIG.

そして、まず、データxの値が128≦x≦255、0≦x
≦127かを判断し、その値が「128」以上の場合は、デー
タxの値を「255」(白)と見なし、、また、「127」以
下の場合は、データxの値を「0」(黒)と見なすよう
にする。
Then, first, the value of the data x is 128 ≦ x ≦ 255, 0 ≦ x
It is determined whether or not ≦ 127. If the value is “128” or more, the value of the data x is regarded as “255” (white). If the value is “127” or less, the value of the data x is set to “0”. (Black).

次いで、データx(i、k)の値が「128」以上の場
合は、 (x−255)×(an/s)+y=Y …(6) データx(i、k)の値が「127」以下の場合は、 (x−0)×(an/s)+y=Y …(7) により各座標のデータに対し誤差拡散を行なうようにす
る。ここで、anは各座標に対し予め付与された拡散係
数、sは各拡散係数の合計値、yは各座標のデータ値、
Yは上式により演算後に各座標に格納するデータ値であ
る。
Next, when the value of the data x (i, k) is “128” or more, (x−255) × (an / s) + y = Y (6) When the value of the data x (i, k) is “127” In the following case, error diffusion is performed on the data of each coordinate by (x−0) × (an / s) + y = Y (7) Here, an is a diffusion coefficient given to each coordinate in advance, s is a total value of each diffusion coefficient, y is a data value of each coordinate,
Y is a data value to be stored in each coordinate after the calculation according to the above equation.

しかして、いま、データxの値を「200」とすると、1
28≦x≦255が成り立ちデータx(i、k)の値は、「2
55」と見なされる。次いで、(6)式より各座標のデー
タに対する誤差拡散が実行される。この場合、(i+
1、k)の座標のデータを、例えば、「150」とする
と、拡散係数として予め「7」が付与されているので、 (200−255)×(7/16)+150=126 となり、(i+1、k)の座標に新たにデータ「126」
が格納される。以下、同様にして残りの座標(i+1、
k)、(i−1、k+1)、(i、k+1)、(i+
1、k+1)についても、それぞれのデータ値と拡散係
数により新たなデータ値が演算され、それぞれの座標に
再格納されるようになる。
Now, assuming that the value of data x is "200", 1
28 ≦ x ≦ 255 holds and the value of the data x (i, k) is “2
55 ”. Next, error diffusion is performed on the data at each coordinate according to equation (6). In this case, (i +
Assuming that the coordinate data of (1, k) is, for example, “150”, “7” is added in advance as a diffusion coefficient, so that (200−255) × (7/16) + 150 = 126, and (i + 1) , K) with new data “126”
Is stored. Hereinafter, similarly, the remaining coordinates (i + 1,
k), (i-1, k + 1), (i, k + 1), (i +
For (1, k + 1), a new data value is calculated based on each data value and the diffusion coefficient, and is stored again at each coordinate.

このようにして座標(i、k)について、この時のテ
ータ値xにより「255」または「0」を決定するととも
に、演算式(6)(7)の一方を選択し、これら式に基
づいて座標(i+1、k)、(i−1、k+1)、
(i、k+1)、(i+1、k+1)について、それぞ
れのデータ値と拡散係数により新たなデータ値が演算さ
れる誤差拡散処理が、メモリ5の各データについて順次
行われる。
In this way, for the coordinates (i, k), “255” or “0” is determined based on the data value x at this time, and one of the arithmetic expressions (6) and (7) is selected, and based on these expressions, Coordinates (i + 1, k), (i-1, k + 1),
For (i, k + 1) and (i + 1, k + 1), an error diffusion process in which a new data value is calculated based on each data value and diffusion coefficient is sequentially performed on each data in the memory 5.

そして、誤差拡散処理回路6により誤差拡散処理され
たデータは、2値化回路7に送られ、2値化されたたの
ち、図示しないプリンタに転送され、プリントアウトさ
れるようになる。
The data subjected to the error diffusion processing by the error diffusion processing circuit 6 is sent to a binarization circuit 7, where the data is binarized, transferred to a printer (not shown), and printed out.

したがって、このようにすればスキャナ1より得られ
た入力画像信号をA/D変換器2を介して多値の画像デー
タに変換し、この画像データをメモリ3に記憶し、この
メモリ3より1つの画素データとこの画素データ周囲4
つの画素データを読み出し、これら画素データをエッジ
強調回路4に与えるとともに、周囲4つの画素データの
値の平均値よりエッジ強調度を決定する係数βを決定
し、この決定された係数βを用いてエッジ強調の出力デ
ータを得るようにしたので、従来、白に近い領域および
黒に近い領域での画像レベルの小さな変化箇所の表現を
十分にできない傾向にあったものに比べ、これら領域で
のエッジ箇所を強調して表現できるようになり、再生画
像上での、いわゆる白つぶれ、または黒つぶれ現象を確
実に回避でき、良質な画像を再生することができる。
Therefore, in this case, the input image signal obtained from the scanner 1 is converted into multi-valued image data via the A / D converter 2, and the image data is stored in the memory 3. Pixel data and its surroundings 4
Is read out, the pixel data is supplied to the edge emphasizing circuit 4, and a coefficient β for determining the degree of edge emphasis is determined from the average value of the values of the surrounding four pixel data, and the determined coefficient β is used. Since edge-enhanced output data is obtained, it is difficult to express small changes in the image level in areas close to white and areas close to black in the past. The portion can be emphasized and expressed, so that the so-called underexposure or underexposure phenomenon on the reproduced image can be reliably avoided, and a high-quality image can be reproduced.

なお、本発明は上記実施例にのみ限定されず、要旨を
変更しない範囲で適宜変更して実施できる。例えば、上
述した実施例では、一貫してファクシミリ装置について
述べたが、コピー装置に適用することもできる。
Note that the present invention is not limited to the above-described embodiment, and can be appropriately modified and implemented without changing the gist. For example, in the above-described embodiments, a facsimile apparatus has been described consistently, but the present invention can be applied to a copying apparatus.

[発明の効果] 本発明の中間調の2値化処理装置は、中間調の入力画
像信号をアナログ・デジタル変換して多値の画像データ
に量子化するとともに、この量子化されたデータを記憶
手段に記憶し、この記憶手段より1つの画素データを指
定するとともに、この指定画素データの周囲の画素デー
タの値の平均値を演算し、この演算された平均値が白領
域レベル又は黒領域レベルに近い所定のレベル領域内に
あるときは、上記所定のレベル領域外にある場合より大
きなエッジ強調度を上記指定された画素データに対して
決定し、この決定されたエッジ強調度に基づいて上記指
定画素データについてエッジ強調処理を行ない、このエ
ッジ強調された画素データを2値化するようにしたもの
であるから、指定画素周囲の画素データにより設定され
るエッジ強調度に応じて画像レベルの変化を強調して表
現できるようになるので、白に近い領域または黒に近い
領域中にレベル差の小さな他の領域が存在するような場
合も、これら領域間でのエッジ箇所を強調して表現でき
るようになり、再生画像上での、いわゆる白つぶれ、ま
たは黒つぶれ現象を回避でき、視覚的に見易い良質の画
像が得られ、これによりファクシミリ装置やコピー装置
の画像品質の向上を図ることができる。
[Effects of the Invention] The halftone binarization processing device of the present invention quantizes the halftone input image signal into multi-valued image data by analog-to-digital conversion, and stores the quantized data. Means for designating one pixel data from the storage means, and calculating an average value of pixel data around the specified pixel data, and calculating the calculated average value as a white area level or a black area level. When the pixel data is within a predetermined level area close to the predetermined level area, a larger edge enhancement degree is determined for the specified pixel data than when the pixel data is outside the predetermined level area, and the edge enhancement degree is determined based on the determined edge enhancement degree. Since the edge enhancement processing is performed on the designated pixel data and the edge-enhanced pixel data is binarized, the edge set by the pixel data around the designated pixel. Since the change in image level can be emphasized and expressed according to the edge enhancement level, even if there are other areas with a small level difference in an area close to white or an area close to black, these areas can be used. This makes it possible to emphasize the edge portions between the images, avoiding the so-called underexposure or underexposure phenomenon on the reproduced image, and obtaining a high-quality image that is easy to see visually. The image quality of the device can be improved.

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

第1図は、本発明の一実施例の回路構成を示すブロック
図、第2図は、同実施例のエッジ強調回路を示すブロッ
ク図、第3図は、同実施例を説明するための図、第4図
は、同実施例の動作を説明するためのフローチャートで
ある。 1……スキャナ、2……A/D変換器、3、5……メモ
リ、4……エッジ強調回路、41……ラッチ、42……f算
出部、43、44……加算器、45……係数回路、46……係数
選択回路、6……誤差拡散処理回路、7……2値化回
路。
FIG. 1 is a block diagram showing a circuit configuration of an embodiment of the present invention, FIG. 2 is a block diagram showing an edge emphasizing circuit of the embodiment, and FIG. 3 is a diagram for explaining the embodiment. FIG. 4 is a flow chart for explaining the operation of the embodiment. 1, scanner 2, A / D converter 3, 5, memory 4, edge emphasis circuit 41, latch 42, f calculator 43, 44, adder 45 ... coefficient circuit, 46 ... coefficient selection circuit, 6 ... error diffusion processing circuit, 7 ... binarization circuit.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭58−88969(JP,A) 特開 昭61−144973(JP,A) 特開 昭61−123274(JP,A) 特開 平1−222575(JP,A) (58)調査した分野(Int.Cl.6,DB名) H04N 1/40 - 1/409──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-58-88969 (JP, A) JP-A-61-144973 (JP, A) JP-A-61-123274 (JP, A) JP-A-1- 222575 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) H04N 1/40-1/409

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】中間調の入力画像信号をアナログ・デジタ
ル変換して多値の画像データに量子化する量子化手段
と、 上記量子化されたデータを記憶する記憶手段と、 この記憶手段に記憶された画素データの1つを指定する
とともに、この指定画素の周囲の画素データの値の平均
値を演算し、この演算された平均値が白領域レベル又は
黒領域レベルに近い所定のレベル領域内にあるときは、
上記所定のレベル領域外にある場合より大きなエッジ強
調度を上記指定された画素データに対して決定するエッ
ジ強調度決定手段と、 このエッジ強調度決定手段で決定されたエッジ強調度に
基づいて上記指定画素データをエッジ強調処理するエッ
ジ強調処理手段と、 上記エッジ強調処理された画素データを2値化する2値
化手段と、 を具備したことを特徴とする中間調の2値化処理装置。
A quantizing means for converting a halftone input image signal from analog to digital to quantize it into multi-valued image data; a memory means for storing the quantized data; and a memory means for storing the quantized data. One of the calculated pixel data, and calculates an average value of pixel data around the specified pixel, and calculates the calculated average value within a predetermined level area close to the white area level or the black area level. When
Edge emphasis degree determining means for deciding a larger edge emphasis degree with respect to the specified pixel data than in the case where the edge emphasis degree is outside the predetermined level area; A halftone binarization processing device comprising: edge enhancement processing means for performing edge enhancement processing on designated pixel data; and binarization means for binarizing the edge-enhanced pixel data.
JP2038463A 1990-02-21 1990-02-21 Halftone binarization processor Expired - Lifetime JP2857906B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2038463A JP2857906B2 (en) 1990-02-21 1990-02-21 Halftone binarization processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2038463A JP2857906B2 (en) 1990-02-21 1990-02-21 Halftone binarization processor

Publications (2)

Publication Number Publication Date
JPH03243059A JPH03243059A (en) 1991-10-30
JP2857906B2 true JP2857906B2 (en) 1999-02-17

Family

ID=12525949

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2038463A Expired - Lifetime JP2857906B2 (en) 1990-02-21 1990-02-21 Halftone binarization processor

Country Status (1)

Country Link
JP (1) JP2857906B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100437755B1 (en) * 1996-12-26 2004-08-18 엘지전자 주식회사 Image outline enhancer

Also Published As

Publication number Publication date
JPH03243059A (en) 1991-10-30

Similar Documents

Publication Publication Date Title
US6118547A (en) Image processing method and apparatus
JP3700357B2 (en) Image processing device
JPH03248674A (en) Half-tone picture processor
JP2857906B2 (en) Halftone binarization processor
JP2637414B2 (en) Image processing method
JP3117331B2 (en) Image data processing device
JPS60136478A (en) Picture processor
JPH07302190A (en) Divider and image signal reader using the same
JP3780664B2 (en) Image processing apparatus and image processing method
JP3212339B2 (en) Image magnification device
JP2935435B2 (en) Halftone image processing device
JPH0318177A (en) Picture processor
JP2860039B2 (en) Pseudo halftone image reduction device
KR0150164B1 (en) Quantization method and apparatus using error diffusion for image processing system
JP2838244B2 (en) Edge enhancement method
JPH06253133A (en) Picture processing device
JP3346111B2 (en) Image processing device
JP3178077B2 (en) Binarization processing method
JP3146516B2 (en) Image processing device
JP3146517B2 (en) Image processing device
JPH03192970A (en) Picture processor
JPH09247450A (en) Image processing unit
JPH0822017B2 (en) Image signal processor
JPH07212573A (en) Resolution conversion device for binary picture
JPH07298054A (en) Image threshold processing unit