JPH0435166A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH0435166A
JPH0435166A JP2133851A JP13385190A JPH0435166A JP H0435166 A JPH0435166 A JP H0435166A JP 2133851 A JP2133851 A JP 2133851A JP 13385190 A JP13385190 A JP 13385190A JP H0435166 A JPH0435166 A JP H0435166A
Authority
JP
Japan
Prior art keywords
binarization
data
printing
pixel
picture
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
JP2133851A
Other languages
Japanese (ja)
Inventor
Seiichi Ito
誠一 伊藤
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2133851A priority Critical patent/JPH0435166A/en
Priority to US07/690,574 priority patent/US5208684A/en
Priority to EP91303820A priority patent/EP0454495B1/en
Priority to KR1019910006752A priority patent/KR950006440B1/en
Priority to DE69116924T priority patent/DE69116924T2/en
Publication of JPH0435166A publication Critical patent/JPH0435166A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a picture with an excellent pseudo medium gradation by using a least means error method so as to binarize an input picture data subject to multi-gradation quantization and correcting the result by a Laplacian operation. CONSTITUTION:A picture input section 101 reads picture information of an original, quantizes it and the result is immediately subject to Laplacian operation and inputted to a binarizing means 102 as an original picture data. The means 102 applies binarization by using the least means error method, which reads a binarization error caused by surrounding picture elements after binarization and obtains a weight mean. The result is fed to an original picture data of the noted picture element to obtain a correction data and it is compared with a prescribed threshold level to apply binarization. A difference caused therein is stored as a binarization error. The processing above is repeated to obtain the binary data based on the least means error method and an excellent pseudo medium gradation picture is obtained.

Description

【発明の詳細な説明】 〔概要〕 多階調量子化された入力画像データを平均誤差最小法に
より2値化し、疑似中間調画像を得る画像処理装置に関
し、 2値化手段において注目画素及び周辺画素の原画濃度デ
ータによるラプラシアン演算により注目画素の濃度デー
タの補正を行い画像のメリハリを強調することを目的と
し、 前段にて多階調量子化された入力画像データを2値化す
る2値化手段と、前記2値化手段の2値出力データを受
け印字を制御する制御手段と、前記2値化手段の2値出
力データを印字する印字手段を有する画像処理装置にお
いて、前記2値化手段は平均誤差最小法の演算部とラプ
ラシアン演算部を備え、前記量子化された入力画像デー
タを平均誤差最小法により2値化し、かつ注目画素及び
周辺画素の入力画像データをラプラシアン演算し注目画
素の濃度データの補正を行うように構成する。
[Detailed Description of the Invention] [Summary] An image processing device that binarizes multi-tone quantized input image data using the minimum average error method to obtain a pseudo halftone image, the binarization means binarizing the pixel of interest and its surroundings. The goal is to correct the density data of the pixel of interest using Laplacian calculation using the original density data of the pixel and emphasize the sharpness of the image.Binarization involves converting the input image data that has been multi-gradation quantized in the previous stage into binarization. an image processing apparatus comprising: a control means for receiving binary output data of the binarizing means and controlling printing; and a printing means for printing the binary output data of the binarizing means; comprises a minimum average error method calculation unit and a Laplacian calculation unit, which binarizes the quantized input image data by the minimum average error method, performs a Laplacian calculation on the input image data of the pixel of interest and surrounding pixels, and calculates the value of the pixel of interest. The configuration is configured to correct density data.

〔産業上の利用分野〕 本発明は入力画像データを平均誤差最小法により2値化
し、疑似中間調画像を得る画像処理装置に関し、例えば
、ファクシミリ装置やイメージスキャナ装置に用いる画
像処理装置の疑似中間調画像を得る方法の改善に関する
[Industrial Application Field] The present invention relates to an image processing device that binarizes input image data using the minimum average error method to obtain a pseudo-halftone image, such as a pseudo-halftone image processing device used in a facsimile machine or an image scanner device. This invention relates to improvements in methods for obtaining toned images.

〔従来の技術〕[Conventional technology]

画像処理装置における疑似中間調表示として、−船釣に
デイザ法が用いられる。デイザ法は各画素の濃度値を画
素毎に変化するしきい値で2値化する方法であり、原画
の画素と表現の画素が1対1で対応する。そして、デイ
ザ法の一種である組織的デイザ法はしきい値の配列の相
違によりBayer形、網点形、渦巻形等がある。さら
に、これらの形式は白点が集中しているか分散している
かによりドツト集中型(渦巻形)とドツト分散型(Ba
yer形、網点形)に分類することができる。
A dither method is used for boat fishing as a pseudo halftone display in an image processing device. The dither method is a method of binarizing the density value of each pixel using a threshold value that changes for each pixel, and the pixels of the original image correspond to the pixels of the expression on a one-to-one basis. The systematic dither method, which is a type of dither method, includes Bayer type, halftone type, spiral type, etc. depending on the arrangement of threshold values. Furthermore, these formats are divided into dot concentrated type (spiral type) and dot dispersed type (Ba
yer type, halftone type).

具体的には組織的デイザ法は画面をnxnドツトのサブ
マ) IJクスの集合と見なし、このザブマトリクス内
の画像情報のみによってそのサブマトリクス内のしきい
値を定めるものである。
Specifically, the systematic dither method considers the screen as a set of nxn dot submatrix, and determines the threshold value in the submatrix based only on the image information in the submatrix.

組織的デイザ法は上述のように2値記録であるため記録
が簡単で記録の安定性が良い等の特徴があり、かつ2値
化のためハードウェア構成が単純なだめ、比較的低価格
で装置の実現が可能であるという利点も有する。
As mentioned above, the systematic dither method uses binary recording, so it is easy to record and has good recording stability, and because it is binary, the hardware configuration is simple, so it is relatively inexpensive and easy to use. It also has the advantage that it is possible to realize

一方、デイザ法のさらに他の種類として、%anfre
d、R,5chroeder (米ベル研)、  rl
mages fromC:omputersJ、 IB
EB Spectrum、 Vol、6. pp66−
78゜1969で発表され、その後、J、F、Jarv
is、 C,N、Judice。
On the other hand, as another type of dither method, %anfre
d, R, 5chroeder (Bell Labs, USA), rl
mages from C: computers J, IB
EB Spectrum, Vol. 6. pp66-
78° in 1969, and later J, F, Jarv.
is, C,N, Judice.

and W、 H,N1nke(米ヘル研)等によッテ
改良すレ、rA 5urvey of Techniq
ues for the Display ofCon
tinuous Tone Pictures on 
B11evel DisplaysJ。
and W, H, N1nke (U.S. Health Research Institute) etc., rA 5urvey of Techniq
ues for the Display ofCon
Tiny Tone Pictures on
B11evel DisplaysJ.

Computer Graphics and Ima
ge Processing、 Vol5、 pp13
−40.1976で論文発表された平均誤差最小法があ
る。平均誤差最小法は参照画素の読取濃度と表示濃度と
の誤差を注目画素との距離で重み付けして平均した誤差
を、注目画素に加えて一定しきい値で2値化する方法で
ある。即ち、後述するように注目画素の濃度データを周
辺画素で発生した2値化誤差の加重平均値で補正するこ
とにより、原画像と出力画像の濃度が等しくなるように
したものである。
Computer Graphics and Ima
ge Processing, Vol5, pp13
-40.There is a minimum average error method published in a paper in 1976. The minimum average error method is a method in which the error between the read density and display density of a reference pixel is weighted by the distance to the pixel of interest, and the averaged error is added to the pixel of interest and binarized using a constant threshold. That is, as will be described later, by correcting the density data of the pixel of interest using a weighted average value of binarization errors generated in surrounding pixels, the densities of the original image and the output image are made equal.

この平均誤差最小法では上述の組織的デイザ法のように
マトリクスサイズで一義的に表現階調数が決定されるこ
とがなく、また周期的な縞模様である所謂モアレが発生
しない等、階調性や解像度の点で優れた方式である。
In this minimum average error method, the number of expressed gradations is not uniquely determined by the matrix size as in the systematic dither method described above, and the so-called moiré, which is a periodic striped pattern, does not occur. This is an excellent method in terms of performance and resolution.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところで、組織的デイザ法には以下のような短所がある
。即ち、 ■原稿が印刷等の網点画像の場合、出力画像において原
稿には存在しないモアレが発生する、■2値化するため
文字、線画等の処理結果が切れ切れになり階調性が悪く
、従って、著しく再現品質が悪い、そして ■多階調を得るにはマトリクスサイズを大きくし、高解
像度を得るためにはマトリクスサイズを小さくする、と
いう相反する性質があり、多階調と高解像度とを両立す
ることはできない、等である。
By the way, the systematic dither method has the following disadvantages. In other words, ■ If the original is a halftone image such as a print, moiré that does not exist in the original will occur in the output image; ■ Due to binarization, the processing results of characters, line drawings, etc. will be cut off and the gradation will be poor; Therefore, the reproduction quality is extremely poor, and ■There is a contradictory property between increasing the matrix size to obtain multiple gradations and decreasing the matrix size to obtain high resolution. For example, it is not possible to achieve both.

一方、平均誤差最小法には以下に示す短所がある。即ち
、 (1)単純2値化処理い比べると、まだ文字、線画の再
現性が劣る。即ち、原画像の微小なノイズも誤差として
処理され、黒、白の部分に粒状性ノイズが目立つ、 (2)m度が低い部分ではドツトの出現に空間的な遅れ
が生じる。また、−様濃度の部分を処理すると近傍ドツ
トが繋がった独特の縞パターンが発生し不快な感じを与
えてしまう、 等である。
On the other hand, the minimum average error method has the following disadvantages. That is, (1) Compared to simple binarization processing, the reproducibility of characters and line drawings is still inferior. That is, minute noise in the original image is also treated as an error, and granular noise is noticeable in black and white areas. (2) In areas where m degrees are low, there is a spatial delay in the appearance of dots. Furthermore, when processing a part with --like density, a unique striped pattern in which neighboring dots are connected occurs, giving an unpleasant feeling.

本発明の目的はこれらの問題点を解決し、多階a量子化
された入力画像データを平均誤差最小法を用いて2値化
し、さらにラプラシアン演算により補正し文字、線画部
と写真、中間調部の両方ともメリハリの出た良好な疑似
中間調の画像を得る画像処理装置を提供することにある
The purpose of the present invention is to solve these problems, and to binarize input image data that has been multilevel a-quantized using the minimum average error method, and further correct it by Laplacian operation to correct characters, line drawings, photographs, and halftones. Both parts are intended to provide an image processing device that can obtain sharp and good pseudo-halftone images.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理構成図である。 FIG. 1 is a diagram showing the principle configuration of the present invention.

本発明は、前段にて多階調量子化された入力画像データ
を2値化する2値化手段11と、前記2値化手段の2値
出力データを受け印字を制御する制御手段12と、前記
2値化手段の2値出力データを印字する印字手段13を
有する画像処理装置において、 前記2値化手段11は平均誤差最小法の演算部とラプラ
シアン演算部を備え、前記量子化された入力画像データ
を平均誤差最小法により2値化し、かつ注目画素及び周
辺画素の入力画像データをラプラシアン演算し注目画素
の濃度データの補正を行うことを特徴とし、さらに、 前記2値化手段11は、2値化誤差Eと重み付け係数に
の平均誤差を演算して補正値C12、を求め、前記補正
値と量子化入力画像データD my nと前記ラプラシ
アン演算部の出力R□、。を加算し、加算値D m、。
The present invention comprises: a binarization means 11 for binarizing input image data that has been multi-gradation quantized in the previous stage; a control means 12 for receiving binary output data from the binarization means and controlling printing; In an image processing apparatus having a printing means 13 for printing the binary output data of the binarizing means, the binarizing means 11 includes a minimum average error calculation unit and a Laplacian calculation unit, and The binarization means 11 is characterized in that the image data is binarized by the minimum average error method, and the input image data of the pixel of interest and surrounding pixels is subjected to Laplacian calculation to correct the density data of the pixel of interest, and the binarization means 11 further comprises: A correction value C12 is obtained by calculating the average error between the binarization error E and the weighting coefficient, and the correction value, the quantized input image data D my n, and the output R□ of the Laplacian calculation section. , and the added value D m,.

゛ を所定のしきい値Tで2値化すると共に、前記加算
値りつ、。′ と2値化値0゜、。を加算して2値化誤
差Eにフィードバックする。
゛ is binarized using a predetermined threshold value T, and the addition value is calculated. ′ and the binarized value 0°. is added and fed back to the binarization error E.

〔作用〕[Effect]

多階調量子化された入力画像データを平均誤差最小法に
より2値化する2値化手段と、前記2値化手段からの2
値出力データにより印字を行う印字手段とを設け、2値
化手段における平均誤差最小法による処理の中で、原画
データを処理済の周辺画素で発生した平均誤差により補
正する際に、注目画素と周辺画素とによるラプラシアン
演算値による補正を追加するものである。
Binarization means for binarizing multi-gradation quantized input image data by the minimum average error method;
A printing unit that performs printing based on value output data is provided, and when correcting the original image data by the average error generated in the processed surrounding pixels during processing by the minimum average error method in the binarization unit, the pixel of interest and This adds correction using Laplacian calculation values based on surrounding pixels.

この場合、前記2値化手段と前記印字手段が一つの装置
内に共存してもよいし、前記2値化手段と前記印字手段
を分離し、その間を通信回線で接続するようにしてもよ
い。
In this case, the binarization means and the printing means may coexist in one device, or the binarization means and the printing means may be separated and connected by a communication line. .

〔実施例〕〔Example〕

第2図は本発明の一実施例ブロック構成図である。第2
図において、画像入力部11では図示しない原稿の画像
情報を読み取り、最小濃度(白)が0、最大濃度(黒)
が255となるように量子化し、原画データとして2値
化手段12へ入力する。2値化手段12は平均誤差最小
法による2値化を行うものでその方法については後述す
る。
FIG. 2 is a block diagram of an embodiment of the present invention. Second
In the figure, the image input unit 11 reads image information of a document (not shown), and the minimum density (white) is 0 and the maximum density (black).
is quantized to 255 and inputted to the binarization means 12 as original image data. The binarization means 12 performs binarization using the minimum average error method, and the method will be described later.

得られた2値データはマイクロプロセッサ(CPU)メ
モ!J (ROM、 RAM)等から構成された主制御
部13の制御と、オペレータによる操作部14の指示に
基づき、自装置の印字部15に送られる。印字部が他の
装置に分離されている場合には通信制御部16へ送られ
、さらに通信回線りを経て受信側装置17内の印字部1
8に送られる。この場合、印字部15及び18は前述の
ようにサーマルヘッドを用いたものが適切である。
The obtained binary data is microprocessor (CPU) memo! The information is sent to the printing section 15 of the own device under the control of the main control section 13 composed of J (ROM, RAM), etc., and based on instructions from the operating section 14 by the operator. If the printing section is separated into another device, it is sent to the communication control section 16, and then sent to the printing section 1 in the receiving side device 17 via a communication line.
Sent to 8th. In this case, it is appropriate that the printing units 15 and 18 use thermal heads as described above.

まず、平均誤差最小法による2値化処理を簡単に説明す
る。今、画像空間上の主走査方向の第nドツト、副走査
方向の第mライン目の画素に注目し2値化する場合を想
定し、各画素の濃度を表す原画データは最小濃度から最
大濃度を示す値に量子化されて入力されるものとする。
First, the binarization process using the minimum average error method will be briefly explained. Now, suppose that the n-th dot in the main scanning direction and the m-th line pixel in the sub-scanning direction in the image space are to be focused on and binarized, and the original image data representing the density of each pixel is from the minimum density to the maximum density. It is assumed that the input is quantized to a value indicating .

まず、予め記憶しておいた既に2値化済の周辺画素で発
生した2値化誤差を読み出し、所定の重み付け係数を基
に加重平均を求める。この値を注目画素の原画データに
加算し補正データを求め、所定のしいき値(中間濃度)
と比較することによリ、2値化(一義的に最大濃度又は
最小濃度と等価な値とする)を行い2値データを得る。
First, pre-stored binarization errors occurring in neighboring pixels that have already been binarized are read out, and a weighted average is determined based on a predetermined weighting coefficient. This value is added to the original image data of the pixel of interest to obtain correction data, and a predetermined threshold value (intermediate density) is calculated.
By comparing it with , binarization is performed (the value is uniquely equivalent to the maximum density or the minimum density) to obtain binary data.

ここで2値化の際に発生した差分を2値化誤差として記
憶する。以上を画像空間全域に渡り繰り返し行うことに
より平均誤差最小法によって2値化処理された2値デー
タが得られ、表示、印字することにより疑似中間調画像
が得られる。
Here, the difference generated during binarization is stored as a binarization error. By repeating the above steps over the entire image space, binary data binarized by the minimum average error method is obtained, and by displaying and printing, a pseudo halftone image is obtained.

第3図は本発明の平均誤差最小法2値化部12のブロッ
ク構成図である。画像入力部11で原稿の画像を読み取
り、最小濃度(白)がO1最大濃度(黒)が255とな
るように量子化し、量子化された原画データとして平均
誤差最小法2値化部12へ入力される。
FIG. 3 is a block diagram of the minimum average error binarization unit 12 of the present invention. The image input unit 11 reads the original image, quantizes it so that the minimum density (white) is O1 and the maximum density (black) is 255, and inputs it as quantized original image data to the minimum average error binarization unit 12. be done.

平均誤差最小法2値化部1(12において、現在の2値
化処理の対象となる注目画素を画像空間内の第mライン
、第nドツトの位置とし、この第nドツトの量子化原画
データをD□、hとする。なお、m、nは正の整数であ
り、1≦n≦Nとする。
In the mean error minimum method binarization unit 1 (12), the target pixel to be currently binarized is set to the m-th line and n-th dot in the image space, and the quantized original image data of this n-th dot is are D□, h. Note that m and n are positive integers, and 1≦n≦N.

先ず、第1図図示の画像入力部11にて画像を主走査方
向にN (Nは整数)ドツト並んだライン・イメージセ
ンサで読み取り、画像濃度に応じて量子化された原画デ
ータ(最小濃度;0、最高濃度:255の整数)を平均
誤差最小法2値化部1(12に入力する。この原画デー
タは本発明のための原画データラインバッファ2(11
の対応する位置に格納される。
First, in the image input unit 11 shown in FIG. 1, an image is read by a line image sensor in which N (N is an integer) dots are arranged in the main scanning direction, and the original image data is quantized according to the image density (minimum density; 0, highest density: an integer of 255) is input to the average error minimum method binarization unit 1 (12). This original image data is input to the original image data line buffer 2 (11
is stored in the corresponding location.

この原画データラインバッファ2(11 はRAM等で
構成され、処理する注目画素とその前後の合計3ライン
分(第m−1、第m1第m+1ライン)の原画データを
蓄積するものである。
The original image data line buffer 2 (11) is composed of a RAM, etc., and stores original image data for the pixel of interest to be processed and a total of three lines before and after it (m-1st, m1th, m+1th line).

注目画素とその周辺画素の原画データDITh+ nは
直ちにラプラシアン演算部204に入力され、以下のラ
プラシアン演算R17,、が行われる。即ち、R,、n
−K ・C(Dnn □D、−,,。) +(Dn。
The original image data DITh+n of the pixel of interest and its surrounding pixels are immediately input to the Laplacian calculation unit 204, and the following Laplacian calculations R17, . . . are performed. That is, R,,n
-K ・C(Dnn □D, -,,.) +(Dn.

D−、−−1) + (D−、−D−、−+ )+ (
Dnh−Dnnn。) が行われる。ここで、Kは任意の整数である。
D-,--1) + (D-,-D-,-+)+ (
Dnh-Dnnn. ) will be carried out. Here, K is an arbitrary integer.

一方、最初に注目画素の周辺の2値化済の画素(ここで
は説明を簡単にするために4画素としたが、これに限る
ものではなく、更に広範囲を参照してもよい)で発生し
た2値化誤差Eを誤差データラインメモリ2(13から
読み出す。
On the other hand, the first occurrence occurs in binarized pixels around the pixel of interest (here, 4 pixels are used to simplify the explanation, but it is not limited to this, and a wider range may be referred to). The binarization error E is read from the error data line memory 2 (13).

一方、誤差データラインメモ’J2(13の各画素位置
に対応した所定の重み付け係数Kを重み付け係数マトリ
クス2(12から読み出す。
On the other hand, a predetermined weighting coefficient K corresponding to each pixel position of the error data line memo 'J2 (13) is read out from the weighting coefficient matrix 2 (12).

そして、これらを重み付け係数にと2値化誤差Eを平均
誤差演算部205に入力し2値化誤差の加重平均を求め
る。
Then, using these as weighting coefficients, the binarization error E is input to the average error calculation unit 205 to obtain a weighted average of the binarization errors.

この加重平均を補正値Cmn、として演算式を表すと以
下のようになる。
If this weighted average is used as the correction value Cmn, the arithmetic expression is expressed as follows.

分子−K m l+ n−1’ E m−1+ n−1
+ Km−11n ・E 111−11 n +K m
−l + h + l・Em−1,。や+ + K l
l+1−1・El、。
Molecule-K m l+ n-1' E m-1+ n-1
+Km-11n ・E 111-11n +Km
-l + h + l・Em-1,. Ya + + K l
l+1-1・El,.

分母−Km−I、n−1+ Km−1,h+ K、−+
、 h+l + Kn。
Denominator - Km-I, n-1+ Km-1, h+ K, -+
, h+l+Kn.

Cffl+ n−分子/分母 次に、原画データラインバッファ2(11内の注目画素
の原画データD□1..と、前記ラプラシアン演算部2
04の演算結果R1,7と、前記平均誤差演算部205
での演算結果Cmy nとが加算器206に入力されこ
れらのデータが加算され加算結果Da、h′を得る。
Cffl+ n - numerator/denominator Next, the original image data D□1 of the pixel of interest in the original image data line buffer 2 (11) and the Laplacian calculation unit
04 calculation results R1, 7 and the average error calculation unit 205
The calculation results Cmy n are input to an adder 206, and these data are added to obtain addition results Da and h'.

そして得られた加算結果り。+h′は、2値化部208
及び加算器207へ送られ、先ず2値化部208では所
定のしきい値、例えば、しきい値T=128と比較する
And the obtained addition result. +h′ is the binarization unit 208
and is sent to the adder 207, and first, the binarization unit 208 compares it with a predetermined threshold value, for example, threshold value T=128.

(1)補正データDm、h’>しきい値T=128のと
き→2値デークO1,n−255 (黒画素)(2)補
正データD。2.、” ≦しきい値T=128のとき→
2値データO□n−0(白画素) というように、黒画素か白画素かの判定を行い2値デー
タ(11.。を得る。この2値デーク○、n。
(1) When correction data Dm, h'>threshold T=128 → binary data O1, n-255 (black pixel) (2) correction data D. 2. ,” When ≦Threshold T=128→
Binary data O□n-0 (white pixel) It is determined whether the pixel is a black pixel or a white pixel, and binary data (11..) is obtained.This binary data ○, n.

は2値デ一ク出力部209へ送られ、「1」 (黒画素
)又は「0」 (白画素)として出力されると同時に加
算器207へ入力される。
is sent to the binary decoder output unit 209 and output as “1” (black pixel) or “0” (white pixel), and simultaneously input to the adder 207.

加算器207では2値化部208の入力データD。。Adder 207 receives input data D from binarization section 208 . .

□′ と出力データ(11.。との差分を求め注目画素
の2値化により発生した2値化誤差 Em2..=D□+ n    Omy。
The difference between □′ and the output data (11..) is calculated and the binarization error generated by binarizing the pixel of interest is Em2..=D□+n Omy.

として前記2値化誤差データラインノ< ツファ2(1
3の対応する位置に格納する。
As, the binarization error data line no < tufa 2 (1
Store it in the corresponding position of 3.

以上の手順を主走査方向、副走査方向に順次繰り返し2
値データ出力部209からの2値データを印字部へ転送
することにより2値化処理された疑似中間調画像が得ら
れる。
Repeat the above steps in the main scanning direction and sub-scanning direction 2
By transferring the binary data from the value data output section 209 to the printing section, a pseudo-halftone image subjected to the binarization process is obtained.

なお、本実施例ではラプラシアン演算を注目画素と前後
左右の隣接画素により行ったがこれに限られるものでは
なく、さらに広範囲の周辺画素とから演算を行ってもよ
い。
Note that in this embodiment, the Laplacian calculation is performed using the pixel of interest and adjacent pixels on the front, rear, left, and right sides, but the invention is not limited to this, and the calculation may be performed using a wider range of surrounding pixels.

また、加算器206の入力として原画データバッファか
ら注目画素の原画データDmr hを入力するようにし
たがラプラシアン演算部内で加算するようにしてもよい
Further, although the original image data Dmr h of the pixel of interest is inputted from the original image data buffer as input to the adder 206, the addition may be performed within the Laplacian operation section.

さらに、平均誤差演算部205での2値化誤差の参照範
囲、最小濃度O1最大濃度255及び2値化しきい値1
27もこれに限られるものではない。
Furthermore, the reference range of the binarization error in the average error calculation unit 205, the minimum density O1, the maximum density 255, and the binarization threshold 1
27 is not limited to this.

第4図(a)、(b)、(C)は各種のラプラシアンフ
ィルタの説明図である。各図において、中央が注目画素
、その周りが周辺画素である。また各数値は係数である
。ラプラシアン演算は離散的空間上では注目画素と周辺
画素の濃度の差分の総和として求められ、第4図に示す
ような係数マトリクス(ラプラシアン・フィルタ)とし
て各種の提案がされている。
FIGS. 4(a), (b), and (C) are explanatory diagrams of various Laplacian filters. In each figure, the center is the pixel of interest, and the surrounding pixels are surrounding pixels. Moreover, each numerical value is a coefficient. The Laplacian operation is calculated as the sum of the differences in density between the pixel of interest and surrounding pixels in a discrete space, and various proposals have been made as a coefficient matrix (Laplacian filter) as shown in FIG.

ラプラシアン演算による補正は画像の輪郭(メリハリ)
を強調する効果を有し、単純2値化法の中で使用される
のが一般的であり、従来のデイザ法の中では階調が変化
する境界部でノイズが発生する等の悪影響があるため使
用されなかった。
Correction using Laplacian calculation improves image contour (sharpness)
It has the effect of emphasizing the gradation, and is generally used in the simple binarization method.In the conventional dither method, it has negative effects such as noise occurring at the boundary where the gradation changes. Therefore it was not used.

しかし、本発明の平均誤差最小法では実質的な階調及び
境界部というものが存在しないため、文字、線画部では
輪郭が強調された良好な画質が得られ、写真領域ではノ
イズが発生しない良好な画質が得られる。従って、本発
明によれば平均誤差最小法にラプラシアン演算を追加す
ることにより、あらゆる画像に対して良好な疑似中間調
画像が得られる。
However, in the minimum average error method of the present invention, there are no substantial gradations or boundaries, so good image quality with emphasized outlines can be obtained in text and line drawing areas, and good image quality with no noise occurring in photographic areas. image quality. Therefore, according to the present invention, by adding the Laplacian operation to the minimum average error method, a good pseudo-halftone image can be obtained for any image.

第5図はサーマルヘッドのブロック構成図である。印字
部としてサーマルヘッドを使用すれば本発明の効果が顕
著となる。サーマルヘッドはセラミック基板3(11上
に形成された各画素に対応した発熱抵抗体3(12に電
流を流すことによりジュール熱を発生させ、この熱を感
熱記録紙、熱転写フィルム等に熱伝達し、記録紙上に黒
ドツトを形成する。
FIG. 5 is a block diagram of the thermal head. If a thermal head is used as the printing section, the effects of the present invention will be significant. The thermal head generates Joule heat by passing a current through a heating resistor 3 (12) corresponding to each pixel formed on a ceramic substrate 3 (11), and transfers this heat to thermal recording paper, thermal transfer film, etc. , forming a black dot on the recording paper.

即ち、システムバスに接続されたサーマルヘッド制御回
路3(13から出力される各種の信号ST、 LA。
That is, various signals ST and LA are output from the thermal head control circuit 3 (13) connected to the system bus.

SD、 5CLKと、発熱抵抗体3(12へ流す電流を
供給する電源部304によって、ドツトのオン(黒ドツ
ト)及びオフ(白ドツト)を制御する。
The dots are turned on (black dots) and off (white dots) by SD, 5CLK, and a power supply unit 304 that supplies current to the heating resistor 3 (12).

サーマルヘッド制御回路3(13は第2図の主制御部1
(13内に設けられる。従って、2値データ出力部20
6からの2値データはシステムバスSBを介してサーマ
ルヘッド制御回路3(13に入力される。
Thermal head control circuit 3 (13 is the main control section 1 in Fig. 2)
(Provided within 13. Therefore, binary data output section 20
The binary data from 6 is input to the thermal head control circuit 3 (13) via the system bus SB.

具体的には、まず、主走査方向の1ライン分のシリアル
データSO1即ち、画素データ(High:印字、Lo
w:非印字)を、シフトクロック5CLKの立ち上がり
エツジに同期してシフトレジスタ305に取り込む。次
に、ラッチ信LAのlow レベルにおいて、ラッチ回
路306で画素データを保持し、同時に各発熱抵抗体に
対応する2入力NAND回路307の一方に入力する。
Specifically, first, serial data SO1 for one line in the main scanning direction, that is, pixel data (High: printing, Low
w: non-printing) is taken into the shift register 305 in synchronization with the rising edge of the shift clock 5CLK. Next, when the latch signal LA is at the low level, the pixel data is held in the latch circuit 306 and simultaneously input to one of the two-input NAND circuits 307 corresponding to each heating resistor.

以上が完了した時点でストローブ信号STをHighレ
ベルとすることjこより発熱抵抗体3(12に電流が流
れ、発生するジュール熱が用紙に伝達され対応する画素
位置に黒ドツトが形成される。これで、1ライン分の処
理が終了し図示しないステップモータ等により所定副走
査ピッチ分記録紙を搬送し、同様の処理を繰り返すこと
により画像を得るものである。
When the above is completed, the strobe signal ST is set to High level. Current flows through the heating resistor 3 (12), and the generated Joule heat is transmitted to the paper, forming a black dot at the corresponding pixel position. After the processing for one line is completed, the recording paper is conveyed by a predetermined sub-scanning pitch by a step motor or the like (not shown), and the same processing is repeated to obtain an image.

第6図はサーマルヘッドを本発明の印字部に適用した場
合の印字されたドツトサイズの説明図である。図示から
明らかなように、形成された黒ドツトの大きさが各々近
傍の画素が黒ドツトであるか否かによって影響され変化
することである。
FIG. 6 is an explanatory diagram of printed dot sizes when a thermal head is applied to the printing section of the present invention. As is clear from the figure, the size of the formed black dots is influenced and changes depending on whether or not neighboring pixels are black dots.

つまり、近傍の画素が黒ドツトである程注目画素の黒ド
ツトが大きく広がりを持ったものになるということであ
る。この現象はサーマルヘッドが熱エネルギーを扱うも
のであり、この熱は多方面に発散され且つ蓄積されるこ
とに起因する。
In other words, the black dot of the pixel of interest becomes wider as the neighboring pixels are black. This phenomenon is caused by the fact that the thermal head handles thermal energy, and this heat is dissipated and accumulated in many directions.

第6図に示すように、同じ黒ドツトでも近傍に黒ドツト
が多い部分程ドツトサイズが大きくなり、逆に黒ドツト
が隣接しない部分ではドットサイズが小さくなり繋がり
を持たなくなることである。
As shown in FIG. 6, even for the same black dot, the dot size becomes larger in areas where there are more black dots nearby, and conversely, in areas where black dots are not adjacent, the dot size becomes smaller and there is no connection.

即ち、黒ドツトが近接して配置されると発熱抵抗体の放
熱が追従せず、十分に冷却しない内に次のドツトを打つ
ためである。一方、レーザープリンタ等ではこのような
発熱抵抗体を用いないため黒ドツトは隣接する黒ドツト
に影響されず、同じサイズの黒ドツトである。
That is, if the black dots are placed close to each other, the heat dissipation of the heating resistor will not follow suit, and the next dot will be struck before the black dots have been sufficiently cooled. On the other hand, in a laser printer or the like, since such a heating resistor is not used, black dots are not affected by adjacent black dots and are black dots of the same size.

即ち、平均誤差最小法の欠点として挙げた粒状性ノイズ
や近傍ドツトが繋がった独特の縞パターンも、サーマル
ヘッドを用いて印字出力を得ることにより抑制され、か
つラプラシアン演算を追加することにより、階調性、解
像度の優れた良好な疑似中間調画像の印字出力が得られ
る。
In other words, the granular noise and unique striped patterns in which neighboring dots are connected, which were cited as disadvantages of the minimum average error method, can be suppressed by obtaining print output using a thermal head, and by adding the Laplacian operation, A good pseudo-halftone image printout with excellent tonality and resolution can be obtained.

〔発明の効果〕 以上説明したように、本発明によれば、平均誤差最小法
により2値化し、疑似中間調画像を得る画像処理方法に
おいて、平均誤差最小法による2値化に加えてラプラシ
アン演算により補正することにより輪郭を強調した文字
、線画部の再現性を向上できるとと共に、濃度が低い部
分でのドツトの出現遅れを補正できるので、文字、線画
部と写真、中間調部の両方とも良好な疑似中間調画像を
得ることができる。
[Effects of the Invention] As described above, according to the present invention, in an image processing method for obtaining a pseudo-halftone image by binarizing using the minimum average error method, in addition to binarizing using the minimum average error method, a Laplacian operation is performed. This correction improves the reproducibility of text and line drawings with emphasized outlines, as well as correcting the delay in the appearance of dots in areas with low density, making it possible to improve the reproduction of text and line drawings, photographs, and halftone areas. A good pseudo-halftone image can be obtained.

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

第1図は本発明の原理構成図、 第2図は本発明の一実施例ブロック構成図、第3図は本
発明の一実施例2値化部のブロック構成図、 び 第6図はサーマルヘッドによる印字ドツトサイズの説明
図である。 く符号の説明) 1(11・・・画像入力部、 1(12・・・平均誤差最小法2値化部、1(13・・
・主制御部、 104・・・操作部、 105、108・・・印字部、 106・・・通信制御部、 107・・・受信側装置、 2(11・・・量子化原画データ、 2(12・・・重み付けマトリクス、 2(13・・・誤差データラインメモリ、204・・・
ラプラシアン演算部、 205・・・平均誤差演算部、 206、207・・・加算器、 208・・・2値化部、 209・・・2値データ出力部、 3(12・・・発熱抵抗体、 3(13・・・サーマルヘッド制御回路、304・・・
電源部、 305・・・シフトレジスタ、 306・・・ラッチ回路。 サーマルヘッドによる印字ドツトの説明図糸 図
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a block diagram of an embodiment of the present invention, Fig. 3 is a block diagram of a binarization section of an embodiment of the present invention, and Fig. 6 is a thermal diagram. FIG. 3 is an explanatory diagram of print dot size by the head. (Explanation of codes) 1 (11... Image input section, 1 (12... Minimum average error binarization section, 1 (13...
- Main control unit, 104... Operation unit, 105, 108... Printing unit, 106... Communication control unit, 107... Receiving side device, 2 (11... Quantized original image data, 2 ( 12... Weighting matrix, 2 (13... Error data line memory, 204...
Laplacian calculation section, 205... Average error calculation section, 206, 207... Adder, 208... Binarization section, 209... Binary data output section, 3 (12... Heating resistor , 3 (13... thermal head control circuit, 304...
Power supply unit, 305...Shift register, 306...Latch circuit. Diagram for explaining printed dots by the thermal head

Claims (1)

【特許請求の範囲】 1、前段にて多階調量子化された入力画像データを2値
化する2値化手段(11)と、前記2値化手段の2値出
力データを受け印字を制御する制御手段(12)と、前
記2値化手段の2値出力データを印字する印字手段(1
3)を有する画像処理装置において、前記2値化手段(
11)は平均誤差最小法の演算手段とラプラシアン演算
手段を備え、 前記多階調量子化された入力画像データを平均誤差最小
法により2値化し、かつ注目画素及び周辺画素の入力画
像データをラプラシアン演算し注目画素の濃度データの
補正を行うことを特徴とする画像処理装置。 2、前記2値化手段(11)は、2値化誤差(E)と重
み付け係数(K)の平均誤差を演算して補正値(C_m
_、_n)を求め、前記補正値と量子化入力画像データ
(D_m_、_n)と前記ラプラシアン演算部の出力(
R_m_、_n)を加算し、加算値(D_m_、_n′
)を所定のしきい値(T)で2値化すると共に、前記加
算値(D_m_、_n′)と2値化値(O_m_、_n
)を加算して2値化誤差(E)にフィードバックする請
求項1に記載の画像処理装置。 3、前記印字手段がサーマルヘッドである請求項1に記
載の画像処理装置。 4、前記制御手段(12)がマイクロプロセッサである
請求項1に記載の画像処理装置。5、1つの装置内に前
記2値化手段(11)と前記印字手段(13)を備える
請求項1に記載の画像処理装置。 6、一方の装置内に前記2値化手段(11)を備え、分
離された他方の装置内に前記印字手段(13)を備え、
これらの間を通信回線(L)で接続した請求項1に記載
の画像処理装置。
[Claims] 1. Binarization means (11) that binarizes the input image data that has been multi-gradation quantized in the previous stage, and receives the binary output data of the binarization means and controls printing. a control means (12) for printing, and a printing means (12) for printing the binary output data of the binarization means.
3), in which the binarization means (
11) is equipped with a calculation means for the minimum average error method and a Laplacian calculation means, and binarizes the multi-tone quantized input image data by the minimum average error method, and converts the input image data of the pixel of interest and surrounding pixels to the Laplacian calculation means. An image processing device that performs calculations and corrects density data of a pixel of interest. 2. The binarization means (11) calculates the average error of the binarization error (E) and the weighting coefficient (K) to obtain a correction value (C_m
_, _n), and calculate the correction value, quantized input image data (D_m_, _n), and the output (D_m_, _n) of the Laplacian calculation unit.
R_m_, _n) and the added value (D_m_, _n'
) is binarized using a predetermined threshold (T), and the added value (D_m_, _n') and the binarized value (O_m_, _n
) is added and fed back to the binarization error (E). 3. The image processing apparatus according to claim 1, wherein the printing means is a thermal head. 4. The image processing apparatus according to claim 1, wherein the control means (12) is a microprocessor. 5. The image processing device according to claim 1, wherein the binarization means (11) and the printing means (13) are provided in one device. 6. The binarizing means (11) is provided in one device, and the printing device (13) is provided in the other separated device,
The image processing apparatus according to claim 1, wherein these are connected by a communication line (L).
JP2133851A 1990-04-26 1990-05-25 Picture processor Pending JPH0435166A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2133851A JPH0435166A (en) 1990-05-25 1990-05-25 Picture processor
US07/690,574 US5208684A (en) 1990-04-26 1991-04-24 Half-tone image processing system
EP91303820A EP0454495B1 (en) 1990-04-26 1991-04-26 Half-tone image processing system
KR1019910006752A KR950006440B1 (en) 1990-04-26 1991-04-26 Halt-tone image processing system
DE69116924T DE69116924T2 (en) 1990-04-26 1991-04-26 Halftone image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2133851A JPH0435166A (en) 1990-05-25 1990-05-25 Picture processor

Publications (1)

Publication Number Publication Date
JPH0435166A true JPH0435166A (en) 1992-02-05

Family

ID=15114517

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2133851A Pending JPH0435166A (en) 1990-04-26 1990-05-25 Picture processor

Country Status (1)

Country Link
JP (1) JPH0435166A (en)

Similar Documents

Publication Publication Date Title
EP0341984B1 (en) Image processing method and apparatus
JP2500837B2 (en) Pixel value quantization method
EP1505821B1 (en) Image processing apparatus, an image forming apparatus and an image processing method
US5353127A (en) Method for quantization gray level pixel data with extended distribution set
US5325448A (en) Image treatment method and apparatus with error dispersion and controllable quantization
US5729663A (en) Method and apparatus for gray screening
AU635676B2 (en) Image processing apparatus
US6373990B1 (en) Image processing utilizing luminance-density conversion
JP3973734B2 (en) Electronic image processing system and processing method
EP0817466B1 (en) Edge enhanced error diffusion
JPH10112801A (en) Input image processing method
JPH0435166A (en) Picture processor
JP3976863B2 (en) Image processing apparatus and method
JP3245600B2 (en) Image processing device
JPH0435163A (en) Picture processor
JP3361355B2 (en) Image processing device
JP2001177722A (en) Image forming method, image processor and storage medium
JPH0435164A (en) Picture processor
JPH0435165A (en) Picture processor
JP3679522B2 (en) Image processing method and apparatus
JP2001352448A (en) Image-forming method, image-processing unit and storage medium
JP3937645B2 (en) Image processing apparatus and image processing method
JP3146516B2 (en) Image processing device
JP2682985B2 (en) Image processing method
JPH01284173A (en) Method and device for processing picture