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.

Filename, size & hash SHA256 hash help File type Python version Upload date
thinning-1.2.3.tar.gz (4.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page