boofcv.alg.flow
Class ConfigBroxWarping
- java.lang.Object
-
- boofcv.alg.flow.ConfigBroxWarping
-
- All Implemented Interfaces:
- Configuration, java.io.Serializable
public class ConfigBroxWarping extends java.lang.Object implements Configuration
Configuration forHornSchunckPyramid- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description floatalphaBrightness difference weighting factor.floatconvergeToleranceSorConvergence tolerance for SOR loop.floatgammaGradient difference weighting factor.TypeInterpolateinterpolationType of interpolation used.intmaxIterationsSorMaximum allowed iterations for SORintnumInnerNumber of iterations in the inner loopintnumOuterNumber of iterations in the outer loopintpyrMaxLayersMaximum number of layers in the pyramiddoublepyrScaleChange in scale between each layer.doublepyrSigmaAmount of gaussian blur applied to each layer in the pyramid.floatSOR_RELAXATIONSOR relaxation parameter.
-
Constructor Summary
Constructors Constructor and Description ConfigBroxWarping()ConfigBroxWarping(float alpha, float gamma)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcheckValidity()Checks to see if the configuration is valid.
-
-
-
Field Detail
-
alpha
public float alpha
Brightness difference weighting factor. Larger values which prefer a smooth flow.
-
gamma
public float gamma
Gradient difference weighting factor. Larger values which prefer a smooth flow.
-
SOR_RELAXATION
public float SOR_RELAXATION
SOR relaxation parameter. 0 < w < 2. Recommended default is 1.9
-
numOuter
public int numOuter
Number of iterations in the outer loop
-
numInner
public int numInner
Number of iterations in the inner loop
-
maxIterationsSor
public int maxIterationsSor
Maximum allowed iterations for SOR
-
convergeToleranceSor
public float convergeToleranceSor
Convergence tolerance for SOR loop. Specified in per pixel error.
-
pyrScale
public double pyrScale
Change in scale between each layer. Try 0.75
-
pyrSigma
public double pyrSigma
Amount of gaussian blur applied to each layer in the pyramid. If sigma ≤ 0 then no blur is applied.
-
pyrMaxLayers
public int pyrMaxLayers
Maximum number of layers in the pyramid
-
interpolation
public TypeInterpolate interpolation
Type of interpolation used. Bilinear recommended
-
-
Constructor Detail
-
ConfigBroxWarping
public ConfigBroxWarping()
-
ConfigBroxWarping
public ConfigBroxWarping(float alpha, float gamma)
-
-
Method Detail
-
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
-
-
DataMelt 3.0 © DataMelt by jWork.ORG