Re: how to select a window after image calculation
Posted by
dpoburko on
May 04, 2011; 2:23pm
URL: http://imagej.273.s1.nabble.com/how-to-select-a-window-after-image-calculation-tp3684716p3684717.html
If you know the title of Image1 (not the id) in your calculation, the
resulting image will usually be "Result of " + Image1. I usually key off
of that and rename it or just do something simple minded like making a
variable:
resultImg = "Result of " + Img1;
Best, Damon Poburko
On 5/4/2011 3:41 AM, Ramon Guirado wrote:
> 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