Skip to main content

An efficient binary value 3d volume registration algorithm based on Cupy.

Project description

register3d

An efficient binary value 3d volume registration algorithm based on Cupy.

Installation

pip install register3d

Usage

import register3d
import cupy as cp

# full_image3d and image_part3d are binary value 3d array
# value 1.0 means inside the surface
# value 0.0 means outside the surface
full_image3d = cp.array([ ... ]) # Your large image
image_part3d = cp.array([ ... ]) # Your small image

# match_3d_data_rotate will try to rotate image_part3d to match in full_image3d
# registered_image_part is of the same size as full_image3d
# less the score, better the match
# rotation_matrix is a rotation matrix not far from cp.eye(3)
registered_image_part, score, rotation_matrix = register3d.match_3d_data_rotate(full_image3d, image_part3d)

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

register3d-0.0.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

register3d-0.0.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file register3d-0.0.0.tar.gz.

File metadata

  • Download URL: register3d-0.0.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.18 Linux/6.17.7-aosc-main

File hashes

Hashes for register3d-0.0.0.tar.gz
Algorithm Hash digest
SHA256 65bfbd4b98d0c0fab4c0f5c992023a8a4e222b7804d70c2151a70b3dbebab6ad
MD5 6ecc0653fecb9503255e092af5549186
BLAKE2b-256 29d9cc04f5eeb90e51377c7b93dd332606b80ef2e722017717efda36e487ce2f

See more details on using hashes here.

File details

Details for the file register3d-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: register3d-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.18 Linux/6.17.7-aosc-main

File hashes

Hashes for register3d-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03c21e6c77382b14a83931bdad715bf94601003e3036b161acb9ee9dc985c2f0
MD5 225cda5be8d0e439fd488d53778a1040
BLAKE2b-256 3a0f80d9e84764f5ef59674e5ac09ecd04aaa66ee25e69971347cccc0ff0620b

See more details on using hashes here.

Supported by

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