I have the image file on hard disk.
I use "cvLoadImage" to load it and display it on OpenCV's Window. Although this file exists, but, I get a blank window. I can't resolve this problem. Help me ,please !
Thank you!
I have the image file on hard disk.
I use "cvLoadImage" to load it and display it on OpenCV's Window. Although this file exists, but, I get a blank window. I can't resolve this problem. Help me ,please !
Thank you!
It may be problem of - Writable permission on the destination folder.
Please explain more about your platform to get better answers
Here is the code that does you want to do :
IplImage * image = cvLoadImage("yourpath", CV_LOAD_IMAGE_COLOR);
cvNamedWindow("Window name");
cvShowImage("Window name", image);
cvWaitKey(); //To wait until you pressed a key
cvReleaseImage(&image);
Tell me what error message do you get (if any).