Nipy / scverse / ITK spatial data convergence #1254
effigies
started this conversation in
Development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At the numfocus summit, I've been talking with scverse and ITK folks, and there's definitely a sense that we're solving similar problems and probably should not be entirely duplicating effort. There's some work that already exists that overlaps with what we're trying to do here and is also intended to work with Dask, xarray and other structures beyond numpy ndarrays.
I and others worked on a doc where we've scoped out who has done what: https://demo.hedgedoc.org/VlVvlbOIS2qbDHIzXteKIw#
Current text follows:
Nipy / scverse / ITK spatial data convergence
This document is a product of the 2023 Numfocus summit. Its purpose is to identify points of convergence in spatial data and transformations.
Date: 13 September 2023
Authors:
Existing structures, gaps and efforts to fill the gaps
Nipy (Neuroimaging in Python) structures
Nifti1Pair
andAnalyzeImage
superclasses.(data, affine)
pair, along with format-specific headers/metadata. The intrinsic affine is essential to all neuroimaging formats and use-cases.nibabel.spatialimages.SpatialImage
scverse structures
.ome.zarr
)(name, type[, unit])
structures stored in the metadata dictionary, e.g.{"type": "identity", "input": {"name": "CoordSysA", "axes": [{"type": "space", "name": "X"}, {"type": "space", "name": "Y"}]}, "input": {"name": "CoordSysB", "axes": [{"type": "space", "name": "X"}, {"type": "space", "name": "Y"}]}}
ITK structures
ITK supports a number of mature, well-defined transform types
Definitions of the transforms are well-defined, including a human-readale description of the transform and its use cases, mathematical equations that define a transform, and a description of the transform parameters
Example transforms
dim*(dim-1)
-parameter transformNeuroimaging details:
File formats
spatial-image
(channel, x, y, z, t)
. The goal is seamless interoperability in many contexts.X5 (HDF5-based transform file format)
Beta Was this translation helpful? Give feedback.
All reactions