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

32 Commits

Author SHA1 Message Date
Vincent Rabaud
843b6ede6a Merge pull request #3800 from vrabaud:cuda
Get CUDA code to compile with clang CUDA and without CUDA #3800

Changelist:
- there are some syntactic changes: `<< <` -> `<<<`. For some reason, I do not need to change all those in the code.
-  `::min` -> `std::min` in `__host__` code
- `modules/cudaimgproc/src/moments.cpp` needs to have the CUDA code in the `#ifdef`
- The signature of `cv::cuda::swapChannels` is not exactly the same as the C++ one in `modules/cudaimgproc/src/color.cpp` 
- `cv::cuda::FarnebackOpticalFlow::create` needs to be explicit about which FarnebackOpticalFlow it returns

### Pull Request Readiness Checklist

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

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
2024-10-29 17:31:10 +03:00
cudawarped
5bf7569f49 cudaoptflow: fix FarnebackOpticalFlow internal stream synchronization when used with an external CUDA stream 2023-11-17 12:55:52 +02:00
Alexander Smorkalov
a06aecea95 Fixed several test failures in Python tests for CUDA modules. 2023-07-20 13:32:16 +03:00
James Bowley
8a6ea82ed0 Replace all instances of texture references/objects with texture objects using the existing updated cv::cudev::Texture class.
Fixes bugs in cv::cuda::demosaicing, cv::cuda::resize and cv::cuda::HoughSegmentDetector.
2022-12-15 12:36:59 +02:00
Alexander Alekhin
92987f8da2 Merge pull request #3089 from noahstier:tlv1_cuda_optimization 2021-10-26 19:16:17 +00:00
Noah Stier
e245d4ae3a remove default stream sync in cuda TVL1 optical flow 2021-10-25 14:54:23 -07:00
Alexander Smorkalov
31bf226be0 Remove useless locks. 2021-10-18 10:42:44 +03:00
Alexander Smorkalov
46ec72afe4 Release HW related handles for Nvidia hardware accelerated optical flow. 2021-10-13 13:04:55 +03:00
amir.tulegenov
61e0a2de73 [moved from opencv] fix getDefaultName()
original commit: cbb230fdfc
2021-02-21 20:07:54 +00:00
Tomoaki Teshima
58ab920d04 fix build failure when CUDA >= 10.0 2021-01-26 12:45:08 +09: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
Vishal Chiluka
582fe44b7a NVIDIA_OPTICAL_FLOW_2_0_INTEGRATION 2021-01-16 13:30:56 +05:30
Namgoo Lee
c7e8b709a2 [moved from opencv] Remove compiler warnings
original commit: a7ffcaab28
2020-08-21 23:52:30 +09:00
Tomoaki Teshima
3b597b9e2f [moved from opencv] fix build error on Jetson TX1 and TX2
adopted to keep using of C++11

original commit: c07af090f5
2020-06-19 07:32:30 +00:00
Namgoo Lee
6ca24c818f [moved from opencv] cuda optflow tvl1 : async safety
also modify cuda canny to use createTextureObjectPitch2D, etc.

original commit: 2043e06102
2020-06-17 01:04:22 +09:00
Namgoo Lee
6ab1160dfc [moved from opencv] CUDA_OptFlow/OpticalFlowDual_TVL1 Asynchronous test
original commit: 411ce04f54
2020-06-16 01:43:51 +09:00
Vishal Chiluka
2e6e9e9ece NVOF - Passing non null streams to create API 2020-05-23 20:04:23 +05:30
Vishal Chiluka
3fd77d7e00 NVOF Build Error Fix 2020-05-23 16:39:48 +05:30
unknown
c49d0b9064 Modified Stream support functionality. 2020-05-19 19:27:45 +05:30
QIU Xiaochen
1b7a06c463 [moved from opencv] Merge pull request opencv/opencv#17180 from PetWorm:3.4
* fix Scharr nomination
original commit: cdfa58dde0
2020-04-29 09:55:59 +00:00
Alexander Alekhin
03730e1e67 Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2020-03-23 16:52:42 +00:00
Vishal Chiluka
abcd448094 NVOF-Cuda Bug Fix. Should not reset runtime context 2020-02-06 10:36:25 +05:30
LE GARREC Vincent
9bc0d8d0b4 Fix compilation with +cuda -optflow 2019-12-05 17:03:33 +01:00
czgdp1807
7a0ddd820a [moved from opencv] removed typo
original commit: 07ef08e966
2019-11-06 17:15:31 +05:30
Gagandeep Singh
61cbb44539 Merge pull request #2336 from czgdp1807:issue-2333
* corrected scope of CV_Error()

* removed the return statement
2019-11-10 12:34:18 +03:00
Alexander Alekhin
54e75b4a46 Merge pull request #2215 from vchiluka5:lazy_load_nvcuda_dll 2019-08-14 16:35:10 +00:00
Vishal Bhaskar Chiluka
c494a5db92 Lazy loading nvcuda.dll 2019-08-13 11:02:09 +05:30
Tomoaki Teshima
a7417334ba [moved from opencv] suppress noisy warning
* add -Wno-psabi when using GCC 6
  * add -Wundef for CUDA 10
  * add -Wdeprecated-declarations when using GCC 7
  * add -Wstrict-aliasing and -Wtautological-compare for GCC 7
  * replace cudaThreadSynchronize with cudaDeviceSynchronize

original commit: 40c71a2463
2019-08-08 21:49:32 +09:00
Vishal Chiluka
5e0783e1e9 NVIDIA Optical Flow Integration in OpenCV 2019-07-06 17:28:59 +05:30
Namgoo Lee
1c6b74d791 [moved from opencv] Fix Farneback Optical Flow Algorithm
- Before this PR, following tests failed on some platform.
  CUDA_OptFlow/FarnebackOpticalFlow.Accuracy/19
  CUDA_OptFlow/FarnebackOpticalFlow.Accuracy/23

- The algorithm now recognizes the OPTFLOW_USE_INITIAL_FLOW flag.
  Previously, when the flag was set, it did not use the flow data
  passed as input, instead used some garbage data in memory.

- More strict test limit.

original commit: 4366c8734f
2019-01-13 15:14:45 +00:00
Alexander Alekhin
43ab2d8f39 cuda: disable code using obsolete objdetect API 2018-11-10 01:50:23 +03:00
Alexander Alekhin
82733fe56b cuda: move CUDA modules to opencv_contrib
OpenCV 4.0+
2018-09-19 18:57:43 +03:00