Documentation of 'boofcv.alg.flow.HornSchunckPyramid' Java class
HornSchunckPyramid
boofcv.alg.flow

Class HornSchunckPyramid<T extends ImageGray>



  • public class HornSchunckPyramid<T extends ImageGray>
    extends DenseFlowPyramidBase<T>

    Pyramidal implementation of Horn-Schunck [2] based on the discussion in [1]. The problem formulation has been modified from the original found in [2] to account for larger displacements. The Euler-Lagrange equations are solved using Successive Over-Relaxation (SOR).

    1. Meinhardt-Llopis, Enric and Sánchez Pérez, Javier and Kondermann, Daniel, "Horn-Schunck Optical Flow with a Multi-Scale Strategy" vol 3, 2013, Image Processing On Line
    2. Horn, Berthold K., and Brian G. Schunck. "Determining optical flow." 1981 Technical Symposium East. International Society for Optics and Photonics, 1981.
    • Constructor Detail

      • HornSchunckPyramid

        public HornSchunckPyramid(ConfigHornSchunckPyramid config,
                                  InterpolatePixelS<GrayF32> interp)
        Configures flow estimation
        Parameters:
        config - Configuration parameters
        interp - Interpolation for image flow between image layers and warping. Overrides selection in config.
    • Method Detail

      • process

        public void process(ImagePyramid<GrayF32> image1,
                            ImagePyramid<GrayF32> image2)
        Computes dense optical flow from the provided image pyramid. Image gradient for each layer should be computed directly from the layer images.
        Specified by:
        process in class DenseFlowPyramidBase<T extends ImageGray>
        Parameters:
        image1 - Pyramid of first image
        image2 - Pyramid of second image
      • getFlowX

        public GrayF32 getFlowX()
      • getFlowY

        public GrayF32 getFlowY()

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.