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.1.0.tar.gz (277.4 kB view details)

Uploaded Source

Built Distributions

imagedata_registration-0.1.0-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.1.0-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.1.0-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.1.0-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.1.0-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.1.0-cp39-cp39-macosx_10_9_x86_64.whl (916.7 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

imagedata_registration-0.1.0-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.1.0-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.1.0.tar.gz.

File metadata

  • Download URL: imagedata-registration-0.1.0.tar.gz
  • Upload date:
  • Size: 277.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for imagedata-registration-0.1.0.tar.gz
Algorithm Hash digest
SHA256 81cdd9bdfc28bb0b76203f9929a8568589f89efe4ecc52bb8186e80ad22084de
MD5 73ced0bd2934b7acbf449b7b162d21b1
BLAKE2b-256 a7baea6fd5098b7040f63676132167a8b933acecdfae848b933a9a1f60efe187

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagedata_registration-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dd6d471734b6985eec1cfa2ec5baccca510c681e3052d73283675b7862307c4a
MD5 1e8cd888e71a0562fb6f5226aab27155
BLAKE2b-256 f751be2d7fa922540161aebf7c66cc20ec4a03a9be0fa1a831b12d6fa8cab7a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagedata_registration-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 561d9902c6f6c4cc3cd2c0db6ff9dfa47343d25c2ef713053d0e0aa5e923d704
MD5 04176741d3f1c889f3549a802593d563
BLAKE2b-256 6864f6dbfd1eea12562cba52e75bb110b2c2bb0df49cb62c6a6d61031d706efe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagedata_registration-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e732f1aa48d69695f5e15eb243763382802f1cfab39dd72a29a022a4c8cca969
MD5 1b6fa809b8ec5477ad6ddaa80f70d1ad
BLAKE2b-256 a8de9e2499db2d363ceb8c7a29c7ae09b937ea2a2c19f05b3f28c753d7825b49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagedata_registration-0.1.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b7503c00460dd9e6ff104c971eec58d10e56eea3c9cd5619acaeb42e6a0f2a79
MD5 689738ee61f5277bd6f0831b8c3ffa7a
BLAKE2b-256 ab8e0a58ed8f6a2295958cf17f1d296bf7538c375a916a722b59051e4a641a04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagedata_registration-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 77360ec66b0f2986eab9a8465f1a7e4cc576efbefe8a7b848fe16b60c9b653c2
MD5 0b5067c7a503176b22cf1b66c989dd6e
BLAKE2b-256 1a5928cdc944e89fab382ff37e8b3fcc5ab7806d9a6f2a8a97c8402f79e81f1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagedata_registration-0.1.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a61c532415f40d77fad565fb3ff0c1e5afb5382e96ad4265e88afd38b1903539
MD5 8ea0e5a9d4d85024f2e2c3531b19e3f7
BLAKE2b-256 1924cb14de0bdcceaf9aba218b3c03de3f6eb10779938a8e5010f14e74c87717

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagedata_registration-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 64e1b38abce5a6deaadf16a7915c13caf793824ec948a7412a0c8af6e87bddd7
MD5 8c709000cade41c729722cd3241df9c7
BLAKE2b-256 d98dbec50fdb70189a5090986d20771e4f3ad62c99cce0e3c17ba6e0e38a0e00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for imagedata_registration-0.1.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 69afc5dc83603572967b869808aa55f57e9ca1ab09ead446e5dafe0ee112c843
MD5 da9cd7c3651a25448252c094802d9579
BLAKE2b-256 8ecdc485be125f8befe5ce434fc521449288ac8015141c428a4070a685b55af7

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