JPH01130946A - Image processing apparatus - Google Patents

Image processing apparatus

Info

Publication number
JPH01130946A
JPH01130946A JP62289170A JP28917087A JPH01130946A JP H01130946 A JPH01130946 A JP H01130946A JP 62289170 A JP62289170 A JP 62289170A JP 28917087 A JP28917087 A JP 28917087A JP H01130946 A JPH01130946 A JP H01130946A
Authority
JP
Japan
Prior art keywords
signal
pixel
circuit
threshold value
interest
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP62289170A
Other languages
Japanese (ja)
Other versions
JP2662402B2 (en
Inventor
Akihiro Katayama
昭宏 片山
Hideshi Osawa
秀史 大澤
Akiko Fukuhara
福原 明子
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP62289170A priority Critical patent/JP2662402B2/en
Priority to DE3844894A priority patent/DE3844894C2/en
Priority to DE3838730A priority patent/DE3838730C2/en
Publication of JPH01130946A publication Critical patent/JPH01130946A/en
Priority to US07/875,210 priority patent/US5325448A/en
Priority to US07/957,825 priority patent/US6285464B1/en
Application granted granted Critical
Publication of JP2662402B2 publication Critical patent/JP2662402B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To enhance the grade of an image by judging whether the dot already typed in the processed region of the periphery of a noticeable pixel is present and quantizing the noticeable pixel corresponding to the judge result. CONSTITUTION:According to the value of a signal 510, a selector 19 outputs a signal 520 as a signal 400 when the signal 510 is '0' and outputs a signal 530 as the signal 400 when the signal 510 is '1'. However, the value of the signal 530 is '0'. That is, binarized data in the periphery of a noticeable pixel is investigated with respect to a pixel low in image density and, when there is a signal turning a dot ON in said data, the signal 520 becomes '1' and, therefore, the signal 400 to a threshold valve setting circuit 4 becomes '1' and, since a threshold value T1=300 is selected in the threshold value setting circuit, the dot of the noticeable dot is turned OFF necessarily. Further, when there is no signal turning the dot ON in the periphery of the noticeable pixel at this time, the signal 520 becomes '0' and, therefore, a threshold value T2=127 is selected in the threshold value setting circuit 4 and binarization processing is performed. Since the signal 530 is selected with respect to a pixel high in image density by the selector 19, the threshold value T2=127 is selected in the threshold value setting circuit 4 to perform binarization processing.

Description

【発明の詳細な説明】 〔発明の属する分野〕 本発明は、デジタルプリンタ及びデジタルファクシミリ
等の画像処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of the Invention] The present invention relates to an image processing apparatus such as a digital printer and a digital facsimile.

〔従来技術〕[Prior art]

従来より、デジタルプリンタ、デジタルファクシミリ等
において中間調を再現するための二値化手法として、し
きい値に周期的に変動するデイザマトリクスを用いるデ
イザ法がある。この方法では表現できる階調数がデイザ
マトリクスにより制限されてしまい、例えば、この階調
数が16階階調度の場合には、出力画像に疑似輪郭を生
じてしまう欠点があった。また、最近注目されている二
値化手法として、二値化処理で発生した誤差を周辺の画
素に分散する誤差拡散法という手法がある。この手法は
、1975年にFloidとSteinbergによリ
  “An   Adaptive   Algori
thm   for   5patialGray  
5cale”SID  DIGESTという論文のなか
で提案されたもので、解像度・階調共にデイザ法よりも
優れた手法である。
2. Description of the Related Art Conventionally, as a binarization method for reproducing halftones in digital printers, digital facsimiles, etc., there is a dither method that uses a dither matrix that periodically changes the threshold value. In this method, the number of gradations that can be expressed is limited by the dither matrix, and when the number of gradations is, for example, 16 gradations, there is a drawback that a false contour is generated in the output image. Furthermore, as a binarization method that has recently attracted attention, there is a method called an error diffusion method in which errors generated in the binarization process are dispersed to surrounding pixels. This method was first developed by Floyd and Steinberg in 1975 in “An Adaptive Algori
thm for 5patialGray
This method was proposed in a paper entitled ``5cale'' SID DIGEST, and is superior to the dither method in both resolution and gradation.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、上記従来例の誤差拡散法では原稿の濃度
が低い場合、再生画像中にドツトが近接して発生し、そ
れが線状につながって画像の品位を著しく低下させると
いう欠点があった。
However, the conventional error diffusion method described above has the disadvantage that when the density of the original is low, dots are generated close to each other in the reproduced image, and the dots are connected in a linear manner, significantly degrading the quality of the image.

これは、第8図に示したa領域で二値化した際の誤差は
濃度が低いためすべて正となり、この誤差がb領域に拡
散されるため、その部分でドツトが近接して発生してし
まう。
This is because the errors when binarizing in area a shown in Figure 8 are all positive because the density is low, and this error is diffused to area b, so dots are generated close to each other in that area. Put it away.

〔問題を解決するための手段及び作用〕本発明は、上記
従来例の欠点を除去し、いかなる画像に対しても高品位
な再生画像を得ることを目的としている。
[Means and operations for solving the problem] The present invention aims to eliminate the drawbacks of the above-mentioned conventional example and to obtain a high-quality reproduced image for any image.

この問題を解決するために、本発明においては、画像を
デジタル信号で処理する画像処理装置であって、注目画
素周辺の既に処理済領域中に打たれているドツトが存在
するか否かを判定する判定手段と、上記判定手段の判定
結果に応じて注目画素を量子化する量子化手段とを備え
る。このような構成において、量子化しようとする注目
画素周辺の既に量子化した領域を参照し、その領域に打
たれているドツトが存在するか否かの判定をおこない、
その判定信号に基づいて、量子化手段は注目画素の量子
化を行う。
In order to solve this problem, the present invention is an image processing device that processes images using digital signals, and determines whether or not there are dots that have been placed in the already processed area around the pixel of interest. and a quantization means that quantizes the pixel of interest according to the determination result of the determination means. In such a configuration, referring to the already quantized area around the pixel of interest to be quantized, it is determined whether or not there is a dot placed in that area.
Based on the determination signal, the quantization means quantizes the pixel of interest.

〔実施例〕〔Example〕

以下添付図面に従って、本発明の詳細な説明する。 The present invention will be described in detail below with reference to the accompanying drawings.

第1図は本実施例の画像処理装置のブロック構成図であ
る。
FIG. 1 is a block diagram of the image processing apparatus of this embodiment.

COD等の光電変換素子及びこれを走査する駆動系をも
つ入力装置1で読み取られた画像データは、遂次A/D
変換器2に送られる。ここでは、例えば、各画素のデー
タを8ビツトのデジタルデータに変換する。これにより
256レベルの階調数をもつデータに量子化されたこと
になる。次に補正回路3においてセンサーの感度ムラや
照明光源による照度ムうを補正するためのシェーディン
グ補正などの補正をデジタル演算処理で行う。次にこの
補正法の信号100は、二値化処理回路5と判定回路6
に入力される。閾値設定回路4では、判定回路6から出
力された判定信号400により二値化のための閾値が設
定され、閾値信号200を出力する。二値化回路5では
、閾値設定回路4から出力された閾値信号200により
補正回路3から出力された補正法信号100が二値化処
理され、二値信号300を出力する。
Image data read by an input device 1 having a photoelectric conversion element such as a COD and a drive system for scanning it is sequentially input to an A/D converter.
It is sent to converter 2. Here, for example, the data of each pixel is converted into 8-bit digital data. This means that the data has been quantized to have 256 levels of gradation. Next, in the correction circuit 3, corrections such as shading correction for correcting uneven sensitivity of the sensor and unevenness in illuminance due to the illumination light source are performed by digital calculation processing. Next, the signal 100 of this correction method is transmitted to the binarization processing circuit 5 and the determination circuit 6.
is input. In the threshold value setting circuit 4, a threshold value for binarization is set based on the determination signal 400 outputted from the determination circuit 6, and a threshold value signal 200 is output. In the binarization circuit 5, the correction method signal 100 output from the correction circuit 3 is binarized using the threshold signal 200 output from the threshold setting circuit 4, and a binary signal 300 is output.

判定回路6では、二値化回路5から出力された二値信号
300と補正回路3から出力された補正法信号100に
より、二値化しようとする注目画素周辺の既に二値化し
た領域を参照してその中にオンになっているドツトが存
在するか否かが判定され、判定信号400を出力する。
The determination circuit 6 uses the binary signal 300 output from the binarization circuit 5 and the correction method signal 100 output from the correction circuit 3 to refer to an already binarized area around the pixel of interest to be binarized. Then, it is determined whether or not there is a dot that is turned on, and a determination signal 400 is output.

出力装置7はレーザービームプリンタ又はインクジェッ
トプリンタ等によって構成され、二値化回路5から出力
された二値信号300をドツトのオン・オフにより画像
形成を行う。
The output device 7 is constituted by a laser beam printer, an inkjet printer, or the like, and forms an image by turning on and off dots using the binary signal 300 output from the binarization circuit 5.

第2図は閾値設定回路4の詳細を示したブロック図であ
る。
FIG. 2 is a block diagram showing details of the threshold setting circuit 4. As shown in FIG.

判定回路6から出力された判定信号400はセレクタ8
に入力され、判定信号400によりここで閾値が設定さ
れる。セレクタ8では判定信号400が“1”ならば閾
値Tl=300が選択され、“0”ならば閾値T2=1
27が選択されて、閾値信号200を出力する。
The determination signal 400 output from the determination circuit 6 is sent to the selector 8
The threshold value is set here by the determination signal 400. In the selector 8, if the judgment signal 400 is "1", the threshold Tl=300 is selected, and if it is "0", the threshold T2=1
27 is selected and outputs the threshold signal 200.

ここではTl=300としたが、TIは補正法信号10
0の最大値よりも大きな値であればよい。またT2=1
27としたが、それ以外の値でもよい。
Here, Tl=300, but TI is the correction method signal 10
Any value greater than the maximum value of 0 is sufficient. Also, T2=1
Although it is set to 27, other values may be used.

第3図は二値化回路5のブロック構成図である。FIG. 3 is a block diagram of the binarization circuit 5. As shown in FIG.

補正回路3から出力された補正法信号100(注目画素
濃度)は、エラーバッファメモリ10に保存されている
誤差E+1(注目画素に配分された誤差の総和)と加算
器9で加算され、その結果として誤差補正法信号210
が出力される。
The correction method signal 100 (density of the pixel of interest) output from the correction circuit 3 is added to the error E+1 (sum of errors allocated to the pixel of interest) stored in the error buffer memory 10 in the adder 9, and the result is Error correction method signal 210 as
is output.

次に誤差補正法信号210は比較器11に入力され、こ
こで閾値信号200と比較される。そして誤差補正法信
号210が閾値信号200よりも大きければ“1”、小
さければ“0″が二値信号300として出力される。
Error correction signal 210 is then input to comparator 11 where it is compared with threshold signal 200. If the error correction method signal 210 is larger than the threshold signal 200, "1" is output, and if it is smaller, "0" is output as the binary signal 300.

一方、変換器12では、入力された二値信号300が“
0″ならばそのままの値、また“1パならば“Dm、l
x”に変換した値を信号220として出力する。信号2
10と信号220は演算器13に入力される。ここでそ
れら二つの信号の差分が計算され、信号230(ΔEI
I)として出力される。この信号230は重み付は回路
14に入力され、ここで重み付け(αに+)がなされた
後、エラーバッファ内の所定の画素位置の誤差に加算さ
れる。第4図に重み係数(αkl)の−例を示す。但し
、*は注目画素位置(1,J)に対応している。以上の
操作を繰り返すことにより、誤差拡散法による二値化が
行われる。本実施例では補正済信号100を8ビツトで
扱っているのでD max ” 255 としているが、補正済信号100をmビットで扱うなら
ば、 Dmax−2ffi′−1+2″′−2+2+・・・・
・・・・・・・・・・・・・・+2゜となる。
On the other hand, in the converter 12, the input binary signal 300 is “
If it is “0”, the value remains as is, and if it is “1pa”, it is “Dm, l”.
The value converted to "x" is output as a signal 220. Signal 2
10 and signal 220 are input to the arithmetic unit 13. Here the difference between those two signals is calculated and the signal 230 (ΔEI
I). This signal 230 is inputted to the weighting circuit 14, where it is weighted (α is +) and then added to the error at a predetermined pixel position in the error buffer. FIG. 4 shows an example of the weighting coefficient (αkl). However, * corresponds to the pixel position of interest (1, J). By repeating the above operations, binarization is performed using the error diffusion method. In this embodiment, since the corrected signal 100 is handled with 8 bits, Dmax'' is set as 255, but if the corrected signal 100 is handled with m bits, Dmax-2ffi'-1+2'''-2+2+...
・・・・・・・・・・・・・・・+2°.

第5図は判定回路6のブロック構成図を表わしている。FIG. 5 shows a block diagram of the determination circuit 6. As shown in FIG.

二値信号300はラインバッファ17に入力されると同
時にラッチされる。またラインバッファ17から読み出
された信号もラインバッファ16に入力されると同時に
ラッチされる。つまり、今から処理しようとする注目画
素の位置を(I、J)とすると、その回りの画素位置(
I−2,J−2)、(I−1,J−2)、(1,J−2
)、(I+1.J−2)、(I+2.J−2)、(I−
2゜J−1)、(I−1,J−1)、(I、J−1)、
(I+1.J−1)、(1+2.J−1)、(1−2,
J)、(I−1,J)の12画素分の二値化流データが
ラッチされることになる。
The binary signal 300 is input to the line buffer 17 and simultaneously latched. Further, the signal read from the line buffer 17 is also input to the line buffer 16 and latched at the same time. In other words, if the position of the pixel of interest to be processed is (I, J), the surrounding pixel positions (
I-2, J-2), (I-1, J-2), (1, J-2
), (I+1.J-2), (I+2.J-2), (I-
2゜J-1), (I-1, J-1), (I, J-1),
(I+1.J-1), (1+2.J-1), (1-2,
Binarized stream data for 12 pixels of J) and (I-1, J) will be latched.

ラッチされた12画素分のデータはOR回路18に入力
される。ここで12画素分のデータのOR’がとられ、
結果が信号520として出力される。
The latched data for 12 pixels is input to the OR circuit 18. Here, the OR' of the data for 12 pixels is taken,
The result is output as signal 520.

補正済信号100は比較器15に入力されて、閾値D=
20と比較され、信号100が閾値りよりも大きいなら
ば“l”、また小さいならば“0″が信号510として
出力される。
The corrected signal 100 is input to the comparator 15 and the threshold value D=
20, and if the signal 100 is larger than the threshold, "l" is output as the signal 510, and if it is smaller than the threshold, "0" is output as the signal 510.

これにより画像の濃淡を判別することができる。This makes it possible to determine the shading of the image.

セレクタ19では信号510の値により、信号510が
“0′ならば信号520を、信号510が“l”ならば
信号530を信号400として出力する。ただし信号5
30の値は“0”である。
Depending on the value of the signal 510, the selector 19 outputs the signal 520 as the signal 400 if the signal 510 is "0", and outputs the signal 530 as the signal 400 if the signal 510 is "L".
The value of 30 is "0".

つまり、画像濃度の低い画素に対しては、注目画素周辺
の二値化流データを調べ、その中にドツトをオンにする
信号があれば520は“1”となるので、閾値設定回路
4への信号400は“1”となり、閾値設定回路では閾
値T1=300を選択するので、注目画素のドツトは必
らずオフとなる。また、この時、注目画素の周辺にドツ
トをオンにする信号がなければ、信号520は“0″と
なるので閾値設定回路4では閾値T2=127を選択し
、2値化処理が行われる。
In other words, for a pixel with low image density, the binarized flow data around the pixel of interest is checked, and if there is a signal that turns on the dot, 520 becomes "1", so the signal is sent to the threshold setting circuit 4. Since the signal 400 becomes "1" and the threshold value setting circuit selects the threshold value T1=300, the dot of the pixel of interest is always turned off. Further, at this time, if there is no signal to turn on the dot around the pixel of interest, the signal 520 becomes "0", so the threshold value setting circuit 4 selects the threshold value T2=127 and performs the binarization process.

画像濃度の高い画素に対しては、信号530がセレクタ
19で選択されるため閾値設定回路4では閾値T2=1
27を選択し、2値化処理が行われる。
For pixels with high image density, the signal 530 is selected by the selector 19, so the threshold value setting circuit 4 sets the threshold value T2=1.
27 is selected and binarization processing is performed.

以上のような構成で注目画素の周囲の二値化流データを
調べることにより、画像の濃度の低い部分では周囲にド
ツトがある場合には、強制的にドツトをオフとするので
ドツトとドツトが近接して打たれる現象を防止すること
ができる。
By examining the binarized flow data around the pixel of interest with the above configuration, if there are dots around the pixel of interest in low-density parts of the image, the dots are forcibly turned off, so that the dots are separated. It is possible to prevent the phenomenon of being hit in close proximity.

〔その他の実施例1〕 第6図は前記実施例中の判定回路6を変更した場合のブ
ロック図である。
[Other Embodiments 1] FIG. 6 is a block diagram in the case where the determination circuit 6 in the above embodiment is changed.

二値信号300はラインバッファ20に入力されると同
時にラッチされる。またラインバッファ20から読み出
された信号もラインバッファ21に入力されると同時に
ラッチされる。つまり、今から処理しようとする注目画
素の位置を(1,J)とすると、その周りの画素位置(
1−2,J−2)、(I−1,J−2)、(I、J−2
)、(I+1.J−2)、(I+2.J−2)、(I−
2゜J−1)、(I−1,J−1)、(I、J−1)、
(I+1.J−1)、(I+2.J−1)、(I−2,
J)、(I−1,J)の12画素分の二値化流データが
ラッチされることになる。
The binary signal 300 is input to the line buffer 20 and latched at the same time. Further, the signal read from the line buffer 20 is also input to the line buffer 21 and latched at the same time. In other words, if the position of the pixel of interest to be processed is (1, J), the surrounding pixel positions (
1-2, J-2), (I-1, J-2), (I, J-2
), (I+1.J-2), (I+2.J-2), (I-
2゜J-1), (I-1, J-1), (I, J-1),
(I+1.J-1), (I+2.J-1), (I-2,
Binarized stream data for 12 pixels of J) and (I-1, J) will be latched.

OR回路22では画素位置(I−1,J−1)、(I、
J−1)、(I+1.J−1)、(I−1,J)の4画
素分の二値化流データのOR’がとられ、その結果とし
て信号630が出力される。
In the OR circuit 22, pixel positions (I-1, J-1), (I,
The OR' of the binary stream data for four pixels, J-1), (I+1.J-1), and (I-1, J), is performed, and a signal 630 is output as a result.

OR回路23では画素位置(I−2,J−2)、(I−
1゜J−2)、(I、J−2)、(1+IJ−2)、(
I+2.J−2)、(I−2,J−1)、(1+2.J
−1)、(I−2,J)の8画部分の二値化済データの
OR’がとられ、その結果として信号620が出力され
る。
In the OR circuit 23, pixel positions (I-2, J-2), (I-
1°J-2), (I, J-2), (1+IJ-2), (
I+2. J-2), (I-2, J-1), (1+2.J
-1), (I-2, J) of the 8-picture portion of the binarized data is OR'ed, and a signal 620 is output as a result.

LUT24では入力された補正法信号100に応じて3
レベルの切替信号610が出力される。切替信号610
は、補正法信号100が20以下のとき1”、21以上
に50以下のとき“2”、51以上のとき“0”として
いる。
In the LUT 24, 3
A level switching signal 610 is output. switching signal 610
is 1" when the correction method signal 100 is 20 or less, "2" when it is 21 or more and 50 or less, and "0" when it is 51 or more.

選択的OR回路25ではLUT24から出力された切替
信号610に応じて、切替信号610が“0”ならば“
0”を、′1”ならば信号620と信号630の’OR
’をとったものを、“2”ならば信号630を判定信号
400として出力する。例えば、補正法信号100が1
8のとき切替信号610は“1″となり、このとき信号
620が“1”で信号630が“0″であるならば判定
信号400は“1”となる。
In the selective OR circuit 25, according to the switching signal 610 output from the LUT 24, if the switching signal 610 is "0", "
0", if it is '1', 'OR' of signal 620 and signal 630
' is removed, and if it is "2", the signal 630 is output as the determination signal 400. For example, if the correction method signal 100 is 1
8, the switching signal 610 becomes "1", and at this time, if the signal 620 is "1" and the signal 630 is "0", the determination signal 400 becomes "1".

ここでは、補正法信号100の値に対して参照する領域
を3段階(つまり注目画素の周囲を全く調べないか、周
囲4画素分調べるか、周囲12画素分調べるかの3段階
)に設定している。これにより、画像の濃度が低いほど
周囲を調べる範囲を大きくするので濃度に応じてドツト
を分散させることができ、濃度の低い部分においてドツ
トとドツトが近接して打たれるのを防止できる。
Here, the area to be referenced for the value of the correction method signal 100 is set in three stages (that is, the area around the pixel of interest is not examined at all, the surrounding 4 pixels are examined, or the surrounding 12 pixels are examined). ing. As a result, the lower the density of the image, the larger the area to be examined around the image, so that the dots can be dispersed according to the density, and it is possible to prevent dots from being placed close to each other in areas of low density.

尚、ラインバッファ、ラッチ、OR回路を必要な分だけ
増やすことにより、参照する領域を多段階に設定するこ
とができる。4段階にする場合の例を以下説明する。
Note that by increasing the number of line buffers, latches, and OR circuits as necessary, reference areas can be set in multiple stages. An example of four stages will be described below.

今から処理しようとする注目画素の位置を(I。The position of the pixel of interest to be processed now is (I.

J)とする。その回りの画素位置(1−3,J−3)、
(1−2,J−3)、(I−1,J−3)、(I、J−
3)、(I+1゜J−3)、(1+2.J−3)、(r
+a、J−3)、(I−3゜J−2)、(I−2,J−
2)、(I−1,J−2)、(I、J−2)、(I+1
.J−2)、(I+2.J−2)、(1+3.J−2)
、(I−3,J−1)、(1−2,J−1)、(I−1
,J−1)、(1,J−1)、(1+1.J−1)、(
I+2.J−1)、(1+3゜J−1)、(I−3,J
)、(I−2,J)、(1−1,J)の24画素分の二
値化済データを保持するのに必要なラインバッファとラ
ッチがあるとする。そしてOR回路を3個(a、b、c
)と選択的OR回路(d)を1個持つとする。OR回回
路では画素位置(1−1,、J−1)、(I、J−1)
、(I+1.J−1)、(I−1,J)の4画素分の二
値化済データのOR’がとられ、その結果として信号e
が出力される。OR回路すでは画素位置(I−2,J−
2)、(I−1,J−2)、(1,J−2)、(I+1
.J−2)、(I+2.J−2)、(I−2,J−1)
、(1+2.J−1)、(I−2,J)の8画素分の二
値化済データの’OR’がとられ、その結果として信号
fが出力される。OR回路Cでは画素位置(I−3゜J
−3)、(I−2,J−3)、(I−1,J−3)、(
I、J−3)、(1+1.J−3)、(I+2.J−3
)、(I+3.J−3)、(1−3,J−2)、(I+
3.J−2)、(I−3,J−1)、(I+3.J−1
)、(I−3,J)の12画素分の二値化済データのO
R’がとられ、その結果として信号gが出力される。選
択的OR回路dでは、補正法信号100が10以下なら
ば信号eと信号fと信号gの’OR’をとった結果を、
補正法信号100が11以上20以下ならば信号eと信
号fの′OR′をとった結果を、補正法信号100が2
1以上50以下ならば信号eをとった結果を、補正法信
号100が51以上ならば“0”を判定信号として出力
するようにすれば良い。ここでは、補正法信号100の
レベルを10以下、11以上20以下、21以上50以
下、51以上の4段階にとっであるが、これは−例にす
ぎない。
J). Pixel positions around it (1-3, J-3),
(1-2, J-3), (I-1, J-3), (I, J-
3), (I+1°J-3), (1+2.J-3), (r
+a, J-3), (I-3゜J-2), (I-2, J-
2), (I-1, J-2), (I, J-2), (I+1
.. J-2), (I+2.J-2), (1+3.J-2)
, (I-3, J-1), (1-2, J-1), (I-1
, J-1), (1, J-1), (1+1.J-1), (
I+2. J-1), (1+3°J-1), (I-3,J
), (I-2, J), and (1-1, J), which are necessary to hold the binarized data for 24 pixels. And three OR circuits (a, b, c
) and one selective OR circuit (d). In the OR circuit, pixel positions (1-1,, J-1), (I, J-1)
, (I+1.J-1), (I-1,J), the OR' of the binarized data for four pixels is taken, and as a result, the signal e
is output. In the OR circuit, the pixel position (I-2, J-
2), (I-1, J-2), (1, J-2), (I+1
.. J-2), (I+2.J-2), (I-2, J-1)
, (1+2.J-1), (I-2,J), which are eight pixels worth of binary data, are 'OR'ed, and as a result, a signal f is output. In the OR circuit C, the pixel position (I-3°J
-3), (I-2, J-3), (I-1, J-3), (
I, J-3), (1+1.J-3), (I+2.J-3
), (I+3.J-3), (1-3,J-2), (I+
3. J-2), (I-3, J-1), (I+3.J-1
), (I-3, J) of 12 pixels of binarized data
R' is taken and a signal g is output as a result. In the selective OR circuit d, if the correction method signal 100 is 10 or less, the result of 'OR'ing the signal e, the signal f, and the signal g is
If the correction method signal 100 is greater than or equal to 11 and less than or equal to 20, the result of 'OR'ing the signal e and the signal f is
If the correction method signal 100 is 1 or more and 50 or less, the result of taking the signal e may be outputted, and if the correction method signal 100 is 51 or more, "0" may be output as the determination signal. Here, the level of the correction method signal 100 is set to four levels: 10 or less, 11 or more and 20 or less, 21 or more and 50 or less, and 51 or more, but this is just an example.

また、カラー画像に対しては本実施例に示した回路を所
定色分持つことで実現できる。
Furthermore, a color image can be realized by providing the circuits shown in this embodiment for predetermined colors.

〔その他の実施例2〕 第7図は第1図の実施例を三値化処理に応用した場合の
ブロック構成図である。
[Other Embodiments 2] FIG. 7 is a block configuration diagram when the embodiment of FIG. 1 is applied to ternarization processing.

入力センサ1、A/D変換器2、補正回路3は第1図中
と同じものである。補正法の信号100は、三値化処理
回路27と判定回路28に入力される。
The input sensor 1, A/D converter 2, and correction circuit 3 are the same as those shown in FIG. The correction method signal 100 is input to the ternarization processing circuit 27 and the determination circuit 28 .

閾値設定回路26では、判定回路28から出力された判
定信号750,760により三値化のための閾値が設定
がされる。例えば、判定信号750が“0”ならば80
を、′1”ならば160を閾値信号710として出力す
る。判定信号760が“0″ならば160を、“1”な
らば300を閾値信号720として出力する。
In the threshold value setting circuit 26, a threshold value for ternarization is set based on the determination signals 750, 760 outputted from the determination circuit 28. For example, if the determination signal 750 is “0”, 80
If the determination signal 760 is '1', 160 is output as the threshold signal 710. If the determination signal 760 is '0', 160 is output, and if it is '1', 300 is output as the threshold signal 720.

この閾値設定回路26は、第2図の回路と同様のものを
2個持つことにより実現できる。
This threshold value setting circuit 26 can be realized by having two circuits similar to the circuit shown in FIG.

三値化回路27では、閾値設定回路26から出力された
閾値信号710,720により補正回路3から出力され
た補正済信号100が三値化処理され、信号730.7
40を出力する。例えば、信号100が信号710より
も小さければ信号730,740は共に“0”、信号1
00が信号710以上でかつ信号720未満であれば信
号730は“1”とし信号740は“O”とする。また
、信号100が信号720以上であれば信号710は“
0″とし信号740は“l”とする。また、ここでの三
値化処理は出力画像濃度と入力画像濃度との差分を周囲
の画素に拡散させる誤差拡散法により行われる。
In the ternarization circuit 27, the corrected signal 100 output from the correction circuit 3 is ternarized using the threshold signals 710 and 720 output from the threshold setting circuit 26, and the signal 730.7
Outputs 40. For example, if signal 100 is smaller than signal 710, signals 730 and 740 are both “0” and signal 1
If 00 is greater than or equal to signal 710 and less than signal 720, signal 730 is set to "1" and signal 740 is set to "O". Furthermore, if the signal 100 is greater than or equal to the signal 720, the signal 710 is “
0" and the signal 740 is "1". The ternarization processing here is performed by an error diffusion method in which the difference between the output image density and the input image density is diffused to surrounding pixels.

判定回路28は第5図又は第6図のような回路を2個備
えることにより実現できる。ここでは三値化回路27か
ら出力された信号730,740と補正回路3から出力
された補正済信号100により、三値化しようとする注
目画素周辺の既に三値化した領域を参照して、その領域
内に打たれているドツトが存在するか否かを判定し、判
定信号750,760を出力する。例えば、信号100
が20以下の場合、信号730が入力されている回路に
おいて注目画素の回りの処理済領域内のドツトの有無が
調べられ、その結果が信号750として出力される。こ
のとき信号760は強制的に0”となる。信号100が
128以上150以下の場合、信号740が入力されて
いる回路において注目画素の回りの処理済領域内のドツ
トの有無が調べられ、その結果が信号760として出力
される。このとき信号750は強制的に“0”となる。
The determination circuit 28 can be realized by including two circuits as shown in FIG. 5 or 6. Here, the signals 730 and 740 output from the ternarization circuit 27 and the corrected signal 100 output from the correction circuit 3 are used to refer to the already ternarized area around the pixel of interest to be ternarized. It is determined whether or not there is a dot placed within that area, and determination signals 750 and 760 are output. For example, signal 100
If is less than 20, the circuit to which the signal 730 is input checks whether there are dots in the processed area around the pixel of interest, and outputs the result as a signal 750. At this time, the signal 760 is forcibly set to 0''. If the signal 100 is greater than or equal to 128 and less than or equal to 150, the circuit to which the signal 740 is input checks whether there are dots in the processed area around the pixel of interest, and The result is output as a signal 760. At this time, the signal 750 is forced to "0".

また、信号100が21以上128未満あるいは150
よりも大きければ、信号750,760共に0”となる
Also, if the signal 100 is 21 or more and less than 128 or 150
If it is larger than , both signals 750 and 760 become 0''.

出力装置29はレーザービームプリンタ又はインクジェ
ットプリンタ等によって構成され、三値化回路27から
出力された信号730,740により画像形成を行う。
The output device 29 is constituted by a laser beam printer, an inkjet printer, or the like, and forms an image using signals 730 and 740 output from the ternary circuit 27.

ここでは三値化回路について説明したが、第2図の閾値
設定回路及び第5図あるいは第6図の判定回路を夫々(
N−1)個用いれば、本実施例はN値化処理に応用でき
る。
Although the ternarization circuit has been explained here, the threshold value setting circuit in FIG. 2 and the determination circuit in FIG.
If N-1) pieces are used, this embodiment can be applied to N-value processing.

また、カラー画像に対しては上記実施例に示した回路を
所定色分持つことで実現できる。
Furthermore, a color image can be realized by providing the circuits shown in the above embodiments for predetermined colors.

このように本実施例によれば、二値化処理、N値化処理
に際し注目画素周辺のドツトの存在の有無を調べ、二値
化(N値化)処理を行うことにより、誤差拡散法で問題
となっていた、ドツトとドツトが近接して打たれるのを
防止することができる。
In this way, according to this embodiment, the presence or absence of dots around the pixel of interest is checked during the binarization process and the N-value process, and the error diffusion method is performed by performing the binarization (N-value conversion) process. It is possible to prevent the dots from being hit in close proximity, which has been a problem.

また、画像濃度に応じて参照する二値化法領域を変化さ
せることで、その画像濃度に合った均一性でドツトを打
つことができ、画像の品位が向上する。
Furthermore, by changing the reference binarization area according to the image density, dots can be printed with uniformity that matches the image density, improving the quality of the image.

尚、本発明は画像濃度の高い領域におけるドツトが打た
れないために発生する白いノイズも防止することができ
る。この場合は参照領域中の中に1つでもドツトが打た
れていなければ注目画素ではドツトを打ち、全てドツト
が打たれていれば通常閾値で二値化する構成にすればよ
い。
Incidentally, the present invention can also prevent white noise that occurs because dots are not placed in areas of high image density. In this case, if even one dot is not placed in the reference area, a dot is placed at the pixel of interest, and if all dots are placed, the pixel is binarized using a normal threshold value.

〔発明の効果〕〔Effect of the invention〕

以上説明した如(本発明によれば、注目画素周辺の既に
処理済の領域中に打たれているドツトが存在するか否か
を判定し、その判定結果に応じて注目画素を量子化する
ことにより、画像濃度の低い部分で生じていたドツトと
ドツトが近接して打たれる現象を防ぐことができ、画像
の品位を向上することができる。
As explained above (according to the present invention, it is determined whether or not there are dots placed in the already processed area around the pixel of interest, and the pixel of interest is quantized according to the determination result). As a result, it is possible to prevent the phenomenon in which dots are placed close to each other, which occurs in areas of low image density, and the quality of the image can be improved.

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

第1図は本実施例のブロック構成図、 第2図は閾値設定回路4のブロック構成図、第3図は二
値化回路5のブロック構成図、第4図は重み係数の一例
を示した図、 第5図は判定回路6のブロック構成図、第6図は判定回
路6を変更した場合のブロック構成図、 第7図は本発明を多値化処理に応用した場合の実施例の
ブロック構成図、 第8図は従来の処理における問題点を示した図、図中1
は入力装置、2はA/D変換器、3は補正回路、4は閾
値設定回路、5は二値化回路、6は判定回路、7は出力
装置である。
Fig. 1 is a block diagram of the present embodiment, Fig. 2 is a block diagram of the threshold setting circuit 4, Fig. 3 is a block diagram of the binarization circuit 5, and Fig. 4 shows an example of weighting coefficients. 5 is a block configuration diagram of the determination circuit 6, FIG. 6 is a block configuration diagram when the determination circuit 6 is changed, and FIG. 7 is a block diagram of an embodiment in which the present invention is applied to multi-value processing. Configuration diagram, Figure 8 is a diagram showing problems in conventional processing, 1 in the diagram
2 is an input device, 2 is an A/D converter, 3 is a correction circuit, 4 is a threshold value setting circuit, 5 is a binarization circuit, 6 is a determination circuit, and 7 is an output device.

Claims (5)

【特許請求の範囲】[Claims] (1)画像をデジタル信号で処理する画像処理装置であ
って、注目画素周辺の既に処理済領域中に打たれている
ドットが存在するか否かを判定する判定手段と、上記判
定手段の判定結果に応じて注目画素を量子化する量子化
手段とを有することを特徴とする画像処理装置。
(1) An image processing device that processes an image using a digital signal, including a determining means for determining whether or not there are dots that have been placed in an already processed area around a pixel of interest, and a determination by the determining means. 1. An image processing device comprising: quantization means for quantizing a pixel of interest according to a result.
(2)上記処理済領域のサイズは注目画素濃度により可
変であることを特徴とする特許請求の範囲第(1)項の
画像処理装置。
(2) The image processing apparatus according to claim (1), wherein the size of the processed area is variable depending on the density of the pixel of interest.
(3)上記処理済領域のサイズは注目画素濃度が低いほ
ど大きく、濃度が高いほど小さくなることを特徴とする
特許請求の範囲第(1)項の画像処理装置。
(3) The image processing apparatus according to claim (1), wherein the size of the processed area becomes larger as the density of the pixel of interest is lower, and smaller as the density is higher.
(4)上記判定手段は処理済領域内にドットが存在して
いるか否かの信号を上記量子化手段へ出力することを特
徴とする特許請求の範囲第(1)項の画像処理装置。
(4) The image processing apparatus according to claim (1), wherein the determining means outputs a signal indicating whether or not a dot exists within the processed area to the quantizing means.
(5)上記量子化手段は上記判定手段にて処理済領域内
にドットが存在すると判定すると、注目画素にはドット
を打たないことを特徴とする特許請求の範囲第(1)項
の画像処理装置。
(5) The image according to claim (1), wherein the quantization means does not place a dot on the pixel of interest if the determination means determines that a dot exists in the processed area. Processing equipment.
JP62289170A 1987-11-16 1987-11-16 Image processing device Expired - Fee Related JP2662402B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP62289170A JP2662402B2 (en) 1987-11-16 1987-11-16 Image processing device
DE3844894A DE3844894C2 (en) 1987-11-16 1988-11-15 Image processing, esp. of half tone or raster images
DE3838730A DE3838730C2 (en) 1987-11-16 1988-11-15 Image processing method and apparatus
US07/875,210 US5325448A (en) 1987-11-16 1992-04-28 Image treatment method and apparatus with error dispersion and controllable quantization
US07/957,825 US6285464B1 (en) 1987-11-16 1992-10-08 Apparatus and method for producing a half-tone image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62289170A JP2662402B2 (en) 1987-11-16 1987-11-16 Image processing device

Publications (2)

Publication Number Publication Date
JPH01130946A true JPH01130946A (en) 1989-05-23
JP2662402B2 JP2662402B2 (en) 1997-10-15

Family

ID=17739668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62289170A Expired - Fee Related JP2662402B2 (en) 1987-11-16 1987-11-16 Image processing device

Country Status (1)

Country Link
JP (1) JP2662402B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01276969A (en) * 1988-04-28 1989-11-07 Matsushita Electric Ind Co Ltd Picture signal processor
US7106476B1 (en) 1999-12-13 2006-09-12 Ricoh Company, Ltd. Image processing method, image processing apparatus, image forming method and recording medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52132846A (en) * 1976-04-30 1977-11-07 Nec Corp Thermal recording system
JPS61218273A (en) * 1985-03-25 1986-09-27 Fuji Xerox Co Ltd Method for recording halftone
JPS61237574A (en) * 1985-04-12 1986-10-22 インターナショナル ビジネス マシーンズ コーポレーション Generation of halftone image
JPS62139473A (en) * 1985-12-12 1987-06-23 Nec Corp Pseudo halftone image processor
JPS62242473A (en) * 1986-04-15 1987-10-23 Nec Corp Pseudo halftone image processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52132846A (en) * 1976-04-30 1977-11-07 Nec Corp Thermal recording system
JPS61218273A (en) * 1985-03-25 1986-09-27 Fuji Xerox Co Ltd Method for recording halftone
JPS61237574A (en) * 1985-04-12 1986-10-22 インターナショナル ビジネス マシーンズ コーポレーション Generation of halftone image
JPS62139473A (en) * 1985-12-12 1987-06-23 Nec Corp Pseudo halftone image processor
JPS62242473A (en) * 1986-04-15 1987-10-23 Nec Corp Pseudo halftone image processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01276969A (en) * 1988-04-28 1989-11-07 Matsushita Electric Ind Co Ltd Picture signal processor
US7106476B1 (en) 1999-12-13 2006-09-12 Ricoh Company, Ltd. Image processing method, image processing apparatus, image forming method and recording medium

Also Published As

Publication number Publication date
JP2662402B2 (en) 1997-10-15

Similar Documents

Publication Publication Date Title
US5325448A (en) Image treatment method and apparatus with error dispersion and controllable quantization
JPH08101912A (en) Method for quantization of gray-level pixel data with extended distribution set
JPH05199413A (en) Picture processor
US5157741A (en) Image processing method and apparatus for out-putting dot-processed data with suppression of false contours and other noise
US6369912B1 (en) Image processing apparatus capable of applying line component to image
JP2815157B2 (en) Image processing device
EP0382581B1 (en) Image processing apparatus
JPH01130945A (en) Image processing apparatus
JPH01130946A (en) Image processing apparatus
JPH01115271A (en) Image processor
JPH01115272A (en) Image processor
US5200839A (en) Image processing apparatus
JP2683085B2 (en) Image processing device
JP2683084B2 (en) Image processing device
JP2675792B2 (en) Image processing device
JPS63164570A (en) Image processing method
JP2733314B2 (en) Image processing device
JP2670477B2 (en) Image processing device
JPH0644800B2 (en) Image processing device
JP3051144B2 (en) Halftone image processing device
JP2859333B2 (en) Image processing device
JP2644491B2 (en) Image processing device
JPS63288567A (en) Image processor
JP2682985B2 (en) Image processing method
JP2692838B2 (en) Image processing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees