class: DenseOpticalFlow
[91:7] extends: object
DenseOpticalFlow wraps boofcv.abst.flow.DenseOpticalFlow.
Members
- obj
Methods
-
DenseOpticalFlow (
object Obj)Wraps a BoofCV DenseOpticalFlow.
- @p
Objis an existing flow Java object or wrapper.
- @p
-
process (
object PrevImage, object CurrImage, object FlowField)Computes optical flow.
- @p
PrevImageis the previous image. - @p
CurrImageis the current image. - @p
FlowFieldis an ImageFlow wrapper.
- @p
-
getInputType ()
Gets the input image type.
- @r
TheBoofCV ImageType.
- @r
class: ImageFlow
[115:7] extends: object
ImageFlow wraps boofcv.struct.flow.ImageFlow.
Members
- obj
Methods
-
ImageFlow (
Width = 0, Height = 0)Creates or wraps an ImageFlow.
- @p
Widthis the flow width or an existing ImageFlow object. - @p
Heightis the flow height when Width is numeric.
- @p
-
getWidth ()
Gets the width.
- @r
Theflow width.
- @r
-
getHeight ()
Gets the height.
- @r
Theflow height.
- @r
-
reshape (
int Width, int Height)Reshapes this flow image.
- @p
Widthis the new width. - @p
Heightis the new height.
- @p
-
invalidateAll ()
Invalidates all flow pixels.
-
fillZero ()
Sets all flow pixels to zero.
-
get (
int X, int Y)Gets a flow pixel.
- @p
Xis the x coordinate. - @p
Yis the y coordinate. - @r
AnImageFlow.D Java object.
- @p
-
unsafe_get (
int X, int Y)Gets a flow pixel without bounds checks.
- @p
Xis the x coordinate. - @p
Yis the y coordinate. - @r
AnImageFlow.D Java object.
- @p
-
isInBounds (
int X, int Y)Checks bounds.
- @p
Xis the x coordinate. - @p
Yis the y coordinate. - @r
Trueif the coordinate is in bounds.
- @p
class: ConfigHornSchunckPyramid
[203:7] extends: object
ConfigHornSchunckPyramid wraps boofcv.factory.flow.ConfigHornSchunckPyramid.
Members
- obj
Methods
-
ConfigHornSchunckPyramid ()
Creates a pyramidal Horn-Schunck config.
-
get (
string Name)Gets a public config field.
- @p
Nameis alpha, SOR_RELAXATION, numWarps, maxInnerIterations, convergeTolerance, pyrScale, pyrSigma, pyrMaxLayers, or interpolation. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public config field.
- @p
Nameis alpha, SOR_RELAXATION, numWarps, maxInnerIterations, convergeTolerance, pyrScale, pyrSigma, pyrMaxLayers, or interpolation. - @p
Valueis the new field value.
- @p
-
checkValidity ()
Validates this config.
class: ConfigBroxWarping
[257:7] extends: object
ConfigBroxWarping wraps boofcv.alg.flow.ConfigBroxWarping.
Members
- obj
Methods
-
ConfigBroxWarping ()
Creates a Brox warping config.
-
get (
string Name)Gets a public config field.
- @p
Nameis alpha, gamma, SOR_RELAXATION, numOuter, numInner, maxIterationsSor, convergeToleranceSor, pyrScale, pyrSigma, pyrMaxLayers, or interpolation. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public config field.
- @p
Nameis alpha, gamma, SOR_RELAXATION, numOuter, numInner, maxIterationsSor, convergeToleranceSor, pyrScale, pyrSigma, pyrMaxLayers, or interpolation. - @p
Valueis the new field value.
- @p
-
checkValidity ()
Validates this config.
class: FactoryDenseOpticalFlow
[22:14] static extends: object
Static wrappers for boofcv.factory.flow.FactoryDenseOpticalFlow.
Methods
-
flowKlt (
object Config, int Radius, string ImageClassName, string DerivativeClassName)Creates a dense KLT optical flow.
- @p
Configis a ConfigPKlt wrapper. - @p
Radiusis the region radius. - @p
ImageClassNameis an input gray image class name or short image name. - @p
DerivativeClassNameis a derivative gray image class name or short image name. - @r
ADenseOpticalFlow wrapper.
- @p
-
region (
object Config, string ImageClassName)Creates a block-region dense optical flow.
- @p
Configis a ConfigOpticalFlowBlockPyramid wrapper. - @p
ImageClassNameis an input gray image class name or short image name. - @r
ADenseOpticalFlow wrapper.
- @p
-
hornSchunck (
object Config, string ImageClassName)Creates a Horn-Schunck dense optical flow.
- @p
Configis a ConfigHornSchunck wrapper. - @p
ImageClassNameis an input gray image class name or short image name. - @r
ADenseOpticalFlow wrapper.
- @p
-
hornSchunckPyramid (
object Config, string ImageClassName)Creates a pyramidal Horn-Schunck dense optical flow.
- @p
Configis a ConfigHornSchunckPyramid wrapper. - @p
ImageClassNameis an input gray image class name or short image name. - @r
ADenseOpticalFlow wrapper.
- @p
-
broxWarping (
object Config, string ImageClassName)Creates a Brox warping dense optical flow.
- @p
Configis a ConfigBroxWarping wrapper. - @p
ImageClassNameis an input gray image class name or short image name. - @r
ADenseOpticalFlow wrapper.
- @p
class: ConfigHornSchunck
[176:7] extends: object
ConfigHornSchunck wraps boofcv.factory.flow.ConfigHornSchunck.
Members
- obj
Methods
-
ConfigHornSchunck ()
Creates a Horn-Schunck config.
-
get (
string Name)Gets a public config field.
- @p
Nameis alpha or numIterations. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public config field.
- @p
Nameis alpha or numIterations. - @p
Valueis the new field value.
- @p
-
checkValidity ()
Validates this config.
class: ConfigOpticalFlowBlockPyramid
[230:7] extends: object
ConfigOpticalFlowBlockPyramid wraps boofcv.factory.flow.ConfigOpticalFlowBlockPyramid.
Members
- obj
Methods
-
ConfigOpticalFlowBlockPyramid ()
Creates a block-pyramid optical flow config.
-
get (
string Name)Gets a public config field.
- @p
Nameis searchRadius, regionRadius, maxPerPixelError, pyramidScale, or maxPyramidLayers. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a public config field.
- @p
Nameis searchRadius, regionRadius, maxPerPixelError, pyramidScale, or maxPyramidLayers. - @p
Valueis the new field value.
- @p
-
checkValidity ()
Validates this config.