boofcv.alg.flow
Class HornSchunckPyramid<T extends ImageGray>
- java.lang.Object
-
- boofcv.alg.flow.DenseFlowPyramidBase<T>
-
- boofcv.alg.flow.HornSchunckPyramid<T>
-
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).
- 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
- Horn, Berthold K., and Brian G. Schunck. "Determining optical flow." 1981 Technical Symposium East. International Society for Optics and Photonics, 1981.
-
-
Constructor Summary
Constructors Constructor and Description HornSchunckPyramid(ConfigHornSchunckPyramid config, InterpolatePixelS<GrayF32> interp)Configures flow estimation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description GrayF32getFlowX()GrayF32getFlowY()voidprocess(ImagePyramid<GrayF32> image1, ImagePyramid<GrayF32> image2)Computes dense optical flow from the provided image pyramid.-
Methods inherited from class boofcv.alg.flow.DenseFlowPyramidBase
process
-
-
-
-
Constructor Detail
-
HornSchunckPyramid
public HornSchunckPyramid(ConfigHornSchunckPyramid config, InterpolatePixelS<GrayF32> interp)
Configures flow estimation- Parameters:
config- Configuration parametersinterp- 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:
processin classDenseFlowPyramidBase<T extends ImageGray>- Parameters:
image1- Pyramid of first imageimage2- Pyramid of second image
-
getFlowX
public GrayF32 getFlowX()
-
getFlowY
public GrayF32 getFlowY()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG