Basics
Guides
API Reference
Basics
Guides
API Reference
[75:7] extends: object
DenseOpticalFlow wraps boofcv.abst.flow.DenseOpticalFlow.
DenseOpticalFlow (object Obj)
Wraps a BoofCV DenseOpticalFlow.
Obj is an existing flow Java object or wrapper.process (object PrevImage, object CurrImage, object FlowField)
Computes optical flow.
PrevImage is the previous image.CurrImage is the current image.FlowField is an ImageFlow wrapper.getInputType ()
Gets the input image type.
The BoofCV ImageType.[99:7] extends: object
ImageFlow wraps boofcv.struct.flow.ImageFlow.
ImageFlow (Width = 0, Height = 0)
Creates or wraps an ImageFlow.
Width is the flow width or an existing ImageFlow object.Height is the flow height when Width is numeric.getWidth ()
Gets the width.
The flow width.getHeight ()
Gets the height.
The flow height.reshape (int Width, int Height)
Reshapes this flow image.
Width is the new width.Height is the new height.invalidateAll ()
Invalidates all flow pixels.
fillZero ()
Sets all flow pixels to zero.
get (int X, int Y)
Gets a flow pixel.
X is the x coordinate.Y is the y coordinate.An ImageFlow.D Java object.unsafe_get (int X, int Y)
Gets a flow pixel without bounds checks.
X is the x coordinate.Y is the y coordinate.An ImageFlow.D Java object.isInBounds (int X, int Y)
Checks bounds.
X is the x coordinate.Y is the y coordinate.True if the coordinate is in bounds.[187:7] extends: object
ConfigHornSchunckPyramid wraps boofcv.factory.flow.ConfigHornSchunckPyramid.
ConfigHornSchunckPyramid ()
Creates a pyramidal Horn-Schunck config.
get (string Name)
Gets a public config field.
Name is alpha, SOR_RELAXATION, numWarps, maxInnerIterations, convergeTolerance, pyrScale, pyrSigma, pyrMaxLayers, or interpolation.The field value.set (string Name, Value)
Sets a public config field.
Name is alpha, SOR_RELAXATION, numWarps, maxInnerIterations, convergeTolerance, pyrScale, pyrSigma, pyrMaxLayers, or interpolation.Value is the new field value.checkValidity ()
Validates this config.
[241:7] extends: object
ConfigBroxWarping wraps boofcv.alg.flow.ConfigBroxWarping.
ConfigBroxWarping ()
Creates a Brox warping config.
get (string Name)
Gets a public config field.
Name is alpha, gamma, SOR_RELAXATION, numOuter, numInner, maxIterationsSor, convergeToleranceSor, pyrScale, pyrSigma, pyrMaxLayers, or interpolation.The field value.set (string Name, Value)
Sets a public config field.
Name is alpha, gamma, SOR_RELAXATION, numOuter, numInner, maxIterationsSor, convergeToleranceSor, pyrScale, pyrSigma, pyrMaxLayers, or interpolation.Value is the new field value.checkValidity ()
Validates this config.
[6:14] static extends: object
Static wrappers for boofcv.factory.flow.FactoryDenseOpticalFlow.
flowKlt (object Config, int Radius, string ImageClassName, string DerivativeClassName)
Creates a dense KLT optical flow.
Config is a ConfigPKlt wrapper.Radius is the region radius.ImageClassName is an input gray image class name or short image name.DerivativeClassName is a derivative gray image class name or short image name.A DenseOpticalFlow wrapper.region (object Config, string ImageClassName)
Creates a block-region dense optical flow.
Config is a ConfigOpticalFlowBlockPyramid wrapper.ImageClassName is an input gray image class name or short image name.A DenseOpticalFlow wrapper.hornSchunck (object Config, string ImageClassName)
Creates a Horn-Schunck dense optical flow.
Config is a ConfigHornSchunck wrapper.ImageClassName is an input gray image class name or short image name.A DenseOpticalFlow wrapper.hornSchunckPyramid (object Config, string ImageClassName)
Creates a pyramidal Horn-Schunck dense optical flow.
Config is a ConfigHornSchunckPyramid wrapper.ImageClassName is an input gray image class name or short image name.A DenseOpticalFlow wrapper.broxWarping (object Config, string ImageClassName)
Creates a Brox warping dense optical flow.
Config is a ConfigBroxWarping wrapper.ImageClassName is an input gray image class name or short image name.A DenseOpticalFlow wrapper.[160:7] extends: object
ConfigHornSchunck wraps boofcv.factory.flow.ConfigHornSchunck.
ConfigHornSchunck ()
Creates a Horn-Schunck config.
get (string Name)
Gets a public config field.
Name is alpha or numIterations.The field value.set (string Name, Value)
Sets a public config field.
Name is alpha or numIterations.Value is the new field value.checkValidity ()
Validates this config.
[214:7] extends: object
ConfigOpticalFlowBlockPyramid wraps boofcv.factory.flow.ConfigOpticalFlowBlockPyramid.
ConfigOpticalFlowBlockPyramid ()
Creates a block-pyramid optical flow config.
get (string Name)
Gets a public config field.
Name is searchRadius, regionRadius, maxPerPixelError, pyramidScale, or maxPyramidLayers.The field value.set (string Name, Value)
Sets a public config field.
Name is searchRadius, regionRadius, maxPerPixelError, pyramidScale, or maxPyramidLayers.Value is the new field value.checkValidity ()
Validates this config.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.