Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ROIs to OME-TIFF export #4106

Merged
merged 4 commits into from Sep 11, 2015
Merged

add ROIs to OME-TIFF export #4106

merged 4 commits into from Sep 11, 2015

Conversation

mtbc
Copy link
Member

@mtbc mtbc commented Aug 28, 2015

Try exporting then importing an image with ROIs and make sure that the ROIs are preserved. Of course, this preserves only the properties defined in ROI.xsd. Also check that https://ci.openmicroscopy.org/job/OMERO-DEV-merge-integration-java/lastCompletedBuild/testngreports/integration/ExporterTest/ passes.

Still does not work for mask ROIs, sorry @imunro.

--no-rebase

@jburel jburel added the develop label Aug 28, 2015
@jburel
Copy link
Member

jburel commented Sep 1, 2015

@mtbc: sorry I didn't have time with the various meetings to review it.
I will do that tomorrow am

@jburel
Copy link
Member

jburel commented Sep 2, 2015

one think to review, outside the scope of this PR is the stylesheets to downgrade to be sure that the ROIs can be preserved during the process

@jburel
Copy link
Member

jburel commented Sep 2, 2015

Tested the following:

  • Export image with a roi with shapes propagated across z
  • Export image with several rois
  • Export image with rois and annotation on shape

The tests passed.
Something to consider now, ability to pass a parameter to export or not the rois
we now have images with a large number of images so the user should be able to decide to add them or not.

I export to a previous schema (2013), The rois are exported but ref for annotation to the wrong schema
This is outside the scope of this PR and will need investigation

@jburel
Copy link
Member

jburel commented Sep 3, 2015

Another parameter that we could consider passing will be the compression used for data

@mtbc
Copy link
Member Author

mtbc commented Sep 3, 2015

The annotation schema version bug is interesting. I wonder who might know about that. Definitely worth noting.

For this PR, any more testing required?

@joshmoore
Copy link
Member

one think to review, outside the scope of this PR is the stylesheets to downgrade to be sure that the ROIs can be preserved during the process

https://trello.com/c/CQMxBS71/21-downgrading-rois

Something to consider now, ability to pass a parameter to export or not the rois

https://trello.com/c/lKfhVnjW/22-skip-rois-in-export

The rois are exported but ref for annotation to the wrong schema

https://trello.com/c/83il07Mv/23-annotation-ref-version

Another parameter that we could consider passing will be the compression used for data

That's probably more along the lines of https://trello.com/c/d2OqpHCq/14-export-import-decide-api

Anything else or just waiting on the release of Bio-Formats 5.1.4?

@jburel
Copy link
Member

jburel commented Sep 3, 2015

@mtbc: I think I have an idea for the schema issue and stylesheet
Nothing I can think of for now
but all the points can be addressed in follow up PR
certainly a good start
I have not yet tested annotation on ROI, only on shape

@jburel
Copy link
Member

jburel commented Sep 4, 2015

for annotation on shape:

<Shape>....
<AnnotationRef xmlns="http://www.openmicroscopy.org/Schemas/SA/2015-01" ID="urn:lsid:export.openmicroscopy.org:Annotation:73e8e6ff-d6fe-4c12-8397-3af0d1d901d2_12801:219647"/></Shape>

for annotation on roi:

</Shape></Union><AnnotationRef xmlns="http://www.openmicroscopy.org/Schemas/SA/2015-01" ID="urn:lsid:export.openmicroscopy.org:Annotation:73e8e6ff-d6fe-4c12-8397-3af0d1d901d2_12801:219647"/></ROI>

Both options are working

@jburel
Copy link
Member

jburel commented Sep 6, 2015

happy to have it merged when we decide

@joshmoore
Copy link
Member

👍 Merging to allow schema changes to be built on top.

joshmoore added a commit that referenced this pull request Sep 11, 2015
add ROIs to OME-TIFF export
@joshmoore joshmoore merged commit c02741c into ome:develop Sep 11, 2015
@mtbc mtbc deleted the export-ROIs branch September 11, 2015 15:09
@sbesson sbesson added this to the 5.2.0 milestone Oct 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants