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

image mask initialization functor note, the number of pixels is the size of the x and y arrays, not the image More...

#include <DICe_ImageFunctors.h>

Public Member Functions

 Mask_Init_Functor (scalar_device_view_2d mask, pixel_coord_device_view_1d x, pixel_coord_device_view_1d y)
 
KOKKOS_INLINE_FUNCTION void operator() (const int_t pixel_index) const
 operator
 

Public Attributes

scalar_device_view_2d mask_
 pointer to the mask dual view
 
pixel_coord_device_view_1d x_
 pointer to the array of x values to enable (mask = 1.0)
 
pixel_coord_device_view_1d y_
 pointer to the array of y values to enable (mask = 1.0)
 

Detailed Description

image mask initialization functor note, the number of pixels is the size of the x and y arrays, not the image

Constructor & Destructor Documentation

◆ Mask_Init_Functor()

DICe::Mask_Init_Functor::Mask_Init_Functor ( scalar_device_view_2d  mask,
pixel_coord_device_view_1d  x,
pixel_coord_device_view_1d  y 
)
inline

all other pixels will set to mask = 0.0 constructor

Parameters
maskpointer to the mask array on the device
xpointer to the array of x coordinates on the device
ypointer to the array of y coordinates on the device