dicscanmethod.hpp

namespace scanmethod

Functions

void image(const double *img_ref, const Interpolator &interp_def, const subset::Grid &ss_grid, const util::Config &conf, const int img_num, OptResultArrays &result_arrays)

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

Parameters:
  • result_arrays – where to populate the results

  • img_ref – pointer to reference image

  • img_def – pointer to deformed image

  • ss_grid – pointer to subset information

  • conf – pointer to DIC config struct

  • img_num – current image number

void multiwindow_reliability_guided(const double *img_ref, const double *img_def, const Interpolator &interp_def, const std::vector<subset::Grid> &ss_grid, const util::Config &conf, const int img_num, OptResultArrays &result_arrays)

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

  • ss_grid – pointer to subset information

  • conf – pointer to DIC config struct

  • img_num – current image number

void singlewindow_reliability_guided(const double *img_ref, const double *img_def, const Interpolator &interp_def, const std::vector<subset::Grid> &ss_grid, const util::Config &conf, const int img_num, OptResultArrays &result_arrays)

reliability guided scan method using a single grid FFTCC to estimate rigid displacements.

void singlewindow_incremental_reliability_guided(const double *img_ref, const double *img_def, const Interpolator &interp_ref, const Interpolator &interp_def, const std::vector<subset::Grid> &ss_grid, const util::Config &conf, const int img_num_ref, const int img_num_def, OptResultArrays &result_arrays)

reliability guided scan method with incremental updating.

void multiwindow(const double *img_ref, const double *img_def, const Interpolator &interp_def, const std::vector<subset::Grid> &ss_grid, const util::Config &conf, const int img_num, OptResultArrays &result_arrays)

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

  • ss_grid – pointer to subset information

  • conf – pointer to DIC config struct

  • img_num – current image number