mirror of https://github.com/CGAL/cgal
Classification: Write to different files
This commit is contained in:
parent
e4097e8fd9
commit
aba4ee0347
|
|
@ -140,7 +140,7 @@ int main (int argc, char** argv)
|
||||||
classifier.save_configuration(fconfig);
|
classifier.save_configuration(fconfig);
|
||||||
|
|
||||||
// Write result
|
// Write result
|
||||||
std::ofstream f ("classification.ply");
|
std::ofstream f ("classification_ethz_random_forest.ply");
|
||||||
f.precision(18);
|
f.precision(18);
|
||||||
f << pts;
|
f << pts;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -128,7 +128,7 @@ int main (int argc, char** argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write result
|
// Write result
|
||||||
std::ofstream f ("classification.ply");
|
std::ofstream f ("classification_opencv_random_forest.ply");
|
||||||
f.precision(18);
|
f.precision(18);
|
||||||
f << pts;
|
f << pts;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -736,7 +736,7 @@ int main (int argc, char** argv)
|
||||||
points.range(label_map)).mean_intersection_over_union() << std::endl;
|
points.range(label_map)).mean_intersection_over_union() << std::endl;
|
||||||
|
|
||||||
// Save the classified point set
|
// Save the classified point set
|
||||||
std::ofstream classified_ofile ("classified.ply");
|
std::ofstream classified_ofile ("classified_gis_tutorial.ply");
|
||||||
CGAL::IO::set_binary_mode (classified_ofile);
|
CGAL::IO::set_binary_mode (classified_ofile);
|
||||||
classified_ofile << points;
|
classified_ofile << points;
|
||||||
classified_ofile.close();
|
classified_ofile.close();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue