HoughFeature.plot_lines#

HoughFeature.plot_lines(lines: ndarray, *args: Any, **kwargs: Any) None[source]#

Plot Hough lines

Parameters:
  • lines (ndarray(n,2), ndarray(n,4)) – Hough or probabilistic Hough lines

  • args – positional arguments passed to Matplotlib plot

  • kwargs – arguments passed to Matplotlib plot

Detected lines are given as rows of lines:

  • for Hough lines, each row is \((\theta, \rho)\), and lines are clipped by the bounds of the current plot.

  • for probabilistic Hough lines, each row is \((u_1, v_1, u_2, v_2)\), and lines segments are drawn on the current plot.

Seealso:

lines lines_p