JPH037982B2 - - Google Patents
Info
- Publication number
- JPH037982B2 JPH037982B2 JP56215606A JP21560681A JPH037982B2 JP H037982 B2 JPH037982 B2 JP H037982B2 JP 56215606 A JP56215606 A JP 56215606A JP 21560681 A JP21560681 A JP 21560681A JP H037982 B2 JPH037982 B2 JP H037982B2
- Authority
- JP
- Japan
- Prior art keywords
- frame memory
- self
- processing device
- diagnosis
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/2236—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Image Input (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
- Processing Or Creating Images (AREA)
Description
【発明の詳細な説明】
本発明は画像処理装置の自己診断方法、特に複
数のフレームメモリによつて種々の画像処理を行
なう装置の各フレームメモリの異常を簡単に診断
することのできる自己診断方法に関するものであ
る。DETAILED DESCRIPTION OF THE INVENTION The present invention provides a self-diagnosis method for an image processing device, and particularly a self-diagnosis method that can easily diagnose abnormalities in each frame memory of a device that performs various image processing using a plurality of frame memories. It is related to.
テレビカメラなどによつて撮像された画像情報
をデジタル信号として二次元的に記憶可能なフレ
ームメモリが周知であり、種々の画像処理に用い
られている。この種の画像処理装置としては、各
種製造工程における検査装置として用いることが
でき、たとえば連続製造工程でのワークの有無を
検出するために用いられまた金型その他の外形を
基準形状と比較する検査装置としても用いられて
いる。さらに、車両の組立て工程においては、こ
の装置がヘツドライトの光軸測定にも実用化さ
れ、検査車両のヘツドライトをモニタスクリーン
に照射し、これをモニタテレビカメラによつて撮
像し、この時のビームパターンを基準画像と比較
して、その面積、周囲長或いは重心位置などから
光軸ずれが検査され、このような光軸測定を検査
者の目視によることなく行え、且つ検査工程を自
動化することができる利点を有する。 2. Description of the Related Art Frame memories capable of two-dimensionally storing image information captured by a television camera or the like as digital signals are well known and are used for various image processing. This type of image processing device can be used as an inspection device in various manufacturing processes.For example, it is used to detect the presence or absence of a workpiece in a continuous manufacturing process, and it is also used for inspection to compare the external shape of a mold or other object with a standard shape. It is also used as a device. Furthermore, in the vehicle assembly process, this device is also put into practical use to measure the optical axis of headlights.The headlights of the inspection vehicle are irradiated onto a monitor screen, this is imaged by a monitor television camera, and the beam pattern at this time is measured. The optical axis deviation is inspected based on the area, perimeter, center of gravity, etc. by comparing the image with a reference image, and this optical axis measurement can be performed without visual inspection by the inspector, and the inspection process can be automated. has advantages.
しかしながら、このような画像処理装置におい
ては、フレームメモリが電気的なシヨートなどに
より所望の作動が得られなくなる場合があり、こ
のような異常を適確に診断する装置が望まれてい
た。特に、前述した車両の光軸測定などにおいて
は、大量の車両を最終検査にて測定するので、フ
レームメモリの異常発生時には、光軸不整の車両
が出荷されることとなり極めて大きな問題となる
ので、装置の自己診断を手軽に行なうことが要望
されていた。 However, in such an image processing apparatus, there are cases where the frame memory cannot perform the desired operation due to an electrical shot, etc., and there has been a desire for an apparatus that can accurately diagnose such an abnormality. In particular, in the optical axis measurement of vehicles mentioned above, a large number of vehicles are measured in the final inspection, so if an abnormality occurs in the frame memory, a vehicle with an optical axis misalignment will be shipped, which will cause an extremely serious problem. There has been a demand for easy self-diagnosis of devices.
従来、光軸測定に用いられる画像処理装置で
は、装置の診断を行なうため診断用の正しく光軸
調整された車両を検査し、この検査結果が正常で
あればフレームメモリも正常であると診断するダ
ミー検査が考えられていたが実際上、このような
実車両による診断は連続的な検査工程遂行時には
ほとんど不可能であつた。 Conventionally, in image processing devices used for optical axis measurement, in order to diagnose the device, a vehicle whose optical axis has been correctly adjusted for diagnosis is inspected, and if the inspection results are normal, the frame memory is also diagnosed to be normal. Although dummy testing was considered, in reality, such diagnosis using an actual vehicle is almost impossible when continuous testing processes are performed.
また、従来の他の診断方法としては、画像処理
装置に診断用の別個の画像処理装置を接続して診
断作用を行なうことも提案されているが、この方
法によれば、診断の都度装置をたとえば光軸測定
から切り離す必要があり、実用的でないという欠
点があつつた。 In addition, as another conventional diagnostic method, it has been proposed to connect a separate image processing device for diagnosis to the image processing device to perform a diagnostic operation. For example, it had to be separated from optical axis measurement, making it impractical.
本発明は従来の課題に鑑みなされたものであ
り、その目的は、簡単な構造で特別な診断機構を
付加することなく確実に画像処理装置の自己診断
を行なうことのできる改良された自己診断方法を
提供することにある。 The present invention was made in view of the conventional problems, and its purpose is to provide an improved self-diagnosis method that can reliably perform self-diagnosis of an image processing device with a simple structure and without adding any special diagnostic mechanism. Our goal is to provide the following.
上記目的を達成するために、本発明は、、複数
のフレームメモリにそれぞれ画像情報を記憶さ
せ、該画像情報を基準画像と比較して所定の画像
処理を行なう画像処理装置において、任意の1個
のフレームメモリに自己診断用の基準パターンを
書き込み、該基準パターンを他のフレームメモリ
に転送し、転送されたフレームメモリからの基準
パターンを再び読み出して通常の処理プログラム
に従つて前記入力した基準パターンと比較解析
し、画像処理装置の画像処理を行ない、装置の自
己診断を行なうことを特徴とする。 To achieve the above object, the present invention provides an image processing apparatus that stores image information in each of a plurality of frame memories and performs predetermined image processing by comparing the image information with a reference image. A reference pattern for self-diagnosis is written in the frame memory of the frame memory, the reference pattern is transferred to another frame memory, the reference pattern is read again from the transferred frame memory, and the input reference pattern is read out according to the normal processing program. It is characterized in that it performs a comparative analysis, performs image processing on the image processing device, and performs self-diagnosis of the device.
以下図面に基づいて本発明の好適な実施例を説
明する。 Preferred embodiments of the present invention will be described below based on the drawings.
第1図には本発明に用いられる画像処理装置を
車両前照灯の光軸測定に利用した実施例装置が示
されており、3個のフレームメモリ10,12,
14が用いられ、各フレームメモリ10,12,
14はそれぞれ右側及び左側の前照灯のビーム画
像を記憶し、またフレームメモリ14は検査車両
の据付位置を記憶する。前記各フレームメモリ1
0,12,14に所定の画像情報を供給するため
3台のテレビカメラ16,18,20が設けら
れ、それぞれテレビカメラ16,18は検査車両
の前照灯から照射されるモニタスクリーン用のビ
ームパターンを撮像し、またテレビカメラ20は
検査車両の据付状態を撮像する。各テレビカメラ
16,18,20の画像情報はアナログ信号であ
るため、これがそれぞれAD変換器22,24,
26によつてデジタル信号に変換され、切替スイ
ツチ部28に供給される。 FIG. 1 shows an example device in which the image processing device used in the present invention is used for measuring the optical axis of a vehicle headlamp, and includes three frame memories 10, 12,
14 are used, and each frame memory 10, 12,
14 stores the beam images of the right and left headlights, respectively, and the frame memory 14 stores the installation position of the inspection vehicle. Each frame memory 1
Three television cameras 16, 18, and 20 are provided to supply predetermined image information to cameras 0, 12, and 14, and each of the television cameras 16 and 18 uses a beam for a monitor screen emitted from the headlight of the inspection vehicle. The pattern is imaged, and the television camera 20 images the installation state of the inspection vehicle. Since the image information of each television camera 16, 18, 20 is an analog signal, this is transmitted to the AD converter 22, 24,
26 converts it into a digital signal and supplies it to the changeover switch section 28.
前記切替スイツチ部28は処理装置30からの
指令によつて前記供給されたデジタル信号の画像
情報をそれぞれ対応する前述したフレームメモリ
10,12,14に供給して所定のビーム画像及
び車両画像をデジタル値として記憶する。 The changeover switch section 28 supplies the image information of the supplied digital signal to the corresponding frame memories 10, 12, and 14 according to a command from the processing device 30, and converts the predetermined beam image and vehicle image into digital data. Store as a value.
前記各フレームメモリ10,12,14に記憶
された画像情報は処理装置30に供給され、所定
の基準画像と比較され、この時の車両の据付状態
に応じた補正が行なわれて基準画像との比較値が
所定の許容範囲にある場合に検査車両の光軸が正
しく設定されていることを判断し、また許容範囲
外にある場合にその調整が行なわれる。通常、基
準画像との比較はビーム画像の面積、周囲長及び
重心をパラメータとして行ない、瞬時に光軸検査
を行なうことができる。 The image information stored in each of the frame memories 10, 12, and 14 is supplied to the processing device 30 and compared with a predetermined reference image, and corrections are made according to the installation condition of the vehicle at this time to compare it with the reference image. If the comparison value is within a predetermined tolerance range, it is determined that the optical axis of the inspected vehicle is correctly set, and if it is outside the tolerance range, adjustment is performed. Normally, comparison with a reference image is performed using the area, perimeter, and center of gravity of the beam image as parameters, allowing instantaneous optical axis inspection.
本発明においては、前述した画像処理装置の基
体的な処理プログラムを用いて自己診断を行なう
ことを特徴とし、このために、処理装置30が自
己診断モードを選択した場合には、処理装置30
から任意に選択されたいずれか1つのフレームメ
モリ、実施例においてはフレームメモリ10また
は12のいずれか一方に基準パターン情報100
が供給され、これがいずれかの選択されたフレー
ムメモリ10,12に記憶される。 The present invention is characterized in that self-diagnosis is performed using the basic processing program of the image processing device described above, and for this purpose, when the processing device 30 selects the self-diagnosis mode, the processing device 30
The reference pattern information 100 is stored in any one frame memory arbitrarily selected from
is supplied and stored in either selected frame memory 10, 12.
本実施例においては、前記基準パターン情報1
00としては、前述した通常の光軸測定に用いら
れる基準画像が好適であり、第2図にはこの基準
画像がビーム形状として示されており、このよう
な基準パターン情報100がデジタル信号として
供給される。 In this embodiment, the reference pattern information 1
00 is preferably the reference image used in the normal optical axis measurement described above, and this reference image is shown as a beam shape in FIG. 2, and such reference pattern information 100 is supplied as a digital signal. be done.
次に、前述したフレームメモリ10,12に記
憶された基準パターンは他のいずれかのフレーム
メモリ12,14に順次転送され、通常の処理作
用が行なわれる。基準パターンの転送のため、本
実施例においては、前記切替スイツチ部28が有
用であり、処理装置30からの指令によつて所定
の切替作用が選択されると、前記たとえばフレー
ムメモリ10に記憶されている基準パターンは順
次他のフレームメモリ12,14に順次正しく転
送される。 Next, the reference pattern stored in the frame memories 10 and 12 described above is sequentially transferred to one of the other frame memories 12 and 14, and normal processing operations are performed. In order to transfer the reference pattern, the changeover switch section 28 is useful in this embodiment, and when a predetermined switching action is selected by a command from the processing device 30, the reference pattern is stored in the frame memory 10, for example. The reference patterns included in the frame memories 12 and 14 are sequentially and correctly transferred to the other frame memories 12 and 14.
そして、この転送されたフレームメモリたとえ
ば12の基準パターンは再び処理装置30によつ
て通常の処理作用と同様に、実施例においては通
常の光軸測定と同様のプログラム処理によつてフ
レームメモリ10に書き込んだ基準パターンとの
比較が行なわれ、これが所定許容範囲にある場合
にフレームメモリ10から12に到り系が正常で
あると判断され、またこの比較値が許容値を外れ
ているとこの系になんらかの異常があることが判
定される。実施例における許容基準値は、通常の
光軸測定におけるよりも厳しく設定され、これに
より、装置の異常を適確に検査することが可能と
なる。 Then, the transferred frame memory, for example, 12 reference patterns, is stored in the frame memory 10 again by the processing device 30 in the same way as normal processing, in this embodiment, by program processing similar to normal optical axis measurement. A comparison is made with the written reference pattern, and if this is within a predetermined tolerance range, the frame memories 10 to 12 are reached and the system is determined to be normal, and if this comparison value is outside the tolerance value, the system is determined to be normal. It is determined that there is some kind of abnormality. The allowable reference values in the embodiments are set more strictly than in normal optical axis measurements, thereby making it possible to accurately test for abnormalities in the apparatus.
第3図には第1図の自己診断作用が示されてい
る。この自己診断は各検査車両の光軸検査に先立
つてその都度行なつても或いは1日1回などの適
当な間隔で行なつてもよい。処理装置30が自己
診断モードを選択すると、まず、実施例において
はフレームメモリ10(No.1)へ処理装置30か
ら基準パターン情報100の書き込みが行なわ
れ、第2図のような光軸検査に用いられる基準パ
ターンが記憶される。 FIG. 3 shows the self-diagnosis function of FIG. 1. This self-diagnosis may be performed each time prior to the optical axis inspection of each inspected vehicle, or may be conducted at appropriate intervals such as once a day. When the processing device 30 selects the self-diagnosis mode, first, in the embodiment, the reference pattern information 100 is written from the processing device 30 to the frame memory 10 (No. 1), and the optical axis inspection as shown in FIG. 2 is performed. The reference pattern used is stored.
次に、このパターンが切替スイツチ28を介し
てフレームメモリ10からフレームメモリ12
(No.2)へ転送される。 Next, this pattern is transferred from the frame memory 10 to the frame memory 12 via the changeover switch 28.
Transferred to (No. 2).
そして、処理装置30はフレームメモリ12の
データ解析、すなわち、所定の画像処理プログラ
ムに従つた処理、実施例においては、フレームメ
モリ12の記憶画像を所定の基準画像と比較する
処理が行なわれる。 The processing device 30 then performs data analysis of the frame memory 12, that is, processing according to a predetermined image processing program, and in the embodiment, a process of comparing the image stored in the frame memory 12 with a predetermined reference image.
フレームメモリ10から12へ至る系が正常で
ある場合には、フレームメモリ12の記憶してい
る画像は処理装置30の基準画像と同一であるた
め、両者はほとんど完全に合致し、これによつ
て、「OK」なる判定が行なわれる。この時の判
定許容範囲は通常の光軸検査時よりは厳しく設定
することが好適である。 When the system from the frame memories 10 to 12 is normal, the image stored in the frame memory 12 is the same as the reference image in the processing device 30, so the two match almost completely, and as a result, , a determination of "OK" is made. It is preferable that the permissible judgment range at this time be set more strictly than during normal optical axis inspection.
一方、前記判定が「NG」となつた時には、フ
レームメモリ12の記憶しているパターンが処理
装置30の基準画像と異なる場合であり、これは
フレームメモリ10から12に至る系によつて情
報の歪みが生じたことを示し、この系のいずれか
に異常があることを示している。 On the other hand, when the judgment is "NG", it means that the pattern stored in the frame memory 12 is different from the reference image in the processing device 30, and this means that the system from the frame memories 10 to 12 processes the information. This indicates that distortion has occurred, indicating that something is wrong with this system.
以上のようにフレームメモリ10から12に至
る系の自己診断が完了すると、次に切替スイツチ
部28はフレームメモリ10の基準パターン情報
100を次のフレームメモリ14(No.3)へ転送
し、同様の判定を行なう。 When the self-diagnosis of the system from frame memories 10 to 12 is completed as described above, the changeover switch unit 28 transfers the reference pattern information 100 of the frame memory 10 to the next frame memory 14 (No. 3), and similarly Make a judgment.
以上の2回の繰返し自己診断が全て「OK」で
あれば、フレームメモリ群は正常であると判断さ
れ、自己診断が終了するが、いずれかの段階で異
常が認められた場合には、それぞれ第3図で示し
た段階にて各フレームメモリの異常が判別され、
また前記2回の繰返し自己診断によつても常に異
常を示す場合には、さらに処理装置30はフレー
ムメモリ12(No.2)へ基準パターン情報100
の書き込みを行ない、これをさらに切替スイツチ
28によつてフレームメモリ14へ転送し前記と
同様の自己診断を行ない、異常発生箇所を明確に
する。 If the above two repeated self-diagnosis results are all OK, the frame memory group is judged to be normal and the self-diagnosis ends. However, if an abnormality is found at any stage, each At the stage shown in Figure 3, the abnormality of each frame memory is determined,
Furthermore, if the above two repeated self-diagnoses always show an abnormality, the processing device 30 further stores the reference pattern information 100 in the frame memory 12 (No. 2).
This is further transferred to the frame memory 14 by the changeover switch 28, and the same self-diagnosis as described above is performed to clarify the location where the abnormality has occurred.
以上のようにして、本発明によれば、極めて単
時間の自己診断で且つなんらの付属装置を接続す
ることなく、処理装置30に設けられている画像
処理プログラムをそのまま利用して装置の自己診
断を行なうことができ、また複数回の自己診断に
よつて異常箇所を確定することも可能となる。 As described above, according to the present invention, the self-diagnosis of the device can be performed in a very short period of time, and without connecting any accessory device, by directly using the image processing program provided in the processing device 30. It is also possible to determine the location of an abnormality through multiple self-diagnosis.
以上説明したように、本発明では、画像処理装
置の異常を自動的に自己診断し、また自己診断時
間も極めて短縮できるので、手軽に且つ高頻度で
診断作用を行なうことができ、特に車両の光軸測
定装置などに用いれば、検査の信頼性を著しく向
上することができるなど種々の利点を奏すること
ができる。 As explained above, according to the present invention, abnormalities in the image processing device can be automatically self-diagnosed, and the self-diagnosis time can also be extremely shortened. If used in an optical axis measuring device or the like, it can provide various advantages such as significantly improving the reliability of inspection.
第1図は本発明に係る自己診断方法が適応され
た車両の光軸測定装置を示す概略構成図、第2図
は第1図に用いられる基準パターン情報を示す説
明図、第3図は第1図の作用を示すフローチヤー
ト図である。
10,12,14……フレームメモリ、16,
18,20……テレビカメラ、28……切替スイ
ツチ部、30……処理装置、100……基準パタ
ーン情報。
FIG. 1 is a schematic configuration diagram showing a vehicle optical axis measuring device to which the self-diagnosis method according to the present invention is applied, FIG. 2 is an explanatory diagram showing reference pattern information used in FIG. 1, and FIG. FIG. 2 is a flowchart showing the operation of FIG. 1; 10, 12, 14...Frame memory, 16,
18, 20... Television camera, 28... Changeover switch section, 30... Processing device, 100... Reference pattern information.
Claims (1)
記憶させ、該画像情報を基準画像と比較して所定
の画像処理を行なう画像処理装置において、任意
の1個のフレームメモリに自己診断用の基準パタ
ーンを書き込み、該基準パターンを他のフレーム
メモリに転送し、転送されたフレームメモリから
の基準パターンを再び読み出して通常の処理プロ
グラムに従つて前記入力した基準パターンと比較
解析し、画像処理装置の画像処理を行ない、装置
の自己診断を行なうことを特徴とする画像処理装
置の自己診断方法。1. In an image processing device that stores image information in each of a plurality of frame memories and performs predetermined image processing by comparing the image information with a reference image, a reference pattern for self-diagnosis is written in any one frame memory. , transfer the reference pattern to another frame memory, read out the reference pattern from the transferred frame memory again, compare and analyze it with the input reference pattern according to a normal processing program, and perform image processing by the image processing device. 1. A self-diagnosis method for an image processing device, characterized in that the image processing device performs a self-diagnosis of the device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56215606A JPS58115700A (en) | 1981-12-28 | 1981-12-28 | Self-diagnosing method for picture processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56215606A JPS58115700A (en) | 1981-12-28 | 1981-12-28 | Self-diagnosing method for picture processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58115700A JPS58115700A (en) | 1983-07-09 |
| JPH037982B2 true JPH037982B2 (en) | 1991-02-04 |
Family
ID=16675208
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56215606A Granted JPS58115700A (en) | 1981-12-28 | 1981-12-28 | Self-diagnosing method for picture processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58115700A (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63123169A (en) * | 1986-11-12 | 1988-05-26 | Fujitsu Ltd | Image inputting and coupling unit |
| US6356671B1 (en) | 1991-07-05 | 2002-03-12 | Fanuc Ltd. | Image processing method for an industrial visual sensor |
| JP2921718B2 (en) * | 1991-07-05 | 1999-07-19 | ファナック株式会社 | Image processing method for industrial vision sensor |
-
1981
- 1981-12-28 JP JP56215606A patent/JPS58115700A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58115700A (en) | 1983-07-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| DE4101921B4 (en) | Device for dynamic balancing of a motor vehicle wheel consisting of tires and rims | |
| KR101877773B1 (en) | Automatic test system for digital display systems | |
| KR20210120229A (en) | Image-based jig inspection system and method | |
| JPS6021675A (en) | Method and apparatus of automatic correction of position shift of television camera in measuring device | |
| JPH04203921A (en) | Distance detecting apparatus | |
| JPH037982B2 (en) | ||
| JPS629848B2 (en) | ||
| JP2005219660A (en) | In-vehicle electrical component evaluation system | |
| JPH11341479A (en) | Surveillance television camera system | |
| EP0428626B1 (en) | Automated system for testing an imaging sensor | |
| CN112466002A (en) | Calibration verification method of hardware-in-the-loop-based panoramic all-round parking system | |
| JPS58132648A (en) | Automatic inspection method and device for printed wiring boards | |
| JPH0741845Y2 (en) | Shim removal device | |
| JPS6258132A (en) | Apparatus for inspecting backlash quantity | |
| JPH01207878A (en) | Contour inspection device | |
| KR0157742B1 (en) | Ferrite Core Inspection Device and Method | |
| JPH0213984Y2 (en) | ||
| JP3131952B2 (en) | Optical fiber fusion splicer | |
| JPH047448B2 (en) | ||
| KR0147319B1 (en) | Eyelet eccentric automatic inspection device and method of bead mount | |
| JP2545570B2 (en) | Inclination inspection method for connecting lines by image processing | |
| JPS63135849A (en) | Substrate inspection system | |
| Hollingum | Automated inspection for the ‘gauge’and ‘panel’lines | |
| JP3234616B2 (en) | Defect inspection equipment | |
| JPH04109315U (en) | Instrument panel assembly inspection equipment |