SNIC superpixels algorithm
Reason this release was yanked:
Version number does not match semantic versioning scheme
Project description
Python-only implementation of the SNIC superpixels algorithm (https://www.epfl.ch/labs/ivrl/research/snic-superpixels/).
Typical usage example:
from pysnic.algorithms.snic import snic from pysnic.algorithms.polygonize import polygonize from pysnic.algorithms.ramerDouglasPeucker import RamerDouglasPeucker segmentation, distance_map, number_of_segments = snic( lab_image, 500, 0.01, update_func=lambda num_pixels: print("processed %05.2f%%" % (num_pixels * 100 / number_of_pixels))) rdp = RamerDouglasPeucker(10) graphs = polygonize(segmentation, seeds, rdp)
This project is maintained under: https://github.com/MoritzWillig/pysnic
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
pysnic-1.0.tar.gz
(11.6 kB
view hashes)
Built Distribution
pysnic-1.0-py3-none-any.whl
(15.4 kB
view hashes)