opencv/modules/video/src
Sergey Krivohatskiy af13f61a43
Merge pull request #19580 from SergeyKrivohatskiy:patch-1
* Fixed OCL implementation of pyrlk

If prevPts size is (N, 1) (which is a default layout for converting `vector<Point2f>` to `UMat`) the `prevPts.cols == 1` and optical flow will be calculated for the first point only.
Getting `prevPts.total()` as in line 1048 is the correct way to get points count.

* fixed compilation warning (size_t to int)

Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>
2021-02-21 15:57:18 +00:00
..
opencl Fix modules/ typos 2019-08-16 17:34:29 +03:00
bgfg_gaussmix2.cpp Fix spelling typos 2019-12-27 12:46:53 +00:00
bgfg_KNN.cpp fix files permissions 2020-04-13 04:29:55 +00:00
camshift.cpp fixed bug: added threshold for variables 'rotate_a', ' rotate_c' 2019-02-08 13:06:23 +03:00
compat_video.cpp don't use constructors for C API structures 2018-09-06 14:34:16 +03:00
ecc.cpp Fix modules/ typos 2019-08-16 17:34:29 +03:00
kalman.cpp Add semicolons after CV_INSTRUMENT macros 2018-09-14 06:45:31 +09:00
lkpyramid.cpp Merge pull request #19580 from SergeyKrivohatskiy:patch-1 2021-02-21 15:57:18 +00:00
lkpyramid.hpp Merge pull request #17180 from PetWorm:3.4 2020-04-29 09:55:59 +00:00
optflowgf.cpp fix getDefaultName() 2021-02-15 19:21:53 +06:00
precomp.hpp Master Version: Added NEON Optimizations for LK Optical Flow. 2014-03-04 14:47:12 -05:00
tvl1flow.cpp fix getDefaultName() 2021-02-15 19:21:53 +06:00