#include <iostream> #include <highgui.h> using namespace std; int main( int argc, char** argv ) { IplImage* img = cvLoadImage( argv[1] ); cout<< argv[1]; const char* name = "window1"; cvNamedWindow(name, 0 ); cvShowImage( name, img ); cvWaitKey(0); cvReleaseImage( &img ); cvDestroyWindow( name); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)