Commit Graph

331 Commits

Author SHA1 Message Date
Vladislav Vinogradov
afff9cf716 Optimized buffers reuse in gpu module:
ensureSizeIsEnough now doesn't reallocate memory, if buffer is small submat of big matrix
fixed createContinous according new changes
2012-11-12 10:30:35 +04:00
marina.kolpakova
0cbf9eb22a add support for CUDA streams 2012-11-10 05:13:26 +04:00
marina.kolpakova
40600fa504 GPU version becomes algorithm 2012-11-10 05:13:19 +04:00
marina.kolpakova
df392cc830 use fast integral for soft cascade 2012-11-10 05:12:27 +04:00
marina.kolpakova
ac5cd48279 add DeviceInfo parameter to the soft cascade tests 2012-11-10 05:12:13 +04:00
marina.kolpakova
2bd35c4358 add support for precomputed integrals 2012-11-10 05:11:48 +04:00
marina.kolpakova
ca81628a9a fix retrieval of detections count 2012-11-10 05:11:21 +04:00
marina.kolpakova
30bce16ad6 optimize roi loads
only one thread load roi for all block
2012-11-10 05:08:56 +04:00
marina.kolpakova
dd595376ba Add performance test for detection in ROI; refactor soft cascade performance tests 2012-11-10 05:08:09 +04:00
marina.kolpakova
eb91593c08 add roi support 2012-11-10 05:08:03 +04:00
marina.kolpakova
672cf1f445 implement different behaviour for up- and down-scaling 2012-11-10 05:07:40 +04:00
marina.kolpakova
7db1323f81 add test that stores detections on the specific scale 2012-11-10 05:07:09 +04:00
marina.kolpakova
1bf85996b3 add detections vector initialization in tests 2012-11-10 05:03:43 +04:00
marina.kolpakova
14a0dd8c98 fix typo in cascade loading 2012-11-10 05:02:01 +04:00
marina.kolpakova
267d140bfe soft cascade: gpu representation 2012-11-10 05:00:33 +04:00
Andrey Kamaev
a126532cb7 Fix OS X build warnings 2012-11-09 11:29:52 +04:00
Vladislav Vinogradov
beb377b38c gpu implementation of Dual TV-L1 Optical Flow 2012-11-02 19:51:43 +04:00
Andrey Kamaev
4d059e9e5b Merge release 2.4.3 2012-11-02 17:58:02 +04:00
Andrey Kamaev
828faf4e68 Merge pull request #129 from cuda-geek/CCL-test-fix 2012-11-02 14:30:20 +04:00
marina.kolpakova
97cab339d2 fix Connected Components Labeling test crash 2012-11-01 23:59:01 +04:00
marina.kolpakova
7a5b9a6b7f replase __APPLE__ marco with __clang__ 2012-11-01 19:34:05 +04:00
Andrey Kamaev
2b0072d823 Suppress more warnings in gtest on OS X 2012-10-24 20:36:30 +04:00
Andrey Kamaev
5bc104cef5 Merge branch '2.4' 2012-10-19 15:00:05 +04:00
Vladislav Vinogradov
34b4a35ea7 gpu separable filters for CV_8UC3, CV_32FC3 and CV_32FC4 types 2012-10-19 12:41:14 +04:00
OpenCV Buildbot
81f826db2b Normalize line endings and whitespace 2012-10-17 15:57:49 +04:00
OpenCV Buildbot
04384a71e4 Normalize line endings and whitespace 2012-10-17 15:32:23 +04:00
marina.kolpakova
e5437e5486 Fix binary compatibility of opencv_gpu 2012-10-17 02:09:40 +04:00
Anatoly Baksheev
9a4265a8d0 fast nlm (class version) 2012-10-08 19:57:20 +04:00
Anatoly Baksheev
4b5bbb7752 fast_nlm initial version 2012-10-08 19:57:19 +04:00
Vladislav Vinogradov
8d07e92b2c disabled NPP resize for 8uc4+Cubic (Bug #2388) 2012-10-04 13:33:47 +04:00
Vladislav Vinogradov
cfc09d01c8 disabled NVidia test output by default 2012-10-04 13:33:06 +04:00
Vadim Pisarevsky
06a13d9ba0 replaced jpegs with png's. Accuracy tests pass; performance tests were not tried yet 2012-10-02 23:07:46 +04:00
Anatoly Baksheev
4df537bc1c warnings 2012-10-01 23:57:38 +04:00
Anatoly Baksheev
55b1d7c097 added CUDA_DISABLER preprocessor commands 2012-10-01 23:57:38 +04:00
Vladislav Vinogradov
35b671efb5 disabled utility code in gpu tests when WITH_CUDA=false 2012-09-13 12:17:35 +04:00
Vladislav Vinogradov
98c92f196e added Generalized Hough implementation 2012-09-10 16:49:40 +04:00
AoD314
54a202b3d5 add new version of CommandLineParser. add empty docs 2012-09-07 13:24:48 +04:00
Anatoly Baksheev
3456238c16 minor 2012-08-29 21:26:00 +04:00
Anatoly Baksheev
0ba01afd83 added GPU bilateral filter + tests
added GPU non local means brute force filter + tests
2012-08-29 19:20:32 +04:00
marina.kolpakova
a07e33609b added test for caltech images 2012-08-28 14:45:45 +04:00
Anatoly Baksheev
70204a8e68 Removed PtrElemStep, Marked DevMem1D as deprecated, now should use PtrStepSz now 2012-08-24 02:02:42 +04:00
Vladislav Vinogradov
c3f277b7bc gpu version of HoughCircles 2012-08-23 17:12:43 +04:00
Anatoly Baksheev
e60a50c43c removed /EHa flag for cuda compilation 2012-08-23 16:53:53 +04:00
Vladislav Vinogradov
c26d543e1e gpu::HoughLines : minor code improvements 2012-08-20 16:03:01 +04:00
marina.kolpakova
1e4012079d removed logging from test 2012-08-20 13:26:51 +04:00
Vladislav Vinogradov
3956e42507 Merge branch 'gpu-tests' 2012-08-20 11:29:40 +04:00
Vladislav Vinogradov
ec7f9566e0 minor gpu tests fix 2012-08-20 10:15:36 +04:00
Vladislav Vinogradov
a0aef244d6 removed perf_gpu_cpu from CMake scripts 2012-08-20 09:58:37 +04:00
marina.kolpakova
ede3781e3e fixed -Wstrict_alliasing warning for GCC 2012-08-20 02:27:54 +04:00
marina.kolpakova
9c13b84e35 fixed unused warnings 2012-08-20 00:06:12 +04:00
Andrey Kamaev
1a621c2916 Fix build warnings 2012-08-19 19:36:43 +04:00
Sergiu Dotenco
4993748c91 added missing includes 2012-08-19 15:25:07 +02:00
Vladislav Vinogradov
ddca47040b updated gpu accuracy tests
added posibility to specify device on which tests will be executed
2012-08-16 16:23:27 +04:00
Vladislav Vinogradov
c3fa7974e6 new optimized version 2012-08-14 17:00:57 +04:00
Vladislav Vinogradov
1eefc69927 added accuracy and performance tests 2012-08-14 11:36:32 +04:00
marina.kolpakova
40c76b9de2 1.x related fixes 2012-08-09 18:48:25 +04:00
Vladislav Vinogradov
f7f1fb2bd7 added tests for VIBE_GPU and GMG_GPU 2012-08-09 12:30:55 +04:00
marina.kolpakova
cbfee83b06 test: GFF same as cpu greedy implementation 2012-08-08 14:48:06 +04:00
marina.kolpakova
490622231a refactored test code 2012-08-08 14:48:06 +04:00
marina.kolpakova
fc8c65ff15 HAVE_CUDA macro 2012-08-07 18:23:18 +04:00
marina.kolpakova
8e274c886c Greedy Labeling implementation in correctness test 2012-08-07 18:23:18 +04:00
marina.kolpakova
e8e7b94443 test fix 2012-08-07 18:23:18 +04:00
Vladislav Vinogradov
8624d18ca5 new implementation of gpu debayer
* without border extrapolation
* with aligned write
* process 4 pixels per thread in 8u case
2012-08-07 13:34:11 +04:00
Vladislav Vinogradov
7b025474e2 added debayer to gpu::cvtColor 2012-08-07 13:34:11 +04:00
marina.kolpakova
0bf10c9a47 added connectivityMask calculation function 2012-08-07 13:22:41 +04:00
marina.kolpakova
a9764dd910 fixed not defined macro warningds 2012-08-07 13:22:41 +04:00
marina.kolpakova
51433a9331 C.C. Labeling: added stream support 2012-08-07 13:22:41 +04:00
marina.kolpakova
350621057f connected components labeling 2012-08-07 13:22:41 +04:00
Vladislav Vinogradov
4f99f69a29 added gpu alpha premultiplication 2012-07-31 12:46:04 +04:00
Vladislav Vinogradov
79d0dc25f4 added gpu RGB<->Lab and BGR<->Luv conversions 2012-07-31 12:46:04 +04:00
Vladislav Vinogradov
051adcb786 added gpu BGR<->Lab and RGB<->Luv color conversion and gammaCorrection 2012-07-31 12:46:04 +04:00
marina.kolpakova
1b7ad93dc9 LBP features integrated in CascadeClassifier_GPU 2012-07-24 13:51:35 +04:00
Marina Kolpakova
336dcbcff7 fixed brocken tests by classifier loger from r9027 2012-07-15 04:11:46 +00:00
Anatoly Baksheev
9706079ace a bit refactoring in LBP face detection on GPU 2012-07-13 15:47:09 +00:00
Marina Kolpakova
86d785622b LBP: switched to texture implementation 2012-07-10 11:58:15 +00:00
Andrey Kamaev
e900952b87 quiet most of the OSX build warnings 2012-07-05 12:56:31 +00:00
Marina Kolpakova
e496345d33 added lbp cascade test, fixed race conditions problems 2012-07-04 12:11:16 +00:00
Marina Kolpakova
248f39e13e added performance test for LBP classifier. 2012-07-04 12:11:07 +00:00
Marina Kolpakova
e6f7e4d83e GPU resize became same as CPU implementation 2012-07-02 08:08:02 +00:00
Andrey Kamaev
afe11f69fb Fixed Windows build warnings and configuration problem. 2012-06-30 20:45:01 +00:00
Marina Kolpakova
e637168e44 completed test: load LBP classifier 2012-06-25 16:39:34 +00:00
Andrey Kamaev
d9c74f63e1 All tests writing temporary files are updated to use cv::tempfile() function 2012-06-25 11:24:06 +00:00
Vladislav Vinogradov
acc031aaba added MOG_GPU and MOG2_GPU (Gaussian Mixture background subtraction) 2012-06-25 11:13:50 +00:00
Marina Kolpakova
5f6bbcc89a added test for GPU LBP cascade: load cascade 2012-06-25 08:46:34 +00:00
Marina Kolpakova
1365e28a54 initial support of GPU LBP classifier: added new style xml format loading 2012-06-22 15:00:36 +00:00
Marina Kolpakova
b065c7a296 fixes for the newly added gcc warning keys 2012-06-21 03:48:36 +00:00
Marina Kolpakova
e7f6c4b7ef scan operations are moved in separate header 2012-06-20 05:41:16 +00:00
Marina Kolpakova
db08656a38 resize area are fixed for scales that aren't divide 128 2012-06-18 10:31:36 +00:00
Marina Kolpakova
f7c1d16b38 resize area with block scan 2012-06-18 09:00:36 +00:00
Marina Kolpakova
81c6adb959 resize area with block scan 2012-06-18 09:00:32 +00:00
Marina Kolpakova
9a9f212db0 resize function signature refactoring 2012-06-18 09:00:28 +00:00
Vladislav Vinogradov
f392ab0e08 new implementation of gpu::PyrLKOpticalFlow::sparse (1.5 - 2x faster) 2012-06-18 06:49:10 +00:00
Marina Kolpakova
f33d90220d fixed "shadow" warnings in NVIDIA tests 2012-06-15 13:13:36 +00:00
Marina Kolpakova
8c6dc17a9f scan based area interpolation for naive cases 2012-06-13 13:21:08 +00:00
Andrey Kamaev
c5aba337e9 Fixed number of warnings. Fixed mingw64 build. 2012-06-12 14:46:12 +00:00
Marina Kolpakova
f6b451c607 fixed another piece of warnings 2012-06-09 10:58:32 +00:00
Marina Kolpakova
e86f0aaea1 fixed hundreds of "anonymous" warnings for gpu module. 2012-06-08 17:09:38 +00:00
Andrey Kamaev
47a4e87784 Ignored warnings from gtest with precompiled headers enabled 2012-06-08 14:54:17 +00:00
Marina Kolpakova
83390ea4e1 performance test for INTER_AREA resize has been added. 2012-06-06 14:45:33 +00:00
Marina Kolpakova
d192117e86 GPU resize with INTER_AREA 2012-06-06 10:39:42 +00:00
Vladislav Vinogradov
bfb390e82a added gpu::FGDStatModel (Background/foreground segmentation) 2012-06-05 13:32:04 +00:00
Vladislav Vinogradov
6f32fb025d Bug #1991 : fixed gpu interpolation (remap, resize, warp...) 2012-05-29 11:30:44 +00:00
Vladislav Vinogradov
67b718f1cb fixed some bugs in gpu module under Windows:
* convertTo alignment error
* compare with scalars error
2012-05-29 08:03:36 +00:00
Vladislav Vinogradov
2582464e51 fixed several problems with CUDA 5.0
* gpu::LUT, uses device memory instead of host memory
* gpu::multiply, round mod for CV_8U depth
2012-05-28 12:09:40 +00:00
Vladislav Vinogradov
f07250acf3 updated gpu performance tests 2012-05-23 12:58:01 +00:00
Anatoly Baksheev
671233cd46 gpu: added Cascade and mulAndScaleSpectrums perf tests 2012-05-22 18:58:01 +00:00
Vladislav Vinogradov
9df6e51a5b added gpu::compare with scalars (Feature #1754) 2012-05-12 09:45:21 +00:00
Vladislav Vinogradov
ca57239618 fixed some problems after r8280 (lost code) 2012-05-02 13:07:30 +00:00
Vadim Pisarevsky
d5a0088bbe merged 2.4 into trunk 2012-04-30 14:33:52 +00:00
Vladislav Vinogradov
70f8b8b5ec fixed GPU_NVidia/NCV.Visualization test 2012-04-24 12:36:15 +00:00
Vladislav Vinogradov
6e830cf8f8 added additional tests to gpu::BFMatcher 2012-04-24 11:21:23 +00:00
Vladislav Vinogradov
44eaeee865 refactored gpu BruteForceMather (made it similar to BFMatcher) 2012-04-24 07:56:33 +00:00
Vladislav Vinogradov
f65d841d6f fixed several warnings (VS2010, Win64)
added getParams method to VideoWriter_GPU
2012-04-23 14:22:02 +00:00
Alexey Spizhevoy
1569c1ed52 Added GPU version of PyrLK based global motion estimator (videostab) 2012-04-18 13:23:41 +00:00
Vladislav Vinogradov
f4b4665940 added VideoReader_GPU 2012-04-18 11:18:25 +00:00
Vladislav Vinogradov
2bfaf540a1 added VideoWriter_GPU 2012-04-17 07:12:16 +00:00
Vadim Pisarevsky
2fd1e2ea57 merged all the latest changes from 2.4 to trunk 2012-04-13 21:50:59 +00:00
Vladislav Vinogradov
489a1da0ed fixeg gpu::Laplacian 2012-04-02 08:20:23 +00:00
Vladislav Vinogradov
82d619a34d fixed gpu::filter2D 2012-04-01 07:32:25 +00:00
Anatoly Baksheev
e1fd68b21e fixed #1257 ( HaarCascadeApplication GPU test crash ) 2012-03-31 23:49:35 +00:00
Anatoly Baksheev
a22641aa9c fixed bug #1367 in CSBP 2012-03-31 22:07:16 +00:00
Vladislav Vinogradov
5aae21c037 fixed bug #1640 2012-03-28 14:25:41 +00:00
Vladislav Vinogradov
8e3f1c09d2 added support of 3-channels output to gpu::reprojectImageTo3D
minor refactoring of gpu tests
2012-03-28 12:48:28 +00:00
Vladislav Vinogradov
d1423adbc7 moved gpu cvtColor tests to separate file
added more tests for gpu cvtColor
fixed RGB->YUV conversion
2012-03-28 06:56:42 +00:00
Vladislav Vinogradov
b2a6a257b7 minor modification of gpu video tests
disabled NVidia Visualization test, it's functionality (draw rectangles) doesn't used in gpu module
2012-03-27 12:15:52 +00:00
Vladislav Vinogradov
eaea6782d5 added more assertion on device features to gpu functions and tests
moved TargerArchs and DeviceInfo to core
fixed bug in GpuMat::copy with mask (incorrect index in function tab)
2012-03-27 10:34:30 +00:00
Vladislav Vinogradov
bd13e9479b added assertion on device features (global atomics) into gpu tests 2012-03-27 07:33:39 +00:00
Vladislav Vinogradov
089a835c0a fixed octave computation in SURF_GPU
used random images in gpu filter tests
2012-03-26 18:07:03 +00:00
Vladislav Vinogradov
26691e00d4 fixed gpu core tests (added additional check for device's feature support)
added assertion on double types for old devices
2012-03-26 14:33:43 +00:00
Vladislav Vinogradov
9034a2d6d7 fixed gpu arithm functions (mismatch with cpu version) 2012-03-26 11:02:03 +00:00
Alexey Spizhevoy
5434a9a5ec Fixed gpu::matchTemplate for correct handling of big templates. Added tests 2012-03-26 09:19:33 +00:00
Vladislav Vinogradov
7057dd8fc0 added test for gpu::Laplacian for CV_32FC1 type
changed epsilon for matrix comparison in gpu::sqrt test
2012-03-22 19:12:42 +00:00
Vladislav Vinogradov
059cef57e6 fixed gpu::filter2D border interpolation for CV_32FC1 type
added additional tests for gpu filters
fixed gpu features2D tests
2012-03-21 14:38:23 +00:00
Vladislav Vinogradov
509c910101 refactored and fixed some gpu tests
fixed some bugs in gpu module
2012-03-20 12:03:34 +00:00
Vladislav Vinogradov
844bdea5ac fixed several bugs in gpu arithm functions
refactored tests for them
2012-03-19 14:18:12 +00:00
Vladislav Vinogradov
6397fa5b38 fixed gpu::pyrUp (now it matches cpu analog)
fixed several warnings
2012-03-19 09:27:06 +00:00
Vladislav Vinogradov
85c904a4ba fixed build in gpu module (SURF and ORB) 2012-03-18 12:05:49 +00:00
Vladislav Vinogradov
ade7394e77 refactored and fixed bugs in gpu warp functions (remap, resize, warpAffine, warpPerspective)
wrote more complicated tests for them
implemented own version of warpAffine and warpPerspective for different border interpolation types
refactored some gpu tests
2012-03-14 15:54:17 +00:00
Vladislav Vinogradov
cd2cc6197f fixed bug in gpu::pyrUp implementation 2012-03-07 14:31:30 +00:00
Vladislav Vinogradov
02f226a981 fixed bug in gpu::pyrDown 2012-03-07 13:14:50 +00:00
Vladislav Vinogradov
e7dda44a07 updated image for StereoConstantSpaceBP regression test
updated gpu tests for CornerHarris and CornerMinEigen
moved direct convolution implementation to gpu::filter2D, gpu::convolve now use only DFT-based algorithm (Bug #1639)
2012-03-07 09:49:24 +00:00
Vladislav Vinogradov
ec5bdc7de8 added patch error calculation to gpu::PyrLKOpticalFlow 2012-03-05 10:36:57 +00:00
Vladislav Vinogradov
2d30480982 created wrappers for new NPP functions
removed void integral(const GpuMat& src, GpuMat& sum, GpuMat& sqsum, Stream& stream) - it fails with NPP_NOT_IMPLEMENTED error
updated docs, accuracy and performance tests
2012-02-22 10:00:53 +00:00
Alexey Spizhevoy
e428a0c681 Fixed a compile-time error 2012-02-16 12:33:42 +00:00
Alexey Spizhevoy
5c459aa815 Added the GPU version of the Farneback's optical flow 2012-02-16 11:23:51 +00:00
Vladislav Vinogradov
5af529c1bd fixed and updated gpu implementation of separable liner filters
now it supports kernel's size up to 32
2012-02-15 12:05:59 +00:00
Anatoly Baksheev
84db4eb6fa fixed ~200 warnings for windows
minor build system changes (now cuda code in opencv_core is compiled using CUDA_ARCH* cmake variables)
2012-02-14 10:22:34 +00:00
Vladislav Vinogradov
a10fed8fd1 added GoodFeaturesToTrackDetector_GPU and PyrLKOpticalFlow to gpu module 2012-02-13 12:57:27 +00:00
Vladislav Vinogradov
75ac4362ca removed ASSERT_NO_THROW 2012-02-06 11:31:52 +00:00
Vladislav Vinogradov
1d1da9c5d6 added support of BORDER_REFLECT to gpu::cornerHarris and gpu::cornerMinEigenVal 2012-01-23 07:14:45 +00:00