Extract ROIs in an OME-XML to ImageJ?
Posted: Wed Jan 30, 2019 3:12 pm
Hi,
I'm pretty sure that the answer is No, but I wonder if there is an established way to retrieve ImageJ ROI data (a zip file with many .roi files) out of the ROI information embedded in an OME-XML.
I can see the following steps to achieve this:
1. Read the OME-XML to get the dimension of the image
2. Create a dummy image (stack) of that dimension and save it as an OME-TIFF using Fiji
3. Inject the OME-XML to that dummy image using Bio-Formats command line tools
4. Open the file using Bio-Formats Importer in Fiji
5. Export ROIs into a zip file
Is there any easier way to do this?
Best,
Kouichi
I'm pretty sure that the answer is No, but I wonder if there is an established way to retrieve ImageJ ROI data (a zip file with many .roi files) out of the ROI information embedded in an OME-XML.
I can see the following steps to achieve this:
1. Read the OME-XML to get the dimension of the image
2. Create a dummy image (stack) of that dimension and save it as an OME-TIFF using Fiji
3. Inject the OME-XML to that dummy image using Bio-Formats command line tools
4. Open the file using Bio-Formats Importer in Fiji
5. Export ROIs into a zip file
Is there any easier way to do this?
Best,
Kouichi