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

70 Commits

Author SHA1 Message Date
Alexander Alekhin
c47b0ea23c Merge pull request #828 from alalek:fix_optflow
optflow: fix test failure

MSVS2013:
- DenseOpticalFlow_GlobalPatchColliderDCT.ReferenceAccuracy
- DenseOpticalFlow_GlobalPatchColliderWHT.ReferenceAccuracy
2016-10-21 21:18:54 +03:00
Alexander Alekhin
efc560010e Merge pull request #820 from mshabunin:dis-flow-cite 2016-10-20 15:24:06 +00: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
mshabunin
b17852fe30 Updated BIB reference to DISFlow paper 2016-10-13 15:37:16 +03:00
Alexander Alekhin
8b71f7e265 fix build 2016-10-08 15:02:29 +03:00
berak
ba2aae5664 optflow: updated motempl.py sample 2016-09-12 13:27:13 +02:00
Bleach
918645d119 fix vs2010 build error 2016-08-25 17:05:52 +03:00
Maksim Shabunin
73459049a3 Merge pull request #745 from sbokov:DISflow_improvement 2016-08-10 22:17:08 +00:00
sbokov
406d944ec7 Temporal propagation in DISOpticalFlow
Added an option to pass an initial approximation of optical flow in
DISOpticalFlow. Added a python sample that demonstrates the use of this
feature for temporal propagation of flow vectors.
2016-08-10 00:26:24 +03:00
Vladislav Samsonov
1764f9247a Fixed OpenCL check behavior 2016-07-27 01:28:42 +03:00
Vladislav Samsonov
55f093a45b Fixing signed vs unsigned warning 2016-07-25 13:00:18 +03:00
Vladislav Samsonov
ab130c76b9 Fixing VS warning 2016-07-25 03:57:23 +03:00
Vladislav Samsonov
2016e90c7d Fixing GCC warning 2016-07-25 03:31:20 +03:00
Vladislav Samsonov
5146e0d2e4 Merge https://github.com/Itseez/opencv_contrib into optflow 2016-07-25 03:24:12 +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
vbystricky
5a1fd4c873 Add methods for get/set weights of variational refiment part of DISFlow method 2016-07-15 11:43:30 +03:00
Vladislav Samsonov
3dbbad123a Added a note about key differences 2016-07-08 22:20:03 +03:00
Vladislav Samsonov
1d90d67016 Merge upstream 2016-07-08 13:49:03 +03:00
Vladislav Samsonov
eb9b5080c1 Fixed binary file reading on Windows, math constants and OpenCL kernel 2016-07-08 13:33:43 +03:00
Alexander Bokov
659efc5829 DeepFlow acceleration
Replaced internal variational refinement implementation inside DeepFlow
with a new optimized one, which provides about the same quality while
being 4-6 times faster.
2016-07-04 16:32:37 +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
75b3ea9f72 Fixing some compiler warnings 2016-06-22 13:53:03 +03:00
Vladislav Samsonov
805a0c4b97 Fixed build on VS 2016-06-21 14:35:52 +03:00
Vladislav Samsonov
e57df756a6 PR fixes 2016-06-20 03:26:54 +03:00
Vladislav Samsonov
2d68b30528 Minor fixes 2016-06-19 17:57:43 +03:00
Vladislav Samsonov
329f49e92a Passing of the prior file to the evaluation tool 2016-06-13 19:25:51 +03:00
Vladislav Samsonov
f9ef5d456e Added some explanatory comments 2016-06-13 17:23:12 +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
d8aa162545 Added support for prior (covariance matrix) 2016-06-09 01:55:31 +03:00
Vladislav Samsonov
7c0a4788f1 Preserve edges 2016-06-08 22:11:08 +03:00
Vladislav Samsonov
1417dc65f7 Boosted accuracy a little bit more 2016-05-21 20:21:57 +03:00
Vladislav Samsonov
76ee838001 Boosted accuracy 2016-05-21 00:37:09 +03:00
Vladislav Samsonov
65d0157447 Some improvements 2016-05-15 12:49:20 +03:00
Vladislav Samsonov
25b2958eb5 Added flow estimation using DCT basis 2016-05-09 21:10:08 +03:00
Vladislav Samsonov
7d13c8f9aa Added style rules for clang-format 2016-05-07 09:57:05 +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
Gary Bradski
f8e8b210c9 Update README.md 2016-03-27 14:47:09 -07:00
Bleach666
9677bd7fca fix vs2010 samples build 2016-03-18 14:48:16 +02:00
Maksim Shabunin
f529a1df2b Fixed HAL headers location 2015-12-15 18:41:26 +03:00
Francisco Facioni
96194df827 SimpleFlow optimizations 2015-12-03 17:16:39 -03:00
Alexander Alekhin
c5a273f5a8 Merge pull request #406 from mshabunin:fix-vs2015 2015-10-22 16:28:15 +00:00
Maksim Shabunin
bf22f6f9b4 Merge pull request #379 from sbokov:sparseMatchInterpolationSquashed 2015-10-22 12:37:13 +00:00
Maksim Shabunin
d15d490a83 Fix OpenCL warning VS 2015 2015-10-19 18:07:04 +03: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
Vadim Pisarevsky
43d88166b2 Merge pull request #364 from sbokov:deepFlowFix 2015-09-09 13:20:31 +00:00
sbokov
4ed940cc9f Uninitialized memory access fix 2015-09-06 15:24:12 +03:00