MRPT  2.0.2
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 2.0.2 Git: 9b4fd2465 Mon May 4 16:59:08 2020 +0200 at lun may 4 17:26:07 CEST 2020