Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: DenseOpticalFlow

[75:7] extends: object

DenseOpticalFlow wraps boofcv.abst.flow.DenseOpticalFlow.

Members

  • obj

Methods

  • DenseOpticalFlow (object Obj)

    Wraps a BoofCV DenseOpticalFlow.

    • @p Obj is an existing flow Java object or wrapper.
  • process (object PrevImage, object CurrImage, object FlowField)

    Computes optical flow.

    • @p PrevImage is the previous image.
    • @p CurrImage is the current image.
    • @p FlowField is an ImageFlow wrapper.
  • getInputType ()

    Gets the input image type.

    • @r The BoofCV ImageType.

class: ImageFlow

[99:7] extends: object

ImageFlow wraps boofcv.struct.flow.ImageFlow.

Members

  • obj

Methods

  • ImageFlow (Width = 0, Height = 0)

    Creates or wraps an ImageFlow.

    • @p Width is the flow width or an existing ImageFlow object.
    • @p Height is the flow height when Width is numeric.
  • getWidth ()

    Gets the width.

    • @r The flow width.
  • getHeight ()

    Gets the height.

    • @r The flow height.
  • reshape (int Width, int Height)

    Reshapes this flow image.

    • @p Width is the new width.
    • @p 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.

    • @p X is the x coordinate.
    • @p Y is the y coordinate.
    • @r An ImageFlow.D Java object.
  • unsafe_get (int X, int Y)

    Gets a flow pixel without bounds checks.

    • @p X is the x coordinate.
    • @p Y is the y coordinate.
    • @r An ImageFlow.D Java object.
  • isInBounds (int X, int Y)

    Checks bounds.

    • @p X is the x coordinate.
    • @p Y is the y coordinate.
    • @r True if the coordinate is in bounds.

class: ConfigHornSchunckPyramid

[187: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 Name is alpha, SOR_RELAXATION, numWarps, maxInnerIterations, convergeTolerance, pyrScale, pyrSigma, pyrMaxLayers, or interpolation.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is alpha, SOR_RELAXATION, numWarps, maxInnerIterations, convergeTolerance, pyrScale, pyrSigma, pyrMaxLayers, or interpolation.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

class: ConfigBroxWarping

[241: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 Name is alpha, gamma, SOR_RELAXATION, numOuter, numInner, maxIterationsSor, convergeToleranceSor, pyrScale, pyrSigma, pyrMaxLayers, or interpolation.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is alpha, gamma, SOR_RELAXATION, numOuter, numInner, maxIterationsSor, convergeToleranceSor, pyrScale, pyrSigma, pyrMaxLayers, or interpolation.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

class: FactoryDenseOpticalFlow

[6: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 Config is a ConfigPKlt wrapper.
    • @p Radius is the region radius.
    • @p ImageClassName is an input gray image class name or short image name.
    • @p DerivativeClassName is a derivative gray image class name or short image name.
    • @r A DenseOpticalFlow wrapper.
  • region (object Config, string ImageClassName)

    Creates a block-region dense optical flow.

    • @p Config is a ConfigOpticalFlowBlockPyramid wrapper.
    • @p ImageClassName is an input gray image class name or short image name.
    • @r A DenseOpticalFlow wrapper.
  • hornSchunck (object Config, string ImageClassName)

    Creates a Horn-Schunck dense optical flow.

    • @p Config is a ConfigHornSchunck wrapper.
    • @p ImageClassName is an input gray image class name or short image name.
    • @r A DenseOpticalFlow wrapper.
  • hornSchunckPyramid (object Config, string ImageClassName)

    Creates a pyramidal Horn-Schunck dense optical flow.

    • @p Config is a ConfigHornSchunckPyramid wrapper.
    • @p ImageClassName is an input gray image class name or short image name.
    • @r A DenseOpticalFlow wrapper.
  • broxWarping (object Config, string ImageClassName)

    Creates a Brox warping dense optical flow.

    • @p Config is a ConfigBroxWarping wrapper.
    • @p ImageClassName is an input gray image class name or short image name.
    • @r A DenseOpticalFlow wrapper.

class: ConfigHornSchunck

[160: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 Name is alpha or numIterations.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is alpha or numIterations.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.

class: ConfigOpticalFlowBlockPyramid

[214: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 Name is searchRadius, regionRadius, maxPerPixelError, pyramidScale, or maxPyramidLayers.
    • @r The field value.
  • set (string Name, Value)

    Sets a public config field.

    • @p Name is searchRadius, regionRadius, maxPerPixelError, pyramidScale, or maxPyramidLayers.
    • @p Value is the new field value.
  • checkValidity ()

    Validates this config.