Donnerstag, 13. Dezember 2012

Slic Superpixels


I was bored so i implemented a pure python of slic superpixels.
http://ivrg.epfl.ch/supplementary_material/RK_SLICSuperpixels/  for the
paper.
The python code needs vigranumpy just to open the image and to compute
the gradient magnitude of the image. One can easy replace this to remove
the vigra numpy dependency.
The rest is just default stuff like numpy and matplotlib to visualize stuff.

https://github.com/DerThorsten/vision/

A part of my code is based on a great post of the blogger Peekaboo:
peekaboo-vision.blogspot.de region-connectivity-graphs-in-python


update:
 
 i also implemented it in C++ using the vigra-library .
It is soooo fast. Code will be added to github in a few days.
arrsoooo

Keine Kommentare:

Kommentar veröffentlichen