I am trying to use Hough Lines transform on some iage with itk on python (spyder).
I used the given example here:
How to deal with HoughTransform2DLinesImageFilter GetLines() method in python - Beginner Questions - ITK
but I have the same problem. Here the code to make reading easier:
edges = sobslice #image itk.image(itk.F,2)
houghF = itk.HoughTransform2DLinesImageFilter[itk.F, itk.F].New()
DetectedLines is a “Swig object of type std::vector” from which I can’t access data. At least, I know its size (with len() or .size()) but I can’t access value with GetPoint().
Any idea ?