基本操作代码
View Code
1 IplImage* img = cvLoadImage( argv[1] ); 2 cvNamedWindow("Example1", CV_WINDOW_AUTOSIZE ); 3 cvShowImage("Example1", img ); 4 cvWaitKey(0); 5 cvReleaseImage( &img ); 6 cvDestroyWindow("Example1");
View Code
1 #pragma comment(lib, "opencv_highgui244d.lib") 2 #pragma comment(lib, "opencv_core244d.lib") 3 #pragma comment(lib, "opencv_ml244d.lib") 4 #pragma comment(lib, "opencv_calib3d244d.lib")

浙公网安备 33010602011771号