MRPT  2.0.1
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.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020