Package edu.gsu.cs.dmlab.tracking.stages
Class EdgeWeightCalculatorStageThree
- java.lang.Object
-
- edu.gsu.cs.dmlab.tracking.stages.BaseEdgeWeightCalculator
-
- edu.gsu.cs.dmlab.tracking.stages.EdgeWeightCalculatorStageThree
-
- All Implemented Interfaces:
ISTEdgeWeightCalculator
public class EdgeWeightCalculatorStageThree extends BaseEdgeWeightCalculator
An implementation of the edge weight calculation based upon the third stage in Kempton et. al 2015 and 2018. It utilizes the components of appearance, frame skip, and motion similarity to calculate the edge weight.- Author:
- Dustin Kempton, Data Mining Lab, Georgia State University
-
-
Constructor Summary
Constructors Constructor Description EdgeWeightCalculatorStageThree(ISTLocationProbCal enterLocProbCalc, ISTLocationProbCal exitLocProbCalc, ISTObsModel obsModel, ISTAppearanceModel appearanceModel, ISTFrameSkipModel skipModel, ISTMotionModel motionModel)
ConstructorEdgeWeightCalculatorStageThree(ISTLocationProbCal enterLocProbCalc, ISTLocationProbCal exitLocProbCalc, ISTObsModel obsModel, ISTAppearanceModel appearanceModel, ISTFrameSkipModel skipModel, ISTMotionModel motionModel, double entExitMult, double obsMult, double assocMult)
ConstructorEdgeWeightCalculatorStageThree(ISTLocationProbCal enterLocProbCalc, ISTLocationProbCal exitLocProbCalc, ISTObsModel obsModel, ISTAppearanceModel appearanceModel, ISTFrameSkipModel skipModel, ISTMotionModel motionModel, double entExitMult, double obsMult, double assocMult, double appearWeight, double skipWeight, double motionWeight)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
protected double
getEdgeProb(ISTTrackingTrajectory leftTrack, ISTTrackingTrajectory rightTrack)
-
Methods inherited from class edu.gsu.cs.dmlab.tracking.stages.BaseEdgeWeightCalculator
associationEdgeWeight, observationEdgeWeight, sinkEdgeWeight, sourceEdgeWeight
-
-
-
-
Constructor Detail
-
EdgeWeightCalculatorStageThree
public EdgeWeightCalculatorStageThree(ISTLocationProbCal enterLocProbCalc, ISTLocationProbCal exitLocProbCalc, ISTObsModel obsModel, ISTAppearanceModel appearanceModel, ISTFrameSkipModel skipModel, ISTMotionModel motionModel)
Constructor- Parameters:
enterLocProbCalc
- The model used for calculating enter probability on a track.exitLocProbCalc
- The model used for calculating exit probability on a track.obsModel
- The model used for calculating the probability of a track being plausible.appearanceModel
- The model used for calculating the probability of two tracks being linked base on their visual similarity.skipModel
- The model used for calculating the probability that a track skipped n frames before being detected again.motionModel
- The model used for calculating the probability of two tracks being linked based on their similarity of movement.
-
EdgeWeightCalculatorStageThree
public EdgeWeightCalculatorStageThree(ISTLocationProbCal enterLocProbCalc, ISTLocationProbCal exitLocProbCalc, ISTObsModel obsModel, ISTAppearanceModel appearanceModel, ISTFrameSkipModel skipModel, ISTMotionModel motionModel, double entExitMult, double obsMult, double assocMult)
Constructor- Parameters:
enterLocProbCalc
- The model used for calculating enter probability on a track.exitLocProbCalc
- The model used for calculating exit probability on a track.obsModel
- The model used for calculating the probability of a track being plausible.appearanceModel
- The model used for calculating the probability of two tracks being linked base on their visual similarity.skipModel
- The model used for calculating the probability that a track skipped n frames before being detected again.motionModel
- The model used for calculating the probability of two tracks being linked based on their similarity of movement.entExitMult
- The multiplier for enter and exit probabilities.obsMult
- The multiplier for the observation edge.assocMult
- The multiplier for the association edge.
-
EdgeWeightCalculatorStageThree
public EdgeWeightCalculatorStageThree(ISTLocationProbCal enterLocProbCalc, ISTLocationProbCal exitLocProbCalc, ISTObsModel obsModel, ISTAppearanceModel appearanceModel, ISTFrameSkipModel skipModel, ISTMotionModel motionModel, double entExitMult, double obsMult, double assocMult, double appearWeight, double skipWeight, double motionWeight)
Constructor- Parameters:
enterLocProbCalc
- The model used for calculating enter probability on a track.exitLocProbCalc
- The model used for calculating exit probability on a track.obsModel
- The model used for calculating the probability of a track being plausible.appearanceModel
- The model used for calculating the probability of two tracks being linked base on their visual similarity.skipModel
- The model used for calculating the probability that a track skipped n frames before being detected again.motionModel
- The model used for calculating the probability of two tracks being linked based on their similarity of movement.entExitMult
- The multiplier for enter and exit probabilities.obsMult
- The multiplier for the observation edge.assocMult
- The multiplier for the association edge.appearWeight
- The weight for the appearance model values in the association edge values.skipWeight
- The weight for the skip model values in the association edge values.motionWeight
- The weight for the motion model values in the association edge values.
-
-
Method Detail
-
finalize
public void finalize() throws Throwable
- Overrides:
finalize
in classBaseEdgeWeightCalculator
- Throws:
Throwable
-
getEdgeProb
protected double getEdgeProb(ISTTrackingTrajectory leftTrack, ISTTrackingTrajectory rightTrack)
- Specified by:
getEdgeProb
in classBaseEdgeWeightCalculator
-
-