Vladislav Vinogradov
4c9773d55f
renamed gpu headers (made it more consistent)
12 years ago
Vladislav Vinogradov
6c253a41c2
added CudaMem support to Input/Output arrays
12 years ago
Vladislav Vinogradov
2fae1d9507
removed ogl::Texture2D support from InputArray
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
Andrey Pavlenko
264d26e671
fixing empty Mat case
12 years ago
berak
765a2c6045
Moments.nu** fields initialized in completeMomentState( Moments* moments )
12 years ago
berak
610e29fa31
restored utility.hpp
12 years ago
berak
50e27ffc37
added initialization of Moments.nu** params in completeMomentState( Moments* moments )
12 years ago
Vladislav Vinogradov
4559d46190
fixed BroxOpticalFlow sanity test (increase epsilon value)
12 years ago
Vladislav Vinogradov
4d9a1cf14b
fixed BoxFilter sanity test (different rounding results)
12 years ago
Vladislav Vinogradov
302250f241
fixed BroxOpticalFlow regression test
...
the output of BroxOpticalFlow differs a bit in CUDA 5.5
12 years ago
Vladislav Vinogradov
14e4b3adde
rewrite core/cuda/vec_math.hpp file
...
old version isn't compiled with CUDA 5.5
new version doesn't depend on functional.hpp
12 years ago
Vladislav Vinogradov
869a35faef
fixed constructors for functional objects (added __host__ modifier)
12 years ago
Vladislav Vinogradov
bf7c1c6c25
fixed NPP error constants usage
12 years ago
Vladislav Vinogradov
3eeaa9189c
Revert "Revert "Merge pull request #836 from jet47:gpu-modules""
12 years ago
yao
9284c07a84
remove commented lines
12 years ago
yao
960a0eacf3
merge openCLMallocPitch and openCLMallocPitchEx into one interface
12 years ago
Peter Minin
ab6be9b7b7
Add a variant of detectMultiScale with an argument 'weights' that
...
receives the number of neighbors joined into each detected object
12 years ago
Roman Donchenko
8714cbac91
Fix a missing header path when building with Qt 4.
...
Also, removing explicit include path configuration,
since QT_USE_FILE takes care of that.
12 years ago
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
IanVS
41fc41829c
Updated documentation to new "COLOR_" format for color conversion enums.
12 years ago
Roman Donchenko
a954d3630f
Add support for adding custom OpenCV modules.
12 years ago
Vladislav Vinogradov
31a5f7ef3c
fixed bug #3069 (infinite loop in GPU LBP Cascade detectMultiScale)
12 years ago
Andrey Pavlenko
c2d3ce9ce5
fix failing test
...
small matrix becomes the same after shuffling
12 years ago
Andrey Pavlenko
c7873dd03d
fixing broken Mat::dump() in Java
12 years ago
Vladislav Vinogradov
89f3c40d79
fixed BroxOpticalFlow sanity test (increase epsilon value)
...
+ interpolateFrames and createOpticalFlowNeedleMap
12 years ago
Vladislav Vinogradov
4a770535c4
fixed BoxFilter sanity test (different rounding results)
12 years ago
Vladislav Vinogradov
516e5b2563
fixed BroxOpticalFlow regression test
...
the output of BroxOpticalFlow differs a bit in CUDA 5.5
12 years ago
Vladislav Vinogradov
918381875a
rewrite gpu/device/vec_math.hpp file
...
old version isn't compiled with CUDA 5.5
new version doesn't depend on functional.hpp
12 years ago
Vladislav Vinogradov
3aea7e8f8d
fixed gpu module build on arm platform
...
links with CUDA driver library only if we use video encoding/decoding
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
yao
dc937c10f9
change a test image of pyrlk
12 years ago
Malcolm Reynolds
a9c9210bf9
update safe_call.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
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
Vladislav Vinogradov
bcf8bdb401
fixed constructors for functional objects (added __host__ modifier)
12 years ago
Vladislav Vinogradov
58e472754a
fixed norm diff function (it uses pre-allocated buffer now)
12 years ago
Vladislav Vinogradov
0521e8908c
fixed NPP error constants usage
12 years ago
Vladislav Vinogradov
013581f371
fixed GPU module compialtion with CMake 2.8.11
...
CMake 2.8.11 removed linkage with CUDA driver library,
but it's used by gpu video encoding/decoding
12 years ago
Roman Donchenko
8a4090fe3f
Make AutoLock noncopyable (it would break on copying, anyway).
12 years ago
peng xiao
97b86aa259
Initialize OpenCL context at the end of getDevice call.
...
Added for better compatibility with the current samples/test cases.
User now will be able to initialize OpenCL context explicitly with
ocl::getDevice api.
This may be obsoleted in future releases.
12 years ago
Roman Donchenko
f90fd5b0da
Split CLAHE into its own file, because it's faster that way.
...
Yes, it's as ludicrous as it sounds, but it's still true. Bizarrely,
the previous commit makes CLAHE run about 10% slower on Android, even
though it doesn't even touch any CLAHE code. Splitting it off fixes that,
although the reason it does is a mystery for the ages.
It's cleaner when it's in its own file, anyway. ;=]
12 years ago
Roman Donchenko
29b13ec1de
Replaced most of the usages of parallel_for with that of parallel_for_.
...
This should allow many algorithms to take advantage of more parallelization
technologies.
12 years ago
yao
15a213d3fc
fix a crash on Linux
12 years ago
yao
abefcc6061
Adjust perf_filters, as this function only supports 3x3 kernel
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
fdc133d8c9
Fix ocl::pyrup kernel build on Mac.
12 years ago
yao
5b598f8a0e
a few fixes of ocl::perf test cases
12 years ago
yao
7ed9c0e87a
Fix brute_force_matcher's hung on some Intel CPU OCL
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
Vladislav Vinogradov
6b1c28ce6d
fixed some gpu tests (different rounding results due to float arithmetics)
12 years ago