JPS6087572A - Picture signal binary coding system - Google Patents

Picture signal binary coding system

Info

Publication number
JPS6087572A
JPS6087572A JP58196392A JP19639283A JPS6087572A JP S6087572 A JPS6087572 A JP S6087572A JP 58196392 A JP58196392 A JP 58196392A JP 19639283 A JP19639283 A JP 19639283A JP S6087572 A JPS6087572 A JP S6087572A
Authority
JP
Japan
Prior art keywords
signal
level
threshold
image signal
threshold value
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
JP58196392A
Other languages
Japanese (ja)
Other versions
JPH0229271B2 (en
Inventor
Mitsuo Togashi
富樫 光夫
Toshiaki Watanabe
俊明 渡辺
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.)
Panasonic System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems 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 Matsushita Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP58196392A priority Critical patent/JPS6087572A/en
Publication of JPS6087572A publication Critical patent/JPS6087572A/en
Publication of JPH0229271B2 publication Critical patent/JPH0229271B2/ja
Granted legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve the resolution and also to decrease generation of noise on a picture image by keeping a threshold value signal level when an absolute value of a difference between a picture signal level to a preceding picture element and the threshold signal level is a fixed value or below. CONSTITUTION:A digitized picture signal (a) and an output of a counter 4 [the output becomes a threshold signal (d)] are given to a decoder 3, and outputs of the decoder 3 are inputted to the counter 4 as an up-down control signal (g) and an enable signal (h). The decoder 3 is switched properly depending on the relation of the picture signal (a) and the threshold value signal (d) being two input signals in this case, and when the absolute value of the difference between the level of the picture signal to the preceding picture element and the level of the threshold value signal is a fixed value or below, the level of the threshold signal to the present picture element is kept to the same level as that to the preceding picture element and the threshold value signal is changed only as required.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、ファクシミ、、lJ装置等において原稿を読
み取って得られる画信号を、白黒2値に2値化する画信
号2値化方式に関する。。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an image signal binarization method for binarizing an image signal obtained by reading an original in a facsimile machine, an IJ device, etc. into black and white binary values. .

従来例の構成とその問題点 第1図は、従来の画信号2値化方式を行う装置のブロッ
ク図を示す01は比較器、2は閾値発生回路であり、比
較器1の一方の入力には画信号dが、比較器1の他方の
入力には閾値発生回路2がら出力さ扛る一定レベルの閾
値すがそれぞれ入力さnる。そして、比較器1が、前記
画信号aと閾値すとの比較結果を2値化号Cとして出力
することにより、2値化処理が行われていた。
Configuration of a conventional example and its problems Figure 1 shows a block diagram of a device that performs a conventional image signal binarization method. 01 is a comparator, 2 is a threshold generation circuit, and one input of the comparator 1 is The image signal d is inputted to the other input of the comparator 1, and the threshold value of a constant level outputted from the threshold value generation circuit 2 is inputted to the other input of the comparator 1. Then, the comparator 1 outputs the comparison result between the image signal a and the threshold value S as a binarization signal C, thereby performing binarization processing.

ところで、イメージセンサの画素ピッチに対応して、1
画素毎に白黒が変化するような原稿のバター7をイメー
ジセンサで読み取った場合、原稿とセンサ画素の位相ず
れや、分解能の限界により、イメージセンサの光電変換
出力のコントラストが低下するという現象が生じる。
By the way, corresponding to the pixel pitch of the image sensor, 1
When an image sensor reads the butter 7 of a document whose black and white color changes for each pixel, a phenomenon occurs in which the contrast of the photoelectric conversion output of the image sensor decreases due to a phase shift between the document and the sensor pixels and the resolution limit. .

しかるに、前記従来の2値化方式においては、閾値すの
大きさによっては、第2図に示されるように、前記原稿
パターンを忠実に白、黒の2値化号Cに分解することが
困難であった。
However, in the conventional binarization method, depending on the size of the threshold value, it is difficult to faithfully decompose the document pattern into white and black binary code C, as shown in FIG. Met.

すなわち、第2図において、a′はディジタル化された
画信号aiアナログ的に表現したもの、b。
That is, in FIG. 2, a' is an analog representation of the digitized image signal ai, and b.

b’、b”は3種類の閾値、c、a′、c″Fiそnぞ
n前記閾値す、 l、/ 、 b// に対すz)2値
化号を示している。同図から明らかなように、閾値すに
対する2値化号Cは、原稿中における白地上の黒細線の
領域Aおよび黒地上の白細線の領域Bに関しては、共に
忠実に白黒を再現していない。
b', b'' indicate three types of threshold values, c, a', c''Fi, and z) binarization codes for the aforementioned threshold values, l, /, b//. As is clear from the figure, the binarization code C for the threshold value does not faithfully reproduce black and white in both area A of thin black lines on white ground and area B of thin white lines on black ground in the manuscript. .

また、閾値b′に対する2値化号C′は、領域Aについ
ては再現しているが、領域BKついて再現していない。
Further, the binarization code C' for the threshold value b' is reproduced for the area A, but not for the area BK.

さらに、閾値b”対する2値付号C″は、領域Bにつ・
いては再現しているが、領域Aについては再現していな
い。
Furthermore, the binary symbol C'' for the threshold value b'' is
However, region A is not reproduced.

このように、コントラストの低下している画信号に対し
ては、画信号のパタ□−ンによって最適な閾値があり、
閾値を固定し−Cいる前記従来の2値化方式では、すべ
てのパターンに対して解像度の高い白黒画像を得ること
はできないという不都合があった。
In this way, for image signals with reduced contrast, there is an optimal threshold value depending on the pattern of the image signal.
The conventional binarization method using -C with a fixed threshold value has the disadvantage that it is not possible to obtain high-resolution black and white images for all patterns.

上述のような不都合に対しては、前画素に対する2値化
号を参照し、白ならば閾値を所定レベル−、△Vだけ上
昇させる一方、黒ならば閾値t△V、だけ下降させるこ
とによって対処することができる。
To solve the above-mentioned problem, refer to the binarization code for the previous pixel, and if it is white, the threshold value is raised by a predetermined level -, ΔV, while if it is black, it is lowered by the threshold value tΔV. can be dealt with.

しかし、その場合は、閾値が常に増加するか、減少する
かして変動するから、画信号と閾値とが近い値をとって
いるときには、2値化号に交互に白黒が現われてしまい
、画像として見た場合、ノイズの目立つ画像となってし
まうという新たな問題点が生じてしまう。
However, in that case, the threshold value always changes by either increasing or decreasing, so when the image signal and the threshold value are close to each other, black and white appear alternately in the binarization signal, and the image When viewed as an image, a new problem arises in that the image has noticeable noise.

発明の目的 本発明は前記従来の問題点を解消するもので、コントラ
ストの低下している画信号に対しても、同画信号を2値
化した2値化号においては、十分解像度が高く白黒が再
現さn、Lかも画像上のノイズの発生を少なく抑えるこ
とができる画信号2値化方式を提供することを目的とす
る。
OBJECT OF THE INVENTION The present invention solves the above-mentioned conventional problems, and even for image signals with reduced contrast, a binary code that converts the same image signal into a binary signal has a sufficiently high resolution and can be converted into black and white. An object of the present invention is to provide an image signal binarization method that can suppress the occurrence of noise on an image by reproducing n and L signals.

発明の構成 本発明による画信号2値化方式は、通常は、前画素に対
する画信号のレベルおよび閾値信号のレベルを参照して
、その大小関係により現画素に対する閾値信号のレベル
を変化するが、前画素に対する画信号のレベルと閾値信
号のレベルとの差の絶対値がある一定値以下の場合には
、現画素に対する閾値信号のレベルを前画素に対するそ
れと同一レベルとすることによって、上述の目的を達成
せんとするものである。
Structure of the Invention The image signal binarization method according to the present invention usually refers to the level of the image signal and the level of the threshold signal for the previous pixel, and changes the level of the threshold signal for the current pixel depending on the magnitude relationship between them. When the absolute value of the difference between the level of the image signal for the previous pixel and the level of the threshold signal is less than a certain value, the above purpose is achieved by making the level of the threshold signal for the current pixel the same as that for the previous pixel. This is what we aim to achieve.

実施例の説明 以下、本発明を図面に示す実施例に基づいて説明する。Description of examples Hereinafter, the present invention will be explained based on embodiments shown in the drawings.

第3図は本発明の一実施例による画信号2値化方式を実
現する装置のブロック1ス1であり、3はデコーダ、4
はアップ/ダウン・カウンタ、5は比較器である。
FIG. 3 shows a block 1 of an apparatus for realizing an image signal binarization method according to an embodiment of the present invention, where 3 is a decoder and 4 is a decoder.
is an up/down counter, and 5 is a comparator.

デコーダ3には、ディジタル化された画信号aおよびカ
ウンタ4の出力(この出力が閾値信号dとなる)が入力
さ汎る0カウンタ4のりCIソック力には、画信号aと
同期しているクロック信号fが入力される。カウンタ4
のアップダウン制御入力とイネーブル入力には、そ7t
ぞれアップ/ダウン制御信号q1イネーブル信号りとし
て、デコーダ3の出力が入力される。こrしにより、デ
コーダ3がカウンタ4に対して制御できるモードは以下
03つとなっている。ただし、下記において、h=1で
イネーブルがオン、q−1でアップ、q−0でダウンと
する。
The decoder 3 receives the digitized image signal a and the output of the counter 4 (this output becomes the threshold signal d). A clock signal f is input. counter 4
The up/down control input and enable input of
The output of the decoder 3 is input as the up/down control signal q1 enable signal. As a result, the following three modes are available for the decoder 3 to control the counter 4. However, in the following, it is assumed that the enable is on at h=1, up at q-1, and down at q-0.

M−1:保持モード h = O、g = dont’
 careM=2:加算モード h==1.g=0M−
3:減算モード h=1.g=0 デコーダ3はこ減らのモードを、同デコーダ302組の
入力である画信号aと閾値信号dとの関係より適宜切り
替えて行くわけであるが、そのアルゴリズムは次のよう
になっている。
M-1: Holding mode h = O, g = don't'
careM=2: addition mode h==1. g=0M-
3: Subtraction mode h=1. g=0 The decoder 3 switches the following modes as appropriate based on the relationship between the image signal a and the threshold signal d, which are input to the decoder 302, and the algorithm is as follows. .

すなわち、閾値信号dの上限レベル、下限レベルをそn
ぞれVmax 、Vminに抑えるならば、(i) d
 < Vmi nのとき、M=2(!t) d > V
maxのとき、M=3(iil) d = Vmi n
のとき、01a−dl≧L(LiJ一定値)で、かつa
)dの場合、M=2 ■それ以外の場合、M=1 (iv) d = Vmaxのとき、 ■1a−dl≧Lで、かツa < dの場合、M二3 ■それ以外の場合、M=1 (V) Vmax > d > Vminのとき、■1
a−dl≦L(1)場合、1ld=1■1a−dl≧L
で、がっa ) dの場合、M=2 ■1a−di≧Lで、かッa < dの場合、M=3 とする。
That is, the upper limit level and lower limit level of the threshold signal d are
If suppressed to Vmax and Vmin, respectively, (i) d
<When Vmin, M=2(!t) d>V
When max, M=3(iil) d=Vmin
When 01a-dl≧L (LiJ constant value) and a
) In the case of d, M = 2 ■ In other cases, M = 1 (iv) When d = Vmax, ■ If 1a-dl≧L and a < d, M23 ■ In other cases , M=1 (V) When Vmax > d > Vmin, ■1
If a-dl≦L(1), 1ld=1■1a-dl≧L
Then, if a) d, then M=2. If 1a-di≧L, and if a<d, then M=3.

このようなモードの相違によるカウンタ4の出力(すな
わち、闇値信号d)の変化は、クロック信号量の立ち上
がりで起こる。したがって、前画素に対する画信号aと
閾値信号d v、参照して、その次の画素(現画素)に
対する閾値信号dが次、 のようにして随時定まって行
くことになる。
A change in the output of the counter 4 (ie, the dark value signal d) due to such a difference in mode occurs at the rise of the clock signal amount. Therefore, with reference to the pixel signal a and the threshold signal dv for the previous pixel, the threshold signal d for the next pixel (current pixel) is determined as needed as follows.

すなわち、前画素VC対する画信号aのレベルをao、
前画素に対する閾値信号dのレベルをdo、現画素に対
する閾値信号dのレベルをdl とすると、 (1) do<Vml nのときは、d1ヲd0より所
定レベル△Vだけ上昇させる。
That is, the level of the image signal a for the previous pixel VC is set as ao,
When the level of the threshold signal d for the previous pixel is do, and the level of the threshold signal d for the current pixel is dl, (1) When do<Vml n, d1 is raised from d0 by a predetermined level ΔV.

(II) do>Vmaxのときは、d1’i5d。よ
り所定レベル△Vだけ下降させる。
(II) When do>Vmax, d1'i5d. The voltage is lowered by a predetermined level ΔV.

Qll) d0=Vminのときは、 ■l ao−d01≧Lで、かつao〉doの場合、d
l id。より所定レベル△Vだけ上昇させる。
Qll) When d0=Vmin, ■l When ao-d01≧L and ao>do, d
l id. It is increased by a predetermined level ΔV.

■それ以外の場合、dl をdoと同一レベルに保持す
る。
■Otherwise, keep dl at the same level as do.

(IV) do=Vmax (Dときは、■l ao−
do l≧Lで、かつa o< d oの場合、d1’
id。より所定レベル△Vだけ下降させる。
(IV) do=Vmax (When D, ■l ao-
If do l≧L and ao<d o, then d1'
id. The voltage is lowered by a predetermined level ΔV.

■それ以外の場合、dl をdoと同一レベルルに保持
する。
■Otherwise, keep dl at the same level as do.

(V) Vmax > do> Vmin Oとき、■
1ao−do 1≦Lの場合、dlid。と同一レベル
に保持する。
(V) When Vmax > do > Vmin O, ■
1ao-do If 1≦L, dlid. be maintained at the same level.

■l ao−do l≧Lで、かツa o>d oの場
合、dlをdoより所定レベル△Vだけ上昇させる。
■l ao-do When l≧L and ao>d o, dl is increased by a predetermined level ΔV above do.

■l ”o−do 1.:qLで、かつa o< d 
oの場合、dl をd。より所定レベル△Vだけ下降さ
せる。
■l ”o-do 1.: qL, and a o< d
If o, dl is d. The voltage is lowered by a predetermined level ΔV.

上述のようにして得られた閾値信号dと画信号aとは、
比較器5に人力される。そ−して、比較器6は、その比
較結果を2値化号eとして出力する。
The threshold signal d and image signal a obtained as described above are
Comparator 5 is manually operated. Then, the comparator 6 outputs the comparison result as a binary code e.

これにより、2値化号eば、a ) dならば白、a〈
dならば黒とされる。
As a result, if the binarization code is e, a) if d, white, a〈
If it is d, it is black.

第4図は本方式による2値化の例を示す波形タイミング
図であり、同図におけるal (実線)、d′(破線)
は、それぞれディジタル信号である画信号a、閾値信号
d((アナログ化して示したものである。また、同図に
おいて、2値化号eはロウレベルカ黒、・・イレベルが
白とされている工同図から明らかなように、本方式によ
t”Lば、従来の固定された閾値による画信号2値化方
式では再現できなかった領域Aおよび領域Bについて、
共に白黒を再現できる。
Figure 4 is a waveform timing diagram showing an example of binarization using this method, in which al (solid line) and d' (broken line)
are the image signal a, which is a digital signal, and the threshold signal d ((shown in analog form). In the same figure, the binarization signal e is a process in which the low level is black, and the high level is white. As is clear from the figure, with this method t''L, areas A and B, which could not be reproduced with the conventional image signal binarization method using a fixed threshold value, can be reproduced.
Together they can reproduce black and white.

なお、実際の読取および記録を行った実験でも、本方式
によれば、高解像度でかつノイズの発生の少ない画像が
得られることが確認された。
In addition, in experiments in which actual reading and recording were performed, it was confirmed that according to this method, images with high resolution and low noise generation can be obtained.

発明の効果 本発明によれば、前画素に対する画信号のレベルと閾値
信号のレベルとの差の絶対値がある一定値以下の場合に
は、現画素に対する閾値信号のレベルを前画素に対する
それと同一レベルに維持し、−値化号を必要なときのみ
変化させるので、コントラストの低下している画信号に
対しても、同画信号を2値化した2値化号においては、
十分解像度が高く白黒が再現さn、 Lかも画像上のノ
イズの発生を少なく押えることができるという優れた効
果を得られる。
Effects of the Invention According to the present invention, when the absolute value of the difference between the level of the image signal for the previous pixel and the level of the threshold signal is less than a certain value, the level of the threshold signal for the current pixel is set to be the same as that for the previous pixel. Since the level is maintained at the same level and the -value code is changed only when necessary, even for an image signal with reduced contrast, the binarization code that binarizes the same image signal,
If the resolution is sufficiently high and black and white is reproduced, an excellent effect can be obtained in that the occurrence of noise on the image can be suppressed to a minimum.

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

第1図は従来の画信号2値化方式を実現する装置のブロ
ック図、第2図は従来の画信号2値化方式による信号2
値化の例を示す波形タベミンク図、第3図は本発明の一
実施例による画信号2値化方式を実現する装置のブロッ
ク図、第4図は前記実厚例による信号2値化の例を示す
波形タイミング図である。 a・・・・両信号、d・・・・・・閾値信号。
Figure 1 is a block diagram of a device that realizes the conventional image signal binarization method, and Figure 2 shows the signal 2 by the conventional image signal binarization method.
A waveform Tabeminck diagram showing an example of digitization, FIG. 3 is a block diagram of an apparatus for realizing an image signal binarization method according to an embodiment of the present invention, and FIG. 4 is an example of signal binarization using the actual thickness example. FIG. a...Both signals, d...Threshold signal.

Claims (1)

【特許請求の範囲】 前画素に対する画信号のレベルk a□ 、前画素に対
する、前記画信号を2値化するための閾値信号のレベル
をd。、現画素に対する前記閾値信号のレベルヲd1 
としたとき、原則として、la。 −d01≦L(Lは一定値)の場合は、dl をdoと
同一レベルに保持し、l ao−clol > Lでか
つa。>doの場合は、dl をdoより所定レベルだ
け上昇させ、a o<d oの場合はd、1 id。よ
り所定レベルだけ下降させる画信号2値化方式。
[Claims] The level of the image signal for the previous pixel is ka□, and the level of the threshold signal for binarizing the image signal for the previous pixel is d. , the level of the threshold signal for the current pixel d1
In principle, la. -d01≦L (L is a constant value), hold dl at the same level as do, l ao-clol > L, and a. >do, raise dl by a predetermined level from do, and ao<d o, d, 1 id. An image signal binarization method that lowers the image signal by a predetermined level.
JP58196392A 1983-10-20 1983-10-20 Picture signal binary coding system Granted JPS6087572A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58196392A JPS6087572A (en) 1983-10-20 1983-10-20 Picture signal binary coding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58196392A JPS6087572A (en) 1983-10-20 1983-10-20 Picture signal binary coding system

Publications (2)

Publication Number Publication Date
JPS6087572A true JPS6087572A (en) 1985-05-17
JPH0229271B2 JPH0229271B2 (en) 1990-06-28

Family

ID=16357102

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58196392A Granted JPS6087572A (en) 1983-10-20 1983-10-20 Picture signal binary coding system

Country Status (1)

Country Link
JP (1) JPS6087572A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58179061A (en) * 1982-04-14 1983-10-20 Ricoh Co Ltd Binarization device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58179061A (en) * 1982-04-14 1983-10-20 Ricoh Co Ltd Binarization device

Also Published As

Publication number Publication date
JPH0229271B2 (en) 1990-06-28

Similar Documents

Publication Publication Date Title
JPS62118676A (en) Picture processing system
JPH06325170A (en) Image processor
JP3313447B2 (en) Image processing device
JPS5896458A (en) Binary system
JPS6087572A (en) Picture signal binary coding system
JPS61105973A (en) Picture signal processing method
JP3032238B2 (en) Image processing device
KR960012550B1 (en) Shading Correction Processing Unit
JPS6232676B2 (en)
KR100490244B1 (en) Error diffusion method using variable threshold value in image processing system
JP2774565B2 (en) Image reduction device
KR100436765B1 (en) Apparatus and method for signal processing in a digital video system
JP3135311B2 (en) Image processing device
JPH07170372A (en) Image reader and facsimile equipment using the same
JPS6143078A (en) Processing system of original picture
JPS60236582A (en) Picture signal quantizing system
JP2755506B2 (en) Image forming device
JPH05316343A (en) Picture reader
JPS60254876A (en) Shading correcting device
JPS62199168A (en) Picture processor
JPH05122551A (en) Signal processing method using table
JPS62245864A (en) High picture quality forming device
JPH03135167A (en) Picture processing unit
JPS5920309B2 (en) Image processing method
JPS60178775A (en) Picture conversion processor