The following issues were found
modules/imgproc/test/test_fitellipse_direct.cpp
1 issues
Line: 79
EXPECT_TRUE(directGoodQ);
}
TEST(Imgproc_FitEllipseDirect_Issue_2, accuracy) {
vector<Point2f>pts;
pts.push_back(Point2f(436.59985753246326f, 99.52113368023126f));
pts.push_back(Point2f(454.40214161915856f, 160.47565296546912f));
pts.push_back(Point2f(406.01996690372687f, 215.41999534561575f));
pts.push_back(Point2f(362.8738685722881f, 262.1842668997318f));
Reported by Cppcheck.
modules/imgproc/test/test_floodfill.cpp
1 issues
Line: 528
comp[5] = comp[6] = comp[7] = comp[8] = 0;
}
TEST(Imgproc_FloodFill, accuracy) { CV_FloodFillTest test; test.safe_run(); }
TEST(Imgproc_FloodFill, maskValue)
{
const int n = 50;
Mat img = Mat::zeros(n, n, CV_8U);
Reported by Cppcheck.
modules/imgproc/test/test_goodfeaturetotrack.cpp
1 issues
Line: 522
}
TEST(Imgproc_GoodFeatureToT, accuracy) { CV_GoodFeatureToTTest test; test.safe_run(); }
}} // namespace
/* End of file. */
Reported by Cppcheck.
modules/imgproc/test/test_grabcut.cpp
1 issues
Line: 144
ts->set_failed_test_info(cvtest::TS::OK);
}
TEST(Imgproc_GrabCut, regression) { CV_GrabcutTest test; test.safe_run(); }
TEST(Imgproc_GrabCut, repeatability)
{
cvtest::TS& ts = *cvtest::TS::ptr();
Reported by Cppcheck.
modules/imgproc/test/test_histograms.cpp
1 issues
Line: 1918
//////////////////////////////////////////////////////////////////////////////////////////////////////
TEST(Imgproc_Hist_Calc, accuracy) { CV_CalcHistTest test; test.safe_run(); }
TEST(Imgproc_Hist_Query, accuracy) { CV_QueryHistTest test; test.safe_run(); }
TEST(Imgproc_Hist_Compare, accuracy) { CV_CompareHistTest test; test.safe_run(); }
TEST(Imgproc_Hist_Threshold, accuracy) { CV_ThreshHistTest test; test.safe_run(); }
TEST(Imgproc_Hist_Normalize, accuracy) { CV_NormHistTest test; test.safe_run(); }
Reported by Cppcheck.
modules/imgproc/test/test_houghcircles.cpp
1 issues
Line: 156
}
};
TEST_P(HoughCirclesTestFixture, regression)
{
run_test<Vec3f>("HoughCircles.xml");
}
TEST_P(HoughCirclesTestFixture, regression4f)
Reported by Cppcheck.
modules/imgproc/test/test_houghlines.cpp
1 issues
Line: 277
EXPECT_EQ((int)(line_polar_i.at(0).val[2] * 100000.0f), (int)(Theta * 100000.0f));
}
TEST_P(StandartHoughLinesTest, regression)
{
run_test<Mat, Vec2f>(STANDART, "HoughLines.xml");
}
TEST_P(ProbabilisticHoughLinesTest, regression)
Reported by Cppcheck.
modules/imgproc/test/test_imgproc_umat.cpp
1 issues
Line: 82
}
};
TEST(Imgproc_UMat, regression) { CV_ImgprocUMatTest test; test.safe_run(); }
}} // namespace
Reported by Cppcheck.
modules/imgproc/test/test_imgwarp.cpp
1 issues
Line: 1145
///////////////////////////////////////////////////////////////////////////
TEST(Imgproc_cvWarpAffine, regression)
{
IplImage* src = cvCreateImage(cvSize(100, 100), IPL_DEPTH_8U, 1);
IplImage* dst = cvCreateImage(cvSize(100, 100), IPL_DEPTH_8U, 1);
cvZero(src);
Reported by Cppcheck.
modules/imgproc/test/test_imgwarp_strict.cpp
1 issues
Line: 1295
// Tests
////////////////////////////////////////////////////////////////////////////////////////////////////////
TEST(Imgproc_Resize_Test, accuracy) { CV_Resize_Test test; test.safe_run(); }
TEST(Imgproc_Remap_Test, accuracy) { CV_Remap_Test test; test.safe_run(); }
TEST(Imgproc_WarpAffine_Test, accuracy) { CV_WarpAffine_Test test; test.safe_run(); }
TEST(Imgproc_WarpPerspective_Test, accuracy) { CV_WarpPerspective_Test test; test.safe_run(); }
////////////////////////////////////////////////////////////////////////////////////////////////////////
Reported by Cppcheck.