Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Unable to Read Tiff Images

$
0
0
Hello, here I am adding my basic code. I want to give the path of the Image like that, but I cannot read the TIFF images. I am using C++. Here is the code: #include "opencv2\imgproc\imgproc.hpp" #include "opencv2\highgui\highgui.hpp" #include #include using namespace cv; using namespace std; int main( int argc, char** argv ) { Mat src, src_gray, dst; src = imread("D:\\Documents\\My\\Photos\\Project\\XXX.tiff"); if( !src.data ) { return -1; } GaussianBlur( src,src, Size(3,3), 0, 0, BORDER_DEFAULT); imshow( window_name, src ); waitKey(0); return 0; } Thank you for your help.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>