선정목록으로
Texture classification of machined surfaces using image processing and machine learning techniques
간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (21) 에폭시수지(22) POM(폴리아세탈)
기본 정보
- 저자
- DOI
- 10.5937/fmet1904865p
- 저널
- FME Transaction
- 발행년도
- 2019
- 발행기관
- Faculty of Agronomy in Čačak
- 피인용수
- 29
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.5937/fmet1904865p
- 토픽
- Surface Roughness and Optical Measurements
- OpenAlex ID
- W2980156380
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 엔지니어링 플라스틱 · (23) 컴파운드
- 부 분야
- (21) 에폭시수지, (22) POM(폴리아세탈)
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- surface texture, image processing, machine learning, machined surfaces, non-contact technique
- 판단 근거
- 본 논문은 머신러닝과 이미지 프로세싱을 이용해 가공 표면의 질감을 분류하는 기술을 다룹니다. 이는 코오롱인더스트리의 엔지니어링 플라스틱 컴파운드나 수지 제품의 표면 품질(거칠기, 결함)을 비접촉식으로 자동 검사하고 분석하는 공정 기술에 응용될 수 있습니다.
- R&D 활용 포인트
- 컴파운드 및 엔지니어링 플라스틱 성형 제품의 표면 조도(roughness) 및 결함 여부를 실시간으로 자동 판정하는 비접촉식 품질 검사 시스템 구축에 활용 가능합니다.
- 평가 입력
- 본문 35,195자
초록
The identification of surface texture images from machining surfaces using image processing techniques has been a prominent research area in the recent decades. The aim of this paper is to identify various machined surface texture images using machine learning techniques. Charge coupled device is used to capture images of machined components. Based on captured images, twelve statistical features are extracted and feature vector is formed. Grey Level Co-occurrence Matrix is used to extract statistical features from the machined surface images. Four Machine learning algorithms such as Random Forest, Support Vector Machine, Artificial Neural Network and J48 were utilized to characterize machined surfaces. Training and Ten-fold cross validation process is utilized for identification of machined component images. It is found that Artificial Neural Network and Random forest give 100 % training accuracy and 99% cross validation accuracy. Results obtained demonstrate the efficiency of proposed methodology, which is useful for identifying texture images.
본문 35,195자
본문 펼치기
Dhiren R. Patel
Research Scholar
Department of Mechanical Engineering
PDPU Gandhinagar,Gujarat
India
Vinay Vakharia
Assistant Professor
Department of Mechanical Engineering
PDPU Gandhinagar,Gujarat
India
Mysore B. Kiran
Associate Professor
Department of Industrial Engineering
PDPU Gandhinagar,Gujarat
India
# Texture Classification of Machined Surfaces Using Image Processing and Machine Learning Techniques
_The identification of surface texture images from machining surfaces using_
_image processing techniques has been a prominent research area in the_
_recent decades. The aim of this paper is to identify various machined_
_surface texture images using machine learning techniques. Charge coupled_
_device is used to capture images of machined components. Based on cap-_
_tured images, twelve statistical features are extracted and feature vector is_
_formed. Grey Level Co-occurrence Matrix is used to extract statistical_
_features from the machined surface images. Four Machine learning_
_algorithms such as Random Forest, Support Vector Machine, Artificial_
_Neural Network and J48 were utilized to characterize machined surfaces._
_Training and Ten-fold cross validation process is utilized for identification_
_of machined component images. It is found that Artificial Neural Network_
_and Random forest give100 % training accuracy and 99% cross validation_
_accuracy. Results obtained demonstrate the efficiency of proposed metho-_
_dology, which is useful for identifying texture images._
_Keywords:_ _Surface texture,Grey level co-occurrence matrix,Feature_
_extraction,Classification,Ten-fold cross validation._
1. INTRODUCTION useful for determination of surface roughness, to
accurately measure dimensions and to detect geometries
Texture of an object can be defined as an appearance of of difficult to machined components. For developing
an object based on shape, size, density and surface image processing based surface texture identification
characteristics. Investigation on surface texture is an techniques various authors proposed
intriguing topic in the image processing and machine histograms [10], Gray-level co-occurrence matrix
learning domain and has applications in remote sensing, (GLCM) [11], fractal analysis methods [12] etc. For
object tracking, object recognition, segmentation of capturing images from machined surfaces,digital images
images etc. [1]. obtained by charge coupled device (CCD) cameras are
Haralick et al. [2] proposed to utilize Co-occurence
matrix to extract texture features. Classification of the
variety of textures enables us to extract information
about the structural arrangement of the surfaces. Texture
classification techniques are categorized as structural
[3], statistical [4], signal processing [5], stochastic based
on model [6], and techniques based on morphology [7].
Signal processing techniques are used to extract
useful information from the signals and images.GLCM
is a type of statistical technique which is used to
compute first-order,second-order and higher-order
statistical features and to form feature vector which is
used for training and testing by machine learning
algorithms for identification of images [8].
Non contact technique for texture characterization
is considered to be a reliabile method for analyzing
machined surfaces in manufacturing industries and is
emerging as a prominent area of research [9].
Image processing techniques are consider as a non
contact technique for capturing images which will be
Received: February 2019, Accepted: April 2019
Correspondence to: Dr Vinay Vakharia,
Department of Mechanical Engineering,
PDPU Gandhinagar, Gujarat, India - 382007
Email: Vinay.Vakharia@sot.pdpu.ac.in
doi:10.5937/fmet1904865P
useful for determination of surface roughness, to
accurately measure dimensions and to detect geometries
of difficult to machined components. For developing
image processing based surface texture identification
techniques various authors proposed intensity
histograms [10], Gray-level co-occurrence matrix
(GLCM) [11], fractal analysis methods [12] etc. For
capturing images from machined surfaces,digital images
obtained by charge coupled device (CCD) cameras are
used for surface characterization [13].
Tool condition monitoring is an area where several
authors used signal processing,image processing and
machine learning algorithms to identify the condition of
tool as well severity of damage.
There have been a significant experimental study
conducted on various machining processes like turning,
milling, boring etc. to distinguish the tool conditions,prediction of tool wear with the aid of machine
learning, since conventional tool detection system does
not have the capacity of self-learning.
To correctly identify texture images,machine
learning is considered to be a prominent techique. It is
used for classification and regression and is used by
many authors in the variety of applications such as EEG
signal classification [14],
Fault diagnosis [15,16], Manufacturing [17,18] etc.
Support Vector Machine (SVM) [19], Artificial Neural
Network (ANN) [20],
Naive Bayes (NB) are widely used machine learning
algorithms and is used by many authors for
classification purpose. Feature vector is an important
parameter through which condition of any
tool,specimen can be determined accurately. To form a
feature vector, statistical parameters need to be extracted from the images. It is believed that feature vector if
© Faculty of Mechanical Engineering, Belgrade. All rights reserved FME Transactions (2019) 47, 865-872 865
extracted properly contains all relevant information.
This feature vector is then used for training,testing and
cross validation using machine learning algorithms. For
determination of tool flank wear, Sun et al. [19] applied
SVM for multi classification of tool wear and the
experimental results revealed,that the proposed method
is useful for tool wear identification.
Gupta and Raman [20] calculated the surface
roughness of cylindrical bar based on the images
obtained through laser scatter pattern. Images are
captured when rotation of cylindrical bar varied from
140 to 185 rpm.
Kassim et al. [21] used Hidden Markov Model to
differentiate the various conditions of wear in tool. Thirteen element feature vector obtained from the captured
images from end milled and turning process was used
for analysis. The Grey Level Co-occurrence Matrix is
utilized to separate the features of the end milled surface
texture images by Nathan et al. [22].
Authors established relationship between roughness
and surface texture of milled components.
In an another study, Suarez et al. [23] classified
surface roughness utilizing the texture features extracted
from GLCM.
Based on the available literature. it is observed that
the combination of image processing techniques and
machine learning is advantageous in manufacturing
domain due to the following reasons:
1) no force or load is applied to the specimen during
examination.
2) to examine the conditions of manufacturing
process, sensors or their combination are required,
which is expensive.
3) Quick decision can be made about the condition
of specimen; once images obtained from CCD are
combined with machine learning algorithms. Based on
available literature,it is envisaged that the combination
of image processing and machine learning methods
have tremendous applications which are unexplored
specifically in manufacturing applications.
In this paper, authors investigate, the effects of
twelve texture features extracted from GLCM for classification of textured surfaces obtained from EDM,
Shaping,
Milling and Sand Blasting. Support Vector Machine,
Random Forest, Artificial Neural Network, and J48
classifier are used for texture identification using
training and ten-fold cross validation. The experimental
result obtained suggests that the proposed methodology
will be useful for texture feature identification from
various machining processes. Figure 1 shows the
procedure used for texture classification.
2. GREY LEVEL CO-OCCURRENCE MATRIX
Haralick et al. [2] have proposed Grey Level Co-occurrence Matrix (GLCM) which is a popular technique for
feature extraction and is used for images. Gray level cooccurrence matrix has been ended up being an intense
tool for texture image segmentation [24].
GLCM which is a statistical technique,finds the
association between the images and pairs of
pixels.GLCM converts the image in to a matrix in which
the the number of rows and columns is equal to the
pixel value in the images of surface.
The matrix acquired from GLCM depicts the
recurrence of one gray level showing up in a predefined
spatial linear relationship with another gray level inside
the area of investigation.
Figure-2 indicates the process of computing a few
values in the GLCM of 4-by-5 image by grey co-matrix.
In the GLCM, component (1, 1) holds the esteem 1
because there is one and just case in the image where
two, on a level plane bordering pixels have the qualities
1 and 1. Component (1, 2) in the GLCM hold the
esteem 2 since there are two cases in the image where
two, equitably nearby pixels have the qualities 1 and 2.
Component (1, 3) in the GLCM has the esteem 0
because there are no events of two on a level plane
neighboring pixels with the qualities 1 and 3. Grey co
framework keeps preparing the info image, checking the
image for other pixel sets (i, j) and recording the total in
the relating component of the GLCM.GLCM tabulates
the frequency of appearance of combination of gray
levels in images.
Fig. 1. Methodology for Texture Classification
866 ▪ VOL. 47, No 4, 2019 FME Transactions
1 2 3 4 5 6 7 8
1 1 2 0 0 1 0 0 0
1 1 5 6 8
2 0 0 1 0 1 0 0 0
2 3 5 7 1
3 0 0 0 0 1 0 0 0
4 5 7 1 2
4 0 0 0 0 1 0 0 0
8 5 1 2 5
5 1 0 0 0 0 1 2 0
I 6 0 0 0 0 0 0 0 1
7 2 0 0 0 0 0 0 0
8 0 0 0 0 1 0 0 0
GLCM
Fig. 2. Conversion of Image into GLCM
3. TEXTURE CLASSIFICATION TECHNIQUES
Machine learning is emerged as a methodology which is
used for classification and regression. Supervised and
Unsupervised are widely used machine learning techniques. In supervised machine learning, labels are required for classification. On the other hand, labels are not
required in unsupervised learning and emphaisis is
given to identify patterns after forming clusters.
3.1 Support Vector Machine
Support vector machine (SVM) is a machine learning
method which is based on learning theory and the structural risk minimization principle. It is a type of supervised learning algorithm principally used for classification and regression analysis [25].
To get better accuracy from a given data set by
classifying into different groups, SVM uses support
vectors. This support vector lies on the largest margin to
find on optimal hyper plane. Optimal hyper plane
separates data of one class from another class and
classification result is obtained [26].
For multi-class classification problems SVM model
work as follows: Let C represents the total number of
classes and initially C1 is trained considering it as a new
class and the rest of the class with another class. In the
second stage C1 is removed and C2 is considered as new
class and the remaining classes as second classes. The
process will continue for the rest of the class and average
result will give final result for multiclass data sets.
3.2 Random Forest
Random forest is a classifier algorithm introduced by
Breiman L [27]. It is considered as an ensemble method
which uses tree as a predictor.
A large number of decision trees are built in RF
from dataset based on bagging to improve classification.
The purpose of bagging is to reduce variance in dataset
and simultaneously avoid over-fitting.
The training set in the initial phase divided into inbag and out-bags set. The decision tree is built for each
in-bag data set and out-of-bag set is used for evaluating
the classification accuracy [28]. Final results are
obtained from the trees constructed from out-bag set
from the entire training dataset.
3.3 Artificial _Neural Network_
Artificial Neural Network (ANN) is a technique used
for classification with the help of feature vector after
converting input feature vector in to training and testing
data sets. ANN is deployed to solve problems related to
pattern recognition, manufacturing, forecasting, robotics
etc.
A Neural network consists of various layers of
interconnected nodes. The feature vector serves as an
input to the algorithm via input layer which consists of
at least one hidden layers where the real preparing of
data is completed [26].
The input vector consists of _n_ dimensional vectors
where _n_ represents the total number of attributes
i.e.features. In present paper, Radial basis function
(RBF) kernel function is used in ANN, which
formulates individual layer of RBF with output layer
with corresponding node for retaining every information
of a specific class. The hidden layer consits of neurons
which may vary and the count of hidden neurons in
RBF is proportionate to the aggregate number of data in
training. The set of nodes connected with output layer
reflects the classification results. Classification decision
is made based on the weightage gain by each instances
based on given attributes.
3.4 J 48
J48 algorithm is a supervised algorithm used for classification of data sets. J48 is considered as a modified
version of C4.5 and ID3 algorithm which are generally
used for construction of decision trees [29].
Decision trees utilized graph based branching
method for analysis of datasets provided by user. The
internal node represents test on an attribute, branch
characterize the outcomes of test and leaf node
represents class labels. For identifying a class, instance
is splitted by internal node in to subspaces based on
discrete function of attribute values. Instances are
classified by guiding them from root of the tree to a
leaf, where each leaf is assigned to one class which
represents the most appropriate target value. The
process is repeated till the outcome of final decision
about class identification will be obtained.
4. EXPERIMENTAL SETUP
The schematic diagram of experimental set-up is shown
in Figure 3. Specimens are machined with manufacturing processes like EDM, Shaping, Milling and sandblasting for the purpose of classification i.e. identification of images.Four images are further divided in
to 15 subsets of each images. Therefor the input feature
vector contains 60 non-overlapping sub images of 32 x
32 pixels. Charge Coupled Device (CCD) Camera from
PULNIX was used to capture machined surface images
which is illuminated by lighting for proper illumination
of surfaces.
The captured images stored in a computer which is
connected to an advance image processing software and
hardware. The captured images are further processed for
noise cancellation. Figure-4 shows sample images obtained from various machining processes.
FME Transactions VOL. 47, No 4, 2019 ▪ 867
Fig. 3. Experimental setup to capture texture images through CCD
5. TEXTURE FEATURES EXTRACTION FROM
GLCM
Texture features generally refers to the surface characteristics and object appearance which is further defined by
geometric properties, shape, size etc. When features are
extracted considering above mentioned parameters from
the images of machined components then it is known as
texture feature extraction.
- 1 _G_ - 1
_P_ (, ) _i_ _j_
_i_ - _j_ )2
_G_ - 1 _G_
1 _G_ - 1
<u>1</u>
_P_ (, ) _i_ _j_
1 + ( _i_ - _j_ )2
<u>1</u>
_P_ (, ) _i_ _j_ (3)
## i ∑∑= 0 j = 0 1 + ( i − j )2
= 0 _j_ = 0 1 + ( _i_ - _j_ )2
_i_ = 0 _j_
_Entropy_ [1,2] _:_
- 1 _G_ - 1
## ∑∑ P ( i, j ) Xlog ( P ( i, ) j
_G_ - 1 _G_ - 1
## ∑∑ P ( i, j ) Xlog ( P ( i, ) j )
_i_ = 0 _J_ = 0
- 1 _G_ - 1
## ∑∑ P ( i, j ) Xlog ( P ( i, ) j )
## − ∑∑ P ( i, j ) Xlog ( P ( i, ) j ) (4)
_i_ = 0 _J_ = 0
_i_ = 0 _J_
Texture analysis is broadly classified into
classification, segmentation, synthesis and shape from
texture. In texture classification, the images are identified
when a set of input known as feature vector is fed in to
machine learning algorithms.
Algorithm maps the input information with the output
label during training and then identified images during
testing. Statistical features are classified as first order,
second order and higher order. In the current study twelve
texture features are calculated from the GLCM which are
mentioned below:
_Homogeneity, Angular Second Moment (ASM):_
_Correlation:_
_i Px_ + _y_
## i ∑ = 0
_G_ - 2
_i Px_ + _y_ ( _i_ )
## i ∑ = 0
_i Px_ + _y_ ( _i_ ) (7)
## i ∑ = 0
- 2
_i Px_ + _y_ ( _i_
1 _G_ - 1 <u>{</u> _i X_ _j_ <u>}</u> _X_ _P_ <u>(</u> _i_, _j_ <u>)</u>
- 1 _G_ - 1
_i X_ _j_ <u>}</u> _X_ _P_ <u>(</u> _i_, _j_ <u>)</u> - { <u>μ</u> _<u>x</u>_ _X_
, _j_ <u>)</u> - { <u>μ</u> _<u>x</u>_ _X_ <u>μ</u> _<u>y</u>_ }
<u>μ</u> _<u>x</u>_ _X_ <u>μ</u> _<u>y</u>_
_G_ - 1 _G_ - 1 <u>{</u> _i X_ _j_ <u>}</u> _X_ _P_ <u>(</u> _i_, _j_ <u>)</u> - { <u>μ</u> _<u>x</u>_ _X_ <u>μ</u> _<u>y</u>_ }
(5)
## ∑∑
σ _X_ σ
_G_ - 1 _G_ - 1 <u>{</u> _i X_ _j_ <u>}</u> _X_ _P_ <u>(</u> _i_, _j_ <u>)</u> - { <u>μ</u> _<u>x</u>_ _X_ <u>μ</u> _<u>y</u>_
_i_ = 0 _j_ = 0 σ _x_ _X_ σ _y_
_i_ = 0 _j_ =
0 _j_ = 0
σ _x_ _X_ σ _y_
_X_
_Sum of Squares, Variance:_
- 1 _G_ - 1
## ∑∑ ( i −μ ) (, )2 P i j
_G_ - 1 _G_ - 1
## ∑∑ ( i −μ ) (, )2 P i j
_i_ = 0 _j_ = 0
1 _G_ - 1
( _i_ −μ 2
## ∑∑ ( i −μ ) (, )2 P i j (6)
_i_ = 0 _j_ =
_i_ = 0 _j_
_Sum Average:_
2 _G_ - 2
- 1 _G_ - 1
## ∑∑ { P ( i j, ) }
= 0 _J_ = 0
_G_ - 1 _G_
1 _G_ - 1
## ∑∑ { P ( i j, ) }2
_Sum Entropy_ [13] _:_
## ∑∑
_i_ = 0 _J_ = 0
## ∑∑ { P ( i j, ) }2 (1)
_i_ = 0 _J_ = 0
### ( i ) log ( Px + y ( i ))
_Contrast_ [2] _:_
2 _G_ - 2
- 2
### Px + y ( i ) log ( Px + y ( i
G - 1 ⎧ G G ⎫
## ∑ n 2 ⎪⎨∑∑ P(i, j) ⎪⎬, i − j = n (2)
n = 0 ⎪⎩ i = 1j = 1 ⎪⎭
## − ∑ Px + y ( i ) log ( Px + y ( i )) (8)
_i_ = 0
_G_ - 1
## ∑ Px + y ( i ) log
_i_ = 0
2 _G_ - 2
## ∑ Px + y ( i ) log
_i_ = 0
## ∑ Px + y ( i ) log Px + y
_i_ = 0
- 1
## ∑ Px + y ( i ) log ( Px + y ( i )
1
G - 1 ⎧ G G ⎫
## ∑ n 2 ⎪⎨∑∑ P(i, j) ⎪⎬, i − j = n
n = 0 ⎪⎩ i = 1j = 1 ⎪⎭
G - 1 ⎧ G G
n 2 ⎪
## ∑
= 0 ⎪⎩ i = 1j =
_Difference Entropy:_
### ( i ) log ( Px + y ( i ))
_Local Homogeneity, Inverse Difference Moment_
_(IDM)_ [1,2] :
## − ∑ Px + y ( i ) log ( Px + y ( i )) (9)
_i_ = 0
## ∑ Px + y ( i ) log Px + y
_i_ = 0
868 ▪ VOL. 47, No 4, 2019 FME Transactions
Table 1 Sample texture features obtained from EDM machined surface
Feature
E1 E2 E3 E4 E5 E6 E7 E8 E9 E10 E11 E12 E13 E14 E15
<u>No.</u>
F1 0.75 0.74 0.68 0.63 0.64 0.68 0.62 0.78 0.67 0.70 0.64 0.79 0.79 0.69 0.68
F2 0.70 0.76 1.09 1.40 1.20 1.15 1.57 0.57 1.19 1.04 1.38 0.54 0.54 1.07 1.12
F3 0.75 0.74 0.68 0.63 0.64 0.68 0.62 0.78 0.67 0.70 0.64 0.79 0.79 0.69 0.68
F4 2.10 2.13 2.28 2.48 2.46 2.39 2.54 2.02 2.47 2.33 2.47 1.88 1.88 2.26 2.34
F5 0.50 0.49 0.40 0.29 0.36 0.48 0.29 0.63 0.48 0.51 0.36 0.57 0.57 0.40 0.44
F6 17 17 18 20 20 19 20 17 20 19 19 15 15 17 19
F7 5.52 5.52 5.61 5.88 5.95 5.74 5.91 5.47 5.93 5.67 5.78 5.14 5.14 5.50 5.68
F8 1.62 1.64 1.67 1.75 1.76 1.76 1.79 1.63 1.82 1.74 1.77 1.50 1.50 1.66 1.72
F9 0.91 0.93 1.05 1.15 1.08 1.08 1.20 0.84 1.10 1.05 1.15 0.82 0.82 1.06 1.07
F10 3.35 3.81 5.93 4.49 4.43 7.86 4.70 6.24 8.07 8.05 5.97 4.34 4.34 5.22 6.82
F11 18 21 35 28 28 49 30 38 52 51 36 23 23 30 43
<u>F12</u> <u>0.99</u> <u>0.99</u> <u>0.98</u> <u>0.98</u> <u>0.98</u> <u>0.98</u> <u>0.98</u> <u>0.99</u> <u>0.98</u> <u>0.98</u> <u>0.98</u> <u>0.99</u> <u>0.99</u> <u>0.98</u> <u>0.98</u>
Table 2 Sample texture features obtained from Shaping machined surface
Feature
S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 S13 S14 S15
<u>No.</u>
F1 0.72 0.72 0.72 0.70 0.73 0.72 0.71 0.75 0.75 0.73 0.67 0.78 0.72 0.72 0.75
F2 0.86 1.02 1.08 0.84 0.84 1.01 1.21 0.75 0.77 1.03 1.30 0.64 0.86 1.15 0.85
F3 0.72 0.72 0.72 0.70 0.73 0.72 0.71 0.75 0.75 0.73 0.67 0.78 0.72 0.72 0.75
F4 2.76 2.53 2.46 2.68 2.70 2.57 2.62 2.45 2.58 2.50 2.74 2.29 2.77 2.46 2.26
F5 0.80 0.68 0.67 0.75 0.78 0.73 0.69 0.77 0.80 0.74 0.70 0.78 0.78 0.69 0.67
F6 57 47 44 52 54 48 48 46 51 47 53 43 56 45 40
F7 9.21 8.40 8.11 8.90 9.03 8.42 8.44 8.33 8.81 8.28 8.82 8.02 9.21 8.12 7.76
F8 2.22 1.94 1.89 2.14 2.17 2.00 2.01 1.99 2.12 1.96 2.09 1.88 2.21 1.91 1.77
F9 0.98 1.05 1.06 0.96 0.97 1.04 1.10 0.93 0.94 1.04 1.14 0.88 0.98 1.08 0.97
F10 15 7 12 10 11 15 15 14 15 20 12 15 12 18 11
F11 157 65 85 98 120 118 119 108 138 157 124 107 132 131 73
<u>F12</u> <u>0.99</u> <u>0.99</u> <u>0.98</u> <u>0.99</u> <u>0.99</u> <u>0.99</u> <u>0.98</u> <u>0.99</u> <u>0.99</u> <u>0.98</u> <u>0.98</u> <u>0.99</u> <u>0.99</u> <u>0.98</u> <u>0.99</u>
_Inertia:_ Table 4. Confusion Matrix for Random Forest
- 1 _G_ - 1
2
## ∑∑ { i − j } X P ( i, j
_G_ - 1 _G_ - 1
2
## ∑∑ { i − j } X P ( i, j
_i_ = 0 _j_ = 0
1 _G_ - 1
2
## ∑∑ { i − j } X P ( i, j )
2
## ∑∑ { i − j } X P ( i, j ) (10)
_i_ = 0 _j_ =
_i_ = 0 _j_
_Cluster Shade:_
- 1 _G_ - 1
3
## ∑∑ { i + j −μ x −μ y } X P ( i, j
_G_ - 1 _G_ - 1
3
## ∑∑ { i + j −μ x −μ y } X P ( i,
_i_ = 0 _j_ = 0
1 _G_ - 1
3
## ∑∑ { i + j −μ x −μ y } X P ( i, j )
3
## ∑∑ { i + j −μ x −μ y } X P ( i, j ) (11)
## ∑∑ i + j −μ x −μ y
_i_ = 0 _j_ = 0
_i_ = 0 _j_ =
_Cluster Prominence:_
- 1 _G_ - 1
4
## ∑∑ { i + j −μ x −μ y } X P ( i, j
_G_ - 1 _G_ - 1
4
## ∑∑ { i + j −μ x −μ y } X P ( i, j
_i_ = 0 _j_ = 0
1 _G_ - 1
4
## ∑∑ { i + j −μ x −μ y } X P ( i, j )
4
## ∑∑ { i + j −μ x −μ y } X P ( i, j ) (12)
<u>E S M</u> <u>SB</u> <u>Prediction E S M SB Prediction</u>
<u>15</u> <u>0 0 0</u> <u>E</u> <u>14 0 1 0</u> <u>E</u>
<u>0 15</u> <u>0 0</u> <u>S</u> <u>0 15 0 0</u> <u>S</u>
<u>0 0 15</u> <u>0</u> <u>M</u> <u>0 0 15 0</u> <u>M</u>
<u>0 0 0 15</u> <u>SB</u> <u>0 0 0 15 SB</u>
Table 5. Confusion Matrix for ANN (RBF)
<u>E</u> <u>S M</u> <u>SB</u> <u>Prediction E</u> <u>S M SB Prediction</u>
<u>15</u> <u>0</u> <u>0</u> <u>0</u> <u>E</u> <u>15 0</u> <u>0</u> <u>0</u> <u>E</u>
<u>0 15</u> <u>0</u> <u>0</u> <u>S</u> <u>0 15 0</u> <u>0</u> <u>S</u>
<u>0</u> <u>0 15</u> <u>0</u> <u>M</u> <u>1</u> <u>0 14</u> <u>0</u> <u>M</u>
<u>0</u> <u>0</u> <u>0</u> <u>15</u> <u>SB</u> <u>0</u> <u>0</u> <u>0</u> <u>15</u> <u>SB</u>
Table 6. Confusion Matrix for J48
<u>E</u> <u>S</u> <u>M</u> <u>SB</u> <u>Prediction E S M SB Prediction</u>
<u>15</u> <u>0</u> <u>0</u> <u>0</u> <u>E</u> <u>14 1 0</u> <u>0</u> <u>E</u>
<u>0</u> <u>15</u> <u>0</u> <u>0</u> <u>S</u> <u>0 15 0</u> <u>0</u> <u>S</u>
<u>0</u> <u>0</u> <u>15</u> <u>0</u> <u>M</u> <u>0 0 15 0</u> <u>M</u>
<u>0</u> <u>0</u> <u>0</u> <u>15</u> <u>SB</u> <u>0 2 0 13</u> <u>SB</u>
Table 7. Showing average texture characterization
accuracy of machining process
<u>Classifier</u> <u>SVM</u> <u>RF</u> <u>ANN (RBF)</u> <u>J48</u>
<u>Training accuracy</u> <u>96</u> <u>100</u> <u>100</u> <u>100</u>
<u>Cross Validation (10fold)</u> <u>95</u> <u>99</u> <u>99</u> <u>96</u>
6. RESULTS AND DISCUSSION
In the experiment conducted authors used 4 different
texture images obtained from machining processes as
shown in Fig. 4. Nonoverlapping images of 32×32 sizes
were constructed, which form a database of 60 images.
For decomposition authors have used GLCM technique
## ∑∑ i + j −μ x −μ y
_i_ = 0 _j_ = 0
_i_ = 0 _j_ =
In the methodology adopted in present paper,authors
capture the texture images from the four specimen which
were machined by EDM, Shaping, Milling and Sandblasting.
The captured images are filtered using GLCM and all
the four images are further divided in to 15 subimages. In
total, 60 images are used for extracting the tweleve
statistical parameters.
A matrix of 60 Χ 12 forms a feature vector which is
used for identification of specimen, manufactured from
the machining process.A sample feature vector obtained
from EDM and Shaping textured images is shown in
Table 1 and Table 2 respectively.
Table 3. Confusion Matrix for SVM
<u>E</u> <u>S</u> <u>M</u> <u>SB</u> <u>Prediction</u> <u>E</u> <u>S</u> <u>M</u> <u>SB</u> <u>Prediction</u>
<u>13</u> <u>0</u> <u>0</u> <u>2</u> <u>E</u> <u>13</u> <u>0</u> <u>0</u> <u>2</u> <u>E</u>
<u>0</u> <u>15</u> <u>0</u> <u>0</u> <u>S</u> <u>0</u> <u>15</u> <u>0</u> <u>0</u> <u>S</u>
<u>0</u> <u>0</u> <u>15</u> <u>0</u> <u>M</u> <u>0</u> <u>0</u> <u>15</u> <u>0</u> <u>M</u>
<u>0</u> <u>0</u> <u>0</u> <u>15</u> <u>SB</u> <u>0</u> <u>1</u> <u>0</u> <u>14</u> <u>SB</u>
FME Transactions VOL. 47, No 4, 2019 ▪ 869
and extracted twelve different texture features. Table 3Table 6 shows the confusion matrix showing the
classwise prediction accuracy. In confusion, matrix
diagonal elements represent correctly classified instances,
whereas nondiagonal element represents incorrectly
classified instances.
Table 3 shows the confusion matrix obtained when
SVM is used as a classifier for Training and ten-fold
cross validation purpose. When training is done for the
texture features with SVM as a classifier then SVM is
able to predict correctly Shaping (S), Milling (M), Sand
blasting (SB), classes, whereas for EDM (E) class 13 out
of 15 instances is predicted accurately.
For cross validation SVM is able to identify Shaping
and Milling classes accurately and 13 out of 15 instances
are predicted accurately for E class and 14 out of 15 are
instances predicted accurately for Sand blasting class. It
is clear that E class is anticipated less both for training
and cross validation while SVM is utilized as a classifier.
Table 4 shows confusion matrix formed when Random
forest is used as a classifier.
Random forest predicts all the instances correctly for
all the classes when training of texture feature is carried
out. While performing cross validation only EDM class is
misidentified, whereas other classes are predicted
accurately. Similar observation is obtained when ANN
and J48 were used as a classifier for training and cross
validation of texture features shown in Table 5 and Table
6. For cross validation, 14 out of 15 instances were
predicted for milling when ANN is used as a classifier
and the other classes are identified accurately.
All 15 classes are identified correctly for
EDM,Shaping and Milling, whereas 13 out of 15
instances were predicted accurately for sand blasting,
when J48 is used as a classifier.
Table 7 shows the average texture classification
accuracy with classifiers. It is observed that 100 %
training accuracy is achieved using RF, ANN and J48
classifier and 96 % training accuracy is achieved
utilizing SVM as a classifier.
For ten-fold cross validation RF and ANN gives
maximum texture characterization accuracy of 99 %
where as J48 gives 96 % and SVM gives 95 % cross
validation texture characterization accuracy.
For predicting texture characterization of machined
images RF and ANN gives highest accuracy based on
the proposed methodology. The texture classification
results obtained from the images of machining process
is shown in Table 5 Training and ten- fold cross
validation of feature sets are carried out with twelve
texture features using SVM, RF, ANN and J48
classifiers.
7. CONCLUSIONS
In this paper,the application of image processing techniques and machine learning algorithms for identification
of texture images of machined surface is examined. For
automated inspection, the image processing techniques
emerge as a potential tool for decision making.
The advantage of texture analysis is that it is non
contact type inspection methodology which can be
useful for tool condition monitoring, roughness
assessment, detection of defects etc. Authors have used
GLCM matrix which represents the texture images, to
extract texture features obtained from machined
specimens.
Grey Level Co-occurrence Matrix is used to extract
twelve statistical features from the images of various
machined surfaces.
A feature vector is formed which consist of features
extracted from texture images from EDM, Shaping,
Milling, and Sand Blasting and feature vector is fed in
to classifier as SVM, RF, ANN and J48.
Training and ten-fold cross validation is performed
on the feature set. Result reveals that RF and ANN
gives 99 % cross validation accuracy for identifying
texture images from machined surfaces.
From the experimental results it is observed that
methodology used for extracting features from GLCM
and machine learning algorithms suggest the potential
application in industry for the advancement of real time
characterization of images from various manufacturing
processes and applications.
REFERENCES
[1] Y. Wang, Y. Zhao, Y. Chen, Texture classification
using rotation invariant models on integrated local
binary pattern and Zernike moments, EURASIP J.
Adv. Signal Process. Springer. (2014) 1–12.
[2] R. Haralick, K. Shanmugan, I. Dinstein, Textural
features for image classification, in: IEEE Trans.
Syst. Man Cybern., 1973: pp. 610–621.
doi:10.1109/TSMC.1973.4309314.
[3] Q. Yang, J. Liang, Z. Hu, H. Zhao, Auroral
sequence representation and classification using
hidden markov models, IEEE Trans. Geosci.
Remote Sens. 50 (2012) 5049–5060.
[4] M. Varma, A. Zisserman, A Statistical Approach to
Texture Classi cation from Single Images, Int. J.
Comput. Vision, Springer Sci. 62 (2005) 61–81.
[5] K.G. Krishnan, R. Abinaya, Performance Analysis
of Texture Classification Techniques using Shearlet
Transform, in: Int. Conf. Wirel. Commun. Signal
Process. Netw., 2016: pp. 1408–1412.
[6] M. Tuceryan, A.K. Jain, Texture Analysis, in:
Handb. Pattern Recognit. Comput. Vis., 1993: pp.
207–248.
[7] Y.Q. Chen, Novel Techniques for Image Texture
Classification, Thesis. (1995) 1–121.
[8] Y.T. Jing, H.T. Yong, Y.L. Phooi, One-dimensional
grey-level co-occurrence matrices for texture
classification, Proc. - Int. Symp. Inf. Technol. 2008,
ITSim, IEEE. 4 (2008) 4–9.
[9] T. Jeyapoovan, M. Murugan, Surface roughness
classification using image processing, Meas. Elsevier. 46 (2013) 2065–2072. doi:10.1016/j.measurement.2013.03.014.
[10] K. Artyushkova, S. Pylypenko, M. Dowlapalli, P.
Atanassov, Use of digital image processing of
microscopic images and multivariate analysis for
870 ▪ VOL. 47, No 4, 2019 FME Transactions
quantitative correlation of morphology, activity and
durability of electrocatalysts, RSC Adv. 2 (2012)
4304.
[11] E.S. Gadelmawla, A vision system for surface
roughness characterization using the gray level cooccurrence matrix, NDT E Int. 37 (2004) 577–588.
doi:10.1016/j.ndteint.2004.03.004.
[12] M.H. Bharati, J.J. Liu, J.F. MacGregor, Image
texture analysis: Methods and comparisons,
Chemom. Intell. Lab. Syst. 72 (2004) 57–71.
[13] R. Kumar, P. Kulashekar, B. Dhanasekar, B. Rama
moorthy, Application of digital image magnification for surface roughness evaluation using machine vision, Int. J. Mach. Tools Manuf. 45 (2005)
pp. 228–234. doi:10.1016/j.ijmachtools. 2004. 07.
001.
[14] R. Upadhyay, A. Manglick, D.K. Reddy, P.K.
Padhy, P.K. Kankar, Channel optimization and
nonlinear feature extraction for Electroencephalogram signals classification, Comput. Electr. Eng.
45 (2015) 222–234.
[15] V. Vakharia, V.K. Gupta, P.K. Kankar, Efficient
fault diagnosis of ball bearing using ReliefF and
Random Forest classifier, J Braz. Soc. Mech. Sci.
Eng.39 (2017) 2969-2982.
[16] V. Vakharia, V.K. Gupta, P.K. Kankar, Application
of chi square feature ranking technique and random
forest classifier for fault classification of bearing
faults, Proceedings of the 22th International
Congress on Sound and Vibration, Florence, Italy.
(2015/7) 12-16.
[17] X. Qin, B. Wang, G. Wang, H. Li, Y. Jiang, X.
Zhang, Delamination analysis of the helical milling
of carbon fiber-reinforced plastics by using the
artificial neural network model, J. Mech. Sci.
Technol. 28 (2014) 713–719.
[18] M.S. Yazdi, S.A. Latifi Rostami, A. Kolahdooz,
Optimization of geometrical parameters in a
specific composite lattice structure using neural
networks and ABC algorithm, J. Mech. Sci.
Technol. 30 (2016) 1763–1771.
[19] J. Sun, M. Rahman, Y.S. Wong, G.S. Hong,
Multiclassification of tool wear with support vector
machine by manufacturing loss consideration, Int.
J. Mach. Tools Manuf. 44 (2004) 1179–1187.
[20]M. Gupta, S. Raman,: Machine Vision Assisted Cha
racterization of Machined Surfaces, International
Journal of Production Research, 39 (2001)759–784.
[21]A.A. Kassim, Z. Mian, M.A. Mannan, Tool
condition classification using hidden markov model
based on fractal analysis of machined surface
textures, Machine Vision and Applications, 17
(2006) 327–336.
[22] D. Nathan, G. Thanigaiyarasu, K. Vani, Study on
the relationship between surface roughness of
AA6061 alloy end milling and image texture
features of milled surface, Procedia Eng. 97
(2014)150–157. doi:10.1016/j.proeng.2014.12.236.
[23] S. Suarez, E. Alegre, P. Morala-Argüello, J.B.
Víctor González-Castro, Classification and
Correlation of Surface Roughness in Metallic Parts
Using Texture Descriptors, in: Proceeding Ann.
DAAAM, 2009 1293–1295.
[24] J.S. Weszka, C.R. Dyer, A. Rosenfeld, Compa
rative Study of Texture Measures for Terrain
Classification., IEEE Trans. Syst. Man Cybern.
SMC-6 (1976) 269–285.
[25] C. Cortes, V. Vapnik, Support-Vector Networks,
Mach. Learn. 20 (1995) 273–297.
[26]R.Gujar, V.Vakharia, Prediction and validation of
alternative fillers used in micro surfacing mixdesign using machine learning techniques, Construction and Building Materials. 207 (2019) 519527.
[27] L. Breiman, Random forests, Mach. Learn. 45
(2001) 5–32.
[28]V. Vakharia, et al.: Bearing fault diagnosis using fea
ture ranking methods and fault identification algorithms, Procedia Engineering. Volume 144 (2016)
343-350.
[29 E.M. Karabulut,S.A.Ozel, T. İbrikçi, A comparative
study on the effect of feature selection on
classification accuracy, Procedia Technology.1
(2012) 323-327.
NOMENCLATURE
_G_ Number of gray level utilized
_µ_ Mean value of P
µx Mean value of Px
µy Mean value of Py
_σx_ Standard deviation of Px
_σy_ Standard deviation of Py
Fn Texture Feature Number
КЛАСИФИКАЦИЈА ТЕКСТУРЕ ОБРАЂЕНИХ
ПОВРШИНА КОРИШЋЕЊЕМ ОБРАДЕ
СНИМАКА И ТЕХНИКАМА МАШИНСКОГ
УЧЕЊА
Д.Р. Пател, В. Вакхарија, М.Б. Киран
Одређивање површинске текстуре на основу
снимака обрађених површина коришћењем техника
обраде снимака добија на значају последњих
деценија. Циљ рада је одређивање различите текстуре обрађених површина на основу снимака применом техника машинског учења. Помоћу ЦЦД
сензора прикупљани су снимци обрађених компонената. На основу снимака издвојено је дванаест
статистичких карактеристика и формиран је вектор
атрибута. Статистичке карактеристике су издвојене
помоћу Грејове матрице. Алгоритми за машинско
учење (РФ, СВМ, АНН и Ј48) су коришћени за
карактеризацију обрађених површина. Одређивање
текстуре обрађених површина на основу снимака је
FME Transactions VOL. 47, No 4, 2019 ▪ 871
извршено помоћу тренинга и десетоструком унакрсном валидацијом. Утврђено је да се коришћењем
АНН и РФ постиже прецизност тренинга од 100% и
прецизност валидације од 99%. Добијени резултати
потврђују ефикасност предложене методологије
одређивања текстуре помоћу снимака.
872 ▪ VOL. 47, No 4, 2019 FME Transactions
섹션 본문
섹션 본문이 없습니다.
참고문헌 25건
- Surface roughness classification using image processing Measurement · Elsevier BV · 2013 10.1016/j.measurement.2013.03.014
- Machine vision assisted characterization of machined surfaces International Journal of Production Research · Taylor & Francis · 2001 10.1080/00207540010011045
- Delamination analysis of the helical milling of carbon fiber-reinforced plastics by using the artificial neural network model Journal of Mechanical Science and Technology · Springer Science+Business Media · 2014 10.1007/s12206-013-1135-2
- Application of digital image magnification for surface roughness evaluation using machine vision International Journal of Machine Tools and Manufacture · Elsevier BV · 2004 10.1016/j.ijmachtools.2004.07.001
- Image texture analysis: methods and comparisons Chemometrics and Intelligent Laboratory Systems · Elsevier BV · 2004 10.1016/j.chemolab.2004.02.005
- Study On the Relationship between Surface Roughness of AA6061 Alloy End Milling and Image Texture Features of Milled Surface Procedia Engineering · Elsevier BV · 2014 10.1016/j.proeng.2014.12.236
- Multiclassification of tool wear with support vector machine by manufacturing loss consideration International Journal of Machine Tools and Manufacture · Elsevier BV · 2004 10.1016/j.ijmachtools.2004.04.003
- Tool condition classification using Hidden Markov Model based on fractal analysis of machined surface textures Machine Vision and Applications · Springer Science+Business Media · 2006 10.1007/s00138-006-0038-y
- Auroral Sequence Representation and Classification Using Hidden Markov Models IEEE Transactions on Geoscience and Remote Sensing · Institute of Electrical and Electronics Engineers · 2012 10.1109/tgrs.2012.2195667
- Textural Features for Image Classification IEEE Transactions on Systems Man and Cybernetics · Institute of Electrical and Electronics Engineers · 1973 10.1109/tsmc.1973.4309314
- A comparative study on the effect of feature selection on classification accuracy Procedia Technology · Elsevier BV · 2012 10.1016/j.protcy.2012.02.068
- Channel optimization and nonlinear feature extraction for Electroencephalogram signals classification Computers & Electrical Engineering · Elsevier BV · 2015 10.1016/j.compeleceng.2015.03.015
- A vision system for surface roughness characterization using the gray level co-occurrence matrix NDT & E International · Elsevier BV · 2004 10.1016/j.ndteint.2004.03.004
- Use of digital image processing of microscopic images and multivariate analysis for quantitative correlation of morphology, activity and durability of electrocatalysts RSC Advances · Royal Society of Chemistry · 2012 10.1039/c2ra00574c
- One-dimensional Grey-level Co-occurrence Matrices for texture classification 2008 10.1109/itsim.2008.4631992
- A Statistical Approach to Texture Classification from Single Images International Journal of Computer Vision · Springer Science+Business Media · 2005 10.1007/s11263-005-4635-4
- A Comparative Study of Texture Measures for Terrain Classification IEEE Transactions on Systems Man and Cybernetics · Institute of Electrical and Electronics Engineers · 1976 10.1109/tsmc.1976.5408777
- Texture classification using rotation invariant models on integrated local binary pattern and Zernike moments EURASIP Journal on Advances in Signal Processing · Springer Science+Business Media · 2014 10.1186/1687-6180-2014-182
- Optimization of geometrical parameters in a specific composite lattice structure using neural networks and ABC algorithm Journal of Mechanical Science and Technology · Springer Science+Business Media · 2016 10.1007/s12206-016-0332-1
- Bearing Fault Diagnosis Using Feature Ranking Methods and Fault Identification Algorithms Procedia Engineering · Elsevier BV · 2016 10.1016/j.proeng.2016.05.142
- Performance analysis of texture classification techniques using shearlet transform 2016 10.1109/wispnet.2016.7566368
- Efficient fault diagnosis of ball bearing using ReliefF and Random Forest classifier Journal of the Brazilian Society of Mechanical Sciences and Engineering · Springer Science+Business Media · 2017 10.1007/s40430-017-0717-9
- Random Forests Machine Learning · Springer Science+Business Media · 2001 10.1023/a:1010933404324
- Prediction and validation of alternative fillers used in micro surfacing mix-design using machine learning techniques Construction and Building Materials · Elsevier BV · 2019 10.1016/j.conbuildmat.2019.02.136
- TEXTURE ANALYSIS WORLD SCIENTIFIC eBooks · World Scientific · 1999 10.1142/9789812384737_0007