Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
public static void CalcOpticalFlowPyrLK( InputArray prevImg, InputArray nextImg, Point2f[] prevPts, ref Point2f[] nextPts, out byte[] status, out float[] 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.Point2f[],OpenCvSharp.CPlusPlus.Point2f[]@,System.Byte[]@,System.Single[]@,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.Point2f[],OpenCvSharp.CPlusPlus.Point2f[]@,System.Byte[]@,System.Single[]@,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.TermCriteria},OpenCvSharp.CPlusPlus.OpticalFlowFlags,System.Double)"]
- prevPts
- Type: OpenCvSharp.CPlusPlusPoint2f
[Missing <param name="prevPts"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.CalcOpticalFlowPyrLK(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.Point2f[],OpenCvSharp.CPlusPlus.Point2f[]@,System.Byte[]@,System.Single[]@,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.TermCriteria},OpenCvSharp.CPlusPlus.OpticalFlowFlags,System.Double)"]
- nextPts
- Type: OpenCvSharp.CPlusPlusPoint2f
[Missing <param name="nextPts"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.CalcOpticalFlowPyrLK(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.Point2f[],OpenCvSharp.CPlusPlus.Point2f[]@,System.Byte[]@,System.Single[]@,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.TermCriteria},OpenCvSharp.CPlusPlus.OpticalFlowFlags,System.Double)"]
- status
- Type: SystemByte
[Missing <param name="status"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.CalcOpticalFlowPyrLK(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.Point2f[],OpenCvSharp.CPlusPlus.Point2f[]@,System.Byte[]@,System.Single[]@,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.TermCriteria},OpenCvSharp.CPlusPlus.OpticalFlowFlags,System.Double)"]
- err
- Type: SystemSingle
[Missing <param name="err"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.CalcOpticalFlowPyrLK(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.Point2f[],OpenCvSharp.CPlusPlus.Point2f[]@,System.Byte[]@,System.Single[]@,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.Point2f[],OpenCvSharp.CPlusPlus.Point2f[]@,System.Byte[]@,System.Single[]@,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.Point2f[],OpenCvSharp.CPlusPlus.Point2f[]@,System.Byte[]@,System.Single[]@,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.Point2f[],OpenCvSharp.CPlusPlus.Point2f[]@,System.Byte[]@,System.Single[]@,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.Point2f[],OpenCvSharp.CPlusPlus.Point2f[]@,System.Byte[]@,System.Single[]@,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.Point2f[],OpenCvSharp.CPlusPlus.Point2f[]@,System.Byte[]@,System.Single[]@,System.Nullable{OpenCvSharp.CPlusPlus.Size},System.Int32,System.Nullable{OpenCvSharp.CPlusPlus.TermCriteria},OpenCvSharp.CPlusPlus.OpticalFlowFlags,System.Double)"]