Package edu.gsu.cs.dmlab.tracking.stages
Class BaseUpperStage
- java.lang.Object
-
- edu.gsu.cs.dmlab.tracking.stages.BaseUpperStage
-
- All Implemented Interfaces:
ISTProcessingStage
- Direct Known Subclasses:
StageThree
,StageTwo
public class BaseUpperStage extends Object implements ISTProcessingStage
Is the base of the second and third stages in the iterative tracking algorithm of Kempton et. al 2015 and 2018.- Author:
- Thaddeus Gholston and Dustin Kempton Data Mining Lab, Georgia State University
-
-
Field Summary
Fields Modifier and Type Field Description protected int
maxFrameSkip
-
Constructor Summary
Constructors Constructor Description BaseUpperStage(ISTSearchAreaProducer predictor, ISTEventTrackingFactory factory, ISTTrackingTrajectoryIndexer tracksIdxr, ISTTrackingEventIndexer evntIdxr, int maxFrameSkip, int stage, int numThreads)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
List<ISTTrackingTrajectory>
process()
Returns a list of ISTTrackingTrajectory that were produced from the process.
-
-
-
Constructor Detail
-
BaseUpperStage
public BaseUpperStage(ISTSearchAreaProducer predictor, ISTEventTrackingFactory factory, ISTTrackingTrajectoryIndexer tracksIdxr, ISTTrackingEventIndexer evntIdxr, int maxFrameSkip, int stage, int numThreads)
Constructor- Parameters:
predictor
- Used for predicting the location of an event given its current location and an elapsed time period.factory
- Factory used to create new objects needed to process the tracks at this stage.tracksIdxr
- Indexer of the current tracks to process in this stage.evntIdxr
- Indexer of all events taken as input into the program at the beginning. This is mostly used to determine the observation probability in the association problem.maxFrameSkip
- The maximum number of skipped frames allowed between a detection and its possible association match.stage
- The stage that this base is the base of. It tells the association problem's edge weight calculator how to calculate the edge weights as stage 2 is different than 3+.numThreads
- The number of threads to use when processing batch. -1 for all available > 0 for a specific number.
-
-
Method Detail
-
finalize
public void finalize() throws Throwable
-
process
public List<ISTTrackingTrajectory> process()
Description copied from interface:ISTProcessingStage
Returns a list of ISTTrackingTrajectory that were produced from the process.- Specified by:
process
in interfaceISTProcessingStage
- Returns:
- The list of ISTTrackingTrajectory that were produced from the process.
-
-