boofcv.factory.flow
Class ConfigHornSchunckPyramid
- java.lang.Object
-
- boofcv.factory.flow.ConfigHornSchunckPyramid
-
- All Implemented Interfaces:
- Configuration, java.io.Serializable
public class ConfigHornSchunckPyramid extends java.lang.Object implements Configuration
Configuration forHornSchunckPyramid- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description floatalphaWeights importance of image brightness error and velocity smoothness.floatconvergeToleranceConvergence tolerance for inner loop.TypeInterpolateinterpolationType of interpolation used.intmaxInnerIterationsMaximum number of iterations in the inner loop.intnumWarpsNumber of warps which it will apply.intpyrMaxLayersMaximum number of layers in the pyramiddoublepyrScaleChange in scale between each layer.doublepyrSigmaAmount of blur applied to each layer in the pyramid.floatSOR_RELAXATIONSOR relaxation parameter.
-
Constructor Summary
Constructors Constructor and Description ConfigHornSchunckPyramid()ConfigHornSchunckPyramid(float alpha, int maxInnerIterations)
-
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
Weights importance of image brightness error and velocity smoothness. Larger values which prefer a smooth flow.
-
SOR_RELAXATION
public float SOR_RELAXATION
SOR relaxation parameter.
-
numWarps
public int numWarps
Number of warps which it will apply.
-
maxInnerIterations
public int maxInnerIterations
Maximum number of iterations in the inner loop.
-
convergeTolerance
public float convergeTolerance
Convergence tolerance for inner loop. Specified in per pixel error.
-
pyrScale
public double pyrScale
Change in scale between each layer. Try 0.7
-
pyrSigma
public double pyrSigma
Amount of 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
-
ConfigHornSchunckPyramid
public ConfigHornSchunckPyramid()
-
ConfigHornSchunckPyramid
public ConfigHornSchunckPyramid(float alpha, int maxInnerIterations)
-
-
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