Commit Graph

702 Commits

Author SHA1 Message Date
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
Vadim Pisarevsky
a275e515af fixes bugs #624 and #625 (thanks to chaene!) 2010-11-22 15:32:18 +00:00
Vadim Pisarevsky
79bcae4e52 fixed background image reader (thanks to albertzeyer for the patch - ticket #651) 2010-11-22 15:22:13 +00:00
Alexey Spizhevoy
d7c0c72b75 fixed scaling in gpu HOG 2010-11-22 14:13:23 +00:00
Vadim Pisarevsky
636cb15f3d add protection against EAGAIN error in the streams (thanks to vrabaud for the patch - ticket #553) 2010-11-22 13:07:43 +00:00
Vadim Pisarevsky
e18427b139 another fix on the ticket #518 - ignore all the circles with radius outside of the specified range 2010-11-22 12:53:11 +00:00
Vadim Pisarevsky
ce41f74ab4 decreased the lower canny threshold in HoughCircles, helps to detect some circles in low-contrast images (ticket #518) 2010-11-22 12:16:38 +00:00
Alexey Spizhevoy
732bd621bb added masks support for bitwise operations on GPU 2010-11-22 09:39:34 +00:00
Vadim Pisarevsky
3163cfb845 added 16-bit tiff support, enabled LZW codec in tiff (tickets #588, #590) 2010-11-21 21:50:45 +00:00
Vadim Pisarevsky
2c03c14f7b probably fixed the bug in ANN::calc_output_scale with update_weights=true (ticket #558) 2010-11-21 13:54:19 +00:00
Vadim Pisarevsky
feb0de80e1 avoid use of writable global variables in V4L capturing module (thanks to fjmadrid for the patch! - see the ticket #384) 2010-11-21 13:09:37 +00:00
Andrey Morozov
680dc71bc5 fixed compilation error and warnings under ubuntu 2010-11-20 14:41:28 +00:00
Vadim Pisarevsky
3a8df6034f fixes Mat::empty() and Mat::create() in the case of zero sizes (ticket #691) 2010-11-20 13:16:16 +00:00
Vadim Pisarevsky
9785cc1427 removed memset in cv::pyrMeanShiftFiltering (ticket #664) 2010-11-20 12:39:52 +00:00
Vadim Pisarevsky
4d676165ea incorporated several critical fixes in EM implementation from Albert G (ticket #264) 2010-11-20 12:34:16 +00:00
Vadim Pisarevsky
de4f1aeb06 fixed some GCC 4.4 warnings 2010-11-20 12:05:28 +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
Vadim Pisarevsky
96ad3b57b8 LANCZOS4 interpolation constant added to C interface 2010-11-18 22:04:32 +00:00
Vadim Pisarevsky
ea6b441052 extended cv::convertPointsHomogeneous to handle 4D input. corrected documentation 2010-11-18 22:03:20 +00:00
Vadim Pisarevsky
fd7b058b8b DataType::generic renamed to DataType::generic_type (ticket #681) 2010-11-18 10:54:12 +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
Kirill Kornyakov
515bdfa71e added max window size parameter for cascade classifier 2010-11-18 09:10:47 +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
Alexey Spizhevoy
4568d702ff added getPeopleDetector_48x96 into gpu HOG 2010-11-17 08:31:24 +00:00
Vadim Pisarevsky
9b8c712a81 added operator != for some basic structures (ticket #678) 2010-11-16 16:58:40 +00:00
Vadim Pisarevsky
d6b0e8fb69 fixed wrapper generation 2010-11-16 16:52:20 +00:00
Maria Dimashova
0af4d09aa9 fixed linker error undo mingw (#657) 2010-11-16 15:42:31 +00:00
Maria Dimashova
0ad9edfbd5 removed unnecessary fix 2010-11-16 15:27:40 +00:00
Anatoly Baksheev
edff674105 added default detector for winSize(64,128) for hog on gpu 2010-11-16 12:33:19 +00:00
Vladislav Vinogradov
be54f1237a minor fix 2010-11-16 07:40:37 +00:00
Alexey Spizhevoy
cc6a87fc9d fixed big in gpu::HOGDescriptor, added property into CPU's HOGDescriptor 2010-11-16 07:40:32 +00:00
Vadim Pisarevsky
e954577304 fixed duplicated external symbols in the static version of OpenCV 2010-11-15 21:23:14 +00:00
Vadim Pisarevsky
6eb36a5569 keep the SURFPoint.laplacian as KeyPoint.class_id (ticket #341) 2010-11-15 21:08:28 +00:00
Vadim Pisarevsky
6cd01dc6ca mapstep type was also changed to ptrdiff_t (ticket #157) 2010-11-15 20:59:09 +00:00
Vadim Pisarevsky
1fce36a164 try to make a more elegant workaround for the incorrectly generated code in Canny (ticket #157) 2010-11-15 20:53:33 +00:00
Vadim Pisarevsky
e20994d41c added range check in the keypoint interpolation in SURF algorithm (ticket #497) 2010-11-15 20:26:21 +00:00
Vadim Pisarevsky
08e9d85582 removed cv prefix 2010-11-15 20:09:55 +00:00
Ethan Rublee
d84931e456 small brief edit, was trying to allow user to pass integral image but this introduced some bugs, so no longer doing this...
for now.
2010-11-15 18:14:14 +00:00
Ethan Rublee
29b94ceef9 Fixing a small error in compilation for gpu - anatoly should review. 2010-11-15 17:42:34 +00:00
Vadim Pisarevsky
08b7855edc extended out << mat/vec operators; added opencv license 2010-11-15 17:40:57 +00:00
Anatoly Baksheev
f2df784830 fixed error reporting in GPU module (exceptions in destructors, etc) 2010-11-15 16:22:52 +00:00
Anatoly Baksheev
d7d0754f38 fixed compilation error under nvcc 2010-11-15 13:51:48 +00:00
Alexey Spizhevoy
fada88e100 fixed some bugs, added tests for gpu::HOGDescriptor 2010-11-15 12:51:30 +00:00
Alexey Spizhevoy
13134595fd added HOGDescriptor on GPU 2010-11-15 11:01:56 +00:00
Maria Dimashova
7bd4ba990a fixed compile error undo win32 (due to int32_t using) 2010-11-15 10:24:38 +00:00
Anatoly Baksheev
ac5298815a some device layer utility functions 2010-11-15 08:42:10 +00:00
Vladislav Vinogradov
19544b3d54 fixed gpu linear filters 2010-11-15 07:57:30 +00:00
Ethan Rublee
d84b970bf2 adding the Brief descriptor, associated hamming distance functors for bruteforce matching. Also adding cout << cv::Mat functions in core. 2010-11-14 06:27:48 +00:00
Vadim Pisarevsky
4065f17aa0 fixed uninitialized variable use in writeGraph (reported by valgrind when running opencv_test_core) 2010-11-13 22:00:10 +00:00
Vadim Pisarevsky
5791e89e4d fixed buffer allocation for constant-value borders in the filter engine (ticket #524) 2010-11-13 21:59:07 +00:00
Vadim Pisarevsky
15f56c8aa1 fixed member initialization in the sparse bundle adjustment code (ticket #385) 2010-11-13 20:31:47 +00:00
Vadim Pisarevsky
bffb5f8b58 fixed initialization of the border interpolation table in the filter engine (ticket #161) 2010-11-13 20:23:20 +00:00
Vadim Pisarevsky
28de198c75 switched from 8-point kernel to 7-point kernel in the fundamental matrix estimator (fixes some corner cases; see ticket #434) 2010-11-12 21:07:41 +00:00
Vadim Pisarevsky
957cff2493 rewrote matchTemplate in C++; added border awareness to crossCorr (ticket #557) 2010-11-12 20:57:01 +00:00
Vadim Pisarevsky
9e7b8d5f67 rewrote matchTemplate in C++; added border awareness to crossCorr (ticket #557) 2010-11-12 20:55:32 +00:00
Vadim Pisarevsky
8217b34f60 fixed transparent border handling one more time (tickets #572 & #575) 2010-11-12 14:40:29 +00:00
Maria Dimashova
7192bf951c minor 2010-11-12 14:04:35 +00:00
Maria Dimashova
e3ee2677c7 added CV_EXPORTS to OpponentColorDescriptorExtractor 2010-11-12 08:20:51 +00:00
Victor Erukhimov
b4c38f905a Fixed a build problem in windows 2010-11-11 20:00:19 +00:00
Maria Dimashova
cb3711d51d fixed SURF::operator() (#423) 2010-11-11 16:06:22 +00:00
Maria Dimashova
b12588f702 fixed MserFeatureDetector 2010-11-11 15:45:54 +00:00
Anatoly Baksheev
c8e93da01d minor (compilation fix) 2010-11-11 12:05:48 +00:00
Maria Dimashova
762cf182ef modified grabCut: noise is added only if covariance determinant = 0 2010-11-11 12:04:40 +00:00
Vadim Pisarevsky
79ca6d8995 fixed sparse histogram update (ticket #526) 2010-11-10 21:23:04 +00:00
Vadim Pisarevsky
e15a2ea95a fixed remap with transparent border (ticket #582) 2010-11-10 21:14:57 +00:00
Vadim Pisarevsky
e6b2efeb11 further improved accuracy of Delaunay triangulation (ticket #433) 2010-11-10 20:45:54 +00:00
Vadim Pisarevsky
728f0eb2f5 fixed infinite loop in FileStorage::open when reading incomplete XML's (ticket #663) 2010-11-10 20:11:07 +00:00
Anatoly Baksheev
55a722fc9d some utility for GPU module internal purposes 2010-11-10 17:05:36 +00:00
Maria Dimashova
f76d393910 fixed grabCut: moved to double precision and added the noise to avoid zero determinant of covariance matrix 2010-11-10 15:24:11 +00:00
Ethan Rublee
458931613c Making highgui build for android 2010-11-09 19:19:59 +00:00
Vadim Pisarevsky
9130d5bae1 put extra check to cv::findChessboardCorners (ticket #648) 2010-11-09 15:45:56 +00:00
Vadim Pisarevsky
7f3ae3a011 fixed crash in color-luv when OpenCV is built using GCC 4.1 2010-11-09 14:32:06 +00:00
Maria Dimashova
d7c86bbcdc minor change of BOW 2010-11-08 15:21:56 +00:00
Vladislav Vinogradov
863d61e9eb fix gpu module compilation under linux 2010-11-08 09:55:10 +00:00
Vadim Pisarevsky
4cdcf37139 fixed cvPreprocessIndexArray (ticket #517) 2010-11-07 20:58:58 +00:00
Vadim Pisarevsky
402ef4c9cb correct 2 bugs in cvSolveCubic (linear and quadratic cases: tickets #525 and #364) 2010-11-07 19:23:48 +00:00
Vadim Pisarevsky
378af78e6a made calcBackproject slightly more robust. 2010-11-07 13:58:15 +00:00
Vadim Pisarevsky
018aba7507 a few small fixes in Matx operators 2010-11-06 22:10:21 +00:00
Vadim Pisarevsky
d8ace43753 fixed some more tests on Windows; changed inheritance Matx -> Vec to Vec -> Matx 2010-11-06 21:51:21 +00:00
Vadim Pisarevsky
5a53d82e30 fixed most of the failures in opencv_test 2010-11-06 14:56:01 +00:00
Vadim Pisarevsky
ced8192174 fixed several GCC warnings; fixed crash in kmeans test (because of cv::swap(Mat&a, Mat&b)) (ticket #616) 2010-11-04 15:59:10 +00:00
Vadim Pisarevsky
b5f366fb70 fixed possible overflow in getThreshVal_Otsu_8u (ticket #602) 2010-11-04 12:38:27 +00:00
Vadim Pisarevsky
8a8ba57b20 fixed building Python wrappers when Numpy is not available 2010-11-03 17:57:51 +00:00
Maria Dimashova
37c1204d55 updated doc on common interfaces of features2d; added some method for GenericDescriptorMatcher 2010-11-03 16:39:58 +00:00
Maria Dimashova
4a43041309 minor changes 2010-11-03 10:00:24 +00:00
Vadim Pisarevsky
5b6a755719 almost finished Python wrappers 2010-11-02 17:58:22 +00:00
Anatoly Baksheev
c923b258f4 fixed compilation under gcc 2010-11-01 15:13:17 +00:00
Anatoly Baksheev
7f56e5b2dd compilation errors 2010-11-01 12:49:45 +00:00
Anatoly Baksheev
4ea811c568 Fixed a minor bug in PtrElemStep::ptr 2010-11-01 12:48:47 +00:00
Ethan Rublee
9ee954a0c6 Made calibration a bit faster in the absense of a checkboard and trying to fix
a crash with the libv4l capture code
2010-11-01 06:20:36 +00:00
Ethan Rublee
40c05d8418 Brute force implementation had issues with the type of distances it was storing.
Rectified this, hopefully.
2010-11-01 05:34:51 +00:00
Anatoly Baksheev
cac2e9bc80 compilation errors under GCC 2010-10-31 17:15:09 +00:00
Anatoly Baksheev
d661b8e3e2 added PtrStep PtrElemStep structures. Refactored name spaces, 2010-10-31 13:23:25 +00:00
Maria Dimashova
755bb956d6 fixed compile error on Win 2010-10-29 14:39:23 +00:00
Vadim Pisarevsky
00ec555252 extended Python bindings; not merged into cv.cpp yet; and many of the helper functions, like pyopencv_to_*, pyopencv_from_* etc. are still missing 2010-10-29 13:11:53 +00:00
Vadim Pisarevsky
893fb90b87 extended Python bindings; not merged into cv.cpp yet; and many of the helper functions, like pyopencv_to_*, pyopencv_from_* etc. are still missing 2010-10-29 13:09:49 +00:00
Maria Dimashova
69e329c9fd modified features2d interface; added algorithmic test for DescriptorMatcher; added sample on matching to many images 2010-10-29 08:44:42 +00:00
Vadim Pisarevsky
83f6085773 added more helper macros to the function declarations, to assist the Python wrapper generator. Fixed memleak in Mat::operator()(Range,Range) and the related functions (Mat::row, Mat::col etc.) 2010-10-27 18:26:39 +00:00
Stefano Fabri
4c29ffecc0 Reverting, release beahviour was changed. Investigating on deallocate() issue 2010-10-26 13:55:16 +00:00
Stefano Fabri
e320e4e69c Linking doesn't find deallocate() 2010-10-26 13:42:25 +00:00
Vladislav Vinogradov
80c1aecfe5 moved gpu::cvtColor from imgproc_gpu.cpp to color.cpp 2010-10-26 09:37:24 +00:00
Vladislav Vinogradov
2c39f0ee33 fix unnecessary memory allocation in gpu::magnitude and gpu::phase 2010-10-26 05:44:50 +00:00
Ethan Rublee
c9e06a0723 define expl as exp on android - may break things.
opencv/modules/ml/src/gbt.cpp
2010-10-25 20:15:45 +00:00