The following issues were found
modules/imgproc/test/ocl/test_blend.cpp
1 issues
Line: 110
}
};
OCL_TEST_P(BlendLinear, Accuracy)
{
for (int i = 0; i < test_loop_times; ++i)
{
random_roi();
Reported by Cppcheck.
modules/imgproc/test/ocl/test_boxfilter.cpp
1 issues
Line: 103
typedef BoxFilterBase BoxFilter;
OCL_TEST_P(BoxFilter, Mat)
{
for (int j = 0; j < test_loop_times; j++)
{
random_roi();
Reported by Cppcheck.
modules/imgproc/test/ocl/test_canny.cpp
1 issues
Line: 97
}
};
OCL_TEST_P(Canny, Accuracy)
{
generateTestData();
const double low_thresh = 50.0, high_thresh = 100.0;
double eps = 0.03;
Reported by Cppcheck.
modules/imgproc/test/ocl/test_color.cpp
1 issues
Line: 133
// RGB[A] <-> BGR[A]
OCL_TEST_P(CvtColor, BGR2BGRA) { performTest(3, 4, CVTCODE(BGR2BGRA)); }
OCL_TEST_P(CvtColor, RGB2RGBA) { performTest(3, 4, CVTCODE(RGB2RGBA)); }
OCL_TEST_P(CvtColor, BGRA2BGR) { performTest(4, 3, CVTCODE(BGRA2BGR)); }
OCL_TEST_P(CvtColor, RGBA2RGB) { performTest(4, 3, CVTCODE(RGBA2RGB)); }
OCL_TEST_P(CvtColor, BGR2RGBA) { performTest(3, 4, CVTCODE(BGR2RGBA)); }
OCL_TEST_P(CvtColor, RGB2BGRA) { performTest(3, 4, CVTCODE(RGB2BGRA)); }
Reported by Cppcheck.
modules/imgproc/test/ocl/test_filter2d.cpp
1 issues
Line: 111
}
};
OCL_TEST_P(Filter2D, Mat)
{
for (int j = 0; j < test_loop_times; j++)
{
random_roi();
Reported by Cppcheck.
modules/imgproc/test/ocl/test_filters.cpp
1 issues
Line: 132
typedef FilterTestBase Bilateral;
OCL_TEST_P(Bilateral, Mat)
{
for (int j = 0; j < test_loop_times; j++)
{
random_roi();
Reported by Cppcheck.
modules/imgproc/test/ocl/test_gftt.cpp
1 issues
Line: 96
const int GoodFeaturesToTrack::maxCorners = 1000;
const double GoodFeaturesToTrack::qualityLevel = 0.01;
OCL_TEST_P(GoodFeaturesToTrack, Accuracy)
{
for (int j = 0; j < test_loop_times; ++j)
{
generateTestData();
Reported by Cppcheck.
modules/imgproc/test/ocl/test_histogram.cpp
1 issues
Line: 198
//////////////////////////////// CalcBackProject //////////////////////////////////////////////
OCL_TEST_P(CalcBackProject, Mat)
{
for (int j = 0; j < test_loop_times; j++)
{
random_roi();
Reported by Cppcheck.
modules/imgproc/test/ocl/test_houghlines.cpp
1 issues
Line: 27
/////////////////////////////// HoughLines ////////////////////////////////////
PARAM_TEST_CASE(HoughLines, double, double, int)
{
double rhoStep, thetaStep;
int threshold;
Size src_size;
Reported by Cppcheck.
modules/imgproc/test/ocl/test_imgproc.cpp
1 issues
Line: 107
//////////////////////////////// copyMakeBorder ////////////////////////////////////////////
PARAM_TEST_CASE(CopyMakeBorder, MatDepth, // depth
Channels, // channels
bool, // isolated or not
BorderType, // border type
bool) // roi or not
{
Reported by Cppcheck.