Login  Register

Re: IJ Color Thresholding in Macro

Posted by Gabriel Landini on Dec 03, 2014; 5:30pm
URL: http://imagej.273.s1.nabble.com/IJ-Color-Thresholding-in-Macro-tp5010727p5010745.html

On Wednesday 03 Dec 2014 07:50:04 you wrote:
> It's the White area I want to see, if you can help with the AND command line
> & where I would insert it in the macro I pasted earlier, it would be
> appreciated.
> I tried a couple things that didn't work, & like I said I'm a newbie :)
> Thanks!

Use the macro recorder and then Process>Image Calculator
Choose the 2 images and the AND operation.
Then the macro recorder will show the macro line you need to add at the end of
the macro generated by the colour thresholder.
To make this work with "any" image you will need to substitute the file name
strings with some variable that you obtain with, e.g. getTitle().
Cheers
Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html