| 17 | } |
| 18 | |
| 19 | cv::Mat bigLenna(int rows, int cols) { |
| 20 | cv::Mat mat; |
| 21 | cv::resize(lenna(), mat, cv::Size(cols, rows)); |
| 22 | cv::Mat3b noise(mat.size()); |
| 23 | cv::randu(noise, 0, 40); |
| 24 | mat = mat - 20 + noise; |
| 25 | return mat; |
| 26 | } |
| 27 | |
| 28 | std::string testCaseName() { |
| 29 | return Catch::getResultCapture().getCurrentTestName(); |
no test coverage detected