Skip to main content

# pygorpho

Python bindings for [gorpho](https://github.com/patmjen/gorpho).

This is a Python library for fast 3D mathematical morphology using CUDA. Currently, the library provides: * Dilation and erosion for grayscale 3D images. * Support for flat or grayscale structuring elements. * A van Herk/Gil-Werman implementation for fast dilation/erosion with flat line segments in 3D. * Automatic block processing for 3D images which can’t fit in GPU memory.

Documentation can be found on [https://pygorpho.readthedocs.io](https://pygorpho.readthedocs.io)

## Installation First, make sure you have [CUDA Toolkit](https://developer.nvidia.com/cuda-toolkit) 9.2 or later installed. Then, install with pip: ` pip install pygorpho `

## Installing from source Again, make sure you have [CUDA Toolkit](https://developer.nvidia.com/cuda-toolkit) 9.2 or later installed. Also, you need a compatible C++ compiler, which supports C++14. Then, following these instructions should allow you to build and install the package:

  1. Clone the repo: git clone https://github.com/patmjen/pygorpho.git

  2. Change directory: cd pygorpho

  3. Install the required Python packages: pip install numpy scikit-build cmake ninja

  4. Build and install: python setup.py install

That should be it! To test, run python, and try to import pygorpho as pg.

Metadata

Release files for pygorpho 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygorpho 0.7.0
File Size Uploaded Provenance Actions
pygorpho-0.7.0.tar.gz 3.6 kB Without provenance Details for pygorpho-0.7.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pygorpho 0.7.0
File Actions
pygorpho-0.7.0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details for pygorpho-0.7.0-cp38-cp38-win_amd64.whl
pygorpho-0.7.0-cp38-cp38-manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details for pygorpho-0.7.0-cp38-cp38-manylinux1_x86_64.whl
pygorpho-0.7.0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details for pygorpho-0.7.0-cp37-cp37m-win_amd64.whl
pygorpho-0.7.0-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details for pygorpho-0.7.0-cp37-cp37m-manylinux1_x86_64.whl
pygorpho-0.7.0-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details for pygorpho-0.7.0-cp36-cp36m-win_amd64.whl
pygorpho-0.7.0-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details for pygorpho-0.7.0-cp36-cp36m-manylinux1_x86_64.whl
pygorpho-0.7.0-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details for pygorpho-0.7.0-cp35-cp35m-win_amd64.whl
pygorpho-0.7.0-cp35-cp35m-manylinux1_x86_64.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 Details for pygorpho-0.7.0-cp35-cp35m-manylinux1_x86_64.whl

Total release size: 8.5 MB

Release files / pygorpho-0.7.0.tar.gz

Download URL pygorpho-0.7.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8d3a0b656ac880985a29e1e29d759eada299605dc1397c8ef5a2e7ec6db855ff
BLAKE2b-256 checksum
How to use checksums
8eb57ff1bf9ba903d162199729bd38283542221c6c525d06f8a51334a2b8cbb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

Release files / pygorpho-0.7.0-cp38-cp38-win_amd64.whl

Download URL pygorpho-0.7.0-cp38-cp38-win_amd64.whl
Size 1.1 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
3a4487d13f87b4a9acf224732413b3e5608839846dccc0a31e8527e6b03c2d72
BLAKE2b-256 checksum
How to use checksums
f416c9e0b3eab4d1ddbefade98d0d2e6f7b658e0f66fb4af0e11850cf03522d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

Release files / pygorpho-0.7.0-cp38-cp38-manylinux1_x86_64.whl

Download URL pygorpho-0.7.0-cp38-cp38-manylinux1_x86_64.whl
Size 1.1 MB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
3d51e4b8185af531951c4608abbeef64c3d5a51bdeb06fb4257f0543f8c39b5d
BLAKE2b-256 checksum
How to use checksums
ec9e09ecd9839bc6850fa19338b0c95abcc93008fcbc6b4f86e5132e006c3bcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0

Release files / pygorpho-0.7.0-cp37-cp37m-win_amd64.whl

Download URL pygorpho-0.7.0-cp37-cp37m-win_amd64.whl
Size 1.1 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
359185d7a9ff8e434b99745aeeedcba0d228992e6ec330737d36686df191bae0
BLAKE2b-256 checksum
How to use checksums
40272d3dd0d084a21a263e794d0a4b75f571a1e194e04b5a26396f01e5640da5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

Release files / pygorpho-0.7.0-cp37-cp37m-manylinux1_x86_64.whl

Download URL pygorpho-0.7.0-cp37-cp37m-manylinux1_x86_64.whl
Size 1.1 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
11c8afa9bdda0c069d93ed07c8e64938ba935411ec0b99d11b98a29515f72451
BLAKE2b-256 checksum
How to use checksums
af832edf4b741da6a81804c1d32c28f935f449a2f5ab13e25ec180f1b25e2ffb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0

Release files / pygorpho-0.7.0-cp36-cp36m-win_amd64.whl

Download URL pygorpho-0.7.0-cp36-cp36m-win_amd64.whl
Size 1.1 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
c9314d6c086daa452a4fed9497197f6d4f0d826914c613b9c4c6884587f4feea
BLAKE2b-256 checksum
How to use checksums
52ea8ceee712fee00bbf92c80fe91e16dc159ccd07b7f468b65888639328bac5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

Release files / pygorpho-0.7.0-cp36-cp36m-manylinux1_x86_64.whl

Download URL pygorpho-0.7.0-cp36-cp36m-manylinux1_x86_64.whl
Size 1.1 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
bf0b80997b03f1e5c9c5887eac898e617206b6e4d9ef0ea5bde2dbc2ff50ba08
BLAKE2b-256 checksum
How to use checksums
951544a02dfdf68fa97961ada0c3ef8d7fddf566887bec757c43a4046e1b6bcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0

Release files / pygorpho-0.7.0-cp35-cp35m-win_amd64.whl

Download URL pygorpho-0.7.0-cp35-cp35m-win_amd64.whl
Size 1.1 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
69dca979b155644cd5a1973cc0f17e7514dc6d43d19d84874a3f47d34afb80ad
BLAKE2b-256 checksum
How to use checksums
c12a65ca219d577a9f21091ab5b101ffa3895222daad176799fee1710ea7a255
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

Release files / pygorpho-0.7.0-cp35-cp35m-manylinux1_x86_64.whl

Download URL pygorpho-0.7.0-cp35-cp35m-manylinux1_x86_64.whl
Size 1.1 MB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
9a378d332906df30392162c2aa443c9d9d8b7babc4d869eb685f3ce6ee891feb
BLAKE2b-256 checksum
How to use checksums
98e31cf51754afb579ce27cbec186deeb672165c4c7e69f32fe24850fcc84ce5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0

Security for pygorpho 0.7.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page