Package boofcv.abst.tracker
Class ConfigTrackerHybrid
java.lang.Object
boofcv.abst.tracker.ConfigTrackerHybrid
- All Implemented Interfaces:
Configuration
,Serializable
Configuration for
PointTrackerHybrid
.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionint
If there are more than this number of unused tracks they will be randomly discarded.boolean
KLT tracks can drift to being on top of each other.long
Random seedIt will attempt to respawn old dropped tracks when the number of active tracks drops below this value. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks to see if the configuration is valid.copy()
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
-