mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
Changed all remaining IplImage to cv::Mat
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user