I know the edge detection problem has been posted before (in Java: Count the number of objects in an Image, language independent: Image edge detection), but I want to know how to implement it in python.
I'm doing edge detection and curvature calculation around the edge on some simple shapes (binary shape with some noise). I know there are some wrapper for OpenCV, but not sure which one is better: pyopencv, pycv, pycvf?
Since I'm basically only doing this two tasks, I'm also not sure whether it would be faster to implement it by myself rather than using the library.
解决方案
We have segmentation and edge detection algorithms in the actively developed scikit-image that you may find useful: