mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
Backport C-API cleanup (imgproc) from 5.x
This commit is contained in:
@@ -160,7 +160,7 @@ void CV_CannyTest::run_func()
|
||||
{
|
||||
cv::Mat _out = cv::cvarrToMat(test_array[OUTPUT][0]);
|
||||
cv::Canny(cv::cvarrToMat(test_array[INPUT][0]), _out, threshold1, threshold2,
|
||||
aperture_size + (use_true_gradient ? CV_CANNY_L2_GRADIENT : 0));
|
||||
aperture_size, use_true_gradient);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user