摘要:
1 int64 st1,et1;2 st1 = cvGetTickCount();3 const char* imagename = "lenaBG.jpg";4 //从文件中读入图像5 Mat img = imread(imagename);6 et1 = cvGetTickCount();8 printf("cost: %f milliseconds\n\n", (et1-st1)/(double)cvGetTickFrequency()/1000.0); 阅读全文