Weighted hough transform
The hugh transform now accepts weighted votes.
New APIS:
image2d<float> hough_lines(const image2d<float>& input, std::span<float> angles, image2d<float>* out = nullptr);
std::vector<HoughLine> hough_lines_detect_peaks(const image2d<float>& acc...)
std::vector<HoughLineAngle> hough_lines_detect_peak_angles(const image2d<float>& acc...)
API Breaks:
HoughLine
and HoughLineAngle
now stores the vote count in float.