Package boofcv.alg.flow
Class ConfigBroxWarping
java.lang.Object
boofcv.alg.flow.ConfigBroxWarping
- All Implemented Interfaces:
Configuration
,Serializable
Configuration for
HornSchunckPyramid
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionfloat
Brightness difference weighting factor.float
Convergence tolerance for SOR loop.float
Gradient difference weighting factor.Type of interpolation used.int
Maximum allowed iterations for SORint
Number of iterations in the inner loopint
Number of iterations in the outer loopint
Maximum number of layers in the pyramiddouble
Change in scale between each layer.double
Amount of gaussian blur applied to each layer in the pyramid.float
SOR relaxation parameter. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks to see if the configuration is valid.setTo
(ConfigBroxWarping 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
-
alpha
public float alphaBrightness difference weighting factor. Larger values which prefer a smooth flow. -
gamma
public float gammaGradient difference weighting factor. Larger values which prefer a smooth flow. -
SOR_RELAXATION
public float SOR_RELAXATIONSOR relaxation parameter. 0 < w < 2. Recommended default is 1.9 -
numOuter
public int numOuterNumber of iterations in the outer loop -
numInner
public int numInnerNumber of iterations in the inner loop -
maxIterationsSor
public int maxIterationsSorMaximum allowed iterations for SOR -
convergeToleranceSor
public float convergeToleranceSorConvergence tolerance for SOR loop. Specified in per pixel error. -
pyrScale
public double pyrScaleChange in scale between each layer. Try 0.75 -
pyrSigma
public double pyrSigmaAmount of gaussian blur applied to each layer in the pyramid. If sigma ≤ 0 then no blur is applied. -
pyrMaxLayers
public int pyrMaxLayersMaximum number of layers in the pyramid -
interpolation
Type of interpolation used. Bilinear recommended
-
-
Constructor Details
-
ConfigBroxWarping
public ConfigBroxWarping() -
ConfigBroxWarping
public ConfigBroxWarping(float alpha, float gamma)
-
-
Method Details
-
setTo
-
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
-