May 13, 2011 04:42 PM|OnoSendai|LINK
i can envision two principal approaches:
If your original image have sharp areas with no antialias (wich works as a color zone border softening), then you can use a technique called color transformation to convert every pixel but the ones with the color you want to extract to your background color
(or even transparent if your image format supports it) as explained here:
If that`s not the case, then maybe you can try working with a similarity algorythm and then tinting the image.
Hope it works for you.