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
Modifier and TypeFieldDescriptionint
If 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.boolean
If true it will prune tracks which come too close to each other.Specifies the number of layers in the pyramidint
The radius of a feature descriptor in layer.double
Forwards-Backwards validation tolerance. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks to see if the configuration is valid.copy()
static ConfigPKlt
levels
(int levels) setTo
(ConfigPKlt 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
-
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:
PointTrackerKltPyramid
will 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: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
-