title: how to cluster same colour in an image
body: <p>I have a gray leveled  image and want to find the zone where  a specific color (for example black) is more denser. As this issue is part of a bigger project  I need to program it in java, but I am not finding an adequate algorithm.</p>