Changed all remaining IplImage to cv::Mat

This commit is contained in:
matlabbe
2015-07-07 11:49:41 -04:00
parent decbba9f16
commit 28c9ada06e
2 changed files with 20 additions and 39 deletions
+1 -2
View File
@@ -474,8 +474,7 @@ int main(int argc, char * argv[])
// Generate the ground truth file
printf("Generate ground truth to file %s, size of %d\n", GENERATED_GT_NAME, groundTruthMat.rows);
IplImage img = groundTruthMat;
cvSaveImage(GENERATED_GT_NAME, &img);
cv::imwrite(GENERATED_GT_NAME, groundTruthMat);
printf(" Creating ground truth file = %fs\n", timer.ticks());
}