Next Article in Journal
Simultaneous Voltammetric Determination of Acetaminophen, Ascorbic Acid and Uric Acid by Use of Integrated Array of Screen-Printed Electrodes and Chemometric Tools
Next Article in Special Issue
MLC-LSTM: Exploiting the Spatiotemporal Correlation between Multi-Level Weather Radar Echoes for Echo Sequence Extrapolation
Previous Article in Journal
IoT Based Heart Activity Monitoring Using Inductive Sensors
Previous Article in Special Issue
WePBAS: A Weighted Pixel-Based Adaptive Segmenter for Change Detection
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fuzzy Clustering Algorithm with Non-Neighborhood Spatial Information for Surface Roughness Measurement Based on the Reflected Aliasing Images

State Key Laboratory of Advanced Design and Manufacture for Vehicle Body, Hunan University, Changsha 410082, China
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(15), 3285; https://doi.org/10.3390/s19153285
Submission received: 29 May 2019 / Revised: 20 July 2019 / Accepted: 23 July 2019 / Published: 26 July 2019
(This article belongs to the Special Issue Sensors Signal Processing and Visual Computing 2019)

Abstract

:
Due to the limitation of the fixed structures of neighborhood windows, the quality of spatial information obtained from the neighborhood pixels may be affected by noise. In order to compensate this drawback, a robust fuzzy c-means clustering with non-neighborhood spatial information (FCM_NNS) is presented. Through incorporating non-neighborhood spatial information, the robustness performance of the proposed FCM_NNS with respect to the noise can be significantly improved. The results indicate that FCM_NNS is very effective and robust to noisy aliasing images. Moreover, the comparison of other seven roughness indexes indicates that the proposed FCM_NNS-based F index can characterize the aliasing degree in the surface images and is highly correlated with surface roughness (R2 = 0.9327 for thirty grinding samples).

1. Introduction

Surface roughness refers to the unevenness of surface, which is an important parameter in various technological and machining systems. For example, in aeronautical engineering, the flight dynamics and the wear are affected by the surface roughness of wing aircraft [1]. In agricultural spraying, the surface roughness is used to characterize leaf surface wettability [2,3]. In textile industry, the roughness measurement of fabric surface makes the evaluation of texture properties more efficient and objective [4]. The performance of optical systems is also influenced by the surface roughness of its components [5,6]. Usually, the final process of machining is the grinding process, which can directly affect the product aesthetics and roughness level. Since the roughness of workpiece has a great influence on its contact stiffness, friction wear, corrosion resistance, and fatigue resistance [7,8], the measurement of the grinding surface roughness will be studied in this paper.
Generally, the measurement techniques of surface roughness can be divided into contact and non-contact methods [9,10]. The most common contact type is the stylus method, which has been used extensively in a lot of systems and performs well [11]. The main attribution for the wide use of stylus device is the existence of traceable standards, while the stylus method still has some drawbacks. First of all, it can’t work online and its efficiency is low. Besides, the stylus tip cannot reach into all the valleys of the surface and the diamond stylus may scratch the surface. Under this circumstance, non-contact measurement methods have gained increasing attention in recent years. The main non-contact methods include optical systems [12,13], vibration signals analysis [14,15], and machine vision techniques [16,17]. Among these methods, the machine vision-based measurement is very efficient, flexible, and cost-effective. In addition, the machine vision methods can support online measurement.
In the process of machine vision measurement, the images of different roughness samples are firstly collected by an industrial camera. Then the roughness correlated features are extracted from these images to establish a roughness prediction model. Finally, the roughness of the unknown surface can be measured using these image features and the trained prediction model. In the conventional machine vision measurement methods, the roughness correlated features are usually extracted from the gray scale images [10,18,19]. Wei et al. presented a Gray Level Co-occurrence Matrix and Support Vector Machine-based method. This method was applied on the roughness measurement of a hole and achieved high predictive accuracy [10]. B. Ramamoorthy et al. presented a frequency domain features and neural network based surface roughness measurement. Experiment results showed that this intelligent visual measurement could obtain high measurement accuracy [20]. However, the sensitivity of these features to the roughness parameter may be affected, because the gray scale image lost the color information and the features mentioned above are all extracted from these degraded images. To address this problem, the color information has been studied to analyze the machined surface images [7,17,21]. Liu et al. proposed a color difference index to measure the roughness of grinding surface. This color index performs well on the surface roughness measurement, and presented high level of robustness [7].
As color images have more detail information, more accurate features can be extracted from these images to identify targets [22,23], but in previous works [7,17,21], only simple color indexes are proposed to characterize the surface images, which ignore the correlation between pixels and the spatial information of pixels. Moreover, appropriate image processing algorithm can be applied to fully characterizing the surface images and accurately measuring the surface roughness [11,24,25]. In this study, fuzzy c-means (FCM) clustering is employed to further analyze the color images reflected by grinding surface. Clustering [26,27,28] is the process of distinguishing and classifying things in accordance with some certain rules. FCM is the widely used clustering methods, it is based on fuzzy set theory [29] and follows an iterative process to obtain clusters and fuzzy cluster memberships [30,31]. Compared with the hard clustering scheme, in which each pixel of the image only can be classified to one cluster, the FCM algorithm allows each pixel to belong into all clusters with meaningful degree of membership [32,33]. Therefore, the FCM algorithm can preserve more image information and present more robust characteristics for ambiguity [34].
The research in our previous work [7,17] indicates that the aliasing degree of color images will strengthen as the surface roughness increases. In order to measure the surface roughness, the image aliasing degree can be analyzed by the FCM algorithm firstly. However, the color images reflected by grinding surface have high noise levels due to the effect of surface textures and other machining marks. Because the FCM algorithm is sensitive to noise and outliers [35,36], the direct use of this algorithm may not provide a good roughness measurement accuracy.
The spatial information have been introduced to enhance the robustness of original FCM algorithms [35,36,37]. Ahmed et al. [37] proposed FCM_S by introducing neighborhood spatial information. The intensity inhomogeneity of magnetic resonance images can be compensated by this algorithm. To reduce the computation cost of FCM_S, Cai et al. [38] presented a fast generalized FCM (FGFCM) algorithm by introducing a similarity measure. The computation cost of FGFCM is very little and the performance is well enhanced. However, some parameters are needed in these algorithms to control the balance among noise and image details. To overcome this problem, Stelios et al. [35] proposed a robust fuzzy local information C-Means clustering algorithm (FLICM). There is no parameter selection in this algorithm. But when the image is seriously corrupted, the above spatial information cannot achieve satisfactory results [39,40]. Thus, Zhao [40] proposed a novel FCM algorithm by incorporating non-local spatial information. The experiment results indicate that this algorithm performs well than the local spatial information based FCM algorithms. However, due to the fixed structures of neighborhood window, the quality of spatial information obtained from the neighborhood pixels may be affected by the noise. To augment the spatial sampling locations in the convolutional neural networks (CNNs), Dai et al. [41] proposed a deformable convolutional networks. Inspired by this idea, a robust FCM algorithm with non-neighborhood spatial information (FCM_NNS) is presented. The results indicate that FCM_NNS is effective and robust to noisy aliasing images.
The rest of this paper is organized as follows. The spatial information based FCM algorithms are briefly described in Section 2. Section 3 introduces our motivation and the FCM_NNS algorithm. The results are analyzed in Section 4. Section 5 is the conclusions.

2. Preliminary Theory

2.1. Fuzzy C-Means (FCM) Algorithm

The FCM algorithm was proposed by Dunn [42]. Subsequently, Bezdek [33] extended the objective function to a more general form. The FCM algorithm follows an iterative process to obtain clusters and fuzzy cluster memberships by minimizing the objective function:
J m = i = 1 c j = 1 N u i j m x j v i 2
where m ( 1 , ) is a weighting exponent, X = { x 1 , x 2 , , x N } R n is the dataset in the n-dimensional vector space, · denotes the Euclidean norm. v i ( i = 1 , 2 , , c ) is the cluster center of ith cluster, N and c are the number of input data and clusters, respectively. The array U = { u i j } c × N represents a membership matrix satisfying:
U { u i j [ 0 , 1 ] | i = 1 c u i j = 1 , j    and     0 < j = 1 N u i j < N , i }
Then, a solution can be obtained by updating the membership { u i j } and clusters { v i } as follows:
u i j = 1 r = 1 c ( x j v i x j v r ) 2 m 1
v i = j = 1 N u i j m x j j = 1 N u i j m
If max V ( k + 1 ) V ( k ) < ε or the number of iterations k > T then stop, the parameters ε   and T are iterative termination conditions.

2.2. Fuzzy Clustering with Constraints (FCM_S) and Its Variants

Ahmed et al. [37] presented a FCM_S, which allows the central pixel to be influenced by its neighborhood. The expression of objective function is as follows:
J F C M _ S = i = 1 c j = 1 N u i j m x j v i 2 + α N R i = 1 c j = 1 N u i j m r N j x r v i 2
where x r denotes the neighbor of x j , and N j denotes the pixels within neighborhood window around x j . α is the neighborhood term parameter, and N R is the cardinality. In addition, the objective function satisfies the constraints shown in Equation (2).
Chen et al. [43] presented FCM_S1 and FCM_S2 algorithms by adopting the mean and median values of the pixels within neighborhood window. Szilagyi et al. [44] proposed an enhanced FCM (EnFCM) to further reduce the computation cost. In addition, Cai et al. [38] presented a fast generalized FCM (FGFCM). This algorithm defines a new similarity measure. Its computation time is similar to EnFCM.

2.3. Fuzzy Local Information C-Means (FLICM) Clustering and Its Variants

The above FCM algorithms all need some parameters to control the balance among noise and image details. To compensate this drawback, Stelios et al. [35] proposed a fuzzy local information c-means (FLICM). There is no parameter selection in this algorithm. Specifically, FLICM introduces a fuzzy factor G i j defined as:
G i j = r N j r j 1 d j r + 1 ( 1 u i r ) m x r v i 2
where the jth is the central pixel in the neighborhood window, N j is the pixels around the jth pixel, d j r represents the distance between pixels j and r .
By incorporating the fuzzy factor G i j , the objective function of FLICM is expressed as follows
J F L I C M = i = 1 c j = 1 N [ u i j m x j v i 2 + G i j ]
More recently, Gong et al. [36,45] presented two variants of FLICM algorithm: fuzzy local information c-means with trade-off weighted fuzzy factor and kernel method (KWFLICM) and reformulated fuzzy local information c-means (RFLICM). The results show that the new algorithms are more effective.

2.4. Fuzzy Clustering Algorithm with Non-Local Spatial Constraint and Its Variants

Zhao [40] proposed a FCM algorithm by incorporating non-local spatial information (FCM_SNLS). When the image is seriously corrupted, the FCM_SNLS is more robust and effective than the local spatial information based FCM algorithms. By using the definition of neighborhood configuration, the non-local spatial information can be calculated as follows:
ϑ j = p W j r w j p x p
where W j r is a r × r search window around the jth pixel, the weight w j p satisfies 0 w j p 1 and p W j r w j p = 1 . Specifically, the w j p is defined as follows:
w j p = 1 Z j exp ( x ( N j ) x ( N p ) 2 , σ 2 / h 2 )
where x ( N j ) is a gray level vector within a s × s square neighborhood N j centered at the jth pixel. x ( N j ) x ( N p ) 2 , σ 2 represents a Gaussian weighted Euclidean distance, σ > 0 is the standard deviation of the Gaussian kernel. The parameter h is the filtering degree, and Z j is a constant.
More recently, Shang et al. [46] proposed a clone kernel spatial FCM (CKS_FCM). CKS_FCM improves the robustness to noise by incorporating both local and non-local spatial information.

3. Fuzzy C-Means Clustering Algorithm with Non-Neighborhood Spatial Information

The spatial information mentioned above are obtained from the pixels within neighborhood window, which may be affected by the noise due to the fixed structures of neighborhood window. The non-neighbor spatial information has not been considered yet. In this section, a robust FCM algorithm with non-neighbor spatial information (FCM_NNS) is proposed, and the aliasing degree of the surface images is analyzed by the proposed FCM_NNS. Notations and their descriptions used in the proposed algorithm are shown in Table 1.

3.1. Motivation and Notation

According to the analysis in reference [7], it can be known that the reflected area of the red and green points vary due to the different surface roughness. If the roughness increases, the reflected area will be larger and the aliasing area of two points will also be larger. The virtual images of the red and green points reflected by the surface with different roughness are illustrated in Figure 1.
In the process of measurement, the red and green points in Figure 1 are designed as a block, as shown in Figure 2a. From the above analysis, it can be found that the aliasing area increases monotonically as the roughness increases. Based on this theory, the feature index correlated with roughness can be designed by evaluating the aliasing effect. However, in the previous work, researches only count the number of pixels with the same red and green brightness values [21], or calculate the absolute difference between the brightness values of red and green components [7] to characterize the aliasing images. These approaches are obviously not comprehensive and reasonable, since the correlation between pixels and the spatial information of pixels are ignored. In this study, FCM algorithm is employed to analyze the aliasing images. The FCM is suitable for describing the uncertainty of the aliasing image, as shown in Figure 2b, and extracting more appropriate image feature index. However, the segmentation performance of conventional FCM will be influenced when dealing with the high noisy aliasing images. Thus, a robust FCM algorithm with non-neighbor spatial information (FCM_NNS) is presented to address this problem.

3.2. Initializing Cluster Centers

The conventional FCM clustering is a local search algorithm, which is sensitive to the initial cluster centers. If the initial cluster centers are appropriate, the convergence of the algorithm will be fast. Thus, it is crucial to initialize appropriate cluster centers.
When measuring the surface roughness by the red and green color blocks, the aliasing degree should be evaluated to characterize the surface image. It is obvious that the image is divided into three regions: red, green and aliasing, as shown in the Figure 2b, so the number of cluster centers can be set to 3. In [21], Liu et al. proposed color distribution statistical matrices (CDSM) to characterize the aliasing effect. The CDSM is a two-dimensional matrix to gather statistics of the red and green brightness levels. It represents the number of pixels with any red and green brightness level, as illustrated in Figure 3a. Then, the sum of the data in the diagonals of the CDSM is considered to the aliasing region and used to measure the surface roughness. It is not that reasonable to measure surface roughness in this way, but it can provide inspiration to initialize the cluster centers.
In the aliasing images, the brightness value of the green component decreases gradually from left to right, while the value of the red component increased from left to right, as illustrated in Figure 3b. So in the middle of the image, there is an aliasing region whose absolute value between the red and green brightness values is small. On both sides of aliasing region, there are two pure color regions with a large color difference. Therefore, if we set a threshold, all the pixels in the image can be preliminarily divided into three regions according to the color difference, as shown in Figure 3c. Specifically, Figure 3c is the CDSM of the image shown in Figure 3b, the blue points represent the pixels. If the threshold is set to be 10, the pixels in this image can be preliminarily segmented into red, aliasing and green regions. Then, the average brightness values of all the pixels in each region can be obtained as initial cluster centers. In summary, the process of initializing cluster centers is shown in Algorithm 1.
Algorithm 1 The process for initializing cluster centers
Input: aliasing image I;
Output: initial cluster centers V1;
Begin
1. Calculate the color difference between the red and green component of each pixel in the image;
2. Set a threshold K, and divide pixels into three regions according to the color difference;
3. Calculate the average red and green brightness values of all the pixels in each region to obtain the initial cluster centers V1.
End

3.3. Image Filtering Based on Non-Neighborhood Spatial Information

To improve the segmentation performance, some new FCM algorithms have been presented by introducing spatial information. However, when dealing with aliasing images, these algorithms often generate unsatisfactory results. Thus, a robust FCM by incorporating non-neighborhood spatial information is proposed here.
As shown in Figure 4a, in the direction of x, the green component of the aliasing image presents a linear decrease tendency. And in the direction of y, each column pixels basically has the same brightness value. Thus, this non-neighborhood spatial information in two directions can be used to improve the segmentation performance. It is not difficult to find that the non-neighborhood spatial information used in this task is to set the size of the window containing spatial information to an extreme case, which can make full use of the prior knowledge in the aliasing image. In addition, the neighborhood spatial information needs to calculate the filtering value of central pixel window by window, while the proposed non-neighborhood spatial information can directly obtain the filtering values of all the pixels in the non-neighborhood window, which greatly improves the efficiency of FCM algorithm. As shown in Figure 4a, the neighborhood spatial information needs to calculate 25 times through window movement to obtain the filtering values of all the pixels, while the proposed non-neighborhood spatial information only need five times.
For a pixel x i , j in the aliasing image, the non-neighborhood spatial information in two directions provide two reference brightness values, which can be obtained by fitting the brightness value of ith row pixels and averaging the brightness values of jth column pixels respectively, as shown in Figure 4a. The calculation formula for the two reference values x p 1 , x p 2 are expressed as follows:
x p 1 = b i × j + a i , i = 1 , , t , j = 1 , , r
x p 2 = 1 t k = 1 t x k , j   , j = 1 , , r
where x i , j denotes the pixel in ith row, jth column. The parameters t , r is the size of non-neighborhood window, and the linear regressive coefficient a, b can be obtained as follows:
b i = k = 1 r ( k x ¯ ) ( x i , k y ¯ ) k = 1 r ( k x ¯ ) 2 = 12 ( k = 1 r k x i , k r + 1 2 k = 1 r x i , k ) ( r 1 ) r ( r + 1 ) , i = 1 , , t
a i = y ¯ b x ¯ = 1 r k = 1 r x i , k b × 1 r k = 1 r k = 1 r k = 1 r x i , k ( r + 1 ) b 2     ,             i = 1 , , t
where x ¯ is the average of column numbers, and y ¯ is the average brightness values of pixels in ith row.
Then, by incorporating non-neighbor spatial information, a new image η can be generated as follows:
η i , j = x i , j + k = 1 2 E k x p k 1 + k = 1 2 E k
where x p 1 , x p 2 are the reference values of pixel x i , j , E 1 , E 2 are the similarity measure which are expressed as follows:
E k = x i , j x p k 2 λ k δ k 2 ,       k = 1 , 2
where λ 1 , λ 2 are two scale factors playing a role similar to factor λ s , λ g in FGFCM, and δ 1 , δ 2 are defined as:
δ 1 = k = 1 r x i , k , p 1 x i , k 2 r
δ 2 = k = 1 t x k , j , p 2 x k , j 2 t
where x i , j represents the brightness value of the pixel in the ith row, jth column, and x i , j , p 1 , x i , j , p 2 represents its reference brightness values.
There are many noise points in the aliasing images, which will damage the segmentation performance of the conventional FCM. To address this problem, the brightness values are adjusted according to the distance between the brightness value of each pixel and its reference value. As shown in Figure 4c, if the distance is large, the possibility that the pixel is a noisy point will be high, and the adjustment of the brightness value will also be large. Whereas the adjustment will be small when the distance is small. So the new image obtained by incorporating non-neighborhood spatial information can not only preserve robustness and noise insensitiveness, but also preserve details in aliasing images. In addition, the red and green components should be dealt through the above method respectively. Thus, the image segmentation results can be improved.
The non-neighborhood spatial information can be calculated by Equations (10)–(17), which is to set the size of the neighborhood window to an extreme case. It should be noted that the scale factors λ 1 , λ 2 in Equation (15) have heavily influence on the effectiveness of the non-neighbor spatial information. Specifically, too big values of λ 1 , λ 2 will cause this spatial information losing the image detail information. And too small values of λ 1 , λ 2 will lead the non-neighborhood spatial information to be still affected by the noise. Therefore, the parameters λ 1 , λ 2 should be obtained adaptively based on the noise level of the aliasing images. The calculations of adaptive λ 1 , λ 2 values of each row and column pixels are given as follows:
λ 1 , i = ( 1 r 1 j = 1 r ( d i , j , 1 d ¯ i ) 2 ) 1 2       ,       i = 1 , 2 , , t
λ 2 , j = ( 1 t 1 i = 1 t ( d i , j , 2 d ¯ j ) 2 ) 1 2 , j = 1 , 2 , , r
where:
d i , j , k = x i , j , p k x i , j ,       i = 1 , 2 , , t ,       j = 1 , 2 , , r ,     k = 1 , 2
and:
d ¯ i = 1 r j = 1 r d i , j , 1 , i = 1 , 2 , , t
d ¯ j = 1 t i = 1 t d i , j , 2     ,       j = 1 , 2 , , r

3.4. General Framework of FCM_NNS Iteration

By incorporating the non-neighborhood spatial information term and between-cluster variation term, a robust FCM algorithm, named FCM with non-neighborhood spatial information (FCM_NNS), is proposed. The objective function of FCM_NNS is expressed as follows:
J m = i = 1 c j = 1 N u i j m x j v i 2 + α i = 1 c j = 1 N u i j m η j v i 2 n ( k ) i = 1 c j = 1 N u i j m x ¯ v i 2
with the following constraints:
i = 1 c u i j = 1 , u i j [ 0 , 1 ] , 0 i = 1 N u i j N
where N is the number of pixels, c is the number of clusters, v i denotes the center of ith cluster, and u i j is the membership of x j belonging to the cluster i . m is a weighting exponent and x j denotes the pixels of the original image. The non-neighborhood spatial information η j is the new brightness value which is adjusted by the reference values. Furthermore, α controls the effect of the non-neighborhood spatial constrain term. x ¯ v i 2 is the between-cluster term and x ¯ denotes the mean of all pixels of the original image. n ( k ) controls the effect of the between-cluster separation term and is calculated as:
n ( k ) = ( β / 4 ) min K k v ( k ) v ( K ) 2 max j v j x ¯ 2
where β controls the effect of the between-cluster separation term.
By minimizing Equation (23), u i j and v i can be calculated by the following update equations:
u i j = 1 l = 1 c ( x j v i 2 + α η j v i 2 n ( k ) x ¯ v i 2 x j v l 2 + α η j v l 2 n ( k ) x ¯ v l 2 ) 1 / ( m 1 )
v i = j = 1 N u i j m ( x j + β η j n ( k ) x ¯ ) j = 1 N ( 1 + β n ( k ) ) u i j m
The details of FCM_NNS are illustrated in Algorithm 2.

3.5. Index Designing Based on the Clustering Results

When the results obtained by the FCM_NNS algorithm converged, a defuzzification process is applied to convert the membership partition U to a crisp partition. The common defuzzification method classifies the pixel i to the class C with the highest membership:
C i = arg i { max { u i j } } , i = 1 , 2 , , c , j = 1 , 2 , , N
The obtained membership matrix is converted to the segmented image by adopting Equation (28) firstly. After that, the surface image could be characterized by counting the number of pixels belonged to the aliasing class. However, the membership information in the fuzzy image is ignored in this way. It has great effects on the accurate measurement of surface roughness. To fully utilize the fuzzy information in clustering results, the index correlated with roughness can be designed as follows:
F = i = 1 N z i p
where N is the number of pixels, z i is the membership degree of ith pixel belonging to the aliasing region class, the parameter p is similar to the fuzzification factor m , which is a weighting exponent.
The details of FCM_NNS based roughness measurement method are shown in Algorithm 3.
Algorithm 2 The process of FCM_NNS
Input: The original image I;
Output: Cluster center V(t+1), membership degree U(t+1);
Begin
1. Input the image I, then set the number of clusters c , the fuzzification parameter m , the stopping condition ε and the maximum iteration number T , the spatial parameter α , the between-cluster parameter β , and the size of non-neighborhood search window r and t;
2. Initialize the cluster centers V ( 1 ) = [ v 1 ( 1 ) , v 2 ( 1 ) , v 3 ( 1 ) ] using Algorithm 1;
3. Obtain the non-neighborhood spatial information of each pixel using Equations (10)–(22);
4. Set the iterative index t = 1 ;
5.  While ( t < T )
6.   Compute the membership functions u i j ( t + 1 ) using Equation (26);
7.   Compute the cluster centers v i ( t + 1 ) using Equation (27);
8.   If V ( t + 1 ) V ( t ) < ε , then stop and output the membership degree U(t+1) and cluster center V(t+1); Otherwise, set t = t + 1 and go to the 6th step.
9.  End while
End
Algorithm 3 The process of roughness measurement method based on FCM_NNS
Input: The original image I;
Output: Roughness related feature indexes C and F;
Begin
1. Input the image I;
2. Obtain the cluster center V(t+1), and the membership degree U(t+1) using Algorithm 2;
3. Obtain segmented image Is from membership degree U(t+1) using Equation (28).
4. Compute the C index by counting the number of pixels in the aliasing region class of segmented image Is.
5. Compute the F index using Equation (29)
End

4. Experimental Results and Discussion

The results on one synthetic image and thirty aliasing images are discussed in this section. This study compares the performance and the efficiency of FCM_NNS with seven algorithms, such as FCM_S1 [43], FCM_S2 [43], FGFCM [38], FLICM [35], KWFLICM [36], FCM_NLS [40] and CKS_FCM [46]. Then, the effectiveness of the proposed C index and F index are validated by the comparisons between nine roughness indexes.

4.1. Experimental Equipment and Imaging Results

4.1.1. Sample Preparation

In this experiment, for the preparation of the following imaging experiment, the surface grinder KGS-250AH is used to process thirty 40 × 60 mm2 grinding samples. The material of these samples is 45# steel. The roughness range is 0.0675~0.5111 μm. Six different positions on the grinding samples are measured adopting a Form Talysurf PGI 800 stylus instrument (Taylor Hobson, Leicester, UK). The results are shown in Table A1 in the Appendix A.

4.1.2. Experimental Equipment

The imaging equipments are shown in Figure 5. The components of this optical system are listed as follows: (1) controller and light source; (2) a color CCD industrial camera; (3) an optical platform; (4) a red and green block; (5) a computer. During the imaging experiment, the measured surface and the color block puts 90° angle and 45° with the workbench, respectively. The axis of CCD camera is parallel to the color block, and the positions of these components remain unchanged.

4.1.3. Imaging Results

The imaging results are illustrated in Figure 6. It can be found that the aliasing regions appear in the middle of the surface images, and the image aliasing degree strengthens as the roughness increases, but due to the influence of surface textures and other machining marks, the aliasing images have a high noise level. In general, when the surface roughness is larger, the noise level of the aliasing image will be higher. Thus, a robust FCM algorithm is proposed to analyze this aliasing effect. Based on the clustering results, we design an index which is significantly correlated with the surface roughness.

4.2. Evaluation Indexes

In this section, the clustering results and the designed roughness index are investigated. Firstly, the segmentation accuracy (SA) values of eight fuzzy clustering algorithms are compared. The SA is expressed as follows [36]:
S A = i = 1 c A i C i j = 1 c C j
where c is the number of clusters, A i denotes the set of pixels classified to the i th class, while C i represents the corresponding correct classification in the reference segmented image.
However, when dealing with the aliasing images, the segmentation accuracy can’t be calculated by SA without ground truth. In this case, Partition coefficient v p c and partition entropy v p e [47] are employed to test the clustering performance. They are defined as follows:
v p c = j N i c u i j 2 N
and:
v p e = j N i c [ u i j log u i j ] N
The best performance is obtained when the value v p c is maximal or v p e is minimal. Finally, to contrast the performance of different roughness indexes, the coefficient of determination R2 [9] are adopted:
R 2 = 1 ( y y ) 2 ( y y ¯ ) 2
where y is the value measured by stylus, y ¯ is the average value of y, and y is the predicted regression value.

4.3. Performance Comparison of Clustering Algorithms and Parameter Analysis

The comparative clustering algorithms and the corresponding parameters are illustrated in Table 2. For all the algorithms, the threshold ε and the maximal iteration T are set to be 10−5 and 300, respectively. The fuzziness index m is set to be 2. The size of the neighborhood window is set to be 3 × 3 . In addition, we set β = 6 for FCM_S1, FCM_S2, SNIS-FCM and CKS-FCM. The parameters λ g and λ s of FGFCM are set to be 6 and 3, respectively [38]. The parameters r and s are set to be 5 and 5 for FCM_NLS. Finally, the parameters α , β , λ 1 and λ 2 of the proposed FCM_NNS are analyzed in this section.

4.3.1. Parameter Analysis

In this experiment, thirty aliasing images and one synthetic image are used to test the segmentation performance of eight FCM algorithms.
A method for initializing cluster centers is given in this paper. The aliasing image in Figure 6d is used for testing. The objective function values of FCM_NNS of 10 runs through random initialization are shown in Figure 7. Moreover, that value through the proposed initialization method under the threshold K value varying from 5 to 15 with steps of 5 are also presented in Figure 7. It can be found that the initial value obtained by the proposed method under different thresholds makes the clustering algorithm converge rapidly. And the objective function converge completely only after five iterations. However, the random initialization needs fifteen iterations to complete convergence, which proves the effectiveness of the proposed initialization method.
The size of non-neighborhood search window r and t is investigated here. The aliasing image in Figure 6d is used for testing. The row size r is set to vary from 10 to 400 and the column size t is set to vary from 10 to 600. The average vpc and vpe of 10 runs through FCM_NNS with different size of non-neighborhood search window are shown in Figure 8. It can be seen that the size of non-neighborhood search window affect the results. It is shown in Figure 8a that with each t, the partition coefficient vpc is low when the value of row size r is 10. When r is larger than 10, the vpc becomes higher. The curve of partition coefficient vpc rises acutely with the increase of r from 10 to 50. And when r is 400, the vpc reaches maximum value. Moreover, with each r, the partition coefficient vpc presents increasing tendency with t from 10 to 600. The partition entropy vpe presents decreasing tendency with t from 10 to 600. In addition, as can be known from the calculation of non-neighborhood spatial information, when the size of non-neighborhood search window is larger, the computational cost will be smaller. So, with considering the performance and computational cost, the row and column sizes are chose to be r = 400 and t = 600, respectively.
As mentioned in the third section, the scale factors λ 1 and λ 2 have great effect on FCM_NNS. Here, this study compares the segmentation performance of FCM_NNS under the parameters λ 1 and λ 2 varying from 1 to 9 in steps of 2. The aliasing image in Figure 6d is used for testing. The average v p c and v p e values of 10 runs under different scale factors are shown in Figure 9. To prove the superiority of adaptive λ 1 and λ 2 values obtained by Equations (18)–(22), the average v p c and v p e values under adaptive λ 1 and λ 2 values are also presented in Figure 9. It can be seen that the scale factors λ 1 and λ 2 affect the segmentation results. For each λ 1 , the curve of partition coefficient v p c reduces acutely with the increase of λ 2 from 1 to 9. The curve of partition entropy v p e rises acutely with the increase of λ 2 from 1 to 9. Moreover, with each λ 2 , the partition coefficient v p c reduces acutely with the increase of λ 1 from 1 to 9. The partition entropy v p e rises acutely with the increase of λ 1 from 1 to 9. Therefore, it is important to set an appropriate λ 1 and λ 2 values for FCM_NNS. Figure 9 shows that the adaptive values of λ 1 and λ 2 achieve the best performance, the maximum value of v p c and the minimum value of v p e are reached, at which point the values are 0.7881 and 0.3793, respectively.
In the proposed FCM_NNS, two free parameters α and β need to be analyzed. Parameter α controls the effect of the non-neighborhood filtering term and β controls the effect of the between-cluster separation term. These two parameters are studied on the aliasing image illustrated in Figure 6d. The partition coefficient v p c and partition entropy v p e of FCM_NNS with different values of α and β are shown in Figure 10.
As shown in Figure 10a, with the increase of α from 1 to 200 and of β from 1 to 8, the partition coefficient v p c value increases. When α is 200 and β is 8, the value of partition coefficient v p c reaches its maximum value, and when α is larger than 200, the value of partition entropy v p c begins to reduce. From Figure 10b, it can be found that the value of partition entropy v p e decreases significantly with the increase of α from 1 to 200. And when α is larger than 200, the value of partition entropy v p e begins to increase. The best performance is obtained when the v p c is maximal or v p e is minimal. Hence, the parameters setting are α = 200 and β = 8 .

4.3.2. Results on Synthetic Images

Firstly, these FCM algorithms are tested by one synthetic test image. The synthetic image is similar to the color block used in the surface imaging experiments. This image with 128 × 128 pixels includes two classes with 20 and 120 gray values, as illustrated in Figure 11a. The number of clusters is 2, and the test synthetic image is corrupted by Gaussian noise. Furthermore, the size of the non-neighborhood window is set to be the image size, the parameters α , β of FCM_NNS are set to be 200 and 8, and the scale factors λ 1 and λ 2 are obtained by Equations (18)–(22).
Figure 11 shows the segmentation results of a corrupted image by Gaussian noise ( 20 % ). As shown in Figure 11c–e, FCM_S1, FCM_S2 and FGFCM are seriously affected by the noise, which shows that these clustering algorithms lack enough robustness with respect to the Gaussian noise. Moreover, Figure 11f–h illustrates that FLICM, KWFLICM and FCM_SNLS can remove the majority of the noise, but the clustering results are still not satisfactory enough. In addition, Figure 11i,j shows that CKS_FCM and the proposed algorithm can remove almost all the noise and achieve satisfactory and robust results, but CKS_FCM is very time-consuming compared with the proposed algorithm.
Table 3 gives the average SA value of the above FCM algorithms on the noisy images corrupted by varying degrees of noise. Each experimental result is obtained by computing the mean value of 10 independent runs. It can be found out that the proposed FCM_NNS algorithm can achieve the best denoising performance compared with the other seven compared algorithms, and can get clear segmented area with high veracity as well.

4.3.3. Results on Aliasing Images

Figure 12a–h and Figure 13a–h show the segmentation results on aliasing images with different roughness obtained by FCM_S1, FCM_S2, FGFCM, FLICM, KWFLICM, FCM_SNLS, CKS_FCM and FCM_NNS, respectively.
The original images are shown in Figure 6 and they were segmented into three classes corresponding to the green region, aliasing region and red region. As shown in Figure 12, it can be observed that when dealing with the aliasing image reflected by small roughness surface, all the above mentioned algorithms can obtain relatively satisfactory results, but the last algorithm has obvious advantages in preserve the effective edge information of the aliasing region.
In addition, when the reflected grinding surface has a large roughness, the results in Figure 13 illustrate that FCM_S1, FCM_S2, FGFCM and FCM_SNLS has bad segmentation performance. FLIFCM, and KWFLICM obtain wrong segmentation results in some areas due to only the neighborhood spatial information is used. Moreover, FCM_NNS and CKS_FCM achieve satisfactory results for removing the effect of the noises, and the proposed FCM_NNS algorithm are superior to other algorithms for the effective retention of the details in the aliasing region.
Figure 14 gives the vpc and vpe values of the proposed and the compared algorithms on thirty aliasing images reflected by grinding samples with different roughness. In Figure 14, with the increase of sample serial number N, the surface roughness of grinding samples increases gradually. It can be seen found Figure 14 that the surface roughness affects the segmentation performance. The curve of partition coefficient vpc reduces with the increase of roughness and the curve of partition entropy vpe rises with the increase of roughness. In addition, it can be found that FCM_NNS has some certain advantages on validity functions vpc and vpe, but the advantages are not obvious. The vpc value of FCM_NNS is larger than that value obtained by FCM_S1 and FCM_S2, and the vpe value of FCM_NNS is less than that value obtained by FCM_S1 and FCM_S2.
The idea of using vpc and vpe is that the partition with less fuzziness means better performance. However, the effective edge information in aliasing images is highly fuzzy, too ideal vpc and vpe will lead to the loss of fuzzy information in aliasing images, but contrary to the accuracy measurement of surface roughness. In Figure 12 and Figure 13, it can be found that misclassified pixels of FLICM, KWFLICM and CKS_FCM incorporating fuzzy factor Gij are lumped together in transitional region. This is because in order to obtain better performance on vpc and vpe, they force the pixels in transitional region to be classified into a certain class with higher membership, which may damage the effective fuzzy information of pixels. Thus, although the fuzzy factor Gij has strong robustness to noise, it has poor performance in accurately describing the membership of high fuzzy image pixels. Because our ultimate goal is to measure the surface roughness by analyzing the image aliasing degree, and the proposed F index is based on the membership information, so these clustering algorithm-based roughness measurements need to be further evaluated by comparing the performance of the roughness index obtained by the corresponding clustering results.
The segmentation results of FCM_NNS on aliasing images reflected by grinding samples with different roughness are shown in Figure 15. These results illustrate that with the surface roughness increases, the area of aliasing region increases monotonically. Therefore, the feature index can be designed based on the clustering results to evaluate the surface roughness. The effectiveness of the proposed C index and F index are validated by the comparisons between nine roughness indexes in the next section.
Moreover, it can be found from Figure 6 and Figure 15 that when the surface roughness is small, the noise level of aliasing image is low, and the segmentation result is better than other three images in the meanwhile. And when the surface roughness is large, the segmentation results become worse due to the influence of surface textures and other machining marks.
Finally, the time cost of these clustering algorithms on the images with different size is investigated, as shown in Figure 16. All experiments were performed on an Intel(R) Xeon(R) CPU E5-2620 V4 @ 2.10 GHZ, 2.10 GHZ, Windows 10 computer using MATLAB 2017b. It can be seen from Figure 16 that the time cost is similar when the image size is small. With the increasing of the image size, the CKS-FCM and KWFLICM algorithms are more time consuming than other algorithms. The proposed FCM_NNS algorithm is much faster than other compared algorithms.
The results of two groups of experiments indicate that the proposed algorithm performs well. Misclassified pixels are reduced and SA is significantly improved compared to other seven algorithms on Synthetic images and the proposed algorithm can not only preserve robustness and noise insensitiveness, but also preserve the effective fuzzy information of aliasing images. Moreover, the computing speed of FCM_NNS is much faster than other compared algorithms, which meets the requirement of in-process measurement of surface roughness in grinding process.

4.4. Comparison of Roughness Assessment Indexes

The above clustering results indicate that with the increase of surface roughness, the area of aliasing region increases monotonically. Therefore, the feature index can be designed based on the clustering results to evaluate the surface roughness. Generally speaking, the fuzzy images can be first converted to the crisp segmented images by Equation (28). After that, the surface image can be characterized by counting the number of pixels in the aliasing region class (C index). However, the membership information in the fuzzy image is ignored in this index. This has bad effects on the accurate measurement of surface roughness. To fully utilize the effective information in clustering results, another index (F index) is designed in Equation (29). The coefficient of determination R2 values computed by FCM_NNS based on F index with different parameter p is shown in Figure 17.
As shown in Figure 17, with the increases of p from 0.05 to 0.65, the coefficient of determination R2 value increases. When p is 0.65, the value of R2 reaches its maximum value. And when p is larger than 0.65, the value of R2 begins to decrease. The best fitting result is obtained when the value of R2 is maximal. Hence, the parameters setting are p = 0.65 .
Figure 18 illustrates the fitting results between the surface roughness and FCM_NNS based indexes on the thirty aliasing images. The number of pixels in the aliasing class (C index) versus the surface roughness is shown Figure 18a. Figure 18a indicates that as the roughness increases, the number of pixels in the aliasing region class increases. The regression equation and the R2 for the relationship between C index and roughness are given by:
y = 55103 x + 52246                   ( R 2 = 0.8341 )
where y is the number of pixels in the aliasing region class; x is the surface roughness.
The regression equation and the R2 for the relationship between F index and roughness (Figure 18b) are given by:
y = 0.25 x + 0.32 ( R 2 = 0.9327 )
where y is the value of F index; x is the surface roughness.
From Figure 18, it can be found that the FCM_NNS algorithm can be used in roughness measurement. The experimental results indicated that the FCM_NNS based segmentation results can characterize the aliasing degree in the surface image and highly correlated with roughness. ( R 2 = 0.9327 for the F index and 0.8341 for the C index). To prove the superiority of the proposed measurement, the correlation between different indexes and roughness are compared in the following.
The average of the gray values Ga [7,20] is the main roughness index in spatial domain, and the major peak frequency F1 [10,20] is the representative roughness index in frequency domain. The entropy En index represents the image’s information content, which can be used to measure the roughness [48,49]. Recently, the color information based indexes have been studied to measure the roughness. The color difference CD [7], the overlap degree S [21], the mixing region area MRA and the relative mixing degree RMD [17] are four recently proposed color indexes. Therefore, the indexes used for comparison are Ga, F1, En, CD, S, MRA, RMD and the proposed C and F indexes in Equations (28) and (29).
It can be found from Table 4 that Ga, F1 and En have poorer fitting effects than the other four color information indexes, which proves the effectiveness of the color information-based indexes. Then, the results in Figure 18, Table 4 and Table 5 show that the proposed FCM_NNS based F index is strongly correlated with surface roughness even if aliasing images are at high noise levels. The value of R2 for FCM_NNS based F index is higher than other compared roughness indexes, which can verify the feasibility and superiority of the proposed surface roughness measurement. The proposed FCM_NNS can not only preserve robustness and noise insensitiveness, but also preserve effective fuzzy details in aliasing images, so the values of R2 for FCM_NNS-based C index and F index are larger than that values of other compared clustering algorithms. Moreover, F index is designed based on the fuzzy information in the segmentation images, which has better fitting effect than C index.

5. Conclusions

In this study, a robust FCM algorithm with non-neighborhood spatial information is proposed for surface roughness measurement. The proposed FCM_NNS algorithm can analyze the aliasing degree of a surface image, which can overcome the disadvantages of the FCM algorithms with neighborhood spatial information. Specifically, a method for obtaining appropriate initial cluster centers is proposed firstly to enable the FCM_NNS algorithm converges to the global optimum rapidly. In order to improve the robustness to noise and preserve effective fuzzy details in aliasing images, the non-neighborhood spatial information is extracted from those aliasing images. In the proposed algorithm, the adaptive scale factors λ1, λ2 are directly determined by the noise level of the aliasing image. The experimental results indicate that FCM_NNS is very effective and efficient.
To fully utilize the fuzzy information in clustering results, the F index is designed based on the partition matrix to evaluate the surface roughness. The comparison of roughness assessment indexes indicate that the proposed FCM_NNS based F index is strongly correlated with surface roughness even if aliasing images are at high noise levels. The coefficient of determination R2 is 0.9327 for thirty grinding samples. Moreover, the value of R2 for FCM_NNS based F index is higher than that values of other roughness indexes, which can verify the feasibility and superiority of the proposed surface roughness measurement method.

Author Contributions

Conceptualization, H.Z.; Data curation, H.Z. and X.Y.; Formal analysis, L.C.; Funding acquisition, J.L.; Supervision, J.L.; Writing—original draft, H.Z.; Writing—review & editing, J.L. and N.C.

Funding

This work is supported by the China-Japan Science and Technology Joint Committee of the Ministry of Science and Technology of the People’s Republic of China (Grant No. 2017YFE0128400), the Key Project of Science and Technology of Changsha (Grant No. kq1804005), the Foundation for Innovative Research Groups of the National Natural Science Foundation of China (Grant No. 51621004), the Innovation on working methodology of Ministry of Science and Technology of the People’s Republic of China (Grant No. 2016IM030300), the Independent research work of State Key Laboratory of Advanced Design and Manufacture for Vehicle Body (Grant No. 71675001), and the Intelligent Manufacturing Integrated Standardization and New Model Application Project of Minister of Industry and Information Technology of the People’s Republic of China (Grant No. 2016ZXFM02016).

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Table A1. Six roughness measurement (units: μ m ) made using stylus-based method.
Table A1. Six roughness measurement (units: μ m ) made using stylus-based method.
No.FirstSecondThirdFourthFifthSixthAverageSt.dev.
10.03080.03860.04370.03300.04100.04780.03920.0064
20.09340.07220.07270.07740.07280.04530.07230.0155
30.05420.10050.10050.09280.08780.07900.08580.0175
40.07370.09320.08840.06430.09200.12650.08970.0213
50.14720.16920.18750.16210.17860.17380.16970.0140
60.11660.21690.19940.16000.23790.14790.17980.0459
70.24800.16000.14950.16350.20880.18060.18510.0372
80.18550.19960.19220.18920.19620.2010.19400.0061
90.20880.18130.19960.18280.2060.1990.19630.0116
100.20630.19140.18320.17460.19820.24210.19930.0237
110.21930.21930.22790.2470.22280.24150.22960.0119
120.20580.21840.25570.25290.23850.23670.23470.0195
130.22680.23560.25050.24390.25120.23220.24000.0101
140.24230.21940.25350.2570.2760.24310.24860.0188
150.25540.2820.26450.27930.23430.24710.26040.0186
160.25710.26990.2310.26760.2630.28110.26160.0170
170.26460.25180.27910.28960.26820.25630.26830.0141
180.25170.27630.30040.25970.2680.26940.27090.0168
190.28250.30540.25780.26060.30430.26760.27970.0213
200.23010.24710.45020.35750.27090.18710.29050.0965
210.31330.28390.31980.28560.29530.28060.29640.0165
220.31850.29370.28860.31030.31630.30980.30620.0122
230.31390.30960.2990.30080.30660.30980.30660.0057
240.36480.36480.33690.27650.3440.27760.32740.0406
250.36320.29730.38060.34950.31490.31060.33600.0332
260.39970.37000.29510.36660.37750.36200.36180.0353
270.38130.38130.40960.40920.40030.38300.39410.0138
280.41630.43520.40360.42310.43120.44180.42520.0139
290.36050.37630.40240.52310.44700.44740.42610.0594
300.44810.50970.52640.46630.55500.46470.49500.0418

References

  1. Salazar, F.; Barrientos, A. Surface roughness measurement on a wing aircraft by speckle correlation. Sensors 2013, 13, 11772–11781. [Google Scholar] [CrossRef] [PubMed]
  2. Nairn, J.J.; Forster, W.A.; Leeuwen, R.M.V. Quantification of physical (roughness) and chemical (dielectric constant) leaf surface properties relevant to wettability and adhesion. Pest Manag. Sci. 2011, 67, 1562. [Google Scholar] [CrossRef] [PubMed]
  3. Bediaf, H.; Sabre, R.; Journaux, L.; Cointault, F. Comparison of leaf surface roughness analysis methods by sensitivity to noise analysis. Biosyst. Eng. 2015, 136, 77–86. [Google Scholar] [CrossRef]
  4. Wang, X.; Georganas, N.D.; Petriu, E.M. Fabric Texture Analysis Using Computer Vision Techniques. IEEE Trans. Instrum. Meas. 2010, 60, 44–56. [Google Scholar] [CrossRef]
  5. Duparre, A.; Ferre-Borrull, J.; Gliech, S.; Notni, G.; Steinert, J.; Bennett, J.M. Surface characterization techniques for determining the root-mean-square roughness and power spectral densities of optical components. Appl. Opt. 2002, 41, 154. [Google Scholar] [CrossRef] [PubMed]
  6. Werth, N.; Salazarbloise, F.; Koch, A. Influence of roughness in the phase-shifting speckle method: An experimental study with applications. Rev. Sci. Instrum. 2014, 85, 015114. [Google Scholar] [CrossRef] [PubMed]
  7. Yi, H.; Liu, J.; Ao, P.; Lu, E.; Zhang, H. Visual method for measuring the roughness of a grinding piece based on color indices. Opt. Express 2016, 24, 17215–17233. [Google Scholar] [CrossRef]
  8. Arriandiaga, A.; Portillo, E.; Sánchez, J.; Cabanes, I.; Pombo, I. Virtual Sensors for On-line Wheel Wear and Part Roughness Measurement in the Grinding Process. Sensors 2014, 14, 8756–8778. [Google Scholar] [CrossRef] [Green Version]
  9. Aulbach, L.; Salazar Bloise, F.; Lu, M.; Koch, A. Non-Contact Surface Roughness Measurement by Implementation of a Spatial Light Modulator. Sensors 2017, 17, 596. [Google Scholar] [CrossRef]
  10. Liu, W.; Tu, X.; Jia, Z.; Wang, W.; Ma, X.; Bi, X. An improved surface roughness measurement method for micro-heterogeneous texture in deep hole based on gray-level co-occurrence matrix and support vector machine. Int. J. Adv. Manuf. Technol. 2013, 69, 583–593. [Google Scholar] [CrossRef]
  11. Jeyapoovan, T.; Murugan, M. Surface roughness classification using image processing. Measurement 2013, 46, 2065–2072. [Google Scholar] [CrossRef]
  12. Samtaş, G. Measurement and evaluation of surface roughness based on optic system using image processing and artificial neural network. Int. J. Adv. Manuf. Technol. 2014, 73, 353–364. [Google Scholar] [CrossRef]
  13. Yilbas, Z.; Hasmi, M.S. J Surface roughness measurement using an optical system. J. Mater. Process. Technol. 1999, 88, 10–22. [Google Scholar] [CrossRef]
  14. García Plaza, E.; Núñez López, P.J. Application of the wavelet packet transform to vibration signals for surface roughness monitoring in CNC turning operations. Mech. Syst. Signal Process. 2018, 98, 902–919. [Google Scholar] [CrossRef]
  15. García Plaza, E.; Núñez López, P.J. Surface roughness monitoring by singular spectrum analysis of vibration signals. Mech. Syst. Signal Process. 2017, 84, 516–530. [Google Scholar] [CrossRef]
  16. Kumar, R.; Kulashekar, P.; Dhanasekar, B. Application of digital image magnification for surface roughness evaluation using machine vision. Int. J. Mach. Tools Manuf. 2005, 45, 228–234. [Google Scholar] [CrossRef]
  17. Zhang, H.; Liu, J.; Chen, S.; Wang, W. Novel roughness measurement for grinding surfaces using simulated data by transfer kernel learning. Appl. Soft Comput. 2018, 73, 508–519. [Google Scholar] [CrossRef]
  18. Dhanasekar, B.; Ramamoorthy, B. Restoration of blurred images for surface roughness evaluation using machine vision. Tribol. Int. 2010, 43, 268–276. [Google Scholar] [CrossRef]
  19. Gadelmawla, E.S. A vision system for surface roughness characterization using the gray level co-occurrence matrix. NDT E Int. 2004, 37, 577–588. [Google Scholar] [CrossRef]
  20. Priya, P.; Ramamoorthy, B. The influence of component inclination on surface finish evaluation using digital image processing. Int. J. Mach. Tools Manuf. 2007, 47, 570–579. [Google Scholar] [CrossRef]
  21. Liu, J.; Lu, E.; Yi, H. A new surface roughness measurement method based on a color distribution statistical matrix. Measurement 2017, 103, 165–178. [Google Scholar] [CrossRef]
  22. Kolaman, A.; Yadid-Pecht, O. Quaternion Structural Similarity: A New Quality Index for Color Images. IEEE Trans. Image Process. 2012, 21, 1526–1536. [Google Scholar] [CrossRef] [PubMed]
  23. Uno, Y.; Prasher, S.O.; Lacroix, R. Artificial neural networks to predict corn yield from Compact Airborne Spectrographic Imager data. Comput. Electron. Agr. 2005, 47, 149–1161. [Google Scholar] [CrossRef]
  24. Dhanasekar, B.; Mohan, N.K.; Bhaduri, B.; Ramamoorthy, B. Evaluation of surface roughness based on monochromatic speckle correlation using image processing. Precis. Eng. 2008, 32, 196–206. [Google Scholar] [CrossRef]
  25. Hu, Z.; Zhu, L.; Teng, J.; Ma, X.; Shi, X. Evaluation of three-dimensional surface roughness parameters based on digital image processing. Int. J. Adv. Manuf. Technol. 2009, 40, 342–348. [Google Scholar]
  26. Karmakar, G.C.; Dooley, L.S. A generic fuzzy rule based image segmentation algorithm. Pattern Recognit. Lett. 2002, 23, 1215–1227. [Google Scholar] [CrossRef]
  27. Chatzis, S.P.; Varvarigou, T.A. A Fuzzy Clustering Approach Toward Hidden Markov Random Field Models for Enhanced Spatially Constrained Image Segmentation. IEEE Trans. Fuzzy Syst. 2008, 16, 1351–1361. [Google Scholar] [CrossRef]
  28. Fan, J.L.; Zhen, W.Z.; Xie, W.X. Suppressed fuzzy c-means clustering algorithm. Pattern Recognit. Lett. 2003, 24, 1607–1612. [Google Scholar] [CrossRef]
  29. Zadeh, L. Fuzzy sets. Inf. Control 1965, 8, 338–353. [Google Scholar] [CrossRef] [Green Version]
  30. Qian, P.; Zhao, K.; Jiang, Y.; Su, K.H.; Deng, Z.; Wang, S.; Muzic, R.F., Jr. Knowledge-leveraged transfer fuzzy C-Means for texture image segmentation with self-adaptive cluster prototype matching. Knowl. Based Syst. 2017, 130, 33–50. [Google Scholar] [CrossRef]
  31. Tolias, Y.A.; Panas, S.M. Image segmentation by a fuzzy clustering algorithm using adaptive spatially constrained membership functions. IEEE Trans. Syst. Man Cybern. Part A Syst. Hum. 1998, 28, 359–369. [Google Scholar] [CrossRef]
  32. Han, Y.F.; Shi, P.F. An improved ant colony algorithm for fuzzy clustering in image segmentation. Neurocomputing 2007, 70, 665–671. [Google Scholar] [CrossRef]
  33. Bezdek, J.C. Pattern Recognition with Fuzzy Objective Function Algorithms; Plenum Press: New York, NY, USA, 1981. [Google Scholar]
  34. Pham, D.L.; Prince, J.L. An adaptive fuzzy C-means algorithm for image segmentation in the presence of intensity inhomogeneities. Pattern Recognit. Lett. 1998, 20, 57–68. [Google Scholar] [CrossRef]
  35. Krinidis, S.; Chatzis, V. A robust fuzzy local information C-Means clustering algorithm. IEEE Trans. Image Process. 2010, 19, 1328. [Google Scholar] [CrossRef] [PubMed]
  36. Gong, M.; Liang, Y.; Shi, J.; Ma, W.; Ma, J. Fuzzy C-means clustering with local information and kernel metric for image segmentation. IEEE Trans. Image Process. 2013, 22, 573–584. [Google Scholar] [CrossRef] [PubMed]
  37. Ahmed, M.N.; Yamany, S.M.; Mohamed, N.; Farag, A.A.; Moriarty, T. A modified fuzzy C-means algorithm for bias field estimation and segmentation of MRI data. IEEE Trans. Med. Imaging 2002, 21, 193–199. [Google Scholar] [CrossRef] [PubMed]
  38. Cai, W.; Chen, S.; Zhang, D. Fast and robust fuzzy c-means clustering algorithms incorporating local information for image segmentation. Pattern Recognit. 2007, 40, 825–838. [Google Scholar] [CrossRef] [Green Version]
  39. Zhao, F.; Jiao, L.; Liu, H.; Gao, X. A novel fuzzy clustering algorithm with non local adaptive spatial constraint for image segmentation. Signal Process. 2011, 91, 988–999. [Google Scholar] [CrossRef]
  40. Zhao, F. Fuzzy clustering algorithms with self-tuning non-local spatial information for image segmentation. Neurocomputing 2013, 106, 115–125. [Google Scholar] [CrossRef]
  41. Dai, J.; Qi, H.; Xiong, Y.; Li, Y.; Zhang, G.; Hu, H.; Wei, Y. Deformable Convolutional Networks. In Proceedings of the IEEE international Conference on Computer Vision, Venice, Italy, 22–29 October 2017; pp. 764–773. [Google Scholar]
  42. Dunn, J.C. A fuzzy relative of the ISODATA Process and Its Use in Detecting Compact Well-Separated Clusters. J. Cybern. 1973, 3, 32–57. [Google Scholar] [CrossRef]
  43. Chen, S.; Zhang, D. Robust image segmentation using FCM with spatial constraints based on new kernel-induced distance measure. Syst. Man Cybern. Part B Cybern. IEEE Trans. 2004, 34, 1907–1916. [Google Scholar] [CrossRef]
  44. Szilagyi, L.; Benyo, Z.; Szilágyi, S.M.; Adam, H.S. MR brain image segmentation using an enhanced fuzzy C-means algorithm. In Proceedings of the 25th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Cancun, Mexico, 17–21 September 2003; Volume 1, pp. 724–726. [Google Scholar]
  45. Gong, M.; Zhou, Z.; Ma, J. Change Detection in Synthetic Aperture Radar Images Based on Image Fusion and Fuzzy Clustering; IEEE Press: Piscataway, NJ, USA, 2012. [Google Scholar]
  46. Shang, R.; Tian, P.; Jiao, L.; Stolkin, R.; Feng, J.; Hou, B.; Zhang, X. A Spatial Fuzzy Clustering Algorithm With Kernel Metric Based on Immune Clone for SAR Image Segmentation. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2016, 9, 1640–1652. [Google Scholar] [CrossRef]
  47. Jaffar, M.A.; Naveed, N.; Ahmed, B.; Hussain, A.; Mirza, A.M. Fuzzy c-means clustering with spatial information for color image segmentation. In Proceedings of the 2009 Third International Conference on Electrical Engineering, Lahore, Pakistan, 9–11 April 2009. [Google Scholar]
  48. Sen, D.; Pal, S.K. Generalized Rough Sets, Entropy, and Image Ambiguity Measures; IEEE Press: Piscataway, NJ, USA, 2009. [Google Scholar]
  49. Sun, L.; Xu, J.; Tian, Y. Feature selection using rough entropy-based uncertainty measures in incomplete decision systems. Knowl. Based Syst. 2012, 36, 206–216. [Google Scholar] [CrossRef]
Figure 1. Reference object and its virtual image on different roughness surfaces.
Figure 1. Reference object and its virtual image on different roughness surfaces.
Sensors 19 03285 g001
Figure 2. Color block and the schematic of image aliasing.
Figure 2. Color block and the schematic of image aliasing.
Sensors 19 03285 g002
Figure 3. Initial cluster centers based on CDSM.
Figure 3. Initial cluster centers based on CDSM.
Sensors 19 03285 g003
Figure 4. Non-neighborhood spatial information. (a) Spatial information, (b) Aliasing image, (c) Non-neighborhood spatial information in the direction of x.
Figure 4. Non-neighborhood spatial information. (a) Spatial information, (b) Aliasing image, (c) Non-neighborhood spatial information in the direction of x.
Sensors 19 03285 g004
Figure 5. Experimental model and device.
Figure 5. Experimental model and device.
Sensors 19 03285 g005
Figure 6. Aliasing images (the roughness is 0.0392, 0.1697, 0.2964, 0.4261 μm, respectively). (a) 0.0392 μm, (b) 0.1697 μm, (c) 0.2964 μm, (d) 0.4261 μm.
Figure 6. Aliasing images (the roughness is 0.0392, 0.1697, 0.2964, 0.4261 μm, respectively). (a) 0.0392 μm, (b) 0.1697 μm, (c) 0.2964 μm, (d) 0.4261 μm.
Sensors 19 03285 g006aSensors 19 03285 g006b
Figure 7. Object function values of FCM_NNS with different number of iterations.
Figure 7. Object function values of FCM_NNS with different number of iterations.
Sensors 19 03285 g007
Figure 8. The partition coefficient vpc, and partition entropy vpe of FCM_NNS with different size of non-neighborhood information. (a) The partition coefficient vpc, (b) The partition entropy vpe.
Figure 8. The partition coefficient vpc, and partition entropy vpe of FCM_NNS with different size of non-neighborhood information. (a) The partition coefficient vpc, (b) The partition entropy vpe.
Sensors 19 03285 g008
Figure 9. The partition coefficient vpc, and partition entropy vpe of FCM_NNS with different scale factors. (a) The partition coefficient vpc, (b) The partition entropy vpe.
Figure 9. The partition coefficient vpc, and partition entropy vpe of FCM_NNS with different scale factors. (a) The partition coefficient vpc, (b) The partition entropy vpe.
Sensors 19 03285 g009
Figure 10. The partition coefficient v p c and partition entropy v p e values of FCM_NNS with different α and β . (a) The partition coefficient v p c , (b) The v p e partition entropy values.
Figure 10. The partition coefficient v p c and partition entropy v p e values of FCM_NNS with different α and β . (a) The partition coefficient v p c , (b) The v p e partition entropy values.
Sensors 19 03285 g010
Figure 11. Segmentation results of a synthetic image. (a) Original image, (b) the same image corrupted by Gaussian noise ( 20 % ), (c) FCM_S1 result, (d) FCM_S2 result, (e) FGFCM result, (f) FLICM result, (g) KWFLICM result, (h) FCM_SNLS result, (i) CKS_FCM result, (j) FCM_NNS result.
Figure 11. Segmentation results of a synthetic image. (a) Original image, (b) the same image corrupted by Gaussian noise ( 20 % ), (c) FCM_S1 result, (d) FCM_S2 result, (e) FGFCM result, (f) FLICM result, (g) KWFLICM result, (h) FCM_SNLS result, (i) CKS_FCM result, (j) FCM_NNS result.
Sensors 19 03285 g011
Figure 12. Segmentation results on the first aliasing image which roughness is 0.0392 μm. (a) FCM_S1 result, (b) FCM_S2 result, (c) FGFCM result, (d) FLICM result, (e) KWFLICM result, (f) FCM_SNLS result, (g) CKS_FCM result, (h) FCM_NNS result.
Figure 12. Segmentation results on the first aliasing image which roughness is 0.0392 μm. (a) FCM_S1 result, (b) FCM_S2 result, (c) FGFCM result, (d) FLICM result, (e) KWFLICM result, (f) FCM_SNLS result, (g) CKS_FCM result, (h) FCM_NNS result.
Sensors 19 03285 g012aSensors 19 03285 g012b
Figure 13. Segmentation results on the second aliasing image which roughness is 0.4261 μm. (a) FCM_S1 result, (b) FCM_S2 result, (c) FGFCM result, (d) FLICM result, (e) KWFLICM result, (f) FCM_SNLS result, (g) CKS_FCM result, (h) FCM_NNS result.
Figure 13. Segmentation results on the second aliasing image which roughness is 0.4261 μm. (a) FCM_S1 result, (b) FCM_S2 result, (c) FGFCM result, (d) FLICM result, (e) KWFLICM result, (f) FCM_SNLS result, (g) CKS_FCM result, (h) FCM_NNS result.
Sensors 19 03285 g013
Figure 14. The vpc and vpe values of the proposed and the compared algorithms on thirty aliasing images. (a) The vpc values of the proposed and the compared algorithms on thirty aliasing images, (b) The vpe values of the proposed and the compared algorithms on thirty aliasing images.
Figure 14. The vpc and vpe values of the proposed and the compared algorithms on thirty aliasing images. (a) The vpc values of the proposed and the compared algorithms on thirty aliasing images, (b) The vpe values of the proposed and the compared algorithms on thirty aliasing images.
Sensors 19 03285 g014
Figure 15. Segmentation results on four aliasing images whose roughness is 0.0392, 0.1690, 0.2964, 0.4261 μm, respectively. (a) 0.0392 μm, (b) 0.1690 μm, (c) 0.2964 μm, (d) 0.4261 μm.
Figure 15. Segmentation results on four aliasing images whose roughness is 0.0392, 0.1690, 0.2964, 0.4261 μm, respectively. (a) 0.0392 μm, (b) 0.1690 μm, (c) 0.2964 μm, (d) 0.4261 μm.
Sensors 19 03285 g015
Figure 16. Running time of the eight algorithms.
Figure 16. Running time of the eight algorithms.
Sensors 19 03285 g016
Figure 17. R2 values of FCM_NNS based F index with different parameter p.
Figure 17. R2 values of FCM_NNS based F index with different parameter p.
Sensors 19 03285 g017
Figure 18. Raw data and regression data. (a) FCM_NNS-based C index (b) FCM_NNS-based F index.
Figure 18. Raw data and regression data. (a) FCM_NNS-based C index (b) FCM_NNS-based F index.
Sensors 19 03285 g018
Table 1. Notations and their descriptions used in the proposed algorithm.
Table 1. Notations and their descriptions used in the proposed algorithm.
NotationDescriptionNotationDescription
K Threshold in Algorithm 1 R / G Red/green components
U = { u i j } / V = { v i } Membership matrix/centers x p 1 , x p 2 Reference values
x j / x ¯ The jth pixel/average value of pixel a i , b i Linear regressive coefficient
x i , j , x i , j , p 1 , x i , j , p 2 The pixel in ith row, jth column and corresponding reference values t , r Size of non-neighborhood window
η Filtered image E 1 , E 2 Similarity measure
λ 1 , λ 2 Scale factors σ 1 , σ 2 Scale parameters
d Distance between pixel and it reference value c / N The number of centers/the number of pixels
m Weighting exponent α , β Parameters in objective function
C , F Roughness correlated indexes z i The membership degree of ith pixel belonging to the aliasing region class
I / I s Input image/segmented image ε / T Stopping condition/maximum iteration number
J m / n ( K ) Objective function/between-cluster separation term parameter p Weighting exponent
Table 2. Comparative methods.
Table 2. Comparative methods.
MethodInput ParametersAppearance in
FCM_S1 [43] β , S R IEEE SMC Part B (2004)
FCM_S2 [43] β , S R IEEE SMC Part B (2004)
FGFCM [38] λ g , λ s PATTERN RECOGNITION (2007)
FLICM [35] S R IEEE Image Processing (2010)
KWFLICM [36] S R IEEE Image Processing (2013)
FCM_SNLS [40] β , r , s SIGNAL PROCESSING (2011)
CKS_FCM [46] β , S R , b IEEE J-STARS (2016)
Table 3. Segmentation accuracy (SA%) on the synthetic image.
Table 3. Segmentation accuracy (SA%) on the synthetic image.
NoiseFCM_S1FCM_S2FGFCMFLICMKWFLICMFCM_SNLSCKS_FCMFCM_NNS
Gaussian 15%98.2997.1597.6099.7699.8099.7099.7399.96
Gaussian 20%94.6592.6393.8099.3799.4299.5999.6899.93
Gaussian 30%85.1783.5684.1395.6796.5399.3299.1299.87
Salt & Pepper 15%99.1099.8998.6099.9299.9399.9399.9499.96
Salt & Pepper 20%97.3599.7295.7199.8899.9299.8199.8799.95
Salt & Pepper 30%83.5293.7184.1299.5299.6398.3699.3299.93
Table 4. Correlation coefficient values of comparative indexes.
Table 4. Correlation coefficient values of comparative indexes.
GaF1EnSCDMRARMD
R20.71790.72610.71740.77860.79160.81730.7984
Table 5. Correlation coefficient values of the improved FCM-based roughness indexes.
Table 5. Correlation coefficient values of the improved FCM-based roughness indexes.
FCM_S1FCM_S2FGFCMFLICMKWFLICMFCM_SNLSCKS_FCMFCM_NNS
R2 (Index C)0.27550.15560.67810.79350.76730.58000.78340.8341
R2 (Index F)0.87520.87120.74020.81490.83420.70610.89810.9327

Share and Cite

MDPI and ACS Style

Zhang, H.; Liu, J.; Chen, L.; Chen, N.; Yang, X. Fuzzy Clustering Algorithm with Non-Neighborhood Spatial Information for Surface Roughness Measurement Based on the Reflected Aliasing Images. Sensors 2019, 19, 3285. https://doi.org/10.3390/s19153285

AMA Style

Zhang H, Liu J, Chen L, Chen N, Yang X. Fuzzy Clustering Algorithm with Non-Neighborhood Spatial Information for Surface Roughness Measurement Based on the Reflected Aliasing Images. Sensors. 2019; 19(15):3285. https://doi.org/10.3390/s19153285

Chicago/Turabian Style

Zhang, Hang, Jian Liu, Lin Chen, Ning Chen, and Xiao Yang. 2019. "Fuzzy Clustering Algorithm with Non-Neighborhood Spatial Information for Surface Roughness Measurement Based on the Reflected Aliasing Images" Sensors 19, no. 15: 3285. https://doi.org/10.3390/s19153285

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop