Lines Matching refs:points
65 vector<Point2f> points[2]; in main() local
82 goodFeaturesToTrack(gray, points[1], MAX_COUNT, 0.01, 10, Mat(), 3, 0, 0.04); in main()
83 cornerSubPix(gray, points[1], subPixWinSize, Size(-1,-1), termcrit); in main()
86 else if( !points[0].empty() ) in main()
92 calcOpticalFlowPyrLK(prevGray, gray, points[0], points[1], status, err, winSize, in main()
95 for( i = k = 0; i < points[1].size(); i++ ) in main()
99 if( norm(point - points[1][i]) <= 5 ) in main()
109 points[1][k++] = points[1][i]; in main()
110 circle( image, points[1][i], 3, Scalar(0,255,0), -1, 8); in main()
112 points[1].resize(k); in main()
115 if( addRemovePt && points[1].size() < (size_t)MAX_COUNT ) in main()
120 points[1].push_back(tmp[0]); in main()
136 points[0].clear(); in main()
137 points[1].clear(); in main()
144 std::swap(points[1], points[0]); in main()