tags:

views:

501

answers:

4

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!

A: 

It may be problem of - Writable permission on the destination folder.

Please explain more about your platform to get better answers

Ish Kumar
A: 

Thank Ish Kumar

I'm very very disappointed with this problem .

I can't resolve it !

Your suggest may be finally clue!

It is my flatform :

Processor : pentium M OS : window xp sp 3 OpenCV version : 1.0 Complier : Visual C++ 2005 Express Edition

Thanks!

+2  A: 

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).

Gab Royer
A: 

even i m finding de same problem.........don no how to solve it

bablu