Commit Graph

806 Commits

Author SHA1 Message Date
Vadim Pisarevsky
5633cf0379 one more fix in the recently rewritten copyMakeBorder 2010-12-13 16:53:46 +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
a81b41fb08 fixed some warning under Ubuntu in gpu module 2010-12-13 15:56:29 +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
442cd75c32 fixed compile error under linux 2010-12-13 09:50:32 +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
Vadim Pisarevsky
108ab94023 improved naive bayes robustness in the case of singular data 2010-12-12 22:45:31 +00:00
Vadim Pisarevsky
51d039945a fixed cv::CHAIN_APPROX_* definitions (ticket #755) 2010-12-12 20:46:06 +00:00
Vadim Pisarevsky
76c8a7d96b rewrote copyMakeBorder (to support other border types and fix some bugs) 2010-12-11 21:50:31 +00:00
Vadim Pisarevsky
8511b69635 fixed Mat::Mat(Vec|Matx|vector) constructor (ticket #747) 2010-12-11 18:32:11 +00:00
Vadim Pisarevsky
4339f69da4 fix opencv-highgui build with old versions of libpng (< 1.4.x) 2010-12-11 18:05:50 +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
Vadim Pisarevsky
fcdce4edcb fixed border processing bayer2rgb & bayer2gray; made the test "color-bayer" pass; renamed CV_Bayer*2Gray -> CV_Bayer*2GRAY for consistency 2010-12-11 10:43:32 +00:00
Vadim Pisarevsky
d14b744ea9 possibly improved findHomography accuracy (reported by Luca Del Tongo) 2010-12-10 21:02:13 +00:00
Vadim Pisarevsky
da293ee3d9 SSE2 optimization for Bayer->RGB; added Bayer->Gray with SSE2 optimization; corrected some bugs noted in the yahoogroups forum 2010-12-10 19:06:38 +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
97484089c5 added support of CV_8U & CV_TM_CCORR into gpu::matchTemplate 2010-12-10 08:06:54 +00:00
Vadim Pisarevsky
e5564b4388 improved accuracy of determinant(), invert() and solve() on 3x3 matrices (ticket #749) 2010-12-09 20:54:04 +00:00
Kirill Kornyakov
d8415ed44e code cleaning of cascade classifier 2010-12-09 15:09:34 +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
Vadim Pisarevsky
3beac049d5 replicated the fix for Ptr<CvCapture> bug 2010-12-08 09:36:42 +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
Alexey Spizhevoy
349a9fac86 fixed compile-time warning under g++ 2010-12-07 07:16:13 +00:00
Alexey Spizhevoy
19b434be50 minor refactoring of gpu module 2010-12-07 06:45:54 +00:00
Vadim Pisarevsky
ed934ed6fc fixed GBTrees build on NetBSD & Android; fixed GPU brute force matcher test build on MacOSX 2010-12-06 19:42:16 +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
Vadim Pisarevsky
bc21cc6fe9 revert to using fixed RNG in EM, otherwise the algorithm becomes non-deterministic and the test fails sometimes. in the meantime, EM needs to switch to more robust cv::kmeans instead of CvEM::kmeans. 2010-12-06 09:41:28 +00:00
Vadim Pisarevsky
e6aba3e51c turn off SSE2 optimization in cv::exp & cv::log in the case of GCC <=4.1 (not no Mac, where a patched GCC 4.0 is used) 2010-12-06 08:49:49 +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
Anatoly Baksheev
d96c5ebb7d misprint 2010-12-06 08:03:33 +00:00
Alexey Spizhevoy
6ef4d9b1dd added sipport of BORDER_REPLICATE mode into gpu::corner* functions 2010-12-06 07:47:26 +00:00
Vadim Pisarevsky
9d8644dee0 turn off SSE2 optimization in cv::exp & cv::log in the case of VS2005 or earlier versions, because of missing _mm_cast* intrinsics (ticket #729) 2010-12-05 02:26:04 +00:00
Vadim Pisarevsky
0de9c9fd3c opencv_zlib renamed back to zlib; make static libs work on Windows 2010-12-05 01:19:36 +00:00
Vadim Pisarevsky
8b4cb1d99c make OpenCVConfig.cmake usable in the case of static libs 2010-12-04 23:02:36 +00:00
Vadim Pisarevsky
a7a5dd051a updated version number; removed unnecessary index.html and ChangeLog.htm 2010-12-04 19:21:45 +00:00
Vadim Pisarevsky
ea3ccc6d61 a few more little fixes in read_csv 2010-12-04 18:42:09 +00:00
Vadim Pisarevsky
33d23ef27a fixed several typos in docs; make MLData capable of reading csv files with much more columns than before 2010-12-04 18:37:07 +00:00
Vadim Pisarevsky
3e7fbd21e0 fixed compile errors in cap_qt.cpp (ticket #391) 2010-12-04 17:58:45 +00:00
Vadim Pisarevsky
695aa02e98 little change in flann save_value. Likely does not affect anything 2010-12-04 17:09:40 +00:00
Vadim Pisarevsky
56d4f875b4 make watershed demo work correctly 2010-12-04 15:35:34 +00:00
Vadim Pisarevsky
9948ed88b0 fixed crash in cvDrawContours when abs(maxLevel) is too big 2010-12-04 15:31:42 +00:00
Vadim Pisarevsky
11ed55ddb4 fixed mouse painting in Qt bindings (to make watershed & inpaint demos work); increased the font in the detailed pixel image display. 2010-12-04 15:15:06 +00:00
Vadim Pisarevsky
84aed5d360 fixed unresolved RotatedRect::boundingRect() error (ticket #725) 2010-12-04 11:40:14 +00:00
Vadim Pisarevsky
6a15ff8d13 added cvSave(contours) to the contours demo; added rational model demonstration to stereo_calib; fixed formatting in imgproc/types_c.h 2010-12-03 19:09:06 +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
Maria Dimashova
d3ce471cd7 returned maxDepth argument 2010-12-02 13:50:39 +00:00
Maria Dimashova
62cb71092c fixed traincascade (#554) 2010-12-02 13:44:08 +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
Vadim Pisarevsky
196d45bc3e undo the latest change in SURF 2010-11-30 16:36:26 +00:00
Vadim Pisarevsky
2c0015e765 temporarily turn off TBB threading when computing SURF descriptors (as the parallel version seems to produce different descriptors on each run) 2010-11-30 16:27:12 +00:00
Alexander Shishkov
4113d5da43 fixed compilation errors on Windows 2010-11-30 16:00:26 +00:00
Alexey Spizhevoy
d0dfae5143 fixed bug in ms segmentation 2010-11-30 13:02:24 +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
Vadim Pisarevsky
3fd07809c9 make cv::calibrateCamera, cv::stereoCalibrate and their C counterparts return the standard RMS error. 2010-11-30 10:27:34 +00:00
Vadim Pisarevsky
8754cafffb extended cv.KMeans2 API in Python (ticket #414; thanks to hogelog). fixed failures in the opencv python tests. 2010-11-30 10:11:38 +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
Vadim Pisarevsky
5461b9943c added chamfer matcher code and sample (contributed by Antonella Cascitelli, Marco Di Stefano and Stefano Fabri) 2010-11-30 01:34:39 +00:00
Vadim Pisarevsky
8af2d0acb4 fixed recent failures in shape-convhull & shape-minarearect 2010-11-30 00:17:43 +00:00
Vadim Pisarevsky
b1722352b8 fixed severe bug: CV_RANSAC != CV_FM_RANSAC, CV_LMEDS != CV_FM_LMEDS 2010-11-29 23:56:33 +00:00
Vadim Pisarevsky
bad4ca2a51 added the optional balanced cross-validation in SVN::train_auto (by arman, ticket #314) 2010-11-29 22:37:02 +00:00
P. Druzhkov
16f50dbe50 bug with negative class labels is fixed 2010-11-29 21:58:52 +00:00
Vadim Pisarevsky
70d2c57e35 moved estimateAffine3D declaration from imgproc to calib3d, where it is really implemented (ticket #705) 2010-11-29 20:51:02 +00:00
Vadim Pisarevsky
eea43c6a46 added CV_CALIB_RATIONAL_MODEL for better backward compatibility 2010-11-29 20:06:44 +00:00
Vadim Pisarevsky
a937d9d43c unified the coordinate interpretation in RotatedRect (ticket #425) 2010-11-29 18:14:08 +00:00
Vadim Pisarevsky
9c0b300f52 added some protection against some singular cases in solvePnP/cvFindExtrinsicCameraParams2 2010-11-29 16:43:03 +00:00
Vadim Pisarevsky
6a6ee6403c fixed allocation bug in SVM training (ticket #511) 2010-11-29 16:02:13 +00:00
Vadim Pisarevsky
fa1d85bc14 removed obsolete headers from opencv.hpp, fixed 2 gcc warnings and bug in SVBackSubst(). 2010-11-29 15:31:25 +00:00
Maria Dimashova
c104cdce96 made random generators of MLL classes depended on default rng (theRNG) (#205). 2010-11-29 14:04:08 +00:00
Alexey Spizhevoy
b260382840 added masks support into gpu::minMaxLoc 2010-11-29 13:56:43 +00:00
Maria Dimashova
7c4cff994c fixed sift descriptor 2010-11-29 13:44:10 +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
Maria Dimashova
dd14dc5de3 fixed #517; uncommented ertrees test and moved it to black llist 2010-11-29 09:34:06 +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
1066bd2fa2 removed double support (gpu: minMax, minMaxLoc, countNonZero) for CC which doesn't have native double support 2010-11-29 07:31:09 +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
Vadim Pisarevsky
a3dfba36a1 fixed crashes in camshiftdemo sample 2010-11-28 19:44:01 +00:00
Anatoly Baksheev
4c6ffc7c77 temporary removed VERSION_VAR (because this requires cmake 2.8.3) 2010-11-28 11:12:35 +00:00
Ethan Rublee
64f9f7f23c Adding optimization for brief and android using NEON SIMD intrinsics 2010-11-28 05:41:50 +00:00
Vadim Pisarevsky
cbe132cabe several small fixes; added overloaded variant of cv::drawChessboardCorners 2010-11-27 23:16:50 +00:00
Vadim Pisarevsky
01c1003d51 fixed warnings and errors reported by VS2010 2010-11-26 18:25:30 +00:00
Vadim Pisarevsky
54ef4c08c2 moved some old stuff to the legacy module; merge "compat_c.h" headers and moved to the legacy as well. moved implementation of many non-critical/obsolete inline functions and methods to .cpp to improve Opencv build time 2010-11-26 17:58:20 +00:00
Anatoly Baksheev
fbdb4f4ab5 1) gpu test refactoring.
2) fixed gpu bm test fail
3) CMAKE_MINIMUM_REQUIRED(VERSION 2.8.3)
2010-11-26 17:24:12 +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
Anatoly Baksheev
e470246ab5 restored version check (VERSION_VAR) 2010-11-26 15:51:43 +00:00
Martin Baeum
a7d979fb7e remove spurious VERSION_VAR (fixes #711) 2010-11-26 13:19:42 +00:00
Maria Dimashova
5802ea39b1 fixed warnings of gcc 2010-11-26 12:15:08 +00:00
Maria Dimashova
354be115f2 made MaskPredicate safer (#419) 2010-11-26 10:57:01 +00:00
Maria Dimashova
dfe4af9e1d fixed warnings under win32 2010-11-26 10:35: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
Vadim Pisarevsky
59e2afe4d2 fixed the ordering of parameters in PyArg_ParseTupleAndKeywords, added correct Ptr<CvDTreeSplit>::delete_obj() (ticket #406) 2010-11-25 23:16:32 +00:00
Vadim Pisarevsky
8967a1289a fixed problem with missing minMaxIdx (ticket #703) 2010-11-25 18:32:40 +00:00
Vadim Pisarevsky
1286c1db45 fixed multiple warnings from VS2010. 2010-11-25 16:55:46 +00:00
Maria Dimashova
7e5c11a920 added tests for some detectors; made features2d object create functions as static classes methods; fixed OpponentColorDescriptorExtractor, BriefDescriptorExtractor (on rgb); renamed DynamicDetector 2010-11-25 15:59:37 +00:00
Alexey Spizhevoy
9ad7a1c927 fixed compile time errors in gpu module (if one compiles without CUDA) 2010-11-25 11:52:15 +00:00
Vadim Pisarevsky
abfcf8a257 renamed PooledAllocator::malloc to PooledAllocator::allocateBytes, Matrix::free to Matrix::release to avoid conflicts with VisualStudio 2010-11-25 10:52:57 +00:00
Anatoly Baksheev
36ebf4ef0d cuda+npp version check at configure time. 2010-11-25 10:42:09 +00:00
Vadim Pisarevsky
03aa0c9fec fixed 2 warnings from VS2010 64-bit 2010-11-25 10:33:25 +00:00
Alexey Spizhevoy
fa5422a2ad added buf support into gpu::minMax 2010-11-25 10:19:06 +00:00
Vadim Pisarevsky
b7e9c6229b fifixed compile problem on VS2010 64-bit. fixed L1 and L2 distances 2010-11-25 10:05:03 +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
Maria Dimashova
c46546203f fixed compile error under win32 2010-11-25 09:22:22 +00:00
Anatoly Baksheev
7c77787c84 npp version check 2010-11-25 08:42:12 +00:00
Vadim Pisarevsky
334ac49d34 added user mode selection (thanks to tito for the patch, ticket #563) 2010-11-24 22:54:52 +00:00
Vadim Pisarevsky
beee6f2f70 pass the correct rgb->gray coefficients to PNG decoder, to match cvtColor's. 2010-11-24 19:50:52 +00:00
Anatoly Baksheev
d6686240d5 added version detection for NPP 2010-11-24 18:44:11 +00:00
Maria Dimashova
0a2881adcd added to DetectorExtractor test the check of compute() on empty data. Added test for BRIEF. 2010-11-24 16:03:11 +00:00
Alexey Spizhevoy
27690e3b6e added minMaxLoc function into gpu module 2010-11-24 11:40:14 +00:00
Vadim Pisarevsky
d366c0b2fa fixed canny test; fixed mhi-global test & implementation (hopefully, for the last time); added sse 4.1 & 4.2 support (not working in Xcode for some reason); moved splineInterpolation to color.cpp; fixed a few bugs in documentation 2010-11-24 09:46:46 +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
13d18d65a8 added support of multichannel matrices in gpu::minMax 2010-11-24 09:03:37 +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
Ethan Rublee
6a689d82a3 Continue to refeactor the dynamic stuff - may have broken build on last commit.
Fairly certain that it builds now.
2010-11-23 22:45:49 +00:00
Ethan Rublee
f6b0818996 refactoring dynamic detectors 2010-11-23 22:26:36 +00:00
Maria Dimashova
c6e43c385d updated documentation on features2d; minor features2d changes 2010-11-23 17:00:55 +00:00
Vadim Pisarevsky
f5e5b677c9 added hconcat & vconcat functions for joining matrices; moved some inline functions out of the headers; fixed several bugs in documentation; removed MatND from docs 2010-11-23 16:39:20 +00:00
Vladislav Vinogradov
35e8d700c6 fixed compile errors 2010-11-23 09:00:32 +00:00
Vladislav Vinogradov
dd2fe821c2 deleted NPP_VERSION and NPP_HAVE_COMPLEX_TYPE macros, because last NPP supports complex types under linux 2010-11-23 08:21:26 +00:00
Ethan Rublee
89c4bc54d9 fix little warning - opencv2/imgproc/types_c.h:235: warning: comma at end of enumerator list 2010-11-23 00:06:33 +00:00
Ethan Rublee
da05e6609a Adding some dynamic feature detectors... 2010-11-22 23:59:25 +00:00
Vadim Pisarevsky
92fb499ba9 added type selection in the Kalman filter (thanks to Nghia Ho for the patch; see ticket #693) 2010-11-22 21:05:22 +00:00
Maria Dimashova
e406dfee44 refactored features2d and sample on matching to many images 2010-11-22 18:27:08 +00:00
Vadim Pisarevsky
cf0d9da643 added 64f support in cv::resize 2010-11-22 17:37:29 +00:00
Vadim Pisarevsky
17a5e02eca integrated multi-threaded version of SURF (thanks to imahon and yvo2m for the patch; see ticket #275) 2010-11-22 17:02:51 +00:00