From fd576d9e8efbea8bae7e3a81108cb3cdef54d5b6 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Thu, 28 Mar 2024 12:02:58 +0300 Subject: [PATCH] Added PNG instance of image for fisheye::undistort test as JPG is decoded differently with different libjpeg versions. --- modules/calib3d/test/test_fisheye.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/calib3d/test/test_fisheye.cpp b/modules/calib3d/test/test_fisheye.cpp index 2479dac8a8..36b7d0d653 100644 --- a/modules/calib3d/test/test_fisheye.cpp +++ b/modules/calib3d/test/test_fisheye.cpp @@ -185,7 +185,7 @@ TEST_F(fisheyeTest, undistortImage) cv::Matx33d theK = this->K; cv::Mat theD = cv::Mat(this->D); - std::string file = combine(datasets_repository_path, "/calib-3_stereo_from_JY/left/stereo_pair_014.jpg"); + std::string file = combine(datasets_repository_path, "stereo_pair_014.png"); cv::Matx33d newK = theK; cv::Mat distorted = cv::imread(file), undistorted; {