#include <opencv2/opencv.hpp>
#include <iostream>
#include <windows.h>
using namespace std;
using namespace cv;
int main()
{
Mat src = imread("E:/test.tif", cv::IMREAD_LOAD_GDAL | cv::IMREAD_ANYDEPTH);
if (src.empty())
{
cout << "failed" << endl;
return -1;
}
imshow("1", src);
waitKey(0);
return 0;
}