Unsupervised color image segmentation: A case of RGB histogram based K-means clustering initialization
- PMID: 33091007
- PMCID: PMC7580896
- DOI: 10.1371/journal.pone.0240015
Unsupervised color image segmentation: A case of RGB histogram based K-means clustering initialization
Abstract
Color-based image segmentation classifies pixels of digital images in numerous groups for further analysis in computer vision, pattern recognition, image understanding, and image processing applications. Various algorithms have been developed for image segmentation, but clustering algorithms play an important role in the segmentation of digital images. This paper presents a novel and adaptive initialization approach to determine the number of clusters and find the initial central points of clusters for the standard K-means algorithm to solve the segmentation problem of color images. The presented scheme uses a scanning procedure of the paired Red, Green, and Blue (RGB) color-channel histograms for determining the most salient modes in every histogram. Next, the histogram thresholding is applied and a search in every histogram mode is performed to accomplish RGB pairs. These RGB pairs are used as the initial cluster centers and cluster numbers that clustered each pixel into the appropriate region for generating the homogeneous regions. The proposed technique determines the best initialization parameters for the conventional K-means clustering technique. In this paper, the proposed approach was compared with various unsupervised image segmentation techniques on various image segmentation benchmarks. Furthermore, we made use of a ranking approach inspired by the Evaluation Based on Distance from Average Solution (EDAS) method to account for segmentation integrity. The experimental results show that the proposed technique outperforms the other existing clustering techniques by optimizing the segmentation quality and possibly reducing the classification error.
Conflict of interest statement
The authors declare no conflict of interest. This does not alter our adherence to PLOS ONE policies on sharing data and materials.
Figures
References
-
- Gonzalez R. C., & Woods R. E. (2002). Digital Image Processing (; Prentice Hall, Upper Saddle River, New Jersey).
-
- Han C. Y. (2017). Improved SLIC imagine segmentation algorithm based on K-means. Cluster Computing, 20(2), 1017–1023. 10.1007/s10586-017-0792-9 - DOI
MeSH terms
LinkOut - more resources
Full Text Sources
