houghlinesp discrepancy

asked 2017-12-27 09:12:39 -0600

redhog gravatar image

Hi!

I'm not sure if this is a bug, or me misunderstanding some part of the API, or an implementation limitation: I get quite different, and for me, worse, results from the OpenCV 2 implementation of the probabalistic Hough lines transform, compared to the Scikit Image one. This is using the exact same parameters for the two implementations.

To be clear, I'm comparing these two functions:

https://docs.opencv.org/2.4/modules/i... http://scikit-image.org/docs/dev/api/...

Here is an jupyter notebook comparing the two functions on an arbitrary image (please ignore the image loading/preparation code from my project at the top, I plot the imput image "grad" under the output lines):

https://github.com/innovationgarage/p...

Thanks in advance, Egil

edit retag flag offensive close merge delete