Hello,
I'm trying to refactor old code which uses "cvCalcOpticalFlowPyrLK" (http://docs.opencv.org/2.4/modules/video/doc/motion_analysis_and_object_tracking.html). With new cuda function cv::cuda::SparsePyrLKOpticalFlow::calc but I cannot find any example of usage.
Can anyone please post me some example of correct use of this method, (of all the input structures and what should I receive)?
Thanks a lot