Tracore
NStage.h
1 //
2 // Created by wrede on 25.04.16.
3 //
4 
5 #ifndef GBMOT_KOERNERTRACKING_H
6 #define GBMOT_KOERNERTRACKING_H
7 
8 #include "../core/DetectionSequence.h"
9 #include "../core/Tracklet.h"
10 #include "../graph/Definitions.h"
11 
12 namespace algo
13 {
17  class NStage
18  {
19  private:
23  const size_t max_frame_skip_;
24 
28  const double penalty_values_;
29 
33  const size_t max_tracklet_counts_;
34  public:
41  NStage(size_t max_frame_skip, double penalty_value,
42  size_t max_tracklet_count);
43 
49  void CreateObjectGraph(DirectedGraph& graph,
50  const core::DetectionSequence& detections);
51 
58  void CreateTrackletGraph(DirectedGraph& obj_graph,
59  DirectedGraph& tlt_graph,
60  size_t frame_count);
61 
68  void ExtractTracks(DirectedGraph& tlt_graph,
69  size_t depth,
70  std::vector<core::TrackletPtr>& tracks);
71  };
72 }
73 
74 
75 #endif //GBMOT_KOERNERTRACKING_H
NStage(size_t max_frame_skip, double penalty_value, size_t max_tracklet_count)
Definition: NStage.cpp:11
Definition: NStage.h:17
void CreateObjectGraph(DirectedGraph &graph, const core::DetectionSequence &detections)
Definition: NStage.cpp:18
void ExtractTracks(DirectedGraph &tlt_graph, size_t depth, std::vector< core::TrackletPtr > &tracks)
Definition: NStage.cpp:211
Definition: KShortestPaths.cpp:12
void CreateTrackletGraph(DirectedGraph &obj_graph, DirectedGraph &tlt_graph, size_t frame_count)
Definition: NStage.cpp:91
Definition: DetectionSequence.h:19