Alexander Alekhin
12eb340a4e
removed invalid comment
11 years ago
Alexander Alekhin
5ab49c4cc2
ocl: cl_runtime: added autogenerated code
11 years ago
Alexander Alekhin
212ad97100
ocl: dynamic load of OpenCL libraries
...
Support functions from OpenCL 1.1 / OpenCL 1.2
11 years ago
Ilya Lavrenov
7379152afb
fixed ocl::setIdentity
11 years ago
peng xiao
f69ccfa43d
Add opencl svm.
11 years ago
Ilya Lavrenov
f5af3ab851
changes in OpenCL matrix operations docs
11 years ago
Ilya Lavrenov
bd36e556a1
removed ocl::magnitudeSqr
11 years ago
Ilya Lavrenov
0ad03162df
refactored and extended arithm operations add/sub/mul/div/absdiff
11 years ago
Ilya Lavrenov
5ff5fdd73d
marked some methods of ocl::Context as const
11 years ago
Jin Ma
b88f5302e2
Removed unused constructor.
11 years ago
Jin Ma
06c33df307
Added knearest neighbor of OpenCL version.
...
It includes the accuracy/performance test and the implementation of KNN.
11 years ago
Ilya Lavrenov
58b84c2fc0
removed needless divUp
11 years ago
Jin Ma
2d5a1dacd0
Added Kalman Filter of OpenCL version.
11 years ago
ilya-lavrenov
968c095403
gpu -> ocl
11 years ago
yao
26b5eb3e39
add adaptive bilateral filter (cpp and ocl version)
11 years ago
Roman Donchenko
9b92545ce6
War on Whitespace, master edition: trailing spaces.
11 years ago
Roman Donchenko
f55740da70
Deleted all trailing whitespace.
11 years ago
Jin Ma
3fb0bf6e99
Added MOG and MOG2.
11 years ago
peng xiao
124ede611b
Update with apavlenko's suggestions.
11 years ago
peng xiao
892c088e1b
Some modifications to sortByKey API.
...
Add documentation.
12 years ago
yao
3d3e9ab635
Fix the problem of haar caused by merge
12 years ago
peng xiao
e1f43e3b03
Add sort_by_key for oclMat.
...
Most codes are ported from AMD's Bolt library.
Four methods are implemented:
SORT_BITONIC, // only support power-of-2 buffer size
SORT_SELECTION, // cannot sort duplicate keys
SORT_MERGE,
SORT_RADIX // only support signed int/float keys
12 years ago
yao
88ed74a7ec
fix the function name
12 years ago
Jin Ma
97e620b8f3
Fix oclMat constructor when roi is provided.
12 years ago
yao
8d8dc29ced
add kmeans
12 years ago
peng xiao
a5383b8627
Move function definition from header to cpp.
12 years ago
peng xiao
fc64faa22e
Remove empty cv::ocl::CLAHE class.
12 years ago
peng xiao
132b885b24
Add opencl implementation of Farnback optical flow.
12 years ago
peng xiao
cc3fb3d182
Let CLAHE_OCL reuse cv::CLAHE abstract class.
12 years ago
peng xiao
290c8db0a8
Revise naming for getOclMat function.
12 years ago
peng xiao
e129638263
Add a workaround to interpolate between oclMat and Input/OutputArray.
12 years ago
Roman Donchenko
1ed5fb937d
Give cv::ocl::CLAHE a virtual destructor, for the usual reasons.
12 years ago
peng xiao
e6b18fc492
Fix a bug caused by NDEBUG macro; it is now removed.
...
Revise some descriptions of the enums.
12 years ago
peng xiao
5fd724b54a
Add a function to query if global OpenCL context is initialized.
12 years ago
Peng Xiao
c8398c9fdc
Use anonymous enumerations instead of constants
12 years ago
Peng Xiao
1d8cd3a717
Add ocl CLACH implementation.
...
Test cases (accuracy and performance) are provided.
12 years ago
Peng Xiao
e77abeef16
Add a new global function to control ocl binary storage
...
Previously the feature is controlled by setBinpath implicitly.
We add the function to cope with setBinpath and setBinpath is only
useful when setBinaryDiskCache is set.
Refer to the header to see more info.
12 years ago
yao
960a0eacf3
merge openCLMallocPitch and openCLMallocPitchEx into one interface
12 years ago
Malcolm Reynolds
229ff632b6
update util.hpp to fix OpenCL import on case sensitive mac FS
...
On a Mac with a case sensitive filesystem <OpenCL/OpenCL.h> does not exist but <OpenCL/opencl.h> does. I presume (!), but have no way to test, that on a Mac with case insensitive FS this change will make no difference.
12 years ago
peng xiao
b1c248fcc9
Fix ocl::filter2D.
...
In current implementation, this function only works when anchor point is
in the kernel center and kernel size supported is either 3x3 or 5x5.
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
Jan Machacek
46b770f255
Fixed include name in OpenCL on OS X
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
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
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
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
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