cucim-cu1224.12.0
Published
cuCIM - an extensible toolkit designed to provide GPU accelerated I/O, computer vision & image processing primitives for N-Dimensional images with a focus on biomedical imaging.
pip install cucim-cu12
Package Downloads
Authors
Project URLs
Requires Python
>=3.10
Dependencies
- click
- cupy-cuda12x
>=12.0.0
- lazy_loader
>=0.1
- numpy
<3.0a0,>=1.23.4
- scikit-image
<0.25.0a0,>=0.19.0
- scipy
>=1.6.0
- imagecodecs
>=2021.6.8; platform_machine == "x86_64" and extra == "test"
- matplotlib
; extra == "test"
- numpydoc
>=1.5; extra == "test"
- opencv-python-headless
>=4.6; extra == "test"
- openslide-python
>=1.3.0; platform_machine == "x86_64" and extra == "test"
- pooch
>=1.6.0; extra == "test"
- psutil
>=5.8.0; extra == "test"
- pytest-cov
>=2.12.1; extra == "test"
- pytest-lazy-fixtures
>=1.0.0; extra == "test"
- pytest-xdist
; extra == "test"
- pytest
<8.0.0a0,>=6.2.4; extra == "test"
- pywavelets
>=1.0; extra == "test"
- tifffile
>=2022.7.28; extra == "test"
- black
; extra == "developer"
- isort
; extra == "developer"
- pre-commit
; extra == "developer"
- ruff
; extra == "developer"
- ipython
; extra == "docs"
- nbsphinx
; extra == "docs"
- numpydoc
>=1.5; extra == "docs"
- pydata-sphinx-theme
; extra == "docs"
- recommonmark
; extra == "docs"
- sphinx
<6; extra == "docs"
cuCIM
RAPIDS cuCIM is an open-source, accelerated computer vision and image processing software library for multidimensional images used in biomedical, geospatial, material and life science, and remote sensing use cases.
cuCIM offers:
- Enhanced Image Processing Capabilities for large and n-dimensional tag image file format (TIFF) files
- Accelerated performance through Graphics Processing Unit (GPU)-based image processing and computer vision primitives
- A Straightforward Pythonic Interface with Matching Application Programming Interface (API) for Openslide
cuCIM supports the following formats:
- Aperio ScanScope Virtual Slide (SVS)
- Philips TIFF
- Generic Tiled, Multi-resolution RGB TIFF files with the following compression schemes:
- No Compression
- JPEG
- JPEG2000
- Lempel-Ziv-Welch (LZW)
- Deflate
NOTE: For the latest stable README.md ensure you are on the main
branch.
- GTC 2022 Accelerating Storage IO to GPUs with Magnum IO [S41347]
- cuCIM's GDS API examples: https://github.com/NVIDIA/MagnumIO/tree/main/gds/readers/cucim-gds
- SciPy 2021 cuCIM - A GPU image I/O and processing library
- GTC 2021 cuCIM: A GPU Image I/O and Processing Toolkit [S32194]
Blogs
- Enhanced Image Analysis with Multidimensional Image Processing
- Accelerating Scikit-Image API with cuCIM: n-Dimensional Image Processing and IO on GPUs
- Accelerating Digital Pathology Pipelines with NVIDIA Clara™ Deploy
Webinars
Release notes are available on our wiki page.
Install cuCIM
Conda
Conda (stable)
conda create -n cucim -c rapidsai -c conda-forge cucim cuda-version=`<CUDA version>`
<CUDA version>
should be 11.2+ (e.g., 11.2
, 12.0
, etc.)
Conda (nightlies)
conda create -n cucim -c rapidsai-nightly -c conda-forge cucim cuda-version=`<CUDA version>`
<CUDA version>
should be 11.2+ (e.g., 11.2
, 12.0
, etc.)
PyPI
Install for CUDA 12:
pip install cucim-cu12
Alternatively install for CUDA 11:
pip install cucim-cu11
Notebooks
Please check out our Welcome notebook (NBViewer)
Downloading sample images
To download images used in the notebooks, please execute the following commands from the repository root folder to copy sample input images into notebooks/input
folder:
(You will need Docker installed in your system)
./run download_testdata
or
mkdir -p notebooks/input
tmp_id=$(docker create gigony/svs-testdata:little-big)
docker cp $tmp_id:/input notebooks
docker rm -v ${tmp_id}
Build/Install from Source
See build instructions.
Contributing Guide
Contributions to cuCIM are more than welcome! Please review the CONTRIBUTING.md file for information on how to contribute code and issues to the project.
Acknowledgments
Without awesome third-party open source software, this project wouldn't exist.
Please find LICENSE-3rdparty.md to see which third-party open source software is used in this project.
License
Apache-2.0 License (see LICENSE file).
Copyright (c) 2020-2022, NVIDIA CORPORATION.