Commit Graph

959 Commits

Author SHA1 Message Date
Vadim Pisarevsky
65a7f13af3 replaced alloca() (a.k.a. cvStackAlloc) with AutoBuffer or vector() everywhere. cvStackAlloc() is still defined, but we do not need alloca() anymore to compile and run OpenCV (fixes #889 and may be some others) 2011-02-18 10:29:57 +00:00
Alexey Spizhevoy
7b2ec0a1e6 fixed gpu/CMakeLists.txt 2011-02-18 10:04:31 +00:00
Alexey Spizhevoy
048689876e removed unnecessary code from gpu/CMakeLists.txt 2011-02-18 10:01:30 +00:00
Alexey Spizhevoy
7bf2816f28 removed CMakeLists.txt from gpu/test folder to avoid precompiled header associated warnings under Ubuntu 2011-02-18 07:43:15 +00:00
Maria Dimashova
63c9b4cec1 fixed mirror property of kinect 2011-02-17 15:53:20 +00:00
Alexey Spizhevoy
12c2ead83f added NVIDIA tests (disabled because doesn't work under Linux) 2011-02-17 14:51:57 +00:00
Alexey Spizhevoy
6f788ff8db ported GPU test to GTest framework 2011-02-17 14:01:28 +00:00
Alexey Spizhevoy
97eaa95a1e removed check_and_treat_gpu_exception function 2011-02-17 11:18:32 +00:00
Alexey Spizhevoy
993773b74a now GPU stereo_bp test prints error mesage and test system continues execution 2011-02-17 11:09:29 +00:00
Vadim Pisarevsky
9c05a74fee fixed memory corruption in cvtest::copyMakeBorder (thanks to Pieter-Jan Busschaert) 2011-02-17 09:07:55 +00:00
Alexey Spizhevoy
7f1aa1b92d removed catch from GPU stereo_bp test as --gtest_catch_exceptions flags exists (but err msg isn't printed in case when there is no GPU) 2011-02-17 07:02:12 +00:00
Alexey Spizhevoy
51cee84123 created GPU new-style test project, ported StereoBP test 2011-02-16 11:38:58 +00:00
Marius Muja
53e6bab678 Prefixed constants in flann with FLANN_ to prevent clashes with constants from other includes, closes bug #890 2011-02-16 08:42:52 +00:00
Vladislav Vinogradov
54fa600b9e update docs
minor fixes and refactoring of GPU module
2011-02-16 08:31:45 +00:00
Marius Muja
7d42dbdd71 Removing 'using namespace std' from header files, closes bugs #730 and #846 2011-02-16 06:36:15 +00:00
Anatoly Baksheev
6b34532901 minor + warnings 2011-02-15 15:09:54 +00:00
Alexey Spizhevoy
2f8af6335e renamed GpuFeature into FeatureSet and updated docs 2011-02-15 13:56:59 +00:00
Alexey Spizhevoy
04709a2793 refactoring of GPU module 2011-02-15 13:25:24 +00:00
Anatoly Baksheev
6b6a63ba38 fixed some warnings
GPU: TargetArchs -> added FEATURE_SET prefix.
2011-02-15 10:54:49 +00:00
Alexey Spizhevoy
725d83b0e5 added init() function into MultiGpuMgr, added samples 2011-02-15 10:03:26 +00:00
Alexey Spizhevoy
5d4913a2ee fixed multi GPU API, added driver_api prefix to multi gpu samples 2011-02-15 09:12:48 +00:00
Vladislav Vinogradov
0821c7ad17 fixed descriptor calculation in SURF_GPU 2011-02-15 08:57:35 +00:00
Vladislav Vinogradov
deac5d972e fixed errors in gpu on old video cards (SURF_GPU, BruteForceMatcher_GPU, min/max, setTo, convertTo)
added assertion after all kernels calls
2011-02-14 15:50:17 +00:00
Alexey Spizhevoy
a42a42858c fixed GPU samples and MultiGpuMgr 2011-02-14 15:09:45 +00:00
Anatoly Baksheev
d7e612cd4b GPU: In strcut _scanElemOp dummy type pass by value 2011-02-14 13:30:00 +00:00
Alexey Spizhevoy
186e46fcca added draft version of MultiGpuMgr (it isn't tested on multi GPU machine yet) 2011-02-14 12:53:59 +00:00
Ethan Rublee
b541ce494d Fixes build for android, mentioned in ticket #873 2011-02-11 02:34:24 +00:00
Alexey Spizhevoy
a6aff1856b removed check disabling GPU face detection under Linux, i've checked -- it works 2011-02-10 13:01:36 +00:00
Vadim Pisarevsky
e06557c4a1 temporarily disabled PyramidUp test (it crashes) 2011-02-09 23:20:44 +00:00
Vadim Pisarevsky
4b7aaf2e48 fixed build errors on Linux + fixed Farneback optical flow sample 2011-02-09 23:10:51 +00:00
Vadim Pisarevsky
b38a11e837 .pyc files should not be in the repository 2011-02-09 22:52:59 +00:00
Vadim Pisarevsky
d9ab1d2b92 fixed build on Windows with MSVC2010 2011-02-09 22:45:45 +00:00
Vadim Pisarevsky
0f1a047ed0 added missing ts internal header 2011-02-09 22:10:50 +00:00
Vadim Pisarevsky
6f44457de8 the combined cxts + gtest 2011-02-09 22:03:01 +00:00
Vadim Pisarevsky
23e83f8fc7 2011-02-09 21:58:31 +00:00
Vadim Pisarevsky
e4b91918b1 the combined cxts + gtest 2011-02-09 21:56:48 +00:00
Vadim Pisarevsky
77529b1fa6 fixed bugs in CartToPolarToCart test 2011-02-09 21:37:33 +00:00
Vadim Pisarevsky
061b49e0b2 reworked nearly all of the OpenCV tests (except for opencv_gpu tests) - they now use the Google Test engine. 2011-02-09 20:55:11 +00:00
Alexey Spizhevoy
63806c9ab9 renamed gpu::DeviceInfo::has into gpu::DeviceInfo::supports 2011-02-09 12:31:05 +00:00
Vladislav Vinogradov
924670d32c fixed block size calculation in SURF_GPU (fasthessian_gpu and nonmaxonly_gpu kernels) 2011-02-09 09:11:11 +00:00
Valentina Kustikova
d03b89f163 Parallel version of Latent SVM. 2011-02-08 07:34:25 +00:00
Anatoly Baksheev
7539b7de65 fixed build under ubuntu, but FS is still disabled 2011-02-07 13:47:10 +00:00
Vladislav Vinogradov
5cd06d6a36 fixed SURF_GPU (fails on empty data)
added test for SURF_GPU and reprojectImageTo3D
2011-02-07 10:12:04 +00:00
Anatoly Baksheev
f42a449df9 fix compilation under win32 with gpu 2011-02-07 09:18:11 +00:00
Ilya Lysenkov
f8e9f65ea8 Added detection of asymmetric circles' pattern 2011-02-07 07:57:32 +00:00
Ethan Rublee
885cef7660 Minor fix to pop count based hamming distance. Being consistent with type. 2011-02-07 05:10:14 +00:00
Anatoly Baksheev
7b1c265563 fixed some compilation under ubuntu 2011-02-04 18:29:05 +00:00
Anatoly Baksheev
21f0d1e174 removed MS specific from FD code 2011-02-04 15:46:35 +00:00
Anatoly Baksheev
0747f2d863 1) NPP_staging as sources. Binaries removed.
2) NVidia tests for GPU
3) FD sample that uses NVidia's interface.
2011-02-04 15:15:25 +00:00
Maria Dimashova
811f6fbe92 fixed CvBoost 2011-02-04 15:06:26 +00:00
Maria Dimashova
ad896ae640 refactored OpenNI integration 2011-02-04 13:41:10 +00:00
Alexey Spizhevoy
50429d8a3e fixed some warnings and errors under g++ 2011-02-03 14:51:58 +00:00
Alexey Spizhevoy
ea94b43541 added stereo_multi_gpu sample, cosmetic changes in multi_gpu sample 2011-02-03 12:02:39 +00:00
Maria Dimashova
ed77955635 moved an include dirs setting to the root cmake file 2011-02-03 09:55:17 +00:00
Maria Dimashova
8d36926271 moved flannIndex to protected section again 2011-02-02 15:47:08 +00:00
Alexey Spizhevoy
557dd39f03 fixed gpu::sum* on CC1.0, updated some tests 2011-02-02 07:23:55 +00:00
Maria Dimashova
3ae5a314e3 moved flannIndex to public section (temporarily) 2011-02-01 17:38:11 +00:00
Alexey Spizhevoy
e303b0dd62 added CUDA_ARCH_FEATUERS define (for correct handling of BIN(PTX) cases) 2011-02-01 12:28:39 +00:00
Alexey Spizhevoy
16e74ab306 added buffered version of norm, updated performance sample and docs 2011-02-01 10:46:19 +00:00
Alexey Spizhevoy
3795142604 implemented gpu::norm via absSum, sqrSum, and minMax (removed norm_diff call), added support of other data types 2011-02-01 10:23:10 +00:00
Maria Dimashova
0e8bc8c71b changed border type to float 2011-01-31 17:10:47 +00:00
Maria Dimashova
c562d79121 changed border type to float 2011-01-31 16:45:12 +00:00
Maria Dimashova
fd1f644e39 fixed #772 (added empty implementation of SIFT class methods throwing exception if ARM) 2011-01-31 16:23:26 +00:00
Maria Dimashova
40f0b1c009 fixed #841 2011-01-31 15:16:40 +00:00
Maria Dimashova
79d8d50cbe forgot to commit in the last time 2011-01-31 14:48:15 +00:00
Alexey Spizhevoy
ae529f4bc6 added absSum function 2011-01-31 14:37:03 +00:00
Maria Dimashova
9b4c682623 added empty() method to common features2d classes; fixed #831 2011-01-31 14:18:50 +00:00
Alexey Spizhevoy
fa446e7e35 removed linear_filters_beta.cu as its functionality was moved into filters.cu 2011-01-31 13:31:59 +00:00
Vladislav Vinogradov
8274ed22e4 fixed gpu tests (BruteForceMatcher_GPU, divide, phase, cartToPolar, async)
minor code refactoring
2011-01-31 13:20:52 +00:00
Alexey Spizhevoy
7a29d96cf4 added buffered version of gpu::integral function and updated performance test (it still works too slow) 2011-01-31 10:42:33 +00:00
Maria Dimashova
1748f65f54 fixed ticket #823 2011-01-31 09:51:17 +00:00
Maria Dimashova
152fefe854 minor changes 2011-01-31 08:24:30 +00:00
Alexey Spizhevoy
0af5356dbc updated code in case of the compilation without CUDA 2011-01-28 12:30:08 +00:00
Alexey Spizhevoy
575fd1fe4c reafactoring: replaced query device props functions with the DeviceInfo class 2011-01-28 11:59:26 +00:00
Alexey Spizhevoy
65b9f3bc10 fixed TargetArchs implementation in case when HAVE_CUDA=false, added initial structure for multi_gpu sample 2011-01-27 12:17:56 +00:00
Alexey Spizhevoy
891e2ff310 replaced has* methods in the GPU module with the TargetArchs monostate 2011-01-27 10:06:38 +00:00
Alexey Spizhevoy
13a6d0b92a fixed parsing GPU archs in BIN(PTX) format 2011-01-27 08:26:10 +00:00
Maria Dimashova
d70d2edc9f changed returned value of unsupported property 2011-01-27 07:33:34 +00:00
Vladislav Vinogradov
eda8416358 fixed BruteForceMatcher_GPU (fails if input data is empty)
updated BruteForceMatcher_GPU test
2011-01-26 15:58:47 +00:00
Maria Dimashova
508aaa41f8 added ability to get and set some Kinect params 2011-01-26 10:38:31 +00:00
James Bowman
6b4047eb46 #586: exceptions on invalid element access 2011-01-25 01:33:48 +00:00
James Bowman
3a53d8667a #489, leaking cvarrmat test and fix 2011-01-25 01:05:12 +00:00
Maria Dimashova
68ed806be0 replaced own point cloud computing by OpenNI ConvertProjectiveToRealWorld() 2011-01-24 17:09:45 +00:00
Ethan Rublee
a47b6c23f5 revert the hamming distance to use unsigned long, on 64bit machines, using size_t
with __build_popcountl doesn't return correct number of bits. the ll version should work, but for simplicity,
locking it down to long for now.  TODO add a unit test for the Hamming distance.
2011-01-24 16:59:14 +00:00
Alexey Spizhevoy
310c483da8 added first version of gpu performance tests 2011-01-24 10:33:01 +00:00
Vladislav Vinogradov
811ba31897 added synchronization after NPP calls 2011-01-24 10:32:57 +00:00
Vladislav Vinogradov
8abdb3721f added gpu threshold. 2011-01-24 10:11:02 +00:00
James Bowman
4c4ff882ad Fix for #791: MatchShapes 2011-01-21 21:55:52 +00:00
Maria Dimashova
3a04d08bf7 added Kinect support (initial version without settings configuration yet) and sample on usage 2011-01-21 17:00:08 +00:00
Maria Dimashova
b63b3df522 minor fixed 2011-01-21 16:07:28 +00:00
Alexey Spizhevoy
055c226392 fixed FindNPP.cmake Apple-aimed part 2011-01-21 12:57:40 +00:00
Alexey Spizhevoy
e51b9021bc forgot to rename namespace 2011-01-21 11:31:45 +00:00
Alexey Spizhevoy
db41449be8 fixed errors under MacOS 2011-01-21 10:53:07 +00:00
Anatoly Baksheev
e3f3de84db warning fixed 2011-01-21 09:00:19 +00:00
Alexey Spizhevoy
01dafce1a1 fixed some bugs in GPU matrix reductions, removed <functional> into precomp.hpp 2011-01-21 07:43:11 +00:00
Alexey Spizhevoy
0da71a01ff fixed some GPU tests failing when compiled for 1.1(no doubles) and run on 1.3(with doubles) 2011-01-20 15:08:48 +00:00
Alexey Spizhevoy
9e48f64149 fixed parsing of CC in gpu module 2011-01-20 14:34:27 +00:00
Alexey Spizhevoy
574b3f94a1 updated gpu initialization functions, added compile-time error on CC 1.0 2011-01-20 14:13:07 +00:00
Alexey Spizhevoy
8779306800 updated main CMakeLists.txt gpu module section, now user can manage binary and intermediate code versions of the gpu module image
added more functions to check version of gpu code in runtime
2011-01-20 09:22:05 +00:00
Ethan Rublee
1e1a139270 fixing bug related to using the hamming distance on descriptors whose length is not divisible by sizeof(size_t). 2011-01-20 02:36:46 +00:00