peng xiao
429f84e59e
Fix a bug of cornerHarris and cornerMinEigenVal.
...
The bug is a buffer overrun when border type is reflect101.
It is found that gfft crashed with input of size 100x100 on Intel CPU.
12 years ago
peng xiao
a7a94de74a
Fix a bug of gfft.
...
When user provided corners buffer is big enough to be copied to from
tmpCorners_, we allow the buffer to be reused other than allocate a new
cl_mem object.
12 years ago
peng xiao
fd7ba355ee
Add non-stump based ocl Haar cascade classifier support.
...
For example, haarcascade_frontalface_alt2.xml is now supported.
Note that classifier's pattern of a cascade file must be consistent,
i.e., all trees must either have two nodes or one node, otherwise
unexpected results will occur.
Other fixes:
Test cases are updated.
Some unused codes are removed.
Fix some problems of haar when using OclCascadeClassifierBuf.
12 years ago
peng xiao
d015fa76fa
Fix 2.4 ocl Canny.
...
This fix is a workaround for current 2.4 branch without introducing an
additional oclMat buffer into CannyBuf object.
Test case is cleaned up.
Volatile keywords in kernels are removed for performance concern.
12 years ago
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
4162ebfad3
add OpticalFlowDual_TVL1_OCL function
12 years ago
yao
03c55db4fb
fix the waring in gemm test
12 years ago
yao
e23884a238
fix the warnings in fft tests
12 years ago
yao
ada8f92cc7
fix warnings, unify test names
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
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
bb4b410512
Add ocl::PlatformName to ocl::Info.
12 years ago
Peng Xiao
7b08d5ec69
Add OpenCL stereo CSBP implementation
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
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
6a40383aee
Add HammingDist test case
12 years ago
Andrey Kamaev
8406312571
Remove C API from OpenCL module
12 years ago
peng xiao
1bea9ee26c
Rename test case category and code clean up.
12 years ago
peng xiao
5eb551b340
Remove my test codes.
12 years ago
peng xiao
6c2079b778
Test code clean up.
12 years ago
peng xiao
22ca7e44d6
Change ocl::Canny test case category
12 years ago
Andrey Kamaev
e5a33723fc
Move C API of opencv_calib3d to separate file
12 years ago
Andrey Kamaev
288a0634c2
Make imgproc.hpp independent from C API
12 years ago
peng xiao
3fea2620e6
Fix some compilation errors and warnings.
12 years ago
peng xiao
77501f3ed0
ocl: Add dft based convolve implementation.
...
Match template in ocl module now can be utilized with dft based
convolve. Note this feature needs OpenCV to be built with clAmdFft
library.
12 years ago
yao
bee970ab94
remove the C3 kernels in arithm, as the oclMat will never store 3 channels data
12 years ago
yao
8cc5b98051
Fix the problem of device selection on hybrid video systems.
12 years ago
peng xiao
ecea583afd
Add ocl::stereobp function.
...
OpenCL StereoBeliefPropagation, ported from GPU implementation.
12 years ago
Andrey Kamaev
517062039e
Make core/internal.hpp a private header
12 years ago
yao
f36db3a037
more fix of mismatch
12 years ago
yao
ad6aae4583
more fix of mismatch functions on CPU OCL
12 years ago
Andrey Kamaev
77ad07adf3
Disable crashing ocl tests
12 years ago
Andrey Kamaev
1be58f9a00
SURF accuracy test is moved to nonfree
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
peng xiao
34998b6034
Add ocl::SURF accurate test.
...
The test cases are ported from gpu module (masked version is still
missing).
Key point direction definition is synchronized with cv::SURF.
nonfree module dependency is added into ocl module's cmake file.
12 years ago
yao
0f0a4c3099
add stereoBM function
12 years ago
yao
dba2ec0539
remove the compile warnings
12 years ago
yao
6df23428af
Add moments function
12 years ago
yao
b7ebedc23e
fix mismatch of WarpAffine
12 years ago
yao
d050159f07
Remove the perf running from ocl::matchTemplate accuracy tests
12 years ago
yao
3316d0bfb2
Fix the compiling errors of gemm on Linux
12 years ago
yao
f4ef0c1598
fix meanShift mismatch on none-double GPUs
12 years ago