CPPxDIC
C++ Digital Image Correlation library for fingertip 3D reconstruction
Loading...
Searching...
No Matches
single_dic_workflow.cpp File Reference

Implementation of the single-camera 2D DIC step-D pipeline. More...

#include "singledic/single_dic_workflow.h"
#include "image_processor.h"
#include "roi_manager.h"
#include "parameters.h"
#include "logging.h"
#include <ncorr.h>
#include <ncorr/frame_reader.h>
#include <matio.h>
#include <opencv2/opencv.hpp>
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <limits>

Go to the source code of this file.

Namespaces

namespace  singledic
 

Detailed Description

Implementation of the single-camera 2D DIC step-D pipeline.

See include/singledic/single_dic_workflow.h for the MATLAB cross-reference. The flow mirrors process_single_trial_ncorr.m, restricted to ONE camera and ONE tracking pass (no stereo matching-between-cameras, no stepE/stepF 3D).

Reused CPPxDIC pieces:

  • cppxdic::ImageProcessor : saturate(), applyBandpassFilter(), computePercentileBoundaries(), normalizeAndClamp() (satur/bandpass/normalise)
  • cppxdic::ROIManager : loadOrCreateROI(), loadOrCreateSeed(), findROICenter() (ROI/seed handling)
  • cppxdic::BaseParameters : the struct the above helpers consume DIC engine: ncorr::NcorrSession (in-memory, dependency-light).

Definition in file single_dic_workflow.cpp.