Skip to content

Write anatomical orientation if available (RFC-4)#335

Draft
melissalinkert wants to merge 2 commits into
glencoesoftware:masterfrom
melissalinkert:rfc-4
Draft

Write anatomical orientation if available (RFC-4)#335
melissalinkert wants to merge 2 commits into
glencoesoftware:masterfrom
melissalinkert:rfc-4

Conversation

@melissalinkert

Copy link
Copy Markdown
Member

Closes #329. This depends upon an open Bio-Formats pull request (ome/bioformats#4454), so is a draft for now. This will also need to make use of the 1.0-DEV version support and tests added in #330, as RFC-4 support should only be written with --ngff-version 1.0-DEV. I just didn't want to introduce conflicting commits here.

As noted in #329, the general idea is that Bio-Formats proper implements most of RFC-4, including the controlled vocabulary therein. This pull request simply consumes axis orientations provided by Bio-Formats. The API defined in Bio-Formats and consumed here should be flexible enough to handle non-anatomical orientations, if that were to be added in a future RFC.

Basic tests make use of FakeReader, but Analyze, Nifti, MINC, Bruker, Varian, and DICOM are all candidates for testing once we have suitable reference data (see #329 (comment)).

I expect the build to fail here due to the need for ome/bioformats#4454. To test locally, check out that Bio-Formats branch, then mvn clean package install, then ./gradlew clean build on this pull request's branch.

@melissalinkert melissalinkert added this to the 0.13.0 milestone Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add implementation for RFC-4

1 participant