Skip to main content

C extension for thinning binary images.

Project description

Thinning is the operation that takes a binary image and contracts the foreground until only single-pixel wide lines remain. It is also known as skeletonization.

This package implements the thinning algorithm by Guo and Hall[1] for Numpy arrays. It is thus compatible with OpenCV. The algorithm is implemented in C and fairly fast.

[1] http://dx.doi.org/10.1145/62065.62074

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for thinning, version 1.2.3
Filename, size File type Python version Upload date Hashes
Filename, size thinning-1.2.3.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page