// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #include "perf_precomp.hpp" namespace opencv_test { namespace { typedef tuple RadonTransformPerfTestParam; typedef perf::TestBaseWithParam RadonTransformPerfTest; PERF_TEST_P(RadonTransformPerfTest, perf, testing::Combine( testing::Values(TYPICAL_MAT_SIZES), testing::Values(CV_8UC1, CV_32FC1, CV_64FC1) ) ) { Size srcSize = get<0>(GetParam()); int srcType = get<1>(GetParam()); Mat src(srcSize, srcType); Mat radon; declare.in(src, WARMUP_RNG); TEST_CYCLE() { RadonTransform(src, radon); } SANITY_CHECK_NOTHING(); } } }