JPS5843663A - Binary-coding circuit - Google Patents
Binary-coding circuitInfo
- Publication number
- JPS5843663A JPS5843663A JP56141061A JP14106181A JPS5843663A JP S5843663 A JPS5843663 A JP S5843663A JP 56141061 A JP56141061 A JP 56141061A JP 14106181 A JP14106181 A JP 14106181A JP S5843663 A JPS5843663 A JP S5843663A
- Authority
- JP
- Japan
- Prior art keywords
- level
- circuit
- binary
- point
- video
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/40—Picture signal circuits
- H04N1/403—Discrimination between the two tones in the picture signal of a two-tone original
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Manipulation Of Pulses (AREA)
Abstract
Description
【発明の詳細な説明】 本発明t!2値化回路KW4するものである。[Detailed description of the invention] This invention! This is a binarization circuit KW4.
光学的文字読取装置や7アクシ(り量率勢においては、
搬送された帳票イメージをビデオ信号に書換する為にC
OD等の自己走査型ラインセンナが広く用いられている
。In terms of optical character reading devices and 7 axis
C to rewrite the conveyed form image into a video signal.
Self-scanning line sensors such as OD are widely used.
従来は自己走査型ラインセンナから得られるビデオ信号
を2値化する場合、予めスライスレベルを設定しておき
1、このスライスレベルとげデオ信号のレベルを比較し
ていた。しかしこの様な2値化方式KFi次に述べる様
な欠点があった。Conventionally, when a video signal obtained from a self-scanning line sensor was to be binarized, a slice level was set in advance 1, and the level of the slice level and video signal was compared. However, the binarization method KFi has the following drawbacks.
第1図は従来方式による2値化の概念を示すものであり
、上から順次「9」という文字に対する走査線、上記走
査によって得られるビデオ信号及び固迦的なスライスレ
ベル、上記ビデオ信号を所定のスライスレベルで2値化
した2値化信号を示す。FIG. 1 shows the concept of binarization using the conventional method. Starting from the top, the scanning line for the character "9", the video signal obtained by the scanning, the fixed slice level, and the video signal at a predetermined level are shown. This shows a binarized signal that has been binarized at a slice level of .
図示の離く、自己走査itラインセンナに1ル一票を走
査した場合、走査線上の黒の谷間の白はビデオ信号のレ
ベルが所定のスライスレベルを越える傾向にある。従っ
て、この様なビデオ信号vr2値化した場合、黒の谷間
の白がつぶれたp1文字線が異常に太くなることがあり
、解像度が低下する。When scanning the illustrated remote, self-scanning IT line sensor one line at a time, the white between the black valleys on the scan line tends to cause the level of the video signal to exceed a predetermined slice level. Therefore, when such a video signal vr is binarized, the p1 character line where the white in the black valley is crushed may become abnormally thick, resulting in a decrease in resolution.
本発f!Aはこの様な欠点に鑑みなされたものであり、
2値化しようとする点の近傍のビデオ信号のレベルによ
りスライスレベルを可変とし、もって2値化回路の解像
度の向上を図ることを目的とする。Hon f! A was made in view of these shortcomings,
The purpose of this invention is to make the slice level variable depending on the level of the video signal near the point to be binarized, thereby improving the resolution of the binarization circuit.
以下図面を参照し、本発明の一実施例を詳細に説明する
。An embodiment of the present invention will be described in detail below with reference to the drawings.
第2図は本発明の一実施例を示す回路高であり、図中1
・2・3ijサンプルホ晴ド回路、4#:を傾き検出回
路、5Fi整流回路、6は白レベル検出回路、7Fiビ
デオレベル検出回路、8tlスライスレベル発生回路−
9Fi比較回路を示す。Figure 2 shows the circuit height of an embodiment of the present invention.
・2・3ij sample hoist circuit, 4#: slope detection circuit, 5Fi rectifier circuit, 6: white level detection circuit, 7Fi video level detection circuit, 8TL slice level generation circuit -
9Fi comparison circuit is shown.
R41・R42tj傾き検出回路4の正入力端子抵抗、
x4sld傾き検出1路4の負入力端子抵抗、R44゜
、エエ五−社、□オ。R41・R42tj Positive input terminal resistance of slope detection circuit 4,
x4sld slope detection 1 path 4 negative input terminal resistance, R44°, AE5-sha, □O.
R51・R52・R5Bti整理回路5の正入力端子抵
抗、R54・R55Fi兼流回路5の負入端子抵抗、R
56は整流回路5の帰還抵抗、DI−DIけ整流用ダイ
オ−Pを示す。R51/R52/R5Bti Positive input terminal resistance of rearranging circuit 5, R54/R55Fi negative input terminal resistance of dual-current circuit 5, R
Reference numeral 56 indicates a feedback resistor of the rectifier circuit 5, and a diode P for DI-DI rectification.
R71・R7211ビデオレベル検出回路7の正入力端
子抵抗、R73・R74・R75flビデオレベル検出
回路7の負入力端子抵抗、R76はビデオレベル検出回
路7の帰還抵抗を示す。R71 and R7211 are positive input terminal resistances of the video level detection circuit 7, R73 and R74 and R75fl are negative input terminal resistances of the video level detection circuit 7, and R76 is a feedback resistance of the video level detection circuit 7.
R81・R82・R851dスライスレベル発生回路8
の負入力端子抵抗、R84はスライスレベル発生回路8
の帰還抵抗、lFi負電圧を示す。R81/R82/R851d slice level generation circuit 8
The negative input terminal resistance, R84, is the slice level generation circuit 8.
The feedback resistance of , lFi indicates a negative voltage.
INt’i人カビデオ信号fcK1・CKm−CKmは
各々サンプルホールド回路1・2φ3のクロツタである
。The INt'i video signals fcK1 and CKm-CKm are clocked by sample and hold circuits 1 and 2φ3, respectively.
このりoyりCKm ・CKs・CKsllCd第3図
の如き位相のずれがある。There is a phase shift as shown in FIG. 3.
すンゾルホールド回路1tjタロツタCKsKよ)入カ
ピデオ信号INのレベルを保持するものであり、すンプ
ル:、?−ルP回路2tjクロνりChによりナンプル
ホニルP回路1の出力を保持するもので#I夛、!ンプ
ルホールド回路3rjりmyりCKsによ〕サンプルホ
ールド回路2の出力を保持するものである。The hold circuit holds the level of the incoming video signal IN, and is simple:,? The output of the number P circuit 1 is held by the channel P circuit 2tj and the channel P circuit 1. The output of the sample and hold circuit 2 is held by the sample and hold circuit 3rj and CKs.
サンプルホールド回路2の出力は比較回路9に印加され
ているので、サンプルホールrp路2は2値化すべき点
のビデオ信号のレベルを保持していることになる。Since the output of the sample hold circuit 2 is applied to the comparator circuit 9, the sample hole RP path 2 holds the level of the video signal at the point to be binarized.
叉、サンプルホールド回路1は2値化すべき点の後の点
のビデオ信号のレベルを、サンプルホールド回路3け2
値化すべき点の前の点のビデオ信号のレベルを保持すべ
きことになる。Further, the sample and hold circuit 1 detects the level of the video signal at the point after the point to be binarized, and the sample and hold circuit 3 and 2
The level of the video signal at the point before the point to be converted into a value should be maintained.
傾き検出回路4tjナンプルホールド回路1の出力とす
ンプルホールド回路3の出力とを比較し、2値化すべき
点の近傍における傾斜値を求める一路である。The slope detection circuit 4tj compares the output of the sample hold circuit 1 with the output of the sample hold circuit 3 to find the slope value near the point to be binarized.
整流回路5Fi傾き検出回路4の出力を整流し補正傾斜
値を求める回路である。Rectifier circuit 5Fi is a circuit that rectifies the output of the slope detection circuit 4 to obtain a corrected slope value.
白レベル検出回路6ti白レベルの最高レベルを長時間
(具体的に#11行分でも一枚分でもよ・−)保持する
(口)路である。The white level detection circuit 6ti is a circuit that maintains the highest white level for a long time (specifically, for row #11 or for one sheet).
ビデオレベル検出略路7tj各すンプルホー身r回路1
・2・3の出力を加算しこれを白レベル検出回路6の出
力と比較し、2値化すべき点の近傍のビデオレベルを求
める回路である。Video level detection circuit 7tj each sample r circuit 1
- This is a circuit that adds the outputs of 2 and 3 and compares this with the output of the white level detection circuit 6 to find the video level near the point to be binarized.
スライスレベル発生回路8Fi負入力端子電圧と正入力
端子電圧によ)スライスレベルを決定するものであり、
貴入力端子電圧は整流回路5の出力である補正傾斜値と
ビデオレベル検出回路7の出力であるビデオレベルによ
って蛮動する。The slice level generation circuit 8Fi determines the slice level (by the negative input terminal voltage and positive input terminal voltage),
The input terminal voltage fluctuates depending on the corrected slope value output from the rectifier circuit 5 and the video level output from the video level detection circuit 7.
比較回路9はすンゾルホールP回路セの出方をスライス
レベルと比較して、2値化する回路である6、′
次に作用を説明する。The comparison circuit 9 is a circuit that compares the output of the Sunsol Hall P circuit with the slice level and binarizes it.6,' Next, the operation will be explained.
先ず、第4図はりayりCK1*CKse’CKsと各
サンプルホールド回路1・2−5のタイずンダを示す図
である。First, FIG. 4 is a diagram showing CK1*CKse'CKs and the timer of each sample-and-hold circuit 1, 2-5.
すンプルホニルド回路1に印加された入カビデオ信号X
MffiクロックCIC,によりサンプルホールド回路
1にホールドされる。Input video signal X applied to sample pulonild circuit 1
It is held in the sample hold circuit 1 by the Mffi clock CIC.
叉、サンプルホール「回路1の出力はクロックCKsに
よりすンプルホールド回路2にホールtされ、サンプル
ホールド回路2の出力はクロ)夛 □CC−によりサン
プルホールド回路5にホールドされる。The output of the sample hold circuit 1 is held in the sample hold circuit 2 by the clock CKs, and the output of the sample hold circuit 2 is held in the sample hold circuit 5 by the clock CKs.
従って各サンプルホールド回路1・2・3からは、第4
図に示される如く、位相のみ異なる同一の波形が出力さ
れる。Therefore, from each sample hold circuit 1, 2, and 3, the fourth
As shown in the figure, the same waveforms differing only in phase are output.
次に、第5図にクロック(Kl−CKI−CKmと傾斜
値と補正傾斜値とのタイミングを示す図である。Next, FIG. 5 is a diagram showing the timing of the clock (Kl-CKI-CKm, the slope value, and the corrected slope value).
ケンプルホールド1路1の出力が正入力端子抵抗Rag
を介して傾き検出回路4の正入力端子へ、サンプルホー
ルド回路5の出力が負入力端子抵抗Ramを介して軸き
検出回路4の負入力端子へ供給されると、傾き検出回路
4から第5図の如き傾斜値が出力される。The output of Kemple hold 1 path 1 is the positive input terminal resistance Rag
When the output of the sample hold circuit 5 is supplied to the positive input terminal of the tilt detection circuit 4 via the negative input terminal resistor Ram, The slope value as shown in the figure is output.
尚、サンプルホールド回路6の出力Fi21+11化す
べき点の前の点を、サンプルホールド回路1の出力Fi
2m化すべき点の後の点を示しており、この実施例では
傾き検出回路4−白から黒への髪化を正電圧で黒から白
への倹化を負電圧で表わすlaKなされている。Note that the point before the point to be converted to the output Fi21+11 of the sample and hold circuit 6 is converted to the output Fi of the sample and hold circuit 1.
The point after the point to be converted to 2m is shown, and in this embodiment, the slope detection circuit 4 is laK, in which the change from white to black is represented by a positive voltage, and the reduction from black to white is represented by a negative voltage.
傾斜値が正電圧の時は整流回路5の負入力端子電圧は安
定し、正入力端子電圧は傾斜値の変化に従って変動する
。When the slope value is a positive voltage, the negative input terminal voltage of the rectifier circuit 5 is stable, and the positive input terminal voltage fluctuates in accordance with changes in the slope value.
一方、傾斜値が負電圧の時Fi整流回路5の正入力端子
電圧は安定し、負入力端子電圧は傾斜値の変化に従って
変動する。On the other hand, when the slope value is a negative voltage, the positive input terminal voltage of the Fi rectifier circuit 5 is stable, and the negative input terminal voltage varies according to the change in the slope value.
整流回路5ij両入力端子電圧の差を求めて補正傾斜値
としているので、補正傾斜値は第5図の卯〈傾斜値を整
流したものとなる。Since the difference between the voltages at both input terminals of the rectifier circuit 5ij is determined as the corrected slope value, the corrected slope value is the rectified slope value shown in FIG.
次に第6図社、クロックCKr・CK3・CK。Next is Figure 6, clocks CKr, CK3, and CK.
とビデオレベルと白レベルの最高レベル(白レベル検出
回路6の出力)とスライスレベルのタイミングを示して
いる。, the video level, the highest level of the white level (output of the white level detection circuit 6), and the timing of the slice level.
先ず、白レベル検出回路6Fiサンプルホールr回路1
の出力中白レベルの最高レベルをホールrしてお9、白
レベル検出回路6の出力は正入力端子Rマエを介してビ
デオレベル検出回路7の正入力端子に供給される。′
一方、各テンプルホールド回路1・2・5の出力は各々
負入力端子抵抗Ryse Rym・R?Iを介してビデ
オレベル検出回路7の正入力端子に供給される。First, white level detection circuit 6Fi sample hole r circuit 1
The output of the white level detection circuit 6 is supplied to the positive input terminal of the video level detection circuit 7 via the positive input terminal R. ' On the other hand, the outputs of the temple hold circuits 1, 2, and 5 each have a negative input terminal resistance Ryse Rym・R? It is supplied to the positive input terminal of the video level detection circuit 7 via I.
ビデオレベル検出回路7は両入方端子電圧の差をビデオ
レベルとするのであるから、ビデオレベル検出回路7か
らは第6図の如きビデオレベルが出力され、スライスレ
ベル発生回路8の負入方W子に供給される。Since the video level detection circuit 7 uses the difference between the voltages at both input terminals as the video level, the video level as shown in FIG. 6 is output from the video level detection circuit 7, and the negative input terminal W provided to the child.
スライスレベル発生回路8の負入方癲子にtま、他に負
入力端子抵抗R81を介し、て補正傾斜値が負入力端子
抵抗R83を介して負電圧。が供給されており、スライ
スレベル発生回路8の正入力端子はアースされている。In addition to the negative input terminal of the slice level generation circuit 8, a correction slope value is applied to a negative voltage via a negative input terminal resistor R81 and a negative input terminal resistor R83. is supplied, and the positive input terminal of the slice level generating circuit 8 is grounded.
スライスレベル発生回路Elf両入力端子電圧の差をス
ライスレベルとして出力する回路であるので、スライス
レベル発生回路8からFlll、 67+の如きスライ
スレベルが出力される。Since the slice level generating circuit Elf is a circuit that outputs the difference between the voltages of both input terminals as a slice level, the slice level generating circuit 8 outputs slice levels such as Fllll and 67+.
このスライスレベルは比較回路9の負入力端子に印加さ
れ、比較回路9の正入力端子にはサンプルホールド回路
2の出力が印加される。This slice level is applied to the negative input terminal of the comparison circuit 9, and the output of the sample and hold circuit 2 is applied to the positive input terminal of the comparison circuit 9.
このスライスレベルとサンプルホールド回路2の出力と
を一一基準レベルで重ねたのが第7図である。FIG. 7 shows this slice level and the output of the sample-and-hold circuit 2 superimposed at one reference level.
比較回路9#i両入力端子電圧を比較し、サンプルホー
ルド回路9の出力電圧の方が島い時に「1」を示す2値
信号を出力する。Comparison circuit 9#i compares both input terminal voltages, and outputs a binary signal indicating "1" when the output voltage of sample hold circuit 9 is lower.
従って、比較回路9の出力は第7図9aの如くなる。こ
こで、クロックCK1のyち上りとクロックCK濡の立
ち上がりの間を有効なものと定義すれば、比較回路9の
出力は第7図9bの如く概念され、正しい2値化信号が
得られる。Therefore, the output of the comparator circuit 9 is as shown in FIG. 7, 9a. Here, if the period between the rising edge of the clock CK1 and the falling edge of the clock CK is defined as valid, the output of the comparator circuit 9 can be conceptualized as shown in FIG. 7, 9b, and a correct binary signal can be obtained.
以上説明した様に本発明によれば、2値化すベキ点の前
後の点のレベルを参酌してスライスレベルが決定される
ので、黒の谷間の白がつぶれたり、#度の濃い線が異常
に太くなったりすることがなくなる。As explained above, according to the present invention, the slice level is determined by taking into consideration the levels of the points before and after the power point to be binarized, so the white in the valley of black is crushed, and the dark line with # degree is abnormal. It will no longer become thicker.
従って、本発明によれば、解像鼠の高い2値化信号を祷
ることができる。Therefore, according to the present invention, it is possible to obtain a binarized signal with high resolution.
館1図は従来の走査線とビデオ46号と2値化信号の関
係を示す図。
第2図1本発明の一実施例の回路図。
第5図はクロックC,Rs・CRs・CRsのタイミン
グ図。
第4図はクロックCR1・CR怠・cRsと各サンプル
ホールド回路1・2・3.の出力のタイミング図。
第5図はクロックCRI−CR1・CRsと傾斜値と補
正傾斜値のタイミング図。
第6図はクロックCR1・CR黛・CRmとビデオレベ
ルとスライスレベルのタイミング−0第7因はクロック
CRs ・CRs−C,Rsと比較回路9の入力と出力
のタイミング図。
1.2.5・・・サンプルホールド回路4・・・傾き検
出回路
5・・・整流回路 6・・・坤レベル検出回路
7・・・ビデオレベル検出回路 ]]1..ll’°
°−″′パ″′1−
9・・・比較回路
(7317)
代理人 弁理士 則近憲佑(他1名)
第1図
゛第3図
煎・
1−1 )−1)−1)−1+−十−士÷)−1)−1
t−÷→)−1)−1第4図
第5図
第6図
第7図Figure 1 is a diagram showing the relationship between conventional scanning lines, video No. 46, and binarized signals. FIG. 2 1 is a circuit diagram of an embodiment of the present invention. FIG. 5 is a timing diagram of clock C, Rs, CRs, and CRs. FIG. 4 shows clocks CR1, CR failure, cRs and each sample and hold circuit 1, 2, 3. Timing diagram of output. FIG. 5 is a timing diagram of clocks CRI-CR1 and CRs, slope values, and correction slope values. FIG. 6 is a timing diagram of clocks CR1, CR Mayuzumi, CRm, video level, and slice level timing -0. The seventh factor is clock CRs, CRs-C, Rs, and the input and output timing diagram of the comparator circuit 9. 1.2.5... Sample hold circuit 4... Slope detection circuit 5... Rectifier circuit 6... Level detection circuit 7... Video level detection circuit]]1. .. ll'°
°−″′Pa″′′1- 9... Comparison circuit (7317) Agent Patent attorney Kensuke Norichika (and 1 other person) Figure 1 (Figure 3) -1)-1) -1+-10-shi÷)-1)-1
t-÷→)-1)-1 Figure 4 Figure 5 Figure 6 Figure 7
Claims (1)
レベルを与えられたスライスレベルと比較して2値化信
号を得る2値化回路において、2値化すべき点の前後の
ビデオ信号のレベルを比較し2値化すべき点の近傍にお
ける傾斜値を求める傾き検出回路と、この傾き検出回路
の出方を整流し補正傾斜値を求める整tllt回路2、
白レベルの検出された最高レベルと2値化すべき点の近
傍のビデオ信号のレベルとを比較し2値化すべき点の近
傍のビデオレベルを求めるビデオレベル検出回路と、前
記補正傾斜値と前記ビデオレベルと固定レベルを比較し
ステイスレベルを求めるスライスレベル発生回路とを具
備する仁とを物像とする2値化回路。In a binarization circuit that obtains a binarized signal by comparing the level of the video signal obtained by the self-scanning line sensor with a given slice level, the levels of the video signal before and after the point to be binarized are compared. a slope detection circuit that calculates a slope value in the vicinity of a point to be converted into a value; a rectification tllt circuit 2 that rectifies the output of this slope detection circuit and calculates a corrected slope value;
a video level detection circuit that compares the detected highest level of the white level with the level of the video signal near the point to be binarized and obtains the video level near the point to be binarized; and the correction slope value and the video signal. A binarization circuit is provided with a slice level generation circuit for comparing a level and a fixed level to obtain a stasis level.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP56141061A JPS5843663A (en) | 1981-09-09 | 1981-09-09 | Binary-coding circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP56141061A JPS5843663A (en) | 1981-09-09 | 1981-09-09 | Binary-coding circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS5843663A true JPS5843663A (en) | 1983-03-14 |
Family
ID=15283330
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP56141061A Pending JPS5843663A (en) | 1981-09-09 | 1981-09-09 | Binary-coding circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5843663A (en) |
-
1981
- 1981-09-09 JP JP56141061A patent/JPS5843663A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0564395B2 (en) | ||
JPS5843663A (en) | Binary-coding circuit | |
US4751743A (en) | Optical character reader | |
JPS6093878A (en) | Picture reader | |
JPS61199180A (en) | Binary-coding circuit | |
JPH02141886A (en) | Binarizing device for bar-code reader | |
JP2849311B2 (en) | Optical reader | |
JPH01265786A (en) | Picture reader | |
JPS5984522A (en) | Image signal binarization threshold setting method | |
JPS6261176A (en) | Floating slice system for bar code reader | |
JPS58117773A (en) | Binarizing device for picture signal | |
JPH0574870B2 (en) | ||
JPS6214577A (en) | Automatic white waveform correcting system for facsimile equipment or the like | |
JPH0443816Y2 (en) | ||
JPS62151067A (en) | Original reader | |
JPH1093822A (en) | Background level detector | |
JPS5856574A (en) | Signal binarizing circuit | |
JP2000187703A (en) | Barcode image detector | |
JPH01265785A (en) | Picture reader | |
JPS6047567A (en) | Binary coding device for picture signal | |
JPH0580190B2 (en) | ||
JPH0241582A (en) | Decision device for curved surface shape | |
JPH0253375A (en) | Reading part dirt detecting circuit | |
JPS5971582A (en) | Image binarization method | |
JPS6037880A (en) | Binary coding circuit |