Pass RANSAC parameters as function input (#10569)
authorbranka-plateiq <branka@plateiq.com>
Tue, 26 Jun 2018 13:40:28 +0000 (06:40 -0700)
committerVadim Pisarevsky <vadim.pisarevsky@gmail.com>
Tue, 26 Jun 2018 13:40:28 +0000 (16:40 +0300)
commit34ad9b8a42e185d2db61099af4cbc4ef55f3c9b6
tree2f46ac1ce6cef75341a2fe1fe2554c0606fdc468
parent53a475d63c49abc53a7b786c0b5177047314a721
Pass RANSAC parameters as function input (#10569)

* Pass RANSAC parameters as function input

* Clean up unnecessary code

* Keep the original function signature

* Clean up based on PR comments

Replace array with vector.

Correct naming convention for input variables.

Add checks on input variables.

* Use vector instead of array for dynamic size

* Revert change.

* Use dynamic array

* Fix wrong syntax in array allocation

* Undo change

* Fix variable name

* Use vector and not array

* fixed compile warning on Windows
modules/video/include/opencv2/video/tracking.hpp
modules/video/src/lkpyramid.cpp