JPH0514732A - Binarizing device - Google Patents

Binarizing device

Info

Publication number
JPH0514732A
JPH0514732A JP3183501A JP18350191A JPH0514732A JP H0514732 A JPH0514732 A JP H0514732A JP 3183501 A JP3183501 A JP 3183501A JP 18350191 A JP18350191 A JP 18350191A JP H0514732 A JPH0514732 A JP H0514732A
Authority
JP
Japan
Prior art keywords
signal
input
output
ccd camera
terminal
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
JP3183501A
Other languages
Japanese (ja)
Inventor
Shigeo Kusunoki
繁雄 楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3183501A priority Critical patent/JPH0514732A/en
Publication of JPH0514732A publication Critical patent/JPH0514732A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the oversight of a detection signal due to the variation of a level by making the reference signal of a binarizing device the envelope of an output signal. CONSTITUTION:The video output S0 of a CCD camera 1 is made into an envelope curve S1 by passing it through a low pass filter (LPF) 2, and is outputted from the LPF 2. This signal S1 is made into the signal S2 by correcting its loss by the LPF 2 by an amplifier (AMP) 3, and is inputted to the reference input terminal R of a comparator (CMP) 4. In the CMP 4, it is outputted as the output signal S3 corresponding to difference between the signal S2 inputted to the terminal R and the signal S0 inputted to the terminal S. The signal S3 detects the signal of different absolute level on the envelope curve of the former video signal S0 without overlooking it.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は二値化装置に関し、特に
一次元CCDカメラの出力信号の二値化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a binarizing device, and more particularly to a binarizing device for an output signal of a one-dimensional CCD camera.

【0002】[0002]

【従来の技術】図3に従来の一次元CCDカメラの信号
処理部のブロック図を示す。図3において、CCDカメ
ラ1の出力V0は、比較器4の信号入力端子Sに入力さ
れる。また、比較器4の基準入力端子Rには、一定電圧
refを入力する。
2. Description of the Related Art FIG. 3 shows a block diagram of a signal processing unit of a conventional one-dimensional CCD camera. In FIG. 3, the output V 0 of the CCD camera 1 is input to the signal input terminal S of the comparator 4. Further, a constant voltage V ref is input to the reference input terminal R of the comparator 4.

【0003】比較器4はR入力とS入力を比較すること
により、CCDカメラ1の出力を二値化している(例え
ば「ビデオセンサ導入ガイド」S63.電気書院発行,
P.41〜,P.232…)。ここで、比較器4の基準
電圧であるVrefは、一定電圧Vcを可変抵抗5により分
圧して作り出されている。
The comparator 4 binarizes the output of the CCD camera 1 by comparing the R input and the S input (for example, "Video sensor introduction guide" S63.
P. 41-, P.I. 232 ...). Here, the reference voltage V ref of the comparator 4 is generated by dividing the constant voltage V c by the variable resistor 5.

【0004】実際の使用にあたっては、ビデオ信号の状
況に応じて、可変抵抗5の抵抗値を変化させ、平均的に
満足な位置を見出している。
In actual use, the resistance value of the variable resistor 5 is changed according to the situation of the video signal to find a satisfactory position on average.

【0005】[0005]

【発明が解決しようとする課題】この従来の一次元CC
Dカメラの二値化装置の動作の様子を図4に示す。一次
元CCDカメラ1の出力信号V0は、被写体に対する照
明の不均一さに起因して、図4(a)のように包絡カー
ブをもっている場合が多い。このゆるやかな包絡カーブ
中に、本来検出したい信号、すなわち、この図の例でデ
ィップD1,D2が重畳されていることになる。
The conventional one-dimensional CC
FIG. 4 shows an operation state of the binarizing device of the D camera. The output signal V 0 of the one-dimensional CCD camera 1 often has an envelope curve as shown in FIG. 4A due to uneven illumination of the subject. In this gentle envelope curve, the signals to be originally detected, that is, the dips D 1 and D 2 in the example of this figure are superimposed.

【0006】このような信号を従来例のように一定電圧
refにてスライスし、二値化する場合には、本来検出
すべき信号を見逃してしまうことがある。
When such a signal is sliced at a constant voltage V ref and binarized as in the conventional example, the signal to be originally detected may be overlooked.

【0007】図4はそのような場合を示している。すな
わち、図4(a)にて、Vref=T1にしたとき、二値化
した結果を図4(b)に示すが、ディップD1を見逃し
ている。
FIG. 4 shows such a case. That is, FIG. 4B shows the result of binarization when V ref = T 1 in FIG. 4A, but the dip D 1 is missed.

【0008】また図4(c)の場合は、Vref=T2で二
値化するが、図4(d)のようにディップD2を見逃し
ている。この例の場合、包絡カーブの傾斜がきついた
め、ディップD1,D2を共に正しく検出することはでき
ない。すなわち、従来技術では、被写体照明が不均一の
ときは、基準電圧を一意に決めてしまうことから、本来
検出すべき信号を見逃してしまう場合があるという問題
があった。
In the case of FIG. 4C, the binarization is performed with V ref = T 2 , but the dip D 2 is missed as shown in FIG. 4D. In the case of this example, since the envelope curve has a steep inclination, both dips D 1 and D 2 cannot be detected correctly. That is, in the related art, when the subject illumination is non-uniform, the reference voltage is uniquely determined, and thus there is a problem that a signal to be originally detected may be missed.

【0009】本発明の目的は前記課題を解決した二値化
装置を提供することにある。
It is an object of the present invention to provide a binarization device that solves the above problems.

【0010】[0010]

【課題を解決するための手段】前記目的を達成するた
め、本発明に係る二値化装置においては、一次元CCD
カメラのビデオ出力信号を入力とし、その包絡線を抽出
する低減ろ波器と、前記一次元CCDカメラのビデオ出
力信号を第1の入力に、低減ろ波器を通過した出力を第
2の入力に各々入力し、第2の入力信号に比して、第1
の入力信号レベルが大きい場合に論理アクティブな信号
を出力する2入力比較器とを有するものである。
In order to achieve the above object, in a binarizing device according to the present invention, a one-dimensional CCD is used.
A video output signal of the camera is used as an input, and a reduction filter for extracting the envelope thereof, and a video output signal of the one-dimensional CCD camera is used as a first input, and an output passed through the reduction filter is used as a second input. Respectively to the first input as compared to the second input signal.
And a two-input comparator that outputs a logically active signal when the input signal level is high.

【0011】また、前記低減ろ波器の出力を入力とし、
前記低減ろ波器の挿入損失分を補正し出力する増幅器を
有するものである。
The output of the reduction filter is used as an input,
It has an amplifier which corrects and outputs the insertion loss of the reduction filter.

【0012】[0012]

【作用】本発明では、基準入力を出力信号の包絡線とす
ることにより、レベル変動による検出信号の見逃しを極
めて少なくしたものである。
In the present invention, the reference input is the envelope of the output signal, so that the detection signal is not overlooked due to level fluctuation.

【0013】[0013]

【実施例】次に、本発明について図面を参照して説明す
る。図1は、本発明の一実施例を示すブロック図であ
り、図2は、動作を説明する信号波形図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a signal waveform diagram for explaining the operation.

【0014】図1において、一次元CCDカメラ1のビ
デオ出力信号S0は、2方向に分枝され、一方は低減ろ
波器2(以下、LPFという)に、他方は比較器(以
下、CMPという)4の信号入力端子Sに入力されてい
る。
In FIG. 1, a video output signal S 0 of a one-dimensional CCD camera 1 is branched in two directions, one to a reduction filter 2 (hereinafter referred to as LPF) and the other to a comparator (hereinafter referred to as CMP). 4) signal input terminal S.

【0015】LPF2の出力S1は、増幅器(以下、A
MPという)3に入力される。AMP3の出力S2は、
CMP4の基準入力端子Rに入力される。
The output S 1 of the LPF 2 is an amplifier (hereinafter referred to as A
3). The output S 2 of AMP3 is
It is input to the reference input terminal R of CMP4.

【0016】ここで、図1での構成要素について説明す
る。CCDカメラ1は、CCD式一次元カメラである。
LPF2は、その時点数が、画面の左右での照明の違い
に起因する出力変動はそのまま通過し、それより高い周
波数成分はカットオフするような値である低減ろ波器で
あり、これによりビデオ出力信号S0の包絡線が抽出さ
れる機能を有している。
The components shown in FIG. 1 will be described. The CCD camera 1 is a CCD type one-dimensional camera.
The LPF2 is a reduction filter whose number of time points is such that the output fluctuation caused by the difference in the illumination on the left and right of the screen passes through as it is, and the frequency components higher than that are cut off. It has a function of extracting the envelope of the signal S 0 .

【0017】AMP3は、LPF2の挿入損失を補正す
るものである。CMP4は、基準入力端子R,信号入力
端子Sの2つの入力端子を有し、R端子に比してS端子
のレベルが高いときに正出力を、逆のときに負出力を出
力する比較器である。
The AMP3 corrects the insertion loss of the LPF2. The CMP 4 has two input terminals, a reference input terminal R and a signal input terminal S, and outputs a positive output when the level of the S terminal is higher than that of the R terminal and a negative output when the level of the S terminal is higher. Is.

【0018】次に動作を、図1及び図2を用いて説明す
る。CCDカメラ1のビデオ出力S0はCCDチップ上
のセル単位にみると、図2(a)に示すS0の波形にな
っているものとする。すなわち、ゆるやかな包絡カーブ
に対してディップD1,D2が存在するものとする。
Next, the operation will be described with reference to FIGS. 1 and 2. It is assumed that the video output S 0 of the CCD camera 1 has the waveform of S 0 shown in FIG. 2A when viewed in cell units on the CCD chip. That is, it is assumed that dips D 1 and D 2 exist for the gentle envelope curve.

【0019】ここで、ゆるやかな包絡カーブは、被写体
に対する照明の不均一に起因したものであり、ディップ
1,D2は、検出すべき信号である。このように包絡カ
ーブとディップの信号の和としての信号S0は、LPF
2を通過することにより、包絡カーブS1となってLP
F2より出力される。
Here, the gentle envelope curve is caused by the nonuniformity of the illumination on the object, and the dips D 1 and D 2 are the signals to be detected. Thus, the signal S 0 as the sum of the envelope curve and the dip signal is
By passing 2 the envelope curve S 1 becomes the LP
It is output from F2.

【0020】この信号S1は、LPF2による挿入損失
をAMP3により補正され信号S2となり、CMP4の
基準入力端子Rへ入力される。この信号S2を図2
(b)に示してある。
[0020] The signals S 1 is corrected signal S 2 becomes the AMP3 the insertion loss LPF2, is input to the reference input terminal R of the CMP4. This signal S 2 is shown in FIG.
It is shown in (b).

【0021】図2において、S2は、S0においてディッ
プD1,D2が削り取られて、包絡カーブのみ抽出されて
いるのがわかる。
In FIG. 2, it can be seen that in S 2 , the dips D 1 and D 2 are scraped off in S 0 and only the envelope curve is extracted.

【0022】CMP4では、図2(a)に示すS0と図
2(b)に示すS2を比較している。R端子に入力され
ている信号S2とS端子に入力されている信号S0の差の
分に相当するディップD1,D2だけ出力信号S3として
出力される。この信号S3を図2(c)に示す。
In CMP4, S 0 shown in FIG. 2A and S 2 shown in FIG. 2B are compared. Only dips D 1 and D 2 corresponding to the difference between the signal S 2 input to the R terminal and the signal S 0 input to the S terminal are output as the output signal S 3 . This signal S 3 is shown in FIG.

【0023】この信号S3は、もとのビデオ信号出力S0
の包絡カーブ上にのっている絶対レベルの異なる信号D
1,D2を見逃すことなく検出していることがわかる。
This signal S 3 is the original video signal output S 0.
Signals D with different absolute levels on the envelope curve of
It can be seen that 1 and D 2 are detected without missing.

【0024】[0024]

【発明の効果】以上説明したように本発明は、二値化装
置の基準入力を出力信号の包絡線としているため、レベ
ル変動による検出信号の見逃しが極めて少ないという多
大な効果がある。
As described above, according to the present invention, since the reference input of the binarization device is the envelope of the output signal, there is a great effect that the detection signal is hardly overlooked due to the level fluctuation.

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

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

【図2】本発明の実施例における動作説明図である。FIG. 2 is an operation explanatory diagram according to the embodiment of the present invention.

【図3】従来例を示すブロック図である。FIG. 3 is a block diagram showing a conventional example.

【図4】従来例における動作説明図である。FIG. 4 is an operation explanatory diagram in a conventional example.

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

1 CCDカメラ 2 低減ろ波器 3 増幅器 4 比較器 1 CCD camera 2 Reduction filter 3 amplifier 4 comparator

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 一次元CCDカメラのビデオ出力信号を
入力とし、その包絡線を抽出する低減ろ波器と、 前記一次元CCDカメラのビデオ出力信号を第1の入力
に、低減ろ波器を通過した出力を第2の入力に各々入力
し、第2の入力信号に比して、第1の入力信号レベルが
大きい場合に論理アクティブな信号を出力する2入力比
較器とを有することを特徴とする二値化装置。
1. A reduction filter for inputting a video output signal of a one-dimensional CCD camera and extracting an envelope thereof, and a reduction filter for receiving a video output signal of the one-dimensional CCD camera as a first input. And a two-input comparator for inputting the passed outputs to the second inputs and outputting a logically active signal when the first input signal level is higher than that of the second input signal. Binarization device.
【請求項2】 前記低減ろ波器の出力を入力とし、前記
低減ろ波器の挿入損失分を補正し出力する増幅器を有す
ることを特徴とする請求項1に記載の二値化装置。
2. The binarization apparatus according to claim 1, further comprising an amplifier which receives an output of the reduction filter and corrects and outputs an insertion loss amount of the reduction filter.
JP3183501A 1991-06-28 1991-06-28 Binarizing device Pending JPH0514732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3183501A JPH0514732A (en) 1991-06-28 1991-06-28 Binarizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3183501A JPH0514732A (en) 1991-06-28 1991-06-28 Binarizing device

Publications (1)

Publication Number Publication Date
JPH0514732A true JPH0514732A (en) 1993-01-22

Family

ID=16136935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3183501A Pending JPH0514732A (en) 1991-06-28 1991-06-28 Binarizing device

Country Status (1)

Country Link
JP (1) JPH0514732A (en)

Similar Documents

Publication Publication Date Title
JPS6260074A (en) Bar code scanner
JPH03117995A (en) Chrominance signal contour correction device
JPH0730786A (en) Measuring noise component in picture signal and circuit for performing its method
JPH0514732A (en) Binarizing device
US6914861B2 (en) Defect protecting circuit and a method for data slicer in an optical drive
JP4199191B2 (en) Method and apparatus for setting a slice level in a binary signal
JPH10162095A (en) Slice ratio control circuit
JPS595789A (en) Separating circuit for data signal in video signal
KR0173769B1 (en) Cut-off frequency control device of optic disk
JP3068034B2 (en) Frequency detector
JPH0221806Y2 (en)
JP2522273B2 (en) Filter adjuster
JPS6359270A (en) Binarization device for image signal
JPH0793680B2 (en) Image signal binarization circuit
JPH07184228A (en) Digital acc circuit
JPS6359271A (en) Slice level signal generator
KR920004125B1 (en) Television circuit for y/c signals
JPS629956B2 (en)
JPS62109185A (en) Position detector
KR100213349B1 (en) Auto binarizing correction apparatus and method
JPS61199180A (en) Binary-coding circuit
JPH05110395A (en) Binarizing threshold level setting circuit
JPS6016768A (en) Binary-coding system of picture signal
JP2701660B2 (en) Mounted component inspection data creation device
JPH05344341A (en) Automatic binarizing device