An automatic detection model adopting pattern recognition technology is proposed in this paper; it can realize the measurement to the element of nanocomposite film. The features of gray level cooccurrence matrix (GLCM) can be extracted from different types of surface morphology images of film; after that, the dimension reduction of film can be handled by principal component analysis (PCA). So it is possible to identify the element of film according to the Adaboost M1 algorithm of a strong classifier with ten decision tree classifiers. The experimental result shows that this model is superior to the ones of SVM (support vector machine), NN and BayesNet. The method proposed can be widely applied to the automatic detection of not only nanocomposite film element but also other nanocomposite material elements.

1. Introduction

The composite material is composed of two or more different kinds of materials; meanwhile, it can also be turned into new performance material by physical and chemical methods. It has been an academic focus to detect and identify composite materials. Soares et al. from Portugal proposed the identification of material properties of composite plate specimens [1]. Cunha et al. put forward genetic algorithms of the identification of elastic constants of composite materials [2]. Leo et al. [3] proposed the identification of defective areas in composite materials by the Bivariate EMD Analysis of Ultrasound. Pattern recognition means that research pattern of automatic processing and identification can be done by computer with mathematical technique, which concludes statistic pattern recognition, syntactic pattern recognition, fuzzy pattern recognition, and neural network pattern recognition. Pattern recognition technology has been widely used in computer vision, biomedical image analysis, optical character recognition, natural language processing, speech recognition, handwriting recognition, biometrics, classification of documents, Internet search engine, credit score, topography, and several other fields.

In recent years, pattern recognition and intelligent computation have been used for analyses and identification of composite material in many researches, such as damage detection, performance prediction, and performance analysis of materials. Through using the thoughts of statistic pattern recognition, Hamdi et al. took the Hilbert-Huang transform for the acoustic emission (AE) signal as identification future; after that damage detection to the composites material can be achieved by the method of pattern classifications [4]. González-Carrato et al. proposed a fault detection and diagnosis (FDD) method of macro fiber composite material, which is used in defect detection to macro fiber composite through combining the wavelet decomposition technique with statistic pattern recognition [5]. Farhidzadeh et al. proposed a cracking mode detection model of concrete structures by using pattern recognition, which is featured by acoustic emission signals and classified by support vector machines. According to the experiment results, it is possible to detect crack of concrete [6]. Dervilis et al. [7] used Auto-Associative Neural Network classifier of pattern recognition to do damage diagnosis on a wind turbine blade. Oskouei et al. adopted signal features of acoustic emissions (AEs) to make damage mechanisms on glass/polyester composites; it is effective to reduce the dimensionality of acoustic emissions (AEs) by the principal component analysis, where the AEs were classified after clustering by fuzzy -means clustering. Yang et al. proposed an optimization method of composite polymer using support vector machine [8]. But fewer researches about the detection and identification of nanocomposite film have been done. The nanocomposite film owning both composite materials and nanomaterial characteristics has been one focus for the academic research.

A computer automatic detection technology using pattern recognition technology (called GABD) is put forward in this paper, which can realize the detection to element of nanocomposite film. After preparing pure PI film and nanocomposite film doped with inorganic nanoparticles, the surface images of scanning electron microscope for the films are obtained, and then the texture feature of film image is extracted by the grey level dependence matrix; finally the feature dimension reduction is finished by PCA. After that, the identification and classification are made between hybridization polyimide nanocomposite film and polyimide film through a strong classifier built by ten Decision Stumps by Adaboost M1. The GABD method can be used in damage detection of film and automatic detection of nanocomposite film element and other composite material elements.

2. Materials and Methods

2.1. The Preparation of Nanocomposite Film

In order to make the detection and identification of nanocomposite film, effectively, three typical films are selected including pure PI film, the film mixed with nanoparticles called PI/BaTiO3, and the film mixed with two different shapes of nanoparticle called PI/MMT + TiO2.

Polyimide matrix inorganic nanocomposite thin films were prepared by in situ polymerization method. The experimental materials are ODA, PMDA, DMAC, nanoparticle (TiO2, BaTiO3, MMT), C2H6O, and so on. Firstly, PMDA is put into the solution of ODA and DMAC to make sticky polyamic acid after which nanoparticle (TiO2, BaTiO3, MMT) is also put into it, separately. After paving membrane heat treatment and transform, three kinds of films are obtained which are PI/MMT + TiO2, PI/BaTiO3, and pure PI films. Figure 1 is the surface morphology of three films (1000x); therefore from Figure 1(a), it can be known that surfaces of films are smooth and glossy. Figure 1(b) is the image of particle with mosaic of a lot of polymerization. Figure 1(c) is polymer surface with sheet. So, it is very different for these three kinds of surface morphology of films.

2.2. Detection Model

Automatic detection as well as identification of nanocomposite film depends on the pattern recognition model, while feature extraction and classifier design are two most important factors for the model. The main process of the automatic detection and identification model of nanocomposite film concludes firstly, preparing films samples by in situ polymerization method; secondly, extracting grey level dependence matrix feature of SEM images by scanning surface morphology images; finally, reducing feature dimension reduction by using the PCA. Classification recognition was made by putting the dimension reduced feature vector into the Adaboost M1 classifier. The classification recognition of nanocomposite film is shown in Figure 2.

2.3. Gray Level Cooccurrence Matrix Feature

Texture feature has been widely applied in pattern recognition, remote sensing image, image retrieval, and other fields, which is a very important feature for image analyzing and processing. For the extracting of image texture, there are many methods, and the common ones include statistical analysis method, structure analysis method, and spectral analysis method. Gray level cooccurrence matrix is a kind of statistical analysis method, and it was firstly put forward by Haralick from the City University of New York and has been of great importance in the image texture analysis. So far, the paper which was called gray level cooccurrence matrix feature [9] and firstly proposed in 1973 has been cited 10827 times. The gray level cooccurrence matrix is built on the base of the second order conditional probability density function—calculating probability of the transferring of two pixels in specific direction and distance from one gray level to another. And then the information of direction, interval, and range ability would be given.

Haralick et al. put forward 14 kinds of texture quantification methods which are based on grey level dependence matrix.

(1) Angular second moment, ASM, is

The letter represents grey level, represents step length, represents angle, and angular second moment, ASM, represents the evenness texture size of the ray level distribution which is proportional to the fineness and gray distribution of the texture feature.

(2) Contrast is

(3) Correlation isHere

(4) Entropy is

(5) Variance is is the mean value of .

(6) Sum of average is

(7) Sum of variance isHere , . Variance is proportional to texture period.

(8) Inverse difference moment isInverse difference moment is proportional to the local regularity of the texture and it is also the metric of local change of image texture feature.

(9) Variance of difference isHere , . Variance of difference is proportional to the contrast between two pixels and it is equivalent to the gray level difference of adjacent pixels.

(10) Sum of entropy isHere , .

(11) Difference of entropy is

(12) Shadow of clustering is

(13) Prominence of clustering is

(14) Maximal probability is

2.4. PCA Dimensionality Reduction

Principal component analysis (PCA) [10] is a very effective method which is widely used in the pattern recognition, intelligent computing, and multivariate data analysis. Its core idea is to represent multiple variables in a few dimensions (preferably two) by rotation and to classify them, correspondingly.

If the process variable follows -dimensional joint normal distribution, we can have the following transformation:where is the feature vector corresponding to , is the th pivot element, after transformation through formula 15, a set of measurements of controlled vector are calculated to be , which is called the score of measurements on the th pivot element, and the vector is called the load vector of th pivot element. The above method of solving pivot element, load vector, and score is just the PCA.

2.5. Adaboost M1 Classifier

Classifiers ensemble is the focus of research among machine learning, pattern recognition, and data mining, and the most typical one is Adaboost classifier. Adaboost classifier is developed on the base of boosting algorithm which turns the weak learning classifier into strong classifier by constructing some weak classifiers into strong classifiers. Schapire improves the boosting algorithm and puts forward Adaptive Boosting or Adaboost [11] for short. So far, the problem which Adaboost algorithm can solve mainly includes binary classification, Adaboost M1 which is multiclass and single tag and Adaboost M2 which is multiclass and multitag.

Adaboost M1 algorithm description is as in Algorithm 1.

Training sample , Class label , iteration number is , multiple
Decision Stump classifiers.
First, initialize, and then compute the samples weight value of samples
 (1) for
 (2) have a distribution
 (3) using distribution to call multiple Decision Stump classifiers, get a hypothesis:
 (4) compute Error Rate of hypothesis Error Rate
 (5) compute
 (6) update
 (7) end

The main idea of Adaboost M1 algorithm is to choose the best weak classifier in the flowing and give it a weight value; the flowing chart is shown in Figure 3. And represents a classifier which is generated each round.

3. Experimental Results and Analysis

3.1. Sample

Surface texture image magnified for a thousand times is obtained by scanning electron microscope to be as a sample of scanning electron microscopic image. Because of the limit of experimental conditions, every sample has only fifteen scanning electron microscopic images, while for the sake of better training classification, the screenshot is obtained randomly. Each of three kinds of films has 2000 samples so that 6000 samples in all are obtained as shown in Figure 4. In order to show the effects of texture classification, in this paper, no former treatment is done on these images. And then, the texture feature extraction of grey level dependence matrix and recognition program will be processed together by using MATLAB.

3.2. Evaluation of Classification Performance

TP (true positive) and TN (true negative) represent the positive and negative samples, respectively, under the right classification, while FP (false positive) and FN (false negative) represent those samples under the wrong classification. New definition can be obtained as follows:

Sometimes, precision and recall will be contradicted with each other where -Measure is needed. The -Measure is weighted harmonic mean for precision and recall and its definitions are as follows:

The ROC area is another measuring criterion of classification effect, and in ROC space, FP rate is abscissa while TP rate is ordinate. TP rate, precision, recall, -Measure, and ROC area are found to be in positive correlation with classification performance, while there is negative correlation between FP rate and performance.

3.3. Result and Analysis

In order to get further validation of the GABD method in this paper, 10-fold cross validation is used to train and recognize the film. Macbook Pro is used as hardware platform; CPU and memory are Intel I7-2640M and 16 G, respectively, in the experiment. All the feature extraction, training, and classification are programmed by the MATLAB 2012a.

In experiment 1, 10-fold cross validation method is used to make training and recognition of the samples with Adaboost classifiers. The parameters can be shown as follows: numIterations = 10, seed = 1, and weight threshold = 100: each weak classifier uses the Decision Stump. After being trained, the weight values of ten Decision Stump classifiers are represented by as shown in Table 1. Using the 10-fold cross validation method on the samples to test, the recognition results obtained are shown in Figures 2 and 3, among which class 1 is PI/BaTiO3, class 2 is PI/MMT + TiO2 and class 3 is PI, respectively.

According to the data in Table 2, the recognition accuracy pure PI is 100% which means that 2000 samples are all classified, correctly. However, one PI/MMT + TiO2 sample is wrongly classified as PI/BaTiO3, and 1872 PI/BaTiO3 is classified correctly, other 128 PI/BaTiO3 is wrongly classified. Distinguish degree among Pure PI, PI/BaTiO3 and PI/MMT + TiO2 are obvious. PI/BaTiO3 and PI/MMT + TiO2 are also easy to distinguish which has only 129 classified wrongly.

Table 3 shows the recognition results of the three kinds of samples on which 10-fold cross validation method is used. It includes TP rate, FP rate, precision, recall, -Measure, and ROC area of three kinds of films and their average recognition results. According to Figure 3, the TP rates of class 2 and class 3 are the highest, the TP rate of class 1 is the lowest, and the FP rate of class 1 and class 3 is 0, while the FP rate of class 2 is 0.032. The average TP rate of 10-fold cross validation has reached 0.979, average precision is 0.980, and average -Measure has reached 0.978. Thus, good effect of the classification is obtained.

Figure 5 is the analysis of the threshold curve of class (FP rate is abscissa; TP rate is ordinate): the ROC area of both of class 1 and class 2 is 0.981, while that of class 3 is 1. Thus it has been proved that classification effects of class 3 by this model are the best, while those of class 1 and class 2 are lower.

In experiment 2, the GABD method has been compared, under the same sample database, to the support vector machine (SVM) [12], BayesNet [13], multilayer perceptron (MLP) neural network [14], RBF neural network [15], and BP neural network [16] models, respectively, in order to further check the detection to the surface texture of polyimide matrix’s inorganic nanocomposite thin film. The comparison results of the classification performances of detection models are obtained, as shown in Table 4 and Figure 6. By analysing the data in Table 4 and Figure 6 we know that the correctly classified instances obtained by GABD reach 97.85%, higher than those obtained by SVM, BayesNet, MLP, BP, and RBF. The -Measure obtained by our method is 0.978, which is the same as those obtained by the three neural network models, while the -Measure by SVM and BayesNet is 0.972 and 0.964, respectively, indicating that classification effect of GABD is better than that of SVM and BayesNet. As for the time of model building, the GABD is built in 0.18 seconds, which is much faster than SVM (1.34 seconds), MLP (0.78 seconds), BP (5.06 seconds), and RBF (0.66 seconds), but slightly slower than BayesNet (0.05 seconds) for the reason that the GABD is built up by ten weak Decision Stump classifiers. In practical application, however, this slight difference of time can be safely ignored. Figure 7 shows the ROCs of the six classification models, with the -coordinate represented by FP rate and -coordinate by TP rate. It can be seen from the figure that the ROC of GABD locates at the top left corner, indicating that the GABD is the best in comprehensive classification effect. Based on the foregoing, the GABD method has certain advantages in both accuracy and speed of recognition when compared to other models. It is therefore more suitable for the detection to inorganic nanocomposite thin films.

4. Conclusion

An automatic detection method (GABD) based on the GLCM and the Adaboost M1 is put forward in this paper, which can be used to detect element of nanocomposite film. Under the condition of no future knowledge, the gray level cooccurrence matrix feature of surface images of film can be extracted using scanning electron microscope. And then, a strong classifier is built by ten decision tree classifiers, which can realize the automatic detection of nanocomposite film element.

After analyzing the experimental data, the following conclusion is obtained:(1)The detection and identification of pure and composite films doped with nanoparticles can be achieved by the GABD method, effectively. The precision can reach 1; it is better for the identification when one or two kinds of nanoparticles are doped.(2)Through using the GABD method, the precision of three kinds of films reaches 0.980, and recall reaches 0.979, so, it is possible to recognize and classify for the films.(3)Through the comparison experiment we know that the classification performance of GABD is better than that of SVM [12], BayesNet [13], multilayer perceptron (MLP) neural network [14], RBF neural network [15], and BP neural network [16] models under the same sample database. Moreover, it is superior to single classifiers with respect to the accuracy of nanocomposite film detection.(4)The GAB method does not need people having basic knowledge of nanomaterials; all the work of different film element recognition can be done by corresponding software and equipment. This method is thus of benefit for the production and preparation of nanocomposite film which is good for the industry of nanocomposite film by supplying it with information technology.

Inorganic nanocomposite thin film of polyimide matrix has been studied for only a dozen years both at home and abroad, and no studies on automatic detection have been reported yet. This paper attempts to study the automatic detection to such films by making use of textural features and pattern classification. The automatic detection of the doped nanoparticle components will be the focus on future study in which other texture features and classification methods are planned to increase the precision of automatic detection of nanocomposite film elements and components.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.


This paper has obtained the support of the National Natural Science Foundation of China (51077028, 51307046, and 60803096) and Heilongjiang Natural Science Foundation of China (A201006), National Basic Research Program of China (2012CB723308), Fund of the State Ethnic Affairs Commission of China, and the Fundamental Research Funds for the Central Universities. Authors also gratefully acknowledge the helpful comments and suggestions of the reviewers who improved the presentation.