基本操作代码
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
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");
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
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")