Start » Filter Reference » OpenCV » Motion Analysis and Object Tracking » cvFarnebackOpticalFlow
Module: | OpenCV |
---|
Computing a dense optical flow using the Gunnar Farneback's algorithm.
Name | Type | Description | |
---|---|---|---|
inSrc1 | Image | First input image. | |
inSrc2 | Image | Second input image. | |
inFastPyramids | Bool* | ||
inIterations | Integer* | ||
inLevels | Integer* | ||
inPolyN | Integer* | ||
inPolySigma | Real* | ||
inPyrScale | Real* | ||
inWinSize | Integer* | ||
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 AvsFilter_cvFarnebackOpticalFlow. Supported formats: 1xUInt8. |
DomainError | Not supported inSrc2 pixel format in AvsFilter_cvFarnebackOpticalFlow. Supported formats: 1xUInt8. |
Complexity Level
This filter is available on Basic Complexity Level.