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

#include <nelder_mead_opt_homography.hpp>

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

Public Member Functions

 NelderMeadOptHomography (std::vector< Eigen::Vector2f > &m0, std::vector< Eigen::Vector2f > &m1, std::vector< unsigned int > inliers)
 NelderMeadOptHomography. More...
 
Eigen::Vector2f Homography (Eigen::Matrix3f &H, Eigen::Vector2f &p)
 Homography. More...
 
float function (float *x, unsigned int n)
 function More...
 
float * run (float *x_start, unsigned int n, float epsilon=1e-4f, int max_iterations=1000, float *x=NULL)
 run More...
 
- Public Member Functions inherited from pic::NelderMeadOptBase< float >
 NelderMeadOptBase ()
 NelderMeadOptBase. More...
 
void GlobalSettings ()
 GlobalSettings. More...
 

Public Attributes

std::vector< Eigen::Vector2f > m0
 
std::vector< Eigen::Vector2f > m1
 
- 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

◆ NelderMeadOptHomography()

pic::NelderMeadOptHomography::NelderMeadOptHomography ( std::vector< Eigen::Vector2f > &  m0,
std::vector< Eigen::Vector2f > &  m1,
std::vector< unsigned int >  inliers 
)
inline

NelderMeadOptHomography.

Parameters
m0
m1
inliers

Member Function Documentation

◆ function()

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

function

Parameters
x
n
Returns

Reimplemented from pic::NelderMeadOptBase< float >.

◆ Homography()

Eigen::Vector2f pic::NelderMeadOptHomography::Homography ( Eigen::Matrix3f &  H,
Eigen::Vector2f &  p 
)
inline

Homography.

Parameters
H
p
Returns

◆ run()

float* pic::NelderMeadOptHomography::run ( float *  x_start,
unsigned int  n,
float  epsilon = 1e-4f,
int  max_iterations = 1000,
float *  x = NULL 
)
inlinevirtual

run

Parameters
x_start
n
epsilon
x
Returns

Reimplemented from pic::NelderMeadOptBase< float >.

Member Data Documentation

◆ m0

std::vector< Eigen::Vector2f > pic::NelderMeadOptHomography::m0

◆ m1

std::vector< Eigen::Vector2f > pic::NelderMeadOptHomography::m1

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