JPH04352286A - Image processor - Google Patents

Image processor

Info

Publication number
JPH04352286A
JPH04352286A JP3126428A JP12642891A JPH04352286A JP H04352286 A JPH04352286 A JP H04352286A JP 3126428 A JP3126428 A JP 3126428A JP 12642891 A JP12642891 A JP 12642891A JP H04352286 A JPH04352286 A JP H04352286A
Authority
JP
Japan
Prior art keywords
data
threshold level
difference
image data
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.)
Pending
Application number
JP3126428A
Other languages
Japanese (ja)
Inventor
Hideo Yamaguchi
秀雄 山口
Masao Kishimoto
雅夫 岸本
Kingo Ozawa
金吾 小沢
Yoshio Kato
加藤 喜男
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.)
Tokyo Keiki Inc
Original Assignee
Tokimec Inc
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 Tokimec Inc filed Critical Tokimec Inc
Priority to JP3126428A priority Critical patent/JPH04352286A/en
Publication of JPH04352286A publication Critical patent/JPH04352286A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily and speedily adjust a threshold level by providing a means which properly varying the value of the threshold level, a signal processing means and a display control means. CONSTITUTION:A display control part 5 converts difference data into switching data according to a specific level by using a color table 52 and transfers the data to a switching part 54 in sequence and in a switching part 5, analog switches SW1-SW3 are selected and switched into a conducting state. The value of the threshold level is properly varied by adjustment, etc., and the difference between image data to be decided and reference image data is displayed on a display means by making plural different colors correspond to the values of the differences. Consequently, the difference can be confirmed visually and instinctively. Therefore, the threshold level for deciding whether or not there is abnormality and the difference point from the reference image data in an optimum state can easily be adjusted over a look at the colored display.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、例えば被判定物におけ
る変化の有無を発見する等の為に用いられる画像処理装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus used, for example, to discover the presence or absence of a change in an object to be determined.

【0002】0002

【従来の技術】従来、被判定物に異常等の変化が発生し
たか否かの判定を行う画像処理装置にあっては、まず、
被判定物をビデオカメラ等で撮像して、1フレーム画に
相当する画像データを各画素毎の画素データとしてビデ
オRAM等の記憶装置に記憶すると共に、この1フレー
ム画のデータを基準データと決め、更に変化判断等を行
うための基準となるスレッショルドレベル(閾値レベル
)を予め設定しておく。
2. Description of the Related Art Conventionally, in an image processing apparatus that determines whether or not a change such as an abnormality has occurred in an object to be determined, first,
The object to be determined is imaged with a video camera, etc., and image data corresponding to one frame image is stored in a storage device such as a video RAM as pixel data for each pixel, and the data of this one frame image is determined as reference data. Furthermore, a threshold level (threshold value level) serving as a reference for making change judgments, etc. is set in advance.

【0003】そして、実際の判断処理を行う場合には、
被判定物をビデオカメラで撮像し、この撮像によって得
られる1フレーム画分の各画素データを、記憶装置内の
1フレーム分の基準データの各画素データと比較し、各
画素データ毎のレベルの差を演算する。即ち、被判定物
を撮像することによって得た画像データと基準データと
の差の絶対値を各画素毎に求め、更に、各画素毎の差の
絶対値を上記閾値レベルと比較して、閾値レベルより大
きな差を生じた画素に対応する被判定物の部分に異常が
発生した等の判断を行う。
[0003] When performing actual judgment processing,
The object to be determined is imaged with a video camera, each pixel data of one frame fraction obtained by this imaging is compared with each pixel data of one frame of reference data in the storage device, and the level of each pixel data is determined. Calculate the difference. That is, the absolute value of the difference between the image data obtained by imaging the object to be determined and the reference data is determined for each pixel, and then the absolute value of the difference for each pixel is compared with the above threshold level to determine the threshold value. It is determined that an abnormality has occurred in the portion of the object to be determined that corresponds to the pixel in which the difference is greater than the level.

【0004】より具体的な例として、プラスチック成形
機に使用される監視装置について述べれば、成形動作中
に成形用金型に異常が発生したか否かを常時監視する場
合に、まず、異常の無い状態での成形用金型の像を基準
データとして記憶しておき、成形動作中に異物が成形金
型に付着したり、型開完了時に成形品の一部が金型に付
着したままであったりすると、成形動作時に撮影して得
た画像データと基準データとの各画素毎の差を所定の閾
値レベルと比較することで、異常箇所だけが閾値レベル
を超えることから、異常発生の箇所を検出する事が出来
るようになっていた。
As a more specific example, regarding a monitoring device used in a plastic molding machine, when constantly monitoring whether or not an abnormality has occurred in a mold during molding operation, the first step is to detect an abnormality. By storing an image of the mold without any mold as reference data, you can prevent foreign matter from adhering to the mold during the molding operation, or from parts of the molded product still adhering to the mold when the mold is opened. If so, by comparing the difference for each pixel between the image data taken during the molding operation and the reference data with a predetermined threshold level, only the abnormal area exceeds the threshold level, so it is possible to identify the area where the abnormality has occurred. It became possible to detect.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の画像処理装置にあっては、基準データと被判
定物を撮像して得られた画像データとの差を予め設定し
た上記閾値レベルを基準として比較することにより、基
準データと被判定物の画像データとの相違を検出するよ
うにしているので、閾値レベルの設定値に応じてその判
定精度が変化することとなり、最適な閾値レベルを設定
することが極めて煩雑且つ困難であるという問題があっ
た。
[Problems to be Solved by the Invention] However, in such conventional image processing devices, the above-mentioned threshold level is set in advance to be the difference between the reference data and the image data obtained by imaging the object to be determined. Differences between the standard data and the image data of the object to be judged are detected by comparing them as a standard, so the judgment accuracy changes depending on the threshold level setting, so it is difficult to determine the optimal threshold level. There is a problem that setting is extremely complicated and difficult.

【0006】即ち、閾値レベルを高い値に設定した場合
には、いわゆる感度が低下することとなるので、異常箇
所等を検出することができなかったり、逆に閾値レベル
を低い値に設定すると、いわゆる感度が上がるので、ノ
イズを異常等と判定してしまったり、被判定物を照らす
ための照明の光強度の僅かな変動で判定結果が変動する
等の問題を招来する。
[0006] That is, if the threshold level is set to a high value, the so-called sensitivity decreases, so abnormalities etc. cannot be detected, and conversely, if the threshold level is set to a low value, Since the so-called sensitivity increases, problems arise such as noise being judged as abnormal or the judgment result changing due to a slight change in the light intensity of the illumination for illuminating the object to be judged.

【0007】このように、最適な閾値レベルを設定する
ためには、微妙な調整が必要であり、上記プラスチック
成形機に画像処理装置を設置して異常発生を監視するよ
うな場合について述べれば、まず、画像処理装置を設置
した状態で成形機に試運転を行わせ、試行錯誤による閾
値レベルの調整を繰り返すことで最適化を図る等の煩雑
な操作を必要としていた。又、被判定物が異なるとその
都度上記のような試行錯誤による煩雑な調整を行う必要
があることから非効率であった。
[0007] As described above, in order to set the optimum threshold level, delicate adjustments are required.In the case where an image processing device is installed in the above-mentioned plastic molding machine to monitor the occurrence of abnormality, it is as follows. First, it was necessary to perform a trial run of the molding machine with the image processing device installed, and to perform optimization by repeatedly adjusting the threshold level through trial and error. Furthermore, if the object to be judged differs, it is necessary to make the above-described complicated adjustment by trial and error each time, which is inefficient.

【0008】本発明はこのような課題に鑑みて成された
ものであり、上記閾値レベルの調整を迅速且つ簡単に行
うことができる画像処理装置を提供することを目的とす
る。
The present invention has been made in view of the above problems, and it is an object of the present invention to provide an image processing device that can quickly and easily adjust the threshold level.

【0009】[0009]

【課題を解決するための手段】このような目的を達成す
るために本発明は、予め被判定物を撮像するなどしてし
て得た基準画像データを記憶しておき、画像処理時に被
判定物を撮像して得た被判定画像データと比較して、基
準画像データと被判定画像データの差が所定の閾値レベ
ルを超えた箇所については異常等の変化が発生したと判
定する画像処理装置を対象とする。
[Means for Solving the Problems] In order to achieve such an object, the present invention stores reference image data obtained by taking an image of an object to be determined in advance, and uses the data to store the reference image data obtained by taking an image of the object to be determined in advance. An image processing device that compares the image data to be determined obtained by imaging an object and determines that a change such as an abnormality has occurred in a portion where the difference between the reference image data and the image data to be determined exceeds a predetermined threshold level. The target is

【0010】そして、上記閾値レベルの値を調整等によ
って適宜に変化させることができるようにすると共に、
上記被判定画像データと基準画像データの差について、
上記閾値レベルを基準にして、その差の大きさに応じて
複数の異なる色を対応させて表示手段に表示することに
より、上記差の大きさを視覚的且つ直観的に確認するこ
とができるようにした。
[0010]The value of the threshold level can be changed as appropriate by adjustment or the like, and
Regarding the difference between the above image data to be determined and the reference image data,
By displaying a plurality of different colors on the display means in correspondence with the size of the difference based on the threshold level, the size of the difference can be confirmed visually and intuitively. I made it.

【0011】尚、画像処理の対象となる上記被判定画像
データ及び基準画像データについての分解能は本発明に
おいて限定するものではない。即ち、例えば、ビデオカ
メラ等の撮像装置で被判定物を撮像する場合には、点順
次走査の周期に相当する最も高い分解能の1フレーム分
の各画素データから成る上記被判定画像データと、同じ
く点順次走査の周期に相当する最も高い分解能の1フレ
ーム分の各画素データから成る上記基準画像データとの
各画素データ毎の差について、各画素毎に上記のような
複数色による着色処理を行っても良いし、複数の画素群
毎に平均化処理することによって分解能を低下させた上
記被判定画像データと、同様に処理した基準画像データ
の差について、分解能を低下させた各部分毎に上記のよ
うな複数色で着色するようにしても良い。又、他の周知
の画像処理手段によって適宜の分解能で処理するように
しても良い。
[0011] Note that the present invention does not limit the resolution of the image data to be determined and the reference image data to be subjected to image processing. That is, for example, when capturing an image of a target object with an imaging device such as a video camera, the target image data described above is composed of pixel data for one frame of the highest resolution corresponding to the period of point sequential scanning. Coloring processing using multiple colors as described above is performed for each pixel for the difference between each pixel data and the reference image data, which is composed of each pixel data for one frame of the highest resolution corresponding to the cycle of point sequential scanning. For the difference between the image data to be determined whose resolution has been lowered by averaging each of multiple pixel groups and the reference image data which has been processed in the same way, the above image data can be calculated for each part whose resolution has been lowered. It may be colored with multiple colors such as . Alternatively, the image may be processed with an appropriate resolution using other well-known image processing means.

【0012】0012

【作用】このような構成にすると、判定処理時に撮像し
て得られた被判定画像データと予め設定した基準画像デ
ータとの差の大きさに応じて異なった着色表示が成され
、閾値レベルの値を適宜に変化させるのに応じて着色状
態が変化する。したがって、異常の有無や基準画像デー
タとの相違点を最適状態で判定するための閾値レベルの
調整を、その着色表示を見ながら容易に行うことができ
る。
[Operation] With this configuration, different colored displays are created depending on the size of the difference between the image data to be determined obtained by imaging during the determination process and the reference image data set in advance, and the threshold level is The coloring state changes as the value is changed appropriately. Therefore, it is possible to easily adjust the threshold level for determining the presence or absence of an abnormality and the difference from the reference image data in an optimal state while looking at the colored display.

【0013】このことは、従来のように試行錯誤的に調
整を行う場合に較べて、視覚に訴え且つ、最適な判定状
態を得るための閾値レベルの傾向を容易に認識すること
ができるので、調整操作を容易にすると共に精度の良い
調整を可能にする。
[0013] This is more visually appealing than the conventional case where adjustments are made by trial and error, and the tendency of the threshold level to obtain the optimum judgment state can be easily recognized. To facilitate adjustment operations and enable highly accurate adjustment.

【0014】[0014]

【実施例】以下、本発明による一実施例を図面と共に説
明する。まず、図1ないし図3に基づいて画像処理装置
の構成を説明する。尚、この実施例は、プラスチック成
形機における金型の異常発生の有無を監視するための画
像処理装置に関する。図1において、1は成形機に設け
られている可動側金型、2は固定側金型であり、図示し
ない駆動手段によって所定タイミングで一連の射出成形
処理が行われる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. First, the configuration of the image processing apparatus will be explained based on FIGS. 1 to 3. This embodiment relates to an image processing device for monitoring whether or not abnormality occurs in a mold in a plastic molding machine. In FIG. 1, 1 is a movable mold provided in a molding machine, and 2 is a fixed mold, in which a series of injection molding processes are performed at predetermined timing by a drive means (not shown).

【0015】3は監視用ビデオカメラであり、この実施
例では、可動側金型1の異常の有無を監視するために設
置されている。そして、監視用ビデオカメラ3は点順次
走査の周期で可動側金型1を撮像することにより得た静
止画のフレーム画像信号を信号処理部4へ伝送する。5
は表示制御部であり、信号処理部4で後述する所定の信
号処理を行うことによって形成されたデータを更に処理
して、表示用のモニター6に処理結果を表示させる。
Reference numeral 3 denotes a monitoring video camera, and in this embodiment, it is installed to monitor the movable mold 1 for abnormalities. Then, the monitoring video camera 3 transmits a frame image signal of a still image obtained by imaging the movable mold 1 at a period of point-sequential scanning to the signal processing unit 4. 5
A display control section further processes data formed by performing predetermined signal processing to be described later in the signal processing section 4, and causes the display monitor 6 to display the processing results.

【0016】7は操作盤であり、操作者が閾値レベルの
調整や、監視用ビデオカメラ3の撮像条件をリモートコ
ントロールで指示する等の際に使用する。8はタイミン
グ制御部であり、成形機の成形動作と画像処理装置の画
像処理との同期をとるための同期信号を発生すると共に
、信号処理部4が後述する異常発生等を判断すると、信
号処理部4からの指令信号を成形機へ転送して、成形動
作を停止させる等の制御を行う。
Reference numeral 7 denotes an operation panel, which the operator uses when adjusting the threshold level or instructing the imaging conditions of the surveillance video camera 3 by remote control. 8 is a timing control unit that generates a synchronization signal for synchronizing the molding operation of the molding machine and the image processing of the image processing device, and also performs signal processing when the signal processing unit 4 determines that an abnormality has occurred, which will be described later. A command signal from section 4 is transferred to the molding machine to perform controls such as stopping the molding operation.

【0017】図2は信号処理部4の構成を更に詳細に示
す。即ち、信号処理部4は、監視用ビデオカメラ3から
の画像信号を受信し、A/D変換部41が監視用ビデオ
カメラ3の点順次走査のタイミングに同期して各画素信
号をデジタルデータ(以下、各画素信号に対応するデー
タを画素データという)に変換して、ランダムアクセス
メモリ(RAM)等で形成されている画像メモリ42に
画素配列に準じて記憶する。したがって、監視用ビデオ
カメラ3からの1フレームの静止画像に対応する画像デ
ータを格納し、これを被判定画像データとする。
FIG. 2 shows the configuration of the signal processing section 4 in more detail. That is, the signal processing unit 4 receives an image signal from the surveillance video camera 3, and the A/D conversion unit 41 converts each pixel signal into digital data ( The data corresponding to each pixel signal is hereinafter referred to as pixel data) and is stored in the image memory 42 formed of a random access memory (RAM) or the like according to the pixel arrangement. Therefore, image data corresponding to one frame of still image from the monitoring video camera 3 is stored, and this is used as image data to be determined.

【0018】43は基準画像データを記憶するための基
準データ用メモリであり、画像メモリ42と同じランダ
ムアクセスメモリ(RAM)等で形成され、1フレーム
画相当の記憶容量を備えている。44は演算機能を有す
るマイクロコンピュータ等からなる演算部であり、画像
メモリ42と基準データ用メモリ43に格納された画像
データについて画像処理を行うことにより、成形機中の
可動側金型1の異常の有無を判定する。更に、この判定
処理に適用される閾値レベルのデータは予め内部レジス
タ等に記憶され、又、操作盤7からの指示により適宜に
変更することができるようになっている。
Reference numeral 43 denotes a reference data memory for storing reference image data, which is formed of the same random access memory (RAM) as the image memory 42 and has a storage capacity equivalent to one frame image. 44 is a calculation unit consisting of a microcomputer or the like having a calculation function, and performs image processing on the image data stored in the image memory 42 and the reference data memory 43 to detect abnormalities in the movable mold 1 in the molding machine. Determine the presence or absence of. Furthermore, the threshold level data applied to this determination process is stored in advance in an internal register or the like, and can be changed as appropriate by instructions from the operation panel 7.

【0019】ここで、基準データ用メモリ43中に、点
順次走査に対応するn×m個の画素データ、d11, 
d12, ……, d1m、d21, d22, ……
, d2m、……、dn1, dn2, ……, dn
mが格納され、画像メモリ42にも点順次走査に対応す
るn×m個の画素データ、D11, D12, ……,
 D1m、D21, D22, ……, D2m、……
、Dn1,Dn2, ……, Dnmが格納されている
ものとすると、演算部44は、各配列順に、|d11−
D11|,|d12−D12|,……, |dnm−D
nm|の減算及び絶対値の演算を行い(以下、このデー
タを差データという)、表示制御部5へ供給する。
Here, in the reference data memory 43, n×m pixel data corresponding to point sequential scanning, d11,
d12, ..., d1m, d21, d22, ...
, d2m, ..., dn1, dn2, ..., dn
m is stored, and n×m pixel data corresponding to point sequential scanning are also stored in the image memory 42, D11, D12, ...,
D1m, D21, D22, ..., D2m, ...
, Dn1, Dn2, ..., Dnm are stored, the calculation unit 44 stores |d11-
D11|, |d12-D12|,..., |dnm-D
Subtraction of nm| and calculation of the absolute value are performed (hereinafter, this data will be referred to as difference data), and the resultant data is supplied to the display control section 5.

【0020】図3は表示制御部5の構成を更に詳しく示
す。即ち、図3において、51はデータバッファであり
、演算部44から転送されてくる各差データを、点順次
走査の周期で一時的に保持する。52はカラーテーブル
であり、データバッファ51に保持された差データのレ
ベルに対応したデータを出力する。即ち、カラーテーブ
ル52は、ランダムアクセスメモリ(RAM)で形成さ
れた所謂ルックアップテーブルの機能を有しており、そ
のときの閾値レベルにおける差データに対する表示色が
書き込まれている。閾値レベルTHを変更した場合には
、カラーテーブル52のデータを書き換えることにより
表示色を変更する。そして、差データのレベルを例えば
4段階に区分して、差データが第1のレベル0〜L1の
範囲にある場合には、青色を指定する切換データDBを
出力し、第2のレベルL1〜L2の範囲にある場合には
、緑色を指定する切換データDGを出力し、第3のレベ
ルL2〜L3の範囲にある場合には黄色を指定する切換
データDYを出力し、第4のレベルL3を超える範囲に
ある場合には、赤色を指定する切換データDRを出力す
る。
FIG. 3 shows the configuration of the display control section 5 in more detail. That is, in FIG. 3, 51 is a data buffer, which temporarily holds each difference data transferred from the arithmetic unit 44 in a dot-sequential scanning period. A color table 52 outputs data corresponding to the level of the difference data held in the data buffer 51. That is, the color table 52 has the function of a so-called look-up table formed of a random access memory (RAM), and the display colors corresponding to the difference data at the current threshold level are written therein. When the threshold level TH is changed, the display color is changed by rewriting the data in the color table 52. Then, the level of the difference data is divided into, for example, four levels, and when the difference data is in the range of the first level 0 to L1, the switching data DB specifying blue is output, and the level of the difference data is in the range of the first level 0 to L1. If it is within the range of L2, switching data DG specifying green is output; if it is within the range of third levels L2 to L3, switching data DY specifying yellow is output; If the range exceeds , switching data DR specifying red is output.

【0021】53は点順次走査の周期に同期した同期信
号を発生する表示タイミング発生部であり、この同期信
号に同期してデータバッファ51は、演算部44からの
差データを点順次走査のタイミングに同期して受信して
カラーテーブル52へ供給し、更に、カラーテーブル5
2もこの同期信号に同期して差データを上記の条件で切
換データに変換して出力する。したがって、画素毎に変
換された切換データが点順次走査の周期に同期して時系
列的に出力される。
Reference numeral 53 denotes a display timing generator that generates a synchronization signal synchronized with the period of dot sequential scanning, and in synchronization with this synchronization signal, the data buffer 51 converts the difference data from the calculation section 44 into the timing of dot sequential scanning. is received in synchronization with the color table 52, and is further supplied to the color table 52.
2 also converts the difference data into switching data under the above conditions in synchronization with this synchronization signal and outputs it. Therefore, switching data converted for each pixel is output in time series in synchronization with the period of dot sequential scanning.

【0022】54は3個のアナログスイッチSW1,S
W2,SW3を有する切換部であり、夫々のアナログス
イッチSW1,SW2,SW3の入力側接点に、監視用
ビデオカメラ3から点順次走査に同期して時系列的に転
送されてくる画素信号が供給され、アナログスイッチS
W1の出力側接点がモニター6のR(赤)入力端子、ア
ナログスイッチSW2の出力側接点がG(緑)入力端子
、アナログスイッチSW3の出力側接点がB(青)入力
端子に接続している。
54 are three analog switches SW1, S
It is a switching unit having W2 and SW3, and the input side contacts of the respective analog switches SW1, SW2, and SW3 are supplied with pixel signals transferred in time series from the surveillance video camera 3 in synchronization with point-sequential scanning. and analog switch S
The output side contact of W1 is connected to the R (red) input terminal of monitor 6, the output side contact of analog switch SW2 is connected to the G (green) input terminal, and the output side contact of analog switch SW3 is connected to the B (blue) input terminal. .

【0023】更に、切換データDRが供給された場合に
はアナログスイッチSW1のみ導通、切換データDGが
供給された場合にはアナログスイッチSW2のみ導通、
切換データDBが供給された場合にはアナログスイッチ
SW3のみ導通、そして、切換データDYが供給された
場合にはアナログスイッチSW1とSW2が導通となり
、指示データは表示タイミング発生部53からの同期信
号によって同期しているので、監視用ビデオカメラ3か
ら転送されてくる画素信号が崩れることなくモニター6
へ供給される。
Further, when the switching data DR is supplied, only the analog switch SW1 is conductive, and when the switching data DG is supplied, only the analog switch SW2 is conductive.
When the switching data DB is supplied, only the analog switch SW3 is conductive, and when the switching data DY is supplied, the analog switches SW1 and SW2 are conductive, and the instruction data is generated by the synchronization signal from the display timing generator 53. Because they are synchronized, the pixel signals transferred from the surveillance video camera 3 are transmitted to the monitor 6 without being distorted.
supplied to

【0024】又、表示タイミング発生部53は、モニタ
ー6に供給した画素  信号に基づいて被判定物の画像
に再生させるための同期信号Sync をモニター6へ
供給している。次に、かかる構成の信号処理装置の動作
を説明する。まず、正常状態での可動側金型1を監視用
ビデオカメラ3で撮像し、各画素信号をA/D変換部4
1で画素データに変換し、画像メモリ42及び演算部4
4を介して基準データ用メモリ43へ記憶させる。この
処理によって基準データ用メモリ43には、1フレーム
画に相当する静止画像のデータが格納される。尚、監視
項目に応じた撮像を行うので、例えば、型開完了時に成
形品の異常の有無を監視する場合には、可動側金型1に
成形品が存在する状態を撮像して画像データとして格納
し、或いは、型締め開始時に可動側金型1から成形品が
取り外された状態での該可動側金型1の異常の有無を監
視する場合には、予め可動側金型1だけの画像データを
基準データ用メモリ43に格納するというように、監視
項目に応じた前処理を行う。
The display timing generating section 53 also supplies the monitor 6 with a synchronization signal Sync for reproducing the image of the object based on the pixel signals supplied to the monitor 6. Next, the operation of the signal processing device having such a configuration will be explained. First, the movable mold 1 in a normal state is imaged by the monitoring video camera 3, and each pixel signal is transferred to the A/D converter 4.
1, it is converted into pixel data, and the data is transferred to the image memory 42 and the calculation unit 4.
4 to the reference data memory 43. Through this process, still image data corresponding to one frame image is stored in the reference data memory 43. In addition, since images are taken according to the monitoring items, for example, when monitoring the presence or absence of abnormalities in the molded product upon completion of mold opening, the state in which the molded product is present in the movable mold 1 is captured and imaged as image data. When storing or monitoring whether there is any abnormality in the movable mold 1 after the molded product has been removed from the movable mold 1 at the start of mold clamping, an image of only the movable mold 1 must be prepared in advance. Preprocessing is performed according to the monitoring item, such as storing data in the reference data memory 43.

【0025】次に、成形機を作動させ、上記前処理時に
撮像したのと同じ条件の時に監視用ビデオカメラ3によ
る撮像及び画像処理装置による処理を周期的に行わせる
。この処理タイミングは操作盤7から操作者が設定する
。そして、監視用ビデオカメラ3から出力された画素信
号は、A/D変換部41で画素データに変換されて画像
メモリ42に格納されると、演算部44は、基準データ
用メモリ43と画像メモリ42の各画素データについて
上記の減算処理を行い、この差データを監視用ビデオカ
メラ3の点順次走査のタイミングに同期して順次に表示
制御部5へ転送する。
Next, the molding machine is operated, and the monitoring video camera 3 takes an image and the image processing device performs processing periodically under the same conditions as the image taken during the pre-processing. This processing timing is set by the operator from the operation panel 7. Then, when the pixel signal output from the surveillance video camera 3 is converted into pixel data by the A/D converter 41 and stored in the image memory 42, the arithmetic unit 44 converts the reference data memory 43 and the image memory into pixel data. The subtraction processing described above is performed on each of the 42 pixel data, and this difference data is sequentially transferred to the display control unit 5 in synchronization with the timing of point-sequential scanning of the monitoring video camera 3.

【0026】表示制御部5は、カラーテーブル52にお
いて、差データを所定レベルに応じて切換データに変換
し、順次に切換部54へ転送し、切換部54は切換デー
タに応じてアナログスイッチSW1〜SW3が選択され
て導通状態に切り換わる。この結果、モニター6には、
監視用ビデオカメラ3から供給される画素信号のレベル
に応じて、赤(R),黄(Y),青(B),緑(G)の
着色された画像が再生されることとなり、その着色は差
データのレベルと閾値ベルTHとの差に応じて変化する
こととなる。
The display control section 5 converts the difference data into switching data according to a predetermined level in the color table 52, and sequentially transfers the data to the switching section 54, which switches the analog switches SW1 to SW1 according to the switching data. SW3 is selected and switched to a conductive state. As a result, monitor 6 has
Depending on the level of the pixel signal supplied from the surveillance video camera 3, images colored red (R), yellow (Y), blue (B), and green (G) are reproduced, and the coloring will change depending on the difference between the level of the difference data and the threshold value TH.

【0027】このモニター6に再生される着色画像に対
する基準画像データと被判定画像データの差と閾値レベ
ルとの関係は、図4に示すような関係に設定されており
、基準画像データと被判定画像データの差の絶対値に対
して閾値レベルの大きさを変化させると、その差が同じ
であっても、モニター6の着色が赤、黄、青、緑のいず
れかに変更することができるように成っており、この相
関データはカラーテーブル52にルックアップテーブル
として記憶されている。  更に、この着色処理を図5
〜図8に基づいて説明する。
The relationship between the difference between the reference image data and the judged image data and the threshold level for the colored image reproduced on the monitor 6 is set as shown in FIG. By changing the magnitude of the threshold level with respect to the absolute value of the difference in image data, the coloring of the monitor 6 can be changed to red, yellow, blue, or green even if the difference is the same. This correlation data is stored in the color table 52 as a lookup table. Furthermore, this coloring process is shown in Figure 5.
- Explanation will be made based on FIG. 8.

【0028】例えば、基準データ用メモリ43に格納さ
れている各画素毎の画素データと画像メモリ42に一時
的に格納される各素毎の画素データとの差の絶対値が、
図5に示すように、XY座標で示される撮像面に対する
Z軸の値で示されるように分布したとする。そして、閾
値レベルをある低い値th1に設定したとすると、カラ
ーテーブル52のデータを演算部44からの指令に基づ
き閾値th1のときの着色条件をカラーテーブル52に
書き込む。カラーテーブル52は、閾値レベルth1に
対して予め設定された着色条件に基いて切換データを出
力するので、モニター6には図6に示すような赤(R)
,黄(Y),青(B),緑(G)の着色が成される。
For example, the absolute value of the difference between the pixel data for each pixel stored in the reference data memory 43 and the pixel data for each pixel temporarily stored in the image memory 42 is
As shown in FIG. 5, it is assumed that the distribution is as shown by the Z-axis value with respect to the imaging plane shown by the XY coordinates. Then, assuming that the threshold level is set to a certain low value th1, the coloring conditions at the threshold value th1 are written into the color table 52 based on the data in the color table 52 based on a command from the calculation unit 44. Since the color table 52 outputs switching data based on coloring conditions set in advance for the threshold level th1, the monitor 6 displays red (R) as shown in FIG.
, yellow (Y), blue (B), and green (G).

【0029】又、閾値レベルを更に高いレベルth2に
設定した場合には、カラーテーブル52のデータを閾値
th2のときの着色条件に書き換える。そして、閾値レ
ベルth2に対して予め設定された着色条件に基づいて
、例えばモニター6には図7に示すように、別の色で着
色が成される。更に又、閾値レベルを更に高いレベルt
h3に設定した場合には、カラーテーブル52のデータ
を閾値th3のときの着色条件に書き換える。そして、
閾値レベルth3に対し予め設定された着色条件に基づ
いて、例えばモニター6には図8に示すように、別の色
で着色される。
Furthermore, when the threshold level is set to a higher level th2, the data in the color table 52 is rewritten to the coloring conditions for the threshold value th2. Then, based on the coloring conditions set in advance for the threshold level th2, the monitor 6 is colored with a different color, as shown in FIG. 7, for example. Furthermore, the threshold level is set to a higher level t
When set to h3, the data in the color table 52 is rewritten to the coloring conditions for the threshold th3. and,
Based on coloring conditions preset for the threshold level th3, the monitor 6 is colored with a different color, as shown in FIG. 8, for example.

【0030】このように、閾値レベルを適宜に変化させ
ると、モニター6には閾値レベルを基準にした差データ
が着色されてリアルタイムで表示されることとなる。こ
の実施例では、操作者は、操作盤7から演算部44に対
して適宜に閾値レベルTHを変更するための指示を行う
ことができるので、閾値レベルTHを調節することによ
って、再生画像の着色を部分毎に変化させることができ
る。
[0030] By appropriately changing the threshold level in this manner, the difference data based on the threshold level is colored and displayed on the monitor 6 in real time. In this embodiment, the operator can instruct the calculation unit 44 from the operation panel 7 to change the threshold level TH as appropriate, so that by adjusting the threshold level TH, the reproduced image can be colored. can be changed for each part.

【0031】したがって、例えば、監視時にノイズが多
く発生するような場合には、モニター6の再生画像の着
色を見ながら、ノイズレベルより若干高いレベルの閾値
THを設定することで、そのノイズ成分の影響を受けな
いように調整したり、或いは、上記演算部44における
減算処理によって得られる差データの値は、異常箇所よ
りも異常の無い部分の方が小さくなるので、例えばこれ
らの値の間のレベルに閾値THを適宜に調整することで
、異常箇所と正常箇所の着色を異ならせて、識別し易く
する等の効果を得ることが出来る。
Therefore, for example, if a lot of noise occurs during monitoring, by setting the threshold TH at a level slightly higher than the noise level while watching the coloring of the reproduced image on the monitor 6, the noise component can be reduced. The value of the difference data obtained by adjusting it so as not to be influenced or by subtracting processing in the calculation unit 44 will be smaller in the non-abnormal part than in the abnormal part, so for example, if the difference between these values is By appropriately adjusting the threshold value TH to the level, it is possible to obtain an effect such as making the abnormal part and the normal part colored differently to make them easier to identify.

【0032】尚、このような閾値レベルTHの調節は一
例であり、操作者が適宜に着色条件を設定することで、
精度の良い画像処理を行うことが可能となる。又、閾値
レベルTHを変化させる毎にリアルタイムで再生画像の
着色が変化することから、操作者が調節する閾値レベル
THが操作者の望む着色条件に対してどの様な傾向にあ
るかを容易に認識することができるので、調節が極めて
容易となると共に精度の良い調節を可能にしている。
[0032] It should be noted that such adjustment of the threshold level TH is just an example, and the operator can set the coloring conditions as appropriate.
It becomes possible to perform highly accurate image processing. In addition, since the coloring of the reproduced image changes in real time each time the threshold level TH is changed, it is easy to see how the threshold level TH adjusted by the operator tends to correspond to the coloring conditions desired by the operator. Since it can be recognized, adjustment is extremely easy and allows highly accurate adjustment.

【0033】次に、他の実施例を図9に基づいて説明す
る。上記第1の実施例との相違点を述べる。尚、全体的
な概略構成は、図1及び図2と同様であるが、図9に示
すように、表示制御部5の構成及び機能が異なっている
。即ち、この実施例では、図9に示すように、監視用ビ
デオカメラ3からの画素信号について画像を再生せず、
赤(R)、青(B)、緑(G)、黄(Y)の切換データ
DR,DB,DG,DYを“L”と“H”の2値データ
で直接にモニター6のRGB入力端子に供給するように
成っている。
Next, another embodiment will be explained based on FIG. 9. Differences from the first embodiment described above will be described. The overall schematic configuration is the same as that in FIGS. 1 and 2, but as shown in FIG. 9, the configuration and function of the display control section 5 are different. That is, in this embodiment, as shown in FIG. 9, no image is reproduced for the pixel signals from the surveillance video camera 3;
Red (R), blue (B), green (G), yellow (Y) switching data DR, DB, DG, DY are directly input to the RGB input terminal of monitor 6 as binary data of “L” and “H”. It is designed to supply

【0034】この結果、図3の切換部54が不要となり
構成を簡素化することができる。尚、第1の実施例は、
監視用ビデオカメラ3からの画素信号について、赤(R
)、青(B)、緑(G)、黄(Y)のいずれかの色を着
色して画像再生を行うような構成であるので、被判定物
を着色した状態で鮮明に再生することができるのに対し
、この実施例では再生画像の階調制御が成されないので
鮮明度が低下するが、適用分野によっては、実用的に問
題の無い画像処理装置を提供することができる。
As a result, the switching section 54 shown in FIG. 3 becomes unnecessary, and the configuration can be simplified. In addition, the first example is as follows.
Regarding the pixel signal from the surveillance video camera 3, red (R
), blue (B), green (G), or yellow (Y) to reproduce the image, it is possible to reproduce the image clearly with the object to be determined colored. However, in this embodiment, since the gradation control of the reproduced image is not performed, the sharpness is lowered, but depending on the field of application, it is possible to provide an image processing apparatus that does not have any practical problems.

【0035】尚、これらの2実施例では、赤(R)、青
(B)、緑(G)、黄(Y)の四色の着色を行うように
したが、これに限定するものではなく、カラーテーブル
52及び切換部54の構成を多数色に対応するように追
加・変更を行うことで、更に多数の色で表示するように
してもよい。
[0035] In these two examples, the four colors of red (R), blue (B), green (G), and yellow (Y) were used, but the invention is not limited to this. By adding or changing the configuration of the color table 52 and the switching unit 54 so as to correspond to a large number of colors, it is also possible to display a larger number of colors.

【0036】[0036]

【発明の効果】以上説明したように本発明によれば、閾
値レベルの値を調整等によって適宜に変化させることが
できるようにすると共に、上記被判定画像データと基準
画像データの差について、上記閾値レベルを基準にして
、その差の大きさに応じて複数の異なる色を対応させて
表示手段に表示することにより、上記差の大きさを視覚
的且つ直観的に確認することがきるようにしたので、異
常の有無や基準画像データとの相違点を最適状態で判定
するための閾値レベルの調整を、その着色表示を見なが
ら容易に行うことができ、同時に調整精度の向上を図る
ことができる。
As explained above, according to the present invention, the value of the threshold level can be appropriately changed by adjustment, etc., and the difference between the image data to be judged and the reference image data can be adjusted according to the above-described method. By displaying a plurality of different colors corresponding to the magnitude of the difference on the display means based on the threshold level, the magnitude of the difference can be confirmed visually and intuitively. Therefore, it is possible to easily adjust the threshold level to determine the presence or absence of abnormalities and differences from reference image data in an optimal state while looking at the colored display, and at the same time, it is possible to improve the adjustment accuracy. can.

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

【図1】本発明による画像処理装置の一実施例の構成を
示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of an image processing apparatus according to the present invention.

【図2】図1中の信号処理部の構成を詳細に示すブロッ
ク図である。
FIG. 2 is a block diagram showing in detail the configuration of a signal processing section in FIG. 1;

【図3】図1中の表示制御部の構成を詳細に示すブロッ
ク図である。
FIG. 3 is a block diagram showing in detail the configuration of a display control section in FIG. 1;

【図4】図3中のカラーテーブル52の機能を説明する
ための説明図である。
4 is an explanatory diagram for explaining the function of a color table 52 in FIG. 3. FIG.

【図5】一実施例の動作を説明するための説明図である
FIG. 5 is an explanatory diagram for explaining the operation of one embodiment.

【図6】一実施例の動作を更に説明するための説明図で
ある。
FIG. 6 is an explanatory diagram for further explaining the operation of one embodiment.

【図7】一実施例の動作を更に説明するための説明図で
ある。
FIG. 7 is an explanatory diagram for further explaining the operation of one embodiment.

【図8】一実施例の動作を更に説明するための説明図で
ある。
FIG. 8 is an explanatory diagram for further explaining the operation of one embodiment.

【図9】本発明による画像処理装置の他の実施例の構成
を説明するために相違箇所である表示制御部の構成を示
すブロック図である。
FIG. 9 is a block diagram showing the configuration of a display control section, which is a different part, for explaining the configuration of another embodiment of the image processing apparatus according to the present invention.

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

1;可動側金型 2;固定側金型 3;監視用ビデオカメラ 4;信号処理部 5;表示制御部 6;モニター 7;操作盤 8;タイミング制御部 41;A/D変換部 42;画像メモリ 43;基準データ用メモリ 44;演算部 51;データバッファ 52;カラーテーブル 53;表示タイミング 54;切換部 1; Movable side mold 2; Fixed side mold 3; Surveillance video camera 4; Signal processing section 5; Display control section 6; Monitor 7; Control panel 8; Timing control section 41; A/D conversion section 42; Image memory 43; Memory for reference data 44; Arithmetic unit 51; data buffer 52; Color table 53;Display timing 54; switching section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  予め被判定物の基準画像データを記憶
しておき、画像処理時に被判定物を撮像して得た被判定
画像データと比較して、基準画像データと被判定画像デ
ータの差が所定の閾値レベルを超えた箇所を検出するこ
とにより、被判定物の変化を判定する画像処理装置にお
いて、前記閾値レベルの値を適宜に変化させる手段と、
前記判定画像データと基準画像データの差の大きさを、
上記閾値レベルを基準にして検出する信号処理手段と、
該信号処理手段によって得られた上記差の大きさに応じ
て複数の異なる色を対応させて表示手段に表示させる表
示制御手段を具備したことを特徴とする画像処理装置。
Claim 1: Store reference image data of an object to be determined in advance, and compare it with image data to be determined obtained by capturing an image of the object during image processing, and calculate the difference between the reference image data and the image data to be determined. In an image processing apparatus that determines a change in an object by detecting a location where the threshold value exceeds a predetermined threshold level, means for appropriately changing the value of the threshold level;
The size of the difference between the judgment image data and the reference image data is
Signal processing means for detecting based on the threshold level,
An image processing apparatus characterized by comprising display control means for causing a display means to display a plurality of different colors in correspondence with each other according to the magnitude of the difference obtained by the signal processing means.
JP3126428A 1991-05-30 1991-05-30 Image processor Pending JPH04352286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3126428A JPH04352286A (en) 1991-05-30 1991-05-30 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3126428A JPH04352286A (en) 1991-05-30 1991-05-30 Image processor

Publications (1)

Publication Number Publication Date
JPH04352286A true JPH04352286A (en) 1992-12-07

Family

ID=14934947

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3126428A Pending JPH04352286A (en) 1991-05-30 1991-05-30 Image processor

Country Status (1)

Country Link
JP (1) JPH04352286A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100722595B1 (en) * 2005-01-07 2007-05-28 엘지전자 주식회사 Chapter hide level display method of title recorded on recording medium
US7280753B2 (en) 2003-09-03 2007-10-09 Canon Kabushiki Kaisha Display apparatus, image processing apparatus, and image processing system
JP2008128986A (en) * 2006-11-24 2008-06-05 Toshiba Corp Device for specifying unnecessary radiation portion
JP2009177336A (en) * 2008-01-22 2009-08-06 Tokyo Univ Of Science Program, method and apparatus for generating moving image for supporting to determine change between images
WO2013011576A1 (en) * 2011-07-20 2013-01-24 日本たばこ産業株式会社 Wrinkle inspection method for film-wrapped package and wrinkle inspection system therefor
JP2013529294A (en) * 2010-04-15 2013-07-18 ケーエルエー−テンカー コーポレイション Apparatus and method for setting optical inspection parameters

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7280753B2 (en) 2003-09-03 2007-10-09 Canon Kabushiki Kaisha Display apparatus, image processing apparatus, and image processing system
US7777780B2 (en) 2003-09-03 2010-08-17 Canon Kabushiki Kaisha Image motion display method and apparatus
US8654199B2 (en) 2003-09-03 2014-02-18 Canon Kabushiki Kaisha Image motion detection apparatus and method for determining a parameter for detecting a moving object in a moving image and computer readable medium having encoded thereon a program instructing a computer to perform the method
US9131122B2 (en) 2003-09-03 2015-09-08 Canon Kabushiki Kaisha Apparatus, method, system, and storage medium causing a display to display a graph indicating a degree of change of part of a captured image
KR100722595B1 (en) * 2005-01-07 2007-05-28 엘지전자 주식회사 Chapter hide level display method of title recorded on recording medium
JP2008128986A (en) * 2006-11-24 2008-06-05 Toshiba Corp Device for specifying unnecessary radiation portion
JP2009177336A (en) * 2008-01-22 2009-08-06 Tokyo Univ Of Science Program, method and apparatus for generating moving image for supporting to determine change between images
JP2013529294A (en) * 2010-04-15 2013-07-18 ケーエルエー−テンカー コーポレイション Apparatus and method for setting optical inspection parameters
WO2013011576A1 (en) * 2011-07-20 2013-01-24 日本たばこ産業株式会社 Wrinkle inspection method for film-wrapped package and wrinkle inspection system therefor

Similar Documents

Publication Publication Date Title
US6078353A (en) All-pixels reading type electronic endoscope apparatus
JP4056185B2 (en) Color video processing apparatus and method
JP3590533B2 (en) Endoscope device
EP1808680A2 (en) Measuring method and apparatus using color images
JPH04352286A (en) Image processor
KR101254187B1 (en) Method, system and device for colour quality control
JPH0771939A (en) Visual inspection device
KR100595442B1 (en) Display Apparatus
KR100474076B1 (en) Auto white balance circuit responds to light source and movie camera using auto white balence circuit responds to light source
JPH08122726A (en) Liquid crystal panel inspecting device
JP4320226B2 (en) Color image processing device with brightness correction function
JPH0646447A (en) Image pickup device
JPH09210789A (en) Nonuniformity of color inspection system
JP2004122653A (en) Method and apparatus for monitoring color tone variation
JPH07255070A (en) Device for generating automatically scale in reference to vector
JPH03269225A (en) Infrared-ray image apparatus
KR19990054121A (en) Camera automatic adjustment inspection device and method
JPH0589378A (en) Monitoring device
JPH01283120A (en) Mold monitoring method
JP2001218217A (en) Image freeze processing unit
JPH07154807A (en) Convergence adjusting device
JPH06214543A (en) Picture display device
JPH0795558A (en) Image monitoring device
KR0151957B1 (en) Waveform inspection adjustment apparatus with chroma level adjustment function
KR100842305B1 (en) Method and device for debugging to detect color temperature