Journal of Jianghan University(Natural Science Edition) ›› 2012, Vol. 40 ›› Issue (5): 53-55.

• Orignal Article • Previous Articles     Next Articles

Color Clustering on RGB Images Based on K-means Algorithm

HAN Hai   

  1. School of Mathematics and Computer Science,Jianghan University,Wuhan 430056,Hubei,China
  • Received:2012-06-25 Online:2012-10-20 Published:2013-11-07

Abstract: Gives a algorithm which uses K-means algorithm to iterate and cluster, and uses the clustering results to build up color image palette. The algorithm based on the statistic of the appearing times of all colors RGB combination value, uses the 256 color from cluster to build up palette, and tranforms the BMP format-pattern into GIF formate. The experiments show that the transform has less color distortion.

Key words: clustering, palette, K-means algorithm, color distortion

CLC Number: