diff --git a/Point_set_processing_3/examples/Point_set_processing_3/bilateral_smooth_point_set_example.cpp b/Point_set_processing_3/examples/Point_set_processing_3/bilateral_smooth_point_set_example.cpp index a6cbff3a652..6b9da1572d3 100644 --- a/Point_set_processing_3/examples/Point_set_processing_3/bilateral_smooth_point_set_example.cpp +++ b/Point_set_processing_3/examples/Point_set_processing_3/bilateral_smooth_point_set_example.cpp @@ -25,7 +25,7 @@ typedef std::pair PointVectorPair; int main(void) { - const std::string INPUT_FILENAME_WITHOUT_EXT = "data/qtr_piston_noise_with_normal"; + const std::string INPUT_FILENAME_WITHOUT_EXT = "data/fin90_with_PCA_normals"; // Reads a .xyz point set file in points[]. std::vector points; @@ -41,11 +41,11 @@ int main(void) return EXIT_FAILURE; } - //Algorithm parameters - int k = 120; //neighborhood size + // Algorithm parameters + int k = 120; // neighborhood size double sharpness_sigma = 25; // control sharpness(0-90), // the bigger, the result will be smoother. - int iter_number = 3; //times of projection + int iter_number = 3; // times of projection CGAL::Timer task_timer; task_timer.start(); @@ -75,7 +75,7 @@ int main(void) //// Save point set. - std::ofstream out(INPUT_FILENAME_WITHOUT_EXT + "_jet DENOISED.xyz"); + std::ofstream out(INPUT_FILENAME_WITHOUT_EXT + "_bilateral DENOISED.xyz"); if (!out || !CGAL::write_xyz_points_and_normals( out, points.begin(), points.end(), diff --git a/Point_set_processing_3/include/CGAL/bilateral_smooth_point_set.h b/Point_set_processing_3/include/CGAL/bilateral_smooth_point_set.h index 1f8c41118ca..256421a72a2 100644 --- a/Point_set_processing_3/include/CGAL/bilateral_smooth_point_set.h +++ b/Point_set_processing_3/include/CGAL/bilateral_smooth_point_set.h @@ -43,11 +43,10 @@ #include "tbb/parallel_for.h" #include "tbb/blocked_range.h" -//#include "tbb/task_scheduler_init.h" #include "tbb/scalable_allocator.h" -//#include "tbb/tbbmalloc_proxy.h" -#define CGAL_DEBUG_MODE + +//#define CGAL_DEBUG_MODE //on-off cout namespace CGAL {