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.

Source Distribution

thinning-1.2.3.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file thinning-1.2.3.tar.gz.

File metadata

  • Download URL: thinning-1.2.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for thinning-1.2.3.tar.gz
Algorithm Hash digest
SHA256 0859d104807d26a9e67941ee0455ed12988a731c7199e74efad7f0fa33ff0faf
MD5 43a4417ea93e294b700648aa150d4878
BLAKE2b-256 b7cdc297b745f1111ce8e3be63f5b394b6c22c0811279b178665e6a2a969e812

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page