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 <fstream>
include <iostream>
using namespace cv; using namespace std;
int main( int argc, char** argv ) {
// Variables Mat src, src_gray, dst;// Image Acquisition src = imread( "D:\Documents\My\Photos\Project\XXX.tiff"); if( !src.data ) { return -1; }
/// Remove noise by blurring with a Gaussian filter GaussianBlur( src, src, Size(3,3), 0, 0, BORDER_DEFAULT );
imshow( window_name, abs_dst );
waitKey(0); return 0; }
Thank you for your help.