75 std::vector<std::vector<Marker>>& markerData,
void preprocessMarkerGaps(std::vector< std::vector< Marker > > &markerData, const GapFillConfig &config)
Pre-process marker data to fill temporary gaps and blend off permanent dropouts.
Configuration for marker gap filling and blend-off.
double maxGapDisplacement
Displacement threshold (cm) above which the standard maxGapFrames applies.
size_t maxGapFrames
Maximum gap length (in frames) to interpolate using cubic Hermite.
size_t minVisibleFrames
Minimum number of visible frames for a segment to be considered reliable.
size_t blendOffFrames
Number of frames over which to blend off permanently dropped markers.
bool enabled
Master switch.
size_t velocityWindowFrames
Number of visible frames to use for velocity estimation when extrapolating permanent dropouts.
size_t maxGapFramesStationary
Extended maximum gap length (in frames) for near-stationary markers.