The Method of Flotation Froth Image Segmentation Based on Threshold Level Set

Abstract

A novel flotation froth image segmentation based on threshold level set method is put forward in view of the problem of over-segmentation and under-segmentation which occurs when the existing method segmented the flotation froth images. Firstly, the proposed method adopts histogram equalization to improve the contrast of the image, and then chooses the upper threshold and lower threshold from grey value of histogram of the image equalization, and complete image segmentation using the level set method. In this paper, the model which integrates edge with region level set model is utilized, and the speed energy term is introduced to segment the target. Experimental results show that the proposed method has better segmentation results and higher segmentation efficiency on the images with under-segmentation and incorrect segmentation, and it is meaningful for ore dressing industrial.

Share and Cite:

Zhao, J. , Wang, H. , Zhang, L. and Wang, C. (2015) The Method of Flotation Froth Image Segmentation Based on Threshold Level Set. Advances in Molecular Imaging, 5, 38-48. doi: 10.4236/ami.2015.52004.

1. Introduction

Flotation is a most extensive mineral processing method in mineral mental refining application. Its froth surface characteristics such as shape, size and so on are the key to judge the mineral quality. In recent years, much research has been carried out by many researchers and scholars. For example, Vincent [1] put forward the novel methodology based on immersion watershed in 1991. Along with deeper research, Guoqing Zhao [2] et al. has introduced morphological reconstruction in order to overcome the over-segmentation problem. Nowadays at home and broad such as Liu Jinping [3] et al. put forward a novel segmentation algorithm based on the charac- teristics of grayscale distribution of flotation froth image by analyzing the grayscale distribution of each segment region to extract the features. Mohammad [4] proposed a method based on modified mark watershed to measure the size of flotation froth which can measure the size of froth more accurate and automatic.

There are so many methods for segmenting image. However, recently the level set method [5] -[7] in the field of image segmentation is becoming one of the most popular and successful methods. There are two broad categories in the existing active contour model, such as the boundary-based active contour model [8] and the region-based active contour model [9] . In 1997, Caselles and Sapior [10] et al. put forward geodesic active contour (GAC) model with no free parameters which has utilized the gradient information of image to makes the evolving curve to stop on the target boundary. In 2002, Chan and Vese [11] proposed the region-based model called Chan-Vese (C-V) model which overcome the boundary-based model in the sensitivity of original location. And the model used the target and the difference of relevant pixel values to extract the targets. In order to im- prove the accuracy of object edge positioning, Sagiv [12] put forward the integrated active contour model (IAC) in 2005 which merges the boundary-based model with the region-based model. Jianmin Qiao [13] combined energy constraints with the traditional GAC mode to stabilize in numerical calculation. In addition, in order to improve the efficiency of segmentation, Khalif [14] presented a new speed function to achieve the target segmentation from the background of the image.

Recently, flotation froth image segmentation method at home and abroad mainly concentrates edge exploration method and watershed segmentation method, due to edge exploration method claims to the high light intensity, so the accuracy of the algorithm will be greatly influenced. Although watershed segmentation method avoids this issue, it is so easy to cause the problem of under-segmentation and incorrect segmentation that the accuracy of segmentation decreases.

In order to solve the shortcomings arising from conventional flotation bubble image segmentation method, a novel flotation froth image segmentation based on threshold level set method is put forward in view of the problem of under-segmentation and incorrect segmentation which occurs when the existing method segmented the flotation froth images. Firstly, the proposed method adopts histogram equalization to improve the contrast of the image, and then chooses the upper threshold and lower threshold from grey value of histogram of the image equalization, and complete image segmentation using the level set method. In this paper, the model which inte- grates edge with region level set model is utilized, and the speed energy term is introduced to segment the target. Experimental results show the feasibility and effectiveness of threshold level set model.

2. The Novel Proposed Model

2.1. IAC Model

2.1.1 . GAC Model

Caselles [15] proposed the active contour model which is not dependent on the free parameters. The energy functional is as follows:

(1)

Though the variational level set method, the above formula will be revised as functional on the embedding function:

(2)

where variational level set the gradient descent of flow is as follows:

(3)

The c is a constant speed function, g is the edge function, is a Heaviside function, is a derivative of regularized Heaviside function. That is:

(4)

(5)

(6)

The GAC model is only suitable for the single value image, in order to realize the vector image segmentation, Caselles and Sapiro [16] proposed a new vector image GAC model, the gradient descent flow of variational level set method is:

(7)

In the formula is a function of image edge vector. That is,

(8)

where are the two characteristic values.

2.1.2. C-V Model

When the image not only has no obvious boundary but also the lack of obvious texture feature, it is difficult to achieve a successful segmentation. In the image, the difference between object and background may also re- present the average gray value was different. The image is divided into two parts of internal and external, , the internal and external average gray level image exactly reflect the gray level between the object and the background of the average value, then the closed curve can be seen as the object contour. Based on the idea, C-V model is proposed. The energy functions as follows:

(9)

It has three variables: scalar, , and the curve C. The first one C is the whole arc length. The second and third respectively are the square error between internal and external area’s grey value with scalar,.

In the literature the C-V model will be extended to functional for vector images.

(10)

where express the two m dimensional vector.

The above formula utilizes the variational level set method to be revised as functional on the embedding function:

(11)

So in the function u of fixed conditions, relative to and minimization can be obtained:

(12)

That is the internal and external average vector images in current zero level set.

Under fixed and conditions, with respect to the u minimization can be obtained:

(13)

2.1.3. IAC Model

Although the region-based C-V model overcomes the drawback of GAC model, it is not in favor of the contours evolving into the object boundaries quickly and accurately. However the boundary-based GAC model lacks the ability of global segmentation. So the Integrated Active Contour (IAC) Model put forward, the energy functional is as follows:

(14)

where variational level set the gradient descent of flow is as follows:

(15)

In the function u of fixed conditions, the minimization results of and is the same as formula (12). And under fixed and conditions, the relative to u minimize type can be obtained:

(16)

2.2. The Threshold Speed Item

The GAC model cannot accurate segment the object with deep low-lying regions, therefore this paper introduces a constant speed which set to c in IAC model to guide curve evolution, the energy functional is defined the by:

(17)

where variational level set the gradient descent of flow is as follows:

(18)

However, the parameter by improperly choosing will lead to edge leakage or slower convergence speed, thus a speed function is introduced V as follows:

(19)

where β is the constant parameter which controls the smoothness of active contour, and denotes curvature.

Edge function can only reflect the local gray level change of image rather than the actual image edge. There is a segmentation method called threshold segmentation method which seeks a suitable grey value and then the two classifications are obtained by comparing it with each of image gray level value. Finally, the image of object and background are formed to complete the image segmentation. The novel threshold speed function is introduced V as follows:

(20)

The constant is a weight number of curvature. And is a function of image intensity I as follows:

(21)

where U, L are represent upper threshold and lower threshold, respectively. In the formula (21), the intensity I is equal to the value.

The formula (21) makes the active contours enclose the boundary of region whose intensities are in the interval. The term based on image intensity I causes the model to contract regions and expand over with gray values within the specified interval. The threshold level set model controls the active contours to capture the regions of interest by adjusting parameters L and U.

2.3. Combining Threshold Speed Item and IAC Model

In this section, threshold speed item is combined shape priors and IAC model. The total energy is defined by

(22)

where variational level set the gradient descent of flow is as follows:

(23)

3. Algorithm Implementation

3.1. Histogram Equalization

Gray histogram of the image reflects the friendship between image grayscale and the probability of occurrence of this kind of grayscale. In order to enhance image contrast, this article adopts the method of histogram equalization [17] .

Firstly, an array containing G element is set up, statistics of the original image grey values, and then draw the gray-level histogram. Finally, the mapping of gray-scale is realized by histogram transformation, which is writ- ten as:

(24)

where is the number of the pixels of the same grey value k. And the formula (24) is written as the probability of normalized expression

(25)

where denotes the kth level of grey value of image, and n denotes the total number of pixels in the image.

In addition, image enhancement function is shown as:

a) is single value increasing function, and makes the grayscale still from small to large order after equalization.

b) always keeps the dynamic range of grayscale unchanged.

Cumulative Distribution Function (CDF) must meet the above two requirements at the same time, and the uniform distribution of t transforms by the distribution of s. While the cumulative distribution functions of s is the cumulative histogram of original image in fact, and then:

(26)

where is a single value increasing function of k, the dynamic range of grayscale is unchanged, and.

3.2. Obtaining Upper and Lower Threshold

According to the concrete forms of histogram and the position of peak to extract the threshold, convenience is provided for the accurate segmentation process. The original image and the gray level histogram of before and after the equalization of shown as are Figure 1.

This section will be introduced how to obtain the threshold in detail. Such as Figure 1(d), there are two peak valleys which are a and b. The gray value which is less than a and greater than b is of smaller proportion in the histogram. In the analysis, grayscale less than a is caused by uneven light irradiation in image collection process and then leads to the edges of froth darker shade. While the latter is due to lamplight illuminate the top of the froth. Another crest of figure shows that the number of gray levels between is the most and threshold should be expanded to select in order to avoid excessive under segmentation in the process of segmentation, ,. The two values are substituted into formula (21), we obtain as follows:

(27)

And then the new speed function V can be gained by substituting into Formula (20).

(a) (b)(c) (d)

Figure 1. (a) Original image; (b) The histogram of original image; (c) After the equalization image; (d) The histogram of after the equalization image.

4. Experimental Results and Analysis

In this section, we will use the novel segmentation algorithm proposed in this paper to do experiment, at the same time we also use the watershed segmentation algorithm, the C-V segmentation algorithm and the segmentation algorithm based on IAC method to do experiments.

4.1. Experimental Results

Now we choose the following four images as the experimental images. The sample images used for experiment are shown in Figure 2 and after histogram equalization images are shown in Figure 3.

4.1.1. Watershed Segmentation Method

Watershed segmentation method whose characteristics are intuitive and rapid is chosen to segment flotation forth image, the results are shown in Figure 4.

Because gradient image of many images have a lot of local minimum, so can see the results as shown Figure 4 that there are a myriad of small area boundaries. At the same time watershed algorithm is sensitive to noise. The final segmentation result is not ideal due to the problem of over and under segmentations.

(a) (b) (c) (d)

Figure 2. Color sample images.

(a) (b) (c) (d)

Figure 3. After the histogram equalization processing sample images.

(a) (b) (c) (d)

Figure 4. Watershed segmentation result.

4.1.2. Level Set Method

There are results of three level set segmentation methods in the section.

a) C-V model

Figure 5 shows the segmentation results of the C-V which based on region, where the parameters are set to: (Step Length), (Parameter of Heaviside function and Dirac function) and the iterations Nb_iter = 1300.

As is evident from Figure 5, the results of C-V model are better than watershed method, but the C-V model is initialized again every once in a while which takes more time for segmentation. In addition, the gray level of image is too uneven to correct segmentation. The final segmentation result is not also ideal.

b) IAC model

Figure 6 shows the segmentation results of the IAC, where the parameters are set to:, and the iterations Nb_iter = 800.

The results compared with the above two methods are also improved. Although all the bright spot in the whole picture can be segment and the speed is faster than C-V, the darker regions still cannot be segment. The problem of under segmentation is not solved and the results are unsatisfactory.

c) The novel proposed model

In this paper, the model which integrates edge with region level set model is utilized, and the speed energy term is introduced to segment the target. The segmentation results are shown as Figure 7, where the parameters are set to:, , (Parameters of Controlling the relative size of bound term), (A weight number of curvature) and the iterations Nb_iter = 360.

The image contrast is enhanced by histogram equalization and then on this basis the upper and lower thresholds are selected. Finally, the speed function which contains the thresholds guides the curve evolution. The method proposed in this paper for the region of non-uniform gray image has much better segmentation effect than the above methods. Moreover, compared with C-V and IAC, the time of segmentation is also shortening.

4.1.3. The Evaluation and Analysis of Segmentation Results

We mainly analyze and evaluate the experimental results from the segmentation time and accuracy.

At first we compare the segmentation efficiency of the segmentation method using watershed, C-V, IAC and the proposed method.

(a) (b) (c) (d)

Figure 5. The model of C-V segmentation result.

(a) (b) (c) (d)

Figure 6. The model of IAC segmentation result.

The statistical graph of the time efficiency of four kinds of segmentation method is shown in Figure 8 through experiments and analysis.

As you can see in Figure 8, the segmentation time of the proposed method is much faster than that of C-V and IAC methods, but which is slower than watershed method and the result is that the characteristics of watershed method are intuitive and rapid.

Next the Similarity Index (SI) is utilized to compare the results described on above on the segmentation accuracy.

In Figure 9, the statistical situation of the SI is shown, respectively.

As you can see in Figure 9, the segmentation accuracy of the proposed method is superior to that of watershed method, C-V method and IAC method.

5. Conclusion

This paper utilizes the Histogram Equalization to enhance image contract to see the size and shape of froth easily, and chooses the upper threshold and lower threshold from grey value of histogram of the image equalization, and complete image segmentation using the level set method. The threshold speed function is introduced in the model which integrates edge with region level set model is adopted to solve the problem of over segmentation and under segmentation. Via the comparison of several groups of experiments, it is proved that the segmentation precision and efficiency of the novel level set segmentation method are improved.

(a) (b) (c) (d)

Figure 7. The model of the present paper segmentation result.

Figure 8. Time efficiency contrast.

Figure 9. Segmentation accuracy contrast.

Acknowledgements

This research is funded by the Education Department of Liaoning Province Foundation grant Number LJQ2014033 and University of Science and Technology Liaoning Foundation grant Number 2013RC08.

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] Vincent, L. and Soille, P. (1991) Watersheds in Digital Spaces: An Efficient Algorithm Based on Immersion Simulations. IEEE Transactions on Pattern Analysis and Machine Intelligence, 13, 583-598.
http://dx.doi.org/10.1109/34.87344
[2] Zhao, G.Q., Gu, Y.Y., et al. (2007) A Classification of Flotation Froth Based on Geometry. Mechatronics and Automation, Harbin, 2716-2720.
[3] Liu, J.P., Gui, W.H., Chen, Q., et al. (2013) An Unsupervised Method for Flotation Froth Image Segmentation Evaluation Base on Image Gray-Level Distribution. IEEE Control Conference (CCC), Xi’an, 4018-4022.
[4] Massinaei, M. (2014) Development of a New Algorithm for Segmentation of Flotation Froth Images. Minerals and Metallurgical Processing, 31, 66-72.
[5] Wirthgen, T., Lempe, G. and Zipser, S. (2012) Ulrich Grünhaupt Level-Set Based Infrared Image Segmentation for Automatic Veterinary Health Monitoring. Computer Vision and Graphics, 685-693.
http://dx.doi.org/10.1007/978-3-642-33564-8_82
[6] Wirthgen, T., Zipser, S., Franze, U., et al. (2011) Automatic Segmentation of Veterinary Infrared Images with the Active Shape Approach. Lecture Notes in Computer Science. Proceedings of 17th Scandinavian Conference on Image Analysis, 435-446.
http://dx.doi.org/10.1007/978-3-642-21227-7_41
[7] Lim, P.H., Bagci, U., Aras, O., et al. (2012) A Novel Spinal Vertebrae Segmentation Framework Combining Geometric Flow and Shape Prior with Level Set Method. IEEE International Symposium on Biomedical Imaging, Barcelona, 1703-1706.
http://dx.doi.org/10.1109/ISBI.2012.6235907
[8] Li, C.M., Xu, C.Y., Gui, C.F., et al. (2005) Level Set Evolution without Re-Initialization: A New Variational Formulation. IEEE Conference on Computer Vision and Pattern Recognition, San Diego, 430-436.
[9] Paragios, N. and Deriche, R. (2002) Geodesic Active Regions and Level Set Methods for Supervised Texture Segmentation. International Journal of Computer Vision, 46, 223-247.
http://dx.doi.org/10.1023/A:1014080923068
[10] Caselles, V., Kimmel, R. and Sapiro, G. (1997) Geodesic Active Contours. International Journal of Computer Vision, 22, 61-79.
http://dx.doi.org/10.1023/A:1007979827043
[11] Vese, L. and Chan, T. (2002) A Multiphase Level Set Framework for Image Segmentation Using the Mumford and Shah Model. International Journal of Computer Vision, 50, 271-293.
http://dx.doi.org/10.1023/A:1020874308076
[12] Sagiv, C., Sochen, N.A. and Zeevi, Y.Y. (2006) Integrated Active Contours for Texture Segmentation. IEEE Transactions on Image Processing, 15, 1633-1646.
http://dx.doi.org/10.1109/TIP.2006.871133
[13] Qiao, J.M. (2011) The Improvement of Image Segmentation Based on GAC Model and C-V Model. Harbin Institute of Technology, Harbin.
[14] Khalifa, F., El-Baz, A., Ouseph, R., et al. (2010) Shape-Appearance Guided Level-Set Deformable Model for Image Segmentation. IEEE International Conference on Pattern Recognition, Istanbul, 4581-4584.
[15] Chung, D.H. and Sapiro, G. (2000) On the Level Lines and Geometry of Vector-Valued Image. IEEE, Signal Processing Letters, 7, 241-243.
[16] Sapiro, G. (2001) Geometric Partial Differential Equations and Image Analysis. Cambridge University Press, Cambridge.
http://dx.doi.org/10.1017/CBO9780511626319
[17] Wang, B. (2010) The Improvement of Image Segmentation Based on Level Set Method. Xidian University, Xi’an.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.