changes for dominant color selection in img-color-map.c
changes for selection of dominant color in img-color-map.c