however specifically locating a specific area of color in an image is more difficult.
What I would do is first use a fuzzy color replacement to find the areas of the image containing that color, to produce a mask..
Something like, this looking for near-red areas in the Im logo...
Code: Select all
convert logo: -matte -fuzz 15% -fill none -opaque red \
-channel A -separate +channel -negate color_mask.png
Trimming 'Noisy' Images
http://www.cit.gu.edu.au/~anthony/graph ... #trim_blur
Good luck and let us know how you go or if you find any useful technique on the way.
That is contribute back anything you learned.