MRPT  1.9.9
Functions
ba_common.cpp File Reference
#include "vision-lgpl-precomp.h"
#include <mrpt/math/robust_kernels.h>
#include <mrpt/poses/Lie/SE.h>
#include <mrpt/vision/bundle_adjustment.h>
#include <mrpt/vision/pinhole.h>
#include "ba_internals.h"
Include dependency graph for ba_common.cpp:

Go to the source code of this file.

Functions

template<bool POSES_INVERSE>
void reprojectionResidualsElement (const TCamera &camera_params, const TFeatureObservation &OBS, std::array< double, 2 > &out_residual, const TFramePosesVec::value_type &frame, const TLandmarkLocationsVec::value_type &point, double &sum, const bool use_robust_kernel, const double kernel_param, double *out_kernel_1st_deriv)
 

Function Documentation

◆ reprojectionResidualsElement()

template<bool POSES_INVERSE>
void reprojectionResidualsElement ( const TCamera camera_params,
const TFeatureObservation OBS,
std::array< double, 2 > &  out_residual,
const TFramePosesVec::value_type &  frame,
const TLandmarkLocationsVec::value_type &  point,
double &  sum,
const bool  use_robust_kernel,
const double  kernel_param,
double *  out_kernel_1st_deriv 
)
inline

Definition at line 116 of file ba_common.cpp.

References mrpt::vision::TFeatureObservation::px, mrpt::square(), mrpt::math::sum(), mrpt::img::TPixelCoordf::x, and mrpt::img::TPixelCoordf::y.

Here is the call graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: b2c5333a7 Sat Mar 28 09:52:26 2020 +0100 at sáb mar 28 10:00:10 CET 2020