boofcv.alg.flow
Class BroxWarpingSpacial<T extends ImageGray>
- java.lang.Object
-
- boofcv.alg.flow.DenseFlowPyramidBase<T>
-
- boofcv.alg.flow.BroxWarpingSpacial<T>
-
public class BroxWarpingSpacial<T extends ImageGray> extends DenseFlowPyramidBase<T>
Dense optical flow which adheres to a brightness constancy assumption, a gradient constancy assumption, and a discontinuity-preserving spatio-temporal smoothness constraint. Based on the work of Brox [2] with implementation details taken from [1].
- Javier Sánchez Pérez, Nelson Monzón López, and Agustín Salgado de la Nuez, Robust Optical Flow Estimation, Image Processing On Line, 3 (2013), pp. 252–270. http://dx.doi.org/10.5201/ipol.2013.21
- Thomas Brox, Andr´es Bruhn, Nils Papenberg, and Joachim Weickert. High accuracy optical flow estimation based on a theory for warping. In T. Pajdla and J. Matas, editors, European Conference on Computer Vision (ECCV), volume 3024 of Lecture Notes in Computer Science, pages 25–36, Prague, Czech Republic, May 2004. Springer.
-
-
Constructor Summary
Constructors Constructor and Description BroxWarpingSpacial(ConfigBroxWarping 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
-
BroxWarpingSpacial
public BroxWarpingSpacial(ConfigBroxWarping 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