BTK Matlab Wrapper
0.3dev.0
Matlab bindings for the Biomechanical ToolKit library (BTK)
|
Crop the acquistion and adapt the events' frame/time.
btkCropAcquisition(h, startAt)
btkCropAcquisition(h, startAt, numFrames)
h | Handle pointing to a C++ btk::Acquisition object. |
startAt | Integer containing the frame where the cut will start. |
startAt | Number of frames to keep. |
numFrames | Handle pointing to a C++ btk::Acquisition object. |
btkCropAcquisition(h, startAt)
keeps all the frames from the frame startAt
. The function shifts also the events' frame/time by adding the difference between the new first frame and the old one. For this adaptation, the sample frequency must be non-null.btkCropAcquisition(h, startAt, numFrames)
keeps exactly numFrames
frames starting from the frame startAt
.