From a0bf04f6542ba12135e2b2a2337d3e49b44e162d Mon Sep 17 00:00:00 2001 From: iyaz Date: Thu, 8 Aug 2013 17:14:57 +0300 Subject: [PATCH] remove one-ring (just leave edge-adjacent) both in ref and user manual --- .../doc/Surface_mesh_segmentation/Surface_Mesh_Segmentation.txt | 2 +- Surface_mesh_segmentation/include/CGAL/mesh_segmentation.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Surface_mesh_segmentation/doc/Surface_mesh_segmentation/Surface_Mesh_Segmentation.txt b/Surface_mesh_segmentation/doc/Surface_mesh_segmentation/Surface_Mesh_Segmentation.txt index f1826c4e611..0ef580b313d 100644 --- a/Surface_mesh_segmentation/doc/Surface_mesh_segmentation/Surface_Mesh_Segmentation.txt +++ b/Surface_mesh_segmentation/doc/Surface_mesh_segmentation/Surface_Mesh_Segmentation.txt @@ -59,7 +59,7 @@ SDF values at this point can be considered as raw results, and are accessible th \subsubsection Surface_mesh_segmentationPostprocessing Postprocessing on Raw SDF Values After having calculated the raw SDF value for each facet, several post-processing steps are applied. -First, facets with no SDF values are assigned the average SDF value of their one-ring edge-adjacent neighbors. If there is still a facet having no SDF value, +First, facets with no SDF values are assigned the average SDF value of their edge-adjacent neighbors. If there is still a facet having no SDF value, the minimum valid SDF value assigned to it. Note that this step is not inherited from the paper. The main reason for not assigning 0 to facets with no SDF values is that it can obstruct log-normalization process which takes place at the beginning of `segment_from_sdf_values()`. diff --git a/Surface_mesh_segmentation/include/CGAL/mesh_segmentation.h b/Surface_mesh_segmentation/include/CGAL/mesh_segmentation.h index 1460be0c963..580a42ad61b 100644 --- a/Surface_mesh_segmentation/include/CGAL/mesh_segmentation.h +++ b/Surface_mesh_segmentation/include/CGAL/mesh_segmentation.h @@ -78,7 +78,7 @@ compute_sdf_values(const Polyhedron& polyhedron, * @brief Function post-processing raw SDF values computed per facet. * * Post-processing steps applied are: - * - Facets with -1.0 SDF values are assigned the average SDF value of their one-ring edge-adjacent neighbors. + * - Facets with -1.0 SDF values are assigned the average SDF value of their edge-adjacent neighbors. * If there is still a facet having -1.0 SDF value, the minimum valid SDF value assigned to it. Note that this step is not inherited from the paper. * The main reason for not assigning 0 to facets with no SDF values (i.e. -1.0) is that it can obstruct log-normalization process which takes place at the beginning of `CGAL::segment_from_sdf_values`. * - SDF values are smoothed with bilateral filtering.