Skip to main content
Log in

Histogram-based automatic segmentation of images

  • Original Article
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

Abstract

The segmentation process is defined by separating the objects as clustering in the images. The most used method in the segmentation is k-means clustering algorithm. k-means clustering algorithm needs the number of clusters, the initial central points of clusters as well as the image information. However, there is no preliminary information about the number of clusters in real-life problems. The parameters defined by the user in the segmentation algorithms affect the results of segmentation process. In this study, a general approach performing segmentation without requiring any parameters has been developed. The optimum cluster number has been obtained searching the histogram both vertically and horizontally and recording the local and global maximum values. The quite nearly values have been omitted, since the near local peaks are nearly the same objects. Segmentation processes have been performed with k-means clustering giving the possible centroids of the clusters and the optimum cluster number obtained from the histogram. Finally, thanks to histogram method, the number of clusters of k-means clustering has been automatically found for each image dataset. And also, the histogram-based finding of the number of clusters in datasets could be used prior to clustering algorithm for other signal or image-based datasets. These results have shown that the proposed hybrid method based on histogram and k-means clustering method has obtained very promising results in the image segmentation problems.

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.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

References

  1. Aydın D (2011) Sürü Zekası YaklaĢımlarının Renkli Görüntü Kesimlemeye Uyarlanması Ve Tanıma Sistemleri Üzerinde GerçekleĢtirimi. Thesis of PhD. Ege Üniversitesi Mühendislik Fakültesi

  2. Niknam T, Babak A (2010) An efficient hybrid approach based on PSO, ACO and k-means for cluster analysis. Appl Soft Comput 10(1):183–197

    Article  Google Scholar 

  3. MacQueen JB (1967) Some methods for classification and analysis of multivariate observations. Proc Symp Math Statist Prob 5:281–297

    MathSciNet  MATH  Google Scholar 

  4. Han J, Kamber M (2006) Data mining concepts and techniques. Morgan Kauffmann, Burlington

    MATH  Google Scholar 

  5. Kumar V, Chhabra JK, Kumar D (2014) Automatic cluster evolution using gravitational search algorithm and its application on image segmentation. Eng Appl Artif Intell 29:93–103

    Article  Google Scholar 

  6. Igarashi M, Mizuno A, Ikebe M (2013) Accuracy improvement of histogram-based image filtering. 20th IEEE international conference on image processing (ICIP), pp 1217, 1221, 15–18. doi:10.1109/ICIP.2013.6738251

  7. Benaichouche AN, Oulhadj H, Siarry P (2013) Improved spatial fuzzy c-means clustering for image segmentation using PSO initialization, Mahalanobis distance and post-segmentation correction. Digit Signal Proc 23(5):1390–1400

    Article  MathSciNet  Google Scholar 

  8. Song M, Kanungo T (2000) Automatic training of page segmentation algorithms: an optimization approach. In: Proceedings of 15th international conference on pattern recognition, vol 4, pp 531, 534. doi:10.1109/ICPR.2000.902974

  9. Djerou L, Khelil N, Dehimi HE, Batouche M (2009) Automatic multilevel thresholding using binary particle swarm optimization for image segmentation. International conference of soft computing and pattern recognition, 2009. SOCPAR ‘09, pp 66, 71, 4–7 Dec. 2009. doi:10.1109/SoCPaR.2009.25

  10. Cuevas E, Zaldivar D, Pérez-Cisneros M (2010) A novel multi-threshold segmentation approach based on differential evolution optimization. Expert Syst Appl 37(7):5265–5271

    Article  Google Scholar 

  11. Wen L, Wang X, Wu Z, Zhou M, Jin Js (2014) A novel statistical cerebrovascular segmentation algorithm with particle swarm optimization. Neurocomputing 148:569–577

    Article  Google Scholar 

  12. Güvenç U, Elmas Ç, Demirci r (2008) Renkli Görüntülerin Otomatik Ayrıştırılması. Politeknik Dergisi 11(1):9–12

    Google Scholar 

  13. Demirci R, Güvenç U, Kahraman HT (2014) Görüntülerin Renk Uzayı Yardımıyla Ayrıştırılması. İleri Teknoloji Bilimleri Dergisi 3(1):1–8

    Google Scholar 

  14. Qu L, Dong X, Guo F (2009) Automatic K-means for color enteromorpha image segmentation. Intell Inf Technol Appl 3:224–227

    Google Scholar 

  15. Soumya DS, Arya V (2013) Chromosome segmentation using K-means clustering. Int J Sci Eng Res 4(9):937–940

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kemal Polat.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Küçükkülahlı, E., Erdoğmuş, P. & Polat, K. Histogram-based automatic segmentation of images. Neural Comput & Applic 27, 1445–1450 (2016). https://doi.org/10.1007/s00521-016-2287-7

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-016-2287-7

Keywords

Navigation