Cv2CalcOpticalFlowPyrLK Method (InputArray, InputArray, InputArray, InputOutputArray, OutputArray, OutputArray, NullableSize, Int32, NullableTermCriteria, OpticalFlowFlags, Double) OpenCvSharp Class Library
computes sparse optical flow using multi-scale Lucas-Kanade algorithm

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void CalcOpticalFlowPyrLK(
	InputArray prevImg,
	InputArray nextImg,
	InputArray prevPts,
	InputOutputArray nextPts,
	OutputArray status,
	OutputArray err,
	Nullable<Size> winSize = null,
	int maxLevel = 3,
	Nullable<TermCriteria> criteria = null,
	OpticalFlowFlags flags = OpticalFlowFlags.None,
	double minEigThreshold = 0.0001
)

Parameters

prevImg
Type: OpenCvSharp.CPlusPlusInputArray

[Missing <param name="prevImg"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.CalcOpticalFlowPyrLK(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputOutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.TermCriteria},OpenCvSharp.CPlusPlus.OpticalFlowFlags,System.Double)"]

nextImg
Type: OpenCvSharp.CPlusPlusInputArray

[Missing <param name="nextImg"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.CalcOpticalFlowPyrLK(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputOutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.TermCriteria},OpenCvSharp.CPlusPlus.OpticalFlowFlags,System.Double)"]

prevPts
Type: OpenCvSharp.CPlusPlusInputArray

[Missing <param name="prevPts"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.CalcOpticalFlowPyrLK(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputOutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.TermCriteria},OpenCvSharp.CPlusPlus.OpticalFlowFlags,System.Double)"]

nextPts
Type: OpenCvSharp.CPlusPlusInputOutputArray

[Missing <param name="nextPts"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.CalcOpticalFlowPyrLK(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputOutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.TermCriteria},OpenCvSharp.CPlusPlus.OpticalFlowFlags,System.Double)"]

status
Type: OpenCvSharp.CPlusPlusOutputArray

[Missing <param name="status"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.CalcOpticalFlowPyrLK(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputOutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.TermCriteria},OpenCvSharp.CPlusPlus.OpticalFlowFlags,System.Double)"]

err
Type: OpenCvSharp.CPlusPlusOutputArray

[Missing <param name="err"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.CalcOpticalFlowPyrLK(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputOutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.TermCriteria},OpenCvSharp.CPlusPlus.OpticalFlowFlags,System.Double)"]

winSize (Optional)
Type: SystemNullableSize

[Missing <param name="winSize"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.CalcOpticalFlowPyrLK(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputOutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.TermCriteria},OpenCvSharp.CPlusPlus.OpticalFlowFlags,System.Double)"]

maxLevel (Optional)
Type: SystemInt32

[Missing <param name="maxLevel"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.CalcOpticalFlowPyrLK(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputOutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.TermCriteria},OpenCvSharp.CPlusPlus.OpticalFlowFlags,System.Double)"]

criteria (Optional)
Type: SystemNullableTermCriteria

[Missing <param name="criteria"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.CalcOpticalFlowPyrLK(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputOutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.TermCriteria},OpenCvSharp.CPlusPlus.OpticalFlowFlags,System.Double)"]

flags (Optional)
Type: OpenCvSharp.CPlusPlusOpticalFlowFlags

[Missing <param name="flags"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.CalcOpticalFlowPyrLK(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputOutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.TermCriteria},OpenCvSharp.CPlusPlus.OpticalFlowFlags,System.Double)"]

minEigThreshold (Optional)
Type: SystemDouble

[Missing <param name="minEigThreshold"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.CalcOpticalFlowPyrLK(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputOutputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.OutputArray,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.TermCriteria},OpenCvSharp.CPlusPlus.OpticalFlowFlags,System.Double)"]

See Also

Reference