Login  Register

Re: Access to an image

Posted by Stephan Saalfeld on May 19, 2009; 11:20am
URL: http://imagej.273.s1.nabble.com/Access-to-an-image-tp3692471p3692474.html

There is also

IJ.selectWindow( int/String )

for more selective access to single windows

http://rsb.info.nih.gov/ij/developer/api/ij/IJ.html#selectWindow(int)

Best,
Stephan


On Tue, 2009-05-19 at 12:34 +0200, Juanjo Vega wrote:

> Hello everyone,
>
> If there are several images opened (in my case there is at least an
> image and the selected ROI pasted from clipboard), how can I reference
> one of them?, I mean, is there any method like "getImage()" using an
> index or name, or whatever?
>
> I want to allow a user to select a ROI. Then the ROI is pasted in a new
> image (this is already done), and from that smaller image, I want to
> select two points. So I need to get the points from that image and not
> form the other.
>
> Thanks!
>