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

  /external/opencv3/modules/video/misc/java/test/
VideoTest.java 18 private MatOfPoint2f prevPts = null;
40 prevPts = new MatOfPoint2f(new Point(11d, 8d), new Point(5d, 5d), new Point(10d, 10d));
64 Video.calcOpticalFlowPyrLK(subLena1, subLena2, prevPts, nextPts, status, err);
70 Video.calcOpticalFlowPyrLK(subLena1, subLena2, prevPts, nextPts, status, err, sz, 3);
  /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)
118 if (prevPts.empty())
134 CV_Assert( prevPts.rows == 1 && prevPts.type() == CV_32FC2 );
137 CV_Assert( nextPts.size() == prevPts.size() && nextPts.type() == prevPts.type() );
139 ensureSizeIsEnough(1, prevPts.cols, prevPts.type(), nextPts)
    [all...]
  /external/opencv3/modules/video/src/
lkpyramid.hpp 23 const Point2f* prevPts;
lkpyramid.cpp 204 prevPts = _prevPts;
240 Point2f prevPt = prevPts[ptidx]*(float)(1./(1 << level));
    [all...]
  /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))
32 for (size_t i = 0; i < prevPts.size(); ++i)
38 Point p = prevPts[i];
164 vector<Point2f> prevPts(d_prevPts.cols);
165 download(d_prevPts, prevPts);
173 drawArrows(frame0, prevPts, nextPts, status, Scalar(255, 0, 0));
  /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)
96 Mat prevPts_mat = prevPts;
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)
108 Mat prevPts_mat = prevPts;
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)
120 Mat prevPts_mat = prevPts;
    [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)
339 std::vector<Point2f> prevPts;
341 Mat_to_vector_Point2f( prevPts_mat, prevPts );
353 cv::calcOpticalFlowPyrLK( prevImg, nextImg, prevPts, nextPts, status, err, winSize, (int)maxLevel, criteria, (int)flags, (double)minEigThreshold );
374 std::vector<Point2f> prevPts;
376 Mat_to_vector_Point2f( prevPts_mat, prevPts );
387 cv::calcOpticalFlowPyrLK( prevImg, nextImg, prevPts, nextPts, status, err, winSize, (int)maxLevel );
408 std::vector<Point2f> prevPts;
410 Mat_to_vector_Point2f( prevPts_mat, prevPts );
420 cv::calcOpticalFlowPyrLK( prevImg, nextImg, prevPts, nextPts, status, err )
    [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)
135 float2 prevPt = prevPts[blockIdx.x];
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,
512 typedef void (*func_t)(int rows, int cols, const float2* prevPts, float2* nextPts, uchar* status, float* err, int ptcount
    [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,
37 for (size_t i = 0; i < prevPts.size(); ++i)
43 Point p = prevPts[i];
  /external/opencv3/modules/cudaoptflow/include/opencv2/
cudaoptflow.hpp 92 @param prevPts Vector of 2D points for which the flow needs to be found.
100 InputArray prevPts, InputOutputArray nextPts,
  /external/opencv3/modules/video/include/opencv2/video/
tracking.hpp 131 @param prevPts vector of 2D points for which the flow needs to be found; point coordinates must be
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,
324 float2 prevPt = prevPts[gid] / (float2)(1 << level);
  /cts/apps/CtsVerifier/libs/
opencv3-android.jar 

Completed in 129 milliseconds