HomeSort by relevance Sort by last modified time
    Searched refs:nextPts (Results 1 - 16 of 16) sorted by null

  /external/opencv3/modules/video/test/ocl/
test_optflowpyrlk.cpp 99 std::vector<cv::Point2f> nextPts; umatNextPts.reshape(2, 1).copyTo(nextPts);
103 ASSERT_EQ(cpuNextPts.size(), nextPts.size());
107 for (size_t i = 0; i < nextPts.size(); ++i)
117 cv::Point2i a = nextPts[i];
128 double bad_ratio = static_cast<double>(mistmatch) / (nextPts.size());
  /external/opencv3/modules/video/misc/java/test/
VideoTest.java 17 private MatOfPoint2f nextPts = null;
42 nextPts = new MatOfPoint2f();
64 Video.calcOpticalFlowPyrLK(subLena1, subLena2, prevPts, nextPts, status, err);
70 Video.calcOpticalFlowPyrLK(subLena1, subLena2, prevPts, nextPts, status, err, sz, 3);
  /external/opencv3/modules/video/src/
lkpyramid.hpp 24 Point2f* nextPts;
lkpyramid.cpp 205 nextPts = _nextPts;
245 nextPt = nextPts[ptidx]*(float)(1./(1 << level));
250 nextPt = nextPts[ptidx]*2.f;
251 nextPts[ptidx] = nextPt;
688 nextPts[ptidx] = nextPt + halfWin;
696 nextPts[ptidx] -= delta*0.5f;
704 Point2f nextPoint = nextPts[ptidx] - halfWin;
    [all...]
  /external/opencv3/modules/cudaoptflow/src/
pyrlk.cpp 60 void sparse1(PtrStepSzf I, PtrStepSzf J, const float2* prevPts, float2* nextPts, uchar* status, float* err, int ptcount,
62 void sparse4(PtrStepSz<float4> I, PtrStepSz<float4> J, const float2* prevPts, float2* nextPts, uchar* status, float* err, int ptcount,
76 void sparse(const GpuMat& prevImg, const GpuMat& nextImg, const GpuMat& prevPts, GpuMat& nextPts,
116 void PyrLKOpticalFlowBase::sparse(const GpuMat& prevImg, const GpuMat& nextImg, const GpuMat& prevPts, GpuMat& nextPts, GpuMat& status, GpuMat* err, Stream& stream)
120 nextPts.release();
137 CV_Assert( nextPts.size() == prevPts.size() && nextPts.type() == prevPts.type() );
139 ensureSizeIsEnough(1, prevPts.cols, prevPts.type(), nextPts);
141 GpuMat temp1 = (useInitialFlow_ ? nextPts : prevPts).reshape(1);
142 GpuMat temp2 = nextPts.reshape(1)
    [all...]
  /external/opencv3/samples/tapi/
pyrlk_optical_flow.cpp 33 static void drawArrows(UMat& _frame, const vector<Point2f>& prevPts, const vector<Point2f>& nextPts, const vector<uchar>& status,
44 Point q = nextPts[i];
113 vector<cv::Point2f> nextPts(points);
176 calcOpticalFlowPyrLK(ptr0, ptr1, pts, nextPts, status, err);
182 drawArrows(frameCopy, pts, nextPts, status, Scalar(255, 0, 0));
211 calcOpticalFlowPyrLK(frame0, frame1, pts, nextPts, status, err);
222 drawArrows(frame0, pts, nextPts, status, Scalar(255, 0, 0));
  /external/opencv3/samples/gpu/
pyrlk_optical_flow.cpp 30 static void drawArrows(Mat& frame, const vector<Point2f>& prevPts, const vector<Point2f>& nextPts, const vector<uchar>& status, Scalar line_color = Scalar(0, 0, 255))
39 Point q = nextPts[i];
167 vector<Point2f> nextPts(d_nextPts.cols);
168 download(d_nextPts, nextPts);
173 drawArrows(frame0, prevPts, nextPts, status, Scalar(255, 0, 0));
  /external/opencv3/modules/cudaoptflow/perf/
perf_optflow.cpp 145 cv::cuda::GpuMat nextPts;
148 TEST_CYCLE() d_pyrLK->calc(d_frame0, d_frame1, d_pts, nextPts, status);
150 CUDA_SANITY_CHECK(nextPts);
155 cv::Mat nextPts;
160 cv::calcOpticalFlowPyrLK(frame0, frame1, pts, nextPts, status, cv::noArray(),
165 CPU_SANITY_CHECK(nextPts);
  /external/opencv3/modules/java/src/
video+Video.java 90 // C++: void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, vector_Point2f prevPts, vector_Point2f& nextPts, vector_uchar& status, vector_float& err, Size winSize = Size(21,21), int maxLevel = 3, TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.01), int flags = 0, double minEigThreshold = 1e-4)
93 //javadoc: calcOpticalFlowPyrLK(prevImg, nextImg, prevPts, nextPts, status, err, winSize, maxLevel, criteria, flags, minEigThreshold)
94 public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err, Size winSize, int maxLevel, TermCriteria criteria, int flags, double minEigThreshold)
97 Mat nextPts_mat = nextPts;
105 //javadoc: calcOpticalFlowPyrLK(prevImg, nextImg, prevPts, nextPts, status, err, winSize, maxLevel)
106 public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err, Size winSize, int maxLevel)
109 Mat nextPts_mat = nextPts;
117 //javadoc: calcOpticalFlowPyrLK(prevImg, nextImg, prevPts, nextPts, status, err)
118 public static void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, MatOfPoint2f prevPts, MatOfPoint2f nextPts, MatOfByte status, MatOfFloat err)
121 Mat nextPts_mat = nextPts;
    [all...]
video.cpp 328 // void calcOpticalFlowPyrLK(Mat prevImg, Mat nextImg, vector_Point2f prevPts, vector_Point2f& nextPts, vector_uchar& status, vector_float& err, Size winSize = Size(21,21), int maxLevel = 3, TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.01), int flags = 0, double minEigThreshold = 1e-4)
342 std::vector<Point2f> nextPts;
344 Mat_to_vector_Point2f( nextPts_mat, nextPts );
353 cv::calcOpticalFlowPyrLK( prevImg, nextImg, prevPts, nextPts, status, err, winSize, (int)maxLevel, criteria, (int)flags, (double)minEigThreshold );
354 vector_Point2f_to_Mat( nextPts, nextPts_mat ); vector_uchar_to_Mat( status, status_mat ); vector_float_to_Mat( err, err_mat );
377 std::vector<Point2f> nextPts;
379 Mat_to_vector_Point2f( nextPts_mat, nextPts );
387 cv::calcOpticalFlowPyrLK( prevImg, nextImg, prevPts, nextPts, status, err, winSize, (int)maxLevel );
388 vector_Point2f_to_Mat( nextPts, nextPts_mat ); vector_uchar_to_Mat( status, status_mat ); vector_float_to_Mat( err, err_mat );
411 std::vector<Point2f> nextPts;
    [all...]
  /external/opencv3/modules/cudaoptflow/src/cuda/
pyrlk.cu 121 __global__ void sparseKernel(const float2* prevPts, float2* nextPts, uchar* status, float* err, const int level, const int rows, const int cols)
221 float2 nextPt = nextPts[blockIdx.x];
305 nextPts[blockIdx.x] = nextPt;
313 void sparse_caller(int rows, int cols, const float2* prevPts, float2* nextPts, uchar* status, float* err, int ptcount,
319 sparseKernel<cn, PATCH_X, PATCH_Y, true><<<grid, block>>>(prevPts, nextPts, status, err, level, rows, cols);
321 sparseKernel<cn, PATCH_X, PATCH_Y, false><<<grid, block>>>(prevPts, nextPts, status, err, level, rows, cols);
487 void sparse1(PtrStepSzf I, PtrStepSzf J, const float2* prevPts, float2* nextPts, uchar* status, float* err, int ptcount,
490 typedef void (*func_t)(int rows, int cols, const float2* prevPts, float2* nextPts, uchar* status, float* err, int ptcount,
505 funcs[patch.y - 1][patch.x - 1](I.rows, I.cols, prevPts, nextPts, status, err, ptcount,
509 void sparse4(PtrStepSz<float4> I, PtrStepSz<float4> J, const float2* prevPts, float2* nextPts, uchar* status, float* err, int ptcount
    [all...]
  /external/opencv3/modules/cudaoptflow/test/
test_optflow.cpp 215 std::vector<cv::Point2f> nextPts(d_nextPts.cols);
216 cv::Mat nextPts_mat(1, d_nextPts.cols, CV_32FC2, (void*) &nextPts[0]);
227 ASSERT_EQ(nextPts_gold.size(), nextPts.size());
231 for (size_t i = 0; i < nextPts.size(); ++i)
233 cv::Point2i a = nextPts[i];
251 double bad_ratio = static_cast<double>(mistmatch) / nextPts.size();
  /external/opencv3/modules/cudaoptflow/include/opencv2/
cudaoptflow.hpp 93 @param nextPts Output vector of 2D points containing the calculated new positions of input features in the second image.
100 InputArray prevPts, InputOutputArray nextPts,
  /external/opencv3/modules/video/include/opencv2/video/
tracking.hpp 133 @param nextPts output vector of 2D points (with single-precision floating-point coordinates)
149 - **OPTFLOW_USE_INITIAL_FLOW** uses initial estimations, stored in nextPts; if the flag is
150 not set, then prevPts is copied to nextPts and is considered the initial estimate.
174 InputArray prevPts, InputOutputArray nextPts,
  /external/opencv3/modules/video/src/opencl/
pyrlk.cl 304 __global const float2* prevPts, __global float2* nextPts, __global uchar* status, __global float* err,
416 prevPt = nextPts[gid] * 2.0f - c_halfWin;
560 nextPts[gid] = prevPt;
  /cts/apps/CtsVerifier/libs/
opencv3-android.jar 

Completed in 1005 milliseconds