Login  Register

Re: Access to an image

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

IJ.getImage();

have a look at

http://rsb.info.nih.gov/ij/developer/api/index.html

Whenever you're looking for something that can be done from the ImageJ
user interface, you can find out how to do it by logging it with the
macro recorder.

Don't be too lazy ;)

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!
>