private cvCalcOpticalFlowLK ( IntPtr prev, IntPtr curr, Size winSize, IntPtr velx, IntPtr vely ) : void | ||
prev | IntPtr | |
curr | IntPtr | |
winSize | Size | |
velx | IntPtr | |
vely | IntPtr | |
return | void |
/// <summary> /// Computes flow for every pixel of the first input image using Lucas & Kanade algorithm /// </summary> /// <param name="prev">First image</param> /// <param name="curr">Second image</param> /// <param name="winSize">Size of the averaging window used for grouping pixels</param> /// <param name="velx">Horizontal component of the optical flow of the same size as input images</param> /// <param name="vely">Vertical component of the optical flow of the same size as input images</param> public static void LK( Image <Gray, Byte> prev, Image <Gray, Byte> curr, Size winSize, Image <Gray, Single> velx, Image <Gray, Single> vely) { CvInvoke.cvCalcOpticalFlowLK(prev.Ptr, curr.Ptr, winSize, velx, vely); }