Skip to content

brainhops.datamodel

Generic representation of coordinate systems and transformations.

The model follows OME-NGFF but is more flexible, so that it can represent the transformations of many formats:

  • OME-NGFF
  • FreeSurfer LTA (affine)
  • Freesurfer XFM (nonlinear)
  • ANTs
  • SPM
  • nitorch
  • ...

FSL transformations are not supported, because applying one requires the metadata of its fixed and moving images, which it does not store.