dicscanmethod.hpp

namespace scanmethod

Functions

void signalHandler(int signal)
void image(const double *img_ref, const Interpolator &interp_def, const util::SubsetData &ssdata, const util::Config &conf, const int img_num)

straightforward image scan method. Loops over the subsets as a raster across the image. initial subset locations are distrubuted evenly across the image

Parameters:
  • img_ref – pointer to reference image

  • img_def – pointer to deformed image

  • ssdata – pointer to subset information

  • conf – pointer to DIC config struct

  • img_num – current image number

void image_with_bf(const double *img_ref, const double *img_def, const Interpolator &interp_def, const util::SubsetData &ssdata, const util::Config &conf, const int img_num)

Image scan with a brute force search method to handle large displacements or poor images. initial subset locations are distrubuted evenly across the image and then a brute force search is performed to find the best match for the first subset and any other poorly correlated subsets.

Parameters:
  • img_ref – pointer to reference image

  • img_def – pointer to deformed image

  • ssdata – pointer to subset information

  • conf – pointer to DIC config struct

  • img_num – current image number

void reliability_guided(const double *img_ref, const double *img_def, const Interpolator &interp_def, const std::vector<util::SubsetData> &ssdata, const util::Config &conf, const int img_num, const bool save_at_end)

reliability guided scan method. correlation is calculated for initial seed point and nearest neighbours.image Scan proceeds along path with better matching subsets. A full indepth outline of the method can be found here: https://opg.optica.org/ao/abstract.cfm?uri=ao-48-8-1535

Parameters:
  • img_ref – pointer to reference image

  • img_def – pointer to deformed image

  • ssdata – pointer to subset information

  • conf – pointer to DIC config struct

  • img_num – current image number

void multi_window_fourier(const double *img_ref, const double *img_def, const Interpolator &interp_def, const std::vector<util::SubsetData> &ssdata, const util::Config &conf, const int img_num)

Multi Window Fast Fourier Transform (FFT) DIC method. correlation is calculated for initial seed point and nearest neighbours.image Scan proceeds along path with better matching subsets. A full indepth outline of the method can be found here: https://opg.optica.org/ao/abstract.cfm?uri=ao-48-8-1535.

Parameters:
  • img_ref – pointer to reference image

  • img_def – pointer to deformed image

  • ssdata – pointer to subset information

  • conf – pointer to DIC config struct

  • img_num – current image number

void single_window_fourier(const double *img_ref, const double *img_def, const Interpolator &interp_def, const util::SubsetData &ssdata, const util::Config &conf, const int img_num)