JP2009116377A - Device for creating program for use in image processing controller - Google Patents

Device for creating program for use in image processing controller Download PDF

Info

Publication number
JP2009116377A
JP2009116377A JP2007285045A JP2007285045A JP2009116377A JP 2009116377 A JP2009116377 A JP 2009116377A JP 2007285045 A JP2007285045 A JP 2007285045A JP 2007285045 A JP2007285045 A JP 2007285045A JP 2009116377 A JP2009116377 A JP 2009116377A
Authority
JP
Japan
Prior art keywords
processing
image processing
image
parameter
unit
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
JP2007285045A
Other languages
Japanese (ja)
Inventor
Takashi Hirano
高志 平野
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.)
Keyence Corp
Original Assignee
Keyence Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Keyence Corp filed Critical Keyence Corp
Priority to JP2007285045A priority Critical patent/JP2009116377A/en
Publication of JP2009116377A publication Critical patent/JP2009116377A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Stored Programmes (AREA)
  • Facsimiles In General (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a device for creating program for use in an image processing controller, wherein operation confirmation when changing a parameter of image processing is facilitated. <P>SOLUTION: The device for creating the control program of the image processing controller 11 to output a decision signal based on a camera image includes: a flow chart display part 201 for displaying a flow chart 47 generated by arranging a plurality of processing units 48 each showing the image processing wherein the parameter can be changed; a program generation part 202 for generating the control program based on the flow chart 47; a transfer part 203 for transferring the control program to the image processing controller 11; a simulation part 205 for executing the control program; a processing result storage part 206 for holding processing results of each executed processing unit; and a first processing result display part 207 for displaying the processing results and the parameter of the selected processing unit on the flow chart 47. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像処理コントローラ用のプログラム作成装置に係り、さらに詳しくは、被写体を撮影して得られるカメラ画像に基づいて判定信号を出力する画像処理コントローラの制御プログラムを作成するプログラム作成装置の改良に関する。   The present invention relates to a program creation device for an image processing controller, and more particularly, to improve a program creation device that creates a control program for an image processing controller that outputs a determination signal based on a camera image obtained by photographing a subject. About.

検査対象物を撮影して得られるカメラ画像を画像処理し、検査対象物の形状、位置、カメラ画像に基づく判定結果を示す判定信号などを処理結果として出力する画像処理コントローラには、一連の処理手順を変更可能なものが知られている(例えば、特許文献1)。通常、一連の処理手順をこの様な画像処理コントローラに実行させるための制御プログラムは、パーソナルコンピュータなどの情報処理端末上で動作するエディタ(ソフトウェア)を用いて作成される。ユーザは、作成した制御プログラムを画像処理コントローラに転送することにより、検査対象物に対して所望の検査を行うことができる。   The image processing controller that performs image processing on a camera image obtained by photographing the inspection object and outputs a determination signal indicating the determination result based on the shape, position, and camera image of the inspection object as a processing result includes a series of processes. A method that can change the procedure is known (for example, Patent Document 1). Usually, a control program for causing such an image processing controller to execute a series of processing procedures is created using an editor (software) operating on an information processing terminal such as a personal computer. The user can perform a desired inspection on the inspection object by transferring the created control program to the image processing controller.

従来、撮影条件や計測条件を示すパラメータを変更した場合に、パラメータの変更後の制御プログラムが所望の動作をするか否かを確かめるには、エディタの遠隔編集機能などを利用して画像処理コントローラ上の制御プログラムを書き換え、書き換え後のプログラムに基づいて画像処理コントローラを動作させる必要があった。このため、パラメータを変更するごとに画像処理コントローラの運転を停止させなければならないという問題があった。
特開平9−288568号公報
Conventionally, when a parameter indicating a shooting condition or a measurement condition is changed, an image processing controller can be used to check whether the control program after changing the parameter performs a desired operation by using a remote editing function of an editor or the like. It was necessary to rewrite the above control program and operate the image processing controller based on the rewritten program. For this reason, there has been a problem that the operation of the image processing controller has to be stopped every time the parameter is changed.
JP-A-9-288568

上述した通り、従来の画像処理コントローラ用のプログラム作成装置では、撮影条件や計測条件を示すパラメータを変更するごとに画像処理コントローラの運転を停止させなければならないという問題があった。   As described above, the conventional program creation device for the image processing controller has a problem that the operation of the image processing controller has to be stopped every time the parameter indicating the imaging condition or the measurement condition is changed.

本発明は、上記の事情に鑑みてなされたものであり、画像処理のパラメータを変更した際の動作確認を容易化した画像処理コントローラ用のプログラム作成装置を提供することを目的とする。特に、画像処理コントローラの運転を停止させることなく、制御プログラムを動作確認することができるプログラム作成装置を提供することを目的とする。また、制御プログラムを構成する任意の処理ユニットについて容易に動作確認することができるプログラム作成装置を提供することを目的とする。また、パラメータを誤って変更してしまうのを抑制することができるプログラム作成装置を提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a program creation device for an image processing controller that facilitates operation confirmation when image processing parameters are changed. In particular, it is an object of the present invention to provide a program creation device capable of confirming the operation of a control program without stopping the operation of the image processing controller. It is another object of the present invention to provide a program creation device that can easily check the operation of any processing unit constituting a control program. Moreover, it aims at providing the program creation apparatus which can suppress changing a parameter accidentally.

第1の本発明による画像処理コントローラ用のプログラム作成装置は、被写体を撮影して得られるカメラ画像に基づいて判定信号を出力する画像処理コントローラの制御プログラムを作成するプログラム作成装置であって、パラメータが変更可能な画像処理をそれぞれ示す2以上の処理ユニットを配列することによって生成されたフローチャートを表示するフローチャート表示手段と、上記フローチャートに基づいて、画像処理コントローラの制御プログラムを生成するプログラム生成手段と、上記制御プログラムを画像処理コントローラへ転送する転送手段と、上記制御プログラムを実行するシミュレーション手段と、上記シミュレーション手段によって実行された処理ユニットごとの処理結果を保持する処理結果記憶手段と、上記フローチャート上で選択された処理ユニットのパラメータ及び処理結果を表示する第1の処理結果表示手段とを備えて構成される。   A program creation device for an image processing controller according to a first aspect of the present invention is a program creation device that creates a control program for an image processing controller that outputs a determination signal based on a camera image obtained by photographing a subject, and includes a parameter A flowchart display means for displaying a flowchart generated by arranging two or more processing units each indicating image processing that can be changed, and a program generation means for generating a control program for the image processing controller based on the flowchart. A transfer means for transferring the control program to the image processing controller, a simulation means for executing the control program, a processing result storage means for holding a processing result for each processing unit executed by the simulation means, and the flow Configured to include a first processing result display means for displaying the parameters and processing results of the selected processing units on chart.

このプログラム作成装置では、シミュレーション手段により制御プログラムが実行され、処理ユニットごとの処理結果が保持される。そして、フローチャート上で選択された処理ユニットについて、パラメータ及び処理結果が表示される。この様な構成によれば、プログラム作成装置上で制御プログラムが実行されるので、画像処理コントローラの運転を停止させることなく、制御プログラムを動作確認することができる。また、フローチャート上で選択された処理ユニットについてパラメータ及び処理結果が表示されるので、制御プログラムを構成する任意の処理ユニットについて容易に動作確認することができる。   In this program creation device, the control program is executed by the simulation means, and the processing result for each processing unit is held. Then, parameters and processing results are displayed for the processing unit selected on the flowchart. According to such a configuration, since the control program is executed on the program creation device, the operation of the control program can be confirmed without stopping the operation of the image processing controller. In addition, since the parameters and processing results are displayed for the processing unit selected on the flowchart, it is possible to easily check the operation of any processing unit constituting the control program.

第2の本発明による画像処理コントローラ用のプログラム作成装置は、上記構成に加え、上記処理ユニットのパラメータを操作入力に基づいて変更し、上記制御プログラムを書き換えるプログラム編集手段と、上記処理ユニットの編集時における操作入力に基づいてオン状態に遷移するフラグであって、上記パラメータの変更を許可するための許可フラグを保持する許可フラグ保持手段とを備え、上記第1の処理結果表示手段が、上記許可フラグに基づいてパラメータ及び処理結果の表示を行うように構成される。この様な構成によれば、許可フラグによって予め指定されているパラメータ及び処理結果だけを表示させることができるので、表示中の処理ユニットのパラメータを誤って変更してしまうのを抑制することができる。   In addition to the above configuration, a program creation device for an image processing controller according to a second aspect of the present invention includes a program editing means for rewriting the control program by changing parameters of the processing unit based on an operation input, and editing of the processing unit A flag that transitions to an ON state based on an operation input at the time, and includes a permission flag retaining unit that retains a permission flag for permitting the change of the parameter, and the first processing result display unit includes: A parameter and a processing result are displayed based on the permission flag. According to such a configuration, it is possible to display only the parameters and processing results specified in advance by the permission flag, so that it is possible to suppress erroneously changing the parameters of the processing unit being displayed. .

第3の本発明による画像処理コントローラ用のプログラム作成装置は、上記構成に加え、上記許可フラグ保持手段が保持する上記許可フラグに基づいて、上記画像処理コントローラ上で変更可能なパラメータが決定されるように構成される。この様な構成によれば、許可フラグを介して画像処理コントローラ上で変更可能なパラメータを予め指定することができるので、一部のパラメータについてのみ画像処理コントローラ上での変更を可能とし、他のパラメータについては変更させないようにすることができる。   A program creation device for an image processing controller according to a third aspect of the present invention determines parameters that can be changed on the image processing controller based on the permission flag held by the permission flag holding means in addition to the above configuration. Configured as follows. According to such a configuration, since parameters that can be changed on the image processing controller can be designated in advance via the permission flag, only a part of the parameters can be changed on the image processing controller. It is possible not to change the parameters.

第4の本発明による画像処理コントローラ用のプログラム作成装置は、上記構成に加え、上記処理ユニットの編集時における操作入力に基づいて、異なる処理ユニットのパラメータであって、上記許可フラグによって変更が許可されたパラメータを互いに関連付けるパラメータ関連付け手段を備え、上記パラメータ関連付け手段によって互いに関連付けられた複数のパラメータのうちの1つが変更されると、他のパラメータも同じように変更されるように構成される。   A program creation device for an image processing controller according to a fourth aspect of the present invention, in addition to the above configuration, is a parameter of a different processing unit based on an operation input at the time of editing the processing unit, and can be changed by the permission flag. Parameter associating means for associating each parameter with each other, and when one of a plurality of parameters associated with each other is changed by the parameter associating means, the other parameters are similarly changed.

第5の本発明による画像処理コントローラ用のプログラム作成装置は、上記構成に加え、上記処理ユニットの編集時における操作入力に基づいて、上記許可フラグによって変更が許可された複数のパラメータを互いに関連付けるパラメータ関連付け手段を備え、上記パラメータ関連付け手段によって互いに関連付けられた複数のパラメータのうちの1つが変更されると、他のパラメータも同じように変更され、上記第1の処理結果表示手段が、上記パラメータ関連付け手段によるパラメータの関連付けに基づいて、パラメータ及び処理結果を表示するように構成される。   A program creation device for an image processing controller according to a fifth aspect of the present invention is a parameter that associates a plurality of parameters that are permitted to be changed by the permission flag based on an operation input at the time of editing the processing unit in addition to the configuration described above. When one of a plurality of parameters associated with each other is changed by the parameter associating means, the other parameters are changed in the same manner, and the first processing result display means is provided with the parameter associating means. The parameter and the processing result are displayed based on the association of the parameter by the means.

第6の本発明による画像処理コントローラ用のプログラム作成装置は、上記構成に加え、上記第1の処理結果表示手段によるパラメータ及び処理結果の表示時における操作入力に基づいてオン状態に遷移するフラグであって、パラメータ及び処理結果を処理ユニットごとに抽出するための抽出フラグを保持する抽出フラグ保持手段と、上記抽出フラグに基づいてパラメータ及び処理結果を抽出し、各処理ユニットについての抽出結果を一覧表示する第2の処理結果表示手段とを備えて構成される。この様な構成によれば、抽出フラグに基づいてパラメータ及び処理結果が抽出され、各処理ユニットについての抽出結果が一覧表示されるので、抽出フラグによって予め指定されたパラメータのみに絞り込んで一連の処理結果を表示させることができる。   A program creation device for an image processing controller according to a sixth aspect of the present invention includes, in addition to the above configuration, a flag that transitions to an on state based on the operation input when the parameter and the processing result are displayed by the first processing result display means. An extraction flag holding means for holding an extraction flag for extracting a parameter and a processing result for each processing unit; a parameter and a processing result are extracted based on the extraction flag; and a list of extraction results for each processing unit is listed. And a second processing result display means for displaying. According to such a configuration, parameters and processing results are extracted based on the extraction flag, and a list of extraction results for each processing unit is displayed. The result can be displayed.

第7の本発明による画像処理コントローラ用のプログラム作成装置は、上記構成に加え、上記カメラ画像を保持する画像データ記憶手段を備え、上記第1の処理結果表示手段が、パラメータの現在値と、処理後の上記カメラ画像とを処理結果として表示するように構成される。この様な構成によれば、パラメータの現在値及び処理後のカメラ画像が処理結果として表示されるので、処理ユニットの動作確認を容易に行うことができる。   A program creation device for an image processing controller according to a seventh aspect of the present invention includes, in addition to the above configuration, an image data storage unit that holds the camera image, and the first processing result display unit includes a current value of a parameter, The camera image after processing is configured to be displayed as a processing result. According to such a configuration, the current value of the parameter and the processed camera image are displayed as the processing result, so that it is possible to easily check the operation of the processing unit.

第8の本発明による画像処理コントローラ用のプログラム作成装置は、上記構成に加え、上記カメラ画像を保持するカメラ画像記憶手段を備え、上記第1の処理結果表示手段が、上記フローチャート上で選択された処理ユニットにおける画像処理に使用されたカメラ画像と共に、当該画像処理の対象領域を示す図形及び当該画像処理による計測結果を示す図形のいずれか一方又は両方を表示するように構成される。   A program creation device for an image processing controller according to an eighth aspect of the present invention includes a camera image storage unit for holding the camera image in addition to the above configuration, and the first processing result display unit is selected on the flowchart. In addition to the camera image used for the image processing in the processing unit, one or both of the graphic indicating the target area of the image processing and the graphic indicating the measurement result of the image processing are displayed.

第9の本発明による画像処理コントローラ用のプログラム作成装置は、上記構成に加え、上記第1の処理結果表示手段により表示される上記カメラ画像が、計測結果を求める処理の前処理として行われたフィルタ処理後の画像データからなるように構成される。   According to a ninth aspect of the present invention, there is provided a program creation device for an image processing controller, wherein, in addition to the above configuration, the camera image displayed by the first processing result display unit is performed as a pre-process of processing for obtaining a measurement result. It is comprised so that it may consist of image data after a filter process.

本発明による画像処理コントローラ用のプログラム作成装置によれば、プログラム作成装置上で制御プログラムが実行されるので、画像処理コントローラの運転を停止させることなく、制御プログラムを動作確認することができる。また、フローチャート上で選択された処理ユニットについてパラメータ及び処理結果が表示されるので、制御プログラムを構成する任意の処理ユニットについて容易に動作確認することができる。従って、画像処理のパラメータを変更した際の動作確認を容易化したプログラム作成装置を実現することができる。また、許可フラグによって予め指定されているパラメータ及び処理結果だけを表示させることができるので、表示中の処理ユニットのパラメータを誤って変更してしまうのを抑制することができる。   According to the program creation device for an image processing controller according to the present invention, since the control program is executed on the program creation device, the operation of the control program can be confirmed without stopping the operation of the image processing controller. In addition, since the parameters and processing results are displayed for the processing unit selected on the flowchart, it is possible to easily check the operation of any processing unit constituting the control program. Therefore, it is possible to realize a program creation device that facilitates the operation check when the image processing parameters are changed. In addition, since only the parameters and processing results designated in advance by the permission flag can be displayed, it is possible to suppress erroneously changing the parameters of the processing unit being displayed.

<検査システム>
図1は、本発明の実施の形態によるプログラム作成装置を含む検査システムの一構成例を示した斜視図である。この検査システムは、検査対象物の搬送ライン上に配置される画像処理装置1と、この画像処理装置1の制御プログラムを生成するPC(パーソナルコンピュータ)2とからなる。
<Inspection system>
FIG. 1 is a perspective view showing a configuration example of an inspection system including a program creation device according to an embodiment of the present invention. This inspection system includes an image processing apparatus 1 arranged on a conveyance line of an inspection object and a PC (personal computer) 2 that generates a control program for the image processing apparatus 1.

画像処理装置1は、画像処理コントローラ11、カメラ12、ディスプレイ13a及び操作ユニット13bからなり、検査対象物から得られたカメラ画像に基づいて判定信号を出力するセンサー装置である。この判定信号は、図示しないPLC(Programmable Logic Controller:プログラマブルコントローラ)などへ入力され、画像処理装置1は、FA(Factory Automation)センサーとして使用される。   The image processing device 1 is a sensor device that includes an image processing controller 11, a camera 12, a display 13a, and an operation unit 13b, and outputs a determination signal based on a camera image obtained from an inspection object. This determination signal is input to a PLC (Programmable Logic Controller) not shown, and the image processing apparatus 1 is used as an FA (Factory Automation) sensor.

カメラ12は、被写体を撮影して画像データを生成し、カメラ画像として出力する撮像装置であり、画像処理コントローラ11に着脱可能に接続される。カメラ12は、例えば、検査対象物が搬送される搬送ライン上に配置される。   The camera 12 is an imaging device that shoots a subject, generates image data, and outputs it as a camera image, and is detachably connected to the image processing controller 11. For example, the camera 12 is disposed on a transport line on which the inspection object is transported.

ディスプレイ13aは、検査対象物を撮影して得られたカメラ画像やカメラ画像に基づく画像処理結果を表示するための出力装置である。操作ユニット13bは、ディスプレイ13a上でフォーカス位置を移動させたり、メニュー項目を選択するための入力装置である。   The display 13a is an output device for displaying a camera image obtained by photographing an inspection object and an image processing result based on the camera image. The operation unit 13b is an input device for moving a focus position on the display 13a and selecting a menu item.

画像処理コントローラ11は、カメラ12からのカメラ画像を取り込んで処理し、カメラ画像に基づいて行った判定結果を示す判定信号を処理結果として出力する画像処理装置1の本体ユニットである。   The image processing controller 11 is a main unit of the image processing apparatus 1 that captures and processes a camera image from the camera 12 and outputs a determination signal indicating a determination result made based on the camera image as a processing result.

この画像処理コントローラ11には、最大で4台のカメラ12が接続され、これらのカメラ12から取得したカメラ画像に基づいて画像処理が行われる。画像処理コントローラ11から出力される判定信号は、製品の良否などの判定結果を示す信号として生成される。   Up to four cameras 12 are connected to the image processing controller 11, and image processing is performed based on camera images acquired from these cameras 12. The determination signal output from the image processing controller 11 is generated as a signal indicating a determination result such as product quality.

また、画像処理コントローラ11には、ディスプレイ13a及び操作ユニット13bが接続されており、PC2を接続しなくても、操作ユニット13bを入力装置とし、ディスプレイ13aを出力装置として動作させることができる。   Further, the display 13a and the operation unit 13b are connected to the image processing controller 11, and the operation unit 13b can be operated as an input device and the display 13a can be operated as an output device without being connected to the PC 2.

PC2は、画像処理コントローラ11の制御プログラムを作成するプログラム作成装置であり、PC2上で動作するエディタ(ソフトウェア)によって制御プログラムが生成される。画像処理コントローラ11の制御プログラムを作成する際、PC2上でシミュレーションして動作確認することができる。   The PC 2 is a program creation device that creates a control program for the image processing controller 11, and a control program is generated by an editor (software) operating on the PC 2. When creating a control program for the image processing controller 11, a simulation can be performed on the PC 2 to confirm the operation.

PC2と画像処理装置1の画像処理コントローラ11とは、イーサネット(Ethernet:登録商標)などの通信ネットワークを介して接続される。PC2には、複数の画像処理コントローラ11が着脱可能に接続される。PC2上で作成した制御プログラムを画像処理コントローラ11に転送することにより、画像処理コントローラ11内の制御プログラムを書き換えることができる。また、画像処理コントローラ11内の制御プログラムを取り込んでPC2上で編集することもできる。   The PC 2 and the image processing controller 11 of the image processing apparatus 1 are connected via a communication network such as Ethernet (registered trademark). A plurality of image processing controllers 11 are detachably connected to the PC 2. By transferring the control program created on the PC 2 to the image processing controller 11, the control program in the image processing controller 11 can be rewritten. It is also possible to take in a control program in the image processing controller 11 and edit it on the PC 2.

<システム構成>
図2は、図1の検査システムのシステム構成の一例を示したブロック図である。この検査システム100は、1台のPC2と、通信ネットワーク3を介してPC2に接続された複数の画像処理装置1により構成される。PC2上で作成された制御プログラムは、検査設定データ22としてメモリ21内に格納される。
<System configuration>
FIG. 2 is a block diagram showing an example of the system configuration of the inspection system of FIG. The inspection system 100 includes a single PC 2 and a plurality of image processing apparatuses 1 connected to the PC 2 via the communication network 3. The control program created on the PC 2 is stored in the memory 21 as inspection setting data 22.

PC2上で作成された検査設定データ22は、通信ネットワーク3を介して画像処理コントローラ11に転送される。このとき、転送先を指定して検査設定データ22を転送することにより、所望の画像処理コントローラ11について、メモリ14内の検査設定データ15を更新し、或いは、メモリ14内に新たな検査設定データを追加することができる。   The examination setting data 22 created on the PC 2 is transferred to the image processing controller 11 via the communication network 3. At this time, by specifying the transfer destination and transferring the inspection setting data 22, the inspection setting data 15 in the memory 14 is updated for the desired image processing controller 11, or new inspection setting data is stored in the memory 14. Can be added.

この画像処理コントローラ11では、フラッシュメモリなどのメモリ14内に複数の検査設定データ15が保持されている。各検査設定データ15は、処理手順や検査内容が異なる制御プログラムであり、ユーザ操作に基づいて実行対象とする実行対象とする検査設定データ15を変更することができる。   In the image processing controller 11, a plurality of examination setting data 15 is held in a memory 14 such as a flash memory. Each inspection setting data 15 is a control program having a different processing procedure and inspection content, and can change the inspection setting data 15 to be executed as an execution target based on a user operation.

PC2では、通信ネットワーク3によって接続されている画像処理コントローラ11から検査設定データ15を取得して編集する動作が行われる。   In the PC 2, an operation for acquiring and editing the examination setting data 15 from the image processing controller 11 connected by the communication network 3 is performed.

<エディタ画面>
図3は、図2の検査システム100におけるPC2の動作の一例を示した図であり、検査設定データ22を作成するためのエディタ画面40が示されている。エディタ画面40は、PC2上で検査設定データを新たに作成し、或いは、画像処理コントローラ11から取得した検査設定データを編集するための編集画面であり、PC2上に表示される。
<Editor screen>
FIG. 3 is a diagram showing an example of the operation of the PC 2 in the inspection system 100 of FIG. 2, and shows an editor screen 40 for creating the inspection setting data 22. The editor screen 40 is an editing screen for newly creating inspection setting data on the PC 2 or editing inspection setting data acquired from the image processing controller 11, and is displayed on the PC 2.

このエディタ画面40は、それぞれ表示位置や表示範囲が変更可能な複数のウィンドウ画面からなる。具体的には、システムビューウィンドウ41、パーツリストウィンドウ42、ユニットプロパティウィンドウ43、ビジョンビューウィンドウ44及びリザルトビューウィンドウ45からなる。   The editor screen 40 includes a plurality of window screens whose display positions and display ranges can be changed. Specifically, it consists of a system view window 41, a parts list window 42, a unit property window 43, a vision view window 44, and a result view window 45.

システムビューウィンドウ41は、システム構成や編集対象とする検査設定データを一覧表示するためのウィンドウ画面であり、コントローラ一覧画面41a及びワークスペース一覧画面41bからなる。   The system view window 41 is a window screen for displaying a list of system configuration and examination setting data to be edited, and includes a controller list screen 41a and a workspace list screen 41b.

コントローラ一覧画面41aは、PC2に接続されている画像処理コントローラ11を一覧表示するための画面であり、画像処理コントローラ11を示すアイコンや、画像処理コントローラ11内に保持されている検査設定データ15を示すアイコンが表示されている。   The controller list screen 41 a is a screen for displaying a list of the image processing controllers 11 connected to the PC 2. The controller list screen 41 a displays icons indicating the image processing controller 11 and inspection setting data 15 held in the image processing controller 11. An icon is displayed.

画像処理コントローラ11や検査設定データ15を示す各アイコンは、ツリー形式で表示されている。すなわち、画像処理コントローラ11を上階層とし、この画像処理コントローラ11内に保持されている検査設定データ15を下階層として、検査設定データ15がどの画像処理コントローラ11に保持されているのかが識別可能なように表示されている。   The icons indicating the image processing controller 11 and the inspection setting data 15 are displayed in a tree format. That is, it is possible to identify which image processing controller 11 holds the inspection setting data 15 with the image processing controller 11 as the upper layer and the inspection setting data 15 held in the image processing controller 11 as the lower layer. It is displayed as follows.

ワークスペース一覧画面41bは、編集対象とする検査設定データを一覧表示するための画面であり、画像処理コントローラ11ごとに設けられるメモリ21上の作業領域を示すアイコンや、検査設定データを示すアイコンが表示されている。画像処理コントローラ11ごとに設けられるメモリ21上の作業領域は、該当する画像処理コントローラ11に関連付けられており、ワークスペースとして表示されている。つまり、PC2上には、検査設定データが画像処理コントローラ11ごとに保持され、画像処理コントローラ11ごとのワークスペースにおいて編集が行われる。   The workspace list screen 41b is a screen for displaying a list of inspection setting data to be edited. An icon indicating a work area on the memory 21 provided for each image processing controller 11 or an icon indicating inspection setting data. It is displayed. A work area on the memory 21 provided for each image processing controller 11 is associated with the corresponding image processing controller 11 and displayed as a work space. That is, inspection setting data is held for each image processing controller 11 on the PC 2, and editing is performed in a work space for each image processing controller 11.

この様な作業領域を示すアイコンや検査設定データを示すアイコンは、ツリー形式で表示されている。すなわち、画像処理コントローラ11に対応するワークスペースを上階層とし、このワークスペース内の検査設定データを下階層として、検査設定データがどのワークスペースに存在するのかが識別可能なように表示されている。   Such icons indicating work areas and icons indicating inspection setting data are displayed in a tree format. That is, the workspace corresponding to the image processing controller 11 is set as the upper hierarchy, and the examination setting data in this workspace is set as the lower hierarchy, so that the workspace in which the examination setting data exists can be identified. .

コントローラ一覧画面41aの見出し欄に配置されている更新ボタン(アイコン)を操作すれば、画像処理コントローラ11から新たに検査設定データが取得され、PC2上に保持されている検査設定データやシステム構成が最新のものに更新される。また、登録ボタンを操作すれば、PC2上で作成された検査設定データが画像処理コントローラ11に転送される。   When an update button (icon) arranged in the heading column of the controller list screen 41a is operated, new inspection setting data is acquired from the image processing controller 11, and the inspection setting data and system configuration held on the PC 2 are changed. Updated to the latest. If the registration button is operated, the examination setting data created on the PC 2 is transferred to the image processing controller 11.

ワークスペース一覧画面41bの見出し欄に配置されている更新ボタン(アイコン)を操作すれば、画像処理コントローラ11から取得された検査設定データによって、編集対象とする検査設定データが更新される。また、追加ボタンを操作すれば、新たな作業領域が設けられ、検査設定データを示すアイコンが追加される。   When the update button (icon) arranged in the heading column of the workspace list screen 41b is operated, the examination setting data to be edited is updated with the examination setting data acquired from the image processing controller 11. When the add button is operated, a new work area is provided, and an icon indicating inspection setting data is added.

パーツリストウィンドウ42は、検査設定データを作成する際に選択可能な処理ユニットをユニット一覧として表示するためのウィンドウ画面である。処理ユニットは、パラメータが変更可能な処理を示すシンボルであり、画像処理を示す画像処理ユニット、撮像処理を示す撮像ユニット、フロー制御処理を示す制御ユニット、及び、出力処理を示す出力ユニットがある。この様な処理ユニットを後述するフロービューウィンドウ内のフローチャート上に配置することによって、所望のフローシーケンスからなる検査設定データが作成される。   The parts list window 42 is a window screen for displaying processing units that can be selected when creating inspection setting data as a unit list. The processing unit is a symbol indicating processing whose parameters can be changed, and includes an image processing unit indicating image processing, an imaging unit indicating imaging processing, a control unit indicating flow control processing, and an output unit indicating output processing. By arranging such processing units on a flowchart in a flow view window described later, inspection setting data including a desired flow sequence is created.

パーツリストウィンドウ42内には、複数の処理ユニットが表示される。この例では、処理の種類によって処理ユニットが8つのカテゴリーに区分され、各カテゴリーを示すアイコンが表示されている。具体的には、「画像入力」、「計測」、「制御」、「演算」、「タイミング」、「表示」、「出力」及び「コマンド出力」のカテゴリーに区分されている。   A plurality of processing units are displayed in the parts list window 42. In this example, the processing units are divided into eight categories depending on the type of processing, and icons indicating each category are displayed. Specifically, it is divided into categories of “image input”, “measurement”, “control”, “calculation”, “timing”, “display”, “output”, and “command output”.

「画像入力」は、撮像に関する処理ユニットが属するカテゴリーであり、カメラ画像を取り込む撮像ユニットが属している。「計測」は、計測に関する処理ユニットが属するカテゴリーであり、パターンサーチユニット、エッジ位置検出ユニット、ブロブ検出ユニット、色検査ユニットなどの画像処理ユニットが属している。   “Image input” is a category to which a processing unit related to imaging belongs, and an imaging unit that captures a camera image belongs to it. “Measurement” is a category to which a processing unit related to measurement belongs, and includes an image processing unit such as a pattern search unit, an edge position detection unit, a blob detection unit, and a color inspection unit.

パターンサーチは、カメラ画像上のサーチ領域内を走査して予め登録されたパターン画像と一致する位置を検出する処理である。エッジ位置検出は、カメラ画像上の計測領域について、検出方向に垂直な方向の平均濃度を求め、検出方向の濃度変化からエッジの位置を検出する処理である。   The pattern search is a process for detecting a position that matches a previously registered pattern image by scanning the search area on the camera image. Edge position detection is a process of obtaining an average density in a direction perpendicular to the detection direction for a measurement region on a camera image and detecting the edge position from the density change in the detection direction.

ブロブ検出は、カメラ画像を2値化し、同一濃度を有する画素の塊をブロブとして抽出して、計測領域内に存在するブロブの数、面積、重心位置を検出する処理である。色検査は、検査領域内の色を測定する処理であり、色に対応する数値が計測結果として抽出される。   The blob detection is a process of binarizing the camera image, extracting a block of pixels having the same density as a blob, and detecting the number, area, and barycentric position of the blob existing in the measurement region. The color inspection is a process of measuring the color in the inspection area, and a numerical value corresponding to the color is extracted as a measurement result.

「制御」は、制御に関する処理ユニットが属するカテゴリーであり、繰返しユニット、バイパスユニット、エンドシンボルなどの制御ユニットが属している。繰返しユニットは、実行フローを繰り返す際の始点を示す繰返し開始ユニットと、終点を示す繰返し終了ユニットとからなる処理ユニットであり、所定の条件が満たされるまで開始ユニット及び終了ユニット間の実行フローを繰り返させる処理を示す。   “Control” is a category to which processing units related to control belong, and control units such as a repeat unit, a bypass unit, and an end symbol belong to it. The repeat unit is a processing unit composed of a repeat start unit indicating the start point when repeating the execution flow and a repeat end unit indicating the end point, and the execution flow between the start unit and the end unit is repeated until a predetermined condition is satisfied. Shows the processing to be performed.

バイパスユニットは、実行フローを2つの枝フローに分岐させる分岐ユニットと、この分岐ユニットによって分岐された枝フローを合流させる合流ユニットとからなる処理ユニットであり、所定の条件で実行フローを分岐させる処理を示す。エンドシンボルは、1回のフローシーケンスを終了させるための表示オブジェクトである。   The bypass unit is a processing unit that includes a branch unit that branches the execution flow into two branch flows and a merge unit that joins the branch flows branched by the branch unit. The bypass unit is a process that branches the execution flow under a predetermined condition. Indicates. The end symbol is a display object for ending one flow sequence.

「演算」は、演算に関する処理ユニットが属するカテゴリーであり、数値演算ユニットなどの画像処理ユニットが属している。「タイミング」は、フロー遷移の停止動作に関する処理ユニットが属するカテゴリーであり、ウェイトユニット、イベント待ちユニットなどの制御ユニットが属している。ウェイトユニットは、所定時間だけフロー遷移を停止させる処理を示す。イベント待ちユニットは、端子入力や変数値が所定の状態となるまでフロー遷移を停止させる処理を示す。   “Calculation” is a category to which a processing unit related to calculation belongs, and an image processing unit such as a numerical calculation unit belongs to it. “Timing” is a category to which a processing unit related to a flow transition stop operation belongs, and a control unit such as a wait unit or an event waiting unit belongs to it. The weight unit indicates a process of stopping the flow transition for a predetermined time. The event waiting unit indicates a process of stopping the flow transition until the terminal input or the variable value is in a predetermined state.

「表示」は、表示に関する処理ユニットが属するカテゴリーであり、グラフィック表示ユニットなどの画像処理ユニットが属している。グラフィック表示ユニットは、変数を参照してグラフィックを描画する処理を示す。「出力」は、出力に関する処理ユニットが属するカテゴリーであり、端子出力ユニット、結果出力ユニット、画像出力ユニットなどの出力ユニットが属している。「コマンド出力」は、コマンド出力に関する処理ユニットが属するカテゴリーであり、コマンド発行ユニットなどの出力ユニットが属している。   “Display” is a category to which a processing unit relating to display belongs, and to which an image processing unit such as a graphic display unit belongs. The graphic display unit indicates a process of drawing a graphic with reference to a variable. “Output” is a category to which a processing unit related to output belongs, and output units such as a terminal output unit, a result output unit, and an image output unit belong to this category. “Command output” is a category to which a processing unit related to command output belongs, and an output unit such as a command issuing unit belongs to it.

ユニットプロパティウィンドウ43は、コントローラ一覧画面41a、ワークスペース一覧画面41b又はフロービューウィンドウ上で選択された処理ユニットのプロパティを表示するためのウィンドウ画面である。   The unit property window 43 is a window screen for displaying the properties of the processing unit selected on the controller list screen 41a, the work space list screen 41b or the flow view window.

ビジョンビューウィンドウ44は、コントローラ一覧画面41a、ワークスペース一覧画面41b又はフロービューウィンドウ上で選択された処理ユニットに関連付けられているカメラ画像を表示するためのウィンドウ画面である。   The vision view window 44 is a window screen for displaying a camera image associated with the processing unit selected on the controller list screen 41a, the work space list screen 41b, or the flow view window.

リザルトビューウィンドウ45は、コントローラ一覧画面41a、ワークスペース一覧画面41b又はフロービューウィンドウ上で選択された処理ユニットのパラメータと、シミュレーション結果とを表示するためのウィンドウ画面である。   The result view window 45 is a window screen for displaying the parameters of the processing unit selected on the controller list screen 41a, the work space list screen 41b or the flow view window, and the simulation result.

このエディタ画面40では、システムビューウィンドウ41の下部に配置されているフロービューボタン41cを操作すれば、上述したシステムビューウィンドウ41に代えて、フロービューウィンドウを表示させることができる。フロービューウィンドウは、画像処理コントローラ11に実行させる処理手順をフローチャートとして表示するウィンドウ画面であり、ワークスペース一覧画面41b上で選択された検査設定データが表示される。   On this editor screen 40, if a flow view button 41c arranged at the bottom of the system view window 41 is operated, a flow view window can be displayed instead of the system view window 41 described above. The flow view window is a window screen that displays a processing procedure to be executed by the image processing controller 11 as a flowchart, and displays examination setting data selected on the work space list screen 41b.

また、リザルトビューウィンドウ45の下部に配置されている抽出一覧ボタン45aを操作すれば、リザルトビューウィンドウ45に代えて、抽出一覧ウィンドウを表示させることができる。抽出一覧ウィンドウは、リザルトビューウィンドウ45上で選択されたパラメータ及び処理結果を抽出して処理ユニットごとの抽出結果を一覧表示するためのウィンドウ画面である。   Further, by operating the extraction list button 45 a arranged at the lower part of the result view window 45, the extraction list window can be displayed instead of the result view window 45. The extraction list window is a window screen for extracting the parameters and processing results selected on the result view window 45 and displaying a list of extraction results for each processing unit.

<フロービューウィンドウ>
図4は、図2の検査システム100におけるPC2の動作の一例を示した図であり、フロービューウィンドウ46が表示されたエディタ画面40が示されている。フロービューウィンドウ46は、検査設定データを新たに作成し、或いは、画像処理コントローラ11から取得した検査設定データを編集するために、処理手順を示すフローチャート47を表示するウィンドウ画面である。
<Flow view window>
FIG. 4 is a diagram showing an example of the operation of the PC 2 in the inspection system 100 of FIG. 2, and shows an editor screen 40 on which a flow view window 46 is displayed. The flow view window 46 is a window screen that displays a flowchart 47 showing a processing procedure for newly creating examination setting data or editing examination setting data acquired from the image processing controller 11.

フロービューウィンドウ46には、複数の処理ユニット48を配列することによって構成されたフローチャート47が表示されている。フローチャート47は、スタートシンボル「S」において開始し、エンドシンボル「E」において終了する実行フロー上で時系列に実行される処理ユニットが表されている。ユーザは、この様な実行フロー上に処理ユニット48を配置することによって所望の検査設定データを構成することができる。   In the flow view window 46, a flow chart 47 configured by arranging a plurality of processing units 48 is displayed. The flowchart 47 represents processing units that are executed in time series on the execution flow that starts at the start symbol “S” and ends at the end symbol “E”. The user can configure desired inspection setting data by arranging the processing unit 48 on such an execution flow.

フロービューウィンドウ46の下部に配置されているシステムビューボタン46aを操作すれば、このフロービューウィンドウ46に代えて、システムビューウィンドウ41を表示させることができる。   By operating a system view button 46 a arranged at the bottom of the flow view window 46, the system view window 41 can be displayed instead of the flow view window 46.

フロービューウィンドウ46上で選択されている処理ユニットは、フォーカス表示され、ユニットプロパティウィンドウ43内にそのプロパティが表示される。ユニットプロパティウィンドウ43内には、編集ボタン43aが配置され、編集ボタン43aを操作すれば、処理ユニットのプロパティを編集するための編集ダイアログが表示される。プロパティの編集ダイアログは、ユーザ操作に基づいて処理ユニットのパラメータを指定し、或いは、既に指定されているパラメータを変更するためのダイアログ画面である。   The processing unit selected on the flow view window 46 is displayed in focus, and its properties are displayed in the unit property window 43. An edit button 43a is arranged in the unit property window 43. When the edit button 43a is operated, an edit dialog for editing the properties of the processing unit is displayed. The property editing dialog is a dialog screen for designating a parameter of a processing unit based on a user operation or changing an already designated parameter.

<処理ユニットの編集ダイアログ>
図5は、図2の検査システム100におけるPC2の動作の一例を示した図であり、エディタ画面40上に表示される編集ダイアログ50が示されている。この編集ダイアログ50は、エッジ位置検出ユニットのプロパティを編集するためのダイアログ画面である。
<Processing unit edit dialog>
FIG. 5 is a diagram showing an example of the operation of the PC 2 in the inspection system 100 of FIG. 2, and shows an edit dialog 50 displayed on the editor screen 40. The edit dialog 50 is a dialog screen for editing the properties of the edge position detection unit.

この編集ダイアログ50では、エッジ位置検出に関する様々なパラメータを選択し、或いは、指定することができる。編集可能なプロパティとして、「表示画像」、「画像設定」、「領域設定」、「検出条件」、「判定条件」などの項目が設けられている。   In the editing dialog 50, various parameters relating to edge position detection can be selected or designated. As editable properties, items such as “display image”, “image setting”, “area setting”, “detection condition”, and “judgment condition” are provided.

「表示画像」は、ビジョンビューウィンドウ44内にカメラ画像を表示させる際の表示方法を選択するための項目であり、表示方法として、登録画像又はフィルタ画像のいずれかを選択することができる。登録画像を選択した場合は、予め登録されたカメラ画像であって、フローチャート上で選択されている処理ユニットにおける画像処理に使用されたカメラ画像がそのままスルー画像として表示される。一方、フィルタ画像を選択した場合には、処理ユニットにおける画像処理に使用されたカメラ画像であって、計測結果を求める処理の前処理として行われたフィルタ処理後の画像データからなるカメラ画像がフィルタ処理後画像として表示される。   “Display image” is an item for selecting a display method for displaying a camera image in the vision view window 44, and either a registered image or a filter image can be selected as the display method. When the registered image is selected, the camera image registered in advance and used for image processing in the processing unit selected on the flowchart is displayed as a through image as it is. On the other hand, when a filter image is selected, a camera image used for image processing in the processing unit and including image data after filter processing performed as preprocessing of processing for obtaining a measurement result is filtered. Displayed as a processed image.

ここで、前処理として行われるフィルタ処理とは、計測精度を上げるためにカメラ画像について行う画像の変換処理のことであり、計測結果を求めるための一連の画像処理のうち、多数のピクセルデータからなる2次元の入力画像から2次元の出力画像を生成する処理となっている。一方、計測結果を求める処理とは、前処理後に行われる処理であって、2次元の入力画像から計測値などの数値を生成する処理のことである。   Here, the filter processing performed as preprocessing is image conversion processing performed on a camera image in order to increase measurement accuracy. From a series of image processing for obtaining measurement results, a large number of pixel data are used. The processing is to generate a two-dimensional output image from the two-dimensional input image. On the other hand, the process for obtaining the measurement result is a process that is performed after the pre-processing, and is a process for generating a numerical value such as a measurement value from a two-dimensional input image.

例えば、色抽出、膨張、収縮及びソーベル(エッジ強調)などのフィルタ処理が選択的に前処理として行われる。なお、色抽出は、カラー画像を変換することによって、グレースケール化した濃淡画像、又は、2値化した白黒画像を生成する前処理である。   For example, filter processing such as color extraction, expansion, contraction, and sobel (edge enhancement) is selectively performed as preprocessing. Note that color extraction is preprocessing for generating a grayscale grayscale image or a binarized black and white image by converting a color image.

「画像設定」は、処理対象とするカメラ画像を指定するための項目である。「領域設定」は、カメラ画像について、処理対象とする画像領域を指定するための項目である。「検出条件」は、処理方法や計測条件を指定するための項目である。「判定条件」は、検査対象物の良否を判定して判定信号を生成する際に用いられるパラメータを指定するための項目である。「検出条件」には、例えば、エッジ検出の方向やエッジ感度を指定するためのパラメータ入力欄53が設けられている。   “Image setting” is an item for designating a camera image to be processed. “Area setting” is an item for designating an image area to be processed for a camera image. “Detection condition” is an item for designating a processing method and a measurement condition. The “determination condition” is an item for designating parameters used when determining the quality of the inspection object and generating a determination signal. In the “detection condition”, for example, a parameter input field 53 for designating an edge detection direction and edge sensitivity is provided.

編集ダイアログ50には、パラメータの入力欄53に対応付けて、チェックボックス51及び変数名の入力欄52が配置されている。チェックボックス51は、リザルトビューウィンドウ45上でのパラメータ変更を許可するか否かを指定するための入力欄である。   In the edit dialog 50, a check box 51 and a variable name input field 52 are arranged in association with the parameter input field 53. The check box 51 is an input field for designating whether or not parameter change on the result view window 45 is permitted.

チェックボックス51を操作してチェックマークが入力されたパラメータは、リザルトビューウィンドウ45内に変数名と共に表示されるとともに、リザルトビューウィンドウ45上で変更することができる。つまり、編集ダイアログ50上では、編集対象として選択された処理ユニットの全パラメータが変更可能であるのに対して、リザルトビューウィンドウ45上では、編集ダイアログ50において変更を許可したパラメータのみが表示され、その値を変更することができる。   A parameter for which a check mark has been input by operating the check box 51 is displayed together with the variable name in the result view window 45 and can be changed on the result view window 45. That is, all parameters of the processing unit selected as the editing target can be changed on the editing dialog 50, whereas only the parameters permitted to be changed in the editing dialog 50 are displayed on the result view window 45. Its value can be changed.

ここで、チェックボックス51にチェックマークが入力されたパラメータは、グローバル変数に指定され、異なるパラメータ間、或いは、異なる処理ユニットのパラメータ間でその値が共有されるものとする。すなわち、変更が許可されたパラメータには、入力欄52において入力された変数名が関連付けられ、この変数名と同じ変数名が対応付けられた他のパラメータとの間で値が共有される。この様に変数名を介して互いに関連付けられた複数のパラメータは、その値が共有され、いずれかのパラメータの値を変更すれば、他のパラメータも同じように変更される。   Here, a parameter for which a check mark is input to the check box 51 is designated as a global variable, and the value is shared between different parameters or parameters of different processing units. That is, the variable name input in the input field 52 is associated with the parameter that is allowed to be changed, and the value is shared with other parameters associated with the same variable name as this variable name. In this way, the values of the plurality of parameters associated with each other via the variable names are shared, and if any parameter value is changed, the other parameters are changed in the same way.

また、編集ダイアログ50において変更を許可したパラメータは、画像処理コントローラ11上で変更可能なパラメータとして指定されるものとする。すなわち、編集ダイアログ50において変更を許可したパラメータのみが画像処理コントローラ11上での変更が可能となり、変更を許可しなかったパラメータについては、画像処理コントローラ上での変更が制限される。   Also, parameters that are permitted to be changed in the editing dialog 50 are designated as parameters that can be changed on the image processing controller 11. In other words, only the parameters that are allowed to be changed in the editing dialog 50 can be changed on the image processing controller 11, and the parameters that are not allowed to be changed are restricted from being changed on the image processing controller.

<リザルトビューウィンドウ>
図6は、図2の検査システム100におけるPC2の動作の一例を示した図であり、エディタ画面40上のリザルトビューウィンドウ45が示されている。リザルトビューウィンドウ45には、フロービューウィンドウ46上で選択されている処理ユニットのパラメータ及びシミュレーション結果が表示されている。
<Result view window>
FIG. 6 is a diagram showing an example of the operation of the PC 2 in the inspection system 100 of FIG. 2, and a result view window 45 on the editor screen 40 is shown. In the result view window 45, parameters and simulation results of the processing unit selected on the flow view window 46 are displayed.

リザルトビューウィンドウ45内には、処理ユニットのプロパティ編集時に、チェックボックス51にチェックマークを入力することによって編集ダイアログ50上でユーザが指定したパラメータが一覧表示されている。   In the result view window 45, a list of parameters specified by the user on the editing dialog 50 by inputting a check mark in the check box 51 when editing the properties of the processing unit is displayed.

具体的には、フロービューウィンドウ46上で選択されている処理ユニットのパラメータについて、現在値71、初期値72、種別情報73及び型情報74が変数名に対応付けて表示されている。パラメータの現在値71は、編集中の検査設定データを実行させて得られた処理ユニットごとの処理結果を示すデータである。   Specifically, for the parameters of the processing unit selected on the flow view window 46, the current value 71, the initial value 72, the type information 73, and the type information 74 are displayed in association with the variable names. The parameter current value 71 is data indicating a processing result for each processing unit obtained by executing the inspection setting data being edited.

種別情報73は、リザルトビューウィンドウ45上で編集可能なパラメータであるか否かを示す情報である。例えば、編集可能なパラメータに対して「ローカル変数」と表示され、処理結果を示すデータに対して「結果データ」と表示される。   The type information 73 is information indicating whether the parameter can be edited on the result view window 45. For example, “local variable” is displayed for the editable parameter, and “result data” is displayed for the data indicating the processing result.

この様に、フロービューウィンドウ46上で選択されている処理ユニットに絞り込んで、パラメータ及び処理結果を表示させることができる。また、編集ダイアログ50上で予め指定されたパラメータのみリザルトビューウィンドウ45内に表示され、チェックボックス51にチェックマークを入力しなかったパラメータは表示されないので、変更する必要のないパラメータを誤って編集してしまうのを防止することができる。   In this way, the parameters and processing results can be displayed by narrowing down to the processing units selected on the flow view window 46. Also, only the parameters specified in advance in the editing dialog 50 are displayed in the result view window 45, and the parameters for which no check mark is entered in the check box 51 are not displayed. Can be prevented.

また、リザルトビューウィンドウ45内に表示されているパラメータの現在値又は初期値は、当該ウィンドウ上で変更することができる。例えば、変更しようとするパラメータを選択してキー入力することにより、当該パラメータを変更することができる。また、この様なパラメータの変更後に、シミュレーション実行のための操作入力を行えば、変更後のパラメータに基づいてシミュレーションが実行され、このシミュレーション結果が処理結果に反映される。この様に、変更後のパラメータに基づくシミュレーション結果がリザルトビューウィンドウ45上で確認することができるので、パラメータ変更時に容易に動作確認することができる。   Further, the current value or initial value of the parameter displayed in the result view window 45 can be changed on the window. For example, the parameter can be changed by selecting the parameter to be changed and inputting the key. Further, if an operation input for executing a simulation is performed after such a parameter change, the simulation is executed based on the changed parameter, and the simulation result is reflected in the processing result. As described above, since the simulation result based on the changed parameter can be confirmed on the result view window 45, the operation can be easily confirmed when the parameter is changed.

図7は、図2の検査システム100におけるPC2の動作の一例を示した図であり、処理ユニットの処理結果が表示されたリザルトビューウィンドウ45が示されている。このリザルトビューウィンドウ45には、フロービューウィンドウ46上で選択されている処理ユニットの処理結果を示すデータが変数名と共に表示されている。   FIG. 7 is a diagram showing an example of the operation of the PC 2 in the inspection system 100 of FIG. 2, and shows a result view window 45 on which the processing result of the processing unit is displayed. In the result view window 45, data indicating the processing result of the processing unit selected on the flow view window 46 is displayed together with the variable name.

処理結果データの表示では、プロパティ編集ダイアログ50上で先頭インデックス75及び表示個数76を予め指定しておけば、リザルトビューウィンドウ45上での表示量を制限することができる。また、処理結果データに割り当てられている変数名と共に、展開アイコン77や折畳みアイコンが表示され、これらのアイコンを操作することにより、処理結果データを非表示としたり、非表示の処理結果データを表示させることができる。   In the display of the processing result data, the display amount on the result view window 45 can be limited by specifying the head index 75 and the display number 76 in advance on the property editing dialog 50. In addition, the expansion icon 77 and the folding icon are displayed together with the variable name assigned to the processing result data. By operating these icons, the processing result data is hidden or the hidden processing result data is displayed. Can be made.

図8は、図2の検査システム100におけるPC2の動作の一例を示した図であり、非表示の処理結果データを表示させた場合が示されている。このリザルトビューウィンドウ45には、エッジ位置検出ユニットの変数「X」における処理結果データを表示させることにより、処理結果データとして位置Xの計測値、絶対計測値及び判定値が表示されている。   FIG. 8 is a diagram showing an example of the operation of the PC 2 in the inspection system 100 of FIG. 2, and shows a case where non-display processing result data is displayed. In the result view window 45, by displaying the processing result data in the variable “X” of the edge position detection unit, the measurement value, the absolute measurement value, and the determination value of the position X are displayed as the processing result data.

<抽出一覧ウィンドウ>
図9は、図2の検査システム100におけるPC2の動作の一例を示した図であり、エディタ画面40上の抽出一覧ウィンドウ60が示されている。抽出一覧ウィンドウ60には、リザルトビューウィンドウ45上でユーザが指定したパラメータ及び処理結果データが抽出され、処理ユニットごとの抽出結果が一覧表示されている。
<Extraction list window>
FIG. 9 is a diagram showing an example of the operation of the PC 2 in the inspection system 100 of FIG. 2, and an extraction list window 60 on the editor screen 40 is shown. In the extraction list window 60, parameters and processing result data specified by the user on the result view window 45 are extracted, and a list of extraction results for each processing unit is displayed.

この例では、エッジ位置検出ユニット及び色検査ユニットのパラメータ及び処理結果が表示されている。この様に、リザルトビューウィンドウ45上で指定されたパラメータ及び処理結果のみに絞り込んで、編集中の検査設定データに関する一連の処理結果を表示させることができる。   In this example, the parameters and processing results of the edge position detection unit and the color inspection unit are displayed. In this way, it is possible to narrow down only the parameters and processing results specified on the result view window 45 and display a series of processing results relating to the examination setting data being edited.

図10は、図2の検査システム100におけるPC2の動作の一例を示した図であり、ビジョンウィンドウ44及びユーザウィンドウ49が表示されたエディタ画面40が示されている。ビジョンウィンドウ44及びユーザウィンドウ49は、カメラ画像を表示するためのウィンドウ画面である。   FIG. 10 is a diagram showing an example of the operation of the PC 2 in the inspection system 100 of FIG. 2 and shows an editor screen 40 on which a vision window 44 and a user window 49 are displayed. The vision window 44 and the user window 49 are window screens for displaying camera images.

ビジョンウィンドウ44には、フロービューウィンドウ46上で選択されている処理ユニットにおける画像処理に使用されたカメラ画像が表示される。カメラ画像を表示する際の表示方法は、スルー画像又はフィルタ処理後画像のいずれかを選択することができる。この例では、色検査ユニットにおける色検査処理に使用されたカメラ画像が表示されている。このカメラ画像上には、検査対象とする画像領域を示す図形、すなわち、円形状の枠が表示されている。   The vision window 44 displays a camera image used for image processing in the processing unit selected on the flow view window 46. As a display method when displaying a camera image, either a through image or a filtered image can be selected. In this example, a camera image used for color inspection processing in the color inspection unit is displayed. On this camera image, a graphic showing an image area to be inspected, that is, a circular frame is displayed.

一方、ユーザウィンドウ49には、フロービューウィンドウ46上でユーザが選択した複数の処理ユニットのシミュレーション結果がカメラ画像上に同時に表示される。この例では、色検査ユニット及びエッジ位置検出ユニットにおける画像処理に使用されたカメラ画像上に、色検査の検査領域を示す図形(円形状の枠)と、エッジ位置検出で検出されたエッジを示す図形(線分)及びエッジ位置検出の計測領域を示す図形(矩形形状の枠)とが表示されている。   On the other hand, in the user window 49, simulation results of a plurality of processing units selected by the user on the flow view window 46 are simultaneously displayed on the camera image. In this example, on a camera image used for image processing in the color inspection unit and the edge position detection unit, a figure (circular frame) indicating an inspection area for color inspection and an edge detected by edge position detection are shown. A figure (line segment) and a figure (rectangular frame) indicating a measurement region for edge position detection are displayed.

<エディタの機能構成>
図11は、図2の検査システム100におけるPC2の構成例を示したブロック図であり、画像処理コントローラ11の制御プログラムを作成するエディタの機能構成の一例が示されている。このPC2は、フローチャート表示部201、プログラム生成部202、メモリ21、転送部203、画像データ記憶部204、シミュレーション部205、処理結果記憶部206、第1の処理結果表示部207、第2の処理結果表示部208、プログラム編集部209、許可フラグ保持部210、抽出フラグ保持部211、パラメータ関連付け部212及び変数名記憶部213により構成される。
<Functional structure of editor>
FIG. 11 is a block diagram illustrating a configuration example of the PC 2 in the inspection system 100 of FIG. 2, and illustrates an example of a functional configuration of an editor that creates a control program for the image processing controller 11. The PC 2 includes a flowchart display unit 201, a program generation unit 202, a memory 21, a transfer unit 203, an image data storage unit 204, a simulation unit 205, a processing result storage unit 206, a first processing result display unit 207, and a second processing. The result display unit 208, the program editing unit 209, the permission flag holding unit 210, the extraction flag holding unit 211, the parameter association unit 212, and the variable name storage unit 213 are configured.

フローチャート表示部201は、複数の処理ユニットを配列することによって生成されたフローチャート47をフロービューウィンドウ46内に表示する動作を行っている。プログラム生成部202は、フロービューウィンドウ46上のフローチャート47を実行形式に変換することにより、画像処理コントローラ11の制御プログラム、すなわち、検査設定データを生成する動作を行っている。   The flowchart display unit 201 performs an operation of displaying a flowchart 47 generated by arranging a plurality of processing units in the flow view window 46. The program generation unit 202 performs an operation of generating a control program of the image processing controller 11, that is, inspection setting data, by converting the flowchart 47 on the flow view window 46 into an execution format.

メモリ21には、プログラム生成部202により生成された検査設定データや画像処理コントローラ11から取得した検査設定データが保持される。転送部203は、メモリ21内の検査設定データを画像処理コントローラ11へ転送する動作を行っている。   The memory 21 holds inspection setting data generated by the program generation unit 202 and inspection setting data acquired from the image processing controller 11. The transfer unit 203 performs an operation of transferring the inspection setting data in the memory 21 to the image processing controller 11.

画像データ記憶部204には、画像処理コントローラ11から取得したカメラ画像が保持される。   The image data storage unit 204 holds camera images acquired from the image processing controller 11.

シミュレーション部205は、メモリ21内の検査設定データを読み出して実行し、処理結果を生成する制御プログラムの実行手段である。この検査設定データのシミュレーションは、シミュレーション実行を指示するための操作入力に基づいて開始され、カメラ画像の取り込みを指示するための操作入力に基づいて画像データ記憶部204内に取り込まれたカメラ画像に基づいて処理結果が生成される。   The simulation unit 205 is an execution unit of a control program that reads and executes inspection setting data in the memory 21 and generates a processing result. The simulation of the inspection setting data is started based on an operation input for instructing execution of the simulation, and the camera image captured in the image data storage unit 204 based on the operation input for instructing capturing of the camera image. Based on this, a processing result is generated.

処理結果記憶部206には、シミュレーション部205によって実行された処理ユニットごとの処理結果を保持される。   The processing result storage unit 206 holds the processing result for each processing unit executed by the simulation unit 205.

プログラム編集部209は、処理ユニットのパラメータを操作入力に基づいて変更し、メモリ21内の検査設定データを書き換える動作を行っている。   The program editing unit 209 performs an operation of changing the parameters of the processing unit based on the operation input and rewriting the inspection setting data in the memory 21.

許可フラグ保持部210には、リザルトビューウィンドウ45上におけるパラメータの変更を許可するための許可フラグが保持される。この許可フラグは、編集ダイアログ50上で処理ユニットのプロパティを編集する際の操作入力に基づいてセットし、オン状態に遷移するフラグである。具体的には、編集ダイアログ50のチェックボックス51にチェックマークが入力されると、オン状態に遷移する許可フラグが、パラメータに関連付けて保持される。   The permission flag holding unit 210 holds a permission flag for permitting the parameter change on the result view window 45. This permission flag is a flag that is set based on an operation input when editing the properties of the processing unit on the edit dialog 50 and transitions to an on state. Specifically, when a check mark is input to the check box 51 of the edit dialog 50, the permission flag for transitioning to the ON state is held in association with the parameter.

第1の処理結果表示部207は、フローチャート47上で選択された処理ユニットのパラメータ及び処理結果を表示する動作を行っている。このパラメータ及び処理結果の表示は、許可フラグに基づいて行われる。すなわち、編集対象として選択された処理ユニットについて、許可フラグがオン状態であるパラメータ及び処理結果がリザルトビューウィンドウ45内に一覧表示される。また、入力欄52において入力された変数名が、パラメータに対応付けて表示される。   The first processing result display unit 207 performs an operation of displaying the parameters and processing results of the processing unit selected on the flowchart 47. The display of the parameter and the processing result is performed based on the permission flag. That is, for the processing unit selected as the editing target, the parameters and processing results for which the permission flag is on are displayed in a list in the result view window 45. The variable name input in the input field 52 is displayed in association with the parameter.

この第1の処理結果表示部207では、フローチャート47上で選択された処理ユニットにおける画像処理に使用されたカメラ画像と共に、当該画像処理の対象領域を示す図形及び当該画像処理による計測結果を示す図形のいずれか一方又は両方をビジョンビューウィンドウ44内に表示する動作も行われる。   In the first processing result display unit 207, together with the camera image used for image processing in the processing unit selected on the flowchart 47, a figure indicating the target area of the image processing and a figure indicating the measurement result by the image processing One or both of these are also displayed in the vision view window 44.

本実施の形態では、許可フラグ保持部210に保持されている許可フラグに基づいて、画像処理コントローラ11上で変更可能なパラメータが決定される。例えば、許可フラグによって変更が許可されているパラメータを示す情報がPC2上で作成され、画像処理コントローラ11へ転送される。画像処理コントローラ11では、この情報に基づいて、変更可能なパラメータを決定する動作が行われる。   In the present embodiment, a parameter that can be changed on the image processing controller 11 is determined based on the permission flag held in the permission flag holding unit 210. For example, information indicating parameters whose change is permitted by the permission flag is created on the PC 2 and transferred to the image processing controller 11. The image processing controller 11 performs an operation of determining a changeable parameter based on this information.

抽出フラグ保持部211には、パラメータ及び処理結果を処理ユニットごとに抽出するための抽出フラグが保持される。この抽出フラグは、第1の処理結果表示部207によるパラメータ及び処理結果の表示時における操作入力に基づいてセットし、オン状態に遷移するフラグである。   The extraction flag holding unit 211 holds an extraction flag for extracting parameters and processing results for each processing unit. This extraction flag is a flag that is set based on the operation input at the time of display of the parameter and the processing result by the first processing result display unit 207, and transits to the ON state.

第2の処理結果表示部208は、抽出フラグに基づいてパラメータ及び処理結果を抽出し、各処理ユニットについての抽出結果を抽出一覧ウィンドウ60内に一覧表示する動作を行っている。   The second processing result display unit 208 performs an operation of extracting parameters and processing results based on the extraction flag and displaying a list of extraction results for each processing unit in the extraction list window 60.

パラメータ関連付け部212は、処理ユニットの編集時における操作入力に基づいて、許可フラグによって変更が許可された複数のパラメータを互いに関連付ける動作を行っている。具体的には、編集ダイアログ50の入力欄52において入力された文字情報を許可フラグによって変更が許可されたパラメータに関連付けることによって、同じ文字情報が対応付けられた複数のパラメータが互いに関連付けられる。入力欄52において入力された文字情報は、変数名としてパラメータに関連付けて変数名記憶部213内に格納される。   The parameter association unit 212 performs an operation of associating a plurality of parameters whose change is permitted by the permission flag with each other based on an operation input at the time of editing the processing unit. Specifically, by associating the character information input in the input field 52 of the edit dialog 50 with the parameter permitted to be changed by the permission flag, a plurality of parameters associated with the same character information are associated with each other. The character information input in the input field 52 is stored in the variable name storage unit 213 as a variable name in association with the parameter.

この様にして、変数名を介して互いに関連付けられた複数のパラメータは、グローバル変数としてその値が共有され、これらのパラメータのうちの1つがプログラム編集部209によって変更されると、他のパラメータも同じように変更される。   In this way, the values of a plurality of parameters associated with each other via the variable name are shared as global variables, and when one of these parameters is changed by the program editing unit 209, the other parameters are also changed. It is changed in the same way.

本実施の形態によれば、PC2上で検査設定データが実行されるので、画像処理コントローラ11の運転を停止させることなく、検査設定データを動作確認することができる。また、フローチャート47上で選択された処理ユニットについてパラメータ及び処理結果が表示されるので、検査設定データを構成する任意の処理ユニットについて容易に動作確認することができる。   According to the present embodiment, since the inspection setting data is executed on the PC 2, the operation of the inspection setting data can be confirmed without stopping the operation of the image processing controller 11. Further, since the parameters and the processing results are displayed for the processing unit selected on the flowchart 47, it is possible to easily confirm the operation of any processing unit constituting the inspection setting data.

また、許可フラグを介して画像処理コントローラ上で変更可能なパラメータを予め指定することができるので、一部のパラメータについてのみ画像処理コントローラ上での変更を可能とし、他のパラメータについては変更させないようにすることができる。   In addition, since parameters that can be changed on the image processing controller can be designated in advance via the permission flag, only some parameters can be changed on the image processing controller, and other parameters are not changed. Can be.

本発明の実施の形態によるプログラム作成装置を含む検査システムの一構成例を示した斜視図である。It is the perspective view which showed one structural example of the test | inspection system containing the program creation apparatus by embodiment of this invention. 図1の検査システムのシステム構成の一例を示したブロック図である。It is the block diagram which showed an example of the system configuration | structure of the inspection system of FIG. 図2の検査システム100におけるPC2の動作の一例を示した図であり、検査設定データ22を作成するためのエディタ画面40が示されている。FIG. 3 is a diagram showing an example of the operation of the PC 2 in the inspection system 100 of FIG. 2, and shows an editor screen 40 for creating inspection setting data 22. 図2の検査システム100におけるPC2の動作の一例を示した図であり、フロービューウィンドウ46が表示されたエディタ画面40が示されている。FIG. 4 is a diagram showing an example of the operation of the PC 2 in the inspection system 100 of FIG. 2 and shows an editor screen 40 on which a flow view window 46 is displayed. 図2の検査システム100におけるPC2の動作の一例を示した図であり、エディタ画面40上に表示される編集ダイアログ50が示されている。FIG. 4 is a diagram showing an example of the operation of the PC 2 in the inspection system 100 of FIG. 2, and shows an edit dialog 50 displayed on the editor screen 40. 図2の検査システム100におけるPC2の動作の一例を示した図であり、エディタ画面40上のリザルトビューウィンドウ45が示されている。FIG. 4 is a diagram showing an example of the operation of the PC 2 in the inspection system 100 of FIG. 2, and a result view window 45 on the editor screen 40 is shown. 図2の検査システム100におけるPC2の動作の一例を示した図であり、処理ユニットの処理結果が表示されたリザルトビューウィンドウ45が示されている。It is the figure which showed an example of operation | movement of PC2 in the test | inspection system 100 of FIG. 2, and the result view window 45 where the processing result of the processing unit was displayed is shown. 図2の検査システム100におけるPC2の動作の一例を示した図であり、非表示の処理結果データを表示させた場合が示されている。It is a figure showing an example of operation of PC2 in inspection system 100 of Drawing 2, and the case where non-display processing result data is displayed is shown. 図2の検査システム100におけるPC2の動作の一例を示した図であり、エディタ画面40上の抽出一覧ウィンドウ60が示されている。FIG. 4 is a diagram showing an example of the operation of the PC 2 in the inspection system 100 of FIG. 2, and an extraction list window 60 on the editor screen 40 is shown. 図2のPC2の動作の一例を示した図であり、ビジョンウィンドウ44及びユーザウィンドウ49が表示されたエディタ画面40が示されている。FIG. 4 is a diagram showing an example of the operation of the PC 2 in FIG. 2, and shows an editor screen 40 on which a vision window 44 and a user window 49 are displayed. 図2のPC2の構成例を示したブロック図であり、画像処理コントローラ11の制御プログラムを作成するエディタの機能構成の一例が示されている。FIG. 3 is a block diagram illustrating a configuration example of the PC 2 in FIG. 2, illustrating an example of a functional configuration of an editor that creates a control program for the image processing controller 11.

符号の説明Explanation of symbols

1 画像処理装置
2 PC
3 通信ネットワーク
11 画像処理コントローラ
12 カメラ
13a ディスプレイ
13b 操作ユニット
14,21 メモリ
15,22 検査設定データ
40 エディタ画面
100 検査システム
201 フローチャート表示部
202 プログラム生成部
203 転送部
204 画像データ記憶部
205 シミュレーション部
206 処理結果記憶部
207 第1の処理結果表示部
208 第2の処理結果表示部
209 プログラム編集部
210 許可フラグ保持部
211 抽出フラグ保持部
212 パラメータ関連付け部
213 変数名記憶部
1 Image processing device 2 PC
3 communication network 11 image processing controller 12 camera 13a display 13b operation unit 14, 21 memory 15, 22 inspection setting data 40 editor screen 100 inspection system 201 flowchart display unit 202 program generation unit 203 transfer unit 204 image data storage unit 205 simulation unit 206 Processing result storage unit 207 First processing result display unit 208 Second processing result display unit 209 Program editing unit 210 Permission flag holding unit 211 Extraction flag holding unit 212 Parameter association unit 213 Variable name storage unit

Claims (9)

被写体を撮影して得られるカメラ画像に基づいて判定信号を出力する画像処理コントローラの制御プログラムを作成するプログラム作成装置において、
パラメータが変更可能な画像処理をそれぞれ示す2以上の処理ユニットを配列することによって生成されたフローチャートを表示するフローチャート表示手段と、
上記フローチャートに基づいて、画像処理コントローラの制御プログラムを生成するプログラム生成手段と、
上記制御プログラムを画像処理コントローラへ転送する転送手段と、
上記制御プログラムを実行するシミュレーション手段と、
上記シミュレーション手段によって実行された処理ユニットごとの処理結果を保持する処理結果記憶手段と、
上記フローチャート上で選択された処理ユニットのパラメータ及び処理結果を表示する第1の処理結果表示手段とを備えたことを特徴とする画像処理コントローラ用のプログラム作成装置。
In a program creation device for creating a control program for an image processing controller that outputs a determination signal based on a camera image obtained by photographing a subject,
Flowchart display means for displaying a flowchart generated by arranging two or more processing units each indicating image processing whose parameters can be changed;
Program generating means for generating a control program for the image processing controller based on the flowchart,
Transfer means for transferring the control program to the image processing controller;
Simulation means for executing the control program;
Processing result storage means for holding a processing result for each processing unit executed by the simulation means;
A program creation apparatus for an image processing controller, comprising: a first processing result display means for displaying a parameter and a processing result of a processing unit selected on the flowchart.
上記処理ユニットのパラメータを操作入力に基づいて変更し、上記制御プログラムを書き換えるプログラム編集手段と、
上記処理ユニットの編集時における操作入力に基づいてオン状態に遷移するフラグであって、上記パラメータの変更を許可するための許可フラグを保持する許可フラグ保持手段とを備え、
上記第1の処理結果表示手段が、上記許可フラグに基づいてパラメータ及び処理結果の表示を行うことを特徴とする請求項1に記載の画像処理コントローラ用のプログラム作成装置。
Program editing means for changing the parameters of the processing unit based on operation input and rewriting the control program;
A flag that transitions to an ON state based on an operation input at the time of editing the processing unit, and includes a permission flag holding unit that holds a permission flag for permitting the change of the parameter,
2. The program creation device for an image processing controller according to claim 1, wherein the first processing result display means displays a parameter and a processing result based on the permission flag.
上記許可フラグ保持手段が保持する上記許可フラグに基づいて、上記画像処理コントローラ上で変更可能なパラメータが決定されることを特徴とする請求項2に記載の画像処理コントローラ用のプログラム作成装置。   3. The program creation device for an image processing controller according to claim 2, wherein a parameter that can be changed on the image processing controller is determined based on the permission flag held by the permission flag holding means. 上記処理ユニットの編集時における操作入力に基づいて、異なる処理ユニットのパラメータであって、上記許可フラグによって変更が許可されたパラメータを互いに関連付けるパラメータ関連付け手段を備え、
上記パラメータ関連付け手段によって互いに関連付けられた複数のパラメータのうちの1つが変更されると、他のパラメータも同じように変更されることを特徴とする請求項2に記載の画像処理コントローラ用のプログラム作成装置。
Based on an operation input at the time of editing the processing unit, comprising parameter associating means for associating parameters of different processing units that are allowed to be changed by the permission flag,
3. The program creation for an image processing controller according to claim 2, wherein when one of a plurality of parameters associated with each other is changed by the parameter association means, the other parameters are changed in the same manner. apparatus.
上記処理ユニットの編集時における操作入力に基づいて、上記許可フラグによって変更が許可された複数のパラメータを互いに関連付けるパラメータ関連付け手段を備え、
上記パラメータ関連付け手段によって互いに関連付けられた複数のパラメータのうちの1つが変更されると、他のパラメータも同じように変更され、
上記第1の処理結果表示手段が、上記パラメータ関連付け手段によるパラメータの関連付けに基づいて、パラメータ及び処理結果を表示することを特徴とする請求項2に記載の画像処理コントローラ用のプログラム作成装置。
Based on an operation input at the time of editing the processing unit, comprising a parameter associating means for associating a plurality of parameters permitted to be changed by the permission flag;
When one of a plurality of parameters associated with each other is changed by the parameter association means, the other parameters are changed in the same manner,
3. The program creation device for an image processing controller according to claim 2, wherein the first processing result display means displays a parameter and a processing result based on the parameter association by the parameter association means.
上記第1の処理結果表示手段によるパラメータ及び処理結果の表示時における操作入力に基づいてオン状態に遷移するフラグであって、パラメータ及び処理結果を処理ユニットごとに抽出するための抽出フラグを保持する抽出フラグ保持手段と、
上記抽出フラグに基づいてパラメータ及び処理結果を抽出し、各処理ユニットについての抽出結果を一覧表示する第2の処理結果表示手段とを備えたことを特徴とする請求項1に記載の画像処理コントローラ用のプログラム作成装置。
A flag that transitions to an ON state based on an operation input at the time of displaying the parameter and the processing result by the first processing result display means, and holds an extraction flag for extracting the parameter and the processing result for each processing unit Extraction flag holding means;
2. The image processing controller according to claim 1, further comprising second processing result display means for extracting parameters and processing results based on the extraction flag and displaying a list of extraction results for each processing unit. Program creation device.
上記カメラ画像を保持する画像データ記憶手段を備え、
上記第1の処理結果表示手段が、パラメータの現在値と、処理後の上記カメラ画像とを処理結果として表示することを特徴とする請求項1に記載の画像処理コントローラ用のプログラム作成装置。
Image data storage means for holding the camera image,
2. The program creation device for an image processing controller according to claim 1, wherein the first processing result display means displays the current value of the parameter and the camera image after processing as a processing result.
上記カメラ画像を保持するカメラ画像記憶手段を備え、
上記第1の処理結果表示手段が、上記フローチャート上で選択された処理ユニットにおける画像処理に使用されたカメラ画像と共に、当該画像処理の対象領域を示す図形及び当該画像処理による計測結果を示す図形のいずれか一方又は両方を表示することを特徴とする請求項1に記載の画像処理コントローラ用のプログラム作成装置。
Camera image storage means for holding the camera image;
The first processing result display means includes a camera image used for image processing in the processing unit selected on the flowchart, a figure showing a target area of the image processing, and a figure showing a measurement result by the image processing. The program creation device for an image processing controller according to claim 1, wherein either one or both are displayed.
上記第1の処理結果表示手段により表示される上記カメラ画像が、計測結果を求める処理の前処理として行われたフィルタ処理後の画像データからなることを特徴とする請求項8に記載の画像処理コントローラ用のプログラム作成装置。   The image processing according to claim 8, wherein the camera image displayed by the first processing result display unit includes image data after filtering performed as preprocessing for processing for obtaining a measurement result. Program creation device for controller.
JP2007285045A 2007-11-01 2007-11-01 Device for creating program for use in image processing controller Pending JP2009116377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007285045A JP2009116377A (en) 2007-11-01 2007-11-01 Device for creating program for use in image processing controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007285045A JP2009116377A (en) 2007-11-01 2007-11-01 Device for creating program for use in image processing controller

Publications (1)

Publication Number Publication Date
JP2009116377A true JP2009116377A (en) 2009-05-28

Family

ID=40783500

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007285045A Pending JP2009116377A (en) 2007-11-01 2007-11-01 Device for creating program for use in image processing controller

Country Status (1)

Country Link
JP (1) JP2009116377A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012195947A (en) * 2012-05-08 2012-10-11 Kyocera Document Solutions Inc Display input device and image forming apparatus with the same
JP2012199936A (en) * 2012-05-08 2012-10-18 Kyocera Document Solutions Inc Display input device and image forming apparatus with the same
US8724145B2 (en) 2010-02-19 2014-05-13 Kyocera Document Solutions Inc. Display input device, image forming apparatus, and display method of the display input device
JP2014170592A (en) * 2014-06-24 2014-09-18 Omron Corp Image processing apparatus
JP2016506559A (en) * 2012-11-27 2016-03-03 オムロン株式会社 Method and device for changing objects in an HMI device
US9728168B2 (en) 2010-04-07 2017-08-08 Omron Corporation Image processing apparatus
JP2019091249A (en) * 2017-11-15 2019-06-13 オムロン株式会社 Defect inspection device, defect inspecting method, and program thereof
JP2019175407A (en) * 2018-03-29 2019-10-10 パナソニック デバイスSunx株式会社 Program creation device and program creation method of image inspection program, and creation program
JP2019175408A (en) * 2018-03-29 2019-10-10 パナソニック デバイスSunx株式会社 Program creation device and program creation method of image inspection program, and creation program
WO2021131531A1 (en) * 2019-12-27 2021-07-01 オムロン株式会社 Program executing device, program executing method, and program

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8724145B2 (en) 2010-02-19 2014-05-13 Kyocera Document Solutions Inc. Display input device, image forming apparatus, and display method of the display input device
US9728168B2 (en) 2010-04-07 2017-08-08 Omron Corporation Image processing apparatus
JP2012195947A (en) * 2012-05-08 2012-10-11 Kyocera Document Solutions Inc Display input device and image forming apparatus with the same
JP2012199936A (en) * 2012-05-08 2012-10-18 Kyocera Document Solutions Inc Display input device and image forming apparatus with the same
JP2016506559A (en) * 2012-11-27 2016-03-03 オムロン株式会社 Method and device for changing objects in an HMI device
JP2014170592A (en) * 2014-06-24 2014-09-18 Omron Corp Image processing apparatus
JP2019091249A (en) * 2017-11-15 2019-06-13 オムロン株式会社 Defect inspection device, defect inspecting method, and program thereof
JP7004145B2 (en) 2017-11-15 2022-01-21 オムロン株式会社 Defect inspection equipment, defect inspection methods, and their programs
JP2019175407A (en) * 2018-03-29 2019-10-10 パナソニック デバイスSunx株式会社 Program creation device and program creation method of image inspection program, and creation program
JP2019175408A (en) * 2018-03-29 2019-10-10 パナソニック デバイスSunx株式会社 Program creation device and program creation method of image inspection program, and creation program
CN110321108A (en) * 2018-03-29 2019-10-11 松下神视株式会社 For the program creation apparatus of image inspection program, program creation method and creation program
CN110335229A (en) * 2018-03-29 2019-10-15 松下神视株式会社 For the program creation apparatus of image inspection program, program creation method and creation program
WO2021131531A1 (en) * 2019-12-27 2021-07-01 オムロン株式会社 Program executing device, program executing method, and program
JP2021105952A (en) * 2019-12-27 2021-07-26 オムロン株式会社 Program execution device, program execution method, and program
JP7334617B2 (en) 2019-12-27 2023-08-29 オムロン株式会社 Program execution device, program execution method and program

Similar Documents

Publication Publication Date Title
JP2009116377A (en) Device for creating program for use in image processing controller
JP5411049B2 (en) Image processing device
JP5415182B2 (en) Image processing apparatus, program creation support apparatus, and image processing method
CN108961144B (en) Image processing system
US8081213B2 (en) Test support system and image processing controller
JP5060677B2 (en) Image processing controller and inspection support system
JP4944739B2 (en) Program creation device for image processing controller
JP7382651B2 (en) Programming devices and programs
JP7214432B2 (en) Image processing method, image processing program, recording medium, image processing apparatus, production system, article manufacturing method
JP4929133B2 (en) Inspection support system
JP5060675B2 (en) Program creation device for image processing controller
JP5060674B2 (en) Program creation device for image processing controller
JP4944737B2 (en) Program creation device for image processing controller
JP5696194B2 (en) Program creation support apparatus and image processing apparatus
JP2009116381A (en) Program creation device for image processing controller
JP6389120B2 (en) Data processing apparatus, data processing method, and program
JP4944751B2 (en) Image processing controller
JP5060676B2 (en) Program creation apparatus and inspection support system for image processing controller
JP5861743B2 (en) Image processing device
US20220413810A1 (en) Program executing device, program executing method, and non-transitory computer-readable storage medium
US11422833B1 (en) System and method for automatic generation of human-machine interface in a vision system
US20230421891A1 (en) Controller
JP2022075510A (en) Information processing device, information processing method, and program
JP2013131229A (en) Image processing apparatus