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
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
Vladislav Vinogradov
36bfa6ea1c
minor
2011-08-09 09:15:04 +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
Vladislav Vinogradov
3fac5d54ca
minor fix
2011-08-03 12:30:40 +00:00
Vladislav Vinogradov
3ab2728da1
gpu device layer code refactoring
2011-08-03 12:10:36 +00:00
Vladislav Vinogradov
6ff975af9e
added gpu::equalizeHist function
2011-08-02 08:33:27 +00:00
Vladislav Vinogradov
33df5ea07b
added gpu::calcHist function
2011-08-01 13:15:37 +00:00
Vladislav Vinogradov
e746b3e8ae
added buffered version of pyrDown and pyrUp
...
added stream support to downsample, upsample, pyrUp and pyrDown
2011-08-01 08:15:31 +00:00
Anatoly Baksheev
cb9dd71f82
compilation
2011-07-22 13:26:31 +00:00
Anatoly Baksheev
de204fe413
2011-07-22 13:24:27 +00:00
Anatoly Baksheev
3a1beb1c01
added cv::gpu::pow, ticket #1227
2011-07-21 08:47:44 +00:00
Alexey Spizhevoy
abe34e3b33
removed debug func. call
2011-07-08 14:00:54 +00:00
Alexey Spizhevoy
e9837b0aa9
added support of old CC into GPU mean shift routines
2011-07-08 13:59:23 +00:00
Alexey Spizhevoy
ad454d83b9
added gpu::buildWarpPlaneMaps and gpu::buildWarpCylindricalMaps functions, integrated into stitching
2011-07-01 07:07:54 +00:00
Alexey Spizhevoy
674b763395
GPU: updated upsample, downsample functions, added pyrDown, pyrUp, added support of 16S filtering; put spherical warper on GPU (from opencv_stitching)
2011-06-30 14:39:48 +00:00
Vladislav Vinogradov
d1b4b5f0de
refactored gpu module tests
2011-06-29 10:14:16 +00:00
Vladislav Vinogradov
0d09352fca
fixed gpu::cvtColor
2011-06-15 11:57:08 +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
Vladislav Vinogradov
26dd71d981
fixed gpu::cvtColor according #5324 changes
2011-06-09 08:26:08 +00:00
Vladislav Vinogradov
926a6bba00
modified according to CUDA 4.0 API updates
2011-05-31 08:31:10 +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
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
Vladislav Vinogradov
f11efdced3
added support of Hamming distance to BruteForceMatcher_GPU
2011-05-16 08:38:27 +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
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
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
Vladislav Vinogradov
58f6919795
made GPU version of SURF more consistent with CPU one
2011-03-10 13:53:58 +00:00
Alexey Spizhevoy
1d62fddd31
updated solvePnpRansac performance test
2011-03-07 13:36:47 +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
5e85566477
added distortion coefs support into gpu::solvePnpRansac
2011-03-01 07:44:36 +00:00
Alexey Spizhevoy
cae59a7caf
added gpu::solvePnpRansac
2011-02-28 12:44:19 +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
Vladislav Vinogradov
54fa600b9e
update docs
...
minor fixes and refactoring of GPU module
2011-02-16 08:31:45 +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
Vladislav Vinogradov
924670d32c
fixed block size calculation in SURF_GPU (fasthessian_gpu and nonmaxonly_gpu kernels)
2011-02-09 09:11:11 +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
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
Vladislav Vinogradov
8abdb3721f
added gpu threshold.
2011-01-24 10:11:02 +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
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
90ae1e3aed
refactored gpu module
2011-01-19 10:54: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
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
6702d55711
added support of scaling into gpu::dft, refactored gpu::convolve
2010-12-24 06:48:23 +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
a6d9cce500
added CUFFT errors handling into GPU module
2010-12-22 08:03:53 +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
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
0465b89e7e
gpu module refactoring: moved per-element operations into separated file
2010-12-20 09:07:19 +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
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
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
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
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
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
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
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
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
72f020a8f3
added gpu::count_non_zero version for CC1.0, refactored gpu module a little
2010-11-29 07:18:11 +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
Alexey Spizhevoy
bdaad9e1fe
added support of buffers into gpu::minMaxLoc, reduced memory requirements, refactored
2010-11-26 07:50:11 +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
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
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
Alexey Spizhevoy
732bd621bb
added masks support for bitwise operations on GPU
2010-11-22 09:39:34 +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