Commit Graph

1307 Commits

Author SHA1 Message Date
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