Image Colormap Array Order
Posted: 2007-01-02T10:45:08-07:00
Hello,
I use Magick to segment an image and then want to query an index i in the colormap array.
This index i is the color of which the pixels account for the second largest number of pixels in the image.
My question is that in which order is the colormap (color palette array) is ordered? If there is no order, is there some method that I can query that index?
Thanks
I use Magick to segment an image and then want to query an index i in the colormap array.
This index i is the color of which the pixels account for the second largest number of pixels in the image.
My question is that in which order is the colormap (color palette array) is ordered? If there is no order, is there some method that I can query that index?
Thanks