Home
last modified time | relevance | path

Searched refs:prevPts (Results 1 – 12 of 12) sorted by relevance

/external/opencv3/modules/cudaoptflow/src/
Dpyrlk.cpp60 …void sparse1(PtrStepSzf I, PtrStepSzf J, const float2* prevPts, float2* nextPts, uchar* status, fl…
62 …void sparse4(PtrStepSz<float4> I, PtrStepSz<float4> J, const float2* prevPts, float2* nextPts, uch…
76 … void sparse(const GpuMat& prevImg, const GpuMat& nextImg, const GpuMat& prevPts, GpuMat& nextPts,
116 …Base::sparse(const GpuMat& prevImg, const GpuMat& nextImg, const GpuMat& prevPts, GpuMat& nextPts,… in sparse() argument
118 if (prevPts.empty()) in sparse()
134 CV_Assert( prevPts.rows == 1 && prevPts.type() == CV_32FC2 ); in sparse()
137 CV_Assert( nextPts.size() == prevPts.size() && nextPts.type() == prevPts.type() ); in sparse()
139 ensureSizeIsEnough(1, prevPts.cols, prevPts.type(), nextPts); in sparse()
141 GpuMat temp1 = (useInitialFlow_ ? nextPts : prevPts).reshape(1); in sparse()
145 ensureSizeIsEnough(1, prevPts.cols, CV_8UC1, status); in sparse()
[all …]
/external/opencv3/modules/video/misc/java/test/
DVideoTest.java18 private MatOfPoint2f prevPts = null; field in VideoTest
40 prevPts = new MatOfPoint2f(new Point(11d, 8d), new Point(5d, 5d), new Point(10d, 10d)); in setUp()
64 Video.calcOpticalFlowPyrLK(subLena1, subLena2, prevPts, nextPts, status, err); in testCalcOpticalFlowPyrLKMatMatListOfPointListOfPointListOfByteListOfFloat()
70 Video.calcOpticalFlowPyrLK(subLena1, subLena2, prevPts, nextPts, status, err, sz, 3); in testCalcOpticalFlowPyrLKMatMatListOfPointListOfPointListOfByteListOfFloatSize()
/external/opencv3/samples/gpu/
Dpyrlk_optical_flow.cpp30 static void drawArrows(Mat& frame, const vector<Point2f>& prevPts, const vector<Point2f>& nextPts, … in drawArrows() argument
32 for (size_t i = 0; i < prevPts.size(); ++i) in drawArrows()
38 Point p = prevPts[i]; in drawArrows()
164 vector<Point2f> prevPts(d_prevPts.cols); in main() local
165 download(d_prevPts, prevPts); in main()
173 drawArrows(frame0, prevPts, nextPts, status, Scalar(255, 0, 0)); in main()
/external/opencv3/modules/cudaoptflow/src/cuda/
Dpyrlk.cu121 …__global__ void sparseKernel(const float2* prevPts, float2* nextPts, uchar* status, float* err, co… in sparseKernel() argument
135 float2 prevPt = prevPts[blockIdx.x]; in sparseKernel()
313 …void sparse_caller(int rows, int cols, const float2* prevPts, float2* nextPts, uchar* status, floa… in sparse_caller() argument
319 …sparseKernel<cn, PATCH_X, PATCH_Y, true><<<grid, block>>>(prevPts, nextPts, status, err, level, ro… in sparse_caller()
321 …sparseKernel<cn, PATCH_X, PATCH_Y, false><<<grid, block>>>(prevPts, nextPts, status, err, level, r… in sparse_caller()
487 …void sparse1(PtrStepSzf I, PtrStepSzf J, const float2* prevPts, float2* nextPts, uchar* status, fl… in sparse1() argument
490 …typedef void (*func_t)(int rows, int cols, const float2* prevPts, float2* nextPts, uchar* status, … in sparse1()
505 funcs[patch.y - 1][patch.x - 1](I.rows, I.cols, prevPts, nextPts, status, err, ptcount, in sparse1()
509 …void sparse4(PtrStepSz<float4> I, PtrStepSz<float4> J, const float2* prevPts, float2* nextPts, uch… in sparse4() argument
512 …typedef void (*func_t)(int rows, int cols, const float2* prevPts, float2* nextPts, uchar* status, … in sparse4()
[all …]
/external/opencv3/modules/java/src/
Dvideo+Video.java94 …public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint… in calcOpticalFlowPyrLK() argument
96 Mat prevPts_mat = prevPts; in calcOpticalFlowPyrLK()
106 …public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint… in calcOpticalFlowPyrLK() argument
108 Mat prevPts_mat = prevPts; in calcOpticalFlowPyrLK()
118 …public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint… in calcOpticalFlowPyrLK() argument
120 Mat prevPts_mat = prevPts; in calcOpticalFlowPyrLK()
Dvideo.cpp339 std::vector<Point2f> prevPts; in Java_org_opencv_video_Video_calcOpticalFlowPyrLK_10() local
341 Mat_to_vector_Point2f( prevPts_mat, prevPts ); in Java_org_opencv_video_Video_calcOpticalFlowPyrLK_10()
353 …cv::calcOpticalFlowPyrLK( prevImg, nextImg, prevPts, nextPts, status, err, winSize, (int)maxLevel,… in Java_org_opencv_video_Video_calcOpticalFlowPyrLK_10()
374 std::vector<Point2f> prevPts; in Java_org_opencv_video_Video_calcOpticalFlowPyrLK_11() local
376 Mat_to_vector_Point2f( prevPts_mat, prevPts ); in Java_org_opencv_video_Video_calcOpticalFlowPyrLK_11()
387 …cv::calcOpticalFlowPyrLK( prevImg, nextImg, prevPts, nextPts, status, err, winSize, (int)maxLevel … in Java_org_opencv_video_Video_calcOpticalFlowPyrLK_11()
408 std::vector<Point2f> prevPts; in Java_org_opencv_video_Video_calcOpticalFlowPyrLK_12() local
410 Mat_to_vector_Point2f( prevPts_mat, prevPts ); in Java_org_opencv_video_Video_calcOpticalFlowPyrLK_12()
420 cv::calcOpticalFlowPyrLK( prevImg, nextImg, prevPts, nextPts, status, err ); in Java_org_opencv_video_Video_calcOpticalFlowPyrLK_12()
/external/opencv3/samples/tapi/
Dpyrlk_optical_flow.cpp33 static void drawArrows(UMat& _frame, const vector<Point2f>& prevPts, const vector<Point2f>& nextPts… in drawArrows() argument
37 for (size_t i = 0; i < prevPts.size(); ++i) in drawArrows()
43 Point p = prevPts[i]; in drawArrows()
/external/opencv3/modules/video/src/
Dlkpyramid.hpp23 const Point2f* prevPts; member
Dlkpyramid.cpp204 prevPts = _prevPts; in LKTrackerInvoker()
240 Point2f prevPt = prevPts[ptidx]*(float)(1./(1 << level)); in operator ()()
878 …bool sparse(const UMat &prevImg, const UMat &nextImg, const UMat &prevPts, UMat &nextPts, UMat &st… in sparse() argument
883 UMat temp1 = (useInitialFlow ? nextPts : prevPts).reshape(1); in sparse()
925 if (!lkSparse_run(prevPyr[level], nextPyr[level], prevPts, in sparse()
927 prevPts.cols, level)) in sparse()
975 … bool lkSparse_run(UMat &I, UMat &J, const UMat &prevPts, UMat &nextPts, UMat &status, UMat& err, in lkSparse_run() argument
999 …idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(prevPts)); // __global const float2* prevP… in lkSparse_run()
1126 const Point2f* prevPts = prevPtsMat.ptr<Point2f>(); in calcOpticalFlowPyrLK() local
1254 … nextPyr[level * lvlStep2], prevPts, nextPts, in calcOpticalFlowPyrLK()
/external/opencv3/modules/cudaoptflow/include/opencv2/
Dcudaoptflow.hpp100 InputArray prevPts, InputOutputArray nextPts,
/external/opencv3/modules/video/include/opencv2/video/
Dtracking.hpp174 InputArray prevPts, InputOutputArray nextPts,
/external/opencv3/modules/video/src/opencl/
Dpyrlk.cl304 …__global const float2* prevPts, __global float2* nextPts, __global uchar* status, __global float* …
324 float2 prevPt = prevPts[gid] / (float2)(1 << level);