CPPxDIC
C++ Digital Image Correlation library for fingertip 3D reconstruction
Loading...
Searching...
No Matches
matlab_functions.h File Reference
#include "ncorr.h"
#include <opencv2/core.hpp>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  cppxdic
 DataSerializer - Abstract base class for format-agnostic DIC data I/O.
 

Functions

int cppxdic::matlab_replacebadcorr (ncorr::DIC_analysis_output &data, double level_corr_coef=1.0, double sigma_spatial=1.0, double sigma_temporal=2.0, double shrink_factor=0.9)
 Replaces badly correlated displacement data with spatiotemporally filtered values.
 
std::vector< cv::Mat > cppxdic::matlab_imgaussfilt3 (const std::vector< cv::Mat > &volume, double sigma_spatial, double sigma_temporal)
 Applies a 3D Gaussian filter (spatial + temporal) to a volume of 2D fields.
 
cv::Mat cppxdic::matlab_shrink_mask (const cv::Mat &mask, double factor)
 Shrinks a binary mask by a scale factor around its centroid.