/external/opencv3/modules/cudaoptflow/src/ |
farneback.cpp | 71 const PtrStepSzf flowx, const PtrStepSzf flowy, const PtrStepSzf R0, const PtrStepSzf R1, 75 const PtrStepSzf M, PtrStepSzf flowx, PtrStepSzf flowy, cudaStream_t stream); 150 const GpuMat& R0, const GpuMat& R1, GpuMat& flowx, GpuMat &flowy, 154 const GpuMat& R0, const GpuMat& R1, GpuMat& flowx, GpuMat& flowy, 157 void calcImpl(const GpuMat &frame0, const GpuMat &frame1, GpuMat &flowx, GpuMat &flowy, Stream &stream); 171 GpuMat flowy = pool.getBuffer(frame0.size(), CV_32FC1); 173 calcImpl(frame0, frame1, flowx, flowy, stream); 175 GpuMat flows[] = {flowx, flowy}; 257 const GpuMat& R0, const GpuMat& R1, GpuMat& flowx, GpuMat &flowy, 268 device::optflow_farneback::updateFlowGpu(M, flowx, flowy, StreamAccessor::getStream(streams[0])) [all...] |
tvl1flow.cpp | 131 void calcImpl(const GpuMat& I0, const GpuMat& I1, GpuMat& flowx, GpuMat& flowy, Stream& stream); 168 GpuMat flowy = pool.getBuffer(frame0.size(), CV_32FC1); local 170 calcImpl(frame0, frame1, flowx, flowy, stream); 172 GpuMat flows[] = {flowx, flowy}; 176 void OpticalFlowDual_TVL1_Impl::calcImpl(const GpuMat& I0, const GpuMat& I1, GpuMat& flowx, GpuMat& flowy, Stream& stream) 181 CV_Assert( !useInitialFlow_ || (flowx.size() == I0.size() && flowx.type() == CV_32FC1 && flowy.size() == flowx.size() && flowy.type() == flowx.type()) ); 197 flowy.create(I0.size(), CV_32FC1); 201 u2s[0] = flowy;
|
/external/opencv3/modules/videostab/src/ |
inpainting.cpp | 247 int qy1 = cvRound(qy0 + flowY(qy0,qx0)); 261 dvdx = (flowY(qy0,qx0+1) - flowY(qy0,qx0-1)) * 0.5f; 266 dvdx = flowY(qy0,qx0) - flowY(qy0,qx0-1); 272 dvdx = flowY(qy0,qx0+1) - flowY(qy0,qx0); 280 dvdy = (flowY(qy0+1,qx0) - flowY(qy0-1,qx0)) * 0.5f; 285 dvdy = flowY(qy0,qx0) - flowY(qy0-1,qx0) [all...] |
optical_flow.cpp | 123 InputArray frame0, InputArray frame1, InputOutputArray flowX, InputOutputArray flowY, 149 flowY_.download(flowY.getMatRef());
|
/external/opencv3/samples/gpu/ |
farneback_optical_flow.cpp | 76 Mat flowxy, flowx, flowy, image; local 97 planes[1].download(flowy); 107 Mat planes[] = {flowx, flowy}; 109 flowx = planes[0]; flowy = planes[1]; 112 colorizeFlow(flowx, flowy, image);
|
optical_flow.cpp | 89 static void drawOpticalFlow(const Mat_<float>& flowx, const Mat_<float>& flowy, Mat& dst, float maxmotion = -1) 104 Point2f u(flowx(y, x), flowy(y, x)); 118 Point2f u(flowx(y, x), flowy(y, x)); 132 Mat flowy(planes[1]); 135 drawOpticalFlow(flowx, flowy, out, 10);
|
/external/opencv3/modules/cudalegacy/src/ |
bm_fast.cpp | 62 void cv::cuda::FastOpticalFlowBM::operator ()(const GpuMat& I0, const GpuMat& I1, GpuMat& flowx, GpuMat& flowy, int search_window, int block_window, Stream& stream) 85 flowy.create(I0.size(), CV_32FC1); 87 optflowbm_fast::calc<uchar>(I0_hdr, I1_hdr, flowx, flowy, buffer, search_window, block_window, StreamAccessor::getStream(stream));
|
/external/opencv3/modules/videostab/include/opencv2/videostab/ |
optical_flow.hpp | 75 InputArray frame0, InputArray frame1, InputOutputArray flowX, InputOutputArray flowY, 135 InputArray frame0, InputArray frame1, InputOutputArray flowX, InputOutputArray flowY,
|
inpainting.hpp | 200 const Mat &flowX, const Mat &flowY, const Mat &errors, float maxError, 204 const Mat &flowMask, const Mat &flowX, const Mat &flowY, const Mat &frame1, const Mat &mask1,
|
/external/opencv3/modules/video/src/ |
optflowgf.cpp | 612 bool operator ()(const UMat &frame0, const UMat &frame1, UMat &flowx, UMat &flowy) 625 flowy.create(size, CV_32F); 627 UMat flowy0 = flowy; 775 flowy = curFlowY; 957 bool updateFlowOcl(const UMat &M, UMat &flowx, UMat &flowy) [all...] |
/external/opencv3/modules/cudaoptflow/src/cuda/ |
farneback.cu | 157 const int height, const int width, const PtrStepf flowx, const PtrStepf flowy, 166 float dy = flowy(y, x); 252 const PtrStepSzf flowx, const PtrStepSzf flowy, const PtrStepSzf R0, const PtrStepSzf R1, 258 updateMatrices<<<grid, block, 0, stream>>>(flowx.rows, flowx.cols, flowx, flowy, R0, R1, M); 268 const int height, const int width, const PtrStepf M, PtrStepf flowx, PtrStepf flowy) 284 flowy(y, x) = (g22*h1 - g12*h2) * detInv; 289 void updateFlowGpu(const PtrStepSzf M, PtrStepSzf flowx, PtrStepSzf flowy, cudaStream_t stream) 294 updateFlow<<<grid, block, 0, stream>>>(flowx.rows, flowx.cols, M, flowx, flowy);
|
/external/opencv3/modules/video/src/opencl/ |
optical_flow_farneback.cl | 257 __global const float * flowy, int yStep, 269 float dy = flowy[mad24(y, yStep, x)]; 410 __global float * flowy, int yStep, 427 flowy[mad24(y, yStep, x)] = (g22*h1 - g12*h2) * detInv;
|
/external/opencv3/modules/cudalegacy/include/opencv2/ |
cudalegacy.hpp | 202 void operator ()(const GpuMat& I0, const GpuMat& I1, GpuMat& flowx, GpuMat& flowy, int search_window = 21, int block_window = 7, Stream& s = Stream::Null());
|
/external/opencv3/modules/video/ |
opencl_kernels_video.cpp | 400 "__global const float * flowy, int yStep,\n" 411 "float dy = flowy[mad24(y, yStep, x)];\n" 524 "__global float * flowy, int yStep,\n" 538 "flowy[mad24(y, yStep, x)] = (g22*h1 - g12*h2) * detInv;\n" [all...] |