Pyimgaug3d
A 3D GPU augmentation library. This library is work-in-progress and will be constantly updated with more augmentation methods. The current supported ones are grid warp 3D, flip 3D and identity. As all the augmentation methods are implemented in TensorFlow, a Cuda compatible GPU is required to take advantage of increases speeds.
Installation
pip install pyimgaug3d
Example Usage
from pyimgaug3d.augmentation import GridWarp, Flip, Identity
from pyimgaug3d.augmenters import ImageSegmentationAugmenter
img = load_img... # shape=(H,W,D,C)
seg = load_seg... # shape=(H,W,D,C)(one hot encoded)
# This augmenter automatically rounds the segmentation mask
aug = ImageSegmentationAugmenter()
aug.add_augmentation(GridWarp(grid=(4, 5, 5), max_shift=10))
aug.add_augmentation(Flip(0))
aug.add_augmentation(Identity())
aug_img, aug_seg = aug([img, seg]) # call to perform augmentation, each time an augmentation method is sampled at random.
Citation
This library is published along with the following paper
S. Liu, W. Dai, C. Engstrom, J. Fripp, P. B. Greer, S. Crozier,J. A. Dowling,
and S. S. Chandra, “Fabric Image Representation Encoding Networks for Large-scale 3D Medical
Image Analysis,”arXiv e-prints, p. arXiv:2006.15578, Jun. 2020.
Metadata
Release files for pyimgaug3d 0.43
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyimgaug3d-0.43.tar.gz | 5.7 kB | Without provenance | Details for pyimgaug3d-0.43.tar.gz |
Release files / pyimgaug3d-0.43.tar.gz
| Download URL | pyimgaug3d-0.43.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33c617307d405b0a4dfa485eb618217319299a340d69d730e13e1bb453dae6df
|
|
BLAKE2b-256 checksum How to use checksums |
7296e6b0930b2ae87e5669c8fc4db6c84b7bb6fa78f0e5cd581739c7eaae533f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Security for pyimgaug3d 0.43
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.