[ome-users] ImageJ-OMERO connector loses z-position of ROIs drawn in OMERO

Kai Schleicher kai.schleicher at unibas.ch
Wed Apr 25 14:43:24 BST 2018


Dear OME-team,

I have annotate an image (eg. ID 18394 on your demo server) with ROIs in 
different z-positions (here z=4 and 1) using OMERO.insight.

I then open that image including its ROIs in FIJI using the current 
version of the ImageJ-OMERO connector.

While the ROIs are present in Fijis ROI manager, their proper z-position 
is lost (see evaluation macro below).

I seem to remember that this used to work, but right now I have no idea 
what changed. Could you help me out?

Thanks and cheers,
Kai

// get the number of rois
rnumbers = roiManager("count");
print("number of Rois= "+rnumbers);

// for each ROI: get and print z-position
for (i=0; i<rnumbers; i++) {

     // select ROI
     roiManager("Select", i);

     // get the zposition that the ROI is in
     pos = eval("js","IJ.getImage().getRoi().getPosition()");
     print("position= "+pos);
}


-- 
>>Please note my NEW PHONE NUMBERS: +41 61 207 57 31 (direct) +41 61 207 22 50 (central)<<
Kai Schleicher, PhD | Research Associate in Advanced Light Microscopy | Biozentrum, University of Basel | Klingelbergstrasse 50/70 | CH-4056 Basel |
Phone: +41 61 207 57 31 (direct) +41 61 207 22 50 (central) | kai.schleicher at unibas.ch | www.biozentrum.unibas.ch | www.microscopynetwork.unibas.ch



More information about the ome-users mailing list