Public class to hold parameters. Used to avoid endless list of parameters inside functions. More...
#include <overlap_estimation.h>
Public Member Functions | |
Parameters () | |
Public Attributes | |
int | bestScore |
Score to overcome to paint mMov . If overlap estimation is called many times inside a loop, you can set this value in each iteration to paint mMov and see only the best overlap achived. | |
float | consensusDist |
Consensus distance. Lower values should gat more accurancy; high values can lead to performance hit. | |
float | consensusNormalsAngle |
Holds the the consensus angle for normals, in gradients. Lower values decrease accurancy, particulary for range maps with many peaks and high frequencies. | |
void(* | log )(int level, const char *f,...) |
Pointer to a log function. | |
bool | normalEqualization |
Allows to use normal equalization sampling in consensus. If set to false uniform sampling is used instead. Uniform sampling is faster but less accurate. | |
bool | paint |
Allows painting of mMov according to consensus. See Paint() for details. | |
int | samples |
Number of samples to check to compute the overlap. Higher values get more accurancy but requires more time. | |
float | threshold |
Consensus percentage requested to win consensus. Used to paint mMov . If the overlap overcames the threshold (and bestScore ), mMov is painted. |
Public class to hold parameters. Used to avoid endless list of parameters inside functions.
Definition at line 84 of file overlap_estimation.h.
OverlapEstimation< MESH_TYPE >::Parameters::Parameters | ( | ) | [inline] |
Constructor with default values.
Definition at line 97 of file overlap_estimation.h.
int OverlapEstimation< MESH_TYPE >::Parameters::bestScore |
Score to overcome to paint mMov
. If overlap estimation is called many times inside a loop, you can set this value in each iteration to paint mMov
and see only the best overlap achived.
Definition at line 88 of file overlap_estimation.h.
float OverlapEstimation< MESH_TYPE >::Parameters::consensusDist |
Consensus distance. Lower values should gat more accurancy; high values can lead to performance hit.
Definition at line 89 of file overlap_estimation.h.
float OverlapEstimation< MESH_TYPE >::Parameters::consensusNormalsAngle |
Holds the the consensus angle for normals, in gradients. Lower values decrease accurancy, particulary for range maps with many peaks and high frequencies.
Definition at line 90 of file overlap_estimation.h.
void(* OverlapEstimation< MESH_TYPE >::Parameters::log)(int level, const char *f,...) |
Pointer to a log function.
Definition at line 94 of file overlap_estimation.h.
bool OverlapEstimation< MESH_TYPE >::Parameters::normalEqualization |
Allows to use normal equalization sampling in consensus. If set to false
uniform sampling is used instead. Uniform sampling is faster but less accurate.
Definition at line 92 of file overlap_estimation.h.
bool OverlapEstimation< MESH_TYPE >::Parameters::paint |
Allows painting of mMov
according to consensus. See Paint() for details.
Definition at line 93 of file overlap_estimation.h.
int OverlapEstimation< MESH_TYPE >::Parameters::samples |
Number of samples to check to compute the overlap. Higher values get more accurancy but requires more time.
Definition at line 87 of file overlap_estimation.h.
float OverlapEstimation< MESH_TYPE >::Parameters::threshold |
Consensus percentage requested to win consensus. Used to paint mMov
. If the overlap overcames the threshold
(and bestScore
), mMov
is painted.
Definition at line 91 of file overlap_estimation.h.