Package boofcv.alg.tracker.tld
Class ConfigTld
java.lang.Object
boofcv.alg.tracker.tld.ConfigTld
- All Implemented Interfaces:
Configuration
,Serializable
Configuration file for TLD tracker.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptiondouble
The minimum value for a region's confidence that will be accepted.double
Lower acceptance threshold for confidence.double
A track must have a confidence above this value to be considered highly confident, allowing learning to be activated again.double
Upper acceptance threshold for confidence.int
The minimum number of pixels along a side in a detection rectangle which will be considered.int
Number of sample points pairs.int
Maximum number of NCC templates it will examine inside the detection cascade.double
The maximum allowed forwards-backwards error (pixels) for a track.int
Number of iterations in LSMeD to estimate the region's motion.int
Number of fern descriptors.int
Number of ferns it will use to train the negative classifierdouble
If two regions have an overlap less than this value they are considered to be disconnecteddouble
If two regions have an overlap more than or equal to this value they are considered to be strongly connectedlong
Random number seed.double
If two regions have an overlap fraction more than or equal to this value then they will be considered connected.int
Determines the number of scales it will search in increments of powers of 1.2.double
How similar the area needs to be for it to be considered a continuation of the previous track and will update the descriptionBasic parameters for tracker.int
Radius of KLT tracks.int
Tracks are spawned in an evenly spaced grid inside the previous region. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks to see if the configuration is valid.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface boofcv.struct.Configuration
serializeActiveFields, serializeInitialize
-
Field Details
-
maximumCascadeConsider
public int maximumCascadeConsiderMaximum number of NCC templates it will examine inside the detection cascade. Used to limit the amount of processing used during detection. To disable set to Integer.MAX_VALUE -
numNegativeFerns
public int numNegativeFernsNumber of ferns it will use to train the negative classifier -
maximumErrorFB
public double maximumErrorFBThe maximum allowed forwards-backwards error (pixels) for a track. Suggested value is 10. -
trackerGridWidth
public int trackerGridWidthTracks are spawned in an evenly spaced grid inside the previous region. This value specifies the number of rows and columns in the grid. -
trackerFeatureRadius
public int trackerFeatureRadiusRadius of KLT tracks. A radius of 5 is recommended. -
detectMinimumSide
public int detectMinimumSideThe minimum number of pixels along a side in a detection rectangle which will be considered. -
motionIterations
public int motionIterationsNumber of iterations in LSMeD to estimate the region's motion. -
regionConnect
public double regionConnectIf two regions have an overlap fraction more than or equal to this value then they will be considered connected. Used inside of non-maximum suppression. A value of 0.5 is suggested. -
overlapUpper
public double overlapUpperIf two regions have an overlap more than or equal to this value they are considered to be strongly connected -
overlapLower
public double overlapLowerIf two regions have an overlap less than this value they are considered to be disconnected -
thresholdSimilarArea
public double thresholdSimilarAreaHow similar the area needs to be for it to be considered a continuation of the previous track and will update the description -
confidenceThresholdStrong
public double confidenceThresholdStrongA track must have a confidence above this value to be considered highly confident, allowing learning to be activated again. -
confidenceThresholdUpper
public double confidenceThresholdUpperUpper acceptance threshold for confidence. Suggested value is 0.65 -
confidenceThresholdLower
public double confidenceThresholdLowerLower acceptance threshold for confidence. Used during hypothesis fusion. Suggested value is 0.5 -
randomSeed
public long randomSeedRandom number seed. Used to create ferns and perform robust model fitting. -
numFerns
public int numFernsNumber of fern descriptors. A value of 10 is recommended. -
fernSize
public int fernSizeNumber of sample points pairs. 0 < N ≤ 32. A value of 10 is recommended. -
confidenceAccept
public double confidenceAcceptThe minimum value for a region's confidence that will be accepted. When the tracking hypothesis is accepted its value can dip very low. -
scaleSpread
public int scaleSpreadDetermines the number of scales it will search in increments of powers of 1.2. All scales from 1.2^(-scaleSpread) to 1.2^scaleSpread are checked. -
trackerConfig
Basic parameters for tracker. KltConfig.createDefault() with maxIterations = 50 is suggested.
-
-
Constructor Details
-
ConfigTld
public ConfigTld()
-
-
Method Details
-
setTo
-
checkValidity
public void checkValidity()Description copied from interface:Configuration
Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidity
in interfaceConfiguration
-