Home
last modified time | relevance | path

Searched refs:flowy (Results 1 – 9 of 9) sorted by relevance

/external/opencv3/modules/cudaoptflow/src/
Dfarneback.cpp71 … 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 &st…
171 GpuMat flowy = pool.getBuffer(frame0.size(), CV_32FC1); in calc() local
173 calcImpl(frame0, frame1, flowx, flowy, stream); in calc()
175 GpuMat flows[] = {flowx, flowy}; in calc()
257 const GpuMat& R0, const GpuMat& R1, GpuMat& flowx, GpuMat &flowy, in updateFlow_boxFilter() argument
268 … device::optflow_farneback::updateFlowGpu(M, flowx, flowy, StreamAccessor::getStream(streams[0])); in updateFlow_boxFilter()
[all …]
Dtvl1flow.cpp131 … void calcImpl(const GpuMat& I0, const GpuMat& I1, GpuMat& flowx, GpuMat& flowy, Stream& stream);
168 GpuMat flowy = pool.getBuffer(frame0.size(), CV_32FC1); in calc() local
170 calcImpl(frame0, frame1, flowx, flowy, stream); in calc()
172 GpuMat flows[] = {flowx, flowy}; in calc()
176 …L1_Impl::calcImpl(const GpuMat& I0, const GpuMat& I1, GpuMat& flowx, GpuMat& flowy, Stream& stream) in calcImpl() argument
181 …(flowx.size() == I0.size() && flowx.type() == CV_32FC1 && flowy.size() == flowx.size() && flowy.ty… in calcImpl()
197 flowy.create(I0.size(), CV_32FC1); in calcImpl()
201 u2s[0] = flowy; in calcImpl()
/external/opencv3/samples/gpu/
Dfarneback_optical_flow.cpp76 Mat flowxy, flowx, flowy, image; in main() local
97 planes[1].download(flowy); in main()
107 Mat planes[] = {flowx, flowy}; in main()
109 flowx = planes[0]; flowy = planes[1]; in main()
112 colorizeFlow(flowx, flowy, image); in main()
Doptical_flow.cpp89 static void drawOpticalFlow(const Mat_<float>& flowx, const Mat_<float>& flowy, Mat& dst, float max… in drawOpticalFlow() argument
104 Point2f u(flowx(y, x), flowy(y, x)); in drawOpticalFlow()
118 Point2f u(flowx(y, x), flowy(y, x)); in drawOpticalFlow()
132 Mat flowy(planes[1]); in showFlow() local
135 drawOpticalFlow(flowx, flowy, out, 10); in showFlow()
/external/opencv3/modules/cudalegacy/src/
Dbm_fast.cpp62 …M::operator ()(const GpuMat& I0, const GpuMat& I1, GpuMat& flowx, GpuMat& flowy, int search_window… in operator ()() argument
85 flowy.create(I0.size(), CV_32FC1); in operator ()()
87 …optflowbm_fast::calc<uchar>(I0_hdr, I1_hdr, flowx, flowy, buffer, search_window, block_window, Str… in operator ()()
/external/opencv3/modules/video/src/
Doptflowgf.cpp612 bool operator ()(const UMat &frame0, const UMat &frame1, UMat &flowx, UMat &flowy) in operator ()() argument
625 flowy.create(size, CV_32F); in operator ()()
627 UMat flowy0 = flowy; in operator ()()
775 flowy = curFlowY; in operator ()()
957 bool updateFlowOcl(const UMat &M, UMat &flowx, UMat &flowy) in updateFlowOcl() argument
975 idxArg = kernel.set(idxArg, ocl::KernelArg::PtrReadOnly(flowy)); in updateFlowOcl()
976 idxArg = kernel.set(idxArg, (int)(flowy.step / flowy.elemSize())); in updateFlowOcl()
977 idxArg = kernel.set(idxArg, (int)flowy.rows); in updateFlowOcl()
978 kernel.set(idxArg, (int)flowy.cols); in updateFlowOcl()
981 …bool updateMatricesOcl(const UMat &flowx, const UMat &flowy, const UMat &R0, const UMat &R1, UMat … in updateMatricesOcl() argument
[all …]
/external/opencv3/modules/cudaoptflow/src/cuda/
Dfarneback.cu157 const int height, const int width, const PtrStepf flowx, const PtrStepf flowy, in updateMatrices() argument
166 float dy = flowy(y, x); in updateMatrices()
252 … const PtrStepSzf flowx, const PtrStepSzf flowy, const PtrStepSzf R0, const PtrStepSzf R1, in updateMatricesGpu() argument
258 updateMatrices<<<grid, block, 0, stream>>>(flowx.rows, flowx.cols, flowx, flowy, R0, R1, M); in updateMatricesGpu()
268 const int height, const int width, const PtrStepf M, PtrStepf flowx, PtrStepf flowy) in updateFlow() argument
284 flowy(y, x) = (g22*h1 - g12*h2) * detInv; in updateFlow()
289 void updateFlowGpu(const PtrStepSzf M, PtrStepSzf flowx, PtrStepSzf flowy, cudaStream_t stream) in updateFlowGpu() argument
294 updateFlow<<<grid, block, 0, stream>>>(flowx.rows, flowx.cols, M, flowx, flowy); in updateFlowGpu()
/external/opencv3/modules/video/src/opencl/
Doptical_flow_farneback.cl257 __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/
Dcudalegacy.hpp202 …void operator ()(const GpuMat& I0, const GpuMat& I1, GpuMat& flowx, GpuMat& flowy, int search_wind…