JPH03186064A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH03186064A
JPH03186064A JP1324052A JP32405289A JPH03186064A JP H03186064 A JPH03186064 A JP H03186064A JP 1324052 A JP1324052 A JP 1324052A JP 32405289 A JP32405289 A JP 32405289A JP H03186064 A JPH03186064 A JP H03186064A
Authority
JP
Japan
Prior art keywords
weighting coefficient
average density
signal
density
circuit
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
JP1324052A
Other languages
Japanese (ja)
Other versions
JP2859334B2 (en
Inventor
Joji Oki
丈二 大木
Takafumi Sawaki
沢木 宇文
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 JP1324052A priority Critical patent/JP2859334B2/en
Publication of JPH03186064A publication Critical patent/JPH03186064A/en
Application granted granted Critical
Publication of JP2859334B2 publication Critical patent/JP2859334B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve the quality of a picture by setting a weighting coefficient for average density calculation corresponding to the density of an input picture element. CONSTITUTION:Read picture data are successively converted to digital data by an A/D converter 2 and signals 100, which are corrected by shading correction, etc., are simultaneously outputted to a weighting coefficient setting circuit 4 and a binarizing processing circuit 5. In the weighting coefficient setting circuit 4, the weighting coefficient for average density calculation is set by the corrected signal 100 and a weighting coefficient signal 200 is outputted. In the binarizing circuit 5, a binarizing processing is executed to the corrected signal 100 by an average density value calculated by the weighting coefficient signal 200. Namely, according to the variably set weighting coefficient for average density calculation corresponding to the density of the input picture element data, the average density value is calculated and the binarizing processing is executed. Thus, the quality of the picture can be improved.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は画像処理装置に関し、特に所定領域の平均濃度
値に基づいて注目画素の2値化を行い、発生する2値化
誤差を周辺画素に拡散し、画像の濃度を保存可能な画像
処理装置に関するものである。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to an image processing device, and in particular, binarizes a pixel of interest based on the average density value of a predetermined area, and converts the generated binarization error to surrounding pixels. The present invention relates to an image processing device that can diffuse images into images and store the density of images.

[従来の技術] 近年、デジタルプリンタやファクシミリ装置等の画像処
理装置におい、て、中間調を再現するための2値化手法
として、2値化処理で発生した誤差を周辺の画素に分散
する誤差拡散法という手法が注目されている。
[Prior Art] In recent years, in image processing devices such as digital printers and facsimile machines, as a binarization method for reproducing halftones, an error method that disperses the error generated in the binarization process to surrounding pixels has been used. A method called diffusion method is attracting attention.

[発明が解決しようとしている課題] また。類似の手法として平均濃度保存法という手法が提
案されている。この平均濃度保存法は、注目画素周辺の
既に処理済領域中のドツトの配置から算出される平均濃
度を閾値ヒして注目画素を2値化し、この際に発生する
2値化誤差を周辺の画素に分散する事により、濃度を保
存する手法である。但し、2値化誤差が所定の閾値より
大きい場合は、誤差拡散処理を中止(適応型誤差補正)
するように構成されている。
[Problem to be solved by the invention] Also. A similar method called the average concentration conservation method has been proposed. This average density preservation method binarizes the pixel of interest by thresholding the average density calculated from the arrangement of dots in the already processed area around the pixel of interest, and subtracts the binarization error that occurs at this time. This is a method of preserving density by dispersing it into pixels. However, if the binarization error is larger than a predetermined threshold, error diffusion processing is stopped (adaptive error correction).
is configured to do so.

しかしながら、上記平均濃度保存法では、所定領域の平
均濃度を算出する際に、所定の重み係数により演算して
いるため、例えば原稿の中濃度部では、再生画像中に縞
模様が発生し、また濃度が低い部分、あるいは高い部分
では、ドツトが近接して線状につながるなど画像の品位
を著しく低下させるという欠点があった。
However, in the above average density preservation method, when calculating the average density of a predetermined area, a predetermined weighting coefficient is used. In areas where the density is low or high, the dots are close together and connected in a linear manner, resulting in a significant deterioration in the quality of the image.

本発明は、上記課題を解決するために成されたもので、
入力画素濃度に応じて平均濃度算出用の重み係数を可変
に設定する事により、画像の品位を向上させる事ができ
る画像処理装置を提供することを目的とする。
The present invention was made to solve the above problems, and
It is an object of the present invention to provide an image processing device that can improve the quality of an image by variably setting a weighting coefficient for calculating an average density according to an input pixel density.

[課題を解決するための手段] 上記目的を達成するために、本発明の画像処理装置は以
下の構成から成る。すなわち、所定領域の平均濃度値に
基づいて注目画素の2値化を行い、発生する2値化誤差
を周辺画素に拡散し、画像の濃度を保存可能な画像処理
装置であって、入力画素データの濃度に応じて平均濃度
算出用の重み係数を可変に設定する設定手段と、該設定
手段で設定された重み係数に従って平均濃度値を算出し
、2値化処理を行う2値化手段とを有する。
[Means for Solving the Problems] In order to achieve the above object, an image processing device of the present invention has the following configuration. That is, the image processing device is capable of binarizing a pixel of interest based on the average density value of a predetermined area, diffusing the generated binarization error to surrounding pixels, and storing the density of the image, and which is capable of storing the density of the image. a setting means for variably setting a weighting coefficient for calculating the average density according to the density of the image, and a binarizing means for calculating the average density value according to the weighting coefficient set by the setting means and performing binarization processing. have

[作用] 以上の構成において、入力画素データの濃度に応じて、
可変に設定された平均濃度算出用の重み係数に従って平
均濃度値を算出し、2値化処理を行うように動作する。
[Operation] In the above configuration, depending on the density of input pixel data,
It operates to calculate an average density value according to a variably set weighting coefficient for calculating the average density, and to perform binarization processing.

[実施例J 以下、添付図面を参照して本発明に係る好適な一実施例
を詳細に説明する。
[Embodiment J] Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

第1図は、本実施例での画像処理装置の構成を示す概略
ブロック図である。
FIG. 1 is a schematic block diagram showing the configuration of an image processing apparatus in this embodiment.

まず、CCD等の光電変換素子及びそれを走査する駆動
系を含む入力装置1で読み取られた画像データは、逐次
A/D変換器2へ送られる。この変換器2では、各画素
のアナログデータな例えば8ビツトのデジタルデータに
変換し、これにより256レベルの階調を持つデータに
量子化する。
First, image data read by an input device 1 including a photoelectric conversion element such as a CCD and a drive system for scanning it is sequentially sent to an A/D converter 2. The converter 2 converts the analog data of each pixel into, for example, 8-bit digital data, which is then quantized into data having 256 levels of gradation.

次に、補正回路3において、CCDセンサの感度ムラや
照明光源による照度ムラを補正するためにシェーディン
グ補正等の補正をデジタル演算処理で行う。そして、補
正された信号(補正済信号)100が重、み係数設定回
路4と2値化処理回路5へ同時に出力される。この重み
係数設定回路4では、補正回路3から出力された補正済
信号lOOにより平均濃度算出用の重み係数を設定し、
重み係数信号200を出力する。
Next, in the correction circuit 3, corrections such as shading correction are performed by digital calculation processing in order to correct unevenness in sensitivity of the CCD sensor and unevenness in illuminance due to the illumination light source. Then, the corrected signal (corrected signal) 100 is simultaneously output to the weighting coefficient setting circuit 4 and the binarization processing circuit 5. This weighting coefficient setting circuit 4 sets a weighting coefficient for calculating the average concentration using the corrected signal lOO output from the correction circuit 3,
A weighting coefficient signal 200 is output.

一方、2値化回路5では、補正回路3から出力された補
正済信号(8ビツト多値の画像データ)100を重み係
数信号200によって算出された平均濃度値により1ビ
ツト2値の2値信号300に2値化処理(量子化処理)
し、2値信号300を出力する。そして、レーザビーム
プリンタ又はインクジェットプリンタ等により構成され
る出力装置6では、2値化回路5からの2値信号300
をドツトのオン・オフにより画像形成を行う。
On the other hand, the binarization circuit 5 converts the corrected signal (8-bit multivalued image data) 100 output from the correction circuit 3 into a 1-bit binary binary signal using the average density value calculated by the weighting coefficient signal 200. Binarization processing to 300 (quantization processing)
and outputs a binary signal 300. An output device 6 configured with a laser beam printer, an inkjet printer, etc. receives a binary signal 300 from the binarization circuit 5.
Image formation is performed by turning on and off the dots.

第2図は、上述した平均濃度算出用の重み係数設定回路
4の詳細を示すブロック図である。
FIG. 2 is a block diagram showing details of the weighting coefficient setting circuit 4 for calculating the average density described above.

図において、補正回路3から出力された補正済信号10
0はROM7に入力され、対応する値が重み係数信号2
00として出力される。この重み係数α。、β■の一例
を第3図(a)、(b)に示す。但し、「*」は注目画
素位置(I、J)に対応している。そして、以下の表1
は入力と出力との関係を示す一例である。
In the figure, a corrected signal 10 output from the correction circuit 3
0 is input to the ROM 7, and the corresponding value is the weighting coefficient signal 2.
Output as 00. This weighting factor α. , β■ are shown in FIGS. 3(a) and 3(b). However, "*" corresponds to the pixel position of interest (I, J). And Table 1 below
is an example showing the relationship between input and output.

表1 ここでは、 上記のようにROM7により2通り の重み係数を用いたが、更に多段階の重み係数を用いて
も良い。そのとき、画像濃度が低い部分。
Table 1 Here, two types of weighting coefficients are used by the ROM 7 as described above, but it is also possible to use multi-level weighting coefficients. At that time, the area where the image density is low.

高い部分、濃度128近辺では、第3図(b)ののよう
な、ある程度大きい重みマスクを用いると良い。
In the high part, near the density 128, it is preferable to use a somewhat large weight mask as shown in FIG. 3(b).

第4図は、上述した2値化回路5の構成を示すブロック
図である。
FIG. 4 is a block diagram showing the configuration of the binarization circuit 5 described above.

図において、補正回路3から入力された補正済信号10
0(注目画像濃度)は、エラーバッファメモリ9に保存
されている2値化誤差E、J(注目画素に配分された誤
差の総和)と加算器8で加算され、その結果として、誤
差補正済信号210が出力される。
In the figure, a corrected signal 10 input from the correction circuit 3
0 (targeted image density) is added by the adder 8 to the binarization errors E and J (sum of errors allocated to the target pixel) stored in the error buffer memory 9, and as a result, the error-corrected A signal 210 is output.

そして、誤差補正済信号210は比較器1oに入力され
、平均濃度演算器12で算出された平均濃度信号220
と比較される。ここで、誤差補正済信号210が平均濃
度信号220よりも大きければ“l”、小さければO”
が2値信号300として出力される。また、この2値信
号300は出力装置6に入力されると共に、2値メモリ
ll内の所定の画素位置に入力される。
Then, the error-corrected signal 210 is input to the comparator 1o, and the average concentration signal 220 calculated by the average concentration calculator 12
compared to Here, if the error corrected signal 210 is larger than the average density signal 220, it is "l", and if it is smaller, it is "O".
is output as a binary signal 300. Further, this binary signal 300 is input to the output device 6 and is also input to a predetermined pixel position in the binary memory 11.

次に、平均濃度演算器12では、上述した重み係数設定
回路4からの重み係数信号200を2値メモリ11に対
して重み付けを行い5、平均濃度信号220を算出する
。この平均濃度とは、2値データに重み係数(α1又は
βIIL)を掛けた総和である。
Next, the average density calculator 12 weights the weighting coefficient signal 200 from the weighting coefficient setting circuit 4 described above with respect to the binary memory 11 5, and calculates the average density signal 220. This average density is the sum of binary data multiplied by a weighting coefficient (α1 or βIIL).

この平均濃度信号220は、上述の比較器10に入力さ
れると共に、演算器13に入力される。
This average density signal 220 is input to the above-mentioned comparator 10 as well as to the arithmetic unit 13.

また、演算器13には、上述した誤差補正済信号210
が入力されている。ここで、これら2つの信号の差分が
計算され、信号230(ΔEiJ)として出力される。
The arithmetic unit 13 also includes the above-mentioned error corrected signal 210.
is entered. Here, the difference between these two signals is calculated and output as signal 230 (ΔEiJ).

次に、この信号230は比較器14に入力され、誤差拡
散中止用の閾値(例えば“126”)と比較される。そ
の結果、閾値より大きければ、“O” (誤差拡散中止
)が、等しいか小さければ、そのままの値が信号240
として出力される。そして、この信号240は重み付は
回路15に入力され、ここで、重み付け(γKl)がな
された後、エラーバッファメモリ9内の所定の画素位置
の誤差に加算される。第5図に重み係数(γ□)の−例
を示す。なお、「*jは注目画素位置(I、J)に対応
している。
Next, this signal 230 is input to the comparator 14 and compared with a threshold value (for example, "126") for stopping error diffusion. As a result, if it is larger than the threshold value, “O” (stop error diffusion), and if it is equal or smaller, the value remains as it is on the signal 240.
is output as This signal 240 is then input to the weighting circuit 15, where it is weighted (γKl) and then added to the error at a predetermined pixel position in the error buffer memory 9. FIG. 5 shows an example of the weighting coefficient (γ□). Note that "*j corresponds to the pixel position of interest (I, J).

以上の操作を繰り返す事により、平均濃度保存法による
2値化処理が行われる。
By repeating the above operations, binarization processing using the average density preservation method is performed.

以上の構成において、入力画像濃度に適応した平均濃度
算出用卯の重み係数を用いる事により、原稿の中濃度部
での、独特の縞模様の発生を軽減する事ができる。
In the above configuration, by using the weighting coefficient for average density calculation that is adapted to the input image density, it is possible to reduce the occurrence of unique striped patterns in the medium density portion of the document.

[他の実施例] 次に、本発明に係る他の実施例について図面を参照して
以下に説明する。
[Other Embodiments] Next, other embodiments according to the present invention will be described below with reference to the drawings.

なお、この実施例では、上述した重み係数設定回路4の
一部を変更した場合について述べる。
In this embodiment, a case will be described in which a part of the weighting factor setting circuit 4 described above is changed.

補正回路3から出力された信号100はROM7に入力
される。このROM7では、以下の表2に示す関係に従
って信号200が出力される。
A signal 100 output from the correction circuit 3 is input to the ROM 7. This ROM 7 outputs a signal 200 according to the relationship shown in Table 2 below.

また、第6図(a)、(b)は、重み係数δ□、。Moreover, FIGS. 6(a) and (b) show the weighting coefficients δ□.

EKLの一例を示すものである。This shows an example of EKL.

表2 以上のような構成にする事により、前述の実施例の場合
と同様に、原稿濃度の低い部分、高い部分で生じていた
ドツトとドツトが近接して打たれる現象を防ぐ事ができ
、画像の品位を向上させる事が可能となる。
Table 2 With the above configuration, it is possible to prevent the phenomenon of dots being placed close to each other, which occurred in areas with low and high document density, as in the case of the previous embodiment. , it is possible to improve the quality of images.

〔発明の効果] 以上説明した如く、本発明によれば、入力画素濃度に適
応した平均濃度算出用の重み係数を設定する事により、
画像の中濃度部で発生する独特の縞模様を軽減させる事
ができると共に、画像濃度の低い部分で生じていたドツ
トとドツトが近接して打たれる現象を防止する事ができ
、画像の品位を向上させる事が可能となる。
[Effects of the Invention] As explained above, according to the present invention, by setting the weighting coefficient for calculating the average density adapted to the input pixel density,
It is possible to reduce the unique striped pattern that occurs in the medium-density areas of images, and also to prevent the phenomenon of dots being placed close to each other that occurs in areas of low image density, improving the image quality. It is possible to improve the

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

第1図は本実施例における画像処理装置の構成を示すブ
ロック図、 第2図は重み係数設定回路4の構成を示すブロック図、 第3図(a)、(b)は本実施例での重み係数を示す図
、 第4図は2値化回路5の詳細な構成を示すブロック図、 第5図は誤差拡散演算の重み係数を示す図、第6図(a
)、(b)は他の実施例での重み係数を示す図である。 図中、1・・・入力装置、2・・・A/D変換器、3・
・・補正回路、4・・・重み係数設定回路、5・・・2
値化回路、6・・・出力装置である。
FIG. 1 is a block diagram showing the configuration of the image processing device in this embodiment, FIG. 2 is a block diagram showing the configuration of the weighting coefficient setting circuit 4, and FIGS. 3(a) and (b) are the blocks in this embodiment. 4 is a block diagram showing the detailed configuration of the binarization circuit 5, FIG. 5 is a diagram showing the weighting coefficients for error diffusion calculation, and FIG.
) and (b) are diagrams showing weighting coefficients in other embodiments. In the figure, 1... input device, 2... A/D converter, 3...
...Correction circuit, 4...Weighting coefficient setting circuit, 5...2
Value converting circuit 6... Output device.

Claims (1)

【特許請求の範囲】 所定領域の平均濃度値に基づいて注目画素の2値化を行
い、発生する2値化誤差を周辺画素に拡散し、画像の濃
度を保存可能な画像処理装置であって、 入力画素データの濃度に応じて平均濃度算出用の重み係
数を可変に設定する設定手段と、 該設定手段で設定された重み係数に従って平均濃度値を
算出し、2値化処理を行う2値化手段とを有する事を特
徴とする画像処理装置。
[Claims] An image processing device capable of binarizing a pixel of interest based on the average density value of a predetermined area, diffusing the generated binarization error to surrounding pixels, and preserving the density of the image. , a setting means for variably setting a weighting coefficient for calculating an average density according to the density of input pixel data, and a binary system for calculating an average density value according to the weighting coefficient set by the setting means and performing a binarization process. An image processing device characterized by comprising: converting means.
JP1324052A 1989-12-15 1989-12-15 Image processing device Expired - Fee Related JP2859334B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1324052A JP2859334B2 (en) 1989-12-15 1989-12-15 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1324052A JP2859334B2 (en) 1989-12-15 1989-12-15 Image processing device

Publications (2)

Publication Number Publication Date
JPH03186064A true JPH03186064A (en) 1991-08-14
JP2859334B2 JP2859334B2 (en) 1999-02-17

Family

ID=18161615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1324052A Expired - Fee Related JP2859334B2 (en) 1989-12-15 1989-12-15 Image processing device

Country Status (1)

Country Link
JP (1) JP2859334B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0638030A (en) * 1992-07-13 1994-02-10 Mita Ind Co Ltd Image processor
US6999201B1 (en) 1999-05-18 2006-02-14 International Business Machines Corp. Diffusion method using adaptation of diffusion ratio and an apparatus therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0638030A (en) * 1992-07-13 1994-02-10 Mita Ind Co Ltd Image processor
US6999201B1 (en) 1999-05-18 2006-02-14 International Business Machines Corp. Diffusion method using adaptation of diffusion ratio and an apparatus therefor

Also Published As

Publication number Publication date
JP2859334B2 (en) 1999-02-17

Similar Documents

Publication Publication Date Title
US5243445A (en) Picture processing apparatus
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
EP0382581B1 (en) Image processing apparatus
JPH03186064A (en) Picture processor
JP2683085B2 (en) Image processing device
JP2859333B2 (en) Image processing device
JP2683084B2 (en) Image processing device
JPH01115271A (en) Image processor
JP2637414B2 (en) Image processing method
JPH01130945A (en) Image processing apparatus
JPH03196769A (en) Picture processor
JP2675792B2 (en) Image processing device
JP3051144B2 (en) Halftone image processing device
JP2733314B2 (en) Image processing device
JPS63288755A (en) Image processing method
JP2644488B2 (en) Image processing device
JPH02210961A (en) Picture processor
JPH0197066A (en) Picture processing method
JP2833666B2 (en) Image processing device
JP3157870B2 (en) Image processing method
JP3475425B2 (en) Image processing apparatus, image processing method thereof, and recording medium recording image processing program
JP2644491B2 (en) Image processing device
JPH01130946A (en) Image processing apparatus
JPH0595474A (en) Picture processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081204

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091204

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees