Merge pull request #25282 from asmorkalov:as/deterministic_undistort_test

Added PNG instance of image for fisheye::undistort test
This commit is contained in:
Alexander Smorkalov 2024-03-28 13:29:27 +03:00 committed by GitHub
commit 1894426116
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -185,7 +185,7 @@ TEST_F(fisheyeTest, undistortImage)
cv::Matx33d theK = this->K; cv::Matx33d theK = this->K;
cv::Mat theD = cv::Mat(this->D); 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::Matx33d newK = theK;
cv::Mat distorted = cv::imread(file), undistorted; cv::Mat distorted = cv::imread(file), undistorted;
{ {