Image registration routines for Imagedata
Project description
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 SimpleElastix (https://simpleelastix.readthedocs.io/index.html) 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.
SimpleElastix
SimpleElastix must be installed separately:
pip install SimpleITK-SimpleElastix
Installation
pip install imagedata-registration
Examples
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file imagedata_registration-0.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: imagedata_registration-0.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9c63a581d0230d52aaebd4c9e97d08b41ad687af3621666f8525b40da80f168 |
|
MD5 | 29f8eaaeff9d056abb94f51cfad5adf4 |
|
BLAKE2b-256 | 43229f91e9f072e5d9da1a4563d00f195ff224d30a7edb80c95f0a315303d999 |
File details
Details for the file imagedata_registration-0.2.4-cp312-cp312-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: imagedata_registration-0.2.4-cp312-cp312-macosx_10_9_x86_64.whl
- Upload date:
- Size: 276.0 kB
- Tags: CPython 3.12, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ac1f98f16be8cdc0a2879fbd095d8f93cab2a20aeec10fd0ddf830082519fc5 |
|
MD5 | ec3bfc521c8d253af2231c447e47bb43 |
|
BLAKE2b-256 | c009f0279bc0d38714d1e0608f1b6778b8cbaa7d131a048552094edb7185e6a0 |
File details
Details for the file imagedata_registration-0.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: imagedata_registration-0.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5f0127b3ad3e84c61ab260ea9ca786b994a22cccf01d3d9887c2ebbbd38fa69 |
|
MD5 | 7b5cbbc0044e68d807a3aa23fc2518cb |
|
BLAKE2b-256 | e64644e54a4bf7381b06d8175c5c468d182a00c42d31560859a3a09d59252b88 |
File details
Details for the file imagedata_registration-0.2.4-cp311-cp311-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: imagedata_registration-0.2.4-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 283.8 kB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1624720a9e6432dc174fcc692ba518a72405ab84b32ce0c27fb76bd0f6656efa |
|
MD5 | 67414cc888b30ed431d4b6964c21c0c6 |
|
BLAKE2b-256 | dc44a10b364b61e840984c34cfabb4d55c2b405fb96108421f6409cdff913fc2 |
File details
Details for the file imagedata_registration-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: imagedata_registration-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c713200dee8f343b0e2178d83ea1431ac0688267e6017f8dc11c928117964a6b |
|
MD5 | 665dcfa9acd28188871d9ec21fb75834 |
|
BLAKE2b-256 | c3b00e29138d8c5e52d1754a2b958da2481f6a2a6b27b17827eee58663eb198d |
File details
Details for the file imagedata_registration-0.2.4-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: imagedata_registration-0.2.4-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 285.1 kB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8f86ff3564734ce80cdd60f69e6e1fc69410d339785c910982552caf2a0dd45 |
|
MD5 | 024ac6517860abec09193d722f1440d3 |
|
BLAKE2b-256 | 05fce694bfbe248d2a621bc3015c0dc5a5d56b4d95b4045785368338770fa3e3 |
File details
Details for the file imagedata_registration-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: imagedata_registration-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05d7eef25232e2062109b28b16517efa263f341ca575079b1df73c677bc16fd9 |
|
MD5 | 558867a750fe3227f4d9cdfe2c412a22 |
|
BLAKE2b-256 | 1e0fb4914ea7fe4e8552682112f42b7924e79c22be82830abe1f0f0db47fc62f |
File details
Details for the file imagedata_registration-0.2.4-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: imagedata_registration-0.2.4-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 285.8 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fd0b2958cf96f2e9d36f3745478b3938a7f87e4dab394fd2f9a13520aad7393 |
|
MD5 | cab4f19a75c8cd63b7e2f803939fee94 |
|
BLAKE2b-256 | d56fecbcf4215829600022a735f1df586e499324cbc9895afe4f27a83a435ee1 |
File details
Details for the file imagedata_registration-0.2.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: imagedata_registration-0.2.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afad3d199e6456d6a7d5a72c416d540e593c2bc00b1de59a72b8d0238bff2ddf |
|
MD5 | c3ba4af2724a0c0ef469412a7eacfa80 |
|
BLAKE2b-256 | 4a7c17ef8d8b63d466616a32accc1ce716655cdfaf57116188de75c4479e5ae2 |
File details
Details for the file imagedata_registration-0.2.4-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: imagedata_registration-0.2.4-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 285.4 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d78c37ecf0f97f62a657fa95cab6ac45c5b5d3e1288919ccfadd63cd093c74ac |
|
MD5 | 30f327241c944d3379d99f35de91fabe |
|
BLAKE2b-256 | 9bf87db62aa61367d0cd51f32c3b0ba1d70c25d6755e71c864fd3914bf348e47 |