An Active Contour Model Based on Retinex and Pre-Fitting Reflectance for Fast Image Segmentation
<p>The generation of reflectance in the real world.</p> "> Figure 2
<p>The first graph (<b>a</b>) reflects the intensity variation of the boundary of targets. The second graph (<b>b</b>) presents the reflection of the first–order differential on changing intensity. The third graph (<b>c</b>) presents the reflection of the second–order differential on changing intensity.</p> "> Figure 3
<p>The original graph processed by the first-order differential operator and the second-order differential operator.</p> "> Figure 4
<p>The function curve of tanh(x).</p> "> Figure 5
<p>Results of the segmentation experiment (<b>a</b>–<b>j</b>). Green frames represent the initial curve. Red curves signify evolving curves. 1st and 5th column: original images and initial curves; 2nd to 3rd and 6th to 7th columns: evolutionary process of evolving curves; 4th and 8th columns: final segmentation results.</p> "> Figure 6
<p>Results of the first contrast experiments about the proposed model and six other ACMs (<b>a</b>–<b>h</b>). Green curves represent the initial curve. Red curves signify evolving curves. 1st column signifies original images and initial contours, 2nd–8th columns represent segmentation results of the RSF, LIF, LGDF, LPF and FCM, LSACM, PBC and FCM and the proposed model, respectively.</p> "> Figure 7
<p>Execution time of segmentation results by seven ACMs.</p> "> Figure 8
<p>Results of the second contrast experiment. Green curves represent the initial curve. Red curves signify evolving curves. Segmentation results of images (<b>a</b>–<b>g</b>) by the RSF, LIF, LGDF, LPF and FCM, LSACM, PBC and FCM and the proposed model under the same initial contour are present from top to bottom in order to measure the accuracy.</p> "> Figure 9
<p>Eight groups of segmentation results by PFRACM (<b>a</b>–<b>h</b>). Green curves represent the initial curve. Red curves signify evolving curves. In this section, we select eight images to segment and divide these results into eight groups from a to h. In each group, we set four different positions of initial contour from the 1st column to 4th column.</p> "> Figure 10
<p>Results of the noise-robustness experiment (<b>a</b>–<b>c</b>). Green curves represent the initial curve. Red curves signify evolving curves. The images in first, third and fifth rows: original images corrupted by Gaussian noise, Salt and Pepper noise, Speckle noise and Poisson noise, respectively. The second, fourth and sixth rows: final segmentation results.</p> "> Figure 11
<p>Six images are selected for the experiment. Green curves represent the initial curve. Red curves signify evolving curves. These images are divided into six groups from (<b>A</b>–<b>F</b>), each group has the original image segmentation in the first row, low-contrast image segmentation in the second row and blurred image segmentation in the third row. In each group, the first column is the input image, the second column is the position of the initial contour, and the third column is the segmentation result.</p> "> Figure 12
<p>Green curves represent the initial curve. Red curves signify evolving curves. Three images segmented by the proposed model with different data-driven terms. The 1st columns are the initial contours and original images. The 2nd columns are results segmented without <math display="inline"><semantics> <mrow> <mi>a</mi> <mi>r</mi> <mi>c</mi> <mi>t</mi> <mi>a</mi> <mi>n</mi> <mo>(</mo> <mo>·</mo> <mo>)</mo> </mrow> </semantics></math> and the 3rd columns are results segmented with <math display="inline"><semantics> <mrow> <mi>a</mi> <mi>r</mi> <mi>c</mi> <mi>t</mi> <mi>a</mi> <mi>n</mi> <mo>(</mo> <mo>·</mo> <mo>)</mo> </mrow> </semantics></math>, respectively.</p> "> Figure 13
<p>Green curves represent the initial curve. Red curves signify evolving curves. The first column is the position of the initial contour, the second to fourth columns are the results of segmentation with different <math display="inline"><semantics> <msub> <mi>σ</mi> <mi>R</mi> </msub> </semantics></math>. The value of <math display="inline"><semantics> <msub> <mi>σ</mi> <mi>R</mi> </msub> </semantics></math> from left to right is set as 0.5, 5.5 and 2.5, respectively (<b>a</b>–<b>d</b>).</p> "> Figure 14
<p>The three−dimensional diagram of intensity changing about these four images under the impact of different <math display="inline"><semantics> <msub> <mi>σ</mi> <mi>R</mi> </msub> </semantics></math>. The title of each graph is the final level set function. The legend on the right side shows the color corresponding to different intensities.</p> "> Figure 15
<p>Green curves represent the initial curve. Red curves signify evolving curves. The first column is the position of the initial contour, the second column is the results segmented by the Roberts operator that replaces the LoG operator, and the third column is the results segmented by the proposed model.</p> ">
Abstract
:1. Introduction
2. Background
2.1. BC Model
2.2. Retinex Theory
3. The Proposed Model
3.1. Additive Bias Field
3.2. The Second Derivative of the Image—Reflectance
3.3. Criterion Function
3.4. Energy Function
3.5. Regularization Function and Smoothing Method of Level Set Function
3.6. Position of Initial Contour
4. Algorithm Steps and Datasets
Algorithm 1 Pre-fitting reflectance (PFR) for image segmentation |
Output: The given images with different objects, parameters . |
Ensure: Segmentation results with final contours. |
|
5. Experimental Results and Relative Analysis
5.1. The Segmentation Results and Processes of Eight Images with Different Types
5.2. Comparison of Time Consumption
5.3. Comparison of Segmentation Quality of Different Models
5.4. Robustness of Initial Contour of the Proposed ACM
5.5. Experiments and Analysis of the Noise-Robustness of the Proposed Model
5.6. Experiments and Analysis on the Low-Contrast and Blurred Images
5.7. Experiments and Analysis of the Data-Driving Term
5.8. Segmentation of Dual-Objective (or Multi-Objective) Images with Different
5.9. Comparison of Accuracy of Roberts Operator and LoG
5.10. Conclusions and Future Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Kolev, K.; Klodt, M.; Brox, T.; Cremers, D. Continuous Global Optimization in Multiview 3D Reconstruction. Int. J. Comput. Vis. 2009, 84, 80–96. [Google Scholar] [CrossRef] [Green Version]
- Liu, Y.; He, C.; Wu, Y. Variational model with kernel metric-based data term for noisy image segmentation. Digit. Signal Process. A Rev. J. 2018, 78, 42–55. [Google Scholar] [CrossRef]
- Choy, S.K.; Yuen, K.; Yu, C. Fuzzy bit-plane-dependence image segmentation. Signal Process. 2019, 154, 30–44. [Google Scholar] [CrossRef]
- Chen, Y.; Jiang, W.; Charalambous, T. Machine learning based iterative learning control for non-repetitive time-varying systems. Int. J. Robust Nonlinear Control 2022. Early View. [Google Scholar] [CrossRef]
- Chen, Y.; Zhou, Y.; Zhang, Y. Machine learning-based model predictive control for collaborative production planning problem with unknown information. Electronics 2021, 10, 1818. [Google Scholar] [CrossRef]
- Rao, Y.; Ni, J.; Xie, H. Multi-semantic CRF-based attention model for image forgery detection and localization. Signal Process. 2021, 183, 108051. [Google Scholar] [CrossRef]
- Kaur, K.; Jindal, N.; Singh, K. Fractional Fourier Transform based Riesz fractional derivative approach for edge detection and its application in image enhancement. Signal Process. 2021, 180, 107852. [Google Scholar] [CrossRef]
- Caselles, V.; Catté, F.; Coll, T.; Dibos, F. A geometric model for active contours in image processing. Numer. Math. 1993, 66, 1–31. [Google Scholar] [CrossRef]
- Li, C.; Xu, C.; Gui, C.; Fox, M.D. Distance regularized level set evolution and its application to image segmentation. IEEE Trans. Image Process. 2010, 19, 3243–3254. [Google Scholar] [CrossRef]
- Mumford, D.; Shah, J. Optimal approximations by piecewise smooth functions and associated variational problems. Commun. Pure Appl. Math. 1989, 42, 577–685. [Google Scholar] [CrossRef]
- Chan, T.F.; Vese, L.A. Active contours without edges. IEEE Trans. Image Process. 2001, 10, 266–277. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Biswas, S.; Hazra, R. A level set model by regularizing local fitting energy and penalty energy term for image segmentation Soumen. Signal Process. 2021, 183, 108043. [Google Scholar] [CrossRef]
- Li, C.; Kao, C.-Y.; Gore, J.C.; Ding, Z. Minimization of region-scalable fitting energy for image segmentation. IEEE Trans. Image Process. 2008, 17, 1940–1949. [Google Scholar] [PubMed] [Green Version]
- Wang, L.; He, L.; Mishra, A.; Li, C. Active contours driven by local Gaussian distribution fitting energy. Signal Process. 2009, 89, 2435–2447. [Google Scholar] [CrossRef]
- Zhang, K.; Song, H.; Zhang, L. Active contours driven by local image fitting energy. Pattern Recognit. 2010, 43, 1199–1206. [Google Scholar] [CrossRef]
- Jin, R.; Weng, G. Active contour model based on improved fuzzy c-means algorithm and adaptive functions. Comput. Math. Appl. 2019, 78, 3678–3691. [Google Scholar] [CrossRef]
- Szilagyi, L.; Benyo, Z.; Szilágyi, S.M.; Adam, H.S. MR brain image segmentation using an enhanced fuzzy c-means algorithm. In Proceedings of the 25th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Cancun, Mexico, 17–21 September 2003; Volume 1, pp. 724–726. [Google Scholar]
- Ding, K.; Xiao, L.; Weng, G. Active contours driven by local pre-fitting energy for fast image segmentation. Pattern Recognit. Lett. 2018, 104, 29–36. [Google Scholar] [CrossRef]
- Wang, X.F.; Min, H.; Zhang, Y.G. Multi-scale local region based level set method for image segmentation in the presence of intensity inhomogeneity. Neurocomputing 2015, 151, 1086–1098. [Google Scholar] [CrossRef]
- Wang, H.; Huang, T.Z.; Xu, Z.; Wang, Y. A two-stage image segmentation via global and local region active contours. Neurocomputing 2016, 205, 130–140. [Google Scholar] [CrossRef]
- Niu, S.; Chen, Q.; de Sisternes, L.; Ji, Z.; Zhou, Z.; Rubin, D.L. Robust noise region-based active contour model via local similarity factor for image segmentation. Pattern Recognit. 2017, 61, 104–119. [Google Scholar] [CrossRef]
- Yang, Y.; Wang, R.; Shu, X.; Feng, C.; Xie, R.; Jia, W.; Li, C. Level set framework with transcendental constraint for robust and fast image segmentation. Pattern Recognit. 2021, 117, 107985. [Google Scholar] [CrossRef]
- Han, B.; Wu, Y. Active contour model for inhomogenous image segmentation based on Jeffreys divergence. Pattern Recognit. 2020, 107, 107520. [Google Scholar] [CrossRef]
- Karn, P.K.; Biswal, B.; Samantaray, S.R. Robust retinal blood vessel segmentation using hybrid active contour model. IET Image Process. 2019, 13, 440–450. [Google Scholar] [CrossRef]
- Fang, L.; Qiu, T.; Zhao, H.; Lv, F. A hybrid active contour model based on global and local information for medical image segmentation. Multidimens. Syst. Signal Process. 2019, 30, 689–703. [Google Scholar] [CrossRef]
- He, C.; Wang, Y.; Chen, Q. Active contours driven by weighted region-scalable fitting energy based on local entropy. Signal Process. 2012, 92, 587–600. [Google Scholar] [CrossRef]
- Zhang, X.; Ning, Y.; Li, X.; Zhang, C. Anti-noise FCM image segmentation method based on quadratic polynomial. Signal Process. 2021, 178, 107767. [Google Scholar] [CrossRef]
- Li, C.; Huang, R.; Ding, Z.; Gatenby, J.C.; Metaxas, D.N.; Gore, J.C. A level set method for image segmentation in the presence of intensity inhomogeneities with application to MRI. IEEE Trans. Image Process. 2011, 20, 2007–2016. [Google Scholar]
- Zhang, K.; Zhang, L.; Lam, K.M.; Zhang, D. A level set approach to image segmentation with intensity inhomogeneity. IEEE Trans. Cybern. 2016, 46, 546–557. [Google Scholar] [CrossRef]
- Jin, R.; Weng, G. A robust active contour model driven by pre-fitting bias correction and optimized fuzzy c-means algorithm for fast image segmentation. Neurocomputing 2019, 359, 408–419. [Google Scholar] [CrossRef]
- Feng, C.; Zhao, D.; Huang, M. Image segmentation using CUDA accelerated non-local means denoising and bias correction embedded fuzzy c-means (BCEFCM). Signal Process. 2016, 122, 164–189. [Google Scholar] [CrossRef] [Green Version]
- Kass, M.; Witkin, A.; Terzopoulos, D. Snakes: Active contour models. Int. J. Comput. Vis. 1988, 1, 321–331. [Google Scholar] [CrossRef]
- Osher, S.; Sethian, J. Fronts propagating with curvature dependent speed: Algorithms based on Hamilton-Jacobi formulation. J. Comput. Phys. 1988, 79, 12–49. [Google Scholar] [CrossRef] [Green Version]
- Ge, P.; Chen, Y.; Wang, G.; Weng, G. An active contour model driven by adaptive local pre-fitting energy function based on Jeffreys divergence for image segmentation. Expert Syst. Appl. 2022, 210, 118493. [Google Scholar] [CrossRef]
- Ge, P.; Chen, Y.; Wang, G.; Weng, G. A hybrid active contour model based on pre-fitting energy and adaptive functions for fast image segmentation. Pattern Recognit. Lett. 2022, 158, 71–79. [Google Scholar] [CrossRef]
- Weng, G.; Dong, B.; Lei, Y. A level set method based on additive bias correction for image segmentation. Expert Syst. Appl. 2021, 185, 115633. [Google Scholar] [CrossRef]
- Land, E.H. The retinex. Am. Sci. 1964, 52, 247–264. [Google Scholar]
- Chen, Y.; Zhou, Y. Machine learning based decision making for time varying systems: Parameter estimation and performance optimization. Knowl.-Based Syst. 2020, 190, 105479. [Google Scholar] [CrossRef]
- Chen, Y.; Cheng, C.; Zhang, Y.; Li, X.; Sun, L. A Neural Network-Based Navigation Approach for Autonomous Mobile Robot Systems. Appl. Sci. 2022, 12, 7796. [Google Scholar] [CrossRef]
- Tao, H.; Wang, P.; Chen, Y.; Stojanovic, V.; Yang, H. An unsupervised fault diagnosis method for rolling bearing using STFT and generative neural networks. J. Frankl. Inst. 2020, 357, 7286–7307. [Google Scholar] [CrossRef]
Image/Parameters | k | ||||
---|---|---|---|---|---|
a | 6 | 1.5 | 15 | 5 | 2 |
b | 4 | 1 | 9 | 7 | 3 |
c | 8 | 1.5 | 25 | 6 | 1.5 |
d | 9 | 1.5 | 11 | 14 | 1.5 |
e | 4 | 1 | 10 | 8 | 2.5 |
f | 3.5 | 1.5 | 11 | 15 | 2.5 |
g | 5.5 | 1.5 | 13 | 13 | 1.5 |
h | 4 | 1.2 | 9 | 7 | 1.5 |
i | 9 | 2.5 | 25 | 13 | 1.5 |
j | 5 | 2 | 17 | 6 | 2.5 |
Model | Image a | Image b | Image c | Image d | Image e | Image f | Image g |
---|---|---|---|---|---|---|---|
RSF | 2.42/0.396 | 7.92/0.256 | 8.24/0.146 | 46.3/0.854 | 0.41/0.340 | 12.0/0.751 | 43.9/0.646 |
LIF | 5.03/0.809 | 8.83/0.953 | 0.27/0.874 | 24.1/0.861 | 3.15/0.903 | 1.31/0.867 | 1.97/0.876 |
LGDF | 4.47/0.861 | 6.41/0.898 | 0.13/0.895 | 9.51/0.759 | 1.13/0.866 | 0.30/0.667 | 2.70/0.906 |
LPF and FCM | 7.11/0.811 | 3.35/0.935 | 5.05/0.611 | 55.8/0.404 | 14.6/0.920 | 6.27/0.849 | 7.31/0.793 |
LSACM | 6.61/0.862 | 7.92/0.857 | 5.79/0.878 | 45.2/0.757 | 12.9/0.542 | 4.53/0.813 | 16.6/0.618 |
PBC and FCM | 1.68/0.895 | 2.18/0.942 | 1.04/0.783 | 7.71/0.872 | 8.47/0.915 | 3.64/0.857 | 2.62/0.855 |
Proposed | 0.54/0.911 | 0.75/0.955 | 0.05/0.911 | 1.49/0.895 | 0.24/0.941 | 0.09/0.903 | 0.81/0.902 |
Model | Image a | Image b | Image c | Image d | Image e | Image f | Image g |
---|---|---|---|---|---|---|---|
RSF | 100 | 500 | 500 | 1100 | 10 | 200 | 1100 |
LIF | 1100 | 2000 | 10 | 200 | 30 | 12 | 30 |
LGDF | 500 | 900 | 7 | 80 | 10 | 5 | 50 |
LPF and FCM | 400 | 160 | 150 | 500 | 90 | 80 | 100 |
LSACM | 400 | 120 | 250 | 90 | 30 | 50 | 90 |
PBC and FCM | 200 | 320 | 100 | 400 | 100 | 90 | 80 |
Proposed | 100 | 150 | 5 | 60 | 7 | 6 | 20 |
Image a | Image b | Image c | Image d | Image e | Image f | |
---|---|---|---|---|---|---|
Initial 1 | 3.73/0.903 | 0.72/0.955 | 0.23/0.550 | 0.48/0.911 | 1.91/0.904 | 0.53/0.961 |
Initial 2 | 3.75/0.903 | 0.72/0.955 | 0.23/0.549 | 0.47/0.911 | 1.94/0.904 | 0.53/0.961 |
Initial 3 | 3.72/0.903 | 0.70/0.955 | 0.23/0.549 | 0.48/0.911 | 1.87/0.904 | 0.52/0.961 |
Initial 4 | 3.70/0.903 | 0.71/0.955 | 0.23/0.550 | 0.48/0.911 | 1.93/0.904 | 0.52/0.961 |
Image a | Image b | Image c | |
---|---|---|---|
Non-noise | 1.46/0.937 | 0.41/0.940 | 0.91/0.957 |
Gaussian | 1.49/0.939 | 0.43/0.929 | 0.95/0.957 |
Salt and Pepper | 1.47/0.938 | 0.40/0.940 | 1.08/0.958 |
Speckle | 1.45/0.937 | 0.35/0.929 | 0.84/0.948 |
Poisson | 1.57/0.940 | 0.35/0.936 | 0.86/0.960 |
Group A | Group B | Group C | Group D | Group E | Group F | |
---|---|---|---|---|---|---|
Original | 0.27/0.98 | 0.04/0.99 | 0.64/0.90 | 0.40/0.94 | 1.04/0.95 | 0.44/0.98 |
Low-contrast | 0.26/0.96 | 0.04/0.99 | 0.69/0.90 | 0.42/0.92 | 1.12/0.95 | 0.45/0.98 |
Blurred | 0.28/0.95 | 0.05/0.96 | 0.71/0.89 | 0.48/0.88 | 1.20/0.89 | 0.52/0.96 |
n | k | ||||
---|---|---|---|---|---|
Image a | 4 | 1.5 | 50 | 7 | 9 |
Image b | 1.5 | 3 | 150 | 5 | 15 |
Image c | 3 | 2 | 150 | 10 | 15 |
Image d | 6 | 2 | 35 | 8 | 15 |
Roberts Operator Time(s)/IOU | LoG Time(s)/IOU | |
---|---|---|
bear | 0.19/0.937 | 0.17/0.941 |
plane | 0.59/0.937 | 0.57/0.983 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Yang, C.; Wu, L.; Chen, Y.; Wang, G.; Weng, G. An Active Contour Model Based on Retinex and Pre-Fitting Reflectance for Fast Image Segmentation. Symmetry 2022, 14, 2343. https://doi.org/10.3390/sym14112343
Yang C, Wu L, Chen Y, Wang G, Weng G. An Active Contour Model Based on Retinex and Pre-Fitting Reflectance for Fast Image Segmentation. Symmetry. 2022; 14(11):2343. https://doi.org/10.3390/sym14112343
Chicago/Turabian StyleYang, Chengxin, Lele Wu, Yiyang Chen, Guina Wang, and Guirong Weng. 2022. "An Active Contour Model Based on Retinex and Pre-Fitting Reflectance for Fast Image Segmentation" Symmetry 14, no. 11: 2343. https://doi.org/10.3390/sym14112343