Commit Graph

406 Commits

Author SHA1 Message Date
Vadim Pisarevsky
8bb422b1fc fixed potential buffer size overflow in Boost::update_weight, bug #1524 (thanks to benlemna for the patch) 2012-03-26 09:53:52 +00:00
Vadim Pisarevsky
846e37ded5 fixed many warnings from GCC 4.6.1 2012-03-17 09:22:31 +00:00
Andrey Kamaev
984eb99428 Global CMake reorganization:
[~] Automatically tracked dependencies between modules
 [+] Support for optional module dependencies
 [+] Options to choose modules to build
 [~] Removed hardcoded modules lists from OpenCVConfig.cmake, opencv.pc and OpenCV.mk
 [+] Added COMPONENTS support for FIND_PACKAGE(OpenCV)
 [~] haartraining and traincascade are moved outside of modules folder since they aren't the modules
2012-02-03 11:26:49 +00:00
Maria Dimashova
48ea65e69c fixed traincascade for ordered features 2011-12-22 11:19:27 +00:00
Vadim Pisarevsky
2547f7554e fixed memory corruption in CvEM::read() (ticket #1399) 2011-12-03 18:55:40 +00:00
Maria Dimashova
a3ce652eb4 fixed CvRTrees::read in case nactive_vars==var_count (thanks to Malcolm Reynolds) 2011-11-10 13:40:11 +00:00
Alexander Mordvintsev
a0af870719 added CV_OUT to CvANN_MLP::predict
python cv2 MLP sample done
2011-08-14 04:32:27 +00:00
Andrey Kamaev
d7a9b99b1d Documentation: fixed references for C++ operators 2011-08-13 21:39:10 +00:00
Andrey Kamaev
d6e3ccc1b2 Documentation: fixed about 100 cross-referencing errors. 2011-08-13 16:49:40 +00:00
Maria Dimashova
abd12c052a fixed doc warning 2011-08-09 09:59:44 +00:00
Maria Dimashova
fd27ba248b added doc on CvERTrees 2011-08-09 09:52:08 +00:00
Maria Dimashova
221422467e fixed priors usage in ertrees 2011-07-24 18:15:53 +00:00
Vadim Pisarevsky
b700521b95 fixed trim_weights in boosting (thanks to frankman for the patch; ticket #1231) 2011-07-22 12:20:43 +00:00
Vadim Pisarevsky
4e099d2e5c fixed memory leak in CvKNearest::train() and the constructor. 2011-07-08 06:48:18 +00:00
Vadim Pisarevsky
0940573e8b fixed a few more typos in the docs. 2011-07-07 16:59:09 +00:00
Vadim Pisarevsky
a5d53e3e2f some more corrections from Gabor 2011-07-01 12:09:39 +00:00
Vadim Pisarevsky
6c8a2b8888 propagated fixes in docs and cap_dshow to trunk 2011-07-01 09:39:22 +00:00
Vadim Pisarevsky
cc9a1bb62f propagated some more fixes from 2.3 branch to the trunk 2011-06-30 12:06:26 +00:00
Bernat Gabor
762bc0f8af Some reST syntax correction. Now the PDF documentation builds correctly under Windows using MIKTEX. Some update on the tutorial structure. Some CSS syntax correction. Windows Install Tutorial v0.4. 2011-06-30 00:41:41 +00:00
Vadim Pisarevsky
b204e73d9a propagated some more fixes from 2.3 branch to the trunk 2011-06-29 22:06:42 +00:00
Ilya Lysenkov
10065d3321 Trunk: moved contructors implementations from .hpp to .cpp 2011-06-24 12:48:00 +00:00
Ilya Lysenkov
2c958b2598 Trunk: moved contructors implementations from .hpp to .cpp 2011-06-24 12:25:52 +00:00
Vadim Pisarevsky
49467947ac propagated some fixes from 2.3 to trunk 2011-06-23 12:00:09 +00:00
Vadim Pisarevsky
0e14fef96e fixed warnings in gbt; added insertChannel() and extractChannel(); made the code "rand{u|n}(arr, <number>, <number>)" work properly. 2011-06-18 10:56:49 +00:00
Maria Dimashova
907240a865 completed doc on MLData 2011-06-17 11:40:54 +00:00
Maria Dimashova
814336f4cb Added doc on CvMLData 2011-06-17 10:13:53 +00:00
Maria Dimashova
fc04b7ab4f minor refactoring of CvMLData interface 2011-06-17 10:11:52 +00:00
Vadim Pisarevsky
8d8ef596c8 introduced new RST/Sphinx domain ocv. 2011-06-16 12:48:23 +00:00
Maria Dimashova
0209d72534 minor change (moved methods implementation from hpp to cpp) 2011-06-16 12:35:40 +00:00
P. Druzhkov
e20d570ed1 brief gbt documentation added. some sample fixes made. code updated. 2011-06-15 21:54:25 +00:00
Vadim Pisarevsky
06ac78ee23 some more corrections in the docs 2011-06-15 13:16:57 +00:00
Maria Dimashova
2920796800 minor 2011-06-15 10:11:20 +00:00
Anatoly Baksheev
8f4c7db3f6 ~40 warnings under VS2008
HAVE_CONFIG_H -> HAVE_CVCONFIG_H
2011-06-11 17:24:09 +00:00
Vadim Pisarevsky
f9fc180e1a fixed tickets #1117 and #954 2011-06-10 17:22:33 +00:00
Vadim Pisarevsky
bb8198abfd continued cleaning up the docs and fixing hyperlinks (".. index:: <name>" and ".. _<name>:" are not needed anymore) 2011-06-09 21:47:57 +00:00
Vadim Pisarevsky
20aca7440f a lot of small corrections to bring down the number of undocumented functions, reported by the script; added em.cpp sample 2011-06-09 01:16:45 +00:00
Vadim Pisarevsky
2d2b8a496e renamed "None()" to "noArray()" to avoid conflicts with X11 (ticket #1122) 2011-06-08 06:55:04 +00:00
Vadim Pisarevsky
c7a42e9682 started work on API & doc synchronization (in particular, Mat& => Input/OutputArray in the descriptions) 2011-06-07 22:51:31 +00:00
Maria Dimashova
bdae962e13 removed constraint to max_iter in CvANN_MLP (#1110) 2011-06-07 12:28:18 +00:00
Maria Dimashova
9e21f06404 replaced M_PI by CV_PI 2011-06-07 12:08:36 +00:00
Maria Dimashova
3dc03531e1 added CvEM read/write (#1032) 2011-06-07 10:05:23 +00:00
Vadim Pisarevsky
0c877f62e9 replaced "const InputArray&" => "InputArray"; made InputArray and OutputArray references. added "None()" constant (no array()). 2011-06-06 14:51:27 +00:00
Vadim Pisarevsky
23768b1826 replaced #include <some_opencv_hdr> with #include "some_opencv_hdr" (ticket #719) 2011-05-21 18:32:34 +00:00
Elena Fedotova
718f56e6ad Purpose: completed the ml chapter 2011-05-15 19:15:36 +00:00
P. Druzhkov
15f7918e34 problem with the supported data matrices types is fixed
minor fixes in CvGBTrees, its test and sample
2011-05-11 07:58:47 +00:00
Anatoly Baksheev
8ebff41c29 more warnings fixed. +some warnings in examples 2011-05-07 12:06:58 +00:00
Anatoly Baksheev
1c18e5fef9 fixed ~300 warnings under windows (had to hack gtest a bit) 2011-05-06 21:45:48 +00:00
Vadim Pisarevsky
ae8f2eeac2 restored img_proc_test main() call; removed windows.h from ml.hpp 2011-05-06 11:51:39 +00:00
Maria Dimashova
2f81eb22f6 fixed #887 2011-05-02 17:04:29 +00:00
Maria Dimashova
5c9e6b7059 fixed CvGBTrees 2011-04-30 18:02:56 +00:00
Maria Dimashova
481d0b2c56 fixed CvBoost 2011-04-30 17:39:24 +00:00
Vadim Pisarevsky
21f962c315 small correction to the previous patch (also by Konstantin Krivakin) 2011-04-20 17:56:25 +00:00
Vadim Pisarevsky
17a2480a21 integrated parallel SVM prediction; fixed warnings after meanshift integration 2011-04-19 16:20:44 +00:00
Vadim Pisarevsky
abeeb40d46 a big patch; use special proxy types (Input/OutputArray, Input/OutputArrayOfArrays) for passing in vectors, matrices etc. 2011-04-17 13:14:45 +00:00
Vadim Pisarevsky
b9fa21d011 normal bayes classifier has been parallelized using TBB; letter_recog sample updated to demosntrate knearest & bayes classifiers (thanks to Konstantin Krivakin for the patches) 2011-04-14 17:04:39 +00:00
Andrey Kamaev
b906ad3108 Test system included into Android build 2011-04-11 14:47:06 +00:00
Vadim Pisarevsky
253d8c683e knearest training has been threaded (thanks to Konstantin Krivakin) 2011-04-01 11:24:15 +00:00
Vadim Pisarevsky
800266dd52 parallel training of a neural net using TBB (thanks to Konstantin Krivakin) 2011-03-22 17:40:58 +00:00
Vadim Pisarevsky
73f589e8a5 further docs cleanup 2011-03-08 22:22:24 +00:00
Vadim Pisarevsky
5c3447c125 added pictures for OpenCV 2.x reference manual; fixed some build problems and done some more cleanup work 2011-03-05 21:26:13 +00:00
Vadim Pisarevsky
f025e4739a some more doc cleanup 2011-03-03 07:29:55 +00:00
Vadim Pisarevsky
4bb893aa9f the first round of cleaning up the RST docs 2011-02-28 21:26:43 +00:00
Vadim Pisarevsky
24ccbccf63 cleaned RST formatting a bit 2011-02-26 11:05:10 +00:00
Vadim Pisarevsky
371aa08006 OpenCV reference manual (C++ part only for now) is now produced directly from RST, not from TeX. 2011-02-22 20:43:26 +00:00
Vadim Pisarevsky
c5e3869c32 replaced alloca() (a.k.a. cvStackAlloc) with AutoBuffer or vector() everywhere. cvStackAlloc() is still defined, but we do not need alloca() anymore to compile and run OpenCV (fixes #889 and may be some others) 2011-02-18 10:36:18 +00:00
Vadim Pisarevsky
0e81d9a11c replaced alloca() (a.k.a. cvStackAlloc) with AutoBuffer or vector() everywhere. cvStackAlloc() is still defined, but we do not need alloca() anymore to compile and run OpenCV (fixes #889 and may be some others) 2011-02-18 10:31:14 +00:00
Vadim Pisarevsky
65a7f13af3 replaced alloca() (a.k.a. cvStackAlloc) with AutoBuffer or vector() everywhere. cvStackAlloc() is still defined, but we do not need alloca() anymore to compile and run OpenCV (fixes #889 and may be some others) 2011-02-18 10:29:57 +00:00
Vadim Pisarevsky
061b49e0b2 reworked nearly all of the OpenCV tests (except for opencv_gpu tests) - they now use the Google Test engine. 2011-02-09 20:55:11 +00:00
Maria Dimashova
811f6fbe92 fixed CvBoost 2011-02-04 15:06:26 +00:00
Maria Dimashova
073a8a6f27 fixed CvBoost 2011-01-12 12:53:36 +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
ed934ed6fc fixed GBTrees build on NetBSD & Android; fixed GPU brute force matcher test build on MacOSX 2010-12-06 19:42:16 +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
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
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
6a6ee6403c fixed allocation bug in SVM training (ticket #511) 2010-11-29 16:02:13 +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
Maria Dimashova
dd14dc5de3 fixed #517; uncommented ertrees test and moved it to black llist 2010-11-29 09:34:06 +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
1286c1db45 fixed multiple warnings from VS2010. 2010-11-25 16:55:46 +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
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
Vadim Pisarevsky
4cdcf37139 fixed cvPreprocessIndexArray (ticket #517) 2010-11-07 20:58:58 +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
5b6a755719 almost finished Python wrappers 2010-11-02 17:58:22 +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
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
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
Vadim Pisarevsky
bf584f0d0a fixed a couple of warnings and 2 possible bugs 2010-10-18 09:03:54 +00:00
Vadim Pisarevsky
1b1eab8e67 added helper macros to the function declarations 2010-10-16 20:34:34 +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
Maria Dimashova
0c771221a3 fixed problem with surrogate splits in decision trees training 2010-09-22 06:55:51 +00:00
Maria Dimashova
7d94f256e6 fixed CvDTree and CvForestTree find_best_split() methods 2010-09-10 15:44:46 +00:00
Maria Dimashova
82a98521ed fixed SVM 2010-08-09 15:43:06 +00:00
Vadim Pisarevsky
758e826d2e do not use WIN64/_WIN64 anymore - CMake did not set it anyway. Use WIN32 + __x86_64 or _M_X64 instead. Also, make VideoInput optional (WITH_VIDEOINPUT=ON/OFF) => now Mingw-dw2 can build OpenCV 2010-07-16 22:38:57 +00:00
Vadim Pisarevsky
5e5b29f92b eliminated some GCC 4.x warnings 2010-07-16 15:31:52 +00:00
Vadim Pisarevsky
7ec4b59fac added #include "cvconfig.h" to make TBB and other 3rd party libs work correctly 2010-06-29 15:12:07 +00:00
Maria Dimashova
c15934dd2b modified default var_type values 2010-06-24 08:34:47 +00:00
Maria Dimashova
122a1c2bff fixed case of var_type==0 (ticket 397) 2010-06-23 17:00:12 +00:00
Maria Dimashova
be189a4578 fixed CvSVM 2010-05-30 11:28:43 +00:00
Maria Dimashova
a8bc74f2e1 fixed CvSVM 2010-05-30 11:03:42 +00:00
Vadim Pisarevsky
127d6649a1 "atomic bomb" commit. Reorganized OpenCV directory structure 2010-05-11 17:44:00 +00:00