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 | Public Attributes | List of all members
DICe::Transform_Functor Struct Reference

image transformation functor given parameters theta, u, and v, transform the given image uses the keys interpolant (TODO add other interpolants) More...

#include <DICe_ImageFunctors.h>

Public Member Functions

 Transform_Functor (intensity_device_view_2d intensities_from, intensity_device_view_2d intensities_to, const int_t width, const int_t height, const int_t cx, const int_t cy, Teuchos::RCP< const std::vector< scalar_t > > def)
 
KOKKOS_INLINE_FUNCTION void operator() (const int_t pixel_index) const
 operator
 

Public Attributes

intensity_device_view_2d intensities_from_
 pointer to the intensity dual view
 
intensity_device_view_2d intensities_to_
 pointer to the intensity dual view
 
scalar_t cx_
 centroid in x (note this is the transformed centroid)
 
scalar_t cy_
 centroid in y (node this is the transformed centroid)
 
int_t width_
 width of the image
 
int_t height_
 height of the image
 
scalar_t u_
 displacement x;
 
scalar_t v_
 displacement y;
 
scalar_t t_
 rotation angle
 
scalar_t ex_
 normal strain x
 
scalar_t ey_
 normal strain y
 
scalar_t g_
 shear strain xy
 
scalar_t cost_
 cosine of theta
 
scalar_t sint_
 sin of theta
 
scalar_t tol_
 tolerance
 

Detailed Description

image transformation functor given parameters theta, u, and v, transform the given image uses the keys interpolant (TODO add other interpolants)

Constructor & Destructor Documentation

◆ Transform_Functor()

DICe::Transform_Functor::Transform_Functor ( intensity_device_view_2d  intensities_from,
intensity_device_view_2d  intensities_to,
const int_t  width,
const int_t  height,
const int_t  cx,
const int_t  cy,
Teuchos::RCP< const std::vector< scalar_t > >  def 
)
inline

constructor

Parameters
intensities_frompointer to the intensity array to be transformed
intensities_topointer to the result intensity array
widththe width of the image
heightthe height of the image
cxcentroid in x
cycentroid in y
defthe deformation map parameters