Skip to main content

Documentation Status Build Status Coverage PyPI Version

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).

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

NPreg examples

FSL examples

ITK-Elastix examples

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

imagedata_registration-0.4.3-cp312-cp312-win_amd64.whl (222.5 kB view details)

Uploaded CPython 3.12Windows x86-64

imagedata_registration-0.4.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

imagedata_registration-0.4.3-cp312-cp312-macosx_11_0_arm64.whl (241.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file imagedata_registration-0.4.3-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for imagedata_registration-0.4.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7ee5f36d4e30fe63cfc662c648c752fd958503c06f58a4bef4178cc90fad2b5d
MD5 e8f5aa3585b0c130711d0c128342cd4e
BLAKE2b-256 fa0f965470855097e1adb4ad5a3fadf8e0d27d9452db8d4de120da69da02932b

See more details on using hashes here.

Provenance

The following attestation bundles were made for imagedata_registration-0.4.3-cp312-cp312-win_amd64.whl:

Publisher: build_wheels.yml on erling6232/imagedata_registration

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imagedata_registration-0.4.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for imagedata_registration-0.4.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f01bd2b5bcc8e303f60b8f4e9daee8059c4e6b5fb00ce1153921bbe9c9077dc8
MD5 ab34cdd66de52f6e5a50c8bd24003866
BLAKE2b-256 ea857ba4946a1fcab69de4959c10f4a95904e8f549e943e6b689af687cb803a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for imagedata_registration-0.4.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build_wheels.yml on erling6232/imagedata_registration

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imagedata_registration-0.4.3-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for imagedata_registration-0.4.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7273df128e404de81d6d2e705642ce6e4d9d95023222db279155f2d6e972c4b3
MD5 e8ec67311c729979fdef11a76517b52f
BLAKE2b-256 b1db9184deb6f467ed57d72a9d7698d9786fb930f8073ce4b4c1d2578ffb8f6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for imagedata_registration-0.4.3-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: build_wheels.yml on erling6232/imagedata_registration

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.4.4

15 files

This release

0.4.3 This release

3 files

0.3.9

15 files

0.3.8

10 files

0.3.6

10 files

0.3.4

10 files

0.3.0

8 files

0.2.4

10 files

0.2.3

9 files

0.2.2

9 files

0.2.1

9 files

0.2.0

9 files

0.1.0

9 files

0.0.14

9 files

0.0.12

5 files

0.0.11

5 files

0.0.2

5 files

0.0.1

5 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page