Back to FabImage Studio website

You are here: Start » Filter Reference » OpenCV » Motion Analysis and Object Tracking » cvFarnebackOpticalFlow

cvFarnebackOpticalFlow


Module: OpenCV

Computing a dense optical flow using the Gunnar Farneback's algorithm.

Name Type Description
Input value inSrc1 Image First input image.
Input value inSrc2 Image Second input image.
Input value inFastPyramids Bool*
Input value inIterations Integer*
Input value inLevels Integer*
Input value inPolyN Integer*
Input value inPolySigma Real*
Input value inPyrScale Real*
Input value inWinSize Integer*
Output value outFlow Image

Requirements

For input inSrc1 only pixel formats are supported: 1⨯uint8.

For input inSrc2 only pixel formats are supported: 1⨯uint8.

Read more about pixel formats in Image documentation.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Not supported inSrc1 pixel format in FisFilter_cvFarnebackOpticalFlow. Supported formats: 1xUInt8.
DomainError Not supported inSrc2 pixel format in FisFilter_cvFarnebackOpticalFlow. Supported formats: 1xUInt8.

Complexity Level

This filter is available on Basic Complexity Level.