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.