You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cac3533
Browse filesBrowse the repository at this point in the historyBrowse files
* Improve the syntax of ScalarFieldTools::computeCellGaussianFilter
* Syntax fix
* Restore the definition of DgmOctree::MultiThreadingWrapper in the header to avoid issues when linking CCCoreLib statically on Windows
Copy file name to clipboardExpand all lines: include/ScalarFieldTools.h
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -71,16 +71,15 @@ namespace CCCoreLib
71
71
DgmOctree* theOctree = nullptr);
72
72
73
73
//! Computes a spatial gaussian filter on a scalar field associated to a point cloud
74
-
/** The "amplitutde" of the gaussian filter must be precised (sigma).
75
-
As 99% of the gaussian distribution is between -3*sigma and +3*sigma
76
-
around the mean value, this filter will only look for neighbouring
77
-
points (around each point) in a sphere of radius 3*sigma.
78
-
It also permits to use the filter as a bilateral filter. Where the wights are computed also considering the
79
-
distance of the neighbor's scalar value from the current point scalar value. (weighted with gaussian as distances are)
80
-
Warning: this method assumes the input scalar field is different from output.
74
+
/** The "amplitutde" of the Gaussian filter must be specified (sigma).
75
+
As 99% of the Gaussian distribution is between -3*sigma and +3*sigma around the mean value,
76
+
this filter will only look for neighbors within a sphere of radius 3*sigma.
77
+
One can also use the filter as a Bilateral filter. In this case the weights are computed considering the
78
+
difference of the neighbors SF values with the current point SF value (also following a Gaussian distribution).
79
+
Warning: this method assumes the input scalar field is different from the output one.
81
80
\param sigma filter variance
82
81
\param theCloud a point cloud (associated to scalar values)
83
-
\param sigmaSF the sigma for the bilateral filter. when different than -1 turns the gaussian filter into a bilateral filter
82
+
\param sigmaSF if strictly positive, the variance for the Bilateral filter
84
83
\param progressCb the client application can get some notification of the process progress through this callback mechanism (see GenericProgressCallback)
85
84
\param theOctree the octree, if it has already been computed
0 commit comments