Resampling
Algorithm : Upsampling
Input :
and a target rate sampling_min_output_rate, Interpolate
time and position between each
by linearly adding interpolated values
This is done by adding linearly interpolated values so that the output
stream is
Each
is the minimum integer such that
and the linear
interpolation means
Output :
the upsampled position and times. This verifies
Remark : As this is a streaming algorithm, we only
calculate this interpolation with respect to the latest stroke
position.