JP2013164506A - Manual preparation support device and manual preparation support method - Google Patents

Manual preparation support device and manual preparation support method Download PDF

Info

Publication number
JP2013164506A
JP2013164506A JP2012027322A JP2012027322A JP2013164506A JP 2013164506 A JP2013164506 A JP 2013164506A JP 2012027322 A JP2012027322 A JP 2012027322A JP 2012027322 A JP2012027322 A JP 2012027322A JP 2013164506 A JP2013164506 A JP 2013164506A
Authority
JP
Japan
Prior art keywords
data
manual
setting
image
imaging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012027322A
Other languages
Japanese (ja)
Other versions
JP5815434B2 (en
Inventor
Akinobu Sesato
彰信 瀬里
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 JP2012027322A priority Critical patent/JP5815434B2/en
Publication of JP2013164506A publication Critical patent/JP2013164506A/en
Application granted granted Critical
Publication of JP5815434B2 publication Critical patent/JP5815434B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide a manual preparation support device and manual preparation support method capable of automatically preparing a manual showing a work procedure or the like as an individual manual corresponding to a user.SOLUTION: An input of imaging data obtained by imaging at least an inspection object and unique data including setting data of an external appearance inspection device for performing quality determination is received and stored. Text data is associated with the setting data and is stored. The imaging data and the setting data are used to execute an operation simulation of the external appearance inspection device, and a portion of a screen displayed during execution or the whole screen is outputted as image data. The outputted image data is associated with the stored text data to generate and output manual data. An operation simulation of the external appearance inspection device is executed on the basis of the setting data, a screen displayed during execution is outputted as image data, and text data corresponding to the setting data is read and associated with the outputted image data to generate manual data.

Description

本発明は、ユーザに応じたマニュアルを自動的に作成するマニュアル作成支援装置及びマニュアル作成支援方法に関する。特に、検査対象物を撮像して取得した画像に基づいて良否判定する外観検査装置に使用するマニュアル作成支援装置及びマニュアル作成支援方法に関する。   The present invention relates to a manual creation support apparatus and a manual creation support method that automatically create a manual according to a user. In particular, the present invention relates to a manual creation support apparatus and a manual creation support method used in an appearance inspection apparatus that determines pass / fail based on an image acquired by imaging an inspection target.

従来、検査対象物を撮像して取得した画像を、基準となる検査対象物の画像(基準画像)と比較することにより、検査対象物が良品であるか否かを判定する外観検査装置が開発されている。外観検査装置のマニュアルは、文書作成支援のソフトウェア等を用いて作成するのが一般的である。   Conventionally, an appearance inspection device has been developed that determines whether or not an inspection object is a non-defective product by comparing an image acquired by imaging the inspection object with an image (reference image) of a reference inspection object. Has been. The manual of the appearance inspection apparatus is generally created using software for supporting document creation.

例えば特許文献1では、物品の一部または全部を組み立てた状態を示す図面データ及び組立手順を示すアニメーションデータを記憶しておき、対応付けてあるアイコンの選択操作に応じて図面データを表示し、アニメーションデータを再生する組立手順書の作成支援システムが開示されている。特許文献1では、事前に図面データ及びアニメーションデータを記憶しておき、ユーザの選択を受け付けることで、組立手順に従ってアニメーションデータが再生され、図面データが表示される。   For example, in Patent Document 1, drawing data indicating a state in which a part or all of an article is assembled and animation data indicating an assembling procedure are stored, and the drawing data is displayed in accordance with a selection operation of an associated icon. An assembly procedure manual creation support system for reproducing animation data is disclosed. In Patent Literature 1, drawing data and animation data are stored in advance, and by receiving a user's selection, animation data is reproduced according to an assembly procedure, and drawing data is displayed.

特開2003−223094号公報JP 2003-223094 A

特許文献1に開示されている組立手順書の作成支援システムでは、事前に設定されている組立手順に従ってアニメーションデータを再生し、図面データを表示することはできる。しかし、ユーザにとって不要な手順についてもアニメーションデータが再生され、図面データが表示され、ユーザの使用状況に即した組立手順書を作成することができないという問題点があった。   In the assembly procedure manual creation support system disclosed in Patent Document 1, animation data can be reproduced and drawing data can be displayed in accordance with a preset assembly procedure. However, there is a problem in that animation data is reproduced for a procedure unnecessary for the user, drawing data is displayed, and it is impossible to create an assembly procedure manual in accordance with the use state of the user.

本発明は上記事情に鑑みてなされたものであり、作業手順等を示すマニュアルを、ユーザに応じた個別のマニュアルとして自動的に作成するマニュアル作成支援装置及びマニュアル作成支援方法を提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object thereof is to provide a manual creation support apparatus and a manual creation support method for automatically creating a manual indicating a work procedure or the like as an individual manual according to a user. And

上記目的を達成するために第1発明に係るマニュアル作成支援装置は、少なくとも検査対象物を撮像した撮像データ、及び良否判定を行う外観検査装置の設定データを含む固有データの入力を受け付ける固有データ入力受付手段と、入力を受け付けた固有データを記憶装置へ記憶する固有データ記憶手段と、前記設定データに対応付けてテキストデータを記憶するテキストデータ記憶手段と、前記撮像データ及び前記設定データを用いて前記外観検査装置の動作シミュレーションを実行し、実行時に表示される画面の一部又は全部を画像データとして出力する動作シミュレート手段と、出力された画像データと記憶された前記テキストデータとを対応付けてマニュアルデータを生成するマニュアル生成手段と、生成したマニュアルデータを出力するマニュアル出力手段とを備えるマニュアル作成支援装置において、前記動作シミュレート手段は、前記設定データに基づいて前記外観検査装置の動作シミュレーションを実行し、実行時に表示される画面を画像データとして出力し、前記マニュアル生成手段は、前記設定データに対応するテキストデータを読み出し、出力された画像データと対応付けてマニュアルデータを生成することを特徴とする。   In order to achieve the above object, the manual creation support apparatus according to the first aspect of the present invention is a unique data input that accepts input of unique data including at least imaging data obtained by imaging an inspection object and setting data of an appearance inspection apparatus that performs pass / fail determination. Using the reception means, the unique data storage means for storing the unique data that has been accepted in the storage device, the text data storage means for storing the text data in association with the setting data, the imaging data and the setting data An operation simulation unit that performs an operation simulation of the appearance inspection apparatus and outputs a part or all of a screen displayed at the time of execution as image data is associated with the output image data and the stored text data. Manual generation means to generate manual data and output the generated manual data In the manual creation support apparatus comprising the manual output means, the operation simulation means executes an operation simulation of the appearance inspection apparatus based on the setting data, and outputs a screen displayed at the time of execution as image data, The manual generation means reads text data corresponding to the setting data and generates manual data in association with the output image data.

また、第2発明に係るマニュアル作成支援装置は、第1発明において、前記テキストデータ記憶手段は、前記固有データのレイアウトに関するレイアウト情報を記憶することを特徴とする。   The manual creation support apparatus according to the second invention is characterized in that, in the first invention, the text data storage means stores layout information relating to the layout of the unique data.

また、第3発明に係るマニュアル作成支援装置は、第1又は第2発明において、前記設定データの選択を受け付ける設定データ選択受付手段を備えることを特徴とする。   According to a third aspect of the present invention, there is provided a manual creation support apparatus according to the first or second aspect, further comprising setting data selection receiving means for receiving selection of the setting data.

また、第4発明に係るマニュアル作成支援装置は、第1乃至第3発明のいずれか1つにおいて、前記固有データ記憶手段は、前記設定データごとに設定パラメータとパラメータ値とを対応付けた対応テーブルを記憶することを特徴とする。   According to a fourth aspect of the present invention, in the manual creation support apparatus according to any one of the first to third aspects, the unique data storage means associates a setting parameter and a parameter value for each setting data. Is stored.

次に、上記目的を達成するために第5発明に係るマニュアル作成支援方法は、少なくとも検査対象物を撮像した撮像データ、及び良否判定を行う外観検査装置の設定データを含む固有データの入力を受け付けるステップと、入力を受け付けた固有データを記憶装置へ記憶するステップと、前記設定データに対応付けてテキストデータを記憶するステップと、前記撮像データ及び前記設定データを用いて前記外観検査装置の動作シミュレーションを実行し、実行時に表示される画面の一部又は全部を画像データとして出力するステップと、出力された画像データと記憶された前記テキストデータとを対応付けてマニュアルデータを生成するステップと、生成したマニュアルデータを出力するステップとを含み、前記設定データに基づいて前記外観検査装置の動作シミュレーションを実行し、実行時に表示される画面を画像データとして出力し、前記設定データに対応するテキストデータを読み出し、出力された画像データと対応付けてマニュアルデータを生成することを特徴とする。   Next, in order to achieve the above object, the manual creation support method according to the fifth aspect of the invention accepts input of specific data including at least imaging data obtained by imaging an inspection object and setting data of an appearance inspection apparatus that performs pass / fail determination. A step of storing the unique data that has received the input in a storage device, a step of storing text data in association with the setting data, and an operation simulation of the appearance inspection device using the imaging data and the setting data A step of outputting a part or all of a screen displayed at the time of execution as image data, a step of generating manual data by associating the output image data with the stored text data, and generation Outputting manual data that has been processed, and based on the setting data An operation simulation of the inspection apparatus is executed, a screen displayed at the time of execution is output as image data, text data corresponding to the setting data is read, and manual data is generated in association with the output image data And

また、第6発明に係るマニュアル作成支援方法は、第5発明において、前記固有データのレイアウトに関するレイアウト情報を記憶することを特徴とする。   A manual creation support method according to a sixth invention is characterized in that, in the fifth invention, layout information relating to the layout of the unique data is stored.

また、第7発明に係るマニュアル作成支援方法は、第5又は第6発明において、前記設定データの選択を受け付けるステップを含むことを特徴とする。   A manual creation support method according to a seventh aspect of the invention is characterized in that, in the fifth or sixth aspect of the invention, the method includes a step of accepting selection of the setting data.

また、第8発明に係るマニュアル作成支援方法は、第5乃至第7発明のいずれか1つにおいて、前記設定データごとに設定パラメータとパラメータ値とを対応付けた対応テーブルを記憶することを特徴とする。   A manual creation support method according to an eighth invention is characterized in that, in any one of the fifth to seventh inventions, a correspondence table in which a setting parameter is associated with a parameter value for each setting data is stored. To do.

第1発明及び第5発明では、撮像された撮像データ及び記憶された設定データを用いて動作シミュレーションを実行し、実行時に表示される画面の一部又は全部を画像データとして出力し、出力された画像データとテキストデータとを対応付けてマニュアルデータを生成して出力するので、ユーザにより選択された画像処理ツールに対して、ユーザにより設定された設定データに基づいて、必要な画像データ及び該画像データに対応するテキストデータを取得してマニュアルデータを生成することができ、ユーザに応じた個別のマニュアルを自動的に作成することが可能となる。   In the first invention and the fifth invention, an operation simulation is executed using the imaged image data and the stored setting data, and a part or all of the screen displayed at the time of execution is output as image data and output. Since manual data is generated and output by associating image data and text data, the necessary image data and the image are selected based on the setting data set by the user for the image processing tool selected by the user. Manual data can be generated by acquiring text data corresponding to the data, and an individual manual corresponding to the user can be automatically created.

特に、特許文献1に開示されている組立手順書の作成支援システムでは、誰が作成しても同じ組立手順書が作成され、ユーザに応じた個別のマニュアルを作成することは困難である。それに対して、本発明に係るマニュアル作成支援装置によれば、例えば検査対象物Aの検査を行うユーザに対しては、検査対象物Aを撮像した撮像データに基づくマニュアルデータが自動的に生成され、検査対象物Aと種別の異なる検査対象物Bの検査を行うユーザに対しては、検査対象物Bを撮像した撮像データに基づくマニュアルデータが自動的に生成される。これによって、ユーザは、実際に外観検査に用いる検査対象物を撮像した撮像データを用いてマニュアルを作成することができるので、ユーザにとって直感的に分かり易く、利便性の高いマニュアルを自動的に作成することができる。   In particular, in the assembly procedure manual creation support system disclosed in Patent Document 1, the same assembly procedure manual is created regardless of who creates it, and it is difficult to create individual manuals according to the user. On the other hand, according to the manual creation support device according to the present invention, for example, manual data based on imaging data obtained by imaging the inspection object A is automatically generated for a user who inspects the inspection object A. For a user who inspects an inspection object B of a different type from the inspection object A, manual data based on imaging data obtained by imaging the inspection object B is automatically generated. As a result, the user can create a manual using image data obtained by imaging the inspection object that is actually used for the appearance inspection, so that a user-friendly manual that is easy to understand intuitively is automatically created. can do.

第2発明及び第6発明では、固有データのレイアウトに関するレイアウト情報を記憶してあるので、出力された画像データ及び該画像データに対応するテキストデータを、レイアウト情報に基づいて配置することにより、容易にマニュアルデータを生成することが可能となる。   In the second and sixth inventions, the layout information related to the layout of the unique data is stored, so that the output image data and the text data corresponding to the image data can be easily arranged based on the layout information. Manual data can be generated.

第3発明及び第7発明では、設定データの選択を受け付けることができるので、たとえ同じ検査システムのユーザであっても、ユーザごとにマニュアルとして必要な設定データを選択してマニュアルデータを生成することができ、ユーザに応じた個別のマニュアルを作成することが可能となる。   In the third and seventh inventions, since selection of setting data can be accepted, even if a user of the same inspection system, manual data is generated by selecting necessary setting data as a manual for each user. It is possible to create an individual manual according to the user.

第4発明及び第8発明では、設定データごとに設定パラメータとパラメータ値とを対応付けた対応テーブルを記憶してあるので、設定パラメータのパラメータ値もマニュアルデータに記載することができ、ユーザにとってより直感的に分かりやすく、利便性の高いマニュアルを作成することが可能となる。   In the fourth and eighth inventions, since the correspondence table in which the setting parameter and the parameter value are associated with each other is stored for each setting data, the parameter value of the setting parameter can also be described in the manual data, which is more convenient for the user. It is possible to create a user-friendly manual that is easy to understand intuitively.

本発明によれば、撮像された撮像データ及び記憶された設定データを用いて動作シミュレーションを実行し、実行時に表示される画面の一部又は全部を画像データとして出力し、出力された画像データとテキストデータとを対応付けてマニュアルデータを生成して出力するので、ユーザにより選択された画像処理ツールに対して、ユーザにより設定された設定データに基づいて、必要な画像データ及び該画像データに対応するテキストデータを取得してマニュアルデータを生成することができ、ユーザに応じた個別のマニュアルを自動的に作成することが可能となる。   According to the present invention, an operation simulation is performed using captured image data and stored setting data, a part or all of a screen displayed at the time of execution is output as image data, and the output image data and Since manual data is generated by associating it with text data and output, it corresponds to the necessary image data and the image data based on the setting data set by the user for the image processing tool selected by the user. Text data to be acquired can be acquired and manual data can be generated, and an individual manual corresponding to the user can be automatically created.

本発明の実施の形態に係るマニュアル作成支援装置のマニュアル作成対象となる検査システムの構成を示す模式図である。It is a schematic diagram which shows the structure of the test | inspection system used as the manual preparation object of the manual preparation assistance apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るマニュアル作成支援装置と接続されている外観検査装置のパターンサーチ計測ツールの例示図である。It is an illustration figure of the pattern search measurement tool of the external appearance inspection apparatus connected with the manual preparation assistance apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るマニュアル作成支援装置の構成を示すブロック図である。It is a block diagram which shows the structure of the manual creation assistance apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るマニュアル作成支援装置の機能ブロック図である。It is a functional block diagram of the manual preparation assistance apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るマニュアル作成支援装置のマニュアルデータ生成画面の例示図である。It is an illustration figure of the manual data generation screen of the manual preparation assistance apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るマニュアル作成支援装置の選択受付画面の例示図である。It is an illustration figure of the selection reception screen of the manual creation assistance apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るマニュアル作成支援装置のシナリオデータの例示図である。It is an illustration figure of the scenario data of the manual creation assistance apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るマニュアル作成支援装置のCPUの処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of CPU of the manual preparation assistance apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るマニュアル作成支援装置の、外観検査装置に接続される表示部で表示される設定画面の例示図である。It is an illustration figure of the setting screen displayed on the display part connected to the visual inspection apparatus of the manual preparation assistance apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るマニュアル作成支援装置の、外観検査装置に接続される表示部で表示される他の設定画面の例示図である。It is an illustration figure of the other setting screen displayed on the display part connected to the visual inspection apparatus of the manual preparation assistance apparatus which concerns on embodiment of this invention. パターンサーチ計測ツールの設定パラメータの初期値を示す対応テーブルの例示図である。It is an illustration figure of the corresponding | compatible table which shows the initial value of the setting parameter of a pattern search measurement tool. 本発明の実施の形態に係るマニュアル作成支援装置で作成されたマニュアルの一部を示す例示図である。It is an illustration figure which shows a part of manual produced with the manual production assistance apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係るマニュアル作成支援装置で作成されたマニュアルの一部を示す例示図である。It is an illustration figure which shows a part of manual produced with the manual production assistance apparatus which concerns on embodiment of this invention.

以下、本発明の実施の形態について、図面を参照して説明する。なお、本実施の形態の説明で参照する図面を通じて、同一又は同様の構成又は機能を有する要素については、同一又は同様の符号を付して、詳細な説明を省略する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. Note that elements having the same or similar configuration or function are denoted by the same or similar reference numerals throughout the drawings referred to in the description of this embodiment, and detailed description thereof is omitted.

図1は、本発明の実施の形態に係るマニュアル作成支援装置のマニュアル作成対象となる検査システムの構成を示す模式図である。図1に示すように、本実施の形態に係るマニュアル作成支援装置のマニュアル作成対象となる検査システムは、撮像装置1と、撮像装置1とデータ通信することが可能に接続ケーブル3で接続され、画像処理を実行するFPGA、DSP等を備えている外観検査装置2とで構成されている。外観検査装置2は表示装置(図示せず)と接続されており、画像処理制御部201と照明制御部202とを内蔵している。   FIG. 1 is a schematic diagram showing a configuration of an inspection system that is a manual creation target of a manual creation support apparatus according to an embodiment of the present invention. As shown in FIG. 1, an inspection system that is a manual creation target of the manual creation support apparatus according to the present embodiment is connected to the imaging apparatus 1 by a connection cable 3 so that data communication with the imaging apparatus 1 is possible. The visual inspection apparatus 2 includes an FPGA, a DSP, and the like that execute image processing. The appearance inspection device 2 is connected to a display device (not shown) and includes an image processing control unit 201 and an illumination control unit 202.

また、照明制御部202は、照明装置4とデータ通信することが可能な接続ケーブル3で接続されている。コンベア5上を移動してくる検査対象物6に対して、照明装置4で光を照射し、撮像装置1で撮像する。撮像した検査対象物6の画像に基づいて、検査対象物6が良品であるか不良品であるかを判定する。   The illumination control unit 202 is connected by a connection cable 3 capable of data communication with the illumination device 4. The inspection object 6 moving on the conveyor 5 is irradiated with light by the illumination device 4 and imaged by the imaging device 1. Based on the captured image of the inspection object 6, it is determined whether the inspection object 6 is a good product or a defective product.

撮像装置1は、検査対象物6を撮像する撮像素子を有するカメラモジュールを備えている。撮像素子としてはCMOS基板を備えており、例えば撮像したカラー画像は、CMOS基板にてダイナミックレンジを広げる変換特性に基づいてHDR画像へ変換される。なお、撮像素子としては、CCD等の別のタイプの撮像素子を用いても良い。   The imaging device 1 includes a camera module having an imaging device that images the inspection object 6. The imaging device includes a CMOS substrate. For example, a captured color image is converted into an HDR image based on conversion characteristics that expand the dynamic range on the CMOS substrate. Note that another type of image sensor such as a CCD may be used as the image sensor.

上述した外観検査装置2は、データ通信することが可能なPC(パーソナルコンピュータ)と接続されており、該PCは、マニュアル作成のための動作シミュレーションを実行するマニュアル作成支援装置7として機能する。そして、外観検査装置2は、撮像装置1で撮像した検査対象物6の画像に対する各種の画像処理を実行する複数の画像処理ツールを備えている。ユーザは、マニュアル作成支援装置7にて、所望する検査内容に基づいて、検査対象物6に対して一又は複数の画像処理ツールを事前に選択する。   The appearance inspection apparatus 2 described above is connected to a PC (personal computer) capable of data communication, and the PC functions as a manual creation support apparatus 7 that executes an operation simulation for creating a manual. The appearance inspection apparatus 2 includes a plurality of image processing tools that execute various types of image processing on the image of the inspection object 6 imaged by the imaging apparatus 1. The user selects in advance one or a plurality of image processing tools for the inspection object 6 on the manual creation support device 7 based on the desired inspection content.

また、ユーザは、マニュアル作成支援装置7にて、選択された一又は複数の画像処理ツールごとに良否判定に用いる閾値(上限値及び/又は下限値)等の設定データを事前に設定する。さらに、ユーザは、マニュアル作成支援装置7にて、画像処理が実行される順序を設定する。その後、マニュアル作成支援装置7におけるユーザ操作に基づいて、複数の画像処理ツールごとに設定された設定データ、画像処理が実行される順序が設定された処理順序プログラム等が、マニュアル作成支援装置7から外観検査装置2へ転送される。これにより、外観検査装置2では、通常運転時、撮像装置1で撮像した画像に対し、ユーザが所望する順序で設定された画像処理が順次実行され、検査対象物6の良否判定が実行される。   In addition, the user sets in advance the setting data such as a threshold value (upper limit value and / or lower limit value) used for the pass / fail determination for each of the selected one or a plurality of image processing tools in the manual creation support device 7. Further, the user sets the order in which image processing is executed in the manual creation support device 7. Thereafter, setting data set for each of a plurality of image processing tools, a processing order program in which the order in which image processing is executed, and the like are set from the manual creation support apparatus 7 based on a user operation in the manual creation support apparatus 7. It is transferred to the appearance inspection apparatus 2. Thereby, in the appearance inspection apparatus 2, during normal operation, the image processing set in the order desired by the user is sequentially performed on the image captured by the imaging apparatus 1, and the quality determination of the inspection object 6 is performed. .

一方、マニュアル作成支援装置7は、外観検査装置2から設定データ、処理順序プログラム等を取得する機能も有している。ユーザは、マニュアル作成支援装置7を通じて、外観検査装置2から取得した設定データ、処理順序プログラム(画像処理が実行される順序)等を編集することができる。なお、斯かる編集作業は、例えば、外観検査装置2に接続されたモニタ及びコンソール(いずれも図1では図示せず)を用いて行うこともできるが、本実施の形態では、マニュアル作成支援装置7でも行うことができる。   On the other hand, the manual creation support device 7 also has a function of acquiring setting data, a processing order program, and the like from the appearance inspection device 2. The user can edit the setting data acquired from the appearance inspection apparatus 2, the processing order program (the order in which image processing is executed), and the like through the manual creation support device 7. Such editing work can be performed using, for example, a monitor and a console (both not shown in FIG. 1) connected to the appearance inspection apparatus 2, but in this embodiment, a manual creation support apparatus. 7 can also be performed.

例えば、外観検査装置2が有している画像処理ツールの1つであるパターンサーチ計測ツールは、比較対象とする画像パターンを事前に記憶装置に記憶しておき、画像パターンの位置、傾斜角度、相関値を計測することにより、撮像した検査対象物6の画像の中から記憶してある画像パターンに類似している画像パターンを検出する。図2は、本発明の実施の形態に係るマニュアル作成支援装置7と接続されている外観検査装置2のパターンサーチ計測ツールの例示図である。図2(a)は、画像パターンを記憶する場合の画面の例示図を、図2(b)は、記憶してある画像パターンに類似している画像パターンを検出する場合の画面の例示図を、それぞれ示している。   For example, a pattern search measurement tool that is one of image processing tools included in the appearance inspection apparatus 2 stores an image pattern to be compared in a storage device in advance, and the position, inclination angle, By measuring the correlation value, an image pattern similar to the stored image pattern is detected from the captured image of the inspection object 6. FIG. 2 is an exemplary diagram of a pattern search measurement tool of the appearance inspection apparatus 2 connected to the manual creation support apparatus 7 according to the embodiment of the present invention. FIG. 2A shows an example of a screen when an image pattern is stored, and FIG. 2B shows an example of a screen when an image pattern similar to the stored image pattern is detected. , Respectively.

図2(a)に示すように、撮像装置1で撮像した検査対象物6の画像を画面中央に表示した状態で、ウインドウを画面上に設定することにより、サーチ領域21の設定を受け付ける。サーチ領域21内に存在する画像パターンを検出し、記憶する画像パターンを囲む領域としてパターン領域22の設定を受け付ける。もちろん、パターン領域22内に、画像パターンの代表点23の設定を受け付けても良い。パターン領域22内の画像パターン24を記憶する。これら、設定を受け付けたサーチ領域21、パターン領域22、代表点23は設定データに含まれる。   As shown in FIG. 2A, the setting of the search area 21 is accepted by setting a window on the screen in a state where the image of the inspection object 6 imaged by the imaging device 1 is displayed at the center of the screen. An image pattern existing in the search area 21 is detected, and the setting of the pattern area 22 is accepted as an area surrounding the stored image pattern. Of course, the setting of the representative point 23 of the image pattern may be received in the pattern area 22. The image pattern 24 in the pattern area 22 is stored. The search area 21, pattern area 22, and representative point 23 that have received the settings are included in the setting data.

パターンサーチ計測ツールによるパターンサーチ時には、図2(b)に示すように、記憶してある画像パターン24に類似している画像パターンをサーチ領域25内でサーチする。図2の例では、画像パターンの代表点28の位置座標と傾斜角度27とでパターン領域29を特定して、パターン領域29内の画像パターンと記憶してある画像パターン24との相関値が所定の閾値より大きい場合に類似している画像パターンとして検出している。   At the time of pattern search by the pattern search measurement tool, an image pattern similar to the stored image pattern 24 is searched in the search area 25 as shown in FIG. In the example of FIG. 2, the pattern area 29 is specified by the position coordinates of the representative point 28 of the image pattern and the inclination angle 27, and the correlation value between the image pattern in the pattern area 29 and the stored image pattern 24 is predetermined. Are detected as similar image patterns.

もちろん、パターンサーチの方法はこれに限定されるものではなく、例えば記憶してある画像パターン及び撮像装置1で撮像した検査対象物6の画像それぞれについてエッジを検出し、エッジ強度が類似している位置の近傍において画像パターンの位置、傾斜角度、相関値を計測しても良い。   Of course, the pattern search method is not limited to this. For example, the edge is detected for each of the stored image pattern and the image of the inspection object 6 imaged by the imaging apparatus 1 and the edge strength is similar. The position, inclination angle, and correlation value of the image pattern may be measured in the vicinity of the position.

なお、パターンサーチ計測ツールでは、所定の閾値である相関値の下限値を上げることにより、より類似度の高い画像パターンのみを検出するよう調整することができる。また、サーチ感度、サーチ精度等も調整することができる。これら、相関値の下限値、サーチ感度、サーチ精度等も設定データに含まれる。   Note that the pattern search measurement tool can be adjusted to detect only image patterns with higher similarity by increasing the lower limit value of the correlation value, which is a predetermined threshold value. In addition, search sensitivity, search accuracy, and the like can be adjusted. The lower limit value of the correlation value, search sensitivity, search accuracy, etc. are also included in the setting data.

ここで、「サーチ感度」とは、パターンの検出感度を調整するための項目であり、ミスサーチが発生する(サーチ対象とは異なる場所を検出する)場合には、「サーチ感度」を高く設定することが好ましい。「サーチ感度」を高く設定した場合、検出の安定度が向上する反面、処理時間はより長くなる。   Here, “Search sensitivity” is an item for adjusting the detection sensitivity of the pattern. If a miss search occurs (detects a location different from the search target), set “Search sensitivity” high. It is preferable to do. When “search sensitivity” is set high, the detection stability is improved, but the processing time is longer.

また、「サーチ精度」とは、パターンの検出精度を調整するための項目であり、検出精度を向上させたい場合には「サーチ精度」を高く設定することが好ましい。「サーチ精度」を高く設定した場合、検出精度が向上する反面、処理時間はより長くなる。   The “search accuracy” is an item for adjusting the pattern detection accuracy, and when it is desired to improve the detection accuracy, it is preferable to set the “search accuracy” high. When “search accuracy” is set high, the detection accuracy improves, but the processing time becomes longer.

この他、傷の有無を検出する傷検査ツール、検査領域内の文字情報を切り出して辞書データ等と照合することで文字列を認識するOCR認識ツール、ならびに画像上に設定したウインドウ(領域)をシフトさせながら、各ウインドウにおいてエッジの検出を繰り返す機能を有するトレンドエッジツール、設定したウインドウ内の濃淡の平均、偏差等を計測する機能を有する濃淡ツール、設定したウインドウ内の濃度の平均、偏差等を計測する機能を有する濃度ツール等も備えており、必要に応じて選択を受け付ける。   In addition, a flaw inspection tool for detecting the presence or absence of a flaw, an OCR recognition tool that recognizes a character string by cutting out character information in the inspection area and collating it with dictionary data, etc., and a window (area) set on the image Trend edge tool with a function to repeat edge detection while shifting, density tool within the set window, density tool with a function to measure deviation, density average within the set window, deviation, etc. A concentration tool or the like having a function of measuring the amount is also provided, and selection is accepted as necessary.

本実施の形態に係るマニュアル作成支援装置7は、図1に示す検査システムの画像処理ツールごとに設定を受け付けた設定データに基づいて、外観検査装置2で用いる画像処理ツールの動作シミュレーションを実行し、実行時に表示される画面の画像データを用いてマニュアルデータを生成する。以下、本実施の形態では、マニュアル作成支援装置7が動作シミュレート機能を有する場合を例に説明するが、特にこれに限定されるものではなく、マニュアル作成支援装置7に接続された、別個の動作シミュレート用のコンピュータを備えても良いし、外観検査装置2が動作シミュレート機能を有していても良い。   The manual creation support apparatus 7 according to the present embodiment executes an operation simulation of the image processing tool used in the appearance inspection apparatus 2 based on the setting data received for each image processing tool of the inspection system shown in FIG. Manual data is generated using image data of a screen displayed at the time of execution. Hereinafter, in the present embodiment, a case where the manual creation support apparatus 7 has an operation simulation function will be described as an example. However, the present invention is not particularly limited thereto, and a separate connection connected to the manual creation support apparatus 7 is provided. A computer for operation simulation may be provided, and the appearance inspection apparatus 2 may have an operation simulation function.

図3は、本発明の実施の形態に係るマニュアル作成支援装置7の構成を示すブロック図である。本発明の実施の形態に係るマニュアル作成支援装置7は、少なくともCPU(中央演算装置)71、メモリ72、記憶装置73、I/Oインタフェース74、ビデオインタフェース75、可搬型ディスクドライブ76、通信インタフェース77及び上述したハードウェアを接続する内部バス78で構成されている。   FIG. 3 is a block diagram showing the configuration of the manual creation support apparatus 7 according to the embodiment of the present invention. The manual creation support apparatus 7 according to the embodiment of the present invention includes at least a CPU (central processing unit) 71, a memory 72, a storage device 73, an I / O interface 74, a video interface 75, a portable disk drive 76, and a communication interface 77. And an internal bus 78 for connecting the hardware described above.

CPU71は、内部バス78を介してマニュアル作成支援装置7の上述したようなハードウェア各部と接続されており、上述したハードウェア各部の動作を制御するとともに、記憶装置73に記憶されたマニュアル作成プログラム100に従って、種々のソフトウェア的機能を実行する。メモリ72は、SRAM、SDRAM等の揮発性メモリで構成され、マニュアル作成プログラム100の実行時にロードモジュールが展開され、マニュアル作成プログラム100の実行時に発生する一時的なデータ等を記憶する。   The CPU 71 is connected to the hardware units as described above of the manual creation support apparatus 7 via the internal bus 78, controls the operation of the hardware units described above, and stores the manual creation program stored in the storage device 73. According to 100, various software functions are performed. The memory 72 is composed of a volatile memory such as SRAM or SDRAM, and a load module is expanded when the manual creation program 100 is executed, and stores temporary data generated when the manual creation program 100 is executed.

記憶装置73は、内蔵される固定型記憶装置(ハードディスク)、ROM等で構成されている。記憶装置73に記憶されたマニュアル作成プログラム100は、プログラム及びデータ等の情報を記録したDVD、CD−ROM等の可搬型記録媒体90から、可搬型ディスクドライブ76によりダウンロードされ、実行時には記憶装置73からメモリ72へ展開して実行される。もちろん、通信インタフェース77を介して接続されている外部コンピュータからダウンロードされたマニュアル作成プログラムであっても良い。また、上述したように、本実施の形態に係るマニュアル作成支援装置7は、画像処理ツールの設定データ、処理順序プログラム等を編集するための設定データ編集支援プログラムを記憶装置73に記憶しており、マニュアル作成プログラム100は、記憶されている設定データ編集支援プログラムの一部として存在していても良い。   The storage device 73 includes a built-in fixed storage device (hard disk), a ROM, and the like. The manual creation program 100 stored in the storage device 73 is downloaded by a portable disk drive 76 from a portable recording medium 90 such as a DVD or CD-ROM in which information such as programs and data is recorded. To the memory 72 and executed. Of course, a manual creation program downloaded from an external computer connected via the communication interface 77 may be used. As described above, the manual creation support apparatus 7 according to the present embodiment stores the setting data editing support program for editing the setting data of the image processing tool, the processing order program, and the like in the storage device 73. The manual creation program 100 may exist as a part of the stored setting data editing support program.

記憶装置73は、固有データ記憶部731とテキストデータ記憶部732とを備えている。固有データ記憶部731は、入力を受け付けた撮像データ及び設定データを含む固有データを記憶する。テキストデータ記憶部732は、マニュアルに記載する説明文をテキストデータとして、外観検査装置2で用いる画像処理ツールの設定データに対応付けて記憶する。つまり、複数の異なる画像処理ツールの設定データそれぞれに対して、複数の異なるテキストデータが対応付けられて記憶されている。また、記憶装置73には外観検査装置2の動作シミュレーションを実行する動作シミュレートプログラムが記憶されている。動作シミュレートプログラムは、DVD、CD−ROM等の可搬型記録媒体90から、可搬型ディスクドライブ76によりダウンロードされる。   The storage device 73 includes a unique data storage unit 731 and a text data storage unit 732. The unique data storage unit 731 stores unique data including imaging data and setting data that have been accepted. The text data storage unit 732 stores the explanatory text described in the manual as text data in association with the setting data of the image processing tool used in the appearance inspection apparatus 2. That is, a plurality of different text data is stored in association with setting data of a plurality of different image processing tools. The storage device 73 stores an operation simulation program for executing an operation simulation of the appearance inspection apparatus 2. The operation simulation program is downloaded by a portable disk drive 76 from a portable recording medium 90 such as a DVD or a CD-ROM.

通信インタフェース77は内部バス78に接続されており、インターネット、LAN、WAN等の外部のネットワークに接続されることにより、外観検査装置2、外部コンピュータ等とデータ送受信を行うことが可能となっている。   The communication interface 77 is connected to an internal bus 78. By connecting to an external network such as the Internet, a LAN, or a WAN, data can be transmitted / received to / from the visual inspection apparatus 2, an external computer, and the like. .

I/Oインタフェース74は、キーボード81、マウス82等の入力装置と接続され、データの入力を受け付ける。ビデオインタフェース75は、CRTディスプレイ、液晶ディスプレイ等の表示装置83と接続され、所定の画像を表示する。   The I / O interface 74 is connected to input devices such as a keyboard 81 and a mouse 82, and receives data input. The video interface 75 is connected to a display device 83 such as a CRT display or a liquid crystal display, and displays a predetermined image.

図4は、本発明の実施の形態に係るマニュアル作成支援装置7の機能ブロック図である。固有データ入力受付部401は、少なくとも検査対象物6を撮像した撮像データ、及び良否判定を行う外観検査装置2の設定データを含む固有データの入力を受け付ける。なお、固有データの入力は、検査対象物6を撮像する都度受け付けても良いし、SDカード等の可搬型記憶媒体90を介して受け付けても、外部のネットワークを介して受け付けても良い。入力を受け付けた固有データは、記憶装置73の固有データ記憶部731へ記憶する。なお、設定データとは、設定するべき設定項目を示す設定パラメータ及び設定されるパラメータ値の両方を含む。   FIG. 4 is a functional block diagram of the manual creation support apparatus 7 according to the embodiment of the present invention. The unique data input accepting unit 401 accepts input of unique data including at least imaging data obtained by imaging the inspection object 6 and setting data of the appearance inspection apparatus 2 that performs pass / fail determination. The input of the specific data may be received every time the inspection object 6 is imaged, or may be received via a portable storage medium 90 such as an SD card or via an external network. The unique data that has been accepted is stored in the unique data storage unit 731 of the storage device 73. The setting data includes both a setting parameter indicating a setting item to be set and a parameter value to be set.

また、設定データごとに設定パラメータとパラメータ値とを対応付けた対応テーブルを記憶しておくことが好ましい。設定パラメータのパラメータ値をマニュアルデータに追加することができ、ユーザにとってより直感的に分かりやすく、利便性の高いマニュアルを作成することが可能となるからである。また、テキストデータ記憶部732に記憶されているテキストデータは、設定データ又は設定パラメータに対応付けて記憶している。したがって、マニュアル作成の対象として選択された設定データ(設定パラメータ)に対応するテキストデータを読み出すことができる。   It is preferable to store a correspondence table in which setting parameters and parameter values are associated with each setting data. This is because the parameter value of the setting parameter can be added to the manual data, and it is possible to create a highly convenient manual that is more intuitive for the user. The text data stored in the text data storage unit 732 is stored in association with setting data or setting parameters. Therefore, it is possible to read out text data corresponding to the setting data (setting parameter) selected as a manual creation target.

動作シミュレート部402は、外観検査装置2の動作シミュレーションを実行して、実行時に表示される画面の一部又は全部を画像データとして出力する。具体的には、固有データ記憶部731に記憶されている撮像データ及び設定データに基づいて外観検査装置2の動作シミュレーションを実行し、実行時に表示される画面をキャプチャすることにより、画像データとして取得する。取得した画像データをマニュアル作成に使用する。   The operation simulation unit 402 executes an operation simulation of the appearance inspection apparatus 2 and outputs part or all of the screen displayed at the time of execution as image data. Specifically, an operation simulation of the appearance inspection apparatus 2 is executed based on the imaging data and setting data stored in the unique data storage unit 731, and the screen displayed at the time of execution is captured to obtain image data. To do. Use the acquired image data for manual creation.

マニュアル生成部404は、動作シミュレート部402により出力された画像データと、テキストデータ記憶部732に記憶されているテキストデータとを対応付けてマニュアルデータを生成する。なお、マニュアルデータの生成時には、例えばテキストデータ記憶部732に、固有データのレイアウトに関するレイアウト情報を記憶しておき、レイアウト情報に基づいたマニュアルデータを生成することが好ましい。   The manual generation unit 404 generates manual data by associating the image data output from the motion simulation unit 402 with the text data stored in the text data storage unit 732. When generating manual data, it is preferable to store layout information related to the layout of unique data in, for example, the text data storage unit 732 and generate manual data based on the layout information.

図5は、本発明の実施の形態に係るマニュアル作成支援装置7のマニュアルデータ生成画面の例示図である。図5に示すマニュアルデータ生成画面は、マニュアル作成支援装置7にて、上述したマニュアル作成プログラム100が実行された場合、表示装置83に表示される。ユーザは、マニュアルデータ生成画面を見ながら、キーボード81及びマウス82を用いて必要項目を入力する。   FIG. 5 is a view showing an example of a manual data generation screen of the manual creation support apparatus 7 according to the embodiment of the present invention. The manual data generation screen shown in FIG. 5 is displayed on the display device 83 when the manual creation program 100 described above is executed by the manual creation support device 7. The user inputs necessary items using the keyboard 81 and the mouse 82 while viewing the manual data generation screen.

図5では、一連のマニュアルデータ生成画面のうち、マニュアルの表紙のマニュアルデータ生成画面の一例を示している。すなわち、マニュアルの表紙部分を作るための誘導画面(いわゆるウィザード画面)である。   FIG. 5 shows an example of a manual data generation screen for a manual cover in a series of manual data generation screens. That is, a guide screen (so-called wizard screen) for creating a cover part of a manual.

画面の左上には、マニュアルを提供する客先の情報を入力するための入力受付領域51が設けられている。図5の例では、ユーザによって「○△株式会社〜様」と入力されている。   In the upper left of the screen, an input reception area 51 is provided for inputting customer information for providing a manual. In the example of FIG. 5, “○ △ Co., Ltd. ~” is input by the user.

また、画面の左中には、マニュアルのタイトルを入力するための入力受付領域52が設けられている。図5の例では、ユーザによって「ねじ側面・上面の汚れ検査」と入力されている。   Further, an input receiving area 52 for inputting a manual title is provided in the middle left of the screen. In the example of FIG. 5, the user inputs “dirt inspection of screw side surface / upper surface”.

また、画面の左下には、マニュアルの作成者情報を入力するための入力受付領域53が設けられている。図5の例では、ユーザによって「株式会社○□担当〜」と入力されている。   Further, an input reception area 53 for inputting manual creator information is provided at the lower left of the screen. In the example of FIG. 5, “Co., Ltd.

入力受付領域51〜53に入力された内容が、実際のマニュアルでどのように配置されるのかは、レイアウト表示領域50を参考にして確認することができる。つまり、入力受付領域51に入力された客先の情報は、マニュアルの表紙の左上方に配置され、入力受付領域52に入力されたタイトルは、マニュアルの表紙の中央に配置され、入力受付領域53に入力されたマニュアルの作成者情報は、マニュアルの表紙の右下方に配置されるレイアウトとなっている。このように、図5に示すマニュアルデータ生成画面には、マニュアルの表紙のレイアウトをユーザが視認するためのレイアウト表示領域50が設けられている。なお、図5に示すレイアウトは一例であって、他のレイアウトであっても良い。   It can be confirmed with reference to the layout display area 50 how the contents input in the input reception areas 51 to 53 are arranged in the actual manual. That is, the customer information input in the input reception area 51 is arranged at the upper left of the manual cover, and the title input in the input reception area 52 is arranged in the center of the manual cover. The manual creator information input in is arranged in the lower right of the manual cover. As described above, the manual data generation screen shown in FIG. 5 is provided with the layout display area 50 for the user to visually recognize the layout of the manual cover. Note that the layout shown in FIG. 5 is an example, and other layouts may be used.

図6は、本発明の実施の形態に係るマニュアル作成支援装置7の選択受付画面の例示図である。図6に示す選択受付画面は、ユーザが、図5に示すマニュアルデータ生成画面の右下方に設けられた「次へ」ボタンを選択することにより、表示装置83に表示される。なお、図6の選択受付画面の左半分には、ツールとして、各画像処理ツールが階層表示されており、各画像処理ツールにチェックボックスが割り当てられている。つまり、選択受付画面には、ユーザからマニュアルに出力する対象となる画像処理ツールの選択を受け付けるための選択受付領域61が設けられている。   FIG. 6 is an exemplary view of a selection reception screen of the manual creation support apparatus 7 according to the embodiment of the present invention. The selection acceptance screen shown in FIG. 6 is displayed on the display device 83 when the user selects a “next” button provided at the lower right of the manual data generation screen shown in FIG. In the left half of the selection acceptance screen in FIG. 6, each image processing tool is displayed in a hierarchical manner as a tool, and a check box is assigned to each image processing tool. That is, the selection reception screen 61 is provided with a selection reception area 61 for receiving selection of an image processing tool to be output from the user to the manual.

また、図6に示す選択受付画面の右上には、運転画面表示として、カメラ1の検査画面の説明をマニュアルに記載するか否か、カメラ2の検査画面の説明をマニュアルに記載するか否か、あるいは、カメラ1及びカメラ2(ALL)の検査画面を一画面に含む検査画面の説明をマニュアルに記載するか否かの選択をユーザから受け付けるための選択受付領域62が設けられている。要するに、運転モード中に、表示装置83又は外観検査装置2の表示部(図示せず)に表示する画面をマニュアル記載のために選択する選択受付領域62が設けられている。なお、選択受付領域63については、詳細な説明を省略するが、ユーザによりマニュアルに付加される項目(付随項目)の選択を受け付けるための選択受付領域である。   Also, in the upper right of the selection reception screen shown in FIG. 6, whether or not the description of the inspection screen of the camera 1 is described in the manual and whether the description of the inspection screen of the camera 2 is described in the manual as the operation screen display is displayed. Alternatively, a selection receiving area 62 is provided for receiving from the user a selection as to whether or not the description of the inspection screen including the inspection screens of the camera 1 and the camera 2 (ALL) is included in one manual. In short, the selection reception area 62 for selecting a screen to be displayed on the display device 83 or the display unit (not shown) of the visual inspection apparatus 2 for manual description during the operation mode is provided. The selection reception area 63 is a selection reception area for receiving selection of items (accompanying items) added to the manual by the user, although detailed description thereof is omitted.

図6の選択受付領域61に示すように、「カメラ1」、「カメラ2」、・・・と別個にマニュアル作成の対象となる画像処理ツールを選択することができ、階層が上位の「カメラ(撮像装置1)」自体を選択することもできる。すなわち、図1では、撮像装置1が1台のみ接続されているが、本実施の形態に係る外観検査装置2には複数の撮像装置1を接続することが可能となっており、各撮像装置1に対し、それぞれユーザが所望する順序の処理順序プログラムを設定することができる。そのため、例えば外観検査装置2に2台の撮像装置1が接続されている場合には、図6に示すように、「カメラ1」と「カメラ2」とのいずれかの選択を受け付けるためのチェックボックスが表示され、これらの両方又はいずれかをユーザが選択することが可能となっている。   As shown in the selection reception area 61 in FIG. 6, an image processing tool to be manually created can be selected separately from “camera 1”, “camera 2”,. (Imaging device 1) "itself can also be selected. That is, in FIG. 1, only one imaging device 1 is connected, but a plurality of imaging devices 1 can be connected to the appearance inspection device 2 according to the present embodiment. 1, a processing order program in the order desired by the user can be set. Therefore, for example, when two imaging devices 1 are connected to the appearance inspection device 2, as shown in FIG. 6, a check for accepting selection of either “camera 1” or “camera 2” A box is displayed that allows the user to select either or both.

また、本実施の形態では、撮像装置1に事前に選択された画像処理ツールを対応付けて記憶しておく。図6では、「カメラ1」には画像処理ツール「T100パターンサーチ」及び「T101エリア」が対応付けられているため(これらの具体的な設定態様については図9を用いて後述する)、「カメラ1」の下位層の位置付けで、これらの画像処理ツールの選択を受け付けるためのチェックボックスが表示され、これらの両方又はいずれかをユーザが選択することが可能となっている。同様に、本実施の形態では、「カメラ2」には画像処理ツール「T200エッジ幅」が対応付けられているため(この具体的な設定態様については図10を用いて後述する)、「カメラ2」の下位層の位置づけで、この画像処理ツールの選択を受け付けるためのチェックボックスが表示され、これをユーザが選択することが可能となっている。   In the present embodiment, the image processing tool selected in advance is stored in association with the imaging apparatus 1. In FIG. 6, since “camera 1” is associated with image processing tools “T100 pattern search” and “T101 area” (the specific setting mode will be described later with reference to FIG. 9). A check box for accepting the selection of these image processing tools is displayed at the lower layer of “Camera 1”, and the user can select either or both of them. Similarly, in the present embodiment, “camera 2” is associated with the image processing tool “T200 edge width” (this specific setting mode will be described later with reference to FIG. 10). A check box for accepting the selection of the image processing tool is displayed at the position of the lower layer of “2”, which can be selected by the user.

上述したように、画像処理ツールを個別に選択することもできるし、あるいは階層が上位の撮像装置1を選択することで、撮像装置1に対応付けられた画像処理ツールをまとめて選択することもできる。このように、ユーザごとに、選択受付領域61の表示内容(選択対象候補)が変化する。つまり、ユーザが設定モードにおいて設定した内容に応じて、選択受付領域61の表示内容が決まる。なお、図6では画像処理ツールごとに選択しているが、設定データごとであっても良い。   As described above, the image processing tools can be individually selected, or the image processing tools associated with the imaging device 1 can be selected collectively by selecting the imaging device 1 in the higher hierarchy. it can. Thus, the display content (selection candidate) of the selection reception area 61 changes for each user. That is, the display content of the selection reception area 61 is determined according to the content set by the user in the setting mode. In FIG. 6, the selection is made for each image processing tool, but may be made for each setting data.

このように、ユーザによるチェックボックスの選択を受け付けることにより、自由にマニュアルに記載する項目を変えることができる。したがって、たとえ同じ検査システムのユーザであっても、ユーザごとに個別のマニュアルを作成することができる。次に、図6に示す選択受付画面において、「生成開始」ボタンの選択を受け付けた場合、マニュアルの自動作成を開始する。具体的には、図4に戻って、マニュアル生成部404が、動作シミュレーションに用いた設定データに対応するテキストデータを記憶装置73のテキストデータ記憶部732から読み出し、動作シミュレーションの実行により出力された画像データと対応付けてマニュアルデータを生成する。もちろん、動作シミュレーションを実行した後に、マニュアル作成の対象となる設定データの選択を受け付ける設定データ選択受付部403を備えても良い。これにより、ユーザにとって必要な項目だけを含むマニュアルを作成することができる。なお、マニュアル生成部404によるマニュアルデータの生成処理については、図7を用いて更に詳細に後述する。   Thus, by accepting the selection of a check box by the user, items described in the manual can be freely changed. Therefore, even a user of the same inspection system can create a separate manual for each user. Next, on the selection reception screen shown in FIG. 6, when the selection of the “generation start” button is received, automatic manual generation is started. Specifically, returning to FIG. 4, the manual generation unit 404 reads out text data corresponding to the setting data used for the operation simulation from the text data storage unit 732 of the storage device 73, and is output by executing the operation simulation. Manual data is generated in association with image data. Of course, a setting data selection receiving unit 403 that receives selection of setting data to be manually created may be provided after the operation simulation is executed. Thereby, a manual including only items necessary for the user can be created. The manual data generation process by the manual generation unit 404 will be described in more detail later with reference to FIG.

図4に戻って、マニュアル出力部405は、生成したマニュアルデータを出力する。出力は、画像データ及びテキストデータで構成される文書データとしてファイル出力しても良いし、表示装置83に表示出力しても良い。また、印刷装置を用いてプリント出力しても良い。   Returning to FIG. 4, the manual output unit 405 outputs the generated manual data. The output may be file output as document data composed of image data and text data, or may be displayed on the display device 83. Moreover, you may print out using a printing apparatus.

本実施の形態に係るマニュアル作成支援装置7は、記憶されているマニュアル作成プログラム100を起動することにより、マニュアルデータを生成する。マニュアル作成プログラム100は、どのようにマニュアルデータを生成するかを示すシナリオデータを含んでいる。マニュアル作成支援装置7は、マニュアル作成プログラム100のシナリオデータに沿って動作シミュレーションを実行し、マニュアル作成に必要な画像データ及びテキストデータを取得してマニュアルデータを生成する。   The manual creation support apparatus 7 according to the present embodiment generates manual data by starting a stored manual creation program 100. The manual creation program 100 includes scenario data indicating how to generate manual data. The manual creation support device 7 executes an operation simulation according to the scenario data of the manual creation program 100, acquires image data and text data necessary for manual creation, and generates manual data.

図7は、本発明の実施の形態に係るマニュアル作成支援装置7のシナリオデータの例示図である。図7は、パターンサーチ計測ツールのサーチ精度のシナリオデータを例示している。図7に示すシナリオデータは、マニュアル作成プログラム100内に含まれていても良いし、マニュアル作成プログラム100とは別に、記憶装置73に記憶されていても良い。   FIG. 7 is a view showing an example of scenario data of the manual creation support apparatus 7 according to the embodiment of the present invention. FIG. 7 illustrates scenario data of search accuracy of the pattern search measurement tool. The scenario data shown in FIG. 7 may be included in the manual creation program 100, or may be stored in the storage device 73 separately from the manual creation program 100.

まず、画面キャプチャの手順として、どの画面をキャプチャするかを示している。次に、貼り付け情報として、画像データの切り出し位置及びサイズ、そして画像データを貼り付けるページ座標及びサイズを示している。これにより、どの画面をキャプチャして画像データを取得し、取得した画像データのどの部分を切り出して、マニュアルページのどの位置に貼り付けるかを指示することができる。   First, as a screen capture procedure, which screen is captured is shown. Next, as the pasting information, the cutout position and size of the image data, and the page coordinates and size for pasting the image data are shown. Thereby, it is possible to instruct which screen is captured and image data is acquired, and which part of the acquired image data is cut out and pasted on the manual page.

具体的には、パターンサーチ計測ツールを開く画面をキャプチャして画像データを取得し、取得した画像データの左上を原点(0、0)として、X方向(右方向)に‘670’、Y方向(下方向)に‘340’の位置を左上頂点とする、サイズが400×400の画像データを切り出し、マニュアルページの左上を原点(0、0)として、X方向(右方向)に‘30’、Y方向(下方向)に‘70’の位置が左上頂点となるように、サイズ140×140で切り出した画像データを貼り付ける。なお、上述のように座標値として絶対位置を指定しても良いし、「画面の上端から何%」というような相対的な位置を指定しても良い。   Specifically, the screen for opening the pattern search measurement tool is captured to acquire image data, and the upper left of the acquired image data is set to the origin (0, 0), “670” in the X direction (right direction), Y direction Image data of size 400 × 400 with the position of “340” in the (downward) position as the upper left vertex is cut out, and the upper left of the manual page is set to the origin (0, 0), and “30” in the X direction (rightward). The image data cut out with a size of 140 × 140 is pasted so that the position of “70” is the upper left vertex in the Y direction (downward). As described above, an absolute position may be designated as a coordinate value, or a relative position such as “what percentage from the upper end of the screen” may be designated.

次に、ヘルプ文言貼り付けとして、取得した画像データに対応するテキストデータを取得するための取得文言(キー情報)と、取得したテキストデータを貼り付ける位置とを示している。これにより、取得した画像データに対応するテキストデータを取得し、取得したテキストデータをマニュアルページのどの位置に貼り付けるかを指示することができる。具体的には、「サーチ精度のガイド」をキー情報として、テキストデータ記憶部732から対応するテキストデータを取得する。マニュアルページの左上を原点(0、0)として、X方向(右方向)に‘40’、Y方向(下方向)に‘220’の位置が左上頂点となるように、取得したテキストデータを貼り付ける。なお、上述のように座標値として絶対位置を指定しても良いし、「画面の上端から何%」というような相対的な位置を指定しても良い。   Next, an acquisition word (key information) for acquiring text data corresponding to the acquired image data and a position where the acquired text data is pasted are shown as pasting the help word. As a result, it is possible to acquire text data corresponding to the acquired image data and instruct where the acquired text data is to be pasted on the manual page. Specifically, corresponding text data is acquired from the text data storage unit 732 using “guide of search accuracy” as key information. Paste the acquired text data so that the upper left corner of the manual page is the origin (0, 0), and the position of '40' in the X direction (right direction) and '220' in the Y direction (down direction) is the upper left vertex. wear. As described above, an absolute position may be designated as a coordinate value, or a relative position such as “what percentage from the upper end of the screen” may be designated.

図8は、本発明の実施の形態に係るマニュアル作成支援装置7のCPU71の処理手順を示すフローチャートである。図8では、選択を受け付けた画像処理ツールについてのマニュアル作成処理について説明するが、表紙から、目次、各画像処理ツール、というように一貫してマニュアルを作成しても良いことは言うまでもない。   FIG. 8 is a flowchart showing the processing procedure of the CPU 71 of the manual creation support apparatus 7 according to the embodiment of the present invention. In FIG. 8, manual creation processing for an image processing tool that has received a selection will be described, but it goes without saying that a manual may be created consistently from the cover to the table of contents and each image processing tool.

図8において、マニュアル作成支援装置7のCPU71は、マニュアル作成の対象となる画像処理ツールの選択を受け付ける(ステップS801)。例えば上述した図6に示す選択受付画面を表示装置83に表示させ、ユーザから、マニュアル作成の対象となる画像処理ツールの選択を受け付ける。テキストデータ記憶部732には、画像処理ツールごとにマニュアルに記載する説明文がテキストデータとして記憶されており、ユーザによる選択を受け付けた画像処理ツールをキー情報として、対応するテキストデータを読み出してマニュアルデータを生成する。なお、画像処理ツールの選択は、撮像装置1ごとに受け付ける。したがって、どの撮像装置1で検査対象物6を撮像するかによって、マニュアル作成の対象となる画像処理ツールの候補が定まる。   In FIG. 8, the CPU 71 of the manual creation support apparatus 7 accepts selection of an image processing tool to be manually created (step S801). For example, the above-described selection reception screen shown in FIG. 6 is displayed on the display device 83, and selection of an image processing tool to be manually created is received from the user. The text data storage unit 732 stores, as text data, explanatory text written in the manual for each image processing tool. The text data corresponding to the image processing tool accepted by the user is read as key information and the manual is read out. Generate data. The selection of the image processing tool is accepted for each imaging device 1. Therefore, the candidate of the image processing tool to be manually created is determined depending on which imaging device 1 images the inspection object 6.

図9は、本発明の実施の形態に係るマニュアル作成支援装置7の、外観検査装置2に接続される表示部(図示せず)で表示される設定画面の例示図である。上述したように、本実施の形態に係るマニュアル作成支援装置7では、外観検査装置2から取得した設定データ、処理手順プログラム(画像処理が実行される順序)等を編集することができ、ユーザは、例えば図9に示す設定画面において編集することができる。換言すれば、外観検査装置2は、検査対象物6の良否を判定する検査モード(Runモード又は運転モード)と、設定するべき設定項目を示す設定パラメータ及びパラメータ値の設定を行う設定モード(非Runモード)とを切り替えるためのモード切替手段を有しており、図9に示す設定画面は、設定モードにおいてユーザが設定データ、処理手順プログラム等を編集するための画面である。また、上述したように、本実施の形態では、外観検査装置2に2台の撮像装置1(カメラ1、カメラ2)が接続されており、図9に示す設定画面は、カメラ1に対する設定画面である。図9において、検査対象物表示領域91には、撮像装置1で撮像した検査対象物6の画像をそのまま表示する。すなわち、本実施の形態は、ユーザが実際に外観検査に用いる検査対象物6の画像が、そのままマニュアルに掲載される点に特徴を有する。   FIG. 9 is an exemplary view of a setting screen displayed on a display unit (not shown) connected to the appearance inspection apparatus 2 of the manual creation support apparatus 7 according to the embodiment of the present invention. As described above, the manual creation support apparatus 7 according to the present embodiment can edit the setting data acquired from the appearance inspection apparatus 2, the processing procedure program (the order in which image processing is executed), and the like. For example, it can be edited on the setting screen shown in FIG. In other words, the appearance inspection apparatus 2 has an inspection mode (Run mode or operation mode) for determining the quality of the inspection object 6, and a setting mode (non-display) for setting setting parameters and parameter values indicating setting items to be set. 9 is a screen for the user to edit the setting data, the processing procedure program, and the like in the setting mode. Further, as described above, in the present embodiment, two imaging devices 1 (camera 1 and camera 2) are connected to the appearance inspection device 2, and the setting screen shown in FIG. It is. In FIG. 9, in the inspection object display area 91, the image of the inspection object 6 imaged by the imaging device 1 is displayed as it is. In other words, the present embodiment is characterized in that the image of the inspection object 6 that is actually used by the user for the appearance inspection is posted in the manual as it is.

ここで、図9に示す設定画面において、ユーザは、「基準画像登録」ボタン93を選択し、所定の操作を行うことにより、基準画像の登録を行う。登録された基準画像の画像データは記憶装置73に記憶される。画像処理ツール「T100パターンサーチ」で必要になる画像データは、基準画像の画像データ、及び実際に検査を行う検査対象物6を撮像した撮像データである。マニュアルを作成する目的からすれば、OK判定であるか、NG判定であるかの判定結果は重要ではない。そこで、本実施の形態に係るマニュアル作成支援装置7では、基準画像の画像データを、検査対象物6を撮像した撮像データとして使用する。つまり、動作シミュレーションを実行した場合、必ずOK判定になる。なお、検査対象物6の撮像データを使用する場合、撮像データを基準画像の画像データとは別個に記憶しておいても良い。   Here, on the setting screen illustrated in FIG. 9, the user selects the “reference image registration” button 93 and performs a predetermined operation to register the reference image. The registered image data of the reference image is stored in the storage device 73. Image data necessary for the image processing tool “T100 pattern search” is image data of a reference image and imaging data obtained by imaging the inspection object 6 to be actually inspected. For the purpose of creating a manual, the determination result of whether it is OK determination or NG determination is not important. Therefore, in the manual creation support apparatus 7 according to the present embodiment, the image data of the reference image is used as imaging data obtained by imaging the inspection object 6. That is, when an operation simulation is executed, an OK determination is always made. In addition, when using the imaging data of the inspection target 6, the imaging data may be stored separately from the image data of the reference image.

また、図9の例では、画像処理ツールが「T100パターンサーチ」であるため、基準画像の登録が必要になるが、例えば単に欠陥部分の面積を測定するだけの「T101エリア」であれば、基準画像を登録しなくても良い。つまり、基準画像の登録に関しては省略することもでき、その場合はマニュアルに使用する画像データとして、少なくとも「検査対象物6を撮像した撮像データ」を記憶してあれば良い。もちろん、「基準画像の画像データ」と「検査対象物6の撮像データ」との両方が記憶されていても、「基準画像の画像データ」のみが記憶されていても、「検査対象物6の撮像データ」のみが記憶されていても良い。   In the example of FIG. 9, since the image processing tool is “T100 pattern search”, registration of the reference image is necessary. For example, if the “T101 area” merely measures the area of the defect portion, It is not necessary to register the reference image. That is, the registration of the reference image can be omitted. In this case, at least “imaging data obtained by imaging the inspection object 6” may be stored as image data used for the manual. Of course, even if both “image data of the reference image” and “imaging data of the inspection object 6” are stored, only “image data of the reference image” is stored, Only “imaging data” may be stored.

一方、図10は、本発明の実施の形態に係るマニュアル作成支援装置7の、外観検査装置2に接続される表示部(図示せず)で表示される他の設定画面の例示図である。上述したように、本実施の形態では、外観検査装置2に2台の撮像装置1(カメラ1、カメラ2)が接続されており、図10に示す設定画面は、カメラ2に対する設定画面である。図10の例では、図9に示す検査対象物6を別の角度から他の撮像装置1で撮像した画像が、検査対象物表示領域91に表示されている。   On the other hand, FIG. 10 is an exemplary view of another setting screen displayed on the display unit (not shown) connected to the appearance inspection apparatus 2 of the manual creation support apparatus 7 according to the embodiment of the present invention. As described above, in the present embodiment, two imaging devices 1 (camera 1 and camera 2) are connected to the appearance inspection device 2, and the setting screen shown in FIG. . In the example of FIG. 10, an image obtained by imaging the inspection object 6 illustrated in FIG. 9 with another imaging device 1 from another angle is displayed in the inspection object display area 91.

すなわち、図9は、ねじを側方から撮像するカメラ1に対する設定画面を示しており、図10は、ねじを上方から撮像するカメラ2に対する設定画面を示している。設定モードにおいて、ユーザは、図10に示す設定画面を通じて、画像処理ツール「T200エッジ幅」の設定パラメータの各種設定(パラメータ値入力等)を行う。具体的には、図10の設定データ入力領域92に表示されるように、内寸か外寸かを指定するための設定パラメータ「モード選択」、エッジの検出方向を規定するための設定パラメータ「検出方向」、エッジを検出する感度を調整するための設定パラメータ「エッジ感度」等を設定する。   That is, FIG. 9 shows a setting screen for the camera 1 that images the screw from the side, and FIG. 10 shows a setting screen for the camera 2 that images the screw from above. In the setting mode, the user performs various settings (parameter value input, etc.) of the setting parameters of the image processing tool “T200 edge width” through the setting screen shown in FIG. Specifically, as shown in the setting data input area 92 of FIG. 10, a setting parameter “mode selection” for designating the inner dimension or the outer dimension, and a setting parameter “for defining the edge detection direction” “Detection direction”, a setting parameter “edge sensitivity” and the like for adjusting the sensitivity for detecting an edge are set.

なお、図10に示す設定画面においても「基準画像登録」ボタン93が表示されているが、上述した「T101エリア」と同様に、「T200エッジ幅」の検査を行うだけであれば基準画像を登録する必要はない。ただし、マニュアルに使用する画像データが必要になることから、「基準画像登録」ボタン93を通じて基準画像の登録をしない場合には、撮像装置1で撮像した撮像データを記憶しておく。また、ユーザが外観検査に用いる検査対象物6の画像が変わった場合、変わった検査対象物6の画像を用いてマニュアルが作成される。   Note that the “reference image registration” button 93 is also displayed on the setting screen shown in FIG. 10. However, as in the case of the “T101 area” described above, if only the “T200 edge width” inspection is performed, the reference image is displayed. There is no need to register. However, since image data to be used for the manual is necessary, when the reference image is not registered through the “reference image registration” button 93, the image data captured by the imaging apparatus 1 is stored. Further, when the image of the inspection object 6 used for the appearance inspection by the user changes, a manual is created using the changed image of the inspection object 6.

そして、図10の例では、マニュアル作成の対象として「エッジ幅」計測ツールの選択を受け付けている。このように、検査対象物6を撮像する撮像装置1ごとにマニュアル作成の対象となる画像処理ツールを、ユーザが選択することができ、ユーザが実際に外観検査に用いる検査対象物6の画像がマニュアルに掲載される。   In the example of FIG. 10, selection of an “edge width” measurement tool is accepted as a manual creation target. In this way, the user can select an image processing tool to be manually created for each imaging apparatus 1 that images the inspection object 6, and the image of the inspection object 6 that the user actually uses for appearance inspection can be obtained. Posted in the manual.

なお、図9に示す設定画面において、検査対象物表示領域91には、矩形状のパターン領域94が表示されている。図9の設定データ入力領域92の上方にある設定パラメータ「パターン領域」のアイコンの選択を受け付けた場合、検査対象物表示領域91上で所定形状のパターン領域94を設定することができる設定画面(図示せず)に遷移し、ユーザは、マウス操作によりパターンサーチに用いるパターン領域94を設定する。図9では、ネジ側面全体が含まれるようにパターン領域94が設定されている。   In the setting screen shown in FIG. 9, a rectangular pattern area 94 is displayed in the inspection object display area 91. When the selection of the setting parameter “pattern area” icon above the setting data input area 92 in FIG. 9 is accepted, a setting screen (in which a pattern area 94 having a predetermined shape can be set on the inspection object display area 91) The user sets a pattern area 94 used for pattern search by operating the mouse. In FIG. 9, the pattern area 94 is set so as to include the entire screw side surface.

また、図10に示す設定画面において、検査対象物表示領域91には、矩形状の計測領域95aとヒストグラム95bとが表示されている。図10の設定データ入力領域92の上方にある設定パラメータ「計測領域」のアイコンの選択を受け付けた場合、検査対象物表示領域91上で所定形状の計測領域95aを設定することができる設定画面(図示せず)に遷移し、ユーザは、マウス操作によりエッジ幅を計測する計測領域95aを設定する。図10では、ネジを上方から見た場合の左端のエッジと右端のエッジとが含まれるように計測領域95aが設定されている。計測領域95aの左にある232.843(ピクセル)は、計測領域95aを設定した直後に自動的に算出された、左端のエッジと右端のエッジとの間の幅である。なお、ヒストグラム95bは、計測領域95a内の各ピクセルの輝度値をY方向(図10における縦方向)に加算した総和を0〜255になるように正規化して、計測領域95aの上方又は下方に自動的に表示される。   In the setting screen shown in FIG. 10, a rectangular measurement area 95 a and a histogram 95 b are displayed in the inspection object display area 91. When the selection of the setting parameter “measurement area” icon above the setting data input area 92 in FIG. 10 is accepted, a setting screen (in which a measurement area 95a having a predetermined shape can be set on the inspection object display area 91) Then, the user sets a measurement area 95a for measuring the edge width by operating the mouse. In FIG. 10, the measurement region 95a is set so as to include a left end edge and a right end edge when the screw is viewed from above. 232.843 (pixel) on the left of the measurement area 95a is a width between the left edge and the right edge that is automatically calculated immediately after setting the measurement area 95a. The histogram 95b is normalized so that the sum of luminance values of pixels in the measurement area 95a added in the Y direction (vertical direction in FIG. 10) becomes 0 to 255, and above or below the measurement area 95a. Displayed automatically.

また、例えば、図10に示す設定画面において、ネジ頭がすべて含まれるように(略正方形状になるように)計測領域95aを広げて、設定データ入力領域92の設定パラメータ「検出方向」を横矢印から縦矢印に変更する。この場合、Y方向のエッジが検出されるので、ネジを上方から見た場合の上側のエッジと、下側のエッジとが検出される。したがって、ヒストグラム95bは、計測領域95a内の各ピクセルの輝度値をX方向(図10における横方向)に加算した総和を正規化して、計測領域95aの左方又は右方に自動的に表示される。   Further, for example, in the setting screen shown in FIG. 10, the measurement area 95a is expanded so that all screw heads are included (substantially square), and the setting parameter “detection direction” in the setting data input area 92 is Change from arrow to vertical arrow. In this case, since the edge in the Y direction is detected, the upper edge and the lower edge when the screw is viewed from above are detected. Therefore, the histogram 95b is automatically displayed on the left or right side of the measurement region 95a by normalizing the sum of the luminance values of the pixels in the measurement region 95a added in the X direction (horizontal direction in FIG. 10). The

このように、設定パラメータの中には、ユーザの設定によって、検査対象物表示領域91に所定形状(矩形状、円形状、楕円状等)の領域が重ね合わせて表示される設定パラメータが存在する(図9のパターン領域94、図10の計測領域95a参照)。また、ユーザの設定によって、検査対象物表示領域91に自動的に数値が重ね合わせて表示される設定パラメータも存在する(図10の計測領域95aの左にある232.843)。さらに、ユーザの設定によって、検査対象物表示領域91に所定の画像が重ね合わせて表示される設定パラメータも存在する(図10の計測領域95aの下方に表示されるヒストグラム95b)。   As described above, among the setting parameters, there is a setting parameter in which a region having a predetermined shape (rectangular shape, circular shape, elliptical shape, etc.) is superimposed and displayed on the inspection object display region 91 according to a user setting. (See the pattern area 94 in FIG. 9 and the measurement area 95a in FIG. 10). In addition, there is a setting parameter in which numerical values are automatically superimposed and displayed in the inspection object display area 91 according to user settings (232.843 on the left of the measurement area 95a in FIG. 10). Further, there is a setting parameter in which a predetermined image is superimposed and displayed on the inspection object display area 91 according to the user setting (histogram 95b displayed below the measurement area 95a in FIG. 10).

換言すれば、設定パラメータの設定内容によって決定される画像に対する領域、設定パラメータの設定内容によって決定される数値(計算値)、設定パラメータの設定内容によって決定される所定の画像(ヒストグラム等)等が、検査対象物6の画像に重ね合わせて表示される。重ね合わせて表示された領域、数値、所定の画像等は、背景と区別するために色を変える等によりユーザが視認しやすいことが好ましい。例えば、検査対象物表示領域91の背景を黒色で表示する場合、領域の外縁となる枠を黄色で表示することが好ましい。   In other words, an area for an image determined by the setting content of the setting parameter, a numerical value (calculated value) determined by the setting content of the setting parameter, a predetermined image (histogram or the like) determined by the setting content of the setting parameter, and the like. The image of the inspection object 6 is superimposed on the image. It is preferable that the user can easily recognize the region, the numerical value, the predetermined image, and the like displayed in a superimposed manner by changing the color to distinguish them from the background. For example, when the background of the inspection object display area 91 is displayed in black, it is preferable to display a frame serving as the outer edge of the area in yellow.

また、画像処理ツール「T101エリア」(所定の閾値以上の輝度値を有するピクセルが何ピクセルあるかを算出するツール)の設定パラメータ「2値化」についても、閾値を自由に設定することができ、設定された閾値に基づいて2値化処理した画像が検査対象物表示領域91に表示される。具体的には、例えばユーザが閾値を‘125’に設定した場合、事前に設定された計測領域内において、輝度値が‘125’以上の輝度値を有するピクセルの表示色と、輝度値が‘125’未満の輝度値を有するピクセルの表示色とが、異なる色となる。換言すれば、設定パラメータの設定内容によって計測領域内の表示色を変えることができる。   In addition, the threshold value can be freely set for the setting parameter “binarization” of the image processing tool “T101 area” (a tool for calculating how many pixels have a luminance value equal to or higher than a predetermined threshold value). The image binarized based on the set threshold is displayed in the inspection object display area 91. Specifically, for example, when the user sets the threshold value to '125', the display color of the pixel having a luminance value of '125' or higher and the luminance value of '125' in the measurement area set in advance. The display color of a pixel having a luminance value less than 125 ′ is a different color. In other words, the display color in the measurement area can be changed according to the setting content of the setting parameter.

ここで説明した設定パラメータは、詳細は後述するステップS803における動作シミュレーションにて用いられる。つまり、撮像データの入力を受け付けた時点では、上述した領域、数値、所定の画像等は表示されず、検査対象物6を撮像した画像のみが表示される。しかし、マニュアル作成支援装置7にて動作シミュレーションが実行されることによって、上述した領域、数値、所定の画像等を表示するための画像データが作られる。重ね合わせて表示された状態の設定画面の一部又は全部が、画像データとしてマニュアルに掲載されることになる。   The setting parameters described here are used in an operation simulation in step S803 described later in detail. That is, when the input of imaging data is received, the above-described region, numerical value, predetermined image, and the like are not displayed, and only an image obtained by imaging the inspection target 6 is displayed. However, by executing an operation simulation in the manual creation support apparatus 7, image data for displaying the above-described region, numerical value, predetermined image, and the like is created. A part or all of the setting screen displayed in a superimposed manner is posted in the manual as image data.

図8に戻って、マニュアル作成支援装置7のCPU71は、設定データの入力を受け付ける(ステップS802)。具体的には、外観検査装置2に保存されている設定データ(各撮像装置1に対応付けて記憶されている画像処理ツール、各画像処理ツールの設定パラメータ、各設定パラメータに対して設定されているパラメータ値等)が、SDカード等の記録媒体やネットワークを介して、マニュアル作成支援装置7に入力され、記憶装置73に記憶される。また、マニュアル作成時に用いる画像データとして、各撮像装置1に対して登録されている基準画像の画像データ又は記憶されている検査対象物6の撮像データも同様に、SDカード等の記録媒体やネットワークを介して、マニュアル作成支援装置7に入力され、記憶装置73に記憶される。このように、マニュアル作成支援装置7は、少なくとも検査対象物6を撮像した撮像データと、外観検査装置2の設定データとを含む、固有データの入力を受け付ける。   Returning to FIG. 8, the CPU 71 of the manual creation support apparatus 7 accepts input of setting data (step S802). Specifically, the setting data stored in the appearance inspection apparatus 2 (the image processing tool stored in association with each imaging apparatus 1, the setting parameters of each image processing tool, and the setting parameters are set. Parameter values, etc.) are input to the manual creation support device 7 via a recording medium such as an SD card or a network and stored in the storage device 73. Similarly, image data of a reference image registered for each imaging apparatus 1 or stored imaging data of an inspection object 6 as image data used when creating a manual is also a recording medium such as an SD card or a network. Is input to the manual creation support device 7 and stored in the storage device 73. As described above, the manual creation support device 7 receives input of unique data including at least imaging data obtained by imaging the inspection object 6 and setting data of the appearance inspection device 2.

固有データに関して更に詳細に説明する。例えば図9、図10に示す設定画面上で撮像装置1に対応付けられた一又は複数の画像処理ツールの選択及び各画像処理ツールの設定パラメータの設定を受け付ける。要するに、固有データには、少なくとも、外観検査装置2に接続された撮像装置1により検査対象物6を撮像した撮像データと、検査対象物6を撮像した撮像装置1に対応付けられた一又は複数の画像処理ツールと、各々の画像処理ツールに対して設定された設定パラメータとが含まれている。また、一般にユーザは、例えば図9、図10に示す設定画面を通じて、所望の外観検査結果を得るために撮像装置1に対して一又は複数の画像処理ツールを対応付け、処理順序プログラムにより画像処理が実行される順序も設定される。なお、上述した固有データに処理順序プログラムが含まれても良い。   The specific data will be described in more detail. For example, selection of one or a plurality of image processing tools associated with the imaging apparatus 1 and setting of setting parameters of each image processing tool are accepted on the setting screen shown in FIGS. In short, the unique data includes at least one or a plurality of data associated with the imaging data obtained by imaging the inspection object 6 by the imaging apparatus 1 connected to the appearance inspection apparatus 2 and the imaging apparatus 1 that images the inspection object 6. Image processing tools, and setting parameters set for each image processing tool. In general, the user associates one or a plurality of image processing tools with the imaging apparatus 1 in order to obtain a desired appearance inspection result, for example, through the setting screens shown in FIGS. The order in which is executed is also set. The unique data described above may include a processing order program.

また、固有データの入力の受付は、外観検査装置2とマニュアル作成支援装置7とがネットワークを介して接続されている場合には自動的に行われるようにしても良いし、マニュアル作成支援装置7の表示装置83上に「検査対象物を撮像した撮像データと外観検査装置2の設定データが記憶された記憶媒体を挿入して下さい。」といったポップアップ画面が表示されるようにしても良い。   In addition, reception of input of unique data may be automatically performed when the appearance inspection apparatus 2 and the manual creation support apparatus 7 are connected via a network, or the manual creation support apparatus 7. A pop-up screen such as “Please insert a storage medium that stores imaging data obtained by imaging the inspection object and setting data of the appearance inspection apparatus 2” may be displayed on the display device 83.

また、図8に示すステップS802の処理は、一部がステップS801の処理が行われる前に行われる。具体的には、図6に示す選択受付画面の選択受付領域61に、ユーザの選択に応じた画像処理ツールを表示するためには、ステップS801の処理が行われる前に、必要な範囲で設定データの入力を受け付ける必要がある。したがって、例えばマニュアル作成プログラム100を実行し、マニュアル作成支援ソフトウェアを起動した時点で、マニュアル作成支援装置7に挿入されているSDカード等から設定データを読み出して、図6に示す選択受付画面を表示するために必要な情報を取得しても良い。この場合、設定データだけでなく、撮像データなどを含む固有データも読み出して事前に記憶装置73に記憶しておくことにより、ステップS802の処理負荷を軽減し、あるいは処理自体を省略することができる。要するに、ステップS801の処理とステップS802の処理とは、実行の前後は問わない。   In addition, the process in step S802 illustrated in FIG. 8 is partially performed before the process in step S801 is performed. Specifically, in order to display the image processing tool according to the user's selection in the selection reception area 61 of the selection reception screen shown in FIG. 6, the setting is made within a necessary range before the process of step S801 is performed. It is necessary to accept data input. Therefore, for example, when the manual creation program 100 is executed and the manual creation support software is started, the setting data is read from the SD card or the like inserted in the manual creation support device 7 and the selection acceptance screen shown in FIG. 6 is displayed. You may acquire information necessary to do. In this case, not only the setting data but also unique data including imaging data and the like are read and stored in advance in the storage device 73, thereby reducing the processing load in step S802 or omitting the processing itself. . In short, the process of step S801 and the process of step S802 do not matter before and after execution.

次に、図8において、受け付けた設定データに基づいて、選択を受け付けた画像処理ツールの動作シミュレーションを実行する(ステップS803)。CPU71は、動作シミュレーションの実行時に表示された画面を、例えば図7に示すシナリオデータに沿ってキャプチャして画像データを取得する(ステップS804)。具体的には、CPU71は、ステップS802で入力を受け付けた設定データを解析して、マニュアル出力が必要な撮像装置(本実施の形態ではカメラ1とカメラ2)と画像処理ツール(カメラ1に対応付けられた「T100パターンサーチ」と「T101エリア」、カメラ2に対応付けられた「T200エッジ幅」)を認識する。そして、CPU71は、認識した画像処理ツールについて順番に「画像データの取得」(キャプチャ処理)を行う。具体的には、まず、カメラ1に対応付けられた「T100パターンサーチ」について、シナリオデータに沿って画像データを取得する。図7では特に図示していないが、例えば「パターンサーチ」計測ツールにおいて、パターン領域の指定方法をマニュアルで説明するために、図9に示す設定画面をキャプチャして画像データを取得する。   Next, in FIG. 8, based on the received setting data, an operation simulation of the image processing tool that has received the selection is executed (step S803). The CPU 71 captures the screen displayed when the operation simulation is executed, for example, along with the scenario data shown in FIG. 7, and obtains image data (step S804). Specifically, the CPU 71 analyzes the setting data received in step S802, and the imaging device (camera 1 and camera 2 in the present embodiment) that requires manual output and the image processing tool (corresponding to the camera 1). “T100 pattern search” and “T101 area”, and “T200 edge width” associated with the camera 2) are recognized. Then, the CPU 71 performs “image data acquisition” (capture processing) in order for the recognized image processing tools. Specifically, first, image data is acquired along with scenario data for “T100 pattern search” associated with the camera 1. Although not particularly shown in FIG. 7, for example, in the “pattern search” measurement tool, in order to manually explain the pattern region designation method, the setting screen shown in FIG. 9 is captured to obtain image data.

また、図7で示すように、「パターンサーチ」計測ツールのうちの設定パラメータ「サーチ精度」についてマニュアルで説明するために、図9に示す設定画面をキャプチャして画像データを取得する。取得した画像データの一部(右方の「検出条件」の欄)を切り出して貼り付ける。具体的には、図7に示すシナリオデータを用いて説明したように、取得した画像データの左上を原点(0、0)として、X方向(右方向)に‘670’、Y方向(下方向)に‘340’の位置を左上頂点とする、サイズが400×400の画像データを切り出して貼り付ける。   Further, as shown in FIG. 7, in order to manually explain the setting parameter “search accuracy” in the “pattern search” measurement tool, the setting screen shown in FIG. 9 is captured to obtain image data. Cut out and paste a part of the acquired image data (in the column “Detection Condition” on the right). Specifically, as described using the scenario data shown in FIG. 7, the upper left corner of the acquired image data is set to the origin (0, 0), and “670” in the X direction (right direction) and the Y direction (down direction). ), Image data having a size of 400 × 400 with the position of “340” as the upper left vertex is cut out and pasted.

このように、動作シミュレート部402は、撮像データや設定データを用いて外観検査装置2の動作シミュレーションを実行し、実行時に表示される画面の一部又は全部を画像データとして出力する。要するに、固有データ入力受付部401により入力された固有データには、上述したように、少なくとも外観検査装置2に接続された撮像装置1により検査対象物6を撮像した撮像データと、検査対象物6を撮像した撮像装置1に対応付けられた一又は複数の画像処理ツールと、各々の画像処理ツールに対して設定された設定パラメータとが含まれており、動作シミュレート部402は、これらを用いて外観検査装置2の動作シミュレーションを実行する。これにより、ユーザが実際に外観検査に用いる検査対象物6、ユーザが実際に選択した画像処理ツール、ユーザが実際に設定した設定パラメータ等が掲載されたマニュアルを自動的に作成することができる。図6を用いて説明したように、マニュアル出力する対象については、ユーザが選択することができるので、ユーザがマニュアルとして出力したい情報のみが掲載されたマニュアルを作成することができる。なお、固有データの中に画像処理が実行される順序(処理順序プログラム)に関する情報が含まれている場合には、動作シミュレート部402は、画像処理が実行される順序に関する情報に従って、各画像処理ツールの動作シミュレーションを行う。   As described above, the operation simulation unit 402 executes the operation simulation of the appearance inspection apparatus 2 using the imaging data and the setting data, and outputs part or all of the screen displayed at the time of execution as image data. In short, the unique data input by the unique data input reception unit 401 includes, as described above, at least imaging data obtained by imaging the inspection object 6 by the imaging device 1 connected to the appearance inspection apparatus 2, and the inspection object 6. One or a plurality of image processing tools associated with the imaging device 1 that captured the image and setting parameters set for each of the image processing tools are included, and the operation simulation unit 402 uses them. Then, an operation simulation of the appearance inspection apparatus 2 is executed. Thereby, it is possible to automatically create a manual in which the inspection object 6 actually used by the user for the appearance inspection, the image processing tool actually selected by the user, the setting parameters actually set by the user, and the like are posted. As described with reference to FIG. 6, the user can select a target to be manually output, so that a manual on which only information that the user wants to output as a manual is posted can be created. When the information regarding the order in which the image processing is executed (processing order program) is included in the unique data, the operation simulating unit 402 determines that each image according to the information about the order in which the image processing is executed. Perform an operation simulation of the processing tool.

ここで、設定モードにおいて、図9に示すように「T100パターンサーチ」の選択を受け付けた場合には、上述したステップS802において、設定データ入力領域92に表示される設定パラメータのパラメータ値の入力も受け付けるため、ステップS804で取得する画像データの中には、パラメータ値も含まれることになる。以下、図11を用いて説明する。   Here, in the setting mode, when the selection of “T100 pattern search” is accepted as shown in FIG. 9, the parameter value of the setting parameter displayed in the setting data input area 92 is also input in the above-described step S802. In order to accept it, the image data acquired in step S804 includes a parameter value. Hereinafter, a description will be given with reference to FIG.

図11は、パターンサーチ計測ツールの設定パラメータの初期値を示す対応テーブルである。図11に示すように、ステップS802で設定データの入力を受け付ける場合、設定データごとに設定パラメータとパラメータ値とを対応付けた対応テーブルを固有データ記憶部731に記憶する。ここで「初期値」とは、パラメータ値が入力されなかった場合に用いるパラメータ値(デフォルト値)を意味する。   FIG. 11 is a correspondence table showing initial values of setting parameters of the pattern search measurement tool. As illustrated in FIG. 11, when accepting input of setting data in step S <b> 802, a correspondence table in which setting parameters and parameter values are associated with each setting data is stored in the unique data storage unit 731. Here, the “initial value” means a parameter value (default value) used when no parameter value is input.

ユーザが設定モードにおいて、図9の設定データ入力領域92を介して設定パラメータのパラメータ値を入力した場合、入力されたパラメータ値は、設定パラメータの「変更時」の値として記憶される。つまり、ステップS804の処理で取得した画像データに含まれるパラメータ値は、ユーザが設定モードにおいてパラメータ値をデフォルト値から変更していた場合には、「変更時」の値として記憶される。図11では、「変更時」の欄が空白になっているが、これは設定モードにおいて、ユーザがデフォルト値から変更した履歴がないことを意味している。   When the user inputs the parameter value of the setting parameter via the setting data input area 92 of FIG. 9 in the setting mode, the input parameter value is stored as the “change time” value of the setting parameter. That is, the parameter value included in the image data acquired in the process of step S804 is stored as a “change time” value when the user has changed the parameter value from the default value in the setting mode. In FIG. 11, the “change time” column is blank, which means that there is no history that the user has changed from the default value in the setting mode.

なお、本実施の形態では、図11に示す「初期値」として、マニュアル作成支援装置7又は外観検査装置2に事前に登録されている初期値を用いているが、本発明はこれに限定されるものではなく、例えば外観検査装置2からマニュアル作成支援装置7に設定データを転送する時点でのパラメータ値を、図11に示す「初期値」として用いても良い。この場合、設定モードにおいて、設定データの転送を行う直近に、ユーザがデフォルト値から変更したパラメータ値が「初期値」となり、「変更時」の欄は常に空欄となる。ユーザが運用中にデフォルト値から所定のパラメータ値に変更した場合には、変更後のパラメータ値を「変更時」の欄に追記すれば良い。   In the present embodiment, as the “initial value” shown in FIG. 11, an initial value registered in advance in the manual creation support apparatus 7 or the appearance inspection apparatus 2 is used. However, the present invention is not limited to this. For example, the parameter value at the time when the setting data is transferred from the appearance inspection apparatus 2 to the manual creation support apparatus 7 may be used as the “initial value” shown in FIG. In this case, in the setting mode, the parameter value changed from the default value by the user most recently when the setting data is transferred becomes the “initial value”, and the “when changed” field is always blank. When the user changes from a default value to a predetermined parameter value during operation, the changed parameter value may be added to the “when changed” field.

図8に戻って、マニュアル作成支援装置7のCPU71は、対応するテキストデータを読み出し(ステップS805)、図7に示すシナリオデータに沿って画像データとテキストデータとを取得してマニュアルデータを生成する(ステップS806)。具体的には、テキストデータ記憶部732には、サーチ領域の指定方法の説明文として、「検出したい特徴的なパターン(形状)を領域で指定します。⇒領域設定方法」といったテキストデータが記憶されている。また、テキストデータ記憶部732には、一又は複数の画像データが貼り付けられた(埋め込まれた)文書データも記憶されている。CPU71は、対応するテキストデータだけでなく、対応する文書データも読み出して、シナリオデータに沿ってマニュアルデータを生成する(詳細は、後述する図12参照)。   Returning to FIG. 8, the CPU 71 of the manual creation support apparatus 7 reads the corresponding text data (step S805), acquires image data and text data along the scenario data shown in FIG. 7, and generates manual data. (Step S806). Specifically, the text data storage unit 732 stores text data such as “designate a characteristic pattern (shape) to be detected in the region. ⇒ region setting method” as an explanation of the search region designation method. Has been. The text data storage unit 732 also stores document data in which one or a plurality of image data is pasted (embedded). The CPU 71 reads not only the corresponding text data but also the corresponding document data, and generates manual data along with the scenario data (for details, refer to FIG. 12 described later).

また、テキストデータ記憶部732には、設定パラメータ「サーチ精度」についての説明文として、「検出精度に関わる項目です。検出精度を上げたい場合は「サーチ精度」を高く設定します。「サーチ精度」を高く設定すると検出の精度は向上しますが、処理時間がより長くなります。」といったテキストデータが記憶されている。また、テキストデータ記憶部732には、画像データが貼り付けられていない文書データも記憶されている。CPU71は、対応するテキストデータだけでなく、対応する文書データも読み出して、シナリオデータに沿ってマニュアルデータを生成する(詳細は、後述する図13参照)。その後、CPU71は、生成したマニュアルデータを出力する(ステップS807)。もちろん、マニュアル作成の対象として設定データの選択を受け付けても良い。   Also, in the text data storage unit 732, as an explanation for the setting parameter “search accuracy”, “items related to detection accuracy. If you want to increase detection accuracy, set“ search accuracy ”higher. Setting “Search accuracy” higher will improve the detection accuracy, but will increase the processing time. Is stored. The text data storage unit 732 also stores document data to which image data is not pasted. The CPU 71 reads not only the corresponding text data but also the corresponding document data, and generates manual data according to the scenario data (for details, refer to FIG. 13 described later). Thereafter, the CPU 71 outputs the generated manual data (step S807). Of course, selection of setting data may be accepted as a manual creation target.

図12は、本発明の実施の形態に係るマニュアル作成支援装置7で作成されたマニュアルの一部を示す例示図である。図12は、作成されたマニュアルのうち、表示画面をキャプチャした画像データを含むページであり、検査対象物表示領域91には、ユーザが撮像した検査対象物6の画像が表示されている。また、図12に示すページでは、キャプチャした画像データが左上に配置されている。これは、「パターンサーチ」計測ツールを開く画面をキャプチャして画像データを取得し、必要に応じて縮小し、ページ左上方に配置する、というシナリオデータに沿って配置されている。また、図12において、画像データの右側には、ステップS805で説明したテキストデータが配置されており、配置場所はシナリオデータに沿って決められている。さらに、図12において、画像データ及びテキストデータの下方には、一又は複数の画像データが貼り付けられた文書データが配置されており、配置場所はシナリオデータに沿って決められている。   FIG. 12 is an exemplary diagram showing a part of a manual created by the manual creation support device 7 according to the embodiment of the present invention. FIG. 12 shows a page including image data obtained by capturing a display screen in the created manual. In the inspection object display area 91, an image of the inspection object 6 captured by the user is displayed. In the page shown in FIG. 12, the captured image data is arranged at the upper left. This is arranged in accordance with scenario data in which a screen for opening a “pattern search” measurement tool is captured to acquire image data, is reduced as necessary, and is arranged at the upper left of the page. In FIG. 12, the text data described in step S805 is arranged on the right side of the image data, and the arrangement location is determined according to the scenario data. Further, in FIG. 12, document data with one or more image data pasted is arranged below the image data and text data, and the arrangement location is determined according to the scenario data.

また、図13は、本発明の実施の形態に係るマニュアル作成支援装置7で作成されたマニュアルの一部を示す例示図である。図13は、作成されたマニュアルのうち、図12と同じ表示画面をキャプチャした画像データの一部を含むページである。   FIG. 13 is an exemplary diagram showing a part of a manual created by the manual creation support device 7 according to the embodiment of the present invention. FIG. 13 is a page including a part of image data obtained by capturing the same display screen as FIG. 12 in the created manual.

図13は、図7のシナリオデータに沿ってマニュアル生成されている。すなわち、図7のシナリオデータに記憶されているように、取得した画像データの左上を原点(0、0)として、X方向(右方向)に‘670’、Y方向(下方向)に‘340’の位置を左上頂点とする、サイズ400×400の画像データを切り出し、マニュアルページの左上を原点(0、0)として、X方向(右方向)に‘30’、Y方向(下方向)に‘70’の位置が左上頂点となるように、サイズ140×140で切り出した画像データを貼り付けてある。   FIG. 13 is generated manually along the scenario data of FIG. That is, as stored in the scenario data of FIG. 7, the upper left of the acquired image data is set to the origin (0, 0), “670” in the X direction (right direction), and “340” in the Y direction (down direction). Cut out image data of size 400x400 with the position of 'upper left apex, and set the upper left of the manual page to the origin (0, 0),' 30 'in the X direction (right direction) and in the Y direction (down direction) Image data cut out with a size of 140 × 140 is pasted so that the position of “70” is the upper left vertex.

また、図13において、画像データの右側には、ステップS805で説明したテキストデータが配置されており、配置場所はシナリオデータに沿って決められている。さらに、図13において、画像データ及びテキストデータの下方には、画像データが貼り付けられていない文書データが配置されており、配置場所はシナリオデータに沿って決められている(図7では省略)。   In FIG. 13, the text data described in step S805 is arranged on the right side of the image data, and the arrangement location is determined according to the scenario data. Further, in FIG. 13, document data to which image data is not pasted is arranged below image data and text data, and the arrangement location is determined according to scenario data (not shown in FIG. 7). .

このように、必要に応じてキャプチャされた画像データの全体を用いることも、一部を切り出して用いることもできる。したがって、ユーザが見やすく、わかりやすい形式にマニュアルを作成することが容易となる。そして、各画像処理ツールについて、図7に例示するシナリオデータを有しており、画像データの配置場所、テキストデータの配置場所、文書データの配置場所が、事前に決められている。ただし、実際の動作シミュレーションに用いる撮像データは、ユーザから固有データとして入力を受け付けた撮像データである。したがって、ユーザに応じた個別のマニュアルを自動的に作成することが可能となる。   As described above, the entire captured image data can be used as necessary, or a part of the image data can be cut out and used. Therefore, it is easy to create a manual in a format that is easy for the user to see and understand. Each image processing tool has the scenario data illustrated in FIG. 7, and the arrangement location of the image data, the arrangement location of the text data, and the arrangement location of the document data are determined in advance. However, the imaging data used for the actual operation simulation is imaging data received as input as specific data from the user. Therefore, an individual manual corresponding to the user can be automatically created.

なお、本実施の形態では、設定モードにおいて、各画像処理ツールの設定データを編集するための設定画面(例えば図9又は図10)をキャプチャして画像データを取得し、取得した画像データの一部又は全部が出力される。これにより、ユーザが外観検査装置2の設定作業を行う場合に視認する画面の一部又は全部が、そのままマニュアルに掲載されることになる。したがって、ユーザはマニュアルを見ながら各設定パラメータの意味合いを理解し、(例えば検査環境の変化に応じた)各設定パラメータの再設定作業を容易に行うことができる。   In the present embodiment, in the setting mode, a setting screen (for example, FIG. 9 or FIG. 10) for editing the setting data of each image processing tool is captured to acquire the image data. Parts or all are output. Thereby, a part or all of the screen visually recognized when the user performs the setting operation of the appearance inspection apparatus 2 is directly posted in the manual. Therefore, the user can understand the meaning of each setting parameter while looking at the manual, and can easily perform the resetting operation of each setting parameter (for example, according to a change in the inspection environment).

また、本実施の形態では、図8に示すフローチャートにおいて、ステップS803及びステップS804においてマニュアル作成に必要な画像データをすべて取得した後に、ステップS805において、必要なテキストデータを読み出し(必要に応じて文書データも読み出し)、ステップS806においてマニュアルデータを生成するようにしているが、本発明はこれに限定されるものではなく、一の画像処理ツールについての画像データの取得、テキストデータ(文書データ)の読み出し、該当箇所のマニュアルデータの生成、という一連の処理を繰り返し実行するようにしても良い。例えば、画像処理ツール「T100パターンサーチ」の設定画面をキャプチャして画像データを取得し、テキストデータを読み出して、マニュアルのうち画像処理ツール「T100パターンサーチ」のページのマニュアルデータを生成する。次に、画像処理ツール「T101エリア」の設定画面をキャプチャした画像データを取得し、テキストデータを読み出して、マニュアルのうち画像処理ツール「T101エリア」のページのマニュアルデータを生成する。最後に、画像処理ツール「T200エッジ幅」の設定画面をキャプチャして画像データを取得し、テキストデータを読み出して、マニュアルのうち画像処理ツール「T200エッジ幅」のページのマニュアルデータを生成する。このように、該当ページのマニュアルデータを順次生成していくことも可能である。この場合、ステップS803〜ステップS806の処理が繰り返し実行されることになる。   In the present embodiment, in the flowchart shown in FIG. 8, after all the image data necessary for manual creation is acquired in step S803 and step S804, the necessary text data is read in step S805 (if necessary, the document In the step S806, manual data is generated. However, the present invention is not limited to this. Acquisition of image data for one image processing tool, text data (document data) A series of processing such as reading and generation of manual data at a corresponding portion may be repeatedly executed. For example, the setting screen of the image processing tool “T100 pattern search” is captured to acquire the image data, the text data is read, and the manual data of the page of the image processing tool “T100 pattern search” in the manual is generated. Next, image data obtained by capturing a setting screen of the image processing tool “T101 area” is acquired, text data is read, and manual data of a page of the image processing tool “T101 area” in the manual is generated. Finally, the setting screen of the image processing tool “T200 edge width” is captured to acquire image data, the text data is read, and the manual data of the page of the image processing tool “T200 edge width” in the manual is generated. In this way, it is possible to sequentially generate manual data for the corresponding pages. In this case, the processing from step S803 to step S806 is repeatedly executed.

以上のように本実施の形態によれば、撮像された撮像データ及び記憶された設定データを用いて動作シミュレーションを実行し、実行時に表示される画面の一部又は全部を画像データとして出力し、出力された画像データとテキストデータとを対応付けてマニュアルデータを生成して出力するので、ユーザにより選択された画像処理ツールに対して、ユーザにより設定された設定データに基づいて、必要な画像データ及び該画像データに対応するテキストデータを取得してマニュアルデータを生成することができ、ユーザに応じた個別のマニュアルを自動的に作成することが可能となる。   As described above, according to the present embodiment, the operation simulation is performed using the captured image data and the stored setting data, and a part or all of the screen displayed at the time of execution is output as image data. Since the output image data and text data are associated with each other to generate and output manual data, the necessary image data is set based on the setting data set by the user for the image processing tool selected by the user. In addition, manual data can be generated by acquiring text data corresponding to the image data, and an individual manual corresponding to the user can be automatically created.

なお、本発明は上記実施例に限定されるものではなく、本発明の趣旨の範囲内であれば多種の変更、改良等が可能である。また、本実施の形態では、検査対象物6を撮像して取得した画像に基づいて良否を判定する外観検査装置2に使用するマニュアルの作成に関して説明したが、例えば、検査対象物6の寸法を取得して、取得した寸法に基づいて良否を判定する寸法測定装置にも適用することが可能である。   The present invention is not limited to the above-described embodiments, and various changes and improvements can be made within the scope of the present invention. Further, in the present embodiment, description has been made regarding the creation of a manual used for the appearance inspection apparatus 2 that determines pass / fail based on an image acquired by imaging the inspection object 6. It can be applied to a dimension measuring apparatus that acquires and determines pass / fail based on the acquired dimensions.

1 撮像装置
2 外観検査装置
4 照明装置
6 検査対象物
7 マニュアル作成支援装置
401 固有データ入力受付部
402 動作シミュレート部
403 設定データ選択受付部
404 マニュアル生成部
405 マニュアル出力部
731 固有データ記憶部
732 テキストデータ記憶部
DESCRIPTION OF SYMBOLS 1 Imaging device 2 Appearance inspection apparatus 4 Illumination apparatus 6 Inspection object 7 Manual creation assistance apparatus 401 Specific data input reception part 402 Operation simulation part 403 Setting data selection reception part 404 Manual generation part 405 Manual output part 731 Specific data storage part 732 Text data storage

Claims (8)

少なくとも検査対象物を撮像した撮像データ、及び良否判定を行う外観検査装置の設定データを含む固有データの入力を受け付ける固有データ入力受付手段と、
入力を受け付けた固有データを記憶装置へ記憶する固有データ記憶手段と、
前記設定データに対応付けてテキストデータを記憶するテキストデータ記憶手段と、
前記撮像データ及び前記設定データを用いて前記外観検査装置の動作シミュレーションを実行し、実行時に表示される画面の一部又は全部を画像データとして出力する動作シミュレート手段と、
出力された画像データと記憶された前記テキストデータとを対応付けてマニュアルデータを生成するマニュアル生成手段と、
生成したマニュアルデータを出力するマニュアル出力手段と
を備えるマニュアル作成支援装置において、
前記動作シミュレート手段は、前記設定データに基づいて前記外観検査装置の動作シミュレーションを実行し、実行時に表示される画面を画像データとして出力し、
前記マニュアル生成手段は、前記設定データに対応するテキストデータを読み出し、出力された画像データと対応付けてマニュアルデータを生成することを特徴とするマニュアル作成支援装置。
Unique data input accepting means for accepting input of unique data including at least imaging data obtained by imaging an inspection object and setting data of an appearance inspection apparatus that performs pass / fail determination;
Unique data storage means for storing the unique data that has received the input in the storage device;
Text data storage means for storing text data in association with the setting data;
An operation simulation means for executing an operation simulation of the appearance inspection apparatus using the imaging data and the setting data, and outputting a part or all of a screen displayed at the time of execution as image data;
Manual generation means for generating manual data by associating the output image data with the stored text data;
In a manual creation support device having a manual output means for outputting generated manual data,
The operation simulation means performs an operation simulation of the appearance inspection apparatus based on the setting data, and outputs a screen displayed at the time of execution as image data.
The manual generation support device, wherein the manual generation means reads text data corresponding to the setting data and generates manual data in association with the output image data.
前記テキストデータ記憶手段は、前記固有データのレイアウトに関するレイアウト情報を記憶することを特徴とする請求項1に記載のマニュアル作成支援装置。   The manual creation support apparatus according to claim 1, wherein the text data storage unit stores layout information related to a layout of the unique data. 前記設定データの選択を受け付ける設定データ選択受付手段を備えることを特徴とする請求項1又は2に記載のマニュアル作成支援装置。   The manual creation support apparatus according to claim 1, further comprising setting data selection receiving means for receiving selection of the setting data. 前記固有データ記憶手段は、前記設定データごとに設定パラメータとパラメータ値とを対応付けた対応テーブルを記憶することを特徴とする請求項1乃至3のいずれか一項に記載のマニュアル作成支援装置。   4. The manual creation support apparatus according to claim 1, wherein the unique data storage unit stores a correspondence table in which a setting parameter and a parameter value are associated with each setting data. 5. 少なくとも検査対象物を撮像した撮像データ、及び良否判定を行う外観検査装置の設定データを含む固有データの入力を受け付けるステップと、
入力を受け付けた固有データを記憶装置へ記憶するステップと、
前記設定データに対応付けてテキストデータを記憶するステップと、
前記撮像データ及び前記設定データを用いて前記外観検査装置の動作シミュレーションを実行し、実行時に表示される画面の一部又は全部を画像データとして出力するステップと、
出力された画像データと記憶された前記テキストデータとを対応付けてマニュアルデータを生成するステップと、
生成したマニュアルデータを出力するステップと
を含み、
前記設定データに基づいて前記外観検査装置の動作シミュレーションを実行し、実行時に表示される画面を画像データとして出力し、
前記設定データに対応するテキストデータを読み出し、出力された画像データと対応付けてマニュアルデータを生成することを特徴とするマニュアル作成支援方法。
Receiving at least imaging data obtained by imaging an inspection object and input of unique data including setting data of an appearance inspection apparatus that performs pass / fail determination;
Storing the unique data that has been accepted into the storage device;
Storing text data in association with the setting data;
Executing an operation simulation of the appearance inspection apparatus using the imaging data and the setting data, and outputting a part or all of a screen displayed at the time of execution as image data;
Associating the output image data with the stored text data to generate manual data;
Outputting the generated manual data, and
Perform an operation simulation of the appearance inspection apparatus based on the setting data, and output a screen displayed at the time of execution as image data,
A manual creation support method, wherein text data corresponding to the setting data is read and manual data is generated in association with the output image data.
前記固有データのレイアウトに関するレイアウト情報を記憶することを特徴とする請求項5に記載のマニュアル作成支援方法。   6. The manual creation support method according to claim 5, wherein layout information relating to the layout of the unique data is stored. 前記設定データの選択を受け付けるステップを含むことを特徴とする請求項5又は6に記載のマニュアル作成支援方法。   7. The manual creation support method according to claim 5, further comprising a step of receiving selection of the setting data. 前記設定データごとに設定パラメータとパラメータ値とを対応付けた対応テーブルを記憶することを特徴とする請求項5乃至7のいずれか一項に記載のマニュアル作成支援方法。   The manual creation support method according to claim 5, wherein a correspondence table in which setting parameters and parameter values are associated with each other is stored for each setting data.
JP2012027322A 2012-02-10 2012-02-10 Manual creation support device and manual creation support method Active JP5815434B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012027322A JP5815434B2 (en) 2012-02-10 2012-02-10 Manual creation support device and manual creation support method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012027322A JP5815434B2 (en) 2012-02-10 2012-02-10 Manual creation support device and manual creation support method

Publications (2)

Publication Number Publication Date
JP2013164506A true JP2013164506A (en) 2013-08-22
JP5815434B2 JP5815434B2 (en) 2015-11-17

Family

ID=49175886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012027322A Active JP5815434B2 (en) 2012-02-10 2012-02-10 Manual creation support device and manual creation support method

Country Status (1)

Country Link
JP (1) JP5815434B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015107665A1 (en) * 2014-01-17 2015-07-23 株式会社日立製作所 Program for creating work assistance data
KR101676141B1 (en) * 2014-12-24 2016-11-30 주식회사 포스코 Apparatus for automatically generating driving manual
JPWO2016151803A1 (en) * 2015-03-25 2017-08-03 三菱電機株式会社 Equipment management device, operation support screen display method and program

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003006206A (en) * 2001-06-26 2003-01-10 Omron Corp Device for automatic generation of users manual and method for automatic generation thereof
JP2003067449A (en) * 2001-08-23 2003-03-07 Ricoh Co Ltd Supporting system for design and manufacturing operation
JP2003223094A (en) * 2002-01-30 2003-08-08 Mitsubishi Heavy Ind Ltd Electronic assembly procedure manual system, system and method for supporting creation of assembly procedure manual
JP2004094487A (en) * 2002-08-30 2004-03-25 Matsushita Electric Ind Co Ltd Support system for preparing document
US20100226561A1 (en) * 2009-01-21 2010-09-09 Omron Corporation Parameter determination assisting device and parameter determination assisting program
JP2011163766A (en) * 2010-02-04 2011-08-25 Omron Corp Image processing method and image processing system
JP2012021914A (en) * 2010-07-15 2012-02-02 Keyence Corp Image processing system and visual inspection method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003006206A (en) * 2001-06-26 2003-01-10 Omron Corp Device for automatic generation of users manual and method for automatic generation thereof
JP2003067449A (en) * 2001-08-23 2003-03-07 Ricoh Co Ltd Supporting system for design and manufacturing operation
JP2003223094A (en) * 2002-01-30 2003-08-08 Mitsubishi Heavy Ind Ltd Electronic assembly procedure manual system, system and method for supporting creation of assembly procedure manual
JP2004094487A (en) * 2002-08-30 2004-03-25 Matsushita Electric Ind Co Ltd Support system for preparing document
US20100226561A1 (en) * 2009-01-21 2010-09-09 Omron Corporation Parameter determination assisting device and parameter determination assisting program
JP2011163766A (en) * 2010-02-04 2011-08-25 Omron Corp Image processing method and image processing system
JP2012021914A (en) * 2010-07-15 2012-02-02 Keyence Corp Image processing system and visual inspection method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015107665A1 (en) * 2014-01-17 2015-07-23 株式会社日立製作所 Program for creating work assistance data
CN105745586A (en) * 2014-01-17 2016-07-06 株式会社日立制作所 Program for creating work assistance data
JPWO2015107665A1 (en) * 2014-01-17 2017-03-23 株式会社日立製作所 Work support data creation program
CN105745586B (en) * 2014-01-17 2018-04-03 株式会社日立制作所 Operation auxiliary data generator
KR101676141B1 (en) * 2014-12-24 2016-11-30 주식회사 포스코 Apparatus for automatically generating driving manual
JPWO2016151803A1 (en) * 2015-03-25 2017-08-03 三菱電機株式会社 Equipment management device, operation support screen display method and program

Also Published As

Publication number Publication date
JP5815434B2 (en) 2015-11-17

Similar Documents

Publication Publication Date Title
JP5522065B2 (en) Board inspection system
US9223443B2 (en) Projection device, projection method and projection program
KR102344832B1 (en) Surgical instrument detection system and computer program
US20140218385A1 (en) System and method for visual segmentation of application screenshots
KR20120006434A (en) Image processing device, image processing method, and computer program
KR102430090B1 (en) Computer program, method, and device for generating virtual defect image using artificial intelligence model generated based on user input
JPWO2016174926A1 (en) Image processing apparatus, image processing method, and program
JP2012103786A (en) Test support device, control method, and program
JP5815434B2 (en) Manual creation support device and manual creation support method
JP2002251603A (en) Image processing program formation method and system for it
JP2010071951A (en) Visual inspection device and visual inspection method
JP6237135B2 (en) Information processing apparatus and information processing program
JP5056263B2 (en) Image inspection apparatus, image inspection method, program for causing computer to function as image inspection apparatus, and computer-readable recording medium
US20140189491A1 (en) Visual cross-browser layout testing method and system therefor
JP2010133744A (en) Defect detection method, and visual inspection device using the same
JP6516884B2 (en) Connection inspection work support system
JP2013164313A (en) Screen display data editing device and screen display editing method
JP2008241424A (en) Image processing apparatus and method using the same
JP4692316B2 (en) Image processing apparatus, image processing method, and computer program
US11927540B2 (en) Information processing apparatus, information processing method, and recording medium
JP7380332B2 (en) Image processing device, control method and program for the image processing device
JP5855961B2 (en) Image processing apparatus and image processing method
JP5934516B2 (en) Inspection area display device and inspection area display method
JP2018097563A (en) Image processing apparatus
US11763445B2 (en) Inspection of a target object using a comparison with a master image and a strictness of a quality evaluation threshold value

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140901

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150630

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150817

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150915

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150924

R150 Certificate of patent or registration of utility model

Ref document number: 5815434

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250