simplerTracker: A Simple Tracker

View source: R/misc.R

simplerTrackerR Documentation

A Simple Tracker

Description

Given a set of current x/y positions, this function attempts to find which trajectory they belong to in a set of past tracked positions using the Hungarian method.

Usage

simplerTracker(current, past, maxDist = 10)

Arguments

current

A data frame with at least 4 columns: x, y, frame, and track.

past

A data frame with at least 4 columns: x, y, frame, and track.

maxDist

The maximum distance between two successive positions belonging to the same trajectory.

Value

A data frame with at least 4 columns: x, y, frame, and track.

Author(s)

Simon Garnier, garnier@njit.edu


swarm-lab/trackR documentation built on Nov. 20, 2022, 11:29 a.m.