31 HESSIAN, IMPLICIT_SCHUR, JACOBIAN_Q, JACOBIAN_SVD
36 IGNORE_DEGENERACY, ZERO_ON_DEGENERACY, HANDLE_INFINITY
71 void print(
const std::string& str =
"")
const {
74 std::cout << triangulation << std::endl;
84 TriangulationParameters getTriangulationParameters()
const {
87 bool getVerboseCheirality()
const {
90 bool getThrowCheirality()
const {
93 double getRetriangulationThreshold()
const {
103 void setRetriangulationThreshold(
double retriangulationTh) {
106 void setRankTolerance(
double rankTol) {
109 void setEnableEPI(
bool enableEPI) {
112 void setLandmarkDistanceThreshold(
double landmarkDistanceThreshold) {
115 void setDynamicOutlierRejectionThreshold(
double dynOutRejectionThreshold) {
123 template<
class ARCHIVE>
124 void serialize(ARCHIVE & ar,
const unsigned int version) {
127 ar & BOOST_SERIALIZATION_NVP(triangulation);
Functions for triangulation.
DegeneracyMode
How to manage degeneracy.
Definition: SmartFactorParams.h:35
LinearizationMode linearizationMode
How to linearize the factor.
Definition: SmartFactorParams.h:44
DegeneracyMode degeneracyMode
How to linearize the factor.
Definition: SmartFactorParams.h:45
double dynamicOutlierRejectionThreshold
If this is nonnegative the we will check if the average reprojection error is smaller than this thres...
Definition: triangulation.h:343
bool verboseCheirality
If true, prints text for Cheirality exceptions (default: false)
Definition: SmartFactorParams.h:56
double landmarkDistanceThreshold
if the landmark is triangulated at distance larger than this, result is flagged as degenerate.
Definition: triangulation.h:336
double retriangulationThreshold
threshold to decide whether to re-triangulate
Definition: SmartFactorParams.h:50
Definition: triangulation.h:326
bool enableEPI
if set to true, will refine triangulation using LM
Definition: triangulation.h:330
LinearizationMode
SmartFactorParams: parameters and (linearization/degeneracy) modes for SmartProjection and SmartStere...
Definition: SmartFactorParams.h:30
Definition: SmartFactorParams.h:42
Global functions in a separate testing namespace.
Definition: chartTesting.h:28
bool throwCheirality
If true, re-throws Cheirality exceptions (default: false)
Definition: SmartFactorParams.h:55
double rankTolerance
threshold to decide whether triangulation is result.degenerate
Definition: triangulation.h:328
friend class boost::serialization::access
Serialization function.
Definition: SmartFactorParams.h:122