Merge pull request #27390 from MaximSmolskiy:update_HoughLinesWithAccumulator_binding

Update HoughLinesWithAccumulator binding
This commit is contained in:
Alexander Smorkalov 2025-06-02 09:41:33 +03:00 committed by GitHub
commit a39f61b6e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,11 +21,12 @@ void HoughLinesWithAccumulator(
InputArray image, OutputArray lines,
double rho, double theta, int threshold,
double srn = 0, double stn = 0,
double min_theta = 0, double max_theta = CV_PI
double min_theta = 0, double max_theta = CV_PI,
bool use_edgeval = false
)
{
std::vector<Vec3f> lines_acc;
HoughLines(image, lines_acc, rho, theta, threshold, srn, stn, min_theta, max_theta);
HoughLines(image, lines_acc, rho, theta, threshold, srn, stn, min_theta, max_theta, use_edgeval);
Mat(lines_acc).copyTo(lines);
}