Skip to main content

Framework for processing images with Cuda

Project description

ITKCudaCommon

GitHub release PyPI Wheels License

Overview

ITKCudaCommon is an ITK module for processing images with Cuda, including the itk::CudaImage class and base classes for processing objects of this type, itk::CudaImageToImageFilter and itk::CudaInPlaceImageFilter. ITKCudaCommon was originally based on the GPUCommon module for OpenCL.

What is a CudaImage?

An itk::CudaImage is an itk::Image (by inheritance) with a new member, m_DataManager of type itk::CudaDataManager. The role of this member is to manage a GPU memory buffer with the same size as the itk::Image::m_Buffer. Data is transferred from one buffer to the other (m_GPUBuffer and m_CPUBuffer) only when necessary, i.e., when accessing one of the two buffers and the other has been accessed more recently and therefore marked as "dirty" (using the members m_IsGPUBufferDirty and m_IsCPUBufferDirty).

The Python CudaImage wrapping exposes a __cuda_array_interface__ for zero-copy views to other packages such as PyTorch or CuPy. See the CUDA array interface documentation for more information.

What is a CudaImageToImageFilter?

An itk::CudaImageToImageFilter and its in place child, itk::CudaInPlaceImageFilter, are ITK filters which can be integrated in an ITK pipeline to process an itk::CudaImage. They are CUDA equivalent to the CPU classes itk::ImageToImageFilter and itk::InPlaceImageFilter in ITK's Common module. See the ITK software guide for more information. Their GPUGenerateData member function must process the output CudaImage objects.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

itk_cudacommon_cuda130-2.1.0-cp311-abi3-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.11+Windows x86-64

itk_cudacommon_cuda130-2.1.0-cp311-abi3-manylinux_2_28_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.28+ x86-64

itk_cudacommon_cuda130-2.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ x86-64

itk_cudacommon_cuda130-2.1.0-cp310-cp310-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.10Windows x86-64

itk_cudacommon_cuda130-2.1.0-cp310-cp310-manylinux_2_28_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

itk_cudacommon_cuda130-2.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

itk_cudacommon_cuda130-2.1.0-cp39-cp39-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.9Windows x86-64

itk_cudacommon_cuda130-2.1.0-cp39-cp39-manylinux_2_28_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

itk_cudacommon_cuda130-2.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

File details

Details for the file itk_cudacommon_cuda130-2.1.0-cp311-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for itk_cudacommon_cuda130-2.1.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b35232963a44df0071438ae5b17ebf1b2cefd7b9a5cb4c05b51dd9785d030914
MD5 f6050ec296eca662863d1d50cf7517a7
BLAKE2b-256 122dfc0e9b6fb3661b2ed38a55ffff0f15a3d980e20c08d8b1c00183d5398a0e

See more details on using hashes here.

File details

Details for the file itk_cudacommon_cuda130-2.1.0-cp311-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for itk_cudacommon_cuda130-2.1.0-cp311-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c5acd8b9756c89bc7804ec1ea88583b55973a75aad85bcc4d7079303e40dd553
MD5 38e952aef3438bd90d7b502eec6d8905
BLAKE2b-256 99855e69ccbd0e6c04705b5563020c1c17c00b0a804573290bbdb3e46af8637a

See more details on using hashes here.

File details

Details for the file itk_cudacommon_cuda130-2.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for itk_cudacommon_cuda130-2.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 49d8b08125eb93f19dd63c183bdf375fabe1d52882bfdbf149d6d3ec66d4ce0e
MD5 73529b2155459e388a817def479415eb
BLAKE2b-256 fed262d26ef57c56959bdec817610e95bf09cfccb5fe9307a529583664afec84

See more details on using hashes here.

File details

Details for the file itk_cudacommon_cuda130-2.1.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for itk_cudacommon_cuda130-2.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0daf30aecfa77ea827db71bb9b3edb184982e7514dfa7a90a8aa472997143154
MD5 49e32d786a5f3dd57f48852d9127ec29
BLAKE2b-256 439a2a5b7b5eae4e65da22be7df5a9f1ca88b4a6e595130c626bf096afef8314

See more details on using hashes here.

File details

Details for the file itk_cudacommon_cuda130-2.1.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for itk_cudacommon_cuda130-2.1.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 85d580dc4716a691d9aa87e4dd7f5b29ed2b63a5234a670e624b98b700891ce0
MD5 647948a0717a6a9664d4c3777845876f
BLAKE2b-256 3e321e76e44d330b023e402c5bd1dce7ec9f12962cf51a6b6cc6ae398a19d5c5

See more details on using hashes here.

File details

Details for the file itk_cudacommon_cuda130-2.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for itk_cudacommon_cuda130-2.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6185acf1b59a637bb2edb43066eed4a0d0b37091bb08da57b703aa3e9ce5db50
MD5 2f7ea717763cc2047aad3961b30c6a15
BLAKE2b-256 5efcb5478fe40db0473246bc764c3c9ca23a333cbd0c60f7fb584b116e5debf0

See more details on using hashes here.

File details

Details for the file itk_cudacommon_cuda130-2.1.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for itk_cudacommon_cuda130-2.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4b0c8982f2faafc969d9f15aa498c7b72bc6e5ad58ec320113b0800959a8437c
MD5 1e8817be83deb42baa9ca6ba56153c49
BLAKE2b-256 d4dce23dd68d01b2b98e9071ddd9453e09648e8f1c6fab422bbc684a52e66197

See more details on using hashes here.

File details

Details for the file itk_cudacommon_cuda130-2.1.0-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for itk_cudacommon_cuda130-2.1.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b426a2d48bfc03f58018fdaa215c8f2ba990f6fba69af9ebe6961e67a45cc559
MD5 d0763e1ea65e2a576c10674eee88d04d
BLAKE2b-256 45f154e8fffb27b2fe2f50f6ad6af61d92f02579c01304a2850228417c5bd9e8

See more details on using hashes here.

File details

Details for the file itk_cudacommon_cuda130-2.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for itk_cudacommon_cuda130-2.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 09933f3bca8d25ad35e200c9b40091f6fad9617b78fba5bf2ac49220c7f4da4e
MD5 606efe3a18aa71d86b0b56e86cbdc6e4
BLAKE2b-256 50f76e846885bdbcc83ae6175bee0c40f5a780fefe25b4761db5f6fc1f8f0428

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