Skip to main content

NiTransforms -- Neuroimaging spatial transforms in Python.

Project description

NiTransforms

DOI ISBI2020 Deps & CI CircleCI codecov Binder Docs

A development repo for nipy/nibabel#656

About

Spatial transforms formalize mappings between coordinates of objects in biomedical images. Transforms typically are the outcome of image registration methodologies, which estimate the alignment between two images. Image registration is a prominent task present in nearly all standard image processing and analysis pipelines. The proliferation of software implementations of image registration methodologies has resulted in a spread of data structures and file formats used to preserve and communicate transforms. This segregation of formats precludes the compatibility between tools and endangers the reproducibility of results. We propose a software tool capable of converting between formats and resampling images to apply transforms generated by the most popular neuroimaging packages and libraries (AFNI, FSL, FreeSurfer, ITK, and SPM). The proposed software is subject to continuous integration tests to check the compatibility with each supported tool after every change to the code base. Compatibility between software tools and imaging formats is a necessary bridge to ensure the reproducibility of results and enable the optimization and evaluation of current image processing and analysis workflows.

BIDS' X5 format

As of the 25.0.0 release, NiTransforms experimentally supports writing X5 transform files, as drafted in the BIDS Extension Proposal 14 (BEP014).

Integration with NiBabel

NiTransforms started as a feature-repo spun off of NiBabel. Shortly after starting with nipy/nibabel#656, it became apparent that it was going to build up in a humongous PR nobody would be able to review as thoroughly as it would require. Also, NiTransforms has many connections to BIDS/BIDS-Derivatives and its X5 format specification for transforms, which falls outside of the current scope of NiBabel.

The plan is to make it an isolated tool, and once it is pertinent, proceed with the integration into NiBabel. Once this repository is ready for integration, we will define what can go into NiBabel (presumably everything, except perhaps some final details of the X5 implementation, although NiBabel will support the data structure at least logically). This is to say that the chances that NiTransforms is integrated into NiBabel are high and scheduled to happen in ~2022 Q2.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nitransforms-25.1.0.tar.gz (30.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nitransforms-25.1.0-py3-none-any.whl (18.6 MB view details)

Uploaded Python 3

File details

Details for the file nitransforms-25.1.0.tar.gz.

File metadata

  • Download URL: nitransforms-25.1.0.tar.gz
  • Upload date:
  • Size: 30.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for nitransforms-25.1.0.tar.gz
Algorithm Hash digest
SHA256 59cb34895fc43422e1b231fa8530e6c6802c34037dab377d9fec166e2034e1a5
MD5 6ace336cb392e09bb98fb049cfc61675
BLAKE2b-256 bedc770284133765ea963575064ea836e6acb1e6ccf291f063daa1f4ec10a3f9

See more details on using hashes here.

File details

Details for the file nitransforms-25.1.0-py3-none-any.whl.

File metadata

  • Download URL: nitransforms-25.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for nitransforms-25.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8497a12d9040efb67f3e75925ed9cc61363543b6dfb589c7916aba6e08e38771
MD5 0d6810b66b5249e39a169699d1acdcd6
BLAKE2b-256 fa71e399826fda4c9f41bd3b895c7d5612d4eae76269519ea923ece9f798f79f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page