JP2018120418A - Threshold setting support program, threshold setting support device and threshold setting support method - Google Patents

Threshold setting support program, threshold setting support device and threshold setting support method Download PDF

Info

Publication number
JP2018120418A
JP2018120418A JP2017011239A JP2017011239A JP2018120418A JP 2018120418 A JP2018120418 A JP 2018120418A JP 2017011239 A JP2017011239 A JP 2017011239A JP 2017011239 A JP2017011239 A JP 2017011239A JP 2018120418 A JP2018120418 A JP 2018120418A
Authority
JP
Japan
Prior art keywords
images
feature
image
setting support
feature amount
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
JP2017011239A
Other languages
Japanese (ja)
Other versions
JP6819316B2 (en
Inventor
健太郎 辻
Kentaro Tsuji
健太郎 辻
瀬川 英吾
Eigo Segawa
英吾 瀬川
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2017011239A priority Critical patent/JP6819316B2/en
Publication of JP2018120418A publication Critical patent/JP2018120418A/en
Application granted granted Critical
Publication of JP6819316B2 publication Critical patent/JP6819316B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To facilitate setting of a threshold for distinguishing an object.SOLUTION: A threshold setting support program makes a computer execute processing of extracting a plurality of types of feature quantities indicating a feature of an object from a plurality of images including an object, classifying the plurality of images into a plurality of clusters based on a first feature quantity to which the threshold for distinguishing the object is set out of the plurality of types of feature quantities, extracting images having a common feature between the plurality of clusters out of the images classified into the plurality of clusters based on a second feature amount out of the plurality of feature quantities, selecting at least one of groups of images having the common feature as a display group, and displaying images belonging to the display group side by side based on a value indicated by the first feature amount.SELECTED DRAWING: Figure 1

Description

本発明は、対象物を分別する際の閾値の設定を支援する閾値設定支援プログラム、閾値設定支援装置および閾値設定支援方法に関する。   The present invention relates to a threshold setting support program, a threshold setting support device, and a threshold setting support method that support setting of a threshold when sorting an object.

検査対象の物体の外観検査を自動化する検査方法が提案されている(例えば、特許文献1参照)。この種の検査方法では、検査対象の物体を撮像した画像から抽出される特徴量と予め設定された閾値とを比較し、比較結果に基づいて良品か不良品かを判定する。   An inspection method for automating the appearance inspection of an object to be inspected has been proposed (for example, see Patent Document 1). In this type of inspection method, a feature amount extracted from an image obtained by imaging an object to be inspected is compared with a preset threshold value, and it is determined whether the product is good or defective based on the comparison result.

閾値は、例えば、良品が撮像された良品画像か不良品が撮像された不良品画像かが予め識別された複数の画像から抽出される特徴量の分布に基づいて設定される(例えば、特許文献2参照)。あるいは、閾値は、複数の良品画像から抽出される特徴量の分布に基づいて設定される(例えば、特許文献3参照)。   The threshold value is set based on, for example, a distribution of feature amounts extracted from a plurality of images that are identified in advance as a non-defective image in which a non-defective product is imaged or a defective product image in which a defective product is imaged (for example, Patent Documents). 2). Alternatively, the threshold is set based on the distribution of feature amounts extracted from a plurality of non-defective images (see, for example, Patent Document 3).

特開2011−232302号公報JP 2011-232302 A 特開2006−220648号公報JP 2006-220648 A 特開2015−94589号公報JP2015-94589A

検査対象の物体を良品と不良品とに分ける閾値を設定する検査員等のオペレータは、例えば、検査対象の物体が撮像された複数の画像を目視して、良品画像と不良品画像とに分ける。そして、オペレータは、良品画像には良品を示す識別情報をラベル付けし、不良品画像には不良品を示す識別情報をラベル付けする。閾値の設定に使用する画像の数を増やすことにより、設定される閾値の信頼度は向上するが、ラベル付けする画像の数も増加するため、オペレータの負担も増加する。なお、閾値の設定に良品画像のみが使用される場合でも、検査対象の物体が撮像された複数の画像から不良品画像を除外する作業等が発生するため、閾値の設定に使用する画像の数の増加に伴い、オペレータの負担は増加する。   An operator such as an inspector who sets a threshold for dividing an object to be inspected into a non-defective product and a defective product, for example, visually observes a plurality of images in which the object to be inspected is imaged and divides the image into a good product image and a defective product image . Then, the operator labels the non-defective image with identification information indicating the non-defective product, and labels the defective image with identification information indicating the defective product. Increasing the number of images used for setting the threshold improves the reliability of the set threshold, but also increases the number of images to be labeled, which increases the burden on the operator. Even when only non-defective images are used for setting the threshold, work such as excluding defective products from a plurality of images obtained by imaging the object to be inspected occurs, so the number of images used for setting the threshold As the number of operators increases, the burden on the operator increases.

1つの側面では、本発明は、対象物を分別するための閾値の設定を容易にすることを目的とする。   In one aspect, an object of the present invention is to facilitate setting of a threshold value for sorting an object.

プログラムの一観点によれば、対象物を含む複数の画像から、対象物の特徴を表す複数種の特徴量を抽出し、複数種の特徴量のうち、対象物を分別するための閾値が設定される第1の特徴量に基づいて、複数の画像を複数のクラスタに分類し、複数のクラスタに分類した画像のうち、複数のクラスタ間で共通の特徴を有する画像を、複数種の特徴量のうちの第2の特徴量に基づいて抽出し、共通の特徴を有する画像のグループの少なくとも1つを、表示グループとして選択し、表示グループに属する画像を、第1の特徴量が示す値に基づいて並べて表示する処理をコンピュータに実行させるための閾値設定支援プログラムが提供される。   According to one aspect of the program, a plurality of types of feature quantities representing features of the target object are extracted from a plurality of images including the target object, and a threshold value for setting the target object among the plurality of types of feature quantities is set. Based on the first feature amount, a plurality of images are classified into a plurality of clusters, and among the images classified into the plurality of clusters, an image having a common feature among the plurality of clusters is classified into a plurality of types of feature amounts. Are extracted based on the second feature amount, and at least one of the groups of images having the common feature is selected as a display group, and an image belonging to the display group is set to a value indicated by the first feature amount. There is provided a threshold setting support program for causing a computer to execute a process of displaying images side by side.

1つの実施態様では、閾値設定支援装置は、対象物を含む複数の画像から、対象物の特徴を表す複数種の特徴量を抽出する抽出部と、複数種の特徴量のうち、対象物を分別するための閾値が設定される第1の特徴量に基づいて、複数の画像を複数のクラスタに分類する分類部と、複数のクラスタに分類した画像のうち、複数のクラスタ間で共通の特徴を有する画像を、複数種の特徴量のうちの第2の特徴量に基づいて抽出し、共通の特徴を有する画像のグループの少なくとも1つを、表示グループとして選択する選択部と、表示グループに属する画像を、第1の特徴量が示す値に基づいて並べて表示する表示部とを有する。   In one embodiment, the threshold setting support apparatus extracts an object from among a plurality of types of feature amounts, an extraction unit that extracts a plurality of types of feature amounts representing features of the target object from a plurality of images including the target object. A classification unit that classifies a plurality of images into a plurality of clusters based on a first feature amount for which a threshold for classification is set, and a feature that is common among the plurality of clusters among the images classified into the plurality of clusters And a selection unit that selects at least one of the groups of images having a common feature as a display group, and a display group. And a display unit that displays the images to which the images belong, side by side based on the value indicated by the first feature amount.

方法の一観点によれば、コンピュータが、対象物を含む複数の画像から、対象物の特徴を表す複数種の特徴量を抽出し、複数種の特徴量のうち、対象物を分別するための閾値が設定される第1の特徴量に基づいて、複数の画像を複数のクラスタに分類し、複数のクラスタに分類した画像のうち、複数のクラスタ間で共通の特徴を有する画像を、複数種の特徴量のうちの第2の特徴量に基づいて抽出し、共通の特徴を有する画像のグループの少なくとも1つを、表示グループとして選択し、表示グループに属する画像を、第1の特徴量が示す値に基づいて並べて表示する閾値設定支援方法が提供される。   According to one aspect of the method, a computer extracts a plurality of types of feature quantities representing features of a target object from a plurality of images including the target object, and separates the target object from the plurality of types of feature quantities. Based on the first feature amount for which a threshold is set, a plurality of images are classified into a plurality of clusters, and among images classified into a plurality of clusters, a plurality of types of images having features common to the plurality of clusters are selected. Are extracted based on the second feature amount of the feature amounts, and at least one of the groups of images having the common feature is selected as a display group, and images belonging to the display group are selected as the first feature amount. There is provided a threshold setting support method for displaying side by side based on the indicated value.

1つの側面では、本発明は、対象物を分別するための閾値の設定を容易にすることができる。   In one aspect, the present invention can facilitate the setting of a threshold for sorting objects.

閾値設定支援装置、閾値設定支援方法および閾値設定支援プログラムの一実施形態を示す図である。It is a figure which shows one Embodiment of a threshold value setting assistance apparatus, a threshold value setting assistance method, and a threshold value setting assistance program. 閾値設定支援装置の別の実施形態を示す図である。It is a figure which shows another embodiment of a threshold value setting assistance apparatus. 図2に示した特徴量データベースの一例を示す図である。It is a figure which shows an example of the feature-value database shown in FIG. 図2に示した分類部の動作の一例を示す図である。It is a figure which shows an example of operation | movement of the classification | category part shown in FIG. 図2に示した選択部の動作の一例を示す図である。It is a figure which shows an example of operation | movement of the selection part shown in FIG. 図2に示した表示部および閾値設定部の動作の一例を示す図である。It is a figure which shows an example of operation | movement of the display part and threshold value setting part which were shown in FIG. 図2に示した表示部の動作の別の例を示す図である。It is a figure which shows another example of operation | movement of the display part shown in FIG. 図2に示した閾値設定支援装置の動作の一例を示す図である。It is a figure which shows an example of operation | movement of the threshold value setting assistance apparatus shown in FIG. 図8に示した閾値設定支援処理の一例を示す図である。It is a figure which shows an example of the threshold value setting assistance process shown in FIG. 閾値設定支援装置の別の実施形態を示す図である。It is a figure which shows another embodiment of a threshold value setting assistance apparatus. 図10に示した選択部の動作の一例を示す図である。It is a figure which shows an example of operation | movement of the selection part shown in FIG. 閾値設定支援プログラムを実行するハードウェアの一例を示す図である。It is a figure which shows an example of the hardware which performs a threshold value setting assistance program.

以下、実施形態について、図面を用いて説明する。以下では、画像そのもの、および画像を表示するための画像データは、特に区別せずに、画像と称される。   Hereinafter, embodiments will be described with reference to the drawings. Hereinafter, the image itself and the image data for displaying the image are referred to as an image without any particular distinction.

図1は、閾値設定支援装置、閾値設定支援方法および閾値設定支援プログラムの一実施形態を示す。図1に示す閾値設定支援装置10は、例えば、検査の対象物を撮像装置80で撮像することにより得られる画像IMGを解析して対象物を分別する選別システム1に含まれる。選別システム1は、閾値設定支援装置10に通信可能に接続される撮像装置80および表示装置90を有する。例えば、食品等の対象物を良品と不良品とに分別する選別システム1には、画像IMGから抽出される対象物の特徴を表す特徴量が示す値が良品を示すか不良品を示すかを分別するための閾値が予め設定される。撮像装置80は、例えば、デジタルカメラ等であり、表示装置90は、閾値を選別システム1に設定する際に参照される画像IMGを表示するディスプレイ等である。   FIG. 1 shows an embodiment of a threshold setting support device, a threshold setting support method, and a threshold setting support program. The threshold setting support apparatus 10 illustrated in FIG. 1 is included in the sorting system 1 that, for example, analyzes an image IMG obtained by capturing an object to be inspected by the image capturing apparatus 80 and classifies the object. The sorting system 1 includes an imaging device 80 and a display device 90 that are communicably connected to the threshold setting support device 10. For example, in the sorting system 1 that separates objects such as food into good and defective products, it is determined whether the value indicated by the feature value indicating the characteristics of the target object extracted from the image IMG indicates good products or defective products. A threshold for sorting is set in advance. The imaging device 80 is a digital camera or the like, for example, and the display device 90 is a display or the like that displays an image IMG that is referred to when a threshold is set in the sorting system 1.

閾値設定支援装置10は、例えば、検査員等のオペレータが閾値を選別システム1に設定する際に、閾値の設定を容易にするための閾値設定支援処理を実行する。例えば、閾値設定支援装置10は、CPU(Central Processing Unit)等のプロセッサを含み、抽出部20、分類部30、選択部40および表示部50の機能を実現するための閾値設定支援プログラムをプロセッサが実行することで、閾値設定支援処理を実行する。なお、閾値設定支援装置10は、ハードウェアのみで実現されてもよい。例えば、抽出部20、分類部30、選択部40および表示部50は、ハードウェアのみで実現されてもよい。図1の括弧内に、閾値設定支援方法の概要の一例を示す。   For example, when an operator such as an inspector sets a threshold value in the sorting system 1, the threshold value setting support device 10 executes a threshold value setting support process for facilitating the setting of the threshold value. For example, the threshold setting support apparatus 10 includes a processor such as a CPU (Central Processing Unit), and the processor stores a threshold setting support program for realizing the functions of the extraction unit 20, the classification unit 30, the selection unit 40, and the display unit 50. By executing this, threshold setting support processing is executed. Note that the threshold setting support device 10 may be realized only by hardware. For example, the extraction unit 20, the classification unit 30, the selection unit 40, and the display unit 50 may be realized only by hardware. An example of the outline of the threshold setting support method is shown in parentheses in FIG.

閾値設定支援装置10は、抽出部20、分類部30、選択部40および表示部50を有する。抽出部20は、例えば、対象物が撮像された複数の画像IMG(IMG1−IMG12)を撮像装置80から受け、対象物を含む複数の画像IMGから、対象物の特徴を表す複数種の特徴量を抽出する。図1に示す例では、抽出部20は、対象物の特徴を表す複数種の特徴量として、対象物の円形度、面積等の形状特徴、輝度等を複数の画像IMG毎に抽出する。そして、抽出部20は、画像IMGから抽出した複数種の特徴量を示す情報および画像IMG等を図示しないメモリ等の記憶装置に格納する。   The threshold setting support device 10 includes an extraction unit 20, a classification unit 30, a selection unit 40, and a display unit 50. The extraction unit 20 receives, for example, a plurality of images IMG (IMG1-IMG12) obtained by imaging the target object from the imaging device 80, and a plurality of types of feature amounts representing the characteristics of the target object from the plurality of images IMG including the target object. To extract. In the example illustrated in FIG. 1, the extraction unit 20 extracts, for each of a plurality of images IMG, shape characteristics such as circularity and area, luminance, and the like as the plurality of types of feature amounts representing the characteristics of the object. Then, the extraction unit 20 stores information indicating a plurality of types of feature amounts extracted from the image IMG, the image IMG, and the like in a storage device such as a memory (not shown).

分類部30は、抽出部20で抽出された複数種の特徴量のうち、対象物を分別するための閾値が設定される第1の特徴量に基づいて、複数の画像IMGを複数のクラスタに分類する。例えば、第1の特徴量が円形度の場合、分類部30は、対象物の円形度、面積、輝度のうち、円形度に基づいて、複数の画像IMGを複数のクラスタに分類する。図1に示す例では、分類部30は、画像IMG1−IMG12を、円形度が“0.85”のクラスタと、円形度が“0.90”のクラスタと、円形度が“0.95”のクラスタと、円形度が“1”のクラスタとの4つのクラスタに分類する。   The classification unit 30 converts the plurality of images IMG into a plurality of clusters based on a first feature amount in which a threshold value for classifying an object is set among a plurality of types of feature amounts extracted by the extraction unit 20. Classify. For example, when the first feature amount is circularity, the classification unit 30 classifies the plurality of images IMG into a plurality of clusters based on the circularity among the circularity, area, and luminance of the object. In the example illustrated in FIG. 1, the classification unit 30 divides the images IMG1 to IMG12 into a cluster with a circularity of “0.85”, a cluster with a circularity of “0.90”, and a circularity of “0.95”. And four clusters, a cluster having a circularity of “1”.

例えば、分類部30は、画像IMG1、IMG2、IMG3を円形度“0.85”のクラスタに分類し、画像IMG4、IMG5を円形度“0.90”のクラスタに分類する。また、分類部30は、画像IMG6、IMG7、IMG8を円形度“0.95”のクラスタに分類し、画像IMG9、IMG10、IMG11、IMG12を円形度“1”のクラスタに分類する。   For example, the classification unit 30 classifies the images IMG1, IMG2, and IMG3 into clusters with a circularity “0.85”, and classifies the images IMG4 and IMG5 into clusters with a circularity “0.90”. The classifying unit 30 classifies the images IMG6, IMG7, and IMG8 into clusters with a circularity of “0.95”, and classifies the images IMG9, IMG10, IMG11, and IMG12 into clusters with a circularity of “1”.

選択部40は、例えば、対象物の円形度、面積、輝度のうちの円形度以外の面積および輝度に基づいて、画像IMGを6つのグループG(G1−G6)に分ける。この場合、面積および輝度は、複数種の特徴量のうちの第2の特徴量の一例である。図1に示す例では、画像IMGから抽出された対象物の面積は、予め決められた第1の面積未満の場合、小面積に区分され、第1の面積以上で予め決められた第2の面積未満の場合、中面積に区分され、第2の面積以上の場合、大面積に区分される。また、画像IMGから抽出された対象物の輝度は、所定の輝度値以上の場合、高輝度に区分され、所定の輝度値未満の場合、低輝度に区分される。グループG1−G6は、面積の3つの区分と輝度の2つの区分との組み合わせのいずれかに対応する。なお、面積の区分数および輝度の区分数は、図1に示す例に限定されない。   For example, the selection unit 40 divides the image IMG into six groups G (G1-G6) based on the area other than the circularity and the luminance among the circularity, area, and luminance of the object. In this case, the area and the luminance are examples of the second feature amount among the plurality of types of feature amounts. In the example shown in FIG. 1, when the area of the object extracted from the image IMG is less than the predetermined first area, the area is divided into small areas, and the second predetermined value is equal to or larger than the first area. When it is less than the area, it is classified into a medium area, and when it is greater than or equal to the second area, it is classified into a large area. Further, the luminance of the object extracted from the image IMG is classified as high luminance when it is equal to or higher than a predetermined luminance value, and is classified as low luminance when it is lower than the predetermined luminance value. The group G1-G6 corresponds to one of a combination of three sections of area and two sections of luminance. The number of area divisions and the number of luminance divisions are not limited to the example shown in FIG.

画像IMGは、面積と輝度とに応じて分類された6つのグループG1−G6のいずれかに属する。グループG1、G3は、画像IMGを含むクラスタを1つ含み、グループG2、G4、G6は、画像IMGを含むクラスタを2つ含み、グループG5は、画像IMGを含むクラスタを4つ含む。   The image IMG belongs to one of six groups G1-G6 classified according to area and luminance. The groups G1 and G3 include one cluster including the image IMG, the groups G2, G4, and G6 include two clusters including the image IMG, and the group G5 includes four clusters including the image IMG.

例えば、グループG2は、画像IMGから抽出された対象物の面積および輝度がそれぞれ小面積および低輝度である特徴を有する画像IMGのグループGであり、画像IMG3、IMG11を含む。すなわち、画像IMG3、IMG11は、複数のクラスタ間で共通の特徴(小面積で低輝度)を有する画像IMGである。換言すれば、小面積で低輝度を示す特徴は、互いに異なるクラスタに分類された画像IMG3、IMG11で共通する特徴である。   For example, the group G2 is a group G of images IMG having features in which the area and luminance of the object extracted from the image IMG are a small area and a low luminance, respectively, and include images IMG3 and IMG11. That is, the images IMG3 and IMG11 are images IMG having a common feature (small area and low luminance) among a plurality of clusters. In other words, the feature exhibiting low luminance with a small area is a feature common to the images IMG3 and IMG11 classified into different clusters.

また、例えば、グループG5は、画像IMGから抽出された対象物の面積および輝度がそれぞれ大面積および高輝度である特徴を有する画像IMGのグループGであり、画像IMG1、IMG4、IMG8、IMG9を含む。すなわち、互いに異なるクラスタに属する画像IMG1、IMG4、IMG8、IMG9は、複数のクラスタ間で共通の特徴(大面積で高輝度)を有する画像IMGである。換言すれば、大面積で高輝度を示す特徴は、互いに異なるクラスタに分類された画像IMG1、IMG4、IMG8、IMG9で共通する特徴である。   Further, for example, the group G5 is a group G of images IMG having a feature that the area and luminance of the object extracted from the image IMG are large and high, respectively, and include images IMG1, IMG4, IMG8, and IMG9. . That is, the images IMG1, IMG4, IMG8, and IMG9 belonging to different clusters are images IMG having a common characteristic (large area and high brightness) among a plurality of clusters. In other words, the feature exhibiting high luminance in a large area is a feature common to the images IMG1, IMG4, IMG8, and IMG9 classified into different clusters.

選択部40は、複数のクラスタ間で共通の特徴を有する画像IMGのグループGとして、グループG2、G4、G5、G6を抽出する。そして、選択部40は、グループG2、G4、G5、G6のうち、画像IMGを含むクラスタの数が最も多いグループG5を、表示グループG5として選択する。   The selection unit 40 extracts groups G2, G4, G5, and G6 as a group G of images IMG having features common to a plurality of clusters. Then, the selection unit 40 selects the group G5 having the largest number of clusters including the image IMG among the groups G2, G4, G5, and G6 as the display group G5.

このように、選択部40は、複数のクラスタに分類した画像IMGのうち、複数のクラスタ間で共通の特徴を有する画像IMGを、複数種の特徴量のうちの第2の特徴量に基づいて抽出する。そして、選択部40は、複数のクラスタ間で共通の特徴を有する画像IMGのグループGの少なくとも1つを、表示グループGとして選択する。   As described above, the selection unit 40 selects, based on the second feature amount among the plurality of types of feature amounts, the image IMG having features common to the plurality of clusters among the image IMGs classified into the plurality of clusters. Extract. Then, the selection unit 40 selects at least one of the groups I of the image IMG having features common to the plurality of clusters as the display group G.

表示部50は、例えば、選択部40により選択された表示グループG5に属する画像IMG1、IMG4、IMG8、IMG9を、円形度の値順に並べて表示装置90に表示する。このように、表示部50は、表示グループGに属する画像IMGを、第1の特徴量を示す値に基づいて並べて表示する。   For example, the display unit 50 displays the images IMG1, IMG4, IMG8, and IMG9 belonging to the display group G5 selected by the selection unit 40 on the display device 90 in the order of the circularity values. As described above, the display unit 50 displays the images IMG belonging to the display group G side by side based on the value indicating the first feature amount.

表示装置90に表示された画像IMG1、IMG4、IMG8、IMG9は、例えば、オペレータの指示により、良品が撮像された良品画像と不良品が撮像された不良品画像とに分けられる。以下、良品画像および不良品画像には、画像と同じ符号を使用する。   The images IMG1, IMG4, IMG8, and IMG9 displayed on the display device 90 are divided into, for example, a non-defective image in which a non-defective product is imaged and a defective product image in which a non-defective product is imaged according to an instruction from an operator. Hereinafter, the same reference numerals as the images are used for the non-defective images and the defective images.

例えば、オペレータは、画像IMG1−IMG12のうち、表示装置90に表示された画像IMG1、IMG4、IMG8、IMG9を目視で確認し、表示装置90に表示された画像IMG1、IMG4、IMG8、IMG9から良品画像IMGを選択する。そして、閾値設定支援装置10等は、画像IMG1、IMG4、IMG8、IMG9のうちの良品画像IMGの円形度の範囲に基づいて、円形度の閾値を設定する。例えば、円形度“0.90”のクラスタに含まれる画像IMG4と円形度“0.95”のクラスタに含まれる画像IMG8と円形度“1”のクラスタに含まれる画像IMG9とが良品画像IMGとして選択された場合、円形度の閾値は、“0.90”に設定される。この場合、円形度が“0.90”未満の対象物は不良品に分別され、円形度が“0.90”以上で“1”以下の対象物は良品に分別される。   For example, the operator visually checks the images IMG1, IMG4, IMG8, and IMG9 displayed on the display device 90 among the images IMG1 to IMG12, and the non-defective product is obtained from the images IMG1, IMG4, IMG8, and IMG9 displayed on the display device 90. Select the image IMG. Then, the threshold setting support device 10 or the like sets the threshold value of the circularity based on the circularity range of the non-defective image IMG among the images IMG1, IMG4, IMG8, and IMG9. For example, an image IMG4 included in a cluster with a circularity “0.90”, an image IMG8 included in a cluster with a circularity “0.95”, and an image IMG9 included in a cluster with a circularity “1” are used as non-defective images IMG. When selected, the circularity threshold is set to “0.90”. In this case, an object having a circularity of less than “0.90” is classified as a defective product, and an object having a circularity of “0.90” or more and “1” or less is classified as a non-defective product.

このように、閾値設定支援装置10は、画像IMG1−IMG12の全ての画像IMGを目視で確認する場合に比べて、オペレータが目視で確認する画像IMGの数を低減でき、対象物を分別するための閾値の設定を容易にすることができる。また、複数の画像IMGは、閾値が設定される第1の特徴量(例えば、円形度)の値順に並べて表示される。このため、複数の画像IMGがランダムな順に並べて表示される場合に比べて、第1の特徴量の比較を容易にすることができる。   As described above, the threshold setting support apparatus 10 can reduce the number of images IMG visually checked by the operator and separate the objects as compared with the case where all the images IMG of the images IMG1 to IMG12 are visually checked. The threshold value can be easily set. Further, the plurality of images IMG are displayed side by side in the order of the first feature value (for example, circularity) for which a threshold is set. For this reason, compared with the case where a plurality of images IMG are arranged and displayed in random order, the comparison of the first feature amount can be facilitated.

なお、複数種の特徴量のそれぞれに対して閾値が設定される場合、閾値設定支援装置10は、第1の特徴量を変更して、画像IMGの分類、表示グループGの選択等を繰り返す。この場合、閾値設定支援装置10は、各表示グループGに属する画像IMGのうち、他の種類の特徴量に対する閾値設定支援処理で既に良品か不良品かが判定された画像IMGに関しては、良品か不良品かを示す情報を画像IMGと一緒に表示してもよい。   When a threshold value is set for each of a plurality of types of feature values, the threshold value setting support apparatus 10 changes the first feature value and repeats the classification of the image IMG, the selection of the display group G, and the like. In this case, the threshold setting support device 10 determines whether the image IMG that has already been determined to be good or defective in the threshold setting support processing for other types of feature values among the images IMG belonging to each display group G is good. Information indicating whether the product is defective may be displayed together with the image IMG.

閾値設定支援装置10の構成および動作は、図1に示す例に限定されない。例えば、対象物の特徴を表す特徴量の種類は、2つでもよいし、4つ以上でもよい。また、特徴量の種類は、円形度、面積、輝度以外でもよい。あるいは、選択部40は、複数種の特徴量のうちの第1の特徴量以外の1種類を第2の特徴量とし、第1の特徴量に基づいて分類した画像IMGを、第2の特徴量に基づいてグループ分けしてもよい。例えば、選択部40は、複数のクラスタに分類した画像IMGを、対象物の輝度に拘わらず、面積のみに応じて3つのグループGに分けてもよい。この場合、画像IMG1、IMG4、IMG5、IMG8、IMG9、IMG12が大面積のグループGに属し、大面積のグループGが表示グループGとして選択される。また、閾値設定支援装置10は、撮像装置80と通信可能に接続される代わりに、撮像装置80で撮像された画像IMGを記憶する記憶装置と通信可能に接続されてもよい。   The configuration and operation of the threshold setting support apparatus 10 are not limited to the example shown in FIG. For example, the number of types of feature amounts representing the characteristics of the object may be two, or four or more. Also, the type of feature amount may be other than circularity, area, and luminance. Alternatively, the selection unit 40 sets, as the second feature, the image IMG classified based on the first feature amount by using one type other than the first feature amount among the plurality of types of feature amounts as the second feature amount. You may group based on quantity. For example, the selection unit 40 may divide the images IMG classified into a plurality of clusters into three groups G according to only the area, regardless of the luminance of the object. In this case, the images IMG1, IMG4, IMG5, IMG8, IMG9, and IMG12 belong to the large area group G, and the large area group G is selected as the display group G. Further, the threshold setting support device 10 may be communicably connected to a storage device that stores the image IMG captured by the image capturing device 80 instead of being communicably connected to the image capturing device 80.

以上、図1に示す実施形態では、閾値設定支援装置10は、対象物を含む複数の画像IMGから、対象物の特徴を表す複数種の特徴量を抽出する。そして、閾値設定支援装置10は、複数種の特徴量のうち、対象物を分別するための閾値が設定される第1の特徴量に基づいて、複数の画像IMGを複数のクラスタに分類する。さらに、閾値設定支援装置10は、複数のクラスタに分類した画像IMGのうち、複数のクラスタ間で共通の特徴を有する画像IMGを、複数種の特徴量のうちの第2の特徴量に基づいて抽出する。そして、閾値設定支援装置10は、複数のクラスタ間で共通の特徴を有する画像IMGのグループGの少なくとも1つを、表示グループGとして選択する。また、閾値設定支援装置10は、表示グループGに属する画像IMGを、第1の特徴量が示す値に基づいて並べて表示する。これにより、対象物を分別するための閾値の設定を容易にすることができる。   As described above, in the embodiment illustrated in FIG. 1, the threshold value setting support apparatus 10 extracts a plurality of types of feature amounts representing features of a target object from a plurality of images IMG including the target object. Then, the threshold setting support device 10 classifies the plurality of images IMG into a plurality of clusters based on a first feature amount for which a threshold value for classifying an object is set among a plurality of types of feature amounts. Further, the threshold setting support apparatus 10 selects an image IMG having a feature common to the plurality of clusters among the images IMG classified into the plurality of clusters based on the second feature amount among the plurality of types of feature amounts. Extract. Then, the threshold value setting support apparatus 10 selects at least one of the groups I of the image IMG having a common feature among a plurality of clusters as the display group G. Further, the threshold setting support device 10 displays the images IMG belonging to the display group G side by side based on the value indicated by the first feature amount. Thereby, the setting of the threshold value for classifying a target object can be made easy.

図2は、閾値設定支援装置の別の実施形態を示す。図1で説明した要素と同一または同様の要素については、同一または同様の符号を付し、これ等については、詳細な説明を省略する。図2に示す閾値設定支援装置100は、例えば、対象物を撮像装置80で撮像することにより得られる画像IMGを解析して対象物を分別する選別システム1に含まれる。図2に示す選別システム1は、閾値設定支援装置100に通信可能に接続される撮像装置80、表示装置90および入力装置92を有する。入力装置92は、例えば、マウスやキーボード等である。   FIG. 2 shows another embodiment of the threshold setting support apparatus. The same or similar elements as those described in FIG. 1 are denoted by the same or similar reference numerals, and detailed description thereof will be omitted. The threshold setting support apparatus 100 illustrated in FIG. 2 is included in, for example, the selection system 1 that analyzes an image IMG obtained by imaging an object with the imaging device 80 and classifies the object. The sorting system 1 illustrated in FIG. 2 includes an imaging device 80, a display device 90, and an input device 92 that are communicably connected to the threshold setting support device 100. The input device 92 is, for example, a mouse or a keyboard.

例えば、閾値設定支援装置100は、オペレータが閾値を選別システム1に設定する際に、閾値の設定を容易にするための閾値設定支援処理を実行する。なお、閾値設定支援装置100は、ハードウェアのみで実現されてもよく、ハードウェアをソフトウェアで制御することにより実現されてもよい。例えば、閾値設定支援プログラム等のソフトウェアで制御されるコンピュータが閾値設定支援装置100の閾値設定支援処理を実行してもよい。   For example, the threshold setting support device 100 executes threshold setting support processing for facilitating setting of the threshold when the operator sets the threshold in the sorting system 1. Note that the threshold setting support apparatus 100 may be realized only by hardware, or may be realized by controlling hardware by software. For example, a computer controlled by software such as a threshold setting support program may execute the threshold setting support processing of the threshold setting support device 100.

閾値設定支援装置100は、抽出部200、記憶部210、分類部300、選択部400、表示部500および閾値設定部600を有する。記憶部210は、メモリ等の記憶装置である。例えば、記憶部210は、対象物の特徴を表す特徴量が登録される特徴量データベース212、画像IMGが登録される画像データベース214等を記憶する。   The threshold setting support apparatus 100 includes an extraction unit 200, a storage unit 210, a classification unit 300, a selection unit 400, a display unit 500, and a threshold setting unit 600. The storage unit 210 is a storage device such as a memory. For example, the storage unit 210 stores a feature amount database 212 in which feature amounts representing features of an object are registered, an image database 214 in which images IMG are registered, and the like.

抽出部200は、図1に示した抽出部20と同一または同様である。例えば、抽出部200は、対象物が撮像された複数の画像IMGを撮像装置80から受け、対象物を含む複数の画像IMGから、対象物の特徴を表す複数種の特徴量を抽出する。そして、抽出部200は、画像IMGから抽出した複数種の特徴量を、画像IMGに対応付けて特徴量データベース212に登録する。また、抽出部200は、撮像装置80から受けた画像IMGを画像データベース214に登録する。   The extraction unit 200 is the same as or similar to the extraction unit 20 shown in FIG. For example, the extraction unit 200 receives a plurality of images IMG obtained by imaging the target object from the imaging device 80, and extracts a plurality of types of feature amounts representing the characteristics of the target object from the plurality of images IMG including the target object. Then, the extracting unit 200 registers a plurality of types of feature amounts extracted from the image IMG in the feature amount database 212 in association with the image IMG. Further, the extraction unit 200 registers the image IMG received from the imaging device 80 in the image database 214.

抽出部200が対象物から抽出する複数種の特徴量は、例えば、「高木幹雄、下田陽久:新編 画像解析ハンドブック、東京大学出版会、2004.」などに記載されている形状特徴、テクスチャ特徴、色特徴等であり、予め決められている。形状特徴は、面積、周囲長、円形度等であり、テクスチャ特徴は、輝度ヒストグラムの平均および分散、エッジ密度等であり、色特徴は、色ヒストグラムの平均および分散等である。なお、対象物から抽出する特徴量の種類は、上述の例に限定されない。   A plurality of types of feature amounts extracted from the object by the extraction unit 200 are, for example, shape features, texture features, and the like described in “Mikio Takagi, Yoshihisa Shimoda: New Image Analysis Handbook, University of Tokyo Press, 2004.” Color characteristics and the like, which are determined in advance. The shape features are area, perimeter, circularity, etc., the texture features are luminance histogram average and variance, edge density, etc., and the color features are color histogram average and variance, etc. Note that the type of feature amount extracted from the object is not limited to the above example.

分類部300は、図1に示した分類部30と同一または同様である。例えば、分類部300は、特徴量データベース212に登録された複数種の特徴量のうち、対象物を分別するための閾値が設定される第1の特徴量に基づいて、複数の画像IMGを複数のクラスタに分類する。なお、分類部300の動作の詳細は、図4で説明する。   The classification unit 300 is the same as or similar to the classification unit 30 shown in FIG. For example, the classification unit 300 generates a plurality of images IMG based on a first feature amount for which a threshold for classifying an object is set among a plurality of types of feature amounts registered in the feature amount database 212. Class. Details of the operation of the classification unit 300 will be described with reference to FIG.

選択部400は、図1に示した選択部40と同一または同様である。例えば、選択部400は、複数のクラスタに分類した画像IMGのうち、複数のクラスタ間で共通の特徴を有する画像IMGを、複数種の特徴量のうちの第2の特徴量に基づいて抽出する。そして、選択部400は、複数のクラスタ間で共通の特徴を有する画像IMGのグループGの少なくとも1つを、表示グループGとして選択する。なお、選択部400の動作の詳細は、図5で説明する。   The selection unit 400 is the same as or similar to the selection unit 40 shown in FIG. For example, the selection unit 400 extracts an image IMG having a feature common to the plurality of clusters from the images IMG classified into the plurality of clusters based on the second feature amount among the plurality of types of feature amounts. . Then, the selection unit 400 selects at least one of the groups I of the image IMG having features common to the plurality of clusters as the display group G. Details of the operation of the selection unit 400 will be described with reference to FIG.

表示部500は、図1に示した表示部50と同一または同様である。例えば、表示部500は、選択部400により選択された表示グループGに属する画像IMGを画像データベース214から取得する。そして、表示部500は、画像データベース214から取得した画像IMG、第1の特徴量を示す値に基づいて並べて表示装置90に表示する。なお、表示部500の動作の詳細は、図6および図7で説明する。   The display unit 500 is the same as or similar to the display unit 50 shown in FIG. For example, the display unit 500 acquires the image IMG belonging to the display group G selected by the selection unit 400 from the image database 214. The display unit 500 displays the image IMG acquired from the image database 214 on the display device 90 side by side based on the value indicating the first feature amount. Details of the operation of the display unit 500 will be described with reference to FIGS.

閾値設定部600は、例えば、表示装置90に表示された複数の画像IMGのうちの良品画像IMGを示す情報SINFを入力装置92から受ける。そして、閾値設定部600は、例えば、表示装置90に表示された複数の画像IMGのうちの良品画像IMGから抽出された第1の特徴量を示す値等に基づいて、第1の特徴量の閾値を設定する。例えば、オペレータは、表示装置90に表示された複数の画像IMGを目視で確認して、表示装置90に表示された複数の画像IMGのうち、良品画像IMGをマウス等の入力装置92を用いて選択する。そして、入力装置92は、オペレータにより選択された良品画像IMGを示す情報SINFを閾値設定部600等に出力する。閾値設定部600は、入力装置92から受ける情報SINFに基づいて、第1の特徴量の閾値を設定する。例えば、閾値設定部600は、第1の特徴量の閾値を記憶部210等に記憶する。   The threshold value setting unit 600 receives, for example, information SINF indicating the non-defective image IMG among the plurality of images IMG displayed on the display device 90 from the input device 92. Then, the threshold setting unit 600, for example, based on a value indicating the first feature amount extracted from the non-defective image IMG among the plurality of images IMG displayed on the display device 90, and the like. Set the threshold. For example, the operator visually confirms the plurality of images IMG displayed on the display device 90, and among the plurality of images IMG displayed on the display device 90, the operator uses the input device 92 such as a mouse. select. Then, the input device 92 outputs information SINF indicating the non-defective image IMG selected by the operator to the threshold setting unit 600 or the like. The threshold setting unit 600 sets the first feature amount threshold based on the information SINF received from the input device 92. For example, the threshold setting unit 600 stores the first feature amount threshold in the storage unit 210 or the like.

なお、閾値設定支援装置100の構成は、図2に示す例に限定されない。例えば、撮像装置80で撮像された画像IMGは、対象物の特徴を表す複数種の特徴量が抽出される前に、画像データベース214に登録されてもよい。この場合、抽出部200は、対象物が撮像された複数の画像IMGを画像データベース214から取得し、画像データベース214から取得した複数の画像IMGから、対象物の特徴を表す複数種の特徴量を抽出してもよい。また、特徴量データベース212は、画像データベース214に含まれてもよい。すなわち、画像データベース214は、画像IMGの他に、特徴量データベース212に登録される項目を有してもよい。また、閾値設定支援装置100は、撮像装置80と通信可能に接続される代わりに、撮像装置80で撮像された画像IMGを記憶する外部の記憶装置と通信可能に接続されてもよい。   The configuration of the threshold setting support apparatus 100 is not limited to the example illustrated in FIG. For example, the image IMG captured by the imaging device 80 may be registered in the image database 214 before a plurality of types of feature amounts representing the characteristics of the object are extracted. In this case, the extraction unit 200 acquires a plurality of images IMG obtained by imaging the target object from the image database 214, and extracts a plurality of types of feature amounts representing the characteristics of the target object from the plurality of images IMG acquired from the image database 214. It may be extracted. Further, the feature amount database 212 may be included in the image database 214. That is, the image database 214 may have items registered in the feature amount database 212 in addition to the image IMG. Further, the threshold setting support device 100 may be communicably connected to an external storage device that stores the image IMG captured by the image capturing device 80 instead of being communicably connected to the image capturing device 80.

図3は、図2に示した特徴量データベース212の一例を示す。特徴量データベース212には、対象物の特徴を表す特徴量が抽出された画像IMG毎に、対象物識別番号、画像ファイル名および特徴量をそれぞれ示すデータを含むデータ群DGが登録される。   FIG. 3 shows an example of the feature amount database 212 shown in FIG. In the feature amount database 212, a data group DG including data indicating the object identification number, the image file name, and the feature amount is registered for each image IMG from which the feature amount representing the feature of the object is extracted.

対象物識別番号は、対象物を識別するための識別番号である。例えば、同一の閾値が設定される対象物等の同一の品種の対象物には、同一の識別番号が付与される。画像ファイル名は、特徴量の抽出に使用した画像IMGのファイル名である。特徴量は、画像ファイル名が示す画像IMGから抽出した対象物の特徴を表す特徴量である。図3に示す例では、対象物の面積、周囲長、円形度、エッジ密度等が特徴量として特徴量データベース212に登録される。   The object identification number is an identification number for identifying the object. For example, the same identification number is assigned to an object of the same product type such as an object for which the same threshold is set. The image file name is the file name of the image IMG used for extracting the feature amount. The feature amount is a feature amount representing the feature of the object extracted from the image IMG indicated by the image file name. In the example illustrated in FIG. 3, the area, perimeter, circularity, edge density, and the like of the object are registered in the feature amount database 212 as feature amounts.

なお、特徴量データベース212に登録される項目は、図3に示す例に限定されない。例えば、閾値設定支援装置100が特徴量データベース212を同一の品種の対象物毎に有する場合、対象物識別番号は、特徴量データベース212に登録する項目から省かれてもよい。   The items registered in the feature amount database 212 are not limited to the example shown in FIG. For example, when the threshold setting support apparatus 100 has the feature amount database 212 for each target of the same product type, the target object identification number may be omitted from items registered in the feature amount database 212.

図4は、図2に示した分類部300の動作の一例を示す。なお、図4では、対象物の特徴を分かり易くするために、データ群DGの上側に示す括弧内に、データ群DGに対応する画像IMGを図示している。データ群DGは、図3で説明したように、画像ファイル名、特徴量等を示すデータを有する。また、データ群DGに対応する画像IMGは、データ群DGに含まれる画像ファイル名で指定される画像IMGである。   FIG. 4 shows an example of the operation of the classification unit 300 shown in FIG. In FIG. 4, in order to make the characteristics of the object easy to understand, an image IMG corresponding to the data group DG is shown in parentheses shown above the data group DG. As described with reference to FIG. 3, the data group DG includes data indicating image file names, feature amounts, and the like. Further, the image IMG corresponding to the data group DG is an image IMG designated by an image file name included in the data group DG.

分類部300は、特徴量データベース212から所定のデータ群DG(DG20−DG34)を取得する。例えば、分類部300は、特徴量データベース212に登録されたデータ群DGのうち、閾値の設定対象の対象物に対応するデータ群DGを特徴量データベース212から取得する。なお、特徴量データベース212が同一の品種の対象物毎に設けられる場合、分類部300は、閾値の設定対象の対象物に対応する特徴量データベース212から全てのデータ群DGを取得してもよい。   The classification unit 300 acquires a predetermined data group DG (DG20-DG34) from the feature amount database 212. For example, the classification unit 300 acquires, from the feature amount database 212, a data group DG corresponding to a target for which a threshold is to be set among the data groups DG registered in the feature amount database 212. When the feature amount database 212 is provided for each target of the same product type, the classification unit 300 may acquire all data groups DG from the feature amount database 212 corresponding to the target for which a threshold is set. .

また、分類部300は、対象物の特徴を表す複数種の特徴量から、閾値を設定する第1の特徴量を選択する。なお、分類部300は、複数種の特徴量から第1の特徴量を、オペレータからの指示に基づいて選択してもよいし、予め決められた順番に基づいて選択してもよい。そして、分類部300は、特徴量データベース212から取得したデータ群DG20−DG34を第1の特徴量を示す値でクラスタリングする。   In addition, the classification unit 300 selects a first feature amount for setting a threshold from a plurality of types of feature amounts representing features of the object. The classification unit 300 may select the first feature amount from a plurality of types of feature amounts based on an instruction from the operator, or may select the first feature amount based on a predetermined order. Then, the classification unit 300 clusters the data group DG20 to DG34 acquired from the feature amount database 212 with a value indicating the first feature amount.

例えば、分類部300は、閾値を設定する第1の特徴量として円形度を選択する。そして、分類部300は、特徴量データベース212から取得したデータ群DG20−DG34を円形度の値でクラスタリングする。これにより、データ群DG21、DG22、DG23は、円形度“0.85”のクラスタに分類され、データ群DG27、DG29、DG33は、円形度“0.90”のクラスタに分類される。また、データ群DG24、DG26、DG31、DG34は、円形度“0.95”のクラスタに分類され、データ群DG20、DG25、DG28、DG30、DG32は、円形度“1”のクラスタに分類される。   For example, the classification unit 300 selects the circularity as the first feature value for setting the threshold value. Then, the classification unit 300 clusters the data groups DG20 to DG34 acquired from the feature amount database 212 with circularity values. Thus, the data groups DG21, DG22, and DG23 are classified into clusters having a circularity of “0.85”, and the data groups DG27, DG29, and DG33 are classified into clusters having a circularity of “0.90”. The data groups DG24, DG26, DG31, and DG34 are classified into clusters with a circularity of “0.95”, and the data groups DG20, DG25, DG28, DG30, and DG32 are classified into clusters with a circularity of “1”. .

このように、分類部300は、対象物の特徴を表す複数種の特徴量のうち、対象物を分別するための閾値が設定される第1の特徴量に基づいて、複数のデータ群DGを複数のクラスタに分類する。これにより、複数のデータ群DGにそれぞれ対応する複数の画像IMGも第1の特徴量に基づいて複数のクラスタに分類される。すなわち、分類部300は、抽出部200で抽出された複数種の特徴量のうち、対象物を分別するための閾値が設定される第1の特徴量に基づいて、複数の画像IMGを複数のクラスタに分類する。なお、分類部300の動作は、図4に示す例に限定されない。   In this manner, the classification unit 300 selects a plurality of data groups DG based on the first feature amount in which a threshold value for sorting the object is set among the plurality of types of feature amounts representing the feature of the object. Classify into multiple clusters. Thereby, the plurality of images IMG respectively corresponding to the plurality of data groups DG are also classified into a plurality of clusters based on the first feature amount. In other words, the classification unit 300 converts a plurality of images IMG into a plurality of images based on a first feature amount in which a threshold for classifying an object is set among a plurality of types of feature amounts extracted by the extraction unit 200. Classify into clusters. The operation of the classification unit 300 is not limited to the example shown in FIG.

図5は、図2に示した選択部400の動作の一例を示す。なお、図5では、図4と同様に、対象物の特徴を分かり易くするために、データ群DGの上側に示す括弧内に、データ群DGに対応する画像IMGを図示している。また、図5では、図を見やすくするために、画像IMG20以外の画像IMGの符号の記載を省略している。図5では、円形度、面積、輝度、エッジ密度の4種類を抽出部200で抽出された複数種の特徴量とし、第1の特徴量を円形度とし、第2の特徴量を面積、輝度およびエッジ密度の3種類の特徴量として説明する。   FIG. 5 shows an example of the operation of the selection unit 400 shown in FIG. In FIG. 5, as in FIG. 4, the image IMG corresponding to the data group DG is illustrated in parentheses shown above the data group DG in order to make the features of the object easy to understand. In FIG. 5, in order to make the drawing easy to see, the reference numerals of the images IMG other than the image IMG20 are omitted. In FIG. 5, four types of circularity, area, luminance, and edge density are set as a plurality of types of feature amounts extracted by the extraction unit 200, the first feature amount is set as circularity, and the second feature amount is set as area and luminance. It will be described as three types of feature amounts of edge density.

先ず、選択部400は、分類部300により複数のクラスタに分類されたデータ群DG(DG20−DG34)を、共通の特徴でグループ化する。例えば、選択部400は、第2の特徴量である面積、輝度およびエッジ密度を示すそれぞれのデータをクラスタ間で比較し、同一の特徴を有するデータ群DGをグループ化する。なお、複数のクラスタに分類されたデータ群DGをグループ化することにより、複数のクラスタに分類されたデータ群DGにそれぞれ対応する複数の画像IMGもグループ化される。   First, the selection unit 400 groups the data group DG (DG20-DG34) classified into a plurality of clusters by the classification unit 300 with common features. For example, the selection unit 400 compares each data indicating the area, brightness, and edge density, which are the second feature amounts, between the clusters, and groups the data groups DG having the same features. Note that by grouping the data groups DG classified into a plurality of clusters, a plurality of images IMG respectively corresponding to the data groups DG classified into the plurality of clusters are also grouped.

図5に示す例では、画像IMGから抽出された対象物の面積は、図1と同様に、小面積、中面積および大面積のいずれかに区分される。また、画像IMGから抽出された対象物の輝度は、予め決められた第1の輝度値以上の場合、高輝度に区分され、第1の輝度値未満で予め決められた第2の輝度値以上の場合、中輝度に区分され、第2の輝度値未満の場合、低輝度に区分される。そして、画像IMGから抽出された対象物のエッジ密度は、所定のエッジ密度以上の場合、高エッジ密度に区分され、所定のエッジ密度未満の場合、低エッジ密度に区分される。例えば、第2の特徴量が示す特徴は、面積の3つの区分と輝度の3つの区分とエッジ密度の2つの区分との組み合わせで表される。   In the example shown in FIG. 5, the area of the object extracted from the image IMG is divided into one of a small area, a medium area, and a large area, as in FIG. 1. In addition, when the luminance of the object extracted from the image IMG is equal to or higher than a predetermined first luminance value, the luminance is classified as high luminance and is equal to or higher than a predetermined second luminance value less than the first luminance value. In the case of, it is classified into medium luminance, and when it is less than the second luminance value, it is classified into low luminance. When the edge density of the object extracted from the image IMG is equal to or higher than the predetermined edge density, the edge density is classified as a high edge density. When the edge density is lower than the predetermined edge density, the edge density is classified as a low edge density. For example, the feature indicated by the second feature amount is represented by a combination of three sections of area, three sections of luminance, and two sections of edge density.

グループG10−G15は、面積の3つの区分と輝度の3つの区分とエッジ密度の2つの区分との組み合わせのいずれかに対応する。データ群DG20−DG34は、面積、輝度およびエッジ密度に応じて分類された6つのグループG10−G15のいずれかに属する。なお、図5では、データ群DG20−DG34のいずれも含まないグループG(例えば、小面積、高輝度かつ高エッジ密度を示す特徴を有するデータ群DGのグループG等)の記載を省略している。また、面積の区分数、輝度の区分数およびエッジ密度の区分数は、図5に示す例に限定されない。   The groups G10 to G15 correspond to any of combinations of three sections of area, three sections of luminance, and two sections of edge density. Data group DG20-DG34 belongs to one of six groups G10-G15 classified according to area, brightness, and edge density. In FIG. 5, the description of the group G that does not include any of the data groups DG20 to DG34 (for example, the group G of the data group DG having a small area, high brightness, and high edge density) is omitted. . The number of area sections, the number of brightness sections, and the number of edge density sections are not limited to the example shown in FIG.

グループG10、G11は、データ群DGを含むクラスタを3つ含み、グループG12は、データ群DGを含むクラスタを1つ含み、グループG13は、データ群DGを含むクラスタを4つ含み、グループG14、G15は、データ群DGを含むクラスタを2つ含む。   The groups G10 and G11 include three clusters including the data group DG, the group G12 includes one cluster including the data group DG, the group G13 includes four clusters including the data group DG, the group G14, G15 includes two clusters including the data group DG.

例えば、グループG10は、画像IMGから抽出された対象物の面積、輝度およびエッジ密度がそれぞれ小面積、高輝度および低エッジ密度である特徴量を有するデータ群DGのグループGであり、データ群DG23、DG24、DG28を含む。すなわち、データ群DG23、DG24、DG28は、同一の特徴(小面積、高輝度かつ低エッジ密度を示す特徴)を有するデータ群DGである。換言すれば、小面積、高輝度かつ低エッジ密度を示す特徴は、互いに異なるクラスタに分類されたデータ群DG23、DG24、DG28で共通する特徴である。   For example, the group G10 is a group G of the data group DG having a feature amount in which the area, luminance, and edge density of the object extracted from the image IMG are a small area, high luminance, and low edge density, respectively, and the data group DG23 , DG24, and DG28. That is, the data groups DG23, DG24, and DG28 are data groups DG having the same features (features that exhibit a small area, high luminance, and low edge density). In other words, the feature indicating a small area, high luminance, and low edge density is a feature common to the data groups DG23, DG24, and DG28 classified into different clusters.

また、例えば、グループG13は、画像IMGから抽出された対象物の面積、輝度およびエッジ密度がそれぞれ大面積、中輝度および低エッジ密度である特徴量を有するデータ群DGのグループGであり、データ群DG22、DG27、DG26、DG30を含む。すなわち、データ群DG22、DG27、DG26、DG30は、同一の特徴(大面積、中輝度かつ低エッジ密度を示す特徴)を有するデータ群DGである。換言すれば、大面積、中輝度かつ低エッジ密度を示す特徴は、互いに異なるクラスタに分類されたデータ群DG22、DG27、DG26、DG30で共通する特徴である。   Further, for example, the group G13 is a group G of the data group DG having a feature amount in which the area, luminance, and edge density of the object extracted from the image IMG are large area, medium luminance, and low edge density, respectively. Includes groups DG22, DG27, DG26, DG30. That is, the data groups DG22, DG27, DG26, and DG30 are data groups DG having the same features (features that exhibit large area, medium luminance, and low edge density). In other words, the feature indicating large area, medium luminance, and low edge density is a feature common to the data groups DG22, DG27, DG26, and DG30 classified into different clusters.

また、例えば、グループG15は、画像IMGから抽出された対象物の面積、輝度およびエッジ密度がそれぞれ中面積、高輝度および高エッジ密度である特徴量を有するデータ群DGのグループGであり、データ群DG34、DG32を含む。すなわち、データ群DG34、DG32は、同一の特徴(中面積、高輝度かつ高エッジ密度を示す特徴)を有するデータ群DGである。換言すれば、中面積、高輝度かつ高エッジ密度を示す特徴は、互いに異なるクラスタに分類されたデータ群DG34、DG32で共通する特徴である。   Further, for example, the group G15 is a group G of the data group DG having a feature amount in which the area, luminance, and edge density of the object extracted from the image IMG are medium area, high luminance, and high edge density, respectively. Groups DG34 and DG32 are included. That is, the data groups DG34 and DG32 are data groups DG having the same features (features showing medium area, high luminance, and high edge density). In other words, the features showing medium area, high brightness, and high edge density are features common to the data groups DG34 and DG32 classified into different clusters.

このように、選択部400は、第2の特徴量が示す特徴(面積の3つの区分と輝度の3つの区分とエッジ密度の2つの区分との組み合わせ)毎にデータ群DGをグループ化する。そして、選択部400は、複数のクラスタ間で共通の特徴を有するデータ群DGのグループGとして、グループG10、G11、G13、G14、G15を抽出する。   As described above, the selection unit 400 groups the data group DG for each feature (combination of three sections of area, three sections of luminance, and two sections of edge density) indicated by the second feature amount. Then, the selection unit 400 extracts groups G10, G11, G13, G14, and G15 as the group G of the data group DG that has features common to a plurality of clusters.

次に、選択部400は、表示画像特徴量を選択する。表示画像特徴量は、表示する画像IMGの特徴量である。すなわち、表示画像特徴量は、表示グループGに属するデータ群DGに共通する特徴を表す特徴量である。例えば、選択部400は、表示装置90に表示する画像IMGを含む表示グループGを選択する。これにより、表示画像特徴量が選択される。   Next, the selection unit 400 selects a display image feature amount. The display image feature amount is a feature amount of the image IMG to be displayed. That is, the display image feature amount is a feature amount representing a feature common to the data group DG belonging to the display group G. For example, the selection unit 400 selects the display group G that includes the image IMG to be displayed on the display device 90. Thereby, the display image feature amount is selected.

例えば、選択部400は、グループG10、G11、G13、G14、G15のうち、共通の特徴を有するデータ群DGを含むクラスタの数が最も多いグループG13を、表示グループG13として選択する。そして、選択部400は、表示グループG13に属するデータ群DGに共通する特徴(大面積、中輝度かつ低エッジ密度を示す特徴)を、表示画像特徴量として記憶部210等に記憶する。すなわち、選択部400は、大面積に区分される面積、中輝度に区分される輝度値、高エッジ密度に区分されるエッジ密度を有する組み合わせの特徴量を、表示画像特徴量として記憶部210等に記憶する。   For example, the selection unit 400 selects, as the display group G13, the group G13 having the largest number of clusters including the data group DG having common characteristics among the groups G10, G11, G13, G14, and G15. Then, the selection unit 400 stores features common to the data group DG belonging to the display group G13 (features indicating large area, medium luminance, and low edge density) in the storage unit 210 and the like as display image feature amounts. That is, the selection unit 400 stores, as a display image feature quantity, a combination feature quantity having an area divided into a large area, a luminance value classified into a medium brightness, and an edge density classified into a high edge density, as the storage section 210 and the like. To remember.

このように、選択部400は、複数のクラスタに分類したデータ群DGのうち、複数のクラスタ間で共通の特徴を有するデータ群DGを、複数種の特徴量のうちの第2の特徴量(例えば、面積、輝度およびエッジ密度)に基づいて抽出する。そして、選択部400は、複数のクラスタ間で共通の特徴を有するデータ群DGのグループGの少なくとも1つを、表示グループGとして選択する。すなわち、選択部400は、複数のクラスタに分類した画像IMGのうち、複数のクラスタ間で共通の特徴を有する画像IMGを、複数種のうちの第2の特徴量に基づいて抽出する。そして、選択部400は、複数のクラスタ間で共通の特徴を有する画像IMGのグループGの少なくとも1つを、表示グループGとして選択する。なお、選択部400の動作は、図5に示す例に限定されない。   As described above, the selection unit 400 selects, from the data group DG classified into a plurality of clusters, the data group DG having a common feature among the plurality of clusters as the second feature amount (a plurality of feature amounts). For example, extraction is performed based on area, luminance, and edge density. Then, the selection unit 400 selects at least one of the groups G of the data group DG having a common feature among a plurality of clusters as the display group G. That is, the selection unit 400 extracts an image IMG having a feature common to the plurality of clusters from the images IMG classified into the plurality of clusters based on the second feature amount of the plurality of types. Then, the selection unit 400 selects at least one of the groups I of the image IMG having features common to the plurality of clusters as the display group G. Note that the operation of the selection unit 400 is not limited to the example shown in FIG.

図6は、図2に示した表示部500および閾値設定部600の動作の一例を示す。なお、図6に示す表示部500の動作は、表示グループGに属する画像IMGの数が所定の数以下の場合の表示部500の動作である。図6に示す例では、所定の数として、“5”が予め設定されている。なお、所定の数は、“5”に限定されない。また、図6では、図5に示したグループG13が表示グループGとして選択された場合を例にして、表示部500および閾値設定部600の動作を説明する。   FIG. 6 shows an example of operations of the display unit 500 and the threshold setting unit 600 shown in FIG. The operation of the display unit 500 illustrated in FIG. 6 is the operation of the display unit 500 when the number of images IMG belonging to the display group G is equal to or less than a predetermined number. In the example shown in FIG. 6, “5” is preset as the predetermined number. The predetermined number is not limited to “5”. In FIG. 6, the operations of the display unit 500 and the threshold setting unit 600 will be described by taking as an example the case where the group G13 illustrated in FIG. 5 is selected as the display group G.

先ず、表示部500は、選択部400により選択された表示画像特徴量(図5に示した表示グループG13では、大面積、中輝度かつ低エッジ密度を示す特徴)を有するデータ群DGに対応する画像IMGを、画像データベース214から取得する。すなわち、表示部500は、選択部400により選択された表示グループG13に属する画像IMG22、IMG27、IMG26、IMG30を、画像データベース214から取得する。これにより、選択部400により選択された表示画像特徴量を有する画像IMGが表示候補の画像IMGとして抽出される。同一のクラスタ内で同一の表示画像特徴量を有するデータが複数存在する場合は、その中から1つのデータを抽出してもよい。   First, the display unit 500 corresponds to the data group DG having the display image feature amount selected by the selection unit 400 (in the display group G13 shown in FIG. 5, the feature having a large area, medium luminance, and low edge density). An image IMG is acquired from the image database 214. That is, the display unit 500 acquires the images IMG22, IMG27, IMG26, and IMG30 belonging to the display group G13 selected by the selection unit 400 from the image database 214. Accordingly, the image IMG having the display image feature amount selected by the selection unit 400 is extracted as the display candidate image IMG. When there are a plurality of data having the same display image feature amount in the same cluster, one data may be extracted from the data.

次に、表示部500は、表示候補の画像IMGの数が“5”以下であるため、画像データベース214から取得した表示候補の全ての画像IMG22、IMG27、IMG26、IMG30を、円形度の値順に並べて表示装置90に表示する。すなわち、表示部500は、選択部400により選択された表示グループGに属する画像IMGを、第1の特徴量が示す値順に並べて表示装置90に表示する。このように、複数の画像IMGが第1の特徴量が示す値(例えば、円形度の値)に基づいて並べて表示されるため、複数の画像IMGがランダムな順に並べて表示される場合に比べて、第1の特徴量の比較を容易にすることができる。   Next, since the number of display candidate images IMG is “5” or less, the display unit 500 displays all the display candidate images IMG22, IMG27, IMG26, and IMG30 acquired from the image database 214 in the order of the circularity values. They are displayed side by side on the display device 90. That is, the display unit 500 displays the images IMG belonging to the display group G selected by the selection unit 400 on the display device 90 in the order of the values indicated by the first feature amount. As described above, since the plurality of images IMG are displayed side by side based on the value (for example, the value of circularity) indicated by the first feature amount, compared to the case where the plurality of images IMG are displayed side by side in a random order. The comparison of the first feature amount can be facilitated.

次に、閾値設定部600は、良品の範囲を示す情報を取得する。例えば、オペレータは、表示装置90に表示された画像IMG22、IMG27、IMG26、IMG30を目視で確認する。そして、オペレータは、表示装置90に表示された画像IMG22、IMG27、IMG26、IMG30のうち、良品画像IMG26、IMG30をマウス等の入力装置92を用いて選択する。これにより、入力装置92は、オペレータにより選択された良品画像IMG26、IMG30を示す情報SINFを閾値設定部600等に出力する。そして、閾値設定部600は、表示装置90に表示された複数の画像IMGのうちの良品のIMG26、IMG30を示す情報SINFを入力装置92から受ける。良品画像IMG26、IMG30を示す情報SINFは、良品の範囲を示す情報である。なお、良品画像IMGを示す情報SINFは、複数の画像IMGを分別した結果を示す情報の一例である。   Next, the threshold setting unit 600 acquires information indicating the non-defective range. For example, the operator visually checks the images IMG22, IMG27, IMG26, and IMG30 displayed on the display device 90. Then, the operator selects the non-defective images IMG26 and IMG30 among the images IMG22, IMG27, IMG26, and IMG30 displayed on the display device 90 by using the input device 92 such as a mouse. Thereby, the input device 92 outputs information SINF indicating the non-defective images IMG26 and IMG30 selected by the operator to the threshold setting unit 600 and the like. The threshold setting unit 600 receives information SINF indicating the non-defective IMG 26 and IMG 30 among the plurality of images IMG displayed on the display device 90 from the input device 92. The information SINF indicating the non-defective images IMG26 and IMG30 is information indicating the range of non-defective products. Note that the information SINF indicating the non-defective image IMG is an example of information indicating a result of sorting a plurality of images IMG.

次に、閾値設定部600は、第1の特徴量の閾値を、入力装置92から受ける情報SINF(良品の範囲)に基づいて設定する。例えば、閾値設定部600は、入力装置92から受けた情報SINFが示す良品の範囲が円形度“0.95”のクラスタに含まれる画像IMG26と円形度“1”のクラスタに含まれる画像IMG30であるため、円形度の閾値を“0.95”に設定する。この場合、円形度が“0.95”未満の対象物は不良品に分別され、円形度が“0.95”以上で“1”以下の対象物は良品に分別される。   Next, the threshold setting unit 600 sets the threshold of the first feature amount based on information SINF (non-defective range) received from the input device 92. For example, the threshold value setting unit 600 includes an image IMG26 included in a cluster having a circularity “0.95” and an image IMG30 included in a cluster having a circularity “1” as indicated by the information SINF received from the input device 92. Therefore, the circularity threshold is set to “0.95”. In this case, an object having a circularity of less than “0.95” is classified as a defective product, and an object having a circularity of “0.95” or more and “1” or less is classified as a non-defective product.

なお、例えば、良品の範囲が円形度“0.90”のクラスタに含まれる画像IMG27と円形度“0.95”のクラスタに含まれる画像IMG26の場合、閾値設定部600は、円形度の下限および上限の閾値をそれぞれ“0.90”および“0.95”に設定する。この場合、円形度が“0.90”未満の対象物および円形度が“0.95”より大きい対象物は不良品に分別され、円形度が“0.90”以上で“0.95”以下の対象物は良品に分別される。   Note that, for example, in the case of the image IMG27 included in the cluster having the circularity “0.90” and the image IMG26 included in the cluster having the circularity “0.95”, the threshold setting unit 600 sets the lower limit of the circularity. And the upper threshold are set to “0.90” and “0.95”, respectively. In this case, an object having a circularity of less than “0.90” and an object having a circularity of greater than “0.95” are classified into defective products, and the circularity is “0.90” or more and “0.95”. The following objects are classified into non-defective products.

このように、閾値設定部600は、入力装置92から受ける情報SINFに基づいて、第1の特徴量の閾値を設定する。閾値設定支援装置100では、オペレータが目視で確認する画像IMGの数を、画像IMG20−IMG34の全ての画像IMGを目視で確認する場合に比べて低減できるため、対象物を分別するための閾値の設定を容易にすることができる。なお、表示部500および閾値設定部600の動作は、図6に示す例に限定されない。   As described above, the threshold setting unit 600 sets the first feature amount threshold based on the information SINF received from the input device 92. In the threshold setting support device 100, the number of images IMG visually confirmed by the operator can be reduced as compared with the case where all the images IMG20 to IMG34 are visually confirmed. Setting can be facilitated. The operations of display unit 500 and threshold setting unit 600 are not limited to the example shown in FIG.

図7は、図2に示した表示部500の動作の別の例を示す。なお、図7に示す表示部500の動作は、表示グループGに属する画像IMGの数が所定の数より多い場合の表示部500の動作である。図7に示す例では、所定の数として、“5”が予め設定されている。なお、所定の数は、“5”に限定されない。図7では、9つの画像IMG40、IMG41、IMG42、IMG43、IMG44、IMG45、IMG46、IMG47、IMG48が表示グループGに属する場合を例にして、表示部500の動作を説明する。   FIG. 7 shows another example of the operation of the display unit 500 shown in FIG. 7 is an operation of the display unit 500 when the number of images IMG belonging to the display group G is greater than a predetermined number. In the example shown in FIG. 7, “5” is preset as the predetermined number. The predetermined number is not limited to “5”. In FIG. 7, the operation of the display unit 500 will be described by taking as an example the case where nine images IMG40, IMG41, IMG42, IMG43, IMG44, IMG45, IMG46, IMG47, and IMG48 belong to the display group G.

画像IMG40、IMG41、IMG42、IMG43からそれぞれ抽出される対象物の円形度は、それぞれ、“0.85”、“0.90”、“0.93”および“0.95”である。また、画像IMG44、IMG45、IMG46、IMG47、IMG48からそれぞれ抽出される対象物の円形度は、それぞれ、“0.96”、“0.97”、“0.98”、“0.99”および“1”である。画像IMG40−IMG48は、それぞれの円形度に応じたクラスタに分類される。   The circularity of the object extracted from each of the images IMG40, IMG41, IMG42, and IMG43 is “0.85”, “0.90”, “0.93”, and “0.95”, respectively. The circularity of the object extracted from each of the images IMG44, IMG45, IMG46, IMG47, and IMG48 is “0.96”, “0.97”, “0.98”, “0.99”, and “1”. The images IMG40 to IMG48 are classified into clusters according to their circularity.

先ず、表示部500は、選択部400により選択された表示画像特徴量を有するデータ群DGに対応する画像IMG、すなわち、表示グループGに属する画像IMG40−IMG48を、画像データベース214から取得する。これにより、選択部400により選択された表示画像特徴量を有する9つの画像IMG40−IMG48が表示候補の画像IMGとして抽出される。   First, the display unit 500 acquires the image IMG corresponding to the data group DG having the display image feature amount selected by the selection unit 400, that is, the images IMG40 to IMG48 belonging to the display group G from the image database 214. Accordingly, nine images IMG40-IMG48 having the display image feature amount selected by the selection unit 400 are extracted as display candidate images IMG.

次に、表示部500は、表示候補の画像IMGの数が“5”より多いため、画像データベース214から取得した表示候補の画像IMG40−IMG48から、5つ(所定の数)の画像IMG40、IMG41、IMG43、IMG45、IMG48を選択する。そして、表示部500は、5つの画像IMG40、IMG41、IMG43、IMG45、IMG48を円形度の値順に並べて表示装置90に表示する。   Next, since the number of display candidate images IMG is greater than “5”, the display unit 500 includes five (predetermined number) images IMG40 and IMG41 from the display candidate images IMG40 to IMG48 acquired from the image database 214. , IMG43, IMG45, and IMG48 are selected. The display unit 500 displays the five images IMG40, IMG41, IMG43, IMG45, and IMG48 on the display device 90 in the order of the circularity values.

例えば、表示部500は、画像IMGを最初に表示する場合、良品の範囲が不明であるため、円形度が最小な画像IMG40と円形度が最大な画像IMG48とを、5つの画像IMGのうちの2つの画像IMGとして選択する。そして、表示部500は、表示候補の画像IMGの範囲に対応する円形度の範囲(“0.85”から“1”の範囲)を4つに分割した場合の円形度の刻みができるだけ均等になるように、5つの画像IMGのうちの残りの3つの画像IMGを選択する。これにより、表示候補の画像IMG40−IMG48のうちの5つの画像IMG40、IMG41、IMG43、IMG45、IMG48が円形度の値順に並べて表示装置90に表示される。   For example, when displaying the image IMG for the first time, the display unit 500 does not know the range of the non-defective product. Therefore, the image IMG 40 having the smallest circularity and the image IMG48 having the largest circularity are selected from among the five images IMG. Select as two images IMG. Then, the display unit 500 makes the increments of the circularity when the circularity range (the range of “0.85” to “1”) corresponding to the range of the display candidate image IMG is divided into four as evenly as possible. Thus, the remaining three images IMG are selected from the five images IMG. Accordingly, five images IMG40, IMG41, IMG43, IMG45, and IMG48 among the display candidate images IMG40 to IMG48 are displayed on the display device 90 in the order of the circularity values.

例えば、オペレータは、表示装置90に表示された画像IMG40、IMG41、IMG43、IMG45、IMG48を目視で確認する。そして、オペレータは、表示装置90に表示された画像IMG40、IMG41、IMG43、IMG45、IMG48のうち、良品画像IMG48を、入力装置92を用いて選択する。これにより、入力装置92は、オペレータにより選択された良品画像IMG48を示す情報SINFを表示部500等に出力する。そして、表示部500は、表示装置90に表示された複数の画像IMGのうちの良品画像IMG48を示す情報SINF(良品の範囲を示す情報SINF)を入力装置92から受ける。   For example, the operator visually confirms the images IMG40, IMG41, IMG43, IMG45, and IMG48 displayed on the display device 90. Then, the operator uses the input device 92 to select the non-defective image IMG48 among the images IMG40, IMG41, IMG43, IMG45, and IMG48 displayed on the display device 90. As a result, the input device 92 outputs information SINF indicating the non-defective image IMG 48 selected by the operator to the display unit 500 or the like. Then, the display unit 500 receives information SINF (information SINF indicating a non-defective product range) indicating the non-defective image IMG48 among the plurality of images IMG displayed on the display device 90 from the input device 92.

良品画像IMG48を示す情報SINFを受けた表示部500は、表示装置90に並べて表示した画像IMG40、IMG41、IMG43、IMG45、IMG48のうち、良品と不良品の境界の両側に位置する画像IMG45、IMG48を特定する。すなわち、画像IMG45、IMG48は、分別の境界の両側に位置する第1の画像IMGおよび第2の画像IMGの一例である。   Upon receiving the information SINF indicating the non-defective image IMG 48, the display unit 500 receives the images IMG 45, IMG 48 located on both sides of the boundary between the non-defective product and the defective product among the images IMG 40, IMG 41, IMG 43, IMG 45, and IMG 48 displayed side by side on the display device 90. Is identified. That is, the images IMG45 and IMG48 are examples of the first image IMG and the second image IMG located on both sides of the separation boundary.

境界の両側に位置する画像IMGとして特定された画像IMG45、IMG48のそれぞれの円形度は、再抽出する表示候補の画像IMGの範囲に対応する円形度の範囲の始点および終点に対応する。例えば、表示部500は、円形度の値順に画像IMGを並べた場合に画像IMG45、IMG48の一方から他方までの間に位置する4つの画像IMG45、IMG46、IMG47、IMG48を、表示候補の画像IMGとして再抽出する。そして、表示部500は、表示候補の画像IMGの数が“5”以下であるため、再抽出した表示候補の全ての画像IMG45、IMG46、IMG47、IMG48を、円形度の値順に並べて表示装置90に表示する。   The circularity of each of the images IMG45 and IMG48 specified as the images IMG located on both sides of the boundary corresponds to the start point and the end point of the circularity range corresponding to the range of the display candidate image IMG to be re-extracted. For example, the display unit 500 displays four images IMG45, IMG46, IMG47, and IMG48 positioned between one of the images IMG45 and IMG48 when the images IMG are arranged in the order of the circularity values. Re-extract as. Then, since the number of display candidate images IMG is “5” or less, the display unit 500 arranges all of the re-extracted display candidate images IMG45, IMG46, IMG47, and IMG48 in the order of the circularity values. To display.

例えば、オペレータは、表示装置90に表示された画像IMG45、IMG46、IMG47、IMG48を目視で確認して、良品画像IMG47、IMG48を、入力装置92を用いて選択する。これにより、表示部500は、表示装置90に表示された複数の画像IMGのうちの良品画像IMG47、IMG48を示す情報SINFを入力装置92から受ける。この場合、表示装置90に並べて表示した画像IMG45、IMG46、IMG47、IMG48のうち、良品と不良品の境界の両側に位置する画像IMGは、画像IMG46、IMG47である。円形度の値順に画像IMGを並べた場合に画像IMG46、IMG47の一方から他方までの間に、画像IMG46、IMG47以外の画像IMGが存在しないため、表示部500による画像IMGの表示処理は、終了する。この場合、例えば、閾値設定部600は、良品画像IMG47、IMG48を示す情報SINFに基づいて、円形度の閾値を“0.99”に設定する。   For example, the operator visually checks the images IMG45, IMG46, IMG47, and IMG48 displayed on the display device 90, and selects the non-defective images IMG47 and IMG48 using the input device 92. Thereby, the display unit 500 receives information SINF indicating the non-defective images IMG47 and IMG48 among the plurality of images IMG displayed on the display device 90 from the input device 92. In this case, among the images IMG45, IMG46, IMG47, and IMG48 displayed side by side on the display device 90, the images IMG located on both sides of the boundary between the non-defective product and the defective product are the images IMG46 and IMG47. When the images IMG are arranged in the order of the circularity values, there is no image IMG other than the images IMG46 and IMG47 between one of the images IMG46 and IMG47, and thus the display processing of the image IMG by the display unit 500 ends. To do. In this case, for example, the threshold value setting unit 600 sets the circularity threshold value to “0.99” based on the information SINF indicating the non-defective images IMG47 and IMG48.

なお、円形度の値順に画像IMGを並べた場合に画像IMG46、IMG47の一方から他方までの間に、画像IMG46、IMG47以外の画像IMGが存在する場合、表示部500は、所定の数以下の画像IMGを選択して表示する処理を再度実行する。例えば、表示部500は、画像IMG46から画像IMG47までの間に存在する画像IMGを表示候補の画像IMGとして再抽出し、表示候補の画像IMGから画像IMG46、IMG47を含む所定の数以下の画像IMGを選択して円形度の値順に並べて表示する。   When images IMG are arranged in the order of the circularity values, if there is an image IMG other than images IMG46 and IMG47 between one of images IMG46 and IMG47, display unit 500 has a predetermined number or less. The process of selecting and displaying the image IMG is executed again. For example, the display unit 500 re-extracts the image IMG existing between the image IMG46 and the image IMG47 as the display candidate image IMG, and the image IMG having a predetermined number or less including the images IMG46 and IMG47 from the display candidate image IMG. Select and display them in order of circularity value.

すなわち、表示部500は、表示グループGに属する画像における分別の境界を特定するまで、情報SINFを受ける度に、表示グループGに属する画像IMGから所定の数以下の画像IMGを選択して表示する。これにより、表示部500は、表示する所定の数以下の画像IMGの範囲に対応する第1の特徴量の範囲を段階的に絞る。   That is, the display unit 500 selects and displays a predetermined number or less of the images IMG from the images IMG belonging to the display group G every time the information SINF is received until the separation boundary in the images belonging to the display group G is specified. . Accordingly, the display unit 500 narrows down the first feature amount range corresponding to the range of the image IMG of a predetermined number or less to be displayed in a stepwise manner.

ここで、例えば、表示候補の全ての画像IMG40−IMG48が表示装置90に一度に表示される場合、所定の数の画像IMGが表示装置90に表示される場合に比べて、各画像IMGの表示面積が小さくなる。この場合、オペレータが画像IMGを目視で確認して対象物の良否を判定することが困難になるおそれがある。これに対し、表示部500は、表示装置90に表示する画像IMGの数を予め設定された所定の数以下にすることにより、各画像IMGの表示面積が小さくなることを抑制でき、画像を目視して確認することが困難になることを抑制できる。なお、表示部500の動作は、図7に示す例に限定されない。   Here, for example, when all the display candidates IMG40 to IMG48 are displayed on the display device 90 at a time, the display of each image IMG is displayed as compared with the case where a predetermined number of images IMG are displayed on the display device 90. The area becomes smaller. In this case, it may be difficult for the operator to visually check the image IMG to determine whether the object is good or bad. On the other hand, the display unit 500 can suppress a reduction in the display area of each image IMG by setting the number of images IMG to be displayed on the display device 90 to a predetermined number or less. Thus, it can be suppressed that it is difficult to confirm. Note that the operation of the display unit 500 is not limited to the example shown in FIG.

図8は、図2に示した閾値設定支援装置100の動作の一例を示す。なお、図8に示す動作は、コンピュータにより実行される閾値設定支援方法の一態様である。例えば、図8に示す動作は、ハードウェアのみで実現されてもよく、ハードウェアを閾値設定支援プログラム等のソフトウェアで制御することにより実現されてもよい。すなわち、閾値設定支援プログラムで制御されるコンピュータが図8に示す動作を実行してもよい。図8の動作をコンピュータに実行させるプログラムは、閾値設定支援プログラムの一態様である。   FIG. 8 shows an example of the operation of the threshold value setting support apparatus 100 shown in FIG. Note that the operation shown in FIG. 8 is an aspect of a threshold setting support method executed by a computer. For example, the operation illustrated in FIG. 8 may be realized only by hardware, or may be realized by controlling the hardware by software such as a threshold setting support program. That is, a computer controlled by the threshold setting support program may execute the operation shown in FIG. The program that causes the computer to execute the operation of FIG. 8 is an aspect of the threshold setting support program.

図8に示す動作では、画像IMGから対象物の特徴を表す特徴量を抽出する特徴量抽出処理として、ステップS100からステップS130までの一連の処理が実行される。また、図8に示す動作では、特徴量の閾値を設定する閾値設定処理として、ステップS200からステップS700までの一連の処理が実行される。すなわち、図8に示す動作では、特徴量抽出処理(ステップS100−S130)と閾値設定処理(ステップS200−S700)とは、並列に実行される。先ず、特徴量抽出処理(ステップS100−S130)について説明する。   In the operation shown in FIG. 8, a series of processing from step S100 to step S130 is executed as feature amount extraction processing for extracting feature amounts representing features of the object from the image IMG. In the operation shown in FIG. 8, a series of processing from step S200 to step S700 is executed as threshold setting processing for setting the threshold value of the feature amount. That is, in the operation shown in FIG. 8, the feature amount extraction process (steps S100 to S130) and the threshold value setting process (steps S200 to S700) are executed in parallel. First, the feature amount extraction process (steps S100 to S130) will be described.

ステップS100では、抽出部200は、撮像装置80から画像IMGを取得して、画像IMGから対象物を検出する。例えば、撮像装置80が同一の対象物を所定のフレームレートで撮像した場合、抽出部200は、同一の対象物が撮像された複数のフレームの画像IMGを撮像装置80から取得してもよい。この場合、抽出部200は、対象物を複数のフレームに渡って追跡し、対象物が最も画像IMGの中心で撮像されているフレームの画像IMGから対象物を抽出する。すなわち、抽出部200は、同一の対象物が撮像された複数の画像IMGを取得した場合でも、複数の画像IMGのうちのいずれかから対象物を抽出すればよい。   In step S100, the extraction unit 200 acquires the image IMG from the imaging device 80, and detects an object from the image IMG. For example, when the imaging device 80 images the same object at a predetermined frame rate, the extraction unit 200 may acquire a plurality of frame images IMG obtained by imaging the same object from the imaging device 80. In this case, the extraction unit 200 tracks the object over a plurality of frames, and extracts the object from the image IMG of the frame in which the object is most imaged at the center of the image IMG. That is, the extraction unit 200 may extract a target object from any one of the plurality of images IMG even when acquiring a plurality of images IMG obtained by capturing the same target object.

次に、ステップS110では、抽出部200は、ステップS100で抽出した対象物の特徴を表す複数種の特徴量を抽出する。複数種の特徴量は、例えば、図2で説明したように、形状特徴、テクスチャ特徴、色特徴等であり、予め決められている。   Next, in step S110, the extraction unit 200 extracts a plurality of types of feature amounts representing the features of the target object extracted in step S100. The plurality of types of feature amounts are, for example, shape features, texture features, color features, and the like, as described with reference to FIG.

次に、ステップS120では、抽出部200は、ステップS110で抽出した特徴量(対象物の特徴を表す複数種の特徴量)を、特徴量データベース212に登録する。例えば、抽出部200は、図3で説明したように、特徴量を抽出した画像IMGに対応付けて、特徴量等を示すデータを含むデータ群DGを特徴量データベース212に登録する。   Next, in step S <b> 120, the extraction unit 200 registers the feature amount extracted in step S <b> 110 (a plurality of types of feature amounts representing the feature of the object) in the feature amount database 212. For example, as described with reference to FIG. 3, the extraction unit 200 registers a data group DG including data indicating a feature amount or the like in the feature amount database 212 in association with the image IMG from which the feature amount has been extracted.

次に、ステップS130では、抽出部200は、ステップS100で対象物を抽出した画像IMGを、画像データベース214に登録する。例えば、抽出部200は、特徴量を抽出した画像IMGを、特徴量データベース212に登録した特徴量と対応がとれるように、画像データベース214に登録する。なお、画像データベース214に登録する画像IMGは、特徴量を抽出した対象物の領域のみを切り出した画像IMGでもよい。   Next, in step S130, the extraction unit 200 registers the image IMG obtained by extracting the object in step S100 in the image database 214. For example, the extraction unit 200 registers the image IMG from which the feature amount is extracted in the image database 214 so as to correspond to the feature amount registered in the feature amount database 212. Note that the image IMG registered in the image database 214 may be an image IMG obtained by cutting out only the region of the object from which the feature amount is extracted.

ステップS130の処理の終了により、ステップS100で抽出した対象物に対する特徴量抽出処理は終了する。このため、抽出部200は、別の対象物に対する特徴量抽出処理をステップS100から開始する。次に、閾値設定処理(ステップS200−S700)について説明する。   When the process in step S130 ends, the feature amount extraction process for the object extracted in step S100 ends. For this reason, the extraction unit 200 starts a feature amount extraction process for another object from step S100. Next, the threshold setting process (steps S200 to S700) will be described.

ステップS200では、分類部300は、図4で説明したように、特徴量データベース212から所定のデータ群DGを取得する。   In step S200, the classification unit 300 acquires a predetermined data group DG from the feature amount database 212 as described with reference to FIG.

次に、ステップS300では、分類部300は、図4で説明したように、閾値が設定される第1の特徴量を選択する。例えば、分類部300は、閾値設定対象の複数種の特徴量から第1の特徴量を、オペレータからの指示に基づいて選択してもよいし、予め決められた順番に基づいて選択してもよい。閾値設定対象の複数種の特徴量は、例えば、ステップS110で抽出された複数種の特徴量でもよいし、複数種の特徴量のうちの予め決められた一部の種類の特徴量でもよい。あるいは、閾値設定対象の特徴量は、ステップS110で抽出された複数種の特徴量のうちの予め決められた1種類の特徴量でもよい。   Next, in step S300, the classification unit 300 selects a first feature amount for which a threshold is set, as described with reference to FIG. For example, the classification unit 300 may select the first feature amount from a plurality of types of feature amounts to be set as threshold values based on an instruction from the operator, or may select based on a predetermined order. Good. The plurality of types of feature amounts to be set as threshold values may be, for example, the plurality of types of feature amounts extracted in step S110, or may be some types of feature amounts determined in advance among the plurality of types of feature amounts. Alternatively, the threshold setting target feature value may be one type of feature value determined in advance among the plurality of types of feature values extracted in step S110.

次に、ステップS400では、閾値設定支援装置100は、閾値の設定を支援する閾値設定支援処理を実行する。これにより、ステップS300で選択した第1の特徴量の閾値を設定する際に目視される画像IMGが、図6等で説明したように、表示装置90に表示される。閾値設定支援処理の詳細は、図9で説明する。閾値設定支援処理が終了した後、閾値設定支援装置100の動作は、ステップS500に移る。   Next, in step S400, the threshold setting support apparatus 100 executes a threshold setting support process that supports setting of the threshold. As a result, the image IMG viewed when setting the threshold value of the first feature amount selected in step S300 is displayed on the display device 90 as described with reference to FIG. Details of the threshold setting support processing will be described with reference to FIG. After the threshold setting support process ends, the operation of the threshold setting support device 100 proceeds to step S500.

ステップS500では、閾値設定部600は、図6で説明したように、良品の範囲を示す情報SINFを、入力装置92から取得する。   In step S500, the threshold value setting unit 600 acquires information SINF indicating the non-defective range from the input device 92, as described with reference to FIG.

次に、ステップS600では、閾値設定部600は、図6で説明したように、ステップS500で取得した良品の範囲を示す情報SINFに基づいて、第1の特徴量の閾値を設定する。例えば、閾値設定部600は、情報SINFに基づいて第1の特徴量の閾値を決定し、決定した第1の特徴量の閾値を記憶部210等に記憶する。   Next, in step S600, as described with reference to FIG. 6, the threshold setting unit 600 sets the first feature amount threshold based on the information SINF indicating the non-defective range acquired in step S500. For example, the threshold value setting unit 600 determines a threshold value of the first feature value based on the information SINF, and stores the determined threshold value of the first feature value in the storage unit 210 or the like.

次に、ステップS700では、閾値設定支援装置100は、閾値設定対象の全ての特徴量の閾値を設定済みか否かを判定する。閾値設定対象の全ての特徴量の閾値を設定済みである場合、閾値設定支援装置100による閾値設定処理は、終了する。一方、閾値設定対象の特徴量で、閾値が設定されていない特徴量が存在する場合、閾値設定支援装置100の動作は、ステップS300に戻る。   Next, in step S700, the threshold value setting support apparatus 100 determines whether or not the threshold values of all feature quantities to be set as threshold values have been set. When the threshold values of all feature amounts to be set are already set, the threshold setting process by the threshold setting support device 100 ends. On the other hand, when there is a feature value for which a threshold value is not set among feature values to be set as threshold values, the operation of the threshold value setting support apparatus 100 returns to step S300.

なお、閾値設定支援装置100の動作は、図8に示す例に限定されない。例えば、ステップS130の処理は、ステップS120の処理より前に実行されてもよいし、ステップS120の処理と並列に実行されてもよい。   Note that the operation of the threshold setting support apparatus 100 is not limited to the example shown in FIG. For example, the process of step S130 may be executed before the process of step S120, or may be executed in parallel with the process of step S120.

図9は、図8に示した閾値設定支援処理の一例を示す。すなわち、ステップS410−S490の一連の処理は、図8に示したステップS400の閾値設定支援処理の一例である。例えば、ステップS410の処理は、図8に示したステップS300の処理が実行された後、実行される。   FIG. 9 shows an example of the threshold setting support process shown in FIG. That is, the series of processing in steps S410 to S490 is an example of the threshold setting support processing in step S400 illustrated in FIG. For example, the process of step S410 is executed after the process of step S300 shown in FIG. 8 is executed.

ステップS410では、分類部300は、図4で説明したように、特徴量データベース212から取得した複数のデータ群DGを第1の特徴量で分類する。なお、複数のデータ群DGは、図8に示したステップS200で特徴量データベース212から取得したデータ群DGであり、第1の特徴量は、図8に示したステップS300で選択した第1の特徴量である。   In step S410, the classification unit 300 classifies the plurality of data groups DG acquired from the feature amount database 212 by the first feature amount as described with reference to FIG. The plurality of data groups DG is the data group DG acquired from the feature amount database 212 in step S200 shown in FIG. 8, and the first feature amount is the first selected in step S300 shown in FIG. It is a feature quantity.

次に、ステップS420では、選択部400は、図5で説明したように、第1の特徴量で分類したデータ群DGを、第2の特徴量でグループ化する。第2の特徴量は、例えば、図8に示したステップS110で画像IMGから抽出した対象物を表す複数種の特徴量のうちの第1の特徴量以外の特徴量である。第2の特徴量が1種類の特徴量の場合、選択部400は、第1の特徴量で分類したデータ群DGを、第2の特徴量が示す値(第2の特徴量が示す特徴)に応じてグループ化する。また、第2の特徴量が2種類以上の特徴量の場合、選択部400は、第1の特徴量で分類したデータ群DGを、第2の特徴量に含まれる2種類以上の特徴量がそれぞれ示す値の組み合わせ(第2の特徴量が示す特徴)に応じてグループ化する。   Next, in step S420, as described with reference to FIG. 5, the selection unit 400 groups the data group DG classified by the first feature amount by the second feature amount. The second feature amount is, for example, a feature amount other than the first feature amount among a plurality of types of feature amounts representing the object extracted from the image IMG in step S110 illustrated in FIG. When the second feature amount is one type of feature amount, the selection unit 400 indicates a value indicated by the second feature amount (a feature indicated by the second feature amount) of the data group DG classified by the first feature amount. Group according to. In addition, when the second feature amount is two or more types of feature amounts, the selection unit 400 selects two or more types of feature amounts included in the second feature amount from the data group DG classified by the first feature amount. Grouping is performed according to combinations of values indicated (features indicated by the second feature amount).

次に、ステップS430では、選択部400は、図5で説明したように、表示する画像IMGの特徴量である表示画像特徴量を選択する。表示画像特徴量は、ステップS420で複数のデータ群DGをグループ化する際に使用した第2の特徴量が示す特徴から選択される。例えば、選択部400は、第2の特徴量が示す特徴毎にグループ化したデータ群DGの複数のグループGから、表示グループGを選択する。これにより、表示画像特徴量が選択される。   Next, in step S430, the selection unit 400 selects a display image feature amount that is a feature amount of the image IMG to be displayed, as described with reference to FIG. The display image feature amount is selected from the features indicated by the second feature amount used when grouping the plurality of data groups DG in step S420. For example, the selection unit 400 selects the display group G from the plurality of groups G of the data group DG grouped for each feature indicated by the second feature amount. Thereby, the display image feature amount is selected.

次に、ステップS440では、表示部500は、図6および図7で説明したように、ステップS430で選択した表示画像特徴量を有する画像IMGを、表示候補の画像IMGとして抽出する。例えば、表示部500は、表示候補の画像IMGとして、表示グループGに属する画像IMGを画像データベース214から取得する。   Next, in step S440, as described with reference to FIGS. 6 and 7, the display unit 500 extracts the image IMG having the display image feature amount selected in step S430 as the display candidate image IMG. For example, the display unit 500 acquires the image IMG belonging to the display group G from the image database 214 as the display candidate image IMG.

次に、ステップS450では、表示部500は、表示候補の画像IMGの数が所定の数以下か否かを判定する。表示候補の画像IMGの数が所定の数以下の場合、表示部500の動作は、ステップS490に移る。一方、表示候補の画像IMGの数が所定の数より多い場合、表示部500の動作は、ステップS460に移る。   Next, in step S450, the display unit 500 determines whether or not the number of display candidate images IMG is equal to or less than a predetermined number. When the number of display candidate images IMG is equal to or smaller than the predetermined number, the operation of the display unit 500 proceeds to step S490. On the other hand, when the number of display candidate images IMG is larger than the predetermined number, the operation of the display unit 500 proceeds to step S460.

ステップS460では、表示部500は、図7で説明したように、表示候補の画像IMGから、所定の数以下の画像IMGを選択して表示装置90に表示する。   In step S460, the display unit 500 selects a predetermined number or less of the images IMG from the display candidate images IMG and displays them on the display device 90, as described with reference to FIG.

次に、ステップS470では、表示部500は、良品の範囲を示す情報SINF(良品画像IMGを示す情報SINF)を入力装置92から受信したか否かを判定する。良品の範囲を示す情報SINFは、例えば、ステップS460で表示装置90に表示した所定の数以下の画像IMGを分別した結果を示す情報である。良品の範囲を示す情報SINFを入力装置92から受信した場合、表示部500の動作は、ステップS480に移る。一方、良品の範囲を示す情報SINFを入力装置92から受信していない場合、表示部500の動作は、ステップS470に戻る。すなわち、表示部500は、オペレータにより選択される良品の範囲を示す情報SINFを入力装置92から受信するまでステップS480の処理の実行を待機する。   Next, in step S470, the display unit 500 determines whether or not information SINF indicating the non-defective range (information SINF indicating the non-defective image IMG) is received from the input device 92. The information SINF indicating the non-defective range is information indicating, for example, a result obtained by sorting the image IMG of a predetermined number or less displayed on the display device 90 in step S460. When the information SINF indicating the non-defective range is received from the input device 92, the operation of the display unit 500 moves to step S480. On the other hand, when the information SINF indicating the non-defective range is not received from the input device 92, the operation of the display unit 500 returns to step S470. That is, the display unit 500 waits for execution of the process of step S480 until information SINF indicating the range of non-defective items selected by the operator is received from the input device 92.

ステップS480では、表示部500は、図7で説明したように、良品と不良品の境界の両側の画像IMGの一方(第1の画像IMG)から他方(第2の画像IMG)までの画像IMGを表示候補の画像IMGとして抽出する。例えば、表示部500は、表示装置90に並べて表示した所定の数以下の画像IMGのうち、良品と不良品の境界の両側に位置する2つの画像IMGを特定する。そして、表示部500は、第1の特徴量の値順に画像IMGを並べた場合に2つの画像IMG(表示装置90に表示された画像IMGのうちの境界の両側の画像IMG)の一方から他方までの間に位置する画像IMGを、表示候補の画像IMGとして再抽出する。   In step S480, as described with reference to FIG. 7, the display unit 500 displays the image IMG from one (first image IMG) to the other (second image IMG) of the images IMG on both sides of the boundary between the non-defective product and the defective product. Are extracted as display candidate images IMG. For example, the display unit 500 identifies two images IMG located on both sides of the boundary between the non-defective product and the defective product among a predetermined number or less of the images IMG displayed side by side on the display device 90. When the image IMG is arranged in the order of the value of the first feature amount, the display unit 500 displays the two images IMG (images IMG on both sides of the boundary of the images IMG displayed on the display device 90) from one to the other. The image IMG located until the time is re-extracted as the display candidate image IMG.

ステップS480の処理が実行された後、表示部500の動作は、ステップS450に戻る。これにより、所定の数以下の画像IMGが再度選択されて表示されるため、表示する所定の数以下の画像IMGの範囲に対応する第1の特徴量の範囲が良品と不良品の境界付近に段階的に絞られる。   After the process of step S480 is executed, the operation of the display unit 500 returns to step S450. Accordingly, since a predetermined number or less of the images IMG are selected again and displayed, the range of the first feature amount corresponding to the range of the image IMG of the predetermined number or less to be displayed is near the boundary between the non-defective product and the defective product. Squeezed in stages.

このように、表示部500は、良品の範囲を示す情報SINFを受けた場合、表示装置90に並べて表示した所定の数以下の画像IMGから、分別の境界の両側に位置する第1の画像IMGおよび第2の画像IMGを特定する。そして、表示部500は、表示グループGに属する画像IMGを第1の特徴量の値に基づいて並べた場合に第1の画像IMGと第2の画像IMGとの間に画像IMGが存在する場合、所定の数以下の画像IMGを再度選択して表示する。例えば、表示部500は、表示グループGに属する画像IMGを第1の特徴量の値に基づいて並べた場合に第1の画像IMGから第2の画像IMGまでの間に位置する画像IMGから所定の数以下の画像IMGを選択して表示する。このように、表示グループGに属する画像IMGの数が所定の数より多い場合、表示部500は、表示する所定の数以下の画像IMGの範囲に対応する第1の特徴量の範囲を段階的に絞る。なお、閾値設定支援処理は、図9に示す例に限定されない。   As described above, when the display unit 500 receives the information SINF indicating the non-defective range, the first image IMG located on both sides of the separation boundary from the predetermined number or less of the images IMG displayed side by side on the display device 90. And a second image IMG is identified. Then, when the image IMG belonging to the display group G is arranged based on the value of the first feature amount, the display unit 500 includes the image IMG between the first image IMG and the second image IMG. Then, a predetermined number of images IMG or less are selected again and displayed. For example, when the images IMG belonging to the display group G are arranged on the basis of the value of the first feature amount, the display unit 500 determines from the image IMG positioned between the first image IMG and the second image IMG. Images IMG equal to or smaller than the number of images are selected and displayed. As described above, when the number of images IMG belonging to the display group G is larger than the predetermined number, the display unit 500 determines the first feature amount range corresponding to the range of the image IMG equal to or less than the predetermined number to be displayed stepwise. Narrow down to. The threshold setting support process is not limited to the example shown in FIG.

以上、図2から図9に示す実施形態においても、図1に示した実施形態と同様の効果を得ることができる。例えば、閾値設定支援装置100は、複数の画像IMGから抽出した対象物の特徴を表す複数種の特徴量のうち、閾値設定対象の第1の特徴量で画像IMGをクラスタリングする。そして、閾値設定支援装置100は、複数種の特徴量のうちの第2の特徴量に基づいて、複数のクラスタに渡って共通する共通の特徴を有する画像IMGをグループ化し、グループ化した画像IMGのグループの少なくとも1つを表示グループGとして選択する。例えば、閾値設定支援装置100は、複数のクラスタ間で共通の特徴を有する画像IMGを含むクラスタの数が最も多いグループGを表示グループGとして選択する。これにより、第1の特徴量の値順に並べる画像IMGの候補を多くすることができ、第1の特徴量の値順に並べる画像IMGの数が少ない場合に比べて、第1の特徴量の比較を容易にすることができる。なお、この場合でも、表示装置90に表示する画像IMGの数は、撮像装置80から取得した全ての画像IMGの数より少ない。   As described above, also in the embodiment shown in FIG. 2 to FIG. 9, the same effect as that of the embodiment shown in FIG. 1 can be obtained. For example, the threshold setting support device 100 clusters the images IMG with the first feature amount of the threshold setting target among the plurality of types of feature amounts representing the features of the object extracted from the plurality of images IMG. Then, the threshold setting support apparatus 100 groups the images IMG having the common features common to the plurality of clusters based on the second feature amount among the plurality of types of feature amounts, and grouped images IMG. At least one of the groups is selected as the display group G. For example, the threshold value setting support apparatus 100 selects the group G having the largest number of clusters including the image IMG having features common to a plurality of clusters as the display group G. This makes it possible to increase the number of image IMG candidates arranged in the order of the first feature value, and to compare the first feature quantity as compared with the case where the number of images IMG arranged in the order of the first feature value is small. Can be made easier. Even in this case, the number of images IMG displayed on the display device 90 is smaller than the number of all images IMG acquired from the imaging device 80.

したがって、閾値設定支援装置100は、撮像装置80から取得した全ての画像IMGを目視で確認する場合に比べて、オペレータが目視で確認する画像IMGの数を低減でき、対象物を分別するための閾値の設定を容易にすることができる。さらに、複数の画像IMGが第1の特徴量が示す値に基づいて並べて表示されるため、複数の画像IMGがランダムな順に並べて表示される場合に比べて、第1の特徴量の比較を容易にすることができる。   Therefore, the threshold setting support apparatus 100 can reduce the number of images IMG that the operator visually confirms compared with the case where all the images IMG acquired from the imaging apparatus 80 are visually confirmed, and can classify the objects. Setting of the threshold can be facilitated. Furthermore, since the plurality of images IMG are displayed side by side based on the value indicated by the first feature amount, it is easier to compare the first feature amount than when the plurality of images IMG are displayed side by side in a random order. Can be.

図10は、閾値設定支援装置の別の実施形態を示す。図1から図9で説明した要素と同一または同様の要素については、同一または同様の符号を付し、これ等については、詳細な説明を省略する。図10に示す閾値設定支援装置102は、例えば、対象物を撮像装置80で撮像することにより得られる画像IMGを解析して対象物を分別する選別システム1に含まれる。図10に示す選別システム1は、閾値設定支援装置102に通信可能に接続される撮像装置80、表示装置90および入力装置92を有する。   FIG. 10 shows another embodiment of the threshold setting support apparatus. Elements that are the same as or similar to those described in FIGS. 1 to 9 are given the same or similar reference numerals, and detailed descriptions thereof are omitted. The threshold setting support apparatus 102 illustrated in FIG. 10 is included in, for example, the selection system 1 that analyzes an image IMG obtained by imaging an object with the imaging apparatus 80 and classifies the object. The sorting system 1 illustrated in FIG. 10 includes an imaging device 80, a display device 90, and an input device 92 that are communicably connected to the threshold setting support device 102.

例えば、閾値設定支援装置102は、オペレータが閾値を選別システム1に設定する際に、閾値の設定を容易にするための閾値設定支援処理を実行する。なお、閾値設定支援装置102は、ハードウェアのみで実現されてもよく、ハードウェアをソフトウェアで制御することにより実現されてもよい。例えば、閾値設定支援プログラム等のソフトウェアで制御されるコンピュータが閾値設定支援装置102の閾値設定支援処理を実行してもよい。   For example, the threshold setting support device 102 executes a threshold setting support process for facilitating the setting of the threshold when the operator sets the threshold in the sorting system 1. Note that the threshold setting support apparatus 102 may be realized only by hardware, or may be realized by controlling hardware by software. For example, a computer controlled by software such as a threshold setting support program may execute the threshold setting support processing of the threshold setting support device 102.

閾値設定支援装置102は、図2に示した選択部400の代わりに選択部402を有することを除いて、図2に示した閾値設定支援装置100と同一または同様である。例えば、閾値設定支援装置102は、抽出部200、記憶部210、分類部300、選択部402、表示部500および閾値設定部600を有する。抽出部200、記憶部210、分類部300、表示部500および閾値設定部600は、図2に示した抽出部200、記憶部210、分類部300、表示部500および閾値設定部600と同一または同様である。   The threshold setting support apparatus 102 is the same as or similar to the threshold setting support apparatus 100 shown in FIG. 2 except that it includes a selection unit 402 instead of the selection unit 400 shown in FIG. For example, the threshold setting support apparatus 102 includes an extraction unit 200, a storage unit 210, a classification unit 300, a selection unit 402, a display unit 500, and a threshold setting unit 600. The extraction unit 200, storage unit 210, classification unit 300, display unit 500, and threshold setting unit 600 are the same as the extraction unit 200, storage unit 210, classification unit 300, display unit 500, and threshold setting unit 600 shown in FIG. It is the same.

選択部402は、図2に示した選択部400と同様に、複数のクラスタに分類した画像IMGのうち、複数のクラスタ間で共通の特徴を有する画像IMGを、複数種の特徴量のうちの第2の特徴量に基づいて抽出する。そして、選択部402は、複数のクラスタ間で共通の特徴を有する画像IMGのグループGの少なくとも1つを、表示グループGとして選択する。なお、選択部402は、複数のグループGのうち、第1の特徴量が示す値が隣接する複数のクラスタに画像IMGを含むグループGを、表示グループGとして優先して選択する。選択部402の動作の詳細は、図11で説明する。なお、閾値設定支援装置102の構成は、図10に示す例に限定されない。   Similar to the selection unit 400 shown in FIG. 2, the selection unit 402 selects an image IMG having a common feature among a plurality of clusters from among a plurality of types of feature amounts. Extraction is performed based on the second feature amount. Then, the selection unit 402 selects at least one of the groups I of the image IMG having features common to the plurality of clusters as the display group G. Note that the selection unit 402 preferentially selects, as the display group G, the group G that includes the image IMG in a plurality of clusters adjacent to each other by the value indicated by the first feature amount among the plurality of groups G. Details of the operation of the selection unit 402 will be described with reference to FIG. Note that the configuration of the threshold setting support apparatus 102 is not limited to the example shown in FIG.

また、閾値設定支援装置102の閾値設定支援処理をコンピュータに実行させるための閾値設定支援プログラムでは、第1の特徴量が示す値が隣接する複数のクラスタに画像IMGを含むグループGを表示グループGとして優先して選択する。閾値設定支援装置102の閾値設定支援処理をコンピュータに実行させるための閾値設定支援プログラムのその他の処理は、図2から図9に示した実施形態における閾値設定支援プログラムと同一または同様である。同様に、閾値設定支援方法は、第1の特徴量が示す値が隣接する複数のクラスタに画像IMGを含むグループGを表示グループGとして優先して選択することを除いて、図2から図9に示した実施形態における閾値設定支援方法と同一または同様である。   Further, in the threshold setting support program for causing the computer to execute the threshold setting support processing of the threshold setting support apparatus 102, the group G including the image IMG is displayed in the plurality of clusters adjacent to each other by the value indicated by the first feature amount. Select as priority. Other processes of the threshold setting support program for causing the computer to execute the threshold setting support process of the threshold setting support apparatus 102 are the same as or similar to the threshold setting support program in the embodiment shown in FIGS. Similarly, in the threshold setting support method, the group G including the image IMG is preferentially selected as the display group G in a plurality of clusters adjacent to each other by the value indicated by the first feature value, as shown in FIGS. This is the same as or similar to the threshold setting support method in the embodiment shown in FIG.

図11は、図10に示した選択部402の動作の一例を示す。なお、図10では、図5と同様に、対象物の特徴を分かり易くするために、データ群DGの上側に示す括弧内に、データ群DGに対応する画像IMGを図示している。図11では、図5と同様に、円形度、面積、輝度、エッジ密度の4種類を抽出部200で抽出された複数種の特徴量とし、第1の特徴量を円形度とし、第2の特徴量を面積、輝度およびエッジ密度の3種類の特徴量として説明する。図5で説明した動作と同様の動作については、詳細な説明を省略する。   FIG. 11 shows an example of the operation of the selection unit 402 shown in FIG. In FIG. 10, as in FIG. 5, the image IMG corresponding to the data group DG is illustrated in parentheses shown above the data group DG in order to make the features of the object easier to understand. In FIG. 11, as in FIG. 5, four types of circularity, area, luminance, and edge density are set as a plurality of types of feature amounts extracted by the extraction unit 200, the first feature amount is set as a circularity, The feature amount will be described as three types of feature amounts: area, luminance, and edge density. Detailed descriptions of operations similar to those described in FIG. 5 are omitted.

先ず、選択部402は、分類部300により複数のクラスタに分類されたデータ群DG(DG50−DG60)を、共通の特徴でグループ化する。グループG10−G13は、各グループGに属するデータ群DGを除いて、図5で説明したグループG10−G13と同一または同様である。   First, the selection unit 402 groups the data groups DG (DG50 to DG60) classified into a plurality of clusters by the classification unit 300 with common features. The groups G10 to G13 are the same as or similar to the groups G10 to G13 described in FIG. 5 except for the data group DG belonging to each group G.

グループG10、G12、G13は、データ群DGを含むクラスタを3つ含み、グループG11は、データ群DGを含むクラスタを2つ含む。   The groups G10, G12, and G13 include three clusters that include the data group DG, and the group G11 includes two clusters that include the data group DG.

例えば、グループG10は、円形度の値が隣接する円形度“0.85”のクラスタおよび円形度“0.90”のクラスタにそれぞれ含まれるデータ群DG58、DG59と、円形度“1”のクラスタに含まれるデータ群DG60とを有する。なお、円形度“0.90”のクラスタと円形度“1”のクラスタは、円形度“0.90”のクラスタと円形度“1”のクラスタとの間に円形度“0.95”のクラスタが存在するため、円形度の値が隣接する複数のクラスタではない。   For example, the group G10 includes data groups DG58 and DG59 included in a cluster having a circularity “0.85” and a cluster having a circularity “0.90” adjacent to each other, and a cluster having a circularity “1”. And a data group DG60 included. Note that a cluster with a circularity of “0.90” and a cluster with a circularity of “1” have a circularity of “0.95” between a cluster with a circularity of “0.90” and a cluster with a circularity of “1”. Since clusters exist, the circularity value is not a plurality of adjacent clusters.

グループG11は、円形度“0.85”のクラスタに含まれるデータ群DG56と、円形度“1”のクラスタに含まれるデータ群DG57とを有する。グループG12は、円形度の値が隣接する円形度“0.85”のクラスタ、円形度“0.90”のクラスタおよび円形度“0.95”のクラスタにそれぞれ含まれるデータ群DG53、DG54、DG55を有する。グループG13は、円形度の値が隣接する円形度“0.90”のクラスタ、円形度“0.95”のクラスタおよび円形度“1”のクラスタにそれぞれ含まれるデータ群DG50、DG51、DG52を有する。したがって、選択部402は、円形度の値(第1の特徴量が示す値)が隣接する複数のクラスタにデータ群DGを含むグループGとして、グループG10、G12、G13を抽出する。   The group G11 includes a data group DG56 included in a cluster having a circularity “0.85” and a data group DG57 included in a cluster having a circularity “1”. The group G12 includes data groups DG53, DG54, which are included in a cluster of circularity “0.85”, a cluster of circularity “0.90”, and a cluster of circularity “0.95” that are adjacent to each other. It has DG55. The group G13 includes data groups DG50, DG51, and DG52 included in a cluster having a circularity of “0.90”, a cluster having a circularity of “0.95”, and a cluster having a circularity of “1”, respectively. Have. Therefore, the selection unit 402 extracts groups G10, G12, and G13 as a group G that includes the data group DG in a plurality of clusters adjacent to each other in the circularity value (value indicated by the first feature value).

次に、選択部402は、表示画像特徴量を選択する。例えば、選択部402は、グループG10、G12、G13のうち、画像IMGを含み、かつ、円形度の値が示す値が隣接するクラスタの数が最も多い2つのグループG12、G13を、表示グループG(G12、G13)として選択する。これにより、表示グループG12に属するデータ群DGが有する大面積、高輝度かつ低エッジ密度を示す特徴と、表示グループG13に属するデータ群DGが有する大面積、中輝度かつ低エッジ密度を示す特徴とが、表示画像特徴量として選択される。そして、選択部402は、選択した表示画像特徴量を記憶部210等に記憶する。   Next, the selection unit 402 selects a display image feature amount. For example, the selection unit 402 selects the two groups G12 and G13 that include the image IMG and have the largest number of adjacent clusters with the value indicated by the circularity value from among the groups G10, G12, and G13. Select as (G12, G13). As a result, the data group DG belonging to the display group G12 has a large area, high luminance and low edge density, and the data group DG belonging to the display group G13 has a large area, medium luminance and low edge density. Is selected as the display image feature amount. Then, the selection unit 402 stores the selected display image feature amount in the storage unit 210 or the like.

この場合、表示部500は、表示グループG12に属する画像IMG53、IMG54、IMG55を並べた画像群と表示グループG13に属する画像IMG50、IMG51、IMG52を並べた画像群とを表示装置90の画面の上下にそれぞれ表示してもよい。あるいは、表示部500は、表示グループG12に属する画像IMG53、IMG54、IMG55を並べた画像群と表示グループG13に属する画像IMG50、IMG51、IMG52を並べた画像群とを1グループG毎に順番に表示装置90に表示してもよい。   In this case, the display unit 500 displays the image group in which the images IMG53, IMG54, and IMG55 belonging to the display group G12 are arranged and the image group in which the images IMG50, IMG51, and IMG52 that belong to the display group G13 are arranged on the top and bottom of the screen of the display device 90. May be displayed respectively. Alternatively, the display unit 500 sequentially displays an image group in which the images IMG53, IMG54, and IMG55 belonging to the display group G12 are arranged and an image group in which the images IMG50, IMG51, and IMG52 belonging to the display group G13 are arranged in order for each group G. It may be displayed on the device 90.

ここで、グループG12に属する画像IMGを含むクラスタの範囲と、グループG13に属する画像IMGを含むクラスタの範囲とは、互いに異なる。このため、2つのグループG12、G13を表示グループGとして選択することにより、表示装置90に並べて表示する画像IMGの範囲に対応する円形度の範囲を、グループG12、G13の一方のみを表示グループGとして選択する場合に比べて、広くできる。すなわち、2つのグループG12、G13を表示グループGとして選択した場合、グループG12、G13の一方のみを表示グループGとして選択する場合に比べて、目視で確認可能な円形度の範囲を広くすることができ、閾値の設定を容易にすることができる。   Here, the cluster range including the image IMG belonging to the group G12 and the cluster range including the image IMG belonging to the group G13 are different from each other. Therefore, by selecting the two groups G12 and G13 as the display group G, the circularity range corresponding to the range of the image IMG displayed side by side on the display device 90 is displayed, and only one of the groups G12 and G13 is displayed. Compared to the case of selecting as, it can be widened. That is, when two groups G12 and G13 are selected as the display group G, the range of circularity that can be visually confirmed can be widened as compared with the case where only one of the groups G12 and G13 is selected as the display group G. The threshold value can be easily set.

なお、例えば、2つのグループG11、G12を表示グループGとして選択した場合も、第1の特徴量の値順に並べて表示する画像IMGの範囲に対応する円形度の範囲は、2つのグループG12、G13を表示グループGとして選択した場合とで同じである。しかしながら、円形度“0.95”のクラスタに含まれる画像IMG55と、円形度“1”のクラスタに含まれる画像IMG57とは、互いに異なるグループG12、G11に属し、互いに異なる表示画像特徴量を有する。このため、画像IMG55と画像IMG57との比較では、互いに同じ表示画像特徴量を有する画像IMG51と画像IMG52とを比較する場合に比べて、目視で確認することが困難になるおそれがある。換言すれば、互いに同じ表示画像特徴量を有する画像IMG51、IMG52を含むグループG13をグループG12と一緒に表示グループGとして選択することにより、グループG11を選択する場合に比べて、円形度の比較を容易にすることができる。   For example, even when two groups G11 and G12 are selected as the display group G, the range of circularity corresponding to the range of the image IMG displayed in the order of the value of the first feature amount is the two groups G12 and G13. This is the same as when the display group G is selected. However, the image IMG55 included in the cluster with the circularity “0.95” and the image IMG57 included in the cluster with the circularity “1” belong to different groups G12 and G11 and have different display image feature amounts. . For this reason, in the comparison between the image IMG55 and the image IMG57, it may be difficult to visually confirm the image IMG51 and the image IMG52 having the same display image feature amount. In other words, by selecting the group G13 including the images IMG51 and IMG52 having the same display image feature amount as the display group G together with the group G12, the circularity can be compared as compared with the case of selecting the group G11. Can be easily.

このように、選択部402は、複数のグループGのうち、第1の特徴量が示す値が隣接する複数のクラスタに画像IMGを含むグループGを、表示グループGとして優先して選択する。そして、選択部402は、第1の特徴量が示す値が隣接する複数のクラスタに画像IMGを含むグループGを複数抽出し、抽出した複数のグループGを、表示グループGとして選択する。   As described above, the selection unit 402 preferentially selects, as the display group G, the group G that includes the image IMG in the plurality of clusters adjacent to each other by the value indicated by the first feature amount. Then, the selection unit 402 extracts a plurality of groups G including the image IMG in a plurality of clusters adjacent to each other by the value indicated by the first feature amount, and selects the extracted plurality of groups G as the display group G.

なお、選択部402の動作は、図11に示す例に限定されない。例えば、選択部402は、2つのグループG10、G13を表示グループGとして選択してもよい。2つのグループG10、G13を表示グループGとして選択した場合も、第1の特徴量の値順に並べて表示する画像IMGの範囲に対応する円形度の範囲は、2つのグループG12、G13を表示グループGとして選択した場合とで同じである。この場合、画像IMG58、IMG59が互いに同じ表示画像特徴量を有するため、目視で確認することが困難になることを抑制することができる。また、表示グループGとして選択されるグループGの数は、3つ以上でもよいし、1つでもよい。例えば、グループG12に属する画像IMGを含むクラスタの範囲と、グループG13に属する画像IMGを含むクラスタの範囲とが互いに同じ場合、選択部402は、グループG12、G13の一方のみを表示グループGとして選択してもよい。   Note that the operation of the selection unit 402 is not limited to the example shown in FIG. For example, the selection unit 402 may select two groups G10 and G13 as the display group G. Even when the two groups G10 and G13 are selected as the display group G, the range of the circularity corresponding to the range of the image IMG to be displayed in the order of the value of the first feature amount is the two groups G12 and G13. It is the same as when selecting as. In this case, since the images IMG58 and IMG59 have the same display image feature amount, it is possible to suppress difficulty in visually confirming. The number of groups G selected as the display group G may be three or more, or one. For example, when the range of the cluster including the image IMG belonging to the group G12 is the same as the range of the cluster including the image IMG belonging to the group G13, the selection unit 402 selects only one of the groups G12 and G13 as the display group G. May be.

以上、図10から図11に示す実施形態においても、図2から図9に示した実施形態と同様の効果を得ることができる。例えば、閾値設定支援装置102は、複数の画像IMGから抽出した対象物の特徴を表す複数種の特徴量のうち、閾値設定対象の第1の特徴量で画像IMGをクラスタリングする。そして、閾値設定支援装置102は、複数種の特徴量のうちの第2の特徴量に基づいて、複数のクラスタに渡って共通する共通の特徴を有する画像IMGをグループ化し、グループ化した画像IMGのグループの少なくとも1つを表示グループGとして選択する。これにより、閾値設定支援装置102は、撮像装置80から取得した全ての画像IMGを目視で確認する場合に比べて、オペレータが目視で確認する画像IMGの数を低減でき、対象物を分別するための閾値の設定を容易にすることができる。   As described above, also in the embodiment shown in FIGS. 10 to 11, the same effect as that of the embodiment shown in FIGS. 2 to 9 can be obtained. For example, the threshold setting support apparatus 102 clusters the image IMG with the first feature amount of the threshold setting target among a plurality of types of feature amounts representing the features of the object extracted from the plurality of images IMG. Then, the threshold setting support apparatus 102 groups the images IMG having common features common to the plurality of clusters based on the second feature amount among the plurality of types of feature amounts, and the grouped image IMG. At least one of the groups is selected as the display group G. Thereby, the threshold value setting support apparatus 102 can reduce the number of images IMG that the operator visually confirms compared with the case where all the images IMG acquired from the imaging apparatus 80 are visually confirmed, so that the object is sorted. The threshold value can be easily set.

さらに、閾値設定支援装置102は、複数のグループGのうち、第1の特徴量が示す値が隣接する複数のクラスタに画像IMGを含むグループGを、表示グループGとして優先して選択する。これにより、表示グループGに属する画像IMGを第1の特徴量が示す値順に並べて表示装置90に表示した場合に、表示装置90に並べて表示する複数の画像IMGの範囲に対応する第1の特徴量が示す値が連続する。この結果、表示装置90に並べて表示する複数の画像IMGの範囲に対応する第1の特徴量が示す値が不連続の場合に比べて、第1の特徴量の比較を容易にすることができる。   Further, the threshold setting support apparatus 102 preferentially selects, as the display group G, a group G that includes the image IMG in a plurality of clusters adjacent to each other by the value indicated by the first feature amount. Thus, when the images IMG belonging to the display group G are displayed on the display device 90 in the order of the values indicated by the first feature amount, the first features corresponding to the ranges of the plurality of images IMG displayed on the display device 90 are displayed. The value indicated by the quantity is continuous. As a result, the comparison of the first feature value can be facilitated compared to the case where the value indicated by the first feature value corresponding to the range of the plurality of images IMG displayed side by side on the display device 90 is discontinuous. .

また、閾値設定支援装置102は、第1の特徴量が示す値が隣接する複数のクラスタに画像IMGを含む複数のグループGにそれぞれ対応する第1の特徴量の範囲が異なる場合、複数のグループGを表示グループGとして選択する。この場合、表示装置90に並べて表示する画像IMGの範囲に対応する第1の特徴量の範囲を、複数のグループGの1つのみを表示グループGとして選択する場合に比べて、広くできる。すなわち、複数のグループGを表示グループGとして選択した場合、複数のグループGの1つのみを表示グループGとして選択する場合に比べて、目視で確認可能な第1の特徴量の範囲を広くすることができ、閾値の設定を容易にすることができる。なお、この場合でも、表示装置90に表示する画像IMGの数は、撮像装置80から取得した全ての画像IMGの数より少ない。   Further, the threshold value setting support apparatus 102 has a plurality of groups when the first feature value ranges corresponding to the plurality of groups G each including the image IMG in a plurality of adjacent clusters having a value indicated by the first feature value are different. G is selected as the display group G. In this case, the range of the first feature amount corresponding to the range of the image IMG displayed side by side on the display device 90 can be made wider than when only one of the plurality of groups G is selected as the display group G. That is, when the plurality of groups G are selected as the display group G, the range of the first feature amount that can be visually confirmed is made wider than when only one of the plurality of groups G is selected as the display group G. The threshold value can be easily set. Even in this case, the number of images IMG displayed on the display device 90 is smaller than the number of all images IMG acquired from the imaging device 80.

図12は、閾値設定支援プログラムを実行するハードウェアの一例を示す。なお、図1から図11で説明した要素と同様の要素については、同様の符号を付し、これ等については、詳細な説明を省略する。例えば、閾値設定支援プログラムは、図1、図2および図10に示した閾値設定支援装置10、100、102等の閾値設定支援装置の機能をコンピュータ1000で実現する。   FIG. 12 shows an example of hardware that executes the threshold setting support program. The same elements as those described in FIGS. 1 to 11 are denoted by the same reference numerals, and detailed description thereof will be omitted. For example, the threshold setting support program realizes functions of threshold setting support devices such as the threshold setting support devices 10, 100, and 102 shown in FIGS.

例えば、コンピュータ1000は、プロセッサ1100、メモリ1200、ハードディスク装置1300、入力インタフェース1400、出力インタフェース1500および光学ドライブ装置1600を有する。プロセッサ1100、メモリ1200、ハードディスク装置1300、入力インタフェース1400、出力インタフェース1500および光学ドライブ装置1600は、バス1700に接続される。閾値設定支援装置10、100、102等の閾値設定支援装置の機能は、例えば、プロセッサ1100と、メモリ1200と、ハードディスク装置1300と、入力インタフェース1400と、出力インタフェース1500とにより実現される。   For example, the computer 1000 includes a processor 1100, a memory 1200, a hard disk device 1300, an input interface 1400, an output interface 1500, and an optical drive device 1600. The processor 1100, the memory 1200, the hard disk device 1300, the input interface 1400, the output interface 1500, and the optical drive device 1600 are connected to the bus 1700. The functions of the threshold setting support devices such as the threshold setting support devices 10, 100, and 102 are implemented by, for example, the processor 1100, the memory 1200, the hard disk device 1300, the input interface 1400, and the output interface 1500.

光学ドライブ装置1600は、光ディスク等のリムーバブルディスク1620を装着可能であり、装着したリムーバブルディスク1620に記録された情報の読み出しおよび記録を実行する。また、コンピュータ1000は、入力インタフェース1400および出力インタフェース1500を介してコンピュータ1000の外部と通信する。例えば、入力インタフェース1400は、画像IMG等を撮像装置80から受け、プロセッサ1100等に転送する。また、入力インタフェース1400は、良品の範囲を示す情報SINF等を入力装置92から受け、プロセッサ1100等に転送する。出力インタフェース1500は、例えば、表示装置90に表示する画像IMG等を表示装置90に出力する。   The optical drive device 1600 can be mounted with a removable disk 1620 such as an optical disk, and reads and records information recorded on the mounted removable disk 1620. The computer 1000 communicates with the outside of the computer 1000 via the input interface 1400 and the output interface 1500. For example, the input interface 1400 receives an image IMG or the like from the imaging device 80 and transfers it to the processor 1100 or the like. The input interface 1400 receives information SINF indicating the non-defective range from the input device 92 and transfers it to the processor 1100 or the like. The output interface 1500 outputs, for example, an image IMG to be displayed on the display device 90 to the display device 90.

メモリ1200は、例えば、コンピュータ1000のオペレーティングシステムを格納する。また、メモリ1200は、閾値設定支援装置10、100、102等の閾値設定支援装置の動作をプロセッサ1100が実行するための閾値設定支援プログラム等のアプリケーションプログラムを格納する。また、メモリ1200は、画像IMG、特徴量データベース212および画像データベース214等を記憶してもよい。なお、画像IMG、特徴量データベース212および画像データベース214等は、ハードディスク装置1300に保持されてもよい。   The memory 1200 stores, for example, the operating system of the computer 1000. The memory 1200 also stores application programs such as a threshold setting support program for the processor 1100 to execute operations of threshold setting support devices such as the threshold setting support devices 10, 100, and 102. The memory 1200 may store an image IMG, a feature amount database 212, an image database 214, and the like. Note that the image IMG, the feature database 212, the image database 214, and the like may be stored in the hard disk device 1300.

閾値設定支援プログラム等のアプリケーションプログラムは、光ディスク等のリムーバブルディスク1620に記録して頒布することができる。例えば、コンピュータ1000は、閾値設定支援プログラム等のアプリケーションプログラムを、リムーバブルディスク1620から光学ドライブ装置1600を介して読み出し、メモリ1200やハードディスク装置1300に格納してもよい。また、コンピュータ1000は、閾値設定支援プログラム等のアプリケーションプログラムを、インターネット等のネットワークに接続する通信装置(図示せず)を介してダウンロードし、メモリ1200やハードディスク装置1300に格納してもよい。また、コンピュータ1000は、ネットワークに接続する通信装置を介して撮像装置80から画像IMGを取得してもよい。   An application program such as a threshold setting support program can be recorded and distributed on a removable disk 1620 such as an optical disk. For example, the computer 1000 may read an application program such as a threshold setting support program from the removable disk 1620 via the optical drive device 1600 and store it in the memory 1200 or the hard disk device 1300. In addition, the computer 1000 may download an application program such as a threshold setting support program via a communication device (not shown) connected to a network such as the Internet and store it in the memory 1200 or the hard disk device 1300. Further, the computer 1000 may acquire the image IMG from the imaging device 80 via a communication device connected to the network.

なお、閾値設定支援プログラムを実行するハードウェアは、図12に示す例に限定されない。例えば、コンピュータ1000は、光学ドライブ装置1600が省かれてもよい。また、例えば、コンピュータ1000は、ハードディスク装置1300の代わりにSSD(Solid State Drive)等を有してもよい。   Note that the hardware for executing the threshold setting support program is not limited to the example shown in FIG. For example, in the computer 1000, the optical drive device 1600 may be omitted. Further, for example, the computer 1000 may include an SSD (Solid State Drive) or the like instead of the hard disk device 1300.

以上の実施形態において説明した発明を整理して、付記として以下の通り開示する。
(付記1)
対象物を含む複数の画像から、前記対象物の特徴を表す複数種の特徴量を抽出し、
前記複数種の特徴量のうち、前記対象物を分別するための閾値が設定される第1の特徴量に基づいて、前記複数の画像を複数のクラスタに分類し、
前記複数のクラスタに分類した画像のうち、複数のクラスタ間で共通の特徴を有する画像を、前記複数種の特徴量のうちの第2の特徴量に基づいて抽出し、前記共通の特徴を有する画像のグループの少なくとも1つを、表示グループとして選択し、
前記表示グループに属する画像を、前記第1の特徴量が示す値に基づいて並べて表示する
処理をコンピュータに実行させるための閾値設定支援プログラム。
(付記2)
付記1に記載の閾値設定支援プログラムにおいて、
複数の前記グループのうち、画像を含むクラスタの数が多い前記グループを、前記表示グループとして優先して選択する
処理をコンピュータに実行させるための閾値設定支援プログラム。
(付記3)
付記1に記載の閾値設定支援プログラムにおいて、
複数の前記グループのうち、前記第1の特徴量が示す値が隣接する複数のクラスタに画像を含む前記グループを、前記表示グループとして優先して選択する
処理をコンピュータに実行させるための閾値設定支援プログラム。
(付記4)
付記3に記載の閾値設定支援プログラムにおいて、
前記第1の特徴量が示す値が隣接する複数のクラスタに画像を含む前記グループを複数抽出し、抽出した複数の前記グループを、前記表示グループとして選択する
処理をコンピュータに実行させるための閾値設定支援プログラム。
(付記5)
付記1ないし付記4のいずれか1項に記載の閾値設定支援プログラムにおいて、
前記複数種の特徴量のうちの前記第1の特徴量以外の少なくとも2種類の特徴量を、前記第2の特徴量とする
処理をコンピュータに実行させるための閾値設定支援プログラム。
(付記6)
付記1ないし付記5のいずれか1項に記載の閾値設定支援プログラムにおいて、
前記表示グループに属する画像の数が所定の数以下の場合、前記表示グループに属する全ての画像を前記第1の特徴量が示す値に基づいて並べて表示し、
前記表示グループに属する画像の数が前記所定の数より多い場合、前記表示グループに属する画像から前記所定の数以下の画像を選択し、選択した前記所定の数以下の画像を前記第1の特徴量が示す値に基づいて並べて表示する
処理をコンピュータに実行させるための閾値設定支援プログラム。
(付記7)
付記6に記載の閾値設定支援プログラムにおいて、
並べて表示した前記所定の数以下の画像を分別した結果を示す情報を受けた場合、並べて表示した前記所定の数以下の画像から、分別の境界の両側に位置する第1の画像および第2の画像を特定し、前記表示グループに属する画像を前記第1の特徴量の値に基づいて並べた場合に前記第1の画像と前記第2の画像との間に画像が存在する場合、前記第1の画像から前記第2の画像までの間に位置する画像から前記所定の数以下の画像を選択して表示し、表示する前記所定の数以下の画像の範囲に対応する前記第1の特徴量の範囲を絞る
処理をコンピュータに実行させるための閾値設定支援プログラム。
(付記8)
対象物を含む複数の画像から、前記対象物の特徴を表す複数種の特徴量を抽出する抽出部と、
前記複数種の特徴量のうち、前記対象物を分別するための閾値が設定される第1の特徴量に基づいて、前記複数の画像を複数のクラスタに分類する分類部と、
前記複数のクラスタに分類した画像のうち、複数のクラスタ間で共通の特徴を有する画像を、前記複数種の特徴量のうちの第2の特徴量に基づいて抽出し、前記共通の特徴を有する画像のグループの少なくとも1つを、表示グループとして選択する選択部と、
前記表示グループに属する画像を、前記第1の特徴量が示す値に基づいて並べて表示する表示部とを有する
ことを特徴とする閾値設定支援装置。
(付記9)
付記8に記載の閾値設定支援装置において、
前記選択部は、複数の前記グループのうち、画像を含むクラスタの数が多い前記グループを、前記表示グループとして優先して選択する
ことを特徴とする閾値設定支援装置。
(付記10)
付記8に記載の閾値設定支援装置において、
前記選択部は、複数の前記グループのうち、前記第1の特徴量が示す値が隣接する複数のクラスタに画像を含む前記グループを、前記表示グループとして優先して選択する
ことを特徴とする閾値設定支援装置。
(付記11)
付記10に記載の閾値設定支援装置において、
前記選択部は、前記第1の特徴量が示す値が隣接する複数のクラスタに画像を含む前記グループを複数抽出し、抽出した複数の前記グループを、前記表示グループとして選択する
ことを特徴とする閾値設定支援装置。
(付記12)
付記8ないし付記11のいずれか1項に記載の閾値設定支援装置において、
前記選択部は、前記複数種の特徴量のうちの前記第1の特徴量以外の少なくとも2種類の特徴量を、前記第2の特徴量とする
ことを特徴とする閾値設定支援装置。
(付記13)
付記8ないし付記12のいずれか1項に記載の閾値設定支援装置において、
前記表示部は、
前記表示グループに属する画像の数が所定の数以下の場合、前記表示グループに属する全ての画像を前記第1の特徴量が示す値に基づいて並べて表示し、
前記表示グループに属する画像の数が前記所定の数より多い場合、前記表示グループに属する画像から前記所定の数以下の画像を選択し、選択した前記所定の数以下の画像を前記第1の特徴量が示す値に基づいて並べて表示する
ことを特徴とする閾値設定支援装置。
(付記14)
付記13に記載の閾値設定支援装置において、
前記表示部は、並べて表示した前記所定の数以下の画像を分別した結果を示す情報を受けた場合、並べて表示した前記所定の数以下の画像から、分別の境界の両側に位置する第1の画像および第2の画像を特定し、前記表示グループに属する画像を前記第1の特徴量の値に基づいて並べた場合に前記第1の画像と前記第2の画像との間に画像が存在する場合、前記第1の画像から前記第2の画像までの間に位置する画像から前記所定の数以下の画像を選択して表示し、表示する前記所定の数以下の画像の範囲に対応する前記第1の特徴量の範囲を絞る
ことを特徴とする閾値設定支援装置。
(付記15)
コンピュータにより実行される閾値設定支援方法であって、
前記コンピュータが、
対象物を含む複数の画像から、前記対象物の特徴を表す複数種の特徴量を抽出し、
前記複数種の特徴量のうち、前記対象物を分別するための閾値が設定される第1の特徴量に基づいて、前記複数の画像を複数のクラスタに分類し、
前記複数のクラスタに分類した画像のうち、複数のクラスタ間で共通の特徴を有する画像を、前記複数種の特徴量のうちの第2の特徴量に基づいて抽出し、前記共通の特徴を有する画像のグループの少なくとも1つを、表示グループとして選択し、
前記表示グループに属する画像を、前記第1の特徴量が示す値に基づいて並べて表示する
ことを特徴とする閾値設定支援方法。
(付記16)
対象物を含む複数の画像から、前記対象物の特徴を表す複数種の特徴量を抽出し、
前記複数種の特徴量のうち、前記対象物を分別するための閾値が設定される第1の特徴量に基づいて、前記複数の画像を複数のクラスタに分類し、
前記複数のクラスタに分類した画像のうち、複数のクラスタ間で共通の特徴を有する画像を、前記複数種の特徴量のうちの第2の特徴量に基づいて抽出し、前記共通の特徴を有する画像のグループの少なくとも1つを、表示グループとして選択し、
前記表示グループに属する画像を、前記第1の特徴量が示す値に基づいて並べて表示する
処理をコンピュータに実行させるための閾値設定支援プログラムを記録したことを特徴とするコンピュータが読み取り可能な記録媒体。
The inventions described in the above embodiments are organized and disclosed as additional notes as follows.
(Appendix 1)
Extracting a plurality of types of feature quantities representing features of the object from a plurality of images including the object,
Classifying the plurality of images into a plurality of clusters based on a first feature amount set with a threshold for classifying the object among the plurality of types of feature amounts;
Of the images classified into the plurality of clusters, an image having a common feature among a plurality of clusters is extracted based on a second feature amount among the plurality of types of feature amounts, and has the common feature. Select at least one of the groups of images as the display group,
A threshold setting support program for causing a computer to execute a process of displaying images belonging to the display group side by side based on a value indicated by the first feature amount.
(Appendix 2)
In the threshold setting support program described in Appendix 1,
A threshold setting support program for causing a computer to execute processing for preferentially selecting, as the display group, the group having a large number of clusters including images from among the plurality of groups.
(Appendix 3)
In the threshold setting support program described in Appendix 1,
Threshold setting support for causing a computer to execute processing for preferentially selecting the group including an image in a plurality of clusters adjacent to each other by a value indicated by the first feature value among the plurality of groups. program.
(Appendix 4)
In the threshold setting support program described in Appendix 3,
Threshold setting for causing a computer to execute a process of extracting a plurality of groups including images in a plurality of clusters adjacent to each other by a value indicated by the first feature value, and selecting the plurality of extracted groups as the display group Support program.
(Appendix 5)
In the threshold value setting support program according to any one of appendix 1 to appendix 4,
A threshold setting support program for causing a computer to execute a process in which at least two types of feature amounts other than the first feature amount among the plurality of types of feature amounts are set as the second feature amount.
(Appendix 6)
In the threshold value setting support program according to any one of appendix 1 to appendix 5,
When the number of images belonging to the display group is a predetermined number or less, all the images belonging to the display group are displayed side by side based on the value indicated by the first feature amount,
When the number of images belonging to the display group is greater than the predetermined number, the image of the predetermined number or less is selected from the images belonging to the display group, and the selected image of the predetermined number or less is the first feature. A threshold setting support program for causing a computer to execute a process of displaying side by side based on a value indicated by a quantity.
(Appendix 7)
In the threshold setting support program described in Appendix 6,
When information indicating the result of sorting the predetermined number or less of the images displayed side by side is received, the first image and the second image located on both sides of the separation boundary are received from the predetermined number or less of the images displayed side by side. When an image is specified and images belonging to the display group are arranged based on the value of the first feature amount, and there is an image between the first image and the second image, the first The first feature corresponding to the range of the predetermined number of images or less to be displayed by selecting and displaying the predetermined number of images or less from images positioned between one image and the second image. A threshold setting support program that causes a computer to execute processing that narrows the amount range.
(Appendix 8)
An extraction unit that extracts a plurality of types of feature amounts representing features of the object from a plurality of images including the object;
A classifying unit that classifies the plurality of images into a plurality of clusters based on a first feature amount in which a threshold for classifying the object is set among the plurality of types of feature amounts;
Of the images classified into the plurality of clusters, an image having a common feature among a plurality of clusters is extracted based on a second feature amount among the plurality of types of feature amounts, and has the common feature. A selection unit for selecting at least one of the groups of images as a display group;
A threshold setting support device, comprising: a display unit configured to display images belonging to the display group side by side based on a value indicated by the first feature amount.
(Appendix 9)
In the threshold value setting support device according to attachment 8,
The threshold value setting support apparatus, wherein the selection unit preferentially selects the group having a large number of clusters including images from the plurality of groups as the display group.
(Appendix 10)
In the threshold value setting support device according to attachment 8,
The selection unit preferentially selects, as the display group, the group including an image in a plurality of clusters adjacent to each other by a value indicated by the first feature amount among the plurality of groups. Setting support device.
(Appendix 11)
In the threshold setting support device according to attachment 10,
The selection unit extracts a plurality of the groups including images in a plurality of clusters adjacent to each other by a value indicated by the first feature value, and selects the extracted plurality of groups as the display group. Threshold setting support device.
(Appendix 12)
In the threshold setting support device according to any one of appendix 8 to appendix 11,
The threshold value setting support apparatus, wherein the selection unit uses at least two types of feature values other than the first feature value among the plurality of types of feature values as the second feature value.
(Appendix 13)
In the threshold setting support device according to any one of appendix 8 to appendix 12,
The display unit
When the number of images belonging to the display group is a predetermined number or less, all the images belonging to the display group are displayed side by side based on the value indicated by the first feature amount,
When the number of images belonging to the display group is greater than the predetermined number, the image of the predetermined number or less is selected from the images belonging to the display group, and the selected image of the predetermined number or less is the first feature. A threshold value setting support device, characterized by displaying side by side based on a value indicated by a quantity.
(Appendix 14)
In the threshold setting support device according to attachment 13,
When the display unit receives information indicating the result of sorting the predetermined number or less of the images displayed side by side, the first display unit is located on both sides of the separation boundary from the predetermined number or less of the images displayed side by side. When an image and a second image are identified and images belonging to the display group are arranged based on the value of the first feature amount, an image exists between the first image and the second image In the case of selecting, the predetermined number or less images are selected and displayed from the images positioned between the first image and the second image, and correspond to the range of the predetermined number or less images to be displayed. A range of the first feature amount is narrowed down.
(Appendix 15)
A threshold setting support method executed by a computer,
The computer is
Extracting a plurality of types of feature quantities representing features of the object from a plurality of images including the object,
Classifying the plurality of images into a plurality of clusters based on a first feature amount set with a threshold for classifying the object among the plurality of types of feature amounts;
Of the images classified into the plurality of clusters, an image having a common feature among a plurality of clusters is extracted based on a second feature amount among the plurality of types of feature amounts, and has the common feature. Select at least one of the groups of images as the display group,
The threshold value setting support method, wherein images belonging to the display group are displayed side by side based on a value indicated by the first feature amount.
(Appendix 16)
Extracting a plurality of types of feature quantities representing features of the object from a plurality of images including the object,
Classifying the plurality of images into a plurality of clusters based on a first feature amount set with a threshold for classifying the object among the plurality of types of feature amounts;
Of the images classified into the plurality of clusters, an image having a common feature among a plurality of clusters is extracted based on a second feature amount among the plurality of types of feature amounts, and has the common feature. Select at least one of the groups of images as the display group,
A computer-readable recording medium having recorded thereon a threshold setting support program for causing a computer to execute a process of displaying images belonging to the display group side by side based on a value indicated by the first feature amount .

以上の詳細な説明により、実施形態の特徴点および利点は明らかになるであろう。これは、特許請求の範囲がその精神および権利範囲を逸脱しない範囲で前述のような実施形態の特徴点および利点にまで及ぶことを意図するものである。また、当該技術分野において通常の知識を有する者であれば、あらゆる改良および変更に容易に想到できるはずである。したがって、発明性を有する実施形態の範囲を前述したものに限定する意図はなく、実施形態に開示された範囲に含まれる適当な改良物および均等物に拠ることも可能である。   From the above detailed description, features and advantages of the embodiments will become apparent. This is intended to cover the features and advantages of the embodiments described above without departing from the spirit and scope of the claims. Also, any improvement and modification should be readily conceivable by those having ordinary knowledge in the art. Therefore, there is no intention to limit the scope of the inventive embodiments to those described above, and appropriate modifications and equivalents included in the scope disclosed in the embodiments can be used.

1‥選別システム;10‥閾値設定支援装置;20‥抽出部;30‥分類部;40‥選択部;50‥表示部;80‥撮像装置;90‥表示装置;92‥入力装置;100、102‥閾値設定支援装置;200‥抽出部;210‥記憶部;212‥特徴量データベース;214‥画像データベース;300‥分類部;400、402‥選択部;500‥表示部;600‥閾値設定部;1000‥コンピュータ;1100‥プロセッサ;1200‥メモリ;1300‥ハードディスク装置;1400‥入力インタフェース;1500‥出力インタフェース;1600‥光学ドライブ装置;1620‥リムーバブルディスク;1700‥バス   DESCRIPTION OF SYMBOLS 1 ... Sorting system; 10 ... Threshold setting support device; 20 ... Extraction part; 30 ... Classification part; 40 ... Selection part; 50 ... Display part; 80 ... Imaging device; 90 ... Display device; ...... Threshold setting support apparatus; 200, extraction unit, 210, storage unit, 212, feature database, 214, image database, 300, classification unit, 400, 402, selection unit, 500, display unit, 600, threshold setting unit; 1000 ... Computer; 1100 ... Processor; 1200 ... Memory; 1300 ... Hard disk drive; 1400 ... Input interface; 1500 ... Output interface; 1600 ... Optical drive device; 1620 ... Removable disk;

Claims (9)

対象物を含む複数の画像から、前記対象物の特徴を表す複数種の特徴量を抽出し、
前記複数種の特徴量のうち、前記対象物を分別するための閾値が設定される第1の特徴量に基づいて、前記複数の画像を複数のクラスタに分類し、
前記複数のクラスタに分類した画像のうち、複数のクラスタ間で共通の特徴を有する画像を、前記複数種の特徴量のうちの第2の特徴量に基づいて抽出し、前記共通の特徴を有する画像のグループの少なくとも1つを、表示グループとして選択し、
前記表示グループに属する画像を、前記第1の特徴量が示す値に基づいて並べて表示する
処理をコンピュータに実行させるための閾値設定支援プログラム。
Extracting a plurality of types of feature quantities representing features of the object from a plurality of images including the object,
Classifying the plurality of images into a plurality of clusters based on a first feature amount set with a threshold for classifying the object among the plurality of types of feature amounts;
Of the images classified into the plurality of clusters, an image having a common feature among a plurality of clusters is extracted based on a second feature amount among the plurality of types of feature amounts, and has the common feature. Select at least one of the groups of images as the display group,
A threshold setting support program for causing a computer to execute a process of displaying images belonging to the display group side by side based on a value indicated by the first feature amount.
請求項1に記載の閾値設定支援プログラムにおいて、
複数の前記グループのうち、画像を含むクラスタの数が多い前記グループを、前記表示グループとして優先して選択する
処理をコンピュータに実行させるための閾値設定支援プログラム。
In the threshold value setting support program according to claim 1,
A threshold setting support program for causing a computer to execute processing for preferentially selecting, as the display group, the group having a large number of clusters including images from among the plurality of groups.
請求項1に記載の閾値設定支援プログラムにおいて、
複数の前記グループのうち、前記第1の特徴量が示す値が隣接する複数のクラスタに画像を含む前記グループを、前記表示グループとして優先して選択する
処理をコンピュータに実行させるための閾値設定支援プログラム。
In the threshold value setting support program according to claim 1,
Threshold setting support for causing a computer to execute processing for preferentially selecting the group including an image in a plurality of clusters adjacent to each other by a value indicated by the first feature value among the plurality of groups. program.
請求項3に記載の閾値設定支援プログラムにおいて、
前記第1の特徴量が示す値が隣接する複数のクラスタに画像を含む前記グループを複数抽出し、抽出した複数の前記グループを、前記表示グループとして選択する
処理をコンピュータに実行させるための閾値設定支援プログラム。
In the threshold setting support program according to claim 3,
Threshold setting for causing a computer to execute a process of extracting a plurality of groups including images in a plurality of clusters adjacent to each other by a value indicated by the first feature value, and selecting the plurality of extracted groups as the display group Support program.
請求項1ないし請求項4のいずれか1項に記載の閾値設定支援プログラムにおいて、
前記複数種の特徴量のうちの前記第1の特徴量以外の少なくとも2種類の特徴量を、前記第2の特徴量とする
処理をコンピュータに実行させるための閾値設定支援プログラム。
In the threshold setting support program according to any one of claims 1 to 4,
A threshold setting support program for causing a computer to execute a process in which at least two types of feature amounts other than the first feature amount among the plurality of types of feature amounts are set as the second feature amount.
請求項1ないし請求項5のいずれか1項に記載の閾値設定支援プログラムにおいて、
前記表示グループに属する画像の数が所定の数以下の場合、前記表示グループに属する全ての画像を前記第1の特徴量が示す値に基づいて並べて表示し、
前記表示グループに属する画像の数が前記所定の数より多い場合、前記表示グループに属する画像から前記所定の数以下の画像を選択し、選択した前記所定の数以下の画像を前記第1の特徴量が示す値に基づいて並べて表示する
処理をコンピュータに実行させるための閾値設定支援プログラム。
In the threshold value setting support program according to any one of claims 1 to 5,
When the number of images belonging to the display group is a predetermined number or less, all the images belonging to the display group are displayed side by side based on the value indicated by the first feature amount,
When the number of images belonging to the display group is greater than the predetermined number, the image of the predetermined number or less is selected from the images belonging to the display group, and the selected image of the predetermined number or less is the first feature. A threshold setting support program for causing a computer to execute a process of displaying side by side based on a value indicated by a quantity.
請求項6に記載の閾値設定支援プログラムにおいて、
並べて表示した前記所定の数以下の画像を分別した結果を示す情報を受けた場合、並べて表示した前記所定の数以下の画像から、分別の境界の両側に位置する第1の画像および第2の画像を特定し、前記表示グループに属する画像を前記第1の特徴量の値に基づいて並べた場合に前記第1の画像と前記第2の画像との間に画像が存在する場合、前記第1の画像から前記第2の画像までの間に位置する画像から前記所定の数以下の画像を選択して表示し、表示する前記所定の数以下の画像の範囲に対応する前記第1の特徴量の範囲を絞る
処理をコンピュータに実行させるための閾値設定支援プログラム。
In the threshold value setting support program according to claim 6,
When information indicating the result of sorting the predetermined number or less of the images displayed side by side is received, the first image and the second image located on both sides of the separation boundary are received from the predetermined number or less of the images displayed side by side. When an image is specified and images belonging to the display group are arranged based on the value of the first feature amount, and there is an image between the first image and the second image, the first The first feature corresponding to the range of the predetermined number of images or less to be displayed by selecting and displaying the predetermined number of images or less from images positioned between one image and the second image. A threshold setting support program that causes a computer to execute processing that narrows the amount range.
対象物を含む複数の画像から、前記対象物の特徴を表す複数種の特徴量を抽出する抽出部と、
前記複数種の特徴量のうち、前記対象物を分別するための閾値が設定される第1の特徴量に基づいて、前記複数の画像を複数のクラスタに分類する分類部と、
前記複数のクラスタに分類した画像のうち、複数のクラスタ間で共通の特徴を有する画像を、前記複数種の特徴量のうちの第2の特徴量に基づいて抽出し、前記共通の特徴を有する画像のグループの少なくとも1つを、表示グループとして選択する選択部と、
前記表示グループに属する画像を、前記第1の特徴量が示す値に基づいて並べて表示する表示部とを有する
ことを特徴とする閾値設定支援装置。
An extraction unit that extracts a plurality of types of feature amounts representing features of the object from a plurality of images including the object;
A classifying unit that classifies the plurality of images into a plurality of clusters based on a first feature amount in which a threshold for classifying the object is set among the plurality of types of feature amounts;
Of the images classified into the plurality of clusters, an image having a common feature among a plurality of clusters is extracted based on a second feature amount among the plurality of types of feature amounts, and has the common feature. A selection unit for selecting at least one of the groups of images as a display group;
A threshold setting support device, comprising: a display unit configured to display images belonging to the display group side by side based on a value indicated by the first feature amount.
コンピュータにより実行される閾値設定支援方法であって、
前記コンピュータが、
対象物を含む複数の画像から、前記対象物の特徴を表す複数種の特徴量を抽出し、
前記複数種の特徴量のうち、前記対象物を分別するための閾値が設定される第1の特徴量に基づいて、前記複数の画像を複数のクラスタに分類し、
前記複数のクラスタに分類した画像のうち、複数のクラスタ間で共通の特徴を有する画像を、前記複数種の特徴量のうちの第2の特徴量に基づいて抽出し、前記共通の特徴を有する画像のグループの少なくとも1つを、表示グループとして選択し、
前記表示グループに属する画像を、前記第1の特徴量が示す値に基づいて並べて表示する
ことを特徴とする閾値設定支援方法。
A threshold setting support method executed by a computer,
The computer is
Extracting a plurality of types of feature quantities representing features of the object from a plurality of images including the object,
Classifying the plurality of images into a plurality of clusters based on a first feature amount set with a threshold for classifying the object among the plurality of types of feature amounts;
Of the images classified into the plurality of clusters, an image having a common feature among a plurality of clusters is extracted based on a second feature amount among the plurality of types of feature amounts, and has the common feature. Select at least one of the groups of images as the display group,
The threshold value setting support method, wherein images belonging to the display group are displayed side by side based on a value indicated by the first feature amount.
JP2017011239A 2017-01-25 2017-01-25 Threshold setting support program, threshold setting support device and threshold setting support method Active JP6819316B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017011239A JP6819316B2 (en) 2017-01-25 2017-01-25 Threshold setting support program, threshold setting support device and threshold setting support method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017011239A JP6819316B2 (en) 2017-01-25 2017-01-25 Threshold setting support program, threshold setting support device and threshold setting support method

Publications (2)

Publication Number Publication Date
JP2018120418A true JP2018120418A (en) 2018-08-02
JP6819316B2 JP6819316B2 (en) 2021-01-27

Family

ID=63045194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017011239A Active JP6819316B2 (en) 2017-01-25 2017-01-25 Threshold setting support program, threshold setting support device and threshold setting support method

Country Status (1)

Country Link
JP (1) JP6819316B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022249911A1 (en) * 2021-05-25 2022-12-01 株式会社日立製作所 Recognition processing method and recognition processing device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003281540A (en) * 2002-03-19 2003-10-03 Fuji Xerox Co Ltd Image processor, image processing method, image processing program, and computer-readable recording medium recording image processing program
JP2003317082A (en) * 2002-04-25 2003-11-07 Dainippon Screen Mfg Co Ltd Classification assisting apparatus, classifying apparatus, and program
JP2006266872A (en) * 2005-03-24 2006-10-05 Hitachi High-Technologies Corp Visual inspection method and device therefor
JP2009093335A (en) * 2007-10-05 2009-04-30 Seiko Epson Corp Identification method and program
JP2011089976A (en) * 2009-09-28 2011-05-06 Hitachi High-Technologies Corp Defect inspection device and defect inspection method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003281540A (en) * 2002-03-19 2003-10-03 Fuji Xerox Co Ltd Image processor, image processing method, image processing program, and computer-readable recording medium recording image processing program
JP2003317082A (en) * 2002-04-25 2003-11-07 Dainippon Screen Mfg Co Ltd Classification assisting apparatus, classifying apparatus, and program
JP2006266872A (en) * 2005-03-24 2006-10-05 Hitachi High-Technologies Corp Visual inspection method and device therefor
JP2009093335A (en) * 2007-10-05 2009-04-30 Seiko Epson Corp Identification method and program
JP2011089976A (en) * 2009-09-28 2011-05-06 Hitachi High-Technologies Corp Defect inspection device and defect inspection method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黒木進, 外3名: ""クラスタ分析に基づく画像の分類と閲覧のためのインタフェース"", 電子情報通信学会技術研究報告, vol. 第100巻, 第31号, JPN6020045963, 2 May 2000 (2000-05-02), JP, pages 161 - 168, ISSN: 0004398341 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022249911A1 (en) * 2021-05-25 2022-12-01 株式会社日立製作所 Recognition processing method and recognition processing device

Also Published As

Publication number Publication date
JP6819316B2 (en) 2021-01-27

Similar Documents

Publication Publication Date Title
US10043300B2 (en) Image processing apparatus, control method, and record medium for selecting a template for laying out images
AU2018102232A4 (en) Bone marrow cell marking method and system
US20190327367A1 (en) Image processing apparatus, image processing method, and storage medium
US10402654B2 (en) Image processing method for selecting image to be output
WO2021139258A1 (en) Image recognition based cell recognition and counting method and apparatus, and computer device
JP4861845B2 (en) Telop character extraction program, recording medium, method and apparatus
US10943376B2 (en) Image processing apparatus for laying out image on template and image processing method
US20060029276A1 (en) Object image detecting apparatus, face image detecting program and face image detecting method
US10560601B2 (en) Image processing method, image processing apparatus, and storage medium
EP2980755B1 (en) Method for partitioning area, and inspection device
US11627227B2 (en) Image processing apparatus, image processing method, and storage medium
WO2019198094A1 (en) Method and system for estimating total count of blood cells in a blood smear
JP4553300B2 (en) Content identification device
US8718401B2 (en) Image processing device, method and program
JP2018045693A (en) Method and system for removing background of video
CN111325725A (en) Retina image recognition method and device, electronic equipment and storage medium
CN106445424A (en) Information processing method and information processing apparatus
JP2002032751A (en) Learning type image classifying device and method and recording medium with its processing program recorded thereon
US20220044147A1 (en) Teaching data extending device, teaching data extending method, and program
JP5939023B2 (en) Computer program and image extraction apparatus
JP6819316B2 (en) Threshold setting support program, threshold setting support device and threshold setting support method
JP2004246424A (en) Method for extracting skin color area
JP2012003358A (en) Background determination device, method, and program
US11509777B2 (en) Image processing apparatus, image processing method, and storage medium
JP4941299B2 (en) Image identification system and method

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7426

Effective date: 20170803

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20170803

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20170804

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20180214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20180219

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20180219

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191008

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201124

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201214

R150 Certificate of patent or registration of utility model

Ref document number: 6819316

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150