JPS61110278A - Binary coding method of video signal - Google Patents

Binary coding method of video signal

Info

Publication number
JPS61110278A
JPS61110278A JP59230319A JP23031984A JPS61110278A JP S61110278 A JPS61110278 A JP S61110278A JP 59230319 A JP59230319 A JP 59230319A JP 23031984 A JP23031984 A JP 23031984A JP S61110278 A JPS61110278 A JP S61110278A
Authority
JP
Japan
Prior art keywords
signal
video signal
video
level
circuit
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
JP59230319A
Other languages
Japanese (ja)
Other versions
JPH0481228B2 (en
Inventor
Shigeaki Ishikawa
茂明 石川
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP59230319A priority Critical patent/JPS61110278A/en
Publication of JPS61110278A publication Critical patent/JPS61110278A/en
Publication of JPH0481228B2 publication Critical patent/JPH0481228B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)

Abstract

PURPOSE:To narrow down an effective visual field by holding a value extracted right before a video level drops below a reference value only when the video level falls below the reference value and converting the video signal which is delayed by a specific time into a binary signal on the basis of the held signal. CONSTITUTION:The video signal S1 inputted from a camera is delayed by the specific time tau through a delay circuit 12 and applied to the uninverted input terminal of a comparator 9. The video signal S1, on the other hand, is integrated by an integration circuit 11 having a small time constant and inputted to a sample holding circuit 13. Further, the video signal S1 is inputted to the uninverted input terminal of a comparator 14 as well and the reference level Sr obtained by dividing the voltage of the output signal S4 of the sample holding circuit 13 through a variable resistance VR2 is inputted to the inverted input terminal. The sample holding circuit 13 enters a holding state only when the video level of the video signal S1 falls abruptly unit S1<=Sr, and outputs its hold signal S4, but outputs an integration signal which varies according to the video signal S1 as its output signal S4 when not, i.e. S1>Sr.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、カメラからの映像信号を二値化する二値化
方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a binarization method for binarizing a video signal from a camera.

〔従来の技術〕[Conventional technology]

近時、ワークの外観検査等を行なう場合、人間の視覚の
代りにビデオカメラを使ってそのワークを撮像すると共
に、その結果得られた映像信号をデジタル的に処理する
ことにより、カメラ視野内に入っているワークのキズや
汚れ等の大きさ1位置1個数などを識別することが行な
われている。
These days, when performing visual inspections of workpieces, a video camera is used instead of human vision to image the workpiece, and the resulting video signal is digitally processed to enable visual inspection of the workpiece within the camera's field of view. The size and number of scratches, dirt, etc. on the contained workpieces are identified in each location.

このような視覚認識装置の一例を第4図乃至第8図を参
照しながら説明すると、先ずラインセンサカメラ(以下
単にカメラと略称する)1によって図示しない照明で照
したワーク2における破線で示す撮像範囲(撮像視野)
3を走査した場合。
An example of such a visual recognition device will be described with reference to FIGS. 4 to 8. First, a line sensor camera (hereinafter simply referred to as a camera) 1 captures an image of a workpiece 2 illuminated by illumination (not shown) as indicated by a broken line. Range (imaging field of view)
When scanning 3.

その撮像範囲3内に影を作る例えばキズ4があると、カ
メラ1からは、例えば第5図に示すようなキズ4に対応
する画素の映像レベル(信号レベル)のみがその大きさ
、形状に応じて急激に落ち込んだ映像信号S1が出力さ
れる。
For example, if there is a scratch 4 that creates a shadow within the imaging range 3, the camera 1 will only detect the image level (signal level) of the pixel corresponding to the scratch 4, as shown in FIG. 5, depending on its size and shape. Accordingly, a video signal S1 that has suddenly dropped is output.

そして、この映像信号S1を受ける視覚認識装置5では
、その二値化回路6が映像信号S1の映像レベルを所定
のスレシュホールドレベル(二値化レベル)と比較して
、映像レベルがスレシュホ−ルドレベルより高ければ1
“で、逆に映像レベルがスレシュホールドレベルより低
ければ0゛のロジック信号(二値化映像信号)に変換す
ると共に、そのロジック信号を反転したロジック信号S
2を次段の認識ロジック7で処理することによって、キ
ズ4の大きさや位置あるいはキズ4が複数有った場合に
はその個数など認識し、その認識結果を信号S3として
外部に出力している。
In the visual recognition device 5 that receives this video signal S1, the binarization circuit 6 compares the video level of the video signal S1 with a predetermined threshold level (binarization level), and the video level is determined to be the threshold level. 1 if higher
"Conversely, if the video level is lower than the threshold level, it is converted to a 0" logic signal (binarized video signal), and the logic signal S which is the inverted logic signal is converted.
2 is processed by the next-stage recognition logic 7, the size and position of the scratch 4, or the number of scratches 4 if there are multiple scratches 4, etc. are recognized, and the recognition result is outputted to the outside as a signal S3. .

ここで、二値化回路6の従来例としては、スレシュホー
ルド固定式(固定二値化方式)とスレシュホールド積分
式(浮動二値化方式)とがある。
Here, conventional examples of the binarization circuit 6 include a fixed threshold type (fixed binarization type) and a threshold integral type (floating binarization type).

スレシュホールド固定式の場合は、第6図に示すように
、コネクタ8に接続されたカメラ1から到来する映像信
号S1は、終端抵抗R1を介してコンパレータSの非反
転入力端子に入力される。
In the case of the fixed threshold type, as shown in FIG. 6, the video signal S1 coming from the camera 1 connected to the connector 8 is input to the non-inverting input terminal of the comparator S via the terminating resistor R1.

そして、このコンパレータ9の反転入力端子には、所要
の固定スレシュホールドレベルSrcを印加してあり、
又その出力側はプルアップ用の抵抗R2を介して直流型
g+svに接続しである。
A required fixed threshold level Src is applied to the inverting input terminal of the comparator 9.
Further, its output side is connected to a DC type g+sv via a pull-up resistor R2.

したがって、映像信号S1はスレシュホールドレベルS
rcと比較され、映像信号S、の映像レベルが急激に落
ち込む期間だけ0”となるロジック信号に変換され、そ
の変換されたロジック信号がインバータ10によって反
転されて次段の認識ロジック7にロジック信号S2とし
て出力される。
Therefore, the video signal S1 is at the threshold level S
It is compared with rc and converted into a logic signal that becomes 0'' only during the period when the video level of the video signal S rapidly drops, and the converted logic signal is inverted by the inverter 10 and sent to the next stage recognition logic 7 as a logic signal. It is output as S2.

この場合のスレシュホールドレベルSrcは、直流電源
Eの電圧を可変抵抗VR,によって分圧して形成したも
ので、映像信号S1の映像レベルに応じて調整して用い
るが、その波形は第8図に示すように一定電圧であって
、固定スレシュホールド波形となる。
The threshold level Src in this case is formed by dividing the voltage of the DC power supply E using a variable resistor VR, and is used by adjusting it according to the video level of the video signal S1, and its waveform is shown in FIG. As shown, it is a constant voltage and has a fixed threshold waveform.

一方、スレシュホールド積分式の場合は、第7図に示す
ように、第6図のスレシュホールド固定式と異なるのは
、可変抵抗VRLによって分圧する直流型gEの電圧を
、映像信号Slを積分回路11によって積分して得られ
る電圧に代えただけであり、その他はすべて同じで勿論
コンパレータSの動作も同一である。
On the other hand, in the case of the threshold integral type, as shown in FIG. 7, the difference from the fixed threshold type shown in FIG. 11, everything else is the same, and of course the operation of the comparator S is also the same.

積分回路11は1例えば抵抗R3とコンデンサCとから
なる比較的時定数の小さい積分回路であす、この出力電
圧を可変抵抗VR,で分圧(レベル調整)してコンパレ
ータSのスレシュホールドレベルSr■として用いる。
The integrator circuit 11 is an integrator circuit with a relatively small time constant consisting of, for example, a resistor R3 and a capacitor C. This output voltage is divided (level adjusted) by a variable resistor VR to set the threshold level Sr of the comparator S. used as

この場合のスレシュホールドレベルSr■の波形は、第
8図に示すように映像信号S1に追従して信号レベルが
変化するようになる。
In this case, the waveform of the threshold level Sr■ changes in signal level following the video signal S1 as shown in FIG.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、このような従来の二値化回路にあっては
、コンパレータSのスレシュホールドレベルが、固定式
又は積分式(浮動式)の何かであったため、次のような
問題があった。
However, in such a conventional binarization circuit, the threshold level of the comparator S is fixed or integral (floating), and therefore there are the following problems.

すなわち、視野内の照度が一定でない場合や。In other words, the illuminance within the field of view is not constant.

カメラ1の光学系であるレンズの周辺光量の低下が激し
い場合などには、第8図に示すように映像信号S1にパ
ラボラシエイディングが生じるが、このパラボラシエイ
ディングが生じると両方式とも有効視野ES1.ES2
がカメラ1の撮影範囲3より狭くなる問題がある。
When the peripheral light intensity of the lens, which is the optical system of camera 1, decreases significantly, parabolic shedding occurs in the video signal S1 as shown in Figure 8. ES1. ES2
There is a problem that the shooting range 3 of the camera 1 is narrower than the shooting range 3 of the camera 1.

また、固定式の場合、視野内の照度が変化した時に誤検
出する恐れがある一方、積分方式の場合。
Additionally, in the case of a fixed type, there is a risk of false detection when the illuminance within the field of view changes, while in the case of an integral type.

検出しようとするキズ4などが大きいと映像信号S1が
大きく変化してスレシュホールドレベルSr■もそれに
応じて大きく変化してしまうが、そのように大きく変化
すると、キズ4の大きさを正しく認識することができな
くなるばかりか、総じて検出が不安定になる問題があっ
た。
If the scratch 4 to be detected is large, the video signal S1 will change greatly and the threshold level Sr will also change accordingly, but such a large change will make it difficult to correctly recognize the size of the scratch 4. There was a problem that not only was it impossible to do this, but the detection became unstable in general.

この発明は、このような問題の解決を図ろうとするもの
である。
This invention attempts to solve such problems.

〔問題点を解決するための手段〕 そこで、この発明による映像信号の二値化方法は、カメ
ラから出力される映像信号を所定時間遅延する一方、映
像信号を積分してその積分信号又はそれに応じた信号を
逐次抽出すると共に、この逐次抽出している信号に基づ
く基準レベルと映像信号又は所定時間遅延した映像信号
の映像レベルとを比較して、その映像レベルが基準レベ
ル以下となった時にのみ、その直前に抽出した信号を保
持し、そのように抽出又は保持している信号の信号レベ
ルに基づいて所定時間遅延した映像信号を二値化する。
[Means for Solving the Problems] Therefore, the video signal binarization method according to the present invention delays the video signal output from the camera for a predetermined time, integrates the video signal, and converts the integrated signal or the corresponding signal. At the same time, the reference level based on the sequentially extracted signal is compared with the video level of the video signal or the video signal delayed for a predetermined time, and only when the video level becomes below the reference level. , holds the signal extracted immediately before that, and binarizes the video signal delayed for a predetermined time based on the signal level of the signal thus extracted or held.

〔作 用〕[For production]

このような方法によれば、安定した検出を行ない得るス
レシュホールド固定式の利点と、照度の変化に強いスレ
シュホールド積分式の利点とを生かしつつ、パラボラシ
ェイディングなどに起因する有効視野の狭小化を防げる
According to this method, while taking advantage of the advantages of a fixed threshold type that can perform stable detection and the advantages of a threshold integral type that is resistant to changes in illuminance, it is possible to reduce the effective field of view due to parabolic shading etc. can be prevented.

〔実 施 例〕〔Example〕

以下、添付図面の第1図乃至第3図を参照して、この発
明の詳細な説明する。
Hereinafter, the present invention will be described in detail with reference to FIGS. 1 to 3 of the accompanying drawings.

第1図は、この発明の一実施例を示す回路図であり、第
6図及び第7図と対応する部分には同一符号を付してい
る。
FIG. 1 is a circuit diagram showing an embodiment of the present invention, and parts corresponding to those in FIGS. 6 and 7 are given the same reference numerals.

この実施例は、第4図に示す視覚認識装置5を構成する
二値化回路6として用いるものであって。
This embodiment is used as a binarization circuit 6 constituting a visual recognition device 5 shown in FIG.

コネクタ8とコンパレータSの非反転入力端子との間に
、遅延回路12を介挿すると共に、積分回路11と可変
抵抗VR,との間に、サンプルボールド回路13と、コ
ンパレータ14.O1l路15及び可変抵抗vR2から
なるその周辺回路とを介挿した他は、第7図に示す従来
のスレシュボールド積分式と同じである。
A delay circuit 12 is inserted between the connector 8 and the non-inverting input terminal of the comparator S, and a sample bold circuit 13 and a comparator 14. This is the same as the conventional Threshold integral equation shown in FIG. 7, except that the O1l path 15 and its peripheral circuit consisting of a variable resistor vR2 are inserted.

カメラ1からコネクタ8及び終端抵抗R,を介して入力
された映像信号slは、遅延回路12によって所定時間
τだけ遅延されて遅延映像信号81′となって、コンパ
レータSの非反転入力端子に加えられる。
The video signal sl input from the camera 1 via the connector 8 and the terminating resistor R is delayed by a predetermined time τ by the delay circuit 12 to become a delayed video signal 81', and is added to the non-inverting input terminal of the comparator S. It will be done.

遅延回路12は5例えば図示のような遅延線あるいは超
音波遅延素子、CCD、表面弾性波素子などで構成し、
その遅延時間では積分回路11によるスレシュホールド
レベルの映像信号s1に対する遅れを補正するように定
める。
The delay circuit 12 is composed of 5, for example, a delay line as shown in the figure, an ultrasonic delay element, a CCD, a surface acoustic wave element, etc.
The delay time is determined to compensate for the delay caused by the integration circuit 11 with respect to the threshold level video signal s1.

一方映像信号Slは、抵抗R3とコンデンサCとからな
る小時定数の積分回路11によって積分されて、その積
分信号がサンプルホールド回路13に入力される。
On the other hand, the video signal Sl is integrated by an integrating circuit 11 with a small time constant made up of a resistor R3 and a capacitor C, and the integrated signal is input to a sample and hold circuit 13.

さらに、映像信号Slはコンパレータ14の非反転入力
端子にも入力され、このコンパレータ14の反転入力端
子には、サンプルホールド回路1!1の出力信号S4を
可変抵抗vR2で分圧して形成した基準レベルSrが入
力される。
Furthermore, the video signal Sl is also input to the non-inverting input terminal of the comparator 14, and the reference level formed by dividing the output signal S4 of the sample-and-hold circuit 1!1 by the variable resistor vR2 is input to the inverting input terminal of the comparator 14. Sr is input.

なお、可変抵抗vR2はスレシュホールドレベルSrx
@整月の可変抵抗VR,と並列に接続してあり、サンプ
ルホールド回路13のホールドコントロール調整用であ
る6 サンプルホールド回路13は、S/H端子がl”の時に
サンプル(抽出)状態になると共に、S/H端子が0”
の時にホールド(保持)状態となり、その切換はコンパ
レータ14の出力とカメラ1からのブランキング信号(
水平同期信号)BKLとによって行われる。
Note that the variable resistor vR2 has a threshold level Srx
It is connected in parallel with @Sigetsu's variable resistor VR, and is used to adjust the hold control of the sample and hold circuit 13. 6 The sample and hold circuit 13 enters the sample (extraction) state when the S/H terminal is l". At the same time, the S/H terminal becomes 0”
The hold state is reached when
horizontal synchronization signal) BKL.

先ず、映像信号Slの信号レベルが、サンプルホールド
回路13の出力信号S4を可変抵抗・VR2で分圧して
形成した基準レベルSr以下(S1≦Sr)となった時
に、コンパレータ14の出力が一1″から0“に立ち上
るが、この出力がOR回路ISを介してサンプルホール
ド回路13のS/H端子に入力されることによって、そ
の動作状態がサンプル状態がらホールド状態に切り換わ
る。
First, when the signal level of the video signal Sl becomes equal to or lower than the reference level Sr (S1≦Sr) formed by dividing the output signal S4 of the sample and hold circuit 13 with a variable resistor VR2, the output of the comparator 14 becomes 11. However, by inputting this output to the S/H terminal of the sample and hold circuit 13 via the OR circuit IS, its operating state is switched from the sample state to the hold state.

すなわち、サンプルホールド回路13は、映像信号S1
の映像レベルが急激に下がってS1≦Srとなった時に
のみ、ホールド状態となって、その直前にサンプリング
(抽出)した積分信号をホールド(保持)すると共に、
そのホールド信号を出力信号S4として出力し、それ以
外のS+>Srの時は映像信号S1に応じて変化する積
分信号をそのまま出力信号S4として出力する。
That is, the sample hold circuit 13 receives the video signal S1
Only when the video level suddenly drops and S1≦Sr, a hold state is entered, and the integral signal sampled just before is held.
The hold signal is output as the output signal S4, and when S+>Sr otherwise, the integral signal that changes according to the video signal S1 is output as is as the output signal S4.

また、カメラ1から第2図に示すようなブランキング信
号BLKが出力されて、この信号BLKがOR回路15
を介してサンプルホールド回路13のS/H端子に入力
される毎に、サンプルホールド回路13はサンプル(抽
出)状態になり。
Further, a blanking signal BLK as shown in FIG. 2 is output from the camera 1, and this signal BLK is sent to the OR circuit 15.
Each time a signal is input to the S/H terminal of the sample hold circuit 13 via the , the sample hold circuit 13 enters a sample (extraction) state.

これによって−走査終了直前で81≦S「となって積分
信号が保持されたままで一走査が終了しても2次の走査
開始時にはwaov付近からサンプリングを開始できる
As a result, even if 81≦S is satisfied just before the end of the scan and one scan ends while the integral signal is held, sampling can be started from around waov when starting the second scan.

したがって、このように作用するサンプルホールド回路
13の出力信号S4は、映像信号S1に追従する積分信
号の性質を備えつつ、大きなキズなどに起因する映像信
号S1の大きな変動に対しては影響されなくなり、この
出力(:I ?y S 4を可変抵抗VR,によって分
圧して形成したスレシュホールドレベルSrxを用いて
、コンパレータSにて遅延映像信号S!’ を二値化す
れば、照度の変化に強いスレシュホールド積分式の利点
を生がしつつ、安定した検出を行ない得るスレシュホー
ルド固定式の利点を生かした二値化処理を行なうことが
できる。
Therefore, the output signal S4 of the sample and hold circuit 13 that operates in this manner has the property of an integral signal that follows the video signal S1, but is not affected by large fluctuations in the video signal S1 caused by large scratches, etc. If the delayed video signal S!' is binarized by the comparator S using the threshold level Srx formed by dividing this output (:I?y S4 by the variable resistor VR, It is possible to perform binarization processing that takes advantage of the advantages of the fixed threshold method, which allows stable detection while also taking advantage of the strong threshold integral method.

また、映像信号S1を所定時間でだけ遅延して得た遅延
映像信号81′を利用する効果は、次の如くである。
Further, the effects of using the delayed video signal 81' obtained by delaying the video signal S1 by a predetermined time are as follows.

すなわち、スレシュホールドレベルSrxの波形からは
1例えば第6図に示すように、映像信号S1の波形に見
られる大きなレベル低下や小さなレベル変動が除去され
て好ましいが、積分回路11による遅延作用によって走
査終了前のスレシュホールドレベルSrスが映像信号S
1の映像レベルに対してS+<Srxとなってしまって
いるため、そのままでは有効視野が狭くなる。
That is, from the waveform of the threshold level Srx, for example, as shown in FIG. The threshold level Sr before termination is the video signal S
Since S+<Srx for a video level of 1, the effective field of view becomes narrow if left as is.

ところが、映像信号S1を所定時間でだけ遅延して得ら
れる遅延映像(ご号81′を用いれば、それがスレシュ
ホールドレベルSrxを越える可能性があるのは1図示
のように映像信号S1にパラボラシエイデイングが生じ
ていたとしても開始時の僅かな時間だけであり、有効視
野ES、は略カメラ1の撮像範囲(走査範囲)と殆んど
変わらない。
However, if you use the delayed video obtained by delaying the video signal S1 by a predetermined time (No. 81'), there is a possibility that the delayed video exceeds the threshold level Srx. Even if shading occurs, it only occurs for a short time at the start, and the effective field of view ES is almost the same as the imaging range (scanning range) of the camera 1.

なお、上記実施例において、積分信号を可変抵抗で所要
値に分圧して得た積分信号に応じた信号をサンプルホー
ルド回路1′5に入力しても良く。
In the above embodiment, a signal corresponding to the integral signal obtained by dividing the integral signal into a required value by a variable resistor may be input to the sample and hold circuit 1'5.

そのようにした場合は可変抵抗vR2を省略して信号S
4を直接コンパレータ14の反転入力端子に入力すれば
良い、但し、そのようにした場合、可変抵抗VR,によ
るレベル調整を変更する必要があることは勿論であるが
、場合によって可変抵抗VR,を省略して、出力信号S
4をそのままSrxとして使うことができる。
In that case, the variable resistor vR2 can be omitted and the signal S
4 may be input directly to the inverting input terminal of the comparator 14. However, in that case, it is of course necessary to change the level adjustment by the variable resistor VR, and depending on the situation, the variable resistor VR may be changed. For short, the output signal S
4 can be used as Srx as is.

また、上記実施例では、ラインセンサカメラ1からの映
像信号S1を二値化する場合に就て述べたが、エリアセ
ンサカメラの映像信号の二値化に。
Further, in the above embodiment, the case where the video signal S1 from the line sensor camera 1 is binarized is described, but the present invention is applicable to the binarization of the video signal from an area sensor camera.

も適用できることは勿論である。Of course, it can also be applied.

さらにまた、上記実施例では、コンパレータ14によっ
て映像信号S1と基準レベルS「とを比較するようにし
た例に就で述べたが、遅延映像信号S、l と基準レベ
ルSrとを比較して、その比較結果によってサンプルホ
ールド回路15のS/Hの切換を行なうようにしても良
い。
Furthermore, in the above embodiment, the video signal S1 is compared with the reference level S' by the comparator 14, but when the delayed video signal S,l is compared with the reference level Sr, The S/H of the sample hold circuit 15 may be switched based on the comparison result.

(発明の効果j 以上説明してきたように、この発明によれば。(Effect of invention As explained above, according to the present invention.

カメラから出力される映像信号を所定時間遅延する一方
、映像信号を積分してその積分信号又はそれに応じた信
号を逐次抽出すると共に、この逐次抽出している信号に
基づく基準レベルと映像信号又は所定時間遅延した映像
信号の映像レベルとを比較して、その映像レベルが基準
レベル以下となった時にのみ、その直前に抽出した信号
を保持し、そのように抽出又は保持している信号の信号
レベルに基づいて所定時間遅延した映像信号を二値化す
るので、以下のような効果がある。
While delaying the video signal output from the camera for a predetermined time, integrating the video signal and sequentially extracting the integrated signal or a signal corresponding thereto, the reference level and the video signal or a predetermined signal based on the sequentially extracted signal are Compare the video level of the time-delayed video signal, and only when the video level falls below the reference level, retain the signal extracted immediately before, and set the signal level of the signal extracted or retained in this way. Since the video signal delayed for a predetermined time is binarized based on the following, the following effects are achieved.

(1)視野内の照度、光量が一定でないエリアでキズな
どを検出する場合でも有効視野が狭くならな(て済む。
(1) Even when detecting scratches or the like in an area where the illuminance or amount of light within the field of view is not constant, the effective field of view does not become narrow.

(2)照度が変化しても誤動作しない。(2) No malfunctions even if the illuminance changes.

(3)キズなどが大きい場合にも、それに影響されずに
安定した二値化が行なえる。
(3) Even if there are large scratches, stable binarization can be performed without being affected by them.

そのため、この方法を適用した二値化回路を備えた視覚
認識装置を用いれば、ワークにおけるキズや汚れなどの
大きさ9位置1個数を常に正確に認識することが可能に
なる。
Therefore, by using a visual recognition device equipped with a binarization circuit to which this method is applied, it is possible to always accurately recognize the size, nine positions, and one number of scratches and dirt on a workpiece.

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

第1図は、この発明の一実施例を示す回路図。 第2図は、ブランキング信号を示す波形図、第5図は2
第1図の効果説明に供する各部の信号波形図、 第4図は、視覚認識装置の構成例を示すブロック図。 第5図は、第4図の映像信号S1の一例を示す波形図。 第6図は、スレシュホールド固定式の二値化回路の従来
例を示す回路図、 第7図は、スレシュホールド積分式の二値化回路の従来
例を示す回路図、 第8図は、従来の問題点の説明に供する波形図である。 1・・ラインセンサカメラ  2・・・ワーク3・・・
撮影範囲       4・・・キズ5・・・視覚認識
装置   6・・・二値化回路S、14・・・コンパレ
ータ  11・・・積分回路12・・・遅延回路 13
・・・サンプルホールド回路第1図 第2図 第4図 ヒー走査時間← 1−1 第6図 第8図 手続補正?(自制 昭和60年7月11日 特許庁長官 字 賀 道 部 殿 1、事件の表示 特願昭59−230319号 2、発明の名称 映像信号の二値化方法 3、補正をする者 事件との関係  特許出願人 神奈川県横浜市神奈用区宝町2番地 (399)日産自動車株式会社 4、代理人 東京都豊島区東池袋1丁目20番地5 5、補正の対象 6、補正の内容 (1)明細書第5頁第10行の「何か」をr何れかjと
訂正する。 (2)同書第9頁第15行の「立上るが、」を1立下る
が、1と訂正する。
FIG. 1 is a circuit diagram showing one embodiment of the present invention. Figure 2 is a waveform diagram showing the blanking signal, and Figure 5 is a waveform diagram showing the blanking signal.
FIG. 4 is a block diagram showing a configuration example of a visual recognition device. FIG. 5 is a waveform diagram showing an example of the video signal S1 in FIG. 4. Fig. 6 is a circuit diagram showing a conventional example of a fixed threshold type binarization circuit, Fig. 7 is a circuit diagram showing a conventional example of a threshold integral type binarization circuit, and Fig. 8 is a conventional example. FIG. 2 is a waveform diagram for explaining the problem. 1...Line sensor camera 2...Work 3...
Shooting range 4... Scratch 5... Visual recognition device 6... Binarization circuit S, 14... Comparator 11... Integrating circuit 12... Delay circuit 13
...Sample hold circuit Figure 1 Figure 2 Figure 4 Hea scanning time ← 1-1 Figure 6 Figure 8 Procedure correction? (Self-restraint July 11, 1985, Director General of the Patent Office, Mr. Ka Michibe 1, Indication of the case, Patent Application No. 59-230319, 2, Name of the invention, Method for binarizing video signals 3, Person making the amendment. Related Patent Applicant: 2-2 Takaracho, Kanayō-ku, Yokohama-shi, Kanagawa Prefecture (399) Nissan Motor Co., Ltd. 4, Agent: 5-5, 1-20 Higashiikebukuro, Toshima-ku, Tokyo, Subject of amendment 6, Contents of amendment (1) Specification Correct ``something'' in page 5, line 10 to r or j. (2) Correct ``to rise but'' in page 9, line 15 of the same book to 1 to 1 to fall.

Claims (1)

【特許請求の範囲】[Claims] 1 カメラから出力される映像信号を所定時間遅延する
一方、前記映像信号を積分してその積分信号又は該積分
信号に応じた信号を逐次抽出すると共に、この逐次抽出
している信号に基づく基準レベルと前記映像信号又は前
記所定時間遅延した映像信号の映像レベルとを比較して
、該映像レベルが前記基準レベル以下となつた時にのみ
、その直前に抽出した前記信号を保持して、前記所定時
間遅延した映像信号を前記抽出又は保持している信号の
信号レベルに基づいて二値化することを特徴とする映像
信号の二値化方法。
1 While delaying the video signal output from the camera for a predetermined time, integrating the video signal and sequentially extracting the integrated signal or a signal corresponding to the integrated signal, and setting a reference level based on the sequentially extracted signal. and the video level of the video signal or the video signal delayed for the predetermined time, and only when the video level becomes equal to or lower than the reference level, the signal extracted immediately before is held and the video signal is extracted for the predetermined time. A method for binarizing a video signal, characterized in that the delayed video signal is binarized based on the signal level of the extracted or retained signal.
JP59230319A 1984-11-02 1984-11-02 Binary coding method of video signal Granted JPS61110278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59230319A JPS61110278A (en) 1984-11-02 1984-11-02 Binary coding method of video signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59230319A JPS61110278A (en) 1984-11-02 1984-11-02 Binary coding method of video signal

Publications (2)

Publication Number Publication Date
JPS61110278A true JPS61110278A (en) 1986-05-28
JPH0481228B2 JPH0481228B2 (en) 1992-12-22

Family

ID=16905965

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59230319A Granted JPS61110278A (en) 1984-11-02 1984-11-02 Binary coding method of video signal

Country Status (1)

Country Link
JP (1) JPS61110278A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57162085A (en) * 1981-03-31 1982-10-05 Fujitsu Ltd Binary coding system of signal
JPS59147570A (en) * 1983-02-14 1984-08-23 Hitachi Ltd Photoelectric converting information reading system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57162085A (en) * 1981-03-31 1982-10-05 Fujitsu Ltd Binary coding system of signal
JPS59147570A (en) * 1983-02-14 1984-08-23 Hitachi Ltd Photoelectric converting information reading system

Also Published As

Publication number Publication date
JPH0481228B2 (en) 1992-12-22

Similar Documents

Publication Publication Date Title
US4684995A (en) Simultaneous exposure/focus control in a video camera using a solid state image sensor
JPS5999881A (en) Automatic light intensity control system
US5247169A (en) Method of and an apparatus for picking up an image of the surface of an object to be inspected
FR2461417A1 (en) COLOR TELEVISION CAMERA
US7825959B2 (en) System and method for flicker DC offset detection and correction
JPS61110278A (en) Binary coding method of video signal
EP0459484A2 (en) Automatic focusing system with phase difference detecting unit employing correlation operating circuit
JPH01284069A (en) Picture input device
US5321526A (en) White level detection circuit for an optical image reader
JPH051507B2 (en)
JPS5810962A (en) Binary coding circuit
JP2924746B2 (en) Image reading device
JPH0477951B2 (en)
KR20060079730A (en) Smear appearance correction apparatus and method for ccd camera
JPS62212885A (en) Binary coded image input device
JPS62251886A (en) Stroboscope pattern recognizing device
JPS6225014Y2 (en)
JPH08334683A (en) Automatic in-focus device
JPH0217990B2 (en)
JPS6327749B2 (en)
JPS596379B2 (en) white blood cell detection device
JPS58132609A (en) Binary coding system for image signal
JPH04114562A (en) Picture reader
JPS62277857A (en) Video signal binarization device
JPH0630320A (en) Focus state display device