1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Fixed uniniitialized mats in tests, added operator<< for compare_f

This commit is contained in:
Ruslan Garnov
2018-11-02 15:42:25 +03:00
parent 11eafca3e2
commit 858ba6c798
5 changed files with 13 additions and 2 deletions
@@ -193,6 +193,7 @@ TEST(GComputationCompile, ReshapeRois)
cv::GComputation cc(in, cv::gapi::resize(blurred, szOut));
cv::Mat first_in_mat(8, 8, CV_8UC3);
cv::randn(first_in_mat, cv::Scalar::all(127), cv::Scalar::all(40.f));
cv::Mat first_out_mat;
auto fluidKernels = cv::gapi::combine(gapi::imgproc::fluid::kernels(),
gapi::core::fluid::kernels(),
@@ -206,6 +207,7 @@ TEST(GComputationCompile, ReshapeRois)
int width = 4 + 2*i;
int height = width;
cv::Mat in_mat(width, height, CV_8UC3);
cv::randn(in_mat, cv::Scalar::all(127), cv::Scalar::all(40.f));
cv::Mat out_mat = cv::Mat::zeros(szOut, CV_8UC3);
int x = 0;