Free function that generates a CGAL::Image_3
of weights associated to each voxel of image
, to make the output mesh surfaces smoother.
The weights image is generated using the algorithm described by Stalling et al in [17]. The Insight toolkit is needed to compile this function.
 Parameters

image  the input labeled image from which the weights image is computed. Both will then be used to construct a Labeled_mesh_domain_3 . 
sigma  the standard deviation parameter of the internal Gaussian filter 
 Returns
 a
CGAL::Image_3
of weights used to build a quality Labeled_mesh_domain_3
, with the same dimensions as image
 Examples:
 Mesh_3/mesh_3D_weighted_image.cpp.