Abstract

In this study, a novel color quantization approach which automatically estimates the number of colors by multi-level thresholding based on the histogram is proposed. The method consists of three stages. First, red–green–blue is clustered by threshold values. Thus, the pixels are positioned in a cluster or sub-prism. Second, the color palette is produced by determining the centroids of the clusters. Finally, the pixels are reassigned to clusters based on their distance from each centroid. The average of the pixels included in each cluster also represents the color of that cluster. While conventional methods are user-dependent, the proposed algorithm automatically generates the number of colors by considering the pixels assigned to the clusters. Additionally, the multi-level thresholding approach is also a solution to the initialization problem, which is another important issue for quantization. Consequently, the experimental results of the method tested with various images show better performance than many frequently used quantization techniques.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.