fixed compile warnings and opencv_perf_imgproc failures
This commit is contained in:
@@ -31,11 +31,12 @@ PERF_TEST_P(Image_RhoStep_ThetaStep_Threshold, HoughLines,
|
||||
|
||||
Canny(image, image, 0, 0);
|
||||
|
||||
Mat lines;
|
||||
Mat lines_t, lines;
|
||||
declare.time(60);
|
||||
|
||||
TEST_CYCLE() HoughLines(image, lines, rhoStep, thetaStep, threshold);
|
||||
TEST_CYCLE() HoughLines(image, lines_t, rhoStep, thetaStep, threshold);
|
||||
|
||||
transpose(lines, lines);
|
||||
if( !lines_t.empty() )
|
||||
transpose(lines_t, lines);
|
||||
SANITY_CHECK(lines);
|
||||
}
|
||||
|
Reference in New Issue
Block a user