Skip to content

Merge opencv master #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 367 commits into from
Mar 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
367 commits
Select commit Hold shift + click to select a range
299bbcc
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Nov 6, 2018
8654f76
Merge pull request #1869 from alalek:move_shape_contrib
alalek Nov 7, 2018
35fbfdd
Merge pull request #1870 from alalek:move_superres_contrib
alalek Nov 7, 2018
94b6964
videostab: move to opencv_contrib
alalek Nov 2, 2018
ee8cac9
videostab: move sample to opencv_contrib
alalek Nov 7, 2018
4d2a81f
viz: move to opencv_contrib
alalek Nov 7, 2018
97a92e2
viz: move samples/tutorials to opencv_contrib
alalek Nov 7, 2018
2e195a1
Merge pull request #1871 from alalek:move_videostab_contrib
alalek Nov 8, 2018
2017be4
Merge pull request #1881 from alalek:move_viz_contrib
alalek Nov 8, 2018
2cc5ead
moved DIS optical flow from opencv_contrib to opencv, moved TVL1 from…
vpisarev Nov 8, 2018
4f6e1c8
remove obsolete C API in the following modules: photo, video, imgcode…
vpisarev Nov 8, 2018
2fa9e65
xfeatures2d: validate keypoints mask for SURF
alalek Nov 9, 2018
f39cb5b
Merge pull request #1887 from alalek:fix_surf_mask_keypoints
alalek Nov 9, 2018
dbfa4d7
TVL1 optical flow example moved from opencv to opencv_contrib
vpisarev Nov 9, 2018
6389627
Merge pull request #1885 from vpisarev:shuffle_optflow_algos
alalek Nov 9, 2018
3f0eaf6
Merge pull request #1877 from ytyytyyt:master
ytyytyyt Nov 9, 2018
43ab2d8
cuda: disable code using obsolete objdetect API
alalek Nov 9, 2018
ab42047
Merge pull request #1889 from alalek:fix_cuda_build
alalek Nov 10, 2018
67e1549
Merge pull request #1791 from LaurentBerger/ColorMatchTemplate
LaurentBerger Nov 10, 2018
2f516f1
Merge pull request #1896 from alalek:docs_fix_bib_Kroeger2016
alalek Nov 10, 2018
a113dc6
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Nov 10, 2018
6ef1983
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Nov 12, 2018
c4419e4
cvv: repair build
alalek Nov 15, 2018
ec4d5c8
Merge pull request #1905 from alalek:fix_1904
alalek Nov 15, 2018
10b4867
fix legacy contants
alalek Nov 17, 2018
b686f43
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Nov 17, 2018
d511587
Merge pull request #1911 from alalek:legacy_constants
alalek Nov 18, 2018
675134e
fix build error.
Nov 19, 2018
4a80c18
Merge pull request #1915 from NobuoTsukamoto:develop
alalek Nov 19, 2018
84ac312
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Nov 21, 2018
abbc450
Fix win build perf_video
Bleach665 Nov 29, 2018
db51dca
Merge pull request #1928 from Bleach665:fix_win_perfvideo
alalek Nov 29, 2018
7670ff2
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Dec 5, 2018
b4dea4e
linemod: add drawFeatures method
paroj Dec 7, 2018
1c65e63
fix typo
indianocean10000 Dec 8, 2018
2cb8399
Merge pull request #1937 from indianocean10000:patch-1
alalek Dec 8, 2018
74455ea
Merge pull request #1936 from paroj:lmfeats
alalek Dec 8, 2018
fd34389
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Dec 13, 2018
fe7301e
add cuda 10 support for opencv_nvcuvid
LNKLEO Dec 18, 2018
2522124
Merge pull request #1946 from LinkeyLeo:master
alalek Dec 18, 2018
b1e9dd5
Merge pull request #1941 from surgical-vision:quasi-dense-stereo
dimitrisPs Dec 28, 2018
1c9e237
Merge pull request #1940 from tsenst:add_robust_optical_flow_implemen…
tsenst Dec 30, 2018
ab2e832
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Jan 10, 2019
1c6b74d
[moved from opencv] Fix Farneback Optical Flow Algorithm
nglee Jan 11, 2019
18439b4
[moved from opencv] __shfl_up_sync with mask for CUDA >= 9
nglee Jan 21, 2019
a17185c
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Jan 22, 2019
83fc27c
Fixed warnings produced by clang-9.0.0
mshabunin Jan 28, 2019
cf4ad7a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Feb 1, 2019
158af2f
Merge pull request #1980 from mshabunin:clang-warnings
alalek Feb 1, 2019
d6895a1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Feb 5, 2019
650bf43
Update code to take into account solvePnP and solvePnPRansac use Inpu…
catree Feb 6, 2019
fa3603a
[moved from opencv] Add CV_16UC1 support for cuda::CLAHE
nglee Feb 5, 2019
301aa7e
Merge moved code from opencv
alalek Feb 8, 2019
04041fd
[moved from opencv] cudalegacy: Use safe block scan function
nglee Feb 12, 2019
796853e
Merge pull request #1990 from clunietp:quality-2
clunietp Feb 16, 2019
71f588b
[moved from opencv] cuda::StereoBM - fix hanging and racing issue
nglee Feb 18, 2019
7e569ce
Merge moved code from opencv
alalek Feb 19, 2019
ca7cb77
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Feb 19, 2019
cade195
[moved from opencv] cudev - Rework some code
nglee Feb 23, 2019
f65010e
Merge moved code from opencv
alalek Feb 26, 2019
33f18dd
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Feb 26, 2019
02b3d77
[moved from opencv] CUDA 10.1 Build Issue Fix
nglee Mar 3, 2019
debdc26
Merge moved code from opencv
alalek Mar 5, 2019
6f5d983
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Mar 5, 2019
a6b3254
fix test failure of CUDA_ImgProc
tomoaki0705 Mar 6, 2019
75fcfa6
Merge pull request #2028 from tomoaki0705:fixCudaImgProcFailure
alalek Mar 8, 2019
e5763fa
A pythonic interface for surface_matching module
cv3d Mar 12, 2019
90d1627
[moved from opencv] Move Ptr-related code from lut.cu to lut.cpp
nglee Mar 13, 2019
0264534
[moved from opencv] Merge pull request opencv/opencv#13695 from flyin…
flyingfalling Mar 13, 2019
f9a8f0e
Merge moved code from opencv
alalek Mar 13, 2019
f0e70cb
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Mar 13, 2019
7753b59
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Mar 15, 2019
476167e
BRISQUE initial commit
clunietp Feb 17, 2019
4c2f513
BRISQUE commit
krshrimali Feb 21, 2019
ebad13e
Updated to use OpenCV ML, removed libsvm. Updated model, tests and d…
clunietp Mar 12, 2019
fd2ca91
Merge pull request #2015 from krshrimali:krshrimali-patch-brisque
alalek Mar 18, 2019
f2618a4
Merge pull request #2033 from cv3d:python/surface_matching
alalek Mar 22, 2019
b7e7852
Merge pull request #2046 from JoeHowse/master
JoeHowse Mar 23, 2019
9a5f442
fix SuperResolution::getLabmda/setlabmda typo
shimat Mar 27, 2019
c8ed08d
Merge pull request #2058 from shimat:fix_superres_typo
alalek Mar 29, 2019
2c32791
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Apr 5, 2019
310ca2b
ovis: addResourceLocation - only retain unique locations
paroj Apr 9, 2019
01cfda4
Merge pull request #2079 from paroj:ovisres
alalek Apr 11, 2019
eda4575
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Apr 13, 2019
5bf9827
optflow: add a check for 3 channel images for sparse RLOF
berak Apr 14, 2019
eb7c61f
Merge pull request #2091 from berak:optflow_sparse_rlof_gray
alalek Apr 16, 2019
8fce7e9
optflow: fix RLOF SR_CROSS check
alalek Apr 16, 2019
3761c56
shape: remove duplicate python test
alalek Apr 16, 2019
644f428
Merge pull request #2095 from alalek:rlof_fix_check
alalek Apr 16, 2019
7ac648c
Merge pull request #2097 from tsenst:robust_optical_flow_fix
tsenst Apr 17, 2019
44087be
Merge pull request #1987 from catree:improve_solvePnP
alalek Apr 17, 2019
fd10a46
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Apr 18, 2019
ff0167b
Added an option to mask features used for videostabilization
SBCV Apr 18, 2019
64eba17
Merge pull request #2096 from alalek:shape_remove_duplicate_python_test
alalek Apr 20, 2019
996c6e7
Merge pull request #2052 from SBCV:feature_mask
alalek Apr 26, 2019
aa04285
videostab: fix CUDA build
alalek Apr 28, 2019
8049208
Merge pull request #2109 from alalek:fix_cuda_build
alalek Apr 28, 2019
5eaa25c
Merge pull request #2106 from savuor:kinfu_fix_ocl
savuor May 4, 2019
24cd5e2
Merge pull request #2113 from clunietp:quality-refactor
clunietp May 14, 2019
2465def
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek May 23, 2019
b6e2867
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek May 28, 2019
55f389e
[moved from opencv] java: generated code to have javadoc
asashour Jun 5, 2019
a1d8730
Merge pull request #2133 from savuor:kinfu_truncate
savuor Jun 5, 2019
250bcd9
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Jun 5, 2019
b2f0827
aruco: simplify code by using lambdas
paroj Jun 6, 2019
3644a1d
Merge pull request #2141 from paroj:lambda
alalek Jun 7, 2019
4bce9ac
Merge moved code from opencv
alalek Jun 7, 2019
74ea5de
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Jun 7, 2019
66aba49
Add missing codecs to cudacodec which uses Nvidia Video Codec SDK inc…
Jun 11, 2019
afad102
Merge pull request #2146 from cudawarped:update_codecs_nvcuvid
alalek Jun 14, 2019
04b2f2c
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Jun 15, 2019
a05d30e
ovis: add cpp samples
dnandha Jun 14, 2019
6cfc14e
Merge pull request #2150 from dnandha:ovis-add-samples-cpp
alalek Jun 18, 2019
adeae99
ovis: fix build of cpp example, which depends on aruco
paroj Jun 19, 2019
5b434d3
Merge pull request #2158 from paroj:ovisex_fix
alalek Jun 19, 2019
8acc8aa
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Jun 21, 2019
6810e6c
ovis: add methods (+ sample) for setting entity animations
dnandha Jun 20, 2019
f0d30f2
Merge pull request #2160 from dnandha:ovis-add-animation
alalek Jun 23, 2019
3830f18
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Jun 26, 2019
173b7f5
ovis: fix play / stop animation for multiple entities
dnandha Jun 24, 2019
297e8be
Merge pull request #2175 from dnandha:ovis-fix-anim-multi
alalek Jul 1, 2019
51b16a8
Added a LookAt-method for entities and also a method to get the pose …
AlexJ95 Jun 28, 2019
1b636e7
Merge pull request #2171 from AlexJ95:ovis-add-entity-LookAt
alalek Jul 2, 2019
0a2179b
Merge pull request #2182 from LeonidBeynenson:lb/tracking_by_matching
LeonidBeynenson Jul 5, 2019
5e0783e
NVIDIA Optical Flow Integration in OpenCV
vchiluka5 May 15, 2019
653bef2
Merge pull request #2165 from vchiluka5:NVIDIA_Optical_Flow
alalek Jul 7, 2019
6886937
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Jul 12, 2019
4b6e4ef
Fix copyrights in tracking_by_matching files
LeonidBeynenson Jul 15, 2019
fde4b15
Merge pull request #2188 from LeonidBeynenson:lb/fix_copyrights_track…
alalek Jul 15, 2019
1a162b1
[moved from opencv] cudalegacy: fix test failure of SolvePnPRansac
tomoaki0705 Jul 19, 2019
0915b7e
Merge moved code from opencv
alalek Jul 21, 2019
a197133
add get/set for FastThreshold
Jul 24, 2019
2b8870d
Fix broken pyhton binding for sfm importReconstruction
PaulDebus Jul 26, 2019
821b7fb
Merge pull request #2206 from PaulDebus:sfm_importReconstruction
alalek Aug 2, 2019
3ad82f9
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Aug 5, 2019
a741733
[moved from opencv] suppress noisy warning
tomoaki0705 Aug 8, 2019
dccdaae
Merge pull request #2199 from wugulabs:extend_interface_ORB
alalek Aug 9, 2019
c494a5d
Lazy loading nvcuda.dll
vchiluka5 Aug 5, 2019
90780db
Merge moved code from opencv
alalek Aug 13, 2019
8532e65
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Aug 13, 2019
8f7e58a
Fixed bug in BTVL1 superres with UMat without OpenCL initialization
Aug 14, 2019
54e75b4
Merge pull request #2215 from vchiluka5:lazy_load_nvcuda_dll
alalek Aug 14, 2019
b56b373
Merge pull request #2224 from Nuzhny007:master
alalek Aug 15, 2019
fd00489
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Aug 16, 2019
1c60ce3
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Aug 30, 2019
589e8b5
[moved from opencv] Assorted documentation fixes
mshabunin Aug 30, 2019
ea84c59
clamped BRISQUE output to 0-100
clunietp Sep 4, 2019
b72dc5e
Merge moved code from opencv
alalek Sep 5, 2019
934ce3b
Merge pull request #2251 from clunietp:quality_issue_2226
alalek Sep 6, 2019
8ae597d
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Sep 13, 2019
4067fe8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Sep 20, 2019
5faa3ec
Merge pull request #2250 from dogod621:master
dogod621 Sep 25, 2019
26129cf
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Sep 25, 2019
dda33bf
Merge pull request #2229 from fannymonori:gsoc_dnn_superres
fannymonori Sep 29, 2019
4c1fb00
Merge pull request #2231 from Saafke:dnn_superres_final_phase
Saafke Oct 1, 2019
a8c7a56
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Oct 5, 2019
a9639b2
Fix compilation warnings about type-punned pointer
tolysz Oct 6, 2019
ac627d2
[cudalegacy] Fix warnings about tautologies
tolysz Oct 6, 2019
92729b3
[moved from opencv] build: eliminate CUDA warnings
alalek Oct 8, 2019
a56d282
Merge pull request #2283 from tolysz:patch-1
alalek Oct 8, 2019
5cfdefb
Merge pull request #2284 from tolysz:patch-2
alalek Oct 8, 2019
83e98d2
Merge moved code from opencv/3.4
alalek Oct 9, 2019
db64787
require OGRE 1.11+ for ovis
huangqinjin Oct 11, 2019
82f3da5
Merge pull request #2292 from huangqinjin:master
alalek Oct 13, 2019
bf7bf33
Update .travis.yml
sturkmen72 Oct 15, 2019
1741141
[moved from opencv] COMP: Enabling build with recent VTK version
adamrankin Oct 16, 2019
6a0e9fd
Merge pull request #2295 from sturkmen72:patch-4
alalek Oct 16, 2019
8b59dff
Merge pull request #2161 from UnderscoreAsterisk:dynafu
UnderscoreAsterisk Oct 21, 2019
78e3879
Merge pull request #2302 from dogod621:master
dogod621 Oct 23, 2019
f6a6e1f
Merge moved code from opencv/3.4
alalek Oct 24, 2019
ceb6852
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Oct 24, 2019
20dbe78
ovis: add PF_DEPTH32F read-back support
paroj Oct 25, 2019
e639c8e
ovis: correctly destroy additional windows
paroj Oct 25, 2019
3e9ebc4
Merge pull request #2310 from paroj:ovisup
alalek Oct 25, 2019
7d7312a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Oct 29, 2019
277c4be
[moved from opencv] Merge pull request opencv/opencv#15821 from Colas…
ColasGael Nov 1, 2019
e67653e
Merge pull request #2296 from si40wiga:fsr-inpaint
si40wiga Nov 2, 2019
2d0c8a4
Merge moved code from opencv/3.4
alalek Nov 4, 2019
abfcde0
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Nov 4, 2019
7a0ddd8
[moved from opencv] removed typo
czgdp1807 Nov 6, 2019
29d8e68
ovis: add createTriangleMesh method
paroj Nov 7, 2019
3146e4a
Merge pull request #2335 from paroj:ovisup
alalek Nov 8, 2019
61cbb44
Merge pull request #2336 from czgdp1807:issue-2333
czgdp1807 Nov 10, 2019
fa50918
Merge moved code from opencv/3.4
alalek Nov 11, 2019
35de0aa
add short tutorial
si40wiga Nov 5, 2019
863d6ad
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Nov 11, 2019
64961f3
Merge pull request #2332 from si40wiga:fsr-tutorial
alalek Nov 12, 2019
35972a1
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Nov 17, 2019
53b9880
Merge pull request #2180 from cudawarped:example_fix_for_cudacodec
cudawarped Nov 18, 2019
dff1422
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Nov 19, 2019
3604786
ovis: add support for off-screen windows
paroj Nov 22, 2019
647e79c
ovis: addResourceLocation - assert pre-condition
paroj Nov 22, 2019
6a95558
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Nov 22, 2019
c9514b8
Merge pull request #2358 from paroj:ovisup
alalek Nov 25, 2019
8a8d609
ovis: drop several workarounds for old OGRE versions
paroj Nov 27, 2019
8f2b705
ovis: implement setting diffuse color
paroj Nov 27, 2019
42e0492
Do not use VLA in dynafu.cpp
malfet Nov 27, 2019
3ae0e12
Merge pull request #2364 from paroj:ovisup
alalek Nov 29, 2019
763a451
Merge pull request #2365 from malfet:dont-use-VLA
alalek Dec 1, 2019
8c09249
Fix typos
bwignall Dec 2, 2019
13f7637
shift corner positions to the correct rotation
szk1509 Dec 3, 2019
7cbe83f
Merge pull request #2362 from cudawarped:fix_cudacodec_python
cudawarped Dec 4, 2019
dc19344
Merge pull request #2372 from szk1509:invMarkerCorner
alalek Dec 4, 2019
d0d8669
Merge pull request #2369 from bwignall:typo
alalek Dec 4, 2019
7011e1b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Dec 5, 2019
9bc0d8d
Fix compilation with +cuda -optflow
bansan85 Dec 5, 2019
7cb627a
Patch cv::cudacodec::createVideoReader() memory leak until cudacodec …
cudawarped Dec 6, 2019
83ad5c6
Merge pull request #2378 from bansan85:master
alalek Dec 7, 2019
cacec38
Merge pull request #2380 from cudawarped:patch_cudacodec_memory_leak
alalek Dec 9, 2019
40b238b
Merge pull request #2367 from tsenst:add_robust_interpolation_of_corr…
tsenst Dec 9, 2019
d3d5f2a
add rapid module for silhouette based 3D object tracking
paroj Nov 20, 2019
b11fb78
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Dec 11, 2019
aaf67d6
[moved from opencv] Merge pull request opencv/opencv#16150 from alale…
alalek Dec 13, 2019
18f1c02
Merge moved code from opencv/3.4
alalek Dec 15, 2019
d486e41
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Dec 15, 2019
454434b
Cudaarithm python bindings for merge and split are inconsistent with …
cudawarped Dec 16, 2019
11638ad
Merge pull request #2389 from cudawarped:fix_python_cudaarithm
alalek Dec 16, 2019
8a7a625
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Dec 16, 2019
a9c1cfc
Add LOGOS (Local geometric support for high-outlier spatial verificat…
catree Dec 11, 2019
f9bbe70
Merge pull request #2383 from catree:feat_LOGOS_matching
alalek Dec 17, 2019
12ffd7f
[moved from opencv] Merge pull request opencv/opencv#16090 from jeffe…
jeffeDurand Dec 19, 2019
65abc70
Merge moved code from opencv/3.4
alalek Dec 19, 2019
58295b0
Merge pull request #2356 from paroj:rapid
alalek Dec 26, 2019
94d0250
Fix build of dnn_superres module without the quality module.
catree Dec 27, 2019
648db23
Merge pull request #2397 from catree:fix_dnn_superres_build_without_q…
alalek Dec 28, 2019
9c3e86b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Jan 12, 2020
c8b405e
Merge pull request #2410 from savuor:fix/kinfu_fetch_checkzero
savuor Jan 18, 2020
9aa74df
new module: intensity_transform (includes gamma correction, log trans…
elim-dk Dec 31, 2019
223a3cd
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Jan 28, 2020
d7d6360
Merge pull request #2396 from cudawarped:fix_python_cudawarping_cudaa…
cudawarped Jan 29, 2020
2dcd366
Merge pull request #2399 from elim-dk:algorithm/intensity-transformat…
alalek Jan 29, 2020
e8916da
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Feb 1, 2020
d8c6d06
build: fix build with GCC 4.8
alalek Feb 3, 2020
abcd448
NVOF-Cuda Bug Fix. Should not reset runtime context
vchiluka5 Feb 6, 2020
12d1f6c
Merge pull request #2421 from vchiluka5:nvof-bug-fix
alalek Feb 7, 2020
bdfd1e7
Merge pull request #2416 from alalek:fix_build_gcc48
alalek Feb 7, 2020
a0d9138
Merge pull request #2424 from GArik:master
GArik Feb 25, 2020
460f230
Synchronized PR template with core reposiotry.
asmorkalov Feb 28, 2020
96742da
Merge pull request #2441 from asmorkalov:pr_template
alalek Mar 1, 2020
698f805
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Mar 4, 2020
1d77931
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Mar 9, 2020
788b783
ovis: allow setting material at sub-entity granularity
paroj Mar 10, 2020
93a79a6
Merge pull request #2454 from paroj:ovisup
alalek Mar 10, 2020
4ab7f82
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Mar 10, 2020
2d21d9c
Synchronized issue template with main repository.
asmorkalov Mar 13, 2020
80deee6
Merge pull request #2461 from asmorkalov:as/issue_template_update
alalek Mar 13, 2020
d442856
Merge pull request #2447 from ayushgargdroid:kinfuParams
ayushgargdroid Mar 17, 2020
bf0075a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Mar 17, 2020
88c4ed0
Computer Vision based Alpha Matting (#2306)
sunitanyk Mar 20, 2020
79b71ec
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
alalek Mar 20, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
53 changes: 43 additions & 10 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
<!--
If you have a question rather than reporting a bug please go to http://answers.opencv.org where you get much faster responses.
If you need further assistance please read [How To Contribute](https://github.com/opencv/opencv/wiki/How_to_contribute).

This is a template helping you to create an issue which can be processed as quickly as possible. This is the bug reporting section for the OpenCV library.
-->

##### System information (version)
<!-- Example
- OpenCV => 3.1
- OpenCV => 4.2
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2015
- Compiler => Visual Studio 2017
-->

- OpenCV => :grey_question:
Expand All @@ -27,4 +20,44 @@ This is a template helping you to create an issue which can be processed as quic
// C++ code example
```
or attach as .txt or .zip file
-->
-->

##### Issue submission checklist

- [ ] I report the issue, it's not a question
<!--
OpenCV team works with answers.opencv.org, Stack Overflow and other communities
to discuss problems. Tickets with question without real issue statement will be
closed.
-->
- [ ] I checked the problem with documentation, FAQ, open issues,
answers.opencv.org, Stack Overflow, etc and have not found solution
<!--
Places to check:
* OpenCV documentation: https://docs.opencv.org
* FAQ page: https://github.com/opencv/opencv/wiki/FAQ
* OpenCV forum: https://answers.opencv.org
* OpenCV issue tracker: https://github.com/opencv/opencv/issues?q=is%3Aissue
* OpenCV Contrib issue tracker: https://github.com/opencv/opencv_contrib/issues?q=is%3Aissue
* Stack Overflow branch: https://stackoverflow.com/questions/tagged/opencv
-->
- [ ] I updated to latest OpenCV version and the issue is still there
<!--
master branch for OpenCV 4.x and 3.4 branch for OpenCV 3.x releases.
OpenCV team supports only latest release for each branch.
The ticket is closed, if the problem is not reproduced with modern version.
-->
- [ ] There is reproducer code and related data files: videos, images, onnx, etc
<!--
The best reproducer -- test case for OpenCV that we can add to the library.
Recommendations for media files and binary files:
* Try to reproduce the issue with images and videos in opencv_extra repository
to reduce attachment size
* Use PNG for images, if you report some CV related bug, but not image reader
issue
* Attach the image as archive to the ticket, if you report some reader issue.
Image hosting services compress images and it breaks the repro code.
* Provide ONNX file for some public model or ONNX file with with random weights,
if you report ONNX parsing or handling issue. Architecture details diagram
from netron tool can be very useful too. See https://lutzroeder.github.io/netron/
-->
16 changes: 9 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<!-- Please use this line to close one or multiple issues when this pullrequest gets merged
You can add another line right under the first one:
resolves #1234
resolves #1235
-->
### Pull Request Readiness Checklist

### This pullrequest changes
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

<!-- Please describe what your pullrequest is changing -->
- [ ] I agree to contribute to the project under OpenCV (BSD) License.
- [ ] To the best of my knowledge, the proposed patch is not based on a code under GPL or other license that is incompatible with OpenCV
- [ ] The PR is proposed to proper branch
- [ ] There is reference to original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ compiler:
- clang
before_script:
- cd ../
- git clone --branch 3.4 --depth=1 https://github.com/opencv/opencv.git
- git clone --branch master --depth=1 https://github.com/opencv/opencv.git
- mkdir build-opencv
- cd build-opencv
- cmake
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ use CMake's `BUILD_opencv_*` options. Like in this example:
$ cmake -DOPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules -DBUILD_opencv_legacy=OFF <opencv_source_directory>
```

If you also want to build the samples from the "samples" folder of each module, also include the "-DBUILD_EXAMPLES=ON" option.

If you prefer using the gui version of cmake (cmake-gui), then, you can add `opencv_contrib` modules within `opencv` core by doing the following:

1. start cmake-gui
Expand Down
10 changes: 7 additions & 3 deletions modules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ $ cmake -D OPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules -D BUILD_opencv_<r

- **aruco**: ArUco and ChArUco Markers -- Augmented reality ArUco marker and "ChARUco" markers where ArUco markers embedded inside the white areas of the checker board.

- **alphamat**: Computer Vision based Alpha Matting -- Given an input image and a trimap, generate an alpha matte.

- **bgsegm**: Background segmentation algorithm combining statistical background image estimation and per-pixel Bayesian segmentation.

- **bioinspired**: Biological Vision -- Biologically inspired vision model: minimize noise and luminance variance, transient event segmentation, high dynamic range tone mapping methods.
Expand All @@ -22,7 +24,9 @@ $ cmake -D OPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules -D BUILD_opencv_<r

- **datasets**: Datasets Reader -- Code for reading existing computer vision databases and samples of using the readers to train, test and run using that dataset's data.

- **dnn_objdetect**: Object Detection using CNNs -- Implements compact CNN Model for object detection. Trained using Caffe but uses opencv_dnn modeule.
- **dnn_objdetect**: Object Detection using CNNs -- Implements compact CNN Model for object detection. Trained using Caffe but uses opencv_dnn module.

- **dnn_superres**: Superresolution using CNNs -- Contains four trained convolutional neural networks to upscale images.

- **dnns_easily_fooled**: Subvert DNNs -- This code can use the activations in a network to fool the networks into recognizing something else.

Expand All @@ -48,13 +52,13 @@ $ cmake -D OPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules -D BUILD_opencv_<r

- **reg**: Image Registration -- Pixels based image registration for precise alignment. Follows the paper "Image Alignment and Stitching: A Tutorial", by Richard Szeliski.

- **rgbd**: RGB-Depth Processing module -- Linemod 3D object recognition; Fast surface normals and 3D plane finding. 3D visual odometry
- **rgbd**: RGB-Depth Processing module -- Linemod 3D object recognition; Fast surface normals and 3D plane finding. 3D visual odometry. 3d reconstruction using KinectFusion.

- **saliency**: Saliency API -- Where humans would look in a scene. Has routines for static, motion and "objectness" saliency.

- **sfm**: Structure from Motion -- This module contains algorithms to perform 3d reconstruction from 2d images. The core of the module is a light version of Libmv.

- **stereo**: Stereo Correspondence -- Stereo matching done with different descriptors: Census / CS-Census / MCT / BRIEF / MV.
- **stereo**: Stereo Correspondence -- Stereo matching done with different descriptors: Census / CS-Census / MCT / BRIEF / MV and dense stereo correspondence using Quasi Dense Stereo method.

- **structured_light**: Structured Light Use -- How to generate and project gray code patterns and use them to find dense depth in a scene.

Expand Down
9 changes: 9 additions & 0 deletions modules/alphamat/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
if(NOT HAVE_EIGEN)
message(STATUS "Module opencv_alphamat disabled because the following dependencies are not found: Eigen")
ocv_module_disable(alphamat)
endif()

ocv_define_module(alphamat
opencv_core
opencv_imgproc
)
23 changes: 23 additions & 0 deletions modules/alphamat/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Computer Vision based Alpha Matting

This project was part of the Google Summer of Code 2019.

####Student: Muskaan Kularia
####Mentor: Sunita Nayak
***
Alphamatting is the problem of extracting the foreground from an image. Given the input of an image and its corresponding trimap, we try to extract the foreground from the background.

This project is implementation of "[[Designing Effective Inter-Pixel Information Flow for Natural Image Matting](http://people.inf.ethz.ch/aksoyy/ifm/)]" by Yağız Aksoy, Tunç Ozan Aydın and Marc Pollefeys[1]. It required implementation of parts of other papers [2,3,4].


## References

[1] Yagiz Aksoy, Tunc Ozan Aydin, Marc Pollefeys, "[Designing Effective Inter-Pixel Information Flow for Natural Image Matting](http://people.inf.ethz.ch/aksoyy/ifm/)", CVPR, 2017.

[2] Roweis, Sam T., and Lawrence K. Saul. "[Nonlinear dimensionality reduction by locally linear embedding](https://science.sciencemag.org/content/290/5500/2323)" Science 290.5500 (2000): 2323-2326.

[3] Anat Levin, Dani Lischinski, Yair Weiss, "[A Closed Form Solution to Natural Image Matting](https://www.researchgate.net/publication/5764820_A_Closed-Form_Solution_to_Natural_Image_Matting)", IEEE TPAMI, 2008.

[4] Qifeng Chen, Dingzeyu Li, Chi-Keung Tang, "[KNN Matting](http://dingzeyu.li/files/knn-matting-tpami.pdf)", IEEE TPAMI, 2013.

[5] Yagiz Aksoy, "[Affinity Based Matting Toolbox](https://github.com/yaksoy/AffinityBasedMattingToolbox)".
26 changes: 26 additions & 0 deletions modules/alphamat/doc/alphamat.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
@inproceedings{aksoy2017designing,
title={Designing effective inter-pixel information flow for natural image matting},
author={Aksoy, Yagiz and Ozan Aydin, Tunc and Pollefeys, Marc},
booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
pages={29--37},
year={2017}
}

@article{roweis2000nonlinear,
title={Nonlinear dimensionality reduction by locally linear embedding},
author={Roweis, Sam T and Saul, Lawrence K},
journal={science},
volume={290},
number={5500},
pages={2323--2326},
year={2000},
publisher={American Association for the Advancement of Science}
}

@inproceedings{shahrian2013improving,
title={Improving image matting using comprehensive sampling sets},
author={Shahrian, Ehsan and Rajan, Deepu and Price, Brian and Cohen, Scott},
booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
pages={636--643},
year={2013}
}
32 changes: 32 additions & 0 deletions modules/alphamat/include/opencv2/alphamat.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.

/** Information Flow algorithm implementaton for alphamatting */

#ifndef _OPENCV_ALPHAMAT_HPP_
#define _OPENCV_ALPHAMAT_HPP_

/**
* @defgroup alphamat Alpha Matting
* This module is dedicated to compute alpha matting of images, given the input image and an input trimap.
* The samples directory includes easy examples of how to use the module.
*/

namespace cv { namespace alphamat {
//! @addtogroup alphamat
//! @{

/**
* The implementation is based on Designing Effective Inter-Pixel Information Flow for Natural Image Matting by Yağız Aksoy, Tunç Ozan Aydın and Marc Pollefeys, CVPR 2019.
*
* This module has been originally developed by Muskaan Kularia and Sunita Nayak as a project
* for Google Summer of Code 2019 (GSoC 19).
*
*/
CV_EXPORTS_W void infoFlow(InputArray image, InputArray tmap, OutputArray result);

//! @}
}} // namespace

#endif
77 changes: 77 additions & 0 deletions modules/alphamat/samples/information_flow_matting.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.

#include <iostream>
#include "opencv2/highgui.hpp"
#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/alphamat.hpp>

using namespace std;
using namespace cv;
using namespace cv::alphamat;

const char* keys =
"{img || input image name}"
"{tri || input trimap image name}"
"{out || output image name}"
"{help h || print help message}"
;

int main(int argc, char* argv[])
{
CommandLineParser parser(argc, argv, keys);
parser.about("This sample demonstrates Information Flow Alpha Matting");

if (parser.has("help"))
{
parser.printMessage();
return 0;
}

string img_path = parser.get<std::string>("img");
string trimap_path = parser.get<std::string>("tri");
string result_path = parser.get<std::string>("out");

if (!parser.check()
|| img_path.empty() || trimap_path.empty())
{
parser.printMessage();
parser.printErrors();
return 1;
}

Mat image, tmap;

image = imread(img_path, IMREAD_COLOR); // Read the input image file
if (image.empty())
{
printf("Cannot read image file: '%s'\n", img_path.c_str());
return 1;
}

tmap = imread(trimap_path, IMREAD_GRAYSCALE);
if (tmap.empty())
{
printf("Cannot read trimap file: '%s'\n", trimap_path.c_str());
return 1;
}

Mat result;
infoFlow(image, tmap, result);

if (result_path.empty())
{
namedWindow("result alpha matte", WINDOW_NORMAL);
imshow("result alpha matte", result);
waitKey(0);
}
else
{
imwrite(result_path, result);
printf("Result saved: '%s'\n", result_path.c_str());
}

return 0;
}
Binary file added modules/alphamat/samples/input_images/plant.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added modules/alphamat/samples/trimaps/plant.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading