mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Added PNG instance of image for fisheye::undistort test as JPG is decoded differently with different libjpeg versions.
This commit is contained in:
parent
ff9aeaceb0
commit
fd576d9e8e
@ -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;
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user