Image registration with imagedata
Helper modules to do image registration for Imagedata Series objects.
Available modules
NPreg
NPreg by Erlend Hodneland is implemented in Python, and available as a self-supported PyPi package. There are three implementations of NPreg:
Pure Python/NumPy code. Source code will run on any Python platform.
Cython code. Binary code compiled for supported platforms.
CuPy/CUDA code. Source code which will run on platforms with a working CuPy and CUDA Toolkit.
FSL
FSL (https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FSL) has several methods for image registration. Using FSL image registration from Python requires the FSL interface from nipype, as well as a the FSL executables. Each FSL method may have different requirements. The common factor is that FSL methods will read and write NIfTI image files.
A function register_fsl is provided here. This function will register a moving Series to a fixed Series. The default registration method is fsl.MCFLIRT. The function will accept other registration methods.
ITK-Elastix
The popular Elastix GUI is based on the C++ ITK image registration routines. Like the FSL methods, there are numerous Elastix methods available, all with different requirements. The itk-elastix (https://github.com/InsightSoftwareConsortium/ITKElastix) Python library is one particular interface to the Elastix/ITK routines.
Prerequisites
NPreg on CUDA GPU
imagedata-registration will benefit from a CUDA GPU. If this is available, install CuPy (https://docs.cupy.dev).
First, install the CUDA Toolkit: see https://developer.nvidia.com/cuda-toolkit.
There are different options for installing CuPy. See: https://docs.cupy.dev/en/stable/install.html
FSL
The imagedata-registration FSL module is a wrapper around the official FSL tools. A native FSL installation is required on the host computer.
ITK-Elastix
ITK-Elastix is installed automatically as a dependency for this package.
Installation
pip install imagedata-registration
Examples
Metadata
Release files for imagedata-registration 0.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 9.1 MB
Release files / imagedata_registration-0.4.4-cp314-cp314-win_amd64.whl
| Download URL | imagedata_registration-0.4.4-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 224.8 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
dd034a1b18ae426b81171e754c630b7e085fe07c29ecc2b74d7c73b75a7c35cc
|
|
BLAKE2b-256 checksum How to use checksums |
d97464ede060e8966577d27aa85dd3c6f7db71ad878ca899471c9cb2803b3623
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / imagedata_registration-0.4.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | imagedata_registration-0.4.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
44cc13830a2ba959f73249b907c09426b9ea450fd450292ea473fd2f39256f95
|
|
BLAKE2b-256 checksum How to use checksums |
562febc4cf81c5590b5e6ad7b9e8fa5adde1f72219dc21a3355907784e01cf7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / imagedata_registration-0.4.4-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | imagedata_registration-0.4.4-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 242.0 kB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
95cc1d9a6e6c9d496eca5c599999d5c238c93a8db914f2aaade5f87bfd5ccaab
|
|
BLAKE2b-256 checksum How to use checksums |
1bef84826417d98329cd2a34067b0cdcb0c15a69797b078e4d8e115ddb47cbb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / imagedata_registration-0.4.4-cp313-cp313-win_amd64.whl
| Download URL | imagedata_registration-0.4.4-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 221.8 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
05ef791155dea4833d52981c2c0c47dd24271d26f41e2210a3269c1967eb342a
|
|
BLAKE2b-256 checksum How to use checksums |
709fcaea23e0570ed2ed879dec2f88399797f5ee64634d3436f8474c3da6dd12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / imagedata_registration-0.4.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | imagedata_registration-0.4.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
1134a8199ffa42fa1ecbfff63064cf13b297aa2b92242f57b31086166b26caef
|
|
BLAKE2b-256 checksum How to use checksums |
3d4a861c2ac8b89580a2bfeddd9420898f72eb5d604c57783199514c6f2127f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / imagedata_registration-0.4.4-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | imagedata_registration-0.4.4-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 242.6 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
cafc2a9b8887aa92d24d82883dfced3f3ede0318ce3daf33763f3d208c3009e1
|
|
BLAKE2b-256 checksum How to use checksums |
055e3a53a14362466370bb05705811bb2255cbf2803ab0817e5d545c8831ce63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / imagedata_registration-0.4.4-cp312-cp312-win_amd64.whl
| Download URL | imagedata_registration-0.4.4-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 222.5 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9b28cdb99a4642f715a042551fcddd712a510c4bcf23db1c410d3eab137147bc
|
|
BLAKE2b-256 checksum How to use checksums |
adebd47788f14a7473ac6b7794ecd5157417922c38d862c131e1a4635983cbaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / imagedata_registration-0.4.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | imagedata_registration-0.4.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
266143f96a5bd5dcede42438608abbd33c65df3920c054f3fd4316979beddd70
|
|
BLAKE2b-256 checksum How to use checksums |
cec1f5679c75d86f01854d1c96d3b15958f7d8a73b4361741f63a09912d881a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / imagedata_registration-0.4.4-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | imagedata_registration-0.4.4-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 241.6 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9691910da661d41462e5ffa377c4dd63a6fe79f3431a1bd5549b027add72ab55
|
|
BLAKE2b-256 checksum How to use checksums |
ad5a3274d2035ab4d2c08a8667c7389e84ec8bde7a43db8b0781145550300c35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / imagedata_registration-0.4.4-cp311-cp311-win_amd64.whl
| Download URL | imagedata_registration-0.4.4-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 225.8 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
41bd23dc01a62e72a2907c8af2225a3c53744babf607c144e7026e121370e1bc
|
|
BLAKE2b-256 checksum How to use checksums |
dffceb6425d75bd256ae2d53bf3ba8d9f383043a674a5d0b616687cedcab1573
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / imagedata_registration-0.4.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | imagedata_registration-0.4.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
c9d285be3538a7ed673a65ae1e4b937f7344b2fb8589a4642200126538b2fcba
|
|
BLAKE2b-256 checksum How to use checksums |
a46d2b341e44aa4d26eea5f6a8ef812579401e0c26f0c2066798d3a1a527e4d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / imagedata_registration-0.4.4-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | imagedata_registration-0.4.4-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 249.8 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9321bd099ebb5bc45428d8ee768b792bed811caff64583baa95428a9a4c25fe2
|
|
BLAKE2b-256 checksum How to use checksums |
8f3dc7eec3ef7143ebfa0fcfdf1943505321bd5f1366d28f0a3df36607c84e76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / imagedata_registration-0.4.4-cp310-cp310-win_amd64.whl
| Download URL | imagedata_registration-0.4.4-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 224.5 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
57839347b00ea9db7d305a504b6fd85936deffbb56ef7ce9ff9705fe3fd7b9ae
|
|
BLAKE2b-256 checksum How to use checksums |
29f75a7f9c52d8b266f3c81253ea4012d4e2e567703f8e9f995b4faa14c1f506
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / imagedata_registration-0.4.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | imagedata_registration-0.4.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
ab3f39ccbf4aa011001ffa4251837554a047d533c38f5b086903a91b557bbfe4
|
|
BLAKE2b-256 checksum How to use checksums |
2ab07099bac30ef9c39fffd38852aa38d4a0b9c47e85e28873a00e5b03649fa5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / imagedata_registration-0.4.4-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | imagedata_registration-0.4.4-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 251.0 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f4b1c68cb9f754a017b7b819241e8664041a02dd0a4a8dc9e26689532ae86f37
|
|
BLAKE2b-256 checksum How to use checksums |
c7d73940565b03ce95258b4edbe42aac6c0180c029649fa79a34600d47539ae5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logSecurity for imagedata-registration 0.4.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 15 files in this release have been uploaded with provenance metadata.
Attestation for imagedata_registration-0.4.4-cp314-cp314-win_amd64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.