JP6893676B2 - Optical inspection equipment - Google Patents

Optical inspection equipment Download PDF

Info

Publication number
JP6893676B2
JP6893676B2 JP2016183280A JP2016183280A JP6893676B2 JP 6893676 B2 JP6893676 B2 JP 6893676B2 JP 2016183280 A JP2016183280 A JP 2016183280A JP 2016183280 A JP2016183280 A JP 2016183280A JP 6893676 B2 JP6893676 B2 JP 6893676B2
Authority
JP
Japan
Prior art keywords
image processing
image
processing algorithm
unit
defective product
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.)
Active
Application number
JP2016183280A
Other languages
Japanese (ja)
Other versions
JP2018048845A (en
Inventor
厚司 岩井
厚司 岩井
栖原 一浩
一浩 栖原
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.)
Ishida Co Ltd
Original Assignee
Ishida Co Ltd
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 Ishida Co Ltd filed Critical Ishida Co Ltd
Priority to JP2016183280A priority Critical patent/JP6893676B2/en
Publication of JP2018048845A publication Critical patent/JP2018048845A/en
Application granted granted Critical
Publication of JP6893676B2 publication Critical patent/JP6893676B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、光検査装置に関する。 The present invention relates to an optical inspection device.

従来、物品に光を透過させることで得られた透過画像に対して、画像処理アルゴリズムを用いた画像処理を施して処理画像を生成し、この処理画像に基づいて物品の検査を行う光検査装置が知られている。このような光検査装置では、複数の画像処理アルゴリズムが記憶部に予め記憶されており、記憶された複数の画像処理アルゴリズムのうちオペレータによって選択された少なくとも1つが、検査時の画像処理に用いる画像処理アルゴリズムに設定される。 Conventionally, an optical inspection device that performs image processing using an image processing algorithm on a transmitted image obtained by transmitting light through an article to generate a processed image, and inspects the article based on the processed image. It has been known. In such an optical inspection device, a plurality of image processing algorithms are stored in advance in a storage unit, and at least one of the plurality of stored image processing algorithms selected by the operator is an image used for image processing during inspection. Set in the processing algorithm.

この種の技術として、例えば特許文献1には、X線検査装置が記載されている。特許文献1に記載されたX線検査装置では、被検査物中から検出する異物の異物検出特性を選択し、選択した異物検出特性に近似する複数の画像処理アルゴリズムを、予め記憶された複数の画像処理アルゴリズムから抽出して表示部に表示する。 As a technique of this kind, for example, Patent Document 1 describes an X-ray inspection apparatus. In the X-ray inspection apparatus described in Patent Document 1, a plurality of image processing algorithms stored in advance are stored in a plurality of image processing algorithms that select foreign matter detection characteristics of foreign matter to be detected in the object to be inspected and approximate the selected foreign matter detection characteristics. It is extracted from the image processing algorithm and displayed on the display.

特許第5635903号公報Japanese Patent No. 5635903

上記光検査装置において画像処理アルゴリズムを設定する場合、オペレータは、有効な画像処理アルゴリズムの名称又は番号についてメモしたり頭に記憶したりして、複数の画像処理アルゴリズムの絞込みを行うことがある。そのため、上記光検査装置では、画像処理アルゴリズムの設定作業が煩雑となる可能性があり、画像処理アルゴリズムを容易に設定する上で改善の余地がある。 When setting an image processing algorithm in the above-mentioned optical inspection device, the operator may narrow down a plurality of image processing algorithms by making a note or memorizing the name or number of a valid image processing algorithm in the head. Therefore, in the above-mentioned optical inspection apparatus, the setting work of the image processing algorithm may become complicated, and there is room for improvement in easily setting the image processing algorithm.

そこで、本発明は、画像処理アルゴリズムを容易に設定することが可能となる光検査装置を提供することを目的とする。 Therefore, an object of the present invention is to provide an optical inspection apparatus capable of easily setting an image processing algorithm.

本発明に係る光検査装置は、物品に光を透過させることで得られた透過画像に対して、画像処理アルゴリズムを用いた画像処理を施して処理画像を生成し、処理画像に基づいて物品の検査を行う光検査装置であって、複数の画像処理アルゴリズムを予め記憶する記憶部と、記憶部に記憶された複数の画像処理アルゴリズムのうちオペレータによって選択された少なくとも1つを、検査時の画像処理に用いる検査用画像処理アルゴリズムに設定する設定部と、異物を含む物品に光を透過させることにより得られた不良品透過画像に対して、記憶部に記憶された一の画像処理アルゴリズムを用いた画像処理を施して不良品処理画像を生成する処理を、記憶部に記憶された複数の画像処理アルゴリズムについて行う画像処理部と、画像処理部で生成した複数の不良品処理画像の少なくとも何れかを表示する表示部と、画像処理部で生成した複数の不良品処理画像の少なくとも何れかに対するマーキング操作をオペレータから受け付ける操作部と、を備え、設定部は、操作部がマーキング操作を受け付けた場合、当該マーキング操作の対象となった不良品処理画像の画像処理に用いた画像処理アルゴリズムに関する情報を、記憶部に記憶させる。 The optical inspection apparatus according to the present invention performs image processing using an image processing algorithm on a transmitted image obtained by transmitting light through an article to generate a processed image, and the article is based on the processed image. An optical inspection device that inspects an image at the time of inspection of a storage unit that stores a plurality of image processing algorithms in advance and at least one of a plurality of image processing algorithms stored in the storage unit selected by an operator. A setting unit set in the inspection image processing algorithm used for processing and one image processing algorithm stored in the storage unit are used for the defective product transmitted image obtained by transmitting light to an article containing foreign matter. At least one of an image processing unit that performs processing to generate a defective product processed image by performing the image processing that has been performed for a plurality of image processing algorithms stored in the storage unit, and a plurality of defective product processed images generated by the image processing unit. The setting unit includes a display unit for displaying the above and an operation unit for receiving a marking operation from the operator for at least one of a plurality of defective product processed images generated by the image processing unit. , Information on the image processing algorithm used for image processing of the defective product processed image that is the target of the marking operation is stored in the storage unit.

この光検査装置では、マーキング操作により、有効である可能性が高いとオペレータが判断した画像処理アルゴリズムに関する情報を、記憶部に記憶させることができる。よって、検査用画像処理アルゴリズムの設定の際、オペレータは、複数の画像処理アルゴリズムを容易に絞り込み、絞り込んだ画像処理アルゴリズムの中から検査用画像処理アルゴリズムを選択することができる。すなわち、画像処理アルゴリズムを容易に設定することが可能となる。 In this optical inspection device, information regarding an image processing algorithm determined by the operator to be highly likely to be effective can be stored in the storage unit by the marking operation. Therefore, when setting the inspection image processing algorithm, the operator can easily narrow down a plurality of image processing algorithms and select the inspection image processing algorithm from the narrowed down image processing algorithms. That is, the image processing algorithm can be easily set.

本発明に係る光検査装置では、設定部は、操作部がマーキング操作を受け付けた場合、当該マーキング操作の対象となった不良品処理画像の画像処理に用いた画像処理アルゴリズムに関する情報を、表示部に表示させてもよい。この場合、マーキング操作によって記憶部に記憶させた画像処理アルゴリズムに関する情報が表示部に表示されるため、オペレータが当該情報を確認し易くなる。 In the optical inspection device according to the present invention, when the operation unit accepts the marking operation, the setting unit displays information on the image processing algorithm used for image processing of the defective product processed image that is the target of the marking operation. It may be displayed in. In this case, since the information about the image processing algorithm stored in the storage unit by the marking operation is displayed on the display unit, the operator can easily confirm the information.

本発明に係る光検査装置では、操作部は、複数の不良品処理画像の少なくとも何れかに対して優先度を付与するランキング操作をオペレータから受け付け、設定部は、操作部がランキング操作を受け付けた場合、当該ランキング操作の対象となった不良品処理画像の画像処理に用いた画像処理アルゴリズムと当該ランキング操作で付与された優先度とに関する情報を、記憶部に記憶させてもよい。この場合、オペレータは、付与した優先度を参照しつつ、検査用画像処理アルゴリズムを選択することができる。 In the optical inspection device according to the present invention, the operation unit receives a ranking operation from the operator for giving priority to at least one of a plurality of defective product processed images, and the operation unit receives the ranking operation in the setting unit. In this case, the storage unit may store information about the image processing algorithm used for image processing of the defective product processed image that is the target of the ranking operation and the priority given by the ranking operation. In this case, the operator can select the inspection image processing algorithm while referring to the assigned priority.

本発明に係る光検査装置では、設定部は、操作部がランキング操作を受け付けた場合、当該ランキング操作の対象となった不良品処理画像の画像処理に用いた画像処理アルゴリズムと当該ランキング操作で付与された優先度とに関する情報を、表示部に表示させてもよい。この場合、ランキング操作によって記憶部に記憶させた当該情報が表示部に表示されるため、オペレータが当該情報を確認し易くなる。 In the optical inspection device according to the present invention, when the operation unit accepts the ranking operation, the setting unit is assigned by the image processing algorithm used for the image processing of the defective product processed image targeted by the ranking operation and the ranking operation. Information about the given priority may be displayed on the display unit. In this case, since the information stored in the storage unit by the ranking operation is displayed on the display unit, the operator can easily confirm the information.

本発明に係る光検査装置では、設定部は、マーキング操作の対象となった複数の不良品処理画像を、表示部に並べて表示させてもよい。この場合、オペレータは、マーキング操作の対象となった複数の不良品処理画像を比較評価し易くなる。 In the optical inspection apparatus according to the present invention, the setting unit may display a plurality of defective product processed images targeted for the marking operation side by side on the display unit. In this case, the operator can easily compare and evaluate a plurality of defective product processed images that are the targets of the marking operation.

本発明に係る光検査装置では、設定部で設定する検査用画像処理アルゴリズムには、第1及び第2検査用画像処理アルゴリズムが含まれ、操作部は、第1検査用画像処理アルゴリズムに関するマーキング操作である第1マーキング操作と第2検査用画像処理アルゴリズムに関するマーキング操作である第2マーキング操作とをオペレータから受け付け、設定部は、操作部が第1マーキング操作を受け付けた場合、当該第1マーキング操作の対象となった不良品処理画像の画像処理に用いた画像処理アルゴリズムに関する情報を、第1検査用画像処理アルゴリズムに関する情報として記憶部に記憶させ、操作部が第2マーキング操作を受け付けた場合、当該第2マーキング操作の対象となった不良品処理画像の画像処理に用いた画像処理アルゴリズムに関する情報を、第2検査用画像処理アルゴリズムに関する情報として記憶部に記憶させてもよい。この場合、例えば第1検査用画像処理アルゴリズムの設定時であっても、第2マーキング操作により、第2検査用画像処理アルゴリズムとして有効である可能性が高い画像処理アルゴリズムに関する情報が記憶部に記憶される。よって、第1及び第2検査用画像処理アルゴリズムの設定の際、オペレータは、複数の画像処理アルゴリズムを効率的に絞り込むことができる。 In the optical inspection apparatus according to the present invention, the inspection image processing algorithm set by the setting unit includes the first and second inspection image processing algorithms, and the operation unit performs a marking operation related to the first inspection image processing algorithm. The first marking operation and the second marking operation, which is a marking operation related to the second inspection image processing algorithm, are received from the operator, and the setting unit receives the first marking operation when the operation unit receives the first marking operation. When the information about the image processing algorithm used for the image processing of the defective product processed image that is the target of the above is stored in the storage unit as the information about the image processing algorithm for the first inspection and the operation unit accepts the second marking operation. Information on the image processing algorithm used for image processing of the defective product processed image that is the target of the second marking operation may be stored in the storage unit as information on the image processing algorithm for the second inspection. In this case, for example, even when the first inspection image processing algorithm is set, the second marking operation stores information about the image processing algorithm that is likely to be effective as the second inspection image processing algorithm in the storage unit. Will be done. Therefore, when setting the first and second inspection image processing algorithms, the operator can efficiently narrow down a plurality of image processing algorithms.

本発明に係る光検査装置では、設定部は、操作部が第1マーキング操作を受け付けた場合、当該第1マーキング操作の対象となった不良品処理画像の画像処理に用いた画像処理アルゴリズムに関する情報を、第1検査用画像処理アルゴリズムに関する情報として表示部に表示させ、操作部が第2マーキング操作を受け付けた場合、当該第2マーキング操作の対象となった不良品処理画像の画像処理に用いた画像処理アルゴリズムに関する情報を、第2検査用画像処理アルゴリズムに関する情報として表示部に表示させてもよい。この場合、第1マーキング操作によって記憶部に記憶させた画像処理アルゴリズムに関する情報が表示部に表示され、第2マーキング操作によって記憶部に記憶させた画像処理アルゴリズムに関する情報が表示部に表示される。そのため、オペレータが当該情報を確認し易くなる。 In the optical inspection apparatus according to the present invention, when the operation unit accepts the first marking operation, the setting unit provides information on an image processing algorithm used for image processing of the defective product processed image that is the target of the first marking operation. Was displayed on the display unit as information related to the first inspection image processing algorithm, and when the operation unit accepted the second marking operation, it was used for image processing of the defective product processed image that was the target of the second marking operation. Information about the image processing algorithm may be displayed on the display unit as information about the second inspection image processing algorithm. In this case, the information about the image processing algorithm stored in the storage unit by the first marking operation is displayed on the display unit, and the information about the image processing algorithm stored in the storage unit by the second marking operation is displayed on the display unit. Therefore, it becomes easy for the operator to confirm the information.

本発明によれば、画像処理アルゴリズムを容易に設定することが可能となる光検査装置を提供できる。 According to the present invention, it is possible to provide an optical inspection apparatus capable of easily setting an image processing algorithm.

第1実施形態に係るX線検査装置の外観を示す斜視図である。It is a perspective view which shows the appearance of the X-ray inspection apparatus which concerns on 1st Embodiment. 図1のX線検査装置のシールドボックス内の構成を示す斜視図である。It is a perspective view which shows the structure in the shield box of the X-ray inspection apparatus of FIG. 図1のX線検査装置の機能ブロック図である。It is a functional block diagram of the X-ray inspection apparatus of FIG. 図1のX線検査装置におけるモニタの表示例を示す図である。It is a figure which shows the display example of the monitor in the X-ray inspection apparatus of FIG. 図1のX線検査装置におけるモニタの他の表示例を示す図である。It is a figure which shows the other display example of the monitor in the X-ray inspection apparatus of FIG. 図1のX線検査装置におけるモニタの他の表示例を示す図である。It is a figure which shows the other display example of the monitor in the X-ray inspection apparatus of FIG. 第2実施形態に係るX線検査装置のモニタの表示例を示す図である。It is a figure which shows the display example of the monitor of the X-ray inspection apparatus which concerns on 2nd Embodiment.

以下、本発明の実施形態について、図面を参照して詳細に説明する。なお、各図において同一又は相当部分には同一符号を付し、重複する説明を省略する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In each figure, the same or corresponding parts are designated by the same reference numerals, and duplicate description will be omitted.

[第1実施形態]
図1及び図2に示されるX線検査装置(光検査装置)1は、食品等の物品Gの生産ラインに設置されている。X線検査装置1は、物品GにX線(光)を透過させることで得られたX線透過画像(透過画像)に対して、画像処理アルゴリズムを用いた画像処理を施して処理画像を生成する。X線検査装置1は、生成した処理画像に基づいて、物品Gに含まれる異物の有無を検査する。
[First Embodiment]
The X-ray inspection device (optical inspection device) 1 shown in FIGS. 1 and 2 is installed on a production line for an article G such as food. The X-ray inspection apparatus 1 generates a processed image by performing image processing using an image processing algorithm on an X-ray transmission image (transmission image) obtained by transmitting X-rays (light) through the article G. To do. The X-ray inspection apparatus 1 inspects the presence or absence of foreign matter contained in the article G based on the generated processed image.

物品G及び異物としては、特に限定されず、様々な物品及び異物を検査対象とすることができる。例えば物品Gは、フィルム包装材等のパッケージ内に食品等の内容物が収容された製品であってもよい。例えば物品Gはブロック肉であってもよく、検出すべき異物はSUS(ステンレス鋼)線であってもよい。図1〜図3に示されるように、X線検査装置1は、シールドボックス3と、コンベア5と、X線照射器7と、X線ラインセンサ9と、モニタ11と、制御部20と、を備えている。 The article G and the foreign substance are not particularly limited, and various articles and the foreign substance can be inspected. For example, the article G may be a product in which the contents such as food are contained in a package such as a film packaging material. For example, the article G may be block meat, and the foreign matter to be detected may be SUS (stainless steel) wire. As shown in FIGS. 1 to 3, the X-ray inspection apparatus 1 includes a shield box 3, a conveyor 5, an X-ray irradiator 7, an X-ray line sensor 9, a monitor 11, a control unit 20, and the like. It has.

シールドボックス3は、コンベア5、X線照射器7及びX線ラインセンサ9を収容している。シールドボックス3の両側面には、一対の開口部3aが設けられている。各開口部3aは、例えば鉛を含むゴムからなる遮蔽カーテン(図示省略)によって塞がれている。これにより、各開口部3aを介してシールドボックス3外にX線が漏洩することが抑制されている。 The shield box 3 houses the conveyor 5, the X-ray irradiator 7, and the X-ray line sensor 9. A pair of openings 3a are provided on both side surfaces of the shield box 3. Each opening 3a is closed by, for example, a shielding curtain (not shown) made of rubber containing lead. As a result, X-rays are suppressed from leaking to the outside of the shield box 3 through each opening 3a.

コンベア5は、一対の開口部3a間に掛け渡されるように、シールドボックス3内に配置されている。コンベア5は、コンベアモータ(図示省略)によって無端状のベルト5aを回転させることで、ベルト5a上に載置された物品Gを搬送する。これにより、物品Gは、一方の開口部3aを介してシールドボックス3内に搬入され、他方の開口部3aを介してシールドボックス3外に搬出される。 The conveyor 5 is arranged in the shield box 3 so as to be hung between the pair of openings 3a. The conveyor 5 conveys the article G placed on the belt 5a by rotating the endless belt 5a by a conveyor motor (not shown). As a result, the article G is carried into the shield box 3 through one opening 3a and is carried out of the shield box 3 through the other opening 3a.

X線照射器7は、ベルト5aの上方に位置するように、シールドボックス3内に配置されている。X線照射器7は、ベルト5aの幅方向に沿ってベルト5aを横切るようにX線を照射する。これにより、X線照射器7は、コンベア5によって搬送される物品GにX線を照射する。X線照射器7は、物品Gに光を照射する光照射部を構成する。 The X-ray irradiator 7 is arranged in the shield box 3 so as to be located above the belt 5a. The X-ray irradiator 7 irradiates X-rays so as to cross the belt 5a along the width direction of the belt 5a. As a result, the X-ray irradiator 7 irradiates the article G conveyed by the conveyor 5 with X-rays. The X-ray irradiator 7 constitutes a light irradiation unit that irradiates the article G with light.

X線ラインセンサ9は、ベルト5aの下方に位置するように、シールドボックス3内に配置されている。X線ラインセンサ9は、ベルト5aの幅方向に沿って一列に配置された複数の画素センサ9aを有している。これにより、X線ラインセンサ9は、コンベア5によって搬送される物品Gを透過したX線を検出する。X線ラインセンサ9は、物品Gを透過した光を検出する光検出部を構成する。 The X-ray line sensor 9 is arranged in the shield box 3 so as to be located below the belt 5a. The X-ray line sensor 9 has a plurality of pixel sensors 9a arranged in a row along the width direction of the belt 5a. As a result, the X-ray line sensor 9 detects the X-rays that have passed through the article G conveyed by the conveyor 5. The X-ray line sensor 9 constitutes a photodetection unit that detects light transmitted through the article G.

モニタ11は、処理画像等の各種情報を表示する表示部である。モニタ11は、後述の画像処理部25で生成した複数の不良品処理画像の少なくとも何れかを表示する表示部である。モニタ11は、例えば液晶ディスプレイである。モニタ11上に表示する各種情報は、後述の設定部23により制御される。 The monitor 11 is a display unit that displays various information such as processed images. The monitor 11 is a display unit that displays at least one of a plurality of defective product processed images generated by the image processing unit 25 described later. The monitor 11 is, for example, a liquid crystal display. Various information displayed on the monitor 11 is controlled by the setting unit 23 described later.

モニタ11は、タッチパネル機能を有している。モニタ11は、オペレータによる各種条件の入力等を受け付けるマンマシンインタフェースとして機能する。モニタ11は、オペレータの操作を受け付ける操作部として機能する。モニタ11は、後述の画像処理部25で生成した複数の不良品処理画像の少なくとも何れかに対するマーキング操作を、オペレータから受け付ける。マーキング操作は、画像処理アルゴリズムの絞込みのための操作である。マーキング操作は、有効である可能性が高いと判断した画像処理アルゴリズムを用いて生成された不良品処理画像に対して、目印を付与する(マーキングを行う)。また、モニタ11は、複数の画像処理アルゴリズムの中の何れかに対する確定操作をオペレータから受け付ける。確定操作は、検査時の画像処理に用いる検査用画像処理アルゴリズムとして確定させる選択操作である。モニタ11は、オペレータから受け付けた操作に関する情報を制御部20へ出力する。 The monitor 11 has a touch panel function. The monitor 11 functions as a man-machine interface that receives input of various conditions by the operator. The monitor 11 functions as an operation unit that accepts the operation of the operator. The monitor 11 receives from the operator a marking operation for at least one of a plurality of defective product processed images generated by the image processing unit 25 described later. The marking operation is an operation for narrowing down the image processing algorithm. In the marking operation, a mark is added (marked) to the defective product processed image generated by using the image processing algorithm determined to be effective. Further, the monitor 11 receives a confirmation operation for any one of the plurality of image processing algorithms from the operator. The confirmation operation is a selection operation for confirming as an inspection image processing algorithm used for image processing at the time of inspection. The monitor 11 outputs information about the operation received from the operator to the control unit 20.

制御部20は、例えばコンピュータである。制御部20は、プロセッサであるCPU(Central Processing Unit)、記録媒体であるRAM(RandomAccess Memory)、及びROM(Read Only Memory)等を含んで構成される。制御部20は、CPU及びRAM等のハードウェア上にプログラム等を読み込ませることにより動作する。制御部20は、図3に示されるように、記憶部21、設定部23、及び画像処理部25を有している。記憶部21、設定部23、及び画像処理部25は、制御部20において機能ブロックとして構成される。 The control unit 20 is, for example, a computer. The control unit 20 includes a CPU (Central Processing Unit) which is a processor, a RAM (RandomAccess Memory) which is a recording medium, a ROM (Read Only Memory), and the like. The control unit 20 operates by loading a program or the like on hardware such as a CPU and RAM. As shown in FIG. 3, the control unit 20 includes a storage unit 21, a setting unit 23, and an image processing unit 25. The storage unit 21, the setting unit 23, and the image processing unit 25 are configured as functional blocks in the control unit 20.

記憶部21は、複数の画像処理アルゴリズムを予め記憶する。画像処理アルゴリズムとは、X線透過画像に施す画像処理の処理手順を示す型である。画像処理アルゴリズムは、例えば、1つの画像処理フィルタ、又は、複数の画像処理フィルタの組み合わせによって構成される。 The storage unit 21 stores a plurality of image processing algorithms in advance. The image processing algorithm is a type indicating a processing procedure of image processing applied to an X-ray transmission image. The image processing algorithm is composed of, for example, one image processing filter or a combination of a plurality of image processing filters.

記憶部21に記憶する複数の画像処理アルゴリズムは、インターネット等のネットワークを介して外部から取得することができる。記憶部21に記憶する複数の画像処理アルゴリズムは、USBメモリ又はリムーバブルハードディスク等の外部記憶媒体から取得することができる。記憶部21に記憶する複数の画像処理アルゴリズムは、生物界における遺伝及び進化のメカニズムを応用した手法である遺伝的アルゴリズム(GA=Genetic Algorithms)を採用して、X線検査装置1の仕様又は検査条件等に基づき複数の画像処理フィルタから自動生成することができる。なお、記憶部21に予め記憶する複数の画像処理アルゴリズムは、遺伝的アルゴリズムを採用して生成されたアルゴリズム以外に、複数の画像処理フィルタを人手で適宜組み合わせたアルゴリズム等でもよい。 The plurality of image processing algorithms stored in the storage unit 21 can be acquired from the outside via a network such as the Internet. The plurality of image processing algorithms stored in the storage unit 21 can be acquired from an external storage medium such as a USB memory or a removable hard disk. The plurality of image processing algorithms stored in the storage unit 21 employ genetic algorithms (GA = Genetic Algorithms), which are methods that apply the mechanisms of inheritance and evolution in the biological world, to specify or inspect the X-ray inspection apparatus 1. It can be automatically generated from a plurality of image processing filters based on conditions and the like. The plurality of image processing algorithms stored in the storage unit 21 in advance may be an algorithm in which a plurality of image processing filters are manually combined as appropriate, in addition to the algorithm generated by adopting the genetic algorithm.

本実施形態では、取得又は自動生成した複数の画像処理アルゴリズムのうちの一部は、種々の選出手法を用いて選出部(不図示)により自動的に選出される。記憶部21は、選出した複数の画像処理アルゴリズムを、記憶部21に記憶する。つまり、本実施形態においては、取得又は自動生成された複数(例えば200以上)の画像処理アルゴリズムから選出した一部(例えば5〜10程度)の画像処理アルゴリズムを、記憶部21に予め記憶された複数の画像処理アルゴリズムとすることができる。 In the present embodiment, a part of the plurality of image processing algorithms acquired or automatically generated is automatically selected by the selection unit (not shown) using various selection methods. The storage unit 21 stores a plurality of selected image processing algorithms in the storage unit 21. That is, in the present embodiment, a part (for example, about 5 to 10) of image processing algorithms selected from a plurality of (for example, 200 or more) image processing algorithms acquired or automatically generated is stored in advance in the storage unit 21. It can be a plurality of image processing algorithms.

記憶部21に記憶された複数の画像処理アルゴリズムには、それぞれを識別するための固有の番号が付与されている。なお、一部の画像処理アルゴリズムを選出部により選出しない場合もあり、この場合には、取得又は自動生成された複数の画像処理アルゴリズムを、記憶部21に予め記憶された複数の画像処理アルゴリズムとすることができる。 A unique number for identifying each of the plurality of image processing algorithms stored in the storage unit 21 is assigned. In some cases, some image processing algorithms may not be selected by the selection unit. In this case, a plurality of acquired or automatically generated image processing algorithms may be combined with a plurality of image processing algorithms stored in advance in the storage unit 21. can do.

設定部23は、記憶部21に記憶された複数の画像処理アルゴリズムのうちオペレータによって選択された少なくとも1つを、検査時の画像処理に用いる検査用画像処理アルゴリズムに設定(確定)する。具体的には、設定部23は、オペレータによるマーキング操作により、記憶部21に記憶された複数の画像処理アルゴリズムを絞り込み、記憶部21に記憶させると共にモニタ11に表示させる。そして、設定部23は、オペレータによる確定操作により、マーキング操作によって絞り込まれた画像処理アルゴリズムのうちの何れかを、検査用画像処理アルゴリズムに設定する(詳しくは後述)。 The setting unit 23 sets (determines) at least one of the plurality of image processing algorithms stored in the storage unit 21 selected by the operator as the inspection image processing algorithm used for image processing at the time of inspection. Specifically, the setting unit 23 narrows down a plurality of image processing algorithms stored in the storage unit 21 by a marking operation by the operator, stores them in the storage unit 21, and displays them on the monitor 11. Then, the setting unit 23 sets any one of the image processing algorithms narrowed down by the marking operation as the inspection image processing algorithm by the confirmation operation by the operator (details will be described later).

設定部23は、複数種(例えば200〜300種)の物品Gそれぞれについて、複数の検査用画像処理アルゴリズムを複数の感度レベルに分けて設定する。例えば設定部23は、物品Gが「ハム」の場合の検査時における画像処理に用いる検査用画像処理アルゴリズムを、感度レベル1〜7毎に設定することができる。また、設定部23は、モニタ11上に表示する各種情報を制御する。 The setting unit 23 sets a plurality of inspection image processing algorithms for each of a plurality of types (for example, 200 to 300 types) of articles G by dividing them into a plurality of sensitivity levels. For example, the setting unit 23 can set an inspection image processing algorithm used for image processing at the time of inspection when the article G is “hum” for each sensitivity level 1 to 7. Further, the setting unit 23 controls various information displayed on the monitor 11.

画像処理部25は、X線ラインセンサ9から出力された信号に基づいて、物品GのX線透過画像を生成する。画像処理部25は、物品Gの検査時において、設定部23で設定した検査用画像処理アルゴリズムを用いた画像処理をX線透過画像に施して、多階調で表現された濃淡画像である処理画像を生成する。画像処理部25は、生成した当該処理画像をモニタ11に表示させる。 The image processing unit 25 generates an X-ray transmission image of the article G based on the signal output from the X-ray line sensor 9. At the time of inspection of the article G, the image processing unit 25 applies image processing using the inspection image processing algorithm set by the setting unit 23 to the X-ray transmission image to obtain a grayscale image expressed in multiple gradations. Generate an image. The image processing unit 25 causes the monitor 11 to display the generated processed image.

また、画像処理部25は、オペレータによる画像処理アルゴリズムの絞込み時において、不良品透過画像に対して記憶部21に記憶された一の画像処理アルゴリズムを用いた画像処理を施して不良品処理画像を生成する処理を、記憶部21に記憶された複数の画像処理アルゴリズムについて行う。不良品透過画像は、不良品の物品G(つまり、異物を含む物品G)にX線を透過させることにより得られたX線透過画像である。不良品透過画像は、不良品の物品GにX線照射器7からX線を照射し、不良品の物品Gを透過したX線をX線ラインセンサ9で検出した場合において、当該X線ラインセンサ9から出力された信号に基づき生成される。不良品処理画像は、不良品透過画像に画像処理が施されて成る処理画像である。 Further, when the operator narrows down the image processing algorithm, the image processing unit 25 performs image processing using one image processing algorithm stored in the storage unit 21 on the defective product transparent image to obtain the defective product processed image. The process of generating is performed for a plurality of image processing algorithms stored in the storage unit 21. The defective product transmission image is an X-ray transmission image obtained by transmitting X-rays through the defective product article G (that is, the article G containing a foreign substance). The defective product transmission image is obtained when the defective product G is irradiated with X-rays from the X-ray irradiator 7 and the X-rays transmitted through the defective product G are detected by the X-ray line sensor 9. It is generated based on the signal output from the sensor 9. The defective product processed image is a processed image formed by performing image processing on the defective product transparent image.

以上に説明したX線検査装置1を用いて物品Gを検査する場合、まず、X線照射器7から物品Gに対してX線を照射し、物品Gを透過したX線をX線ラインセンサ9で検出する。X線ラインセンサ9から出力された信号に基づいて、画像処理部25によりX線透過画像を生成する。画像処理部25により、設定部23で設定した検査用画像処理アルゴリズムを用いた画像処理をX線透過画像に施して処理画像を生成し、当該処理画像をモニタ11に表示させる。これにより、オペレータは、モニタ11に表示させた処理画像をチェックすることで、物品Gに含まれる異物の有無を検査する。 When inspecting the article G using the X-ray inspection device 1 described above, first, the article G is irradiated with X-rays from the X-ray irradiator 7, and the X-rays transmitted through the article G are detected by the X-ray line sensor. Detect with 9. Based on the signal output from the X-ray line sensor 9, the image processing unit 25 generates an X-ray transmission image. The image processing unit 25 applies image processing using the inspection image processing algorithm set by the setting unit 23 to the X-ray transmission image to generate a processed image, and displays the processed image on the monitor 11. As a result, the operator inspects the presence or absence of foreign matter contained in the article G by checking the processed image displayed on the monitor 11.

次に、X線検査装置1において検査用画像処理アルゴリズムを設定する際に、オペレータが画像処理アルゴリズムの絞込み(マーキング操作)を行う場面を説明する。ここでは、感度レベル5に検査用画像処理アルゴリズムを設定する場合の一例を説明する。 Next, a scene in which the operator narrows down the image processing algorithm (marking operation) when setting the inspection image processing algorithm in the X-ray inspection apparatus 1 will be described. Here, an example of setting the inspection image processing algorithm to the sensitivity level 5 will be described.

設定部23によりモニタ11が制御され、モニタ11上には、図4に示される画面が表示されている。具体的には、モニタ11上の表示画面11aにおいて図示右上側の表示領域12には、「現在表示されている画像処理アルゴリズム番号」(以下、「現在の画像処理アルゴリズム番号」ともいう)を示す番号欄12aが表示されている。番号欄12aには、例えば、現在の画像処理アルゴリズム番号が6番であることを示す「6」が表示されている。表示画面11aにおいて図示左側に設けられた表示領域13には、現在の画像処理アルゴリズム番号に対応する不良品処理画像13aが表示されている。 The monitor 11 is controlled by the setting unit 23, and the screen shown in FIG. 4 is displayed on the monitor 11. Specifically, on the display screen 11a on the monitor 11, the display area 12 on the upper right side of the drawing indicates the "currently displayed image processing algorithm number" (hereinafter, also referred to as "current image processing algorithm number"). The number column 12a is displayed. In the number column 12a, for example, "6" indicating that the current image processing algorithm number is No. 6 is displayed. In the display area 13 provided on the left side of the display screen 11a, the defective product processing image 13a corresponding to the current image processing algorithm number is displayed.

図示する不良品処理画像13aは、異物P,Q,R,Sを含む物品GTESTにX線を透過させることにより得られた不良品透過画像に対して、現在の画像処理アルゴリズム番号(ここでは6番)の画像処理アルゴリズムを用いた画像処理が画像処理部25によって施されて生成された処理画像である。異物P,Q,R,Sは、互いに異なる種類の異物である。物品GTESTには、大きさが互いに異なる複数の異物Pと、大きさが互いに異なる複数の異物Qと、大きさが互いに異なる複数の異物Rと、大きさが互いに異なる複数の異物Sとが、それぞれ一列に並ぶように含まれている。異物P,Q,R,Sは、不良品処理画像13aに施された画像処理アルゴリズムに応じて、不良品処理画像13a上で認識可能か否かが変化する。図4の例では、不良品処理画像13a上で認識可能な異物P,Qは、塗りつぶされた円で示されており、不良品処理画像13a上で認識不可能な異物R,Sは、破線の円で示されている。 The illustrated defective product processing image 13a is a current image processing algorithm number (here, here) with respect to the defective product transmission image obtained by transmitting X-rays through the article G TEST containing foreign substances P, Q, R, S. This is a processed image generated by performing image processing using the image processing algorithm of No. 6) by the image processing unit 25. The foreign substances P, Q, R, and S are different types of foreign substances. In the article G TEST , a plurality of foreign substances P having different sizes, a plurality of foreign substances Q having different sizes, a plurality of foreign substances R having different sizes, and a plurality of foreign substances S having different sizes are included. , Each included in a row. Whether or not the foreign matter P, Q, R, S can be recognized on the defective product processed image 13a changes according to the image processing algorithm applied to the defective product processed image 13a. In the example of FIG. 4, the foreign substances P and Q that can be recognized on the defective product processed image 13a are indicated by filled circles, and the foreign substances R and S that cannot be recognized on the defective product processed image 13a are broken lines. It is indicated by a circle.

表示領域12には、現在の画像処理アルゴリズム番号を切り換えるための操作ボタン12b,12cが表示されている。例えば、現在の画像処理アルゴリズム番号は、オペレータが操作ボタン12bにタッチすることで増加し、オペレータが操作ボタン12cにタッチすることで減少する。例えば、オペレータが操作ボタン12b,12cにタッチすることで現在の画像処理アルゴリズム番号が増加又は減少されると、増加後又は減少後の番号の画像処理アルゴリズムを用いた画像処理が施されて生成された不良品処理画像13aが、表示領域13に表示される。 In the display area 12, operation buttons 12b and 12c for switching the current image processing algorithm number are displayed. For example, the current image processing algorithm number increases when the operator touches the operation button 12b, and decreases when the operator touches the operation button 12c. For example, when the operator touches the operation buttons 12b and 12c to increase or decrease the current image processing algorithm number, image processing using the image processing algorithm of the increased or decreased number is performed and generated. The defective product processed image 13a is displayed in the display area 13.

このように、モニタ11は、表示領域13に表示される不良品処理画像13aをオペレータによる簡単な操作で容易に切換可能である。オペレータは、画像処理アルゴリズムを用いて生成された不良品処理画像13aにおける異物P,Qの存在が認識可能か否かに基づいて、当該画像処理アルゴリズムが有効か否かを判断できる。図示する例では、6番の画像処理アルゴリズムを用いた画像処理が施されて成る不良品処理画像13aについて、の異物P,Qの全てが認識可能となっている。これにより、オペレータは、6番の画像処理アルゴリズムが有効である可能性が高いと判断できる。 In this way, the monitor 11 can easily switch the defective product processing image 13a displayed in the display area 13 by a simple operation by the operator. The operator can determine whether or not the image processing algorithm is effective based on whether or not the presence of foreign substances P and Q in the defective product processed image 13a generated by using the image processing algorithm can be recognized. In the illustrated example, all of the foreign substances P and Q of the defective product processed image 13a formed by performing image processing using the image processing algorithm No. 6 can be recognized. From this, the operator can determine that the image processing algorithm No. 6 is likely to be effective.

そこで、オペレータは、6番の画像処理アルゴリズムを用いて生成された不良品処理画像13aに対するマーキング操作を実施する。すなわち、モニタ11上には、表示画面11aの図示右下側の表示領域14において、複数のストックボタン14aと、各ストックボタン14aの図示右側に隣接する番号欄14bと、各番号欄14bの図示右側に隣接する実行ボタン14cと、が表示されている。モニタ11は、ストックボタン14aの何れかをタッチするマーキング操作をオペレータから受け付ける。 Therefore, the operator performs a marking operation on the defective product processed image 13a generated by using the image processing algorithm No. 6. That is, on the monitor 11, in the display area 14 on the lower right side of the display screen 11a, a plurality of stock buttons 14a, a number field 14b adjacent to the right side of each stock button 14a, and each number field 14b are shown. The execution button 14c adjacent to the right side is displayed. The monitor 11 receives a marking operation from the operator by touching any of the stock buttons 14a.

設定部23は、モニタ11がマーキング操作を受け付けた場合、当該マーキング操作の対象となった不良品処理画像13aの画像処理に用いた画像処理アルゴリズムに関する情報を、記憶部21に記憶させると共にモニタ11に表示させる。ここでは、設定部23は、ストックボタン14aの何れかをタッチするマーキング操作をモニタ11で受け付けた場合、現在の画像処理アルゴリズム番号である「6番」を記憶部21に記憶させる。これと共に、設定部23は、オペレータがタッチしたストックボタン14aの図示右側に隣接する番号欄14bに、現在の画像処理アルゴリズム番号である「6番」を表示させる。また、設定部23は、オペレータがタッチしたストックボタン14aにチェック印を表示させる。 When the monitor 11 accepts the marking operation, the setting unit 23 stores the information regarding the image processing algorithm used for the image processing of the defective product processed image 13a, which is the target of the marking operation, in the storage unit 21 and the monitor 11 To display. Here, when the monitor 11 receives the marking operation of touching any of the stock buttons 14a, the setting unit 23 stores the current image processing algorithm number “6” in the storage unit 21. At the same time, the setting unit 23 displays the current image processing algorithm number “No. 6” in the number field 14b adjacent to the right side of the illustration of the stock button 14a touched by the operator. Further, the setting unit 23 displays a check mark on the stock button 14a touched by the operator.

オペレータは、有効である可能性が高いと判断した画像処理アルゴリズムが複数存在する場合、これら複数の画像処理アルゴリズム毎に、異なるストックボタン14aをタッチする。これにより、これら画像処理アルゴリズムを用いて生成された不良品処理画像13aそれぞれに対してマーキング操作を実施することができる。図4の例では、オペレータは、6番のほか、2番、10番、及び93番の画像処理アルゴリズムが有効である可能性が高いと判断し、2番、6番、10番、及び93番の画像処理アルゴリズムを用いて生成された不良品処理画像13aに対してマーキング操作を実施している。よって、設定部23は、2番、6番、10番及び93番の番号を記憶部21に記憶させると共に、2番、6番、10番及び93番の番号を番号欄14bに表示させている。 When there are a plurality of image processing algorithms determined to be effective, the operator touches a different stock button 14a for each of the plurality of image processing algorithms. Thereby, the marking operation can be performed on each of the defective product processed images 13a generated by using these image processing algorithms. In the example of FIG. 4, the operator determines that the image processing algorithms of No. 2, No. 10, and No. 93 are likely to be effective in addition to No. 6, No. 2, No. 6, No. 10, and No. 93. A marking operation is performed on the defective product processed image 13a generated by using the image processing algorithm of No. 1. Therefore, the setting unit 23 stores the numbers 2, 6, 10, and 93 in the storage unit 21 and displays the numbers 2, 6, 10, and 93 in the number column 14b. There is.

また、マーキング操作によって画像処理アルゴリズムが記憶部21に記憶(ストック)されている場合、当該記憶された画像処理アルゴリズムを用いて生成された不良品処理画像13aが、オペレータによる簡単な操作によってモニタ11に再表示される。具体的には、モニタ11に表示されている実行ボタン14cがオペレータによりタッチされると、当該実行ボタン14cの図示左側に隣接する番号欄14bに表示された番号の画像処理アルゴリズムを用いて生成された不良品処理画像13aが表示領域13に再表示される。例えば図5に示されるように、オペレータが「93」が表示された番号欄14bの図示右側に隣接する実行ボタン14cをタッチした場合、93番の画像処理アルゴリズムを用いて生成された不良品処理画像13dが、表示領域13に再表示される。これにより、マーキング操作の対象となった複数の不良品処理画像を容易に比較することができる。なお、図4及び図5の例では、オペレータは、異物P,Qの存在が認識可能な程度に基づいて、93番よりも6番の画像処理アルゴリズムのほうが有効であると判断できる。 When the image processing algorithm is stored (stocked) in the storage unit 21 by the marking operation, the defective product processed image 13a generated by using the stored image processing algorithm is monitored by a simple operation by the operator. Is redisplayed in. Specifically, when the execution button 14c displayed on the monitor 11 is touched by the operator, it is generated by using the image processing algorithm of the number displayed in the number field 14b adjacent to the left side of the figure of the execution button 14c. The defective product processed image 13a is redisplayed in the display area 13. For example, as shown in FIG. 5, when the operator touches the execution button 14c adjacent to the right side of the number field 14b in which "93" is displayed, the defective product processing generated by using the image processing algorithm No. 93 is performed. The image 13d is redisplayed in the display area 13. This makes it possible to easily compare a plurality of defective product processed images that are the targets of the marking operation. In the examples of FIGS. 4 and 5, the operator can determine that the image processing algorithm No. 6 is more effective than the image processing algorithm No. 93 based on the degree to which the presence of foreign substances P and Q can be recognized.

また、表示領域12には、確定ボタン12dが表示されている。確定ボタン12dは、現在の画像処理アルゴリズム番号で示される画像処理アルゴリズムを、当該感度レベルの検査用画像処理アルゴリズムに設定(確定)するための操作ボタンである。オペレータは、現在の画像処理アルゴリズム番号で示される画像処理アルゴリズムが最も有効であると判断した場合、確定ボタン12dをタッチすることにより、この画像処理アルゴリズムを当該感度レベルの検査用画像処理アルゴリズムに設定することができる。例えば図4に示される例では、オペレータにより確定ボタン12dがタッチされた結果、感度レベル5の検査用画像処理アルゴリズムとして6番の画像処理アルゴリズムが設定され、確定ボタン12dの図示下側に位置する番号欄12eには、現在確定されている画像処理アルゴリズム番号として「6」が表示されている。 Further, the confirmation button 12d is displayed in the display area 12. The confirmation button 12d is an operation button for setting (confirming) the image processing algorithm indicated by the current image processing algorithm number as the inspection image processing algorithm of the sensitivity level. When the operator determines that the image processing algorithm indicated by the current image processing algorithm number is the most effective, the operator sets this image processing algorithm as the inspection image processing algorithm of the sensitivity level by touching the confirmation button 12d. can do. For example, in the example shown in FIG. 4, as a result of the confirmation button 12d being touched by the operator, the sixth image processing algorithm is set as the inspection image processing algorithm of the sensitivity level 5, and is located on the lower side of the drawing of the confirmation button 12d. In the number column 12e, "6" is displayed as the currently confirmed image processing algorithm number.

以上、X線検査装置1では、マーキング操作により、有効である可能性が高いとオペレータが判断した画像処理アルゴリズムに関する情報を、記憶部21に記憶(ストック)させることができる。そのため、複数の画像処理アルゴリズムの絞込みを行う際、オペレータは、有効な画像処理アルゴリズムの名称又は番号についてメモしたり頭に記憶したりする必要がない。よって、検査用画像処理アルゴリズムの設定の際、オペレータは、複数の画像処理アルゴリズムを容易に絞り込み、絞り込んだ画像処理アルゴリズムの中から検査用画像処理アルゴリズムを選択することができる。すなわち、画像処理アルゴリズムを容易に設定することが可能となる。 As described above, in the X-ray inspection apparatus 1, the information regarding the image processing algorithm determined by the operator to be highly likely to be effective can be stored (stocked) in the storage unit 21 by the marking operation. Therefore, when narrowing down a plurality of image processing algorithms, the operator does not need to make a note or remember the name or number of a valid image processing algorithm. Therefore, when setting the inspection image processing algorithm, the operator can easily narrow down a plurality of image processing algorithms and select the inspection image processing algorithm from the narrowed down image processing algorithms. That is, the image processing algorithm can be easily set.

X線検査装置1では、設定部23は、モニタ11がマーキング操作を受け付けた場合、当該マーキング操作の対象となった不良品処理画像の画像処理に用いた画像処理アルゴリズムに関する情報をモニタ11に表示させる。これにより、マーキング操作によって記憶部21にストックした画像処理アルゴリズムに関する情報がモニタ11に表示されるため、オペレータが当該情報を確認し易くなる。 In the X-ray inspection device 1, when the monitor 11 accepts the marking operation, the setting unit 23 displays on the monitor 11 information on the image processing algorithm used for image processing of the defective product processed image that is the target of the marking operation. Let me. As a result, information on the image processing algorithm stocked in the storage unit 21 by the marking operation is displayed on the monitor 11, so that the operator can easily confirm the information.

なお、X線検査装置1では、モニタ11上に「マーキング」というボタン(キー)のみを表示させ、このボタンをタッチするマーキング操作がオペレータにより行われた場合に、マーキング操作でストックされた画像処理アルゴリズムの番号リストをモニタ11に表示させてもよい。 In the X-ray inspection device 1, only a button (key) called "marking" is displayed on the monitor 11, and when the marking operation of touching this button is performed by the operator, the image processing stocked by the marking operation is performed. The algorithm number list may be displayed on the monitor 11.

ちなみに、モニタ11における不良品処理画像13aの図示下側には、処理画像ボタン13b及び透過画像ボタン13cが表示されている。オペレータは、処理画像ボタン13b及び透過画像ボタン13cの何れかをタッチすることで、表示領域13に表示させる画像を、不良品処理画像13a及び不良品透過画像13Xの何れかに切り換えることができる。図4及び図5の例では、処理画像ボタン13bがタッチされた状態となっている。この状態では、表示領域13には不良品処理画像13aが表示されている。一方、例えば図6に示されるように、オペレータが透過画像ボタン13cをタッチすることで、表示領域13に不良品透過画像13Xを表示させることができる。 Incidentally, the processed image button 13b and the transparent image button 13c are displayed on the lower side of the display of the defective product processed image 13a on the monitor 11. By touching either the processed image button 13b or the transparent image button 13c, the operator can switch the image to be displayed in the display area 13 to either the defective processed image 13a or the defective transparent image 13X. In the examples of FIGS. 4 and 5, the processed image button 13b is touched. In this state, the defective product processed image 13a is displayed in the display area 13. On the other hand, as shown in FIG. 6, for example, when the operator touches the transparent image button 13c, the defective transparent image 13X can be displayed in the display area 13.

[第2実施形態]
次に、第2実施形態に係るX線検査装置について説明する。第2実施形態の説明では、上記第1実施形態と異なる点について説明する。
[Second Embodiment]
Next, the X-ray inspection apparatus according to the second embodiment will be described. In the description of the second embodiment, the points different from the first embodiment will be described.

図7は、第2実施形態に係るX線検査装置のモニタ11Rの表示例を示す図である。図7に示されるように、本実施形態では、設定部23によりモニタ11Rが制御され、番号欄12fと操作ボタン12g,12hとがモニタ11R上の表示領域12に表示されていると共に、番号欄14dとランキング入力ボタン14eとサムネイル部14fとがモニタ11R上の表示領域14に表示されている。図7の例では、表示領域14は、4つの表示領域14J,14K,14L,14Mを含む。表示領域14J,14K,14L,14Mのそれぞれには、ストックボタン14a、番号欄14b、実行ボタン14c、番号欄14d、ランキング入力ボタン14e、及びサムネイル部14fが表示されている。 FIG. 7 is a diagram showing a display example of the monitor 11R of the X-ray inspection apparatus according to the second embodiment. As shown in FIG. 7, in the present embodiment, the monitor 11R is controlled by the setting unit 23, and the number fields 12f and the operation buttons 12g and 12h are displayed in the display area 12 on the monitor 11R, and the number fields are displayed. The 14d, the ranking input button 14e, and the thumbnail unit 14f are displayed in the display area 14 on the monitor 11R. In the example of FIG. 7, the display area 14 includes four display areas 14J, 14K, 14L, 14M. A stock button 14a, a number field 14b, an execution button 14c, a number field 14d, a ranking input button 14e, and a thumbnail unit 14f are displayed in each of the display areas 14J, 14K, 14L, and 14M.

番号欄12fは、マーキング操作によりストックする画像処理アルゴリズムについて、何れの感度レベルの検査用画像処理アルゴリズムを対象としているかを示す表示である。操作ボタン12g,12hは、番号欄12fに示される感度レベル(以下、「ストック先レベル」という)をオペレータが選択するための操作ボタンである。番号欄12fに表示される感度レベルは、オペレータが操作ボタン12gにタッチすることで増加し、オペレータが操作ボタン12hにタッチすることで減少する。オペレータが操作ボタン12g,12hを操作してストック先レベルを選択すると、設定部23は、選択されたストック先レベルを番号欄12fに表示させる。 The number column 12f is a display indicating which sensitivity level of the image processing algorithm for inspection is targeted for the image processing algorithm stocked by the marking operation. The operation buttons 12g and 12h are operation buttons for the operator to select the sensitivity level (hereinafter, referred to as “stock destination level”) shown in the number column 12f. The sensitivity level displayed in the number column 12f is increased when the operator touches the operation button 12g, and decreases when the operator touches the operation button 12h. When the operator operates the operation buttons 12g and 12h to select the stock destination level, the setting unit 23 displays the selected stock destination level in the number column 12f.

番号欄14dは、マーキング操作によりストックされた画像処理アルゴリズムについて、何れの感度レベルの検査用画像処理アルゴリズムを対象としているかを示す表示である。オペレータが操作ボタン12g,12hを操作してストック先レベルを選択した状態でマーキング操作を行うと、設定部23は、選択されていた当該ストック先レベルを番号欄14dに表示させる。 The number column 14d is a display indicating which sensitivity level of the image processing algorithm for inspection is targeted for the image processing algorithm stocked by the marking operation. When the operator operates the operation buttons 12g and 12h to select the stock destination level and performs the marking operation, the setting unit 23 displays the selected stock destination level in the number column 14d.

ランキング入力ボタン14eは、マーキング操作の対象となった不良品処理画像に対して優先度を付与するランキング操作を受け付ける操作ボタンである。このランキング入力ボタン14eにより、モニタ11Rは、ランキング操作をオペレータから受け付ける。ランキング入力ボタン14eは、マーキング操作の対象となった不良品処理画像に対して、優先度を段階的に付与可能である。ランキング入力ボタン14eは、ランキング操作により付与された優先度を、表示態様の変化により提示する。 The ranking input button 14e is an operation button that accepts a ranking operation that gives priority to the defective product processed image that is the target of the marking operation. By the ranking input button 14e, the monitor 11R receives the ranking operation from the operator. The ranking input button 14e can give priority to the defective product processed image that is the target of the marking operation in stages. The ranking input button 14e presents the priority given by the ranking operation by changing the display mode.

サムネイル部14fは、マーキング操作の対象となった不良品処理画像を表示する。サムネイル部14fは、番号欄14b及び番号欄14dの図示左側において、不良品処理画像を縮小して表示する表示領域である。サムネイル部14fに表示する不良品処理画像の大きさは、不良品処理画像13aの大きさよりも小さい。図7の例では、表示領域14Jにおけるサムネイル部14fには、6番の画像処理アルゴリズムを用いた画像処理により生成された不良品処理画像が表示されている。表示領域14Kにおけるサムネイル部14fには、15番の画像処理アルゴリズムを用いた画像処理により生成された不良品処理画像が表示されている。表示領域14Lにおけるサムネイル部14fには、10番の画像処理アルゴリズムを用いた画像処理により生成された不良品処理画像が表示されている。表示領域14Mにおけるサムネイル部14fには、2番の画像処理アルゴリズムを用いた画像処理により生成された不良品処理画像が表示されている。すなわち、設定部23は、マーキング操作の対象となった複数の不良品処理画像を、モニタ11Rのサムネイル部14fのそれぞれに並べて表示させる。 The thumbnail unit 14f displays a defective product processed image that is the target of the marking operation. The thumbnail unit 14f is a display area on the left side of the number column 14b and the number column 14d where the defective product processed image is reduced and displayed. The size of the defective product processed image displayed on the thumbnail unit 14f is smaller than the size of the defective product processed image 13a. In the example of FIG. 7, the defective product processed image generated by the image processing using the image processing algorithm No. 6 is displayed in the thumbnail unit 14f in the display area 14J. In the thumbnail unit 14f in the display area 14K, a defective product processed image generated by image processing using the 15th image processing algorithm is displayed. In the thumbnail unit 14f in the display area 14L, a defective product processed image generated by image processing using the image processing algorithm No. 10 is displayed. In the thumbnail unit 14f in the display area 14M, a defective product processed image generated by image processing using the second image processing algorithm is displayed. That is, the setting unit 23 displays a plurality of defective product processed images targeted for the marking operation side by side on each of the thumbnail units 14f of the monitor 11R.

ここで、本実施形態の設定部23は、複数の感度レベルにおける検査用画像処理アルゴリズムを設定する場合、マーキング操作でストックする画像処理アルゴリズムに関する情報を、複数の感度レベルの何れかに関連付けて記憶部21に記憶及びモニタ11Rに表示する。以下、感度レベル5,6に検査用画像処理アルゴリズムを設定する場合を例にして具体的に説明する。 Here, when the setting unit 23 of the present embodiment sets the image processing algorithm for inspection at a plurality of sensitivity levels, the information regarding the image processing algorithm stocked by the marking operation is stored in association with any one of the plurality of sensitivity levels. It is stored in the unit 21 and displayed on the monitor 11R. Hereinafter, the case where the inspection image processing algorithm is set to the sensitivity levels 5 and 6 will be specifically described as an example.

モニタ11Rは、複数の不良品処理画像13aの少なくとも何れかに対するマーキング操作であって感度レベル5の検査用画像処理アルゴリズムに関するマーキング操作である第1マーキング操作を、オペレータから受け付ける。また、モニタ11Rは、複数の不良品処理画像13aの少なくとも何れかに対するマーキング操作であって感度レベル6の検査用画像処理アルゴリズムに関するマーキング操作である第2マーキング操作を、オペレータから受け付ける。 The monitor 11R receives from the operator a first marking operation, which is a marking operation for at least one of the plurality of defective product processed images 13a and is a marking operation related to the inspection image processing algorithm of the sensitivity level 5. Further, the monitor 11R receives from the operator a second marking operation, which is a marking operation for at least one of the plurality of defective product processed images 13a and is a marking operation related to the inspection image processing algorithm of the sensitivity level 6.

第1マーキング操作は、感度レベル5の検査用画像処理アルゴリズム(以下、「第1検査用画像処理アルゴリズム」ともいう)として有効である可能性が高いと判断した画像処理アルゴリズムをマーキングするマーキング操作である。例えばモニタ11Rは、番号欄12fに表示された感度レベルを「5」とした状態においてオペレータがストックボタン14aの何れかをタッチする第1マーキング操作を、オペレータから受け付ける。第2マーキング操作は、感度レベル6の検査用画像処理アルゴリズム(以下、「第2検査用画像処理アルゴリズム」ともいう)として有効である可能性が高いと判断した画像処理アルゴリズムをマーキングするマーキング操作である。例えばモニタ11Rは、番号欄12fに表示された感度レベルを「6」とした状態においてオペレータがストックボタン14aの何れかをタッチする第2マーキング操作を、オペレータから受け付ける。 The first marking operation is a marking operation for marking an image processing algorithm determined to be highly likely to be effective as an inspection image processing algorithm having a sensitivity level of 5 (hereinafter, also referred to as “first inspection image processing algorithm”). is there. For example, the monitor 11R receives from the operator a first marking operation in which the operator touches any of the stock buttons 14a in a state where the sensitivity level displayed in the number field 12f is set to "5". The second marking operation is a marking operation for marking an image processing algorithm determined to be highly likely to be effective as an inspection image processing algorithm having a sensitivity level of 6 (hereinafter, also referred to as “second inspection image processing algorithm”). is there. For example, the monitor 11R receives from the operator a second marking operation in which the operator touches any of the stock buttons 14a in a state where the sensitivity level displayed in the number field 12f is set to "6".

設定部23は、モニタ11Rが第1マーキング操作を受け付けた場合、当該第1マーキング操作の対象となった不良品処理画像13aの画像処理に用いた画像処理アルゴリズムに関する情報を、第1検査用画像処理アルゴリズムに関する情報として、記憶部21に記憶させると共にモニタ11Rに表示させる。図7の例において、表示領域14Jのサムネイル部14fの不良品処理画像では、6番の画像処理アルゴリズムを用いた画像処理により、異物P,Qにおける全ての異物の存在が認識可能となっている。そこで、オペレータは、6番の画像処理アルゴリズムが第1検査用画像処理アルゴリズムとして有効である可能性が高いと判断し、モニタ11Rにおいて第1マーキング操作を実施する。この例では、第1検査用画像処理アルゴリズムに関する情報は、画像処理アルゴリズムの番号「6」と、感度レベル「5」とを含む。感度レベル「5」は、当該第1マーキング操作の対象となった不良品処理画像が表示される表示領域14Jにおける番号欄14dに表示される。 When the monitor 11R accepts the first marking operation, the setting unit 23 provides information on the image processing algorithm used for image processing of the defective product processed image 13a, which is the target of the first marking operation, as an image for the first inspection. Information about the processing algorithm is stored in the storage unit 21 and displayed on the monitor 11R. In the example of FIG. 7, in the defective product processed image of the thumbnail portion 14f of the display area 14J, the presence of all foreign substances in the foreign substances P and Q can be recognized by the image processing using the image processing algorithm No. 6. .. Therefore, the operator determines that the image processing algorithm No. 6 is likely to be effective as the first inspection image processing algorithm, and performs the first marking operation on the monitor 11R. In this example, the information about the first inspection image processing algorithm includes the image processing algorithm number "6" and the sensitivity level "5". The sensitivity level "5" is displayed in the number column 14d in the display area 14J where the defective product processed image that is the target of the first marking operation is displayed.

設定部23は、モニタ11Rが第2マーキング操作を受け付けた場合、当該第2マーキング操作の対象となった不良品処理画像13aの画像処理に用いた画像処理アルゴリズムに関する情報を、第2検査用画像処理アルゴリズムに関する情報として、記憶部21に記憶させると共にモニタ11Rに表示させる。図7の例において、表示領域14Lのサムネイル部14fの不良品処理画像では、10番の画像処理アルゴリズムを用いた画像処理により、異物P,Q,Rにおける全ての異物の存在が認識可能となっている。そこで、オペレータは、10番の画像処理アルゴリズムが第2検査用画像処理アルゴリズムとして有効である可能性が高いと判断し、モニタ11Rにおいて第2マーキング操作を実施する。この例では、第2検査用画像処理アルゴリズムに関する情報は、画像処理アルゴリズムの番号「10」と、感度レベル「6」とを含む。感度レベル「6」は、当該第2マーキング操作の対象となった不良品処理画像が表示される表示領域14Lにおける番号欄14dに表示される。 When the monitor 11R accepts the second marking operation, the setting unit 23 provides information on the image processing algorithm used for image processing of the defective product processed image 13a, which is the target of the second marking operation, as an image for the second inspection. Information about the processing algorithm is stored in the storage unit 21 and displayed on the monitor 11R. In the example of FIG. 7, in the defective product processed image of the thumbnail portion 14f of the display area 14L, the presence of all foreign substances in the foreign substances P, Q, and R can be recognized by the image processing using the image processing algorithm No. 10. ing. Therefore, the operator determines that the image processing algorithm No. 10 is likely to be effective as the second inspection image processing algorithm, and performs the second marking operation on the monitor 11R. In this example, the information about the second inspection image processing algorithm includes the image processing algorithm number "10" and the sensitivity level "6". The sensitivity level "6" is displayed in the number column 14d in the display area 14L where the defective product processed image that is the target of the second marking operation is displayed.

また、本実施形態の設定部23は、マーキング操作の対象となった画像処理アルゴリズムに優先度を付与する。以下、具体的に説明する。 Further, the setting unit 23 of the present embodiment gives priority to the image processing algorithm that is the target of the marking operation. Hereinafter, a specific description will be given.

上述したように、モニタ11Rは、マーキング操作の対象となった不良品処理画像に対して優先度を付与するランキング操作をオペレータから受け付ける。ランキング操作は、操作部として機能するモニタ11Rを介してオペレータによって行われる。優先度は、例えば、オペレータの判断による当該画像処理アルゴリズムの有効性を示す指標である。ここでは、ランキング入力ボタン14eは、5個の星によって構成され、白抜きの星が多いほど優先度が低く、色付きの星が多いほど優先度が高い。この場合のランキング操作は、5個の星のうち色付きの星を何個とするかをオペレータが指定する操作である。 As described above, the monitor 11R receives from the operator a ranking operation for giving priority to the defective product processed image that is the target of the marking operation. The ranking operation is performed by the operator via the monitor 11R that functions as an operation unit. The priority is, for example, an index indicating the effectiveness of the image processing algorithm determined by the operator. Here, the ranking input button 14e is composed of five stars, and the more white stars there are, the lower the priority, and the more colored stars, the higher the priority. The ranking operation in this case is an operation in which the operator specifies how many colored stars are to be among the five stars.

図7の例において、表示領域14Jにおけるサムネイル部14fの不良品処理画像では、6番の画像処理アルゴリズムを用いた画像処理により、異物P,Qにおける全ての異物の存在が認識可能となっている。表示領域14Mにおけるサムネイル部14fの不良品処理画像では、2番の画像処理アルゴリズムを用いた画像処理により、異物Pにおける全ての異物の存在が認識可能となっているが、異物Qにおける3つの異物の存在が認識不可能となっている。表示領域14Kにおけるサムネイル部14fの不良品処理画像では、15番の画像処理アルゴリズムを用いた画像処理により、異物Pにおける全ての異物の存在が認識可能となっているが、異物Qにおける4つの異物の存在が認識不可能となっている。 In the example of FIG. 7, in the defective product processed image of the thumbnail portion 14f in the display area 14J, the presence of all foreign substances in the foreign substances P and Q can be recognized by the image processing using the image processing algorithm No. 6. .. In the defective product processed image of the thumbnail portion 14f in the display area 14M, the presence of all foreign matters in the foreign matter P can be recognized by image processing using the second image processing algorithm, but three foreign matters in the foreign matter Q are recognized. The existence of is unrecognizable. In the defective product processed image of the thumbnail portion 14f in the display area 14K, the presence of all foreign matters in the foreign matter P can be recognized by image processing using the image processing algorithm No. 15, but four foreign matters in the foreign matter Q are recognized. The existence of is unrecognizable.

そこで、オペレータは、2番、6番、及び15番のうち、6番の画像処理アルゴリズムが最も有効である可能性が高いと判断する。オペレータは、6番が表示されている番号欄14bを含む表示領域14Jにおいて、ランキング入力ボタン14eにおける一番右側の星の位置をタッチすることにより、色付きの星の個数(すなわち「5」)を画像処理アルゴリズムの優先度として指定する。 Therefore, the operator determines that the image processing algorithm of No. 6 among No. 2, No. 6, and No. 15 is most likely to be effective. The operator touches the position of the rightmost star on the ranking input button 14e in the display area 14J including the number field 14b where the number 6 is displayed to display the number of colored stars (that is, "5"). Specify as the priority of the image processing algorithm.

オペレータは、2番、6番、及び15番のうち、2番の画像処理アルゴリズムが6番の次に有効である可能性が高いと判断する。オペレータは、2番が表示されている番号欄14bを含む表示領域14Mにおいて、ランキング入力ボタン14eにおける右端から2番目の星の位置をタッチすることにより、色付きの星の個数(すなわち「4」)を画像処理アルゴリズムの優先度として指定する。 The operator determines that, of the numbers 2, 6, and 15, the second image processing algorithm is most likely to be the second most effective after the sixth. The operator touches the position of the second star from the right end on the ranking input button 14e in the display area 14M including the number field 14b where the number 2 is displayed, thereby causing the number of colored stars (that is, "4"). Is specified as the priority of the image processing algorithm.

オペレータは、2番、6番、及び15番のうち、15番の画像処理アルゴリズムが2番の次に有効である可能性が高いと判断する。オペレータは、15番が表示されている番号欄14bを含む表示領域14Kにおいて、ランキング入力ボタン14eにおける右端から4番目の星の位置をタッチすることにより、色付きの星の個数(すなわち「2」)を画像処理アルゴリズムの優先度として指定する。 The operator determines that the 15th image processing algorithm among the 2nd, 6th, and 15th is likely to be effective next to the 2nd. The operator touches the position of the fourth star from the right end on the ranking input button 14e in the display area 14K including the number field 14b where the number 15 is displayed, thereby causing the number of colored stars (that is, "2"). Is specified as the priority of the image processing algorithm.

設定部23は、モニタ11Rがランキング操作を受け付けた場合、当該ランキング操作の対象となった不良品処理画像の画像処理に用いた画像処理アルゴリズムと当該ランキング操作で付与された優先度とに関する情報を、互いに関連付けて記憶部21に記憶させる。優先度に関する情報は、例えばランキング入力ボタン14eにおける図示左側からの色付きの星の個数である。設定部23は、画像処理アルゴリズムと優先度とに関する当該情報を、モニタ11Rに表示させる。具体的には、設定部23は、指定された優先度に応じた個数の星を色付きの星として、タッチされたランキング入力ボタン14eの表示態様を変更する。 When the monitor 11R accepts the ranking operation, the setting unit 23 provides information on the image processing algorithm used for image processing of the defective product processed image that is the target of the ranking operation and the priority given by the ranking operation. , Are associated with each other and stored in the storage unit 21. The information regarding the priority is, for example, the number of colored stars from the left side of the drawing in the ranking input button 14e. The setting unit 23 causes the monitor 11R to display the information regarding the image processing algorithm and the priority. Specifically, the setting unit 23 changes the display mode of the touched ranking input button 14e by setting a number of stars according to the designated priority as colored stars.

以上、X線検査装置1では、モニタ11Rは、マーキング操作の対象となった不良品処理画像に対して優先度を付与するランキング操作をオペレータから受け付ける。設定部23は、モニタ11Rがランキング操作を受け付けた場合、当該ランキング操作の対象となった不良品処理画像の画像処理に用いた画像処理アルゴリズムと当該ランキング操作で付与された優先度とに関する情報を、記憶部21に記憶させる。これにより、オペレータは、付与した優先度を参照しつつ、検査用画像処理アルゴリズムを選択することができる。 As described above, in the X-ray inspection apparatus 1, the monitor 11R receives from the operator a ranking operation for giving priority to the defective product processed image that is the target of the marking operation. When the monitor 11R accepts the ranking operation, the setting unit 23 provides information on the image processing algorithm used for image processing of the defective product processed image that is the target of the ranking operation and the priority given by the ranking operation. , Stored in the storage unit 21. As a result, the operator can select the inspection image processing algorithm while referring to the assigned priority.

X線検査装置1では、設定部23は、操作部がランキング操作を受け付けた場合、当該ランキング操作の対象となった不良品処理画像の画像処理に用いた画像処理アルゴリズムと当該ランキング操作で付与された優先度とに関する情報を、モニタ11Rに表示させてもよい。この場合、ランキング操作によって記憶部21に記憶させた当該情報がモニタ11Rに表示されるため、オペレータが当該情報を確認し易くなる。 In the X-ray inspection device 1, when the operation unit accepts the ranking operation, the setting unit 23 is assigned by the image processing algorithm used for the image processing of the defective product processed image targeted by the ranking operation and the ranking operation. Information about the priority may be displayed on the monitor 11R. In this case, since the information stored in the storage unit 21 by the ranking operation is displayed on the monitor 11R, the operator can easily confirm the information.

X線検査装置1では、設定部23は、マーキング操作の対象となった複数の不良品処理画像を、モニタ11Rのサムネイル部14fのそれぞれに並べて表示させる。これにより、オペレータは、マーキング操作の対象となった複数の不良品処理画像を比較評価し易くなる。 In the X-ray inspection device 1, the setting unit 23 displays a plurality of defective product processed images targeted for the marking operation side by side on each of the thumbnail units 14f of the monitor 11R. This makes it easier for the operator to compare and evaluate a plurality of defective product processed images that are the targets of the marking operation.

X線検査装置1では、モニタ11Rは、画像処理部25で生成した複数の不良品処理画像の少なくとも何れかに対する第1マーキング操作及び第2マーキング操作を、オペレータから受け付ける。設定部23は、モニタ11Rが第1マーキング操作を受け付けた場合、当該第1マーキング操作の対象となった不良品処理画像の画像処理に用いた画像処理アルゴリズムに関する情報を、第1検査用画像処理アルゴリズムに関する情報として、記憶部21に記憶させる。設定部23は、モニタ11Rが第2マーキング操作を受け付けた場合、当該第2マーキング操作の対象となった不良品処理画像の画像処理に用いた画像処理アルゴリズムに関する情報を、第2検査用画像処理アルゴリズムに関する情報として、記憶部21に記憶させる。これにより、例えば第1検査用画像処理アルゴリズムの設定時であっても、第2マーキング操作により、第2検査用画像処理アルゴリズムとして有効である可能性が高い画像処理アルゴリズムに関する情報が、記憶部21に記憶される。よって、第1及び第2検査用画像処理アルゴリズムの設定の際、オペレータは、複数の画像処理アルゴリズムを効率的に絞り込むことができる。 In the X-ray inspection apparatus 1, the monitor 11R receives from the operator a first marking operation and a second marking operation for at least one of the plurality of defective product processed images generated by the image processing unit 25. When the monitor 11R accepts the first marking operation, the setting unit 23 outputs information on the image processing algorithm used for image processing of the defective product processed image that is the target of the first marking operation to the image processing for the first inspection. It is stored in the storage unit 21 as information about the algorithm. When the monitor 11R accepts the second marking operation, the setting unit 23 provides information on the image processing algorithm used for image processing of the defective product processed image that is the target of the second marking operation for the second inspection image processing. It is stored in the storage unit 21 as information about the algorithm. As a result, for example, even when the first inspection image processing algorithm is set, the storage unit 21 can store information about the image processing algorithm that is likely to be effective as the second inspection image processing algorithm by the second marking operation. Is remembered in. Therefore, when setting the first and second inspection image processing algorithms, the operator can efficiently narrow down a plurality of image processing algorithms.

X線検査装置1では、設定部23は、モニタ11Rが第1マーキング操作を受け付けた場合、当該第1マーキング操作の対象となった不良品処理画像の画像処理に用いた画像処理アルゴリズムに関する情報をモニタ11Rに表示させる。設定部23は、モニタ11Rが第2マーキング操作を受け付けた場合、当該第2マーキング操作の対象となった不良品処理画像の画像処理に用いた画像処理アルゴリズムに関する情報をモニタ11Rに表示させる。この場合、第1マーキング操作によって記憶部21に記憶させた画像処理アルゴリズムに関する情報がモニタ11Rに表示され、第2マーキング操作によって記憶部21に記憶させた画像処理アルゴリズムに関する情報がモニタ11Rに表示される。そのため、オペレータが当該情報を確認し易くなる。 In the X-ray inspection device 1, when the monitor 11R accepts the first marking operation, the setting unit 23 provides information on the image processing algorithm used for image processing of the defective product processed image that is the target of the first marking operation. Display on monitor 11R. When the monitor 11R accepts the second marking operation, the setting unit 23 causes the monitor 11R to display information on the image processing algorithm used for image processing of the defective product processed image that is the target of the second marking operation. In this case, the information about the image processing algorithm stored in the storage unit 21 by the first marking operation is displayed on the monitor 11R, and the information about the image processing algorithm stored in the storage unit 21 by the second marking operation is displayed on the monitor 11R. The algorithm. Therefore, it becomes easy for the operator to confirm the information.

なお、本実施形態では、第1及び第2検査用画像処理アルゴリズムとして、感度レベル5,6に設定する検査用画像処理アルゴリズムを例示したが、これに限定されない。第1及び第2検査用画像処理アルゴリズムは、複数種の物品Gそれぞれにおいて複数の感度レベル毎に設定される多数の検査用画像処理アルゴリズムの中の、互いに異なる二つであってもよい。 In the present embodiment, as the first and second inspection image processing algorithms, the inspection image processing algorithms set to the sensitivity levels 5 and 6 are exemplified, but the present invention is not limited to this. The first and second inspection image processing algorithms may be two different from each other among a large number of inspection image processing algorithms set for each of a plurality of sensitivity levels in each of the plurality of types of articles G.

本実施形態では、マーキング操作の対象となった不良品処理画像に対してランキング操作により優先度を付与したが、これに限定されない。複数の不良品処理画像の少なくとも何れかに対して、ランキング操作により優先度を付与してもよい。 In the present embodiment, the defective product processed image that is the target of the marking operation is given a priority by the ranking operation, but the priority is not limited to this. At least one of the plurality of defective product processed images may be given a priority by a ranking operation.

以上、本発明の一実施形態について説明したが、本発明は、上記実施形態に限定されるものではない。 Although one embodiment of the present invention has been described above, the present invention is not limited to the above embodiment.

記憶部21、設定部23、及び画像処理部25は、機能ブロックとして構成されるものに限定されず、ハード構成として構成されていてもよい。記憶部21、設定部23、及び画像処理部25の少なくとも何れかは、外部の情報処理センター等の施設のコンピュータが有していてもよい。 The storage unit 21, the setting unit 23, and the image processing unit 25 are not limited to those configured as functional blocks, and may be configured as a hardware configuration. At least one of the storage unit 21, the setting unit 23, and the image processing unit 25 may be possessed by a computer of a facility such as an external information processing center.

モニタ11,11Rは、表示部としての機能及び操作部としての機能を兼ね備えていたが、この例に限定されない。操作部は、モニタ11,11R以外のハードウェア(例えばモニタ11,11R付近に設けられた操作ボタン)により構成されていてもよい。 The monitors 11 and 11R have a function as a display unit and a function as an operation unit, but the present invention is not limited to this example. The operation unit may be composed of hardware other than the monitors 11 and 11R (for example, operation buttons provided in the vicinity of the monitors 11 and 11R).

画像処理アルゴリズムに関する情報、第1検査用画像処理アルゴリズムに関する情報、及び、第2検査用画像処理アルゴリズムに関する情報として、当該画像処理アルゴリズムの番号を例示したが、例えば、当該画像処理アルゴリズムの名称や当該アルゴリズム自体のデータであってもよいし、その他の種々の識別子であってもよい。 The number of the image processing algorithm is exemplified as information on the image processing algorithm, information on the image processing algorithm for the first inspection, and information on the image processing algorithm for the second inspection. For example, the name of the image processing algorithm and the information concerned. It may be the data of the algorithm itself, or it may be various other identifiers.

マーキング操作によりストックした画像処理アルゴリズムに関する情報、ランキング操作で付与した優先度に関する情報、第1マーキング操作によりストックした画像処理アルゴリズムに関する情報、第2マーキング操作によりストックした画像処理アルゴリズムに関する情報をモニタ11,11Rに表示したが、モニタ11,11R以外の表示装置に表示させてもよい。さらに、これらの情報を、例えばプリンタ又はスピーカから出力してもよい。 Information about the image processing algorithm stocked by the marking operation, information about the priority given by the ranking operation, information about the image processing algorithm stocked by the first marking operation, and information about the image processing algorithm stocked by the second marking operation are monitored 11. Although it is displayed on 11R, it may be displayed on a display device other than monitors 11 and 11R. Further, such information may be output from, for example, a printer or a speaker.

上記第2実施形態では、第1検査用画像処理アルゴリズム(感度レベル5の検査用画像処理アルゴリズム)の設定の際に第1及び第2マーキング操作を行う例を説明したが、第2検査用画像処理アルゴリズム(感度レベル6の検査用画像処理アルゴリズム)の設定の際に第1及び第2マーキング操作を行ってもよい。また、第1及び第2検査用画像処理アルゴリズムを同時並列的に設定してもよく、この際に第1及び第2マーキング操作を行ってもよい。 In the second embodiment described above, an example in which the first and second marking operations are performed when setting the first inspection image processing algorithm (inspection image processing algorithm of sensitivity level 5) has been described, but the second inspection image has been described. The first and second marking operations may be performed when setting the processing algorithm (inspection image processing algorithm of sensitivity level 6). Further, the first and second inspection image processing algorithms may be set in parallel at the same time, and at this time, the first and second marking operations may be performed.

上記実施形態では、本発明をX線検査装置1に適用したが、本発明は、光を利用して物品の検査を行う光検査装置であればよい。本発明において、光とは、X線、近赤外線、その他の電磁波であってもよい。ただし、光としてX線を利用する場合には、物品Gが包装されている場合であっても、包材や、包材に施された印刷に影響されることなく、物品Gを検査することができる。 In the above embodiment, the present invention is applied to the X-ray inspection device 1, but the present invention may be any optical inspection device that inspects an article using light. In the present invention, the light may be X-rays, near infrared rays, or other electromagnetic waves. However, when X-rays are used as light, even if the article G is packaged, the article G should be inspected without being affected by the packaging material or the printing applied to the packaging material. Can be done.

1…X線検査装置(光検査装置)、11,11R…モニタ(表示部、操作部)、21…記憶部、23…設定部、25…画像処理部、G…物品。 1 ... X-ray inspection device (optical inspection device), 11, 11R ... Monitor (display unit, operation unit), 21 ... Storage unit, 23 ... Setting unit, 25 ... Image processing unit, G ... Article.

Claims (6)

物品に光を透過させることで得られた透過画像に対して、画像処理アルゴリズムを用いた画像処理を施して処理画像を生成し、前記処理画像に基づいて前記物品の検査を行う光検査装置であって、
複数の前記画像処理アルゴリズムを予め記憶する記憶部と、
前記記憶部に記憶された複数の前記画像処理アルゴリズムのうちオペレータによって選択された少なくとも1つを、前記検査時の前記画像処理に用いる検査用画像処理アルゴリズムに設定する設定部と、
異物を含む前記物品に光を透過させることにより得られた不良品透過画像に対して、前記記憶部に記憶された一の前記画像処理アルゴリズムを用いた前記画像処理を施して不良品処理画像を生成する処理を、前記記憶部に記憶された複数の前記画像処理アルゴリズムについて行う画像処理部と、
前記画像処理部で生成した複数の前記不良品処理画像の少なくとも何れかを表示する表示部と、
前記画像処理部で生成した複数の前記不良品処理画像の少なくとも何れかに対するマーキング操作を前記オペレータから受け付ける操作部と、を備え、
前記設定部は、
前記操作部が前記マーキング操作を受け付けた場合、当該マーキング操作の対象となった前記不良品処理画像の前記画像処理に用いた前記画像処理アルゴリズムに関する情報を、前記記憶部に記憶させ
前記操作部は、複数の前記不良品処理画像の少なくとも何れかに対して優先度を付与するランキング操作を前記オペレータから受け付け、
前記設定部は、
前記操作部が前記ランキング操作を受け付けた場合、当該ランキング操作の対象となった前記不良品処理画像の前記画像処理に用いた前記画像処理アルゴリズムと当該ランキング操作で付与された前記優先度とに関する情報を、前記記憶部に記憶させる、光検査装置。
An optical inspection device that performs image processing using an image processing algorithm on a transmitted image obtained by transmitting light through an article to generate a processed image, and inspects the article based on the processed image. There,
A storage unit that stores a plurality of the image processing algorithms in advance,
A setting unit that sets at least one selected by the operator from the plurality of image processing algorithms stored in the storage unit in the inspection image processing algorithm used for the image processing at the time of the inspection, and a setting unit.
The defective product transmitted image obtained by transmitting light through the article containing a foreign substance is subjected to the image processing using one of the image processing algorithms stored in the storage unit to obtain a defective product processed image. An image processing unit that performs the processing to be generated for the plurality of the image processing algorithms stored in the storage unit, and an image processing unit.
A display unit that displays at least one of the plurality of defective product processed images generated by the image processing unit, and
An operation unit that receives a marking operation for at least one of the plurality of defective product processed images generated by the image processing unit from the operator is provided.
The setting unit
When the operation unit accepts the marking operation, the storage unit stores information about the image processing algorithm used for the image processing of the defective product processed image that is the target of the marking operation .
The operation unit receives from the operator a ranking operation for giving priority to at least one of the plurality of defective product processed images.
The setting unit
When the operation unit accepts the ranking operation, information on the image processing algorithm used for the image processing of the defective product processed image that is the target of the ranking operation and the priority given by the ranking operation. and Ru is stored in the storage unit, the optical inspection apparatus.
前記設定部は、
前記操作部が前記マーキング操作を受け付けた場合、当該マーキング操作の対象となった前記不良品処理画像の前記画像処理に用いた前記画像処理アルゴリズムに関する情報を、前記表示部に表示させる、請求項1記載の光検査装置。
The setting unit
When the operation unit accepts the marking operation, the display unit displays information about the image processing algorithm used for the image processing of the defective product processed image that is the target of the marking operation. The optical inspection device described.
前記設定部は、
前記操作部が前記ランキング操作を受け付けた場合、当該ランキング操作の対象となった前記不良品処理画像の前記画像処理に用いた前記画像処理アルゴリズムと当該ランキング操作で付与された前記優先度とに関する情報を、前記表示部に表示させる、請求項1又は2記載の光検査装置。
The setting unit
When the operation unit accepts the ranking operation, information on the image processing algorithm used for the image processing of the defective product processed image that is the target of the ranking operation and the priority given by the ranking operation. The optical inspection device according to claim 1 or 2 , wherein the display unit is displayed.
前記設定部は、前記マーキング操作の対象となった複数の前記不良品処理画像を、前記表示部に並べて表示させる、請求項1〜の何れか一項記載の光検査装置。 The optical inspection device according to any one of claims 1 to 3 , wherein the setting unit displays a plurality of the defective product processing images subject to the marking operation side by side on the display unit. 前記設定部で設定する前記検査用画像処理アルゴリズムには、第1及び第2検査用画像処理アルゴリズムが含まれ、
前記操作部は、
前記第1検査用画像処理アルゴリズムに関する前記マーキング操作である第1マーキング操作と前記第2検査用画像処理アルゴリズムに関する前記マーキング操作である第2マーキング操作とを前記オペレータから受け付け、
前記設定部は、
前記操作部が前記第1マーキング操作を受け付けた場合、当該第1マーキング操作の対象となった前記不良品処理画像の前記画像処理に用いた前記画像処理アルゴリズムに関する情報を、前記第1検査用画像処理アルゴリズムに関する情報として前記記憶部に記憶させ、
前記操作部が前記第2マーキング操作を受け付けた場合、当該第2マーキング操作の対象となった前記不良品処理画像の前記画像処理に用いた前記画像処理アルゴリズムに関する情報を、前記第2検査用画像処理アルゴリズムに関する情報として前記記憶部に記憶させる、請求項1〜の何れか一項記載の光検査装置。
The inspection image processing algorithm set by the setting unit includes the first and second inspection image processing algorithms.
The operation unit
The operator accepts the first marking operation, which is the marking operation related to the first inspection image processing algorithm, and the second marking operation, which is the marking operation related to the second inspection image processing algorithm.
The setting unit
When the operation unit accepts the first marking operation, the information regarding the image processing algorithm used for the image processing of the defective product processed image that is the target of the first marking operation is transmitted to the first inspection image. Stored in the storage unit as information about the processing algorithm,
When the operation unit accepts the second marking operation, the information regarding the image processing algorithm used for the image processing of the defective product processed image that is the target of the second marking operation is transmitted to the second inspection image. The optical inspection device according to any one of claims 1 to 4 , which is stored in the storage unit as information about a processing algorithm.
前記設定部は、
前記操作部が前記第1マーキング操作を受け付けた場合、当該第1マーキング操作の対象となった前記不良品処理画像の前記画像処理に用いた前記画像処理アルゴリズムに関する情報を、前記第1検査用画像処理アルゴリズムに関する情報として前記表示部に表示させ、
前記操作部が前記第2マーキング操作を受け付けた場合、当該第2マーキング操作の対象となった前記不良品処理画像の前記画像処理に用いた前記画像処理アルゴリズムに関する情報を、前記第2検査用画像処理アルゴリズムに関する情報として前記表示部に表示させる、請求項記載の光検査装置。
The setting unit
When the operation unit accepts the first marking operation, the information regarding the image processing algorithm used for the image processing of the defective product processed image that is the target of the first marking operation is transmitted to the first inspection image. It is displayed on the display unit as information about the processing algorithm.
When the operation unit accepts the second marking operation, the information regarding the image processing algorithm used for the image processing of the defective product processed image that is the target of the second marking operation is transmitted to the second inspection image. The optical inspection device according to claim 5 , which is displayed on the display unit as information about a processing algorithm.
JP2016183280A 2016-09-20 2016-09-20 Optical inspection equipment Active JP6893676B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016183280A JP6893676B2 (en) 2016-09-20 2016-09-20 Optical inspection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016183280A JP6893676B2 (en) 2016-09-20 2016-09-20 Optical inspection equipment

Publications (2)

Publication Number Publication Date
JP2018048845A JP2018048845A (en) 2018-03-29
JP6893676B2 true JP6893676B2 (en) 2021-06-23

Family

ID=61767494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016183280A Active JP6893676B2 (en) 2016-09-20 2016-09-20 Optical inspection equipment

Country Status (1)

Country Link
JP (1) JP6893676B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6749655B1 (en) * 2019-03-19 2020-09-02 株式会社 システムスクエア Inspection device, abnormality detection method, computer program, learning model generation method, and learning model

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010244320A (en) * 2009-04-07 2010-10-28 Panasonic Electric Works Co Ltd Image processor
JP5635903B2 (en) * 2010-12-27 2014-12-03 アンリツ産機システム株式会社 X-ray inspection equipment
US10599944B2 (en) * 2012-05-08 2020-03-24 Kla-Tencor Corporation Visual feedback for inspection algorithms and filters
JP6480171B2 (en) * 2014-12-12 2019-03-06 アンリツインフィビス株式会社 X-ray inspection device

Also Published As

Publication number Publication date
JP2018048845A (en) 2018-03-29

Similar Documents

Publication Publication Date Title
JP4317566B2 (en) X-ray inspection apparatus and method for generating image processing procedure of X-ray inspection apparatus
KR20210126163A (en) Inspection device
JP6920988B2 (en) Inspection equipment
KR20200097344A (en) Inspection device
JP4849805B2 (en) Inspection device and PTP packaging machine
JP5864404B2 (en) X-ray inspection equipment
JP2020178228A5 (en) Image inspection equipment, image inspection method, image inspection program, and image formation system
JP6746142B2 (en) Optical inspection system and image processing algorithm setting method
JP2016156647A (en) Inspection device using electromagnetic wave
JP6893676B2 (en) Optical inspection equipment
JP6480171B2 (en) X-ray inspection device
JP2015137858A (en) Inspection device
JP6763569B2 (en) Optical inspection equipment and optical inspection system
WO2019235022A1 (en) Inspection device
JP2005031069A (en) X-ray inspection apparatus
JP6757970B2 (en) Optical inspection equipment and optical inspection method
JP2009080031A (en) X-ray inspection device
JP6941851B2 (en) Mass estimation device
JP6861990B2 (en) X-ray inspection equipment
JP6144584B2 (en) Damage inspection device
JP7250301B2 (en) Inspection device, inspection system, inspection method, inspection program and recording medium
JP4291123B2 (en) Radiation foreign matter inspection apparatus and radiation foreign matter inspection method
WO2017159855A1 (en) X-ray inspection device
JP6457854B2 (en) X-ray inspection equipment
JP2009080029A (en) X-ray inspection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190919

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200520

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200818

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20201019

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201217

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: 20210511

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210526

R150 Certificate of patent or registration of utility model

Ref document number: 6893676

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150