Login  Register

how to select a window after image calculation

Posted by Ramon Guirado on May 04, 2011; 10:41am
URL: http://imagej.273.s1.nabble.com/how-to-select-a-window-after-image-calculation-tp3684716.html

Hello everybody, I'm making a macro to select all the files within a
directory and process them, therefore for a list, I separate the channels,
then identify them and then count them, however I also make a
image subtraction and afterthat I don't know how to process that new image
created. For example to analyze one channel I just make "selectImage(id+1)"
but I have no idea how to call the window created after the subtraction.
I make the "imageCalculator("AND create", id,id+2);" and it seems to work,
however I don't know how to select that window... maybe another   id =
getImageID(); changing the word id by any other just after the image
calculator?
any idea?

thanks,

ramon