MeshLib C++ Docs
Loading...
Searching...
No Matches
MRDenoiseViaNormalsSettings Struct Reference

#include <MRNormalDenoising.h>

Public Attributes

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

Member Data Documentation

◆ beta

float MRDenoiseViaNormalsSettings::beta

0.001 - sharp edges, 0.01 - moderate edges, 0.1 - smooth edges

◆ cb

MRProgressCallback MRDenoiseViaNormalsSettings::cb

to get the progress and optionally cancel

◆ fastIndicatorComputation

bool MRDenoiseViaNormalsSettings::fastIndicatorComputation

use approximated computation, which is much faster than precise solution

◆ gamma

float MRDenoiseViaNormalsSettings::gamma

the amount of smoothing: 0 - no smoothing, 1 - average smoothing, ...

◆ guideWeight

float MRDenoiseViaNormalsSettings::guideWeight

how much resulting points must be attracted to initial points (e.g. to avoid general shrinkage), must be > 0

◆ limitNearInitial

bool MRDenoiseViaNormalsSettings::limitNearInitial

if true then maximal displacement of each point during denoising will be limited

◆ maxInitialDist

float MRDenoiseViaNormalsSettings::maxInitialDist

maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false

◆ normalIters

int MRDenoiseViaNormalsSettings::normalIters

the number of iterations to smooth normals and find creases; the more the better quality, but longer computation

◆ outCreases

MRUndirectedEdgeBitSet* MRDenoiseViaNormalsSettings::outCreases

optionally returns creases found during smoothing

◆ pointIters

int MRDenoiseViaNormalsSettings::pointIters

the number of iterations to update vertex coordinates from found normals; the more the better quality, but longer computation


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