JPH05120435A - Luminance signal comparing and judging method - Google Patents

Luminance signal comparing and judging method

Info

Publication number
JPH05120435A
JPH05120435A JP3133289A JP13328991A JPH05120435A JP H05120435 A JPH05120435 A JP H05120435A JP 3133289 A JP3133289 A JP 3133289A JP 13328991 A JP13328991 A JP 13328991A JP H05120435 A JPH05120435 A JP H05120435A
Authority
JP
Japan
Prior art keywords
signal
delay
signals
discriminated
coincidence
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
JP3133289A
Other languages
Japanese (ja)
Inventor
Kuniji Ukai
邦司 鵜飼
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP3133289A priority Critical patent/JPH05120435A/en
Publication of JPH05120435A publication Critical patent/JPH05120435A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B28WORKING CEMENT, CLAY, OR STONE
    • B28BSHAPING CLAY OR OTHER CERAMIC COMPOSITIONS; SHAPING SLAG; SHAPING MIXTURES CONTAINING CEMENTITIOUS MATERIAL, e.g. PLASTER
    • B28B3/00Producing shaped articles from the material by using presses; Presses specially adapted therefor
    • B28B3/20Producing shaped articles from the material by using presses; Presses specially adapted therefor wherein the material is extruded
    • B28B3/26Extrusion dies
    • B28B3/269For multi-channeled structures, e.g. honeycomb structures

Abstract

PURPOSE:To reduce an error by weighting a boundary line, at the time of comparing and judging a video signal. CONSTITUTION:The time of a signal IN to be judged is delayed in a V-direction, a coincidence or non-coincidence between the center signal of a delay time and three signals before and after the delay is judged, and the time of the delay signal from the middle point is delayed in an H-direction. The coincidence and anti-coincidence between the middle point signal of the delay time in the pertinent direction and the three signals before and after the delay is judged, and the judgement signal of the coincidence and non-coincidence of the three signals and the previous judgement signal of the coincidence and non-coincidence of the three signals are used as weighting signals. Then, a reference signal REF is delayed in the V-direction in the same delay time as the middle point of the above mentioned delay time in the V-direction, and it is delayed in the H-direction in the same delay time as the middle point of the above mentioned delay time in the H-direction. The pertinent delay reference signal is compared with the signal from the middle point of the second delay time for the above mentioned discrimination signal, and the output is weighed by the above mentioned weighting signal, and the similarity is judged by a comparator 3.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、広くは輝度信号すなわ
ち映像信号の類比判別に関するものである。特に、輝度
信号の判別誤差の原因となる各種の影響を少なくし、判
別の精度を上げたものである。すなわち、デジタル回路
を通じて判別される映像信号である被判別信号を、比較
すべき比較信号と比較することに依って、その被判別信
号がその比較信号に類似しているか否かを判別する方法
において、アナログ映像信号の2値化の閾値付近に判別
度の重みをつけたり、あるいはその部分を除外したりす
ることに依って、判別の精度を上げた方法に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention generally relates to analogy discrimination of luminance signals, that is, video signals. In particular, the accuracy of the discrimination is improved by reducing various influences that cause the discrimination error of the luminance signal. That is, in a method of determining whether or not the discriminated signal is similar to the comparison signal by comparing the discriminated signal which is a video signal discriminated through a digital circuit with a comparison signal to be compared. The present invention relates to a method for increasing the accuracy of discrimination by weighting the degree of discrimination near the threshold value for binarizing an analog video signal or excluding the weighted portion.

【0002】[0002]

【従来の技術】或る物体と或る物体の外観が同一である
か否かを判別する方法には各種のものがある。その中に
おいて、その物体を映像信号として画像に現し、両画像
の一致判別認識を為し、両画像の類比判別を為す方法が
良く使われる。此の場合、両画像の映像信号を電子計算
機に掛けて計算する方法が従来行われて来たが、これは
非常なコスト高となるばかりか、その類比判別に時間も
掛かり、精度を上げるためには一層のコスト高となっ
た。
2. Description of the Related Art There are various methods for determining whether or not a certain object has the same appearance. Among them, a method is often used in which the object is shown as an image signal in an image, the two images are discriminated to be coincident and discriminated, and the analogy of both images is discriminated. In this case, the method of multiplying the video signals of both images by an electronic calculator has been used in the past, but this not only results in a very high cost, but also because it takes time to determine the analogy and improves accuracy. It became even more expensive.

【0003】しかして、物の形状や模様等外観の一致不
一致の判別の要望は多い。たとえば、製品の部品等が正
しく取り付けられているか否かとか、IC等に印刷され
た文字等が正しく印刷されているか否かとか、あるいは
書類に押印された印が本物か否か等々各種有る。特に、
細かい形状の場合には、人間の目では誤り易いし肉体的
にも精神的にも長時間継続できない。殊に、ベルトコン
ベア等で、次から次へと送られて行く製品の判別には時
間的追従も問題となる。したがって、以上の点を撮像方
法を使用し、或る物体を先ず映像信号として処理し解決
したものが先に発明された。すなわち、先ず基準となる
物体を映像信号としてとらえ、これを、判別すべき物体
からの映像信号と比較すれば、上記の映像基準となる信
号に判別されるべき物体からの映像信号が一致するか否
かを判別することができる。すなわち、此の両者の映像
信号を比較することに依って、その両映像信号の一致度
すなわち両物体の外観等の一致度が判りその類否の判別
ができる。そして、此の場合両者の映像信号は通常、差
の絶対値を積分回路を通して基準値と比較するものであ
る。
However, there are many demands for discriminating whether the shapes or patterns of objects are the same or not. For example, there are various kinds such as whether or not the parts of the product are properly attached, whether or not the characters or the like printed on the IC are correctly printed, and whether or not the stamp imprinted on the document is genuine. In particular,
In the case of a fine shape, it is easy for the human eye to make a mistake and cannot continue physically or mentally for a long time. In particular, temporal follow-up is also a problem in distinguishing products that are sent one after another on a belt conveyor or the like. Therefore, an invention was first made in which a certain object was first processed as a video signal and solved by using the above-mentioned image pickup method. That is, first of all, if a reference object is regarded as a video signal and compared with a video signal from an object to be discriminated, whether the video signal from the object to be discriminated matches the above-mentioned video reference signal. It is possible to determine whether or not. That is, by comparing these two video signals, the degree of coincidence of both video signals, that is, the degree of coincidence of the appearances of both objects can be known, and the similarity can be determined. Then, in this case, the video signals of both are normally compared with the reference value through the integrating circuit for the absolute value of the difference.

【0004】[0004]

【発明が解決しようとする課題】しかし、以上のものに
おいて、第1に、外部機器や撮像機自体等の有する種々
の原因に基づく雑音に依って、その類否判別の精度が妨
げられた。第2に、上記の如くに両映像信号を比較する
場合において、2値化信号の場合には問題が生じた。す
なわち、2値化信号の場合には、アナログ信号をA/D変
換に依って得るのであるが、そのアナログ信号を一定の
閾値を境に0か1の信号に分けて為すものである。した
がって閾値すれすれのアナログ信号は、アナログの場合
ではそのままの値として評価されるが、デジタルでは0
か1かの両極端に無理矢理にわけられるゆえに誤解が生
じる。これは具体的には、閾値付近の輝度差の少ない部
分および映像の形状や模様の境目等に生じる。
However, in the above, first, the accuracy of the similarity judgment is hindered by the noise due to various causes of the external device, the image pickup device itself and the like. Secondly, in the case of comparing both video signals as described above, a problem occurs in the case of a binarized signal. That is, in the case of a binarized signal, an analog signal is obtained by A / D conversion, but the analog signal is divided into signals of 0 or 1 with a constant threshold value as a boundary. Therefore, an analog signal that is close to the threshold value is evaluated as it is in the case of analog, but is 0 in digital.
Misunderstanding occurs because it is forced to divide into one extreme. Specifically, this occurs in a portion where there is little difference in luminance near the threshold value, a boundary between image shapes and patterns, and the like.

【0005】[0005]

【課題を解決するための手段】本発明は、以上の点に鑑
み、先ず、外部雑音や撮像機自体等に原因のある内部雑
音の悪影響を少なくすべく、その悪影響の生じ易い個所
の度合いに応じて重みをつけた。なお、此の重みづけ
は、0を含むものであって、以下の説明においても同様
である。第2に、輝度信号の交換段階において、交換の
基準点を中心にして比較結果に段階の値すなわち重みを
持たせ、誤判別の原因となる個所の悪影響を避けた。此
のアナログ信号のA/D 変換時に発生するこの誤差を、で
きるだけ判定に影響を与えない様にする方法としてその
閾値付近に一定の幅を持たせ、その幅内の2値化信号の
比較結果に0を含む重み付けを行うことに依って上記の
問題を解決したものである。第3に画像の2値化信号の
VとHの両方向に遅延時間を持たせ、その間の信号の不
一致な個所に類否判別の評価価値を低減させた。
SUMMARY OF THE INVENTION In view of the above points, the present invention firstly reduces the adverse effects of external noise and internal noise caused by the image pickup device itself, etc., in order to reduce the adverse effects of the adverse effects. Weighted accordingly. Note that this weighting includes 0, and is the same in the following description. Secondly, at the luminance signal exchanging stage, the comparison result is given a stage value, that is, a weight around the reference point for exchanging, so as to avoid the adverse effect of a portion which causes a misjudgment. This error that occurs when A / D conversion of this analog signal is given a certain width near the threshold as a method that does not affect the judgment as much as possible, and the comparison result of the binarized signal within that width The above problem is solved by performing weighting including 0 in. Thirdly, a delay time is provided in both the V and H directions of the binarized signal of the image, and the evaluation value of the similarity determination is reduced at a portion where the signals in the binarized signal do not match.

【0006】以下に、本発明にかかる輝度信号比較判別
方法の具体的構成を述べる。先ず、デジタル回路を通じ
て判別される映像信号である被判別信号を、比較すべき
比較信号と比較することに依って、その被判別信号がそ
の比較信号に類似しているか否かを判別する方法を前提
とする。そこで、被判別信号と比較信号(基準信号)の
差の絶対値を出す。此の絶対値の値の低い部分は重みづ
けをする、すなわちそのまま評価せぬ様に除外するかそ
の値を低減するのである。その後、この重みづけをされ
た信号は積分され比較器で類否の比較の基準となる信号
と比較されることによって類否判別を為す輝度信号比較
判別方法である。
The specific configuration of the luminance signal comparison / discrimination method according to the present invention will be described below. First, by comparing a discriminated signal which is a video signal discriminated through a digital circuit with a comparison signal to be compared, a method for discriminating whether or not the discriminated signal is similar to the comparison signal is described. Assumption. Therefore, the absolute value of the difference between the signal to be discriminated and the comparison signal (reference signal) is output. The portion with a low absolute value is weighted, that is, it is excluded without being evaluated as it is or its value is reduced. Thereafter, this weighted signal is integrated and compared with a signal serving as a reference for comparison of similarity in a comparator, which is a luminance signal comparison / discrimination method.

【0007】そして、先ず、撮像方法から得られたアナ
ログの被判別信号を2値化の被判別用の輝度信号に変換
する。そして、記憶方法等から得られた比較信号も2値
化の基準用の輝度信号に変換するのである。一方、上記
の被判別信号の2値化の閾値の上下に渡って一定の幅を
持たせて、その幅内の2信号の差の絶対値には重みづけ
をし、積分をしてから比較器で類否の基準となる信号と
比較する。以上より構成される輝度信号比較判別方法で
ある。
Then, first, the analog discriminated signal obtained from the imaging method is converted into a binarized discriminated luminance signal. Then, the comparison signal obtained from the storage method or the like is also converted into a reference luminance signal for binarization. On the other hand, a certain width is provided above and below the binarization threshold of the signal to be discriminated, and the absolute value of the difference between the two signals within that width is weighted, integrated and then compared. The signal is compared with the signal that serves as a reference for similarity. This is a luminance signal comparison / discrimination method configured as described above.

【0008】最後に、本発明の確心を述べる。先ず、被
判別信号をV方向に時間を遅延させる。此の遅延時間の
中心を中心とした信号およびその遅延前の信号と遅延後
の信号との3信号をとり、その3信号の一致不一致を判
別する。そして、この中点からの遅延信号をH方向に時
間を遅延させる。此の方向の遅延時間の中点を中心とし
た信号およびその遅延前の信号と遅延後の信号との3信
号をとり、その3信号の一致不一致を判別する。そし
て、この3信号の一致不一致の判別信号と上記の3信号
の一致不一致の判別信号とを重みづけ信号とする。
Finally, the conviction of the present invention will be described. First, the signal to be discriminated is delayed in the V direction. A signal centered on the center of the delay time, three signals including a signal before the delay and a signal after the delay are taken, and the coincidence or non-coincidence of the three signals is determined. Then, the delay signal from this midpoint is delayed in the H direction. A signal centered on the midpoint of the delay time in this direction, and three signals of the signal before the delay and the signal after the delay are taken, and the coincidence / non-coincidence of the three signals is discriminated. Then, the determination signal of the match / mismatch of the three signals and the determination signal of the match / mismatch of the three signals are used as the weighting signals.

【0009】一方、基準信号を記憶装置等からとる。此
の基準信号をV方向に上記のV方向の遅延時間の中点と
同じ遅延時間遅延させる。つぎに、これをH方向に上記
のH方向の遅延時間の中点と同じ遅延時間遅延させる。
此の遅延された基準信号と上記の判別信号用の第2回目
の遅延時間の中点からの信号とを比較する。そして、こ
の出力を上記の重みづけ信号によって重みづけをする。
そして、この重みづけされた信号を比較器で類否の基準
となる信号と比較しその類否判断を為す。以上依り構成
される輝度信号比較判別方法である。なお、上記の被判
別信号と基準信号は、その構成を逆に位置づけしても良
い。さらに、上記のVとHの遅延も、その構成を逆に位
置づけしても良い。
On the other hand, the reference signal is taken from a storage device or the like. This reference signal is delayed in the V direction by the same delay time as the midpoint of the delay time in the V direction. Next, this is delayed in the H direction by the same delay time as the midpoint of the delay time in the H direction.
The delayed reference signal is compared with the signal from the midpoint of the second delay time for the discrimination signal. Then, this output is weighted by the weighting signal.
Then, the weighted signal is compared with a signal serving as a reference for similarity by a comparator to determine the similarity. This is a luminance signal comparison / discrimination method configured as described above. The configurations of the signal to be discriminated and the reference signal may be positioned opposite to each other. Further, the above-mentioned delays of V and H may be positioned in reverse.

【0010】[0010]

【作用】本発明にかかるは、以上のごとくに構成したゆ
え以下のごとき作用が生じた。先ず、被判別信号と基準
信号の絶対値が出される。そして、此の絶対値の値の低
い部分は、雑音成分が多いゆえに、此の部分から得られ
る信号すなわち誤差信号に重みづけをする。それに依っ
て一致不一致の判定誤差を少なくした輝度信号比較判別
方法が為される。つぎに、撮像方法で被判別用のアナロ
グ映像信号が得られる。これを2値化する。しかして、
上記の2値化の閾値付近に一定の幅をもたせて、その幅
内の信号は上記の如く比較判別の対象と為さぬか、ある
いはその値を低く評価するために、そこでの判定誤差は
低減した。
The function according to the present invention has the following effects because of the above-described configuration. First, the absolute values of the signal to be discriminated and the reference signal are output. Since the portion with a low absolute value has a lot of noise components, the signal obtained from this portion, that is, the error signal is weighted. Accordingly, a luminance signal comparison / discrimination method in which the coincidence / non-coincidence determination error is reduced is performed. Next, an analog video signal to be discriminated is obtained by the imaging method. This is binarized. Then,
A certain width is provided near the binarization threshold value, and the signal within the width is not used as a target for comparison / discrimination as described above, or its value is evaluated low, so that the determination error there is reduced. did.

【0011】最後に、本発明では、先ず被判別信号をV
とHの両方向に時間を遅延させ、此の遅延時間の中点を
中心として、その信号とその遅延前の信号および遅延後
の信号との幅を有した3信号を得る。一方、基準信号が
有り、これを上記の遅延時間の中点と同じ遅延時間遅延
させる。そして、此の基準信号用の遅延回路からの出力
と上記の判別信号用の遅延回路の中点からの出力信号と
を比較器に入力する。そして上記の3信号が一致した時
に此の比較器からの出力をそのまま出し、不一致のとき
にはその出力信号を除外するか低減して評価する。これ
は、具体的には上記の比較器からの出力と上記の3信号
の一致不一致信号とを重みづけ回路に入力する。しかし
て、此の重みづけ回路に代えて、上記の3信号一致不一
致で動作するスイッチ回路であって、上記の比較器から
の出力を、0を含めた高低の段階の有る値に切り替える
ものであっても良い。以上依り此の輝度信号比較判別方
法は、その判定誤差を低減化する。なお、上記の最終段
の回路は、0を含めた高低の段階の有る値の信号に為す
ものなら上記の回路に限定されるものではない。
Finally, in the present invention, first the signal to be discriminated is V
By delaying the time in both the directions H and H, three signals having the widths of the signal, the signal before the delay and the signal after the delay are obtained with the center of the delay time as the center. On the other hand, there is a reference signal, which is delayed by the same delay time as the midpoint of the delay time. Then, the output from the delay circuit for the reference signal and the output signal from the midpoint of the delay circuit for the discrimination signal are input to the comparator. When the above three signals match, the output from this comparator is output as it is, and when they do not match, the output signal is excluded or reduced and evaluated. Specifically, the output from the comparator and the coincidence / non-coincidence signal of the three signals are input to the weighting circuit. Therefore, instead of this weighting circuit, a switch circuit that operates with the above three signal coincidence and non-coincidence, and switches the output from the above comparator to a value with a high or low stage including 0. It may be. Based on the above, this luminance signal comparison / determination method reduces the determination error. The circuit at the final stage is not limited to the circuit described above as long as it is a signal having a value including high and low stages including 0.

【0012】[0012]

【実施例】以上の輝度信号比較判別方法を、その各一実
施例を用いてそれを示す各添付図面と共に以下に詳細に
説明する。先ず、デジタル回路を通じて判別される映像
信号である被判別信号を、比較すべき比較信号と比較す
ることに依って、その被判別信号がその比較信号に類似
しているか否かを判別する方法を前提とする。
BEST MODE FOR CARRYING OUT THE INVENTION The above-described luminance signal comparison / discrimination method will be described in detail below with reference to the accompanying drawings showing each of the embodiments. First, by comparing a discriminated signal which is a video signal discriminated through a digital circuit with a comparison signal to be compared, a method for discriminating whether or not the discriminated signal is similar to the comparison signal is described. Assumption.

【0013】しかして、第1図の概略回路図が示す如
く、被判別信号を INに入力し、基準信号を入力 REFに
インプットする。そして、その差の絶対値を一例を示す
概略の回路1を通じて取り出す。つぎに、これを回路2
等を通じて、その信号の低い部分をカットするか減衰さ
せる。もちろん此の減衰やカットは上記の絶対値を取り
出す時に使用するダイオードの特性、すなわちたとえば
シリコンダイオードの場合約 0.6Vで導電特性が変化し
て整流作用をもつという特性を利用してもよい。そし
て、此の重みづけをされた信号は、積分され比較器で類
否の基準となる信号と比較されその類否の判別が為され
る。以上に依り為す輝度信号比較判別方法である。
Thus, as shown in the schematic circuit diagram of FIG. 1, the signal to be discriminated is input to IN and the reference signal is input to input REF. Then, the absolute value of the difference is taken out through the schematic circuit 1 showing an example. Next, this is circuit 2
Cut or attenuate the low part of the signal, etc. Of course, this attenuation or cut may use the characteristic of the diode used when taking out the above-mentioned absolute value, that is, the characteristic that the conductive characteristic is changed at about 0.6 V in the case of a silicon diode to have a rectifying action. Then, the weighted signal is integrated and compared with a signal serving as a reference for similarity by a comparator to determine the similarity. This is the method for comparing and determining the luminance signal based on the above.

【0014】つぎに、被判別用のものからの映像を撮る
撮像方法がある。此の撮像方法で撮った被判別信号を A
/D変換機に送り、ここで2値化信号に変換し、それを比
較器に送る。一方、比較映像手段で比較信号を得る。此
の比較映像手段は、基準となる物を撮像方法で直に撮っ
たものでも良いし、それを各種の記録方法例えばビデオ
レコーダに収録したものを再生して使用したものでも良
い。つぎに、此の比較映像手段からの信号を別のA/D 変
換器に送り、ここで2値化信号に変換する。そして、そ
の出力を上記の比較器に送る。この比較器に入った上記
二者の信号はここで比較され、その出力信号が許容手段
に送られる。被判別用の撮像方法からと基準用の撮像方
法からの両映像信号は、どのような条件下においても内
部的外部的要因に依って100 パーセント同一と言う事は
有り得ない。したがって、その両信号の一致不一致の判
別には一定の許容度が必要となる。此の許容度を此の許
容手段で設定してその許容範囲に入るもののみを一致と
判断する。
Next, there is an imaging method for taking an image from the object to be discriminated. A to-be-determined signal taken by this imaging method is
It is sent to the / D converter, where it is converted into a binary signal and sent to the comparator. On the other hand, the comparison signal is obtained by the comparison image means. The comparison image means may be one in which a reference object is directly captured by an imaging method, or one in which various recording methods such as those recorded in a video recorder are reproduced and used. Next, the signal from the comparison image means is sent to another A / D converter, where it is converted into a binarized signal. Then, the output is sent to the comparator. The two signals entering the comparator are compared here and the output signal is sent to the admission means. The video signals from the discriminating imaging method and the reference imaging method cannot be 100% identical under any condition due to internal and external factors. Therefore, a certain degree of tolerance is required to determine whether the two signals match or mismatch. This allowance is set by this allowance means, and only those that are within that allowance range are judged to be coincident.

【0015】しかして、それでもデジタル処理の場合
は、上述の如くその2値化の閾値付近で「0」か「1」
に分けられてしまう。そのために、その付近での誤差が
増えてしまう。それゆえに、本発明においては、上記の
両A/D 変換器の閾値の上下に渡って一定の幅をもたせて
その幅内に輝度信号があるときにはその幅内で生じる誤
差信号に重みづけをする。そして、この重みづけをされ
た信号は、積分され、比較器で類否判断の基準となる信
号と比較される。
However, in the case of digital processing, "0" or "1" is still generated near the binarization threshold value as described above.
Will be divided into Therefore, the error in the vicinity increases. Therefore, in the present invention, a constant width is provided above and below the thresholds of both A / D converters, and when there is a luminance signal within that width, the error signal generated within that width is weighted. .. Then, the weighted signal is integrated and compared with a signal serving as a reference for similarity judgment by a comparator.

【0016】しかして、上記の回路の一部を、具体的な
回路図で第2図に示した。この第2図の実施例の場合
は、デジタル信号ゆえにその重みは0になる。先ず、上
述の如くにして得た被判別用の2値化された被判別信号
は、入力INよりデジタル信号比較器3に送られる。一
方、比較信号たる基準信号は、2値化されて入力 REFか
ら入り上記のデジタル信号比較器3に送られ、ここで上
記の両信号は比較される。なお、ここで20は第1閾値
設定器であり、21は第2閾値設定器であり、22は第
3閾値設定器である。そして、30,31,32は、A/
D変換器である。
A part of the above circuit is shown in FIG. 2 in a concrete circuit diagram. In the case of the embodiment shown in FIG. 2, the weight is 0 because it is a digital signal. First, the binarized discriminated signal for discrimination obtained as described above is sent to the digital signal comparator 3 from the input IN. On the other hand, the reference signal, which is a comparison signal, is binarized, inputted from the input REF, and sent to the digital signal comparator 3, where the two signals are compared. Here, 20 is a first threshold setting device, 21 is a second threshold setting device, and 22 is a third threshold setting device. And 30, 31, 32 are A /
It is a D converter.

【0017】しかして、入力INから入った上記の被判別
用の2値化信号は、そこから別れて閾値の上下に渡って
それぞれ比較器を通り重みづけを行うための信号を重み
付幅設定回路7から得、重みづけ回路8に入る。此の重
みづけ回路8には、上記のデジタル信号比較器3からの
出力も入力している。したがって、上記の重み付幅設定
回路7で定められた幅の誤差信号は、ここから出力され
ない。それゆえに、その範囲での誤差を低減できる。な
お、此の重みづけ回路8に代え第3図に示すスイッチ回
路8a を用いると、上記の重み付幅設定回路7でそのス
イッチが切換えられて、上記のデジタル信号比較器3か
らの出力信号に一致不一致度の値に軽重の段階を持たせ
ることが可能となる。
The binarized signal to be discriminated, which is input from the input IN, is separated from the binarized signal and passes through the comparators above and below the threshold value to set the weighting width. It is obtained from the circuit 7 and enters the weighting circuit 8. The output from the digital signal comparator 3 is also input to the weighting circuit 8. Therefore, the error signal having the width determined by the weighted width setting circuit 7 is not output from here. Therefore, the error in that range can be reduced. If the switch circuit 8a shown in FIG. 3 is used instead of the weighting circuit 8, the switch is switched by the weighting width setting circuit 7 and the output signal from the digital signal comparator 3 is output. It becomes possible to give the degree of coincidence degree a light weight.

【0018】しかして、本発明中の全ての発明に共通の
事柄であるが、それらの回路を複数段使用する事に依っ
て、複数段階の信号の軽重値を定めることも可能であ
る。最後に、第3の発明を述べる。先ず、被判別用信号
が入力INから入る。此の被判別信号を遅延回路でHとV
の両方向に時間を遅延させる。この遅延回路は、具体的
には、シリーズに結合のV方向の一画素ディ レイ回路9
と10およびその中点11からシリーズに結合のH方向
の一画素ディ レイ回路12と13より成る。そして、そ
れぞれにその遅延時間の中点を中心とした信号および、
その遅延前の信号と遅延後の信号との3信号をとって、
その3信号の一致不一致をアンドやナンドやオア回路等
で判別する。これは、具体的には、水平用重み付け回路
14と垂直用重み付け回路15とを用いる。そして、両
者の出力をオア回路に入力し、その出力を重みづけ信号
とする。
However, as is common to all the inventions in the present invention, it is possible to determine the lightness / multiplicity value of a signal in a plurality of stages by using a plurality of stages of those circuits. Finally, the third invention will be described. First, the signal to be discriminated enters from the input IN. This discriminated signal is delayed by H and V
Delay the time in both directions. This delay circuit is specifically a series of one pixel delay circuit 9 in the V direction coupled in series.
And 10 and the midpoint 11 thereof, and one pixel delay circuit 12 and 13 in the H direction connected in series. Then, a signal centered on the midpoint of the delay time and
Taking three signals, the signal before the delay and the signal after the delay,
The match / mismatch of the three signals is discriminated by an AND, NAND, OR circuit or the like. Specifically, the horizontal weighting circuit 14 and the vertical weighting circuit 15 are used. Then, both outputs are input to the OR circuit, and the output is used as a weighting signal.

【0019】一方基準信号が入力REF から入る。此の基
準信号を、VとHの方向のそれぞれに、それぞれ上記の
遅延時間の中点と同じ遅延時間を有した基準信号用の遅
延回路16等で遅延させる。この遅延回路16は、具体
的には、V方向の一画素ディレイ回路16a とH方向の一
画素ディ レイ回路16b より成る。そして、此の基準信号
用の遅延回路16からの出力と、上記の判別信号用のH
方向用の遅延回路の中点からの出力信号とを、比較器1
7に入力する。最後に、此の比較器17からの出力と上
記の判別段階値信号回路からの出力とを重みづけ回路1
8に入力する。そして、上記の重みづけ信号によってそ
の比較器17からの信号をそのまま出力したり止めたり
する。
On the other hand, the reference signal comes in from the input REF. This reference signal is delayed in each of the V and H directions by the reference signal delay circuit 16 or the like having the same delay time as the midpoint of the delay time. The delay circuit 16 is specifically composed of a one-pixel delay circuit 16a in the V direction and a one-pixel delay circuit 16b in the H direction. Then, the output from the delay circuit 16 for the reference signal and the H for the determination signal
The output signal from the middle point of the directional delay circuit is compared with the comparator 1
Type in 7. Finally, the output from the comparator 17 and the output from the discriminant step value signal circuit are weighted by the weighting circuit 1.
Enter in 8. Then, the signal from the comparator 17 is output or stopped as it is according to the weighting signal.

【0020】しかして、此の重みづけ回路18に代え
て、第3図に示した如く、上記の判別段階信号からの出
力で動作するスイッチ回路18a であって、上記の比較器
からの出力を0を含めた高低の段階の有る値に切り換え
るものであっても良い。そしてこれを複数段用いて重み
をそれぞれ変化させても良い事は上述の如くである。以
上依り構成される輝度信号比較判別方法である。なお、
上記の最終段の回路は、0を含めた高低の段階の有る値
の信号に為すものなら上記の回路に限定されるものでは
ない。しかして、上記にて重みづけをされた信号は、積
分されて比較器で類比判断の基準となる信号と比較され
その類比が判断される。
Instead of the weighting circuit 18, however, as shown in FIG. 3, a switch circuit 18a which operates by the output from the above-mentioned discrimination stage signal, and which outputs the output from the above-mentioned comparator. The value may be switched to a value having a high or low level including 0. As described above, the weight may be changed by using a plurality of stages. This is a luminance signal comparison / discrimination method configured as described above. In addition,
The circuit at the final stage is not limited to the circuit described above as long as it is a signal having a value including high and low stages including 0. Then, the weighted signal is integrated and compared by a comparator with a signal serving as a reference for analogy judgment, and the analogy is judged.

【0021】ところで、全ての発明において共通である
が、被判別記号は通常の可視光線用の撮像方法から得ら
たものでも良く、又X線の如き不可視光線を利用した撮
像方法から得たものであっても良い。さらには、基準信
号は直接撮像方法で得たものであっても良いし、ビデオ
テープレコーダーや半導体メモリー等の記憶方法から得
たものであっても良い。また、ウインドウすなわち、画
像中の要求される部分についてのみ積分を為しても良
い。
By the way, as is common to all the inventions, the symbol to be discriminated may be obtained from an ordinary imaging method for visible rays, or may be obtained from an imaging method utilizing invisible rays such as X-rays. May be Further, the reference signal may be obtained directly by the image pickup method or may be obtained by a storage method such as a video tape recorder or a semiconductor memory. Further, the integration may be performed only for the window, that is, the required portion of the image.

【0022】[0022]

【発明の効果】以上の如き構成に為したゆえに、本発明
にかかる輝度信号比較判別の方法は、その映像の境界や
雑音等での判別誤差を非常に小さくした優れたものとな
った。
Due to the above-mentioned structure, the method for comparing and discriminating the luminance signal according to the present invention is excellent in that the discriminating error due to the boundary of the image, noise or the like is extremely reduced.

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

【図1】本発明の輝度信号比較判別方法の一実施例に使
用の一部の概略回路図である。
FIG. 1 is a partial schematic circuit diagram used in an embodiment of a luminance signal comparison / determination method of the present invention.

【図2】その第2の発明に使用の一回路図である。FIG. 2 is a circuit diagram for use in the second invention.

【図3】そのスイッチ回路の一実施例の回路図である。FIG. 3 is a circuit diagram of an example of the switch circuit.

【図4】その一実施例の一部を表した回路図である。FIG. 4 is a circuit diagram showing a part of the embodiment.

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

1,4…撮像方法 2,5…A/D変換器 3…デジタル信号比較器 7…重み付幅設定回路 8a…スイッチ回路 9,10,16a…一画素ディレイ回路 11…中点 12,13,16a…一画素ディレイ回路 17…デジタル信号比較器 20…第1閾値設定器 21…第2閾値設定器 22…第3閾値設定器 30,31,32…A/D変換器 1, 4 ... Imaging method 2, 5 ... A / D converter 3 ... Digital signal comparator 7 ... Weighted width setting circuit 8a ... Switch circuit 9, 10, 16a ... One pixel delay circuit 11 ... Midpoint 12, 13, 16a ... 1 pixel delay circuit 17 ... Digital signal comparator 20 ... 1st threshold value setting device 21 ... 2nd threshold value setting device 22 ... 3rd threshold value setting device 30, 31, 32 ... A / D converter

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】デジタル回路を通じて判別される映像信号
である被判別信号を、比較すべき基準信号と比較するこ
とに依って、その被判別信号がその基準信号に類似して
いるか否かを判別する方法において; a) 被判別信号または基準信号のどちらかの信号をH
またはVのどちらかの方向に時間を遅延させ、此の遅延
時間の中点を中心とした信号およびその遅延前の信号と
遅延後の信号との3信号をとり、その3信号の一致不一
致を判別すると同時に;上記の中点からの信号をHまた
はV方向であって上記にて遅延させていない方の方向に
時間を遅延させ、この方向の遅延時間の中点を中心とし
た信号およびこの方向の遅延前の信号と遅延後の信号と
の3信号をとり、この方向の3信号の一致不一致を判別
し;この方向の3信号の一致不一致の判別信号と最初の
方向の3信号の一致不一致の判別信号とを重みづけ信号
とし、一方; b) 基準信号または被判別信号であって上記で遅延さ
せていない方の信号を上記の第2回目の遅延の遅延時間
の中点と同じ遅延時間遅延させ; 此の遅延された信号
と上記の被判別信号または基準信号用の第2回目の遅延
時間の中点からの信号と比較し;この出力を上記の重み
づけ信号で重み付けをしてから積分し、その後その出力
を類比度を比較する比較器で比較する輝度信号比較判別
方法。
1. A discriminated signal, which is a video signal discriminated through a digital circuit, is compared with a reference signal to be compared to discriminate whether or not the discriminated signal is similar to the reference signal. A) H of the signal to be discriminated or the reference signal
Alternatively, the signal is delayed in either direction of V or V, and a signal centered at the midpoint of this delay time, a signal before the delay, and a signal after the delay are taken, and the three signals are determined to match or not match. Simultaneously with the determination; delay the signal from the above middle point in the direction of H or V, which is not delayed in the above direction, and set the signal centered at the middle point of the delay time in this direction and 3 signals of a signal before delay and a signal after delay of a direction are taken, and a match / mismatch of 3 signals in this direction is determined; a match / mismatch determination signal of 3 signals in this direction and a match of 3 signals in the first direction The discriminant signal of non-coincidence is used as a weighting signal, while; b) the reference signal or the signal to be discriminated, which is not delayed above, is delayed by the same point as the midpoint of the delay time of the second delay described above. Time delay; this delayed signal and the above Comparison with the signal from the midpoint of the second delay time for the discrimination signal or the reference signal; this output is weighted with the above weighting signal and then integrated, and then the output is compared with analogy. Brightness signal comparison / discrimination method to compare with a detector.
JP3133289A 1991-05-10 1991-05-10 Luminance signal comparing and judging method Pending JPH05120435A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3133289A JPH05120435A (en) 1991-05-10 1991-05-10 Luminance signal comparing and judging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3133289A JPH05120435A (en) 1991-05-10 1991-05-10 Luminance signal comparing and judging method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP59198713A Division JPS6177989A (en) 1984-09-25 1984-09-25 Method of comparing and discriminating luminance signal

Publications (1)

Publication Number Publication Date
JPH05120435A true JPH05120435A (en) 1993-05-18

Family

ID=15101172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3133289A Pending JPH05120435A (en) 1991-05-10 1991-05-10 Luminance signal comparing and judging method

Country Status (1)

Country Link
JP (1) JPH05120435A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5728286A (en) * 1995-08-21 1998-03-17 Ngk Insulators, Ltd. Method of manufacturing extrusion die for extruding honeycomb structural body

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5728286A (en) * 1995-08-21 1998-03-17 Ngk Insulators, Ltd. Method of manufacturing extrusion die for extruding honeycomb structural body

Similar Documents

Publication Publication Date Title
JPS62214481A (en) Picture quality deciding device
US4999629A (en) Two tone and multiple image discrimination and signal binarization system
US7319776B2 (en) Image processing method and image processing program
JPH05120435A (en) Luminance signal comparing and judging method
US4259662A (en) Threshold setting circuit
JPH0698330A (en) Luminance signal comparison discrimination method
JP3957495B2 (en) Image sensor
JPS6177989A (en) Method of comparing and discriminating luminance signal
JPS62204381A (en) Ship image recognition device
JP3005262B2 (en) Image binarization circuit
JP2968277B2 (en) Character part separation method and apparatus
JP3303990B2 (en) Image signal processing device
JP3019518B2 (en) Image reading device
JPS6031362A (en) Video signal binary-coding system
JP2759963B2 (en) Lead bending detection method
JP3018628B2 (en) Image reading device
JPS58165175A (en) Object detection
JPS58142248A (en) Tester
JPH0132657B2 (en)
JPH0516225B2 (en)
JPS5971582A (en) Picture binary-coding system
JPH0330100A (en) Method for recognizing vehicle classification doce of number plate
JPS6034157B2 (en) Abnormality detection circuit for code reader TV/camera
JPS6177707A (en) Direction judging device of semiconductor integrated circuit device
JPS59103483A (en) System for discriminating binary value