Main MRPT website > C++ reference for MRPT 1.9.9
Functions
ba_common.cpp File Reference
#include "vision-precomp.h"
#include <mrpt/vision/bundle_adjustment.h>
#include <mrpt/vision/pinhole.h>
#include <mrpt/math/robust_kernels.h>
#include "ba_internals.h"

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 103 of file ba_common.cpp.

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

Here is the call graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019