Commit Graph

548 Commits

Author SHA1 Message Date
Vadim Pisarevsky
099388bd12 fixed crashes in color-luv & color-lab when gcc 4.2 on x64 is used (tickets #502, #627) 2010-10-22 18:32:07 +00:00
Anatoly Baksheev
5ac4b23b7c added PtrStep structure to pass in __global__ functions 2010-10-22 16:57:22 +00:00
Vadim Pisarevsky
969855d72a fixed MatConstIterator::operator *() (the bug caused "operations" test failure; ticket #613) 2010-10-22 11:47:11 +00:00
Vadim Pisarevsky
ebb9c61546 fixed bug with Mat::dataend initialization. Now morph-ex test passes; Also fixed CV_Assert() implementation 2010-10-21 21:07:11 +00:00
Vadim Pisarevsky
4a14795eb6 fixed several gcc 4.1 warnings 2010-10-21 18:30:57 +00:00
Vadim Pisarevsky
ccb1e5fac0 added assert to MatConstIterator::pos() 2010-10-21 15:47:49 +00:00
Vadim Pisarevsky
948d96645c change at<double> => at<float>, since the histogram is cv_32f, not cv_64f 2010-10-21 13:20:10 +00:00
Vadim Pisarevsky
2591988414 ok, try to handle matrices with size (0,0) 2010-10-21 13:19:15 +00:00
Vadim Pisarevsky
4f9a72eaa7 fixed small matrix inversion using Cholesky algorithm (ticket #536) 2010-10-21 12:07:49 +00:00
Victor Erukhimov
8ff0d754ac Adding back MatConstIterator_::pos implementation 2010-10-21 03:47:57 +00:00
Vadim Pisarevsky
a44629d46f add missing #include <stdarg.h> 2010-10-20 19:56:21 +00:00
Marius Muja
e77e152a15 Renamed header include sentinels to fix compile problem when used together with standalone flann 2010-10-20 19:05:41 +00:00
Vadim Pisarevsky
be016a75df some fixes due to the changed policy in DataType & DataDepth handling 2010-10-20 17:43:46 +00:00
Vladislav Vinogradov
7d0feef775 added vecmath to gpu module. 2010-10-20 15:17:51 +00:00
Victor Erukhimov
0c3803a61c Fixing a problem with conflict of ROS and opencv flann 2010-10-20 15:08:26 +00:00
Vadim Pisarevsky
89f64681d0 fixed several warnings; modified size comparison: m1.size() == m2.size() => m1.size == m2.size 2010-10-20 12:34:59 +00:00
Vadim Pisarevsky
f7bebe8270 fixed several warnings; modified size comparison: m1.size() == m2.size() => m1.size == m2.size 2010-10-20 12:33:57 +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
Vadim Pisarevsky
8af83e6d37 fixed a few bugs in: Mat::reshape, Mat(CvMat*) constructor, element access, copying nd array etc. 2010-10-19 11:57:37 +00:00
Vadim Pisarevsky
0441e5772a undone experimental modifications in findExtrinsicCameraParams2. 2010-10-19 10:02:24 +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
Maria Dimashova
a594f01a3e fixed cast of Mat to vector<Mat> (leads to compile error now) 2010-10-18 11:06:44 +00:00
Vadim Pisarevsky
bf584f0d0a fixed a couple of warnings and 2 possible bugs 2010-10-18 09:03:54 +00:00
Vadim Pisarevsky
02885b8b49 added Mat::push_back, pop_back and related operations; enabled reading/writing/creating/copying matrices with zero dimensions. 2010-10-18 08:51:46 +00:00
Vadim Pisarevsky
bddaa00e03 renamed filterObject -> CvLSVMFilterObject, position -> CvLSVMFilterPosition etc. 2010-10-18 08:49:18 +00:00
Kirill Kornyakov
f4e5ef6a2c bugfix: incrorrect argument order in cvRodrigues2 call 2010-10-18 07:39:20 +00:00
Kirill Kornyakov
c626c4c63e bugfix: wrong command line argument used 2010-10-18 07:32:12 +00:00
Vadim Pisarevsky
1b1eab8e67 added helper macros to the function declarations 2010-10-16 20:34:34 +00:00
Alexey Polovinkin
ba88b2ee54 Added error handling in latentsvmdetect sample 2010-10-16 07:10:46 +00:00
Vadim Pisarevsky
f678c8f07b made FLANN (and dependent on it code) build fine on Windows. Most of the changes are added CV_EXPORTS' into the class declarations and extern variables are turned into external functions (as a nice side effect the variables are now read-only) 2010-10-15 18:57:59 +00:00
P. Druzhkov
d611fb61fc Gradient Boosting Trees (CvGBTrees) added to opencv mll. Test for all CvGBTrees public methods added. 2010-10-13 20:18:12 +00:00
Maria Dimashova
1c1485efd3 minor fixes 2010-10-13 16:16:40 +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
Vadim Pisarevsky
de5e45d7c4 fixed some more build problems after renaming the headers 2010-10-12 21:42:24 +00:00
Marius Muja
16b1f61c83 Updated FLANN to version 1.5 2010-10-12 19:47:50 +00:00
Vadim Pisarevsky
3230073b9b re-added missing _lsvmparser.h 2010-10-12 16:14:07 +00:00
Vadim Pisarevsky
6b8e60d033 the header parser for the extended OpenCV Python bindings 2010-10-12 15:59:00 +00:00
Vadim Pisarevsky
eecef2473e removed obsolete matrix expression implementation 2010-10-12 12:37:04 +00:00
Vadim Pisarevsky
939b6ad72f small fix in DefaultRngAuto class for easier parsing with Python wrapper generator 2010-10-12 12:36:20 +00:00
Vadim Pisarevsky
191f25ae7c renamed internal headers to avoid conflicts with system header files 2010-10-12 12:35:04 +00:00
Vadim Pisarevsky
3e9e2f0958 united cv::Mat and cv::MatND 2010-10-12 12:32:32 +00:00
Vadim Pisarevsky
541441e85b united cv::Mat and cv::MatND 2010-10-12 12:31:40 +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
Evgeniy Kozinov
1cf405d8a4 Russian comments was removed. Error code was added as returned value inLatentSVM parser. 2010-10-11 07:59:13 +00:00
Valentina Kustikova
fbfccffbaa Integration object detection using Latent SVM. Sample was added. 2010-10-09 11:36:06 +00:00
Maria Dimashova
a22f74c362 fixed area computing 2010-10-09 10:01:19 +00:00
Ethan Rublee
244a537d54 _S happens to be a bad variable name for android 2010-10-09 02:15:08 +00:00
Maria Dimashova
ef6a79244d fixed compile error (with TBB) 2010-10-08 16:49:34 +00:00
Maria Dimashova
9f934363e5 added sample on BOW usage to image classification (training and testing is on Pascal VOC dataset) 2010-10-08 13:17:34 +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
James Bowman
5051c635b1 #593 add ConvertImage 2010-10-04 17:34:52 +00:00
Anatoly Baksheev
f8a14a0854 fixed warnings under VS2010 about 'implicit conversion from double to float'. 2010-10-04 14:52:13 +00:00
Maria Dimashova
89935fc59b fixed FernDescriptorMatch; optimized keypoint regions matching in detector/descriptor evaluation; added CalonderDescriptorExtractor to evaluation tests 2010-10-04 14:12:36 +00:00
Vadim Pisarevsky
51822f2072 possible fix for ticket 380 (should not hurt camera calibration engine, as the fix only affects non-planar objects) 2010-10-04 13:46:37 +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
Vadim Pisarevsky
12656df19a much faster exp() and log() with SSE2 2010-10-03 22:45:04 +00:00
Vadim Pisarevsky
46988ca633 some more fixes in rectify3 and 3calibration (corrected disparity ratio etc.) 2010-10-01 09:48:56 +00:00
Maria Dimashova
d511e62021 fixed detector evaluation test 2010-10-01 09:02:54 +00:00
Vadim Pisarevsky
65a0470326 added calib3d dependency of highgui, to visualize checkerboard detector work, and probably other algorithms 2010-09-30 20:55:47 +00:00
Vadim Pisarevsky
70860df574 fixed detection of the checkerboards in some extreme cases (ticket #298) 2010-09-30 20:31:09 +00:00
Maria Dimashova
1061fc6589 back to previous default params 2010-09-30 15:47:10 +00:00
Maria Dimashova
13b535ac19 added BOWTrainer::add() 2010-09-30 14:21:22 +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
Maria Dimashova
21e22962d9 fixed grammar error 2010-09-24 17:03:25 +00:00
Maria Dimashova
98763247d9 added DenseFeatureDetector 2010-09-24 16:55:12 +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
Anatoly Baksheev
99f90ffc9e fixed if condition syntax: ! -> NOT 2010-09-24 11:33:06 +00:00
Vadim Pisarevsky
6c3d45d9df fixed compile errors with MSVC2010 2010-09-24 10:52:21 +00:00
Vadim Pisarevsky
e812a02c0b remove #include <Eigen/Core> from eigen.hpp 2010-09-23 20:03:47 +00:00
Maria Dimashova
26dbbcc070 added bag of words; did some renaming 2010-09-23 16:17:48 +00:00
Maria Dimashova
8462deed30 split descriptors.cpp 2010-09-23 13:44:23 +00:00
Maria Dimashova
9e9d4b9e49 added OpponentColorDescriptorExtractor 2010-09-23 10:53:36 +00:00
Vadim Pisarevsky
1a2fee0d56 include Eigen2/3 headers optionally, for greater flexibility 2010-09-22 20:45:01 +00:00
Vadim Pisarevsky
d72d11d09d improved matrix expressions efficiency in some cases & simplified the code 2010-09-22 13:07:51 +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
Maria Dimashova
0c771221a3 fixed problem with surrogate splits in decision trees training 2010-09-22 06:55:51 +00:00
Ethan Rublee
2f3f677ffe woops, broke cmake for a bit... 2010-09-22 03:36:45 +00:00
Ethan Rublee
8ee50c422b adding some small changes to support android build,
mainly cmake stuff, but in persistance the wcstombs
is not supported on android, and in
sift.cpp there was and ifdef that affected arm and this
causes undefined symbols on android.
2010-09-22 02:16:33 +00:00
Vadim Pisarevsky
ec314cf232 moved the matrix expressions from mat.hpp to matop.cpp. That should improve build times 2010-09-21 15:15:44 +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
Maria Dimashova
97f2972fc0 uncommented fix of write/read keypoints 2010-09-17 12:32:57 +00:00
Maria Dimashova
8ab3fdbcca merged regression tests for FeatureDetector, DescriptorExtractor from branch .features2d;
renamed createDetector to createFeatureDetector
2010-09-17 11:26:58 +00:00
Yannick Verdie
54ba887432 Qt fix: cvAddText ticket #561 2010-09-16 17:52:10 +00:00
Vladislav Vinogradov
b803c24345 added nppSafeCall 2010-09-15 14:34:41 +00:00
Maria Dimashova
912f8ff34c commented fix write/read keypoints temporarily 2010-09-15 13:57:13 +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
Maria Dimashova
b8753db512 merged fix of write/read keypoints from branch 2010-09-15 12:14:35 +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
Vadim Pisarevsky
16ae6fa6ad excluded from Android build 2010-09-14 18:20:27 +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
Maria Dimashova
7d94f256e6 fixed CvDTree and CvForestTree find_best_split() methods 2010-09-10 15:44:46 +00:00
Kirill Kornyakov
8e38063965 gpu::add now supports 8UC4 and 32FC1 2010-09-10 15:04:54 +00:00
Maria Dimashova
a2a3ec69cb Fixed FernClassifier 2010-09-10 11:40:28 +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
Vadim Pisarevsky
31dbefc865 added 3-camera rectification and 8-coeff distortion model 2010-09-07 15:38:48 +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
Vadim Pisarevsky
bf94db5b16 fixed 2 bugs in the recently modified Lapack functions 2010-08-31 12:39:00 +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
Vadim Pisarevsky
eb6994f58a fixed Mat(const Matx&) constructor; added SVD(Matx) 2010-08-30 18:05:05 +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
Yannick Verdie
24427d593f Qt add byte per line information to fix a bug 2010-08-24 16:18:32 +00:00
Maria Dimashova
601e9af9f8 added match() 2010-08-24 12:52:29 +00:00
Yannick Verdie
411e16074e Qt Ticket #520 2010-08-24 12:23:37 +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
Yannick Verdie
69e6294854 Qt ticket #537
Forgot to update so code after previous fix
2010-08-20 13:06:14 +00:00
Vladislav Vinogradov
6cafec8861 added colorizeDisp, fixed DisparityBilateralFilter 2010-08-20 06:47:11 +00:00