Difficulty making active contours work

Stéfan van der Walt stefanv at berkeley.edu
Wed May 18 04:09:23 EDT 2016


Hi everyone

(And especially Emmanuelle)

There was a recent StackOverflow question that I think can be addressed
well by active contours:

http://stackoverflow.com/questions/37234413/background-removal-masking-in-python-using-edge-detection-and-scikit-image

I've tried to make our implementation work on these images, but to no
avail.  Do you have any advice?  My attempt is here:

https://gist.github.com/e4313a0ecefb5ff37106b862e6cf25f5

(Note that I added a callback into the active contours loop:

        if callback is not None:
            callback(np.array([x, y]).T)

Perhaps this would be a useful addition in general?)

Thanks!
Stéfan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20160518/c08095ea/attachment.html>


More information about the scikit-image mailing list