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 0.7.1

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.1
File Size Uploaded Provenance Actions
pygorpho-0.7.1.tar.gz 3.5 kB Without provenance Details for pygorpho-0.7.1.tar.gz

Built distributions (wheels)

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

Total release size: 8.5 MB

Release files / pygorpho-0.7.1.tar.gz

Download URL pygorpho-0.7.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
11cf9f5e2f0a5616a59ac4543f8210bf02cd8ab27b47ff5bfa445ce227833bcb
BLAKE2b-256 checksum
How to use checksums
8fc46b6eef59c0d97054453677948858da0883a5d838eb83e1365297612b29a1
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.1-cp38-cp38-win_amd64.whl

Download URL pygorpho-0.7.1-cp38-cp38-win_amd64.whl
Size 1.1 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
7293d72a6ce30063d9dac7b1541591fd146d7a3ab7e4fdf7e70cea2ececd946b
BLAKE2b-256 checksum
How to use checksums
c04ac954ba8bed8b159c32206ad4c58d67a95b7ad6a8700fe43edc3429da5537
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.1-cp38-cp38-manylinux1_x86_64.whl

Download URL pygorpho-0.7.1-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
f7724f0e12ac96fa20eb550f104968b849ee9eed74d097054b54754a451ebfb5
BLAKE2b-256 checksum
How to use checksums
bfc2ea01a8d8add4aab843829ca1c48f386660b12b45fd96184c142315182ae6
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.1-cp37-cp37m-win_amd64.whl

Download URL pygorpho-0.7.1-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
1d46bdd6a6c3128a559779bd9c58ed422e560ec524b40f9375ced54497d37fdf
BLAKE2b-256 checksum
How to use checksums
f7c13d78a7d7f4cad057b2346d5b488c43be4067f2c5191b67d0a58f1a9b8561
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.1-cp37-cp37m-manylinux1_x86_64.whl

Download URL pygorpho-0.7.1-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
591ca49396e32defbfd844d1566f014e016511aa3e0862ba28de6dbebb87e037
BLAKE2b-256 checksum
How to use checksums
2d03fafb0c6f1ca850ae96d0bc63cdb8c2e15a886b38ab508d0199cefe67d3d4
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.1-cp36-cp36m-win_amd64.whl

Download URL pygorpho-0.7.1-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
a60d728abbb682d275b0480d1979e14abb0793002840a3a7743b424e72561b28
BLAKE2b-256 checksum
How to use checksums
b92a3343ca7fc6600bde0302ee916e8755fc65ff2c1860256e686d8727607ea1
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.1-cp36-cp36m-manylinux1_x86_64.whl

Download URL pygorpho-0.7.1-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
6a2e44ce1c19c66209ac80439953ec91c3c70c09a85545b13e36c84e9805e500
BLAKE2b-256 checksum
How to use checksums
180508c4f174e6a8c1addc7b51b8f914a66a528e6d5a3410c2ba44c1a87e7d90
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.1-cp35-cp35m-win_amd64.whl

Download URL pygorpho-0.7.1-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
ac2fcde165fb078e4bcf919a7f441c30bc40810dca8ae6efdc225e1fb45c67c6
BLAKE2b-256 checksum
How to use checksums
12fa96bb72d841d606ce682d1f9765bf6b48629cbe2ef8bd556f413188b896db
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.1-cp35-cp35m-manylinux1_x86_64.whl

Download URL pygorpho-0.7.1-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
34f4eb089cdb87ecb5102e8caf7a3554de290e2fbd7ab431f770d0def5e1ec26
BLAKE2b-256 checksum
How to use checksums
6dab1e29a0d5f27b357dbd002177281c1e7bb735bf2fa47b26dfbab2391b56f4
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.1

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