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