times | R Documentation |
times
calculates the time in seconds that the tracked particle
remains in the zones of interest. The function uses the framerate
of the analyzed video and the number of frames located within the
zone of interest as parameters to calculate the result.
times(output.swtr = NA, zones.swtr = NA, video.swtr = NA)
output.swtr |
Swistrack4 output containing the xy coordinates and frames of the video tracked particle |
zones.swtr |
Table with the coordinates of the zones of interest
created with the |
video.swtr |
Object containing the information of the video
created with the |
A table containing the values of time that the particle remained in each of the zones of interest.
times(output.swtr, zones.swtr, video.swtr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.