Digital Image Correlation Engine  Version 1.0
A modular, high-performance, image correlation tool used to compute full-field displacements and strains from digital images
Public Member Functions | Protected Attributes | List of all members
DICe::Quadratic_Homography_Simplex Class Reference

a simplex that performs a quadratic homography transformation More...

#include <DICe_Simplex.h>

Inheritance diagram for DICe::Quadratic_Homography_Simplex:
DICe::Simplex

Public Member Functions

 Quadratic_Homography_Simplex (Teuchos::RCP< Image > left_img, Teuchos::RCP< Image > right_img, const int_t &ulx, const int_t &uly, const int_t &lrx, const int_t &lry, const Teuchos::RCP< Teuchos::ParameterList > &params=Teuchos::null)
 Default constructor. More...
 
virtual ~Quadratic_Homography_Simplex ()
 destructor
 
virtual scalar_t objective (Teuchos::RCP< std::vector< scalar_t > > variables)
 the objective function that the simplex method is optimizing More...
 
- Public Member Functions inherited from DICe::Simplex
 Simplex (const Teuchos::RCP< Teuchos::ParameterList > &params=Teuchos::null)
 Default constructor. More...
 
virtual ~Simplex ()
 destructor
 
virtual Status_Flag minimize (Teuchos::RCP< std::vector< scalar_t > > variables, Teuchos::RCP< std::vector< scalar_t > > deltas, int_t &num_iterations, const scalar_t &threshold=1.0E-10)
 Returns the status of the algorithm when complete. More...
 

Protected Attributes

Teuchos::RCP< Imageleft_img_
 Pointer to the left image.
 
Teuchos::RCP< Imageright_img_
 Pointer to the right image.
 
int_t ulx_
 coordinates of the window corners to optimize
 
int_t uly_
 
int_t lrx_
 
int_t lry_
 
- Protected Attributes inherited from DICe::Simplex
int_t max_iterations_
 Maximum allowed iterations for convergence.
 
double tolerance_
 Convergence tolerance.
 
scalar_t tiny_
 Numerically small value.
 

Detailed Description

a simplex that performs a quadratic homography transformation

Constructor & Destructor Documentation

◆ Quadratic_Homography_Simplex()

DICe::Quadratic_Homography_Simplex::Quadratic_Homography_Simplex ( Teuchos::RCP< Image left_img,
Teuchos::RCP< Image right_img,
const int_t ulx,
const int_t uly,
const int_t lrx,
const int_t lry,
const Teuchos::RCP< Teuchos::ParameterList > &  params = Teuchos::null 
)

Default constructor.

Parameters
left_imgthe left image
right_imgthe right image
ulxx coordinate of the upper left corner
ulyy coordinate of the upper left corner
lrxx coordinate of the lower right corner
lryy coordinate of the lower right corner (note: in loops the extents are inclusive of the bounds)
paramsParamters that define the varaitions on the initial guess, convergence tolerance and max number of iterations

Member Function Documentation

◆ objective()

virtual scalar_t DICe::Quadratic_Homography_Simplex::objective ( Teuchos::RCP< std::vector< scalar_t > >  variables)
virtual

the objective function that the simplex method is optimizing

Parameters
variablesthe current guess at which to evaluate the objective

Implements DICe::Simplex.