Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5841545B2 - Shading removal circuit - Google Patents
[go: Go Back, main page]

JPS5841545B2 - Shading removal circuit - Google Patents

Shading removal circuit

Info

Publication number
JPS5841545B2
JPS5841545B2 JP53040323A JP4032378A JPS5841545B2 JP S5841545 B2 JPS5841545 B2 JP S5841545B2 JP 53040323 A JP53040323 A JP 53040323A JP 4032378 A JP4032378 A JP 4032378A JP S5841545 B2 JPS5841545 B2 JP S5841545B2
Authority
JP
Japan
Prior art keywords
signal
output
video signal
envelope
shading
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.)
Expired
Application number
JP53040323A
Other languages
Japanese (ja)
Other versions
JPS54133035A (en
Inventor
岩雄 浅川
好司 藤本
光宣 岡
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP53040323A priority Critical patent/JPS5841545B2/en
Publication of JPS54133035A publication Critical patent/JPS54133035A/en
Publication of JPS5841545B2 publication Critical patent/JPS5841545B2/en
Expired legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 本発明は、光学的文字読取装置などに使用されるシェー
ディング除去回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a shading removal circuit used in optical character reading devices and the like.

手書き文字または印刷文字を自動的に読取る光学的文字
読取装置(以下、OCRと略称する。
An optical character reader (hereinafter abbreviated as OCR) that automatically reads handwritten or printed characters.

)は第1図のように構成されている。) is constructed as shown in Figure 1.

第1図に鮫いて、紙送り機構1によって、文字が印刷ま
たは手書きされた帳票2が送られてくると、光源3から
の光が帳票2に当てられ、帳票2上の文字パターンに応
じた反射光4がレンズ系5を通して、スキャナ光電変換
部6に入射される。
As shown in Fig. 1, when a form 2 with printed or handwritten characters is sent by the paper feed mechanism 1, light from a light source 3 is applied to the form 2, and the text is displayed according to the character pattern on the form 2. Reflected light 4 passes through lens system 5 and enters scanner photoelectric conversion section 6 .

このスキャナ光電変換部6は、第2図に示すように、矢
印A耘よびBに示す垂直釦よび水平走査によって、帳票
上の文字パターン9を読取るようになって耘り、垂直走
査はフォトダイオード等からなる光電変換素子と走査回
路を垂直方向に一次元的に配列したラインセンサ10に
より実現する。
As shown in FIG. 2, this scanner photoelectric conversion unit 6 reads the character pattern 9 on the form by vertical buttons and horizontal scanning indicated by arrows A and B, and the vertical scanning is performed using a photodiode. This is realized by a line sensor 10 in which photoelectric conversion elements and scanning circuits, etc., are arranged one-dimensionally in the vertical direction.

OCRには、同−帳票内の多数行にわたって文字を読む
ページリーダと、帳票内の1〜2行の文字を読むドキュ
メントリーダとがあり、水平走査を行なう場合、ページ
リーダでは、ラインセンサ10を文字列方向に機械的に
走行させるようになってトリ、ドキュメントリーダでは
、帳票を水平方向に移動させるようになっている。
There are two types of OCR in OCR: a page reader that reads characters across multiple lines within a document, and a document reader that reads characters on one or two lines within a document.When performing horizontal scanning, the page reader uses the line sensor 10. Document readers are designed to move the form horizontally, while mechanically moving the form in the direction of the character string.

このような走査により、光電変換器6で読取られたアナ
ログビデオ信号は、量子化回路Iにより白黒の2階調の
ディジクル信号に変換される。
Through such scanning, the analog video signal read by the photoelectric converter 6 is converted by the quantization circuit I into a digital signal of two gray levels, black and white.

認識回路8では、この2値化されたディジタルデータを
取込み、各種の認識処理をすることによって、原パター
ンがどの文字に対応するかを判定する。
The recognition circuit 8 takes in this binarized digital data and performs various recognition processes to determine which character the original pattern corresponds to.

このようなOCRに訃いて、量子化回路Iでアナログビ
デオ信号をディジタル信号に変換する場合に最も大きな
問題は、シェーディングである。
The biggest problem with such OCR when converting an analog video signal into a digital signal using the quantization circuit I is shading.

このシェーディングは、照明系の照度むらなどによって
生ずるもので、このシェーディングの影響によって文字
の読取りが極めて困難になるため、シェーディング除去
回路を使って、シェーディングを除去することが行なわ
れている。
This shading is caused by uneven illuminance in the lighting system, and the influence of this shading makes it extremely difficult to read characters, so a shading removal circuit is used to remove the shading.

第3図は従来のシェーディング除去回路を含む量子化回
路の構成を示すもので、垂直走査線方向のシェーディン
グを除去しようとするものである。
FIG. 3 shows the configuration of a quantization circuit including a conventional shading removal circuit, which attempts to remove shading in the vertical scanning line direction.

図に3いて、最大値検出回路11により、入力端子12
からの入力ビデオ信号と減衰器13の出力とを比較し、
その値の大きい方を出力する。
3 in the figure, the maximum value detection circuit 11 detects the input terminal 12.
Compare the input video signal from the attenuator 13 with the output of the attenuator 13;
Output the larger value.

アナログメモリ14では、この出力を、1垂直走査期間
だけ遅延し、減衰器13で所定量だけ減衰して最大値検
出回路11に入力する。
In analog memory 14, this output is delayed by one vertical scanning period, attenuated by a predetermined amount in attenuator 13, and input to maximum value detection circuit 11.

したがって、最大値検出回路11では、現在入力されて
いるビデオ信号と、1垂直走査前の対応する点のビデオ
信号とを比較することになるので、制御信号C8で減衰
器13の減衰量を適当に選ぶことにより、水平走査線方
向のビデオ信号を追跡し、ビデオ信号の白レベルの包絡
線を求めることができる。
Therefore, since the maximum value detection circuit 11 compares the currently input video signal with the video signal at the corresponding point one vertical scan ago, the attenuation amount of the attenuator 13 is adjusted appropriately using the control signal C8. By selecting , it is possible to track the video signal in the horizontal scanning line direction and find the envelope of the white level of the video signal.

この包絡線は、原ビデオ信号のシェーディング波形であ
るので、これを用いて、利得制御型の増幅器15でシェ
ーディングを補正することにより、シェーディングを除
去する。
Since this envelope is a shading waveform of the original video signal, the shading is removed by correcting the shading using the gain control amplifier 15 using this envelope.

このようにシェーディング除去されたビデオ信号を、レ
ベル追跡回路16に力Uえて黒レベルの追跡をし、この
追跡結果訣よび設定されたスライスレベルSLにより閾
値レベル信号を出力する。
The video signal from which shading has been removed in this way is sent to a level tracking circuit 16 to track the black level, and a threshold level signal is output based on the tracking result and the set slice level SL.

比較器17では、この閾値レベルと増幅器15からのビ
デオ信号とを比較し、両者の大小に対応する2値化信号
を出力端子18から出力する。
The comparator 17 compares this threshold level with the video signal from the amplifier 15, and outputs from the output terminal 18 a binarized signal corresponding to the magnitude of both.

このような従来のシェーディング除去回路は、読取られ
た文字パターン(黒レベル信号)が水平走査線方向に短
い場合は、シェーディング波形に良く追従できるが、文
字パターンが水平走査線方向に長くなると、シェーディ
ング波形に追従できなくなり、正確な量子化ができず、
誤認識を行なう可能性があった。
Such conventional shading removal circuits can follow the shading waveform well when the read character pattern (black level signal) is short in the horizontal scanning line direction, but when the character pattern becomes long in the horizontal scanning line direction, shading It becomes impossible to follow the waveform, and accurate quantization is not possible.
There was a possibility of misunderstanding.

また、入力ビデオ信号に雑音が含まれている場合、得ら
れる白レベルの包絡線は、この雑音によって影響され、
正確なシェーディング除去ができないという問題があっ
た。
Also, if the input video signal contains noise, the resulting white level envelope will be affected by this noise.
There was a problem that accurate shading removal could not be performed.

さらに、上述したシェーディング除去回路は、アナログ
方式であるため、最大値検出回路11゜アナログメモリ
14、利得制御型増幅器15のようなアナログ要素を必
要とする。
Furthermore, since the above-described shading removal circuit is of an analog type, it requires analog elements such as the maximum value detection circuit 11 degree analog memory 14 and the gain control type amplifier 15.

このようなアナログ要素を使用した場合、回路系の調整
が難しく、各要素の動作領域が非常に狭くなり、安定な
動作が期待できないばかりか、高価になり、かつ、高集
積化ができないという問題があった。
When such analog elements are used, it is difficult to adjust the circuit system, the operating range of each element becomes extremely narrow, and stable operation cannot be expected, it is expensive, and high integration is not possible. was there.

本発明の主な目的は、極めて精度良くシェーディング除
去ができるシェーディング除去回路を提供することにあ
る。
A main object of the present invention is to provide a shading removal circuit that can remove shading with extremely high accuracy.

本発明の他の目的は、雑音に影響されないシェーディン
グ波形を得ることができるシェーディング除去回路を提
供することにある。
Another object of the present invention is to provide a shading removal circuit that can obtain a shading waveform that is not affected by noise.

本発明のさらに他の目的は、安価で、高集積化が容易な
シェーディング除去回路を提供することにある。
Still another object of the present invention is to provide a shading removal circuit that is inexpensive and easy to integrate.

このような目的を達成するために、本発明では、現走査
の入力ビデオ信号と少くとも前走査の対応する点の白レ
ベル包絡線の信号との差または比をとり、その差または
比に応じて所定の関数を発生させ、その関数出力と上記
包絡線の信号とを加算または掛算し、その結果を新たな
白レベル包絡線、すなわちシェーディング波形として出
力するようにしたことに特徴がある。
To achieve such an objective, the present invention calculates the difference or ratio between the input video signal of the current scan and the white level envelope signal of the corresponding point of at least the previous scan, and calculates the difference or ratio according to the difference or ratio. The present invention is characterized in that a predetermined function is generated, the output of the function is added or multiplied by the envelope signal, and the result is output as a new white level envelope, that is, a shading waveform.

以下、本発明の実施例を図面により詳細に説明する。Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第4図は本発明によるシェーディング除去回路を含む量
子化回路の一実施例のブロック構成を示すもので、21
はビデオ信号の入力端子、22は2つの入力信号の差を
求める減算回路、23は入力に応じて所望の関数を発生
する関数発生器、24は2つの入力の和を求める加算回
路、25は入力信号を1垂直走査期間だけ遅延する遅延
回路、26は2つの入力の比を求め、シェーディング除
去された黒レベル信号を出力する黒レベル検出回路、2
Tは黒レベル追跡回路、28は2値化信号を求める比較
回路、29は2値化信号の出力端子である。
FIG. 4 shows a block configuration of an embodiment of a quantization circuit including a shading removal circuit according to the present invention.
22 is a subtraction circuit that calculates the difference between two input signals; 23 is a function generator that generates a desired function according to the input; 24 is an addition circuit that calculates the sum of the two input signals; 25 is a subtraction circuit that calculates the difference between two input signals; 2 is a delay circuit that delays an input signal by one vertical scanning period; 26 is a black level detection circuit that calculates the ratio of two inputs and outputs a black level signal from which shading has been removed;
T is a black level tracking circuit, 28 is a comparison circuit for obtaining a binary signal, and 29 is an output terminal for the binary signal.

この内、減算回路22、関数発生器23、加算回路24
、遅延回路25からなる回路は、白レベル包絡線追跡回
路を構成している。
Among these, a subtraction circuit 22, a function generator 23, an addition circuit 24
, delay circuit 25 constitutes a white level envelope tracing circuit.

このような構成にむいて、入力端子21から時刻nTに
おけるビデオ信号x(nT)が減算回路22に入力され
ると、その時、後述する遅延回路25から、白レベル包
絡線追跡回路の出力y(nT)を1垂直走査期間だけ遅
延した信号y((n ]、 )T:]が同様に減算回
路22に入力され、減算回路22からその差に相当する
信号 が得られる。
For such a configuration, when the video signal x(nT) at time nT is inputted from the input terminal 21 to the subtraction circuit 22, the output y( A signal y((n ], )T:] which is obtained by delaying nT) by one vertical scanning period is similarly input to the subtraction circuit 22, and a signal corresponding to the difference is obtained from the subtraction circuit 22.

関数発生器23では、減算回路22からの差信号Xに対
応する追跡関数F(x)を発生する。
A function generator 23 generates a tracking function F(x) corresponding to the difference signal X from the subtraction circuit 22.

第5図は、この関数発生器23に釦ける入力Xと出力F
(x)との関係を示す特性図で、現在の入力ビデオ信号
x(nT)とl垂直走査期間前の包絡線出力y(I(n
1)T)との差の信号Xが0以上である間は、差信
号Xに比例した出力F(x)−aIX(at埃1)が得
られ、また、差の信号Xが0以下であって、所定値X、
より大きい間は、差信号Xに比例するが、勾配の小さな
出力F(x)a2X (0(a2(1)が得られ、さら
に、差の信号XがXlより小さくなると、出力F(x)
は0となっている。
Figure 5 shows the input X and output F that are pressed to this function generator 23.
This is a characteristic diagram showing the relationship between the current input video signal x(nT) and the envelope output y(I(nT) l vertical scanning period ago).
1) While the difference signal Therefore, the predetermined value X,
While it is larger than Xl, the output F(x) is proportional to the difference signal X but has a small slope.
is 0.

第6図は、関数発生器23の他の特性例を示すもので、
差信号XがOに近いx2<x<x3の範囲だけ、非常に
勾配の小さな出力F(x) a3 x (a3 <82 )が得られるようになって
いる。
FIG. 6 shows another example of the characteristics of the function generator 23.
Only in the range x2<x<x3 where the difference signal X is close to O, an output F(x) a3 x (a3 <82) with a very small slope can be obtained.

このことは、差信号XがOの近辺では、出力が入力にゆ
るやかに追従することを表わして3す、後述するように
、ビデオ入力信号に重畳される雑音に白レベルの包絡線
がゆるやかに追従し、雑音を吸収することを示している
This means that when the difference signal This shows that it follows and absorbs noise.

また、第5図むよび第6図から解るように、関数発生器
22では、差信号Xが所定値X、より小さくなる場合、
すなわち、現入力ビデオ信号がl垂直走査期間前の包絡
線信号より極端に小さくなった場合には、包絡線追従を
停止1〜、後述するように、1−垂直走査期間前の包絡
線出力をそのまま出力する。
Further, as can be seen from FIG. 5 and FIG. 6, in the function generator 22, when the difference signal X becomes smaller than the predetermined value X,
That is, if the current input video signal becomes extremely smaller than the envelope signal from one vertical scanning period ago, the envelope tracking is stopped from 1 to 1, and the envelope output from 1 from the previous vertical scanning period is changed as described later. Output as is.

このようにして関数発生器22で得られた関数F(x)
と、前述した遅延回路25の出力yC(n 1)T〕
との和を加算回路24で求め、その出力y(nT)を白
レベル包絡線信号すなわちシェーディング波形として黒
レベル検出回路26に入力する一方、遅延回路25で1
垂直走査期間だけ遅延し7て、出力y(n 1)Tを
得る。
The function F(x) obtained in this way by the function generator 22
and the output yC(n 1)T of the delay circuit 25 mentioned above]
The adder circuit 24 calculates the sum of
After a delay of the vertical scanning period, an output y(n 1)T is obtained.

したがって、加算回路24の出力y (n T )は次
の(1)式で表わされる。
Therefore, the output y (n T ) of the adder circuit 24 is expressed by the following equation (1).

第5図トよび第6図から解るように、差信号XがX、よ
り大きい範囲では、いずれにしても、その出力F(x
)は次の(2)式で表わされるので、包絡線出力y(n
T)は入力ビデオ信号x(nT)に追従して変化するが
、差信号XがX、より小さくなる場合、すなわち、走査
文字パターンが白レベルから黒レベルに変化した場合に
は、追従関数F(x)は零となるので、包絡線出力y(
nT)は1垂直走査期間前の包絡線出力yl:(n−1
)T)をそのまま保持することになる。
As can be seen from FIGS. 5 and 6, in the range where the difference signal X is larger than X, its output F(x
) is expressed by the following equation (2), so the envelope output y(n
T) changes following the input video signal x(nT), but when the difference signal X becomes smaller than X, that is, when the scanning character pattern changes from the white level to the black level, the tracking function F (x) becomes zero, so the envelope output y(
nT) is the envelope output yl: (n-1
) T) will be kept as is.

したがって、文字パターンが水平走査線方向に長くなっ
ても、包絡線出力は前の垂直走査線の信号をそのまま保
持するので、包絡線出力は正確にシェーディング波形を
表わしていることになる。
Therefore, even if the character pattern becomes longer in the horizontal scanning line direction, the envelope output retains the signal of the previous vertical scanning line as it is, so the envelope output accurately represents the shading waveform.

また、第6図の特性から解るように、差信号XがOの付
近の領域では、追従関数F(x)は緩く追従するので水
平方向のゆるやかなシェーディングの変化に追従し、同
時に素子のバラツキや紙面の反射のバラツキによる雑音
をある程度吸収することができる。
Furthermore, as can be seen from the characteristics in Fig. 6, in the region where the difference signal It is possible to absorb a certain amount of noise caused by variations in reflection on the paper surface.

このようにして得られた包絡線出力y (nT )と入
力ビデオ信号x(nT)は黒レベル検出回路26に入力
され、次の(3)式に示すような黒レベル信号X (n
T )が得られる。
The envelope output y (nT) and the input video signal x (nT) obtained in this way are input to the black level detection circuit 26, and the black level signal X (nT) as shown in the following equation (3) is inputted to the black level detection circuit 26.
T ) is obtained.

黒レベル検出回路26の出力X (n T )としては
、シェーディング除去された黒レベルのビデオ信号が得
られ、その出力は直接比較回路28に入力される一方、
黒レベル追跡回路27に入力される。
As the output X (n T ) of the black level detection circuit 26, a black level video signal from which shading has been removed is obtained, and the output is directly input to the comparison circuit 28, while
It is input to the black level tracking circuit 27.

黒レベル追跡回路27は、入力される信号の黒レベルを
追跡し、その追跡結果に対応する信号訃よび設定された
スライスレベル信号のいずれか高い方を閾値信号X。
The black level tracking circuit 27 tracks the black level of the input signal, and uses the higher of the signal level corresponding to the tracking result and the set slice level signal as a threshold signal X.

(nT)として比較回路28に入力する。(nT) is input to the comparator circuit 28.

比較回路28では、シェーディング除去されたビデオ信
号X (n T )と閾値信号Xo(nT)とを比較し
、X(nT)がXo (n T)より大きいか小さいか
に応じて2値信号”1パまたは0°′を出力する。
The comparison circuit 28 compares the video signal X (n T ) from which shading has been removed with the threshold signal Xo (n T), and generates a binary signal depending on whether X (n T) is larger or smaller than Xo (n T). Outputs 1pa or 0°'.

黒レベル追跡回路は上記のように2値化のためのスライ
スレベルを変化させ、分解能を上げることを目的として
いる。
The purpose of the black level tracking circuit is to increase the resolution by changing the slice level for binarization as described above.

なお、第4図では、減算回路22を使用して2つの入力
x(n’r)とy〔(n 1)T〕の差を求めたが、
両者の比を求めるようにしてもよい。
In addition, in FIG. 4, the subtraction circuit 22 was used to find the difference between the two inputs x(n'r) and y[(n 1)T], but
Alternatively, a ratio between the two may be calculated.

その場合には、加算回路24は2つの入力の掛算を行な
う掛算回路となる。
In that case, the adder circuit 24 becomes a multiplication circuit that multiplies two inputs.

第1図は第4図に示す回路の具体的構成の一例を示すも
ので、ディジタル回路を使用して実現したものである。
FIG. 1 shows an example of a specific configuration of the circuit shown in FIG. 4, which is realized using a digital circuit.

図において、31はアナログ−ディジタル変換器(以下
AD変換器という。
In the figure, 31 is an analog-digital converter (hereinafter referred to as an AD converter).

)、32は入力信号の対数関数を発生するリード−オン
リ・メモリ(以下、ROMという。
), 32 is a read-only memory (hereinafter referred to as ROM) that generates a logarithmic function of an input signal.

)、33はラッチ、34は減算器、35は入力信号に対
する所望の関数を発生するROM、36は加算器、37
はラッチ、38は]垂直走査線分の容量を有するシフト
レジスタ、39はマルチプレクサ(以下、MPXという
), 33 is a latch, 34 is a subtracter, 35 is a ROM that generates a desired function for the input signal, 36 is an adder, 37
is a latch, 38 is a shift register having a capacity for vertical scanning lines, and 39 is a multiplexer (hereinafter referred to as MPX).

)を示す。そして、これらの回路34〜39は第4図の
ような白レベル包絡線追跡回路を構成している。
) is shown. These circuits 34 to 39 constitute a white level envelope tracking circuit as shown in FIG.

また、41は減算器、42はラッチで、第4図の黒レベ
ル検出回路26に相当する。
Further, 41 is a subtracter, and 42 is a latch, which corresponds to the black level detection circuit 26 in FIG. 4.

43は減算器、44は入力信号に対して所定の関数を発
生するROM、45は加算器、46は入力信号耘よび設
定されたスライスレベルSLに応じた所定の関数を発生
するROM、47はラッチで、これらで第4図に示す黒
レベル追跡回路27を構成している。
43 is a subtracter; 44 is a ROM that generates a predetermined function for the input signal; 45 is an adder; 46 is a ROM that generates a predetermined function according to the input signal level and the set slice level SL; These latches constitute a black level tracking circuit 27 shown in FIG.

さらに、48はラッチ、49は比較器、50はラッチで
、これらは第4図の比較回路28を相当している。
Furthermore, 48 is a latch, 49 is a comparator, and 50 is a latch, which correspond to the comparison circuit 28 in FIG.

なお、ラッチ33.37.42.47.48は、それぞ
れの入力信号の量子化ビット数を記憶できる容量を有し
ているものとする。
It is assumed that the latches 33, 37, 42, 47, and 48 have a capacity that can store the number of quantization bits of each input signal.

また、図には示されていないが、上述した回路の動作を
司どる各種のクロックを発生するクロック発生回路が設
けられていることは言うまでもない。
Although not shown in the figure, it goes without saying that a clock generation circuit is provided that generates various clocks that control the operations of the above-mentioned circuits.

第8図は第7図の各部の信号波形を示すもので、aは入
力端子21から入力されるビデオ信号の波形図、bは白
レベル包絡線追跡回路の出力である加算器36の出力波
形図、Cは黒レベル検出回路の出力であるラッチ42の
出力波形図、dは黒レベル追跡回路の出力であるROM
46の出力波形図、eは比較回路の出力であるラッチ5
0の出力波形図である。
FIG. 8 shows the signal waveforms of each part in FIG. 7, where a is a waveform diagram of the video signal input from the input terminal 21, and b is the output waveform of the adder 36, which is the output of the white level envelope tracking circuit. In the figure, C is an output waveform diagram of the latch 42 which is the output of the black level detection circuit, and d is the ROM which is the output of the black level tracking circuit.
46 output waveform diagram, e is latch 5 which is the output of the comparison circuit
0 is an output waveform diagram.

第9図は第7図のROM35釦よび44で発生される関
数の例を示すもので、点線で示すFtv(X)、点線−
実線で示すF 1H(x )はROM35で選択的に発
生される関数を表わし、実線で示すF2V(X)はRO
M44で発生する関数を表わしている。
FIG. 9 shows an example of the functions generated by the ROM buttons 35 and 44 in FIG.
F1H(x) shown by the solid line represents a function selectively generated in the ROM35, and F2V(X) shown by the solid line represents the function generated selectively in the ROM35.
It represents a function generated in M44.

また、第10図は第7図のROM46で発生する関数を
表わし、外部からの選択信号に応じて、実線または点線
で示す特性を選択できることを示している。
Further, FIG. 10 shows a function generated in the ROM 46 of FIG. 7, and shows that the characteristics shown by a solid line or a dotted line can be selected according to an external selection signal.

以下、第7図の回路の動作を第8図〜第10図を参照し
ながら詳細に説明する。
Hereinafter, the operation of the circuit shown in FIG. 7 will be explained in detail with reference to FIGS. 8 to 10.

入力端子21から第8図aに示すようなビデオ信号x(
nT)が入力されると、AD変換器31において、所定
サンプリング時間毎に入力ビデオ信号x(nT)が多値
、例えば8ビツトのディジタル信号に変換され、ROM
32に入力される。
A video signal x (as shown in FIG. 8a) is input from the input terminal 21.
When the input video signal x(nT) is inputted, the input video signal
32.

ROM32では、入力されるディジタル信号を対数関係
に変換して多値のディジタル信号としてラッチ33に記
憶する。
The ROM 32 converts the input digital signal into a logarithmic relationship and stores it in the latch 33 as a multivalued digital signal.

したがって、ラッチ33の出力x’(nT)は、次の式
で表わされる。
Therefore, the output x'(nT) of the latch 33 is expressed by the following equation.

ここで、AD変換器31の出力を対数関数に変換したの
は、入力ビデオ信号を後述するように、黒レベル検出回
路でシェーディング波形によって(1)式に従って正規
化する場合に、(1)式の割算をディジタル的に行なう
ことは非常に困難であることに鑑みてなされたものであ
る。
Here, the reason for converting the output of the AD converter 31 into a logarithmic function is that when the input video signal is normalized according to the equation (1) using the shading waveform in the black level detection circuit as described later, This was done in view of the fact that it is extremely difficult to perform division digitally.

同時に紙面の反射率のバラツキによる雑音の平均値を一
定にする効果がある。
At the same time, it has the effect of keeping the average value of noise caused by variations in the reflectance of the paper surface constant.

白レベル包絡線追跡回路には、ラッチ33の出力j、n
x(nT)が入力されるので、その出力は、ffny(
nT)で表わされ、減算器41に入力される。
The white level envelope tracking circuit includes outputs j and n of the latch 33.
Since x(nT) is input, its output is ffny(
nT) and is input to the subtracter 41.

したがって、ラッチ42の出力X’(nT)は、(5)
式に示すように、白レベル包絡線追跡回路の出力tn
y (rtT)と対数変換された入カビデ゛オ信号/
−nx(nT)との差に相当する値となり、(3)式に
訃けるAを1とすれば、次の(6)式のようになる。
Therefore, the output X'(nT) of the latch 42 is (5)
As shown in the equation, the output tn of the white level envelope tracking circuit
y (rtT) and logarithmically transformed input video signal/
-nx(nT), and if A, which replaces equation (3), is set to 1, the following equation (6) is obtained.

(6)式の関係をグラフで示すと第11図に示すように
なる。
The relationship expressed by equation (6) is shown in FIG. 11 in a graph.

したがって、本来なら、このラッチ42の出力X’(n
T)を第11図に示す正規化信号x(nT)に変換し斥
ければならないが、この出力XI’(nT)は第8図C
に示すように、黒レベル信号に相当し、本来の正規化信
号X (n T )の閾値レベルTは、黒レベル信号X
’(nT)での閾値レベルT′に対応していることから
、第7図の実施例では、信号X’(nT)をそのまま使
用し、閾値レベルT′により2値化している。
Therefore, originally, the output of this latch 42 should be X'(n
T) must be converted into the normalized signal x(nT) shown in FIG. 11, and this output XI'(nT) is shown in FIG.
As shown in , the threshold level T of the original normalized signal X (n T ), which corresponds to the black level signal, is equal to the black level signal
Since the signal X'(nT) corresponds to the threshold level T' at '(nT), in the embodiment shown in FIG. 7, the signal X'(nT) is used as it is and is binarized using the threshold level T'.

一方、減算器34には、前述したように、ラッチ33の
出カフnxnが入力されるとともに、後述するように、
包絡線出力tny(nT)を垂直走査期間内の1ビツト
だけ遅延した出力あるいは1垂直走査期間だけ遅延した
出力が入力され、減算器34の出力Xとしては、ラッチ
33の出力と遅延出力との差が出力される。
On the other hand, as described above, the output cuff nxn of the latch 33 is input to the subtracter 34, and as described later,
An output obtained by delaying the envelope output tny (nT) by one bit within the vertical scanning period or an output delayed by one vertical scanning period is input, and the output X of the subtracter 34 is a combination of the output of the latch 33 and the delayed output. The difference will be output.

例えば、包絡線出力tny(nT)を1垂直走査期間だ
け遅延した出力がMPX39で選ばれれば、減算器34
の出力Xは次の(7)式で表わされる。
For example, if the output obtained by delaying the envelope output tny (nT) by one vertical scanning period is selected by the MPX 39, the subtracter 34
The output X is expressed by the following equation (7).

ところで、白レベル包絡線を追跡する場合、追跡する方
向として、ラインセンサの同一走査期間内で前後するピ
ッI・間のデータを追跡する垂直走査線方向と、多垂直
走査に亘って対応するビット間のデータを追跡する水平
走査線方向とがあることに鑑みて、第7図の実施例では
、両方向に追跡できるように、切換え信号SWに応じて
、ROM35で発生する追跡関数をFIV(X)とFl
(X)に切換えると同時に、垂直走査期間内の1ビ
ツト遅延した出力を生ずるラッチ37と1垂直走査期間
遅延した出力を生ずるシフトレジスタ38をMPX39
で切換えるようになっている。
By the way, when tracking the white level envelope, the tracking direction is the vertical scanning line direction, which tracks data between adjacent pips within the same scanning period of the line sensor, and the corresponding bit direction over multiple vertical scans. In view of the fact that there is a horizontal scanning line direction in which data is traced in between, in the embodiment of FIG. 7, the tracking function generated in the ROM 35 is changed to FIV( ) and Fl
(X), the latch 37 that produces an output delayed by 1 bit within the vertical scanning period and the shift register 38 that produces the output delayed by 1 vertical scanning period are connected to the MPX 39.
It can be switched with .

まず、切換え動作につき詳細に説明する。First, the switching operation will be explained in detail.

ドキュメントリーダに使用する場合、前述したように、
ラインセンサは固定され、帳票が移動し、帳票がライン
センサの下を通過する時、読取りが行なわれる。
When used as a document reader, as mentioned above,
The line sensor is fixed and readings are taken as the form moves and passes under the line sensor.

したがって、帳票の先頭部分は空白であるので、この空
白期間に、大まかな白レベル包絡線をとらえるため、垂
直走査線方向に追跡を行なう。
Therefore, since the leading portion of the form is blank, tracking is performed in the vertical scanning line direction in order to capture a rough white level envelope during this blank period.

そこで、切換え信号SWにより、ROM35の垂直用関
数”tv(x)を選ぶとともに、ラッチ37の出力をM
PX39で選択する。
Therefore, by using the switching signal SW, the vertical function "tv(x)" of the ROM 35 is selected, and the output of the latch 37 is
Select with PX39.

このラッチ出力を用いて後述するように垂直方向の追跡
を行ない、その結果を順次シフトレジスタ38に蓄えて
行き、■垂直走査期間で、シフトレジスタ38に粗い白
レベル包路線が得られる。
This latch output is used to perform vertical tracking as will be described later, and the results are sequentially stored in the shift register 38, so that a rough white level envelope is obtained in the shift register 38 during the vertical scanning period.

その後、追跡方向を切換えて、ROM35の水平用関数
FIH(X)およびシフトレジスタ38の出力を選んで
水平走査線方向の追跡を行なう。
Thereafter, the tracking direction is switched, and the horizontal function FIH(X) of the ROM 35 and the output of the shift register 38 are selected to perform tracking in the horizontal scanning line direction.

なト、この場合、使用するシフトレジスタ3.8がイニ
シャライズ可能なものであれば、上述した切換えを行な
う必要はなく、帳票の空白部に到達した時点でシフトレ
ジスタ38のイニシャライズを行ない、水平走査線方向
の追跡を行なえば、その後数垂直走査期間で白レベル包
絡線が得られる。
In this case, if the shift register 3.8 used can be initialized, there is no need to perform the switching described above, and the shift register 38 is initialized when the blank part of the form is reached, and the horizontal scanning is performed. If line direction tracking is performed, a white level envelope can be obtained in several vertical scanning periods thereafter.

一方、ページリーグに使用する場合、帳票の右端にある
リファレンスマークを検出すると帳票の送りを止め、ラ
インセンサを文字列方向に移動させ読取りを行なうので
、リファレンスマークラ検出している間は垂直走査線方
向の追跡をする必要がある。
On the other hand, when used for page league, when the reference mark at the right edge of the form is detected, the feeding of the form is stopped and the line sensor is moved in the direction of the character string to perform reading. It is necessary to track the line direction.

なぜなら、後述するような水平追跡関数FIH(X)を
使用して追跡を行なう場合、現在の入力ビデオ信号と前
回のビデオ信号の差が大きくなると、前回のビデオ信号
を包絡線出力として保持することになるので、黒のリフ
ァレンスマークが帳票の右端にあると正しい白レベル包
絡線が得られないからである。
This is because when tracking is performed using the horizontal tracking function FIH(X) as described later, if the difference between the current input video signal and the previous video signal becomes large, the previous video signal may be held as the envelope output. Therefore, if the black reference mark is at the right end of the form, a correct white level envelope cannot be obtained.

したがって、この場合、リファレンスマーク検出時には
垂直走査線方向の追跡を行ない、文字読取り時すなわち
ラインセンサが読取り方向へ定速で移動する時は水平走
査線方向の追跡を行なう。
Therefore, in this case, tracking is performed in the vertical scanning line direction when detecting the reference mark, and tracking is performed in the horizontal scanning line direction when reading characters, that is, when the line sensor moves at a constant speed in the reading direction.

次に、ROM35で得られる白レベル包絡線追跡用関数
について詳細に説明する。
Next, the white level envelope tracking function obtained in the ROM 35 will be explained in detail.

ROM35では、垂直走査線方向によび水平走査線方向
に追従するために、それぞれ、第9図のFl y (X
) l ”IH(X)で示す特性を有する関数を発生
させるようになっている。
In the ROM 35, Fl y (X
) l "IH(X).

すなわち、垂直追跡用関数Fty(x)は次の3領域で
それぞれ定義される。
That is, the vertical tracking function Fty(x) is defined in the following three areas.

入力Xが正でX3より大きい領域では、関数F、■(X
)は で定義され、x 2 < x (x 3の領域では、関
数Ft V (X )は、次の(9)式で定義される。
In the region where the input X is positive and larger than X3, the function F, ■(X
) is defined by x 2 < x (in the region of x 3 , the function Ft V (X ) is defined by the following equation (9).

但し、0 (a (]である。However, 0 (a ()).

また、x (x 2の領域では、Flv(x)=Cで定
義される。
Moreover, in the area of x (x 2), it is defined as Flv(x)=C.

また、水平追跡用関数FIH(X)は、−X。Further, the horizontal tracking function FIH(X) is −X.

(X、〈X<x2)までの領域では、垂直追跡用関数F
t v (x )と同じであるが、x(x 1の領域で
はFly(x )は零と定義される。
In the region up to (X, <X<x2), the vertical tracking function F
Same as t v (x), but in the domain of x(x 1, Fly(x) is defined as zero.

したがって、減算器34の出力に応じて、すなわち、現
ビデオ信号と前のタイミングで得た白レベル包絡線出力
との差Xに対応して、上述した関数出力を得、これを加
算器36で前タイミングの白レベル包絡線出力に加算し
、第8図すに示す新しい白レベル包M串力を決定する。
Therefore, in accordance with the output of the subtracter 34, that is, in accordance with the difference X between the current video signal and the white level envelope output obtained at the previous timing, the above-mentioned function output is obtained, and this is added to the adder 36. It is added to the white level envelope output at the previous timing to determine a new white level envelope M skew force as shown in FIG.

したがって、x ) x 3の領域では、現在保持して
いる白レベル包絡線に対して比較的大きな白レベルのビ
デオ信号が入力された場合に相当し、その領域では、そ
の差分に等しい値を加算することにより、直ちに現在の
入力ビデオ信号の入力レベルに近い値に包絡線出力が修
正される。
Therefore, in the area of x) This immediately modifies the envelope output to a value close to the input level of the current input video signal.

次の零に近い領域、x2(x<x3では、2つの機能を
実現する。
In the next region close to zero, x2 (x<x3, two functions are realized.

その1つはビデオ信号の白レベルの持つ雑音を吸収する
機能であり、そのために、関数の勾配を小さく選んでい
る。
One of them is the function of absorbing the noise of the white level of the video signal, and for this purpose, the slope of the function is selected to be small.

なぜなら、関数の勾配が1に近いほど追跡は速くなり、
勾配が零に近いほど追跡は遅くなるので、白レベルの小
さた変化として現われる雑音は吸収されることになる。
This is because the closer the gradient of the function is to 1, the faster the tracking will be.
The closer the slope is to zero, the slower the tracking will be, so noise that appears as small changes in white level will be absorbed.

ところで、一般に、雑音はビデオ信号の白レベルが高く
なればなるほど大きくなるが、前述したように入力ビデ
オ信号は対数に変換されているので、変換された出力で
は、雑音成分の大きさは白レベルの高さに関係なくほぼ
等しくなる。
By the way, in general, the higher the white level of the video signal, the greater the noise, but as mentioned above, the input video signal is logarithmically converted, so in the converted output, the magnitude of the noise component is equal to the white level. is almost the same regardless of the height.

したがって、x 2 (x (x 3の領域はビデオ信
号の白レベルの大きさに関係なく一定の長さに設定でき
る。
Therefore, the area x 2 (x (x 3 ) can be set to a constant length regardless of the size of the white level of the video signal.

他の1つの機能は、定常状態に釦いて、白レベル包絡線
出力信号に、一定のバイアスαを持たせる機能で、その
ために、関数をX方向にずらしてXが−αになった時、
関数出力は零になるようにしである。
Another function is to press the button in the steady state to give a constant bias α to the white level envelope output signal, and for that purpose, shift the function in the X direction and when X becomes -α,
The function output is set to zero.

この機能を持たせた理由は、次に述べる黒レベル検出回
路を減算器41で構成しているので、その出力、すなわ
ち、前タイミングの白レベル包絡線出力と現入力ビデオ
信号の差分が雑音により負になるのを防ぐことである。
The reason for providing this function is that the black level detection circuit described below is composed of a subtracter 41, so that the difference between its output, that is, the white level envelope output at the previous timing and the current input video signal, is affected by noise. The goal is to prevent it from becoming negative.

X 2 > Xの領域では、関数出力は定数−Cとなり
、白レベル包絡線出力を負方向に追従させるが、Xが、
X、以下になると、追従用関数Fxv(x)>よび”x
i−i(x)には差が出てくる。
In the region where X 2 >
When X is less than or equal to, the tracking function Fxv(x)> and “x
There will be a difference in i-i(x).

すなわち、関数FIV(X)ではX<X、でも一定値−
Cであるが、関数F I H(x )は零となる。
In other words, in the function FIV(X), even if X<X, the constant value -
C, but the function F I H (x) is zero.

なぜなら、一般に、垂直走査線方向のシェーディングの
変化は比較的大きいので、差分が負方向に大きくなった
時でも追跡させないと正確に追従できなくなることがあ
るが、水平走査線方向のシェーディングの変化は比較的
小さいので、それほど問題がない。
This is because, in general, changes in shading in the vertical scanning line direction are relatively large, so even when the difference becomes large in the negative direction, accurate tracking may not be possible unless tracking is performed. However, changes in shading in the horizontal scanning line direction It's relatively small, so it's not much of a problem.

そして、このように差分が大きくなった時、入力ビデオ
信号に包絡線出力を追従させないようにすることにより
、黒レベルのビデオ信号が長く続いても、シェーディン
グ波形が黒レベルに追従し、出力を誤るようなことはな
い。
When the difference becomes large in this way, by preventing the envelope output from following the input video signal, even if the black level video signal continues for a long time, the shading waveform will follow the black level and the output will change. You can't go wrong.

次に、減算器41では、前述したように、白レベル包絡
線出力から入力ビデオ信号を減算することにより、第8
図Cに示すような黒レベル信号が得られる。
Next, the subtracter 41 subtracts the input video signal from the white level envelope output, as described above.
A black level signal as shown in Figure C is obtained.

この時、黒レベル信号はバイアスαを持っているが、こ
れは、入力ビデオ信号の持つ雑音などにより、黒レベル
信号の値が負になるのを防止するためである。
At this time, the black level signal has a bias α to prevent the value of the black level signal from becoming negative due to noise in the input video signal.

このようにして、シェーディングを補正した黒レベル信
号が得られるが、この信号を一定値でスライスして2値
化すると、第8図CのDに示すように黒レベルが近接し
ている場合にその分離ができない。
In this way, a black level signal with corrected shading is obtained, but when this signal is sliced at a constant value and binarized, as shown in D in Figure 8C, when the black levels are close to each other, That separation is not possible.

そこで、黒レベル追跡回路で、黒レベルがある一定値β
以上になった時に、閾値レベルを入力ビデオ信号の黒レ
ベルに応じて変動させることによって、近接パターンの
分離を可能にしている。
Therefore, in the black level tracking circuit, the black level is set to a certain constant value β.
When this occurs, the threshold level is varied in accordance with the black level of the input video signal, thereby making it possible to separate adjacent patterns.

そのため、黒レベル追跡回路の構成は、白レベル包絡線
追跡回路の構成とほぼ同じで、シフトレジスタ38、M
PX39、切換え信号SWがないだけである。
Therefore, the configuration of the black level tracking circuit is almost the same as the configuration of the white level envelope tracking circuit, and the shift register 38, M
PX39 simply does not have a switching signal SW.

そして、ROM44では、第8図の実線で示す追跡用関
数F2V(X)を発生する。
Then, the ROM 44 generates a tracking function F2V(X) shown by the solid line in FIG.

すなわち、入力黒レベル信号Xが上昇する場合には、出
力量eF2v (、x ) = xとなり、出力は入力
信号Xと全く同じに上昇するが、入力信号Xが下降する
場合には、出力関数F2v(x)−ax (0(a(1
)となり、緩やかに出力は下降する。
That is, when the input black level signal X increases, the output amount eF2v (, F2v(x)−ax(0(a(1
), and the output gradually decreases.

これは、いわゆるディジタルフィルタの機能である。This is a so-called digital filter function.

この関数出力は、加算器45で垂直走査線方向の1ビツ
ト前の黒レベル信号に加算される。
This function output is added to the previous black level signal by one bit in the vertical scanning line direction by an adder 45.

その加算出力はROM46に入力されるとともに、ラッ
チ47に入力される。
The addition output is input to the ROM 46 and also to the latch 47.

ランチ47の出力は前述したように垂直走査線方向の1
ビツト前の黒レベル信号に相当1−1その出力はそれぞ
れ加算器45お−よび減算器43に入力される。
As mentioned above, the output of the launch 47 is 1 in the vertical scanning line direction.
The outputs of 1-1 corresponding to the previous black level signal are input to an adder 45 and a subtracter 43, respectively.

減算器43では、ラッチ42からの現在の黒レベル信号
とラッチ47からの前ビットの黒レベル信号との差が求
められ、その差出力がROM44の入力となっている。
The subtracter 43 calculates the difference between the current black level signal from the latch 42 and the previous bit black level signal from the latch 47, and the difference output is input to the ROM 44.

ROM46では、加算器45からの信号を入力Xとし、
第10図の実線に示すような特性を持った関数ps(x
)を発生させる。
In the ROM 46, the signal from the adder 45 is input X,
A function ps(x
) occurs.

この際、スライスレベルSLを変更することにより、点
線で示すような関数を発生させることができる。
At this time, by changing the slice level SL, a function as shown by the dotted line can be generated.

したがって、ROM46の出力は第8図dに示すような
波形とたり、それは閾値レベルとして比較器49に入力
される。
Therefore, the output of the ROM 46 has a waveform as shown in FIG. 8d, which is input to the comparator 49 as a threshold level.

比較器49にはランチ48から現在の黒レベル信号が入
力されているので、それらの入力が比較され、ラッチ5
0の出力端子29から第8図eに示すような2値化値号
が得られる。
Since the current black level signal is inputted to the comparator 49 from the latch 48, these inputs are compared and the latch 5
A binary code as shown in FIG. 8e is obtained from the 0 output terminal 29.

上述した第7図の例では、すべての回路をディジタル回
路で実現しているので、非常に安定な動作が行なえるば
かりか、高集積化、低価格化が計れる。
In the example shown in FIG. 7 described above, all the circuits are realized by digital circuits, so that not only very stable operation can be performed, but also high integration and low cost can be achieved.

な釦、第4図の回路をアナログ回路でも実現することも
できるが、関数発生器などの構成が複雑になるので、上
述したようにディジタル回路で実現するのがより好まし
い。
Although the circuit shown in FIG. 4 can be implemented using an analog circuit, the configuration of the function generator and the like becomes complicated, so it is more preferable to implement the circuit using a digital circuit as described above.

また、第4図の構成では、X(t )の代りにX’(t
)を用いたが、2値の代りに多値のビデオ信号(シェー
ディングの補正された信号)を得たい場合には の関数をROMで構成し、黒レベル検出回路26の出力
に接続すれば良い。
In addition, in the configuration shown in FIG. 4, instead of X(t), X'(t
) is used, but if you want to obtain a multivalued video signal (shading corrected signal) instead of a binary one, you can configure the function in ROM and connect it to the output of the black level detection circuit 26. .

さらに、第4図にかける黒レベル追跡回路27を省略し
、比較回路28に一定の閾値レベルを入力するようにし
てもよい。
Furthermore, the black level tracking circuit 27 shown in FIG. 4 may be omitted and a constant threshold level may be input to the comparison circuit 28.

さらに、上述した実施例では、白黒の濃淡パターン信号
を量子化する場合について説明したが、それに限定され
るものではなく、相異なる2つの信号レベルの間を変化
し、少くとも一方の信号レベルがシェーディングを生ず
るようなパターン情報を量子化する場合に適用できるこ
とは言うまでもない。
Further, in the above-described embodiment, a case was explained in which a black and white gray pattern signal is quantized, but the invention is not limited to this. It goes without saying that this method can be applied to quantizing pattern information that causes shading.

さらに、本発明はOCRに限定されるものではなく、一
般のパターン認識、ファクシミリ等にも同様に適用する
ことができる。
Further, the present invention is not limited to OCR, but can be similarly applied to general pattern recognition, facsimile, etc.

以上述べたように、本発明によれば、現在のビデオ信号
と前回のビデオ信号の包絡線出力との差または比が所定
値以下になった時、前回のビデオ信号の包絡線出力を保
持するように構成することにより、極めて正確なシェー
ディング波形を得ることができ、また所望の関数を発生
できる関数発生器を使用することにより、入力ビデオ信
号に含まれる雑音による影響を少なくできる。
As described above, according to the present invention, when the difference or ratio between the current video signal and the envelope output of the previous video signal becomes less than or equal to a predetermined value, the envelope output of the previous video signal is held. With this configuration, an extremely accurate shading waveform can be obtained, and by using a function generator that can generate a desired function, the influence of noise contained in the input video signal can be reduced.

また、ディジタル回路で容易に実現できる構成であるの
で、高集積化、低価格化ができるという特徴がある。
Furthermore, since the structure can be easily realized using a digital circuit, it has the characteristics of high integration and low cost.

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

第1図はOCRの概略構成図、第2図はOCRの光電変
換部の説明図、第3図は従来のシェーディング除去回路
を含む量子化回路の構成図、第4図は本発明によるシェ
ーディング除去回路を含む量子化回路の一実施例の構成
図、第5図および第6図は第4図の関数発生器の特性図
、第7図は第4図の具体的構成の一例の構成図、第8図
は第7図の各部の波形図、第9回転よび第10図は第7
図のROMの入−出力特性図、第1 の動作を説明する特性図である。 21・・・・・・ビデオ信号入力端子、21図は第7図 2・・・・・・減算回 路、23・・・・・・関数発生器、24・・・・・・加
算回路、25・・・・・・遅延回路、26・・・・・・
黒Vベル検出回路、28・・・・・・比較回路。
Figure 1 is a schematic configuration diagram of OCR, Figure 2 is an explanatory diagram of the photoelectric conversion section of OCR, Figure 3 is a configuration diagram of a quantization circuit including a conventional shading removal circuit, and Figure 4 is shading removal according to the present invention. 5 and 6 are characteristic diagrams of the function generator of FIG. 4, and FIG. 7 is a configuration diagram of an example of the specific configuration of FIG. 4, Figure 8 is a waveform diagram of each part of Figure 7, the 9th rotation and Figure 10 are the 7th rotation.
FIG. 2 is an input-output characteristic diagram of the ROM shown in the figure, and a characteristic diagram illustrating the first operation. 21...Video signal input terminal, 21 is shown in FIG. 72...Subtraction circuit, 23...Function generator, 24...Addition circuit, 25 ...Delay circuit, 26...
Black V bell detection circuit, 28... Comparison circuit.

Claims (1)

【特許請求の範囲】 1 相異なる2つの信号レベルの間を変化し、少くとも
一方の信号レベルにシェーディングが生ずるビデオ信号
を入力する入力手段と、該入力手段からの現走査のビデ
オ信号と前走査のビデオ信号の一方の信号レベルの包絡
線出力との差または比信号を求める検出手段と、該検出
手段からの信号が一定値以上である時にはその信号に対
応する値を出力し、前記検出手段からの信号が一定値以
下である時には所定値を出力する関数発生手段と、該関
数発生手段の出力と前記前走査のビデオ信号の包絡線出
力とを加算または掛算し、その結果を現走査のビデオ信
号の一方の信号レベルの包絡線出力とする演算手段と、
該演算手段の出力を遅延して前記前走査のビデオ信号の
包絡線出力を得る遅延手段と、前記演算手段からの包絡
線出力と前記入力手段からの現走査のビデオ信号に応じ
て、シェーディング除去されたビデオ信号を得る比較手
段とからなることを特徴とするシェーディング除去回路
。 2 前記関数発生手段で発生される関数が、現走査のビ
デオ信号と前走査のビデオ信号の一方の信号レベルの包
絡線とが近似している範囲内で緩やかな勾配を有するこ
とを特徴とする特許請求の範囲第1項記載のシェーディ
ング除去回路。 3 前記入力手段がビデオ信号を対数に変換する変換手
段からなることを特徴とする特許請求の範囲第1項記載
のシェーディング除去回路。 4 前記入力手段がビデオ信号を多値のディジタル信号
に変換するアナログ−ディジタル変換手段と、該変換手
段からの信号を対数に変換する対数変換手段とからなる
ことを特徴とする特許請求の範囲第1項記載のシェーデ
ィング除去回路。 5 前記関数発生手段がり一ドーオンリ・メモリからな
ることを特徴とする特許請求の範囲第4項記載のシェー
ディング除去回路。 6 前記対数変換手段がリード・オンリ・メモリからな
ることを特徴とする特許請求の範囲第4項記載のシェー
ディング除去回路。
[Claims] 1. Input means for inputting a video signal that changes between two different signal levels and shading occurs in at least one of the signal levels, and a current scanning video signal and a previous scanning video signal from the input means. detecting means for obtaining a difference or ratio signal between the signal level of one of the scanning video signals and the envelope output; and when the signal from the detecting means is above a certain value, outputting a value corresponding to the signal; function generating means that outputs a predetermined value when the signal from the means is below a certain value; adding or multiplying the output of the function generating means and the envelope output of the video signal of the previous scan, and applying the result to the current scan; calculation means for outputting an envelope of the signal level of one of the video signals;
delay means for delaying the output of the arithmetic means to obtain an envelope output of the video signal of the previous scan; and shading removal according to the envelope output from the arithmetic means and the video signal of the current scan from the input means. and a comparison means for obtaining a video signal obtained by the shading removal circuit. 2. The function generated by the function generating means has a gentle slope within a range where the envelope of the signal level of one of the video signals of the current scan and the video signal of the previous scan is similar. A shading removal circuit according to claim 1. 3. The shading removal circuit according to claim 1, wherein said input means comprises conversion means for converting a video signal into a logarithm. 4. Claim 4, characterized in that the input means comprises an analog-to-digital conversion means for converting a video signal into a multivalued digital signal, and a logarithmic conversion means for converting the signal from the conversion means into a logarithm. The shading removal circuit according to item 1. 5. The shading removal circuit according to claim 4, wherein said function generating means comprises a do-only memory. 6. The shading removal circuit according to claim 4, wherein said logarithmic conversion means comprises a read-only memory.
JP53040323A 1978-04-07 1978-04-07 Shading removal circuit Expired JPS5841545B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP53040323A JPS5841545B2 (en) 1978-04-07 1978-04-07 Shading removal circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP53040323A JPS5841545B2 (en) 1978-04-07 1978-04-07 Shading removal circuit

Publications (2)

Publication Number Publication Date
JPS54133035A JPS54133035A (en) 1979-10-16
JPS5841545B2 true JPS5841545B2 (en) 1983-09-13

Family

ID=12577390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP53040323A Expired JPS5841545B2 (en) 1978-04-07 1978-04-07 Shading removal circuit

Country Status (1)

Country Link
JP (1) JPS5841545B2 (en)

Also Published As

Publication number Publication date
JPS54133035A (en) 1979-10-16

Similar Documents

Publication Publication Date Title
JP3180827B2 (en) Method and apparatus for dynamically adjusting background level
US7359099B2 (en) Image reading device and image forming apparatus
JPS6339142B2 (en)
JPS5841545B2 (en) Shading removal circuit
JPS5925267B2 (en) optical character reader
JPH06245068A (en) White level correction circuit
JPS6224989B2 (en)
JPS6146875B2 (en)
GB2261340A (en) Image data processing method with mixture of simple binarization and half tone imaging
US4812667A (en) Past record correcting/reading apparatus
JPH088745A (en) Signal processing circuit
KR930011612A (en) Image adjuster
JP3555430B2 (en) Image distortion correction apparatus and image processing apparatus and method using the same
JPS5914792B2 (en) Analog signal binary signal conversion circuit
JPH05122519A (en) Peak hold circuit
JPS63186387A (en) Binarization circuit
JP2994651B2 (en) Contour image forming device
JP3138076B2 (en) Image binarization device
JPS631162A (en) Circuit for converting analog picture signal into binary signal
JPS6338150B2 (en)
JPS62230161A (en) Facsimile read image signal processor
JPS60163574A (en) Binary coding device of picture signal
JPH04365265A (en) Binarizing circuit
JPH0129347B2 (en)
JPH0865504A (en) Picture reader