Selecting image on ImageJ

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Selecting image on ImageJ

Juan Francisco-2
Dear ll:
  I´m trying to write a macro, when two differents images are opened on ImageJ. Pls, how its possible to select a specif image?. I know how to select a specifi image within a stack, but I don´t know the command to select a specfic image when there are two images opsned and not as stack.
  Thanks you very much!!
  JFC

 
---------------------------------

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
Reply | Threaded
Open this post in threaded view
|

Re: Selecting image on ImageJ

Gabriel Landini
On Wednesday 16 May 2007 11:23:45 Juan Francisco wrote:
>   I´m trying to write a macro, when two differents images are opened on
> ImageJ. Pls, how its possible to select a specif image?. I know how to
> select a specifi image within a stack, but I don´t know the command to
> select a specfic image when there are two images opsned and not as stack.
> Thanks you very much!!


Have a look in the macro functions reference page at:
http://rsbweb.nih.gov/ij/developer/macro/functions.html


You may want one of these:

selectImage(id)
 Activates the image with the specified ID (a negative number). If id is
greater than zero, activates the idth image listed in the Window menu. With
ImageJ 1.33n and later, id can be an image title (a string).


selectWindow("name")
 Activates the image window with the title "name". Also activates non-image
windows in v1.30n or later.

Regards,

G.