PICCANTE  0.4
The hottest HDR imaging library!
Public Member Functions | Public Attributes | List of all members
pic::NelderMeadOptRadialDistortion Class Reference

#include <nelder_mead_opt_radial_distortion.hpp>

Inheritance diagram for pic::NelderMeadOptRadialDistortion:
pic::NelderMeadOptBase< float >

Public Member Functions

 NelderMeadOptRadialDistortion (Eigen::Matrix34d &M0, Eigen::Matrix34d &M1, std::vector< Eigen::Vector2f > *p2d_0, std::vector< Eigen::Vector2f > *p2d_1, std::vector< Eigen::Vector3d > *p3d)
 NelderMeadOptRadialDistortion. More...
 
float function (float *x, unsigned int n)
 function More...
 
- Public Member Functions inherited from pic::NelderMeadOptBase< float >
 NelderMeadOptBase ()
 NelderMeadOptBase. More...
 
void GlobalSettings ()
 GlobalSettings. More...
 
virtual float * run (float *x_start, unsigned int n, float epsilon=1e-4f, int max_iterations=1000, float *x=NULL)
 

Public Attributes

std::vector< Eigen::Matrix34d > M
 
std::vector< Eigen::Vector3d > * p3d
 
std::vector< std::vector< Eigen::Vector2f > *> p2d
 
- Public Attributes inherited from pic::NelderMeadOptBase< float >
int max_iterations
 
float output_error
 

Additional Inherited Members

- Protected Member Functions inherited from pic::NelderMeadOptBase< float >
void InitSimplex (float *x0, unsigned int n)
 InitSimplex. More...
 
void ComputeMean (float *x_mean, unsigned int n)
 ComputeMean. More...
 
float ComputeReflected (float *x_r, float *x_mean, unsigned int n)
 ComputeReflected. More...
 
float ComputeExpansion (float *x_e, float *x_mean, unsigned int n)
 ComputeExpansion. More...
 
float ComputeContractionInside (float *x_c, float *x_mean, unsigned int n)
 ComputeContractionInside. More...
 
void ComputeReduction (unsigned int n)
 ComputeReduction. More...
 
float * run_aux (float *x_start, unsigned int n, float epsilon, int max_iterations=1000, float *x=NULL)
 run_aux More...
 
- Protected Attributes inherited from pic::NelderMeadOptBase< float >
bool bStopMean
 
float delta
 
float delta_zero
 
float alpha
 
float gamma
 
float lambda
 
float sigma
 
std::vector< std::pair< float, float *> > simplex
 

Constructor & Destructor Documentation

◆ NelderMeadOptRadialDistortion()

pic::NelderMeadOptRadialDistortion::NelderMeadOptRadialDistortion ( Eigen::Matrix34d &  M0,
Eigen::Matrix34d &  M1,
std::vector< Eigen::Vector2f > *  p2d_0,
std::vector< Eigen::Vector2f > *  p2d_1,
std::vector< Eigen::Vector3d > *  p3d 
)
inline

NelderMeadOptRadialDistortion.

Parameters
M0
M1

Member Function Documentation

◆ function()

float pic::NelderMeadOptRadialDistortion::function ( float *  x,
unsigned int  n 
)
inlinevirtual

function

Parameters
x
n
Returns

Reimplemented from pic::NelderMeadOptBase< float >.

Member Data Documentation

◆ M

std::vector< Eigen::Matrix34d > pic::NelderMeadOptRadialDistortion::M

◆ p2d

std::vector< std::vector< Eigen::Vector2f > * > pic::NelderMeadOptRadialDistortion::p2d

◆ p3d

std::vector< Eigen::Vector3d >* pic::NelderMeadOptRadialDistortion::p3d

The documentation for this class was generated from the following file: