Lines Matching full:frame1
57 Mat frame1, frame2;
61 cvtColor(img1, frame1, COLOR_BGR2GRAY, cn);
65 frame1 = img1;
69 cvtColor(img1, frame1, COLOR_BGR2BGRA, cn);
81 FormTrackingPointsArray(inPoints, frame1.cols, frame1.rows, nPointsX, nPointsY);
86 declare.in(frame1, frame2, inPoints).out(outPoints);
90 calcOpticalFlowPyrLK(frame1, frame2, inPoints, outPoints, status, err,
131 Mat frame1, frame2;
135 cvtColor(img1, frame1, COLOR_BGR2GRAY, cn);
139 frame1 = img1;
143 cvtColor(img1, frame1, COLOR_BGR2BGRA, cn);
155 FormTrackingPointsArray(inPoints, frame1.cols, frame1.rows, nPointsX, nPointsY);
162 maxLevel = buildOpticalFlowPyramid(frame1, pyramid1, Size(winSize, winSize), maxLevel, withDerivatives);