IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0240015.html
   My bibliography  Save this article

Unsupervised color image segmentation: A case of RGB histogram based K-means clustering initialization

Author

Listed:
  • Sadia Basar
  • Mushtaq Ali
  • Gilberto Ochoa-Ruiz
  • Mahdi Zareei
  • Abdul Waheed
  • Awais Adnan

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.

Suggested Citation

  • Sadia Basar & Mushtaq Ali & Gilberto Ochoa-Ruiz & Mahdi Zareei & Abdul Waheed & Awais Adnan, 2020. "Unsupervised color image segmentation: A case of RGB histogram based K-means clustering initialization," PLOS ONE, Public Library of Science, vol. 15(10), pages 1-21, October.
  • Handle: RePEc:plo:pone00:0240015
    DOI: 10.1371/journal.pone.0240015
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0240015
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0240015&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0240015?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Wei Yang & Lulu Cai & Fei Wu, 2020. "Image segmentation based on gray level and local relative entropy two dimensional histogram," PLOS ONE, Public Library of Science, vol. 15(3), pages 1-9, March.
    2. Min Li & Lei Wang & Shaobo Deng & Chunhua Zhou, 2020. "Color image segmentation using adaptive hierarchical-histogram thresholding," PLOS ONE, Public Library of Science, vol. 15(1), pages 1-24, January.
    3. Yaling Zhang & Na Liu & Shangping Wang, 2018. "A differential privacy protecting K-means clustering algorithm based on contour coefficients," PLOS ONE, Public Library of Science, vol. 13(11), pages 1-15, November.
    4. Dong-heng Xie & Ming Lu & Yong-fang Xie & Duan Liu & Xiong Li, 2019. "A fast threshold segmentation method for froth image base on the pixel distribution characteristic," PLOS ONE, Public Library of Science, vol. 14(1), pages 1-18, January.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Ke Fang, 2022. "Threshold segmentation of PCB defect image grid based on finite difference dispersion for providing accuracy in the IoT based data of smart cities," International Journal of System Assurance Engineering and Management, Springer;The Society for Reliability, Engineering Quality and Operations Management (SREQOM),India, and Division of Operation and Maintenance, Lulea University of Technology, Sweden, vol. 13(1), pages 121-131, March.
    2. JianWu Long & ZeRan Yan & HongFa Chen & XinLei Song, 2021. "Spectrum decomposition in Gaussian scale space for uneven illumination image binarization," PLOS ONE, Public Library of Science, vol. 16(4), pages 1-24, April.
    3. Pinto, Erveton P. & Pires, Marcelo A. & Matos, Robert S. & Zamora, Robert R.M. & Menezes, Rodrigo P. & Araújo, Raquel S. & de Souza, Tiago M., 2021. "Lacunarity exponent and Moran index: A complementary methodology to analyze AFM images and its application to chitosan films," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 581(C).
    4. Steven B Kim & Dong Sub Kim & Xiaoming Mo, 2021. "An image segmentation technique with statistical strategies for pesticide efficacy assessment," PLOS ONE, Public Library of Science, vol. 16(3), pages 1-12, March.
    5. Yaling Zhang & Jin Han, 2021. "Differential privacy fuzzy C-means clustering algorithm based on gaussian kernel function," PLOS ONE, Public Library of Science, vol. 16(3), pages 1-20, March.
    6. Hossam M J Mustafa & Masri Ayob & Mohd Zakree Ahmad Nazri & Graham Kendall, 2019. "An improved adaptive memetic differential evolution optimization algorithms for data clustering problems," PLOS ONE, Public Library of Science, vol. 14(5), pages 1-28, May.
    7. Zhao, Laijun & Li, Deqiang & Guo, Xiaopeng & Xue, Jian & Wang, Chenchen & Sun, Wenjun, 2021. "Cooperation risk of oil and gas resources between China and the countries along the Belt and Road," Energy, Elsevier, vol. 227(C).

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0240015. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.