Skip to main content

pygorpho

Python bindings for 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

Installation

First, make sure you have CUDA Toolkit 9.2 or later installed. Then, install with pip:

pip install pygorpho

Installing from source

Again, make sure you have 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 1.0.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 1.0.0
File Size Uploaded Provenance Actions
pygorpho-1.0.0.tar.gz 9.5 kB Without provenance Details for pygorpho-1.0.0.tar.gz

Built distributions (wheels)

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

Total release size: 8.5 MB

Release files / pygorpho-1.0.0.tar.gz

Download URL pygorpho-1.0.0.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
415181cee64c997152c0cee43ef22be45becd441415322e6172512b3d85aec43
BLAKE2b-256 checksum
How to use checksums
ead5b890e84173dee0e5cea07b48ee3c901d942436eb5f04ce8a426376887263
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-1.0.0-cp38-cp38-win_amd64.whl

Download URL pygorpho-1.0.0-cp38-cp38-win_amd64.whl
Size 1.1 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
68fbb401ca2d2f23d8cc90cfb1d2216b33893647619b21ed9cb1a2f5102dea52
BLAKE2b-256 checksum
How to use checksums
fa2c3b2f55f86c151b9efd910ab2727465955db7d208b6fbda2925c1e8212276
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-1.0.0-cp38-cp38-manylinux1_x86_64.whl

Download URL pygorpho-1.0.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
4e73808595f24908fd5074d952591db138d0e6b6c008e05711823a4739a3856c
BLAKE2b-256 checksum
How to use checksums
ffe3d77712f02574baefc4c72c1339444f8f0db7f1780c6e571aa28fc1dfc8d7
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-1.0.0-cp37-cp37m-win_amd64.whl

Download URL pygorpho-1.0.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
7cd392764eab50c04ed1d30d0f904a794d7d99bd61beae22bc55cb715f6e72b3
BLAKE2b-256 checksum
How to use checksums
ef87a9ba02352b2bf5afeed010827aeda867215ce8eb98a1e3270a6d1a4549fa
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-1.0.0-cp37-cp37m-manylinux1_x86_64.whl

Download URL pygorpho-1.0.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
f31ea4298e2e33125b5963743b8f8c2039c4161d85906c20ff35c7f85d73f56a
BLAKE2b-256 checksum
How to use checksums
ee5aefc425902ee25d0d75012d7ab50aeffcfaa022471891f722bd79157f122d
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-1.0.0-cp36-cp36m-win_amd64.whl

Download URL pygorpho-1.0.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
d80aa9200f42202dc6d6f768d2c641d90049ca157fae236a6ae72e92afc23096
BLAKE2b-256 checksum
How to use checksums
df3cfff5705a3e77d65403e2b8ba2b141a96ef48ff18fe5048d1f5d06c64a517
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-1.0.0-cp36-cp36m-manylinux1_x86_64.whl

Download URL pygorpho-1.0.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
6004be1c8e4655acffe9b507eda0570e67162aceff3bb049529f291a33371241
BLAKE2b-256 checksum
How to use checksums
e9d5387dedfaacf7860ed89d492ce790c1d46022e03a6dcafa469e8303edccee
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-1.0.0-cp35-cp35m-win_amd64.whl

Download URL pygorpho-1.0.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
1a16c853604fdcf179f3b3a9e08b9330de24b7ae63994b0cf37d050841e7ca51
BLAKE2b-256 checksum
How to use checksums
67d5d280cf26385ff8dd03f6781771305054c32c99ebe6f9a50955ec42816620
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-1.0.0-cp35-cp35m-manylinux1_x86_64.whl

Download URL pygorpho-1.0.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
34f5b2402c80ef96e1ce897baf18f3ec61e68e5f3be7c7f23b457a09b05b25d9
BLAKE2b-256 checksum
How to use checksums
e292ef18ce844402bb367fed1141edc219ef8858f081f8fdf1624068d00ddece
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 1.0.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