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
7 years ago
Maksim Shabunin
87b569d812
Rewritten some tests in videoio and imgcodecs modules
...
general:
- all iterative tests have been replaced with parameterized tests
- old-style try..catch tests have been modified to use EXPECT_/ASSERT_ gtest macros
- added temporary files cleanup
- modified MatComparator error message formatting
imgcodecs:
- test_grfmt.cpp split to test_jpg.cpp, test_png.cpp, test_tiff.cpp, etc.
videoio:
- added public HAVE_VIDEO_INPUT, HAVE_VIDEO_OUTPUT definitions to cvconfig.h
- built-in MotionJPEG codec could not be tested on some platforms (read_write test was disabled if ffmpeg is off, encoding/decoding was handled by ffmpeg otherwise).
- image-related tests moved to imgcodecs (Videoio_Image)
- several property get/set tests have been combined into one
- added MotionJPEG test video to opencv_extra
8 years ago
Vladislav Vinogradov
9786e0a760
fix cudabgsegm module compilation
10 years ago
Vladislav Vinogradov
7030a1f9a2
fix cudabgsegm module compilation
10 years ago
David Bradley
b71744082b
cudabgsegm module was not compiling. Changing all references of opencv2/legacy.hpp to opencv2/cudalegacy.hpp seemed to work.
...
I'm new at this so it would be good to have someone familiar with the build system confirm the change.
11 years ago
Vladislav Vinogradov
0c7663eb3b
Merge branch 'master' into gpu-cuda-rename
...
Conflicts:
modules/core/include/opencv2/core/cuda.hpp
modules/cudacodec/src/thread.cpp
modules/cudacodec/src/thread.hpp
modules/superres/perf/perf_superres.cpp
modules/superres/src/btv_l1_cuda.cpp
modules/superres/src/optical_flow.cpp
modules/videostab/src/global_motion.cpp
modules/videostab/src/inpainting.cpp
samples/cpp/stitching_detailed.cpp
samples/cpp/videostab.cpp
samples/gpu/stereo_multi.cpp
11 years ago
Vladislav Vinogradov
fd88654b45
replaced GPU -> CUDA
11 years ago
Vladislav Vinogradov
29386f1449
renamed gpubgsegm -> cudabgsegm
11 years ago
Vladislav Vinogradov
e895b7455e
renamed gpu namespace -> cuda
11 years ago
Vladislav Vinogradov
af2a700671
made module dependency optional
12 years ago
Vladislav Vinogradov
62edeeed16
refactored FGD algorithm
12 years ago
Vladislav Vinogradov
697793090d
refactored GMG algorithm
12 years ago
Vladislav Vinogradov
b8f0d1a0e4
refactored MOG2 algorithm
12 years ago
Vladislav Vinogradov
a2adab7283
refactored MOG algorithm
...
converted it to abstract interface
12 years ago
Vladislav Vinogradov
3eeaa9189c
Revert "Revert "Merge pull request #836 from jet47:gpu-modules""
12 years ago
Andrey Kamaev
416fb50594
Revert "Merge pull request #836 from jet47:gpu-modules"
...
This reverts commit fba72cb60d
, reversing
changes made to 02131ffb62
.
12 years ago
Vladislav Vinogradov
f531dd839c
gpubgsegm module fixes
12 years ago
Vladislav Vinogradov
ac0f506d0e
split gpuvideo onto gpuoptflow and gpubgsegm
12 years ago
Vladislav Vinogradov
fc1fa28556
gpuvideo module for video processing
12 years ago
Vladislav Vinogradov
54e7c76d99
fixed compilation errors
12 years ago
Vladislav Vinogradov
bf6c08a9ea
fixed compilation with CUDA
12 years ago
marina.kolpakova
dd9e786a8e
fix build gpu tests after video module refactoring
12 years ago
Vladislav Vinogradov
f0b19d4659
updated license header in whole gpu module
12 years ago
Vladislav Vinogradov
0149969463
disable tests that requires video support if it is not available
12 years ago
Vadim Pisarevsky
07e0f7bf59
refactored video module; use the new-style algorithms now
12 years ago
Vladislav Vinogradov
fd7bf0b766
moved SURF_GPU and VIBE to gpunonfree module
12 years ago
Vladislav Vinogradov
abc9ef6809
moved utility functions from gpu_perf_test and gpu_test to ts module
12 years ago
Vladislav Vinogradov
f533f0dca9
fixed gpu sanity tests
12 years ago
Vladislav Vinogradov
b7e6b5af1b
fixed tests (call resetDevice, if there was a gpu failure)
12 years ago
Vladislav Vinogradov
1a76242d99
added GPU_TEST_P macros
12 years ago