Roman Donchenko
5bb6d36684
Merge pull request #982 from pengx17:2.4_fix_two_bugs
2013-06-13 16:55:12 +04:00
Roman Donchenko
462047d1e4
Merge pull request #981 from SeninAndrew:ximea_camera_support_fix
2013-06-13 16:54:45 +04:00
Vladislav Vinogradov
0367a7f992
link with nvcuvenc and ffmpeg libraries only if WITH_NVCUVID is enabled
2013-06-13 16:46:34 +04:00
Ivan Korolev
de4c3f0178
Fixed a bug related to video stabilization crashes with a blank video (Bug #3023 )
2013-06-13 13:41:43 +04:00
Alexander Smorkalov
83e9b0a87a
Javadoc waring fix.
2013-06-13 12:40:14 +04:00
Vladislav Vinogradov
e433145b7e
fix for Bug #3085 :
...
weights array is only allocated for (l_count+1) elements,
but then weights[l_count+1] element is accessed.
2013-06-13 10:22:56 +04:00
peng xiao
5fd724b54a
Add a function to query if global OpenCL context is initialized.
2013-06-13 10:46:12 +08:00
Peng Xiao
d9ab22e4ed
Fix two bugs related to opencl context.
...
1. As getDevice will implicitly call setDevice, in getContext we should not need to call it again.
2. Fix an incorrect type casting.
2013-06-12 13:55:20 +08:00
Andrew Senin
8eb6decb25
Fixed Ximea cameras support
2013-06-11 21:17:31 +04:00
Roman Donchenko
98f6a4a615
Merge pull request #972 from jet47:mog2-params-bug-2168
2013-06-11 18:21:52 +04:00
Roman Donchenko
572cfc99a8
Merge pull request #973 from pengx17:2.4_oclclahe
2013-06-11 18:17:57 +04:00
Roman Donchenko
3af21cad4c
Merge pull request #903 from aks2:2.4
2013-06-11 17:35:39 +04:00
Peng Xiao
c8398c9fdc
Use anonymous enumerations instead of constants
2013-06-11 20:32:55 +08:00
Roman Donchenko
d583a79869
Revert "Add a variant of detectMultiScale with an argument 'weights'"
...
It was merged by mistake.
This reverts commit ab6be9b7b7
.
2013-06-10 17:06:34 +04:00
Vadim Pisarevsky
52e9974431
Merge pull request #961 from PeterMinin:detected_objects_weight
2013-06-10 15:22:46 +04:00
Roman Donchenko
1b689a7431
Merge pull request #971 from SpecLad:matchers-ctor
2013-06-10 15:06:31 +04:00
Roman Donchenko
55e83b8d18
Merge pull request #970 from asmorkalov:dshow_valid_check_fix
2013-06-10 15:06:14 +04:00
Alexander Smorkalov
956d8027ef
Bug #3044 cap_dshow.cpp forgotten validity check fixed.
2013-06-10 13:29:45 -07:00
Peng Xiao
1d8cd3a717
Add ocl CLACH implementation.
...
Test cases (accuracy and performance) are provided.
2013-06-10 18:37:48 +08:00
Vladislav Vinogradov
99a5b3417a
added missing BackgroundSubtractorMOG2 parameters
2013-06-10 13:41:46 +04:00
Roman Donchenko
41482fe56c
Erase MatchPairsBody's copy constructor.
...
It's the same as the implicitly defined one, and it causes a -Wextra warning
(not initializing the base class in a copy constructor).
2013-06-10 13:30:23 +04:00
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.
2013-06-10 16:38:22 +08:00
Andrey Pavlenko
264d26e671
fixing empty Mat case
2013-06-08 12:41:57 +04:00
Vadim Pisarevsky
51f81eec36
Merge pull request #957 from pengx17:2.4_fix_corner_detector
2013-06-07 13:44:10 +04:00
Roman Donchenko
68e4256fd2
Merge pull request #960 from SpecLad:extra-modules
2013-06-07 11:29:40 +04:00
Peter Minin
ab6be9b7b7
Add a variant of detectMultiScale with an argument 'weights' that
...
receives the number of neighbors joined into each detected object
2013-06-06 19:00:55 +04:00
Leszek Swirski
7d0f6b4d68
Fix image saving from QT toolbar
2013-06-06 11:15:00 +01:00
Leszek Swirski
9a1cc06ebe
Fix pixel value rendering for non-fixed-size QT windows
2013-06-06 11:14:52 +01:00
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.
2013-06-06 14:09:33 +04:00
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.
2013-06-06 11:44:35 +08:00
Roman Donchenko
a954d3630f
Add support for adding custom OpenCV modules.
2013-06-05 18:10:44 +04:00
Roman Donchenko
7f9675bcc0
Merge pull request #953 from jet47:fix-bug-3069
2013-06-05 17:56:35 +04:00
Roman Donchenko
087db2949a
Merge pull request #948 from jet47:cuda-5.5-support
2013-06-05 17:04:22 +04:00
Vladislav Vinogradov
31a5f7ef3c
fixed bug #3069 (infinite loop in GPU LBP Cascade detectMultiScale)
2013-06-05 14:08:55 +04:00
Roman Donchenko
27bff3c175
Merge pull request #947 from jet47:fix-gpu-arm-build
2013-06-05 11:50:12 +04:00
Roman Donchenko
f527b6a93f
Merge pull request #940 from SpecLad:autolock
2013-06-04 17:50:31 +04:00
Vladislav Vinogradov
89f3c40d79
fixed BroxOpticalFlow sanity test (increase epsilon value)
...
+ interpolateFrames and createOpticalFlowNeedleMap
2013-06-04 15:01:06 +04:00
Vladislav Vinogradov
4a770535c4
fixed BoxFilter sanity test (different rounding results)
2013-06-04 14:59:47 +04:00
Vladislav Vinogradov
516e5b2563
fixed BroxOpticalFlow regression test
...
the output of BroxOpticalFlow differs a bit in CUDA 5.5
2013-06-04 13:58:45 +04:00
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
2013-06-04 13:57:35 +04:00
Vadim Pisarevsky
119b7a298d
Merge pull request #933 from pengx17:2.4_macfix_cont
2013-06-04 13:34:53 +04:00
Vadim Pisarevsky
2d88f20c1e
Merge pull request #935 from pengx17:2.4_filter2d_fix
2013-06-04 13:34:40 +04:00
Vadim Pisarevsky
0cb1644825
Merge pull request #936 from bitwangyaoyao:2.4_perf
2013-06-04 13:34:25 +04:00
Vadim Pisarevsky
e0c2daadbf
Merge pull request #937 from bitwangyaoyao:2.4_fixPyrLK
2013-06-04 13:34:09 +04:00
Vadim Pisarevsky
37953b7cf0
Merge pull request #939 from pengx17:2.4_getDevice
2013-06-04 13:33:21 +04:00
Vladislav Vinogradov
3aea7e8f8d
fixed gpu module build on arm platform
...
links with CUDA driver library only if we use video encoding/decoding
2013-06-04 12:51:36 +04:00
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.
2013-06-04 15:55:33 +08:00
yao
dc937c10f9
change a test image of pyrlk
2013-06-04 11:31:54 +08:00
Roman Donchenko
75cf5cc4ee
Merge pull request #943 from jet47:cuda-5.5-support
2013-06-03 16:08:23 +04:00
Vladislav Vinogradov
bcf8bdb401
fixed constructors for functional objects (added __host__ modifier)
2013-06-03 14:41:23 +04:00
Vladislav Vinogradov
58e472754a
fixed norm diff function (it uses pre-allocated buffer now)
2013-06-03 13:37:44 +04:00
Vladislav Vinogradov
0521e8908c
fixed NPP error constants usage
2013-06-03 13:37:36 +04:00
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
2013-06-03 13:29:26 +04:00
Roman Donchenko
34c5f47f60
Merge pull request #934 from SpecLad:parallel-for
2013-06-03 12:13:16 +04:00
Roman Donchenko
8a4090fe3f
Make AutoLock noncopyable (it would break on copying, anyway).
2013-05-31 17:27:42 +04:00
Roman Donchenko
85360572b0
Merge pull request #931 from jet47:gpu-test-fixes
2013-05-31 16:46:31 +04:00
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.
2013-05-31 16:48:40 +08:00
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. ;=]
2013-05-31 12:22:04 +04:00
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.
2013-05-31 12:22:04 +04:00
yao
15a213d3fc
fix a crash on Linux
2013-05-31 15:35:54 +08:00
yao
abefcc6061
Adjust perf_filters, as this function only supports 3x3 kernel
2013-05-31 15:16:03 +08:00
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.
2013-05-31 10:53:52 +08:00
peng xiao
fdc133d8c9
Fix ocl::pyrup kernel build on Mac.
2013-05-30 16:34:20 +08:00
Vadim Pisarevsky
37091b086c
Merge pull request #932 from bitwangyaoyao:2.4_fixBFM
2013-05-30 12:21:27 +04:00
yao
5b598f8a0e
a few fixes of ocl::perf test cases
2013-05-30 16:20:31 +08:00
Vadim Pisarevsky
5a4efe8bcf
Merge pull request #924 from pengx17:2.4_arithm_fix
2013-05-30 12:01:25 +04:00
Vadim Pisarevsky
678371be39
Merge pull request #925 from pengx17:2.4_canny_tmp_fix
2013-05-30 12:01:09 +04:00
Vadim Pisarevsky
c176131a67
Merge pull request #927 from bitwangyaoyao:2.4_perf
2013-05-30 12:00:47 +04:00
yao
7ed9c0e87a
Fix brute_force_matcher's hung on some Intel CPU OCL
2013-05-30 14:57:15 +08:00
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.
2013-05-30 14:01:19 +08:00
Vladislav Vinogradov
6b1c28ce6d
fixed some gpu tests (different rounding results due to float arithmetics)
2013-05-29 17:38:32 +04:00
Roman Donchenko
fbb25787cd
Merge pull request #920 from asmorkalov:android_move
2013-05-29 16:53:04 +04:00
peng xiao
006e4242b2
Merge branch '2.4' of https://github.com/Itseez/opencv into 2.4_oclgfft
2013-05-29 17:57:14 +08:00
yao
a9b7ff41bd
adjust test cases
2013-05-29 15:48:56 +08:00
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.
2013-05-29 14:15:26 +08:00
Vadim Pisarevsky
2ccdf56119
Merge pull request #913 from janm399:2.4
2013-05-28 22:05:14 +04:00
Vadim Pisarevsky
24ca620c32
Merge pull request #916 from bitwangyaoyao:2.4_fixPyrLK
2013-05-28 22:04:37 +04:00
Vadim Pisarevsky
d3c7ae6adf
Merge pull request #919 from abidrahmank:2.4
2013-05-28 21:54:51 +04:00
yao
d81c145fa9
fix memory leak
2013-05-28 18:07:41 +08:00
yao
14bd6402be
revise perf
2013-05-28 17:53:06 +08:00
peng xiao
1d0c283508
Fix a bug when pushing pointers of arguments into std::vector.
...
When argument pointers pushed into an vector and the pointers point to
address on stack, we need to make sure they are valid until kernels are
successfully flushed onto the queue.
2013-05-28 17:27:55 +08:00
peng xiao
6fae02c05d
Fix some OpenCL kernel file build errors on Mac.
2013-05-28 11:12:05 +08:00
Alexander Smorkalov
20fef00a77
android -> plarforms/android
2013-05-27 11:10:38 +04:00
abidrahmank
ca09ba6852
Bug #2960 : docs about CV_BGR2GRAY
2013-05-25 01:50:41 +05:30
abidrahmank
98960bf201
A new python sample on grabcut
2013-05-25 00:55:31 +05:30
yao
c58e0d5d73
fix hog
2013-05-24 13:46:21 +08:00
yao
d45f9ef866
fix Linux build errors
2013-05-23 17:58:50 +08:00
yao
a223b5624f
fix pyrLK's mismatch on Intel GPUs
2013-05-23 10:55:08 +08:00
Roman Donchenko
324cafdda6
Merge pull request #904 from ograycode:2.4
2013-05-22 18:46:40 +04:00
Jan Machacek
46b770f255
Fixed include name in OpenCL on OS X
2013-05-22 13:22:16 +01:00
Roman Donchenko
519ee72f6f
Merge pull request #905 from bitwangyaoyao:2.4_TVL1
2013-05-22 12:08:16 +04:00
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.
2013-05-22 13:46:42 +08:00
Andrey Pavlenko
d4255b7f75
Merge pull request #902 from apavlenko:fix_run_py
2013-05-21 14:07:32 +04:00
alex77git
445860d619
(typo)
2013-05-20 13:19:36 +02:00
alex77git
c8abaea368
(tab to space) 2x
2013-05-20 12:06:25 +02:00
Vadim Pisarevsky
cbbc82a789
Merge pull request #882 from pengx17:2.4_rewrite_query_info
2013-05-20 14:01:03 +04:00
Vadim Pisarevsky
b51a1a7d15
Merge pull request #895 from bitwangyaoyao:2.4_perf
2013-05-20 14:00:47 +04:00
Roman Donchenko
389be67605
Merge pull request #853 from icylord:2.4
2013-05-20 12:11:47 +04:00
yao
d8b192c84d
Fix the mismatch on NV GPUs
2013-05-20 14:46:17 +08:00
ograycode
97e9368e75
Simple set of the camera index to allow the user to change it after the object has been initialized.
2013-05-19 22:04:56 -04:00