MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::DenoiseViaNormalsSettings Struct Reference

#include <MRNormalDenoising.h>

Public Attributes

bool fastIndicatorComputation = true
 use approximated computation, which is much faster than precise solution
 
float beta = 0.01f
 0.001 - sharp edges, 0.01 - moderate edges, 0.1 - smooth edges
 
float gamma = 5.f
 the amount of smoothing: 0 - no smoothing, 1 - average smoothing, ...
 
int normalIters = 10
 the number of iterations to smooth normals and find creases; the more the better quality, but longer computation
 
int pointIters = 20
 the number of iterations to update vertex coordinates from found normals; the more the better quality, but longer computation
 
float guideWeight = 1
 how much resulting points must be attracted to initial points (e.g. to avoid general shrinkage), must be > 0
 
bool limitNearInitial = false
 if true then maximal displacement of each point during denoising will be limited
 
float maxInitialDist = 0
 maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false
 
UndirectedEdgeBitSet * outCreases = nullptr
 optionally returns creases found during smoothing
 
ProgressCallback cb = {}
 to get the progress and optionally cancel
 

The documentation for this struct was generated from the following file: