Package boofcv.abst.tracker
Class ConfigTrackerHybrid
java.lang.Object
boofcv.abst.tracker.ConfigTrackerHybrid
- All Implemented Interfaces:
Configuration
,Serializable
public class ConfigTrackerHybrid extends Object implements Configuration
Configuration for
PointTrackerHybrid
.- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description int
maxInactiveTracks
If there are more than this number of unused tracks they will be randomly discarded.boolean
pruneCloseTracks
KLT tracks can drift to being on top of each other.long
seed
Random seedConfigLength
thresholdRespawn
It will attempt to respawn old dropped tracks when the number of active tracks drops below this value. -
Constructor Summary
Constructors Constructor Description ConfigTrackerHybrid()
-
Method Summary
Modifier and Type Method Description void
checkValidity()
Checks to see if the configuration is valid.ConfigTrackerHybrid
copy()
ConfigTrackerHybrid
setTo(ConfigTrackerHybrid src)
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
-
pruneCloseTracks
public boolean pruneCloseTracksKLT tracks can drift to being on top of each other. This will prune a few if that happens -
maxInactiveTracks
public int maxInactiveTracksIf there are more than this number of unused tracks they will be randomly discarded. This is intended to prevent unbounded growth of unused tracks even if tracks are not explicity pruned. -
thresholdRespawn
It will attempt to respawn old dropped tracks when the number of active tracks drops below this value. The fractional part is relative to the number of tracks after the last spawn or most recent respawn. -
seed
public long seedRandom seed
-
-
Constructor Details
-
ConfigTrackerHybrid
public ConfigTrackerHybrid()
-
-
Method Details
-
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
-
setTo
-
copy
-