An Inexactly Supervised Methodology Based on Multiple Instance Learning, Convolutional Neural Networks, and Dissimilarities for Interpretable Defect Detection and Localization on Textured Surfaces
간접 관련 패션 · (24) 패션(코오롱FnC) (17) 스펀본드 부직포
기본 정보
- 저자
- DOI
- 10.1109/access.2023.3340047
- 저널
- IEEE Access
- 발행년도
- 2023
- 발행기관
- Institute of Electrical and Electronics Engineers
- 피인용수
- 1
- 라이선스
- cc-by-nc-nd
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- http://dx.doi.org/10.1109/access.2023.3340047
- 토픽
- Surface Roughness and Optical Measurements
- OpenAlex ID
- W4389332141
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 패션 · (24) 패션(코오롱FnC)
- 부 분야
- (17) 스펀본드 부직포
- R&D 측면
- 물성·성능 평가
- 확신도
- 0.80
- 근거 용어
- defect detection, localization, textured surfaces, fabric images, automated visual inspection
- 판단 근거
- 이 논문은 텍스처가 있는 표면(특히 직물/섬유)의 결함을 자동으로 탐지하고 위치를 찾아내는 딥러닝 방법론을 다룹니다. 이는 코오롱인더스트리의 섬유 및 부직포 제조 공정 중 품질 관리(QC) 시스템에 직접 적용 가능한 기술입니다.
- R&D 활용 포인트
- 섬유, 부직포, 인공피혁 등 코오롱의 주요 소재 생산 라인에서 AI 기반 자동 외관 검사 시스템을 구축하여 결함 검출 정확도를 높이고 공정 효율을 개선하는 데 활용할 수 있습니다.
- 평가 입력
- 본문 88,929자 중 30,032자 발췌
초록
본문 88,929자
본문 펼치기
섹션 본문 101문단 · 60,975자
(제목 없음)
1The detection, localization, and interpretation of defects in textured surfaces pose challenges for automatic visual inspection.Both fully-supervised and weakly-supervised approaches have been proposed, where fully-supervised methods yield good results but require complex region proposal processes and labeled datasets, whereas with weakly-supervised methods, inexact labels that are less informative than fully labeled data are available.This paper introduces an alternative inexactly supervised methodology that performs defect detection and localization, along with a novel graphical interpretation of detected defects in textured surface images using image-level labels, without relying on region proposal algorithms or explicit defect annotations.The methodology employs block decomposition and bags as a representation using multiple instance learning, where feature vectors are generated from a convolutional neural network with transfer learning.Dissimilarities between bags are computed and the class label assignment is performed using a variant of the k-nearest neighbor algorithm.A baseline methodology using multiple instance learning and low-level feature extraction is also considered as a reference for comparison.The contribution of this study consists in providing a simple but powerful methodology in a way that graphically interpretable detection and localization results are obtained, enhancing the understanding of the detection outcomes.The proposed methodology is extensively evaluated using three datasets, one real and two synthetic, reporting various performance metrics and examples of localization and interpretation results.Average accuracies of 0.9722± 0.0058 and 0.9817 ± 0.0099 on synthetic datasets and a series of visualizations of the defect detection and localization results demonstrate the competitiveness of the proposal.INDEX TERMS Automated visual inspection, bag of instances, block decomposition, dissimilarities, feature extraction, graphical interpretation, inexact supervision.
I. INTRODUCTION
2Machine learning techniques have been applied in various industrial applications, including defect detection and defect localization for quality control.Many industrial objects to be inspected are surfaces such as fabrics, steel sheets, glass
3The associate editor coordinating the review of this manuscript and approving it for publication was Mehrdad Saif .sheets, among others; their planar and textured nature makes them particularly suitable for classification and localization by visual inspection systems [1].
4In automated recognition, it is important to clarify the concepts of: classification, detection, localization, interpretation, and interpretability.Classification is the task of assigning a class label; that is, answering the question ''WHAT is this?''; in automated visual inspection, this question can be formulated as ''Is this object defective or good/functional?''-in the case of two classes, the task is referred to as detection [2, p. 4].According to other authors, defect detection involves finding all the occurrences of the defect (or defects) in the image, but note that we adopt the first definition.In addition, in the multiclass case, classification is to answer the question ''WHICH type of defect is this?''.Localization is the task of finding the specific part of the object that motivates the assignment of the class label; that is, for automatic visual inspection, it corresponds to answering the question ''WHERE is the defect?''.On the other hand, interpretation corresponds to the task of explaining the reason for the assignment of the class label; that is, answering the question ''WHY that class label was assigned to the object?''.Finally, interpretability consists in determining the extent to which the result is predictable or understandable to humans [3]; that is, answering the question ''HOW did the system come to assign that class label?''.
5This quality control problem has been solved using several approaches, including fully-supervised object detection (FSOD) and weakly-supervised object detection (WSOD).With respect to the first one, which uses instance-level annotations to train the system, it is important to highlight the set of techniques associated with Deep Learning (DL) as a good alternative when applied in its different variants, such as Convolutional Neural Networks (CNN), deep networks, and Residual Learning (RL) based networks [4], which can be complemented using techniques such as Data Augmentation (DA) [5] and Transfer Learning (TL) [6].With DL, good results have been obtained, particularly regarding defect detection and, to a lesser extent, with respect to defect localization.The former problem has recently been solved using two types of state-of-the-art object detectors including two-stage detectors, such as: R-CNN [7], Fast R-CNN [8], Faster R-CNN [9], and Mask R-CNN [10].On the other hand, among the single-stage detectors, You Only Look Once (YOLO) [11] and Single Shot Detector (SSD) [12] are the most popular.Some of these variants of object detectors initially require building a set of candidate regions either by exhaustive searches [13], by creating feature maps [14] or by generating regions with an additional CNN [15] for whose training it is required to have exemplar images with the corresponding defect class labels as well as with masks or annotations of their locations.
6Another approach that has been highlighted more recently is WSOD, as a strategy for defect detection in which the model is trained using incomplete or inaccurate labels [16].Unlike FSOD, in which the model is trained using accurately labeled data, WSOD requires only partial annotations or image-level labels, which do not indicate the precise location of the object in the image [17].This condition with the labels is known as inexact supervision in weakly supervised learning [18].Multiple Instance Learning (MIL), a particular case of WSOD [17], assumes that the class label of the training examples is assigned to a representation of the whole image of the object (called bag of instances) but is not accompanied by information about the defect localization; therefore, to deal with this inexact information, the image is decomposed into regions of interest using either a region proposal algorithm or a segmentation strategy.Subsequently, each resulting region is represented by a feature vector (called instance) and the set of them are grouped into the labeled bag [19].
7Once the localization problem is solved, it is important to provide an interpretation as to why the system assigned a particular defect class label to a specific image; however, in many scenarios, it is difficult to determine how the system came to assign the label due to the black-box nature of CNNs; sometimes, it is even not possible to determine the quality of the solution.However, recent initiatives seek to analytically explain how these networks reach a specific response [20] or empirically show the so-called Class Activation Maps (CAM) as indicators of the discriminative regions in the image [21].
8Given the frequent absence of masks or annotations and the problems associated with the generation of candidate regions to guide this procedure, as well as the difficulty of interpreting the detection results yielded by CNNs and other techniques, it is desirable to develop an automatic visual inspection system that, while preserving the representational power of the neural networks, does not require an expensive region proposal stage and uses a decision rule that is easy to interpret.Therefore, this work proposes an inexactly supervised methodology that does not require defect positions for training, which can be used for defect detection, localization, and graphical interpretation of defects on different types of surfaces.The proposed methodology starts with image decomposition into blocks using different grid sizes.The images are then represented as bags using the MIL approach, whose instances correspond to feature vectors generated by neural networks with the support of TL.As a reference feature extraction method and applying image processing techniques, different low-level features based on colors, textures, shapes, and contours have also been used as in [19].Subsequently, the k nearest neighbors (k-NN) algorithm is applied by calculating the dissimilarities between bags [22] and, afterwards, that information is used to perform detection, localization, and interpretation, obtaining good results that are illustrated by different metrics, graphs, counts, examples, and figures corresponding to experiments with three public datasets: two of them are synthetic datasets coming from the German Society for Pattern Recognition (DAGM, for its acronym in German) and the third one is a dataset with real fabric images coming from the Textile Industry Research Association (AITEX, for its acronym in Spanish).
9It is important to highlight, as stated in [23], that different traditional methods offer competitive results, which are almost always faster, more intuitive, and much simpler than DL.Indeed, the heterogeneous methodology proposed here includes not just DL but also traditional methods for inexactly supervised learning.
10The remaining part of this paper is organized as follows.In Section II, some background found in the literature is presented.Subsequently, in Section III, the proposed methodology is introduced, emphasizing each of its parts, namely instance generation, feature extraction, dimension reduction, bag distance calculation, defect detection, defect localization, and defect interpretation.In Section IV, the experimental setup is presented, where the datasets, computing platforms, metrics, and the different experiments are specified.Subsequently, in Section V, the obtained results and discussions are presented, which are explained for each of the datasets, presenting different performance metrics and figures illustrating the results.Finally, in Section VI, conclusions are given.
II. BACKGROUND
11Since the proposed methodology is hybrid and merges techniques from MIL, CNN, TL, and dissimilarities between bags of instances, several concepts and papers related to each of these areas are reviewed below.
A. MIL
12The MIL approach has been widely used in both general classification problems and particular defect localization problems [19], [24].In the standard MIL approach, each image is defined by a set of feature vectors called a bag of instances, which represents the complete image, where the low-level visual features extracted from each segmented region are the instances.In [25], DL was modeled in a weakly supervised learning framework (MIL), where each image follows a multi-instance dual assumption, and the proposals of the objects with their possible annotations can be considered as two sets of instances.Subsequently, an efficient system is designed to exploit the MIL property with DL strategies in vision tasks including image classification and annotation.Particularly regarding the use of MIL for automatic visual inspection, the work presented in [19] stands out.In that study, image segmentation techniques were used, followed by low-level feature extraction, to represent bags of instances in which different types of classifiers were applied.The results demonstrated that the approach can be used with good results on weakly labeled images for defect localization in automatic visual inspection systems.
B. CNN
13Regarding CNN usage, the most relevant related works under the FSOD approach that make use of object detectors with either single-stage or two-stage detectors include the one presented in [26].In that work, different algorithms for defect detection based on DL were shown using the Feature Pyramid Network (FPN) and implementing an R-CNN cascade algorithm for the detection of defects in textiles.Among the studies that focus on defect localization using R-CNN, it is worth mentioning the one developed in [27].This study used a defect detection algorithm for train rails in China, making use of a Faster R-CNN, which improves the accuracy and speed of detection.Mask R-CNN, as a special case of Faster R-CNN, is used to solve problems such as the detection of defects on the surface of train rails [28], in which a detection network is designed with a new feature pyramid for multiscale fusion.With respect to single-stage detectors, it is important to highlight the work developed in [29], which presents a surface defect detection on bearings using a YOLO algorithm, which does not require the generation of candidate boxes.Regarding SSD-based solutions, the work presented in [30], used for the detection of small defects on printed circuit boards, proposes a multilayer SSD detection network that combines the powerful traditional SSD and ResNet50.
14With respect to the WSOD approach, it is important to highlight the work presented in [21], where CAM for CNNs was proposed for accurate object localization without using any bounding box annotation.Additionally, in [31], a proposal-based segmentation-aggregation learning framework was presented to build object detectors in industrial scenarios from weakly annotated images, where two graph-based segmentation methods and a dropscore regularization strategy were proposed to address the persistent problems in existing weakly supervised detection approaches.Among the limitations of WSOD are that the model only focuses on the most discriminative part of the image, and that the model captures parts not belonging to the regions of interest [32].
C. TL
15Regarding TL, a relevant study for our proposed methodology is the one in [6], where the authors used a CNN trained on a source dataset with a large amount of data to project them from a target dataset -with limited data-onto another feature space, and then train a classifier on this new representation.This approach has been used for different texture classification problems with good results.Next, in [33], the authors present a comparison of six neural networks trained on the ''ImageNet'' dataset using TL in order to identify faulty photovoltaic cell modules.The experimental results show that the Xception model using TL has higher accuracy for the classification of defective photovoltaic cells.
D. DISSIMILARITIES
16Dissimilarities have been used in several image classification problems.Sometimes, standard measures have been used, and in other cases they are either combined or learned, as done in [34] and [35], respectively.Regarding MIL with bag dissimilarities, we have started from the concepts presented in [22].The authors propose representing each bag by a vector of its dissimilarities to other bags in the training set, such that these dissimilarities can be treated as if they correspond to a feature representation.Even though in our methodology we do not propose to construct a dissimilarity space between bags, the dissimilarities between them are calculated to be later used with the k-NN classifier.We have chosen this classifier not just due to its simplicity, but also because explaining its class label assignments is straightforward.
III. PROPOSED METHODOLOGY AND ITS METHODS
17The proposed inexactly supervised methodology and the baseline used for comparison are presented in Fig. 1.Fig. 1(a) corresponds to the proposed methodology, which consists of the following stages: generation of instances under the MIL approach [22], feature extraction using CNN plus TL (CNN+TL), dimension reduction, dissimilarity calculation, classification with k-NN and finally, the location and interpretation of the defects.In Fig 1(b), the baseline used as a reference is presented, which is composed of the generation of instances under the MIL approach performing low-level feature extraction and using the k-NN classifier with bag dissimilarities, as in [19], without the steps of localization and interpretation.
A. INSTANCE GENERATION
18To have a methodology without segmentation that does not require elaborate region proposal algorithms, the regions of interest (i.e., the instances) from the images are proposed to be generated by the straightforward strategy of block decomposition [36, p. 48].This strategy was selected because it is a simple method that does not require additional information or algorithms, as is needed when using methods such as the region proposal or segmentation used in the Faster R-CNN [9], or the weak labeling that requires expert-defined annotations as presented in [37].
19In block decomposition, different grid dimensions are used in a simple manner that does not require elaborate algorithms or manual delimitation processes.For this reason, and taking into account the dimensions of the considered datasets, grids of 256 × 256, 128 × 128 and 64 × 64 pixels were selected, thus covering several possibilities for classifying and locating defects.The grid sizes were selected as powers of two because the image dimensions of the considered datasets meet this condition; however, any grid size can be used.
20Fig. 2 presents an example of images belonging to the AITEX dataset in their original version and subsequently with grids of 256 × 256, 128 × 128 and 64 × 64 pixels, illustrating the process of decomposition into blocks.
B. FEATURE EXTRACTION
21Once the images were decomposed into blocks according to the grids and subimages were extracted, the TL-based CNNs were used to perform feature extraction.The procedure is as follows: i) because a particular network performs better than another depending on the problem, two popular TL-networks were selected to look for a good characterization behavior.The selected networks were ResNet50 and InceptionResNet, as they exhibited the best results in the preliminary tests, thus forming two variants of the proposed methodology; ii) load the selected network in such a way that the last layers corresponding to the classifier are not included, but the weights of the previous learning performed with the images of ImageNet are included; iii) replace the classifier stages with a set of layers that bring the result to a onedimensional array; iv) train the network on its last layers using a few epochs (e.g., 5), providing it with images from the training set.The result is a trained network that can generate 2048 features for ResNet50 and 1535 features for InceptionResNet.v) Subsequently, the features of the instances are extracted.For this purpose, the trained network is used by supplying it with the blocks that were divided in the instance generation stage according to the selected grid.Then, the test images were resized to 224×224 such that they can be processed by the neural network, obtaining for each image as many feature vectors as subimages are generated according to the grid.
22For the baseline, to extract low-level features, the fifty (50) features presented in [36], whose implementations come from algorithms included in the Balu toolbox for image processing [38], were employed.The 50 features are grouped as follows: five features associated with color, 36 features associated with Local Binary Patterns (LBP), and nine features based on the Histogram of Oriented Gradients (HoG).The procedure is as follows: i) three sets of features are defined: in the first, intensity and color features; in the second, LBP-based features; and in the third, HoG-based features; ii) then, each of the images is decomposed into blocks according to the selected grid size; iii) for each of the blocks resulting from the decomposition of each image, feature extraction is performed; and iii) finally, the resulting feature set is stored in an array of dimension 50.
C. DIMENSION REDUCTION
23Since we want to make a fair comparison of the proposed methodology with respect to the baseline methodology, we tried to make the two methods comparable, at least in terms of the number of features obtained.This is because the proposed methodology with CNN+TL based characterization generates more than 1500 features (potentially redundant) per block, whereas in the baseline methodology with the low-level characterization proposed in [36], 50 features are obtained (five color features, 36 texture features, and nine shape features).Therefore, the dimension of the vector generated by the CNN+TL method was reduced to 50 features by applying Principal Component Analysis (PCA); however, any other dimensional reduction method can be also applied.Thus, the number of features provided by the two methods is the same, allowing to build bags of images of the same sizes.Each bag contains as many instances (vectors) as regions were obtained from each image in the block decomposition, and each instance is composed of 50 features.
D. BAG DISTANCES
24To perform the corresponding defect detection, defect localization, and interpretation, the k-NN algorithm was selected, since it is a very intuitive classifier and -in general-has 138232 VOLUME 11, 2023 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.Let
25) two bags of instances to be compared, the following are the two most frequently used options proposed in [24] to compute the dissimilarity between X (i) and X (j) by considering the bags as sets of points:
26where d is the Euclidean distance.
27The dissimilarity measure in (1) corresponds to the MIL version of the Hausdorff distance between sets [39].The dissimilarity measure in (2), i.e. d minmin is a symmetric measure that can also be useful for solving the problem of finding the dissimilarity between two bags.According to [22], d minmin is less sensitive to atypical data than d maxmin , additionally in the preliminary tests, the calculations with d maxmin produced better results than those with d minmin .Therefore, only the d maxmin distance is used in the proposed methodology.
28As in [40], in our proposed methodology, the comparison of bags X (i) and X (j) is performed between bags and prototype instances by, in turn, comparing each instance of the first bag X (i) against the total number of instances of the second bag X (j) , as shown in Fig. 3.
E. DEFECT DETECTION
29Once defined the procedure for calculating the dissimilarities between the images that are represented by bags of instances, we proceeded to perform the defect detection, as follows: for each bag X (i) in the test set, the distance d maxmin is calculated against all bags in the training set, each one denoted as X (j) .Subsequently, the k-NN algorithm, with k = 3 in our case, is used to find the three nearest training bags to the test bag.Finally, the predicted class label for the test bag is assigned by the majority vote among the labels of the closest training bags.
30As mentioned above, the k-NN algorithm was used because it is simple and easy to apply.Additionally, we want to emphasize the feature extraction process and the calculation of the dissimilarities between bags for the problem solution, and do not rely on sophisticated classifiers such as SVMs or CNNs to solve the problem by hiding the potential shortcomings presented in the previous stages of the recognition system.
31The corresponding algorithm for comparing two bags using the d maxmin function includes two nested loops over the number of instances (see Algorithm 1).
Algorithm 1 Calculation of the Dissimilarity d maxmin by
32Returning the Smallest Distance Between Two Bags
33The calculation of the dissimilarities between bags and the application of the k-NN classification algorithm provide the predicted class labels for the test image; therefore, the steps described in Sections III-D and III-E allow us to answer the question: ''What is this?''.The next question to be solved by the automatic recognition system is: ''Where is the defect?''.
34To answer this question, we analyzed the structure and information returned by the d maxmin function when comparing two bags of instances (see Algorithm 1).Note that, in addition to the calculated dissimilarity, it would be straightforward to determine which instance of the X (i) bag is responsible for yielding the smallest distance between the two compared bags; thus, we can deduce that if the predicted label were of a defect, that instance -which corresponds to a certain region (block) of the image-would have a high probability of containing the defect.Similarly, because the k-NN algorithm with k=3 neighbors is used, the instances responsible for generating the k smallest distances, corresponding to image portions, should contain the defect associated with the image in that bag.
35Regarding defect localization, it is important to keep in mind that when decomposing the images into blocks at different grid resolutions, the defects can be completely included, partially included or excluded from the grid because the position of the grid is fixed.Therefore, a defect in an image is considered to be well localized if it is completely or partially included in the grid block.Additionally, to determine the degree of certainty in the defect localization and based on the possible results of the k-NN algorithm with k = 3, we considered the following grade scale of defect localization: (i) completely localized, when all three predictions are well localized; (ii) adequately localized, when two of the predictions are well localized; (iii) poorly localized, when only one prediction is well localized; and (iv) not localized, when none of the three predictions contain the defect.
36Because one of the main objectives of the proposed methodology is to provide a graphical and straightforward report for the user of the recognition system, the following visualization convention was adopted for the blocks of the images that are associated with the defect location: painting the three regions with defects -which correspond to the three neighbors calculated with the k-NN algorithmwith different colors (green, red, and blue), where green corresponds to the smallest distance, red is the second smallest distance, and blue is the third smallest distance.Additionally, when two or more regions coincide, and to avoid overlapping, the block boxes are drawn with different sizes, each time smaller to achieve adequate visualization.
G. INTERPRETATION
37Once the problems of defect detection and defect localization have been solved, and for a methodology such as ours that dispenses with the use of training masks or annotations, it only remains to answer -as far as possible-the question ''Why that particular class label was assigned to the object?''.Again, the structure and nature of the d maxmin function are also useful in answering this question to return not only the distance and position of the test bag instance, but also an identification of which bags in the training set, and specifically with which k instances of those bags, the k minimum distances are obtained.Thus, from this information, one can determine the portion of each image that is responsible for and contributes to the label prediction.The information resulting from the localization and interpretation steps is presented in a sequence of four images, which allows to visually explain the reason for the class label assignment to a given test bag.The first image corresponds to the test bag, in which the three regions that were returned as most similar according to the k-NN algorithm and possibly containing defects are marked.To mark these regions, the same color notation as that defined in Section III-F is used.In the remaining three visualizations of the graphic report, images belonging to the training set are presented; the first one is the image against with the smallest distance was obtained, together with its defect region marked in green; the second image is the one resulting from the second smallest distance, with its defect region marked in red, and the last image corresponds to the third smallest distance, with the defect marked in blue.
38The interpretation of the results provided by our proposed methodology is then cast in terms of the visual verification of whether each of the three defective regions in the test image corresponds to similar regions in each of the three images in the training set.After this series of visualizations, it can be confirmed that the region of a given color (green, red, or blue) in the test image is similar to the region of the same color in the training image, thus explaining why a given label is assigned to a test image.This procedure is illustrated in Fig. 4.
39Once the label prediction and the k smallest distances with their responsible instances in the test bag and in the training bags have been obtained, it is possible to perform the following analysis: given a bag corresponding to a test image to be predicted and that receives, as a result, a defective image label coming from k labels of k neighbors in the training set being mostly defective, the positions obtained by the d maxmin function belonging to the test bag labeled as defective can be interpreted as the positions where faults or defects are found in that image.In addition, the returned positions from the training bags can be interpreted as the predicted defect in the test bag being explained by the fact that there are k instances belonging to k training bags containing similar portions and that, at those positions, the instances that may correspond to similar defects or features are located.
IV. EXPERIMENTAL SETUP A. DATASETS
40To experimentally evaluate the proposed methodology, three datasets of different nature, dimension, and shape were used (see Fig. 5): i) two synthetic datasets (DAGM Class 2 and DAGM Class 5) with square images and similar defects, which are useful for illustrating defect localization in textured surfaces; and ii) a fabric dataset (AITEX), whose images are rectangular in shape and present different types of defects.A summary of the datasets can be seen in Table 1, and a brief description of the properties of the three datasets is provided below.
1) DAGM DATASETS
41This collection includes several synthetic datasets used for defect localization on textured surfaces.They were originally created for a competition at the DAGM Annual Symposium [41], including Class 2 and Class 5 datasets, which are hereafter referred to as DAGM C2 and DAGM C5, respectively.These datasets were selected to evaluate the proposed methodology because they contain defective images on artificial backgrounds of diffuse appearance, particularly black lines with random locations -either straight or curved-in the DAGM C2 dataset (see Fig. 5(a)) and patterns consisting of between 7 and 10 straight lines -parallel and of similar length-in the DAGM C5 dataset (see Fig. 5(b)).Each dataset consists of 1150 images with a resolution of 512 × 512 pixels, 150 of which have defects, whereas the remaining 1000 images are defect-free.
2) AITEX DATASET
42It is a dataset developed by AITEX, which is composed of 245 images with textured surfaces originating from seven different fabrics [42].There are 140 images without defects, 20 for each type of fabric, and 105 images with different types of defects; all images have a size of 4096 × 256 pixels.The classes of defects include knots, creases, broken yarns, contamination, weft curls, among others, which are observed on the fabric as curved or straight lines -whether white, black, or with the color of the textile-or dots and stains, mainly.However, In this study, the classification of the nine defect categories will not be considered, but rather the problem of determining whether a defect exists, in which region it is located, and the corresponding interpretation.
43All the original images present a section on the left side of the image that does not belong to the fabric, which is not uniform in size, composition, and texture (see the example shown in Fig. 5(c)).Therefore, it was necessary to cut all images to eliminate this section because its presence made it difficult to carry out a proper classification process.Cropping was performed by grouping the images according to the eight fabrics from which they were extracted.Note that in the associated dataset website, it is defined that the images come from seven fabrics; however, in the corresponding files, there is an eighth fabric composed of a single image.To facilitate the subsequent block decomposition of the images, equal-sized slices were taken for the images of each fabric with widths that were multiples of 256 pixels.The slices extracted for each fabric are listed in Table 2.
TABLE 2. Slices taken for the AITEX dataset.
44Note that a large percentage of the images that have defects in the AITEX dataset are difficult to identify visually, even by a human expert.Some of the defects span the entire image, whereas others are mistaken for fabric wefts; in contrast, other defects are made up of only a few pixels.In addition, some images have several abnormalities that could be considered defects by a human expert, as can be seen from the manual annotations that we made to five images as shown in Fig. 6.
B. COMPUTING PLATFORMS, PARAMETERS AND PERFORMANCE METRICS
45Experiments were performed on a DELL server under an Ubuntu release 18.04 operating system using Python 3.8.5, with Keras 2. Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.
46adjust them to the images of textured surfaces.The k-NN classifier was used, applying the d maxmin dissimilarity measure between bags and k = 3 because this is the smallest odd number greater than one, as well as for easy presentation and interpretation of the results; however, the number of neighbors considered could be larger.With all variants of the experimental setups, five different permutationsfor repeated training and testing by a randomized holdout validation-were performed on each of the datasets, estimating different performance metrics of classification models, such as accuracy, precision, standard deviation, recall (TP-rate), F1-score, confusion matrices, Receiver Operating Characteristic (ROC) curves, as well as reporting plots and different counts on defect localization and interpretation.
C. EXPERIMENTS
47Two different types of experiments, differentiating between those of the proposed methodology and those used as the baseline methodology, are presented below.
1) EXPERIMENTS WITH THE PROPOSED METHODOLOGY
48For the experiments using the proposed methodology, we defined an experimental setup that can be seen in Fig. 1(a).Note that for each dataset, the decomposition into blocks according to the selected grid is first performed, and five different permutations are defined by distributing the images in training and testing, according to the selected permutation, with a proportion of 80% to train the two variants of the CNN+TL and the remaining 20% reserved for testing.Feature extraction using CNN+TL is then performed on the training and test sets separately, making use of the previously trained network.Next, we reduce the dimension of the generated feature vectors by applying PCA to each permutation in the test and training sets.The PCA projection matrix is estimated using only the training set, and then applied to both the training and test sets.Finally, the 50 features of each block are received with the respective bag labels, and thereafter -with the k-NN algorithm and the d maxmin dissimilarity-the defect detection, defect localization, and interpretation of the results of those tasks on the test set images, with respect to the training set images, are carried out with respect to the training set images are carried out.
2) EXPERIMENTS WITH THE BASELINE METHODOLOGY
49For the experiments using the baseline methodology, a setup was defined to perform the experiments (see Fig. 1(b)).First, for each dataset, decomposition into blocks according to the selected grid is performed, and subsequently, the extraction of the 50 low-level features is performed on each image block.Next, five different permutations of the dataset are defined, distributing the images in training and testing according to the selected permutation, with a proportion of 80% for training and 20% for testing.Finally, the training and test sets are received, where each image is represented by a bag of instances and with their respective labels, and the k-NN algorithm with the dissimilarity d maxmin is used to perform defect detection with respect to the training examples.
V. RESULTS AND DISCUSSIONS
50Once the experiments were performed for the two methodologies in five permutations using the three grid resolutions, the following results were obtained for each dataset:
A. RESULTS WITH THE DAGM C2 AND DAGM C5 DATASETS
51The results for the DAGM C2 and DAGM C5 datasets were analyzed together because they correspond to problems of a similar nature.All their images are of the same size (512 × 512 pixels) and have the same number of images with identical proportions between defective and non-defective examples.
1) DEFECT DETECTION
52The average classification accuracy results presented in Table 3 demonstrate that the proposed methodology generates a more discriminative representation than that obtained by the baseline methodology.It is highlighted that, for the DAGM C2 dataset, the best accuracy (0.9722 ± 0.0058) was achieved using the variant of the proposed methodology with InceptionResNet as a feature extractor on images divided on a 256 × 256 grid, whereas for the DAGM C5 dataset, the best result (0.9817 ± 0.0099) was obtained using the variant of the proposed methodology with ResNet50 as a feature extractor, although also on a 256 × 256 grid.The lowest results were obtained with the baseline methodology and using a 128×128 grid: 0.8400±0.0167for the DAGM C2 dataset, and 0.8774 ± 0.0256 for the DAGM C5 dataset.It is important to note that the accuracy obtained with the baseline methodology for the DAGM C2 dataset is lower than those obtained with a completely biased classifier that assigns all the test images to the majority class.Therefore, other metrics are explored below.
53Accuracy is not the most appropriate performance measure when there is a large imbalance between classes, such as that presented in these two datasets (87% without defects and 13% with defects).For a better estimation of the classification performance in cases of a large class imbalance, Bramer [43] suggests calculating the true positive rate (TP-rate) and false positive rate (FP-rate), where the positive class (P) is defined as the target of the classification systemwith a defect, in our case-and the negative class (N) is the opposite: without a defect in our case.The TP-rate and FPrate measures are better performance estimators because they do not depend on the relative sizes of the subsets of P and N. The TP-rate and FP-rate results for the two DAGM datasets, using the two different methodologies, feature extraction variants, and block decomposition resolutions, are presented in Table 4.
54It can be seen that, in agreement with the behavior observed for the accuracy, the best results for these performance measures are still those obtained with the proposed TABLE 3. Average accuracy results, along with their corresponding standard deviations for five repetitions, for the DAGM C2 and DAGM C5 datasets and with three grid sizes.methodology.In particular, the highest TP-rate for both datasets was obtained using the proposed methodology with ResNet50 for feature extraction on 64 × 64 grids: TPrates of 0.9374 for the DAGM C2 dataset and 1.0000 for the DAGM C5 dataset.Regarding the FP-rate, the best results on the DAGM C2 dataset were found when using the InceptionResNet variant on a 256 × 256 grid, reaching a value of 0.0118; for the DAGM C5 dataset, the best result was 0.0060, with ResNet50 as a feature extractor on a 256 × 256 grid.
55In contrast, the TP-rate and FP-rate results with the baseline methodology significantly differed from those obtained for accuracy (cf.Table 3).For the case of the DAGM C2 dataset, the highest TP-rate is 0.0395 with a grid of 64 × 64 and the lowest FP-rate is 0.0440 over a grid of 256 × 256; this demonstrates the poor effectiveness of the baseline methodology with a low-level feature extractor in detecting abnormalities or texture changes, especially when the defects are not well bounded and the environment is rather fuzzy.On the other hand, the results for the DAGM C5 dataset are better than those obtained for the DAGM C2 dataset, being 0.6407 for the TP-rate and 0.0245 for the FP-rate, both for a 64 × 64 grid, revealing that this configuration would allow the classification of the images without defects and reasonably well those containing defects; however, in any case, they are far from the performance achieved when using the proposed methodology.
56The combined TP-rate and FP-rate results can be presented -as proposed in [43,Chap. 12]-through a variation of the ROC curves by locating each classifier as a point on the TP-rate vs. FP-rate plane and then calculating the distance of each point with respect to a perfect classifier, that is, with respect to a classifier with TP-rate = 1.0 and FP-rate = 0.0.The best classifier is the one with the smallest distance to the perfect classifier, as seen for the DAGM C2 dataset in Fig. 7(a), where the comparison with the two variants of the proposed methodology and the baseline methodology is presented.In contrast, in Fig. 7(b), only the results obtained with the proposed methodology are presented, due to the poor results obtained with the baseline methodology.
57From the ROC graphs, it can be noted that the best classifier for the DAGM C2 dataset was achieved using the ResNet50 variant of the proposed methodology on a 64 × 64 grid, for which TP-rate and FP-rate values of 0.9374 and 0.0296 were obtained respectively, with an accuracy of 0.9679 ± 0.0105.Additionally, it can be seen that the TP-rate is higher when the grids are smaller (64 × 64) and when feature extraction is performed using CNN+TL, thus allowing better classification of the images with defects.In contrast, classifiers that use ResNet50 for feature extraction have the best balance between TP-rate and FP-rate, obtaining better results in different performance measures and, consequently, achieving a better average classification performance.
58Similarly, Fig. 8 presents a comparison with respect to the perfect classifier for the DAGM C5 dataset.Note that the best classifier is achieved using the proposed methodology with InceptionResNet on a 128 × 128 grid, whose values for TP-rate and FP-rate are 0.9886 and 0.0342, respectively, with an accuracy of 0.9678 ± 0.0113.Fig. 8(a) presents a comparison of the two methodologies, whereas in Fig. 8(b), the results obtained with the baseline methodology are omitted because they correspond to values that are far away from the best classifier.Similar to the observed behavior for the DAGM C2 dataset, in this case, the classifiers of the baseline methodology using low-level feature extraction did not perform well, except for the classifier using a 64×64 grid, for which a TP-rate of 0.6407 and an FP-rate of 0.0245 were achieved.Regarding the other classifiers, using the smallest grid (64 × 64) with CNN+TL as the feature extractor yields better results for classifying defect images -i.e. higher TPrates-whereas a larger resolution (256×256) is more useful for classifying defect-free images.
2) LOCALIZATION
59The defect localization capability of our proposed methodology is illustrated below for one of the test permutations using the best classifier identified in the preceding subsection for each DAGM dataset, namely: i) feature extraction using ResNet50 on a 64 × 64 grid for the DAGM C2 dataset and ii) feature extraction under InceptionResNet with a 128 × 128 grid size for the case of the DAGM C5 dataset.The classification results for a permutation on each dataset are presented in terms of the corresponding confusion matrices shown in Table 5 and in the classification reports presented in Table 6.Note that in the last two tables, the classification for the two DAGM datasets was performed on 230 images: 35 with defects and 195 without defects.
60For the DAGM C2 dataset, a value of 0.8095 for precision and a value of 0.9714 for recall were observed for the class with defects, which shows that the proposed model accurately detects defective cases but misclassifies some images without defects, as confirmed by an F1-score of 0.8831.On the other hand, for the class without defects in the DAGM C2 dataset, the value of 0.9946 in precision and 0.9589 in recall show that the proposed model detects the images without defects and misclassifies very few images with defects.In contrast, for the DAGM C5 dataset, the performance metrics present better results than those observed for the DAGM C2 dataset, yielding a precision with an average macro value of 0.9407, indicating that there is a good balance between the correctly classified images with and without defects.This is corroborated by the F1-scores of 0.9166 for images with defects and 0.9845 for images without defects.
61Regarding the count to measure the localization results, the grade scale previously defined in Section III-F was used.The corresponding results obtained for the two DAGM datasets are listed in Table 7.
62As can be seen for the DAGM C2 dataset, 30 out of 34 correctly classified images were well localized (26 completely and 4 adequately), which corresponded to 88.23% of the correct localizations.On the other hand, three images are classified by only one of the three predictions still allowing to localize the defect, although poorly, which corresponds to 8.82%.Finally, in only one image, the defect could not be localized with any of the three predictions, which corresponded to 2.94% of the cases.Similarly, for the DAGM C5 dataset, 32 out of 33 correctly classified images were well localized, corresponding to 96.97%, and in only one image, the defect could not be localized with any of the three predictions, which is equivalent to 2.94%.Note that the results obtained for these localization counts in both DAGM datasets present a behavior consistent with that observed for the classification results reported above.
63In Fig. 9, some localization results can be observed for the DAGM C2 dataset, in which the visualization convention explained in Section III-F was adopted.As shown in Fig. 9(a), the three grids coincide over the same region of the image containing the defect for a completely localized defect, and the results obtained from the three smallest distances were calculated over the same region in the image.In Figs.9(b)-9(d), two of the grids coincide over the same region of the image containing the defect, whereas the third grid is localized over another portion of the image, which also corresponds to the defect, resulting in completely localized defects.Finally, in Figs.9(e) and 9(f), two of the grids are positioned over the defect, whereas the third grid is positioned outside the defect, resulting in adequately localized defects.Another result that can be obtained from this methodology is multiresolution localization; that is, the visualization of the same defect localized in the three grid sizes in which it can be detected, as shown in Figs.11 and 12.The figures present the same image locating the defect with grids of 256 × 256, 128 × 128 and 64 × 64, respectively.Interestingly, in both cases, although the largest block size ensured the complete localization of the defect, a significant portion of the background area was also included.An intermediate block size seems preferable, even though a small portion of the defect may be left out or the defect may spread over two different blocks.
3) INTERPRETATION
64To explain the reason for assigning a class label to a certain image in the DAGM C2 and DAGM C5 datasets, the conventions previously defined in Sections III-F and III-G are used.An example corresponding to the interpretation of a defect in the DAGM C2 dataset is presented in Fig. 13.It can be seen in Fig. 13(a) that the defect is completely localized, and the defects localized in the three images of the training set, presented in Figs.13(b)-13(d), correspond to or are similar to the same colored sections marked in the test image, where all grids frame similar defects.
65Similarly, Fig. 14 can be used to interpret the results of the defect localization in a line pattern test image corresponding to the DAGM C5 dataset.In this example, it can be seen in Fig. 14
B. RESULTS WITH AITEX DATASET 1) DEFECT DETECTION
66For the AITEX dataset, whose classification accuracy results are presented in Table 8, it was observed that using the proposed methodology generated slightly better results than those obtained when applying the baseline methodology.
67With respect to this performance measure, the best result of 0.8608 ± 0.0296 was achieved using the ResNet50 variant on images divided into a 256 × 256 grid.As for the baseline methodology, the accuracy of 0.8157 ± 0.0629 using a 64 × 64 grid is better than that when using the proposed methodology (although the difference with InceptionRes-Net is not significant) and on the other hand, for a 128 × 128 grid, the result of 0.8361 is better than that achieved using ResNet50 as the feature extractor -with which an accuracy of 0.8159 ± 0.0588 is achieved-and slightly lower than when using InceptionResNet, with which a performance of 0.8523 ± 0.0451 is obtained.These results demonstrate that the baseline methodology with low-level feature extraction is effective when the defects are more visible and the backgrounds are uniform.
68Because the AITEX dataset also presents a slight imbalance between the two classes (57% without defects and 43% with defects), again considering the suggestion in [43], TP-rate and FP-rate performance measures for this dataset are presented and discussed below (see Table 9).
69The results obtained with the proposed methodology continue to be comparatively high.The largest TP-rate (0.8835) was achieved using the ResNet50 variant with a 128 × 128 grid.In contrast, the lowest TP-rate (0.7025) was obtained using the baseline methodology over a 64 × 64 grid.Regarding FP-rate, the best results were obtained when using the baseline methodology over a 256 × 256 grid, reaching a value of 0.0469.These TP-rate and FP-rate values demonstrate the effectiveness of the different systems in detecting both defective and non-defective images.
70To obtain a joint assessment of the TP-rate and FPrate results, these are presented as points on the ROC graph [43] for different grid sizes and methodologies (see Fig. 15).It is observed that the best classifier for the AITEX dataset is achieved with the proposed methodology using the InceptionResNet variant with a grid of 128 × 128.Furthermore, it is noticed that classifiers using the smallest grid (64×64) offer inferior results to those using larger grids, which can be explained by the fact that some of the defects present much larger dimensions than the same grid.It is 138242 VOLUME 11, 2023 Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.TABLE 8. Average accuracy results, along with their corresponding standard deviations for five repetitions, for the AITEX dataset with three grid sizes.important to highlight the parity found between the classifiers of the proposed methodology for either 256 × 256 or 128 × 128 grids.The similarity of their accuracy, TP-rate, and FP-rate values indicates that a sufficiently large block decomposition size is required; however, once guaranteed, the observed performance differences are not significant.
2) LOCALIZATION
71To illustrate defect localization in the AITEX dataset, the results achieved with the proposed methodology for one of the test permutations were selected, particularly for the case of using the InceptionResNet variant over a 128 × 128 grid.The resulting confusion matrix and classification report are shown in Tables 10 and 11, respectively.Table 11, it is observed that the metric with the lowest value is recall for the class with defects, presenting a value of 0.8696, which is reflected in the differentiated F1-score results, namely 0.9091 for the class with defects and 0.9259 for the class without defects.A joint consideration of the accuracy and recall results for both classes leads to the following observations: for the class with defects, a precision of 0.9524 and a recall of 0.8696 indicate that the proposed methodology does not detect the positive class very well, but that, when it does, it is highly reliable; on the other hand, for the class without defects, a precision of 0.8928 and a recall of 0.9615 suggest that although the proposed methodology detects the negative class well, it may also wrongly include some samples from the class with defects.
72The localization results, using the scale defined in Section III-F and for a test permutation of the dataset, are presented in Table 12.As can be seen, 15 out of 20 correctly classified images were well localized (completely and adequately), corresponding to 75.0% of the cases.On the other hand, two images -that is, 10.0% of the total-are classified by only one of the three predictions (poorly) but still allow the defect to be localized; finally, in three images, the defect could not be localized with any of the three predictions, which corresponded to 15.0% of the cases.These results may be partially attributed to the intrinsic complexities of the dataset mentioned in Section IV-A2.Some of the localization results for the AITEX dataset are shown in Fig. 16.In Fig. 16(a), we observe an example containing an elongated white vertical line-shaped defect, in which the localization is completely performed on a part of the defect; next, in Fig. 16(b), a dot-shaped defect is presented, which is also completely localized.In Fig. 16(c), there is a defect in the shape of a vertical fold and with the same color as the fabric, which is completely localized but over two different regions of the defect, similar to Fig. 16(d), which presents a longitudinal defect of white color covering almost the entire image, which is also completely localized but over two different regions of the defect.Finally, Figs.16(e) and 16(f) present poorly localized and not localized defects, respectively.
73For this dataset, we also show the multiresolution result that can be obtained from the localization method, which allows the visualization of the same defect presenting the three grids considered for block decomposition, as shown in Fig. 17.In Fig. 17(a), the original image is presented, whereas in the other figures, the same image is shown to locate the defect with grids of sizes 256 × 256, 128 × 128 and 64 × 64 respectively.Note that, in this particular case, the 256 × 256 block size is the best one to localize the entire defect, whereas the smaller block sizes focus on a key area where the linear defect changes its orientation.
3) INTERPRETATION
74localized, and that, in this case, the three grids are localized on the same portion of the defect.Furthermore, when analyzing Figs.19(b)-19(d), it is noted that they also present defects in the form of small stains, which are well localized and are similar to the defect in the test image shown in Fig. 19(a).
VI. CONCLUSION
75An inexactly-supervised methodology for defect detection, localization, and graphical interpretation of textured surfaces has been presented.The proposed methodology, in its two variants, exhibits good classification results, for the DAGM C2 and DAGM C5 datasets, with average accuracies of 0.9722 ± 0.0058 and 0.9817 ± 0.0099, respectively, representing improvements of 12.35% and 4.6% over the baseline methodology.However, the accuracy of the proposed methodology for the AITEX dataset was just slightly better (0.84%) than that obtained with the baseline one: 0.8608 ± 0.0296 vs. 0.8524 ± 0.0179.
76Regarding the TP-rate, we obtained values of 0.9374 for DAGM C2, 0.9886 for DAGM C5, and 0.8631 for AITEX.Similarly, for the FP-rate, values of 0.0296 for DAGM C2, 0.0342 for DAGM C5, and 0.1522 for AITEX were obtained.These results exceed those obtained with the baseline methodology, thus demonstrating the usefulness and capability of the proposed methodology in detecting true defects and avoiding false alarms.The results obtained for the interpretation of the detection and localization processes, graphically and intuitively show why a class label was assigned to a test image and based on what information the respective defect was located.Given the strategy used, the developed methodology is useful for locating defects that are contained in the image and whose size is less than the dimensions of the specified grids, as well as for explaining the detection process of the defects.
77The methodology demonstrates, over different scenarios and datasets, that feature extraction using CNN+TL is effective in representing the images for good detection, along with the simplicity of the k-NN algorithm for an intuitive graphical interpretation of the detection and localization results.In contrast, the baseline methodology that employs low-level feature extraction is neither suitable nor effective to be performed directly without firstly applying segmentation algorithms, particularly in problems with fuzzy backgrounds such as those presented in the DAGM-C2 and DAGM-C5 datasets.Furthermore, we conducted an extensive analysis and discussion regarding the properties and behavior of the different methods used for region proposal, feature extraction, bag creation, dissimilarity calculation, and defect detection.
FIGURE 1 .
78FIGURE 1. Proposed inexactly supervised methodology and the corresponding baseline.
FIGURE 2 .
79FIGURE 2. Image with a defect belonging to the AITEX dataset, (a) without block decomposition, and (b)-(d) with block decomposition in three different grid sizes.
FIGURE 3 .
80FIGURE 3. Comparison between two bags at the instance level.
Algorithm 2
81Algorithm 2 presents a version of the d maxmin function that returns the Hausdorff distance between two bags and the positions of the instances in bag X (i) and in bag X (j) , which are responsible for the returned value.Calculation of the Dissimilarity d maxmin Between Two Bags by Returning the Smallest Distance and the Positions of the Instances Responsible for the Smallest Distance, in the Test and Training Bags function dissMaxMinPos(Xi, Xj) distExter ← [] posiExter ← [] for k ← 1 to len(Xi) do distInter ← [] for l ← 1 to len(Xj) do distInter ← distInter + norm(Xi[k] − Xj[l]) end for valuMini ← min(distInter) posiMini ← arg min(distInter) posiExter ← posiExter + posiMini distExter ← distExter + valuMini end for valuMaxi ← max(distExter) posiMaxi ← arg max(distExter) posiMini ← posiExter[posiMaxi] return valuMaxi, posiMaxi, posiMini end function
FIGURE 4 .
82FIGURE 4. Interpretation of the results for a sample image.
FIGURE 5 .
83FIGURE 5. Examples of images with a defect belonging to: (a) the DAGM-C2 dataset, (b) the DAGM-C5 dataset and, finally, (c) the AITEX dataset.
FIGURE 6 .
84FIGURE 6. Examples of images from the AITEX dataset having unclear or ambiguous defects, which were manually labeled.
853.1, and TensorFlow 2.4.1 as supporting libraries.Low-level feature extraction for the baseline methodology was performed using MATLAB R2018b.The decomposition of the images into blocks was made by selecting three different grid sizes (256 × 256, 128 × 128 and 64 × 64) and, for feature extraction with CNN+TL, two different variants of CNN were selected based on TL: ResNet50 and InceptionResNet; five epochs were used to 138236 VOLUME 11, 2023
FIGURE 7 .
86FIGURE 7. Comparison of classifiers for the DAGM C2 dataset, showing the best classifier and its distance to the perfect classifier.In (a), with the two methodologies; and (b), the proposed methodology only.
FIGURE 8 .
87FIGURE 8. Comparison of classifiers the DAGM C5 dataset, showing the best classifier and its distance to the perfect classifier.In (a), with the two methodologies; and (b), the proposed methodology only.
FIGURE 9 .
88FIGURE 9. Graphical results of defect localization in the DAGM C2 dataset using a 64 × 64 grid, where (a)-(d) have completely localized defects, and (e) and (f) have adequately localized defects.
FIGURE 10 .
89FIGURE 10.Graphical results of defect localization in the DAGM C5 dataset, using a 128 × 128 grid, where all figures contain images that have completely localized defects.
90(a) that the defect is completely localized, and in Figs.14(b)-14(d), images belonging to the training set are shown, with defects that are clearly framed and exhibit features similar to those of the test image in Fig. 14(a).
FIGURE 15 .
91FIGURE 15.Comparison of classifiers showing the best classifier and its distance to the perfect classifier for the AITEX dataset and using the proposed methodology (ResNet50 and InceptionResNet variants) or the baseline one (low-level).
FIGURE 16 .
92FIGURE 16.Graphical results of defect localization in images of the AITEX dataset, using a 128 × 128 grid, where the images in (a)-(d) present completely localized defects, the image in (e) presents a poorly localized defect, and finally, the image in (f) presents a not localized defect.
TABLE 1 .
93Description of the datasets used in the experiments.
TABLE 4 .
94TP-rate and FP-rate for the DAGM C2 and DAGM C5 datasets, according to methodology and grid size.
TABLE 5 .
95Confusion matrices for a permutation of the best classifier in the DAGM C2 and DAGM C5 datasets.
TABLE 6 .
96Classification report for a permutation of the DAGM C2 and DAGM C5 datasets.
TABLE 7 .
97Localization counts for a permutation in the DAGM C2 and DAGM C5 datasets.
TABLE 9 .
98TP-rate and FP-rate for the AITEX dataset, according to methodology and grid size.
TABLE 10 .
99Confusion matrix for a permutation of the AITEX dataset with feature extraction using CNN+TL (InceptionResNet) on a 128 × 128 grid.
TABLE 11 .
100Classification report for a permutation of the AITEX dataset.
TABLE 12 .
101Localization counts for a permutation in the AITEX dataset.
참고문헌 41건
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2016 10.1109/tpami.2016.2577031
- Fast R-CNN 2015 10.1109/iccv.2015.169
- Transfer learning between texture classification tasks using Convolutional Neural Networks 2022 International Joint Conference on Neural Networks (IJCNN) · 2015 10.1109/ijcnn.2015.7280558
- Deep multiple instance learning for image classification and auto-annotation 2015 10.1109/cvpr.2015.7298968
- Image classification via learning dissimilarity measure in non-euclidean spaces 2014 10.1109/chicc.2014.6895718
- Multiple instance learning with bag dissimilarities Pattern Recognition · Elsevier BV · 2014 10.1016/j.patcog.2014.07.022
- Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation 2014 10.1109/cvpr.2014.81
- Dissimilarity-Based Ensembles for Multiple Instance Learning IEEE Transactions on Neural Networks and Learning Systems · Institute of Electrical and Electronics Engineers · 2015 10.1109/tnnls.2015.2424254
- SSD: Single Shot MultiBox Detector Lecture notes in computer science · Springer Science+Business Media · 2016 10.1007/978-3-319-46448-0_2
- Characterizing Multiple Instance Datasets Lecture notes in computer science · Springer Science+Business Media · 2015 10.1007/978-3-319-24261-3_2
- Learning Deep Features for Discriminative Localization 2016 10.1109/cvpr.2016.319
- Automatic visual inspection: An approach with multi-instance learning Computers in Industry · Elsevier BV · 2016 10.1016/j.compind.2016.09.002
- Classification, Parameter Estimation and State Estimation 2017 10.1002/9781119152484
- A brief introduction to weakly supervised learning National Science Review · Oxford University Press · 2017 10.1093/nsr/nwx106
- Image-Based Concrete Crack Detection Using Convolutional Neural Network and Exhaustive Search Technique Advances in Civil Engineering · Hindawi Publishing Corporation · 2019 10.1155/2019/6520620
- A Public Fabric Database for Defect Detection Methods and Results Autex Research Journal · De Gruyter Open · 2019 10.2478/aut-2019-0035
- A survey on Image Data Augmentation for Deep Learning Journal Of Big Data · Springer Science+Business Media · 2019 10.1186/s40537-019-0197-0
- You Only Look Once: Unified, Real-Time Object Detection 2016 10.1109/cvpr.2016.91
- Mask R-CNN 2017 10.1109/iccv.2017.322
- A review: Deep learning for medical image segmentation using multi-modality fusion Array · Elsevier BV · 2019 10.1016/j.array.2019.100004
- Combining dissimilarity measures for image classification Pattern Recognition Letters · Elsevier BV · 2019 10.1016/j.patrec.2019.10.026
- Towards automatic visual inspection: A weakly supervised learning method for industrial applicable object detection Computers in Industry · Elsevier BV · 2020 10.1016/j.compind.2020.103232
- Effects of Faster Region-based Convolutional Neural Network on the Detection Efficiency of Rail Defects under Machine Vision 2018 IEEE 4th Information Technology and Mechatronics Engineering Conference (ITOEC) · 2020 10.1109/itoec49072.2020.9141787
- Mask R-CNN Powerline Detector: A Deep Learning approach with applications to a UAV 2020 10.1109/dasc50938.2020.9256456
- SSD: Single Shot MultiBox Detector Lecture notes in computer science · Springer Science+Business Media · 2016 10.1007/978-3-319-46448-0_2
- Weakly Supervised Object Localization and Detection: A Survey IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2021 10.1109/tpami.2021.3074313
- Mixed supervision for surface-defect detection: From weakly to fully supervised learning Computers in Industry · Elsevier BV · 2021 10.1016/j.compind.2021.103459
- Automated Masonry crack detection with Faster R-CNN 2022 IEEE 18th International Conference on Automation Science and Engineering (CASE) · 2021 10.1109/case49439.2021.9551683
- Classification of Defective Photovoltaic Modules in ImageNet-Trained Networks Using Transfer Learning 2021 10.1109/ecce-asia49820.2021.9479376
- Between shapes, using the Hausdorff distance Data Archiving and Networked Services (DANS) · Royal Netherlands Academy of Arts and Sciences 10.1016/j.comgeo.2021.101817
- Research on Textile Defect Detection Based on Improved Cascade R-CNN 2021 10.1109/aiea53260.2021.00017
- Machine Learning in Industry Management and industrial engineering · Springer International Publishing · 2021 10.1007/978-3-030-75847-9
- Deep Learning for Weakly-Supervised Object Detection and Localization: A Survey Neurocomputing · Elsevier BV · 2022 10.1016/j.neucom.2022.01.095
- Principles of Data Mining Undergraduate topics in computer science · 2020 10.1007/978-1-4471-7493-6
- Explainable Predictive Quality Inspection using Deep Learning in Electronics Manufacturing Procedia CIRP · Elsevier BV · 2022 10.1016/j.procir.2022.05.031
- Current Time Series Anomaly Detection Benchmarks are Flawed and are Creating the Illusion of Progress (Extended Abstract) 2022 IEEE 38th International Conference on Data Engineering (ICDE) · 2022 10.1109/icde53745.2022.00116
- Rail surface defect detection based on improved Mask R-CNN Computers & Electrical Engineering · Elsevier BV · 2022 10.1016/j.compeleceng.2022.108269
- Interpretable deep learning: interpretation, interpretability, trustworthiness, and beyond Knowledge and Information Systems · Springer Science+Business Media · 2022 10.1007/s10115-022-01756-8
- Research on PCB defect detection based on SSD 2022 IEEE 4th International Conference on Civil Aviation Safety and Information Technology (ICCASIT) · 2022 10.1109/iccasit55263.2022.9986754
- An Improved Bearing Defect Detection Algorithm Based on Yolo 2022 10.1109/iscer55570.2022.00038
- Entropy regularization for weakly supervised object localization Pattern Recognition Letters · Elsevier BV · 2023 10.1016/j.patrec.2023.03.018