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 nonlinear warp More...
#include <DICe_Simplex.h>
Public Member Functions | |
Warp_Simplex (Teuchos::RCP< Image > left_img, Teuchos::RCP< Image > right_img, Triangulation *tri, const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null) | |
Default constructor. More... | |
virtual | ~Warp_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. | |
Triangulation * | tri_ |
Pointer to a triangulation. | |
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 nonlinear warp
DICe::Warp_Simplex::Warp_Simplex | ( | Teuchos::RCP< Image > | left_img, |
Teuchos::RCP< Image > | right_img, | ||
Triangulation * | tri, | ||
const Teuchos::RCP< Teuchos::ParameterList > & | params = Teuchos::null |
||
) |
Default constructor.
left_img | the left image |
right_img | the right image |
tri | pointer to a triangulation class |
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.