Optical flow

Finds an optical flow for each prev pixel using the Farneback2003 algorithm.

Optical flow in Lightact's Layer Layouts visual scripting system.
Screenshot of Optical flow node.

Inputs

TypeNameDescription
CvMatOpencv mat class
InputA cv::Mat data structure
FloatStores floating-point value
Pyramid scaleA float value
IntStores whole number value
LevelsAn integer value
IntStores whole number value
Window sizeAn integer value
IntStores whole number value
IterationsAn integer value
IntStores whole number value
Poly neighboursAn integer value
FloatStores floating-point value
Poly sigmaA float value
FloatStores floating-point value
Min valA float value

Outputs

TypeNameDescription
CvMatOpencv mat class
Flow imageReturns a cv::Mat data structure
FloatStores floating-point value
Max valReturns a float value