1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +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
@@ -1678,6 +1678,7 @@ PERF_TEST_P_(LUTPerfTest, TestPerformance)
initMatrixRandU(type_mat, sz_in, type_out);
cv::Size sz_lut = cv::Size(1, 256);
cv::Mat in_lut(sz_lut, type_lut);
cv::randu(in_lut, cv::Scalar::all(0), cv::Scalar::all(255));
// OpenCV code ///////////////////////////////////////////////////////////
cv::LUT(in_mat1, in_lut, out_mat_ocv);