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
|
a simplex that performs a quadratic homography transformation More...
#include <DICe_Simplex.h>
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 > ¶ms=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 > ¶ms=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< Image > | left_img_ |
Pointer to the left image. | |
Teuchos::RCP< Image > | right_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. | |
a simplex that performs a quadratic homography transformation
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.
left_img | the left image |
right_img | the right image |
ulx | x coordinate of the upper left corner |
uly | y coordinate of the upper left corner |
lrx | x coordinate of the lower right corner |
lry | y coordinate of the lower right corner (note: in loops the extents are inclusive of the bounds) |
params | Paramters that define the varaitions on the initial guess, convergence tolerance and max number of iterations |
|
virtual |
the objective function that the simplex method is optimizing
variables | the current guess at which to evaluate the objective |
Implements DICe::Simplex.