1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-17 15:26:00 +08:00
Commit Graph

27 Commits

Author SHA1 Message Date
Vadim Pisarevsky
dbfa4d7228 TVL1 optical flow example moved from opencv to opencv_contrib 2018-11-09 16:10:57 +03:00
Vadim Pisarevsky
2cc5ead103 moved DIS optical flow from opencv_contrib to opencv, moved TVL1 from opencv to opencv_contrib 2018-11-09 00:48:48 +03:00
Alexander Alekhin
57ff363389 python: 'cv2.' -> 'cv.' via 'import cv2 as cv' 2017-12-11 16:14:46 +03:00
Vladislav Samsonov
3442a8deee Handle incorrect flow vectors in gpc_evaluate; fixes opencv/opencv#9183 2017-07-24 19:05:45 +03:00
Li Peng
6f907c3347 add dis optical flow sample app
it takes a video file as input and shows colored optical flow.

Signed-off-by: Li Peng <peng.li@intel.com>
2017-03-24 10:40:31 +08:00
berak
3f7e74db85 fix misplaced break statement 2017-02-28 08:43:13 +01:00
Vladislav Samsonov
ac62d70f97 [GSoC] Implementation of the Global Patch Collider and demo for PCAFlow (#752)
* Minor fixes

* Start adding correspondence finding

* Added finding of correspondences using GPC

* New evaluation tool for GPC

* Changed default parameters

* Display ground truth in the evaluation tool

* Added training tool for MPI Sintel dataset

* Added the training tool for Middlebury dataset

* Added some OpenCL optimization

* Added explanatory notes

* Minor improvements: time measurements + little ocl optimization

* Added demos

* Fixed warnings

* Make parameter struct assignable

* Fix warning

* Proper command line argument usage

* Prettified training tool, added parameters

* Fixed VS warning

* Fixed VS warning

* Using of compressed forest.yml.gz files by default to save space

* Added OpenCL flag to the evaluation tool

* Updated documentation

* Major speed and memory improvements:
1) Added new (optional) type of patch descriptors which are much faster. Retraining with option --descriptor-type=1 is required.
2) Got rid of hash table for descriptors, less memory usage.

* Fixed various floating point errors related to precision.
SIMD for dot product, forest traversing is a little bit faster now.

* Tolerant floating point comparison

* Triplets

* Added comment

* Choosing negative sample among nearest neighbors

* Fix warning

* Usage of parallel_for_() in critical places. Performance improvments.

* Simulated annealing heuristic

* Moved OpenCL kernel to separate file

* Moved implementation to source file

* Added basic accuracy tests for GPC and PCAFlow

* Fixing warnings

* Test accuracy constraints were too strict

* Test accuracy constraints were too strict

* Make tests more lightweight
2016-10-17 18:15:22 +03:00
berak
ba2aae5664 optflow: updated motempl.py sample 2016-09-12 13:27:13 +02:00
Vladislav Samsonov
1764f9247a Fixed OpenCL check behavior 2016-07-27 01:28:42 +03:00
Vladislav Samsonov
17831add02 Added new method for training forest 2016-07-25 03:22:31 +03:00
Vladislav Samsonov
7f93d951d3 Added training part of the Global Patch Collider 2016-07-25 02:28:23 +03:00
Vladislav Samsonov
1d90d67016 Merge upstream 2016-07-08 13:49:03 +03:00
Alexander Bokov
b96a5f5963 Complete DIS optical flow implementation
Added variational refinement as a separate class (based on implementation
inside DeepFlow, but significantly accelerated, about 4-6 times faster),
accelerated the main dense inverse search algorithm. Added several new
features including patch mean normalization for increased robustness to
illumination changes and spatial propagation, which often helps to recover
from errors introduced by the coarse-to-fine scheme. Expanded the
documentation, added new accuracy and perf tests. Refactored some of
the already existing optical flow accuracy tests.
2016-07-01 18:50:10 +03:00
Vladislav Samsonov
329f49e92a Passing of the prior file to the evaluation tool 2016-06-13 19:25:51 +03:00
Vladislav Samsonov
8ebe182f80 Merge recent changes 2016-06-13 02:32:27 +03:00
Vladislav Samsonov
7a18e78865 Post-review fixes 2016-06-13 02:11:38 +03:00
Vladislav Samsonov
54e746bebd Added OpenCL support 2016-06-12 23:04:38 +03:00
Alexander Bokov
d4c3765e4f Partial DIS implementation and OF benchmark
Basic interfaces and a partial implementation of the Dense Inverse
Search (DIS) optical flow algorithm without variational refinement. Also
added a python benchmarking script that can evaluate different optical
flow algorithms on the MPI Sintel and Middlebury datasets and build
overall comparative charts.
2016-06-10 13:00:36 +03:00
Vladislav Samsonov
fc00397160 Added naive blockmatching algorithm (just to get acquainted with the code base, this algo shouldn't be considered seriously).
Also, added boilerplate for pcaflow.
2016-05-07 09:49:43 +03:00
Bleach666
9677bd7fca fix vs2010 samples build 2016-03-18 14:48:16 +02:00
Maksim Shabunin
bf22f6f9b4 Merge pull request #379 from sbokov:sparseMatchInterpolationSquashed 2015-10-22 12:37:13 +00:00
sbokov
831523ce02 Sparse-to-dense OF algorithm is added
* Sparse match interpolator interface and EdgeAwareInterpolator were
added to the ximgproc module
* New optical flow algorithm, based on PyrLK sparse OF and sparse match
interpolation, is added to the optflow module
2015-09-15 17:55:40 +03:00
laurentBerger
6122d265d1 Replace tab with four space 2015-04-28 21:13:06 +02:00
laurentBerger
52d0d8b770 bugfix4269 included remarks in http://answers.opencv.org/question/59293/problem-with-example-motemplcpp/ 2015-04-23 17:38:16 +02:00
tpietruszka
4ec320efe1 Added Deepflow to the testing app 2014-08-18 23:35:59 +02:00
tpietruszka
4738fc2e63 Moved optflow interfaces and testing app.
Algorithm::info()-related code disabled-after moving to opencv_contrib caused compilation errors

Added usage examples

Added documentation for optflow_io

+bugfix: handling invalid algorithm choice

+ solving MSVC compilation errors; assuming that int and float are 4-bytes long - possibly needs fixing
2014-08-18 17:45:34 +02:00
Vadim Pisarevsky
4df76c353a added outflow, bgsegm modules; moved matlab from the main repository 2014-08-10 23:25:27 +04:00