Lines Matching refs:nextImg
76 void sparse(const GpuMat& prevImg, const GpuMat& nextImg, const GpuMat& prevPts, GpuMat& nextPts,
79 void dense(const GpuMat& prevImg, const GpuMat& nextImg, GpuMat& u, GpuMat& v, Stream& stream);
116 void PyrLKOpticalFlowBase::sparse(const GpuMat& prevImg, const GpuMat& nextImg, const GpuMat& prevPts, GpuMat& nextPts, GpuMat& status, GpuMat* err, Stream& stream)
130 CV_Assert( prevImg.size() == nextImg.size() && prevImg.type() == nextImg.type() );
163 nextImg.convertTo(nextPyr_[0], CV_32F, stream);
172 cuda::cvtColor(nextImg, buf, COLOR_BGR2BGRA, 0, stream);
207 void PyrLKOpticalFlowBase::dense(const GpuMat& prevImg, const GpuMat& nextImg, GpuMat& u, GpuMat& v, Stream& stream)
210 CV_Assert( prevImg.size() == nextImg.size() && prevImg.type() == nextImg.type() );
220 nextImg.convertTo(nextPyr_[0], CV_32F, stream);
293 const GpuMat nextImg = _nextImg.getGpuMat();
299 sparse(prevImg, nextImg, prevPts, nextPts, status, err, stream);
326 const GpuMat nextImg = _nextImg.getGpuMat();
332 dense(prevImg, nextImg, u, v, stream);