Skip to main content

Image registration routines for Imagedata

Project description

Documentation Status Build Status Coverage PyPI Version

Image registration routines for Imagedata.

Available modules

NPreg

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.

Prerequisites

imagedata-registration will benefit from a CUDA GPU. If this is available, install CuPy (https://docs.cupy.dev):

Install CUDA Toolkit: see https://developer.nvidia.com/cuda-toolkit.

There are different options for installing CuPy: https://docs.cupy.dev/en/stable/install.html

Installation

pip install imagedata-registration

Example

Using NPreg module:

from imagedata_registration.NPreg import register_npreg
from imagedata_registration.NPreg.multilevel import CYCLE_NONE, CYCLE_V2

# fixed can be either a Series volume,
# or an index (int) into moving Series
# moving can be a 3D or 4D Series instance
out = register_npreg(fixed, moving, cycle=CYCLE_NONE)
out.seriesDescription += " (NPreg)"

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

imagedata-registration-0.0.14.tar.gz (277.4 kB view hashes)

Uploaded Source

Built Distributions

imagedata_registration-0.0.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

imagedata_registration-0.0.14-cp311-cp311-macosx_10_9_x86_64.whl (508.3 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

imagedata_registration-0.0.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

imagedata_registration-0.0.14-cp310-cp310-macosx_10_9_x86_64.whl (916.2 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

imagedata_registration-0.0.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

imagedata_registration-0.0.14-cp39-cp39-macosx_10_9_x86_64.whl (916.8 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

imagedata_registration-0.0.14-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

imagedata_registration-0.0.14-cp38-cp38-macosx_10_9_x86_64.whl (916.5 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

Supported by

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