Livewire segmentation in scikit-image

Pavlo Dyban pdyban at gmail.com
Mon Feb 22 16:43:09 EST 2016


Hello! I am a great fan of scikit-learn and have used it in a number of 
various projects so far. This time, I want to contribute to the project. I 
have implemented Livewire segmentation algorithm for image segmentation and 
would like to bring it into the main package. My code is hosted on github, 
it is documented with sphinx and tested. 

Livewire segmentation technique deduces object boundaries in the image by 
converting the image to a weighted graph where edges' weights are computed 
from the gradient image. The shortest path algorithm minimises the total 
cost function, thus avoiding steep gradients (i.e. object boundaries in the 
original image). An example of how the algorithm works you will find in my 
repository: https://github.com/pdyban/livewire.

The API is straightforward:

from livewire import LiveWireSegmentationalgorithm = LiveWireSegmentation(image)path = algorithm.compute_shortest_path((0, 0), (10, 25))

Do you think this algorithm would be needed inside scikit-image? If yes, 
would that belong inside segmentation module? Could someone assist me in my 
first open source contribution? It would be great if I could contribute to 
your project! Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20160222/4dca880e/attachment.html>


More information about the scikit-image mailing list