Module hough

Module hough 

Source
Expand description

Line detection via the Hough transform.

Structs§

LineDetectionOptions
Options for Hough line detection.
PolarLine
A detected line, in polar coordinates.

Functions§

detect_lines
Detects lines in a binary input image using the Hough transform.
draw_polar_lines
Draws each element of lines on image in the provided color.
draw_polar_lines_mut
An in-place version of draw_polar_lines().
intersection_points
Returns the intersection points of a PolarLine with an image of given width and height, or None if the line and image bounding box are disjoint. The x value of an intersection point lies within the closed interval [0, image_width] and the y value within the closed interval [0, image_height].