Posted by
Kashif Zeeshan on
Jun 18, 2008; 10:25am
URL: http://imagej.273.s1.nabble.com/Re-colour-thresholding-tp3695857p3695858.html
Thanks David. Your suggestions are really very helpful for me. So nice of
you. Due to your previous and current suggestions, I am being able to
analyse my images almost perfectly in the way I want.
Thanks a lot to all of experts which are always there when we need.
Cordially.
Kashif ZEESHAN
(00 33 6 74 90 18 10)
Doctorant, Biopesticide Group,
Laboratoire Universitaire de
Biodiversité et d'Ecologie
Microbienne (LUBEM),
6 Rue de l'Université,
29334, Quimper Cedex,
France
-----Message d'origine-----
De : David Randell [mailto:
[hidden email]]
Envoyé : mercredi 18 juin 2008 12:19
À : Kashif Zeeshan
Objet : Re: colour thresholding
If you want a really simple way to do this.
Start the macro recorder, then do this:
1) load the target image
2) Image->Color->RGB split
3) Select the blue channel
4) Select the ImageJ threshold function
5) Change the parameters using the silder bars to whatever you want
6) Hit the "Apply" button
It should generate code something like this:
run("RGB Split");
setAutoThreshold();
setThreshold(0, 152);
run("Convert to Mask");
If you want to recombine the RGB images, use the Image-> Color-> RGB Merge
function.
Regards,
Dave Randell