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

Functor to compute the sum minus the mean (value used in ZNSSD criteria) More...

#include <DICe_SubsetFunctors.h>

Public Member Functions

 Intensity_Sum_Minus_Mean_Functor (intensity_device_view_1d intensities, bool_device_view_1d is_active, bool_device_view_1d is_deactivated_this_step, scalar_t &mean)
 
KOKKOS_INLINE_FUNCTION void operator() (const int_t pixel_index, scalar_t &sum) const
 operator
 

Public Attributes

intensity_device_view_1d intensities_
 pointer to the intensity values on the device
 
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_
 mean value
 

Detailed Description

Functor to compute the sum minus the mean (value used in ZNSSD criteria)

Constructor & Destructor Documentation

◆ Intensity_Sum_Minus_Mean_Functor()

DICe::Intensity_Sum_Minus_Mean_Functor::Intensity_Sum_Minus_Mean_Functor ( intensity_device_view_1d  intensities,
bool_device_view_1d  is_active,
bool_device_view_1d  is_deactivated_this_step,
scalar_t mean 
)
inline

constructor

Parameters
intensitiesthe image intensity values
meanthe mean value
is_activeflags for pixels that are permanently activated or de-activated
is_deactivated_this_stepflags for pixels that are actived or de-activated for this step only