Tomoaki Teshima
8fd1bbde76
fix test error on Tinker Board (OpenCL on Arm platform)
...
* loosen some test threshold mainly for integer types
* use relative error for floating points result
* avoid division by zero by following the comment
* fix the indentation
7 years ago
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
Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
7 years ago
Alexander Alekhin
3a8a73ef6c
ocl: skip unstable tests
...
during pre-commit testing
7 years ago
Alexander Alekhin
602f047fe8
build: replace WIN32 => _WIN32
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
LukeZhu
cc47ee3b43
Modify the pyrlk.cl to support winSize from 8*8 to 24*24 for optical flow
8 years ago
LukeZhu
65be9e1978
Fix OpenCL's wrong output of calcOpticalFlowPyrLK function's output vector of err. Improve err's precison of the calcOpticalFlowPyrLK OpenCL function and add the relative test.
8 years ago
Alexander Alekhin
cc09f5a7de
Merge pull request #7854 from alalek:backports_2016
...
(2.4) Backports from master branch (#7854 )
8 years ago
Alexander Alekhin
a05444618c
test: tvl1 test check update
8 years ago
Alexander Alekhin
a01a4c4b3b
test: tvl1 test check update
8 years ago
Alexander Alekhin
5dfb810327
video: fix optflow test: NAN results shouldn't bypass checks
8 years ago
Tomoaki Teshima
3c2f7ecc97
speed up accumulate, accumulateSquare, accumulateProduct and accumulateWeighted using SIMD
...
* use SSE and/or AVX based on configuration
* revise the test to verify the implementation
9 years ago
Matthieu FT
78475a47a5
fix: bg substraction for float images with OpenCL
9 years ago
Krishnaraj Bhat
9b8013d193
gcc6: fix misleading indentation warning
...
cosmetic changes to fix this warning.
real bugs not found
9 years ago
alcinos
6e3b90de9b
Add static creator for TVL1 optical flow class
9 years ago
Evgeny Agafonchikov
6a6d58d389
Adding test support for WINRT
10 years ago
Owen Healy
86fb9f8409
Modify findTransformECC to support a mask of pixels to consider
...
Tests of the mask are also included.
This is useful for registering a non-square image against a non-square
template.
This also needs to relax a sanity check as per
https://github.com/Itseez/opencv/pull/3851
10 years ago
Maksim Shabunin
da383e65e2
Remove deprecated methods from cv::Algorithm
10 years ago
Andrey Kamaev
c105b72945
Assorted fixes:
...
* cmake CMP0054 and CMP0045
* aarch64 build
* portable code options in PCH cmake
* some of gcc 4.9 warnings
10 years ago
Boaz Stolk
ae81006eab
Applied proposed fix
10 years ago
Ernest Galbrun
2f077fcd99
fixed failing test in opencv_video
10 years ago
Ernest Galbrun
6207d338dd
merged new master branch
...
changed tests for tvl1 optflow
correction of a bug preventing compilation with cuda (fmin changed to fminf)
10 years ago
Vadim Pisarevsky
d0137b6d2d
moved part of video to contrib/{outflow, bgsegm}; moved matlab to contrib
10 years ago
Vadim Pisarevsky
05e7c29de5
fixed various warnings and obvious errors reported by clang compiler and the coverity tool.
10 years ago
Alexander Alekhin
55188fe991
world fix
10 years ago
vbystricky
4286f60387
Extract imgcodecs module from highgui
11 years ago
Ilya Lavrenov
4a63b3dd90
cv2cvtest part2
11 years ago
mlyashko
80a40ae3d7
changed epsilon for test pass on Win32
11 years ago
Ilya Lavrenov
b73490f86c
eliminated restriction src[i].channels() == 1 in cv::merge
11 years ago
mlyashko
10f2a038c2
Optical flow dualt tvl1 ocl-based implementation and tests
11 years ago
Ilya Lavrenov
31b7cdc695
implemented OpenCL version of cv::updateMotionHistory
11 years ago
Elena Gvozdeva
69630ee9d9
fixed test
11 years ago
Elena Gvozdeva
0edd0aaf69
fixed
11 years ago
Elena Gvozdeva
1391ca1da5
Added ocl_Mog2
11 years ago
vbystricky
27fb7e1802
Change type of result vector of ocl version from row to column
11 years ago
vbystricky
33fc46cdec
Validate parameters for using OpenCL version, before upload UMat
11 years ago
vbystricky
c57e427fba
Move OpticalFlowPyrLK from ocl module to video module
11 years ago
Ilya Lavrenov
37789f015a
deleted excess semicolons, commas
11 years ago
vbystricky
3762036b08
Fix compiler warnings. Add additional test case for UseInitFlow
11 years ago
vbystricky
3b0fa68a97
Move OpticalFlowFarneback from ocl module to video module
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
Roman Donchenko
808e0cf10b
Boring changes - video.
11 years ago
Roman Donchenko
d9f71b762f
Deleted almost all of the precomp.cpp files.
...
Looks like we don't actually use them; when creating precompiled headers
with Visual C++, a dummy .cpp is created at build time.
11 years ago
Andrey Kamaev
199a35a105
Move C API of opencv_video to separate file
12 years ago
Andrey Kamaev
c98c246fc2
Move border type constants and Moments class to core module
12 years ago
Andrey Kamaev
0738ea7d0f
Make highgui.hpp independent from C API
12 years ago
Vadim Pisarevsky
07e0f7bf59
refactored video module; use the new-style algorithms now
12 years ago
Andrey Kamaev
89356ff16d
Move non-CV functionality from core.hpp to separate utility.hpp header
12 years ago
Andrey Kamaev
ad5cddc007
Main module headers are moved 1 level up
...
e.g. <opencv2/core/core.hpp> become <opencv2/core.hpp>
Also renamed <opencv2/core/opengl_interop.hpp> to <opencv2/core/opengl.hpp>
12 years ago