peng xiao
b4a4a05bdc
Add ocl's good features to track implementation.
...
Additional notes with this commit:
1. Add cornerHarris_dxdy and cornerMinEigenVal_dxdy to get
the interim dx and dy output of Sobel operator;
2. Add minMax_buf to allow user to reuse buffers in minMax;
3. Fix an error when either min or max pointer fed into minMax is NULL;
4. Corner sorter temporarily uses C++ STL's quick sort. A parallel
selection sort in OpneCL is contained in the implementation but disabled
due to poor performance at the moment.
5. Accuracy test for ocl gfft.
12 years ago
yao
d8b192c84d
Fix the mismatch on NV GPUs
12 years ago
yao
04399a27d0
fix a warning
12 years ago
yao
4162ebfad3
add OpticalFlowDual_TVL1_OCL function
12 years ago
yao
03c55db4fb
fix the waring in gemm test
12 years ago
yao
5f20fce6fd
add accuracy tests while running perf
12 years ago
peng xiao
d053f2165d
Add BFMatcher_OCL class alias for BruteForceMatcher_OCL.
...
This adds a similar interface with pure-cpp and gpu versions.
12 years ago
peng xiao
3f93c3cc4e
Clean up spaces in ocl.hpp
12 years ago
peng xiao
df3997b108
Fix ocl::pyrUp
...
Use predefined OpenCL function to convert integers to floating points.
This is more accurate than before as it enables:
1. saturate cast
2. customized rounding
12 years ago
yao
1d1d28baf2
fix black screen when input Mat is large
12 years ago
peng xiao
ac21cabda2
Copy ocl::queryDeviceInfo interface from master to 2.4.
...
Affected functions surf.ocl, pyrlk.ocl and hog.ocl are updated with the change.
12 years ago
Andrey Kamaev
2665c39a0d
Fix build warnings from gcc 4.8
12 years ago
yao
e23884a238
fix the warnings in fft tests
12 years ago
yao
ada8f92cc7
fix warnings, unify test names
12 years ago
peng xiao
e5ea018185
Let surf.ocl use the new queryDeviceInfo interface.
12 years ago
peng xiao
bfa0f02303
Rewrite queryDeviceInfo interface.
...
Previously the function may cause some unsafe issue. It is fixed now by introducing a template parameter.
12 years ago
peng xiao
e14acabb3d
Fix ocl moudle build with latest Intel OpenCL SDK.
...
We found that cl.h file provided in latest Intel SDK muted deprecated interfaces.
12 years ago
peng xiao
69e6d0016e
Optimize stereobm a bit.
...
Speedup about 30% on 6730M GPU.
12 years ago
peng xiao
861de8a6e9
CL_PLATFORM_VENDOR should be CL_PLATFORM_NAME.
12 years ago
yao
b6313951dc
use clean EXPECT_MAT_NEAR (no string output)
12 years ago
yao
35c6860f06
further simplify the logics in filter tests
12 years ago
yao
1a53e2cfb2
remove interpolation.hpp
12 years ago
yao
3928c1ee26
add copyrights
12 years ago
yao
e4d3378230
simplify logics in filter tests, remove redundant code in arithm tests
12 years ago
yao
52dbbae82c
some cleanup, remove some commented codes
12 years ago
peng xiao
d34e7eca60
Suppress warning when compiling deprecated OpenCL function on GNU compilers.
12 years ago
peng xiao
ed2199a497
Fix build
12 years ago
peng xiao
1eca49f40b
ocl: Enable backward binary portability for setTo function.
12 years ago
peng xiao
168c0b0385
Optimize ocl::stereobm.
...
1. Use macro defines for some parameters(radius).
2. Reduce local memory usage.
3. Fix accuracy problem on Intel GPU.
12 years ago
peng xiao
355bc691fc
Add OpenCL version 1.2 query into ocl::Context::supportsFeature().
...
Add backwards portability for OpenCL 1.1 when OpenCV executables
are compiled with OpenCL 1.2 profile support.
12 years ago
peng xiao
bb4b410512
Add ocl::PlatformName to ocl::Info.
12 years ago
yao
f788d010f7
fix a crash on CPU OCL for some specified image sizes
12 years ago
peng xiao
9cfa24e515
Fix thread sync for csbp.
12 years ago
yao
b386ea72aa
use float when sum overflow
12 years ago
peng xiao
3282aaa1f5
Fix a bug found on Intel OpenCL SDK.
12 years ago
Peng Xiao
c701d54281
Fix build errors
12 years ago
Peng Xiao
7b08d5ec69
Add OpenCL stereo CSBP implementation
12 years ago
Vladislav Vinogradov
54e7c76d99
fixed compilation errors
12 years ago
peng xiao
0f7d7100e5
Add clamping for y dimension.
12 years ago
peng xiao
6f63a5d8d5
Let wave_size=1 on CPU.
12 years ago
Andrey Kamaev
96b008cd29
Eliminate the need of ::testsing::ValuesIn() for CV_ENUM
...
Also cv::, cv::gpu:: and cv::ocl:: namespace prefixes can be safely omitted
inside CV_ENUM and CV_FLAGS
12 years ago
yao
69a0b5dde5
Add OclCascadeClassifierBuf interface
12 years ago
yao
dec6a3b080
make boxfilter kernel compile on Mac GPU OCL
12 years ago
peng xiao
06a4bad809
Merge ocl and/or/xor operators into one kernel each.
12 years ago
yao
2f781a53a9
Fix arithm's substract mismatch caused by incomplete merge
12 years ago
yao
40d0e0eda0
use host data when DEVICE_MEM_UHP is set (the risk of vary align size is owned by users)
12 years ago
Peng Xiao
6dd6013546
Use a faster way to count 1's (used by Hamming)
12 years ago
Peng Xiao
6b6b1c9cbf
Allow more query/train types for ocl::bfmatcher
12 years ago
Peng Xiao
d9de84091c
Allow more input query/train types for ocl::bfmatcher
...
RadiusMatch for HammingDist cannot pass yet.
12 years ago
Peng Xiao
1db20099a9
Enable runtime type definition in kernels
12 years ago