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

Built distributions (wheels)

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

Total release size: 8.0 MB

Release files / pygorpho-0.6.0.tar.gz

Download URL pygorpho-0.6.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6d165d755051292567b0e35ec9ee2e87368892e85560ff639a027eff12fc11ae
BLAKE2b-256 checksum
How to use checksums
0c8d6b98ba376f5a49424067ed54fc73b76f137106a04714f5938fbe00747fb8
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.6.0-cp38-cp38-win_amd64.whl

Download URL pygorpho-0.6.0-cp38-cp38-win_amd64.whl
Size 1.0 MB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
acdcfa322566d3c5c343c8b5da526c9eb51c3deb13ccc5300e84613fda38a6cd
BLAKE2b-256 checksum
How to use checksums
891d366aa0f5ac999b81c6b072685ed81ca3dfb545e26964e8803309f4a9d153
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.6.0-cp38-cp38-manylinux1_x86_64.whl

Download URL pygorpho-0.6.0-cp38-cp38-manylinux1_x86_64.whl
Size 992.4 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
7dbafcd93aed645b1158e109209dd001db76f358ace4a842a1d968f3b8c28b5b
BLAKE2b-256 checksum
How to use checksums
422e8c71042f86f562d96c65787941a7d3f1dfcd80a692d70cfacd3af9ad7d21
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.6.0-cp37-cp37m-win_amd64.whl

Download URL pygorpho-0.6.0-cp37-cp37m-win_amd64.whl
Size 1.0 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
17e1e1681097d87e75fce59b83f22b8b3b03baf10bba3f2af21f2571d5a8c1e9
BLAKE2b-256 checksum
How to use checksums
d71a67823f3f4d2c311af9372cc1874dd319d2e53f60665cfb272933e8b6950f
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.6.0-cp37-cp37m-manylinux1_x86_64.whl

Download URL pygorpho-0.6.0-cp37-cp37m-manylinux1_x86_64.whl
Size 992.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
0fe82ceefe9697e7671e561e521a376d1c206bf1c90cc4b5aac35ac413ff5bf8
BLAKE2b-256 checksum
How to use checksums
0a09a40fff5241255db0da554164dbf1cbefc7cec52505cd95d7befe46e3f178
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.6.0-cp36-cp36m-win_amd64.whl

Download URL pygorpho-0.6.0-cp36-cp36m-win_amd64.whl
Size 1.0 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
a72684896ea1d8237019d9f51490ddbbf9ae0b35a7a3f1bdf75caf2fd2d0a0e1
BLAKE2b-256 checksum
How to use checksums
a3995e617bfeeb9cddd315a5fa57ce9c07b6f88f44562f52f98a486893e60fe0
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.6.0-cp36-cp36m-manylinux1_x86_64.whl

Download URL pygorpho-0.6.0-cp36-cp36m-manylinux1_x86_64.whl
Size 992.3 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
363fe9acb2440b73ef98137199a88fc0cab36a448e23153826e92243ed69599d
BLAKE2b-256 checksum
How to use checksums
8cced5cb47c4027eb7a97a43ac7c07e0e0109c7931d09b47345b74c079a48c70
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.6.0-cp35-cp35m-win_amd64.whl

Download URL pygorpho-0.6.0-cp35-cp35m-win_amd64.whl
Size 1.0 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
e789dde090343cc451b9645ab154f6647e23d0904515f420c5bc6d100b9dd03a
BLAKE2b-256 checksum
How to use checksums
1f041e8c3ee515ecf28671e49c04a015354c4593eb39569fb87fab2446200d17
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.6.0-cp35-cp35m-manylinux1_x86_64.whl

Download URL pygorpho-0.6.0-cp35-cp35m-manylinux1_x86_64.whl
Size 992.3 kB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
5274413cc03012b0f00563d881de9d2436aa38f819cf920c24e93ac58ff7d5e4
BLAKE2b-256 checksum
How to use checksums
7ee6bd03692b2a26d3c7fcd34f3f5751a82d675db707c82b1656a5552a28cdc1
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.6.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