tracking: Object tracking

Description Usage Arguments Examples

Description

These functions are for tracking and analyzing objects in movies. tracking calculates various values related to object motion. trackDistance calculates distance traveled by objects during the specified time window. trackSpeed calculates average speed of objects during the specified time window. angularVelocity calculates angular velocity of moving objects. msd calculates mean square diviation of object trajectories.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
angularVelocity(xy, bin = 5, interval = 1)

msd(xy)

trackDistance(xy, unit = 1)

trackSpeed(dist, bin = 5, interval = 1)

tracking(rdir, mask = NULL, w = 0, h = 0, maxdist = 20, bin = 3,
  interval = 0.1, unit = 1, size = NULL, ftrs = NULL)

Arguments

xy

A matrix of object coordinates.

bin

Window size for averaging.

interval

Time intervals.

unit

Unit length.

dist

Traveled distance (e.g. the output of trackDistance).

mask

Labeled binary movie.

maxdist

Maximum distance for object association.

size

Maximum size difference for objects association.

xy

A target image of Image object or an array.

Examples

1
2
3
4
5

tkatsuki/dipr documentation built on April 19, 2021, 7:18 p.m.