Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
|
Functions | |
template<class D > | |
Vector< Circle > | HoughCircles (Image< D > &img, float scale, float min_dist, size_t min_radius, size_t max_radius, float canny_threshold, size_t detection_threshold, int canny_levels, int clean_edges) |
Hough transform to detect circles in the input image. More... | |
Vector< Circle > Bial::Hough::HoughCircles | ( | Image< D > & | img, |
float | scale, | ||
float | min_dist, | ||
size_t | min_radius, | ||
size_t | max_radius, | ||
float | canny_threshold, | ||
size_t | detection_threshold, | ||
int | canny_levels, | ||
int | clean_edges | ||
) |
Hough transform to detect circles in the input image.
img | Input image. |
scale | The scale in which hough transform is executed. Should be greater than 0.0. |
min_dist | Minimum distance between detected circles. |
min_radius,max_radius | Range of the radius of the circles. |
canny_threshold | Canny higher threshold. Lower threshold is set to canny_threshold / 2. |
detection_threshold | Threshold to accept or reject a circle. Suggested range: 10 to 200. |
canny_levels | Number of levels in multi-level canny implementation. Suggestion: 1 to 3. |
clean_edges | Use heuristic to remove border segments that will not contribute to find the circles. |