Skip to main content

Image registration routines for Imagedata

Project description

#################################
Image registration with imagedata
#################################

|Docs Badge| |buildstatus| |coverage| |pypi|


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
############

.. code-block::

pip install imagedata-registration

Example
#######

Using NPreg module:

.. code-block:: python

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

.. |Docs Badge| image:: https://readthedocs.org/projects/imagedata_registration/badge/
:alt: Documentation Status
:scale: 100%
:target: https://imagedata_registration.readthedocs.io

.. |buildstatus| image:: https://github.com/erling6232/imagedata_registration/actions/workflows/build_wheels.yml/badge.svg
:target: https://github.com/erling6232/imagedata_registration/actions?query=branch%3Amain
:alt: Build Status

.. _buildstatus: https://github.com/erling6232/imagedata_registration/actions

.. |coverage| image:: https://codecov.io/gh/erling6232/imagedata_registration/branch/main/graph/badge.svg?token=1OPGNXJ8Z3
:alt: Coverage
:target: https://codecov.io/gh/erling6232/imagedata_registration

.. |pypi| image:: https://img.shields.io/pypi/v/imagedata-registration.svg
:target: https://pypi.python.org/pypi/imagedata-registration
:alt: PyPI Version

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

Uploaded Source

Built Distributions

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

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

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

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

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

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

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

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

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

Details for the file imagedata-registration-0.0.14.tar.gz.

File metadata

File hashes

Hashes for imagedata-registration-0.0.14.tar.gz
Algorithm Hash digest
SHA256 bf94877233277ee53a5857b182466540e1102da14b49c75cf981a0a37728bac1
MD5 051ae4322fa248ad65640fa55c0b7f1d
BLAKE2b-256 061337cdabf6d9dfa474faa692b3b57552608abecd05af84e3992f9f47c15b53

See more details on using hashes here.

File details

Details for the file imagedata_registration-0.0.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for imagedata_registration-0.0.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cfdfd92a0be165caedc2dc9525cd67c7df01bd062a4b939e485498e417af6d5d
MD5 817958ab5bad79c79357bd3c6bf2bc56
BLAKE2b-256 e791a2d44eb2e3db46cef5190fdb4bbc26e787eb78bde76148349ae3107139b8

See more details on using hashes here.

File details

Details for the file imagedata_registration-0.0.14-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for imagedata_registration-0.0.14-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fcd38e3ce706804f3eba8632024167e5d36dea6c4fd0dd388a65ed95abda002d
MD5 5ab009490c0088624cd76608123d1263
BLAKE2b-256 0a8083b9663daf98ee289717e8cc5a5bc23c4bf7402d0d0ee20cfd4f607b787a

See more details on using hashes here.

File details

Details for the file imagedata_registration-0.0.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for imagedata_registration-0.0.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 95628e125114d78f7a705b09f304d3196302f93e4ee3bb4ed6ba74dff581840e
MD5 5df27649d2619a7d287c34934c54d110
BLAKE2b-256 1e42fc4dca9ccb0ebe21fac93440f30ed90b6de6988a6828c914bd62ebb98d4a

See more details on using hashes here.

File details

Details for the file imagedata_registration-0.0.14-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for imagedata_registration-0.0.14-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8679381c3e1bea587e674fbda332508afd5b12051a8986d775a71a1bb52c4a0c
MD5 383a7de0ead0e1d74fe0056305d90383
BLAKE2b-256 09ba08040da912ceb0d4826c0ce97422117f48a3d1521a684bd6d756a4914c17

See more details on using hashes here.

File details

Details for the file imagedata_registration-0.0.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for imagedata_registration-0.0.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1dbcafc6a33953435c581c2f80ff7d2c93fb00411d90879426218f5261a3e446
MD5 b64b20308c951e00d18b50fd7faa2e0f
BLAKE2b-256 8567d4864f4aad81e60d849da956c074840673a0013739b342fd6a01d86d4ade

See more details on using hashes here.

File details

Details for the file imagedata_registration-0.0.14-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for imagedata_registration-0.0.14-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5576fb4cfcdfdc33bab17af9afe630c014526ca036e4229f70a4925e999bb6f4
MD5 7b2eb870169ca46f0666ee7c8b3917c3
BLAKE2b-256 31d3c8421323c62008526614c1c674ea77443ed9e62b8f3aeeea5fccca6a26f4

See more details on using hashes here.

File details

Details for the file imagedata_registration-0.0.14-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for imagedata_registration-0.0.14-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 864fb0ae697f290b727f75cd021ebd5e593d638cd27a355d0a3a1f2f08c65b0f
MD5 ec36d81a194014cc02ec620709f949eb
BLAKE2b-256 bb3aa9b4c6a738a7fb921e41443a636958205c14acc975936c62709840b1e4ba

See more details on using hashes here.

File details

Details for the file imagedata_registration-0.0.14-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for imagedata_registration-0.0.14-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1ec4df14c80c40f07ff2bee3e99387877fe38b6bdc5a08d2647ee32492310cd6
MD5 53f226bb48d738ede5e9918e0518f039
BLAKE2b-256 9f3e1cf470c435f5c5961f1d73d8963cc81f294dcab55008e8d1b0b4b034e1a5

See more details on using hashes here.

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