转自:OpenCV如何扫描图像.利用查找表和计时 测试代码:opencv\samples\cpp\tutorial_code\core\how_to_scan_images 测试函数耗时 cv::getTickCount() the number of clock cycle cv::getTickFrequency() the number of cycles per seconds double t = (double)getTickCount(); // 做点什么 ... t = ((do…