Image quantization algorithm with clustering properties
Most quantizer algorithms reduce the number of colors in an image, but the colors appear as dots throughout the image. When quantizing images which we know have a fixed number of colors, say, logos, it is desirable that similarly colored pixels are clustered together. Is there a quantizing algorithm that 开发者_如何学编程is suitable for this purpose?
Mean shift!
http://en.wikipedia.org/wiki/Mean-shift
http://homepages.inf.ed.ac.uk/rbf/CVonline/LOCAL_COPIES/TUZEL1/MeanShift.pdf
and many more links...
This one even has examples showing exactly (I hope) what you want to do.
精彩评论