Get a handle on an ImagePlus with a given title

Posted by CARL Philippe (LBP) on
URL: http://imagej.273.s1.nabble.com/Get-a-handle-on-an-ImagePlus-with-a-given-title-tp5023750.html

Dear all,
With the following code it is possible to get a handle to an ImagePlus having a given title:
        IJ.selectWindow(java.lang.String title);
        ImagePlus img = IJ.getImage();
The two lines are needed given that IJ.selectWindow is a void.
Thus could such a handle to an ImagePlus be reached more directly (i.e. with a single line) ?
My best regards,
Philippe

Philippe CARL
Laboratoire de Bioimagerie et Pathologies
UMR 7021 CNRS - Université de Strasbourg
Faculté de Pharmacie
74 route du Rhin
67401 ILLKIRCH
Tel : +33(0)3 68 85 42 89

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html