#include <nelder_mead_opt_gordon_lowe.hpp>
|
| NelderMeadOptGordonLowe (std::vector< Vec< 2, float > > m0, std::vector< Vec< 2, float > > m1) |
| NelderMeadOptGordonLowe. More...
|
|
double | ProjectionError (float *x, unsigned int index) |
| ProjectionError. More...
|
|
float | function (float *x, unsigned int n) |
| function More...
|
|
| NelderMeadOptBase () |
| NelderMeadOptBase. More...
|
|
void | GlobalSettings () |
| GlobalSettings. More...
|
|
virtual double | function (double *x, unsigned int n) |
| function More...
|
|
virtual double * | run (double *x_start, unsigned int n, double epsilon=1e-4f, int max_iterations=1000, double *x=NULL) |
|
|
static Eigen::Matrix34d | parseCameraMatrix (float *x, unsigned int index) |
|
static void | init3DPoints (Eigen::Matrix3d K, std::vector< Vec< 2, float > > &m, std::vector< Eigen::Vector3d > &x, float distance=20.0f) |
| init3DPoints More...
|
|
static double * | prepareInputData (std::vector< Eigen::Matrix3d > &K, std::vector< Eigen::Matrix3d > &R, std::vector< Eigen::Vector3d > &t, std::vector< Eigen::Vector3d > &x, unsigned int &ret_size) |
| prepareInputData More...
|
|
|
void | InitSimplex (double *x0, unsigned int n) |
| InitSimplex. More...
|
|
void | ComputeMean (double *x_mean, unsigned int n) |
| ComputeMean. More...
|
|
double | ComputeReflected (double *x_r, double *x_mean, unsigned int n) |
| ComputeReflected. More...
|
|
double | ComputeExpansion (double *x_e, double *x_mean, unsigned int n) |
| ComputeExpansion. More...
|
|
double | ComputeContractionInside (double *x_c, double *x_mean, unsigned int n) |
| ComputeContractionInside. More...
|
|
void | ComputeReduction (unsigned int n) |
| ComputeReduction. More...
|
|
double * | run_aux (double *x_start, unsigned int n, double epsilon, int max_iterations=1000, double *x=NULL) |
| run_aux More...
|
|
bool | bStopMean |
|
double | delta |
|
double | delta_zero |
|
double | alpha |
|
double | gamma |
|
double | lambda |
|
double | sigma |
|
std::vector< std::pair< double, double *> > | simplex |
|
◆ NelderMeadOptGordonLowe()
pic::NelderMeadOptGordonLowe::NelderMeadOptGordonLowe |
( |
std::vector< Vec< 2, float > > |
m0, |
|
|
std::vector< Vec< 2, float > > |
m1 |
|
) |
| |
|
inline |
◆ function()
float pic::NelderMeadOptGordonLowe::function |
( |
float * |
x, |
|
|
unsigned int |
n |
|
) |
| |
|
inline |
function
- Parameters
-
- Returns
◆ init3DPoints()
static void pic::NelderMeadOptGordonLowe::init3DPoints |
( |
Eigen::Matrix3d |
K, |
|
|
std::vector< Vec< 2, float > > & |
m, |
|
|
std::vector< Eigen::Vector3d > & |
x, |
|
|
float |
distance = 20.0f |
|
) |
| |
|
inlinestatic |
◆ parseCameraMatrix()
static Eigen::Matrix34d pic::NelderMeadOptGordonLowe::parseCameraMatrix |
( |
float * |
x, |
|
|
unsigned int |
index |
|
) |
| |
|
inlinestatic |
◆ prepareInputData()
static double* pic::NelderMeadOptGordonLowe::prepareInputData |
( |
std::vector< Eigen::Matrix3d > & |
K, |
|
|
std::vector< Eigen::Matrix3d > & |
R, |
|
|
std::vector< Eigen::Vector3d > & |
t, |
|
|
std::vector< Eigen::Vector3d > & |
x, |
|
|
unsigned int & |
ret_size |
|
) |
| |
|
inlinestatic |
prepareInputData
- Parameters
-
- Returns
◆ ProjectionError()
double pic::NelderMeadOptGordonLowe::ProjectionError |
( |
float * |
x, |
|
|
unsigned int |
index |
|
) |
| |
|
inline |
ProjectionError.
- Parameters
-
- Returns
std::vector< std::vector< Vec<2, float> > > pic::NelderMeadOptGordonLowe::m |
The documentation for this class was generated from the following file: