Example #1
0
 /// <summary>
 /// Create the PyrLK optical flow solver
 /// </summary>
 /// <param name="winSize">Windows size. Use 21x21 for default</param>
 /// <param name="maxLevel">The maximum number of pyramid leveles. Use 3 for default</param>
 /// <param name="iters">The number of iterations. Use 30 for default.</param>
 /// <param name="useInitialFlow">Weather or not use the initial flow in the input matrix. Use false for default.</param>
 public OclPyrLKOpticalFlow(Size winSize, int maxLevel, int iters, bool useInitialFlow)
 {
     _ptr = OclInvoke.oclPyrLKOpticalFlowCreate(winSize, maxLevel, iters, useInitialFlow);
 }