berak
2bacd8b702
2 fixed unassigned reshapes in em ( #3674 )
11 years ago
Vladislav Vinogradov
7e2f7f45d7
fix bug #3690
...
removed invalid condition, it is always false
11 years ago
Ilya Lavrenov
32eb38ec98
fixed defects from coverity.com
11 years ago
Cosmin Boaca
f756171f7b
Fixed alignment
11 years ago
Cosmin Boaca
8782eb8657
Fixed alignment
11 years ago
Cosmin Boaca
2cd22a3ca3
Fixed broken alignment
11 years ago
Cosmin Boaca
97092e31bc
Added result_probabilities parameter to CvNormalBayesClassifier::predict method. Issue #3401
11 years ago
Cosmin Boaca
3985980b2f
Added returnDFVal parameter to parallel CvSVM::predict function
11 years ago
Daniil Osokin
5d2edced26
Added throwing exception when saving untrained SVM model
11 years ago
Ilya Lavrenov
6b9ebcbf3d
deleted extra semicolons
11 years ago
Piotr Miecielica
923698d700
Fixes of some memory leaks
11 years ago
Alexander Alekhin
f63b0dfaf4
svm: disable failed tests
11 years ago
Csaba Kertesz
6fb3b4f41c
Fix a memory leak in CvNormalBayesClassifier::train()
11 years ago
Mathieu Barnachon
0934344a3d
Update sample and code with external computation of HOG detector.
11 years ago
Vladislav Vinogradov
0c7663eb3b
Merge branch 'master' into gpu-cuda-rename
...
Conflicts:
modules/core/include/opencv2/core/cuda.hpp
modules/cudacodec/src/thread.cpp
modules/cudacodec/src/thread.hpp
modules/superres/perf/perf_superres.cpp
modules/superres/src/btv_l1_cuda.cpp
modules/superres/src/optical_flow.cpp
modules/videostab/src/global_motion.cpp
modules/videostab/src/inpainting.cpp
samples/cpp/stitching_detailed.cpp
samples/cpp/videostab.cpp
samples/gpu/stereo_multi.cpp
11 years ago
Roman Donchenko
24dee16b12
Added to CV_INIT_ALGORITHM a Ptr creation function, for convenience.
...
Also changed the static functions to inline, to stop GCC complaining
about unused functions.
11 years ago
Roman Donchenko
345bc633cc
Boring changes - ml.
11 years ago
Maria Dimashova
989be02562
fixed cpp wrappers of ML tree-based models
11 years ago
Mathieu Barnachon
4fbd5707f7
Fix warning on precision lost due to double to float conversion.
11 years ago
Mathieu Barnachon
7f3273c77f
Adding an export for HOGDetector compatibility.
...
An SVM train with HOG could export a single vector for HOGDetector.
11 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
11 years ago
Roman Donchenko
f55740da70
Deleted all trailing whitespace.
11 years ago
Roman Donchenko
d9f71b762f
Deleted almost all of the precomp.cpp files.
...
Looks like we don't actually use them; when creating precompiled headers
with Visual C++, a dummy .cpp is created at build time.
12 years ago
Nghia Ho
eb2720a908
missing fclose when returning early
12 years ago
Roman Donchenko
ac39bfb4cc
Remove HAVE_CVCONFIG_H - it's always defined.
12 years ago
Vladislav Vinogradov
e433145b7e
fix for Bug #3085 :
...
weights array is only allocated for (l_count+1) elements,
but then weights[l_count+1] element is accessed.
12 years ago
Roman Donchenko
29b13ec1de
Replaced most of the usages of parallel_for with that of parallel_for_.
...
This should allow many algorithms to take advantage of more parallelization
technologies.
12 years ago
Roman Donchenko
4143071e22
In CvBoost, delegated update_weights's implementation to a helper method.
...
This allows subclasses of CvBoost to override initial weights that
update_weights uses without duplicating its entire implementation.
12 years ago
Andrey Kamaev
517062039e
Make core/internal.hpp a private header
12 years ago
Andrey Kamaev
d62bc8cfbf
Remove more old definitions from internal.hpp
12 years ago
Andrey Kamaev
715fa3303e
Move cv::Mat out of core.hpp
12 years ago
Andrey Kamaev
cc6bdfb045
Remove inline sorting algorithms from core headers
12 years ago
Andrey Kamaev
2ad7b97f1c
All modules (except ocl and gpu) compiles and pass tests
12 years ago
Vadim Pisarevsky
e01335bf47
fixed buffer size and restored the use of compressed files in ml's load_save tests.
12 years ago
Vadim Pisarevsky
4331f76d18
add hack to disable optimization of linear svms; improved precision of optimize_linear_svm; add the relevant test, which however requires some big database (so it's disabled by default)
12 years ago
Vadim Pisarevsky
63a5587d0d
exploring possible bug in optimize_linear_svm
12 years ago
Vadim Pisarevsky
07e0f7bf59
refactored video module; use the new-style algorithms now
12 years ago
Andrey Kamaev
89356ff16d
Move non-CV functionality from core.hpp to separate utility.hpp header
12 years ago
Vadim Pisarevsky
a06af5ca25
dramatic speedup of SVM::predict in the case of linear SVM
12 years ago
Andrey Kamaev
ad5cddc007
Main module headers are moved 1 level up
...
e.g. <opencv2/core/core.hpp> become <opencv2/core.hpp>
Also renamed <opencv2/core/opengl_interop.hpp> to <opencv2/core/opengl.hpp>
12 years ago
Andrey Kamaev
351ecbbcce
Repair build
12 years ago
Andrey Kamaev
2a6fb2867e
Remove all using directives for STL namespace and members
...
Made all STL usages explicit to be able automatically find all usages of
particular class or function.
12 years ago
Markus Schoeler
5484a41960
Corrected a mistake in CHI2 kernel in line 354 and line 362 svm.cpp
...
Added new kernels to documentation
12 years ago
Markus Schoeler
ddb0afbc44
Changed line 1266 in svm.cpp to allow the new kernels to be used
12 years ago
Markus Schoeler
7cab6798c0
Added two kernels to existing SVM framework
...
Histogram intersection kernel (accessible by using SVM::INTER in CV namespace as kernel_type)
Exponetial chi2 kernel (accessible by using SVM::CHI2 in CV namespace as kernel_type)
Formulars:
Exp-CHI2
k(x,y) = exp(-gamma * CHI2(x,y))
CHI2(x,y) = 1- 2* SUM_i[(xi-yi)²/(xi+yi)]
Intersec
k(x,y) = SUM_i[min(xi,yi)]
12 years ago
Andy Maloney
b497380a68
Check memory allocation
...
Initialize local variables
12 years ago
LeonidBeynenson
87b0126e0d
Fixed dummy warning.
12 years ago
LeonidBeynenson
013d54c230
Changed types of some variables from int64 back to int.
...
Also corrected some indexes to be size_t.
12 years ago
marina.kolpakova
14ac8a528e
final refactoring and test for training
12 years ago
marina.kolpakova
716a9ccb71
move training to softcascade module
...
rename Octave -> SoftCascadeOctave
12 years ago