Next Article in Journal
Photoacoustic Energy Sensor for Nanosecond Optical Pulse Measurement
Next Article in Special Issue
User Characteristic Aware Participant Selection for Mobile Crowdsensing
Previous Article in Journal
Inshore Ship Detection Based on Level Set Method and Visual Saliency for SAR Images
Previous Article in Special Issue
Differentially Private and Skew-Aware Spatial Decompositions for Mobile Crowdsensing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Image Segmentation Based on Dynamic Particle Swarm Optimization for Crystal Growth

Department of Electronic and Communication Engineering, East China University of Science and Technology, Shanghai, China, 200237
*
Author to whom correspondence should be addressed.
Sensors 2018, 18(11), 3878; https://doi.org/10.3390/s18113878
Submission received: 22 October 2018 / Revised: 7 November 2018 / Accepted: 8 November 2018 / Published: 11 November 2018

Abstract

:
In order to realize the intelligent production of sapphire crystal, it is important to obtain the growth status from the furnace by charge coupled device (CCD). However, a significant challenge is that traditional approaches are often not valid to separate the images of the melting interface well due to the low contrast and uneven brightness from the heater. In this paper, an improved Otsu algorithm based on dynamic particle swarm optimization (DPSO) is proposed to find the exact threshold band as contour of the crystal. In this method, the Otsu method is constructed firstly, then DPSO is used to find the optimal threshold band. Experimental results show that the proposed algorithm can separate the texture of crystal growth images well and has high robustness.

1. Introduction

Sapphire crystal with excellent thermal properties, optical properties, and mechanical properties has important scientific research value and wide market prospect [1,2,3], such as excellent light-emitting diodes of the substrate material etc. However, the quantity of natural sapphire is rare and its purity is low. Hence, it cannot meet the great demand of the industry and other fields. Therefore, it is important to efficiently produce mass sapphire by artificial synthesis.
The growth of artificial crystal is usually finished in the melting furnace through the process of melting, seeding, crystallizing, and cooling [4], and the whole process depends on the temperature distribution of the melt surface. Because the melting point of sapphire crystal is up to 2045 °C, tungsten rods are used to heat the crucible furnace, and the maximum electric current through the tungsten rods is more than 7000 A when the equipment is working. Hence, it is difficult to measure the temperature in the furnace by sensors directly or set up pyrometers for obtaining the temperature distribution. Therefore, it is indispensable to develop technologies to obtain the status of crystal growth and it is a good method to measure the temperature distribution by machine vision [5]. Thus, the operators could judge the growth status of the crystal in the stove by human-machine interface rather than observing the melt surface by their naked eyes, since long observation of the melt surface is harmful to the eyes. A CCD image sensor, produced by Hitachi Corp. in Japan, is used here for image acquisition. The images obtained by this sensor are of good quality. In fact, images can be affected by a number of factors. Due to the positions of the tungsten rods, heat waves from the tungsten rods arranged on the edge are not coherent in every direction and the light is strong in the furnace. Under this environment, the image of objective and background is very close and it causes the contrast degree of the images obtained by CCD to be low. This special signal environment and high temperature of more than 2000 °C will lead to low contrast and resolution of CCD images. In addition, uneven and random interference, such as oil mist and noise from the heater, will often make the texture of the melting interface obscure. Obviously, these all make it difficult to form a correct description of the status of crystal growth.
The temperature distribution of the melting interface in the seeding step has an important influence on product quality [6]. The purpose of seeding is to remove impurities and dislocation [7]. For this reason, the key is to find the right growth temperature for the sapphire and to develop fine seeds. As shown in Figure 1, improper operation will directly lead to crystal defects, including polycrystallinity, cracking, air bubbles, and so on. Therefore, it is necessary to collect information of the melting interface by CCD and to judge the growth status by the segmented images in real-time [7]. Obviously, it is also valuable to realize automatic and large-scale production.
To obtain the growth status of sapphire correctly and quickly, image segmentation is no doubt an important topic, and thus it is the emphasis of this paper. Many techniques have been developed for image segmentation. Among them, the principle of similarity has been widely used, which utilizes the similarity among the image objects with pre-defined criteria for partitioning. Thresholding, edge detecting, region splitting, and clustering are similarity-based methods [8,9]. In recent years, increasing importance has been given to novel technologies such as the fractal-wavelet technique in image segmentation [10,11].

1.1. Methods Based on Threshold Segmentation

Threshold segmentation of digital images is one of the widely used techniques for image segmentation. It divides a digital image with several or fixed threshold values. In the same kinds of pixels, objects with same gray value are regarded as the same object [8]. The characteristics of this method are simple and convenient; it does not need prior information of the image. However, lighting and noise will affect the determination of the threshold. Image information may be lost if the gray value of the target is not far from that of the background. Hence, it does not work well for an image without any obvious peaks or with broad and flat valleys [12].

1.2. Methods Based on Edge Detection Segmentation

Edge detection can realize image segmentation by recognizing and extracting the features of the image boundary and can detect image contours. The image obtained after edge segmentation well retain the image’s morphological features. In the region of the image edge, the gray value changes significantly. On the contrary, in the edge of the area, the image gray value changes little [9]. Thus, a derivative of the maximum or the zero point of the second derivative can be used to determine the boundary of the image. The first order differential operators include the Roberts operator, Sobel operator, Prewiit operator, etc. The second order differential operators include the Laplacian operator, Kirsh operator, and so on. The advantage of edge detection algorithms is the convolution operation between template and image, which greatly reduces the time complexity. It works well for images with good contrast between regions and it does not work well with images in which the edges are ill-defined or too numerous [12]. In order to minimize the impact of noise on image segmentation, image smoothing is often required in these methods.

1.3. Methods Based on Region Segmentation

Region segmentation divides an image into different regions according to the similarity criteria. Methods based on common regional segmentation include the regional growth method, regional division combination method, and watershed method. The key idea of this method is to select the right seed points and determine the right growth rules [8]. The advantage of regional segmentation is that it considers not only the similarity of pixel grayscale values, but also the spatial adjacency of pixel points. It works best when the region homogeneity criterion is easy to define. However, region growing has inherent dependence on the selection of the seed region and the order in which pixels and regions are examined. The segments resulting from region splitting appear too square due to the splitting scheme [12].

1.4. Methods Based on Clustering Segmentation

The clustering method divides the sample data into different categories according to the similarity of measurement criteria However, there are two problems in this method. One is how to compare the similarity between sample data, and the other is how to divide these data into different categories according to their similarity [13]. The main advantage of this method is its strong adaptability to various images, while the disadvantages are that it can fall into local optimization and has poor noise resistance.
Considering the above existing segmentation methods, thresholding holds the prime position from the view of robustness, simplicity, and accuracy [14]. Thresholding-based segmentation subdivides an image into smaller segments, using at least one gray level value to define its boundary. However, it is difficult to choose the threshold values because gray level histograms of real-world images are more complex than bi-model grey level histograms.
Over the past few years, many thresholding-based segmentation techniques have been reported [15,16,17]. Among them, Otsu’s method, based on the principle of between-class variance, has been proven to be one of the best thresholding methods [15]. To decide the optimal threshold values, maximizing the between-class variance of the histogram is used in this method. The conventional Otsu method is often proposed to solve bi-level thresholding problems. However, this method suffers a serious drawback of exponential growth in computing complexity. Hence, it cannot be practically extended to multilevel thresholding problems. Several methods have been reported to improve efficiency and reduce complexity. Typically, recursive algorithms can reduce the long processing time to determine the optimum threshold values with the help of a lookup table [16,17]. But, at the same time, these methods still suffer from increasing computational time as the number of thresholds increases.
In order to overcome the above problems, some methods based on swarm intelligence have been proposed in recent years. These methods refer to utilizing the behavior characteristics of individuals with simple intelligence through cooperation and organization. They have naturally distributed and self-organization characteristics. Research on swarm intelligence has existed for many years, and several important results have been achieved. Evolutionary algorithms such as genetic algorithms (GA) [18,19], ant colony optimization [20], particle swarm optimization (PSO) [21,22], and bacterial foraging algorithm (BF) [23] are commonly used in image segmentation based on multilevel thresholding. Among these algorithms, GA, PSO, and BF are more popular. PSO algorithms are inspired by the intelligent behaviors of bird flocking to find the optimal thresholds [24]. However, PSO shows some problems, such as the inability to find global optimization values, low convergence speed, and so on. Bacterial foraging is motivated by the foraging behavior of Escherichia coli presented in the human intestine. The BF algorithm provides better performance based on the quality of the solution and the speed of convergence than the other existing multilevel thresholding methods. However, the efficiency and the robustness of this algorithm are related to the chemotaxis step size. Large step size accelerates the progress of searching for the optimum position but does not ensure the global optimum. On the other hand, small chemotaxis step size guarantees that bacteria will find the global optimum, but it requires more searching time. Meanwhile, a few state-of-the-art methods have been developed for multilevel thresholding based on bio-inspired computing paradigm, such as the Grey Wolf optimizer [25], Krill Herd Optimization [26], Whale Optimization, and the modified firefly algorithm [27]. In [28], a novel thresholding extraction method based on variational mode decomposition (VMD) is used to non-recursively decompose a histogram into several sub-modes for minimizing Otsu’s objective function. Recently, a multilevel thresholding technology using adaptive wind driven optimization was proposed [29]. Though the above methods perform satisfactorily, achieving the best values for the objective function still requires high computational cost.
The image segmentation of a melting interface is essential to decide the status or correct seeding time for intelligent crystal growth equipment. However, strong heat radiation and turbulent flow fields in the high-temperature and high-luminance environment inevitably interfere with the CCD camera signal. This causes the target image to become blurred and the images of the melt interface to have poor texture. Hence, it is difficult to obtain good performance by traditional methods. Inspired by the fact that the grey value of the boundary of different regions is different due to the uneven illumination, and the grey value of the crystal image is continuously distributed, an improved Otsu algorithm based on dynamic particle swarm (DPSO) is presented for image segmentation during crystal growth. Firstly, particles are distributed in different areas, and different areas will undergo local optimization. Secondly, parallel processing of the proposed algorithm reduces the computing time and improves the performance. Then, image enhancement is adopted to enlarge the grey difference between crystal and boundary. This method maximizes the Otsu algorithm’s objective function using DPSO to find the optimal threshold band. After getting the threshold band, the given growth images are subdivided into small segments based on the thresholds.
The remainder of the paper is organized as follows: in Section 2, a brief review of the Otsu algorithm and the standard PSO is presented. Then, Section 3 describes the proposed method in detail. Then, experimental analysis and results are discussed in Section 4. Finally, conclusions are drawn in Section 5.

2. Theoretical Background

2.1. Image Segmentation Based on the Otsu Algorithm

Otsu is a classical algorithm of image segmentation; an image can be divided into object region (A) and background region (B). To get the optimal threshold, the difference between the object and background needs to be as great as possible. The measurement of that difference is called Otsu [15].
Let L stand for the number of grey levels of a given image f ( x , y ) , so the intensity values are in the range ( 0 ,   L 1 ) . Define P j = n ( j ) M , where n ( j ) denotes the number of pixels with grey value and j and M represent the total number of image pixels. Then, Otsu’s method can be defined as
M a x [ f ( t ) = j 0 + j 1 ]
where,
φ 0 = ω 0 ( μ 0 μ T ) 2 ,   φ 1 = ω 1 ( μ 1 μ T ) 2   a n d   μ 0 = j = 0 t 1 j P j ω 0 ( t ) ,   μ 1 = j = t L 1 j P j ω 1 ( t ) .
Global intensity means
μ T = ω 0 μ 0 + ω 1 μ 1
And where ω 0 + ω 1 = 1 , ω 0 = j = 0 t 1 P j , ω 1 = j = t L 1 P j .
The above method can be extended to multilevel thresholding problem, which is defined as
Max [ f ( t ) = φ 0 + φ 1 + + φ n ]
where φ n = ω n ( μ n μ T ) 2 (n = 1, 2, 3, …).
While the number of thresholds n increases, an exhaustive search for n + 1 segment will result in exponential growth in computational time. To overcome this drawback, PSO is adopted as a solution for multilevel thresholding problems.

2.2. Intelligent Swarm Optimization Based on Particle Swarm

A PSO algorithm based on the simulation of bird individual hunting behavior can be used for intelligent swarm optimizations. It simulates the behavior of birds where each bird will make its contribution in the searching process depending upon its fitness. The overall fitness of the individuals is used for the identification of the food center which is considered as the best global estimation.
The implementation of the particle swarm optimization is detailed as follows:
Step 1
Initialize parameters I m a x (maximum number of iteration), M (number of particles), V (initial particle velocity) and X (initial particle position);
Step 2
Repeat the Step 3 to Step 7 for i = 1 to I m a x ;
Step 3
Calculate fitness for each particle;
Step 4
Update the best position of the particle P i d t ;
Step 5
Update the best position of the whole swarm P g d t ;
Step 6
Update position X and velocity V ;
Step 7
Determines whether meeting the termination conditions.
In PSO, an individual is used to represent the potential solution of the optimization problem. The position and velocity on each dimension are updated using the following two equations:
v i d t + 1 = w v i d t + c 1 r a n d 1 ( P i d t x i d t ) + c 2 r a n d 2 ( P g d t x i d t )
x i d t + 1 = x i d t + v i d t + 1
where d denotes one dimension of a particle, w is named as inertia weight, and c 1 , c 2 are the acceleration coefficients uniformly distributed within (0,1). Generally, for each d   ϵ   1 ,   2 ,   D , the value of v i d t is restricted within the range of ( V m a x , V m a x ) , and x i d t is between ( X m i n , X m a x ) . Communal effects among the particles lead to movement since they always attempt to go to the best position. The velocity update equation can be divided into three parts. The first part is inertia or momentum, which reflects the motor habit of the particles. The second part is cognition, which reflects the memory of particles and denotes the trend to move close to the best historical position of the particle. The last part is social part, which reflects the collaboration between the particles and sharing of knowledge. It denotes the trend of the whole swarm to move close to the best position.

3. Proposed Method

A graphical illustration of the proposed method is given in Figure 2. In the proposed method, DPSO is utilized to find the optimal thresholds for segmentation of the image by maximizing the objective function of the improved Otsu algorithm. The step by step procedure for the proposed method is as follows:
Step I: Parameter initialization
(a)
Initializes the maximum number of iterations I m a x ;
(b)
Initializes velocity V and position X of particles;
(c)
Set the lower boundary and upper boundary of V and X ;
(d)
Initializes the width of threshold band.
Step II: Image enhancement
(a)
Histogram calculation;
(b)
Histogram equalization.
The basic idea of histogram equalization is to put the histogram of the original image into a form of uniform distribution, thus increasing the pixel grayscale to a dynamic range to obtain the overall image contrast. The occurrence probability of the k -level grayscale of the original image can be denoted as
p s ( g k ) = n k n   0 g k 1 ,   k = 0 , 1 , , L 1
where n k is the independent variable and p s ( g k ) is defined as the function is the histogram of the image.
The distribution of s k can be transformed into the uniform distribution of t k by using the cumulative distribution function:
t k = E H ( s k ) = i = 0 k n i n = i = 0 k p s ( s i )   ;   0 s k 1 , k = 0 , 1 , , L 1
Step III: Fitness function calculation
Calculate the fitness of current particles’ position using the improved Otsu objective function.
Due to the low contrast of the image and inconspicuous boundary line, a single threshold cannot separate the crystal image well. Therefore, a continuous threshold band is proposed for segmentation. Because the crystal image has the characteristic of continuous grey values, taking the threshold band as the boundary line would classify a small part of the crystal as the boundary line and make the overall division clearer.
Equation (1) can be rewritten as:
Max [ f ( b a n d ) = φ 0 + φ 1 ]
Thus,
ω 0 = j = 0 b a n d l e f t P j ,   ω 1 = j = b a n d r i g h t L 1 P j
μ 0 = j = 0 b a n d l e f t j P j ω 0 ( b a n d ) ,   μ 1 = j = b a n d r i g h t L 1 j P j ω 1 ( b a n d )
The band is in the range of [ b a n d l e f t , b a n d r i g h t ] and the image is divided into two categories, C 0 and C 1 , according to the threshold band. C 0 and C 1 are in the range of [0, b a n d l e f t ] and [ b a n d r i g h t , L 1 ], respectively. As shown in Figure 3, C 0 and C 1 correspond to the background and target, and other areas represent noise and edges.
Step IV: Update position and velocity for each particle (using Equations (4) and (5))
The inertial coefficient is a key parameter for PSO performance. The fixed inertial parameter will cause the algorithm to converge to the local optimal solution. Moreover, the linear reduction of the inertial parameter will cause the algorithm to miss the global optimal solution. Hence, in the proposed method, the ω in Equation (4) is adopted [30]:
ω = { ω m a x ( ω m a x ω m i n ) × ( f i f m i n ) f a v g f m i n , f i f a v g ω m i n , f i > f a v g
where ω max and ω min denote maximum or minimum inertia coefficient, respectively; f i is the current adaptive value with particle i ; and f avg is the current average fitness for all particles; f min is the minimum fitness for all particles. When the fitness values of all particles converge or tend to converge, the inertia weight ω is automatically increased. On the other hand, when the fitness value of all particles scattered, the inertia weight value is automatically reduced. ω here is called dynamic inertia weight because the inertia weight is dynamically changed along with the fitness value. The advantages of dynamic inertia weight are shown in [30].
Also, in [30], dynamic learning factors are proposed. The selection of learning factors will also directly affect the output results. Therefore, it is necessary to select the appropriate learning factors in the optimizing process. The calculation formula is
c 1 = c 1 , b e g + c 1 , e n d c 1 , b e g I m a x × I
c 2 = c 2 , b e g + c 2 , e n d c 2 , b e g I m a x × I
where c 1 ,   b e g > c 2 ,   b e g ; c 2 , e n d < c 1 , e n d , I m a x denotes the maximum number of iterations. c 1 and c 2 are automatically become larger or smaller along with time. Thus, at the initial stage of optimization, particles have strong self-learning ability and weak collective learning ability, enhancing the algorithm’s global search capability. In the later stages of optimization, the particles will have weak self-learning capability and strong social-learning ability so that the convergence to the global optimal solution can be accelerated.
Step V:
Calculate fitness for each particle after updating.
Step VI:
If the number of iterations reaches the maximum go to Step VII. Otherwise go to Step IV.
Step VII:
Select the threshold band associated with the overall best particles.
Besides the Otsu objective function, regional consistency is also adopted to judge the effect of image segmentation. The interior of the region formed by image segmentation is similar, and the quality of the segmentation can be described by the degree of uniformity within each region. The ith region is represented by R i , A i stands for its area, and f ( x , y ) represents the pixel value of the segmentation image with coordinate as ( x , y ) . Then, the internal uniformity of the segmented image can be expressed as:
U M = 1 1 C { ( x , y R i ) [ f ( x , y ) 1 A i ( x , y R i ) f ( x , y ) ] 2 }
where C is the total number of pixels in the image, U M ranges in (0,1). The larger the U M is, the better the uniformity within the region is.

4. Experiments and Results

4.1. Experimental Setup

In order to verify the performance of the proposed algorithm, a crystal growth image is taken as the object, and the DPSO-based image thresholding algorithm is validated through simulations in MATLAB on a computer with the following configuration:
Intel(R) Core(TM) i7-6700 CPU @ 3.40 GHz and 8 GB of memory with Microsoft Windows 10 operating system, produced by Legend Corp., Beijing, China.
The objective values along with the corresponding thresholds and CPU time obtained using the proposed method were compared to already reported multilevel thresholding algorithms, such as the BF, PSO, and GA algorithms. The input images are obtained by CCD as shown in Figure 4, namely Crystal1, Crystal2, Crystal3, and Crystal4, and their histograms are shown in Figure 5. All the images are of size 512 × 512.

4.2. Parameter Setting

The parameters used in the proposed DPSO algorithm are shown in Table 1. The parameters used for other methods (PSO, GA, BF) are shown in Table 2, Table 3 and Table 4 [28]. To evaluate the performance of the proposed algorithm, Otsu’s objective functions are considered.

4.3. Results and Discussion

In this study, to validate the efficiency of the proposed image segmentation algorithm for crystal growth, a set of experiments were conducted on a large set of real crystal growth images from different growth stages obtained from CCD. As shown in Figure 5, the dataset included four original crystal growth images. The grayscale distribution of the crystal image is most between [50,150] from the histogram, which results from the low contrast of crystal images.
In order to enlarge the grayscale difference for segmenting, histogram equalization is used for image enhancement. The images after image enhancement and their histograms are given in Figure 6. Obviously, crystals and boundaries are more pronounced after image enhancement. What’s more, the histogram shows that the gray value of the whole image is divided into several parts, and the number of gray values in each part is about 20–30. In the proposed method, 25 continuous gray values are taken as the threshold bands, as too many gray values can lead to excessive defects in crystal images.
In Table 5, the comparisons of the proposed method with previous segmentation methods (PSO, BF, and GA) are shown. All experiments were conducted by the system with the configuration set up described in Section 4.2.
The objective function values obtained by the Otsu-based DPSO, PSO, BF, and GA algorithms are presented in Table 5. The threshold values and threshold band obtained by the Otsu-based DPSO, PSO, BF, and GA algorithms are presented in Table 6. A higher value of objective function leads to a better visual effect for the segmented image. The experimental results indicate that the proposed method yields the highest objective values compared to BF, PSO, and GA.
Table 7 illustrates the computational efficiency of the proposed method. The DPSO-based multilevel thresholding algorithm is compared with the existing bio-inspired methods in terms of convergence time (CPU time taken in seconds on an average). From Table 7, it is evident that the proposed DPSO-based multilevel thresholding method is much faster than the other bio-inspired algorithms. Table 8 shows the internal uniformity obtained by the DPSO-based method with other bio-inspired multilevel methods. According to Equation (13), values obtained by DPSO-based method is larger than PSO, BF, GA algorithms. Thus, DPSO-based method has better regional consistency.
The segmented images (Crystal1, Crystal2, Crystal3, and Crystal4) of the Otsu-based and bio-inspired methods are shown in Figure 7. The images of the Otsu-based DPSO method are shown in Figure 8. It is evident that the DPSO-based segmentation has the highest performance among all the investigated methods. Although the segmented images of the Otsu-based bio-inspired methods show most of the crystals, a small portion of the boundary is incorrectly classified as crystal due to signal threshold value. However, the threshold band is used as the boundary in the proposed method. The result shows that using the threshold band would classify a small part of the crystal as the boundary line but make the overall division clearer.

5. Conclusions

An improved image segmentation algorithm based on dynamic particle swarm optimization (DPSO) is proposed in this paper. Images of the melting interface are always obscure and low contrast due to the uneven and random interference from the heater. This means the separation lines of textures do not have the same gray degree. Hence, intelligent swarm optimization was introduced to solve the segmentation problem. In addition, using a threshold band as the boundary was adopted rather than multilevel thresholding in traditional methods for segmentation. Experimental results show that the proposed method based on DPSO gives better performance compared with several typical methods.

Author Contributions

Conceptualization, Y.L.; Methodology, Y.L. and S.W.; Software, S.W.; Validation, Y.L., S.W. and J.X.; Formal Analysis, S.W. and J.X.; Investigation, Y.L.; Resources, Y.L. and S.W.; Data Curation, J.X.; Writing-Original Draft Preparation, S.W.; Writing-Review & Editing, Y.L. and J.X.; Visualization, J.X.; Supervision, Y.L.; Project Administration, Y.L.; Funding Acquisition, Y.L.

Funding

This work is funded by the science foundation of East China University of Science and Technology.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Li, L.; Feng, J. Current situation and development trend of sapphire crystal growth technology in China. J. Synth. Cryst. 2012, 41, 221–226. [Google Scholar]
  2. Liu, J. Preparation methods and characteristics of sapphire crystal are summarized. Min. Metall. Eng. 2011, 31, 102–106. [Google Scholar]
  3. Shao, W.; Yang, J. The iso-diameter control method for the growth of large size sapphire single crystal by bubble method. J. Synth. Cryst. 2012, 41, 253–257. [Google Scholar]
  4. Scheel, H.J.; Fukuda, T. Crystal Growth Technology; John Wiley & Sons Inc.: Hoboken, NJ, USA, 2003; pp. 3–14. [Google Scholar]
  5. Liu, C.; Li, N. Research on Growth of 90 kg Class Sapphire Crystals by Kyropoulos Method. J. Synth. Cryst. 2016, 10, 2500–2503. [Google Scholar]
  6. Chen, P.; Sun, W. Research on printing quality inspection based on machine vision. Comput. Technol. Dev. 2014, 7, 103–106. [Google Scholar]
  7. Liu, L.; Xu, J. Study on the growth process of sapphire crystal by bubble method. J. Harbin Inst. Technol. 2011, 43, 145–148. [Google Scholar]
  8. Zhou, L.; Jiang, F. An overview of image segmentation methods. Appl. Res. Comput. 2017, 34, 1921–1928. [Google Scholar]
  9. Chen, Y. Overview of image edge detection methods. J. Baoji Univ. Arts Sci. 2013, 33, 16–21. [Google Scholar]
  10. Guariglia, E. Harmonic Sierpinski Gasket and applications. Entropy 2018, 20, 714. [Google Scholar] [CrossRef]
  11. Guariglia, E. Entropy and Fractal Antennas. Entropy 2016, 18, 84. [Google Scholar] [CrossRef]
  12. Cheng, H.D.; Jiang, X.H.; Sun, Y.; Wang, J. Color image segmentation: Advantages and prospects. Pattern Recognit. 2001, 34, 2259–2281. [Google Scholar] [CrossRef]
  13. Xu, S. Research on Image Segmentation Algorithm based on Fuzzy Clustering. Master’s Thesis, Beijing University of Posts and Telecommunications, Beijing, China, 2018. [Google Scholar]
  14. Sezgin, M.; Sankur, B. Survey over image thresholding techniques and quantitative performance evaluation. Electron. Imaging 2004, 13, 146–165. [Google Scholar]
  15. Otsu, N. A threshold selection method from grey-level histograms. IEEE Trans. Syst. Man Cybern. 1979, 9, 62–66. [Google Scholar] [CrossRef]
  16. Liao, P.S.; Chen, T.S.; Chung, P.C. A fast algorithm for multilevel thresholding. J. Inf. Sci. Eng. 2001, 17, 713–727. [Google Scholar]
  17. Yin, P.Y.; Chen, L.H. A fast iterative scheme for multilevel thresholding methods. Signal Process. 1997, 60, 305–313. [Google Scholar] [CrossRef]
  18. Yin, P.-Y. A fast scheme for multilevel thresholding using genetic algorithms. Signal Process. 1999, 72, 85–95. [Google Scholar] [CrossRef]
  19. Lai, C.C.; Tseng, D.C. A hybrid approach using Gaussian smoothing and genetic algorithm for multilevel thresholding. Int. J. Hybrid Intell. Syst. 2004, 1, 143–152. [Google Scholar] [CrossRef]
  20. Ye, Z.; Zheng, Z.; Yu, X.; Ning, X. Automatic threshold selection based on ant colony optimization algorithm. In Proceedings of the International Conference on Neural Networks and Brain, Beijing, China, 13–15 October 2005; pp. 728–732. [Google Scholar]
  21. Maitra, M.; Chatterjee, A. A hybrid cooperative-comprehensive learning based PSO algorithm for image segmentation using multilevel thresholding. Exp. Syst. Appl. 2008, 34, 1341–1350. [Google Scholar] [CrossRef]
  22. Gao, H.; Xu, W.; Sun, J.; Tang, Y. Multilevel thresholding for image segmentation through an improved quantum-behaved particle swarm algorithm. IEEE Trans. Instrum. Meas. 2010, 59, 934–946. [Google Scholar] [CrossRef]
  23. Sathya, P.D.; Kayalvizhi, R. Optimal multilevel thresholding using bacterial foraging algorithm. Exp. Syst. Appl. 2011, 38, 15549–15566. [Google Scholar] [CrossRef]
  24. Shi, Y.; Eberhart, R. A modified particle swarm optimizer. In Proceedings of the 1998 IEEE International Conference on Evolutionary Computation, IEEE World Congress on Computational Intelligence, Anchorage, AK, USA, 4–9 May 1998; IEEE: Piscataway, NJ, USA, 1998; pp. 69–73. [Google Scholar]
  25. Abdul, K.; Saurabh, C. Multilevel thresholding using grey wolf optimizer for image segmentation. Exp. Syst. Appl. 2017, 86, 64–76. [Google Scholar]
  26. Baby, K.P.; Nair, S. Multilevel thresholding for image segmentation using Krill Herd Optimization algorithm. J. King Saud Univ. 2018, in press. [Google Scholar]
  27. Aziz, M.A.; Ewees, A.A.; Hassanien, A.E. Whale Optimization Algorithm and Moth-Flame Optimization for Multilevel Thresholding Image Segmentation. Exp. Syst. Appl. 2017, 83, 242–256. [Google Scholar] [CrossRef]
  28. Li, J.; Tang, W. Multilevel thresholding selection based on variational mode decomposition for image segmentation. Signal Process. 2018, 147, 80–91. [Google Scholar] [CrossRef]
  29. Pullakura, K. Optimal Multilevel Thresholding Selection for Brain MRI Image Segmentation Based on Adaptive Wind Driven Optimization. Measurement 2018, 130, 340–361. [Google Scholar]
  30. Li, H.; He, H. Dynamic particle swarm optimization and K-means clustering algorithm for image segmentation. Optik 2015, 126, 4817–4822. [Google Scholar] [CrossRef]
Figure 1. Images of crystal defects. (a) Polycrystallinity; (b) Cracking and air bubbles.
Figure 1. Images of crystal defects. (a) Polycrystallinity; (b) Cracking and air bubbles.
Sensors 18 03878 g001
Figure 2. Graphical illustration of the proposed method.
Figure 2. Graphical illustration of the proposed method.
Sensors 18 03878 g002
Figure 3. Improved Otsu method diagram.
Figure 3. Improved Otsu method diagram.
Sensors 18 03878 g003
Figure 4. Crystal images acquisition device.
Figure 4. Crystal images acquisition device.
Sensors 18 03878 g004
Figure 5. (ad) are the original images of crystal growth images, (eh) are the histograms of the original images.
Figure 5. (ad) are the original images of crystal growth images, (eh) are the histograms of the original images.
Sensors 18 03878 g005
Figure 6. (ad) are images after image enhancement, (eh) are the histograms of images after image enhancement.
Figure 6. (ad) are images after image enhancement, (eh) are the histograms of images after image enhancement.
Sensors 18 03878 g006
Figure 7. Segmented images obtained by the Otsu-based PSO, BF, and GA methods ((a1a4, b1b4, c1c4) represent PSO, BF, and GA, respectively).
Figure 7. Segmented images obtained by the Otsu-based PSO, BF, and GA methods ((a1a4, b1b4, c1c4) represent PSO, BF, and GA, respectively).
Sensors 18 03878 g007
Figure 8. (A1A4) are segmented images of a–d obtained by Otsu-based DPSO method.
Figure 8. (A1A4) are segmented images of a–d obtained by Otsu-based DPSO method.
Sensors 18 03878 g008
Table 1. Parameters for DPSO.
Table 1. Parameters for DPSO.
ParametersValue
Size of the Population (N)25
Iteration Number100
Inertia Weight ( ω max )0.9
Inertia Weight ( ω min )0.4
PSO random parameter c 1 , beg = c 2 , end = 3
c 2 , beg = c 1 , end = 0.5
Width of threshold band25
Table 2. Parameters for PSO.
Table 2. Parameters for PSO.
ParametersValue
Size of the Population(N)25
Iteration Number100
Inertia Weight ( ω max )0.9
Inertia Weight ( ω min )0.4
PSO random parameterC1 = 2
C2 = 2
Table 3. Parameters for GA.
Table 3. Parameters for GA.
ParametersValue
Size of the Population (N)20
Iteration Number100
Probability of Crossover (Pc)0.8
Probability of Mutation (Pm)0.05
Table 4. Parameters for BF.
Table 4. Parameters for BF.
ParametersValue
Bacterium Number40
Chemotactic Steps Number10
Length of Swimming10
Reproduction Steps Number4
Elimination of Dispersal Events Number2
Attractant Depth0.1
Attract Width0.2
Repellent Height0.1
Repellent Width10
Elimination and Dispersal Probability0.02
Table 5. Comparative analysis of objective function values obtained by the Otsu-based DPSO method with other bio-inspired multilevel thresholding methods.
Table 5. Comparative analysis of objective function values obtained by the Otsu-based DPSO method with other bio-inspired multilevel thresholding methods.
Test ImagesObjective Values
DPSONo. of ThresholdsPSOBFGA
Crystal11834.821821.41820.31806.9
Crystal21827.521814.21816.21808.0
Crystal31856.221829.61838.51820.3
Crystal41814.321804.31813.81795.0
Table 6. Comparative analysis of threshold values obtained by the Otsu-based DPSO method with other bio-inspired multilevel thresholding methods.
Table 6. Comparative analysis of threshold values obtained by the Otsu-based DPSO method with other bio-inspired multilevel thresholding methods.
Test ImagesThreshold BandThreshold Values
DPSONo. of ThresholdsPSOBFGA
Crystal1146–1712130,164131,163130,164
Crystal2142–1672135,161135,162135,161
Crystal3145–1702132,160132,160133,160
Crystal4143–1682135,162135,163134,163
Table 7. Comparative analysis of average CPU time obtained by the DPSO-based method with other bio-inspired multilevel thresholding methods.
Table 7. Comparative analysis of average CPU time obtained by the DPSO-based method with other bio-inspired multilevel thresholding methods.
Test ImagesNo. of ThresholdsCPU Time (s)
DPSOPSOBFGA
Crystal123.14063.57693.29743.9643
Crystal222.99963.32683.12553.7584
Crystal322.87493.26463.09673.6843
Crystal422.84383.15392.98363.5288
Table 8. Comparative analysis of internal uniformity obtained by the DPSO-based method with other bio-inspired multilevel methods.
Table 8. Comparative analysis of internal uniformity obtained by the DPSO-based method with other bio-inspired multilevel methods.
Test ImagesInternal Uniformity
DPSOPSOBFGA
Crystal10.67040.57420.59670.5721
Crystal20.75330.64450.65760.6419
Crystal30.74170.65250.66190.6541
Crystal40.76080.61290.62370.6113

Share and Cite

MDPI and ACS Style

Li, Y.; Wang, S.; Xiao, J. Image Segmentation Based on Dynamic Particle Swarm Optimization for Crystal Growth. Sensors 2018, 18, 3878. https://doi.org/10.3390/s18113878

AMA Style

Li Y, Wang S, Xiao J. Image Segmentation Based on Dynamic Particle Swarm Optimization for Crystal Growth. Sensors. 2018; 18(11):3878. https://doi.org/10.3390/s18113878

Chicago/Turabian Style

Li, Yu, Shouyu Wang, and Jialin Xiao. 2018. "Image Segmentation Based on Dynamic Particle Swarm Optimization for Crystal Growth" Sensors 18, no. 11: 3878. https://doi.org/10.3390/s18113878

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