Posted by
Michael Schmid on
Sep 26, 2010; 1:25pm
URL: http://imagej.273.s1.nabble.com/Colour-Area-percentage-tp3686784p3686785.html
Hi anonymous,
there are two pieces of software that I am aware of for selecting the
color range, but they won't directly give the percentage:
- Color Threshold, where you have to set the color range with sliders
- The Versatile Wand, where you can click to set the initial color; use
preview and non-contiguous mode.
http://imagejdocu.tudor.lu/doku.php?id=plugin:segmentation:versatile_wand:start(if the mailer splits it, the link should be one line).
You can then use 'measure' with 'area' activated in the measurement
options to get the area selected; a simple macro should be enough to
convert it to a fraction.
Alternatively, if you know a bit of java, you can add a message to the
Versatile Wand dialog, giving the percentage.
Michael
_________________________________________________________________________
On Sun, September 26, 2010 09:02, Satanic Mechanic wrote:
> Ok folks I once again must come to you again for advice and guidance. I
> have
> been through the searchs and can't quite see anything that is exactly what
> I
> am after but feel free to correct me on that. So here is the problem:
>
> 1. I have to work out the percentage areas of a certain colour randomly
> spread in patches over a photograph in this case usually brown - so far so
> good
>
> 2. So what I would like to do is this
>
> a) Point to an example of the colour on the photograph and for other
> instances of this colour to be highlighted on the photo.
> b) I then want to to adjust the 'range' of this colour (apologies for
> terminology) to include darker and lighter variations again for this to be
> highlighted on the photo
>
> The above is similar in many ways to the 'Select by Colour' tool in Gimp
>
> c) when I am happy with the 'range' - the area I have highlighted to be
> shown as a percentage.
>
> I imagine this is not an uncommon process, but I just can seem to nail it
> or
> find the correct plug in.
>