MCPcopy Create free account
hub / github.com/Profactor/cv-plot / bigLenna

Function bigLenna

CvPlot/examples/examples_core.cpp:19–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19cv::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
28std::string testCaseName() {
29 return Catch::getResultCapture().getCurrentTestName();

Callers 1

examples_core.cppFile · 0.85

Calls 2

sizeMethod · 0.80
lennaFunction · 0.70

Tested by

no test coverage detected