TW201413239A - Training data verification apparatus, training data generation apparatus, image classification apparatus, training data verification method, training data generation method, and image classification method - Google Patents

Training data verification apparatus, training data generation apparatus, image classification apparatus, training data verification method, training data generation method, and image classification method Download PDF

Info

Publication number
TW201413239A
TW201413239A TW102124865A TW102124865A TW201413239A TW 201413239 A TW201413239 A TW 201413239A TW 102124865 A TW102124865 A TW 102124865A TW 102124865 A TW102124865 A TW 102124865A TW 201413239 A TW201413239 A TW 201413239A
Authority
TW
Taiwan
Prior art keywords
guidance
category
image
images
categories
Prior art date
Application number
TW102124865A
Other languages
Chinese (zh)
Other versions
TWI502189B (en
Inventor
Akira Matsumura
Original Assignee
Dainippon Screen Mfg
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 Dainippon Screen Mfg filed Critical Dainippon Screen Mfg
Publication of TW201413239A publication Critical patent/TW201413239A/en
Application granted granted Critical
Publication of TWI502189B publication Critical patent/TWI502189B/en

Links

Landscapes

  • Image Analysis (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Image Processing (AREA)

Abstract

Training data showing a plurality of training images and their initial categories is stored in a storage part (614), and with respect to each of a plurality of feature value types, an evaluation value showing validity in the case where each training image is assumed to belong to each of a plurality of categories is obtained by an evaluation value obtaining part (611). In a category candidate specifying part (612), a representative value of evaluation values of the plurality of feature value types obtained for each training image is calculated for each category, and a category candidate to which the training image should belong is determined on the basis of a plurality of representative values obtained for the plurality of categories. It is therefore possible to easily specify the appropriate category candidate based on feature values of the plurality of feature value types. A category non-coincidence image which is a training image in which the initial category is not coincident with the category candidate is displayed together with the category candidate on a display (55). This makes it possible to easily generate a highly-reliable training data.

Description

指導資料驗證裝置、指導資料製作裝置、圖像分類裝置、指導資料驗證方法、指導資料製作方法及圖像分類方法 Guidance data verification device, guidance data production device, image classification device, guidance data verification method, guidance data production method, and image classification method

本發明係關於一種驗證用於將圖像分類之分類器之學習的指導資料(training data)之技術、利用該技術製作指導資料之技術及將圖像分類之技術。 The present invention relates to a technique for verifying training data for learning a classifier for classifying images, a technique for producing guidance materials using the technology, and a technique for classifying images.

於半導體基板、玻璃基板、印刷配線基板等之製造中,為了檢查異物或損傷、蝕刻不良等缺陷而使用光學顯微鏡或掃描電子顯微鏡等進行外觀檢查。又,針對此種檢查步驟中檢測到之缺陷,藉由進行詳細之分析而特定該缺陷之產生原因,並實施針對缺陷之對策。近年來,隨著基板上之圖案之複雜化及微細化,而處於所檢測之缺陷之種類及數量增加之傾向,亦使用將檢查步驟中檢測到之缺陷自動地分類之自動分類。藉由自動分類,可實現迅速且有效地進行缺陷之分析。 In the production of a semiconductor substrate, a glass substrate, a printed wiring board, or the like, an appearance inspection is performed using an optical microscope, a scanning electron microscope, or the like in order to examine defects such as foreign matter, damage, or etching failure. Further, for the defect detected in the inspection step, the cause of the defect is specified by performing detailed analysis, and countermeasures against the defect are implemented. In recent years, as the pattern on the substrate is complicated and miniaturized, the type and number of defects detected are increased, and automatic classification that automatically detects the defects detected in the inspection step is also used. By automatic classification, the analysis of defects can be performed quickly and efficiently.

於自動分類中,使用利用類神經網路(neural network)或決策樹(decision tree)、判別分析等之分類器。為了使分類器進行自動分類,必需準備包含缺陷圖像及表示其類別(即缺陷圖像之種類)之訊號 之指導資料而使分類器學習。於日本專利特開2010-91401號公報(文獻1)中揭示有一種方法,其藉由判定預先對缺陷圖像賦予之類別是否為缺陷圖像應從屬之類別,而製作品質較高之指導資料。具體而言,對特徵量之所有種類進行如下處理,即,根據從屬於各類別之複數個缺陷圖像之各種特徵量之分散,針對該種類設定包含特徵量之代表值之特徵量範圍,對各缺陷圖像之一種特徵量包含於該種類之特徵量範圍內之類別進行投票。繼而,於複數個類別中得票數最多之類別與該缺陷圖像所從屬之類別不同之情形時將該點輸出。 In the automatic classification, a classifier using a neural network or a decision tree, discriminant analysis, or the like is used. In order for the classifier to perform automatic classification, it is necessary to prepare a signal containing the defect image and the type indicating the type (ie, the type of the defect image). The guidance material allows the classifier to learn. Japanese Laid-Open Patent Publication No. 2010-91401 (Document 1) discloses a method of producing a higher quality guide material by judging whether or not a category to which a defective image is given in advance is a category to which a defective image should be subordinated. . Specifically, all kinds of feature amounts are processed by setting a feature amount range including a representative value of the feature amount for the type based on the dispersion of various feature amounts of the plurality of defect images belonging to each category, A feature quantity of each defect image is included in a category within the range of the feature quantity of the category for voting. Then, when the category having the largest number of votes in the plurality of categories is different from the category to which the defective image belongs, the point is output.

再者,於日本專利特開平11-344450號公報(文獻2)中揭示有一種方法,其對複數個指示用缺陷圖像算出複數個特徵量,對各指示用缺陷算出基於特徵量之特徵空間中之由類別間之判別函數表示的分類參數,判斷表示複數個指示用缺陷與對應於缺陷之種類之類別的對應關係之指示用資料之統計顯著性,將存在使性能降低之可能性之指示用缺陷圖像顯示於畫面中,從而修正指示資料。 Further, a method for calculating a plurality of feature amounts for a plurality of indication defect images and calculating a feature space based on feature amounts for each indication defect is disclosed in Japanese Laid-Open Patent Publication No. H11-344450 (Document 2). In the classification parameter indicated by the discriminant function between the categories, the statistical significance indicating the indication data indicating the correspondence between the plurality of indication defects and the category corresponding to the type of the defect is determined, and there is an indication that the performance may be lowered. The defect image is displayed on the screen to correct the indication data.

且說,文獻1中之利用統計處理進行之類別判定係在屬於各類別之複數個缺陷圖像(指導圖像)之各種特徵量之分佈遵循常態分佈(或可視為遵循常態分佈)之情形時尤其有效,但於特徵量之分佈顯示多峰性等不遵循常態分佈之情形時,存在文獻1中之結果(類別)與操作者之判斷不吻合、或操作者無法合理地解釋該結果的情況。於此情形時,有於可靠性較高之指導資料之製作中產生障礙之虞。又,於文獻2之方法中,在對操作者提示指導圖像之類別時,必需藉由繁雜之處理算出類別間之判別函數。因此,謀求一種可針對各指導圖像容易地特定基於複數個種類之特徵量之適當之類別候補的新穎之方法。 Furthermore, the category determination by the statistical processing in Document 1 is particularly the case where the distribution of various feature quantities of a plurality of defect images (guide images) belonging to each category follows a normal distribution (or can be regarded as following a normal distribution). It is effective, but when the distribution of the feature amount shows that the multimodality or the like does not follow the normal distribution, there is a case where the result (category) in the document 1 does not coincide with the judgment of the operator, or the operator cannot reasonably interpret the result. In this case, there is a problem in the production of guidance materials with high reliability. Further, in the method of Document 2, when the type of the guidance image is presented to the operator, it is necessary to calculate the discriminant function between the categories by complicated processing. Therefore, a novel method for easily specifying an appropriate category candidate based on a plurality of types of feature amounts for each guidance image is sought.

本發明係針對驗證用於將圖像加以分類之分類器之學習之指導資料的指導資料驗證裝置,目的在於對於各指導圖像容易地特定根據複數個種類之特徵量之所適當之類別候補。 The present invention is directed to a guidance material verification device for verifying guidance materials for learning a classifier for classifying images, and aims to easily specify an appropriate category candidate for a plurality of types of feature amounts for each guidance image.

本發明之指導資料驗證裝置具備:記憶部,其記憶各自被分配至複數個類別之任一者之複數個指導圖像、及表示上述複數個指導圖像之類別之指導資料;評價值取得部,其關於特徵量之複數個種類之各者,取得用於表示當各指導圖像從屬於上述複數個類別之各者之情形時之妥當性的評價值;類別候補特定部,其係於上述各指導圖像中,關於上述複數個類別之各者,求出特徵量之在上述複數個種類中之評價值之代表值,並根據在上述複數個類別中之複數個代表值而將判定為上述各指導圖像所應屬之類別當作為類別候補加以特定;及顯示控制部,其係將上述指導資料所示之類別與上述類別候補為相異之指導圖像當作為類別相異圖像,而將至少1個類別相異圖像之各者與上述類別候補一併顯示於顯示部。 The guidance material verification device of the present invention includes: a storage unit that stores a plurality of guidance images each assigned to any one of a plurality of categories, and guidance materials indicating categories of the plurality of guidance images; and an evaluation value acquisition unit Each of the plurality of types of the feature amount is obtained as an evaluation value indicating the validity of each of the plurality of categories when the guidance image belongs to each of the plurality of categories; the category candidate specifying unit is configured as described above In each of the plurality of types, the representative value of the evaluation value of the feature quantity in the plurality of types is obtained, and the plurality of representative values in the plurality of categories are determined as The category to which the respective guidance images belong is specified as a category candidate; and the display control unit uses the guidance image of the category indicated by the guidance material and the candidate of the category as a category-specific image. And each of the at least one type of dissimilar image is displayed on the display unit together with the category candidate.

根據本發明,可對於各指導圖像容易地特定根據複數個種類之特徵量之所適當之類別候補。又,藉由將類別相異圖像與類別候補一併顯示於顯示部,可容易地製作可靠性較高之指導資料。 According to the present invention, it is possible to easily specify an appropriate category candidate based on a plurality of types of feature amounts for each guidance image. Further, by displaying the category difference image together with the category candidate on the display unit, it is possible to easily create guidance materials having high reliability.

於本發明之一較佳形態中,上述評價值取得部係關於特徵量之各個種類,生成被分配至上述複數個類別之各者的指導圖像之特徵量之直方圖,而將包含上述各指導圖像之特徵量之區間當作為注目區間,根據在對於上述複數個類別之複數個直方圖中的上述注目區間之頻率,而取得對於上述各指導圖像之上述複數個類別之各者之上述評價值。 In a preferred aspect of the present invention, the evaluation value acquisition unit generates a histogram of the feature amount of the guidance image assigned to each of the plurality of categories for each type of the feature amount, and includes the above-described respective The section of the feature quantity of the guidance image is obtained as the attention section, and each of the plurality of categories of the respective guidance images is acquired based on the frequency of the attention range in the plurality of histograms of the plurality of categories. The above evaluation value.

於此情形時,較佳為,上述評價值取得部根據在上述複 數個直方圖中之上述注目區間及鄰接於上述注目區間之兩側之複數個區間之頻率,而取得對於上述各指導圖像之上述複數個類別之各者之上述評價值。藉此,即便於指導圖像之個數較少之情形等時,亦可適當地決定類別候補。 In this case, it is preferable that the evaluation value acquisition unit is based on the above The evaluation value of each of the plurality of categories of the respective guidance images is obtained by the frequency of the plurality of sections adjacent to the both of the attention periods in the plurality of histograms. Thereby, even when the number of guidance images is small, the category candidates can be appropriately determined.

又,較佳為,於上述複數個直方圖中,在對於一個類別之直方圖中的上述注目區間之頻率為特定數以下而在對於其他所有類別之各者之直方圖中的上述注目區間之頻率為0之情形時,上述評價值取得部則不取得上述評價值。藉此,可排除不合理地提昇評價值之代表值的不適當之特徵量之種類(之評價值)。 Further, in the plurality of histograms, the frequency of the attention range in the histogram for one category is a specific number or less, and the above-mentioned attention range in the histogram for each of the other categories When the frequency is 0, the evaluation value acquisition unit does not acquire the evaluation value. Thereby, the type (the evaluation value) of the inappropriate feature amount which unreasonably raises the representative value of the evaluation value can be excluded.

更佳為,上述顯示控制部將上述至少1個類別相異圖像之各者與上述指導資料所示之類別及上述類別候補一併顯示於上述顯示部。 More preferably, the display control unit displays each of the at least one different type of image on the display unit together with the category indicated by the guidance material and the category candidate.

本發明亦針對具有指導資料驗證裝置之指導資料製作裝置、具有指導資料製作裝置之圖像分類裝置、驗證指導資料之指導資料驗證方法、包含指導資料驗證方法之指導資料製作方法、及使用藉由指導資料製作方法製作之指導資料之圖像分類方法。 The present invention is also directed to a guidance material production device having a guidance data verification device, an image classification device having a guidance material production device, a guidance data verification method for verifying guidance materials, a guide data production method including a guide data verification method, and use An image classification method for guiding materials for guiding the production of data.

上述目的及其他目的、特徵、態樣及優點係參照隨附圖式,藉由以下進行之本發明之詳細說明而明確。 The above and other objects, features, aspects and advantages of the present invention will be apparent from the accompanying drawings.

1‧‧‧圖像分類裝置 1‧‧‧Image classification device

2‧‧‧攝像裝置 2‧‧‧ camera device

4‧‧‧檢查.分類裝置 4‧‧‧Check. Sorting device

5‧‧‧主電腦 5‧‧‧Main computer

8‧‧‧記錄媒體 8‧‧‧Recording media

9‧‧‧半導體基板 9‧‧‧Semiconductor substrate

21‧‧‧攝像部 21‧‧‧Photography Department

22‧‧‧平台 22‧‧‧ platform

23‧‧‧平台驅動部 23‧‧‧ Platform Drive Department

41‧‧‧缺陷檢測部 41‧‧‧Defect Detection Department

42‧‧‧自動缺陷分類部 42‧‧‧Automatic Defect Classification Department

51‧‧‧CPU 51‧‧‧CPU

52‧‧‧ROM 52‧‧‧ROM

53‧‧‧RAM 53‧‧‧RAM

54‧‧‧固定碟片 54‧‧‧Fixed discs

55‧‧‧顯示器 55‧‧‧ display

56‧‧‧輸入部 56‧‧‧ Input Department

56a‧‧‧鍵盤 56a‧‧‧ keyboard

56b‧‧‧滑鼠 56b‧‧‧mouse

57‧‧‧讀取裝置 57‧‧‧Reading device

58‧‧‧通訊部 58‧‧‧Communication Department

61‧‧‧指導資料製作部 61‧‧‧Guidance Materials Production Department

62‧‧‧學習部 62‧‧‧Learning Department

71a~71d‧‧‧指導圖像 71a~71d‧‧‧ guidance image

72‧‧‧類別顯示區域 72‧‧‧Category display area

80‧‧‧程式 80‧‧‧ program

211‧‧‧照明部 211‧‧‧Lighting Department

212‧‧‧光學系統 212‧‧‧Optical system

213‧‧‧攝像元件 213‧‧‧Photographic components

421‧‧‧分類器 421‧‧‧ classifier

610‧‧‧資料運算部 610‧‧‧Data Computing Department

611‧‧‧評價值取得部 611‧‧‧ Evaluation Value Acquisition Department

612‧‧‧類別候補特定部 612‧‧‧ Category Specific Department

613‧‧‧顯示控制部 613‧‧‧Display Control Department

614‧‧‧記憶部 614‧‧‧Memory Department

615‧‧‧特徵量算出部 615‧‧‧Characteristic calculation unit

710‧‧‧指導資料 710‧‧‧Guide materials

A、B、C‧‧‧注目區間 A, B, C‧‧‧Focus

H1~H4‧‧‧直方圖 H1~H4‧‧‧Histogram

S11~S14、S21~S29‧‧‧步驟 S11~S14, S21~S29‧‧‧ steps

Z0‧‧‧圓形區域 Z0‧‧‧Circular area

Z1~Z4‧‧‧環狀區域 Z1~Z4‧‧‧ring area

圖1係表示圖像分類裝置之構成之圖。 Fig. 1 is a view showing the configuration of an image classifying device.

圖2係表示缺陷圖像之分類流程之圖。 Fig. 2 is a view showing a classification process of a defective image.

圖3係表示主電腦之構成之圖。 Fig. 3 is a view showing the configuration of a host computer.

圖4係表示主電腦之功能構成之圖。 Fig. 4 is a view showing the functional configuration of the host computer.

圖5係表示指導資料製作部之功能構成之圖。 Fig. 5 is a view showing the functional configuration of the guidance data creation unit.

圖6係表示製作指導資料而使分類器學習之處理流程之圖。 Fig. 6 is a view showing a processing flow for creating a guide material and learning the classifier.

圖7係表示顯示於顯示器中之複數個指導圖像之圖。 Figure 7 is a diagram showing a plurality of guide images displayed on a display.

圖8係表示針對複數個類別之複數個直方圖之圖。 Figure 8 is a diagram showing a plurality of histograms for a plurality of categories.

圖9係表示顯示於顯示器中之複數個指導圖像之圖。 Figure 9 is a diagram showing a plurality of guide images displayed on a display.

圖10係用以說明異質性之程度之圖。 Figure 10 is a diagram for explaining the degree of heterogeneity.

圖11係表示複數個指導圖像之圖。 Figure 11 is a diagram showing a plurality of guidance images.

圖12係表示複數個指導圖像之圖。 Figure 12 is a diagram showing a plurality of guidance images.

圖1係表示本發明之一實施形態之圖像分類裝置1之概略構成的圖。於圖像分類裝置1中,取得表示半導體基板9(以下簡稱為「基板9」)上之缺陷之缺陷圖像,進行該缺陷圖像之分類。圖像分類裝置1具有:攝像裝置2,其拍攝基板9上之檢查對象區域;檢查.分類裝置4,其係於根據來自攝像裝置2之圖像資料進行缺陷檢查而檢測到缺陷之情形時,將缺陷自動分類至缺陷應從屬之類別;及主電腦5,其控制圖像分類裝置1之整體動作,並且生成檢查.分類裝置4中之用於缺陷之分類之分類器421。存在於基板9上之缺陷之種類(類別)例如為缺損、突起、斷線、短路、異物。又,攝像裝置2併入至基板9之生產線,圖像分類裝置1成為所謂之線內(inline)型系統。圖像分類裝置1亦可理解為對缺陷檢查裝置附加自動缺陷分類之功能之裝置。 Fig. 1 is a view showing a schematic configuration of an image classification device 1 according to an embodiment of the present invention. In the image classification device 1, a defect image indicating a defect on the semiconductor substrate 9 (hereinafter simply referred to as "substrate 9") is acquired, and the defect image is classified. The image classification device 1 has an imaging device 2 that captures an inspection target area on the substrate 9; The sorting device 4 automatically classifies the defect into a category to which the defect should be subordinated when the defect is detected based on the defect inspection from the image data of the image pickup device 2; and the host computer 5 controls the image classification device 1 The overall action, and generate checks. A classifier 421 for classifying defects in the sorting device 4. The type (category) of the defect existing on the substrate 9 is, for example, a defect, a protrusion, a disconnection, a short circuit, or a foreign matter. Further, the imaging device 2 is incorporated into the production line of the substrate 9, and the image classification device 1 is a so-called inline type system. The image classification device 1 can also be understood as a device that adds a function of automatic defect classification to the defect inspection device.

攝像裝置2具有:攝像部21,其拍攝基板9上之檢查對象區域而取得圖像資料;平台22,其保持基板9;及平台驅動部23,其使平台22相對於攝像部21相對性地移動。攝像部21具有:照明部211,其出射照明光;光學系統212,其將照明光導引至基板9,並且 供來自基板9之光入射;及攝像元件213,其將藉由光學系統212成像之基板9之像轉換為電氣訊號。平台驅動部23包含滾珠螺桿、導軌、馬達等,藉由使主電腦5控制平台驅動部23及攝像部21,而拍攝基板9上之檢查對象區域。 The imaging device 2 includes an imaging unit 21 that captures an inspection target area on the substrate 9 to acquire image data, a stage 22 that holds the substrate 9 , and a platform driving unit 23 that relatively aligns the stage 22 with respect to the imaging unit 21 mobile. The imaging unit 21 has an illumination unit 211 that emits illumination light, an optical system 212 that guides illumination light to the substrate 9, and The light from the substrate 9 is incident; and the imaging element 213 converts the image of the substrate 9 imaged by the optical system 212 into an electrical signal. The platform drive unit 23 includes a ball screw, a guide rail, a motor, and the like, and the main computer 5 controls the stage drive unit 23 and the imaging unit 21 to take an inspection target area on the substrate 9.

檢查.分類裝置4具有一面處理檢查對象區域之圖像資料一面檢測缺陷之缺陷檢測部41、及將缺陷圖像分類之自動缺陷分類部42。缺陷檢測部41具有高速地處理檢查對象區域之圖像資料之專用電路,藉由所拍攝之圖像與不存在缺陷之參照圖像之比較或圖像處理而進行檢查對象區域之缺陷檢查。自動缺陷分類部42包含進行各種運算處理之中央處理單元(CPU,Central Processing Unit)及記憶各種資訊之記憶體等,使用利用類神經網路、決策樹、判別分析等之分類器421而執行缺陷之分類(即缺陷圖像之分類)。 an examination. The sorting device 4 has a defect detecting unit 41 that detects a defect while processing image data of the inspection target region, and an automatic defect classifying unit 42 that classifies the defect image. The defect detecting unit 41 has a dedicated circuit for processing image data of the inspection target region at a high speed, and performs defect inspection of the inspection target region by comparison of the captured image with a reference image having no defect or image processing. The automatic defect classification unit 42 includes a central processing unit (CPU) that performs various types of arithmetic processing, a memory that stores various kinds of information, and the like, and performs a defect using a classifier 421 using a neural network, a decision tree, a discriminant analysis, or the like. Classification (ie classification of defect images).

圖2係表示利用圖像分類裝置1進行之缺陷圖像之分類之流程的圖。首先,藉由圖1所示之攝像裝置2拍攝基板9,而使檢查.分類裝置4之缺陷檢測部41取得圖像資料(步驟S11)。其次,若缺陷檢測部41進行檢查對象區域之缺陷檢查而檢測到缺陷時(步驟S12),則缺陷部分之圖像(即缺陷圖像)之資料傳送至自動缺陷分類部42。自動缺陷分類部42算出缺陷圖像之複數個種類之特徵量(步驟S13),將缺陷圖像之特徵量輸入至自動缺陷分類部42之分類器421而輸出分類結果。即,藉由分類器421將缺陷圖像分類至複數個類別之任一者(步驟S14)。於圖像分類裝置1中,每當利用缺陷檢測部41檢測到缺陷時,即時進行特徵量之算出,高速地進行多個缺陷圖像之自動分類。 FIG. 2 is a view showing a flow of classification of defective images by the image classifying device 1. First, the substrate 9 is photographed by the image pickup device 2 shown in FIG. The defect detecting unit 41 of the sorting device 4 acquires image data (step S11). When the defect detecting unit 41 detects the defect in the inspection target region and detects the defect (step S12), the data of the image of the defective portion (that is, the defect image) is transmitted to the automatic defect classifying unit 42. The automatic defect classification unit 42 calculates a plurality of types of feature amounts of the defect image (step S13), and inputs the feature amount of the defect image to the classifier 421 of the automatic defect classification unit 42 to output the classification result. That is, the defect image is classified by the classifier 421 to any of a plurality of categories (step S14). In the image classification device 1, when the defect detection unit 41 detects a defect, the feature amount is calculated immediately, and the plurality of defect images are automatically classified at high speed.

接下來,對利用主電腦5之分類器之學習進行說明。圖3係表示主電腦5構成之圖。主電腦5成為將進行各種運算處理之 CPU51、記憶基本程式之唯讀記憶體(ROM,Read Only Memory)52及記憶各種資訊之隨機存取記憶體(RAM,Random Access Memory)53連接於匯流排線的一般電腦系統之構成。於匯流排線,進而適當地經由介面(I/F)等而連接有進行資訊記憶之固定碟片54、作為進行圖像等各種資訊之顯示之顯示部的顯示器55、受理來自操作者之輸入之鍵盤56a及滑鼠56b(以下統稱為「輸入部56」)、自光碟、磁碟、磁光碟等電腦可讀取之記錄媒體8進行資訊之讀取之讀取裝置57、以及與圖像分類裝置1之其他構成之間收發訊號之通訊部58。 Next, the learning of the classifier using the host computer 5 will be described. Fig. 3 is a view showing the configuration of the host computer 5. The main computer 5 becomes a variety of arithmetic processing The CPU 51, a ROM (Read Only Memory) 52 for storing a basic program, and a random access memory (RAM) 53 for storing various kinds of information are connected to a general computer system of a bus bar. In the bus line, the fixed disk 54 for information storage, the display 55 as a display unit for displaying various information such as images, and the input from the operator are connected via an interface (I/F) or the like as appropriate. The keyboard 56a and the mouse 56b (hereinafter collectively referred to as "input unit 56"), a reading device 57 for reading information from a computer-readable recording medium 8 such as a compact disc, a magnetic disk, a magneto-optical disc, and the like A communication unit 58 that transmits and receives signals between other components of the sorting device 1.

於主電腦5中,事先經由讀取裝置57自記錄媒體8讀出程式80而記憶於固定碟片54中,進而程式80被複製至RAM53中,並且藉由CPU51按照RAM53內之程式執行運算處理。 In the host computer 5, the program 80 is read from the recording medium 8 via the reading device 57 and stored in the fixed disk 54, and the program 80 is copied to the RAM 53, and the CPU 51 executes the arithmetic processing in accordance with the program in the RAM 53. .

圖4係表示藉由主電腦5之CPU51、ROM52、RAM53、固定碟片54等實現的用以使分類器學習之功能構成的方塊圖,亦表示檢查.分類裝置4。主電腦5具有製作用於分類器之學習之指導資料的指導資料製作部61、及使用指導資料而使分類器學習之學習部62。 4 is a block diagram showing the functions of the classifier learning by the CPU 51, the ROM 52, the RAM 53, the fixed disc 54, and the like of the host computer 5, and also shows the check. Classification device 4. The host computer 5 has a guidance material creation unit 61 that creates guidance materials for learning the classifier, and a learning unit 62 that learns the classifier using the guidance materials.

指導資料包含作為缺陷圖像之指導圖像之資料、指導圖像之特徵量、及表示缺陷之類別之資訊即指示訊號,作為指導圖像之特徵量,例如採用缺陷之面積、平均亮度、周長、扁平度、缺陷近似於橢圓之情形時的長軸之斜度等。於學習部62中,自指導資料中讀出之指導圖像之特徵量被輸入至主電腦5內之分類器(省略圖示),以使分類器之輸出與表示缺陷之類別之指示訊號相同之方式進行學習,將學習結果、即學習後之分類器421(準確而言,為表示分類器421之構造或變數之值之資訊)轉移至自動缺陷分類部42。 The instructional material includes information on the guidance image of the defect image, the feature quantity of the guidance image, and the information indicating the category of the defect, that is, the instruction signal, as the feature quantity of the guidance image, for example, the area of the defect, the average brightness, and the week The long axis, the flatness, the slope of the long axis when the defect is similar to the ellipse, and the like. In the learning unit 62, the feature amount of the guidance image read from the instruction material is input to the classifier (not shown) in the host computer 5 so that the output of the classifier is the same as the indication signal indicating the type of the defect. In the manner of learning, the learning result, that is, the classifier 421 after learning (accurately, information indicating the value of the structure or variable of the classifier 421) is transferred to the automatic defect classifying unit 42.

圖5係表示主電腦5之指導資料製作部61之功能構成 之方塊圖,亦表示學習部62。指導資料製作部61具有資料運算部610、顯示器55及輸入部56。資料運算部610具有評價值取得部611、類別候補特定部612、顯示控制部613、記憶部614及特徵量算出部615。關於資料運算部610之處理之詳情,於下文進行敍述。再者,資料運算部610及學習部62之功能可藉由專用電路構築,亦可局部地利用專用電路。 Fig. 5 is a view showing the functional configuration of the instruction material creating unit 61 of the host computer 5. The block diagram also shows the learning unit 62. The guidance material creation unit 61 includes a data calculation unit 610, a display 55, and an input unit 56. The data calculation unit 610 includes an evaluation value acquisition unit 611, a category candidate specifying unit 612, a display control unit 613, a storage unit 614, and a feature amount calculation unit 615. Details of the processing of the data calculation unit 610 will be described below. Furthermore, the functions of the data calculation unit 610 and the learning unit 62 can be constructed by a dedicated circuit, or a dedicated circuit can be used locally.

圖6係表示製作指導資料而使分類器學習之處理流程之圖。於指導資料製作部61中,首先,將作為指導資料製作用之缺陷圖像之多個指導圖像(例如數千個指導圖像)之資料記憶於圖5所示之指導資料製作部61之記憶部614中而進行準備(步驟S21)。再者,指導圖像可利用圖1所示之攝像裝置2及缺陷檢測部41而取得,亦可另行準備。 Fig. 6 is a view showing a processing flow for creating a guide material and learning the classifier. In the guidance material creation unit 61, first, the data of a plurality of guidance images (for example, thousands of guidance images) which are the defect images for guiding the material production are stored in the guidance material creation unit 61 shown in FIG. The memory unit 614 prepares (step S21). Further, the guidance image can be obtained by the imaging device 2 and the defect detecting unit 41 shown in FIG. 1, and can be separately prepared.

於特徵量算出部615中,算出所有指導圖像之複數個種類之(例如100~200個種類之)特徵量(步驟S22)。經算出之特徵量記憶於記憶部614。又,於顯示器55中,顯示各指導圖像,並且進行催促該指導圖像之類別之輸入之顯示,於輸入部56中,受理由操作者進行之類別之輸入(步驟S23)。於以下之說明中,將在步驟S23之處理中針對各指導圖像藉由操作者輸入之類別稱為「初始類別」。再者,各指導圖像之初始類別亦可藉由特定之演算法(algorithm)而自動決定。 The feature amount calculation unit 615 calculates a plurality of feature numbers (for example, 100 to 200 types) of all the guidance images (step S22). The calculated feature amount is stored in the memory unit 614. Further, on the display 55, each guidance image is displayed, and display for prompting the input of the type of the guidance image is performed, and the input unit 56 accepts the input of the category by the operator (step S23). In the following description, the category input by the operator for each guidance image in the process of step S23 is referred to as an "initial category". Furthermore, the initial category of each guide image can also be automatically determined by a specific algorithm.

圖7係例示顯示於顯示器55之複數個指導圖像之圖。於各指導圖像71a、71b、71c、71d之下方設置有類別顯示區域72,於圖7之指導圖像71a~71d中,初始類別(之名稱)分別記為「大缺損」、「中缺損」、「中突起」、「中突起」。以如此之方式,準備各自被分配至複數個類別之任一者之複數個指導圖像、及表示該複數個指導圖像之 類別之指導資料710並記憶於記憶部614。於本實施形態中,各指導圖像中之複數個特徵量亦包含於指導資料710中。又,針對複數個種類之類別之各者分配有編號,根據針對各指導圖像之初始類別之決定,將與該指導圖像建立了關聯之類別變數之值變更為初始類別之編號。 FIG. 7 is a diagram illustrating a plurality of guidance images displayed on the display 55. A category display area 72 is provided below each of the guidance images 71a, 71b, 71c, and 71d. In the guidance images 71a to 71d of FIG. 7, the initial categories (names) are respectively referred to as "large defect" and "medium defect". ", "protrusion", "middle protrusion". In this manner, a plurality of guidance images each of which is assigned to any of a plurality of categories, and a plurality of guidance images are prepared The guidance material 710 of the category is stored in the memory unit 614. In the present embodiment, a plurality of feature quantities in each guidance image are also included in the instruction material 710. Further, each of the plurality of types is assigned a number, and the value of the category variable associated with the guidance image is changed to the initial category number based on the determination of the initial type of each guidance image.

若準備指導資料710,則於評價值取得部611中,關於特徵量之各個種類,生成被分配至複數個類別之各者的指導圖像之特徵量之直方圖。圖8係表示特徵量之一個種類中之針對複數個類別之複數個直方圖的圖。於圖8之例中,5348個指導圖像被分配至編號1至4之4種類別之任一者,編號1之類別包含1578個之指導圖像,編號2之類別包含2849個指導圖像,編號3之類別包含688個指導圖像,編號4之類別包含133個指導圖像。又,於圖8中,於將各指導圖像之特徵量歸一化後量化為100個區間,且表示各區間之頻率。於圖8中,分別對編號1至4之類別之直方圖標附符號H1、H2、H3、H4。再者,評價值取得部611中之特徵量之直方圖只要為表示頻率分佈者即可,表示頻率分佈之圖表實質上亦與直方圖等效。 When the guidance material 710 is prepared, the evaluation value acquisition unit 611 generates a histogram of the feature amounts of the guidance images assigned to each of the plurality of categories in each of the feature types. Fig. 8 is a view showing a plurality of histograms for a plurality of categories among one type of feature quantities. In the example of FIG. 8, 5348 guidance images are assigned to any of the 4 categories of numbers 1 to 4, the category 1 number contains 1578 guide images, and the number 2 category contains 2849 guide images. The number 3 category contains 688 guide images, and the number 4 category contains 133 guide images. Moreover, in FIG. 8, the feature quantity of each guidance image is normalized, and it is quantized into 100 sections, and shows the frequency of each section. In FIG. 8, symbols H1, H2, H3, and H4 are attached to the histograms of the categories of numbers 1 to 4, respectively. In addition, the histogram of the feature amount in the evaluation value acquisition unit 611 may be a display of the frequency distribution, and the graph indicating the frequency distribution is substantially equivalent to the histogram.

於評價值取得部611中,針對特徵量之每個種類取得表示假定各指導圖像屬於複數個類別之各者之情形時之妥當性(亦可理解為機率)的評價值(步驟S24)。例如,將某指導圖像作為注目指導圖像,關於特徵量之一個種類,將包含注目指導圖像之特徵量之區間作為注目區間,於注目區間,編號1之類別之指導圖像存在x1個,編號2之類別之指導圖像存在x2個,編號3之類別之指導圖像存在x3個,編號4之類別之指導圖像存在x4個(即,直方圖H1、H2、H3、H4中之注目區間之頻率分別為x1個、x2個、x3個、x4個)。再者,於假設注目指導圖像之初始類別為編號2之類別之情形時,x2個中之1個為注 目指導圖像。於此情形時,表示假定注目指導圖像屬於編號n(此處,n為1至4中之任一者)之類別之情形時之妥當性的評價值Pn係以((xn/(x1+x2+x3+x4))×100)[%]之形式求出。 The evaluation value acquisition unit 611 acquires an evaluation value indicating the validity (may also be understood as a probability) when the respective guidance images belong to each of the plurality of categories for each type of the feature amount (step S24). For example, the image guide as a guide attention image characteristic amount with respect to one type, comprising an image characteristic amount of the guidance section as notable attention interval in attention interval, the category number of the image guide 1 x 1 exists There are x 2 guide images of category 2 , x 3 guide images of category 3 , and 4 guide images of category 4 (ie, histograms H1, H2, H3) The frequencies of the attention intervals in H4 are x 1 , x 2 , x 3 , and x 4 , respectively. Furthermore, when it is assumed that the initial category of the attention guidance image is the category of the number 2, one of the x 2 is the attention guidance image. In this case, it is assumed that the evaluation value P n of the case where the attention instruction image belongs to the category of the number n (here, n is any one of 1 to 4) is ((x n /( The form of x 1 + x 2 + x 3 + x 4 )) × 100) [%] is obtained.

具體而言,於注目指導圖像之特徵量在圖8中包含於標附符號A之區間,直方圖H1、H2、H3中之注目區間A之頻率分別為a1個、a2個、a3個之(直方圖H4中之頻率為0)情形時,表示假定注目指導圖像屬於編號1之類別之情形時之妥當性的評價值P1為((a1/(a1+a2+a3))×100)[%]。又,表示假定注目指導圖像屬於編號2之類別之情形時之妥當性的評價值P2為((a2/(a1+a2+a3))×100)[%],表示假定屬於編號3之類別之情形時之妥當性的評價值P3為((a3/(a1+a2+a3))×100)[%]。再者,表示假定注目指導圖像屬於編號4之類別之情形時之妥當性的評價值P4為0%。再者,於圖8中,藉由對黑點標附之符號表示該點之頻率。 In particular, attention to the guidance image feature amount included in Figure 8 is attached to the symbol interval labeled A, the histogram H1, H2, H3, frequency of section A of attention are a 1 th, a 2 th, A In the case of three (the frequency in the histogram H4 is 0), the evaluation value P 1 indicating the validity of the case where the attention guidance image belongs to the category of the number 1 is ((a 1 /(a 1 + a 2 ) +a 3 )) × 100) [%]. Further, the evaluation value P 2 indicating the validity of the case where the attention guidance image belongs to the category of the number 2 is ((a 2 /(a 1 + a 2 + a 3 )) × 100) [%], indicating the assumption The evaluation value P 3 of the case of the case of the category of the number 3 is ((a 3 /(a 1 + a 2 + a 3 )) × 100) [%]. In addition, the evaluation value P 4 indicating the validity of the case where the attention guidance image belongs to the category of the number 4 is 0%. Furthermore, in Fig. 8, the frequency of the point is indicated by a symbol attached to the black dot.

又,於注目指導圖像之特徵量在圖8中包含於標附符號B之區間,直方圖H1、H2、H3中之注目區間B之頻率分別為b1個、b2個、b3個之(直方圖H4中之頻率為0)情形時,表示假定注目指導圖像屬於編號1之類別之情形時之妥當性的評價值P1為((b1/(b1+b2+b3))×100)[%]。又,表示假定注目指導圖像屬於編號2之類別之情形時之妥當性的評價值P2為((b2/(b1+b2+b3))×100)[%],表示假定屬於編號3之類別之情形時之妥當性的評價值P3為((b3/(b1+b2+b3))×100)[%]。再者,表示假定注目指導圖像屬於編號4之類別之情形時之妥當性的評價值P4為0%。 Further, on the image feature amount of the attention guidance included in Figure 8 is attached to a standard symbol interval B, the frequency of the histogram H1, H2, H3 of attention in section B were respectively th b 1, b 2 th, b 3 th In the case where the frequency in the histogram H4 is 0, the evaluation value P 1 indicating the validity of the case where the attention guidance image belongs to the category 1 is (b 1 /(b 1 +b 2 +b) 3 )) × 100) [%]. In addition, the evaluation value P 2 indicating the validity of the case where the attention guidance image belongs to the category of number 2 is ((b 2 /(b 1 +b 2 +b 3 ))×100)[%], indicating the assumption The evaluation value P 3 of the case of the case of the category of the number 3 is ((b 3 /(b 1 +b 2 +b 3 ))×100)[%]. In addition, the evaluation value P 4 indicating the validity of the case where the attention guidance image belongs to the category of the number 4 is 0%.

進而,於注目指導圖像之特徵量於圖8中包含於標附符號C之區間,直方圖H3、H4中之注目區間C之頻率分別為c3個、c4 個之(直方圖H1、H2中之頻率為0)情形時,表示假定注目指導圖像屬於編號3之類別之情形時之妥當性的評價值P3為((c3/(c3+c4))×100)[%]。又,表示假定注目指導圖像屬於編號4之類別之情形時之妥當性的評價值P4為((c4/(c3+c4))×100)[%]。再者,表示假定注目指導圖像屬於編號1之類別之情形時之妥當性的評價值P1、及假定屬於編號2之類別之情形時之妥當性的評價值P2均為0%。 Further, the guidance image to the feature amount of the attention in Figure 8 is attached symbol included in the section labeled C, the histogram H3, H4 in the frequency range C of attention are th c 3, c 4 th sum (histogram H1, When the frequency in H2 is 0), the evaluation value P 3 indicating the validity of the case where the attention guidance image belongs to the category of number 3 is ((c 3 /(c 3 +c 4 ))×100) [ %]. Further, the evaluation value P 4 indicating the validity of the case where the attention instruction image belongs to the category of No. 4 is ((c 4 /(c 3 + c 4 )) × 100) [%]. In addition, the evaluation value P 2 indicating the validity of the case where the attention instruction image belongs to the category number 1 and the evaluation value P 2 when the assumption is the category of the number 2 are 0%.

如上所述,於評價值取得部611中,將包含各指導圖像之特徵量之區間作為注目區間,根據針對複數個類別之複數個直方圖中之注目區間之頻率,而取得針對該指導圖像之複數個類別之各者之評價值。藉此,於各指導圖像中,關於特徵量之一個種類,取得4種類別中之4個評價值之組合(例如,如「編號1之類別為25%、編號2之類別為72%、編號3之類別為3%、編號4之類別為0%」之組合)作為評價值群,於特徵量之種類有N個之情形時,原則上取得N個評價值群。上述處理係針對所有指導圖像進行,於所有指導圖像中(原則上)取得N個評價值群。於上述處理中,即便於直方圖具有多峰性之情形等時,亦可取得對應於該直方圖之凹凸之評價值。再者,表示假定各指導圖像屬於複數個類別之各者之情形時之妥當性的評價值亦可藉由上述以外之運算求出。 As described above, the evaluation value acquisition unit 611 sets the section including the feature amount of each guidance image as the attention section, and acquires the guidance map based on the frequency of the attention section in the plurality of histograms for the plurality of categories. The evaluation value of each of the plural categories. In this way, in each of the guidance images, a combination of four evaluation values among the four types of categories is obtained for one type of the feature amount (for example, "the category of the number 1 is 25%, the category of the number 2 is 72%," When the number of the number 3 is 3% and the category of the number 4 is 0%, the evaluation value group is N. When there are N types of the feature quantity, N evaluation value groups are obtained in principle. The above processing is performed for all the guidance images, and N evaluation value groups are acquired (in principle) in all the guidance images. In the above processing, even when the histogram has a multimodality or the like, an evaluation value corresponding to the unevenness of the histogram can be obtained. In addition, it is assumed that the evaluation value of the validity when each of the guidance images belongs to each of the plurality of categories can be obtained by an operation other than the above.

另一方面,例如,於圖8之橫軸中之右側區域,僅分佈編號4之類別之直方圖H4。於此情形時,即便於注目區間之直方圖H4之頻率如1或2般極低之情形時,編號4之類別之評價值亦必定為100%,會不合理地提昇利用下述處理求出之編號4之類別之評價值之代表值。因此,在關於特徵量之一個種類的複數個類別之複數個直方圖中針對一類別之直方圖中的注目區間之頻率為特定數(例如1或2)以 下,且針對其他所有類別之各者之直方圖中的注目區間之頻率為0之情形時,關於特徵量之該種類不取得評價值。 On the other hand, for example, in the right side region in the horizontal axis of Fig. 8, only the histogram H4 of the category of No. 4 is distributed. In this case, even if the frequency of the histogram H4 in the attention interval is extremely low as 1 or 2, the evaluation value of the category of the number 4 is necessarily 100%, which is unreasonably improved by the following processing. The representative value of the evaluation value of the category of No. 4. Therefore, the frequency of the attention interval in the histogram for a category in a plurality of histograms of a plurality of categories of one type of feature quantity is a specific number (for example, 1 or 2). In the case where the frequency of the attention section in the histogram of each of the other categories is 0, the evaluation value is not obtained for the type of the feature amount.

繼而,在類別候補特定部612中,於各指導圖像中,關於各類別,求出特徵量之複數個種類(準確而言為取得評價值之所有種類)中之評價值之代表值(步驟S25)。此處,所謂評價值之代表值係表示該評價值所分佈之範圍之中央附近的值,為平均值或中央值等。各指導圖像中之各類別之評價值之代表值成為表示假定該指導圖像屬於該類別之情形時的考慮複數個(所有)特徵量之妥當性的值。 Then, in the category candidate specifying unit 612, the representative value of the evaluation value among the plurality of types of feature amounts (accurately, all types of the evaluation values are obtained) is obtained for each of the guidance images (steps) S25). Here, the representative value of the evaluation value indicates a value near the center of the range in which the evaluation value is distributed, and is an average value or a central value. The representative value of the evaluation value of each category in each guidance image is a value indicating the validity of considering a plurality of (all) feature amounts when the guidance image belongs to the category.

若針對各指導圖像求出複數個類別中之複數個代表值,則特定根據該複數個代表值而被判定為該指導圖像所應從屬者之類別作為類別候補(步驟S26)。具體而言,於各指導圖像中,特定取得複數個代表值中之最大值之類別作為類別候補。其中,於該最大值未滿特定之閾值(例如50%)之情形時,較佳為對該指導圖像賦予「不可分類」作為類別候補。 When a plurality of representative values in the plurality of categories are obtained for each guidance image, the category determined to be the dependent person of the guidance image based on the plurality of representative values is specified as the category candidate (step S26). Specifically, in each of the guidance images, a category in which the maximum value among the plurality of representative values is specifically obtained is selected as the category candidate. However, when the maximum value is less than a specific threshold (for example, 50%), it is preferable to assign "unclassifiable" to the guidance image as a category candidate.

於顯示控制部613中,將指導資料710所示之初始類別與類別候補相異之指導圖像作為類別相異圖像,將複數個類別相異圖像顯示於顯示器55(步驟S27)。圖9係例示顯示於顯示器55之複數個指導圖像之圖,於本實施形態中,類別相異圖像71a、71d以外之指導圖像71b、71c亦顯示於顯示器55。於圖9之針對指導圖像71a~71d之類別顯示區域72中,將類別候補(之名稱)分別記為「不可分類」、「中缺損」、「中突起」、「不可分類」。又,於類別顯示區域72中,顯示初始類別及類別候補之兩者。進而,針對類別相異圖像71a、71d之類別顯示區域72之背景色與針對並非類別相異圖像之其他指導圖像71b、71c之類別顯示區域72之背景色相異,而強調類別相異圖像71a、71d。 In the display control unit 613, the guidance image having the initial category and the category candidate indicated by the guidance material 710 is displayed as a category-specific image, and a plurality of different types of images are displayed on the display 55 (step S27). FIG. 9 is a view showing a plurality of guidance images displayed on the display 55. In the present embodiment, the guidance images 71b and 71c other than the category-specific images 71a and 71d are also displayed on the display 55. In the category display area 72 for the guidance images 71a to 71d in FIG. 9, the category candidates (names) are respectively referred to as "unclassifiable", "medium defect", "middle protrusion", and "unclassifiable". Further, in the category display area 72, both the initial category and the category candidates are displayed. Further, the background color of the category display area 72 for the category-specific images 71a, 71d is different from the background color of the category display area 72 for the other guide images 71b, 71c of the image different from the category, and the emphasized categories are different. Images 71a, 71d.

繼而,作為操作者,藉由考慮針對各類別相異圖像之初始類別及類別候補並且參照該類別相異圖像,而決定最終類別(步驟S28)。繼而,於輸入部56中受理來自操作者之最終類別之輸入,變更或維持與作為該類別相異圖像之指導圖像建立了關聯之類別(類別變數之值)。以如此之方式,更新指導資料710。當然,亦可進行針對類別相異圖像以外之指導圖像之最終類別之輸入,但關於初始類別及類別候補一致之指導圖像,較佳為維持目前之類別(初始類別)。 Then, the operator determines the final category by considering the initial category and the category candidate for each type of dissimilar image and referring to the dissimilar image of the category (step S28). Then, the input unit 56 accepts the input from the final category of the operator, and changes or maintains the category (the value of the category variable) associated with the guidance image that is the image of the different type. In this manner, the guidance material 710 is updated. Of course, it is also possible to input the final category of the guidance image other than the category-specific image. However, it is preferable to maintain the current category (initial category) for the guidance image in which the initial category and the category candidate are identical.

若決定各指導圖像之最終類別,則包含所有指導圖像之資料、以及其等之特徵量及類別之資訊的更新後之指導資料710自記憶部614轉移至學習部62,於學習部62中使用指導資料710進行分類器之學習(步驟S29)。即,決定構成分類器(參照圖4)之變數之值,或決定構造而生成分類器421。藉此,製作指導資料而使分類器學習的圖6之處理完成。 When the final category of each guidance image is determined, the updated guidance material 710 including the information of all the guidance images and the information on the feature quantity and the category of the guidance image is transferred from the storage unit 614 to the learning unit 62, and the learning unit 62 The guidance material 710 is used to perform the learning of the classifier (step S29). That is, the value of the variable constituting the classifier (see FIG. 4) is determined, or the structure is determined to generate the classifier 421. Thereby, the processing of FIG. 6 in which the guidance material is created and the classifier is learned is completed.

此處,於圖6之處理中,針對各類別相異圖像,提示顧及特徵量之所有種類後之妥當性較高之類別候補。因此,已決定最終類別之指導資料不易包含與在特徵量空間中矛盾之類別建立關聯之指導圖像。即,指導資料之可靠性提高。由此,可期待使用此種指導資料之學習結果(分類器)具有較高之分類性能。 Here, in the processing of FIG. 6, for each type of dissimilar image, a category candidate having a higher degree of validity after considering all kinds of feature amounts is presented. Therefore, it has been decided that the guidance material of the final category does not easily contain a guidance image associated with the category that contradicts the feature quantity space. That is, the reliability of the guidance material is improved. Thus, it is expected that the learning result (classifier) using such guidance material has a high classification performance.

再者,若自原來之指導資料中去除類別相異圖像,並且進行重複數次步驟S24~S26之處理之下述處理,則可將被分配至某個類別作為初始類別之所有指導圖像以被特定為類別相異圖像之前之處理之重複次數相應地分割為複數個群組。各群組可理解為針對該類別之異質性之程度大致相等之指導圖像之集合,於複數個群組中,異質性之程度彼此相異。於圖10中,抽象地表示異質性之程度相異之複數 個群組,例如,於第1次處理中被特定為類別相異圖像之指導圖像可理解為包含於最外側之環狀區域Z1之「異質者」。於第2至4次處理中被特定為類別相異圖像之指導圖像分別包含於異質性之程度逐漸降低之環狀區域Z2、Z3、Z4。於第4次處理中亦未被特定為類別相異圖像之指導圖像包含於中央之圓形區域Z0,可理解為該類別之典型性指導圖像。 Furthermore, if the category dissimilar image is removed from the original instruction material and the following processing of the processing of steps S24 to S26 is repeated several times, all the guidance images assigned to a certain category as the initial category can be used. The number of repetitions of the processing before being distinguished by the category-specific image is correspondingly divided into a plurality of groups. Each group can be understood as a collection of guidance images that are approximately equal in degree of heterogeneity for the category, and the degree of heterogeneity differs from one another in a plurality of groups. In Figure 10, the plural of the degree of heterogeneity is abstractly represented For example, a guidance image that is specified as a different type of image in the first processing can be understood as a "heterogeneous person" included in the outermost annular region Z1. The guidance images specified as the different types of images in the second to fourth processings are respectively included in the annular regions Z2, Z3, and Z4 whose degrees of heterogeneity are gradually reduced. The guidance image that is not specified as a different type of image in the fourth processing is included in the central circular area Z0, and can be understood as a typical guidance image of the category.

接下來,對特定類別候補之上述處理之優越性進行說明。在圖像分類裝置1中,於圖6之處理中,可自原來之指導資料中去除類別相異圖像,並且重複進行數次步驟S24~S26之處理,此處,將自指導資料中去除類別相異圖像並且重複進行4次步驟S24~S26之處理之情形時的結果(以下稱為「本處理例之結果」)與比較例之處理之結果進行比較。此處,比較例之處理係與日本專利特開2010-91401號公報(文獻1)之方法相同之處理,其對特徵量之所有種類進行如下處理,即,根據屬於各類別之複數個指導圖像之各種特徵量之分散,針對該種類設定包含特徵量之代表值之特徵量範圍,對各指導圖像之一種特徵量包含於該種類之特徵量範圍之類別進行投票。繼而,將複數個類別中得票數最多之類別設為類別候補。再者,於得票數最多之類別與得票數第2多之類別之得票數的差為特定值以下之情形時,將此種指導圖像判定為不適當之指導圖像。 Next, the superiority of the above-described processing of the specific category candidate will be described. In the image classification device 1, in the process of FIG. 6, the class difference image can be removed from the original guidance material, and the processes of steps S24 to S26 are repeated several times, where the self-guided material is removed. The result of the case where the difference image of the type is repeated and the processing of steps S24 to S26 is repeated four times (hereinafter referred to as "the result of this processing example") is compared with the result of the processing of the comparative example. Here, the processing of the comparative example is the same as the method of the Japanese Patent Laid-Open Publication No. 2010-91401 (Document 1), and the processing of all kinds of feature quantities is performed as follows, that is, according to a plurality of guide figures belonging to each category For the dispersion of various feature amounts, a feature amount range including a representative value of the feature amount is set for the type, and a feature amount of each guidance image is included in the category of the feature amount range of the type to vote. Then, the category with the largest number of votes in the plurality of categories is set as the category candidate. In addition, when the difference between the number of votes having the largest number of votes and the number of votes having the second largest number of votes is equal to or less than a specific value, such a guidance image is determined as an inappropriate guidance image.

圖11係表示本處理例之結果之圖,圖12係表示比較例之結果之圖。於圖11及圖12中,將相同之複數個指導圖像71a~71d與類別候補一併表示。又,於圖11及圖12之針對類別相異圖像之類別顯示區域72中,特定為類別相異圖像之前之處理之重複次數越多,則標附寬度越窄之平行斜線(實際上,類別顯示區域72之背景色相 異)。實際上,於本處理例之結果中,圖11所示之指導圖像71a、71d係於步驟S24~S26之第1次處理中被特定為類別相異圖像,指導圖像71c係於步驟S24~S26之第4次處理中被特定為類別相異圖像,指導圖像71b於第1至4次中任一次處理中均未被特定為類別相異圖像(即,初始類別正確)。又,於比較例之結果中,圖12所示之指導圖像71b係於第1次比較例之處理中被特定為類別相異圖像,指導圖像71c係於第2次比較例之處理中被特定為類別相異圖像,指導圖像71a、71d於第1至4次中任一次比較例之處理中均未被特定為類別相異圖像。 Fig. 11 is a view showing the results of the present treatment example, and Fig. 12 is a view showing the results of the comparative examples. In FIGS. 11 and 12, the same plurality of guidance images 71a to 71d are shown together with the category candidates. Further, in the category display area 72 for the class-specific image in FIGS. 11 and 12, the more the number of repetitions of the processing before the category-specific image is specified, the narrower the diagonal line is attached (actually , the background hue of the category display area 72 different). Actually, in the results of the present processing example, the guidance images 71a and 71d shown in FIG. 11 are specified as the class-specific images in the first processing of steps S24 to S26, and the guidance image 71c is in the step. The fourth processing of S24 to S26 is specified as a class-specific image, and the guidance image 71b is not specified as a class-specific image in any of the first to fourth processes (that is, the initial category is correct). . Further, in the results of the comparative example, the guidance image 71b shown in FIG. 12 is specified as a class-specific image in the processing of the first comparative example, and the guidance image 71c is processed in the second comparative example. The middle image is specified as a class-contrast image, and the guidance images 71a and 71d are not specified as class-dissimilar images in the processing of any of the first to fourth comparative examples.

於比較例之處理中,如圖12所示,針對表示圖案之斷線之指導圖像71a,與初始類別同樣地將「大缺損」決定為類別候補。即,關於將於特徵量空間中被認為差異較大之「大缺損」及「斷線」一併作為「大缺損」來處理之方面未作任何指出。相對於此,於本處理例中,如圖11所示,針對表示圖案之斷線之指導圖像71a,將與初始類別之「大缺損」相異之「不可分類」決定為類別候補,而指出「大缺損」及「斷線」之混合存在。又,於本處理例中,針對指導圖像71d,將與初始類別之「中突起」相異之「不可分類」決定為類別候補,而指出不易分辨指導圖像71d為「中突起」或「大突起」中之哪一個。由以上可知,本處理例之結果較比較例之結果更符合人們之感覺。 In the processing of the comparative example, as shown in FIG. 12, the "large defect" is determined as the category candidate in the same manner as the initial category for the guidance image 71a indicating the disconnection of the pattern. In other words, the "large defect" and the "broken line" which are considered to have large differences in the feature amount space are not indicated as a "large defect". On the other hand, in the present processing example, as shown in FIG. 11, the "unclassifiable" which is different from the "large defect" of the initial category is determined as the category candidate for the guidance image 71a indicating the disconnection of the pattern. Point out the mixture of "large defect" and "broken line". Further, in the present processing example, the "unclassifiable" which is different from the "middle protrusion" of the initial category is determined as the category candidate for the guidance image 71d, and it is pointed out that the indistinguishable guidance image 71d is "middle protrusion" or " Which of the big protrusions? As apparent from the above, the results of the present treatment examples are more in line with the feelings of the comparative examples.

如以上所說明般,於圖像分類裝置1中,將複數個指導圖像及表示複數個之指導圖像之類別之指導資料記憶於記憶部614,關於特徵量之複數個種類之各者,藉由評價值取得部611取得表示假定各指導圖像屬於複數個類別之各者之情形時之妥當性的評價值。繼而,在類別候補特定部612中,於各指導圖像中,針對每個類別求出特徵量之複數個種類中之評價值之代表值,進而,特定根據複數個類 別中之複數個代表值而被判定為各指導圖像所應從屬者之類別作為類別候補。藉此,可針對各指導圖像利用簡單之運算容易地特定基於複數個種類(所有種類)之特徵量之適當之類別候補。 As described above, in the image classification device 1, a plurality of guidance images and guidance materials indicating the types of the plurality of guidance images are stored in the storage unit 614, and each of the plurality of types of the feature amount is used. The evaluation value acquisition unit 611 acquires an evaluation value indicating the validity when each of the guidance images belongs to each of the plurality of categories. Then, in the category candidate specifying unit 612, representative values of the evaluation values in the plurality of types of the feature amounts are obtained for each of the types of guidance images, and further, the plurality of classes are specified. The plurality of representative values are determined to be the category candidates of the respective dependent images. Thereby, it is possible to easily specify an appropriate category candidate based on the feature amounts of a plurality of types (all types) by simple calculation for each guidance image.

又,初始類別與類別候補相異之指導圖像即類別相異圖像藉由顯示控制部613而與類別候補一併顯示於顯示器55。繼而,操作者參照顯示器55上之類別相異圖像及類別候補,而進行最終類別之輸入,藉此可容易地製作可靠性較高之指導資料。其結果為,於圖像分類裝置1中,可利用使用該指導資料進行學習之分類器421而精度良好地將缺陷圖像分類。 Further, the guidance image different in the initial category from the category candidate, that is, the category difference image, is displayed on the display 55 together with the category candidate by the display control unit 613. Then, the operator refers to the category-specific image and the category candidate on the display 55, and inputs the final category, whereby the highly reliable guidance material can be easily produced. As a result, in the image classification device 1, the defect image can be accurately classified by the classifier 421 that uses the guidance material for learning.

又,針對各類別相異圖像,將初始類別及類別候補兩者並列地顯示於顯示器55,藉此而使操作者可容易地進行類別相異圖像之解釋。進而,於圖像分類裝置1中,於特徵量之各種類中之複數個直方圖中針對一類別之直方圖中的注目區間之頻率為(1以上)特定數以下,且針對其他所有類別之各者之直方圖中的注目區間之頻率為0之情形時,於評價值取得部611中不取得特徵量之該種類之評價值。藉此,無需進行藉由分散分析(即,變異數分析(ANOVA,analysis of variance))等排除不需要之特徵量之種類的處理,便可排除不合理地提昇評價值之代表值的不適當之特徵量之種類(之評價值)。 Further, for each type of dissimilar image, both the initial category and the category candidate are displayed in parallel on the display 55, whereby the operator can easily interpret the dissimilar image. Further, in the image classification device 1, the frequency of the attention interval in the histogram of one category in the plurality of histograms of the various types of the feature amount is (1 or more) the specific number or less, and is for all other categories. When the frequency of the attention interval in the histogram of each of the cases is 0, the evaluation value acquisition unit 611 does not acquire the evaluation value of the type of the feature amount. Thereby, it is not necessary to perform the process of excluding the type of the feature quantity that is not required by the dispersion analysis (ie, analysis of variance), and it is possible to eliminate the inappropriate increase of the representative value of the evaluation value unreasonably. The type of feature quantity (evaluation value).

且說,於指導圖像之個數較少之情形時,許多指導圖像於任一區間孤立地存在(於特徵量空間中成為孤立之狀態),表示如圖8之編號4之類別之直方圖H4般於大部分區間內頻率較低且平坦之分佈。於此種情形時,較佳為,於編號n之類別之直方圖中,將不僅注目指導圖像中之注目區間之頻率亦加上鄰接於該注目區間之兩側之複數個區間之頻率所得的值設為xn,藉由((xn/(x1+x2+x3+x4))×100)[%] 求出評價值Pn。如此,於評價值取得部611中,根據複數個直方圖中之注目區間及鄰接於注目區間之兩側之複數個區間之頻率,而取得針對各指導圖像之複數個類別之各者的評價值,藉此,於指導圖像之個數較少之情形等時,亦可適當地決定類別候補。 Furthermore, when the number of guidance images is small, many guidance images exist in isolation in any interval (in an isolated state in the feature amount space), and represent a histogram of the category of number 4 in FIG. H4 is like a low frequency and flat distribution in most intervals. In this case, it is preferable that in the histogram of the category of the number n, not only the frequency of the attention interval in the attention instruction image but also the frequency of the plurality of intervals adjacent to both sides of the attention interval is obtained. The value of x n is set, and the evaluation value P n is obtained by ((x n / (x 1 + x 2 + x 3 + x 4 )) × 100) [%]. In the evaluation value acquisition unit 611, based on the frequency of the attention area in the plurality of histograms and the plurality of sections adjacent to both sides of the attention section, the evaluation is performed for each of the plurality of categories of the guidance images. Therefore, when the number of guidance images is small, the category candidates can be appropriately determined.

以上,對本發明之實施形態進行了說明,但本發明並不限定於上述實施形態,可進行各種變形。 Although the embodiments of the present invention have been described above, the present invention is not limited to the above embodiments, and various modifications can be made.

於上述實施形態中,藉由參照自指導資料中去除類別相異圖像並且重複進行數次圖6之步驟S24~S26之處理的結果,對特定類別候補之圖6之處理之優越性進行了說明,但亦可藉由自指導資料中去除類別相異圖像並且重複進行數次步驟S24~S26之處理,而生成最終之指導資料。如參照圖10所說明般,此種指導資料可理解為僅包含各類別之典型性指導圖像。 In the above embodiment, the superiority of the processing of FIG. 6 of the specific category candidate is performed by referring to the result of the process of removing the category dissimilar image from the instruction material and repeating the processing of steps S24 to S26 of FIG. 6 several times. Note, but the final guidance material may also be generated by removing the category dissimilar image from the instructional material and repeating the processing of steps S24 to S26 several times. As explained with reference to Figure 10, such guidance material can be understood to include only typical guidance images for each category.

於顯示器55中,並非必需顯示複數個類別相異圖像,亦可僅顯示1個類別相異圖像。又,亦可僅將類別候補與類別相異圖像一併顯示。如上所述,於圖6之步驟S27之處理中,將至少1個類別相異圖像之各者與類別候補一併顯示於顯示器55。 In the display 55, it is not necessary to display a plurality of different types of images, and only one type of different images may be displayed. Further, it is also possible to display only the category candidates and the different types of images. As described above, in the processing of step S27 of FIG. 6, each of at least one type of dissimilar image is displayed on the display 55 together with the category candidate.

於圖像分類裝置1中,亦可藉由檢查.分類裝置4算出用於指導資料之多個指導圖像之特徵量。又,亦可自指導資料省略特徵量,於學習部62中根據指導圖像之資料求出特徵量。 In the image classification device 1, it can also be checked by inspection. The sorting means 4 calculates the feature amount of the plurality of guidance images for guiding the material. Further, the feature amount may be omitted from the guidance material, and the feature amount may be obtained from the learning unit 62 based on the data of the guidance image.

於上述實施形態中,說明了對缺陷檢查裝置附加自動缺陷分類之功能之圖像分類裝置1,於其他對觀察由缺陷檢查裝置檢測到之基板上之缺陷的觀察裝置(亦稱為檢視裝置)附加自動缺陷分類之功能之裝置(可同樣地理解為圖像分類裝置)中,亦可使用上述指導資料製作部61。於此種圖像分類裝置中之攝像裝置中,為了更高度地分析缺 陷,取得與圖1之攝像裝置2相比較高之解像度之圖像。 In the above embodiment, the image classifying device 1 that adds the function of automatic defect classification to the defect inspection device, and other observation devices (also referred to as inspection devices) that observe defects on the substrate detected by the defect inspection device are described. In the device to which the function of automatic defect classification is added (which can be similarly understood as an image classifying device), the above-described guidance material creating unit 61 can also be used. In the image pickup device of such an image sorting device, in order to analyze the lack of height more In the trap, an image having a higher resolution than the image pickup device 2 of FIG. 1 is obtained.

於圖1之圖像分類裝置1中,亦可代替半導體基板而進行玻璃基板(例如平面顯示裝置用之玻璃基板)、印刷配線基板或用於基板之曝光之遮罩基板等的檢查。 In the image classification device 1 of FIG. 1, an inspection of a glass substrate (for example, a glass substrate for a flat display device), a printed wiring substrate, or a mask substrate for exposure of a substrate may be performed instead of the semiconductor substrate.

又,圖像分類裝置1亦可用於對拍攝血液或培養液等特定之液體中之細胞的細胞圖像進行分類之用途。如此,圖像分類裝置1可用於表示各種對象物之圖像之分類。進而,於圖像分類裝置1中,除藉由可見光拍攝之圖像以外,亦可對藉由電子束或X射線等拍攝之圖像進行分類。 Further, the image classification device 1 can also be used for the purpose of classifying cell images of cells in a specific liquid such as blood or a culture solution. As such, the image classification device 1 can be used to indicate the classification of images of various objects. Further, in the image classification device 1, in addition to images captured by visible light, images captured by an electron beam or X-rays or the like can be classified.

於上述實施形態中,藉由針對各指導圖像特定類別候補而驗證指導資料的指導資料驗證裝置係藉由設置於指導資料製作部61之記憶部614、評價值取得部611、類別候補特定部612及顯示控制部613而實現,但指導資料驗證裝置亦可作為與指導資料製作部61分離之裝置而實現。又,作為指導資料製作裝置之指導資料製作部61亦可作為與圖像分類裝置1分離之裝置而實現。 In the above-described embodiment, the guidance material verification device that verifies the guidance material for each guidance image specific category candidate is provided in the memory unit 614, the evaluation value acquisition unit 611, and the category candidate specific unit provided in the guidance material creation unit 61. Although the 612 and the display control unit 613 are realized, the instruction material verification device can be realized as a device separate from the guidance material creation unit 61. Further, the guidance material creation unit 61 as the guidance material creation device can also be realized as a device separate from the image classification device 1.

上述實施形態及各變形例中之構成只要不相互矛盾便可適當組合。 The configurations in the above-described embodiments and modifications are appropriately combined as long as they do not contradict each other.

雖詳細地描寫並說明了發明,但上述說明為例示而非限定性者。因此可謂,只要不脫離本發明之範圍,便可實現多種變形或態樣。 The invention has been described and illustrated in detail, but the foregoing description is illustrative and not restrictive. Therefore, various modifications or aspects can be realized without departing from the scope of the invention.

55‧‧‧顯示器 55‧‧‧ display

56‧‧‧輸入部 56‧‧‧ Input Department

61‧‧‧指導資料製作部 61‧‧‧Guidance Materials Production Department

62‧‧‧學習部 62‧‧‧Learning Department

610‧‧‧資料運算部 610‧‧‧Data Computing Department

611‧‧‧評價值取得部 611‧‧‧ Evaluation Value Acquisition Department

612‧‧‧類別候補特定部 612‧‧‧ Category Specific Department

613‧‧‧顯示控制部 613‧‧‧Display Control Department

614‧‧‧記憶部 614‧‧‧Memory Department

615‧‧‧特徵量算出部 615‧‧‧Characteristic calculation unit

710‧‧‧指導資料 710‧‧‧Guide materials

Claims (14)

一種指導資料驗證裝置,其係為驗證指導資料者,而該指導資料被使用於將圖像加以分類之分類器的學習;且具備:記憶部,其記憶各自被分配至複數個類別之任一者之複數個指導圖像、及表示上述複數個指導圖像之類別之指導資料;評價值取得部,其關於特徵量之複數個種類之各者,取得用於表示當各指導圖像屬於上述複數個類別之各者之情形時之妥當性的評價值;類別候補特定部,其係於上述各指導圖像中,關於上述複數個類別之各者,求出特徵量之在上述複數個種類中之評價值之代表值,並根據在上述複數個類別中之複數個代表值而將判定為上述各指導圖像所應屬之類別當作為類別候補加以特定;及顯示控制部,其將上述指導資料所示之類別與上述類別候補為相異之指導圖像當作為類別相異圖像,而將至少1個類別相異圖像之各者與上述類別候補一併顯示於顯示部。 A guidance material verification device is a verification guide information, and the guidance material is used for learning a classifier that classifies images; and has: a memory portion, each of which is assigned to any one of a plurality of categories a plurality of guidance images and guidance materials indicating types of the plurality of guidance images; and an evaluation value acquisition unit that acquires, for each of a plurality of types of feature quantities, that each of the guidance images belongs to the above The evaluation value of the validity of each of the plurality of categories; the category candidate specifying unit is configured to determine the feature quantity in each of the plurality of categories in each of the plurality of categories a representative value of the evaluation value, and determining, based on the plurality of representative values in the plurality of categories, a category to which each of the guidance images belongs is specified as a category candidate; and a display control unit that The guidance image shown in the instructional material is different from the above-mentioned category candidate as a different image of the category, and each of the at least one different type of image is associated with the above category. The candidate is displayed on the display unit together. 如申請專利範圍第1項之指導資料驗證裝置,其中,上述評價值取得部係關於特徵量之各個種類,生成被分配至上述複數個類別之各者的指導圖像之特徵量之直方圖,而將包含上述各指導圖像之特徵量之區間當作為注目區間,根據在對於上述複數個類別之複數個直方圖中之上述注目區間之頻率,而取得對於上述各指導圖像之上述複數個類別之各者之上述評價值。 The guidance data verification device according to the first aspect of the invention, wherein the evaluation value acquisition unit generates a histogram of the feature amount of the guidance image assigned to each of the plurality of categories with respect to each type of the feature amount. And a section including the feature quantity of each of the guidance images is used as a target section, and the plurality of the plurality of guidance images are obtained based on a frequency of the attention range in the plurality of histograms of the plurality of categories. The above evaluation values of each of the categories. 如申請專利範圍第2項之指導資料驗證裝置,其中,上述評價值取得部係根據在上述複數個直方圖中之上述注目區間及鄰接於上述注目區間之兩側之複數個區間之頻率,而取得對於上述各指導圖像之上述複數個類別之各者之上述評價值。 The guidance data verification device according to the second aspect of the invention, wherein the evaluation value acquisition unit is based on a frequency of the plurality of sections in the plurality of histograms and the plurality of sections adjacent to both sides of the attention section. The evaluation values for each of the plurality of categories of the respective guidance images are obtained. 如申請專利範圍第2項之指導資料驗證裝置,其中,於上述複數個直方圖中,在對於一個類別之直方圖中的上述注目區間之頻率為特定數以下而在對於其他所有類別之各者之直方圖中的上述注目區間之頻率為0之情形時,上述評價值取得部則不取得上述評價值。 The guidance material verification device of claim 2, wherein in the plurality of histograms, the frequency of the above-mentioned attention interval in the histogram for one category is a specific number or less and for each of all other categories When the frequency of the above-mentioned attention section in the histogram is 0, the evaluation value acquisition unit does not acquire the evaluation value. 如申請專利範圍第1至4項中任一項之指導資料驗證裝置,其中,上述顯示控制部將上述至少1個類別相異圖像之各者與上述指導資料所示之類別及上述類別候補一併顯示於上述顯示部。 The guidance data verification device according to any one of claims 1 to 4, wherein the display control unit displays each of the at least one different type of image and the category indicated by the guidance material and the candidate of the category Also displayed on the display unit described above. 一種指導資料製作裝置,其係為製作指導資料者,而該指導資料被使用於將圖像加以分類之分類器的學習;且包括:申請專利範圍第1至5項中任一項之指導資料驗證裝置;及輸入部,其受理對於上述至少1個類別相異圖像之各者的最終類別之輸入。 A guidance material production device for producing a guide material for use in learning a classifier for classifying an image; and comprising: guidance material for applying for any one of claims 1 to 5 a verification device; and an input unit that accepts input of a final category for each of the at least one different type of image. 一種圖像分類裝置,其係將圖像加以分類者;且具備:申請專利範圍第6項之指導資料製作裝置;及分類器,其使用藉由上述指導資料製作裝置所製作之指導資料而進行學習,並且將圖像加以分類。 An image classification device that classifies an image; and includes: a guidance material production device of claim 6; and a classifier that uses the guidance material produced by the guidance material production device Learn and classify images. 一種指導資料驗證方法,其係為驗證指導資料者,而該指導資料被使用於將圖像加以分類之分類器的學習;且具備如下步驟:a)準備各自被分配至複數個類別之任一者之複數個指導圖像及表示上述複數個指導圖像之類別之指導資料;b)關於特徵量之複數個種類之各者,取得用於表示當各指導圖像屬於上述複數個類別之各者之情形時之妥當性的評價值;c)於上述各指導圖像中,關於上述複數個類別之各者,求出特徵量之在上述複數個種類中之評價值之代表值; d)根據在上述複數個類別中之複數個代表值而將判定為上述各指導圖像所應屬之類別當作為類別候補加以特定;及e)將上述指導資料所示之類別與上述類別候補為相異之指導圖像當作為類別相異圖像,而將至少1個類別相異圖像之各者與上述類別候補一併顯示於顯示部。 A method for guiding data verification, which is to verify the guidance material, and the guidance material is used for learning the classifier for classifying images; and has the following steps: a) preparing each of the plurality of categories to be assigned a plurality of guidance images and guidance materials indicating categories of the plurality of guidance images; b) each of a plurality of types of feature quantities is obtained for indicating that each guidance image belongs to each of the plurality of categories The evaluation value of the validity of the case; c) obtaining, in each of the plurality of categories, the representative value of the evaluation value of the feature quantity in the plurality of types in each of the guidance images; d) specifying, as the category candidate, the category to which the respective guidance images belong, based on the plurality of representative values in the plurality of categories; and e) classifying the category indicated by the guidance material and the category candidate Each of the at least one type of dissimilar image is displayed on the display unit together with the category candidate as the different dissimilar image. 如申請專利範圍第8項之指導資料驗證方法,其中,於上述b)步驟中,關於特徵量之各個種類,生成被分配至上述複數個類別之各者的指導圖像之特徵量之直方圖,而將包含上述各指導圖像之特徵量之區間當作為注目區間,根據在對於上述複數個類別之複數個直方圖中之上述注目區間之頻率,而取得對於上述各指導圖像之上述複數個類別之各者之上述評價值。 The method for verifying the guidance data of the eighth aspect of the patent application, wherein in the step b), a histogram of the feature quantity of the guidance image assigned to each of the plurality of categories is generated for each type of the feature quantity And the section including the feature quantity of each of the guidance images is used as the attention section, and the complex number for each of the guidance images is obtained based on the frequency of the attention range in the plurality of histograms of the plurality of categories The above evaluation values for each of the categories. 如申請專利範圍第9項之指導資料驗證方法,其中,於上述b)步驟中,根據在上述複數個直方圖中之上述注目區間及鄰接於上述注目區間之兩側之複數個區間之頻率,而取得對於上述各指導圖像之上述複數個類別之各者之上述評價值。 The method for verifying the guidance data according to claim 9 wherein, in the step b), the frequency of the plurality of intervals in the plurality of histograms and the plurality of intervals adjacent to the two sides of the attention range are The evaluation values for each of the plurality of categories of the respective guidance images are obtained. 如申請專利範圍第9項之指導資料驗證方法,其中,於上述b)步驟中,於上述複數個直方圖中,在對於一個類別之直方圖中的上述注目區間之頻率為特定數以下而在對於其他所有類別之各者之直方圖中的上述注目區間之頻率為0之情形時,不取得上述評價值。 The method for verifying the guidance data of claim 9 wherein, in the step b), in the plurality of histograms, the frequency of the above-mentioned attention interval in the histogram for one category is a specific number or less When the frequency of the above-mentioned attention interval in the histogram of each of the other categories is 0, the above evaluation value is not obtained. 如申請專利範圍第8至11項中任一項之指導資料驗證方法,其中,於上述e)步驟中,將上述至少1個類別相異圖像之各者與上述指導資料所示之類別及上述類別候補一併顯示於上述顯示部。 The method for verifying the guidance data according to any one of the items 8 to 11, wherein in the step e), each of the at least one different type of image and the category indicated by the guidance material are The above-mentioned category candidates are displayed together on the display unit. 一種指導資料製作方法,其係為製作指導資料者,而該指導資料被使用於將圖像加以分類之分類器的學習,且具備: 申請專利範圍第8至12項中任一項之指導資料驗證方法、及決定對於上述至少1個類別相異圖像之各者的最終類別之步驟。 A method for producing a guidance material, which is for the production of a guide material, and the guide material is used for learning a classifier that classifies images, and has: A method of verifying a guidance material according to any one of claims 8 to 12, and a step of determining a final category for each of the at least one of the different types of images. 一種圖像分類方法,其係為將圖像加以分類者;且具備如下步驟:使用藉由申請專利範圍第13項之指導資料製作方法所製作之指導資料而使分類器學習;及藉由上述分類器將圖像加以分類。 An image classification method for classifying an image; and having the following steps: learning the classifier by using the guidance material produced by the guidance material production method of claim 13; and by the above The classifier classifies the images.
TW102124865A 2012-09-28 2013-07-11 Training data verification apparatus, training data generation apparatus, image classification apparatus, training data verification method, training data generation method, and image classification method TWI502189B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012215984A JP6059486B2 (en) 2012-09-28 2012-09-28 Teacher data verification device, teacher data creation device, image classification device, teacher data verification method, teacher data creation method, and image classification method

Publications (2)

Publication Number Publication Date
TW201413239A true TW201413239A (en) 2014-04-01
TWI502189B TWI502189B (en) 2015-10-01

Family

ID=50746292

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102124865A TWI502189B (en) 2012-09-28 2013-07-11 Training data verification apparatus, training data generation apparatus, image classification apparatus, training data verification method, training data generation method, and image classification method

Country Status (2)

Country Link
JP (1) JP6059486B2 (en)
TW (1) TWI502189B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI778290B (en) * 2018-08-27 2022-09-21 日商斯庫林集團股份有限公司 Teacher data generating method and discharge state determining method
TWI800858B (en) * 2020-07-03 2023-05-01 日商歐姆龍股份有限公司 X-ray inspection device

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6472621B2 (en) * 2014-08-12 2019-02-20 株式会社Screenホールディングス Classifier construction method, image classification method, and image classification apparatus
TWI797699B (en) * 2015-12-22 2023-04-01 以色列商應用材料以色列公司 Method of deep learning - based examination of a semiconductor specimen and system thereof
JP6763673B2 (en) * 2016-03-10 2020-09-30 株式会社Screenホールディングス Teacher data creation support device, image classification device, teacher data creation support method and image classification method
US10964013B2 (en) * 2017-01-10 2021-03-30 Kla-Tencor Corporation System, method for training and applying defect classifiers in wafers having deeply stacked layers
JP2018136903A (en) * 2017-02-21 2018-08-30 エンゼルプレイングカード株式会社 System for counting number of gaming-purpose substitute currency
WO2019059011A1 (en) * 2017-09-19 2019-03-28 富士フイルム株式会社 Training data creation method and device, and defect inspecting method and device
JP7050470B2 (en) * 2017-11-21 2022-04-08 千代田化工建設株式会社 Inspection support system, learning device, and judgment device
JP7214417B2 (en) * 2018-09-20 2023-01-30 株式会社Screenホールディングス Data processing method and data processing program
US20220130132A1 (en) * 2019-03-19 2022-04-28 Nec Corporation Image processing method, image processing apparatus, and program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4132229B2 (en) * 1998-06-03 2008-08-13 株式会社ルネサステクノロジ Defect classification method
JP2001188906A (en) * 1999-12-28 2001-07-10 Hitachi Ltd Method and device for automatic image calssification
KR100882484B1 (en) * 2007-04-10 2009-02-09 삼성전자주식회사 Semiconductor memory device having error detection function, memory system having the same, and method of outputting data of the same
WO2009025236A1 (en) * 2007-08-17 2009-02-26 Ntt Docomo, Inc. Mobile communication method, radio base station device, and mobile station
CN101329736B (en) * 2008-06-20 2011-04-27 西安电子科技大学 Method of image segmentation based on character selection and hidden Markov model
EP2341836B1 (en) * 2008-09-24 2017-03-22 Koninklijke Philips N.V. Generation of standard protocols for review of 3d ultrasound image data
CN101426150B (en) * 2008-12-08 2011-05-11 青岛海信电子产业控股股份有限公司 Video image quality evaluation method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI778290B (en) * 2018-08-27 2022-09-21 日商斯庫林集團股份有限公司 Teacher data generating method and discharge state determining method
TWI800858B (en) * 2020-07-03 2023-05-01 日商歐姆龍股份有限公司 X-ray inspection device

Also Published As

Publication number Publication date
JP2014070944A (en) 2014-04-21
TWI502189B (en) 2015-10-01
JP6059486B2 (en) 2017-01-11

Similar Documents

Publication Publication Date Title
TWI502189B (en) Training data verification apparatus, training data generation apparatus, image classification apparatus, training data verification method, training data generation method, and image classification method
US7720275B2 (en) Method and apparatus for detecting pattern defects
JP6063756B2 (en) Teacher data creation support device, teacher data creation device, image classification device, teacher data creation support method, teacher data creation method, and image classification method
JP6113024B2 (en) Classifier acquisition method, defect classification method, defect classification device, and program
JP6598790B2 (en) Wafer and lot-based tiering methods that combine customized metrics with global classification methods to monitor process tool status with extreme throughput
JP6472621B2 (en) Classifier construction method, image classification method, and image classification apparatus
JP6669453B2 (en) Image classification device and image classification method
JP3978098B2 (en) Defect classification method and apparatus
JP2005293264A (en) Learning type sorting apparatus and learning type sorting method
KR102084535B1 (en) Defect inspection device, defect inspection method
JP2004294360A (en) Method and apparatus for classifying defects
JP2011158373A (en) Method for creation of teacher data for use in automatic defect classification, and method and apparatus for automatic defect classification
JP2013134666A (en) Binary image generation device, classification device, binary image generation method, and classification method
JP5075070B2 (en) Teacher data creation method, image classification method, and image classification apparatus
JP2016181098A (en) Area detection device and area detection method
JP2014137284A (en) Teacher data creation support device, teacher data creation device, image classification device, teacher data creation support method, teacher data creation method and image classification method
JP2016191589A (en) Defect classification device defect classification method
JP6530688B2 (en) Classifier construction method, image classification method, classifier construction apparatus and image classification apparatus
JP2017107313A (en) Teacher data creation support method, image classification method, teacher data creation support device and image classification device
JP6763673B2 (en) Teacher data creation support device, image classification device, teacher data creation support method and image classification method
JP6871807B2 (en) Classifier construction method, classifier and classifier construction device
JP5075083B2 (en) Teacher data creation support method, image classification method, and image classification apparatus
JP6425468B2 (en) Teacher data creation support method, image classification method, teacher data creation support device and image classification device
JP2013205320A (en) Inspection condition determination method, inspection method, and inspection device
JP5858817B2 (en) Teacher data creation method, image classification method, and image classification apparatus