Commit Graph

761 Commits

Author SHA1 Message Date
Andrey Kamaev
984eb99428 Global CMake reorganization:
[~] Automatically tracked dependencies between modules
 [+] Support for optional module dependencies
 [+] Options to choose modules to build
 [~] Removed hardcoded modules lists from OpenCVConfig.cmake, opencv.pc and OpenCV.mk
 [+] Added COMPONENTS support for FIND_PACKAGE(OpenCV)
 [~] haartraining and traincascade are moved outside of modules folder since they aren't the modules
2012-02-03 11:26:49 +00:00
Alexey Spizhevoy
ada9158521 Fixed the building process for (ubuntu 64bit debug cuda4.1) configuration 2012-02-02 14:06:13 +00:00
Vladislav Vinogradov
f8aba8608d fixed build under CUDA 4.1 2012-01-30 13:15:20 +00:00
Vladislav Vinogradov
bb23288c3d fixed bug in SURF_GPU 2012-01-30 07:59:14 +00:00
Vladislav Vinogradov
d38ca09738 added gpu::printCudaDeviceInfo to all samples 2012-01-30 07:20:09 +00:00
Vladislav Vinogradov
3ec2f7f5f0 fixed gpu::device::transform with non-aligned sources (Ticket #1567) 2012-01-27 13:10:30 +00:00
Vladislav Vinogradov
9304d32b82 disabled unnecessary code (it can't be compiled with VS 2008 Ticket #1561) 2012-01-26 12:52:32 +00:00
Andrey Kamaev
9d5c24cdc8 Updating opencv module definition in cmake (continued) 2012-01-25 09:04:49 +00:00
Vladislav Vinogradov
ddf56fa629 added additional error check 2012-01-25 07:32:35 +00:00
Andrey Kamaev
13f4e70e95 Updating opencv module definition in cmake 2012-01-24 16:55:47 +00:00
Vladislav Vinogradov
5e1808c797 fixed bug in gpu::Canny 2012-01-23 07:41:39 +00:00
Vladislav Vinogradov
1d1da9c5d6 added support of BORDER_REFLECT to gpu::cornerHarris and gpu::cornerMinEigenVal 2012-01-23 07:14:45 +00:00
Vladislav Vinogradov
6c1de21a76 fixed bug in gpu::transformSmart with mask 2012-01-22 13:25:45 +00:00
Vladislav Vinogradov
cdae0743ab fix OpenGL render functions
fix createOpticalFlowNeedleMap
2012-01-18 08:27:08 +00:00
Vladislav Vinogradov
e45d5e8a5f added performance test for createOpticalFlowNeedleMap 2012-01-16 13:51:36 +00:00
Vladislav Vinogradov
6d5171e5b6 fixed gpu docs 2012-01-16 13:10:50 +00:00
Vladislav Vinogradov
a25b027ef7 updated gpu optical_flow sample 2012-01-11 13:05:03 +00:00
Vladislav Vinogradov
4f44d9ea7d added docs for FAST_GPU and ORB_GPU 2012-01-11 07:40:04 +00:00
Vladislav Vinogradov
5860477605 fixed gpu::resize 2012-01-11 06:14:51 +00:00
Vladislav Vinogradov
f0356004bc minor fix 2012-01-11 05:46:32 +00:00
Vladislav Vinogradov
af59a75ffc fixed bug with submatrix in some gpu functions
update gpu tests
2012-01-10 11:11:58 +00:00
Andrey Kamaev
65f5343ed5 Refactored performance tests. TEST_CYCLE macro is renamed to TEST_CYCLE_N; SIMPLE_TEST_CYCLE is renamed to TEST_CYCLE; from now 100 iterations are default for performance tests 2011-12-29 16:46:16 +00:00
Vladislav Vinogradov
457b8d7bff update gpu perf tests 2011-12-28 12:53:08 +00:00
Vladislav Vinogradov
eccfc90b77 bug fix 2011-12-28 07:56:19 +00:00
Vladislav Vinogradov
4fee5ef818 fixed build under linux 2011-12-27 10:30:54 +00:00
Vladislav Vinogradov
5e38cf8042 added FAST_GPU and ORB_GPU classes 2011-12-27 09:33:20 +00:00
Vladislav Vinogradov
e6d820171c added documentation for gpu::BroxOpticalFlow, updated other docs 2011-12-27 08:25:47 +00:00
Vladislav Vinogradov
b398ac7a96 added ImagePyramid class to gpu module 2011-12-27 06:24:31 +00:00
Vladislav Vinogradov
d13a6b74b2 Fixed bug with submatrix in device::transform 2011-12-21 05:59:14 +00:00
Vladislav Vinogradov
677fc3a09f fixed gpu perf tests (out of memory) 2011-12-14 06:39:32 +00:00
Anton Obukhov
ebc3043c86 [*] Fixed two bugs in reduction functor: out of shared memory bounds access and missing volatile on GF100 and further 2011-11-21 17:46:55 +00:00
Vladislav Vinogradov
c2783af781 added OpenGL support to highgui under WIN32 2011-11-21 11:58:52 +00:00
Vladislav Vinogradov
1f3f4599cc fixed gpu performance tests 2011-11-15 07:03:44 +00:00
Vladislav Vinogradov
464b8a570c fixed compilation under linux 2011-11-14 14:57:36 +00:00
Vladislav Vinogradov
2695039a79 moved GpuMat's operations implementation to core module 2011-11-14 14:34:36 +00:00
Vladislav Vinogradov
0f53f2993e removed BEGIN_OPENCV_DEVICE_NAMESPACE macros 2011-11-14 09:02:06 +00:00
Vladislav Vinogradov
d926541311 fixed compilation error 2011-11-14 06:22:42 +00:00
Anton Obukhov
54337fd513 [+] CUDA path for NCVImagePyramid 2011-11-13 20:52:48 +00:00
Vladislav Vinogradov
21f5cc7e6e minor 2011-11-09 14:23:13 +00:00
Vladislav Vinogradov
b873fa818f fixed compilation under linux 2011-11-09 14:05:34 +00:00
Vladislav Vinogradov
8e061ac801 minor fix 2011-11-09 13:33:44 +00:00
Vladislav Vinogradov
fcfa72081e moved GpuMat and DevMem2D to core module, some code refactoring 2011-11-09 13:13:52 +00:00
Vladislav Vinogradov
938b1b67d1 fixed optical flow test for devices with cc >= 2.0 2011-11-07 06:23:22 +00:00
Anton Obukhov
2cb9192604 [*] Fixed #1464
[~] NCVPyramid uses tr1 and thus can be compiled with CL, commented out on linux
[+] Moved reduction functors to NCVAlg
[*] Warnings in NCV
2011-11-06 09:43:17 +00:00
Anton Obukhov
3396a2ec1a [~] Refactored device reduction for better reuse (now with functor semantics) 2011-11-04 13:49:05 +00:00
Anton Obukhov
56531c6161 [*] Fixed #1461 2011-11-04 12:41:54 +00:00
Vladislav Vinogradov
804d9b72f6 minor 2011-10-31 09:41:29 +00:00
Vladislav Vinogradov
09ba133ddf prepared GpuMat for moving to core module 2011-10-31 08:51:00 +00:00
Vladislav Vinogradov
0b4e7d6057 fixed remap under cc < 2.0 2011-10-31 08:50:14 +00:00
Vladislav Vinogradov
daf50f8e0d fixed compilation error 2011-10-31 06:43:00 +00:00
Anton Obukhov
5afb445283 [+] Pixel types via templates
[+] Color conversions stub via pixel types
[+] Pyramid calculation (required for mipmaps in CUDA 4.1)
[~] Changed C strings to C++ throughout NCV
[~] Fixed a couple of bugs in NCV
2011-10-27 10:13:28 +00:00
Vladislav Vinogradov
509730c1cd minor 2011-10-26 12:44:38 +00:00
Alexey Spizhevoy
b74e9c101a Fixed bug in the stitching module (some images appeared at result pano center) 2011-10-24 11:52:36 +00:00
Vladislav Vinogradov
e7502e7641 implemented gpu::gemm via CUBLAS 2011-10-19 13:29:54 +00:00
Vladislav Vinogradov
90ff3dd990 added cublasSafeCall 2011-10-19 11:49:44 +00:00
Vladislav Vinogradov
40ee754e28 added WITH_CUFFT and WITH_CUBLAS flags to cmake scripts
fixed gpu module error reporting
added asynchronous version of some functions
2011-10-19 09:53:22 +00:00
Vladislav Vinogradov
b0536279eb added wrappers for BroxOpticalFlow and interpolateFrames 2011-10-17 13:12:39 +00:00
Vladislav Vinogradov
87f3451ec6 fixed warnings 2011-10-17 06:44:40 +00:00
Alexey Spizhevoy
8cebb0982b Updated optimal DFT size estimation in gpu::convolve() 2011-10-14 09:42:25 +00:00
Anatoly Baksheev
7076dfd7d6 gpu module: refactored devmem2d.hpp (atomic bomb) 2011-10-13 15:14:04 +00:00
Alexey Spizhevoy
916703c6e5 Updated optimal block size estimation in gpu::convolve() 2011-10-13 13:02:41 +00:00
Vladislav Vinogradov
631d4b483a minor fix 2011-10-12 11:36:10 +00:00
Vladislav Vinogradov
8f108b4e7e bug fix 2011-10-12 11:01:11 +00:00
Vladislav Vinogradov
d3c4e90760 new optimized implementation of BruteForceMatcher_GPU (~2-3x faster) 2011-10-12 10:23:03 +00:00
Vadim Pisarevsky
b74116e694 unified norm computing; added generalized Hamming distance 2011-10-11 15:13:53 +00:00
Vladislav Vinogradov
f38596b783 implemented brute force convolve for small kernel sizes 2011-10-10 11:58:47 +00:00
Anatoly Baksheev
ee768d4605 fixed bug in ptr in optflow.cu 2011-10-10 09:37:08 +00:00
Vladislav Vinogradov
ed749c4bfe added missing arithm operations to gpu module 2011-10-10 08:19:11 +00:00
Anatoly Baksheev
f444f9b43e optflow gpu compilation fix under vs2010 2011-10-04 17:37:05 +00:00
Vladislav Vinogradov
d6d7ac9cee fixed tests for BruteForceMatcher_GPU::radiusMatch 2011-10-04 10:03:52 +00:00
Alexey Spizhevoy
8a799aa89a Updated optimal block size estimation for the convolve() function 2011-10-03 14:05:52 +00:00
Vadim Pisarevsky
60ebe2003f fixed multiple warnings on Windows. fixed bug #1368 2011-10-03 11:00:28 +00:00
Anatoly Baksheev
923f771cfc warnings
optical flow gpu cosmetics
2011-10-03 09:26:00 +00:00
Alexey Spizhevoy
dce50b67fc Fixed support of translation in the GPU-based plane warper 2011-10-03 07:42:16 +00:00
Anatoly Baksheev
0fc8fc77c0 eliminated shread_ptr dependency from optical flow gpu. It caused compilation errors. 2011-09-30 11:27:30 +00:00
Anatoly Baksheev
b9ea3ef741 compilation under ubuntu 2011-09-30 09:02:03 +00:00
Anton Obukhov
42c7aece36 [+] Added Brox optical flow (implementation courtesy of Michael Smirnov) 2011-09-29 14:46:39 +00:00
Vladislav Vinogradov
4d3b1a4a02 fixed build for compute capability < 2.0 2011-09-28 16:24:51 +00:00
Vladislav Vinogradov
f536dfa439 fixed build under linux 2011-09-28 12:08:17 +00:00
Vladislav Vinogradov
9da6d78989 optimized gpu filters, added buffered version for different filters 2011-09-28 11:52:26 +00:00
Vladislav Vinogradov
ea4f65b570 implemented optimized version of bf_radius_match for train collection 2011-09-27 06:45:17 +00:00
Vladislav Vinogradov
b119833ad1 implemented optimized version of gpu::bf_radius_match 2011-09-26 11:18:30 +00:00
Vladislav Vinogradov
67a9b79433 added performance tests for gpu::reduce 2011-09-26 08:14:31 +00:00
Alexey Spizhevoy
48dec9c03a Fixed GPU version of multi-band blending in stitching module 2011-09-24 05:58:29 +00:00
Vladislav Vinogradov
8b23c79294 implemented gpu::reduce 2011-09-22 07:08:26 +00:00
Vladislav Vinogradov
0aaaad1ea8 implemented gpu::addWeighted 2011-09-21 08:58:54 +00:00
Vladislav Vinogradov
64119dd924 implemented gpu::copyMakeBorder for all border modes 2011-09-21 07:02:45 +00:00
Vladislav Vinogradov
5ed65979c1 fixed bug in gpu::HOGDescriptor::getBuffer (ticket #1379) 2011-09-20 06:38:40 +00:00
Alexey Spizhevoy
23636433d7 Updated bundle adjustment in stitching module: 1) it minimizes reprojection error now, 2) it minimizes error over focal, aspect, p.p.x, p.p.y parameters. Refactored and updated warpers. 2011-09-16 12:25:23 +00:00
Anatoly Baksheev
ffc5a7b809 minor 2011-09-15 05:51:41 +00:00
Vladislav Vinogradov
be8e31f14d minor gpu module refactoring: split big .cu files, disabled unnecessary template instantiation 2011-09-14 06:23:46 +00:00
Alexey Spizhevoy
a72da12c80 Added fix for 0 found features in stitching matcher 2011-09-13 14:15:18 +00:00
Vladislav Vinogradov
4b46e35287 minor 2011-09-12 15:15:02 +00:00
Vladislav Vinogradov
dac9f69ba4 fixed bug in SURF_GPU (memory access error) 2011-09-12 15:14:02 +00:00
Alexey Spizhevoy
485e71bcc2 Bug in multiply was fixed (by Vlad Vinogradov) 2011-09-12 14:58:56 +00:00
Vladislav Vinogradov
29b9720aab added check if src.size() == dst.size() to gpu::resize 2011-09-12 10:23:20 +00:00
Vladislav Vinogradov
b2079d6de1 implemented gpu::resize for all types 2011-09-12 10:13:14 +00:00
Vladislav Vinogradov
acac27d8fe optimized gpu::multiply 2011-09-12 08:45:56 +00:00
Vladislav Vinogradov
6763bd6d01 added padded performance tests for gpu module 2011-09-12 07:48:09 +00:00
Alexey Spizhevoy
fd5b0c1f18 Reverted some unnecessary changes in GPU module 2011-09-10 12:30:28 +00:00
Alexey Spizhevoy
a7c6b84390 Added TODOs into GPU module 2011-09-10 12:28:03 +00:00
Alexey Spizhevoy
903f835d9f added support of 8UC4*32FC1 multiply into GPU module 2011-09-10 11:56:55 +00:00
Andrey Kamaev
6cb1036e04 Perf tests: method ::perf::TestBase::getDataPath made public static; added base CUDA detection into run.py script 2011-09-08 11:01:45 +00:00
Alexey Spizhevoy
55f38ae8b3 fixed bug in gpu perf. test 2011-09-07 14:01:12 +00:00
Vladislav Vinogradov
8009b5150e added performance tests for gpu module 2011-09-07 13:16:07 +00:00
Vladislav Vinogradov
df9f707ff0 fixed bug in gpu::remap under win32 2011-09-06 13:42:50 +00:00
Vladislav Vinogradov
84022779a1 added bicubic interpolation to gpu::remap 2011-09-06 07:01:23 +00:00
Vladislav Vinogradov
e0c0461787 optimized gpu::remap (use texture memory) 2011-09-05 07:59:59 +00:00
Vladislav Vinogradov
c26b005371 optimized gpu::remap (use texture memory if possible), added stream support to gpu::remap 2011-09-05 07:51:00 +00:00
Vladislav Vinogradov
b2d5839af7 added GpuFeature assertion to gpu::Canny 2011-09-05 06:20:34 +00:00
Vladislav Vinogradov
b371bd68df added assertion for small image sizes to SURF_GPU (ticket #1323) 2011-09-05 06:03:49 +00:00
Vladislav Vinogradov
914ed44e28 fixed CudaMem::createMatHeader (ticket #1353) 2011-09-05 05:45:27 +00:00
Vladislav Vinogradov
ef430882a1 fixed build under linux 2011-09-05 05:40:57 +00:00
Vladislav Vinogradov
ea2f5b1391 added BORDER_REFLECT and BORDER_WRAP support to gpu module
switched to gpu::remap in opencv_stitching
2011-08-31 13:21:14 +00:00
Vladislav Vinogradov
47d68f6967 implemented gpu::remap for all types 2011-08-31 11:42:54 +00:00
Anatoly Baksheev
39373cd9f9 minor update of device layer 2011-08-30 09:08:41 +00:00
Anatoly Baksheev
c19f88853a minor update of device layer 2011-08-30 09:04:31 +00:00
Vladislav Vinogradov
0f5f57561e optimized memory usage in BruteForceMatcher_GPU_base::knnMatch when k==2 2011-08-30 08:49:11 +00:00
Vladislav Vinogradov
837f65784e update gpu docs 2011-08-30 08:27:23 +00:00
Vladislav Vinogradov
50d012b56b fixed gpu::pyrUp implementation 2011-08-29 11:32:18 +00:00
Vladislav Vinogradov
5f9e47a9cd refactored gpu::BruteForceMatcher (moved some utility functions to device layer) 2011-08-29 11:31:52 +00:00
Alexey Spizhevoy
50b72197ab fixed bug in gpu::matchTemplate (added normalization routine to make the GPU version consistent with the CPU one), added test cases from the ticket #1341 2011-08-29 08:06:45 +00:00
Anatoly Baksheev
e90aeb08f9 1) ticket #1332
2) device layer utility
2011-08-26 09:34:49 +00:00
Vladislav Vinogradov
173ac5a64b optimized gpu pyrDown and pyrUp 2011-08-24 11:16:42 +00:00
Vladislav Vinogradov
0ed6d86a49 optimized some gpu::cvtColor functions 2011-08-22 11:07:52 +00:00
Vladislav Vinogradov
971e35f283 fixed bug in gpu::cvtColor 2011-08-17 13:46:36 +00:00
Vladislav Vinogradov
5e9ae6b19f added TransformFunctorTraits, optimized some functions that use transform 2011-08-17 11:32:24 +00:00
Vladislav Vinogradov
6e3a1f7b49 implement optimized version of gpu::BruteForceMatcher::knnMatch when k == 2 2011-08-15 12:14:02 +00:00
Andrey Kamaev
6168eaf745 Documentation: fixed "template<class T> const T" case for ".. ocv:function::" macro 2011-08-13 18:05:11 +00:00
Andrey Kamaev
d6e3ccc1b2 Documentation: fixed about 100 cross-referencing errors. 2011-08-13 16:49:40 +00:00
Vadim Pisarevsky
f9ef92d45a multilib support added (ticket #363) 2011-08-10 12:49:52 +00:00
Vladislav Vinogradov
bad7dadb75 added remap test, fix compilation error 2011-08-10 12:05:24 +00:00
Vladislav Vinogradov
8bb9e4302e added registerPageLocked/unregisterPageLocked functions
added convert functions to BruteForceMatcher_GPU
other minor fixes
2011-08-10 11:32:48 +00:00
Anatoly Baksheev
edcfa64d99 experimental kernels for cuda 2011-08-10 09:51:36 +00:00
Anatoly Baksheev
b535356ec7 experimental kernels for cuda 2011-08-10 09:35:57 +00:00
Vladislav Vinogradov
c5adaa717b minor stitching optimization (improve buffer reuse) 2011-08-09 13:08:54 +00:00
Vladislav Vinogradov
13e392763b fixed compilation error without cuda 2011-08-09 11:35:42 +00:00
Vladislav Vinogradov
36bfa6ea1c minor 2011-08-09 09:15:04 +00:00
Vladislav Vinogradov
b2b1d41da8 moved GpuMat class to separate header file 2011-08-09 07:51:48 +00:00
Vladislav Vinogradov
f4f38fcced fixed gpu test failure on empty test data 2011-08-09 06:25:01 +00:00
Vladislav Vinogradov
a9fdc1bdff added buffered version of cornerHarris, cornerMinEigenVal, histEven and histRange 2011-08-08 13:05:50 +00:00
Vladislav Vinogradov
12b7090a6f fixed some warnings under win64 2011-08-08 13:03:18 +00:00
Vladislav Vinogradov
42ced17c2c fixed some warnings under win64 2011-08-08 11:28:14 +00:00
Vladislav Vinogradov
767ac9aa10 added gpu::Canny function 2011-08-08 08:53:55 +00:00
Vladislav Vinogradov
dfaa8af6ee fixed #1279 2011-08-08 05:59:09 +00:00
Vadim Pisarevsky
fc4d64ae6b temporarily fixed #1279 2011-08-06 18:03:08 +00:00
Anatoly Baksheev
7e2fffb194 ticket #1280 2011-08-06 09:59:51 +00:00
Vladislav Vinogradov
3fac5d54ca minor fix 2011-08-03 12:30:40 +00:00
Vladislav Vinogradov
5f03548530 minor fix 2011-08-03 12:18:17 +00:00
Vladislav Vinogradov
3ab2728da1 gpu device layer code refactoring 2011-08-03 12:10:36 +00:00