Class ConfigHornSchunckPyramid

    • 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 InterpolationType 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: Configuration
        Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.
        Specified by:
        checkValidity in interface Configuration