JPH05167837A - False halftone processor - Google Patents

False halftone processor

Info

Publication number
JPH05167837A
JPH05167837A JP3328488A JP32848891A JPH05167837A JP H05167837 A JPH05167837 A JP H05167837A JP 3328488 A JP3328488 A JP 3328488A JP 32848891 A JP32848891 A JP 32848891A JP H05167837 A JPH05167837 A JP H05167837A
Authority
JP
Japan
Prior art keywords
image signal
error
output
value
binary
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
JP3328488A
Other languages
Japanese (ja)
Inventor
Takao Omachi
隆夫 大町
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP3328488A priority Critical patent/JPH05167837A/en
Publication of JPH05167837A publication Critical patent/JPH05167837A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To generate a binary image signal in which blur of a line at a character part and the blurring of an edge can be reduced for an image in which the binary images of a continuous gradation image like a photography and a character, etc., are mixed with simple device constitution. CONSTITUTION:An addition value 11 of the weighted sum 17 of a binary error and an input image signal 10 in a peripheral picture element is limited by a limiter 4 to a value between a high level and a low level in a conventional error diffusion system. Furthermore, after the value is binarized and is set as an output binary image signal 13, binary output is multivalued to the high level or the low level based on a binarizing result, and an error 15 between limiter output and multivalue output is fed back. By performing such processing, the binary image signal goes to white when the density value of the input image signal is less than the low level, and it goes to black when it exceeds the high level, therefore, binarization can be performed without generating blur of the line and the blurring of the edge at the character part.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この本発明は、写真等の連続階調
を持つ画像や文字等の2値の画像を2値化する疑似中間
調処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pseudo halftone processing device for binarizing a binary image such as an image having a continuous tone such as a photograph or a character.

【0002】[0002]

【従来の技術】連続階調を含んだ画像を疑似的に表現す
る手段として、誤差拡散方式(Error Diffu
sion)がエム・アール・シュロッダ(M.R.Sh
roeder)によって提唱され、この方式が「イメー
ジズ・フロム・コンピューターズ、アイ・イー・イー・
イー・スペクトラム、1969年第6巻」(“Imag
es from Computers”,IEEE S
pectrum,vol.6,1969)に詳述されて
いる。この方式は、注目画素の周囲画素を2値化する時
の誤差を保存しておき、注目画素を2値化するときにそ
の誤差を反映し、入出力画像間の平均濃度レベルを一致
させて疑似中間調画像を表現しようというものである。
2. Description of the Related Art An error diffusion method (Error Diffu) is used as a means for pseudo-representing an image containing continuous gradation.
sion is M. Shrodda (MR Sh)
Roeder), this method is "Images from Computers, IEE
E-Spectrum, Vol. 6, 1969 "(" Imag
es from Computers ", IEEE S
spectrum, vol. 6, 1969). This method saves the error when binarizing the pixels around the pixel of interest, reflects the error when binarizing the pixel of interest, and matches the average density levels between the input and output images. It is intended to represent a pseudo halftone image.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、誤差拡
散方式は写真のような連続階調を有する画像に対しては
良好な2値化結果を与えるが、文字のように本来2値で
構成されている画像に対しては周囲画素の誤差の影響を
受けて文字の線の一部が切れたり、エッジがぼやけると
いう欠点を有していた。
However, although the error diffusion method gives a good binarization result to an image having continuous tone like a photograph, it is originally composed of binary like a character. With respect to the existing image, there is a defect that part of the character line is cut or the edge is blurred due to the influence of the error of surrounding pixels.

【0004】本発明は従来の技術に内在する上記欠点を
解消する為になされたものであり、従って本発明の目的
は、文字などの2値画像を入力しても線の切れがなく、
エッジがぼやけることのない新規な疑似中間調処理装置
を提供することにある。
The present invention has been made in order to solve the above-mentioned drawbacks inherent in the prior art. Therefore, the object of the present invention is not to break a line even if a binary image such as a character is inputted.
It is an object of the present invention to provide a new pseudo halftone processing device in which edges are not blurred.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、本発明に係る疑似中間調処理装置は、画像信号を2
値化する疑似中間調処理装置であって、既に2値化され
た複数の周囲画素における下記誤差の加重和をとる手段
と、前記誤差加重和と入力画像信号の注目画素値を加算
する手段と、前記加算値をあらかじめ設定された上位レ
ベルと下位レベルとの2つのレベルの間に制限する手段
と、前記制限された加算値を2値化し2値画像信号を出
力する手段と、前記2値画像信号を前記上位レベルと下
位レベルとに多値化する手段と、前記多値化信号値と前
記制限された加算値との誤差を計算する手段と、前記計
算された誤差を前記加重和をとる手段に帰還する手段と
を備えて構成される。
In order to achieve the above object, a pseudo halftone processing device according to the present invention converts an image signal into two.
A pseudo-halftone processing device for binarizing, comprising: means for taking a weighted sum of the following errors in a plurality of already binarized surrounding pixels; and means for adding the error weighted sum and a target pixel value of an input image signal. Means for limiting the added value between two levels of a preset upper level and a lower level, means for binarizing the limited added value and outputting a binary image signal, and the binary value Means for multileveling the image signal into the upper level and the lower level, means for calculating an error between the multilevel signal value and the limited addition value, and a weighted sum of the calculated error. And means for returning to the means for taking.

【0006】[0006]

【作用】従来の誤差拡散方式に対して、周囲画素におけ
る2値化誤差の加重和と入力画像信号との加算値にリミ
ッタをかけて上位レベルと下位レベルの間に値を制限す
る。さらにこの値を2値化して出力2値画像信号として
うえで、2値化結果によって2値化出力を上位レベルあ
るいは下位レベルに多値化し、リミッタ出力と多値化出
力との誤差を帰還させる。この処理によって、入力画像
信号の濃度値が下位レベル以下の場合には出力2値画像
信号は白となり、上位レベル以上の場合には黒となるた
めに、文字部分の濃度が上位レベル以上であり、文字の
背景部分の濃度が下位レベル以下であれば、文字部分は
黒に背景部分は白に2値化されるために、線のかすれや
エッジのぼけのような画質劣化がなく2値化できる。一
方連続階調画像に対しては出力疑似中間調画像の濃度変
化が多少急峻になるが、充分高画質の疑似中間調画像を
出力することができる。
In contrast to the conventional error diffusion method, a limiter is applied to the added value of the binarized error in the surrounding pixels and the input image signal to limit the value between the upper level and the lower level. Further, this value is binarized to be an output binary image signal, and the binarized output is multivalued to an upper level or a lower level according to the binarization result, and an error between the limiter output and the multivalued output is fed back. .. By this processing, when the density value of the input image signal is lower than the lower level, the output binary image signal becomes white, and when it is higher than the upper level, it becomes black, so that the density of the character portion is higher than the upper level. , If the density of the background part of the character is lower than the lower level, the character part is binarized to black and the background part is binarized to white, so there is no deterioration in image quality such as faint lines or blurred edges. it can. On the other hand, with respect to the continuous tone image, the density change of the output pseudo-halftone image becomes a little steep, but a sufficiently high quality pseudo-halftone image can be output.

【0007】[0007]

【実施例】以下に本発明をその好ましい一実施例につい
て図面を参照しながら具体的に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be described below in detail with reference to the accompanying drawings, which is a preferred embodiment thereof.

【0008】図1は本発明の一実施例を示すブロック構
成図である。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【0009】図1を参照するに、入力画像信号10は加
算回路3において注目画素の周辺画素で発生した誤差の
加重和17と加算され、加算値11が得られる。加算値
11はリミッタ回路4に入力され、加算値11があらか
じめ設定された上位レベル以上の場合には制限された加
算値12として上位レベルが出力され、下位レベル以下
の場合には下位レベルが出力され、下位レベルと上位レ
ベルの間の場合には入力と同じ値が出力される。
Referring to FIG. 1, the input image signal 10 is added to the weighted sum 17 of the errors generated in the peripheral pixels of the pixel of interest in the adder circuit 3 to obtain the added value 11. The added value 11 is input to the limiter circuit 4, and when the added value 11 is equal to or higher than a preset upper level, the upper level is output as the limited added value 12, and when the added value 11 is equal to or lower than the lower level, the lower level is output. If it is between the lower level and the upper level, the same value as the input is output.

【0010】図2にリミッタ回路4の入力と出力の関係
を示す。例えば入力画像信号が6ビットで0から63の
濃度レベルを取るとき、一例としては上位レベルを5
4、下位レベルを9と設定することができる。
FIG. 2 shows the relationship between the input and output of the limiter circuit 4. For example, when the input image signal is 6 bits and has a density level of 0 to 63, as an example, the upper level is 5
4 and lower level can be set to 9.

【0011】制限された加算値12は2値化回路5に入
力され、あらかじめ設定されたしきい値を用いて2値化
され、2値画像信号13が出力される。2値画像信号1
3としては制限された加算値がしきい値以上の場合には
黒信号を出力し、しきい値未満の場合には白信号を出力
する。上記の例のように入力画像信号が0から63の値
を持つときには、例えばしきい値としては32を設定す
ることができる。多値化回路6では2値画像信号13を
入力し、これが黒信号の場合には上位レベルの値に変換
し、白信号の場合には下位レベルの値に変換して多値化
信号値14として出力する。差分回路7では制限された
加算値12から多値化信号値を差引き、この差分を注目
画素の誤差15として出力する。このようにして計算さ
れた誤差15は誤差格納メモリ1に格納され、注目画素
の周辺画素での誤差の加重和17が加重和回路2におい
て計算され、続く入力画像信号10の2値化に用いられ
る。
The limited addition value 12 is input to the binarization circuit 5, binarized using a preset threshold value, and a binary image signal 13 is output. Binary image signal 1
As for 3, the black signal is output when the limited addition value is equal to or more than the threshold value, and the white signal is output when the addition value is less than the threshold value. When the input image signal has a value of 0 to 63 as in the above example, for example, 32 can be set as the threshold value. The multi-valued circuit 6 inputs the binary image signal 13, converts it to a higher level value when it is a black signal, and converts it to a lower level value when it is a white signal and converts it to a multi-valued signal value 14. Output as. The difference circuit 7 subtracts the multilevel signal value from the limited addition value 12 and outputs this difference as the error 15 of the pixel of interest. The error 15 thus calculated is stored in the error storage memory 1, and the weighted sum 17 of the errors in the peripheral pixels of the pixel of interest is calculated in the weighted sum circuit 2 and used for the subsequent binarization of the input image signal 10. Be done.

【0012】一定の濃度値を入力画像信号として上記の
処理を実行した場合の入力画像信号の濃度と出力画像信
号の平均濃度との関係を図3に示す。出力画像信号の平
均濃度としては、黒信号として出力された画素数を全体
の画素数で割った値を用いた。なお、図3には従来の誤
差拡散方式を用いた場合の入出力の関係も一緒に示し
た。
FIG. 3 shows the relationship between the density of the input image signal and the average density of the output image signal when the above processing is executed with a constant density value as the input image signal. As the average density of the output image signal, a value obtained by dividing the number of pixels output as a black signal by the total number of pixels was used. It should be noted that FIG. 3 also shows the input / output relationship when the conventional error diffusion method is used.

【0013】図4は誤差格納メモリ1の一実施例を示す
ブロック構成図である。
FIG. 4 is a block diagram showing an embodiment of the error storage memory 1.

【0014】図4を参照するに、差分回路7で計算され
た注目画素における誤差15は端子301から供給さ
れ、図に示すように1ラインより2画素少ない遅延素子
32Aおよび32Bと1画素遅延素子31A〜31Jか
らなるメモリによって遅延させられ、端子302〜31
3に出力される。これらの端子に出力される誤差は図5
に示す斜線の注目画素の周囲に、端子番号をつけて図示
した位置関係になっている。
Referring to FIG. 4, the error 15 in the pixel of interest calculated by the difference circuit 7 is supplied from the terminal 301, and as shown in the figure, the delay elements 32A and 32B and the 1-pixel delay element each having two pixels less than one line. Delayed by the memory consisting of 31A-31J, terminals 302-31
3 is output. The error output to these terminals is shown in Fig. 5.
Around the pixel of interest indicated by the hatched lines, the positional relationship shown in the figure is given with terminal numbers.

【0015】図6は、図1に示された加重和回路2の一
実施例を示すブロック構成図である。
FIG. 6 is a block diagram showing an embodiment of the weighted sum circuit 2 shown in FIG.

【0016】図6を参照するに、誤差格納メモリ1から
出力される周囲画素における誤差は端子302〜313
を介して入力される。それぞれの位置に対応する係数s
1〜s12が乗算器41A〜41Lで乗算され、加算器
42A〜42Kで総和がとられ、端子401に出力され
る。ここで用いる係数には、例えば、s1=0.10、
s2=0.15、s3=0.06、s4=0.10、s
5=0.15、s6=0.10、s7=0.06、s8
=0.03、s9=0.06、s10=0.10、s1
1=0.06、s12=0.03などを用いる。なお、
これらの係数は経験的に求められるものである。
Referring to FIG. 6, the error in the surrounding pixels output from the error storage memory 1 is determined by the terminals 302 to 313.
Be entered via. Coefficient s corresponding to each position
1 to s12 are multiplied by the multipliers 41A to 41L, the totals are added by the adders 42A to 42K, and the sum is output to the terminal 401. The coefficients used here include, for example, s1 = 0.10,
s2 = 0.15, s3 = 0.06, s4 = 0.10, s
5 = 0.15, s6 = 0.10, s7 = 0.06, s8
= 0.03, s9 = 0.06, s10 = 0.10, s1
1 = 0.06, s12 = 0.03, etc. are used. In addition,
These coefficients are empirically determined.

【0017】[0017]

【発明の効果】以上述べたように、本発明による疑似中
間調処理装置によれば、簡単な装置構成で、写真のよう
な連続階調画像と文字などの2値画像の両方または両者
の混在した画像を画質を損なうことなく2値化すること
ができる。
As described above, according to the pseudo halftone processing device of the present invention, both or both of a continuous tone image such as a photograph and a binary image such as a character are mixed with a simple device configuration. It is possible to binarize the formed image without impairing the image quality.

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

【図1】本発明の一実施例を示すブロック構成図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】リミッタ回路の入力と出力の関係を示す図であ
る。
FIG. 2 is a diagram showing a relationship between an input and an output of a limiter circuit.

【図3】一定の濃度値を入力画像信号として処理を実行
した場合の入力画像信号の濃度と出力画像信号の平均濃
度との関係を示す図である。
FIG. 3 is a diagram showing the relationship between the density of an input image signal and the average density of an output image signal when processing is executed with a fixed density value as an input image signal.

【図4】図1中の誤差格納メモリの一実施例を示すブロ
ック構成図である。
FIG. 4 is a block diagram showing an embodiment of an error storage memory in FIG.

【図5】図4の誤差格納メモリによって得られる注目画
素と周辺画素との位置関係を示す図である。
5 is a diagram showing a positional relationship between a target pixel and peripheral pixels obtained by the error storage memory of FIG.

【図6】図1中の加重和回路の一実施例を示すブロック
構成図である。
FIG. 6 is a block diagram showing an embodiment of a weighted sum circuit in FIG.

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

1…誤差格納メモリ 2…加重和回路 3…加算回路 4…リミッタ回路 5…2値化回路 6…多値化回路 7…差分回路 10…入力画像信号 11…加算値 12…制限された加算値 13…2値画像信号 14…多値化信号値 15…誤差 31A〜31J…1画素遅延素子 32A、32B…1ラインより2画素少ない遅延素子 41A〜41L…乗算器 42A〜42K…加算器 1 ... Error storage memory 2 ... Weighted sum circuit 3 ... Addition circuit 4 ... Limiter circuit 5 ... Binarization circuit 6 ... Multivalued circuit 7 ... Difference circuit 10 ... Input image signal 11 ... Addition value 12 ... Limited addition value 13 ... Binary image signal 14 ... Multi-valued signal value 15 ... Error 31A to 31J ... 1 pixel delay element 32A, 32B ... Delay element 2 pixels less than 1 line 41A to 41L ... Multiplier 42A to 42K ... Adder

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 画像信号を2値化する疑似中間調処理装
置において、既に2値化された複数の周囲画素における
下記誤差の加重和をとる手段と、前記誤差加重和と入力
画像信号の注目画素値を加算する手段と、前記加算値を
あらかじめ設定された上位レベルと下位レベルとの2つ
のレベルの間に制限する手段と、前記制限された加算値
を2値化し2値画像信号を出力する手段と、前記2値画
像信号を前記上位レベルと下位レベルとに多値化する手
段と、前記多値化信号値と前記制限された加算値との誤
差を計算する手段と、前記計算された誤差を前記加重和
をとる手段に帰還する手段とを備えたことを特徴とする
疑似中間調処理装置。
1. A pseudo-halftone processing device for binarizing an image signal, means for taking a weighted sum of the following errors in a plurality of already binarized surrounding pixels, and attention of the error weighted sum and the input image signal. Means for adding pixel values, means for limiting the added value between preset two levels of an upper level and a lower level, and binarization of the limited added value to output a binary image signal. Calculating means, means for converting the binary image signal into multiple levels of the upper level and the lower level, means for calculating an error between the multi-valued signal value and the limited added value, and Means for returning the error to the means for obtaining the weighted sum, and a pseudo halftone processing device.
【請求項2】 前記帰還手段を、前記誤差計算手段によ
り算出された注目画素における誤差を入力して遅延させ
る複数個の1ラインより2画素少ない遅延素子と、複数
個の1画素遅延素子とから成るメモリにより構成したこ
とを更に特徴とする請求項1に記載の疑似中間調処理装
置。
2. The feedback means includes a delay element having two pixels less than one line for delaying by inputting an error in the pixel of interest calculated by the error calculation means, and a plurality of one-pixel delay elements. The pseudo halftone processing device according to claim 1, further comprising a memory having the following structure.
【請求項3】 前記加重和をとる手段を、前記帰還手段
から出力される周囲画素における各誤差と各位置に対応
する係数とを乗算する複数個の乗算器と、該乗算器の出
力の総和をとる複数個の加算器とにより構成したことを
更に特徴とする請求項2に記載の疑似中間調処理装置。
3. A means for obtaining the weighted sum, a plurality of multipliers for multiplying each error in the surrounding pixels output from the feedback means by a coefficient corresponding to each position, and a sum of outputs of the multipliers. 3. The pseudo halftone processing apparatus according to claim 2, further comprising a plurality of adders that take
JP3328488A 1991-12-12 1991-12-12 False halftone processor Pending JPH05167837A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3328488A JPH05167837A (en) 1991-12-12 1991-12-12 False halftone processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3328488A JPH05167837A (en) 1991-12-12 1991-12-12 False halftone processor

Publications (1)

Publication Number Publication Date
JPH05167837A true JPH05167837A (en) 1993-07-02

Family

ID=18210840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3328488A Pending JPH05167837A (en) 1991-12-12 1991-12-12 False halftone processor

Country Status (1)

Country Link
JP (1) JPH05167837A (en)

Similar Documents

Publication Publication Date Title
JPH02253765A (en) Picture processor
JP3031994B2 (en) Image processing device
JPS62242473A (en) Pseudo halftone image processor
JPH05167837A (en) False halftone processor
JPH05136988A (en) Variable notation processor for binary picture
JP2860039B2 (en) Pseudo halftone image reduction device
JP2857906B2 (en) Halftone binarization processor
JPH06253133A (en) Picture processing device
JPH08307678A (en) Image processing unit
JPH0554190A (en) Picture processor
JPS63250274A (en) Picture signal processor
JPH0388570A (en) Image processor
JPH06292005A (en) Picture signal processing unit
JPH05153378A (en) Pseudo halftone processor
JPH04120975A (en) Picture processor
JPH0583535A (en) Variable power processing device for binary image
JPH07212573A (en) Resolution conversion device for binary picture
JPH05145745A (en) Reduction processor for pseudo halftone image
JPH02285773A (en) Picture processing unit
JPH03192970A (en) Picture processor
JPH06291993A (en) Picture signal processing unit
JPH06205201A (en) Binary picture magnification/reduction device
JPH09307756A (en) Image processing unit
JPH04299668A (en) Pseudo half-tone picture processing device
JPH0646266A (en) Picture processing method