Package boofcv.alg.tracker.klt
Class ConfigPKlt
java.lang.Object
boofcv.alg.tracker.klt.ConfigPKlt
- All Implemented Interfaces:
Configuration,Serializable
Configuration class for
PyramidKltTracker.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintIf running a concurrent implementations, what's the minimum number of tracks for it to do parallelconfiguration for low level KLT trackerSpecifies the maximum number of features it can track.booleanIf true it will prune tracks which come too close to each other.Specifies the number of layers in the pyramidintThe radius of a feature descriptor in layer.doubleForwards-Backwards validation tolerance. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks to see if the configuration is valid.copy()static ConfigPKltlevels(int levels) setTo(ConfigPKlt src) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface boofcv.struct.Configuration
serializeActiveFields, serializeInitialize
-
Field Details
-
config
configuration for low level KLT tracker -
toleranceFB
public double toleranceFBForwards-Backwards validation tolerance. If set to a value ≥ 0 it will track features from the current frame to the previous frame and if the difference in location is greater than this amount the track will be dropped. -
templateRadius
public int templateRadiusThe radius of a feature descriptor in layer. 2 is a reasonable number. -
pyramidLevels
Specifies the number of layers in the pyramid -
pruneClose
public boolean pruneCloseIf true it will prune tracks which come too close to each other. The default behavior is to prune tracks will higher feature IDs. -
maximumTracks
Specifies the maximum number of features it can track. If fixed at 0 then there is no limit. If relative then it's relative to the total number of pixels in the image.NOTE:
PointTrackerKltPyramidwill manage the number of detections and will overrideConfigGeneralDetector.maxFeatures. -
concurrentMinimumTracks
public int concurrentMinimumTracksIf running a concurrent implementations, what's the minimum number of tracks for it to do parallel
-
-
Constructor Details
-
ConfigPKlt
public ConfigPKlt() -
ConfigPKlt
public ConfigPKlt(int templateRadius)
-
-
Method Details
-
levels
-
checkValidity
public void checkValidity()Description copied from interface:ConfigurationChecks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidityin interfaceConfiguration
-
setTo
-
copy
-