Package boofcv.alg.tracker.klt
Class ConfigKlt
java.lang.Object
boofcv.alg.tracker.klt.ConfigKlt
- All Implemented Interfaces:
Configuration
,Serializable
public class ConfigKlt extends Object implements Configuration
Configuration for
KltTracker
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description float
driftFracTol
Drift tolerance relative to feature's width/int
forbiddenBorder
Due to how the image derivative and interpolation is performed outer most pixels.int
maxIterations
Maximum number of iterations KLT performs for each featurefloat
maxPerPixelError
Maximum allowed average per pixel error across the whole region.float
minDeterminant
Declare a feature as invalid if hte detemrinant is less than this value.float
minPositionDelta
Stop iterating of the change in x and y is less than this number. -
Constructor Summary
Constructors Constructor Description ConfigKlt()
-
Method Summary
Modifier and Type Method Description void
checkValidity()
Checks to see if the configuration is valid.ConfigKlt
setTo(ConfigKlt 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
-
forbiddenBorder
public int forbiddenBorderDue to how the image derivative and interpolation is performed outer most pixels. Features are not allowed to overlap this close to the image's edge. WARNING: currently not used. will probably be removed. -
maxPerPixelError
public float maxPerPixelErrorMaximum allowed average per pixel error across the whole region. -
maxIterations
public int maxIterationsMaximum number of iterations KLT performs for each feature -
minDeterminant
public float minDeterminantDeclare a feature as invalid if hte detemrinant is less than this value. -
minPositionDelta
public float minPositionDeltaStop iterating of the change in x and y is less than this number. -
driftFracTol
public float driftFracTolDrift tolerance relative to feature's width/
-
-
Constructor Details
-
ConfigKlt
public ConfigKlt()
-
-
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
-