28#ifndef SINGLEDIC_CONFIG_H
29#define SINGLEDIC_CONFIG_H
54 std::string
bloc =
"bloc1";
Wraps a CPPxDIC Config and adds a single-camera sub-path scheme.
std::string seedFile() const
Seed file, shared per bloc, keyed by reference trial and direction.
int limit_grayscale_high
Upper saturation clamp (satur high).
int ncorr_number
ncorr_number tag (1/2) used to name outputs, mirroring forward/backward passes.
std::string reftrial
Reference trial name (shared per bloc).
bool do_matching
If true, run a matching-to-reference-trial pass before tracking (Vik ncorr_matching2ref_single....
cppxdic::BaseParameters toBaseParameters() const
Build a BaseParameters view so existing CPPxDIC helpers (ROIManager, ImageProcessor,...
int param_filt_low
Bandpass low cutoff.
std::string inputTrialDir() const
Directory for the current trial's input (subject/bloc/trial).
int idx_frame_start
First frame to analyse (1-based, MATLAB-style).
bool write_mat
Whether to write a MATLAB-compatible .mat sidecar next to outputs.
std::string bloc
Bloc / block folder name.
std::string outputBlocDir() const
Output directory shared per (subject, bloc) — holds ROI/seed reference files.
std::string ncorrStem() const
ncorr tracking output stem (no extension). Mirrors Vik: ncorr<ncorr_number>
std::string tracking_dir
Tracking direction: "forward" or "backward" (backward flips the sequence).
std::string matchingFile(const std::string &ext=".bin") const
Matching-to-reference cache file. Mirrors Vik: MATCHING2<reftrial>.mat/.bin.
std::string roiFile() const
ROI mask file, shared per bloc and keyed by reference trial.
bool filter_im_mode
Apply bandpass+normalise filtering before DIC.
bool write_csv
Whether to write a CSV of the tracked feature trajectories.
std::string outputTrialDir() const
Output directory for the current trial (subject/bloc/trial under dic_path).
int limit_grayscale_low
Lower saturation clamp (satur low).
int frame_jump
Frame stride.
std::string inputRefTrialDir() const
Directory for the reference trial's input (subject/bloc/reftrial).
int idx_frame_end
Last frame (0 = "to end of sequence").
SinglediConfig(const Config &cfg)
std::string trial
Current trial name (video stem).
Config base
Underlying engine configuration (owns all DIC/ncorr/viz parameters).
std::string vid_root() const
Root directory that holds per-subject video folders (default "<data>/vid").
int param_filt_high
Bandpass high cutoff.
std::string subject
Subject folder name (e.g. "S01").
Base parameters structure Contains fundamental paths and settings for DIC analysis Equivalent to base...
std::string baseResultPath