Vadim Pisarevsky
b204e73d9a
propagated some more fixes from 2.3 branch to the trunk
2011-06-29 22:06:42 +00:00
Vladislav Vinogradov
724a3c1473
added CUDA version info to gpu tests
2011-06-29 12:00:00 +00:00
Vladislav Vinogradov
52bdfbc7fc
added OS info to gpu tests
2011-06-29 11:53:15 +00:00
Vladislav Vinogradov
e8d2dd212c
fixed gpu tests
2011-06-29 11:14:03 +00:00
Vladislav Vinogradov
a4182b5da3
fixed build under linux
2011-06-29 10:57:48 +00:00
Vladislav Vinogradov
d1b4b5f0de
refactored gpu module tests
2011-06-29 10:14:16 +00:00
Ethan Rublee
6259c9ac6a
First pass at name mangling based on version number, to support
...
side by side installs of OpenCV2.3.0 OpenCV2.3.1 OpenCV2.4.x, etc...
2011-06-28 16:02:09 +00:00
Vadim Pisarevsky
49467947ac
propagated some fixes from 2.3 to trunk
2011-06-23 12:00:09 +00:00
Elena Fedotova
5d047af005
Purpose: 2nd review cycle.
2011-06-19 20:28:08 +00:00
Elena Fedotova
a8f1b8be21
Purpose: 2nd review cycle - see ?? .
2011-06-18 20:45:35 +00:00
Elena Fedotova
4ec0287dd3
Purpose: 2nd review cycle - see ?? . wrong syntax format
2011-06-18 20:37:50 +00:00
Elena Fedotova
392b9074f5
Purpose: 2nd review cycle.
2011-06-18 20:19:03 +00:00
Alexander Shishkov
f010539aaf
Fixed MacOS GPU Compilation for i386
2011-06-16 15:02:58 +00:00
Vadim Pisarevsky
8d8ef596c8
introduced new RST/Sphinx domain ocv.
2011-06-16 12:48:23 +00:00
Anatoly Baksheev
74f1162a41
tabs
2011-06-16 10:33:32 +00:00
Vladislav Vinogradov
0d09352fca
fixed gpu::cvtColor
2011-06-15 11:57:08 +00:00
Anatoly Baksheev
117ff43cc3
default cuda target flags changed
...
cuda support is on by default
2011-06-15 08:05:34 +00:00
Anton Obukhov
c6a7432e92
[*] Approach to the bug with integral image calculation on SM_2.0 (Fermi)
2011-06-14 17:34:00 +00:00
Vladislav Vinogradov
e05c488868
minor fix
2011-06-14 11:57:26 +00:00
Vladislav Vinogradov
1c1a61dd37
added __forceinline__ to device functions
...
fixed BFM warning ("cannot tell what pointer points to")
2011-06-14 11:27:32 +00:00
Alexander Shishkov
6ecebb7f66
fixed #768 ticket
...
renamed OPENCV_SOURCE_DIR to OpenCV_SOURCE_DIR
2011-06-14 10:19:56 +00:00
Alexander Shishkov
ca758a9dac
fixed #768 ticket
2011-06-14 10:11:16 +00:00
Vladislav Vinogradov
2e13a4cd52
removed MultiGpuManager from docs
2011-06-14 07:50:54 +00:00
Vladislav Vinogradov
c00a1f63a0
fixed csbp test under linux
2011-06-14 07:44:20 +00:00
Vladislav Vinogradov
d469b31aec
fixed csbp test for CC 1.x
2011-06-14 07:00:00 +00:00
Anatoly Baksheev
8f4c7db3f6
~40 warnings under VS2008
...
HAVE_CONFIG_H -> HAVE_CVCONFIG_H
2011-06-11 17:24:09 +00:00
Anatoly Baksheev
dc8572dc7b
data_mov_utils.hpp
2011-06-11 10:40:55 +00:00
Vladislav Vinogradov
cfb8c8418b
minor fix
2011-06-09 08:29:19 +00:00
Vladislav Vinogradov
26dd71d981
fixed gpu::cvtColor according #5324 changes
2011-06-09 08:26:08 +00:00
Vadim Pisarevsky
20aca7440f
a lot of small corrections to bring down the number of undocumented functions, reported by the script; added em.cpp sample
2011-06-09 01:16:45 +00:00
Vadim Pisarevsky
c7a42e9682
started work on API & doc synchronization (in particular, Mat& => Input/OutputArray in the descriptions)
2011-06-07 22:51:31 +00:00
Anatoly Baksheev
c8544f393b
added begin/and with Thrust iterators for Device classes
2011-06-02 12:38:50 +00:00
Alexey Spizhevoy
5538e206f9
mac worlaround
2011-06-01 13:57:14 +00:00
Vladislav Vinogradov
f906c9b259
added resetDevice function, removed MultiGpuManager
2011-06-01 10:11:27 +00:00
Anatoly Baksheev
e4bbcdac17
minor
2011-06-01 08:01:04 +00:00
Alexander Shishkov
63dc1cdd2c
removed OPENCV_BUILD_SHARED_LIB in favor of BUILD_SHARED_LIBS
...
removed one more OPENCV_BUILD_SHARED_LIB flag
2011-05-31 14:22:25 +00:00
Alexander Shishkov
6aabf72bc5
removed OPENCV_BUILD_SHARED_LIB in favor of BUILD_SHARED_LIBS
2011-05-31 13:17:59 +00:00
Vladislav Vinogradov
926a6bba00
modified according to CUDA 4.0 API updates
2011-05-31 08:31:10 +00:00
Ethan Rublee
76538fbe6b
Making the install and lib, bin directories consistent.
2011-05-30 22:13:32 +00:00
Vladislav Vinogradov
331062360d
fixed bug in SURF_GPU (compute descriptors, tid < 25)
2011-05-25 08:37:46 +00:00
Vladislav Vinogradov
6259520aa1
fixed bug in SURF_GPU (reduce_sum25)
2011-05-25 08:16:17 +00:00
Vladislav Vinogradov
15677d6d28
minor optimization of SURF_GPU (orientation calculation, changed block size to 32x4)
2011-05-24 08:02:39 +00:00
Vladislav Vinogradov
7fbcc1ec05
minor SURF_GPU optimization (descriptor calculation, change block size to 6x6)
2011-05-23 18:40:09 +00:00
Vladislav Vinogradov
ae6d5252ab
minor fix
2011-05-23 08:46:27 +00:00
Vladislav Vinogradov
0b19f915be
minor optimization of SURF_GPU (reduce memory transfers, use structure of arrays instead of array of structures)
2011-05-23 07:59:20 +00:00
Vadim Pisarevsky
f2a337f990
fixed several typos, including the old ones from ticket #854
2011-05-21 20:17:45 +00:00
Vadim Pisarevsky
23768b1826
replaced #include <some_opencv_hdr> with #include "some_opencv_hdr" (ticket #719 )
2011-05-21 18:32:34 +00:00
Alexey Spizhevoy
7d350280c0
compilation under mac
2011-05-18 13:02:27 +00:00
Vladislav Vinogradov
34e2c78cec
minor fix
2011-05-18 07:18:30 +00:00
Vladislav Vinogradov
f3b45af876
GpuMat::setTo optimization (call cudaMemcpy2D if possible)
2011-05-18 06:51:05 +00:00
Anatoly Baksheev
69f28ef65c
solution folder flag disabled by default
2011-05-17 09:40:06 +00:00
Vladislav Vinogradov
0caf2707ee
update gpu docs (SURF and BruteForceMatcher)
2011-05-16 08:54:06 +00:00
Vladislav Vinogradov
f11efdced3
added support of Hamming distance to BruteForceMatcher_GPU
2011-05-16 08:38:27 +00:00
Anatoly Baksheev
429b33de97
minor
2011-05-11 13:51:41 +00:00
Anatoly Baksheev
17e1bcb006
fixed pch for non-windows
2011-05-11 13:50:17 +00:00
Anatoly Baksheev
c49dc37761
[+] added use_folders cmake feature if cmake version is greater then 2.8.0
...
[~] fixed warning in featuers2d under windows (can't generate assignment operator)
2011-05-11 13:37:20 +00:00
Vladislav Vinogradov
6a03be2632
added lightweight class DeviceBuffer to matrix_reductions.cpp
2011-05-11 07:30:46 +00:00
Vladislav Vinogradov
1c9f4e7ca2
fixed gpu::meanStdDev and gpu::norm under CUDA 4.0
...
fixed compilation under Win64
2011-05-10 12:39:12 +00:00
Vladislav Vinogradov
d0a91f8f19
fixed gpu projectPoints and solvePnPRansac tests
2011-05-10 07:37:05 +00:00
Vladislav Vinogradov
58e26313dd
fixed bug in cv::LUT (multi-channel source array and single-channel table)
...
added missing cudaSafeCall
2011-05-10 06:11:03 +00:00
Anatoly Baksheev
1c18e5fef9
fixed ~300 warnings under windows (had to hack gtest a bit)
2011-05-06 21:45:48 +00:00
Alexey Spizhevoy
f6fc807d49
fixed some tests in gpu module
2011-05-05 11:44:47 +00:00
Vladislav Vinogradov
6200f388dd
fixed bug in BruteForceMatcher_GPU::knnMatch (allDist buffer reuse)
2011-05-04 08:53:43 +00:00
Vladislav Vinogradov
c21a783646
added aligned memory allocation to CudaMem (if allocation type is ZERO_COPY)
...
fixed bugs in gpu::cvtColor
2011-05-03 09:09:05 +00:00
Vadim Pisarevsky
aa7d423a6d
fixed typo
2011-04-27 08:24:24 +00:00
Alexey Spizhevoy
ce808af594
fixed failing GPU projectPoints and solvePnPRansac tests
2011-04-27 05:29:02 +00:00
Anton Obukhov
8a54967e0b
[~] Updated GPU module install target to copy NCV.hpp and NPP_staging.hpp to the package include directory
2011-04-25 16:07:48 +00:00
Anton Obukhov
b28c33f5dc
[~] Added nppStSetActiveCUDAstream and nppStGetActiveCUDAstream to the export table
2011-04-25 15:35:33 +00:00
Alexey Spizhevoy
c9894f9655
fixed compile-time bug under Ubuntu
2011-04-25 08:38:54 +00:00
Anton Obukhov
0c325cace3
[~] Minor refactoring, clean-up
...
[+] Added 128-bit transpose
2011-04-24 21:39:08 +00:00
Vadim Pisarevsky
e9a5bbc003
fixed ?? marks; fixed missing highlighting in some of the sections
2011-04-19 11:41:12 +00:00
Vadim Pisarevsky
abeeb40d46
a big patch; use special proxy types (Input/OutputArray, Input/OutputArrayOfArrays) for passing in vectors, matrices etc.
2011-04-17 13:14:45 +00:00
Andrey Kamaev
b906ad3108
Test system included into Android build
2011-04-11 14:47:06 +00:00
Alexey Spizhevoy
1a02877ab7
fixed gpu::downsample and gpu::blendLinear compite-time bugs under Ubuntu
2011-04-11 05:11:23 +00:00
Alexey Spizhevoy
97282d8ff8
added downsample function into gpu module, refactored it a little bit, added guard for CUDA related include in cascadeclassifier_nvidia_api.cpp
2011-04-08 08:04:56 +00:00
Alexey Spizhevoy
6cec5ff552
added blendLinear into gpu module
2011-04-08 05:21:47 +00:00
Anton Obukhov
07d19c2c6f
[~] Refactored, cleaned up, and consolidated the code of GPU examples (cascadeclassifier and cascadeclassifier_nvidia_api)
2011-04-07 12:59:01 +00:00
Anton Obukhov
58476b64a6
[*] Fixed #974 ("GPU CascadeClassifier fails with some training files"): Moved IsNodeLeaf bit from NodeDescriptor to FeatureDescriptor for both left and right nodes, therefore from now on max number of rects in a feature is 31
2011-04-04 11:47:21 +00:00
Anatoly Baksheev
e12b63dde0
beta cmake file for cuda4.0 (requires "cudafe", Mar 24 2011 22:01:27 or latter)
2011-04-04 10:01:55 +00:00
Elena Fedotova
25fc046a7a
Purpose: updated the core chapter
2011-04-03 22:10:32 +00:00
Elena Fedotova
3f2daa1dcf
Purpose: updated the last section of chapter 10
2011-03-31 22:07:17 +00:00
Anatoly Baksheev
a69de4bf26
minor bug in hog (unbind texture)
2011-03-31 11:14:23 +00:00
Anatoly Baksheev
5f56b27616
added ROI support for HOG_GPU
2011-03-31 10:55:39 +00:00
Vadim Pisarevsky
400dbb13db
fixed remaining ??
2011-03-30 12:27:31 +00:00
Anatoly Baksheev
8b8ad17f4a
fixed extra memory allocations.
2011-03-30 11:42:23 +00:00
Elena Fedotova
05173022bb
Purpose: updated the last section of chapter 10
2011-03-29 21:48:36 +00:00
Vadim Pisarevsky
5291b9dfe5
corrected grammar (done by Elena)
2011-03-28 23:16:20 +00:00
Vadim Pisarevsky
fafc2f372c
corrected grammar (done by Elena)
2011-03-28 23:05:42 +00:00
Vladislav Vinogradov
57195e9627
fixed SURF_GPU bug (features count > max dimension of grid)
...
minor gpu docs fixes
2011-03-28 10:34:44 +00:00
Anatoly Baksheev
d0e66f7766
minor
2011-03-28 06:56:37 +00:00
Alexey Spizhevoy
bf034f9927
fixed gpu::meanShiftSegmentation docs
2011-03-25 06:23:21 +00:00
Alexey Spizhevoy
ca1584dd1f
fixed gpu::graphcut preconditions
2011-03-24 12:22:23 +00:00
Alexey Spizhevoy
ad693d7311
fixed gpu module HOG test failing on x64 OS
2011-03-24 12:09:29 +00:00
Vladislav Vinogradov
d888b81052
fixed gpu docs (broken links, missing description, etc)
2011-03-23 10:56:20 +00:00
Vladislav Vinogradov
9342c4b076
added upright parameter to SURF_GPU
2011-03-17 14:15:54 +00:00
Vladislav Vinogradov
fcff126086
fixed some warnings in surf.cu
2011-03-16 07:01:27 +00:00
Vladislav Vinogradov
ca803e12fd
fixed mask calculation in SURF_GPU
2011-03-15 07:06:44 +00:00
Vladislav Vinogradov
d05c6b8b68
fixed surf.cu compilation on CC 2.0
2011-03-14 14:33:10 +00:00
Anatoly Baksheev
9214173c2c
some includes moved to precomp.hpp for gpu module
2011-03-14 09:40:13 +00:00
Vladislav Vinogradov
ed3f491212
updated SURF_GPU docs
2011-03-14 07:04:41 +00:00
Anatoly Baksheev
c3e813517d
minor (fixed log message)
2011-03-11 13:31:40 +00:00
Vladislav Vinogradov
58f6919795
made GPU version of SURF more consistent with CPU one
2011-03-10 13:53:58 +00:00
Alexey Spizhevoy
c067c633f0
added docs for gpu::solvePnPRansac
2011-03-09 08:48:39 +00:00
Vadim Pisarevsky
73f589e8a5
further docs cleanup
2011-03-08 22:22:24 +00:00
Alexey Spizhevoy
23416e3db5
make GPU version of solvePnPRansac more consistent with CPU one
2011-03-07 14:01:18 +00:00
Alexey Spizhevoy
1d62fddd31
updated solvePnpRansac performance test
2011-03-07 13:36:47 +00:00
Jose Luis Blanco
673061fb17
Fixed build errors in MSVC when building without CUDA.
2011-03-06 21:59:04 +00:00
Vadim Pisarevsky
5c3447c125
added pictures for OpenCV 2.x reference manual; fixed some build problems and done some more cleanup work
2011-03-05 21:26:13 +00:00
Vadim Pisarevsky
f025e4739a
some more doc cleanup
2011-03-03 07:29:55 +00:00
Alexey Spizhevoy
4e6572acd9
removed test whether z is negative in gpu::solvePnpRansac (there is no need in this for tests passing)
2011-03-02 09:40:14 +00:00
Alexey Spizhevoy
74c398e6b7
refactored gpu::solvePnpRansac a bit
2011-03-02 08:04:08 +00:00
Alexey Spizhevoy
60e33921e3
added performance sample for solvePnpRansac + refactoring
2011-03-01 09:17:22 +00:00
Alexey Spizhevoy
5e85566477
added distortion coefs support into gpu::solvePnpRansac
2011-03-01 07:44:36 +00:00
Vadim Pisarevsky
4bb893aa9f
the first round of cleaning up the RST docs
2011-02-28 21:26:43 +00:00
Alexey Spizhevoy
eb8c0b8b4b
parallelized hypotheses evaluation cycle in gpu::solvePnpRansac
2011-02-28 14:21:41 +00:00
Alexey Spizhevoy
cae59a7caf
added gpu::solvePnpRansac
2011-02-28 12:44:19 +00:00
Vadim Pisarevsky
24ccbccf63
cleaned RST formatting a bit
2011-02-26 11:05:10 +00:00
Vadim Pisarevsky
7d158f0fa5
OpenCV reference manual (C++ part only for now) is now produced directly from RST, not from TeX.
2011-02-22 20:46:12 +00:00
Vadim Pisarevsky
371aa08006
OpenCV reference manual (C++ part only for now) is now produced directly from RST, not from TeX.
2011-02-22 20:43:26 +00:00
Vladislav Vinogradov
32a2fde8ac
temporarily disabled compute descriptor kernel for new cards (some problems with threads synchronization), old version of kernels is used.
2011-02-22 09:27:42 +00:00
Alexey Spizhevoy
5b3d786e30
added asynchronous versions of transform- and projectPoints into the GPU module, added docs
2011-02-22 07:27:10 +00:00
Anatoly Baksheev
efe16c6f3e
minor refactoring
2011-02-21 16:50:19 +00:00
Alexey Spizhevoy
289af671ee
added projectPoints and transformPoints into GPU module
2011-02-21 10:58:05 +00:00
Alexey Spizhevoy
e3b3982de6
added check into opencv_test_gpu: whether OpenCV was compiled with CUDA or not
2011-02-21 06:46:45 +00:00
Anatoly Baksheev
33f7307e9e
added test data for NVidia's FD tests
2011-02-18 16:39:50 +00:00
Anatoly Baksheev
dda3df8008
enabled nvidia's tests
2011-02-18 12:34:57 +00:00
Anatoly Baksheev
047c7e0fd6
*applied patch from NVidia (nppstTraspose bug)
...
*fixed some warnings
*finished gpu test port to gtest framework
2011-02-18 12:23:18 +00:00
Alexey Spizhevoy
2a8185dd09
forgot to run bitiwise tests
2011-02-18 10:39:18 +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
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
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
Vladislav Vinogradov
54fa600b9e
update docs
...
minor fixes and refactoring of GPU module
2011-02-16 08:31:45 +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
Alexey Spizhevoy
a6aff1856b
removed check disabling GPU face detection under Linux, i've checked -- it works
2011-02-10 13:01:36 +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
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
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
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
Alexey Spizhevoy
557dd39f03
fixed gpu::sum* on CC1.0, updated some tests
2011-02-02 07:23:55 +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
Alexey Spizhevoy
ae529f4bc6
added absSum function
2011-01-31 14:37:03 +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
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
Vladislav Vinogradov
eda8416358
fixed BruteForceMatcher_GPU (fails if input data is empty)
...
updated BruteForceMatcher_GPU test
2011-01-26 15:58:47 +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
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
Alexey Spizhevoy
4b8425dbb8
fixed minor bugs
2011-01-19 13:28:22 +00:00
Alexey Spizhevoy
186b1fc6ef
refactored gpu module
2011-01-19 12:47:34 +00:00
Alexey Spizhevoy
90ae1e3aed
refactored gpu module
2011-01-19 10:54:58 +00:00
Alexey Spizhevoy
1a0d41fb53
added checkPtxVersion into gpu module
2011-01-18 14:52:35 +00:00
Alexey Spizhevoy
cbb132ccb1
added ensureSizeIsEnough into gpu module, updated reduction methods
2011-01-18 12:36:01 +00:00
Alexey Spizhevoy
f3a2656808
added hasPtxFor and isCompatibleWith functions into gpu module, added docs for them
2011-01-18 12:01:28 +00:00
Anatoly Baksheev
cb63046dcf
gpu face detetcion:
...
1) fixed bug with error codes (enum NppStStatus) shift.
2) added some asserts
2011-01-17 11:32:38 +00:00
Alexey Spizhevoy
db852e0b54
updated gpu module docs
2011-01-13 13:55:13 +00:00
Vladislav Vinogradov
349e0ece93
added docs for GPU Filter Engine
2011-01-13 13:48:58 +00:00
Anatoly Baksheev
1a94186195
First version of CascadeClassifier_GPU.
...
Only for VS2008 now.
Sample for it.
new NPP_staging for VS2008 only
2011-01-13 13:04:00 +00:00
Alexey Spizhevoy
4e23f37ff8
added docs for gpu::HOGDescriptor
2011-01-12 13:07:33 +00:00
Alexey Spizhevoy
4dfbf99dd5
cosmetic changes in gpu module, decreased matchTemplate test running time
2011-01-12 09:30:08 +00:00
Alexey Spizhevoy
d091ae5746
removed unnecessary code from gpu::matchTemplate
2011-01-12 06:49:03 +00:00
Alexey Spizhevoy
57f917d6f2
replaced adding constant in normalization with taking max
2011-01-11 10:15:46 +00:00
Alexey Spizhevoy
dc763e0250
updated normalization routine in the matchTemplate to avoid division by zero on black images (ticket #798 ), added test
2011-01-11 09:36:21 +00:00
Alexey Spizhevoy
2f13e4ce58
refactored hog, added camera support into hog_sample
2010-12-29 15:45:01 +00:00
Alexey Spizhevoy
ba32833c3f
added missed include (for MSVC 2010)
2010-12-28 14:57:23 +00:00
Alexey Spizhevoy
be38864dd0
added buffered version of gpu::convolve
2010-12-27 10:18:42 +00:00
Alexey Spizhevoy
1ecb6cf775
simplified gpu::columnSum test, it doesn't fail on Quadro anymore (when seed is 000001af5a11badd) after BFM test, but something definitely wrong with NPP_Staging's transpose
2010-12-27 09:10:22 +00:00
Alexey Spizhevoy
8f0d36b8b6
refactored gpu::dft
2010-12-27 07:35:41 +00:00
Alexey Spizhevoy
86802ec968
minor warning fixed
2010-12-24 13:44:26 +00:00
Alexey Spizhevoy
eaf35a8421
minor refactoring in gpu module
2010-12-24 12:55:43 +00:00
Alexey Spizhevoy
21b081deff
now single row GPU matrix is continuous one, added aux. functions, updated dft and matchTemplates
2010-12-24 09:26:19 +00:00
Alexey Spizhevoy
54fcdf4cae
minor changes in gpu module (comments and warnings)
2010-12-24 07:00:08 +00:00
Alexey Spizhevoy
6702d55711
added support of scaling into gpu::dft, refactored gpu::convolve
2010-12-24 06:48:23 +00:00
Alexey Spizhevoy
783716838d
updated test for gpu::dft, updated dft for handling continous source
2010-12-23 13:00:33 +00:00
Alexey Spizhevoy
52ca0c4bca
fixed bug in gpu::dft
2010-12-23 10:07:37 +00:00
Alexey Spizhevoy
09735fd208
added gpu::dft implemented via CUFFT
2010-12-23 09:24:33 +00:00
Alexey Spizhevoy
68aba9f2fb
added mulSpectrums functions into GPU module
2010-12-22 13:46:06 +00:00
Alexey Spizhevoy
fef06c25b5
moved crossCorr (as NPP_Staging wrapper) into public GPU module part from the internal matchTemplate files
2010-12-22 08:56:16 +00:00
Alexey Spizhevoy
f9bcef9003
moved sqrIntegral (NPP_Staging wrapper) into public GPU module part from matchTemplate.cpp
2010-12-22 08:17:36 +00:00
Alexey Spizhevoy
a6d9cce500
added CUFFT errors handling into GPU module
2010-12-22 08:03:53 +00:00
Vladislav Vinogradov
8190837dd4
fixed some warnings under linux
2010-12-22 07:30:21 +00:00
Vladislav Vinogradov
0cd587ee34
added gpu transpose and integral based on NPP Staging.
...
added mask support to SURF_GPU.
2010-12-21 14:02:09 +00:00
Vladislav Vinogradov
5bfb44f887
fixed compiler error under linux
2010-12-21 08:13:15 +00:00
Vladislav Vinogradov
0e45a637c4
added SURF_GPU.
...
added support of CV_32FC1 type to gpu copyMakeBorder.
2010-12-20 12:49:40 +00:00
Alexey Spizhevoy
df8529377b
refactoring: moved gpu reduction-based functions into separated file
2010-12-20 09:51:25 +00:00
Alexey Spizhevoy
1922e50f19
refactoring: made gpu bitwise operations inline
2010-12-20 09:16:17 +00:00
Alexey Spizhevoy
0465b89e7e
gpu module refactoring: moved per-element operations into separated file
2010-12-20 09:07:19 +00:00
Alexey Spizhevoy
6891a60149
added host code for gpu::matchTemplate (as NPP_staging was integrated)
2010-12-20 08:09:09 +00:00
Alexey Spizhevoy
e62bf3a2ae
updated gpu bitwise operations
2010-12-20 08:06:13 +00:00
Anatoly Baksheev
0f30fe080f
renamed constantspacebp -> stereocsbp line all other algs
...
created element_operations and matrix_reductions files for farther refactoring
2010-12-19 17:20:54 +00:00
Anatoly Baksheev
9dd4a22a5e
temporary added NPP_staging, functionality from the library will be moved to NPP with next release.
2010-12-17 15:41:26 +00:00
Alexey Spizhevoy
7767038ef0
updated other gpu's bitwise operations
2010-12-17 12:48:04 +00:00
Alexey Spizhevoy
5132ce211b
reimplemented gpu::bitwise_not operation, refactored gpu module
2010-12-17 12:22:51 +00:00
Alexey Spizhevoy
1a93412eca
refactored bitwise operations in gpu module
2010-12-17 10:26:57 +00:00
Alexey Spizhevoy
74197c5b14
fixed link time error in gpu module
2010-12-16 08:46:47 +00:00
Alexey Spizhevoy
343c33d73e
added support of CCOEFF_NORMED for multichannel images (8U) into gpu::matchTemplate
2010-12-16 08:10:31 +00:00
Alexey Spizhevoy
640af6623c
added support of multichannel images into gpu::sqrSum
2010-12-15 16:32:56 +00:00
Alexey Spizhevoy
3db5b687f6
added support of multichannel images into gpu::matchTemplate for CCOEFF method
2010-12-15 16:04:10 +00:00
Alexey Spizhevoy
f56d9c340f
added support of remaining image number of channels into gpu::sum
2010-12-15 15:28:35 +00:00
Alexey Spizhevoy
d8a7ff1e00
refactored gpu module, added vec math operators for uint, added support of 2 channel images into gpu::sum (removed support of double)
2010-12-15 15:12:32 +00:00
Alexey Spizhevoy
e5eec31be1
fixed minor bugs in gpu module
2010-12-15 12:10:30 +00:00
Alexey Spizhevoy
68c3018047
added support of multichannel images into gpu::matchTemplate (all methods except CCOEFF based), refactored
2010-12-15 11:22:37 +00:00
Alexey Spizhevoy
e7cf541f5f
fixed bug in matchTemplate when template size is (1,1), refactored
2010-12-14 09:53:17 +00:00
Alexey Spizhevoy
1887b7d2e4
refactored matchTemplate.cu
2010-12-14 08:45:11 +00:00
Alexey Spizhevoy
ce47a37e6e
added CUDA kernel for CV_TM_CCOEFF_NORMED matchTemplate method
2010-12-14 08:00:53 +00:00
Alexey Spizhevoy
b35aa77418
added CUDA kernel for CV_TM_CCOEFF matchTemplate method
2010-12-14 07:42:55 +00:00
Alexey Spizhevoy
39700c5d54
added some gpu::matchTemplate kernels (other parts after NPP Staging integration)
2010-12-13 16:48:34 +00:00
Alexey Spizhevoy
a81b41fb08
fixed some warning under Ubuntu in gpu module
2010-12-13 15:56:29 +00:00
Alexey Spizhevoy
c9f9f38777
added gpu::sqrSum function
2010-12-13 14:34:02 +00:00
Vladislav Vinogradov
b18a3a5f83
fixed errors in StereoBeliefPropogation under linux
2010-12-13 13:52:40 +00:00
Anatoly Baksheev
070d87fb7f
fixed bug with prefilter_xsobel preset.
2010-12-13 13:42:35 +00:00
Alexey Spizhevoy
e193fa1165
fixed minor bug in gpu::sum
2010-12-13 12:50:52 +00:00
Alexey Spizhevoy
3997514b7c
added tests for gpu::sum, it supports all data types, but single channel images only
2010-12-13 12:00:58 +00:00
Vladislav Vinogradov
442cd75c32
fixed compile error under linux
2010-12-13 09:50:32 +00:00
Vladislav Vinogradov
49ec8ba742
fixed bug in gpu filter engine (incorrect buffer type) and in vector's saturate_cast.
...
changed buffer type in linear filters to float.
added support of 1 channel image to linear filters.
added support of BORDER_REFLECT101, BORDER_REPLICATE and BORDER_CONSTANT border type to gpu linear filters.
minor fix in tests.
update comments in gpu.hpp.
2010-12-13 08:43:04 +00:00
Anatoly Baksheev
6c2cce6e28
some files rename
2010-12-11 15:21:11 +00:00
Anatoly Baksheev
ec4d2b6bb9
Fixed serious kernel crash IN StereoBM_GPU for some parameter. Will more rework for the code farther.
2010-12-11 15:07:14 +00:00
Alexey Spizhevoy
79b1eec3d3
minor refactoring of gpu module
2010-12-10 14:02:41 +00:00
Alexey Spizhevoy
9f80317ffa
fixed minor bug in gpu module, added first version of sum
2010-12-10 13:36:00 +00:00
Alexey Spizhevoy
d557c800a7
refactored gpu module
2010-12-10 10:23:32 +00:00
Alexey Spizhevoy
97484089c5
added support of CV_8U & CV_TM_CCORR into gpu::matchTemplate
2010-12-10 08:06:54 +00:00
Alexey Spizhevoy
9801d07a46
added test for gpu:columnSum
2010-12-08 16:51:12 +00:00
Alexey Spizhevoy
fa322bf46f
added gpu::columnSum, fixed compile error (if there is no cuda), refactored
2010-12-08 15:06:10 +00:00
Alexey Spizhevoy
b1c5b9293e
added support of CV_32F & CV_TM_SQDIFF into gpu::matchTemplate
2010-12-08 13:12:12 +00:00
Alexey Spizhevoy
40304721a7
added support of CV_TM_CCORR (via FFT) into gpu::matchTemplate (versions both with block and without blocks)
2010-12-08 13:03:53 +00:00
Vladislav Vinogradov
905e5f1739
added support of 4-channels images to StereoConstantSpaceBP.
...
refactored transpose_gpu, made it non template function.
2010-12-08 07:23:59 +00:00
Vladislav Vinogradov
c18aa438ec
added support of 4 channels images to StereoBeliefPropagation, minor code refactoring.
2010-12-07 10:20:03 +00:00
Alexey Spizhevoy
349a9fac86
fixed compile-time warning under g++
2010-12-07 07:16:13 +00:00
Alexey Spizhevoy
19b434be50
minor refactoring of gpu module
2010-12-07 06:45:54 +00:00
Anatoly Baksheev
652fb1212e
module reorganization: added folder with pure device functions, cuda_shared.hpp renamed to internal_shared.hpp
2010-12-06 16:37:32 +00:00
Vladislav Vinogradov
fadd19b976
added assertion on Compute Capability >= 1.1 to BruteForceMatcher_GPU_base::radiusMatch
2010-12-06 14:51:47 +00:00
Alexey Spizhevoy
50167f6c26
added first version of gpu::matchTemplate, currently it works only with 8UC1 images and SQDIFF method
2010-12-06 14:19:41 +00:00
Vladislav Vinogradov
8891acb67a
added BruteForceMatcher_GPU
2010-12-06 12:06:51 +00:00
Alexey Spizhevoy
77027f6075
refactored border interpolation in gpu module
2010-12-06 09:44:51 +00:00
Vladislav Vinogradov
17d9014373
added per-element min/max to gpu module.
...
fixed compile error in transform.
2010-12-06 08:10:11 +00:00
Anatoly Baksheev
d96c5ebb7d
misprint
2010-12-06 08:03:33 +00:00
Alexey Spizhevoy
6ef4d9b1dd
added sipport of BORDER_REPLICATE mode into gpu::corner* functions
2010-12-06 07:47:26 +00:00
Alexey Spizhevoy
103bbaf09c
updated BrdReflect101 in gpu module
2010-12-03 13:28:49 +00:00
Alexey Spizhevoy
e75ca4b662
replaced global memory reads with texture memory reads in GPU's corner detectors
2010-12-03 13:11:14 +00:00
Alexey Spizhevoy
df48ad76b0
added support of gamama_correction parameter into gpu::HOGDescriptor, updated tests
2010-12-03 11:11:44 +00:00
Alexey Spizhevoy
2a2590bae2
replaced filter (from the nearest to linear) mode when resizing image in gpu::HOGDescriptor
2010-12-03 10:14:01 +00:00
Alexey Spizhevoy
68c41a6c6c
minor fix in gpu's header
2010-12-02 09:29:49 +00:00
Alexey Spizhevoy
ab04a03621
added support of BORDER_REFLECT into gpu::cornerHarris and etc, added support of border extr. int linear filters
2010-12-02 09:07:13 +00:00
Alexey Spizhevoy
d9489bbe0c
fixed bug in gpu::cornerHarris and gpu::cornerMinEigenVal
2010-12-01 10:00:47 +00:00
Vladislav Vinogradov
57f7678db1
added gpu transpose for CV_8UC4, CV_8SC4, CV_16SC2, CV_16UC2, CV_32SC1 and CV_32FC1 types
2010-12-01 07:00:50 +00:00
Alexey Spizhevoy
d0dfae5143
fixed bug in ms segmentation
2010-11-30 13:02:24 +00:00
Alexey Spizhevoy
32a9b63d2f
added better threads configuration estimator for the minMax, minMaxLoc, countNonZero functions in gpu module
2010-11-30 12:27:21 +00:00
Alexey Spizhevoy
493d7a6e45
added min eigen val based corner detector into gpu module
2010-11-30 08:44:04 +00:00
Alexey Spizhevoy
9adfc2cadc
added Harris corner detector into gpu module
2010-11-30 08:04:37 +00:00
Alexey Spizhevoy
b260382840
added masks support into gpu::minMaxLoc
2010-11-29 13:56:43 +00:00
Alexey Spizhevoy
678f392569
added is_signed into numeric_limits_gpu, fixed incorrect min max finding for floating values
2010-11-29 13:21:43 +00:00
Alexey Spizhevoy
6ad158dbe1
refactored gpu::minMaxLoc
2010-11-29 10:44:25 +00:00
Alexey Spizhevoy
437ac1a2f1
added mask support into gpu::minMax
2010-11-29 10:29:21 +00:00
Alexey Spizhevoy
8c48f3be9d
moved GPU's global counter reset from caller to the kernel's end
2010-11-29 08:09:54 +00:00
Alexey Spizhevoy
3da253a259
replaced one-threads tail reduce with one-block tail reduce in functions gpu: minMax, minMaxLoc
2010-11-29 08:04:39 +00:00
Alexey Spizhevoy
1066bd2fa2
removed double support (gpu: minMax, minMaxLoc, countNonZero) for CC which doesn't have native double support
2010-11-29 07:31:09 +00:00
Alexey Spizhevoy
72f020a8f3
added gpu::count_non_zero version for CC1.0, refactored gpu module a little
2010-11-29 07:18:11 +00:00
Anatoly Baksheev
4c6ffc7c77
temporary removed VERSION_VAR (because this requires cmake 2.8.3)
2010-11-28 11:12:35 +00:00
Anatoly Baksheev
fbdb4f4ab5
1) gpu test refactoring.
...
2) fixed gpu bm test fail
3) CMAKE_MINIMUM_REQUIRED(VERSION 2.8.3)
2010-11-26 17:24:12 +00:00
Alexey Spizhevoy
7e2cc1be1b
added first version of gpu::countNonZero for all data types, it doesn't support compute capability 1.0 yet, also fixed some little bugs
2010-11-26 17:12:48 +00:00
Anatoly Baksheev
e470246ab5
restored version check (VERSION_VAR)
2010-11-26 15:51:43 +00:00
Martin Baeum
a7d979fb7e
remove spurious VERSION_VAR ( fixes #711 )
2010-11-26 13:19:42 +00:00
Alexey Spizhevoy
bdaad9e1fe
added support of buffers into gpu::minMaxLoc, reduced memory requirements, refactored
2010-11-26 07:50:11 +00:00
Alexey Spizhevoy
9ad7a1c927
fixed compile time errors in gpu module (if one compiles without CUDA)
2010-11-25 11:52:15 +00:00
Anatoly Baksheev
36ebf4ef0d
cuda+npp version check at configure time.
2010-11-25 10:42:09 +00:00
Alexey Spizhevoy
fa5422a2ad
added buf support into gpu::minMax
2010-11-25 10:19:06 +00:00
Alexey Spizhevoy
48183f10e7
optimized memory requirements for gpu::minMax's buffers, added support of compute capability 1.0
2010-11-25 09:57:02 +00:00
Anatoly Baksheev
7c77787c84
npp version check
2010-11-25 08:42:12 +00:00
Anatoly Baksheev
d6686240d5
added version detection for NPP
2010-11-24 18:44:11 +00:00
Alexey Spizhevoy
27690e3b6e
added minMaxLoc function into gpu module
2010-11-24 11:40:14 +00:00
Anatoly Baksheev
0e43976259
1) more convenient naming for samples gpu
...
2) added mask support to device 'transform' function
3) sample hog gpu: waitKey(1) -> waitKey(3), in other case image is not displayed.
2010-11-24 09:43:17 +00:00
Alexey Spizhevoy
68a7fc9868
optimized gpu::minMax a little
2010-11-24 09:19:11 +00:00
Alexey Spizhevoy
13d18d65a8
added support of multichannel matrices in gpu::minMax
2010-11-24 09:03:37 +00:00
Alexey Spizhevoy
282e01cb4a
added support of all data types into gpu::minMax
2010-11-24 08:55:52 +00:00
Vladislav Vinogradov
3c0cc087d6
fixed bug in StereoConstantSpaceBP - missing load max_data_term to constant memory
2010-11-24 08:39:52 +00:00
Vladislav Vinogradov
dd2fe821c2
deleted NPP_VERSION and NPP_HAVE_COMPLEX_TYPE macros, because last NPP supports complex types under linux
2010-11-23 08:21:26 +00:00
Alexey Spizhevoy
d7c0c72b75
fixed scaling in gpu HOG
2010-11-22 14:13:23 +00:00
Alexey Spizhevoy
732bd621bb
added masks support for bitwise operations on GPU
2010-11-22 09:39:34 +00:00
Andrey Morozov
680dc71bc5
fixed compilation error and warnings under ubuntu
2010-11-20 14:41:28 +00:00
Alexey Spizhevoy
6a9d022a9f
added support of different descriptor formats into gpu HOGDescriptor
2010-11-19 12:06:11 +00:00
Alexey Spizhevoy
faf4d0bc74
added bitwise operations into gpu module
2010-11-19 10:19:35 +00:00
Alexey Spizhevoy
11c0c5bf85
added getDescriptors support into gpu HOG, also added commented test for this feature
2010-11-18 09:22:23 +00:00
Alexey Spizhevoy
8adc62016b
added getDescriptors function (draft version)
2010-11-17 17:10:23 +00:00
Alexey Spizhevoy
2d01558479
added different win_stride values feature into gpu HOG, refactored gpu HOG sample
2010-11-17 14:11:30 +00:00
Alexey Spizhevoy
4568d702ff
added getPeopleDetector_48x96 into gpu HOG
2010-11-17 08:31:24 +00:00
Anatoly Baksheev
edff674105
added default detector for winSize(64,128) for hog on gpu
2010-11-16 12:33:19 +00:00
Vladislav Vinogradov
be54f1237a
minor fix
2010-11-16 07:40:37 +00:00
Alexey Spizhevoy
cc6a87fc9d
fixed big in gpu::HOGDescriptor, added property into CPU's HOGDescriptor
2010-11-16 07:40:32 +00:00
Ethan Rublee
29b94ceef9
Fixing a small error in compilation for gpu - anatoly should review.
2010-11-15 17:42:34 +00:00
Anatoly Baksheev
f2df784830
fixed error reporting in GPU module (exceptions in destructors, etc)
2010-11-15 16:22:52 +00:00
Alexey Spizhevoy
fada88e100
fixed some bugs, added tests for gpu::HOGDescriptor
2010-11-15 12:51:30 +00:00
Alexey Spizhevoy
13134595fd
added HOGDescriptor on GPU
2010-11-15 11:01:56 +00:00
Anatoly Baksheev
ac5298815a
some device layer utility functions
2010-11-15 08:42:10 +00:00
Vladislav Vinogradov
19544b3d54
fixed gpu linear filters
2010-11-15 07:57:30 +00:00
Anatoly Baksheev
c8e93da01d
minor (compilation fix)
2010-11-11 12:05:48 +00:00
Anatoly Baksheev
55a722fc9d
some utility for GPU module internal purposes
2010-11-10 17:05:36 +00:00
Vladislav Vinogradov
863d61e9eb
fix gpu module compilation under linux
2010-11-08 09:55:10 +00:00
Anatoly Baksheev
c923b258f4
fixed compilation under gcc
2010-11-01 15:13:17 +00:00
Anatoly Baksheev
7f56e5b2dd
compilation errors
2010-11-01 12:49:45 +00:00
Anatoly Baksheev
4ea811c568
Fixed a minor bug in PtrElemStep::ptr
2010-11-01 12:48:47 +00:00
Anatoly Baksheev
cac2e9bc80
compilation errors under GCC
2010-10-31 17:15:09 +00:00
Anatoly Baksheev
d661b8e3e2
added PtrStep PtrElemStep structures. Refactored name spaces,
2010-10-31 13:23:25 +00:00
Vladislav Vinogradov
80c1aecfe5
moved gpu::cvtColor from imgproc_gpu.cpp to color.cpp
2010-10-26 09:37:24 +00:00
Vladislav Vinogradov
2c39f0ee33
fix unnecessary memory allocation in gpu::magnitude and gpu::phase
2010-10-26 05:44:50 +00:00
Anatoly Baksheev
5ac4b23b7c
added PtrStep structure to pass in __global__ functions
2010-10-22 16:57:22 +00:00
Vladislav Vinogradov
7d0feef775
added vecmath to gpu module.
2010-10-20 15:17:51 +00:00
Vladislav Vinogradov
b08f60828b
added to gpu module linear filters for int and float source types.
...
refactored gpu module.
2010-10-20 08:50:14 +00:00
Alexey Spizhevoy
fa245e5f21
refactored mssegmentation.cpp
2010-10-18 12:47:15 +00:00
Vladislav Vinogradov
e12e4798e0
added gpu version of magnitude, magnitudeSqr, phase, cartToPolar, polarToCart
2010-10-18 11:12:14 +00:00
Alexey Spizhevoy
6b5df89532
refactored mean shift segmentation a little
2010-10-13 14:08:18 +00:00
Vladislav Vinogradov
4124633359
added magnitudeSqr and rectStdDev to gpu module.
...
added supports of CV_32SC2 source to gpu scalar arithm and float source to gpu::histRange.
minor fix of gpu tests.
2010-10-13 12:52:39 +00:00
Vladislav Vinogradov
f4075e0168
added gpu::cvtColor for RGB <-> HSV and RGB <-> HLS
2010-10-13 09:42:29 +00:00
Alexey Spizhevoy
970dd7f593
implemented mean shift segmentation with elimination of small segments, added tests
2010-10-13 09:10:24 +00:00
Vladislav Vinogradov
f6895e7738
fixed gpu filters (deriv filter and source roi calculation)
2010-10-12 08:33:06 +00:00
Vladislav Vinogradov
ced60b7498
added histograms calculation to gpu module
2010-10-12 06:37:44 +00:00
Anatoly Baksheev
c09254cf67
fixed some warning under VS2008
2010-10-11 15:46:12 +00:00
Alexey Spizhevoy
adf7cc20b7
changed mean shift procedure a little
2010-10-11 14:25:30 +00:00
Vladislav Vinogradov
3e840cb798
added min/max filters to gpu module.
...
added supports of 4-channels image to gpu::minMax and gpu::cvtColor for RGB <-> YCrCB, RGB <-> YUV and RGB <-> XYZ color conversion.
2010-10-11 08:54:28 +00:00
Vladislav Vinogradov
66df8ef06c
added Filter Engine to gpu module.
...
disabled gpu::sum, gpu::minMax, gpu:Canny until fix crash.
2010-10-06 14:32:13 +00:00
Anatoly Baksheev
7a3b0785d7
fixed gpu module build system (in case when WITH_CUDA is set, but CUDA Toolkit is not found)
2010-10-06 12:45:31 +00:00
Vladislav Vinogradov
49fa536c62
added Sobel, GaussianBlur, Canny to gpu module.
...
minor fix of matrix_operations.cpp.
2010-10-04 11:42:40 +00:00
Vladislav Vinogradov
fb7aa43feb
added gpu 1d window sum, convertTo, based on NPP.
...
added RGB <-> XYZ color conversion.
gpu morphology minor fix.
2010-09-29 09:07:53 +00:00
Alexey Spizhevoy
12b7f3a0d0
fixed some compile-time problems (under Ubuntu)
2010-09-28 13:11:21 +00:00
Vladislav Vinogradov
bf25758159
fixed gpu morphology: anchor and iterations
2010-09-28 09:23:43 +00:00
Vladislav Vinogradov
2985c713e6
fixed short and float reading/writing in gpu::cvtColor
2010-09-28 09:10:25 +00:00
Anatoly Baksheev
60e572bbcf
fixed gpu morphology: now kernel in gpu is passed to npp functions.
...
warnings in cxcore
added graphcut wrapper
2010-09-28 08:45:44 +00:00
Vladislav Vinogradov
5d95cd75f2
added gpu::cvtColor for RGB <-> YCrCb and RGB <-> YUV
2010-09-28 07:05:21 +00:00
Vladislav Vinogradov
5285722c1c
added gpu::magnitude for complex source vector (two channels float).
...
added gpu::cvtColor for BGR5x5 <-> BGR and BGR5x5 <-> Gray.
2010-09-27 14:10:19 +00:00
Alexey Spizhevoy
992485c532
updated StereoBP docs & comments
2010-09-27 13:30:50 +00:00
Vladislav Vinogradov
51d5959aca
added gpu add, subtract, multiply, divide, absdiff with Scalar.
...
added gpu exp, log, magnitude, based on NPP.
updated setTo with new NPP functions.
minor fix in tests and comments.
2010-09-27 12:44:57 +00:00
Alexey Spizhevoy
037002d3c1
added copyright for split_merge files
2010-09-27 12:27:27 +00:00
Vladislav Vinogradov
e1e5047b6e
added gpu::LUT for CV_8UC3 type, added gpu::cvtColor for BGR2BGR5x5, minor fix in tests.
2010-09-27 09:37:43 +00:00
Anatoly Baksheev
1b8c00000c
added black list for gpu tests
2010-09-27 06:57:25 +00:00
Anatoly Baksheev
a5910ac068
modified according to NPP for CUDA 3.2 API updates.
2010-09-24 16:41:34 +00:00
Anatoly Baksheev
a8161b7888
FindNPP.cmake: added support of NPP 3.2
2010-09-24 15:34:36 +00:00
Anatoly Baksheev
782f25a5a0
search in env var CUDA_NPP_ROOT
2010-09-24 12:01:26 +00:00
Vladislav Vinogradov
4100cbd997
added gpu version of LUT, integral, boxFilter and cvtColor (RGB <-> YCrCb), based on NPP.
...
minor refactoring of GPU module and GPU tests, split arithm and imgproc parts.
2010-09-22 10:58:01 +00:00
Alexey Spizhevoy
b2cdb7fa39
implemented cv::gpu::merge and cv::gpu::split functions
2010-09-20 13:20:25 +00:00
Vladislav Vinogradov
a2f8817df1
minor refactoring of GPU module and GPU tests
...
added gpu compare version for CMP_NE operation
2010-09-20 10:34:46 +00:00
Anatoly Baksheev
4ffb519cdd
GPU module: minor interface changes
2010-09-17 17:18:41 +00:00
Anatoly Baksheev
1387bfcde0
added GPU implementation of morphology functions (using NPP) and tests for it.
...
added npp_error function
added check_and_treat_gpu_exception function for tests_gpu
2010-09-17 15:28:59 +00:00
Vladislav Vinogradov
b803c24345
added nppSafeCall
2010-09-15 14:34:41 +00:00
Vladislav Vinogradov
b181d78ca5
Added implementation and test for the GPU version of warpAffine, warpPerspective, rotate, based on NPP.
...
Renamed copyConstBorder to copyMakeBorder.
Fixed warnings when HAVE_CUDA is not defined.
2010-09-15 12:47:59 +00:00
Vladislav Vinogradov
b5c92a7dc0
Added implementation and test for the GPU version of flip, resize, sum, minMax, copyConstBorder, setTo, based on NPP.
2010-09-15 08:26:18 +00:00
Anatoly Baksheev
b5b00d9ad4
minor (unset NPP library variables if not found)
2010-09-14 08:58:39 +00:00
Vladislav Vinogradov
37d39bd9de
Added implementation and test for the GPU version of subtract, multiply, divide, transpose, absdiff, threshold, compare, meanStdDev, norm, based on NPP.
2010-09-13 14:30:09 +00:00
Andrey Morozov
88a7a8f567
fixed build npp for linux
2010-09-13 07:40:34 +00:00
Anatoly Baksheev
74c4b5a5a9
Added compilation with NPP to GPU module(FindNPP script). Tested only on win32, but it does not influence on OpenCV compilation if WITH_CUDA flag unset.
2010-09-12 15:17:37 +00:00
Kirill Kornyakov
8e38063965
gpu::add now supports 8UC4 and 32FC1
2010-09-10 15:04:54 +00:00
Andrey Morozov
bbc2015014
created build infrastructure for NPP linking in CMake.
2010-09-10 11:02:52 +00:00
Kirill Kornyakov
01eac6d3e3
Added initial implementation and test for the GPU version of add, based on NPP. Need to implement for other depths. Also waiting NPP at CMake.
2010-09-09 15:34:16 +00:00
Andrey Morozov
1feb5b4d02
added async version of postfilter_textureness and prefilter_xsobel, modified async test and added test for async version of stereobm
2010-09-08 15:13:23 +00:00
Kirill Kornyakov
6960e1544d
GPU module update: _GPU suffix removed, some namespaces renamed, minor refactorings.
2010-09-06 14:27:23 +00:00
Kirill Kornyakov
ec7e937481
meanShiftFiltering_GPU output parameters changed to CV_8UC4. This is a start for moving from 3 channel to C4 images within GPU module.
2010-09-03 14:32:12 +00:00
Anatoly Baksheev
e65234b8be
minor compilation fix
2010-08-31 08:42:36 +00:00
Maria Dimashova
05d702b139
fixed compile error when HAVE_CUDA is not defined
2010-08-31 07:23:03 +00:00
Andrey Morozov
fea66d9384
fixed cvtColorGPU on linux
2010-08-30 15:26:24 +00:00
Anatoly Baksheev
2a0909acfd
fixed bugs in STEREOBM (added syncs and volatiles, prevent reading from uninitialized memory)
2010-08-30 14:17:53 +00:00
Vladislav Vinogradov
0a73af8e22
added cvtColor on gpu (supports conversion between RGB, BGR and GRAY)
2010-08-30 13:41:26 +00:00
Andrey Morozov
7357852434
added test stereo_bm and added "volatile" in constantspacebp
2010-08-30 12:30:08 +00:00
Vladislav Vinogradov
34135a85f3
fixed 3 bytes reading/writing in remap
2010-08-26 12:30:41 +00:00
Vladislav Vinogradov
304caab746
added remap version for 3-channels input images
2010-08-26 09:19:47 +00:00
Andrey Morozov
6bea9f5ec4
minor fix for windows
2010-08-25 15:00:17 +00:00
Anatoly Baksheev
33bd1da589
compilation errors under win32
2010-08-25 14:39:34 +00:00
Andrey Morozov
199ffc632d
added flags OpenCV_COMPUTE_CAPABILITIES, which stores the version compute capability from which it is compiled opencv
...
now use opencv with cuda in your application in the such way : set(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} ${OpenCV_COMPUTE_CAPABILITIES})
2010-08-25 12:49:17 +00:00
Andrey Morozov
096080de70
added methods estimateRecopmmendedParams for StereoBP and StereoCSBP
2010-08-25 07:27:17 +00:00
Vladislav Vinogradov
1febf345bf
renamed colorizeDisp to drawColorDisp, added acync version of drawColorDisp and reprojectImageTo3D_GPU.
2010-08-25 06:30:11 +00:00
Vladislav Vinogradov
4104c3fd0b
fixed bug in StereoBeliefPropagation with user allocated disparity
2010-08-24 09:36:25 +00:00
Anatoly Baksheev
eee3a35133
uploadConstant function for gpu
2010-08-24 09:15:45 +00:00
Vladislav Vinogradov
ec4ce050f9
added reprojectImageTo3D_GPU
2010-08-23 14:19:22 +00:00
Vladislav Vinogradov
6cafec8861
added colorizeDisp, fixed DisparityBilateralFilter
2010-08-20 06:47:11 +00:00
Vladislav Vinogradov
e693f4b408
fixed bug in DisparityBilateralFilter
2010-08-19 15:29:56 +00:00
Vladislav Vinogradov
1f04ea477f
added DisparityBilateralFilter to gpu module
2010-08-19 08:44:06 +00:00
Anatoly Baksheev
97d17d8ad1
fixed warnings
...
added comments in gpu.hpp
2010-08-18 17:13:01 +00:00
Andrey Morozov
aaa8678cff
fixed some warnings
2010-08-18 13:47:10 +00:00
Vladislav Vinogradov
fe8b95ed80
fixed get_first_k_initial_global
2010-08-18 06:12:00 +00:00
Andrey Morozov
28030952fa
added get_first_k_initial_global_init_global_cost in gpu::SCBP
2010-08-17 15:53:00 +00:00
Anatoly Baksheev
9a669b1ceb
fixed bugs in page locked memory allocation
...
avoid extra gpu memory allocation in BP and CSBP
2010-08-17 10:39:18 +00:00
Vladislav Vinogradov
9ddb373614
added version of StereoBeliefPropagation::operator() for user specified data term
2010-08-16 14:47:17 +00:00
Vladislav Vinogradov
a3f3de3391
fixed problem with parameters in constant space belief propagation with short type of messages
2010-08-16 09:23:15 +00:00
Andrey Morozov
1ac097ce57
fixed build without cuda
2010-08-16 08:49:34 +00:00
Andrey Morozov
001bbfb4f9
fixed build without cuda
2010-08-16 08:47:29 +00:00
Anatoly Baksheev
4c4871e34d
GCC warning: new line at the end of file
2010-08-16 08:47:06 +00:00
Andrey Morozov
79e1c6f188
fixed build without cuda
2010-08-16 08:30:23 +00:00
Anatoly Baksheev
ef9a9d43a4
a lot of refactoring
2010-08-13 16:50:07 +00:00
Andrey Morozov
35ebeb21bd
added implement MatPL with serocopy and writecombited
2010-08-13 14:52:50 +00:00
Anatoly Baksheev
024283ceae
warning level switched to W3 fpr gpu module
2010-08-13 12:53:34 +00:00
Anatoly Baksheev
77ce659154
2010-08-13 12:51:55 +00:00
Vladislav Vinogradov
22a8dd379e
minor fix
2010-08-13 11:43:34 +00:00
Vladislav Vinogradov
6062fad7d8
added minimum disparity threshold parameter to StereoConstantSpaceBP
2010-08-13 11:17:51 +00:00
Vladislav Vinogradov
26712fad72
gpu::StereoConstantSpaceBP:
...
fixed some bugs in init_data_cost on first level (added non-reduction version for first level)
optimized compute_data_cost like init_data_cost (used reduction scheme)
avoid temp matrix
2010-08-13 08:30:06 +00:00
Vladislav Vinogradov
906a590a41
minor fix
2010-08-12 13:47:53 +00:00
Vladislav Vinogradov
ee104c27d8
added gpu implementation of constant space belief propagation stereo matching.
...
some refactoring of StereoBeliefPropagation.
2010-08-12 12:15:37 +00:00
Andrey Morozov
53057afcb8
minor fix
2010-08-12 10:59:51 +00:00
Andrey Morozov
b5e3cb0f9b
minor fix
2010-08-12 08:06:17 +00:00
Andrey Morozov
c27397dba1
minor fix
2010-08-12 07:57:53 +00:00
Andrey Morozov
789b02ad76
added choise in compute capability
2010-08-11 15:52:55 +00:00
Anatoly Baksheev
2a385be0ef
meanShiftFilteringGPU: performance and bug with type conversions
2010-08-10 12:18:47 +00:00
Anatoly Baksheev
d1fc3e6b5a
cv::gpu::CudaStream -> cv::gpu::Stream
...
some refactoring
added gpu module to compilation
2010-08-10 09:44:50 +00:00
Maria Dimashova
a2950d5d44
fixed texture binding and warning on linux
2010-08-09 11:12:58 +00:00
Anatoly Baksheev
9ee159462d
meanShiftFiltering added (by masha)
...
get free memory function
2010-08-06 17:02:06 +00:00
Vladislav Vinogradov
34565c281a
added support of 3 channels images to StereoBeliefPropagation_GPU
2010-08-02 14:26:07 +00:00
Andrey Morozov
6da2573b77
minor fix
2010-08-02 13:56:04 +00:00
Andrey Morozov
8c77e5faad
optimized gpumat::setTo(), get rid of division operation
2010-08-02 13:10:21 +00:00
Vladislav Vinogradov
788ac96f8b
added optimized belief propagation implementation (used short for messages)
2010-08-02 11:10:29 +00:00
Andrey Morozov
97254a7b45
minor fix
2010-07-29 10:28:10 +00:00
Anatoly Baksheev
9ac1741555
speckle filtering added
2010-07-29 08:50:19 +00:00
Vladislav Vinogradov
63fed0f831
changed StereoBeliefPropagation_GPU output disparity default type to CV_32S
2010-07-29 08:47:06 +00:00
Vladislav Vinogradov
84f51332dd
implemented asynchronous call for StereoBeliefPropagation_GPU
2010-07-29 07:20:35 +00:00
Vladislav Vinogradov
5bd128fac8
added gpu belief propagation stereo matching
2010-07-28 14:46:44 +00:00
Anatoly Baksheev
dc69cf3ab4
minor fixes
2010-07-28 13:38:37 +00:00
Andrey Morozov
5a88e8cf61
optimized gpumat::copyTo()
2010-07-27 09:25:46 +00:00
Andrey Morozov
290c967b8f
optimized gpumat::setTo()
2010-07-27 08:56:48 +00:00
Andrey Morozov
12dc52c2e7
implemented asynchronous call for StereoBM()
2010-07-27 08:29:40 +00:00
Vladislav Vinogradov
dc0f313924
implemented saturate_cast on gpu; updated GpuMat::convertTo implementation with saturate_cast; minor fix of convert_to test
2010-07-27 07:05:39 +00:00
Anatoly Baksheev
4999024894
minor
2010-07-26 15:13:19 +00:00
Anatoly Baksheev
5732da9567
fixed bug with loading to constant memory
2010-07-26 15:08:43 +00:00
Anatoly Baksheev
22f5376e82
refactoring and minor code improvements
...
added cuda_shared.hpp header was reorganized in order to speed up compilation
2010-07-26 15:04:56 +00:00
Andrey Morozov
fff2160d1f
implemented asynchronous call for GpuMat::upload() and GpuMat::download(). added test for asynchronous call.
2010-07-26 13:42:39 +00:00
Andrey Morozov
769564c130
implemented asynchronous call for gpumat::setTo(), gpumat::copyTo(), gpumat::converTo()
2010-07-26 11:22:16 +00:00
Anatoly Baksheev
1135bc2495
saturate_cast_gpu.hpp
2010-07-26 08:13:23 +00:00
Anatoly Baksheev
d352db7ec4
imgproc_gpu - minor refactoring
2010-07-23 15:04:16 +00:00
Andrey Morozov
2d36ba2175
minor fix
2010-07-23 14:17:16 +00:00
Vladislav Vinogradov
edd68e588b
Added implementation of remap on GPU. Minor fixes of convertTo. Added opencv_imgproc to gpu_test dependencies.
2010-07-23 07:06:33 +00:00
Anatoly Baksheev
e07d3601e7
-arch=sm_13
2010-07-22 16:06:43 +00:00
Anatoly Baksheev
17f7b12a83
Variable winSize for StereoBP_GPU
...
Fixed StereoBM_GPU kernel crash
Textureness threshold added
2010-07-22 15:32:03 +00:00
Vladislav Vinogradov
26c4859634
reduced code convert_to by using templates, merged with copyTo
2010-07-22 14:50:31 +00:00
Andrey Morozov
a0b1107b3c
added implementation copyTo() with mask and added test for this method
2010-07-22 14:39:54 +00:00
Andrey Morozov
98c8ecf829
modified kernel setto(), added double type, code has been improved
2010-07-22 12:42:42 +00:00
Vladislav Vinogradov
3f5dd5f1cc
added implementation GpuMat::convertTo and merged this with matrix_operations.cpp
2010-07-22 09:31:33 +00:00
Andrey Morozov
7bf29e1488
optimized gpumat::setTo(), ~ 30 speedup
2010-07-22 08:59:23 +00:00
Andrey Morozov
2fe75ea33e
fixed implementation of gpumat::setTo()
2010-07-21 13:35:41 +00:00
Andrey Morozov
f37ac8e4ca
fixed implementation of gpumat::setTo() and improved gputest
2010-07-21 10:43:01 +00:00
Anatoly Baksheev
f31cf6d88d
prefilter_xsobel option added to stereobm_gpu
2010-07-20 13:00:07 +00:00
Anatoly Baksheev
3a481f93ee
EHsc- warning fixed
2010-07-20 11:46:04 +00:00
Anatoly Baksheev
3a3745daac
disabled W4 warnings for GPU module.
2010-07-19 17:35:39 +00:00
Andrey Morozov
2be1c7d13f
fixed implementation gpumat::setTo()
2010-07-19 14:36:23 +00:00
Andrey Morozov
ace7c7e93c
linux compiletion error
2010-07-19 10:49:35 +00:00
Anatoly Baksheev
07825bad1e
compilation with no cuda re factored
2010-07-19 09:31:12 +00:00
Andrey Morozov
20e2dc84b0
added implementation SetTo() with mask
2010-07-19 07:56:27 +00:00
Andrey Morozov
da1526aa49
Added implementation SetTo() without mask
2010-07-17 13:50:30 +00:00
Andrey Morozov
1d93ca00de
Added files for implementation of operations SetTo()
2010-07-17 11:17:29 +00:00
Anatoly Baksheev
b8535d1726
bixed bug in cudaSafeCall
2010-07-15 15:32:17 +00:00
Anatoly Baksheev
55b1e9cbc7
added safe call support in cu files
2010-07-15 14:42:24 +00:00
Anatoly Baksheev
2c84a66ec7
added support to build without cuda.
2010-07-15 13:36:00 +00:00
Andrey Morozov
e1bd5aeadd
fixed problem with building module gpu on linux
2010-07-15 12:24:06 +00:00
Andrey Morozov
c00e9cfa27
fixed problem with compiled on linux
2010-07-15 09:18:39 +00:00
Anatoly Baksheev
c4ef619ac5
minor changes in gpu code (initialization interface)
2010-07-15 09:13:15 +00:00
Anatoly Baksheev
7f6fb6ef97
First gpu code draft. Interface might be significantly changed in future.
...
Simple implementation of StereoBM_GPU.
It is excluded from compilation now.
2010-07-14 15:55:16 +00:00