Skip to main content
Log in

Image segmentation using MRF model optimized by a hybrid ACO-ICM algorithm

  • Optimization
  • Published:
Soft Computing Aims and scope Submit manuscript

Abstract

Gray-scale image segmentation can be cast as a combinatorial optimization problem using a Markov Random Field (MRF) model. Local and global search algorithms were proposed to find an optimal solution in a reasonable amount of time. Both local and global search algorithms have their strengths and their shortcomings. The aim of this work is to propose and study a combination between local and global search strategies. For the local search we use the Iterated Conditional Modes (ICM) while the global optimization is performed by an Ant Colony System (ACS). ICM and ACS are both based on a MRF model to assess the local and the global quality of an arbitrary segmentation. The local optimization is performed by combining Maximum Likelihood (ML) for estimation of the parameters and ICM to find the solution given a fixed set of these parameters. A comparative study is performed to select the combination strategy that gives a better result. The effectiveness of our proposal is proven through experimentation. The problem of parameterization of our solution is addressed through an empirical study that shows the effect of each parameter on the behavior of the proposed solution.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17

Similar content being viewed by others

References

  • Alpert S, Galun M, Basri R, Brandt A (2007) “image segmentation by probabilistic bottom-up aggregation and cue integration.”. In: “Proceedings of the IEEE conference on computer vision and pattern recognition”

  • An L, Li M, Boudaren MEY, Pieczynski W (2018) Unsupervised segmentation of hidden markov fields corrupted by correlated non-gaussian noise. In: International journal of approximate reasoning 102:41–59. https://doi.org/10.1016/j.ijar.2018.08.001. http://www.sciencedirect.com/science/article/pii/S0888613X17307569

  • Benboudjema D, Pieczynski W (2007) Unsupervised statistical segmentation of nonstationary images using triplet markov fields. IEEE Trans Pattern Anal Mach Intell 29(8):1367–1378. https://doi.org/10.1109/TPAMI.2007.1059

    Article  Google Scholar 

  • Blum C, Dorigo M (2004) The hyper-cube framework for ant colony optimization. IEEE Trans Syste Man Cybern, Part B (Cybernetics) 34(2):1161–1172. https://doi.org/10.1109/TSMCB.2003.821450

    Article  Google Scholar 

  • Borsotti M, Campadelli P, Schettini R (1998) Quantitative evaluation of color image segmentation results. Pattern Recogn Lett 19(8):741-747. https://doi.org/10.1016/S0167-8655(98)00052-X

  • Bose A, Mali K (2016) Fuzzy-based artificial bee colony optimization for gray image segmentation. Signal, Image Video Process 10:1089–1096

    Article  Google Scholar 

  • Box GEP, Muller ME (1958) A note on the generation of random normal deviates. Annals Math Stat 29:610

    Article  Google Scholar 

  • Boykov Y, Veksler O, Zabih R (2001) Fast approximate energy minimization via graph cuts. IEEE Trans Pattern Anal Mach Intell 23(11):1222–1239. https://doi.org/10.1109/34.969114

    Article  Google Scholar 

  • Chou PB, Brown CM (1990) The theory and practice of bayesian image labeling. Int J Comput Vis 4(3):185–210. https://doi.org/10.1007/BF00054995

    Article  Google Scholar 

  • Dorigo M, Gambardella LM (1997) Ant colony system: A cooperative learning approach to the traveling salesman problem. IEEE transactions on evolutionary computation

  • Dorigo M, Maniezzo V, Colorni A (1996) Ant system: optimization by a colony of cooperating agents. Syst Man Cybern Part B: Cybern IEEE Trans 26(1):29–41. https://doi.org/10.1109/3477.484436

    Article  Google Scholar 

  • Geman S, Geman D (1984) Stochastic relaxation, gibbs distributions, and the bayesian restoration of images. IEEE Trans Pattern Anal Mach Intell PAMI 6(6):721–741. https://doi.org/10.1109/TPAMI.1984.4767596

    Article  MATH  Google Scholar 

  • Gimenez J, Amicarelli A, Toibero JM, di Sciascio F, Carelli R (2018) Iterated conditional modes to solve simultaneous localization and mapping in markov random fields context. Int J Autom Comput 15(3):310–324. https://doi.org/10.1007/s11633-017-1109-4

    Article  Google Scholar 

  • Gupta MR, Chen Y (2011) Theory and use of the em algorithm. Foundations and trends in signal processing http://ee.washington.edu/research/guptalab/publications/EMFnT.pdf

  • Held K, Kops ER, Krause BJ, III WMW, Kikinis R, Müller-Gärtner H (2009) Markov random field segmentation of brain MR images. CoRR arXiv:0903.3114

  • Le Hegarat-Mascle S, Kallel A, Descombes X (2007) Ant colony optimization for image regularization based on a nonstationary markov modeling. IEEE Trans Image Process 16(3):865–878. https://doi.org/10.1109/TIP.2007.891150

    Article  MathSciNet  Google Scholar 

  • Li SZ (2009) Markov random field modeling in image analysis. In: Advances in pattern recognition series. Springer. ISBN 9781848002784

  • Liu G, Wang A, Zhao Y (2011) An efficient image segmentation method based on fuzzy particle swarm optimization and markov random field model. In: 2011 7th international conference on wireless communications, networking and mobile computing, pp 1–4, https://doi.org/10.1109/wicom.2011.6040554

  • Liu Y, Mu C, Kou W, Liu J (2015) Modified particle swarm optimization-based multilevel thresholding for image segmentation. Soft Comput 19(5):1311–1327. https://doi.org/10.1007/s00500-014-1345-2

    Article  Google Scholar 

  • Melkemi KE, Batouche M (2002) MRF model based algorithm for image segmentation using extremal optimization. In: Advances in systems engineering, signal processing and communications. WSEAS Press, Greece. ISBN 9608052696

  • Nakib A, Oulhadj H, Siarry P (2007) Image histogram thresholding based on multiobjective optimization. Signal Process 87(11):2516–2534. https://doi.org/10.1016/j.sigpro.2007.04.001

    Article  MATH  Google Scholar 

  • Nezamabadi-pour H, Saryazdi S, Rashedi E (2006) Edge detection using ant algorithms. Soft Comput 10(7):623–628. https://doi.org/10.1007/s00500-005-0511-y

    Article  Google Scholar 

  • Salazar A, Vergara L, Safont G (2021) Generative adversarial networks and Markov random fields for oversampling very small training sets. Expert Syst Appl 163:113819. https://doi.org/10.1016/j.eswa.2020.113819

  • SALIMA O (2006) Contribuion à la segmentation d’images basées sur résolution collective par colonies de fourmis artificielles. PhD thesis, Université Hadj Lakdhar de Batna

  • Salima S, Batouche M (2005) MRF-based image segmentation using ant colony system. In: 3rd International conference on sciences of electronics, technologies of information and telecommunications (SETIT 2005) conference. Tunisia. ISBN 9973-51-546-3

  • Salzenstein F, Pieczynski W (1997) Parameter estimation in hidden fuzzy markov random fields and image segmentation. Graph Model Image Process 59(4):205–220. https://doi.org/10.1006/gmip.1997.0431

    Article  Google Scholar 

  • Skobel M, Kowal M, Korbicz J (2018) Nuclei recognition using iterated conditional modes approach. In: Kurzynski M, Wozniak M, Burduk R (eds) Proceedings of the 10th international conference on computer recognition systems CORES 2017, Springer International Publishing, Cham, pp 326–335

  • Stützle T, Hoos HH (2000) Max-min ant system. Future Gener Comput Syst 16(9):889–914

    Article  Google Scholar 

  • Sun H, Yang X, Gao H (2018) A spatially constrained shifted asymmetric Laplace mixture model for the grayscale image segmentation. Neurocomputing. https://doi.org/10.1016/j.neucom.2018.10.39

  • Tseng DC, Lai CC (1999) A genetic algorithm for mrf-based segmentation of multi-spectral textured images. Pattern Recogn Lett 20(14):1499–1510. https://doi.org/10.1016/S0167-8655(99)00117-8

    Article  Google Scholar 

  • Wagner S, Wagner D (2007) Comparing clusterings: an overview. Universität Karlsruhe, Fakultät für Informatik Karlsruhe

  • Wang XN, Feng YJ, Feng ZR (2005) Ant colony optimization for image segmentation. In: Machine learning and cybernetics, 2005. Proceedings of 2005 international conference on, vol 9, pp 5355–5360, https://doi.org/10.1109/ICMLC.2005.1527890

  • Wu J, Chung ACS (2007) Markov random field energy minimization via iterated cross entropy with partition strategy. In: 2007 IEEE international conference on acoustics, speech and signal processing - ICASSP ’07, vol 1, pp I–457–I–460, https://doi.org/10.1109/ICASSP.2007.366715

  • Yedidia JS, Freeman WT, Weiss Y (2003) Exploring artificial intelligence in the new millennium. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, chap understanding belief propagation and its generalizations, pp 239–269, http://dl.acm.org/citation.cfm?id=779343.779352

  • Zivkovic Z (2012) Gentle icm energy minimization for markov random fields with smoothness-based priors. J Real-Time Image Process11. https://doi.org/10.1007/s11554-012-0308-z

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Houcemeddine Filali.

Ethics declarations

Conflict of interest

The authors declare that there is no conflict of interest regarding the publication of this paper.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Filali, H., Kalti, K. Image segmentation using MRF model optimized by a hybrid ACO-ICM algorithm. Soft Comput 25, 10181–10204 (2021). https://doi.org/10.1007/s00500-021-05957-1

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00500-021-05957-1

Keywords

Navigation