View source: R/functions_smooth_derive.r
kin.smooth.repair | R Documentation |
This function smooths kinematic data and repairs gaps in the signal by interpolating missing values, but only if the gaps are smaller than a specified maximum number of frames.
kin.smooth.repair(
x,
y.raw,
lam = 1e-18,
maxFrames = 18,
fingersOccluded,
framesOccluded
)
x |
Numeric vector containing the time or frame indices |
y.raw |
Numeric vector containing the raw kinematic data to be smoothed and repaired |
lam |
Smoothing parameter lambda (default: 1e-18) |
maxFrames |
Maximum number of consecutive frames that can be interpolated (default: 18) |
fingersOccluded |
Binary vector indicating which frames contain occluded fingers (1) or not (0) |
framesOccluded |
Numeric vector containing the count of consecutive occluded frames |
A numeric vector containing the smoothed and repaired kinematic data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.