Roman Donchenko
2ca49eef37
Added stupid hacks to make the video tests pass with FFmpeg 2.0.2.
...
Need to go back at some point and fix this for real.
(cherry picked from commit dfe07df87b
)
11 years ago
Roman Donchenko
5a5d569d72
Changed MPEG-2 resolution in the FFmpeg test.
...
Newer FFmpeg prohibits 4096x4096 MPEG-2, presumably because it violates
the standard.
http://git.videolan.org/gitweb.cgi/ffmpeg.git/?p=ffmpeg.git;a=commit;h=7fb87bc5f24b1be13269109506c05e4c54695b5e
(cherry picked from commit 424a7b0ab0
)
Conflicts:
modules/highgui/test/test_ffmpeg.cpp
11 years ago
Roman Donchenko
260c2e0b08
Decoupled test_ffmpeg.cpp from ffmpeg_codecs.hpp.
...
(cherry picked from commit 3f3ae33327
)
11 years ago
Alexander Alekhin
4b17d073c0
cmake: fix linker dependencies for opencv_java
...
Linker dependencies to all OpenCV modules are invalid.
We should not include other bindings in this list (like "opencv_python").
11 years ago
Roman Donchenko
f51e490bad
Fixed a Wmissing-declarations warning when compiling with MinGW.
11 years ago
Ilya Lavrenov
dab3000778
fixed bug in ocl::equalizeHist
11 years ago
Ilya Lavrenov
5864895ec6
fixed ocl::copyMakeBorder
11 years ago
Ilya Lavrenov
7c1443cbdd
fixed an accuracy test for ocl::resize (in some cases dsize.area() was equal to 0)
11 years ago
Ilya Lavrenov
29499ed51a
moved to relative errors in ocl::norm tests
11 years ago
Ilya Lavrenov
87fc3441f2
workaround for cv::multiply bug
11 years ago
Alexander Alekhin
e7fd053478
ocl: fix FFT initialization
11 years ago
Alexander Alekhin
9acca12d2d
ocl: workaround for ProgramCache cleanup issue, use RAII to print kernel build error
11 years ago
Ilya Lavrenov
9d923b50ac
fixed ocl::Laplacian for case when scale != 1
11 years ago
Ilya Lavrenov
6085c416a7
missed initialization of kernel size
11 years ago
Ilya Lavrenov
4f68f35a78
added reflect, reflect101, replicate, wrap border types to ocl::remap
11 years ago
Ilya Lavrenov
bebc1c9330
misprint
11 years ago
Kevin
8f995fac88
Change intrinsic camera matrix initialization
...
In the function cvInitIntrinsicParams2D the principal point for
normalized image coordinates is set to 0/0. This updates the function
to initialize the principal point at 0.5/0.5.
11 years ago
Ilya Lavrenov
e9cef2990e
made more demonstrative message about test fails
11 years ago
Ilya Lavrenov
022b5d6c74
refactored ocl matrix operations accuracy tests
11 years ago
Ilya Lavrenov
b3e1a4598c
enabled double in copyMakeBorder kernel
11 years ago
Ilya Lavrenov
2681cef5d7
rewrote ocl::remap
11 years ago
Ilya Lavrenov
3fe74ad124
fixed ocl::copyMakeBorder
11 years ago
Ilya Lavrenov
36342eb425
added ROI support to ocl::convolve
11 years ago
Ilya Lavrenov
110a92c126
added ROI support to ocl::columnSum
11 years ago
Ilya Lavrenov
60f9ba0c64
added ROI support to ocl::CLAHE
11 years ago
Ilya Lavrenov
4a81be7d0b
refactored all the tests in ocl/test/test_imgproc.cpp
11 years ago
Alexander Alekhin
fd4e705b14
ocl: update autogenerated code
11 years ago
Alexander Alekhin
6344da9ac3
ocl: force to use Khronos OpenCL headers
11 years ago
Vladislav Vinogradov
fa70f95272
fix imshow under Windows with OpenGL support:
...
we doesn't create OpenGL windows by default
OpenGL window must be created by user via namedWindow
11 years ago
Alexander Alekhin
4bfeeb0738
ocl: perf: use RELATIVE_ERROR in SANITY_CHECK for exp/log/pow
11 years ago
Ilya Lavrenov
07aee1a25c
made LOOP_TIMES as a command line option with default value=1
11 years ago
Ilya Lavrenov
da3b7c79b8
refactored filters in the ocl module; added an accuracy tests for ocl::medianFilter
11 years ago
Alexander Alekhin
ce0647c9b6
ocl: rewrite CvtColor tests, added roi support
11 years ago
Roman Donchenko
5bb6949bd6
Fix running Java tests with run.py on everything other than Windows.
...
Previously, run.py would assume that the opencv_java library is in the
same directory as the tests, which is only true on Windows.
The library path depends on the build configuration, which may not be
known until the actual build (e.g. with the Visual Studio generators),
so it can't be stored in the CMake cache for run.py to read. I didn't
want to hardcode into run.py where the library is on each platform,
either. So that's why I used the current scheme with the properties
file. It also makes running the tests without run.py a little easier.
11 years ago
Alexander Alekhin
2a9d24323c
cmake: add opencv_java into list of exported targets (fix for android)
11 years ago
Roman Donchenko
a61d1e6494
Delete an import of junit.framework.Assert, which is deprecated in JUnit 4.x.
...
We don't use it, anyway.
11 years ago
Roman Donchenko
7ff91665cf
In Java bindings, wrap version constants into functions to prevent inlining.
...
Java inlines static finals if they're defined with a constant expression. In
case of version constants we don't want that to happen, since they obviously
change from version to version. If the user substitutes a different OpenCV
jar without recompiling, we want user code to still have relevant values for
the version constants.
This arranges that by turning constant values into function calls, which no
longer count as a constant expression.
11 years ago
Ilya Lavrenov
741e0242b3
replaced to_string by cv::format
11 years ago
Roman Donchenko
cf71ff0845
Record OpenCV build type among the test properties.
...
Because apparently I love running performance tests for debug builds.
11 years ago
Han Qiang
88f68a3fe0
Fixed typo in document.
...
Signed-off-by: Han Qiang <a0byte@gmail.com>
11 years ago
Ilya Lavrenov
ca26028415
demonstrative device info output
11 years ago
Ilya Lavrenov
28f566b843
misprint in disabling ocl::svm
11 years ago
Ilya Lavrenov
b18101b15a
some optimization of binary ocl::bitwise operations
11 years ago
Ilya Lavrenov
da607c6711
ocl::cvtColor works with ROI properly
11 years ago
Alexander Alekhin
376cd8f84f
perf: added simple collection strategy
11 years ago
Alexander Alekhin
f617c0d4a2
ocl: fix for get string info from OpenCL
11 years ago
Alexander Alekhin
4413bee693
ocl: reverted type of perf test params for Kalman filter
11 years ago
Ilya Lavrenov
dfbea3518a
refactored ocl/src/imgproc.cpp
11 years ago
Ilya Lavrenov
5a309e8f6e
fft cleanup ignoring
11 years ago
ilya-lavrenov
d63a38e9bf
disable SVM when AMD BLAS is not available
11 years ago