Re: Color Image Segmentation
Posted by
Bo de Lange on
Apr 05, 2006; 8:47am
URL: http://imagej.273.s1.nabble.com/Color-Image-Segmentation-tp3703193p3703195.html
If I understand correctly then what you're trying to do is measure the
area of the pixels with colours where all R values are 0-50 AND all G
values are 0-50 AND all B values are 0-50, then measure the area of all
pixels where all R, G and B values are 51-120, etc? Difficult to
envisage what this means in terms of selection in the image. Isn't what
you need the Threshold Colour Plugin, by Gabriel Landini
http://www.dentistry.bham.ac.uk/landinig/software/software.html ? You
can set the threshold for the three different channels (though that does
not seem to be recorded in the macro recorder, unfortunately). Then
convert the image to 8-bit, do another threshold, and measure (with
limit to threshold ticked under Set Measurements).
Bo
> Dear users,
>>
>> I would like to open an RGB image with 255 colors. I would like to
>> segment the image e.g. like this 0-50 (1st color) 51-120 (2nd color),
>> 121-190 (3rd color) 191-255 (4th color).
>>
>> Now I would like to define the complete image as 100 % and find out
>> which percentage each of the segmented areas has. And I would like to
>> get a histogram for each segmented area.
>>
>> Does anybody have a plug-in for this kind of segmentation?
>>
>> Anneliese
--
R.P.J. de Lange, PhD
Rudolf Magnus Institute of Neurosciences
P.O. box 80040
3508 TA Utrecht
The Netherlands
visiting address:
Stratenum, room 4.241
Universiteitsweg 100
3584 CG Utrecht
tel: +31-30-253 8924
+31-30-253 8837 (lab)
fax: +31-30-253 9032