OpenCV C++常用功能介绍

显示图片

IplImage* img = cvLoadImage("~/temp.jpeg", 1);
//create a window to display the image
cvNamedWindow("picture", 1);
//show the image in the window
cvShowImage("picture", img);
//wait for the user to hit a key
cvWaitKey(0);
//delete the image and window
cvReleaseImage(&img);
cvDestroyWindow("picture");

  

上一篇:How to move ASM database files from one diskgroup to another ? (Doc ID 330103.1)


下一篇:php imagick将PNG转换为jpg