boost::gil::hough_line_transform
Vote for best fit of a line in parameter space
Synopsis
Declared in <boost/gil/extension/image_processing/hough_transform.hpp>
template<
typename InputView,
typename OutputView>
void
hough_line_transform(
InputView const& input_view,
OutputView const& accumulator_array,
hough_parameter<double> const& theta,
hough_parameter<std::ptrdiff_t> const& radius);
Description
The input must be an edge map with grayscale pixels. Be aware of overflow inside accumulator array. The theta parameter is best computed through factory function provided in hough_parameter.hpp
Parameters
Name |
Description |
theta |
A type to encapsulate Hough transform parameter range |
radius |
A type to encapsulate Hough transform parameter range |
Created with MrDocs