SwisTrack/Components/DynamicNearestNeighborTracking

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Description[edit | edit source]

Greedy nearest neighbor tracking, that automatically creates and destroys tracks.

Parameters[edit | edit source]

InitialWindowSize[edit | edit source]

The length in pixels of the side of a square to make an initial window size. It will always use the same size. Really it should set this automatically from the particle...

FrameKillThreshold[edit | edit source]

The number of frames to keep the track around before killing it, if it hasn't been updated.

MinNewTrackDistance[edit | edit source]

The minimum distance a new track must be from existing tracks.

MaxDistance[edit | edit source]

Inherited from NearestNeighborTracking. If the distance between a particle and a track is larger than this distance, the particle will not be associated with the track. If in addition it is greater than MinNewTrackDistance, a new track will be created.

TrackDistanceKillThreshold[edit | edit source]

If two tracks get less than this distance to each other, the shorter one will be destroyed.

MaxNumber[edit | edit source]

The number of tracks. I think.