WO2014034349A1 - Defect classification device, defect classification method, control program, and recording medium - Google Patents

Defect classification device, defect classification method, control program, and recording medium Download PDF

Info

Publication number
WO2014034349A1
WO2014034349A1 PCT/JP2013/070531 JP2013070531W WO2014034349A1 WO 2014034349 A1 WO2014034349 A1 WO 2014034349A1 JP 2013070531 W JP2013070531 W JP 2013070531W WO 2014034349 A1 WO2014034349 A1 WO 2014034349A1
Authority
WO
WIPO (PCT)
Prior art keywords
defect
region
foreign matter
outer peripheral
area
Prior art date
Application number
PCT/JP2013/070531
Other languages
French (fr)
Japanese (ja)
Inventor
山田 栄二
Original Assignee
シャープ株式会社
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 シャープ株式会社 filed Critical シャープ株式会社
Priority to CN201380039119.3A priority Critical patent/CN104508469A/en
Publication of WO2014034349A1 publication Critical patent/WO2014034349A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/956Inspecting patterns on the surface of objects
    • GPHYSICS
    • G02OPTICS
    • G02FOPTICAL DEVICES OR ARRANGEMENTS FOR THE CONTROL OF LIGHT BY MODIFICATION OF THE OPTICAL PROPERTIES OF THE MEDIA OF THE ELEMENTS INVOLVED THEREIN; NON-LINEAR OPTICS; FREQUENCY-CHANGING OF LIGHT; OPTICAL LOGIC ELEMENTS; OPTICAL ANALOGUE/DIGITAL CONVERTERS
    • G02F1/00Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics
    • G02F1/01Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour 
    • G02F1/13Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour  based on liquid crystals, e.g. single liquid crystal display cells
    • G02F1/1306Details
    • G02F1/1309Repairing; Testing

Definitions

  • the present invention relates to defect detection of an inspection object by analyzing an image obtained by photographing the inspection object, and more particularly to classification of detected defects.
  • Patent Document 1 a defect generated in the flat panel display is detected using an input image that is an image of a flat panel display that is an inspection object, and the detected defect is classified by type. It is described.
  • Japanese Patent Publication Japanese Patent Laid-Open No. 2012-32369 (Released on February 16, 2012)”
  • a defect (hereinafter referred to as an in-film foreign matter) occurs due to foreign matter entering the film.
  • an in-film foreign matter a defect due to the adhesion of the foreign substance on the film.
  • Such defects are particularly likely to occur in products manufactured using a CVD (Chemical Vapor Deposition) apparatus.
  • In-film foreign matter may cause product defects and must be removed with a repair device.
  • the foreign matter on the film is removed by cleaning, it does not cause a defect.
  • the necessary countermeasures are different between the in-film foreign matter and the on-film foreign matter, it is desirable that these defects can be identified.
  • the conventional techniques as described above have a problem that it is difficult to distinguish in-film foreign matter and on-film foreign matter that are similar in appearance, or the identification accuracy is low.
  • the present invention has been made in view of the above problems, and an object of the present invention is to provide a defect classification apparatus and the like that can identify and classify in-film foreign matter and on-film foreign matter.
  • a defect analysis apparatus is a defect classification apparatus that classifies defects in a defect region detected in an inspection image obtained by photographing an inspection object having a thin film formed on a surface thereof.
  • a color of a pixel included in the outer peripheral area which is a part of the defective area and is an annular area along the outer periphery of the defective area, and an area outside the defective area, adjacent to the outer peripheral area.
  • a feature amount calculating means for calculating a feature amount indicating a magnitude of a difference from a pixel color of the non-defective region, and a defect in the defective region based on the feature amount calculated by the feature amount calculating means.
  • the thin film is classified as an in-film foreign matter defect in which foreign matter exists on the inner side of the inspection object, or the thin film is classified as a foreign matter defect on the film in which foreign matter exists on the outer side of the inspection object.
  • defect classification means It is characterized.
  • a defect analysis method is a defect analysis method by a defect classification device that classifies defects in a defect area detected in an inspection image obtained by imaging an inspection object having a thin film formed on a surface thereof.
  • a color of a pixel included in the outer peripheral region which is a part of the defective region and is an annular region along the outer periphery of the defective region, and a non-defect adjacent to the outer peripheral region, which is a region outside the defective region
  • a feature amount calculating step for calculating a feature amount indicating the magnitude of the difference between the colors of the pixels in the region, and a defect in the defective region on the thin film based on the feature amount calculated in the feature amount calculating step.
  • a defect classification step for classifying the defect into an in-film foreign substance defect in which a foreign substance exists on the inner side of the inspection object, or to classify a foreign substance defect on the film in which a foreign substance exists on the outer side of the inspection object with respect to the thin film Including this It is characterized in.
  • a defect analysis apparatus is a defect classification apparatus that classifies defects in a defect area detected in an inspection image obtained by photographing an inspection object having a thin film formed on a surface thereof.
  • a color of a pixel included in the outer peripheral region which is a part of the region and is an annular region along the outer periphery of the defect region, and a color of a pixel in the inner region which is a region other than the outer peripheral region in the defect region
  • the defect in the defect region is located on the inner side of the inspection object with respect to the thin film.
  • a defect analysis method is a defect analysis method by a defect classification device that classifies defects in a defect area detected in an inspection image obtained by photographing an inspection object having a thin film formed on a surface.
  • a color of a pixel included in the outer peripheral region which is a part of the defective region and is an annular region along the outer periphery of the defective region, and an inner region which is a region other than the outer peripheral region in the defective region.
  • a feature amount calculating step for calculating a feature amount indicating a difference from the color of the pixel, and a defect in the defect region on the thin film based on the feature amount calculated in the feature amount calculating step.
  • FIG. 1 It is a block diagram which shows the principal part structure of the defect classification device which concerns on one Embodiment of this invention. It is a figure explaining the difference between the foreign matter in the film and the foreign matter on the film, the upper side of the figure shows an example of the inspection image in which the foreign matter on the membrane or the foreign matter on the film is photographed, and the lower side of the figure shows the location where the foreign matter has adhered
  • the cross section of is schematically shown. It is a figure which shows an example of the state which divided
  • FIG. 1 is a block diagram illustrating an example of a main configuration of the defect classification device 1.
  • the defect classification apparatus 1 is an apparatus that analyzes and detects defects generated on the surface of an inspection object by analyzing an inspection image that is an image of the product and classifies the detected defects.
  • the defect classification apparatus 1 includes an in-film foreign matter that is a defect caused by foreign matter entering the film and an on-film foreign matter that is a defect caused by foreign matter adhering to the film in an inspection object having a thin film formed on the surface.
  • the main feature point is that it can be classified as follows.
  • the defect classification apparatus 1 includes a control unit 10, a storage unit 20, and an inspection image input unit 30.
  • the defect classification device 1 may include an input unit that receives a user input operation, an output unit that outputs a defect detection result and a classification result, and the like.
  • the control unit 10 controls the functions of the defect classification apparatus 1 in an integrated manner, and includes an alignment unit 11, a defect extraction unit 12, a region setting unit (region setting unit) 13, a classification index calculation unit (feature amount calculation unit, An area width calculation unit, a first difference calculation unit, a second difference calculation unit) 14 and a defect classification unit (defect classification unit) 15 are provided.
  • the storage unit 20 is a storage device that stores various data used by the defect classification device 1.
  • a non-defective image 21, defect determination information 22, and defect classification information 23 are stored.
  • the inspection image input unit 30 is an interface that accepts input of inspection images.
  • the entire inspection object is covered by a plurality of imaging operations. That is, in this case, the entire inspection object is inspected by using a plurality of inspection images obtained by imaging different parts of the inspection object.
  • the inspection image may be obtained by photographing an inspection object with a digital camera or the like, for example.
  • the alignment unit 11 performs alignment (positioning) between the inspection image and the non-defective image 21. As described above, since the non-defective image 21 covers a wider range of the inspection object than the inspection image, the non-defective image 21 and the inspection image cannot be compared without alignment.
  • the alignment unit 11 aligns the non-defective image 21 and the inspection image, cuts out the non-defective image 21 in the aligned region, has the same image size as the inspection image, and is placed on the same part of the inspection object. A corresponding non-defective image 21 is generated.
  • the alignment unit 11 extracts an edge from the non-defective image 21 using a known Laplacian filter or the like to generate a non-defective edge image. Similarly, an inspection edge image is generated for the inspection image. Next, the non-defective edge image is scanned two-dimensionally using the non-defective edge image and the inspection edge image, and correlation values are sequentially calculated for each position. For this, for example, a known template matching method can be used. Then, the position having the highest correlation value is determined as the optimum alignment position.
  • the inspection image is enlarged and reduced to obtain an optimum magnification, and the image resizing with the optimum magnification is inspected. Apply to images.
  • an optimum angle is obtained by changing the rotation angle and scanning, and image processing of image rotation at the optimum rotation angle is inspected. Apply to images.
  • the defect extraction unit 12 compares the inspection image after alignment with the non-defective image 21 after alignment, and extracts a defect area in the inspection image. Specifically, the absolute value of the difference between the pixel values of pixels corresponding to the inspection image and the non-defective product image 21 cut out by the alignment unit 11 (pixels corresponding to the same part of the inspection object) is calculated. Then, each calculated value is compared with a threshold value included in the defect determination information 22, and a pixel that is equal to or greater than the threshold value is determined as a defective pixel corresponding to the defective portion. Then, a region where defective pixels are gathered in the inspection image is extracted as a defective region.
  • the area setting unit 13 divides the extracted defect area into an inner area and an outer peripheral area, and sets a neighboring area outside the defect area. Details of the setting method of these areas will be described later.
  • the classification index calculation unit 14 calculates a classification feature amount used for defect classification for each set area (inner area, outer periphery area, and neighboring area). Details of the classification feature amount will be described later.
  • the defect classification unit 15 classifies the defects using the calculated classification feature amount. Specifically, the defect classification unit 15 compares the above-described classification feature amount with a threshold value included in the defect classification information 23, classifies defects in a defect area that is equal to or greater than the threshold value as in-film foreign matter, and is less than the threshold value. The defect in the defect area is classified as a foreign matter on the film.
  • the non-defective image 21 is an image showing an inspection object having no defect, and is used for comparison with the inspection image.
  • the non-defective product image 21 may be generated by pasting together a plurality of inspection images confirmed to have no defects.
  • it may be an image created from CAD (Computer Aided Design) data, which is product design information.
  • the defect determination information 22 is information for determining a defect location in the inspection image, and includes a threshold value for determining whether or not the pixel of the inspection image is a defective pixel.
  • the defect classification information 23 is information used to classify the detected defect, and indicates a threshold value for classifying the defect area into an inner area and an outer area, and what kind of feature value is used for the defect classification. Information and a threshold value for classifying defects into in-film foreign matter and on-film foreign matter are included.
  • FIG. 2 is a diagram for explaining the difference between the in-film foreign matter and the on-film foreign matter.
  • the upper side of the figure shows an example of an inspection image in which the in-film foreign matter or the on-film foreign matter is photographed.
  • the cross section of the location to which is attached is schematically shown.
  • the inspection object is a display panel of a liquid crystal display device in which wiring is formed on a transparent substrate and coated with a thin film having a uniform thickness.
  • the portion where the in-film foreign matter is generated is black because it does not transmit light.
  • the color of the film around the foreign matter in the film changes.
  • the display panel in which such in-film foreign matter is generated needs to be repaired by sending it to a repair device that removes the in-film foreign matter. That is, it can be said that the in-film foreign matter is a killer defect that requires repair.
  • the portion where the on-film foreign matter is attached is black because it does not transmit light.
  • the color of the film around the foreign matter on the film does not change. This is because there is no change in the film thickness around the foreign material, as shown on the lower side of the figure.
  • the foreign matter on the film can be removed by cleaning, it is not necessary to send the display panel in which the foreign matter is detected to the repair device. That is, it can be said that the foreign matter on the film is a non-killer defect that does not require repair.
  • the region setting unit 13 of the defect classification apparatus 1 classifies the defect region into an outer peripheral region and an inner region.
  • the area setting unit 13 sets a neighboring area around the outer peripheral area. These areas are set as shown in FIG. 3, for example.
  • FIG. 3 is a diagram illustrating an example of a state in which a defective area is divided into an outer peripheral area and an inner area, and a neighboring area is set outside the outer peripheral area. In the figure, the area within the distance d from the defect area is set as the vicinity area.
  • a feature quantity (for area discrimination) is calculated for each pixel in the defect area, and a 2 class 1 feature quantity (2 class using the calculated feature quantity is It is possible to apply discriminant analysis of the inner region and the outer peripheral region.
  • the outer peripheral region caused by the foreign matter in the film is different in color from the inner region and also in luminance. For this reason, a luminance value or a hue value can be used as the feature amount.
  • a luminance value or a hue value can be used as the feature amount.
  • the region discriminating feature amount is equal to or greater than a threshold value, thereby determining the defect region as two regions (regions greater than or equal to the threshold value). And the area below the threshold). Of the two regions, the region on the inner side is the inner region, and the region on the outer side is the outer peripheral region.
  • the distinction between the inside and outside can be made based on the magnitude of the moment. That is, first, the center of gravity of the defect area is obtained, then the moments around the center of gravity of the two areas are calculated, and the area with the smaller moment is set as the inner area, and the area with the larger moment is set as the outer peripheral area. Further, when it is known in advance that the luminance value of the pixel in the inner region is higher than the luminance value of the pixel in the outer peripheral region, such as when the inspection target is a transparent substrate, the luminance value is less than the threshold value.
  • the area may be determined as an internal area.
  • the defect region can be divided into an outer peripheral region that is an annular region along the outer periphery and an inner region that is surrounded by the outer peripheral region.
  • the region setting unit 13 determines a region having a certain width d (region composed of pixels whose distance to the outer peripheral region is equal to or less than d) in a non-defect region adjacent to the outside of the determined outer peripheral region. Determine as.
  • the classification index calculation unit 14 calculates a classification feature amount that is an index for defect classification. More specifically, the classification index calculation unit 14 is included in the angular difference ⁇ between the representative value of the hue value of the pixel included in the outer peripheral area and the representative value of the hue value of the pixel included in the neighboring area, and in the outer peripheral area. A representative value r of the saturation of the pixel is calculated, and r ⁇ ⁇ obtained by multiplying them is calculated as a defect classification feature amount.
  • the hue is the hue atan2 (b, a) in the Lab color space
  • the saturation is the saturation sqrt (a * a + b * b) in the Lab color space.
  • the defect classification unit 15 compares the calculated classification feature amount with a threshold value included in the defect classification information 23, and determines that it is an in-film foreign matter if the classification feature amount is equal to or greater than the threshold value. If it is less than that, it is determined as a foreign substance on the film. From the results of experiments by the inventors of the present application, it has been confirmed that the degree of difference between the color of the neighboring region and the color of the outer peripheral region, that is, the greater the value of ⁇ , the higher the possibility of being an in-film foreign matter.
  • the classification feature amount is not limited to the above example as long as it has a value corresponding to the color difference between the outer peripheral region and the neighboring region.
  • the above ⁇ may be used as the classification feature amount.
  • R ⁇ ⁇ is preferably used as the classification feature amount rather than the feature amount.
  • the luminance difference between the outer peripheral area and the neighboring area is used as a classification feature amount.
  • FIG. 4 is a diagram showing a correlation between the number of true in-film foreign matter and the number of in-film foreign matter detected by the defect classification apparatus 1.
  • the defect classification device 1 detects The number of in-film foreign matter (number of input images in which the defect classification apparatus 1 has detected the in-film foreign matter) is (b + c). Further, among the in-film foreign matter detected by the defect classification apparatus 1, b is the number of true in-film foreign matter and c is the number that is not the in-film foreign matter. Further, d is the number of input images in which no in-film foreign matter exists and the defect classification apparatus 1 has not detected the in-film foreign matter.
  • the in-film foreign matter and the on-film foreign matter are classified using the classification feature amount indicating the difference between the color of the pixel included in the outer peripheral region and the color of the pixel included in the neighboring region. It is possible to increase the number b of true in-film foreign matter detected and reduce the number c of in-film foreign matter detected by mistake.
  • the undetected rate: a / (a + b) and the overdetected rate: c / (c + d) can be reduced.
  • b can be increased and c can be decreased, so that the classification accuracy: b / (b + c) can be increased.
  • the classification accuracy of the on-film foreign matter is improved by improving the classification accuracy of the in-film foreign matter.
  • the classification result of the defect classification apparatus 1 can be used in various ways in the product manufacturing process. For example, it can be used for FDC (Fault Detection and Classification). That is, the defect classification apparatus 1 can detect and monitor the number of in-film foreign matter generated by various production apparatuses for products, and can detect abnormalities in the production apparatus at an early stage.
  • FDC fault Detection and Classification
  • the defect classification apparatus 1 it is possible to increase the ratio of products having true in-film foreign matter in the products (or parts and semi-finished products in the middle of assembly) to be sent to the repair device for removing the in-film foreign matter. Therefore, the operation rate of the repair device can be improved. Further, it becomes possible to remove all in-film foreign matter by the repair device (improvement of yield).
  • the classification result of the defect classification apparatus 1 it is possible to identify a portion where the in-film foreign matter is likely to be generated and a manufacturing condition where the foreign matter is likely to be generated. It is also possible to improve the manufacturing apparatus and change the manufacturing conditions so as to suppress the frequent occurrence of foreign matter in the film.
  • the defect classification apparatus 1 by using the classification result of the defect classification apparatus 1, it becomes possible to add up the defect positions and defect sizes at which in-film foreign matter is likely to occur. It is also possible to change the design so that even if foreign matter in the film is generated, it is difficult to cause a defect.
  • FIG. 5 is a flowchart illustrating an example of defect extraction / classification processing.
  • the defect classification apparatus 1 initialization is performed (S1). As a result, the non-defective image 21, the defect determination information 22, and the defect classification information 23 are read from the storage unit 20 to the control unit 10. Then, a loop of processing for extracting and classifying defects for each inspection image is started (L1).
  • the alignment unit 11 reads a plurality of images input to the inspection image input unit 30 (S2). Then, the read inspection image is aligned with the good image 21 read in S1 (S3), and the good image 21 is cut out at the alignment position (S4). The cut-out non-defective image 21 is transmitted to the defect extraction unit 12 together with one inspection image to be aligned.
  • the defect extraction unit 12 that has received the cut-out non-defective image 21 and the inspection image receives the absolute value of the difference between the pixel value of each pixel of the inspection image and the pixel value of the pixel at the corresponding position in the cut-out non-defective image 21. Are calculated respectively. Further, the absolute value of the calculated difference is compared with the threshold value included in the defect determination information 22 read in S1, and a pixel whose absolute value of the difference is greater than or equal to the threshold value is identified as a defective pixel. Then, in the inspection image, an area where the specified defective pixels are collected is extracted as a defective area (S5). A plurality of defect areas may be extracted from one inspection image.
  • the defect extraction unit 12 transmits information indicating the extracted defect region together with the inspection image to the region setting unit 13, whereby defect classification processing is performed, and the extracted defect region becomes an in-film foreign matter or an on-film foreign matter. It is classified (S6).
  • the alignment unit 11 that performed the alignment in S3 determines whether the alignment of all the inspection images input to the inspection image input unit 30 has been completed (S7). If it is determined that there is an inspection image for which the alignment has not been completed (NO in S7), the process returns to S2 to read the inspection image for which the alignment has not been completed, and the processing from S3 to S6 is performed on this inspection image. . On the other hand, if it is determined that the alignment of all the inspection images has been completed (YES in S7), the inspection image loop ends and the defect extraction / classification process also ends.
  • FIG. 6 is a flowchart illustrating an example of the defect classification process.
  • the region setting unit 13 calculates a region discriminating feature amount for discriminating between the outer peripheral region and the inner region in the defect region (S10). Specifically, the region setting unit 13 calculates the luminance value of each pixel included in the defect region notified from the defect extraction unit 12 as a region determination feature amount.
  • the area setting unit 13 determines an inner area and an outer area using the calculated area discriminating feature amount (S11). Specifically, the area setting unit 13 determines, for each pixel in the defect area, whether or not the area determination feature amount is equal to or greater than a threshold value, thereby determining the defect area as two areas (an area equal to or greater than the threshold value). (Area below threshold). Of the two regions, the region on the inner side is the inner region, and the region on the outer side is the outer peripheral region.
  • the area setting unit 13 determines a neighboring area (S12). Specifically, the region setting unit 13 determines a region that is adjacent to the outside of the outer peripheral region determined in S11 and has a certain width (a region composed of pixels whose distance to the outer peripheral region is equal to or less than a certain region) as a neighboring region. Determine as.
  • the region setting unit 13 that has determined the internal region, the outer peripheral region, and the neighborhood region as described above notifies the classification index calculation unit 14 of these regions.
  • the classification index calculation unit 14 Upon receiving this notification, the classification index calculation unit 14 refers to the defect classification information 23 and uses r ⁇ ⁇ (r: saturation of the outer peripheral region, ⁇ : hue value of the outer peripheral region and the neighboring region as the classification feature amount. To use).
  • the hue value of the outer peripheral area and the hue value of the neighboring area are calculated, and the angle difference ⁇ between these hue values is calculated (S13).
  • the hue value of the outer peripheral area only needs to indicate what color the outer peripheral area is, and may be, for example, the arithmetic average value of the hue values of each pixel included in the outer peripheral area, It may be a value or the like. The same applies to the hue value in the vicinity region.
  • the classification index calculation unit 14 calculates the saturation r of the outer peripheral area (S14), and calculates r ⁇ ⁇ obtained by multiplying this by ⁇ calculated in S13 as a defect classification feature amount (S15). This is notified to the defect classification unit 15. Similar to the hue value, the saturation r of the outer peripheral region only needs to indicate what saturation the outer peripheral region is, and is, for example, an arithmetic average value of the saturation of each pixel included in the outer peripheral region. It may be a median value or the like.
  • the defect classification unit 15 that has received the classification feature quantity compares the classification feature quantity with the defect classification threshold value included in the defect classification information 23, and determines whether the classification feature quantity is equal to or greater than the threshold value (S16).
  • the defect classification unit 15 determines that the defect occurring in the defect area is due to the in-film foreign matter (S17), and ends the defect classification process. .
  • the defect classification unit 15 determines that the defect occurring in the defect area is due to foreign matter on the film (S18), and ends the defect classification process.
  • the determination result is stored in the storage unit 20 in association with the defective area.
  • the stored determination result may be output and displayed on a display device configured integrally with the defect classification device 1 or connected to the defect classification device 1.
  • FIG. 7 is a flowchart showing an example of an additional determination process for classifying defects by using other classification feature amounts together.
  • the addition determination process is performed when YES is determined in S16 of FIG.
  • the defect classification unit 15 determines that the classification feature amount (r ⁇ ⁇ ) is equal to or greater than the threshold (YES in S16 in FIG. 6), the defect classification unit 15 instructs the classification index calculation unit 14 to calculate the next feature amount. . Upon receiving this instruction, the classification index calculation unit 14 calculates the width of the outer peripheral area (S20), and notifies the defect classification unit 15 of the calculated width.
  • the width of the outer peripheral region is a numerical value indicating the thickness of the ring of the annular outer peripheral region. For example, among the pixels in the outer peripheral region, the distance from the pixel in the position in contact with the inner region to the pixel in the position in contact with the neighboring region May be calculated as the width of the outer peripheral region. In addition, the width of a plurality of locations is calculated over the entire circumference of the outer peripheral region, and the representative value (arithmetic average value or median) of the calculated width may be used as the width of the outer peripheral region, or the width calculated for one location of the outer peripheral region may be The width of the outer peripheral region may be used as it is.
  • the defect classification unit 15 Upon receiving the notification of the width of the outer peripheral area, the defect classification unit 15 compares the notified width with a threshold corresponding to the width of the outer peripheral area, and determines whether the width is equal to or larger than the threshold (S21).
  • the above threshold value is set to a value that can determine whether or not an outer peripheral region caused by the in-film foreign matter is formed.
  • This threshold value may be stored so that the defect classification unit 15 can be referred to, and may be included in the defect classification information 23, for example.
  • the defect classification unit 15 determines that the defect is a foreign substance on the film (S27), and ends the additional determination process.
  • the defect classification unit 15 instructs the classification index calculation unit 14 to calculate the next feature amount.
  • the classification index calculation unit 14 calculates a luminance difference between the outer peripheral region and the inner region (S22), and notifies the defect classification unit 15 of the calculated value. For example, the arithmetic average or median of the luminance values is calculated for each pixel included in the outer peripheral area, and the absolute value of the difference from the arithmetic average or median of the luminance values of each pixel included in the internal area calculated in the same manner is calculated. It is also possible to calculate and use this value as the luminance difference.
  • the defect classification unit 15 that has received the notification of the luminance difference between the outer peripheral region and the inner region compares the notified luminance difference with a threshold corresponding to the luminance difference between the outer peripheral region and the inner region, and the luminance difference is a threshold value. It is determined whether this is the case (S23).
  • the above threshold value is set to a value that can determine whether or not an outer peripheral region caused by the in-film foreign matter is formed.
  • This threshold value may be stored so that the defect classification unit 15 can be referred to, and may be included in the defect classification information 23, for example.
  • the defect classification unit 15 determines that the defect is a foreign substance on the film (S27), and ends the additional determination process.
  • the defect classification unit 15 instructs the classification index calculation unit 14 to calculate the next feature amount.
  • the classification index calculation unit 14 calculates a luminance difference between the outer peripheral region and the neighboring region (S24), and notifies the defect classification unit 15 of the calculated value. For example, the arithmetic average or median of the luminance values is calculated for each pixel included in the outer peripheral area, and the absolute value of the difference from the arithmetic average or median of the luminance values of the pixels included in the neighboring area calculated in the same manner is calculated. It is also possible to calculate and use this value as the luminance difference.
  • the defect classification unit 15 that has received the notification of the luminance difference between the outer peripheral region and the neighboring region compares the notified luminance difference with a threshold value corresponding to the luminance difference between the outer peripheral region and the neighboring region, and the luminance difference is a threshold value. It is judged whether it is less than (S25).
  • the above threshold value is set to a value that can determine whether or not an outer peripheral region caused by the in-film foreign matter is formed. As described with reference to FIG. 2, when an in-film foreign matter has occurred, there is a luminance difference between the outer peripheral region and the neighboring region, but a large luminance difference between the inner region and the neighboring region. It will not be.
  • This threshold value may be stored so that the defect classification unit 15 can be referred to, and may be included in the defect classification information 23, for example.
  • the defect classification unit 15 determines that the defect is an in-film foreign matter (S26), and ends the additional determination process.
  • the defect classification unit 15 determines that the foreign matter is on the film (S27), and ends the additional determination process.
  • the inner region and the outer peripheral region are uniformly set regardless of the type of the defect. Therefore, when the defect type is a foreign substance on the film, the outer peripheral region is not circular. Is also envisaged. In such a case, since the location where the width cannot be calculated is detected in S20, the classification index calculation unit 14 notifies the defect classification unit 15 that the width cannot be calculated. In this case, the defect classification unit 15 determines that the foreign matter is on the film and ends the process.
  • the classification index calculation unit 14 calculates all the other classification feature amounts. However, different feature amounts may be calculated by different processing blocks. That is, the classification index calculation unit 14 calculates only r ⁇ ⁇ , and the width of the outer peripheral region, the luminance difference between the outer peripheral region and the inner region, and the luminance difference between the outer peripheral region and the neighboring region are different processes. You may make it calculate by a block (not shown in FIG. 1).
  • the block of the area width calculation unit is added to cause the block to calculate the area width
  • the block of the first difference calculation unit is added to cause the block to calculate the luminance difference between the outer area and the inner area
  • the second difference A block of calculation means may be added to cause the block to calculate the luminance difference between the outer peripheral area and the neighboring area.
  • the determination is made using all of the width of the outer peripheral area, the luminance difference between the outer peripheral area and the inner area, and the luminance difference between the outer peripheral area and the neighboring area. It is good also as a structure to use.
  • the flowcharts of FIGS. 6 and 7 are defect classification processing in which a plurality of classification feature quantities are individually determined sequentially to classify defects.
  • the defect classification process is not limited to this.
  • a support vector machine Small Vector Machine
  • a neural network e.g., a Bayes classification, or the like may be used as a process for classifying foreign substances on the film and foreign substances on the film using a plurality of classification feature quantities.
  • the defect classification apparatus 1 performs classification using the classification feature amount indicating the color difference between the outer peripheral region and the neighboring region. However, the defect classification apparatus 1 performs classification using the classification feature amount indicating the color difference between the inner region and the outer peripheral region. It is also possible to perform. As described with reference to FIG. 2, in the case of the in-film foreign matter, the color is different between the outer peripheral region and the inner region of the defect region.
  • the area setting unit 13 may set the outer peripheral area and the inner area, and does not need to set the neighboring area.
  • the classification index calculation unit 14 calculates the representative value of the hue in the outer peripheral area and the representative value of the hue in the inner area, and uses the absolute value of the difference as a classification feature amount.
  • the defect classification unit 15 determines the defect as an in-film foreign matter when the color difference between the outer peripheral area and the inner area is large, specifically, when the classification feature amount is equal to or greater than a predetermined threshold.
  • the defect classification apparatus 1 described above performs both defect detection and classification, but the defect detection and classification may be performed by different apparatuses. That is, the defect classification apparatus 1 does not have to include the alignment unit 11 and the defect extraction unit 12. In this case, a defect detection result is received from a defect detection device that detects a defect, and the defect is classified using the detection result.
  • the defect detection method is not limited to the above example as long as it can identify the defect region in the inspection image.
  • the defect classification apparatus 1 described above divides the defect area into an inner area and an outer area
  • only the inner area may be extracted as a defect area by changing the defect extraction threshold.
  • an outer peripheral region and a neighboring region may be set in a non-defect region around the defect region.
  • a pixel whose distance to the defect area is equal to or less than D may be set as the vicinity area, and the peripheral area may be set by performing discriminant analysis based on the luminance value in the vicinity area.
  • the inspection object is not particularly limited as long as it can cause in-film foreign matter and foreign matter on the film, that is, a thin film formed on the surface.
  • the display part of a display panel, a semiconductor wafer, or a thin film solar cell substrate may be used.
  • a defect analysis apparatus (1) is a defect classification apparatus that classifies defects in a defect area detected in an inspection image obtained by photographing an inspection object having a thin film formed on a surface thereof.
  • a color of a pixel included in the outer peripheral region which is a part of the region and is an annular region along the outer periphery of the defect region, and a non-defect region (neighboring adjacent to the outer peripheral region)
  • a feature amount calculation unit (classification index calculation unit 14) that calculates a feature amount indicating the magnitude of the difference between the pixel color of the region and the defect region based on the feature amount calculated by the feature amount calculation unit.
  • Defect classification means for classifying foreign object defects (defects It is characterized in that it comprises a section 15) and.
  • a defect analysis method is a defect analysis method by a defect classification device that classifies defects in a defect area detected in an inspection image obtained by imaging an inspection object having a thin film formed on a surface thereof.
  • a color of a pixel included in the outer peripheral region which is a part of the defective region and is an annular region along the outer periphery of the defective region, and a non-defect adjacent to the outer peripheral region, which is a region outside the defective region
  • a feature amount calculating step for calculating a feature amount indicating the magnitude of the difference between the colors of the pixels in the region, and a defect in the defective region on the thin film based on the feature amount calculated in the feature amount calculating step.
  • a defect classification step for classifying the defect into an in-film foreign substance defect in which a foreign substance exists on the inner side of the inspection object, or to classify a foreign substance defect on the film in which a foreign substance exists on the outer side of the inspection object with respect to the thin film Including this It is characterized in.
  • the feature amount indicating the difference between the color of the pixel included in the outer peripheral region that is an annular region along the outer periphery of the defective region and the color of the pixel in the non-defective region adjacent to the outer peripheral region is calculated. . Then, based on the calculated feature amount, the defect in the defect region is classified as an in-film foreign matter defect or an on-film foreign matter defect.
  • the defect analysis apparatus preferably includes a region setting unit (region setting unit 13) that sets the outer peripheral region based on a luminance value of each pixel included in the defective region. .
  • the feature amount calculation unit includes a representative value of a hue of a pixel included in the outer peripheral area and a representative value of a hue of a pixel included in the non-defective area.
  • a value obtained by multiplying the difference by the representative value of the saturation of the pixels included in the outer peripheral region is preferably calculated as the feature amount.
  • a value obtained by multiplying the difference between the representative values of the hue by the representative value of the saturation is calculated as the feature amount. Since the difference between the representative values of the hues indicates the color difference as a numerical value, the feature amount including the difference reflects the magnitude of the color difference between the outer peripheral area and the non-defective area.
  • the representative value is a value representative of the area, and is a value indicating what hue or saturation the area has. As a specific example, an arithmetic average value, a median value, or the like of the hue (or saturation) of each pixel included in the region can be used as a representative value.
  • the defect analysis apparatus includes a region width calculation unit (classification index calculation unit 14) that calculates a ring width of the outer peripheral region, and the defect classification unit includes the feature amount calculation unit.
  • the calculated feature amount is not less than a predetermined threshold value for defect classification based on color
  • the width calculated by the area width calculating means is not less than a predetermined threshold value for defect classification based on the area width. In this case, it is preferable to classify the defect in the defect region as an in-film foreign matter defect.
  • the defect in the defect region is classified as an in-film foreign matter defect.
  • the defect analysis apparatus includes a representative value of luminance values of pixels included in the outer peripheral region and luminance values of pixels included in an inner region that is an area other than the outer peripheral region in the defect region.
  • First difference calculation means (classification index calculation unit 14) for calculating a difference from a representative value of the value, wherein the defect classification means is used for defect classification based on a color based on the feature quantity calculated by the feature quantity calculation means.
  • the difference between the luminance values calculated by the first difference calculating means is equal to or greater than a predetermined threshold for defect classification based on the luminance difference between the outer peripheral area and the inner area.
  • the feature amount calculated by the feature amount calculation unit is equal to or greater than the threshold value
  • the representative value of the luminance value of the pixel included in the outer peripheral region and the representative value of the luminance value of the pixel included in the inner region are Is equal to or greater than the threshold value
  • the defect in the defect region is classified as an in-film foreign matter defect.
  • the defect analysis apparatus calculates a difference between a representative value of luminance values of pixels included in the outer peripheral area and a representative value of luminance values of pixels included in the non-defective area.
  • 2 difference calculation means classification index calculation unit 14
  • the defect classification means has the feature quantity calculated by the feature quantity calculation means equal to or greater than a predetermined threshold for defect classification based on color
  • the difference between the brightness values calculated by the second difference calculation means is less than a predetermined threshold for defect classification based on the brightness difference between the outer peripheral area and the non-defect area, the defect in the defect area is detected in the film. It is preferable to classify as foreign matter defects.
  • the feature value calculated by the feature value calculation unit is equal to or greater than the threshold value, and the representative value of the luminance value of the pixel included in the outer peripheral area and the representative value of the luminance value of the pixel included in the non-defective area Is less than the threshold value, the defect in the defect region is classified as an in-film foreign matter defect.
  • a defect analysis apparatus is a defect classification apparatus that classifies defects in a defect area detected in an inspection image obtained by photographing an inspection object having a thin film formed on a surface thereof.
  • a color of a pixel included in the outer peripheral region which is a part of the region and is an annular region along the outer periphery of the defect region, and a color of a pixel in the inner region which is a region other than the outer peripheral region in the defect region
  • the defect in the defect region is located on the inner side of the inspection object with respect to the thin film.
  • a defect analysis method is a defect analysis method by a defect classification device that classifies defects in a defect area detected in an inspection image obtained by photographing an inspection object having a thin film formed on a surface.
  • a color of a pixel included in the outer peripheral region which is a part of the defective region and is an annular region along the outer periphery of the defective region, and an inner region which is a region other than the outer peripheral region in the defective region.
  • a feature amount calculating step for calculating a feature amount indicating a difference from the color of the pixel, and a defect in the defect region on the thin film based on the feature amount calculated in the feature amount calculating step.
  • the color of the pixel included in the outer peripheral region that is an annular region along the outer periphery of the defect region, and the region other than the outer peripheral region in the defect region, that is, the pixels in the inner region surrounded by the outer peripheral region.
  • a feature amount indicating a difference from the color is calculated. Then, based on the calculated feature amount, the defect in the defect region is classified as an in-film foreign matter defect or an on-film foreign matter defect.
  • the defect classification apparatus may be realized by a computer.
  • a control program for realizing the defect classification apparatus by a computer by operating the computer as each unit of the defect classification apparatus, and A computer-readable recording medium on which it is recorded also falls within the scope of the present invention.
  • each block of the defect classification apparatus 1, particularly the control unit 10 may be realized by hardware by a logic circuit formed on an integrated circuit (IC chip), or a CPU (Central Processing Unit) is used. It may be realized by software.
  • IC chip integrated circuit
  • CPU Central Processing Unit
  • the defect classification apparatus 1 includes a CPU that executes instructions of a program that realizes each function, a ROM (Read Memory) that stores the program, a RAM (Random Access Memory) that expands the program, the program,
  • a storage device such as a memory for storing various data is provided.
  • An object of the present invention is a recording medium on which a program code (execution format program, intermediate code program, source program) of a control program of the defect classification apparatus 1 which is software for realizing the functions described above is recorded so as to be readable by a computer. This can also be achieved by supplying the defect classification apparatus 1 and reading and executing the program code recorded on the recording medium by the computer (or CPU or MPU).
  • Examples of the recording medium include non-transitory tangible media, such as magnetic tapes and cassette tapes, magnetic disks such as floppy (registered trademark) disks / hard disks, and CD-ROM / MO.
  • Discs including optical disks such as / MD / DVD / CD-R, cards such as IC cards (including memory cards) / optical cards, and semiconductor memories such as mask ROM / EPROM / EEPROM (registered trademark) / flash ROM
  • logic circuits such as PLD (Programmable logic device) and FPGA (Field Programmable Gate array) can be used.
  • the defect classification apparatus 1 may be configured to be connectable to a communication network, and the program code may be supplied via the communication network.
  • the communication network is not particularly limited as long as it can transmit the program code.
  • the Internet intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network (Virtual Private Network), telephone line network, mobile communication network, satellite communication network, etc. can be used.
  • the transmission medium constituting the communication network may be any medium that can transmit the program code, and is not limited to a specific configuration or type.
  • wired lines such as IEEE1394, USB, power line carrier, cable TV line, telephone line, ADSL (Asymmetric Digital Subscriber Line) line, infrared rays such as IrDA and remote control, Bluetooth (registered trademark), IEEE 802.11 wireless, HDR ( It can also be used by wireless such as High Data Rate, NFC (Near Field Communication), DLNA (Digital Living Network Alliance), mobile phone network, satellite line, terrestrial digital network.
  • the present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.
  • the present invention can be used for defect inspection of industrial products.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Nonlinear Science (AREA)
  • Analytical Chemistry (AREA)
  • Optics & Photonics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Liquid Crystal (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)

Abstract

A defect classification device (1) provided with: a classification index calculation unit (14) for calculating a feature amount indicative of the difference between the color of pixels included in an outer peripheral region, which is a part of the defect region, and the color of pixels in a neighboring region, which is a region outside the defect region and is adjacent to the outer peripheral region; and a defect classification unit (15) for classifying, on the basis of the calculated feature amount, a defect in the defect region as being either in-film foreign matter or on-film foreign matter.

Description

欠陥分類装置、欠陥分類方法、制御プログラム、および記録媒体Defect classification apparatus, defect classification method, control program, and recording medium
 本発明は、検査対象物を撮影して得た画像を解析することによる当該検査対象物の欠陥検出に関し、より詳細には検出された欠陥の分類に関する。 The present invention relates to defect detection of an inspection object by analyzing an image obtained by photographing the inspection object, and more particularly to classification of detected defects.
 工業製品の製造工程において、欠陥の検査を行うことは、製品の品質を確保するために重要であり、一般的に行われている。また、検査装置を用いた自動検査も実用化されている。 Inspecting defects in the manufacturing process of industrial products is important for ensuring the quality of products and is generally performed. Automatic inspection using an inspection apparatus has also been put into practical use.
 例えば、下記の特許文献1には、検査対象物であるフラットパネルディスプレイの画像である入力画像を用いて、当該フラットパネルディスプレイに生じた欠陥を検出し、また検出した欠陥をタイプごとに分類することが記載されている。 For example, in the following Patent Document 1, a defect generated in the flat panel display is detected using an input image that is an image of a flat panel display that is an inspection object, and the detected defect is classified by type. It is described.
日本国公開特許公報「特開2012-32369号公報(2012年2月16日公開)」Japanese Patent Publication “Japanese Patent Laid-Open No. 2012-32369 (Released on February 16, 2012)”
 ここで、配線が形成された基板のように、表面に薄膜が形成された製品では、膜内に異物が入り込んだことによる欠陥(以下、膜内異物と呼ぶ)が生じることが知られている。また、膜内異物に外観上類似した欠陥として、膜上に異物が付着したことによる欠陥(以下、膜上異物と呼ぶ)も知られている。このような欠陥は、CVD(Chemical Vapor Deposition)装置を用いて製造する製品に特に発生しやすい。 Here, it is known that in a product having a thin film formed on the surface thereof, such as a substrate on which wiring is formed, a defect (hereinafter referred to as an in-film foreign matter) occurs due to foreign matter entering the film. . Further, as a defect that is similar in appearance to a foreign substance in the film, a defect due to the adhesion of the foreign substance on the film (hereinafter referred to as an on-film foreign substance) is also known. Such defects are particularly likely to occur in products manufactured using a CVD (Chemical Vapor Deposition) apparatus.
 膜内異物は、製品の不良の原因となるため、リペア装置によって取り除く必要がある。一方、膜上異物は、洗浄によって除去されるため、不良の原因とはならない。このように、膜内異物と膜上異物とは、必要な対処法が異なっているため、これらの欠陥を識別できることが望ましい。 In-film foreign matter may cause product defects and must be removed with a repair device. On the other hand, since the foreign matter on the film is removed by cleaning, it does not cause a defect. As described above, since the necessary countermeasures are different between the in-film foreign matter and the on-film foreign matter, it is desirable that these defects can be identified.
 しかしながら、上述のような従来技術では、外観上類似する膜内異物と膜上異物とを識別することが困難、あるいは識別精度が低いという問題があった。 However, the conventional techniques as described above have a problem that it is difficult to distinguish in-film foreign matter and on-film foreign matter that are similar in appearance, or the identification accuracy is low.
 本発明は、上記の問題点に鑑みてなされたものであり、その目的は、膜内異物と膜上異物とを識別して分類することのできる欠陥分類装置等を提供することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a defect classification apparatus and the like that can identify and classify in-film foreign matter and on-film foreign matter.
 上記の課題を解決するために、本発明の一態様に係る欠陥分析装置は、表面に薄膜が形成された検査対象物を撮影した検査画像において検出された欠陥領域の欠陥を分類する欠陥分類装置であって、上記欠陥領域の一部であり、該欠陥領域の外周に沿った環状の領域である外周領域に含まれる画素の色と、上記欠陥領域外の領域であり、上記外周領域に隣接する非欠陥領域の画素の色との差異の大きさを示す特徴量を算出する特徴量算出手段と、上記特徴量算出手段が算出した上記特徴量に基づいて、上記欠陥領域の欠陥を、上記薄膜に対して上記検査対象物の内部側に異物が存在する膜内異物欠陥に分類するか、または上記薄膜に対して上記検査対象物の外部側に異物が存在する膜上異物欠陥に分類する欠陥分類手段とを備えていることを特徴としている。 In order to solve the above problems, a defect analysis apparatus according to an aspect of the present invention is a defect classification apparatus that classifies defects in a defect region detected in an inspection image obtained by photographing an inspection object having a thin film formed on a surface thereof. A color of a pixel included in the outer peripheral area which is a part of the defective area and is an annular area along the outer periphery of the defective area, and an area outside the defective area, adjacent to the outer peripheral area. A feature amount calculating means for calculating a feature amount indicating a magnitude of a difference from a pixel color of the non-defective region, and a defect in the defective region based on the feature amount calculated by the feature amount calculating means. The thin film is classified as an in-film foreign matter defect in which foreign matter exists on the inner side of the inspection object, or the thin film is classified as a foreign matter defect on the film in which foreign matter exists on the outer side of the inspection object. With defect classification means It is characterized.
 また、本発明の一態様に係る欠陥分析方法は、表面に薄膜が形成された検査対象物を撮影した検査画像において検出された欠陥領域の欠陥を分類する欠陥分類装置による欠陥分析方法であって、上記欠陥領域の一部であり、該欠陥領域の外周に沿った環状の領域である外周領域に含まれる画素の色と、上記欠陥領域外の領域であり、上記外周領域に隣接する非欠陥領域の画素の色との差異の大きさを示す特徴量を算出する特徴量算出ステップと、上記特徴量算出ステップで算出した上記特徴量に基づいて、上記欠陥領域の欠陥を、上記薄膜に対して上記検査対象物の内部側に異物が存在する膜内異物欠陥に分類するか、または上記薄膜に対して上記検査対象物の外部側に異物が存在する膜上異物欠陥に分類する欠陥分類ステップとを含むことを特徴としている。 A defect analysis method according to an aspect of the present invention is a defect analysis method by a defect classification device that classifies defects in a defect area detected in an inspection image obtained by imaging an inspection object having a thin film formed on a surface thereof. A color of a pixel included in the outer peripheral region which is a part of the defective region and is an annular region along the outer periphery of the defective region, and a non-defect adjacent to the outer peripheral region, which is a region outside the defective region A feature amount calculating step for calculating a feature amount indicating the magnitude of the difference between the colors of the pixels in the region, and a defect in the defective region on the thin film based on the feature amount calculated in the feature amount calculating step. A defect classification step for classifying the defect into an in-film foreign substance defect in which a foreign substance exists on the inner side of the inspection object, or to classify a foreign substance defect on the film in which a foreign substance exists on the outer side of the inspection object with respect to the thin film Including this It is characterized in.
 そして、本発明の他の態様に係る欠陥分析装置は、表面に薄膜が形成された検査対象物を撮影した検査画像において検出された欠陥領域の欠陥を分類する欠陥分類装置であって、上記欠陥領域の一部であり、該欠陥領域の外周に沿った環状の領域である外周領域に含まれる画素の色と、上記欠陥領域内の上記外周領域以外の領域である内部領域の画素の色との差異を示す特徴量を算出する特徴量算出手段と、上記特徴量算出手段が算出した上記特徴量に基づいて、上記欠陥領域の欠陥を、上記薄膜に対して上記検査対象物の内部側に異物が存在する膜内異物欠陥に分類するか、または上記薄膜に対して上記検査対象物の外部側に異物が存在する膜上異物欠陥に分類する欠陥分類手段とを備えていることを特徴としている。 A defect analysis apparatus according to another aspect of the present invention is a defect classification apparatus that classifies defects in a defect area detected in an inspection image obtained by photographing an inspection object having a thin film formed on a surface thereof. A color of a pixel included in the outer peripheral region which is a part of the region and is an annular region along the outer periphery of the defect region, and a color of a pixel in the inner region which is a region other than the outer peripheral region in the defect region Based on the feature quantity calculated by the feature quantity calculation means and the feature quantity calculation means for calculating the feature quantity indicating the difference between the defects, the defect in the defect region is located on the inner side of the inspection object with respect to the thin film. A defect classification means for classifying the defect into an in-film foreign matter defect in which foreign matter exists, or to classify the thin film as a foreign matter defect on the film in which foreign matter exists on the outside of the inspection object with respect to the thin film Yes.
 また、本発明の他の態様に係る欠陥分析方法は、表面に薄膜が形成された検査対象物を撮影した検査画像において検出された欠陥領域の欠陥を分類する欠陥分類装置による欠陥分析方法であって、上記欠陥領域の一部であり、該欠陥領域の外周に沿った環状の領域である外周領域に含まれる画素の色と、上記欠陥領域内の上記外周領域以外の領域である内部領域の画素の色との差異を示す特徴量を算出する特徴量算出ステップと、上記特徴量算出ステップで算出した上記特徴量に基づいて、上記欠陥領域の欠陥を、上記薄膜に対して上記検査対象物の内部側に異物が存在する膜内異物欠陥に分類するか、または上記薄膜に対して上記検査対象物の外部側に異物が存在する膜上異物欠陥に分類する欠陥分類ステップとを含むことを特徴としている。 A defect analysis method according to another aspect of the present invention is a defect analysis method by a defect classification device that classifies defects in a defect area detected in an inspection image obtained by photographing an inspection object having a thin film formed on a surface. A color of a pixel included in the outer peripheral region which is a part of the defective region and is an annular region along the outer periphery of the defective region, and an inner region which is a region other than the outer peripheral region in the defective region. A feature amount calculating step for calculating a feature amount indicating a difference from the color of the pixel, and a defect in the defect region on the thin film based on the feature amount calculated in the feature amount calculating step. A defect classification step of classifying the defect as an in-film foreign matter defect in which foreign matter is present on the inside of the film or as a foreign matter defect on the film in which foreign matter is present on the outer side of the inspection object with respect to the thin film. as a feature That.
 本発明の上記各態様によれば、膜内異物欠陥と膜上異物欠陥とを識別し、精度よく分類することができるという効果を奏する。 According to each aspect of the present invention, there is an effect that an in-film foreign matter defect and an on-film foreign matter defect can be identified and accurately classified.
本発明の一実施形態に係る欠陥分類装置の要部構成を示すブロック図である。It is a block diagram which shows the principal part structure of the defect classification device which concerns on one Embodiment of this invention. 膜内異物および膜上異物の相違を説明する図であり、同図の上側は膜内異物または膜上異物が撮影された検査画像の一例を示し、同図の下側は異物が付着した箇所の断面を模式的に示している。It is a figure explaining the difference between the foreign matter in the film and the foreign matter on the film, the upper side of the figure shows an example of the inspection image in which the foreign matter on the membrane or the foreign matter on the film is photographed, and the lower side of the figure shows the location where the foreign matter has adhered The cross section of is schematically shown. 欠陥領域を外周領域と内部領域とに分割し、外周領域の外側に近傍領域を設定した状態の一例を示す図である。It is a figure which shows an example of the state which divided | segmented the defect area | region into the outer periphery area | region and the internal area | region, and set the neighborhood area | region outside the outer periphery area | region. 真の膜内異物の数と、上記欠陥分類装置が検出した膜内異物の数との相互関係を示す図である。It is a figure which shows the correlation between the number of true film | membrane foreign materials, and the number of film | membrane foreign materials detected by the said defect classification apparatus. 上記欠陥分類装置が実行する欠陥抽出/分類処理の一例を示すフローチャートである。It is a flowchart which shows an example of the defect extraction / classification process which the said defect classification device performs. 図5のS6で行われる欠陥分類処理の一例を示すフローチャートである。It is a flowchart which shows an example of the defect classification process performed by S6 of FIG. 他の分類用特徴量を併用して欠陥の分類を行う追加判定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the additional determination process which classifies a defect using together the feature-value for another classification | category.
 以下、本発明の実施の形態について、詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail.
 〔欠陥分類装置の構成〕
 まず、本実施形態に係る欠陥分類装置の構成を図1に基づいて説明する。図1は、欠陥分類装置1の要部構成の一例を示すブロック図である。
[Configuration of defect classification system]
First, the configuration of the defect classification apparatus according to the present embodiment will be described with reference to FIG. FIG. 1 is a block diagram illustrating an example of a main configuration of the defect classification device 1.
 欠陥分類装置1は、検査対象物の表面に生じた欠陥を、該製品を撮影した画像である検査画像を解析して検出すると共に、検出した欠陥の分類を行う装置である。欠陥分類装置1は、表面に薄膜が形成された検査対象物において、膜内に異物が入り込んだことによる欠陥である膜内異物と、膜上に異物が付着したことによる欠陥である膜上異物とに分類することができる点が主な特徴点である。 The defect classification apparatus 1 is an apparatus that analyzes and detects defects generated on the surface of an inspection object by analyzing an inspection image that is an image of the product and classifies the detected defects. The defect classification apparatus 1 includes an in-film foreign matter that is a defect caused by foreign matter entering the film and an on-film foreign matter that is a defect caused by foreign matter adhering to the film in an inspection object having a thin film formed on the surface. The main feature point is that it can be classified as follows.
 図示のように、欠陥分類装置1は、制御部10、記憶部20、および検査画像入力部30を備えている。なお、同図には示していないが、欠陥分類装置1は、ユーザの入力操作を受け付ける入力部や、欠陥の検出結果や分類結果を出力する出力部等を備えていてもよい。 As illustrated, the defect classification apparatus 1 includes a control unit 10, a storage unit 20, and an inspection image input unit 30. Although not shown in the figure, the defect classification device 1 may include an input unit that receives a user input operation, an output unit that outputs a defect detection result and a classification result, and the like.
 制御部10は、欠陥分類装置1の機能を統括して制御するものであり、アライメント部11、欠陥抽出部12、領域設定部(領域設定手段)13、分類指標算出部(特徴量算出手段、領域幅算出手段、第1差分算出手段、第2差分算出手段)14、および欠陥分類部(欠陥分類手段)15を備えている。 The control unit 10 controls the functions of the defect classification apparatus 1 in an integrated manner, and includes an alignment unit 11, a defect extraction unit 12, a region setting unit (region setting unit) 13, a classification index calculation unit (feature amount calculation unit, An area width calculation unit, a first difference calculation unit, a second difference calculation unit) 14 and a defect classification unit (defect classification unit) 15 are provided.
 記憶部20は、欠陥分類装置1が使用する各種データを格納する記憶装置であり、図示の例では、良品画像21、欠陥判定用情報22、および欠陥分類用情報23が格納されている。 The storage unit 20 is a storage device that stores various data used by the defect classification device 1. In the illustrated example, a non-defective image 21, defect determination information 22, and defect classification information 23 are stored.
 検査画像入力部30は、検査画像の入力を受け付けるインターフェースである。検査対象物のサイズが大きい場合には、欠陥検出に必要な解像度を確保するため、複数回の撮影によって1つの検査対象物の全体をカバーする。つまり、この場合には検査対象物の異なる部位をそれぞれ撮影して得た複数の検査画像を用いることによって、検査対象物の全体を検査する。以下では、1つの検査対象物の異なる部位をそれぞれ撮影して得た複数の検査画像の入力を受け付ける例を説明する。検査画像は、例えばデジタルカメラ等で検査対象物を撮影して得たものであってもよい。 The inspection image input unit 30 is an interface that accepts input of inspection images. When the size of the inspection object is large, in order to ensure the resolution necessary for defect detection, the entire inspection object is covered by a plurality of imaging operations. That is, in this case, the entire inspection object is inspected by using a plurality of inspection images obtained by imaging different parts of the inspection object. Below, the example which receives the input of the some test | inspection image acquired by each imaging | photography of the different site | part of one test target object is demonstrated. The inspection image may be obtained by photographing an inspection object with a digital camera or the like, for example.
 アライメント部11は、検査画像と良品画像21とのアライメント(位置合わせ)を行う。上記のように、良品画像21は検査画像よりも検査対象物の広い範囲をカバーしているため、アライメントを行わなければ良品画像21と検査画像とを比較することができない。 The alignment unit 11 performs alignment (positioning) between the inspection image and the non-defective image 21. As described above, since the non-defective image 21 covers a wider range of the inspection object than the inspection image, the non-defective image 21 and the inspection image cannot be compared without alignment.
 このため、アライメント部11は、良品画像21と検査画像とを位置合わせして、位置合わせした領域で良品画像21を切り出して、検査画像と画像サイズが等しく、また検査対象物の同一の部位に対応する良品画像21を生成する。 For this reason, the alignment unit 11 aligns the non-defective image 21 and the inspection image, cuts out the non-defective image 21 in the aligned region, has the same image size as the inspection image, and is placed on the same part of the inspection object. A corresponding non-defective image 21 is generated.
 より詳細には、検査画像と良品画像21とのアライメントにおいて、アライメント部11は、良品画像21から公知のラプラシアンフィルタなどを用いてエッジを抽出し、良品エッジ画像を生成する。また、検査画像に対しても同様に検査エッジ画像を生成する。次に、上記良品エッジ画像と上記検査エッジ画像とを用い、良品エッジ画像上を2次元にスキャンし、位置毎に相関値を順次計算する。これには、例えば公知のテンプレートマッチング法を利用することができる。そして、最も相関値が高い位置を、最適な位置合わせ位置と決定する。なお、検査画像と良品画像21とで撮像倍率に差がある場合には、検査画像を拡大・縮小してスキャンすることで最適な倍率を求めて、最適な倍率による画像リサイズの画像処理を検査画像に施す。また、検査画像と良品画像21とに回転変形の差異がみられる場合には、回転角度を変更してスキャンすることで最適な角度を求めて、最適な回転角度による画像回転の画像処理を検査画像に施す。 More specifically, in the alignment between the inspection image and the non-defective image 21, the alignment unit 11 extracts an edge from the non-defective image 21 using a known Laplacian filter or the like to generate a non-defective edge image. Similarly, an inspection edge image is generated for the inspection image. Next, the non-defective edge image is scanned two-dimensionally using the non-defective edge image and the inspection edge image, and correlation values are sequentially calculated for each position. For this, for example, a known template matching method can be used. Then, the position having the highest correlation value is determined as the optimum alignment position. Note that if there is a difference in imaging magnification between the inspection image and the non-defective image 21, the inspection image is enlarged and reduced to obtain an optimum magnification, and the image resizing with the optimum magnification is inspected. Apply to images. In addition, when there is a difference in rotational deformation between the inspection image and the non-defective image 21, an optimum angle is obtained by changing the rotation angle and scanning, and image processing of image rotation at the optimum rotation angle is inspected. Apply to images.
 欠陥抽出部12は、アライメント後の検査画像とアライメント後の良品画像21とを比較して検査画像における欠陥領域を抽出する。具体的には、検査画像と、アライメント部11が切り出した良品画像21とで対応する画素(検査対象物の同一部位に対応する画素)の画素値の差分の絶対値をそれぞれ算出する。そして、算出した各値と、欠陥判定用情報22に含まれる閾値とを比較し、閾値以上である画素を欠陥部位に対応する欠陥画素と判定する。そして、検査画像において欠陥画素が集まっている領域を欠陥領域として抽出する。 The defect extraction unit 12 compares the inspection image after alignment with the non-defective image 21 after alignment, and extracts a defect area in the inspection image. Specifically, the absolute value of the difference between the pixel values of pixels corresponding to the inspection image and the non-defective product image 21 cut out by the alignment unit 11 (pixels corresponding to the same part of the inspection object) is calculated. Then, each calculated value is compared with a threshold value included in the defect determination information 22, and a pixel that is equal to or greater than the threshold value is determined as a defective pixel corresponding to the defective portion. Then, a region where defective pixels are gathered in the inspection image is extracted as a defective region.
 領域設定部13は、抽出された欠陥領域を内部領域と外周領域とに区分すると共に、欠陥領域の外側に近傍領域を設定する。なお、これらの領域の設定方法の詳細は後述する。 The area setting unit 13 divides the extracted defect area into an inner area and an outer peripheral area, and sets a neighboring area outside the defect area. Details of the setting method of these areas will be described later.
 分類指標算出部14は、設定された各領域(内部領域、外周領域、近傍領域)について、欠陥の分類に使用する分類用特徴量を算出する。この分類用特徴量の詳細についても後述する。 The classification index calculation unit 14 calculates a classification feature amount used for defect classification for each set area (inner area, outer periphery area, and neighboring area). Details of the classification feature amount will be described later.
 欠陥分類部15は、算出された分類用特徴量を用いて欠陥を分類する。具体的には、欠陥分類部15は、上記分類用特徴量と、欠陥分類用情報23に含まれる閾値とを比較し、閾値以上である欠陥領域の欠陥を膜内異物に分類し、閾値未満である欠陥領域の欠陥を膜上異物に分類する。 The defect classification unit 15 classifies the defects using the calculated classification feature amount. Specifically, the defect classification unit 15 compares the above-described classification feature amount with a threshold value included in the defect classification information 23, classifies defects in a defect area that is equal to or greater than the threshold value as in-film foreign matter, and is less than the threshold value. The defect in the defect area is classified as a foreign matter on the film.
 良品画像21は、欠陥のない検査対象物を示す画像であり、検査画像との比較のために用いられる。良品画像21は、例えば欠陥を有さないことが確認された複数の検査画像を貼り合わせて生成されたものであってもよい。あるいは、製品の設計情報であるCAD(Computer Aided Design)データから作成した画像であってもよい。 The non-defective image 21 is an image showing an inspection object having no defect, and is used for comparison with the inspection image. For example, the non-defective product image 21 may be generated by pasting together a plurality of inspection images confirmed to have no defects. Alternatively, it may be an image created from CAD (Computer Aided Design) data, which is product design information.
 欠陥判定用情報22は、検査画像における欠陥箇所を判定するための情報であり、検査画像の画素が欠陥画素であるか否かを判定するための閾値を含む。 The defect determination information 22 is information for determining a defect location in the inspection image, and includes a threshold value for determining whether or not the pixel of the inspection image is a defective pixel.
 欠陥分類用情報23は、検出された欠陥の分類に使用する情報であり、欠陥領域を内部領域と外周領域とに区分するための閾値、欠陥分類にどのような特徴量を使用するかを示す情報、および欠陥を膜内異物と膜上異物とに分類するための閾値を含む。 The defect classification information 23 is information used to classify the detected defect, and indicates a threshold value for classifying the defect area into an inner area and an outer area, and what kind of feature value is used for the defect classification. Information and a threshold value for classifying defects into in-film foreign matter and on-film foreign matter are included.
 〔膜内異物および膜上異物〕
 ここで、膜内異物および膜上異物の詳細について図2に基づいて説明する。図2は、膜内異物および膜上異物の相違を説明する図であり、同図の上側は膜内異物または膜上異物が撮影された検査画像の一例を示し、同図の下側は異物が付着した箇所の断面を模式的に示している。なお、ここでは、検査対象物が、透明基板上に配線が形成され、均一な厚さの薄膜によってコーティングされた、液晶表示装置のディスプレイパネルである例を示している。
[In-film foreign matter and foreign matter on membrane]
Here, the details of the in-film foreign matter and the on-film foreign matter will be described with reference to FIG. FIG. 2 is a diagram for explaining the difference between the in-film foreign matter and the on-film foreign matter. The upper side of the figure shows an example of an inspection image in which the in-film foreign matter or the on-film foreign matter is photographed. The cross section of the location to which is attached is schematically shown. Here, an example is shown in which the inspection object is a display panel of a liquid crystal display device in which wiring is formed on a transparent substrate and coated with a thin film having a uniform thickness.
 図示のように、膜内異物が生じたディスプレイパネルを撮影した検査画像では、膜内異物が生じている箇所は、光を透過しないため黒く写っている。また、膜内異物の周囲の膜の色が変化している。 As shown in the figure, in the inspection image obtained by photographing the display panel in which the in-film foreign matter is generated, the portion where the in-film foreign matter is generated is black because it does not transmit light. In addition, the color of the film around the foreign matter in the film changes.
 より詳細には、膜内異物の周囲には異物はなく、光を透過するため、異物がある箇所よりも色が薄くなっている。ただし、その色は、そのさらに外側の正常な箇所とは異なる色となっている。このため、膜内異物の周囲についても欠陥領域と判定される。なお、この色の変化は、同図の下側に示すように、異物があることにより異物の周囲の膜厚が変化し、これによって薄膜干渉が変化したことに起因すると推測される。 More specifically, there is no foreign matter around the foreign matter in the film, and light is transmitted, so the color is lighter than the location where the foreign matter is present. However, the color is different from that of the normal part on the outer side. For this reason, the area around the in-film foreign matter is also determined as a defective area. Note that, as shown in the lower side of the figure, this color change is presumed to be caused by the change in the film thickness around the foreign matter due to the presence of the foreign matter, thereby changing the thin film interference.
 このような膜内異物が生じたディスプレイパネルは、膜内異物を除去するリペア装置に送ってリペアする必要がある。つまり、膜内異物は、リペアを要するキラー欠陥であると言える。 The display panel in which such in-film foreign matter is generated needs to be repaired by sending it to a repair device that removes the in-film foreign matter. That is, it can be said that the in-film foreign matter is a killer defect that requires repair.
 一方、膜上異物が生じたディスプレイパネルを撮影した検査画像でも、膜上異物が付着している箇所は、光を透過しないため黒く写っている。しかし、膜内異物の場合と異なり、膜上異物の周囲の膜の色は変化していない。これは、同図の下側に示すように、異物の周囲の膜厚に変化がないためである。 On the other hand, even in the inspection image obtained by photographing the display panel where the on-film foreign matter is generated, the portion where the on-film foreign matter is attached is black because it does not transmit light. However, unlike the case of foreign matter in the film, the color of the film around the foreign matter on the film does not change. This is because there is no change in the film thickness around the foreign material, as shown on the lower side of the figure.
 膜上異物は、洗浄によって除去することができるため、膜上異物が検出されたディスプレイパネルはリペア装置に送る必要はない。つまり、膜上異物は、リペアが不要な非キラー欠陥であると言える。 Since the foreign matter on the film can be removed by cleaning, it is not necessary to send the display panel in which the foreign matter is detected to the repair device. That is, it can be said that the foreign matter on the film is a non-killer defect that does not require repair.
 〔欠陥分類方法の詳細〕
 以上のように、膜内異物が生じている場合、検出された欠陥領域の外周沿いの領域は、該領域に隣接する非欠陥領域とは異なる色となる。このため、検出された欠陥領域の外周領域の色が、該領域に隣接する非欠陥領域の色と異なっていれば、その欠陥領域が膜内異物によるものである可能性が高いと言える。
[Details of defect classification method]
As described above, when the in-film foreign matter is generated, the area along the outer periphery of the detected defect area has a color different from the non-defect area adjacent to the area. For this reason, if the color of the detected peripheral area of the defect area is different from the color of the non-defect area adjacent to the defect area, it can be said that there is a high possibility that the defect area is due to in-film foreign matter.
 このため、欠陥分類装置1の領域設定部13は、欠陥領域を外周領域と内部領域とに区分する。また、領域設定部13は、外周領域の周囲に近傍領域を設定する。これらの領域の設定は、例えば図3のようになる。図3は、欠陥領域を外周領域と内部領域とに分割し、外周領域の外側に近傍領域を設定した状態の一例を示す図である。なお、同図では、欠陥領域から距離d以内の領域を近傍領域としている。 For this reason, the region setting unit 13 of the defect classification apparatus 1 classifies the defect region into an outer peripheral region and an inner region. The area setting unit 13 sets a neighboring area around the outer peripheral area. These areas are set as shown in FIG. 3, for example. FIG. 3 is a diagram illustrating an example of a state in which a defective area is divided into an outer peripheral area and an inner area, and a neighboring area is set outside the outer peripheral area. In the figure, the area within the distance d from the defect area is set as the vicinity area.
 欠陥領域を外周領域と内部領域とに区分する方法としては、欠陥領域の画素ごとに特徴量(領域判別用)を算出し、算出した特徴量を用いた2クラス1特徴量(2クラスは、内部領域と外周領域)の判別分析を適用することが可能である。 As a method of dividing a defect area into an outer peripheral area and an inner area, a feature quantity (for area discrimination) is calculated for each pixel in the defect area, and a 2 class 1 feature quantity (2 class using the calculated feature quantity is It is possible to apply discriminant analysis of the inner region and the outer peripheral region.
 ここで、図2に基づいて説明したように、膜内異物に起因して生じる外周領域は、内部領域と色が異なっており、また輝度も異なっている。このため、上記の特徴量としては、輝度値や色相値を利用することができる。本実施形態では、輝度値を適用する例を説明する。 Here, as described with reference to FIG. 2, the outer peripheral region caused by the foreign matter in the film is different in color from the inner region and also in luminance. For this reason, a luminance value or a hue value can be used as the feature amount. In this embodiment, an example in which a luminance value is applied will be described.
 輝度値を領域判別用特徴量として用いる場合、欠陥領域の各画素について、その領域判別用特徴量が閾値以上であるか否かを判別することにより、欠陥領域を2つの領域(閾値以上の領域と閾値未満の領域)に分割する。そして、2つの領域のうち、内部側にある領域を内部領域とし、外側にある領域を外周領域とする。 When the luminance value is used as a region discriminating feature amount, for each pixel of the defective region, it is determined whether or not the region discriminating feature amount is equal to or greater than a threshold value, thereby determining the defect region as two regions (regions greater than or equal to the threshold value). And the area below the threshold). Of the two regions, the region on the inner side is the inner region, and the region on the outer side is the outer peripheral region.
 なお、内部側と外側との判別は、モーメントの大小によって行うことができる。すなわち、まず欠陥領域の重心を求め、次に2つの領域の重心周りのモーメントを算出し、モーメントが小さい方の領域を内部領域とし、大きい方の領域を外周領域とする。また、検査対象物が、透明基板である場合のように、内部領域の画素の輝度値が外周領域の画素の輝度値よりも高いことが予め分かっている場合には、輝度値が閾値未満の領域を内部領域と判定してもよい。 The distinction between the inside and outside can be made based on the magnitude of the moment. That is, first, the center of gravity of the defect area is obtained, then the moments around the center of gravity of the two areas are calculated, and the area with the smaller moment is set as the inner area, and the area with the larger moment is set as the outer peripheral area. Further, when it is known in advance that the luminance value of the pixel in the inner region is higher than the luminance value of the pixel in the outer peripheral region, such as when the inspection target is a transparent substrate, the luminance value is less than the threshold value. The area may be determined as an internal area.
 このような処理により、膜内欠陥が生じている場合には、欠陥領域を、その外周に沿った環状の領域である外周領域と、外周領域で囲まれた内部領域とに分割することができる。 By such processing, when an in-film defect occurs, the defect region can be divided into an outer peripheral region that is an annular region along the outer periphery and an inner region that is surrounded by the outer peripheral region. .
 さらに、領域設定部13は、決定した外周領域の外側に隣接する非欠陥領域において、一定の幅dを有する領域(外周領域までの距離がd以下となる画素で構成される領域)を近傍領域として決定する。 Furthermore, the region setting unit 13 determines a region having a certain width d (region composed of pixels whose distance to the outer peripheral region is equal to or less than d) in a non-defect region adjacent to the outside of the determined outer peripheral region. Determine as.
 次に、以上のようにして決定した領域について、分類指標算出部14は、欠陥分類のための指標となる分類用特徴量を算出する。より具体的には、分類指標算出部14は、外周領域に含まれる画素の色相値の代表値と近傍領域に含まれる画素の色相値の代表値との角度差θ、および外周領域に含まれる画素の彩度の代表値rを算出し、これらを掛け合わせたr×θを欠陥の分類用特徴量として算出する。なお、色相は、Lab色空間における色相atan2(b,a)であり、彩度は、Lab色空間における彩度sqrt(a*a+b*b)である。 Next, for the region determined as described above, the classification index calculation unit 14 calculates a classification feature amount that is an index for defect classification. More specifically, the classification index calculation unit 14 is included in the angular difference θ between the representative value of the hue value of the pixel included in the outer peripheral area and the representative value of the hue value of the pixel included in the neighboring area, and in the outer peripheral area. A representative value r of the saturation of the pixel is calculated, and r × θ obtained by multiplying them is calculated as a defect classification feature amount. The hue is the hue atan2 (b, a) in the Lab color space, and the saturation is the saturation sqrt (a * a + b * b) in the Lab color space.
 そして、欠陥分類部15は、算出された分類用特徴量と、欠陥分類用情報23に含まれる閾値とを比較して、分類用特徴量が閾値以上であれば膜内異物と判定し、閾値未満であれば膜上異物と判定する。本願の発明者による実験の結果から、近傍領域の色と外周領域の色との異なり具合、すなわち上記θの値が大きいほど、膜内異物である可能性が高くなることが確認されている。 Then, the defect classification unit 15 compares the calculated classification feature amount with a threshold value included in the defect classification information 23, and determines that it is an in-film foreign matter if the classification feature amount is equal to or greater than the threshold value. If it is less than that, it is determined as a foreign substance on the film. From the results of experiments by the inventors of the present application, it has been confirmed that the degree of difference between the color of the neighboring region and the color of the outer peripheral region, that is, the greater the value of θ, the higher the possibility of being an in-film foreign matter.
 なお、分類用特徴量は、外周領域と近傍領域との色差に応じた値となるものであればよく、上記の例に限られない。例えば、上記のθを分類用特徴量としてもよい。ただし、本願の発明者による実験の結果、外周領域の彩度が低いほど、膜内異物ではない欠陥を膜内異物と誤判定する確率が高くなることが分かっているので、θ単体を分類用特徴量とするよりも、r×θを分類用特徴量とすることが好ましい。外周領域の彩度が低いほど、分類用特徴量r×θは小さくなり、膜上異物と正しく判定する確率が高くなる。なお、これは、彩度が低いほど、僅かな色の差でθの値が大きく変動することに起因すると考えられる。 The classification feature amount is not limited to the above example as long as it has a value corresponding to the color difference between the outer peripheral region and the neighboring region. For example, the above θ may be used as the classification feature amount. However, as a result of experiments by the inventors of the present application, it has been found that the lower the saturation of the outer peripheral region, the higher the probability that a defect that is not an in-film foreign matter is erroneously determined as an in-film foreign matter. R × θ is preferably used as the classification feature amount rather than the feature amount. The lower the saturation of the outer peripheral region, the smaller the classification feature amount r × θ, and the higher the probability of correctly determining the foreign matter on the film. This is considered to be due to the fact that the value of θ greatly varies with a slight color difference as the saturation is lower.
 また、外周領域と近傍領域との輝度差を分類用特徴量とすることも考えられる。しかしながら、本願の発明者による実験の結果、上記のような色差によって判断する方が、より正確な分類が可能となることが分かっているので、色差に比例する分類用特徴量を用いることが望ましい。 It is also conceivable that the luminance difference between the outer peripheral area and the neighboring area is used as a classification feature amount. However, as a result of experiments by the inventor of the present application, it has been found that more accurate classification is possible by making a judgment based on the color difference as described above. Therefore, it is desirable to use a classification feature amount proportional to the color difference. .
 〔分類による効果〕
 ここでは、欠陥分類装置1による膜内異物と膜上異物の分類の効果を図4に基づいて説明する。図4は、真の膜内異物の数と、欠陥分類装置1が検出した膜内異物の数との相互関係を示す図である。
[Effects of classification]
Here, the effect of the classification of in-film foreign matter and on-film foreign matter by the defect classification apparatus 1 will be described with reference to FIG. FIG. 4 is a diagram showing a correlation between the number of true in-film foreign matter and the number of in-film foreign matter detected by the defect classification apparatus 1.
 なお、同図では、(a+b+c+d)枚の入力画像のうち、真の膜内異物の数(実際に膜内異物が撮影されている入力画像の数)を(a+b)、欠陥分類装置1が検出した膜内異物の数(欠陥分類装置1が膜内異物を検出した入力画像の数)を(b+c)としている。また、欠陥分類装置1が検出した膜内異物のうち、真の膜内異物の数をb、膜内異物ではなかった数をcとしている。さらに、膜内異物が存在せず、かつ欠陥分類装置1が膜内異物を検出しなかった入力画像の数をdとしている。 In the figure, among the (a + b + c + d) input images, the number of true in-film foreign matter (the number of input images in which the in-film foreign matter is actually photographed) is (a + b), and the defect classification device 1 detects The number of in-film foreign matter (number of input images in which the defect classification apparatus 1 has detected the in-film foreign matter) is (b + c). Further, among the in-film foreign matter detected by the defect classification apparatus 1, b is the number of true in-film foreign matter and c is the number that is not the in-film foreign matter. Further, d is the number of input images in which no in-film foreign matter exists and the defect classification apparatus 1 has not detected the in-film foreign matter.
 まず、欠陥分類装置1による膜内異物と膜上異物の分類の効果として、よい分類性能を得られる点が挙げられる。よい分類性能とは、未検出率および過検出率が低いことである。例えば、膜内異物の未検出率は、「検出できなかった(つまり見逃した)膜内異物の数」/「真の膜内異物の数」=a/(a+b)と表すことができる。 First, as an effect of the classification of the foreign matter on the film and the foreign matter on the film by the defect classification device 1, there is a point that good classification performance can be obtained. Good classification performance is low undetected and overdetected rates. For example, the undetected rate of in-film foreign matter can be expressed as “the number of in-film foreign matters that could not be detected (that is, missed)” / “the number of true in-film foreign matters” = a / (a + b).
 また、膜内異物の過検出率は、「間違えて検出した(つまり本当は膜内異物でなかった)膜内異物の数」/「真の膜内異物でない入力画像の数」=c/(c+d)と表すことができる。 Further, the over-detection rate of in-film foreign matter is “number of in-film foreign matter detected by mistake (that is, not really in-film foreign matter)” / “number of input images that are not true in-film foreign matter” = c / (c + d )It can be expressed as.
 欠陥分類装置1によれば、外周領域に含まれる画素の色と、近傍領域に含まれる画素の色との差異を示す分類用特徴量を用いて膜内異物と膜上異物とを分類するので、検出した真の膜内異物の数bを増やし、間違えて検出した膜内異物の数cを減らすことができる。 According to the defect classification apparatus 1, the in-film foreign matter and the on-film foreign matter are classified using the classification feature amount indicating the difference between the color of the pixel included in the outer peripheral region and the color of the pixel included in the neighboring region. It is possible to increase the number b of true in-film foreign matter detected and reduce the number c of in-film foreign matter detected by mistake.
 このため、未検出率:a/(a+b)および過検出率:c/(c+d)を低減させることができる。 Therefore, the undetected rate: a / (a + b) and the overdetected rate: c / (c + d) can be reduced.
 さらに、分類精度も向上する。膜内異物の分類精度は、例えば「検出した真の膜内異物」/「検出した膜内異物の数」=b/(b+c)と表すことができる。上記のように、欠陥分類装置1によれば、bを増やし、cを減らすことができるので、分類精度:b/(b+c)を上げることができる。また、膜内異物の分類精度が向上することによって、膜上異物の分類性能も向上する。 Furthermore, the classification accuracy is improved. The classification accuracy of the in-film foreign matter can be expressed as, for example, “detected true in-film foreign matter” / “number of detected in-film foreign matter” = b / (b + c). As described above, according to the defect classification apparatus 1, b can be increased and c can be decreased, so that the classification accuracy: b / (b + c) can be increased. Further, the classification accuracy of the on-film foreign matter is improved by improving the classification accuracy of the in-film foreign matter.
 〔分類結果の利用〕
 欠陥分類装置1の分類結果は、製品の製造工程において様々に活用することができる。例えば、FDC(Fault Detection and Classification)に利用することができる。つまり、欠陥分類装置1により、製品の各種製造装置が発生させた膜内異物の数を検出、監視し、製造装置の異常を早期発見することが可能になる。
[Use of classification results]
The classification result of the defect classification apparatus 1 can be used in various ways in the product manufacturing process. For example, it can be used for FDC (Fault Detection and Classification). That is, the defect classification apparatus 1 can detect and monitor the number of in-film foreign matter generated by various production apparatuses for products, and can detect abnormalities in the production apparatus at an early stage.
 これに対し、従来は、膜内異物と膜上異物とを精度よく分類できなかったため、製造装置の異常発見の精度が悪い、もしくは発見が遅れる(早期発見が困難)という問題があった。 On the other hand, in the past, the foreign matter on the film and the foreign matter on the film could not be classified with high accuracy, and thus there was a problem that the accuracy of finding an abnormality in the manufacturing apparatus was poor or the discovery was delayed (early discovery was difficult).
 また、欠陥分類装置1によれば、膜内異物を除去するリペア装置に送るべき製品(または部品や組み立て途中の半製品)における、真の膜内異物を有する製品の割合を高めることができる。よって、リペア装置の稼働率を向上させることができる。また、リペア装置に全ての膜内異物を除去させることが可能になる(歩留りの向上)。 Further, according to the defect classification apparatus 1, it is possible to increase the ratio of products having true in-film foreign matter in the products (or parts and semi-finished products in the middle of assembly) to be sent to the repair device for removing the in-film foreign matter. Therefore, the operation rate of the repair device can be improved. Further, it becomes possible to remove all in-film foreign matter by the repair device (improvement of yield).
 これに対し、従来は、膜内異物と膜上異物とを分類できなかった(あるいは分類精度が低かった)ため、リペア装置に送られた基板のうち、リペアすべき真の膜内異物のある製品が少なかった。このため、リペア装置の稼働率が低くなり、リペア装置の効率的運用ができなかった。また、リペア装置がすべての膜内異物を除去することができないという問題があった(歩留りの低下)。 On the other hand, in the past, in-film foreign matter and on-film foreign matter could not be classified (or classification accuracy was low), and there was a true in-film foreign matter to be repaired among the substrates sent to the repair device. There were few products. For this reason, the operation rate of the repair device is low, and the repair device cannot be efficiently operated. In addition, there is a problem that the repair device cannot remove all the in-film foreign matter (decrease in yield).
 また、欠陥分類装置1の分類結果を利用することにより、膜内異物の発生しやすい部位や、発生しやすい製造条件を特定することも可能になる。そして、膜内異物の多発を抑えるように、製造装置の改良、製造条件の変更を行うことも可能になる。 In addition, by using the classification result of the defect classification apparatus 1, it is possible to identify a portion where the in-film foreign matter is likely to be generated and a manufacturing condition where the foreign matter is likely to be generated. It is also possible to improve the manufacturing apparatus and change the manufacturing conditions so as to suppress the frequent occurrence of foreign matter in the film.
 これに対し、従来は、膜内異物と膜上異物とを分類できなかった(あるいは分類精度が低かった)ため、解析によりこのような特定を行うことが困難であった。 On the other hand, in the past, it was difficult to classify foreign substances on the film and foreign substances on the film (or the classification accuracy was low), and thus it was difficult to perform such identification by analysis.
 さらに、欠陥分類装置1の分類結果を利用することにより、膜内異物の発生しやすい欠陥位置や欠陥の大きさを集計することも可能になる。そして、膜内異物が発生しても不良となりにくいような設計に変更することも可能になる。 Furthermore, by using the classification result of the defect classification apparatus 1, it becomes possible to add up the defect positions and defect sizes at which in-film foreign matter is likely to occur. It is also possible to change the design so that even if foreign matter in the film is generated, it is difficult to cause a defect.
 これに対し、従来は、膜内異物と膜上異物とを分類できなかった(あるいは分類精度が低かった)ため、このような解析をすることが困難であった。 On the other hand, in the past, it was difficult to classify foreign substances on the film and foreign substances on the film (or the classification accuracy was low), and it was difficult to perform such an analysis.
 〔処理の流れ〕
 続いて、欠陥分類装置1が実行する欠陥抽出/分類処理の流れを図5に基づいて説明する。図5は、欠陥抽出/分類処理の一例を示すフローチャートである。
[Process flow]
Next, the flow of defect extraction / classification processing executed by the defect classification device 1 will be described with reference to FIG. FIG. 5 is a flowchart illustrating an example of defect extraction / classification processing.
 まず、欠陥分類装置1では、初期化が行われる(S1)。これにより、記憶部20から制御部10に良品画像21、欠陥判定用情報22、および欠陥分類用情報23が読み込まれる。そして、各検査画像について欠陥の抽出および分類を行う処理のループが開始される(L1)。 First, in the defect classification apparatus 1, initialization is performed (S1). As a result, the non-defective image 21, the defect determination information 22, and the defect classification information 23 are read from the storage unit 20 to the control unit 10. Then, a loop of processing for extracting and classifying defects for each inspection image is started (L1).
 検査画像のループでは、アライメント部11は、検査画像入力部30に入力された複数の一枚を読み込む(S2)。そして、読み込んだ検査画像について、S1で読み込まれた良品画像21とのアライメントを行い(S3)、良品画像21をアライメント位置で切り抜く(S4)。切り抜かれた良品画像21は、アライメントの対象とした一枚の検査画像と共に欠陥抽出部12に送信される。 In the inspection image loop, the alignment unit 11 reads a plurality of images input to the inspection image input unit 30 (S2). Then, the read inspection image is aligned with the good image 21 read in S1 (S3), and the good image 21 is cut out at the alignment position (S4). The cut-out non-defective image 21 is transmitted to the defect extraction unit 12 together with one inspection image to be aligned.
 切り抜かれた良品画像21と検査画像とを受信した欠陥抽出部12は、検査画像の各画素の画素値と、切り抜かれた良品画像21における対応する位置の画素の画素値との差分の絶対値をそれぞれ算出する。また、算出した差分の絶対値と、S1で読み込まれた欠陥判定用情報22に含まれる閾値とを比較して、差分の絶対値が閾値以上となる画素を欠陥画素と特定する。そして、検査画像において、特定した欠陥画素が集まっている領域を欠陥領域として抽出する(S5)。なお、欠陥領域は、1枚の検査画像から複数抽出されてもよい。 The defect extraction unit 12 that has received the cut-out non-defective image 21 and the inspection image receives the absolute value of the difference between the pixel value of each pixel of the inspection image and the pixel value of the pixel at the corresponding position in the cut-out non-defective image 21. Are calculated respectively. Further, the absolute value of the calculated difference is compared with the threshold value included in the defect determination information 22 read in S1, and a pixel whose absolute value of the difference is greater than or equal to the threshold value is identified as a defective pixel. Then, in the inspection image, an area where the specified defective pixels are collected is extracted as a defective area (S5). A plurality of defect areas may be extracted from one inspection image.
 また、欠陥抽出部12は、抽出した欠陥領域を示す情報を検査画像と共に領域設定部13に送信し、これにより欠陥分類処理が行われ、抽出された欠陥領域が膜内異物または膜上異物に分類される(S6)。 Further, the defect extraction unit 12 transmits information indicating the extracted defect region together with the inspection image to the region setting unit 13, whereby defect classification processing is performed, and the extracted defect region becomes an in-film foreign matter or an on-film foreign matter. It is classified (S6).
 一方、S3でアライメントを行ったアライメント部11は、検査画像入力部30に入力された全ての検査画像のアライメントを終了したか判断する(S7)。ここで、アライメントが終了していない検査画像があると判断した場合(S7でNO)、S2に戻ってアライメントの終了していない検査画像を読み込み、この検査画像についてS3からS6の処理が行われる。一方、全ての検査画像のアライメントを終了していると判断した場合(S7でYES)、検査画像のループは終了し、欠陥抽出/分類処理も終了する。 On the other hand, the alignment unit 11 that performed the alignment in S3 determines whether the alignment of all the inspection images input to the inspection image input unit 30 has been completed (S7). If it is determined that there is an inspection image for which the alignment has not been completed (NO in S7), the process returns to S2 to read the inspection image for which the alignment has not been completed, and the processing from S3 to S6 is performed on this inspection image. . On the other hand, if it is determined that the alignment of all the inspection images has been completed (YES in S7), the inspection image loop ends and the defect extraction / classification process also ends.
 〔欠陥分類処理〕
 次に、図5のS6で行われる欠陥分類処理(欠陥分類方法)の詳細を図6に基づいて説明する。図6は、欠陥分類処理の一例を示すフローチャートである。
(Defect classification processing)
Next, details of the defect classification process (defect classification method) performed in S6 of FIG. 5 will be described with reference to FIG. FIG. 6 is a flowchart illustrating an example of the defect classification process.
 まず、領域設定部13は、欠陥領域における外周領域と内部領域とを判別するための領域判別用特徴量を算出する(S10)。具体的には、領域設定部13は、欠陥抽出部12から通知された欠陥領域に含まれる各画素の輝度値を領域判別用特徴量として算出する。 First, the region setting unit 13 calculates a region discriminating feature amount for discriminating between the outer peripheral region and the inner region in the defect region (S10). Specifically, the region setting unit 13 calculates the luminance value of each pixel included in the defect region notified from the defect extraction unit 12 as a region determination feature amount.
 続いて、領域設定部13は、算出した領域判別用特徴量を用いて内部領域と外周領域とを決定する(S11)。具体的には、領域設定部13は、欠陥領域の各画素について、その領域判別用特徴量が閾値以上であるか否かを判別することにより、欠陥領域を2つの領域(閾値以上の領域と閾値未満の領域)に分割する。そして、2つの領域のうち、内部側にある領域を内部領域とし、外側にある領域を外周領域とする。 Subsequently, the area setting unit 13 determines an inner area and an outer area using the calculated area discriminating feature amount (S11). Specifically, the area setting unit 13 determines, for each pixel in the defect area, whether or not the area determination feature amount is equal to or greater than a threshold value, thereby determining the defect area as two areas (an area equal to or greater than the threshold value). (Area below threshold). Of the two regions, the region on the inner side is the inner region, and the region on the outer side is the outer peripheral region.
 次に、領域設定部13は、近傍領域を決定する(S12)。具体的には、領域設定部13は、S11で決定した外周領域の外側に隣接し、一定の幅を有する領域(外周領域までの距離が一定以下となる画素で構成される領域)を近傍領域として決定する。 Next, the area setting unit 13 determines a neighboring area (S12). Specifically, the region setting unit 13 determines a region that is adjacent to the outside of the outer peripheral region determined in S11 and has a certain width (a region composed of pixels whose distance to the outer peripheral region is equal to or less than a certain region) as a neighboring region. Determine as.
 そして、以上のようにして内部領域、外周領域、および近傍領域を決定した領域設定部13は、これらの領域を分類指標算出部14に通知する。 Then, the region setting unit 13 that has determined the internal region, the outer peripheral region, and the neighborhood region as described above notifies the classification index calculation unit 14 of these regions.
 この通知を受信した分類指標算出部14は、欠陥分類用情報23を参照して、分類用特徴量として、r×θ(r:外周領域の彩度、θ:外周領域と近傍領域の色相値の差)を使用することを特定する。 Upon receiving this notification, the classification index calculation unit 14 refers to the defect classification information 23 and uses r × θ (r: saturation of the outer peripheral region, θ: hue value of the outer peripheral region and the neighboring region as the classification feature amount. To use).
 そして、外周領域の色相値と、近傍領域の色相値とを算出し、これら色相値の角度差θを算出する(S13)。なお、外周領域の色相値は、外周領域がどのような色であるかを示すものであればよく、例えば外周領域に含まれる各画素の色相値の算術平均値であってもよいし、中央値等であってもよい。近傍領域の色相値についても同様である。 Then, the hue value of the outer peripheral area and the hue value of the neighboring area are calculated, and the angle difference θ between these hue values is calculated (S13). It should be noted that the hue value of the outer peripheral area only needs to indicate what color the outer peripheral area is, and may be, for example, the arithmetic average value of the hue values of each pixel included in the outer peripheral area, It may be a value or the like. The same applies to the hue value in the vicinity region.
 また、分類指標算出部14は、外周領域の彩度rを算出し(S14)、これをS13で算出したθと掛け合わせたr×θを欠陥の分類用特徴量として算出し(S15)、これを欠陥分類部15に通知する。なお、外周領域の彩度rも色相値と同様、外周領域がどのような彩度であるかを示すものであればよく、例えば外周領域に含まれる各画素の彩度の算術平均値であってもよいし、中央値等であってもよい。 Further, the classification index calculation unit 14 calculates the saturation r of the outer peripheral area (S14), and calculates r × θ obtained by multiplying this by θ calculated in S13 as a defect classification feature amount (S15). This is notified to the defect classification unit 15. Similar to the hue value, the saturation r of the outer peripheral region only needs to indicate what saturation the outer peripheral region is, and is, for example, an arithmetic average value of the saturation of each pixel included in the outer peripheral region. It may be a median value or the like.
 分類用特徴量を受信した欠陥分類部15は、この分類用特徴量と、欠陥分類用情報23に含まれる欠陥分類用の閾値とを比較して、閾値以上であるか判定する(S16)。 The defect classification unit 15 that has received the classification feature quantity compares the classification feature quantity with the defect classification threshold value included in the defect classification information 23, and determines whether the classification feature quantity is equal to or greater than the threshold value (S16).
 ここで、閾値以上であると判定した場合(S16でYES)、欠陥分類部15は、当該欠陥領域に生じている欠陥が膜内異物によるものと判定し(S17)、欠陥分類処理を終了する。 If it is determined that the threshold value is equal to or greater than the threshold (YES in S16), the defect classification unit 15 determines that the defect occurring in the defect area is due to the in-film foreign matter (S17), and ends the defect classification process. .
 一方、閾値未満であると判定した場合(S16でNO)、欠陥分類部15は、当該欠陥領域に生じている欠陥が膜上異物によるものと判定し(S18)、欠陥分類処理を終了する。なお、図示の例には示していないが、判定結果はその欠陥領域と対応付けて記憶部20に記憶する。また、記憶した判定結果は、欠陥分類装置1と一体に構成された、あるいは欠陥分類装置1に接続された表示装置に出力して表示させてもよい。 On the other hand, if it is determined that it is less than the threshold value (NO in S16), the defect classification unit 15 determines that the defect occurring in the defect area is due to foreign matter on the film (S18), and ends the defect classification process. Although not shown in the illustrated example, the determination result is stored in the storage unit 20 in association with the defective area. The stored determination result may be output and displayed on a display device configured integrally with the defect classification device 1 or connected to the defect classification device 1.
 〔追加判定処理〕
 図6の例では、1つの分類用特徴量(r×θ)のみを用いて欠陥の分類を行っているが、他の分類用特徴量を併用することによって、欠陥の分類精度を向上させることが可能である。
[Additional judgment processing]
In the example of FIG. 6, defects are classified using only one classification feature (r × θ), but the defect classification accuracy can be improved by using other classification features together. Is possible.
 これについて、図7に基づいて説明する。図7は、他の分類用特徴量を併用して欠陥の分類を行う追加判定処理の一例を示すフローチャートである。なお、追加判定処理は、図6のS16でYESと判定された場合に行われる。 This will be described with reference to FIG. FIG. 7 is a flowchart showing an example of an additional determination process for classifying defects by using other classification feature amounts together. The addition determination process is performed when YES is determined in S16 of FIG.
 欠陥分類部15は、分類用特徴量(r×θ)が閾値以上であると判定した場合(図6のS16でYES)、分類指標算出部14に次の特徴量を算出するように指示する。そして、この指示を受信した分類指標算出部14は、外周領域の幅を算出し(S20)、算出した幅を欠陥分類部15に通知する。 When the defect classification unit 15 determines that the classification feature amount (r × θ) is equal to or greater than the threshold (YES in S16 in FIG. 6), the defect classification unit 15 instructs the classification index calculation unit 14 to calculate the next feature amount. . Upon receiving this instruction, the classification index calculation unit 14 calculates the width of the outer peripheral area (S20), and notifies the defect classification unit 15 of the calculated width.
 なお、外周領域の幅とは、環状の外周領域の環の太さを示す数値であり、例えば外周領域の画素のうち、内部領域に接する位置の画素から近傍領域に接する位置の画素までの距離を外周領域の幅として算出してもよい。また、外周領域の全周にわたり複数個所の幅を算出し、算出した幅の代表値(算術平均値や中央値)を外周領域の幅としてもよいし、外周領域の一箇所について算出した幅をそのまま外周領域の幅としてもよい。 Note that the width of the outer peripheral region is a numerical value indicating the thickness of the ring of the annular outer peripheral region. For example, among the pixels in the outer peripheral region, the distance from the pixel in the position in contact with the inner region to the pixel in the position in contact with the neighboring region May be calculated as the width of the outer peripheral region. In addition, the width of a plurality of locations is calculated over the entire circumference of the outer peripheral region, and the representative value (arithmetic average value or median) of the calculated width may be used as the width of the outer peripheral region, or the width calculated for one location of the outer peripheral region may be The width of the outer peripheral region may be used as it is.
 外周領域の幅の通知を受けた欠陥分類部15は、通知された幅と、外周領域の幅に対応する閾値とを比較して、幅が閾値以上であるか判断する(S21)。 Upon receiving the notification of the width of the outer peripheral area, the defect classification unit 15 compares the notified width with a threshold corresponding to the width of the outer peripheral area, and determines whether the width is equal to or larger than the threshold (S21).
 なお、この判断は、膜内異物とは考えられない程度に外周領域の幅が小さい場合に、これを膜内異物と誤判定することを防ぐためのものである。このため、上記の閾値は、膜内異物に起因する外周領域が形成されているか否かを判定できるような値とする。この閾値は、欠陥分類部15が参照可能に格納されていればよく、例えば欠陥分類用情報23に含めておいてもよい。 Note that this determination is to prevent erroneous determination as an in-film foreign object when the width of the outer peripheral region is small enough that it cannot be considered as an in-film foreign object. For this reason, the above threshold value is set to a value that can determine whether or not an outer peripheral region caused by the in-film foreign matter is formed. This threshold value may be stored so that the defect classification unit 15 can be referred to, and may be included in the defect classification information 23, for example.
 ここで、幅が閾値未満であると判断した場合(S21でNO)、欠陥分類部15は当該欠陥を膜上異物と判定し(S27)、追加判定処理を終了する。一方、幅が閾値以上であると判断した場合(S21でYES)、欠陥分類部15は、分類指標算出部14に次の特徴量を算出するように指示する。 Here, when it is determined that the width is less than the threshold (NO in S21), the defect classification unit 15 determines that the defect is a foreign substance on the film (S27), and ends the additional determination process. On the other hand, when it is determined that the width is equal to or larger than the threshold (YES in S21), the defect classification unit 15 instructs the classification index calculation unit 14 to calculate the next feature amount.
 この指示を受信した分類指標算出部14は、外周領域と内部領域との輝度差を算出し(S22)、算出した値を欠陥分類部15に通知する。例えば、外周領域に含まれる各画素について輝度値の算術平均や中央値を算出し、同様にして算出した内部領域に含まれる各画素の輝度値の算術平均や中央値との差分の絶対値を算出し、この値を上記の輝度差としてもよい。 Upon receiving this instruction, the classification index calculation unit 14 calculates a luminance difference between the outer peripheral region and the inner region (S22), and notifies the defect classification unit 15 of the calculated value. For example, the arithmetic average or median of the luminance values is calculated for each pixel included in the outer peripheral area, and the absolute value of the difference from the arithmetic average or median of the luminance values of each pixel included in the internal area calculated in the same manner is calculated. It is also possible to calculate and use this value as the luminance difference.
 外周領域と内部領域との輝度差の通知を受けた欠陥分類部15は、通知された輝度差と、外周領域と内部領域との輝度差に対応する閾値とを比較して、輝度差が閾値以上であるか判断する(S23)。 The defect classification unit 15 that has received the notification of the luminance difference between the outer peripheral region and the inner region compares the notified luminance difference with a threshold corresponding to the luminance difference between the outer peripheral region and the inner region, and the luminance difference is a threshold value. It is determined whether this is the case (S23).
 なお、この判断は、内部領域と外周領域の輝度値の差が小さく、膜内異物に起因する外周領域が形成されているとは言えないような場合に、これを膜内異物と誤判定することを防ぐためのものである。このため、上記の閾値は、膜内異物に起因する外周領域が形成されているか否かを判定できるような値とする。この閾値は、欠陥分類部15が参照可能に格納されていればよく、例えば欠陥分類用情報23に含めておいてもよい。 Note that this determination is erroneously determined as an in-film foreign matter when the difference in luminance value between the inner region and the outer peripheral region is small and it cannot be said that the outer peripheral region due to the in-film foreign matter is formed. This is to prevent this. For this reason, the above threshold value is set to a value that can determine whether or not an outer peripheral region caused by the in-film foreign matter is formed. This threshold value may be stored so that the defect classification unit 15 can be referred to, and may be included in the defect classification information 23, for example.
 ここで、輝度差が閾値未満であると判断した場合(S23でNO)、欠陥分類部15は当該欠陥を膜上異物と判定し(S27)、追加判定処理を終了する。一方、輝度差が閾値以上であると判断した場合(S23でYES)、欠陥分類部15は、分類指標算出部14に次の特徴量を算出するように指示する。 Here, when it is determined that the luminance difference is less than the threshold (NO in S23), the defect classification unit 15 determines that the defect is a foreign substance on the film (S27), and ends the additional determination process. On the other hand, when it is determined that the luminance difference is equal to or larger than the threshold (YES in S23), the defect classification unit 15 instructs the classification index calculation unit 14 to calculate the next feature amount.
 この指示を受信した分類指標算出部14は、外周領域と近傍領域との輝度差を算出し(S24)、算出した値を欠陥分類部15に通知する。例えば、外周領域に含まれる各画素について輝度値の算術平均や中央値を算出し、同様にして算出した近傍領域に含まれる各画素の輝度値の算術平均や中央値との差分の絶対値を算出し、この値を上記の輝度差としてもよい。 Upon receiving this instruction, the classification index calculation unit 14 calculates a luminance difference between the outer peripheral region and the neighboring region (S24), and notifies the defect classification unit 15 of the calculated value. For example, the arithmetic average or median of the luminance values is calculated for each pixel included in the outer peripheral area, and the absolute value of the difference from the arithmetic average or median of the luminance values of the pixels included in the neighboring area calculated in the same manner is calculated. It is also possible to calculate and use this value as the luminance difference.
 外周領域と近傍領域との輝度差の通知を受けた欠陥分類部15は、通知された輝度差と、外周領域と近傍領域との輝度差に対応する閾値とを比較して、輝度差が閾値未満であるか判断する(S25)。 The defect classification unit 15 that has received the notification of the luminance difference between the outer peripheral region and the neighboring region compares the notified luminance difference with a threshold value corresponding to the luminance difference between the outer peripheral region and the neighboring region, and the luminance difference is a threshold value. It is judged whether it is less than (S25).
 なお、この判断は、外周領域と近傍領域との輝度差が大きく、膜内異物に起因する外周領域が形成されているとは言えないような場合に、これを膜内異物と誤判定することを防ぐためのものである。このため、上記の閾値は、膜内異物に起因する外周領域が形成されているか否かを判定できるような値とする。なお、図2に基づいて説明したように、膜内異物が生じている場合には、外周領域と近傍領域とは、輝度差はあるものの、内部領域と近傍領域との間ほどの大きい輝度差とはならない。この閾値は、欠陥分類部15が参照可能に格納されていればよく、例えば欠陥分類用情報23に含めておいてもよい。 Note that this determination may be misjudged as in-film foreign matter when there is a large difference in brightness between the outer peripheral region and the neighboring region, and it cannot be said that the outer peripheral region due to in-film foreign matter is formed. Is to prevent. For this reason, the above threshold value is set to a value that can determine whether or not an outer peripheral region caused by the in-film foreign matter is formed. As described with reference to FIG. 2, when an in-film foreign matter has occurred, there is a luminance difference between the outer peripheral region and the neighboring region, but a large luminance difference between the inner region and the neighboring region. It will not be. This threshold value may be stored so that the defect classification unit 15 can be referred to, and may be included in the defect classification information 23, for example.
 ここで、輝度差が閾値未満であると判断した場合(S25でYES)、欠陥分類部15は当該欠陥を膜内異物と判定し(S26)、追加判定処理を終了する。一方、輝度差が閾値以上であると判断した場合(S25でNO)、欠陥分類部15は、膜上異物と判定し(S27)、追加判定処理を終了する。 Here, when it is determined that the luminance difference is less than the threshold (YES in S25), the defect classification unit 15 determines that the defect is an in-film foreign matter (S26), and ends the additional determination process. On the other hand, when it is determined that the luminance difference is equal to or greater than the threshold (NO in S25), the defect classification unit 15 determines that the foreign matter is on the film (S27), and ends the additional determination process.
 なお、図6のS11では、欠陥の種類にかかわらず、一律に内部領域と外周領域を設定しているため、欠陥の種類が膜上異物である場合等には、外周領域が環状とならないことも想定される。このような場合、S20において幅が算出できない箇所が検出されることになるので、分類指標算出部14は幅の算出が不能である旨を欠陥分類部15に通知する。この場合、欠陥分類部15は膜上異物と判定して処理を終了する。 Note that, in S11 of FIG. 6, the inner region and the outer peripheral region are uniformly set regardless of the type of the defect. Therefore, when the defect type is a foreign substance on the film, the outer peripheral region is not circular. Is also envisaged. In such a case, since the location where the width cannot be calculated is detected in S20, the classification index calculation unit 14 notifies the defect classification unit 15 that the width cannot be calculated. In this case, the defect classification unit 15 determines that the foreign matter is on the film and ends the process.
 また、上記の例では、他の分類用特徴量についても全て分類指標算出部14が算出する例を示したが、異なる特徴量は異なる処理ブロックで算出するようにしてもよい。つまり、分類指標算出部14はr×θのみを算出するようにし、外周領域の幅、外周領域と内部領域との輝度差、および外周領域と近傍領域との輝度差については、それぞれ別の処理ブロック(図1には示していない)で算出するようにしてもよい。例えば、領域幅算出手段のブロックを追加して該ブロックに領域幅を算出させ、第1差分算出手段のブロックを追加して該ブロックに外周領域と内部領域の輝度差を算出させ、第2差分算出手段のブロックを追加して該ブロックに外周領域と近傍領域の輝度差を算出させてもよい。 In the above example, the classification index calculation unit 14 calculates all the other classification feature amounts. However, different feature amounts may be calculated by different processing blocks. That is, the classification index calculation unit 14 calculates only r × θ, and the width of the outer peripheral region, the luminance difference between the outer peripheral region and the inner region, and the luminance difference between the outer peripheral region and the neighboring region are different processes. You may make it calculate by a block (not shown in FIG. 1). For example, the block of the area width calculation unit is added to cause the block to calculate the area width, the block of the first difference calculation unit is added to cause the block to calculate the luminance difference between the outer area and the inner area, and the second difference A block of calculation means may be added to cause the block to calculate the luminance difference between the outer peripheral area and the neighboring area.
 また、上記の例では、外周領域の幅、外周領域と内部領域との輝度差、および外周領域と近傍領域との輝度差を全て使用して判定を行っているが、これらの一部のみを使用する構成としてもよい。 In the above example, the determination is made using all of the width of the outer peripheral area, the luminance difference between the outer peripheral area and the inner area, and the luminance difference between the outer peripheral area and the neighboring area. It is good also as a structure to use.
 図6と図7のフローチャートは、複数の分類用特徴量を個別に順次判定して欠陥の分類を行う欠陥分類処理であった。しかしながら、欠陥分類処理はこれに限定されるものではない。複数の分類用特徴量を用いて、膜内異物と膜上異物を分類する処理として、サポートベクターマシーン(Support Vector Machine)、ニューラルネットワーク、ベイズ分類等を用いてもよい。 The flowcharts of FIGS. 6 and 7 are defect classification processing in which a plurality of classification feature quantities are individually determined sequentially to classify defects. However, the defect classification process is not limited to this. A support vector machine (Support Vector Machine), a neural network, a Bayes classification, or the like may be used as a process for classifying foreign substances on the film and foreign substances on the film using a plurality of classification feature quantities.
 〔変形例〕
 上述の欠陥分類装置1は、外周領域と近傍領域との色差を示す分類用特徴量を用いて分類を行っているが、内部領域と外周領域との色差を示す分類用特徴量を用いて分類を行うことも可能である。図2に基づいて説明したように、膜内異物の場合には、欠陥領域の外周領域と内部領域とで色が異なっているためである。
[Modification]
The defect classification apparatus 1 performs classification using the classification feature amount indicating the color difference between the outer peripheral region and the neighboring region. However, the defect classification apparatus 1 performs classification using the classification feature amount indicating the color difference between the inner region and the outer peripheral region. It is also possible to perform. As described with reference to FIG. 2, in the case of the in-film foreign matter, the color is different between the outer peripheral region and the inner region of the defect region.
 この場合、領域設定部13は、外周領域と内部領域とを設定すればよく、近傍領域を設定する必要はない。そして、分類指標算出部14は、外周領域の色相の代表値と、内部領域の色相の代表値とを算出し、それらの差分の絶対値を分類用特徴量とする。欠陥分類部15は、外周領域と内部領域との色差が大きい場合、具体的には上記分類用特徴量が所定の閾値以上である場合に、当該欠陥を膜内異物と判定する。 In this case, the area setting unit 13 may set the outer peripheral area and the inner area, and does not need to set the neighboring area. Then, the classification index calculation unit 14 calculates the representative value of the hue in the outer peripheral area and the representative value of the hue in the inner area, and uses the absolute value of the difference as a classification feature amount. The defect classification unit 15 determines the defect as an in-film foreign matter when the color difference between the outer peripheral area and the inner area is large, specifically, when the classification feature amount is equal to or greater than a predetermined threshold.
 また、上述の欠陥分類装置1は、欠陥の検出および分類の両方を行うが、欠陥の検出と分類とを異なる装置で行うようにしてもよい。つまり、欠陥分類装置1は、アライメント部11および欠陥抽出部12を備えていなくともよい。この場合、欠陥の検出を行う欠陥検出装置から、欠陥の検出結果を受信して、この検出結果を用いて欠陥の分類を行う。また、欠陥の検出方法は、検査画像における欠陥領域を特定できるものであればよく、上記の例に限られない。 The defect classification apparatus 1 described above performs both defect detection and classification, but the defect detection and classification may be performed by different apparatuses. That is, the defect classification apparatus 1 does not have to include the alignment unit 11 and the defect extraction unit 12. In this case, a defect detection result is received from a defect detection device that detects a defect, and the defect is classified using the detection result. The defect detection method is not limited to the above example as long as it can identify the defect region in the inspection image.
 さらに、上述の欠陥分類装置1は、欠陥領域を内部領域と外周領域に分割しているが、欠陥抽出の閾値を変更することにより、内部領域のみを欠陥領域として抽出してもよい。この場合、欠陥領域の周囲の非欠陥領域において、外周領域および近傍領域を設定すればよい。例えば、欠陥領域までの距離がD以下の画素を近傍領域とし、この近傍領域において輝度値に基づく判別分析を行って外周領域を設定してもよい。 Furthermore, although the defect classification apparatus 1 described above divides the defect area into an inner area and an outer area, only the inner area may be extracted as a defect area by changing the defect extraction threshold. In this case, an outer peripheral region and a neighboring region may be set in a non-defect region around the defect region. For example, a pixel whose distance to the defect area is equal to or less than D may be set as the vicinity area, and the peripheral area may be set by performing discriminant analysis based on the luminance value in the vicinity area.
 なお、検査対象物は、膜内異物および膜上異物が生じ得るもの、すなわち表面に薄膜が形成されたものであればよく、特に限定されない。例えば、ディスプレイパネルの表示部、半導体ウェハー、または薄膜太陽電池基板であってもよい。 The inspection object is not particularly limited as long as it can cause in-film foreign matter and foreign matter on the film, that is, a thin film formed on the surface. For example, the display part of a display panel, a semiconductor wafer, or a thin film solar cell substrate may be used.
 〔まとめ〕
 本発明の一態様に係る欠陥分析装置(1)は、表面に薄膜が形成された検査対象物を撮影した検査画像において検出された欠陥領域の欠陥を分類する欠陥分類装置であって、上記欠陥領域の一部であり、該欠陥領域の外周に沿った環状の領域である外周領域に含まれる画素の色と、上記欠陥領域外の領域であり、上記外周領域に隣接する非欠陥領域(近傍領域)の画素の色との差異の大きさを示す特徴量を算出する特徴量算出手段(分類指標算出部14)と、上記特徴量算出手段が算出した上記特徴量に基づいて、上記欠陥領域の欠陥を、上記薄膜に対して上記検査対象物の内部側に異物が存在する膜内異物欠陥に分類するか、または上記薄膜に対して上記検査対象物の外部側に異物が存在する膜上異物欠陥に分類する欠陥分類手段(欠陥分類部15)とを備えていることを特徴としている。
[Summary]
A defect analysis apparatus (1) according to an aspect of the present invention is a defect classification apparatus that classifies defects in a defect area detected in an inspection image obtained by photographing an inspection object having a thin film formed on a surface thereof. A color of a pixel included in the outer peripheral region which is a part of the region and is an annular region along the outer periphery of the defect region, and a non-defect region (neighboring adjacent to the outer peripheral region) A feature amount calculation unit (classification index calculation unit 14) that calculates a feature amount indicating the magnitude of the difference between the pixel color of the region and the defect region based on the feature amount calculated by the feature amount calculation unit. Are classified as in-film foreign matter defects in which foreign matter exists on the inner side of the inspection object with respect to the thin film, or on the film in which foreign matter exists on the outer side of the inspection object with respect to the thin film. Defect classification means for classifying foreign object defects (defects It is characterized in that it comprises a section 15) and.
 また、本発明の一態様に係る欠陥分析方法は、表面に薄膜が形成された検査対象物を撮影した検査画像において検出された欠陥領域の欠陥を分類する欠陥分類装置による欠陥分析方法であって、上記欠陥領域の一部であり、該欠陥領域の外周に沿った環状の領域である外周領域に含まれる画素の色と、上記欠陥領域外の領域であり、上記外周領域に隣接する非欠陥領域の画素の色との差異の大きさを示す特徴量を算出する特徴量算出ステップと、上記特徴量算出ステップで算出した上記特徴量に基づいて、上記欠陥領域の欠陥を、上記薄膜に対して上記検査対象物の内部側に異物が存在する膜内異物欠陥に分類するか、または上記薄膜に対して上記検査対象物の外部側に異物が存在する膜上異物欠陥に分類する欠陥分類ステップとを含むことを特徴としている。 A defect analysis method according to an aspect of the present invention is a defect analysis method by a defect classification device that classifies defects in a defect area detected in an inspection image obtained by imaging an inspection object having a thin film formed on a surface thereof. A color of a pixel included in the outer peripheral region which is a part of the defective region and is an annular region along the outer periphery of the defective region, and a non-defect adjacent to the outer peripheral region, which is a region outside the defective region A feature amount calculating step for calculating a feature amount indicating the magnitude of the difference between the colors of the pixels in the region, and a defect in the defective region on the thin film based on the feature amount calculated in the feature amount calculating step. A defect classification step for classifying the defect into an in-film foreign substance defect in which a foreign substance exists on the inner side of the inspection object, or to classify a foreign substance defect on the film in which a foreign substance exists on the outer side of the inspection object with respect to the thin film Including this It is characterized in.
 上記の構成によれば、欠陥領域の外周沿いの環状の領域である外周領域に含まれる画素の色と、外周領域に隣接する非欠陥領域の画素の色との差異を示す特徴量を算出する。そして、算出した特徴量に基づいて、欠陥領域の欠陥を膜内異物欠陥または膜上異物欠陥に分類する。 According to the above configuration, the feature amount indicating the difference between the color of the pixel included in the outer peripheral region that is an annular region along the outer periphery of the defective region and the color of the pixel in the non-defective region adjacent to the outer peripheral region is calculated. . Then, based on the calculated feature amount, the defect in the defect region is classified as an in-film foreign matter defect or an on-film foreign matter defect.
 図2に基づいて説明したように、膜内異物欠陥の場合には、外周領域と、外周領域に隣接する非欠陥領域(近傍領域)の色に差が生じるため、上記の特徴量を用いることによって、膜内異物欠陥と膜上異物欠陥とを識別し、精度よく分類することができる。 As described with reference to FIG. 2, in the case of an in-film foreign matter defect, a difference occurs in the color between the outer peripheral region and the non-defect region (neighboring region) adjacent to the outer peripheral region. Therefore, the in-film foreign matter defect and the on-film foreign matter defect can be identified and classified with high accuracy.
 また、本発明の一態様に係る欠陥分析装置では、上記欠陥領域に含まれる各画素の輝度値に基づいて上記外周領域を設定する領域設定手段(領域設定部13)を備えていることが好ましい。 The defect analysis apparatus according to an aspect of the present invention preferably includes a region setting unit (region setting unit 13) that sets the outer peripheral region based on a luminance value of each pixel included in the defective region. .
 図2に基づいて説明したように、膜内異物欠陥の場合には、欠陥領域の外周領域と内部領域とで輝度差が生じるため、上記の構成によれば、非欠陥領域(近傍領域)と色の差異を比較する対象とすべき外周領域を適切に設定することができる。 As described with reference to FIG. 2, in the case of an in-film foreign matter defect, a luminance difference is generated between the outer peripheral region and the inner region of the defective region. Therefore, according to the above configuration, a non-defective region (neighboring region) It is possible to appropriately set the outer peripheral region to be compared with the color difference.
 また、本発明の一態様に係る欠陥分析装置では、上記特徴量算出手段は、上記外周領域に含まれる画素の色相の代表値と、上記非欠陥領域に含まれる画素の色相の代表値との差分に、上記外周領域に含まれる画素の彩度の代表値を乗じた値を上記特徴量として算出することが好ましい。 In the defect analysis apparatus according to an aspect of the present invention, the feature amount calculation unit includes a representative value of a hue of a pixel included in the outer peripheral area and a representative value of a hue of a pixel included in the non-defective area. A value obtained by multiplying the difference by the representative value of the saturation of the pixels included in the outer peripheral region is preferably calculated as the feature amount.
 上記の構成によれば、色相の代表値の差分に彩度の代表値を乗じた値を特徴量として算出する。色相の代表値の差分は、色の差異を数値で示すものであるから、これを含む特徴量は、外周領域と非欠陥領域との色の差異の大きさを反映したものとなる。なお、代表値とは、当該領域を代表する値であり、当該領域がどのような色相あるいは彩度であるかを示す値である。具体例を挙げれば、当該領域に含まれる各画素の色相(または彩度)の算術平均値や、中央値等を代表値とすることができる。 According to the above configuration, a value obtained by multiplying the difference between the representative values of the hue by the representative value of the saturation is calculated as the feature amount. Since the difference between the representative values of the hues indicates the color difference as a numerical value, the feature amount including the difference reflects the magnitude of the color difference between the outer peripheral area and the non-defective area. The representative value is a value representative of the area, and is a value indicating what hue or saturation the area has. As a specific example, an arithmetic average value, a median value, or the like of the hue (or saturation) of each pixel included in the region can be used as a representative value.
 また、上述のように、外周領域の彩度が低いほど、膜内異物ではない欠陥を膜内異物欠陥と判定する確率が高くなることが分かっている。このため、外周領域の彩度を色相の代表値の差分に乗じた値を特徴量とすることにより、実際には膜内異物欠陥ではない欠陥を膜内異物欠陥と誤判定する確率を低減することができる。 Further, as described above, it is known that the lower the saturation of the outer peripheral region, the higher the probability that a defect that is not an in-film foreign matter is determined as an in-film foreign matter defect. Therefore, by using the value obtained by multiplying the saturation of the outer peripheral region by the difference between the representative values of the hue as the feature amount, the probability of erroneously determining a defect that is not actually an in-film foreign matter defect as an in-film foreign matter defect is reduced. be able to.
 また、本発明の一態様に係る欠陥分析装置は、上記外周領域の環の幅を算出する領域幅算出手段(分類指標算出部14)を備え、上記欠陥分類手段は、上記特徴量算出手段が算出した上記特徴量が色に基づく欠陥分類用の予め定められた閾値以上であり、かつ上記領域幅算出手段が算出した幅が、領域幅に基づく欠陥分類用の予め定められた閾値以上である場合に、上記欠陥領域の欠陥を膜内異物欠陥に分類することが好ましい。 The defect analysis apparatus according to an aspect of the present invention includes a region width calculation unit (classification index calculation unit 14) that calculates a ring width of the outer peripheral region, and the defect classification unit includes the feature amount calculation unit. The calculated feature amount is not less than a predetermined threshold value for defect classification based on color, and the width calculated by the area width calculating means is not less than a predetermined threshold value for defect classification based on the area width. In this case, it is preferable to classify the defect in the defect region as an in-film foreign matter defect.
 上記の構成によれば、特徴量算出手段が算出した特徴量が閾値以上であり、かつ外周領域の環の幅が閾値以上である場合に、その欠陥領域の欠陥を膜内異物欠陥に分類する。 According to the above configuration, when the feature amount calculated by the feature amount calculation unit is equal to or greater than the threshold value and the ring width of the outer peripheral region is equal to or greater than the threshold value, the defect in the defect region is classified as an in-film foreign matter defect. .
 これにより、膜内異物欠陥とは考えられない程度に外周領域の幅が小さい場合に、これを膜内異物欠陥と誤判定することを防ぐことが可能になる。 This makes it possible to prevent erroneous determination of this as an in-film foreign matter defect when the width of the outer peripheral region is so small that it cannot be considered as an in-film foreign matter defect.
 また、本発明の一態様に係る欠陥分析装置は、上記外周領域に含まれる画素の輝度値の代表値と、上記欠陥領域内の上記外周領域以外の領域である内部領域に含まれる画素の輝度値の代表値との差分を算出する第1差分算出手段(分類指標算出部14)を備え、上記欠陥分類手段は、上記特徴量算出手段が算出した上記特徴量が色に基づく欠陥分類用の予め定められた閾値以上であり、かつ上記第1差分算出手段が算出した輝度値の差分が、上記外周領域と内部領域との輝度差に基づく欠陥分類用の予め定められた閾値以上である場合に、上記欠陥領域の欠陥を膜内異物欠陥に分類することが好ましい。 The defect analysis apparatus according to one embodiment of the present invention includes a representative value of luminance values of pixels included in the outer peripheral region and luminance values of pixels included in an inner region that is an area other than the outer peripheral region in the defect region. First difference calculation means (classification index calculation unit 14) for calculating a difference from a representative value of the value, wherein the defect classification means is used for defect classification based on a color based on the feature quantity calculated by the feature quantity calculation means. When the difference between the luminance values calculated by the first difference calculating means is equal to or greater than a predetermined threshold for defect classification based on the luminance difference between the outer peripheral area and the inner area. In addition, it is preferable to classify the defect in the defect region into an in-film foreign matter defect.
 上記の構成によれば、特徴量算出手段が算出した特徴量が閾値以上であり、かつ外周領域に含まれる画素の輝度値の代表値と、内部領域に含まれる画素の輝度値の代表値との差分が閾値以上である場合に、その欠陥領域の欠陥を膜内異物欠陥に分類する。 According to the above configuration, the feature amount calculated by the feature amount calculation unit is equal to or greater than the threshold value, and the representative value of the luminance value of the pixel included in the outer peripheral region and the representative value of the luminance value of the pixel included in the inner region are Is equal to or greater than the threshold value, the defect in the defect region is classified as an in-film foreign matter defect.
 これにより、内部領域と外周領域の輝度値の差が小さく、膜内異物欠陥に起因する外周領域が形成されているとは言えないような場合に、これを膜内異物欠陥と誤判定することを防ぐことが可能になる。 As a result, when the difference between the luminance values of the inner region and the outer peripheral region is small and it cannot be said that the outer peripheral region due to the in-film foreign matter defect is formed, this is erroneously determined as the in-film foreign matter defect. It becomes possible to prevent.
 また、本発明の一態様に係る欠陥分析装置は、上記外周領域に含まれる画素の輝度値の代表値と、上記非欠陥領域に含まれる画素の輝度値の代表値との差分を算出する第2差分算出手段(分類指標算出部14)を備え、上記欠陥分類手段は、上記特徴量算出手段が算出した上記特徴量が色に基づく欠陥分類用の予め定められた閾値以上であり、かつ上記第2差分算出手段が算出した輝度値の差分が、上記外周領域と非欠陥領域との輝度差に基づく欠陥分類用の予め定められた閾値未満である場合に、上記欠陥領域の欠陥を膜内異物欠陥に分類することが好ましい。 The defect analysis apparatus according to one aspect of the present invention calculates a difference between a representative value of luminance values of pixels included in the outer peripheral area and a representative value of luminance values of pixels included in the non-defective area. 2 difference calculation means (classification index calculation unit 14), wherein the defect classification means has the feature quantity calculated by the feature quantity calculation means equal to or greater than a predetermined threshold for defect classification based on color, and If the difference between the brightness values calculated by the second difference calculation means is less than a predetermined threshold for defect classification based on the brightness difference between the outer peripheral area and the non-defect area, the defect in the defect area is detected in the film. It is preferable to classify as foreign matter defects.
 上記の構成によれば、特徴量算出手段が算出した特徴量が閾値以上であり、かつ外周領域に含まれる画素の輝度値の代表値と、非欠陥領域に含まれる画素の輝度値の代表値との差分が閾値未満である場合に、その欠陥領域の欠陥を膜内異物欠陥に分類する。 According to the above configuration, the feature value calculated by the feature value calculation unit is equal to or greater than the threshold value, and the representative value of the luminance value of the pixel included in the outer peripheral area and the representative value of the luminance value of the pixel included in the non-defective area Is less than the threshold value, the defect in the defect region is classified as an in-film foreign matter defect.
 これにより、外周領域と非欠陥領域との輝度差が大きく、膜内異物欠陥に起因する外周領域が形成されているとは言えないような場合に、これを膜内異物欠陥と誤判定することを防ぐことが可能になる。 As a result, when the luminance difference between the outer peripheral region and the non-defect region is large and it cannot be said that the outer peripheral region due to the in-film foreign matter defect is formed, this is erroneously determined as the in-film foreign matter defect. It becomes possible to prevent.
 また、本発明の他の態様に係る欠陥分析装置は、表面に薄膜が形成された検査対象物を撮影した検査画像において検出された欠陥領域の欠陥を分類する欠陥分類装置であって、上記欠陥領域の一部であり、該欠陥領域の外周に沿った環状の領域である外周領域に含まれる画素の色と、上記欠陥領域内の上記外周領域以外の領域である内部領域の画素の色との差異を示す特徴量を算出する特徴量算出手段と、上記特徴量算出手段が算出した上記特徴量に基づいて、上記欠陥領域の欠陥を、上記薄膜に対して上記検査対象物の内部側に異物が存在する膜内異物欠陥に分類するか、または上記薄膜に対して上記検査対象物の外部側に異物が存在する膜上異物欠陥に分類する欠陥分類手段とを備えていることを特徴としている。 A defect analysis apparatus according to another aspect of the present invention is a defect classification apparatus that classifies defects in a defect area detected in an inspection image obtained by photographing an inspection object having a thin film formed on a surface thereof. A color of a pixel included in the outer peripheral region which is a part of the region and is an annular region along the outer periphery of the defect region, and a color of a pixel in the inner region which is a region other than the outer peripheral region in the defect region Based on the feature quantity calculated by the feature quantity calculation means and the feature quantity calculation means for calculating the feature quantity indicating the difference between the defects, the defect in the defect region is located on the inner side of the inspection object with respect to the thin film. A defect classification means for classifying the defect into an in-film foreign matter defect in which foreign matter exists, or to classify the thin film as a foreign matter defect on the film in which foreign matter exists on the outside of the inspection object with respect to the thin film Yes.
 そして、本発明の他の態様に係る欠陥分析方法は、表面に薄膜が形成された検査対象物を撮影した検査画像において検出された欠陥領域の欠陥を分類する欠陥分類装置による欠陥分析方法であって、上記欠陥領域の一部であり、該欠陥領域の外周に沿った環状の領域である外周領域に含まれる画素の色と、上記欠陥領域内の上記外周領域以外の領域である内部領域の画素の色との差異を示す特徴量を算出する特徴量算出ステップと、上記特徴量算出ステップで算出した上記特徴量に基づいて、上記欠陥領域の欠陥を、上記薄膜に対して上記検査対象物の内部側に異物が存在する膜内異物欠陥に分類するか、または上記薄膜に対して上記検査対象物の外部側に異物が存在する膜上異物欠陥に分類する欠陥分類ステップとを含むことを特徴としている。 A defect analysis method according to another aspect of the present invention is a defect analysis method by a defect classification device that classifies defects in a defect area detected in an inspection image obtained by photographing an inspection object having a thin film formed on a surface. A color of a pixel included in the outer peripheral region which is a part of the defective region and is an annular region along the outer periphery of the defective region, and an inner region which is a region other than the outer peripheral region in the defective region. A feature amount calculating step for calculating a feature amount indicating a difference from the color of the pixel, and a defect in the defect region on the thin film based on the feature amount calculated in the feature amount calculating step. A defect classification step of classifying the defect as an in-film foreign matter defect in which foreign matter is present on the inside of the film or as a foreign matter defect on the film in which foreign matter is present on the outer side of the inspection object with respect to the thin film. As a feature There.
 上記の構成によれば、欠陥領域の外周沿いの環状の領域である外周領域に含まれる画素の色と、欠陥領域内の上記外周領域以外の領域、つまり外周領域に囲まれる内部領域の画素の色との差異を示す特徴量を算出する。そして、算出した特徴量に基づいて、欠陥領域の欠陥を膜内異物欠陥または膜上異物欠陥に分類する。 According to the above configuration, the color of the pixel included in the outer peripheral region that is an annular region along the outer periphery of the defect region, and the region other than the outer peripheral region in the defect region, that is, the pixels in the inner region surrounded by the outer peripheral region. A feature amount indicating a difference from the color is calculated. Then, based on the calculated feature amount, the defect in the defect region is classified as an in-film foreign matter defect or an on-film foreign matter defect.
 図2に基づいて説明したように、膜内異物欠陥の場合には、欠陥領域の外周領域と内部領域とで色の差異が生じるため、上記の特徴量を用いることによって、膜内異物欠陥と膜上異物欠陥とを識別し、精度よく分類することができる。 As described with reference to FIG. 2, in the case of an in-film foreign matter defect, a color difference occurs between the outer peripheral region and the inner region of the defect region. It is possible to identify foreign matter defects on the film and classify them with high accuracy.
 なお、上記欠陥分類装置は、コンピュータによって実現してもよく、この場合には、コンピュータを上記欠陥分類装置の各手段として動作させることにより、上記欠陥分類装置をコンピュータにて実現させる制御プログラム、及びそれを記録したコンピュータ読み取り可能な記録媒体も本発明の範疇に入る。 The defect classification apparatus may be realized by a computer. In this case, a control program for realizing the defect classification apparatus by a computer by operating the computer as each unit of the defect classification apparatus, and A computer-readable recording medium on which it is recorded also falls within the scope of the present invention.
 本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope shown in the claims, and embodiments obtained by appropriately combining technical means disclosed in different embodiments. Is also included in the technical scope of the present invention.
 〔ソフトウェアによる実現例〕
 最後に、欠陥分類装置1の各ブロック、特に制御部10は、集積回路(ICチップ)上に形成された論理回路によってハードウェア的に実現してもよいし、CPU(Central Processing Unit)を用いてソフトウェア的に実現してもよい。
[Example of software implementation]
Finally, each block of the defect classification apparatus 1, particularly the control unit 10, may be realized by hardware by a logic circuit formed on an integrated circuit (IC chip), or a CPU (Central Processing Unit) is used. It may be realized by software.
 後者の場合、欠陥分類装置1は、各機能を実現するプログラムの命令を実行するCPU、上記プログラムを格納したROM(Read Only Memory)、上記プログラムを展開するRAM(Random Access Memory)、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備えている。そして、本発明の目的は、上述した機能を実現するソフトウェアである欠陥分類装置1の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、欠陥分類装置1に供給し、そのコンピュータ(またはCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによっても、達成可能である。 In the latter case, the defect classification apparatus 1 includes a CPU that executes instructions of a program that realizes each function, a ROM (Read Memory) that stores the program, a RAM (Random Access Memory) that expands the program, the program, A storage device (recording medium) such as a memory for storing various data is provided. An object of the present invention is a recording medium on which a program code (execution format program, intermediate code program, source program) of a control program of the defect classification apparatus 1 which is software for realizing the functions described above is recorded so as to be readable by a computer. This can also be achieved by supplying the defect classification apparatus 1 and reading and executing the program code recorded on the recording medium by the computer (or CPU or MPU).
 上記記録媒体としては、一時的でない有形の媒体(non-transitory tangible medium)、例えば、磁気テープやカセットテープ等のテープ類、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやCD-ROM/MO/MD/DVD/CD-R等の光ディスクを含むディスク類、ICカード(メモリカードを含む)/光カード等のカード類、マスクROM/EPROM/EEPROM(登録商標)/フラッシュROM等の半導体メモリ類、あるいはPLD(Programmable logic device)やFPGA(Field Programmable Gate Array)等の論理回路類などを用いることができる。 Examples of the recording medium include non-transitory tangible media, such as magnetic tapes and cassette tapes, magnetic disks such as floppy (registered trademark) disks / hard disks, and CD-ROM / MO. Discs including optical disks such as / MD / DVD / CD-R, cards such as IC cards (including memory cards) / optical cards, and semiconductor memories such as mask ROM / EPROM / EEPROM (registered trademark) / flash ROM Alternatively, logic circuits such as PLD (Programmable logic device) and FPGA (Field Programmable Gate array) can be used.
 また、欠陥分類装置1を通信ネットワークと接続可能に構成し、上記プログラムコードを通信ネットワークを介して供給してもよい。この通信ネットワークは、プログラムコードを伝送可能であればよく、特に限定されない。例えば、インターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(Virtual Private Network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、この通信ネットワークを構成する伝送媒体も、プログラムコードを伝送可能な媒体であればよく、特定の構成または種類のものに限定されない。例えば、IEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL(Asymmetric Digital Subscriber Line)回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、IEEE802.11無線、HDR(High Data Rate)、NFC(Near Field Communication)、DLNA(Digital Living Network Alliance)、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。 Further, the defect classification apparatus 1 may be configured to be connectable to a communication network, and the program code may be supplied via the communication network. The communication network is not particularly limited as long as it can transmit the program code. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network (Virtual Private Network), telephone line network, mobile communication network, satellite communication network, etc. can be used. The transmission medium constituting the communication network may be any medium that can transmit the program code, and is not limited to a specific configuration or type. For example, even in the case of wired lines such as IEEE1394, USB, power line carrier, cable TV line, telephone line, ADSL (Asymmetric Digital Subscriber Line) line, infrared rays such as IrDA and remote control, Bluetooth (registered trademark), IEEE 802.11 wireless, HDR ( It can also be used by wireless such as High Data Rate, NFC (Near Field Communication), DLNA (Digital Living Network Alliance), mobile phone network, satellite line, terrestrial digital network. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.
 本発明は、工業製品の欠陥検査に利用することができる。 The present invention can be used for defect inspection of industrial products.
 1 欠陥分類装置
13 領域設定部(領域設定手段)
14 分類指標算出部(特徴量算出手段、領域幅算出手段、第1差分算出手段、第2差分算出手段)
15 欠陥分類部(欠陥分類手段)
DESCRIPTION OF SYMBOLS 1 Defect classification apparatus 13 Area | region setting part (area | region setting means)
14 Classification index calculation unit (feature amount calculation means, region width calculation means, first difference calculation means, second difference calculation means)
15 Defect classification part (defect classification means)

Claims (11)

  1.  表面に薄膜が形成された検査対象物を撮影した検査画像において検出された欠陥領域の欠陥を分類する欠陥分類装置であって、
     上記欠陥領域の一部であり、該欠陥領域の外周に沿った環状の領域である外周領域に含まれる画素の色と、上記欠陥領域外の領域であり、上記外周領域に隣接する非欠陥領域の画素の色との差異の大きさを示す特徴量を算出する特徴量算出手段と、
     上記特徴量算出手段が算出した上記特徴量に基づいて、上記欠陥領域の欠陥を、上記薄膜に対して上記検査対象物の内部側に異物が存在する膜内異物欠陥に分類するか、または上記薄膜に対して上記検査対象物の外部側に異物が存在する膜上異物欠陥に分類する欠陥分類手段とを備えていることを特徴とする欠陥分類装置。
    A defect classification device for classifying defects in a defect area detected in an inspection image obtained by photographing an inspection object having a thin film formed on a surface,
    A non-defective region that is a part of the defective region and is a color of a pixel included in the outer peripheral region that is an annular region along the outer periphery of the defective region, and a region outside the defective region and adjacent to the outer peripheral region Feature amount calculating means for calculating a feature amount indicating the magnitude of the difference from the color of the pixel;
    Based on the feature amount calculated by the feature amount calculation means, classify the defect in the defect area into an in-film foreign matter defect in which foreign matter exists on the inner side of the inspection object with respect to the thin film, or A defect classification apparatus comprising: a defect classification unit that classifies a thin film as a foreign matter defect on a film in which foreign matter is present on the outside of the inspection object.
  2.  上記欠陥領域に含まれる各画素の輝度値に基づいて上記外周領域を設定する領域設定手段を備えていることを特徴とする請求項1に記載の欠陥分類装置。 The defect classification apparatus according to claim 1, further comprising region setting means for setting the outer peripheral region based on a luminance value of each pixel included in the defect region.
  3.  上記特徴量算出手段は、上記外周領域に含まれる画素の色相の代表値と、上記非欠陥領域に含まれる画素の色相の代表値との差分に、上記外周領域に含まれる画素の彩度の代表値を乗じた値を上記特徴量として算出することを特徴とする請求項1または2に記載の欠陥分類装置。 The feature amount calculating means calculates a saturation of a pixel included in the outer peripheral area by a difference between a representative value of the hue of the pixel included in the outer peripheral area and a representative value of the hue of the pixel included in the non-defective area. The defect classification apparatus according to claim 1, wherein a value obtained by multiplying a representative value is calculated as the feature amount.
  4.  上記外周領域の環の幅を算出する領域幅算出手段を備え、
     上記欠陥分類手段は、上記特徴量算出手段が算出した上記特徴量が色に基づく欠陥分類用の予め定められた閾値以上であり、かつ上記領域幅算出手段が算出した幅が、領域幅に基づく欠陥分類用の予め定められた閾値以上である場合に、上記欠陥領域の欠陥を膜内異物欠陥に分類することを特徴とする請求項1から3の何れか1項に記載の欠陥分類装置。
    An area width calculating means for calculating the width of the ring of the outer peripheral area;
    The defect classification means has the feature quantity calculated by the feature quantity calculation means equal to or larger than a predetermined threshold for defect classification based on color, and the width calculated by the area width calculation means is based on the area width. The defect classification apparatus according to any one of claims 1 to 3, wherein a defect in the defect region is classified as an in-film foreign matter defect when the threshold value is equal to or greater than a predetermined threshold for defect classification.
  5.  上記外周領域に含まれる画素の輝度値の代表値と、上記欠陥領域内の上記外周領域以外の領域である内部領域に含まれる画素の輝度値の代表値との差分を算出する第1差分算出手段を備え、
     上記欠陥分類手段は、上記特徴量算出手段が算出した上記特徴量が色に基づく欠陥分類用の予め定められた閾値以上であり、かつ上記第1差分算出手段が算出した輝度値の差分が、上記外周領域と内部領域との輝度差に基づく欠陥分類用の予め定められた閾値以上である場合に、上記欠陥領域の欠陥を膜内異物欠陥に分類することを特徴とする請求項1から4の何れか1項に記載の欠陥分類装置。
    First difference calculation for calculating a difference between a representative value of luminance values of pixels included in the outer peripheral area and a representative value of luminance values of pixels included in an internal area other than the outer peripheral area in the defect area With means,
    The defect classification means has a feature value calculated by the feature quantity calculation means that is equal to or greater than a predetermined threshold for defect classification based on color, and a difference between luminance values calculated by the first difference calculation means is 5. The defect in the defect region is classified as an in-film foreign matter defect when the defect is equal to or greater than a predetermined threshold for defect classification based on a luminance difference between the outer peripheral region and the inner region. The defect classification device according to any one of the above.
  6.  上記外周領域に含まれる画素の輝度値の代表値と、上記非欠陥領域に含まれる画素の輝度値の代表値との差分を算出する第2差分算出手段を備え、
     上記欠陥分類手段は、上記特徴量算出手段が算出した上記特徴量が色に基づく欠陥分類用の予め定められた閾値以上であり、かつ上記第2差分算出手段が算出した輝度値の差分が、上記外周領域と非欠陥領域との輝度差に基づく欠陥分類用の予め定められた閾値未満である場合に、上記欠陥領域の欠陥を膜内異物欠陥に分類することを特徴とする請求項1から5の何れか1項に記載の欠陥分類装置。
    A second difference calculating means for calculating a difference between a representative value of luminance values of pixels included in the outer peripheral area and a representative value of luminance values of pixels included in the non-defective area;
    The defect classification means has a feature value calculated by the feature quantity calculation means that is equal to or greater than a predetermined threshold for defect classification based on color, and a difference in luminance value calculated by the second difference calculation means is: 2. The defect in the defect area is classified as an in-film foreign matter defect when the defect area is less than a predetermined threshold for defect classification based on a luminance difference between the outer peripheral area and the non-defect area. The defect classification apparatus according to any one of 5.
  7.  表面に薄膜が形成された検査対象物を撮影した検査画像において検出された欠陥領域の欠陥を分類する欠陥分類装置であって、
     上記欠陥領域の一部であり、該欠陥領域の外周に沿った環状の領域である外周領域に含まれる画素の色と、上記欠陥領域内の上記外周領域以外の領域である内部領域の画素の色との差異を示す特徴量を算出する特徴量算出手段と、
     上記特徴量算出手段が算出した上記特徴量に基づいて、上記欠陥領域の欠陥を、上記薄膜に対して上記検査対象物の内部側に異物が存在する膜内異物欠陥に分類するか、または上記薄膜に対して上記検査対象物の外部側に異物が存在する膜上異物欠陥に分類する欠陥分類手段とを備えていることを特徴とする欠陥分類装置。
    A defect classification device for classifying defects in a defect area detected in an inspection image obtained by photographing an inspection object having a thin film formed on a surface,
    The color of the pixels included in the outer peripheral region that is a part of the defective region and is an annular region along the outer periphery of the defective region, and the pixels in the inner region that is the region other than the outer peripheral region in the defective region A feature amount calculating means for calculating a feature amount indicating a difference from the color;
    Based on the feature amount calculated by the feature amount calculation means, classify the defect in the defect area into an in-film foreign matter defect in which foreign matter exists on the inner side of the inspection object with respect to the thin film, or A defect classification apparatus comprising: a defect classification unit that classifies a thin film as a foreign matter defect on a film in which foreign matter is present on the outside of the inspection object.
  8.  表面に薄膜が形成された検査対象物を撮影した検査画像において検出された欠陥領域の欠陥を分類する欠陥分類装置による欠陥分析方法であって、
     上記欠陥領域の一部であり、該欠陥領域の外周に沿った環状の領域である外周領域に含まれる画素の色と、上記欠陥領域外の領域であり、上記外周領域に隣接する非欠陥領域の画素の色との差異の大きさを示す特徴量を算出する特徴量算出ステップと、
     上記特徴量算出ステップで算出した上記特徴量に基づいて、上記欠陥領域の欠陥を、上記薄膜に対して上記検査対象物の内部側に異物が存在する膜内異物欠陥に分類するか、または上記薄膜に対して上記検査対象物の外部側に異物が存在する膜上異物欠陥に分類する欠陥分類ステップとを含むことを特徴とする欠陥分類方法。
    A defect analysis method by a defect classification device for classifying defects in a defect area detected in an inspection image obtained by photographing an inspection object having a thin film formed on a surface,
    A non-defective region that is a part of the defective region and is a color of a pixel included in the outer peripheral region that is an annular region along the outer periphery of the defective region, and a region outside the defective region and adjacent to the outer peripheral region A feature amount calculating step for calculating a feature amount indicating the magnitude of the difference from the color of the pixel;
    Based on the feature amount calculated in the feature amount calculation step, the defect in the defect region is classified as an in-film foreign matter defect in which foreign matter exists on the inner side of the inspection object with respect to the thin film, or And a defect classification step of classifying the thin film into a foreign matter defect on the film in which foreign matter exists on the outside of the inspection object.
  9.  表面に薄膜が形成された検査対象物を撮影した検査画像において検出された欠陥領域の欠陥を分類する欠陥分類装置による欠陥分析方法であって、
     上記欠陥領域の一部であり、該欠陥領域の外周に沿った環状の領域である外周領域に含まれる画素の色と、上記欠陥領域内の上記外周領域以外の領域である内部領域の画素の色との差異を示す特徴量を算出する特徴量算出ステップと、
     上記特徴量算出ステップで算出した上記特徴量に基づいて、上記欠陥領域の欠陥を、上記薄膜に対して上記検査対象物の内部側に異物が存在する膜内異物欠陥に分類するか、または上記薄膜に対して上記検査対象物の外部側に異物が存在する膜上異物欠陥に分類する欠陥分類ステップとを含むことを特徴とする欠陥分類方法。
    A defect analysis method by a defect classification device for classifying defects in a defect area detected in an inspection image obtained by photographing an inspection object having a thin film formed on a surface,
    The color of the pixels included in the outer peripheral region that is a part of the defective region and is an annular region along the outer periphery of the defective region, and the pixels in the inner region that is the region other than the outer peripheral region in the defective region A feature amount calculating step for calculating a feature amount indicating a difference from the color;
    Based on the feature amount calculated in the feature amount calculation step, the defect in the defect region is classified as an in-film foreign matter defect in which foreign matter exists on the inner side of the inspection object with respect to the thin film, or And a defect classification step of classifying the thin film into a foreign matter defect on the film in which foreign matter exists on the outside of the inspection object.
  10.  請求項1から7の何れか1項に記載の欠陥分類装置を動作させるための制御プログラムであって、コンピュータを上記各手段として機能させるための制御プログラム。 A control program for operating the defect classification apparatus according to any one of claims 1 to 7, wherein the control program causes a computer to function as each of the above means.
  11.  請求項10に記載の制御プログラムを記録したコンピュータ読み取り可能な記録媒体。 A computer-readable recording medium on which the control program according to claim 10 is recorded.
PCT/JP2013/070531 2012-08-31 2013-07-30 Defect classification device, defect classification method, control program, and recording medium WO2014034349A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201380039119.3A CN104508469A (en) 2012-08-31 2013-07-30 Defect classification device, defect classification method, control program, and recording medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012192491A JP2014048206A (en) 2012-08-31 2012-08-31 Defect classification device, defect classification method, control program and storage medium
JP2012-192491 2012-08-31

Publications (1)

Publication Number Publication Date
WO2014034349A1 true WO2014034349A1 (en) 2014-03-06

Family

ID=50183169

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/070531 WO2014034349A1 (en) 2012-08-31 2013-07-30 Defect classification device, defect classification method, control program, and recording medium

Country Status (3)

Country Link
JP (1) JP2014048206A (en)
CN (1) CN104508469A (en)
WO (1) WO2014034349A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019518963A (en) * 2016-06-27 2019-07-04 サン−ゴバン グラス フランス Method and apparatus for locating the source of defects affecting the stack of thin layers deposited on a substrate
CN110363756A (en) * 2019-07-18 2019-10-22 佛山市高明金石建材有限公司 A kind of wear detecting system and detection method for bistrique
CN112213314A (en) * 2019-07-12 2021-01-12 长鑫存储技术有限公司 Detection method and detection system for wafer side surface defects
CN113406112A (en) * 2021-04-26 2021-09-17 威盛电子股份有限公司 Flaw detection method and system for transparent substrate film

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6953712B2 (en) * 2016-12-26 2021-10-27 住友ゴム工業株式会社 Tire visual inspection device
KR102438892B1 (en) * 2017-03-03 2022-08-31 스미또모 가가꾸 가부시키가이샤 Defect inspection system, film manufacturing apparatus, film manufacturing method, printing apparatus and printing method
KR102475056B1 (en) * 2017-03-03 2022-12-06 스미또모 가가꾸 가부시키가이샤 Defect marking method and defect marking apparatus, web manufacturing method and the web, and sheet manufacturing method and the sheet
JP6934733B2 (en) * 2017-03-03 2021-09-15 住友化学株式会社 Marking equipment, defect inspection system and film manufacturing method
CN109387525A (en) * 2017-08-09 2019-02-26 苏州精濑光电有限公司 On a kind of film in film defect determination method
US11442024B2 (en) 2017-09-11 2022-09-13 Hitachi High-Technologies Corporation Defect classification device, inspection device, and inspection system
JP6936685B2 (en) * 2017-09-29 2021-09-22 清水建設株式会社 Crack detection device, crack detection method, and computer program
CN113049607B (en) * 2021-03-30 2024-04-26 上海华力微电子有限公司 Method for monitoring particle defects with special morphology

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004108902A (en) * 2002-09-18 2004-04-08 Hitachi Ltd Method and system for classifying defect of color display screen
JP2006080437A (en) * 2004-09-13 2006-03-23 Intel Corp Method and tool for mask blank inspection
WO2008108041A1 (en) * 2007-03-06 2008-09-12 Kabushiki Kaisha Topcon Surface inspecting method and device
JP2010258004A (en) * 2009-04-21 2010-11-11 Tokyo Electron Ltd Defect inspection method, defect inspecting apparatus, defect inspection program, recording medium storing the program recorded thereon
WO2011001687A1 (en) * 2009-07-01 2011-01-06 株式会社日立ハイテクノロジーズ Defect inspection method and apparatus therefor
WO2011062279A1 (en) * 2009-11-20 2011-05-26 独立行政法人産業技術総合研究所 Method of examining defects, wafer subjected to defect examination or semiconductor element manufactured using the wafer, quality control method for wafer or semiconductor element, and defect examining device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4882529B2 (en) * 2005-08-26 2012-02-22 セイコーエプソン株式会社 Defect detection method and defect detection apparatus
JP4399494B2 (en) * 2006-12-28 2010-01-13 シャープ株式会社 Defect detection apparatus, defect detection method, image sensor device, and image sensor module

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004108902A (en) * 2002-09-18 2004-04-08 Hitachi Ltd Method and system for classifying defect of color display screen
JP2006080437A (en) * 2004-09-13 2006-03-23 Intel Corp Method and tool for mask blank inspection
WO2008108041A1 (en) * 2007-03-06 2008-09-12 Kabushiki Kaisha Topcon Surface inspecting method and device
JP2010258004A (en) * 2009-04-21 2010-11-11 Tokyo Electron Ltd Defect inspection method, defect inspecting apparatus, defect inspection program, recording medium storing the program recorded thereon
WO2011001687A1 (en) * 2009-07-01 2011-01-06 株式会社日立ハイテクノロジーズ Defect inspection method and apparatus therefor
WO2011062279A1 (en) * 2009-11-20 2011-05-26 独立行政法人産業技術総合研究所 Method of examining defects, wafer subjected to defect examination or semiconductor element manufactured using the wafer, quality control method for wafer or semiconductor element, and defect examining device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019518963A (en) * 2016-06-27 2019-07-04 サン−ゴバン グラス フランス Method and apparatus for locating the source of defects affecting the stack of thin layers deposited on a substrate
JP7110121B2 (en) 2016-06-27 2022-08-01 サン-ゴバン グラス フランス Method and Apparatus for Locating Defect Sources Affecting a Stack of Thin Layers Deposited on a Substrate
CN112213314A (en) * 2019-07-12 2021-01-12 长鑫存储技术有限公司 Detection method and detection system for wafer side surface defects
CN112213314B (en) * 2019-07-12 2022-11-29 长鑫存储技术有限公司 Detection method and detection system for wafer side surface defects
CN110363756A (en) * 2019-07-18 2019-10-22 佛山市高明金石建材有限公司 A kind of wear detecting system and detection method for bistrique
CN113406112A (en) * 2021-04-26 2021-09-17 威盛电子股份有限公司 Flaw detection method and system for transparent substrate film
TWI802873B (en) * 2021-04-26 2023-05-21 威盛電子股份有限公司 Defect detection method and system for transparent substrate film

Also Published As

Publication number Publication date
JP2014048206A (en) 2014-03-17
CN104508469A (en) 2015-04-08

Similar Documents

Publication Publication Date Title
WO2014034349A1 (en) Defect classification device, defect classification method, control program, and recording medium
CN108460757B (en) Mobile phone TFT-LCD screen Mura defect online automatic detection method
JP3386818B2 (en) Uneven defect detection method and detection device
KR102204277B1 (en) Visual feedback for inspection algorithms and filters
US20080204756A1 (en) Edge normal process
JP2007108835A (en) Image processor
US20230011569A1 (en) Method and apparatus for detecting defect, device, and storage medium
CN116452827B (en) Method and system for detecting quality of ink printing surface based on computer vision
TW202242390A (en) Defect inspection device, defect inspection method, and manufacturing method
JP5088165B2 (en) Defect detection method and defect detection apparatus
US11321811B2 (en) Imaging apparatus and driving method of the same
WO2014103617A1 (en) Alignment device, defect inspection device, alignment method, and control program
CA2901779C (en) Enhanced analysis for image-based serpentine belt wear evaluation
JP2011008482A (en) Defect detection method, defect detection device and defect detection program
TW201939020A (en) Method and devices for performing an analytical measurement
JP2008014842A (en) Method and apparatus for detecting stain defects
JP6623545B2 (en) Inspection system, inspection method, program, and storage medium
JP5257063B2 (en) Defect detection method and defect detection apparatus
CN115713491A (en) Liquid crystal display panel defect detection method and device and electronic equipment
JP5239275B2 (en) Defect detection method and defect detection apparatus
WO2020077784A1 (en) Method and system for determining defect aggregation in image overlay
JP2008171142A (en) Spot defect detection method and device
WO2022190636A1 (en) Support device and method
TWI833326B (en) Defect inspection system and defect inspection method
JP2006242584A (en) Irregularity defect detecting method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13833005

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13833005

Country of ref document: EP

Kind code of ref document: A1