摘要:
代码如下: 1 /*a simple OpenCV program tha loads an image from disk and display it on 2 the screen 3 */ 4 #include 5 6 int main(int argc, char* argv[]) 7 { 8 /*load image*/ 9 IplImage* img = cvLoadImage(argv[1]);10 /*create a window named DisplayImage*/11 cvNamedWindow("DisplayImage",... 阅读全文