Segmentation Error When Using probabilistic_hough_line


I am trying to detect a line in my image using the probabilistic_hough_line function in scikit-image. However, when I run the line

segments = probabilistic_hough_line(imdata)

I get the following message:

Segmentation fault: 11

Python then crashes. Could someone give me advice as to how to resolve this issue? Imdata is a 2d numpy array that stores the (greyscale) pixel values. Also, it is not normalized.

Thank you! Any help is much appreciated!

Hi Owen! This is certainly a bug so please report it at, together with the data that causes the error (you can use to save it as a png) and the version of scikit-image that you are using! Thanks!