Tracore
Public Member Functions | List of all members
algo::NStage Class Reference

#include <NStage.h>

Public Member Functions

 NStage (std::vector< size_t > max_frame_skip, std::vector< double > penalty_value, std::vector< size_t > max_tracklet_count)
 
void Run (const core::DetectionSequence &sequence, std::vector< core::TrackletPtr > &tracks)
 

Detailed Description

Implementation of the two-staged graph-based multi-object tracker. Extended to allow N stages.

Constructor & Destructor Documentation

algo::NStage::NStage ( std::vector< size_t >  max_frame_skip,
std::vector< double >  penalty_value,
std::vector< size_t >  max_tracklet_count 
)

Initializes the algorithm wih the given values. The number of stages is determined by the size of the given vectors.

Parameters
max_frame_skipThe maximum edge length to link objects
penalty_valueThe edge value to link to source and sink
max_tracklet_countThe maximum number of tracklets to create

Member Function Documentation

void algo::NStage::Run ( const core::DetectionSequence sequence,
std::vector< core::TrackletPtr > &  tracks 
)

Runs the algorithm on the specified sequence and stores the found tracks into the specified tracks vector.

Parameters
sequenceThe detection values to use
tracksA vector to store the found tracks in

The documentation for this class was generated from the following files: