JPH0678140A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH0678140A
JPH0678140A JP4138120A JP13812092A JPH0678140A JP H0678140 A JPH0678140 A JP H0678140A JP 4138120 A JP4138120 A JP 4138120A JP 13812092 A JP13812092 A JP 13812092A JP H0678140 A JPH0678140 A JP H0678140A
Authority
JP
Japan
Prior art keywords
image signal
error
line drawing
signal
character
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
JP4138120A
Other languages
Japanese (ja)
Inventor
Toshiaki Kumakawa
俊明 熊川
Akira 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.)
NEC Corp
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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 NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP4138120A priority Critical patent/JPH0678140A/en
Publication of JPH0678140A publication Critical patent/JPH0678140A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To prevent the loss in the shapes of character or line drawing edges in the binarization processing of the error diffusing system which reduces the occurrence of moire. CONSTITUTION:A comparator 2a as the binarizing means of the error diffusing system, a comparator 2b as the simple binarizing means of the simple binarizing system, a correlation discriminating circuit 8 which discriminates character or line drawing edges in two-dimensional direction with a noticed picture element as the center, and a selector 5 which selects the binarized signal of the comparator 2a or the comparator 2b as the discrimination result are provided. An inputted picture signal is binarized by the error diffusing system and the simple binarizing system and is inputted to the selector 5. The selector 5 selects the binarization processing adapted to the input picture signal by a discrimination signal (s) from the correlation discriminating circuit 8 which indicates whether the periphery of the noticed picture element is the edge of a character or a line drawing or not.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はイメージスキャナ,ファ
クシミリ等において、読み取られた画像信号を処理する
画像処理装置に関し、特に誤差拡散方式による二値化処
理を行う画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for processing a read image signal in an image scanner, a facsimile and the like, and more particularly to an image processing apparatus for performing binarization processing by an error diffusion method.

【0002】[0002]

【従来の技術】連続階調を含む画像を二値画像により疑
似的に表現する処理方式として、網点化処理,組織的デ
ィザ法が多用されている。また、これらの処理方式の他
に、近年、誤差拡散方式が使用されている。
2. Description of the Related Art Halftone dot processing and systematic dithering method are widely used as a processing method for pseudo-representing an image including continuous gradation by a binary image. In addition to these processing methods, an error diffusion method has been used in recent years.

【0003】この誤差拡散方式を使用した従来の画像処
理装置は、注目画素の周囲画素を二値化したときの入力
と出力との間の誤差を保存しておき、注目画素を二値化
する時にその誤差を利用して、入力画像と出力画像との
間の平均輝度レベルを一致させて疑似中間調を表現する
構成となっており、M.B.Schroderにより提
唱されている。(「Images From Comp
uters」,IEEE Spectrum,vol.
6,1969) 一般の印刷物は疑似中間調を表現するために、網点が広
く用いられているため、イメージスキャナやファクシミ
リ等の原稿として扱われる場合、モアレを生じることが
ある。
A conventional image processing apparatus using this error diffusion method stores an error between an input and an output when a pixel around a target pixel is binarized, and binarizes the target pixel. Sometimes, the error is utilized to match the average luminance level between the input image and the output image to express pseudo halftone. B. Proposed by Schroder. ("Images From Comp
uters ", IEEE Spectrum, vol.
6, 1969) Since halftone dots are widely used in ordinary printed matter to express pseudo halftone, moire may occur when handled as a document such as an image scanner or a facsimile.

【0004】このモアレは入力画像の網点周期と画像入
力装置のサンプリング周期とが近いかあるいは整数倍の
関係にある場合に顕著に現れる。モアレは入力画像には
全く存在しない縞模様として現れるため、オペレータに
当惑を与えるだけでなく、画質を劣化させる。
This moiré is noticeable when the halftone dot period of the input image and the sampling period of the image input device are close to each other or have an integral multiple relationship. Moire appears as a striped pattern that does not exist in the input image at all, which not only embarrasses the operator but also deteriorates the image quality.

【0005】モアレの発生メカニズムについてはJ.
M.Whiteにより詳しく説明されている。(「Re
cent Advances in Threshol
ding Techniques for facsi
mile」,Journalof Applied P
hotographic Engineering,A
pr.1980)
The mechanism of moire generation is described in J.
M. It is described in detail by White. ("Re
center Advances in Threshold
ding Technologies for facsi
Mile ", Journalof Applied P
photographic Engineering, A
pr. 1980)

【発明が解決しようとする課題】この従来の画像処理装
置は、注目画素の周囲画素を二値化したときの入力と出
力との間の誤差を保存しておき、注目画素を二値化する
時にその誤差を利用して、入力画像と出力画像との間の
平均輝度レベルを一致させて疑似中間調を表現する構成
となっているので、網点原稿に対するモアレ低減の効果
は大きいが、その反面、文字や線画のエッジ形状をくず
すという欠点があるため、網点写真と文字・線画が混在
する画像に対してはオペレータが、選択的に使用するか
否かを決定する必要があるという問題点がある。
This conventional image processing apparatus stores the error between the input and the output when the peripheral pixels of the target pixel are binarized, and binarizes the target pixel. Sometimes the error is utilized to match the average luminance level between the input image and the output image to express a pseudo halftone, so that the moire reduction effect on the halftone dot original is great, but On the other hand, there is a drawback that the edge shapes of characters and line drawings are destroyed, so the operator has to decide whether or not to use selectively for images in which halftone pictures and characters and line drawings are mixed. There is a point.

【0006】本発明は以上の問題点を改善し、文字・線
画に対するエッジのくずれを低減する画像処理装置を提
供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an image processing apparatus which solves the above problems and reduces the edge collapse of a character / line drawing.

【0007】[0007]

【課題を解決するための手段】本発明の画像処理装置
は、中間調または疑似中間調表現された画像信号を入力
し、二値画像化処理を行う画像処理装置において、入力
画像信号と二値化手段の出力二値画像信号との誤差を検
出し、その誤差を次の入力する画像信号へ加えることに
より実現される誤差拡散方式による前記二値化手段と、
単純二値化方式による前記入力画像信号の単純二値化手
段と、注目画素を中心に二次元方向に文字・線画エッジ
の判定を行う判定手段と、この判定手段の出力により前
記誤差拡散方式による二値化画像信号か前記単純二値化
方式による二値化画像信号かのいずれかを選択する選択
手段とを備えている。
An image processing apparatus according to the present invention is an image processing apparatus for inputting an image signal represented by halftone or pseudo-halftone and performing binary image processing, in which the input image signal and the binary image are processed. Detecting the error with the output binary image signal of the binarizing means, the binarizing means by the error diffusion method realized by adding the error to the next input image signal,
A simple binarizing means for the input image signal by a simple binarizing method, a judging means for judging a character / line drawing edge in a two-dimensional direction centering on a pixel of interest, and an error diffusion method by the output of this judging means. And a selection means for selecting either the binarized image signal or the binarized image signal according to the simple binarization method.

【0008】[0008]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

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

【0010】図1において、誤差信号D4 の1画素分遅
延した遅延誤差信号D5 を出力する遅延回路4と、入力
端子T1 から入力した多値画像信号D0 と遅延誤差信号
5とを加算して多値画像信号D1 を出力する加算回路
1aと、多値画像信号D1 を誤差拡散方式用しきい値T
1 と比較し二値化して二値画像信号D2 を出力するコ
ンペレータ2aと、多値画像信号D1 とコンパレータ2
aの出力の二値画像信号D2 との誤差を検出するための
二値画像信号D2 を反転させる符号反転回路3及び符号
反転回路3の出力信号D3 と多値画像信号D1 とを加算
する加算回路1bからなる誤差検出手段と(この誤差検
出手段は入力画像信号D1 があらかじめ設定されたしき
い値TH1 より白側の時には完全白レベルとの差を白側
誤差とし、しきい値TH1 より黒側の時には完全黒レベ
ルとの差を黒側誤差として出力する構成である。)、入
力の多値画像信号D0 と単純二値化方式用しきい値TH
2と比較して単純二値化方式による二値画画像信号D6
を出力するコンパレータ2bと、注目画素の周辺を、二
次元方向に互いに隣接する所定の画素信号をラインメモ
リ7a〜7dを介して一画素ずつ格納するレジスタ6a
〜6eと、レジスタ6a〜6eから出力される画素信号
における二次元方向の相関関係を判定して、相関関係を
表す信号を出力する相関判定回路8と、相関関係の判定
により、文字・線画のエッジの場合は、単純二値化方式
による二値化処理の二値化画像信号D6 の出力を、ま
た、文字・線画エッジ以外の場合は、誤差拡散方式によ
る二値化処理の二値化画像信号D2 の出力を適宜選択す
るセレクタ5とを備えて構成している。
[0010] In FIG. 1, a delay circuit 4 for outputting a delay error signal D 5 delayed one pixel of the error signal D 4, a multi-level image signal D 0 inputted from an input terminal T 1 and the delay error signal D 5 an addition circuit 1a outputs the multi-valued image signal D 1 by adding the threshold T for the error diffusion method multivalued image signal D 1
And Konpereta 2a which was binarized compared to H 1 outputs a binary image signal D 2, multi-value image signals D 1 and comparator 2
and a sign inverting circuit 3 and the output signal D 3 and the multi-level image signal D 1 of the sign inversion circuit 3 inverts a binary image signal D 2 for detecting an error between the binary image signal D 2 of the output of a An error detecting means comprising an adder circuit 1b for adding (when the input image signal D 1 is on the white side of a preset threshold value TH 1 the difference between the input image signal D 1 and the perfect white level is regarded as the white side error, When the value is on the black side of the threshold value TH 1 , the difference from the full black level is output as a black side error.), The input multi-valued image signal D 0 and the threshold value TH for the simple binarization method.
Binary image by a simple binarization method compared to second image signals D 6
And a register 6a for storing predetermined pixel signals adjacent to each other around the target pixel in the two-dimensional direction via the line memories 7a to 7d pixel by pixel.
˜6e, a correlation determination circuit 8 that determines the correlation in the two-dimensional direction in the pixel signals output from the registers 6a to 6e, and outputs a signal indicating the correlation, and the determination of the correlation determines whether the character / line drawing In the case of an edge, the binarized image signal D 6 of the binarization processing by the simple binarization method is output, and in the case other than the character / line drawing edge, the binarization by the error diffusion method is binarized. And a selector 5 that appropriately selects the output of the image signal D 2 .

【0011】図1において本実施例では、注目画素の周
辺,5画素×5画素の二次元領域を参照して、注目画素
が文字・線画のエッジであるか否かの相関関係を判定す
る機能を有している。
In FIG. 1, in this embodiment, a function of determining whether or not the target pixel is an edge of a character / line drawing by referring to a peripheral area of the target pixel and a two-dimensional area of 5 pixels × 5 pixels have.

【0012】次に、本実施例の動作について説明する。Next, the operation of this embodiment will be described.

【0013】図1において、入力端子T1 には多値画像
信号D0 が入力され、入力端子T2には誤差拡散方式用
しきい値TH1 が入力される。加算回路1aは多値画像
信号D0 と遅延回路4から供給された誤差信号D5 とを
加算し、多値画像信号D1 をコンパレータ2aおよび加
算回路1bに供給する。
[0013] In FIG. 1, the input terminal T 1 is input multivalue image signal D 0, the input terminal T 2 Error diffusion threshold value TH 1 is input. The adder circuit 1a adds the multi-valued image signal D 0 and the error signal D 5 supplied from the delay circuit 4, and supplies the multi-valued image signal D 1 to the comparator 2a and the adder circuit 1b.

【0014】コンパレータ2aは入力端子T2 に加えら
れた誤差拡散方式用しきい値TH1と多値画像信号D1
とを比較し、二値化を行って二値画像信号D2 をセレク
タ5および符号反転回路3に供給する。符号反転回路3
は二値画像信号D2 を正の値から負の値に変換し、加算
回路1bに供給する。
The comparator 2a has a threshold value TH 1 for the error diffusion method applied to the input terminal T 2 and a multi-valued image signal D 1
Are compared and binarized to supply the binary image signal D 2 to the selector 5 and the sign inverting circuit 3. Sign inversion circuit 3
Converts the binary image signal D 2 from a positive value to a negative value and supplies it to the adding circuit 1b.

【0015】加算回路1bは多値画像信号D1 と負の二
値画像信号D3 とを加算し新たな誤差信号D4 を遅延回
路4に供給する。遅延回路4は1画素分の遅延を有す
る。
The adder circuit 1b adds the multi-valued image signal D 1 and the negative binary image signal D 3 and supplies a new error signal D 4 to the delay circuit 4. The delay circuit 4 has a delay of one pixel.

【0016】以上の動作を繰り返すことにより、誤差拡
散方式における誤差を補正した二値画像信号がセレクタ
5に順次入力される。
By repeating the above operation, the binary image signal in which the error in the error diffusion method is corrected is sequentially input to the selector 5.

【0017】一方、入力端子T1 から入力されている多
値画像信号D0 はコンパレータ2bにおいて、入力端子
3 から入力される単純二値化方式用しきい値TH2
より二値化された信号D6 としてセレクタ5に入力され
る。
On the other hand, the multi-valued image signal D 0 input from the input terminal T 1 is binarized by the threshold value TH 2 for the simple binarization method input from the input terminal T 3 in the comparator 2b. The signal D 6 is input to the selector 5.

【0018】ここで、ラインメモリ7a〜7dおよび、
シフトレジスタ6a〜6eは注目画素を中心に周辺5画
素を参照するための画素信号を出力し、相関判定回路8
において、文字・線画のエッジであるか否かの判定が行
われ、その結果が判定信号Sとしてセレクタ5に供給さ
れる。相関判定回路8はROM等により構成される。セ
レクタ5では相関判定回路8から判定信号Sにより、文
字・線画エッジの場合は単純二値化方式出力を、文字・
線画エッジでない場合は誤差拡散方式を選択する。
Here, the line memories 7a to 7d and
The shift registers 6a to 6e output pixel signals for referencing the peripheral 5 pixels centering on the pixel of interest, and the correlation determination circuit 8
At, it is determined whether or not it is an edge of a character / line drawing, and the result is supplied to the selector 5 as a determination signal S. The correlation determination circuit 8 is composed of a ROM or the like. In the selector 5, in response to the determination signal S from the correlation determination circuit 8, in the case of a character / line drawing edge, the simple binarization method output
If it is not a line drawing edge, the error diffusion method is selected.

【0019】図2は本実施例における相関判定回路によ
る文字・線画エッジの判定例を示し、(a)〜(d)は
文字・線画エッジの場合を示す図、(e)〜(h)は文
字線画エッジでない場合を示す図である。
FIG. 2 shows an example of character / line drawing edge judgment by the correlation judging circuit according to this embodiment. FIGS. 2 (a) to (d) are diagrams showing the case of character / line drawing edges, and (e) to (h) are shown. It is a figure which shows the case where it is not a character line drawing edge.

【0020】以上の本実施例では1画素を参照する誤差
拡散方式を例に掲げ、文字・線画エッジの判定を5画素
×5画素を例に説明したが、より多くの画素を参照して
も本発明を同様に実施できる。
In the above-described embodiment, the error diffusion method that refers to one pixel is taken as an example, and the determination of the edge of the character / line drawing is explained by taking 5 pixels × 5 pixels as an example. However, even if more pixels are referred to. The present invention can be similarly implemented.

【0021】[0021]

【発明の効果】以上説明したように本発明の画素処理装
置は、中間調または疑似中間調表現された画像信号を入
力し、二値画像化処理を行う画像処理装置において、入
力画像信号と二値化手段の出力二値画像信号との誤差を
検出し、その誤差を次の入力する画像信号へ加えること
により実現される誤差拡散方式による二値化手段と、単
純二値化方式による入力画像信号の単純二値化手段と、
注目画素を中心に二次元方向に文字・線画エッジの判定
を行う判定手段と、この判定手段の出力により誤差拡散
方式による二値化画像信号か単純二値化方式による二値
化画像信号かのいずれかを選択する選択手段とを備える
ことにより、文字・線画に対するエッジのくずれを低減
し、かつ網点写真部のモアレ発生を低下させ、出力二値
画像の品質を向上させることができる効果を有する。
As described above, the pixel processing apparatus of the present invention is an image processing apparatus which receives an image signal represented by halftone or pseudo-halftone and performs a binary image processing, in combination with the input image signal. Binarizing means by an error diffusion method realized by detecting an error from the binary image signal output from the binarizing means and adding the error to the next input image signal, and an input image by the simple binarizing method Means for simple binarization of signals,
A determination means for determining a character / line drawing edge in a two-dimensional direction centering on the pixel of interest, and an output of this determination means whether the image is a binary image signal by an error diffusion method or a binary image signal by a simple binary method. By providing the selecting means for selecting either one, it is possible to reduce the edge collapse of the character / line image, reduce the occurrence of moire in the halftone dot photograph portion, and improve the quality of the output binary image. Have.

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

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

【図2】本実施例における相関判定回路による文字・線
画エッジの判定例を示し、(a)〜(d)は文字・線画
エッジの場合を示す図、(e)〜(h)は文字・線画エ
ッジでない場合を示す図である。
FIG. 2 shows an example of character / line drawing edge judgment by a correlation judging circuit in the present embodiment, (a) to (d) are diagrams showing a case of character / line drawing edges, and (e) to (h) are characters / line drawing edges. It is a figure which shows the case where it is not a line drawing edge.

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

S 判定信号 T1 ,T2 ,T3 入力端子 T4 出力端子 1a,1b 加算回路 2a,2b コンパレータ 3 符号反転回路 4 遅延回路 5 セレクタ 6a〜6e シフトレジスタ 7a〜7d ラインメモリ 8 相関判定回路S determination signal T 1, T 2, T 3 input terminal T 4 output terminals 1a, 1b adder circuit 2a, 2b comparator 3 sign inverting circuit 4 delay circuit 5 selector 6a~6e shift register 7a~7d line memory 8 correlation determination circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 中間調または疑似中間調表現された画像
信号を入力し、二値画像化処理を行う画像処理装置にお
いて、入力画像信号と二値化手段の出力二値画像信号と
の誤差を検出し、その誤差を次の入力する画像信号へ加
えることにより実現される誤差拡散方式による前記二値
化手段と、単純二値化方式による前記入力画像信号の単
純二値化手段と、注目画素を中心に二次元方向に文字・
線画エッジの判定を行う判定手段と、この判定手段の出
力により前記誤差拡散方式による二値化画像信号か前記
単純二値化方式による二値化画像信号かのいずれかを選
択する選択手段とを備えることを特徴とする画像処理装
置。
1. An image processing apparatus for inputting an image signal represented by a halftone or pseudo halftone and performing a binary image processing, wherein an error between an input image signal and an output binary image signal of a binarizing means is eliminated. The binarizing means by the error diffusion method realized by detecting and adding the error to the next input image signal, the simple binarizing means of the input image signal by the simple binarizing method, and the target pixel Characters in the two-dimensional direction centered on
A determination means for determining a line drawing edge, and a selection means for selecting either a binarized image signal by the error diffusion method or a binarized image signal by the simple binarization method by the output of the determination means. An image processing apparatus comprising:
JP4138120A 1992-05-29 1992-05-29 Picture processor Pending JPH0678140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4138120A JPH0678140A (en) 1992-05-29 1992-05-29 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4138120A JPH0678140A (en) 1992-05-29 1992-05-29 Picture processor

Publications (1)

Publication Number Publication Date
JPH0678140A true JPH0678140A (en) 1994-03-18

Family

ID=15214440

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4138120A Pending JPH0678140A (en) 1992-05-29 1992-05-29 Picture processor

Country Status (1)

Country Link
JP (1) JPH0678140A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10205850B2 (en) 2016-09-22 2019-02-12 Brother Kogyo Kabushiki Kaisha Image processor and storage medium storing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10205850B2 (en) 2016-09-22 2019-02-12 Brother Kogyo Kabushiki Kaisha Image processor and storage medium storing program

Similar Documents

Publication Publication Date Title
JPH05227425A (en) Improvement in automatic image segmentation
JPH04356869A (en) Image processor
JPH10313407A (en) Image processing unit
JPH0678140A (en) Picture processor
EP1202553A3 (en) Image processing apparatus
JPH04248766A (en) Image area separation system
JPH01115271A (en) Image processor
JPS63288565A (en) Image processor
JP3841494B2 (en) Image processing device
JP3361355B2 (en) Image processing device
JP3257826B2 (en) Image processing device
JP2900907B2 (en) Image processing device
JP3326309B2 (en) Image processing device
JP2637612B2 (en) Image binarization method
JP3146516B2 (en) Image processing device
JP3212339B2 (en) Image magnification device
JP3136650B2 (en) Image processing device
JP3146517B2 (en) Image processing device
JPS5814673A (en) Gradation signal restoring system
JPS63288566A (en) Image processor
JPH05292312A (en) Dot area separator
JPH0457274B2 (en)
JPH01303869A (en) Picture processor
JPH1098613A (en) Picture processor
JPH04270561A (en) Picture processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19981117