摘要:
环境:OpenCV 2.4.4 VS2010第一个Demo,显示一张图片#include "opencv2/highgui/highgui.hpp" int main( int argc, char** argv ){ IplImage *img = cvLoadImage("test2.jpg"); cvNamedWindow("Example1",CV_WINDOW_AUTOSIZE); cvShowImage("Example",img); cvWaitKey(0); cvReleaseImage(& 阅读全文