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_cuda128-2.1.0-cp311-abi3-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.11+Windows x86-64

itk_cudacommon_cuda128-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_cuda128-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_cuda128-2.1.0-cp310-cp310-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.10Windows x86-64

itk_cudacommon_cuda128-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_cuda128-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_cuda128-2.1.0-cp39-cp39-win_amd64.whl (1.9 MB view details)

Uploaded CPython 3.9Windows x86-64

itk_cudacommon_cuda128-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_cuda128-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_cuda128-2.1.0-cp311-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for itk_cudacommon_cuda128-2.1.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9382fe0e12659fe2a42ec7fce67d08361d2ea436405cf3c8dc1698edf861cc1c
MD5 f5a89900eefc41f80539dd919a134efd
BLAKE2b-256 e9228f6932f6b68319b09b5a5374bc3a61d471005291df35543e8637a2cbbfdd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for itk_cudacommon_cuda128-2.1.0-cp311-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e73250384b96df7e0cf9a9b81c2e9f232195c28efa075fae4a18a721f8eade55
MD5 f8e4f250fe93432b1b60d836938b38aa
BLAKE2b-256 96a374e01c70b57c32a61202941cfc24f677477bd1a2d428e9b2c11160625dbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for itk_cudacommon_cuda128-2.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 de783273da9434b9ae01b3931f1d0ce6b78345a5adac0d40ceba2116e011d630
MD5 d5bac862b3ad47af75cd4729caae7773
BLAKE2b-256 4c1ff63df13551fdd457f166e11299aac92797daecdf045153669037613f2acf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for itk_cudacommon_cuda128-2.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3855e8f93e519b68539a749b8c63ebe70749d6fd54d252e8655d7505d3b95e64
MD5 bd6a0672da2e9b3a3b321d9016045b96
BLAKE2b-256 a863dcedd99d9f8c092dae45018d22b8fb46f5d6ac7537d028784438a5bc1f25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for itk_cudacommon_cuda128-2.1.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2e9f1310abfa19b9f3630539fef754a2e669ecd60e14fc4ad17d456bf9d4b2cb
MD5 3afe2f1641ebd869a63c92c5fb85e175
BLAKE2b-256 36b2f7ed360387f6213d95f876d65cc0602e84f4da4f5dd44bafaeb90f9baf2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for itk_cudacommon_cuda128-2.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d229e3544114b33e277feaa80d25d5cb8bbd34440e3c25a6965fe9ef30abe8ac
MD5 298e05392c01b6c5f60b73778a61a432
BLAKE2b-256 7774c6f806d062dfbdf3631933c72b80ff3052a49a0fd32ffc656d86a4f51b87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for itk_cudacommon_cuda128-2.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 b88bcdebaef1947c769c7f0d4011ab778f16b258be56c5206d9580b4d0428513
MD5 61d5da2f9c374554b4cfc5ed965fdd2b
BLAKE2b-256 9c8270d6395107626ac515763b9c43d5cadca13bf60c9114ba5e5dd5d480ceb4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for itk_cudacommon_cuda128-2.1.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 21736cbf005034f4d7c90e523c8b55749982978b8a0290cc744936d2dd886f3f
MD5 f551c66c1221999fac4d364146671805
BLAKE2b-256 b54797c1295bfb982fcaaa45870a36dc6038904ef9fffcfe77f532fe20ed7083

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for itk_cudacommon_cuda128-2.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 07a1f70d81b6e3edb22fe842a06c187581c1fe08eb2fed18af629b7cb184cf9b
MD5 185739d08996be48f534867ddfada3ad
BLAKE2b-256 da327b693e7b6d89fcb6a410b72df0d766fd36ef5111ac20c2d8b33f39d8f9f8

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