The blo Library
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
lm.h File Reference

Levenberg-Marquardt related functions. More...

#include "defs.h"

Namespaces

namespace  blo
 The blo library.
 

Enumerations

enum  blo::MinimalParameterization { blo::MinimalParameterizationFalse = 0 , blo::MinimalParameterizationTrue = 1 }
 

Functions

template<typename T >
void blo::estimateCameraProjectionMatrixLM (const HomgPoint< T, 3 > *pSrc3D, const Point< T, 2 > *pSrc2D, const SmallMatrix< T, 2, 2 > *pSrc2DCov, int count, const SmallMatrix< T, 3, 4 > &srcP, const T &tolerance1, const T &tolerance2, int maxEvals, SmallMatrix< T, 3, 4 > &dstP, SmallMatrix< T, 12, 12 > &dstSp, Array1D< T > *pIterationCosts=nullptr)
 Determines the Maximum Likelihood estimate of the camera projection matrix from an initial estimate of the matrix.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateCameraProjectionMatrixLM (const HomgPoint< double, 3 > *pSrc3D, const Point< double, 2 > *pSrc2D, const SmallMatrix< double, 2, 2 > *pSrc2DCov, int count, const SmallMatrix< double, 3, 4 > &srcP, const double &tolerance1, const double &tolerance2, int maxEvals, SmallMatrix< double, 3, 4 > &dstP, SmallMatrix< double, 12, 12 > &dstSp, Array1D< double > *pIterationCosts)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateCameraProjectionMatrixLM (const HomgPoint< float, 3 > *pSrc3D, const Point< float, 2 > *pSrc2D, const SmallMatrix< float, 2, 2 > *pSrc2DCov, int count, const SmallMatrix< float, 3, 4 > &srcP, const float &tolerance1, const float &tolerance2, int maxEvals, SmallMatrix< float, 3, 4 > &dstP, SmallMatrix< float, 12, 12 > &dstSp, Array1D< float > *pIterationCosts)
 
template<typename T >
void blo::estimateCameraPoseLM (const Point< T, 3 > *pSrc3D, const Point< T, 2 > *pSrc2D, const SmallMatrix< T, 2, 2 > *pSrc2DCov, int count, const AngleAxis3D< T > &src_omega, const SmallMatrix< T, 3, 1 > &src_t, const T &tolerance1, const T &tolerance2, int maxEvals, AngleAxis3D< T > &dst_omega, SmallMatrix< T, 3, 1 > &dst_t, SmallMatrix< T, 6, 6 > &dstSomega_t, Array1D< T > *pIterationCosts=nullptr)
 Determines the Maximum Likelihood estimate of the camera pose from an initial estimate of the pose.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateCameraPoseLM (const Point< double, 3 > *pSrc3D, const Point< double, 2 > *pSrc2D, const SmallMatrix< double, 2, 2 > *pSrc2DCov, int count, const AngleAxis3D< double > &src_omega, const SmallMatrix< double, 3, 1 > &src_t, const double &tolerance1, const double &tolerance2, int maxEvals, AngleAxis3D< double > &dst_omega, SmallMatrix< double, 3, 1 > &dst_t, SmallMatrix< double, 6, 6 > &dstSomega_t, Array1D< double > *pIterationCosts)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateCameraPoseLM (const Point< float, 3 > *pSrc3D, const Point< float, 2 > *pSrc2D, const SmallMatrix< float, 2, 2 > *pSrc2DCov, int count, const AngleAxis3D< float > &src_omega, const SmallMatrix< float, 3, 1 > &src_t, const float &tolerance1, const float &tolerance2, int maxEvals, AngleAxis3D< float > &dst_omega, SmallMatrix< float, 3, 1 > &dst_t, SmallMatrix< float, 6, 6 > &dstSomega_t, Array1D< float > *pIterationCosts)
 
template<typename T >
void blo::estimateCameraArrayRelativePosesLM (const Point< T, 3 > *pSrc3D, const Point< T, 2 > *const *const *pppSrc2D, const SmallMatrix< T, 2, 2 > *const *const *pppSrc2DCov, const AngleAxis3D< T > *pSrc_omega, const SmallMatrix< T, 3, 1 > *pSrc_t, const AngleAxis3D< T > *pSrc_omegaWorld, const SmallMatrix< T, 3, 1 > *pSrc_tWorld, AngleAxis3D< T > *pDst_omega, SmallMatrix< T, 3, 1 > *pDst_t, T *pDstSomega_t, int dstSomega_tStride1, AngleAxis3D< T > *pDst_omegaWorld, SmallMatrix< T, 3, 1 > *pDst_tWorld, int countSets, int countCameras, int countScenePoints, const T &tolerance1, const T &tolerance2, int maxEvals, Array1D< T > *pIterationCosts=nullptr)
 Determines the Maximum Likelihood estimate of the pose of each camera in a camera array relative to the pose of the first canonical camera in the array from an an initial estimate of the poses.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateCameraArrayRelativePosesLM (const Point< double, 3 > *pSrc3D, const Point< double, 2 > *const *const *pppSrc2D, const SmallMatrix< double, 2, 2 > *const *const *pppSrc2DCov, const AngleAxis3D< double > *pSrc_omega, const SmallMatrix< double, 3, 1 > *pSrc_t, const AngleAxis3D< double > *pSrc_omegaWorld, const SmallMatrix< double, 3, 1 > *pSrc_tWorld, AngleAxis3D< double > *pDst_omega, SmallMatrix< double, 3, 1 > *pDst_t, double *pDstSomega_t, int dstSomega_tStride1, AngleAxis3D< double > *pDst_omegaWorld, SmallMatrix< double, 3, 1 > *pDst_tWorld, int countSets, int countCameras, int countScenePoints, const double &tolerance1, const double &tolerance2, int maxEvals, Array1D< double > *pIterationCosts)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateCameraArrayRelativePosesLM (const Point< float, 3 > *pSrc3D, const Point< float, 2 > *const *const *pppSrc2D, const SmallMatrix< float, 2, 2 > *const *const *pppSrc2DCov, const AngleAxis3D< float > *pSrc_omega, const SmallMatrix< float, 3, 1 > *pSrc_t, const AngleAxis3D< float > *pSrc_omegaWorld, const SmallMatrix< float, 3, 1 > *pSrc_tWorld, AngleAxis3D< float > *pDst_omega, SmallMatrix< float, 3, 1 > *pDst_t, float *pDstSomega_t, int dstSomega_tStride1, AngleAxis3D< float > *pDst_omegaWorld, SmallMatrix< float, 3, 1 > *pDst_tWorld, int countSets, int countCameras, int countScenePoints, const float &tolerance1, const float &tolerance2, int maxEvals, Array1D< float > *pIterationCosts)
 
template<typename T >
void blo::triangulationLM (const SmallMatrix< T, 3, 4 > *pSrcPMatrices, const Point< T, 2 > *pSrc2D, const SmallMatrix< T, 2, 2 > *pSrc2DCov, int count, const HomgPoint< T, 3 > &srcX, const T &tolerance1, const T &tolerance2, int maxEvals, HomgPoint< T, 3 > &dstX, SmallMatrix< T, 4, 4 > &dstS_X, Array1D< T > *pIterationCosts=nullptr)
 Determines the Maximum Likelihood estimate of the triangulated 3D point from an initial estimate of the point.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::triangulationLM (const SmallMatrix< double, 3, 4 > *pSrcPMatrices, const Point< double, 2 > *pSrc2D, const SmallMatrix< double, 2, 2 > *pSrc2DCov, int count, const HomgPoint< double, 3 > &srcX, const double &tolerance1, const double &tolerance2, int maxEvals, HomgPoint< double, 3 > &dstX, SmallMatrix< double, 4, 4 > &dstS_X, Array1D< double > *pIterationCosts)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::triangulationLM (const SmallMatrix< float, 3, 4 > *pSrcPMatrices, const Point< float, 2 > *pSrc2D, const SmallMatrix< float, 2, 2 > *pSrc2DCov, int count, const HomgPoint< float, 3 > &srcX, const float &tolerance1, const float &tolerance2, int maxEvals, HomgPoint< float, 3 > &dstX, SmallMatrix< float, 4, 4 > &dstS_X, Array1D< float > *pIterationCosts)
 
template<typename T >
void blo::triangulation2ViewLM (const Point< T, 2 > *pSrc1, const SmallMatrix< T, 2, 2 > *pSrc1Cov, const Point< T, 2 > *pSrc2, const SmallMatrix< T, 2, 2 > *pSrc2Cov, const HomgPoint< T, 3 > *pSrcX, HomgPoint< T, 3 > *pDstX, SmallMatrix< T, 4, 4 > *pDstS_X, Array1D< T > *pIterationCosts, int count, const T &tolerance1, const T &tolerance2, int maxEvals, const SmallMatrix< T, 3, 4 > &P1, const SmallMatrix< T, 3, 4 > &P2)
 Determines the Maximum Likelihood estimate of triangulated 3D points from initial estimates of the points, 2 views.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::triangulation2ViewLM (const Point< double, 2 > *pSrc1, const SmallMatrix< double, 2, 2 > *pSrc1Cov, const Point< double, 2 > *pSrc2, const SmallMatrix< double, 2, 2 > *pSrc2Cov, const HomgPoint< double, 3 > *pSrcX, HomgPoint< double, 3 > *pDstX, SmallMatrix< double, 4, 4 > *pDstS_X, Array1D< double > *pIterationCosts, int count, const double &tolerance1, const double &tolerance2, int maxEvals, const SmallMatrix< double, 3, 4 > &P1, const SmallMatrix< double, 3, 4 > &P2)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::triangulation2ViewLM (const Point< float, 2 > *pSrc1, const SmallMatrix< float, 2, 2 > *pSrc1Cov, const Point< float, 2 > *pSrc2, const SmallMatrix< float, 2, 2 > *pSrc2Cov, const HomgPoint< float, 3 > *pSrcX, HomgPoint< float, 3 > *pDstX, SmallMatrix< float, 4, 4 > *pDstS_X, Array1D< float > *pIterationCosts, int count, const float &tolerance1, const float &tolerance2, int maxEvals, const SmallMatrix< float, 3, 4 > &P1, const SmallMatrix< float, 3, 4 > &P2)
 
template<typename T >
void blo::triangulation3ViewLM (const Point< T, 2 > *pSrc1, const SmallMatrix< T, 2, 2 > *pSrc1Cov, const Point< T, 2 > *pSrc2, const SmallMatrix< T, 2, 2 > *pSrc2Cov, const Point< T, 2 > *pSrc3, const SmallMatrix< T, 2, 2 > *pSrc3Cov, const HomgPoint< T, 3 > *pSrcX, HomgPoint< T, 3 > *pDstX, SmallMatrix< T, 4, 4 > *pDstS_X, Array1D< T > *pIterationCosts, int count, const T &tolerance1, const T &tolerance2, int maxEvals, const SmallMatrix< T, 3, 4 > &P1, const SmallMatrix< T, 3, 4 > &P2, const SmallMatrix< T, 3, 4 > &P3)
 Determines the Maximum Likelihood estimate of triangulated 3D points from initial estimates of the points, 3 views.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::triangulation3ViewLM (const Point< double, 2 > *pSrc1, const SmallMatrix< double, 2, 2 > *pSrc1Cov, const Point< double, 2 > *pSrc2, const SmallMatrix< double, 2, 2 > *pSrc2Cov, const Point< double, 2 > *pSrc3, const SmallMatrix< double, 2, 2 > *pSrc3Cov, const HomgPoint< double, 3 > *pSrcX, HomgPoint< double, 3 > *pDstX, SmallMatrix< double, 4, 4 > *pDstS_X, Array1D< double > *pIterationCosts, int count, const double &tolerance1, const double &tolerance2, int maxEvals, const SmallMatrix< double, 3, 4 > &P1, const SmallMatrix< double, 3, 4 > &P2, const SmallMatrix< double, 3, 4 > &P3)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::triangulation3ViewLM (const Point< float, 2 > *pSrc1, const SmallMatrix< float, 2, 2 > *pSrc1Cov, const Point< float, 2 > *pSrc2, const SmallMatrix< float, 2, 2 > *pSrc2Cov, const Point< float, 2 > *pSrc3, const SmallMatrix< float, 2, 2 > *pSrc3Cov, const HomgPoint< float, 3 > *pSrcX, HomgPoint< float, 3 > *pDstX, SmallMatrix< float, 4, 4 > *pDstS_X, Array1D< float > *pIterationCosts, int count, const float &tolerance1, const float &tolerance2, int maxEvals, const SmallMatrix< float, 3, 4 > &P1, const SmallMatrix< float, 3, 4 > &P2, const SmallMatrix< float, 3, 4 > &P3)
 
template<typename T >
void blo::estimateProjectiveTransformationLM (const Point< T, 1 > *pSrc1, const T *pSrc1Var, const Point< T, 1 > *pSrc2, const T *pSrc2Var, HomgPoint< T, 1 > *pDstScenePoints, int count, const SmallMatrix< T, 2, 2 > &srcH2, const T &tolerance1, const T &tolerance2, int maxEvals, SmallMatrix< T, 2, 2 > &dstH2, SmallMatrix< T, 4, 4 > &dstSh2, Array1D< T > *pIterationCosts=nullptr)
 Determines the Maximum Likelihood estimate of the 1D projective transformation matrix in the form of the second 1D projective transformation matrix relative to the first canonical 1D projective transformation matrix from an initial estimate of the second 1D projective transformation matrix.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateProjectiveTransformationLM (const Point< double, 1 > *pSrc1, const double *pSrc1Var, const Point< double, 1 > *pSrc2, const double *pSrc2Var, HomgPoint< double, 1 > *pDstScenePoints, int count, const SmallMatrix< double, 2, 2 > &srcH2, const double &tolerance1, const double &tolerance2, int maxEvals, SmallMatrix< double, 2, 2 > &dstH2, SmallMatrix< double, 4, 4 > &dstSh2, Array1D< double > *pIterationCosts)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateProjectiveTransformationLM (const Point< float, 1 > *pSrc1, const float *pSrc1Var, const Point< float, 1 > *pSrc2, const float *pSrc2Var, HomgPoint< float, 1 > *pDstScenePoints, int count, const SmallMatrix< float, 2, 2 > &srcH2, const float &tolerance1, const float &tolerance2, int maxEvals, SmallMatrix< float, 2, 2 > &dstH2, SmallMatrix< float, 4, 4 > &dstSh2, Array1D< float > *pIterationCosts)
 
template<typename T >
void blo::estimateProjectiveTransformationLM (const Point< T, 1 > *pSrc1, const T *pSrc1Var, const Point< T, 1 > *pSrc2, const T *pSrc2Var, int count, const SmallMatrix< T, 2, 2 > &srcH, const T &tolerance1, const T &tolerance2, int maxEvals, SmallMatrix< T, 2, 2 > &dstH, SmallMatrix< T, 4, 4 > &dstSh, Array1D< T > *pIterationCosts=nullptr)
 Determines the Maximum Likelihood estimate of the 1D projective transformation matrix from an initial estimate of the matrix.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateProjectiveTransformationLM (const Point< double, 1 > *pSrc1, const double *pSrc1Var, const Point< double, 1 > *pSrc2, const double *pSrc2Var, int count, const SmallMatrix< double, 2, 2 > &srcH, const double &tolerance1, const double &tolerance2, int maxEvals, SmallMatrix< double, 2, 2 > &dstH, SmallMatrix< double, 4, 4 > &dstSh, Array1D< double > *pIterationCosts)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateProjectiveTransformationLM (const Point< float, 1 > *pSrc1, const float *pSrc1Var, const Point< float, 1 > *pSrc2, const float *pSrc2Var, int count, const SmallMatrix< float, 2, 2 > &srcH, const float &tolerance1, const float &tolerance2, int maxEvals, SmallMatrix< float, 2, 2 > &dstH, SmallMatrix< float, 4, 4 > &dstSh, Array1D< float > *pIterationCosts)
 
template<typename T >
void blo::estimateProjectiveTransformationLM (const Point< T, 2 > *pSrc1, const SmallMatrix< T, 2, 2 > *pSrc1Cov, const Point< T, 2 > *pSrc2, const SmallMatrix< T, 2, 2 > *pSrc2Cov, HomgPoint< T, 2 > *pDstScenePoints, int count, const SmallMatrix< T, 3, 3 > &srcH2, const T &tolerance1, const T &tolerance2, int maxEvals, SmallMatrix< T, 3, 3 > &dstH2, SmallMatrix< T, 9, 9 > &dstSh2, Array1D< T > *pIterationCosts=nullptr)
 Determines the Maximum Likelihood estimate of the planar projective transformation matrix in the form of the second planar projective transformation matrix relative to the first canonical planar projective transformation matrix from an initial estimate of the second planar projective transformation matrix.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateProjectiveTransformationLM (const Point< double, 2 > *pSrc1, const SmallMatrix< double, 2, 2 > *pSrc1Cov, const Point< double, 2 > *pSrc2, const SmallMatrix< double, 2, 2 > *pSrc2Cov, HomgPoint< double, 2 > *pDstScenePoints, int count, const SmallMatrix< double, 3, 3 > &srcH2, const double &tolerance1, const double &tolerance2, int maxEvals, SmallMatrix< double, 3, 3 > &dstH2, SmallMatrix< double, 9, 9 > &dstSh2, Array1D< double > *pIterationCosts)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateProjectiveTransformationLM (const Point< float, 2 > *pSrc1, const SmallMatrix< float, 2, 2 > *pSrc1Cov, const Point< float, 2 > *pSrc2, const SmallMatrix< float, 2, 2 > *pSrc2Cov, HomgPoint< float, 2 > *pDstScenePoints, int count, const SmallMatrix< float, 3, 3 > &srcH2, const float &tolerance1, const float &tolerance2, int maxEvals, SmallMatrix< float, 3, 3 > &dstH2, SmallMatrix< float, 9, 9 > &dstSh2, Array1D< float > *pIterationCosts)
 
template<typename T >
void blo::estimateProjectiveTransformationLM (const Point< T, 2 > *pSrc1, const SmallMatrix< T, 2, 2 > *pSrc1Cov, const Point< T, 2 > *pSrc2, const SmallMatrix< T, 2, 2 > *pSrc2Cov, int count, const SmallMatrix< T, 3, 3 > &srcH, const T &tolerance1, const T &tolerance2, int maxEvals, SmallMatrix< T, 3, 3 > &dstH, SmallMatrix< T, 9, 9 > &dstSh, Array1D< T > *pIterationCosts=nullptr)
 Determines the Maximum Likelihood estimate of the planar projective transformation from an initial estimate of the transformation matrix.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateProjectiveTransformationLM (const Point< double, 2 > *pSrc1, const SmallMatrix< double, 2, 2 > *pSrc1Cov, const Point< double, 2 > *pSrc2, const SmallMatrix< double, 2, 2 > *pSrc2Cov, int count, const SmallMatrix< double, 3, 3 > &srcH, const double &tolerance1, const double &tolerance2, int maxEvals, SmallMatrix< double, 3, 3 > &dstH, SmallMatrix< double, 9, 9 > &dstSh, Array1D< double > *pIterationCosts)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateProjectiveTransformationLM (const Point< float, 2 > *pSrc1, const SmallMatrix< float, 2, 2 > *pSrc1Cov, const Point< float, 2 > *pSrc2, const SmallMatrix< float, 2, 2 > *pSrc2Cov, int count, const SmallMatrix< float, 3, 3 > &srcH, const float &tolerance1, const float &tolerance2, int maxEvals, SmallMatrix< float, 3, 3 > &dstH, SmallMatrix< float, 9, 9 > &dstSh, Array1D< float > *pIterationCosts)
 
template<typename T >
void blo::estimateFundamentalMatrixLM (const Point< T, 2 > *pSrc1, const SmallMatrix< T, 2, 2 > *pSrc1Cov, const Point< T, 2 > *pSrc2, const SmallMatrix< T, 2, 2 > *pSrc2Cov, HomgPoint< T, 3 > *pDstScenePoints, int count, const SmallMatrix< T, 3, 4 > &srcP2, const T &tolerance1, const T &tolerance2, int maxEvals, SmallMatrix< T, 3, 4 > &dstP2, SmallMatrix< T, 12, 12 > &dstSp2, Array1D< T > *pIterationCosts=nullptr)
 Determines the Maximum Likelihood estimate of the fundamental matrix in the form of the second camera projection matrix (up to a 3D projective transformation) relative to the first canonical camera projection matrix from an initial estimate of the second camera projection matrix.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateFundamentalMatrixLM (const Point< double, 2 > *pSrc1, const SmallMatrix< double, 2, 2 > *pSrc1Cov, const Point< double, 2 > *pSrc2, const SmallMatrix< double, 2, 2 > *pSrc2Cov, HomgPoint< double, 3 > *pDstScenePoints, int count, const SmallMatrix< double, 3, 4 > &srcP2, const double &tolerance1, const double &tolerance2, int maxEvals, SmallMatrix< double, 3, 4 > &dstP2, SmallMatrix< double, 12, 12 > &dstSp2, Array1D< double > *pIterationCosts)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateFundamentalMatrixLM (const Point< float, 2 > *pSrc1, const SmallMatrix< float, 2, 2 > *pSrc1Cov, const Point< float, 2 > *pSrc2, const SmallMatrix< float, 2, 2 > *pSrc2Cov, HomgPoint< float, 3 > *pDstScenePoints, int count, const SmallMatrix< float, 3, 4 > &srcP2, const float &tolerance1, const float &tolerance2, int maxEvals, SmallMatrix< float, 3, 4 > &dstP2, SmallMatrix< float, 12, 12 > &dstSp2, Array1D< float > *pIterationCosts)
 
template<typename T >
void blo::estimateFundamentalMatrixLM (const Point< T, 2 > *pSrc1, const SmallMatrix< T, 2, 2 > *pSrc1Cov, const Point< T, 2 > *pSrc2, const SmallMatrix< T, 2, 2 > *pSrc2Cov, int count, const SmallMatrix< T, 3, 3 > &srcF, const T &tolerance1, const T &tolerance2, int maxEvals, SmallMatrix< T, 3, 3 > &dstF, SmallMatrix< T, 9, 9 > &dstSf, MinimalParameterization minimalParameterization, Array1D< T > *pIterationCosts=nullptr)
 Determines the Maximum Likelihood estimate of the fundamental matrix from an initial estimate of the matrix.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateFundamentalMatrixLM (const Point< double, 2 > *pSrc1, const SmallMatrix< double, 2, 2 > *pSrc1Cov, const Point< double, 2 > *pSrc2, const SmallMatrix< double, 2, 2 > *pSrc2Cov, int count, const SmallMatrix< double, 3, 3 > &srcF, const double &tolerance1, const double &tolerance2, int maxEvals, SmallMatrix< double, 3, 3 > &dstF, SmallMatrix< double, 9, 9 > &dstSf, MinimalParameterization minimalParameterization, Array1D< double > *pIterationCosts)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateFundamentalMatrixLM (const Point< float, 2 > *pSrc1, const SmallMatrix< float, 2, 2 > *pSrc1Cov, const Point< float, 2 > *pSrc2, const SmallMatrix< float, 2, 2 > *pSrc2Cov, int count, const SmallMatrix< float, 3, 3 > &srcF, const float &tolerance1, const float &tolerance2, int maxEvals, SmallMatrix< float, 3, 3 > &dstF, SmallMatrix< float, 9, 9 > &dstSf, MinimalParameterization minimalParameterization, Array1D< float > *pIterationCosts)
 
template<typename T >
void blo::estimateEssentialMatrixLM (const Point< T, 2 > *pSrc1, const SmallMatrix< T, 2, 2 > *pSrc1Cov, const Point< T, 2 > *pSrc2, const SmallMatrix< T, 2, 2 > *pSrc2Cov, HomgPoint< T, 3 > *pDstScenePoints, int count, const AngleAxis3D< T > &src_omega, const SmallMatrix< T, 3, 1 > &src_t, const T &tolerance1, const T &tolerance2, int maxEvals, AngleAxis3D< T > &dst_omega, SmallMatrix< T, 3, 1 > &dst_t, SmallMatrix< T, 6, 6 > &dstSomega_t, Array1D< T > *pIterationCosts=nullptr)
 Determines the Maximum Likelihood estimate of the essential matrix in the form of the second camera translation (to scale) and rotation relative to the first canonical camera pose from an initial estimate of the translation and rotation.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateEssentialMatrixLM (const Point< double, 2 > *pSrc1, const SmallMatrix< double, 2, 2 > *pSrc1Cov, const Point< double, 2 > *pSrc2, const SmallMatrix< double, 2, 2 > *pSrc2Cov, HomgPoint< double, 3 > *pDstScenePoints, int count, const AngleAxis3D< double > &src_omega, const SmallMatrix< double, 3, 1 > &src_t, const double &tolerance1, const double &tolerance2, int maxEvals, AngleAxis3D< double > &dst_omega, SmallMatrix< double, 3, 1 > &dst_t, SmallMatrix< double, 6, 6 > &dstSomega_t, Array1D< double > *pIterationCosts)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateEssentialMatrixLM (const Point< float, 2 > *pSrc1, const SmallMatrix< float, 2, 2 > *pSrc1Cov, const Point< float, 2 > *pSrc2, const SmallMatrix< float, 2, 2 > *pSrc2Cov, HomgPoint< float, 3 > *pDstScenePoints, int count, const AngleAxis3D< float > &src_omega, const SmallMatrix< float, 3, 1 > &src_t, const float &tolerance1, const float &tolerance2, int maxEvals, AngleAxis3D< float > &dst_omega, SmallMatrix< float, 3, 1 > &dst_t, SmallMatrix< float, 6, 6 > &dstSomega_t, Array1D< float > *pIterationCosts)
 
template<typename T >
void blo::estimateEssentialMatrixLM (const Point< T, 2 > *pSrc1, const SmallMatrix< T, 2, 2 > *pSrc1Cov, const Point< T, 2 > *pSrc2, const SmallMatrix< T, 2, 2 > *pSrc2Cov, int count, const SmallMatrix< T, 3, 3 > &srcE, const T &tolerance1, const T &tolerance2, int maxEvals, SmallMatrix< T, 3, 3 > &dstE, SmallMatrix< T, 9, 9 > &dstSe, Array1D< T > *pIterationCosts=nullptr)
 Determines the Maximum Likelihood estimate of the essential matrix from an initial estimate of the matrix.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateEssentialMatrixLM (const Point< double, 2 > *pSrc1, const SmallMatrix< double, 2, 2 > *pSrc1Cov, const Point< double, 2 > *pSrc2, const SmallMatrix< double, 2, 2 > *pSrc2Cov, int count, const SmallMatrix< double, 3, 3 > &srcE, const double &tolerance1, const double &tolerance2, int maxEvals, SmallMatrix< double, 3, 3 > &dstE, SmallMatrix< double, 9, 9 > &dstSe, Array1D< double > *pIterationCosts)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateEssentialMatrixLM (const Point< float, 2 > *pSrc1, const SmallMatrix< float, 2, 2 > *pSrc1Cov, const Point< float, 2 > *pSrc2, const SmallMatrix< float, 2, 2 > *pSrc2Cov, int count, const SmallMatrix< float, 3, 3 > &srcE, const float &tolerance1, const float &tolerance2, int maxEvals, SmallMatrix< float, 3, 3 > &dstE, SmallMatrix< float, 9, 9 > &dstSe, Array1D< float > *pIterationCosts)
 
template<typename T >
void blo::estimateTrifocalTensorLM (const Point< T, 2 > *pSrc1, const SmallMatrix< T, 2, 2 > *pSrc1Cov, const Point< T, 2 > *pSrc2, const SmallMatrix< T, 2, 2 > *pSrc2Cov, const Point< T, 2 > *pSrc3, const SmallMatrix< T, 2, 2 > *pSrc3Cov, HomgPoint< T, 3 > *pDstScenePoints, int count, const SmallMatrix< T, 3, 4 > &srcP2, const SmallMatrix< T, 3, 4 > &srcP3, const T &tolerance1, const T &tolerance2, int maxEvals, SmallMatrix< T, 3, 4 > &dstP2, SmallMatrix< T, 3, 4 > &dstP3, SmallMatrix< T, 24, 24 > &dstSp2_p3, Array1D< T > *pIterationCosts=nullptr)
 Determines the Maximum Likelihood estimate of the trifocal tensor in the form of the second and third camera projection matrices (up to a 3D projective transformation) relative to the first canonical camera projection matrix from initial estimates of the second and third camera projection matrices.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateTrifocalTensorLM (const Point< double, 2 > *pSrc1, const SmallMatrix< double, 2, 2 > *pSrc1Cov, const Point< double, 2 > *pSrc2, const SmallMatrix< double, 2, 2 > *pSrc2Cov, const Point< double, 2 > *pSrc3, const SmallMatrix< double, 2, 2 > *pSrc3Cov, HomgPoint< double, 3 > *pDstScenePoints, int count, const SmallMatrix< double, 3, 4 > &srcP2, const SmallMatrix< double, 3, 4 > &srcP3, const double &tolerance1, const double &tolerance2, int maxEvals, SmallMatrix< double, 3, 4 > &dstP2, SmallMatrix< double, 3, 4 > &dstP3, SmallMatrix< double, 24, 24 > &dstSp2_p3, Array1D< double > *pIterationCosts)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateTrifocalTensorLM (const Point< float, 2 > *pSrc1, const SmallMatrix< float, 2, 2 > *pSrc1Cov, const Point< float, 2 > *pSrc2, const SmallMatrix< float, 2, 2 > *pSrc2Cov, const Point< float, 2 > *pSrc3, const SmallMatrix< float, 2, 2 > *pSrc3Cov, HomgPoint< float, 3 > *pDstScenePoints, int count, const SmallMatrix< float, 3, 4 > &srcP2, const SmallMatrix< float, 3, 4 > &srcP3, const float &tolerance1, const float &tolerance2, int maxEvals, SmallMatrix< float, 3, 4 > &dstP2, SmallMatrix< float, 3, 4 > &dstP3, SmallMatrix< float, 24, 24 > &dstSp2_p3, Array1D< float > *pIterationCosts)
 
template<typename T >
void blo::estimateTrifocalTensorLM (const Point< T, 2 > *pSrc1, const SmallMatrix< T, 2, 2 > *pSrc1Cov, const Point< T, 2 > *pSrc2, const SmallMatrix< T, 2, 2 > *pSrc2Cov, const Point< T, 2 > *pSrc3, const SmallMatrix< T, 2, 2 > *pSrc3Cov, int count, const Array3DFixed< T, 3, 3, 3 > &srcT, const T &tolerance1, const T &tolerance2, int maxEvals, Array3DFixed< T, 3, 3, 3 > &dstT, SmallMatrix< T, 27, 27 > &dstSt, Array1D< T > *pIterationCosts=nullptr)
 Determines the Maximum Likelihood estimate of the trifocal tensor from an initial estimate of the tensor.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateTrifocalTensorLM (const Point< double, 2 > *pSrc1, const SmallMatrix< double, 2, 2 > *pSrc1Cov, const Point< double, 2 > *pSrc2, const SmallMatrix< double, 2, 2 > *pSrc2Cov, const Point< double, 2 > *pSrc3, const SmallMatrix< double, 2, 2 > *pSrc3Cov, int count, const Array3DFixed< double, 3, 3, 3 > &srcT, const double &tolerance1, const double &tolerance2, int maxEvals, Array3DFixed< double, 3, 3, 3 > &dstT, SmallMatrix< double, 27, 27 > &dstSt, Array1D< double > *pIterationCosts)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::estimateTrifocalTensorLM (const Point< float, 2 > *pSrc1, const SmallMatrix< float, 2, 2 > *pSrc1Cov, const Point< float, 2 > *pSrc2, const SmallMatrix< float, 2, 2 > *pSrc2Cov, const Point< float, 2 > *pSrc3, const SmallMatrix< float, 2, 2 > *pSrc3Cov, int count, const Array3DFixed< float, 3, 3, 3 > &srcT, const float &tolerance1, const float &tolerance2, int maxEvals, Array3DFixed< float, 3, 3, 3 > &dstT, SmallMatrix< float, 27, 27 > &dstSt, Array1D< float > *pIterationCosts)
 
template<typename T >
void blo::mapToNormalizedCoordsLM (const Point< T, 2 > &src, const SmallMatrix< T, 2, 2 > &srcCov, const SmallMatrix< T, 3, 3 > &K, const T &k1, const T &k2, const T &k3, const T &p1, const T &p2, const T &tolerance1, const T &tolerance2, int maxEvals, Point< T, 2 > &dst, SmallMatrix< T, 2, 2 > &dstCov, Array1D< T > *pIterationCosts=nullptr)
 Determines the Maximum Likelihood estimate of the undistorted point in normalized coordinates.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::mapToNormalizedCoordsLM (const Point< double, 2 > &src, const SmallMatrix< double, 2, 2 > &srcCov, const SmallMatrix< double, 3, 3 > &K, const double &k1, const double &k2, const double &k3, const double &p1, const double &p2, const double &tolerance1, const double &tolerance2, int maxEvals, Point< double, 2 > &dst, SmallMatrix< double, 2, 2 > &dstCov, Array1D< double > *pIterationCosts)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::mapToNormalizedCoordsLM (const Point< float, 2 > &src, const SmallMatrix< float, 2, 2 > &srcCov, const SmallMatrix< float, 3, 3 > &K, const float &k1, const float &k2, const float &k3, const float &p1, const float &p2, const float &tolerance1, const float &tolerance2, int maxEvals, Point< float, 2 > &dst, SmallMatrix< float, 2, 2 > &dstCov, Array1D< float > *pIterationCosts)
 
template<typename T >
void blo::mapToNormalizedCoordsLM (const Point< T, 2 > *pSrc, const SmallMatrix< T, 2, 2 > *pSrcCov, Point< T, 2 > *pDst, SmallMatrix< T, 2, 2 > *pDstCov, Array1D< T > *pIterationCosts, int count, const SmallMatrix< T, 3, 3 > &K, const T &k1, const T &k2, const T &k3, const T &p1, const T &p2, const T &tolerance1, const T &tolerance2, int maxEvals)
 Determines the Maximum Likelihood estimate of undistorted points in normalized coordinates.
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::mapToNormalizedCoordsLM (const Point< double, 2 > *pSrc, const SmallMatrix< double, 2, 2 > *pSrcCov, Point< double, 2 > *pDst, SmallMatrix< double, 2, 2 > *pDstCov, Array1D< double > *pIterationCosts, int count, const SmallMatrix< double, 3, 3 > &K, const double &k1, const double &k2, const double &k3, const double &p1, const double &p2, const double &tolerance1, const double &tolerance2, int maxEvals)
 
BLO_EXPIMP_TEMPLATE template BLO_API void blo::mapToNormalizedCoordsLM (const Point< float, 2 > *pSrc, const SmallMatrix< float, 2, 2 > *pSrcCov, Point< float, 2 > *pDst, SmallMatrix< float, 2, 2 > *pDstCov, Array1D< float > *pIterationCosts, int count, const SmallMatrix< float, 3, 3 > &K, const float &k1, const float &k2, const float &k3, const float &p1, const float &p2, const float &tolerance1, const float &tolerance2, int maxEvals)
 

Detailed Description

Levenberg-Marquardt related functions.