Next Article in Journal
Machine Learning Techniques for Undertaking Roundabouts in Autonomous Driving
Next Article in Special Issue
A Hyperspectral Image Classification Method Based on Multi-Discriminator Generative Adversarial Networks
Previous Article in Journal
400 °C Sensor Based on Ni/4H-SiC Schottky Diode for Reliable Temperature Monitoring in Industrial Environments
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Adaptive Segmentation of Remote Sensing Images Based on Global Spatial Information

1
School of Aerospace Science and Technology, XIDIAN University, 266 Xinglong Section of Xifeng Road, Xian 710126, China
2
Research Institute of Vibration Engineering, ZhengZhou University, 100 Kexue Avenue of Gaoxin Section, ZhengZhou 450001, China
3
School of Life Sciences and Technology, XIDIAN University, 266 Xinglong Section of Xifeng Road, Xian 710126, China
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(10), 2385; https://doi.org/10.3390/s19102385
Submission received: 22 April 2019 / Revised: 9 May 2019 / Accepted: 20 May 2019 / Published: 24 May 2019
(This article belongs to the Special Issue Remote Sensing Image Processing and Analysis)

Abstract

:
The problem of image segmentation can be reduced to the clustering of pixels in the intensity space. The traditional fuzzy c-means algorithm only uses pixel membership information and does not make full use of spatial information around the pixel, so it is not ideal for noise reduction. Therefore, this paper proposes a clustering algorithm based on spatial information to improve the anti-noise and accuracy of image segmentation. Firstly, the image is roughly clustered using the improved Lévy grey wolf optimization algorithm (LGWO) to obtain the initial clustering center. Secondly, the neighborhood and non-neighborhood information around the pixel is added into the target function as spatial information, the weight between the pixel information and non-neighborhood spatial information is adjusted by information entropy, and the traditional Euclidean distance is replaced by the improved distance measure. Finally, the objective function is optimized by the gradient descent method to segment the image correctly.

1. Introduction

In recent years, clustering technology has played an important role in remote sensing image segmentation. The technique uses visual features such as image color, texture and shape to gather together areas with large similarity, so that the pixels in the same area are as similar as possible, and the pixels in different areas are as different as possible [1,2,3,4]. The fuzzy c-means (FCM) algorithm has the advantages of conforming to human cognitive characteristics, easy implementation, simple description and good segmentation effect [5]. Due to the FCM algorithm using fuzzy membership to measure the degree of pixels belonging to a certain class relative to the other segmentation algorithms, it can retain the original image information as much as possible [6]. It has been widely used in medicine and remote sensing image segmentation [7,8,9,10]. But the traditional FCM algorithm fails to consider the correlation between the grey features of each point and its neighborhood pixels in image segmentation, which makes the algorithm more sensitive to noise, low contrast, intensity inconsistency, and so on [11]. When imaging remote sensing images, due to the constraints of satellite imaging technology, problems such as unclear pixels, discrete pixels or block-forming pixels appear, which seriously affect the segmentation effect of FCM algorithm. In order to effectively solve these problems, researchers have proposed many improved FCM algorithms. Ahmed et al. [12] added spatial neighborhood information around pixels to the FCM algorithm, proposing the FCM_S algorithm. The objective function is modified to increase the robustness of the algorithm to noise points and improve the precision of the segmentation results. However, the FCM_S algorithm takes a long time to calculate the relationship between each pixel point and the surrounding neighborhood, resulting in high computational complexity and low efficiency. So, Chen and Zhang [13] proposed improved algorithms, FCM_S1 and FCM_S2. Before iterative calculation, these algorithms first evaluate the influence of neighborhood pixels on the center pixel, which is equivalent to filtering the image. The algorithm avoids repeated computation in iterations and reduces the time complexity of the algorithm effectively. Mean filtering and median filtering are used respectively in FCM_S1 and FCM_S2, which have good segmentation effect for images with Gauss noise and salt and pepper noise. Cai et al. [14] introduced a new local similarity measurement method, combined with local spatial distance and grey difference, and proposed the fast generalized fuzzy -means (FGFCM) clustering algorithms. This algorithm not only considers the spatial information of neighborhood pixels in the filtering function, but also considers the grey information of neighborhood pixels, which can better preserve the details of the image while filtering. In the above improved FCM algorithm, there are parameter settings, which have a significant impact on the segmentation results. Krinidis et al. [15] defined a new fuzzy factor, combining local spatial information and grey level information, and proposed the fuzzy local information C-Means (FLICM) algorithm. The algorithm effectively integrates the spatial information and grey level information of the neighborhood pixels, enhances the insensitivity of the algorithm to noise, and controls the weight between denoising and image details through adaptive adjustment of parameters. When the image noise is relatively serious, the neighborhood information of the pixel may also be polluted, so the neighborhood information based on the local space of the image cannot play an active guiding role in the image segmentation, making the fuzzy clustering algorithm that integrates the local space information unable to meet the requirements of high-precision image segmentation. To solve this problem, Zhao et al. [16] proposed a fuzzy c-means clustering algorithm based on non-local spatial information (the FCM_NLS algorithm). The algorithm first uses the non-local spatial information of image pixels to filter the original image, and then directly calls the result in the iteration, narrowing the time complexity of the algorithm. However, the FCM_NLS algorithm ignores the non-uniformity of noise distribution, so it is sensitive to noise and still has yet to be improved. Gong et al. [17] proposed a fuzzy c-means clustering algorithm based on local information and kernel metric (the KWFLICM algorithm). On the basis of the FLICM algorithm, this algorithm introduces kernel space and a similarity measurement factor, which greatly improve the segmentation effect and denoising ability. Although the FLICM and KWFLICM algorithms do not need to set additional parameters, their estimation of pixel attenuation in the neighborhood is still inaccurate, and part of the image information is not fully utilized, resulting in unsatisfactory anti-noise performance of the algorithm and inaccurate cutting results.
It is worth mentioning that nature-inspired computing is attracting more and more attention. Metaheuristic algorithms can find the segmentation threshold more accurately in image segmentation [18]. Two of the most popular algorithms are swarm intelligence (SI) and evolutionary algorithms (EAs). The stability and accuracy of the grey wolf optimization (GWO) algorithm has been clearly proved to be better than particle swarm optimization (PSO), gravitational search algorithm (GSA), differential evolution (DE), evolutionary programming (EP) and evolution strategy (ES), which are all well-known meta-heuristics [19]. Using the GWO algorithm to find the initial clustering center of the image is very beneficial. The initial clustering center can be found more accurately and stably to be prepared for subsequent calculations. However, in some cases, due to the lack of diversity of wolves, the GWO algorithm still faces the risk of local extreme stagnation when the traditional GWO algorithm cannot realize the smooth transition from exploration potential to development potential through multiple iterations. In the literature [20], the improved differential evolution grey wolf optimization (DEGWO) algorithm is used to find the segmentation threshold of synthetic aperture radar (SAR) images, and good segmentation effect is obtained. The Lévy GWO (LGWO) algorithm [21] is utilized to solve the global problem by introducing Lévy flight algorithm and balancing the exploration and development stage of the algorithm.
In this paper, an adaptive fuzzy c-means segmentation image algorithm based on global spatial information (the AFCM_GSI algorithm) is proposed. The LGWO algorithm was adopted to calculate the initial clustering center. By combining the neighborhood and non-neighborhood information of the image, the corresponding weight was calculated adaptively, and neighborhood spatial information was added to the clustering model. The information entropy is utilized to automatically balance the relationship between the pixel information and the non-neighborhood spatial information. The segmentation results of different images show that this algorithm can achieve better segmentation performance under intense noise.

2. Related Work and Background

2.1. Traditional FCM Algorithm

The fuzzy clustering algorithm (FCM) was first proposed by Dunn, then expanded by Bezdek et al. and has been applied in many fields. In essence, the FCM algorithm classifies samples according to the intensity of membership, and the objective function is weighted distance sum, which is defined as follows:
J F C M = i = 1 c j = 1 n u i j m d 2 x j , v i
where c is the number of clusters, n is the number of pixels in the image, u i j denotes the membership degree of x j in the i t h cluster, has a value inside [0,1] and satisfies the condition 0 u i j 1 , i = 1 c u i j = 1 , m is the fuzzy weight index and is generally a value of 2, d x j , v i represents the Euclidean distance from the j t h pixel x j to the i t h clustering center v i .
While the FCM algorithm is built on the initial parameter set, it determines the minimum objective function J F C M through an iterative process. u and v are described as in Equations (2) and (3):
u i j = 1 k = 1 c d i j d k j 2 m 1
v i = j = 1 n u i j m x j j = 1 n u i j m
where u i j , v i denote the membership function and cluster centers, respectively.
The FCM algorithm calculates the membership of each pixel in the image by minimizing the objective function, but the FCM algorithm ignores the contribution of neighborhood pixels to the clustering center, so it is sensitive to noise.

2.2. FCM_S Algorithm

The FCM_S algorithm [12] overcomes the influence of noise on image clustering to a certain extent by introducing neighborhood space constraints. The objective function of FCM_S 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
u i j = d i j 2 + α N R r N j d i r 2 1 / ( m 1 ) k = 1 c d i j 2 + α N R r N j d i r 2 1 / ( m 1 )
v i = j = 1 n u i j m x j + α N R r N j x r 1 + α j = 1 n u i j m
where c is the number of clusters, n is the number of pixels in the image, u i j denotes the membership degree of x j in the i t h cluster, has a value inside [0,1] and t satisfies the condition 0 u i j 1 , i = 1 c u i j = 1 , m is the fuzzy weight index and is generally a value of 2, x j v i represents the Euclidean distance from the j t h pixel x j to the i t h clustering center v i , N R is the window cardinality, x r denotes the neighborhood pixel set centered on the j t h pixel x j , α is the influence factor of neighborhood spatial information on the center pixel. The larger the value of α , the greater the role of neighborhood spatial information in the clustering process, and vice versa. When α is 0, the FCM_S algorithm reverts to the FCM algorithm.
The FCM_S algorithm has a certain inhibitory effect on noise, but the algorithm needs to set up the parameters between the noise removal and the preservation of the image details; in general, different parameters are required for different images, and as these parameters are selected by a large number of experiments, the adaptive ability of the algorithm is poor. Because the FCM_S algorithm needs to calculate the neighborhood information of the pixels in each iteration, the time complexity of the FCM_S algorithm is high. It is still a difficult and hot topic to reduce the computation time of the algorithm under the premise of ensuring segmentation precision.

2.3. FLICM Algorithm

The FLICM algorithm [15] avoids the introduction of supervised parameters and enhances the practicability of the algorithm when calculating the contribution of neighborhood information to the pixels of the center. The FLICM algorithm combines the spatial and grey information about the neighborhood pixels by constructing the fuzzy factor G k i , which strengthens the insensitivity of the algorithm to the noise. The expression of G k i is as follows:
G k i = j N i i j 1 d i j + 1 1 u k j m x j v k 2
where d i j is the Euclidean distance between neighborhood pixels x j and center pixel x i , 1 / d i j + 1 denotes the spatial action intensity of neighborhood pixels on central pixels, u k j is the membership strength of neighborhood pixels x j relative to the k t h cluster center v k , x j v k denotes the Euclidean distance between neighborhood pixels x j and cluster center v k and m is the fuzzy weight index and is generally a value of 2. The objective function of the FLICM algorithm is defined as follows:
J F L I C M = i = 1 N k = 1 c u k i m x i v k 2 + G k i
The objective function of the FLICM algorithm is different from that of the FCM algorithm, but their clustering centers are the same. By transplanting the cluster center of the FCM algorithm, the iterative updating of the cluster center is completed. Fuzzy membership and the clustering center of FLICM algorithm is as follows:
u k i = 1 j = 1 c x i v k 2 + G k i x i v j 2 + G j i 1 / m 1
v k = i = 1 N u k i m x i i = 1 N u k i m
Although FLICM improves the fuzzy factor and makes the algorithm more adaptive, it has the disadvantages of slow convergence speed, more iterations and more sensitive to salt and pepper noise.

2.4. Parallel LGWO Algorithm

The LGWO algorithm [21] uses Lévy flight algorithm to help GWO obtain the global optimal solution. It has strong global convergence and robustness and the stagnation problem can also be relieved. By integrating the Lévy flight algorithm into LGWO, the search capabilities are stronger because each pioneer wolf gets the chance to survive and then share its observed info with other hunters during the next steps of the searching process. Using LGWO to search for a set of global optimal centers can significantly explore and localize the possible situations of the victim more effectually. However, the LGWO algorithm is a probabilistic search algorithm, and its performance is affected by control parameters such as the size of the wolves and random mutation probability. As the algorithm requires a large wolf pack size, it needs to continuously calculate the fitness function. In this paper, the computational complexity is related to the number of image clusters, and the computational complexity is O N P × T _ L G W O × C , where N P is the number of wolves, T_LGWO is the total number of iterations, and C is the number of clustering centers of the image. Therefore, this paper proposes a parallel LGWO algorithm to improve the reliability and efficiency of the algorithm. The computation time of the algorithm is greatly reduced.
In nature, wolves can be thought of as being made up of several subgroups, so groups can be divided into several subgroups. Each subgroup contains multiple individuals, and each subgroup is allocated a processor to execute the search process independently in parallel. The best individuals in each subgroup migrate to neighboring subgroups after a certain period of time, a phenomenon known as “drift”. This is the coarse-grained parallel LGWO algorithm and its block diagram is shown in Figure 1:
In this paper, parallel computing is used to speed up the computation of the program. Parallel LGWO algorithm flow is shown in Figure 1. Each wolf subpopulation is assigned a processing core to perform the search independently, and the optimal individuals are recorded after each iteration. The best individuals in each subpopulation will migrate to the adjacent subpopulation after a certain number of iterations. The optimal individual will be obtained after the completion of the iteration.

3. The Proposed Methods

3.1. Initial Cluster Center

A parallel LGWO algorithm is used to solve the initial clustering center of the original image. The pseudo-code of the initial image clustering center estimated by the parallel LGWO algorithm is as follows:
Input: Image data
(1)
Determine the initial swarm size NP and the number of iterations T_LGWO. The population is initialized into NP_s subpopulations, and the corresponding number of threads is opened up. Each thread is responsible for one subpopulation. Each subpopulation is iterated L times to transfer its best individuals to the adjacent subpopulation.
(2)
Randomly generate the initial subpopulations of wolves
(3)
Initialize temporal parameter a, random value p, random vectors A, C
(4)
Compute the fitness of each wolf
(5)
Set to be the best wolf
(6)
Set to be the second best wolf
(7)
while (t < T_LGWO) or (stopping condition) do
(8)
for each wolf
(9)
Update the position of current wolves
(10)
perform the greedy selection(GS)
(11)
end for
(12)
Update parameters a, p, A, C
(13)
Compute the fitness of each wolf
(14)
Update,
(15)
The number of iterations t = t + 1
(16)
if modulo operation mod (t,L) = 0, transfer the best individuals of each subpopulation to adjacent subpopulations.
(17)
end while
(18)
Walk through the optimal solution in each subpopulation, find a global optimal solution, as the final solution.
(19)
Return
Output: Partition matrix, cluster center

3.2. Fast Non-Local Mean Denoising

Non-local mean (nl-means) [22] is a useful denoising technique. This method makes full use of the redundant information in the image and can preserve the details of the image to the greatest extent while denoising. The basic idea is that the current pixel estimate is a weighted average of pixels in the image with similar neighborhood structures. nl-means use the non-local spatial information of image pixels to filter the original image, and the formula is as follows:
η j = p W j r w j p x p
where η j is the pixel of the filtered image, W j r denotes the pixel area with pixel j as the center and window size is r × r , x p is the neighborhood pixel in the window, w j p is the weight determined by non-local spatial information, and its size depends on the similarity between the center pixel block and the neighborhood pixel block, and 0 w j p 1 , p W j r w j p = 1 .
The formula of w j p is as follows:
w j p = 1 Z j exp x ( N j ) x ( N p ) 2 , α 2 h j h p
where N j is the pixel region centered on pixel x j , x N j denotes the vector composed of all pixels in the central pixel region, x N p denotes the vector composed of all pixels in the neighborhood pixel region, x N j x N p 2 , α 2 is the similarity between the center pixel block and the neighborhood pixel block, α is the standard deviation of the gaussian kernel function, reflecting the spatial structure between the center pixel and the neighborhood pixel, and h j and h p are the filtering attenuation parameters of the central pixel region and the adjacent pixel region, respectively, which can be adjusted appropriately according to the noise intensity. The filtering attenuation parameter h j is obtained according to the adaptive grey level difference in the pixel block [23], and the formula is as follows:
h j = x j x N j l 2 , α
where x j is the center pixel of the pixel block N j , x N j l is the neighborhood pixel x l of x j in the same pixel block, and h j reflects the similarity between the neighborhood pixel and the center pixel through the grey level difference in the pixel block. h p can also be calculated using the same principle. The greater the difference between the neighborhood pixel and the center pixel in the pixel block, the more serious the noise pollution of the pixel block will be, and the greater the filtering intensity of the pixel block, and vice versa. Z j is the normalized constant, defined as follows:
Z j = p W j r exp x ( N j ) x ( N p ) 2 , α 2 h j h p
where h j and h p make use of the greyscale statistical information of the central pixel block and the neighboring pixel block, respectively, and adjust the filtering attenuation parameters adaptively. w j p is to determine the similarity between the center pixel and the neighborhood pixel by using the redundant information of the image. The closer the center pixel is to the neighborhood pixel, the greater the weight w j p corresponding to the neighborhood pixel will be, and vice versa. Non-local spatial information can avoid the loss of detail information caused by the larger local neighborhood window, and this method can play a better guiding role in the noisy image.
nl-means has good denoising effect, but the maximum defect of this algorithm is too high in computational complexity. Assuming that the image is a total of M pixels, the size of the search window is R × R , the neighborhood window size is r × r . The complexity of the nl-means algorithm is O M R 2 r 2 . Therefore, integral image technology is used to accelerate this algorithm [24]. First, an integral image about pixel difference is constructed:
S t ( x ) = κ = ( κ 1 , κ 2 ) M 2 : 0 κ 1 x 1 , 0 κ 2 x 2 s t x , x = x 1 , x 2
s t x = x ( N j ) x ( N j + t ) 2
x ( N j ) x ( N p ) 2 = 1 r 2 S t ( x 1 + r s , x 2 + r s ) + S t ( x 1 r s 1 , x 2 r s 1 ) S t ( x 1 + r s , x 2 r s 1 ) S t ( x 1 r s 1 , x 2 + r s )
where the search window side length is R = 2 R s + 1 , and the search window side half-length is R S . The neighborhood window side length is r = 2 r s + 1 ,and the neighborhood window side half-length is r s . In order to reduce the space complexity, the above algorithm takes the offset as the outermost loop, and only needs to calculate the integral image in one offset direction at a time, and then process the integral image. After the above processing, the complexity of the whole algorithm will be reduced to O M R 2 .

3.3. Improved Value Function

The AFCM_GSI algorithm makes full use of the neighborhood and non-neighborhood information about pixels and adaptively adjusts the corresponding weight. The main objective function is as follows:
J U , V = j = 1 N k = 1 c u k j m ( 1 β j ) d r 2 ( x i , v k ) + u k j m β j d r 2 ( η j , v k ) + K k j
where c is the number of clusters, N is the number of pixels in the image, u k j denotes the membership degree of x j in the i t h cluster and has a value inside [0,1], m is the weighting exponent on each fuzzy membership and generally has a value of 2, v k is the i t h cluster center, η j is the pixel of the image after fast non-local mean processing and filtering, β j is the adjustment parameter calculated by information entropy, and d r 2 x i , v k is the improved distance measure. Using the Lagrange multiplier method to minimize the value function, the fuzzy membership degree u k j and clustering center v k can be obtained as:
u k j = 1 k = 1 c ( 1 β j ) ( 1 r ( x , v k ) ) + β j ( 1 r ( η , v k ) ) + K k i ( 1 β j ) ( 1 r ( x , v k ) ) + β j ( 1 r ( η , v k ) ) + K k i 1 / m 1
v k = j = 1 N ( u k j m r ( x j , v k ) ( 1 β j ) x + u k j m r ( η j , v k ) β j η ) j = 1 N ( u k j m r ( x j , v k ) ( 1 β j ) + u k j m r ( η j , v k ) β j )
Traditional Euclidean distance cannot solve the problem of noise sensitivity of the algorithm [25]. Although nuclear induced distance [26] can make up for the deficiency of Euclidean distance to some extent, it is sometimes difficult to overcome the influence of noise on clustering performance and it cannot fundamentally solve the problem of noise sensitivity. In order to make up for this deficiency, an improved distance measurement method is adopted in this paper, specifically as follows:
d r ( x i , v k ) = 1 r ( x i , v k )
r ( x i , v k ) = exp ( ψ x i v k 2 )
ψ = i = 1 n x i x ¯ 2 n 1
x ¯ = 1 n i = 1 n x i
The improved distance measurement method is based on robust statistics theory and has strong stability to noise or outliers. Although the distance measurement is similar to the nuclear induced distance in form, its essence is still processed in the original image space, and the pixels are not mapped to the high-dimensional feature space [27].
Parameter β j can adjust the balance between pixel information and non-neighborhood spatial information. The calculation method of this parameter is as follows:
β j = E j E min E max E min ,
E j = k c u k j log 2 u k j ,
where E j represents the information entropy of the j t h pixel, and E max and E min respectively represent the maximum and minimum information entropy of all pixel points. Equation (25) can map the range of information entropy to [0,1]. If the j t h point belongs to a certain class explicitly, the entropy corresponding to that point is relatively small. If the membership degree of this point is average, indicating that it does not clearly belong to a certain class, the corresponding entropy of this point is relatively large, which can increase the weight of non-neighborhood pixel information.
In the literature [15], the fuzzy factor uses the spatial distance between the neighborhood pixel and the center pixel to measure the degree of influence of the neighborhood pixel. The spatial distance is defined as follows:
δ s d = 1 d i j + 1
where δ s d denotes the spatial intensity of neighborhood pixels on central pixels. However, spatial distance alone cannot accurately measure the influence of neighborhood points on the center points. By introducing the local variation coefficient that has an important influence on the central pixel, the variation coefficient of the local window is defined as:
δ s v = 1 log 2 ( φ j + 1 )
φ j = C j C min C max C min
C u = V ( x ) x ¯ 2
where V ( x ) is the variance of grey value in a local window, x ¯ denotes the average grey level of neighborhood pixels, C min is the minimum coefficient of variation in all local windows of an image, C max is the maximum value, δ s v denotes the discretization of pixel grey values in the local window of neighborhood points and has a value inside [0,1], δ s v is inversely proportional to φ j when the value of φ j is close to 0, the δ s v value is close to 1, and the logarithmic function can ensure that when the φ j is far away from 0, δ s v decreases rapidly; when φ j is close to 1, δ s v is close to 0. That is to say, when the neighborhood point is seriously affected by the noise or at the edge, the value of the δ s v is close to 0 and the influence of the neighborhood point on the center point is also close to 0, and the value of δ s v is larger when neighborhood points of the window are smooth, the influence of the neighborhood point on the center point is larger.
Based on testing and analysis, the influence of neighborhood pixels on the center point is redefined as follows:
δ i j = δ s d 2 + δ s v 2 δ s d + δ s v
According to Equation (31), the influence of a pixel’s neighborhood spatial information on image segmentation is defined as:
K k i = j N i δ i j ( 1 u k j ) m x j v k 2
The specific steps of the AFCM_GSI algorithm are as follows:
Step 1:
Determine the number of clusters c , fuzzy weighted index m , the number of iterations T_max, the iterative termination threshold ε , the size of the search window R R , the size of the neighborhood window r r , and the number of current iterations t = 1;
Step 2:
The initial clustering center V 0 is obtained by the LGWO algorithm, calculate the filtered image η j .
Step 3:
Initialization of the membership degree matrix U ( 0 ) .
Step 4:
Compute weight parameter β j .
Step 5:
Compute the new objective function value J .
Step 6:
Update membership degree matrix U by Equation (19).
Step 7:
Update cluster centers V by Equation (20).
Step 8:
If J ( t + 1 ) J t < ε or the current iteration number t > T _ max , then terminate the iteration, output the membership matrix U and the cluster center V ; otherwise, return Step 4 and continue the next iteration.

4. Experimental Results and Performance Analysis

4.1. Evaluation Index of Fuzzy Clustering Algorithm

In order to verify the effectiveness of the clustering algorithm, scholars have proposed a variety of evaluation indicators [28,29,30,31,32,33]. SA (segmentation accuracy) and CS (comparison score) are widely used and approved.
S A = G S S
C S = G S G S
where S A represents the proportion of pixels in the region detected by the segmentation algorithm in the whole region and C S is a measure of similarity. The area of the given annotation is represented by G . The pixel area detected by the algorithm is represented by S . As the natural image has no standard segmentation results, the corresponding segmentation accuracy and comparison scores cannot be calculated. In order to effectively evaluate the segmentation results of natural images, the PSNR (peak signal to noise ratio) and MSSIM (mean structural similarity) are introduced in this paper.
P S N R = 10 log 10 ( ( 2 n 1 ) 2 M S E )
M S E = 1 H × W i = 1 H j = 1 W ( X ( i , j ) Y ( i , j ) ) 2
M S S I M = 1 N k = 1 N S S I M ( x k , y k )
S S I M ( X , Y ) = ( 2 μ X · μ Y + C 1 ) ( 2 σ X Y + C 2 ) ( μ X 2 + μ Y 2 + C 1 ) ( σ X 2 + σ Y 2 + C 2 )
μ X = i = 1 H j = 1 W ω i j X ( i , j )
σ X = ( i = 1 H j = 1 W ω i j ( X ( i , j ) μ X ) ) 1 / 2
σ X Y = i = 1 H j = 1 W ω i j ( X ( i , j ) μ X ) ( Y ( i , j ) μ Y )
where MSE denotes the mean square error of the current image X and the reference image Y , and H and W are the height and width of the image respectively. The unit of PSNR is dB; the larger the value, the smaller the distortion. N is equal to the number of bits per pixel, and the average grey level image is 8; that is, the grey scale of pixels is 256. ω i j is the weight of each window, H and W are the height and width of the image respectively, μ X and μ Y are the mean values of images X and Y respectively. σ X and σ Y denote the variance of X and Y respectively, and σ X Y indicates the covariance of image X and Y . C 1 , C 2 and C 3 are constants; in order to avoid the denominator being 0, they are usually defined as C 1 = K 1 L 2 , C 2 = K 2 L 2 , C 3 = C 2 / 2 , and K 1 = 0.01 , K 2 = 0.03 , L = 255 . In practical applications, the image can be partitioned by a sliding window. The total number of blocks is N . Considering the influence of window shape to the partition, the mean, variance and covariance of each window are calculated by weighting. The Gauss kernel is usually used, the structure similarity of the corresponding block is computed, and the structure similarity (SSIM) of the corresponding block is calculated. Finally, the average value (MSSIM) is used to measure the structural similarity of two images.
PSNR is the most widely used image objective evaluation index, but it is based on the error between the corresponding pixels, which is based on the error of sensitive image quality evaluation. Because the human eye is more sensitive to the contrast difference of the spatial frequency, the sensitivity of the human eye to the contrast difference is higher than that of the color, but the perception of the human eye is affected by the surrounding area in a region. Therefore, it often appears that the evaluation results are not consistent with the subjective feelings of the people. MSSIM is used to measure similarity between two images. One of the two images used by SSIM is an unimpressed undistorted image and the other is a distorted image. It is another excellent algorithm for image quality evaluation.

4.2. Algorithm Performance Test

In order to verify the effectiveness of the algorithm, synthetic images, optical images, and remote sensing images were used to conduct experiments, respectively. Images polluted by synthetic noise (composed of salt and pepper noise with density = 0.02, speckle noise with variance = 0.005, and Gaussian noise with mean = 0 and variance = 0.01). This algorithm is compared with several algorithms such as FCM_S [12], FGFCM [14], FLICM [15], and KWFLICM [17] to test the segmentation effect of the algorithm. The parameters in numerous comparison algorithms are set according to corresponding documents. In order to achieve good experimental results, the relevant parameters in this experiment are set as follows: m = 2 , ε = 10 5 , T _ max = 300 , search window size R = 5 and neighborhood window size r = 3 . Among them, the iteration termination threshold ε is a smaller number, and its value is usually selected based on human experience. The results obtained from experiments are the mean value of the algorithm running several times.
In the segmentation and comparison experiment of synthetic image 1 and 2, clustering numbers of all algorithms are set as 3 and 4, respectively. These synthetic images and their noise-polluted images are shown in Figure 2.
In the comparison experiment of synthetic images, Figure 3 shows the segmentation effect of several different segmentation methods. The SA and CS of different methods can be more intuitively compared through Table 1 and Figure 4. Moreover, the more complex the image is, the lower the segmentation accuracy will be. The values of SA and CS in the proposed method are the largest and the segmentation effect is the best. By combining the neighborhood and non-neighborhood information of pixels, the relationship between noise suppression and edge preservation can be well balanced. The segmentation result is very similar to the original image and is superior to other algorithms in visual quality and segmentation performance. Among several algorithms, the FCM_S algorithm has the weakest noise reduction ability. Although the FCM_S algorithm introduces the neighborhood spatial information, the processed image has too much noise. The segmentation performance is not high enough under the noise condition, and the segmentation result is not ideal. The segmentation effect of the FGFCM algorithm is better than that of the FCM_S algorithm, but there are still more noise points in the image and the edges are more fuzzy, so the ideal segmentation effect and anti-noise performance cannot be obtained. The FLICM algorithm and the KWFLICM algorithm better consider the neighborhood information of the pixel, with higher segmentation quality and better visual effect. To sum up, the algorithm proposed in this paper can achieve a better segmentation effect and anti-noise ability.
In the segmentation and comparison experiment of natural images and a remote sensing image 1, in order to achieve a better segmentation effect, the clustering number of all algorithms is set to 2. In the segmentation and comparison experiment of natural image 2 and remote sensing image 1, the clustering number of all algorithms is set to 3. These images are public images on the Internet. These images and their noise-polluted images are shown in Figure 5.
In the segmentation and contrast experiment of different kinds of remote sensing images 2–6, the clustering number of all algorithms is set as 3. These images were manually extracted from large images from the United States Geological Survey (USGS) National Map Urban Area Imagery collection for various urban areas around the country [34]. These images and their synthetic noise-polluted images are shown as follows:
In the comparison experiment of optical images and remote sensing images, the segmentation effect of different algorithms can be observed in Figure 6. PSNR and MSSIM of different algorithms can be compared more clearly and intuitively through Table 2 and Figure 7. In order to verify the availability of the proposed algorithm, segmentation experiments are carried out for different types of remote sensing images in Figure 8. Experimental results in Table 3 and Figure 9 demonstrate the advantages of the proposed algorithm. By comparing the segmentation results of optical images and remote sensing images, the segmentation method proposed in this paper achieves very good segmentation results. Due to the need to balance the denoising performance and image details of the algorithm, the PSNR value of the AFCM_GSI algorithm is sometimes not the highest among all algorithms, but the MSSIM value is the highest among all algorithms. Since PSNR does not consider the visual characteristics of human eyes, the similarity measure (MSSIM) between two images can represent the quality of image segmentation. Experimental results show that the proposed algorithm has strong denoising ability and the segmented image is very similar to the original image. The algorithm has the highest MSSIM value and the best visual effect of image segmentation.

5. Conclusions

In this paper, an adaptive image segmentation algorithm based on global spatial information is proposed to improve the anti-noise and precision of image segmentation. By introducing neighborhood and non-neighborhood information of pixels, this method adaptively adjusts the corresponding weight and has good denoising performance. This method uses the LGWO algorithm to roughly cluster the image and get the initial clustering center and utilizes a fast non-local mean algorithm to filter the original image. The adaptive weight assignment strategy is adopted to assign a corresponding weight to each pixel in the neighborhood window and make full use of the local information of the image. The information entropy is used to balance the relationship between the pixel and the non-neighborhood information, and the neighborhood and non-neighborhood information around the pixel is added to the target function as spatial information. The improved distance measure is also used to replace the traditional Euclidean distance. Experimental results show that the above improvements can make the segmentation results more accurate. This paper proves the feasibility of this algorithm, which has the advantages of high segmentation accuracy and good denoising effect.

Author Contributions

M.L. Algorithm design, experimental design, writing paper; L.P.X. idea generation, validates theories, gets financial support; S.G. Literature search, making charts; N.X. Experimental simulation, data collection and collation; B.Y. Data analysis, project management.

Funding

This research received no external funding.

Conflicts of Interest

There is no conflict of interest between the writing of this manuscript and the experimental research and other individuals or institutions. All researchers who have contributed to this article have been included in the author list.

References

  1. Ghosh, A.; Mishra, N.S.; Ghosh, S. Fuzzy clustering algorithms for unsupervised change detection in remote sensing images. Inf. Sci. 2011, 181, 699–715. [Google Scholar] [CrossRef]
  2. Niazmardi, S.; Homayouni, S.; Safari, A. An Improved FCM Algorithm Based on the SVDD for Unsupervised;Hyperspectral Data Classification. IEEE J. Sel. Top. Appl. Earth Observ. Remote Sens. 2013, 6, 831–839. [Google Scholar] [CrossRef]
  3. Huo, H.; Guo, J.; Li, Z.L. Hyperspectral Image Classification for Land Cover Based on an Improved Interval Type-II Fuzzy C-Means Approach. Sensors 2018, 18, 363. [Google Scholar] [CrossRef]
  4. Chen, S.; Sun, T.; Yang, F.; Sun, H.; Guan, Y. An improved optimum-path forest clustering algorithm for remote sensing image segmentation. Comput. Geosci. 2018, 112, 38–46. [Google Scholar] [CrossRef]
  5. Balafar, M.A.; Ramli, A.R.; Mashohor, S.; Farzan, A. Compare different spatial based fuzzy-C_mean (FCM) extensions for MRI image segmentation. In Proceedings of the 2nd International Conference on Computer and Automation Engineering, Singapore, 26–28 February 2010; pp. 609–611. [Google Scholar]
  6. Jahanavi, M.S.; Kurup, S. A novel approach to detect brain tumour in MRI images using hybrid technique with SVM classifiers. In Proceedings of the IEEE International Conference on Recent Trends in Electronics, Information & Communication Technology (RTEICT), Bangalore, India, 20–21 May 2017. [Google Scholar]
  7. Wenjing, T.; Zhaoxin, X.; Xiaofeng, Z. Medical image segmentation based on FCM with peak detection. CAAI Trans. Intell. Syst. 2014, 9, 584–589. [Google Scholar]
  8. Modava, M.; Akbarizadeh, G. Coastline extraction from SAR images using spatial fuzzy clustering and the active contour method. Int. J. Remote Sens. 2017, 38, 355–370. [Google Scholar] [CrossRef]
  9. Wang, W.; Nie, T.; Fu, T.; Ren, J.; Jin, L. A Novel Method of Aircraft Detection Based on High-Resolution Panchromatic Optical Remote Sensing Images. Sensors 2017, 17, 1047. [Google Scholar] [CrossRef]
  10. Guoying, L.; Yun, Z.; Aimin, W. Incorporating adaptive local information into fuzzy clustering for image segmentation. IEEE Trans. Image Process. 2015, 24, 3990–4000. [Google Scholar] [CrossRef]
  11. Fergus, R.; Perona, P.; Zisserman, A. Object class recognition by unsupervised scale-invariant learning. In Proceedings of the 2003 IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Madison, WI, USA, 18–20 June 2003; Volume 2, pp. II-264–II-271. [Google Scholar]
  12. 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]
  13. Chen, S.; Zhang, D. Robust image segmentation using FCM with spatial constraints based on new kernel-induced distance measure. IEEE Trans. Syst. Man Cybern. Part B Cybern. 2004, 34, 1907. [Google Scholar] [CrossRef]
  14. 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]
  15. Krinidis, S.; Chatzis, V. A robust fuzzy local information C-Means clustering algorithm. IEEE Trans. Image Process. 2010, 19, 1328–1337. [Google Scholar] [CrossRef]
  16. Zhao, F.; Jiao, L.; Liu, H. Fuzzy c-means clustering with non local spatial information for noisy image segmentation. Front. Comput. Sci. China 2011, 5, 45–56. [Google Scholar] [CrossRef]
  17. 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]
  18. Xu, L.; Jia, H.; Lang, C.; Peng, X.; Sun, K. A Novel Method for Multilevel Color Image Segmentation Based on Dragonfly Algorithm and Differential Evolution. IEEE Access 2019, 7, 19502–19538. [Google Scholar] [CrossRef]
  19. Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey Wolf Optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef] [Green Version]
  20. Li, M.Q.; Xu, L.P.; Xu, N.; Huang, T.; Yan, B. SAR Image Segmentation Based on Improved Grey Wolf Optimization Algorithm and Fuzzy C-Means. Math. Probl. Eng. 2018, 2018, 1–11. [Google Scholar] [CrossRef]
  21. Heidari, A.A.; Pahlavani, P. An efficient modified grey wolf optimizer with Lévy flight for optimization tasks. Appl. Soft Comput. 2017, 60, 115–134. [Google Scholar] [CrossRef]
  22. Buades, A.; Coll, B.; Morel, J.M. A non-local algorithm for image denoising. In Proceedings of the IEEE Computer Society Conference on Computer Vision & Pattern Recognition, San Diego, CA, USA, 20–25 June 2005. [Google Scholar]
  23. Zhao, F. Fuzzy clustering algorithms with self-tuning non-local spatial information for image segmentation. Neurocomputing 2013, 106, 115–125. [Google Scholar] [CrossRef]
  24. Froment, J. Parameter-Free Fast Pixel wise Non-Local Means Denoising. Image Process. OnLine 2014, 4, 300–326. [Google Scholar] [CrossRef]
  25. Zhao, X.; Yu, L.; Zhao, Q. A Fuzzy Clustering Image Segmentation Algorithm with Double Neighborhood System Combined with Markov Gaussian Model. J. Comput. Aided Des. Comput. Graph. 2016, 28, 615–623. [Google Scholar]
  26. Zhang, D.Q.; Chen, S.C.; Pan, Z.S.; Tan, K.R. Kernel-based fuzzy clustering incorporating spatial constraints for image segmentation. In Proceedings of the IEEE International Conference on Machine Learning and Cybernetics, Xi’an, China, 5 November 2003; Volume 4, pp. 2189–2192. [Google Scholar]
  27. Wu, K.L.; Yang, M.S. Alternative c-means clustering algorithms. Pattern Recognit. 2002, 35, 2267–2278. [Google Scholar] [CrossRef]
  28. Eskicioglu, A.M.; Fisher, P.S. Image quality measures and their performance. IEEE Trans. Commun. 1995, 43, 2959–2965. [Google Scholar] [CrossRef]
  29. Wang, Z.; Bovik, A.C.; Sheikh, H.R.; Simoncelli, E.P. Image quality assessment: From error visibility to structural similarity. IEEE Trans. Image Process. 2004, 13, 600–612. [Google Scholar] [CrossRef]
  30. Bezdek, J.C. Cluster Validity with Fuzzy Sets. J. Cybern. 1973, 3, 58–73. [Google Scholar] [CrossRef]
  31. Bezdek, J.C. Mathematical Models for Systematics and Taxonomy. In Proceedings of the 8th International Conference on Numerical Taxonomy, San Francisco, CA, USA, January 1975; pp. 659–661. [Google Scholar]
  32. Tanchenko, A. Visual-PSNR measure of image quality. J. Vis. Commun. Image Represent. 2014, 25, 874–878. [Google Scholar] [CrossRef]
  33. Naidu MS, R.; Rajesh Kumar, P.; Chiranjeevi, K. Shannon and Fuzzy entropy based evolutionary image thresholding for image segmentation. Alexandria Eng. J. 2017, 57, 1643–1655. [Google Scholar] [CrossRef]
  34. Yang, Y.; Newsam, S. Bag-Of-Visual-Words and Spatial Extensions for Land-Use Classification. In Proceedings of the ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems (ACM GIS), San Jose, CA, USA, 2–5 November 2010. [Google Scholar]
Figure 1. Parallel Lévy grey wolf optimization (LGWO) algorithm block diagram.
Figure 1. Parallel Lévy grey wolf optimization (LGWO) algorithm block diagram.
Sensors 19 02385 g001
Figure 2. (a) Noise-free synthetic image 1; (b) synthetic image 1 polluted by synthetic noise; (c) noise-free synthetic image 2; (d) synthetic image 2 polluted by synthetic noise.
Figure 2. (a) Noise-free synthetic image 1; (b) synthetic image 1 polluted by synthetic noise; (c) noise-free synthetic image 2; (d) synthetic image 2 polluted by synthetic noise.
Sensors 19 02385 g002
Figure 3. (a) segmented image by FCM_S; (b) segmented image by FGFCM; (c) segmented image by FLICM; (d) segmented image by KWFLICM; (e) segmented image by AFCM_GSI.
Figure 3. (a) segmented image by FCM_S; (b) segmented image by FGFCM; (c) segmented image by FLICM; (d) segmented image by KWFLICM; (e) segmented image by AFCM_GSI.
Sensors 19 02385 g003
Figure 4. SA and CS of five algorithms on noisy synthetic image 1 and 2.
Figure 4. SA and CS of five algorithms on noisy synthetic image 1 and 2.
Sensors 19 02385 g004
Figure 5. (a) Noise-free natural image 1; (b) natural image 1 polluted by synthetic noise; (c) noise-free natural image 2; (d) natural image 2 polluted by synthetic noise; (e) noise-free remote sensing image 1; (f) remote sensing image 1 polluted by synthetic noise.
Figure 5. (a) Noise-free natural image 1; (b) natural image 1 polluted by synthetic noise; (c) noise-free natural image 2; (d) natural image 2 polluted by synthetic noise; (e) noise-free remote sensing image 1; (f) remote sensing image 1 polluted by synthetic noise.
Sensors 19 02385 g005
Figure 6. (a) segmented image by FCM_S; (b) segmented image by FGFCM; (c) segmented image by FLICM; (d) segmented image by KWFLICM; (e) segmented image by AFCM_GSI.
Figure 6. (a) segmented image by FCM_S; (b) segmented image by FGFCM; (c) segmented image by FLICM; (d) segmented image by KWFLICM; (e) segmented image by AFCM_GSI.
Sensors 19 02385 g006
Figure 7. PSNR and MSSIM of five algorithms on noisy natural images and remote sensing image 1.
Figure 7. PSNR and MSSIM of five algorithms on noisy natural images and remote sensing image 1.
Sensors 19 02385 g007
Figure 8. (a) Noise-free remote sensing image 2; (b) noise-free remote sensing image 3; (c) noise-free remote sensing image 4; (d) noise-free remote sensing image 5; (e) noise-free remote sensing image 6; (f) remote sensing image 2 polluted by synthetic noise; (g) remote sensing image 3 polluted by synthetic noise; (h) remote sensing image 4 polluted by synthetic noise; (i) remote sensing image 5 polluted by synthetic noise; (j) remote sensing image 6 polluted by synthetic noise;.
Figure 8. (a) Noise-free remote sensing image 2; (b) noise-free remote sensing image 3; (c) noise-free remote sensing image 4; (d) noise-free remote sensing image 5; (e) noise-free remote sensing image 6; (f) remote sensing image 2 polluted by synthetic noise; (g) remote sensing image 3 polluted by synthetic noise; (h) remote sensing image 4 polluted by synthetic noise; (i) remote sensing image 5 polluted by synthetic noise; (j) remote sensing image 6 polluted by synthetic noise;.
Sensors 19 02385 g008
Figure 9. PSNR and MSSIM of five algorithms on noisy remote sensing images 2–6.
Figure 9. PSNR and MSSIM of five algorithms on noisy remote sensing images 2–6.
Sensors 19 02385 g009
Table 1. Segmentation accuracy (SA) and comparison scores (CS) of five algorithms on noisy synthetic image 1 and 2.
Table 1. Segmentation accuracy (SA) and comparison scores (CS) of five algorithms on noisy synthetic image 1 and 2.
ImageAlgorithmsFCM_SFGFCMFLICMKWFLICMAFCM_GSI
bSA0.84230.89760.95650.97800.9953
bCS0.72750.81420.91610.95690.9907
dSA0.68600.73430.85080.87010.9843
dCS0.52210.58020.74090.77030.9671
Table 2. Peak signal to noise ratio (PSNR) and mean structural similarity (MSSIM) of five algorithms on noisy natural images and remote sensing image 1.
Table 2. Peak signal to noise ratio (PSNR) and mean structural similarity (MSSIM) of five algorithms on noisy natural images and remote sensing image 1.
Image AlgorithmsFCM_SFGFCMFLICMKWFLICMAFCM_GSI
bPSNR12.279112.459212.501612.514812.5284
bMSSIM0.39870.52050.63240.69210.6934
dPSNR11.655911.734112.125311.789812.7938
dMSSIM0.12430.19310.33400.46680.7322
fPSNR11.835412.201214.245211.522012.5273
fMSSIM0.16080.18770.23980.24500.2471
Table 3. PSNR and MSSIM of five algorithms on noisy remote sensing images 2–6.
Table 3. PSNR and MSSIM of five algorithms on noisy remote sensing images 2–6.
Image AlgorithmsFCM_SFGFCMFLICMKWFLICMAFCM_GSI
fPSNR12.787313.222314.108114.120614.8136
fMSSIM0.33320.36660.46670.50860.5829
gPSNR9.38179.820510.88408.631111.3334
gMSSIM0.05290.07210.13210.13810.3190
hPSNR11.843112.211512.423511.216612.2928
hMSSIM0.21760.32470.42780.35570.5046
iPSNR11.090711.385311.792511.481511.8863
iMSSIM0.10090.13410.23910.24140.3552
jPSNR12.354812.876718.08527.703818.2051
jMSSIM0.10460.13060.65650.08060.7849

Share and Cite

MDPI and ACS Style

Li, M.; Xu, L.; Gao, S.; Xu, N.; Yan, B. Adaptive Segmentation of Remote Sensing Images Based on Global Spatial Information. Sensors 2019, 19, 2385. https://doi.org/10.3390/s19102385

AMA Style

Li M, Xu L, Gao S, Xu N, Yan B. Adaptive Segmentation of Remote Sensing Images Based on Global Spatial Information. Sensors. 2019; 19(10):2385. https://doi.org/10.3390/s19102385

Chicago/Turabian Style

Li, Muqing, Luping Xu, Shan Gao, Na Xu, and Bo Yan. 2019. "Adaptive Segmentation of Remote Sensing Images Based on Global Spatial Information" Sensors 19, no. 10: 2385. https://doi.org/10.3390/s19102385

APA Style

Li, M., Xu, L., Gao, S., Xu, N., & Yan, B. (2019). Adaptive Segmentation of Remote Sensing Images Based on Global Spatial Information. Sensors, 19(10), 2385. https://doi.org/10.3390/s19102385

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