1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-16 22:35:51 +08:00
Commit Graph

102 Commits

Author SHA1 Message Date
Maksim Shabunin
b6767ccc43 Merge pull request #2011 from mshabunin:enable-narrowing-warning
* Fixed type narrowing issues
2019-02-26 13:15:23 +03:00
tompollok
9e5926200e use #if instead of #ifdef for CV_SIMD128 2018-11-11 23:22:51 +01:00
Alexander Alekhin
c94997ec4f fix includes 2018-10-25 14:24:56 +03:00
Hamdi Sahloul
c880b7ea4d Utilize CV_UNUSED macro 2018-09-07 19:52:08 +09:00
Alexander Alekhin
1070e7042a Merge pull request #1733 from cv3d:minor/umat_getmat_access 2018-08-24 06:45:02 +00:00
Hamdi Sahloul
271f2bcf86 UMat::getMat(): Utilize ACCESS_READ instead of 0 2018-08-24 06:03:39 +09:00
trobro
ac7d1ca613 optflow: is depending on opencv_flann 2018-08-09 22:06:13 +02:00
Alexander Alekhin
fc69aa57bc opencv: use cv::AutoBuffer<>::data() 2018-06-13 19:11:18 +00:00
Vitaly Tuzov
1bcb634a12 Fixed coarse scale evaluation for DIS optical flow estimator 2018-05-15 13:22:51 +03:00
Alexander Alekhin
b8de57f8bd cleanup unnecessary setNumThreads() calls 2018-04-28 14:53:50 +03:00
Alexander Alekhin
036e699553 samples: apply CV_OVERRIDE/CV_FINAL 2018-03-28 17:25:51 +03:00
Alexander Alekhin
0aaaba08af optflow: apply CV_OVERRIDE/CV_FINAL 2018-03-28 16:49:59 +03:00
Alexander Alekhin
af58e08ee2 build: fix C++17 build 2018-02-08 18:00:59 +03:00
Alexander Alekhin
edfdf12c31 tests: refactor test files 2018-02-02 19:15:28 +03:00
Vadim Pisarevsky
53986aaa7d Merge pull request #996 from mshabunin:cmakeex 2017-12-15 10:47:38 +00:00
Vadim Pisarevsky
e53977f64b Merge pull request #1482 from terfendail:bitexact_resize 2017-12-14 20:48:10 +00:00
Vitaly Tuzov
8c394a4f2e Updated internal calls to linear resize to use bit-exact version 2017-12-14 13:00:09 +03:00
Alexander Alekhin
57ff363389 python: 'cv2.' -> 'cv.' via 'import cv2 as cv' 2017-12-11 16:14:46 +03:00
Maksim Shabunin
18a5391672 Fixed exports and removed contrib_world 2017-12-04 14:12:23 +03:00
Alexander Alekhin
b556c2a7c3 build: migrate to traits::Type / traits::Depth 2017-08-25 19:07:05 +03:00
Alexander Alekhin
b1408e33b0 Merge pull request #1292 from VladX:gpc_fix 2017-07-24 16:43:34 +00:00
Vladislav Samsonov
3442a8deee Handle incorrect flow vectors in gpc_evaluate; fixes opencv/opencv#9183 2017-07-24 19:05:45 +03:00
Vladislav Samsonov
617db6c4fe Fixed bug inside GPCDetails::dropOutliers(); fixes opencv/opencv#9220 2017-07-24 18:42:41 +03:00
Diego
fbbda575de Fixed loop in buildPyramid in deepflow.cpp
The while loop in member function buildPyramid in deepflow.cpp terminated as a result of the break statement and never as a result of the termination criteria because the "i" variable in the while loop was never incremented.

Changed the while loop into a for loop

Changed the while loop into a for loop in the member function buildPyramid in deepFlow.cpp

removed trailing whitespace
2017-06-13 20:53:17 -07:00
Yuriy Obukh
41559d7481 Some changes to make VS2010 compiler happy. 2017-06-02 23:47:04 +03:00
LaurentBerger
64b3bbb620 solve issue 1165 2017-05-18 15:59:40 +02:00
Alexander Alekhin
3a43af8131 Merge pull request #1080 from pengli:dis_optflow 2017-03-27 19:35:07 +00: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
Maksim Shabunin
f8807f18cd Reduced modules dependencies:
- made some of dependencies explicit
- removed dependencies to highgui and some other modules where possible
- modified some samples to build without modules
2017-03-15 18:00:21 +03:00
Li Peng
7ed6f77840 OCL implementation of DIS optical flow
This patch adds ocl kernels to accelerate Dense Inverse Search
based optical flow algorithm, it acclerates 3 parts in the algorithm,
including 1) Structure tensor elements compute, 2) Patch inverse search,
3) Densification compute.

Perf and accuracy test are also added. The perf test shows it is 30%
faster than the current implementation.

Signed-off-by: Li Peng <peng.li@intel.com>
2017-03-15 10:02:02 +08:00
berak
3f7e74db85 fix misplaced break statement 2017-02-28 08:43:13 +01:00
Alexander Alekhin
eae4d78748 misc: minor fix in license header 2016-12-16 17:12:18 +03:00
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