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.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 1.0.1
File Size Uploaded Provenance
pygorpho-1.0.1.zip 12.8 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for pygorpho 1.0.1
File Interpreter ABI Platform
pygorpho-1.0.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
pygorpho-1.0.1-py3-none-manylinux1_x86_64.whl Python 3 none Linux glibc 2.5+ x86-64 Details

Total release size: 2.0 MB

Release files / pygorpho-1.0.1.zip

Download URL pygorpho-1.0.1.zip
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
29d93e75c1c9deb52ba235d05cda2db84911726dcec0f7461b205fc78cf94edf
BLAKE2b-256 checksum
How to use checksums
74f6d394a0dfcb0c6d9943257fe3dd03f43c700d56e70ff49ccb10c4462c1915
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Release files / pygorpho-1.0.1-py3-none-win_amd64.whl

Download URL pygorpho-1.0.1-py3-none-win_amd64.whl
Size 1.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
dbea932c6f61a1e671357ffec788f1e751066207d8ebc5cd92eef60f393feb98
BLAKE2b-256 checksum
How to use checksums
bc2fa5cae98033a78bdb85cfea0e00d8e7ae77ed649443551f403d7c18291b80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Release files / pygorpho-1.0.1-py3-none-manylinux1_x86_64.whl

Download URL pygorpho-1.0.1-py3-none-manylinux1_x86_64.whl
Size 1.0 MB
Tags Linux glibc 2.5+ x86-64 Python 3
SHA-256 checksum
How to use checksums
0b7581003ae5cc1e6b8a7d200fe2c963be2ba78160f4c8e529dc6fa15ca89bc3
BLAKE2b-256 checksum
How to use checksums
45da944daee64976b69c4d38f0af19b1a7c564a9799fab24c8624e99c700549a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Security for pygorpho 1.0.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.

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