Alexander Smorkalov
0016c25b58
Guard non-free usage in stitching as contrib can be built without it.
2021-02-02 13:24:59 +03:00
Rob Timpe
22ee5c0c4d
Fix errors when building with cuda stubs
...
Fixes two errors when building with the options WITH_CUDA=ON and BUILD_CUDA_STUBS=ON on a machine without CUDA.
In the cudaarithm module, make sure cuda_runtime.h only gets included when CUDA is installed.
In the stitching module, don't assume that cuda is present just because cudaarithm and cudawarping are present (as is the case when building with the above options).
2020-10-21 15:51:46 -07:00
danielenricocahall
f2ca7e664a
add python binding and tests for composePanorama
...
fix tests
pick 54039c2afd add python binding and tests for composePanorama
2020-08-02 19:29:16 -04:00
Alexander Alekhin
762a5c8334
imgproc: align GaussianBlur/sepFilter2D OpenCL with CPU version
2020-07-08 15:13:48 +00:00
Alexander Alekhin
a327418767
features2d(sift): move SIFT tests / headers / build fixes
2020-04-23 08:45:22 +00:00
Alexander Alekhin
dc9ee53ff5
stitching: fix range check in DpSeamFinder::computeCosts
2020-04-02 03:51:17 +00:00
Alexander Alekhin
ca68fac4b2
stitching: don't use nonfree by default
2020-03-17 15:09:23 +03:00
Brian Wignall
f9c514b391
Fix spelling typos
...
backport commit 659ffaddb4
2019-12-27 12:46:53 +00:00
Steve Nicholson
0c644d1ec8
Rename parameter R to H in AffineWarper member declarations
2019-11-25 16:31:03 -08:00
Maksim Shabunin
c8abf2ad14
backport: fixed warnings produced by clang-9.0.0
...
ea3dc78986
83fc27cb99
2019-09-23 18:36:18 +03:00
Tomoaki Teshima
40c71a2463
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
2019-08-08 21:49:32 +09:00
Alexander Alekhin
a0a1fb5fec
python: discover tests from module/misc/python/test paths
2019-04-10 18:35:35 +00:00
Alexander Alekhin
f5b58e5fc9
bindings: backport generator from OpenCV 4.x
...
- better handling of enum arguments
- less merge conflicts
2019-03-01 20:18:48 +00:00
Kangning Song
d4917a5bd3
fix initial values bug
2018-12-23 11:28:28 +08:00
Alexander Alekhin
5736bf5dd5
stitching: fix l_gains data type from Eigen solver (float / double)
2018-12-16 06:29:18 +00:00
Quentin Chateau
ab86f15ba0
Merge pull request #13400 from Tytan:optimize_exposure_compensation
...
Optimize exposure compensation (#13400 )
* Added perf test
* Optimized gains computation
* Use Eigen for gains calculation
2018-12-14 21:37:00 +03:00
Alexander Alekhin
606622ab36
stitching(perf): increase threshold of transform vector
2018-12-07 13:22:39 +03:00
Alexander Alekhin
a618d8bc9e
stitching(perf): update test threshold
2018-12-05 18:59:30 +00:00
Paul Shin
1c468add20
Increased the acceptable error margin for perf testing
...
- This is to accommodate the variabiilty in floating-point operations in new platforms/compilers
- Specifically due to the error margin found in NVIDIA Jetson TX2
2018-10-15 20:03:39 -07:00
Alexander Alekhin
7813eef92b
fix build warnings
2018-10-10 19:26:19 +00:00
Hamdi Sahloul
5d54def264
Add semicolons after CV_INSTRUMENT
macros
2018-09-14 06:45:31 +09:00
Hamdi Sahloul
a39e0daacf
Utilize CV_UNUSED macro
2018-09-07 20:33:52 +09:00
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
2018-09-06 14:34:16 +03:00
Suleyman TURKMEN
c61bc3a0cb
Update documentation and samples
2018-08-17 14:21:29 +03:00
Pierre Jeambrun
5131619a1a
feat(stitching): Add Sift support for the FeaturesFinder
2018-08-02 17:22:13 +03:00
Alexander Alekhin
d6279bfff8
fix build warnings
2018-05-17 18:29:21 +03:00
Tomoaki Teshima
f7ea6b12ea
cuda: fix build error of sample
2018-05-09 00:23:49 +09:00
exoson
058299cc66
Optimize MultiBandBlender to run faster
2018-04-27 10:48:13 +03:00
Alexander Alekhin
6b581c4e51
build: unreachable code after CV_Error() (part 2)
2018-04-24 16:03:40 +03:00
Alexander Alekhin
4cbec82ac1
build: unreachable code after CV_Error()
2018-04-23 15:45:57 +03:00
Alexander Alekhin
7818071ba2
cuda: eliminate part of build warnings
2018-04-05 17:53:22 +03:00
Alexander Alekhin
225bae1387
stitching: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:27 +03:00
Adam Rankin
f8061ba3c8
Enabling build of stitching when CUDA is available
...
Without proposed change, module throws build error regarding missing `opencv2/cudaimgproc.hpp`
2018-03-07 20:07:48 -05:00
luz.paz
e805a55a5b
Misc. modules/ typos (cont.)
...
Found via `codespell`
2018-02-12 10:15:36 -05:00
Alexander Alekhin
4a297a2443
ts: refactor OpenCV tests
...
- removed tr1 usage (dropped in C++17)
- moved includes of vector/map/iostream/limits into ts.hpp
- require opencv_test + anonymous namespace (added compile check)
- fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
- added missing license headers
2018-02-03 19:39:47 +00:00
Mark Harfouche
df434298b8
Exported a high level stitcher the DLL
...
allows Stitcher to be used for scans from within python.
I had to use very strange notation because I couldn't export the `enum`
`Mode` making the Cpython generated code unable to compile.
```c++
class Stitcher {
public:
enum Mode
{
PANORAMA = 0,
SCANS = 1,
};
...
```
Also removed duplicate code from the `createStitcher` function making
use of the `Stitcher::create` function
2018-01-24 12:43:00 -08:00
Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
2017-12-13 15:00:38 +03:00
Pavel Rojtberg
6fb9d42c3f
Hid symbols in static builds, added LTO flags, removed exports from ts
2017-12-07 10:26:48 +03:00
Alexander Alekhin
0ed3209b00
ocl: avoid unnecessary loading/initializing OpenCL subsystem
...
If there are no OpenCL/UMat methods calls from application.
OpenCL subsystem is initialized:
- haveOpenCL() is called from application
- useOpenCL() is called from application
- access to OpenCL allocator: UMat is created (empty UMat is ignored) or UMat <-> Mat conversions are called
Don't call OpenCL functions if OPENCV_OPENCL_RUNTIME=disabled
(independent from OpenCL linkage type)
2017-11-28 14:02:42 +03:00
Alexander Alekhin
9cdeb6dfbf
ocl: increase SURF stitching test tolerance
...
OpenCL SURF implementation is unstable
2017-10-26 13:03:44 +03:00
Vladislav Vinogradov
26fe8bd4f2
made flann dependency for features2d optional
...
it will allow to build features2d even if flann module is not available
2017-10-13 14:59:39 +03:00
Alexander Alekhin
1f18282f04
build: fix MSVS2017 warning
2017-10-01 10:48:35 +00:00
Alexander Alekhin
0bf823e1eb
stitching(perf): update condition threshold
2017-09-29 14:33:13 +03:00
Alexander Alekhin
39ee07b8f6
test: clarify fail messages
2017-09-29 14:33:00 +03:00
Maksim Shabunin
248e2c7d47
Fixed some issues found by static analysis
2017-09-08 12:22:12 +03:00
Nishant Arora
98db804541
Merge pull request #9210 from whizzzkid/fixing-cuda
...
Fixing explicitly call download method for cuda::GpuMat object
2017-08-17 16:32:53 +00:00
Alexander Alekhin
cfb964834c
stitching(perf): increase test check tolerance
2017-08-03 19:51:46 +03:00
Alexander Alekhin
ad183481c0
perf: skip stitching OpenCL test on Win32 platform
2017-07-20 14:14:22 +03:00
Alexander Alekhin
862242aa8d
stitching(perf): check for available OpenCL memory
2017-07-18 17:26:21 +03:00
Alexander Alekhin
a4a47b538c
build: detect Android via '__ANDROID__' macro
...
https://sourceforge.net/p/predef/wiki/OperatingSystems
2017-07-10 12:43:59 +03:00