#include <opencv2/opencv.hpp>
#include <iostream>
using namespace cv;
using namespace std;
int main()
{
Mat src = imread("D:\images\1.jpg");
if (src.empty())
{
cout <<"could not load image.." << endl;
return -1;
}
namedWindow("window1",CV_WINDOW_AUTOSIZE);
imshow("window1",src);
//system("pause");
waitKey(0);
return 0;
}