I'm trying to implement simple tracker using the optical flow, the feature points are calculated in rectangle selected by mouse:
Code: Select all
...
Emgu::CV::Image<Gray,Byte>^ imGr= im->Convert<Gray,Byte>();
imGr->ROI= tRect;
tCorners= imGr->GoodFeaturesToTrack(MAX_COUNT,0.01,5,3);
imGr->FindCornerSubPix(tCorners,System::Drawing::Size(10,10),System::Drawing::Size(-1,-1),MCvTermCriteria(20,0.03));
...
I appreciate any help of explaining why this happen or what is size limit would be.