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
|
subset intensity value initialization functor More...
#include <DICe_SubsetFunctors.h>
Classes | |
struct | Map_Bilinear_Tag |
tag More... | |
struct | Map_Keys_Tag |
tag More... | |
struct | No_Map_Tag |
tag More... | |
Public Member Functions | |
Subset_Init_Functor (Subset *subset, Teuchos::RCP< Image > image, Teuchos::RCP< const std::vector< scalar_t > > deformation=Teuchos::null, const Subset_View_Target target=REF_INTENSITIES) | |
constructor | |
KOKKOS_INLINE_FUNCTION void | operator() (const Map_Bilinear_Tag &, const int_t pixel_index) const |
KOKKOS_INLINE_FUNCTION void | operator() (const Map_Keys_Tag &, const int_t pixel_index) const |
KOKKOS_INLINE_FUNCTION void | operator() (const No_Map_Tag &, const int_t pixel_index) const |
functor to perform direct access of image pixel values without mapping | |
Public Attributes | |
scalar_t | u_ |
scalar_t | v_ |
displacement y | |
scalar_t | t_ |
rotation | |
scalar_t | ex_ |
normal strain xx | |
scalar_t | ey_ |
normal strain yy | |
scalar_t | g_ |
shear strain xy | |
scalar_t | cos_t_ |
cos theta | |
scalar_t | sin_t_ |
sin theta | |
int_t | cx_ |
x centroid of the deformation | |
int_t | cy_ |
y centroid of the deformation | |
int_t | image_w_ |
width of the image | |
int_t | image_h_ |
height of the image | |
int_t | offset_x_ |
offset taken from image rcp | |
int_t | offset_y_ |
offset taken from image rcp | |
scalar_t | tol_ |
tolerance | |
intensity_device_view_2d | image_intensities_ |
2d view of image intensities | |
intensity_device_view_1d | subset_intensities_ |
1d view of the subset intensities | |
pixel_coord_device_view_1d | x_ |
view of x coordinates | |
pixel_coord_device_view_1d | y_ |
view of y coordinates | |
subset intensity value initialization functor
KOKKOS_INLINE_FUNCTION void DICe::Subset_Init_Functor::operator() | ( | const Map_Bilinear_Tag & | , |
const int_t | pixel_index | ||
) | const |
functor to perform a mapping on the initial coordinates to get the deformed pixel intensity using bilinear interpolation
KOKKOS_INLINE_FUNCTION void DICe::Subset_Init_Functor::operator() | ( | const Map_Keys_Tag & | , |
const int_t | pixel_index | ||
) | const |
functor to perform a mapping on the initial coordinates to get the deformed pixel intensity using Keys 4th-order interpolation
scalar_t DICe::Subset_Init_Functor::u_ |
deformation parameters displacement x