Python bindings for gorpho
Project description
# 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:
Clone the repo: git clone https://github.com/patmjen/pygorpho.git
Change directory: cd pygorpho
Install the required Python packages: pip install numpy scikit-build cmake ninja
Build and install: python setup.py install
That should be it! To test, run python, and try to import pygorpho as pg.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for pygorpho-0.7.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a4487d13f87b4a9acf224732413b3e5608839846dccc0a31e8527e6b03c2d72 |
|
MD5 | c3c10f8f309b54ec904de3b61b1976fe |
|
BLAKE2b-256 | f416c9e0b3eab4d1ddbefade98d0d2e6f7b658e0f66fb4af0e11850cf03522d7 |
Hashes for pygorpho-0.7.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d51e4b8185af531951c4608abbeef64c3d5a51bdeb06fb4257f0543f8c39b5d |
|
MD5 | 973886da85951a62bdea295903597ef5 |
|
BLAKE2b-256 | ec9e09ecd9839bc6850fa19338b0c95abcc93008fcbc6b4f86e5132e006c3bcc |
Hashes for pygorpho-0.7.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 359185d7a9ff8e434b99745aeeedcba0d228992e6ec330737d36686df191bae0 |
|
MD5 | 5c02dcce082aa559eefdd70940fb3519 |
|
BLAKE2b-256 | 40272d3dd0d084a21a263e794d0a4b75f571a1e194e04b5a26396f01e5640da5 |
Hashes for pygorpho-0.7.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11c8afa9bdda0c069d93ed07c8e64938ba935411ec0b99d11b98a29515f72451 |
|
MD5 | dbe49fd62134cde30f6bd8169ad97ca1 |
|
BLAKE2b-256 | af832edf4b741da6a81804c1d32c28f935f449a2f5ab13e25ec180f1b25e2ffb |
Hashes for pygorpho-0.7.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9314d6c086daa452a4fed9497197f6d4f0d826914c613b9c4c6884587f4feea |
|
MD5 | debfe45f92d54a3ca81b5756118f8585 |
|
BLAKE2b-256 | 52ea8ceee712fee00bbf92c80fe91e16dc159ccd07b7f468b65888639328bac5 |
Hashes for pygorpho-0.7.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf0b80997b03f1e5c9c5887eac898e617206b6e4d9ef0ea5bde2dbc2ff50ba08 |
|
MD5 | 6832aad6b992ba8ce81383578f7fffe9 |
|
BLAKE2b-256 | 951544a02dfdf68fa97961ada0c3ef8d7fddf566887bec757c43a4046e1b6bcb |
Hashes for pygorpho-0.7.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69dca979b155644cd5a1973cc0f17e7514dc6d43d19d84874a3f47d34afb80ad |
|
MD5 | 3f1c866dd14f5bbefeaeb99e44149dd9 |
|
BLAKE2b-256 | c12a65ca219d577a9f21091ab5b101ffa3895222daad176799fee1710ea7a255 |
Hashes for pygorpho-0.7.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a378d332906df30392162c2aa443c9d9d8b7babc4d869eb685f3ce6ee891feb |
|
MD5 | db345e88f1b863815cc9c012e74bba1f |
|
BLAKE2b-256 | 98e31cf51754afb579ce27cbec186deeb672165c4c7e69f32fe24850fcc84ce5 |