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 | Private Attributes | List of all members
DICe::ConstantValue_Image_Deformer Class Reference

a class that provides an exact solution that is constant valued The image deforming More...

#include <DICe_ImageUtils.h>

Inheritance diagram for DICe::ConstantValue_Image_Deformer:
DICe::Image_Deformer

Public Member Functions

 ConstantValue_Image_Deformer (const scalar_t &value_x, const scalar_t &value_y)
 
 ConstantValue_Image_Deformer ()
 parameterless constructor
 
virtual void compute_deformation (const scalar_t &coord_x, const scalar_t &coord_y, scalar_t &bx, scalar_t &by)
 
virtual void compute_deriv_deformation (const scalar_t &coord_x, const scalar_t &coord_y, scalar_t &bxx, scalar_t &bxy, scalar_t &byx, scalar_t &byy)
 
virtual ~ConstantValue_Image_Deformer ()
 destructor
 
- Public Member Functions inherited from DICe::Image_Deformer
 Image_Deformer (const scalar_t &rel_factor_disp, const scalar_t &rel_factor_strain)
 constructor
 
Teuchos::RCP< Imagedeform_image (Teuchos::RCP< Image > ref_image)
 
void compute_displacement_error (const scalar_t &coord_x, const scalar_t &coord_y, const scalar_t &sol_x, const scalar_t &sol_y, scalar_t &error_x, scalar_t &error_y, const bool use_mag=false, const bool relative=true)
 
void compute_lagrange_strain_error (const scalar_t &coord_x, const scalar_t &coord_y, const scalar_t &sol_xx, const scalar_t &sol_xy, const scalar_t &sol_yy, scalar_t &error_xx, scalar_t &error_xy, scalar_t &error_yy, const bool use_mag=false, const bool relative=true)
 
void compute_lagrange_strain (const scalar_t &coord_x, const scalar_t &coord_y, scalar_t &strain_xx, scalar_t &strain_xy, scalar_t &strain_yy)
 

Private Attributes

scalar_t value_x_
 magnitude of the motion
 
scalar_t value_y_
 

Detailed Description

a class that provides an exact solution that is constant valued The image deforming

Constructor & Destructor Documentation

◆ ConstantValue_Image_Deformer()

DICe::ConstantValue_Image_Deformer::ConstantValue_Image_Deformer ( const scalar_t value_x,
const scalar_t value_y 
)
inline

constructor

Parameters
valuevalue of the motion in pixels

Member Function Documentation

◆ compute_deformation()

virtual void DICe::ConstantValue_Image_Deformer::compute_deformation ( const scalar_t coord_x,
const scalar_t coord_y,
scalar_t bx,
scalar_t by 
)
inlinevirtual

compute the analytical displacement at the given coordinates

Parameters
coord_xthe x-coordinate for the evaluation location
coord_ythe y-coordinate
bx[out] the x displacement
by[out] the y displacement

Reimplemented from DICe::Image_Deformer.

◆ compute_deriv_deformation()

virtual void DICe::ConstantValue_Image_Deformer::compute_deriv_deformation ( const scalar_t coord_x,
const scalar_t coord_y,
scalar_t bxx,
scalar_t bxy,
scalar_t byx,
scalar_t byy 
)
inlinevirtual

compute the analytical derivatives at the given coordinates

Parameters
coord_xthe x-coordinate for the evaluation location
coord_ythe y-coordinate
bxx[out] the xx deriv
bxy[out] the xy deriv
byx[out] the yx deriv
byy[out] the yy deriv

Reimplemented from DICe::Image_Deformer.