Re: selectWindow does not work
Posted by
Herbie on
URL: http://imagej.273.s1.nabble.com/selectWindow-does-not-work-tp5022577p5022580.html
Funny, that mysterious things still happen!
It would really help if you could post a small sample stack for which
you observe the described behavior. I tried with some of the stacks
available from
"File >> Open samples"
and never got images that show this prefix.
If you could send a small sample stack as ZIP-file, then I'm sure I can
help you further.
Regards
Herbie
::::::::::::::::::::::::::::::::::
Am 27.10.19 um 19:45 schrieb kefe:
> Thanks for the fast reply!
>
> I added the semicolon though I am not sure if that changed anything ;)
>
> Sorry, I copied the wrong version of the line. It is:
>
> selectWindow("c:2/3 - " + imageTitle );
>
> Somehow it does not give me the error anymore. (I had it like this before as
> well)
>
> I thought I have to use it because after converting the stack to single
> images the prefix "c:1/3 - ", "c:2/3 - " and "c:3/3 - " are added to the
> window name depending on which channel is displayed in the window. Thats why
> I think I need to add the prefix in the name.
>
> I now figured out that apparently the problem is that I want to work on the
> not active second window/image and imageJ does not scan the open windows and
> just checks if the active window is named ""c:2/3 - " + imageTitle". So I
> actually need a command so ImageJ would set the threshold on the not active
> window "c:2/3 - " + imageTitle.
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html