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::ZNSSD_Gamma_Functor Struct Reference

znssd gamma functor More...

#include <DICe_SubsetFunctors.h>

Public Member Functions

 ZNSSD_Gamma_Functor (intensity_device_view_1d ref_intensities, intensity_device_view_1d def_intensities, bool_device_view_1d is_active, bool_device_view_1d is_deactivated_this_step, const scalar_t &mean_r, const scalar_t &mean_d, const scalar_t &mean_sum_r, const scalar_t &mean_sum_d)
 
KOKKOS_INLINE_FUNCTION void operator() (const int_t pixel_index, scalar_t &gamma) const
 operator
 

Public Attributes

intensity_device_view_1d ref_intensities_
 reference image intensities
 
intensity_device_view_1d def_intensities_
 deformed image intensities
 
bool_device_view_1d is_active_
 active pixel flags (persistent)
 
bool_device_view_1d is_deactivated_this_step_
 active pixel flags (for current step)
 
scalar_t mean_r_
 mean reference intensity value
 
scalar_t mean_d_
 mean deformed intensity value
 
scalar_t mean_sum_r_
 sum of the reference intensity values minus the mean
 
scalar_t mean_sum_d_
 sum of the deformed intensity values minus the mean
 

Detailed Description

znssd gamma functor

Constructor & Destructor Documentation

◆ ZNSSD_Gamma_Functor()

DICe::ZNSSD_Gamma_Functor::ZNSSD_Gamma_Functor ( intensity_device_view_1d  ref_intensities,
intensity_device_view_1d  def_intensities,
bool_device_view_1d  is_active,
bool_device_view_1d  is_deactivated_this_step,
const scalar_t mean_r,
const scalar_t mean_d,
const scalar_t mean_sum_r,
const scalar_t mean_sum_d 
)
inline

constructor

Parameters
ref_intensitiespointer to the reference intensities
def_intensitiespointer to the deformed intensities
is_activearray of flags of active pixels (persistent)
is_deactivated_this_steparray of flags for pixels deactivated this step only
mean_rmean of the reference values
mean_dmean of the deformed intensity values
mean_sum_rsum of values minus the mean for reference intensities
mean_sum_dsum of values minus the mean for reference intensities