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

4302 Commits

Author SHA1 Message Date
Tomoaki Teshima
fdf80d7fcb [moved from opencv] remove danger race condition
original commit: 5d1540f4fc
2021-02-21 20:07:54 +00:00
amir.tulegenov
61e0a2de73 [moved from opencv] fix getDefaultName()
original commit: cbb230fdfc
2021-02-21 20:07:54 +00:00
Alexander Alekhin
3ea44437ef Merge pull request #2868 from nkwangyh:local 2021-02-20 16:35:11 +00:00
DumDereDum
7ede6585f5 Merge pull request #2734 from DumDereDum:new_HashTSDF_GPU_class
New HashTSDFVolumeGPU class

* create new class

* rewrite makeHashTSDFVolume

* it builds

* minor fi

* raycast - done

* all code builds

* Docs fix

* –fetch_normals fix

* I want it to work

* minor fix

* valid points checking passed

* it works!

* minor fixes

* warning fix

* last replacements

* warning fix

* create hash_tsdf.cl

* add preCalculationPixNormGPU

* add integrateVolumeUnitGPU

* Docs fix

* create simple volume table

* add functionality to the table

* add new functions

* create new hash table implementation

* minor fix

* create new hash tsdf implementaton

* add expand feature

* minorfix

* error fix

* it builds

* new hash table work

* Docs fix

* warnings fix

* warning fix 1

* warning fix 2

* warning fix

* remove extra coments

* create new function integrateAllVolumeUnitsGPU

* add hash table function

* extend kernel signature

* minor fix

* extent Volume_NODE signature and add functionality

* kernel args fix

* smth

* minor fix

* kernal args fix

* try to fix reading bug

* hash table fix

* add totalVolUnits feature

* it builds

* minor fix

* integrate fix

* fix work with table

* minor table fi

* I am stumped

* try to fix

* add checking to find error

* add copyto

* vol2cam fix

* try to fix

* we are the champions

* remove some comments

* remove last comments

* docs fix

* warning fix

* warning fix 1

* warning fix 2

* create raycast kernel

* extend raycast gpu signature

* minor fix

* integrate all volUnits - done

* docs fix

* warning fix

* extend raycast signature

* raycast work

* bug fix

* calc point4 fix

* minor fix

* add _at function

* raycast done, but work incorrect

* fin dug

* bug fix

* getNorm works correctly

* minor fix

* raycast - done

* minor fixes

* docs fix

* warning fix

* minor fix

* minor fix

* warning fix

* warning fix 1

* win warning fix

* mac fix

* win debug fix

* mac cl warning fix

* allCam2vol fix

* rename num with bufferNum

* remove nums hardcode

* minor fix

* change logic of calculating hash

* replace float16 by vload16

* replace true with false in zFirstMemOrder

* poses fix

* add new tests

* debug print

* debug print 1

* replace [] with .s

* minor fix

* minor fix 1

* remove print

* hashtsdf work fix

* hashtable fix

* resrite hashtasble update

* test_tsdf fix

* override warning fix

* docs fix

* mutex fix

* setUseOptimizes replace false with true

* minor fix

* merge with master

* all minor fixes

* add CPU code for debug

* settings set

* move code from hpp to cpp

* minor opencl fix

* fid bug

* coment fix

* minor fix

* bug fix

* integrate fixed

* speed up

* remove extra code

* raycast fix, but still not work

* raycast fix

* HT refactoring: constants

* HT refactoring: calc_hash()

* HT refactoring: methods set shortened

* no typedef VolumeIndex

* fix a bug in CPU version

* VolumeIndex

* identation

* HashTSDF refactoring: a lot of things

* less TODOs

* lastVisibleIndex dropped from HT

* HT refactor: find -> findRow

* interpolate & getNormal small hash: no queried

* totalVolUnits, indexes -> volumeUnitIndices, better iteration

* raycast artifacts fixed

* interpolation in getNormal is on

* minors

* findRow() refactored

* volStrides, lastVolIndex, volDims, neighbourCoords

* normals, vectorization

* interpolation in getNormalVoxel()

* no 16*16*16, use volumeUnitResolution instead

* resolution, stride...

* raycast: cur idx, etc.

* CPU debugging code removed

* volUnitsData moved to OpenCL memory

* raycast: no copy

* allocate accelerated a bit

* hash_tsdf.cl: pointers fixed

* allVol2cam, poses moved to kernel; rowRange for volUnitsData init

* TSDF voxel: constructor; row range fixed

* rowRange

* pixNorms fix + minors

* depth is now UMat

* markActive is done on GPU, lastVisibleIndices and isActiveFlags moved to GPU

* CL: minor

* volumeUnitIndices -> GPU

* ToyHashMap instead of HT, volumeUnitIndices removed, lastVolIndex removed,
 + a lot of debugging code

* warning about local pix capacity

* CPU allocation: find in global HT first

* ToyHashMap: -> tsdf_functions.hpp

* debugging code + to be removed

* ptr -> at

* volumeUnitResolution is limited to a power of 2

* rename ToyHashMap to ToyHashSet, hashMap to hashTable

* minor

* getNormalVoxel .cl: no float conversions

* getNormalVoxel does not need voxelSizeInv anymore; orig and dir pre-scaled to get rid of extra multiplication

* minor fix

* linux critical bug fix

* docs fix

* mac warning fix

* remove extra test code

* linux warning fix

* remove comments

* capacity = 2048

* capacity = 1024

* hashtables fixes

* minor code removement

* change pixNorm calculation

* remove buff_lvl and neighboorCoords; rename degree

* move volStrides to HashTSDFVolume

* HashTSDFVolumeGPU constructor fix

* move preCalculatePixNormsGPU to tsdf_functions

* minor code removement

* replace copyto() with getUMat()

* remove debug code

* replace copyTo with getUmat again

* replace types in cl

* remove NAN_ELEMENT

* remove Volume_NODE struct and findRow()

* make hash_divisor constant

* uncomment camTrans

* rename data; remove extra val

* fix merge conflict

* create empty UMat

* cl fix

* build error fix

* clear HashTSDFVolumeGPU()

* use constuctor delegation at HashTSDFVolumeCPU

* remove cam2volTransGPU

* add minor fix

Co-authored-by: Saratovtsev <artem.saratovtsev@intel.com>
Co-authored-by: Rostislav Vasilikhin <rostislav.vasilikhin@intel.com>
2021-02-20 16:33:19 +00:00
Roman Golovanov
24baeaae27 Fix omnidir::undistortPoints
The relevant bug was reported in https://github.com/opencv/opencv_contrib/issues/1612

The _xi was erroneously applied at points re-projection to camera plane.
_xi parameter was already taken in use while projection of points to unit sphere.
2021-02-18 19:46:39 +02:00
Yahui Wang
d1099dc872 Fix CUDA GoodFeaturesToTrackDetector not threadsafe bug 2021-02-12 10:33:41 +08:00
Alexander Alekhin
4e85f8c6dc Merge pull request #2805 from nglee:dev_gpumatnd1 2021-02-09 22:52:33 +00:00
Alexander Alekhin
ca4955d113 Merge pull request #2866 from paroj:ofix 2021-02-09 22:50:39 +00:00
Pavel Rojtberg
5f8f4b5b86 ovis: do not leak camera when !SCENE_SEPARATE 2021-02-08 18:57:40 +01:00
Pavel Rojtberg
1a5e6ed911 ovis: also unregister SceneManager when Window is deleted
8c385d58f6 was incomplete
2021-02-08 18:41:46 +01:00
dddzg
6c42250763 Merge pull request #2849 from WeChatCV:wechat_qrcode
Wechat qrcode module refinement

* remove useles  fixedType

* refine wechat qrcode module

* fix _isnan error
2021-02-08 11:41:40 +00:00
Alexander Alekhin
d98026b17c Merge pull request #2853 from DumDereDum:iss2817 2021-02-08 11:02:05 +00:00
Alexander Alekhin
0f46d02bf0 Merge pull request #2858 from tomoaki0705:fixRgbdSegmentationFault 2021-02-08 10:52:03 +00:00
Alexander Alekhin
eaa4f33ddd Merge pull request #2860 from Sintun:master 2021-02-07 19:37:13 +00:00
Stefan Brechtken
483b39684d fixes #2662 2021-02-07 13:31:56 +01:00
Alexander Alekhin
c61fbc7a37 Merge pull request #2832 from tsenst:Resolve_Issue_2796_RICInterpolation 2021-02-06 14:55:29 +00:00
Tobias Senst
c56f818550 ximgproc(ric): resolve issue 2796 2021-02-06 14:13:09 +01:00
Namgoo Lee
c918b08175 Test code - GpuMatND & Mat interoperability 2021-02-06 15:29:48 +09:00
Kévin Andrieux
461b56f602 Merge pull request #2845 from kevineor:DeltaECIEDE2000-fix
deltaCIEDE2000_ fix into the MCC module

* deltaCIEDE2000_ fix, did not pass the test case 17 and 19 of Gaurav Sharma's test data

* Update ccm test case
2021-02-05 20:47:52 +00:00
batters21
38f46874ae issue 2817 fixed 2021-02-05 21:39:05 +03:00
Tomoaki Teshima
efbf1b8f4f fix segmentation fault on Arm 32bit platform 2021-02-05 22:35:15 +09:00
Alexander Alekhin
0def473619 Merge pull request #2831 from tomoaki0705:fixRgbdOpenCL 2021-02-04 10:16:00 +00:00
Alexander Alekhin
06d8b25787 Merge pull request #2851 from paroj:ofix 2021-02-02 16:39:42 +00:00
Pavel Rojtberg
8c385d58f6 ovis: also take down SceneManager when Window is deleted 2021-02-01 18:01:15 +01:00
Alexander Alekhin
c10b07de6d Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-01-31 17:45:34 +00:00
Alexander Alekhin
43fff2118e Merge pull request #2846 from tomoaki0705:fixCUDASurfFailure 2021-01-31 16:30:50 +00:00
Tomoaki Teshima
3d8ec32805 adjust threshold for Jetson TX1/TX2 2021-01-31 08:23:57 +09:00
Tomoaki Teshima
241579a116 get rid of kernel build failure
* prevent out-of-bounds access
  * prevent deallocate before return
  * fix build warning
2021-01-31 07:31:52 +09:00
Alexander Alekhin
5e8b651f1e Merge pull request #2839 from DumDereDum:issue_2818 2021-01-29 17:52:36 +00:00
Alexander Alekhin
1d5b6ae3bb Merge pull request #2841 from AAArthurLiu:fix-typo-in-modules-readme 2021-01-27 09:17:08 +00:00
aaarthurliu
714f07dace fix readme typo inside modules 2021-01-27 16:46:45 +08:00
Ubuntu
4e606621e2 valid point issue 2818 fix 2021-01-26 15:21:12 +00:00
Alexander Alekhin
327a1dab32 Merge pull request #2836 from tomoaki0705:fixBuildCudaOptFlow 2021-01-26 08:37:49 +00:00
Tomoaki Teshima
58ab920d04 fix build failure when CUDA >= 10.0 2021-01-26 12:45:08 +09:00
Alexander Alekhin
33ed4c3b05 Merge moved code from opencv/3.4 2021-01-25 22:23:39 +00:00
Tomoaki Teshima
3778fa373a [moved from opencv] fix peaky test failure
* follow the review comment

original commit: 96e0902f39
2021-01-25 17:14:37 +09:00
Alexander Alekhin
0b8aecd9eb Merge pull request #2824 from tomoaki0705:fixBuildCudaOptFlow 2021-01-25 07:44:10 +00:00
Tomoaki Teshima
6e52be36a5 disable NVIDIA Optical Flow SDK when CUDA < 10.0
* follow the review comment
  * add missing constructors when not covered
  * add definition in cu file
2021-01-25 08:40:01 +09:00
Tomoaki Teshima
60bd284b83 [moved from opencv] fix wrong index
original commit: 3cfe7b9af9
2021-01-24 20:29:52 +09:00
LaurentBerger
d733a80100 Merge pull request #2819 from LaurentBerger:pyb_qd
* solved issue 2813

* review
2021-01-22 08:09:36 +00:00
Alexander Alekhin
ae14c7cee5 Merge pull request #2827 from vpisarev:wechat_qrcode_win_fix 2021-01-21 12:49:15 +00:00
Vadim Pisarevsky
962fd354b5 hopefully fixed compile error on Windows 2021-01-21 18:30:40 +08:00
Vadim Pisarevsky
edc5bb71e5 Merge pull request #2806 from vpisarev:kinfu_demo_orbbec
* added orbbec camera intrinsic parameters for kinfu demo

* removed trailing whitespace
2021-01-21 07:38:19 +00:00
Alexander Alekhin
59a9c88e06 Merge pull request #2803 from amiller27:inrange 2021-01-21 07:37:25 +00:00
Vadim Pisarevsky
905994dc39 Merge pull request #2821 from WeChatCV:wechat_qrcode 2021-01-21 07:14:40 +00:00
dddzg
be6718e52f remove useless cv:: 2021-01-21 11:48:08 +08:00
dddzg
9750e14937 use CV_Assert 2021-01-21 11:46:36 +08:00
dddzg
7b872c993d add precomp 2021-01-20 21:29:26 +08:00
dddzg
06f690fc82 remove licenses in samples 2021-01-20 20:50:53 +08:00
dddzg
af72ddd320 remove useless license 2021-01-20 20:48:21 +08:00