Sean McBride
35f1a90df7
Merge pull request #22149 from seanm:sprintf
...
Replaced sprintf with safer snprintf
* Straightforward replacement of sprintf with safer snprintf
* Trickier replacement of sprintf with safer snprintf
Some functions were changed to take another parameter: the size of the buffer, so that they can pass that size on to snprintf.
3 years ago
Alexander Alekhin
9097ccf515
drop legacy headers
6 years ago
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
6 years ago
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
7 years ago
Maksim Shabunin
b88609a921
Reduced direct TBB dependencies
7 years ago
mshabunin
695c518384
Updated TBB search script and code checks
8 years ago
greensea
7274e2ff1a
Fix a segment fault issue in cascade classfier
10 years ago
greensea
52c727f09a
Fix a segment fault issue in cascade classfier
...
work_var_count and sample_count are both 32bit integer, if the product of work_var_count and sample_count is bigger than 2^31, the compiler will treat (work_var_count*sample_count) as a negative number. Force work_var_count as an unsigned 64bit integer to avoid this issue.
10 years ago
VBystricky
f5987c258f
Fix small error in traincascade application
10 years ago
Anatoly Baksheev
37a754621a
Fixed compilation errors: removed using namespace from hpp file. This led to pulling cv::ACCESS_MASK to global namespace where conflict with the same name in 'windows.h'
...
Conflicts:
apps/traincascade/boost.cpp
11 years ago
Andrey Kamaev
bef34093aa
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.
(cherry picked from commit 2a6fb2867e
)
(only cherry picked "apps/trancascade")
11 years ago
Anatoly Baksheev
0dad070473
Fixed compilation errors: removed using namespace from hpp file. This led to pulling cv::ACCESS_MASK to global namespace where conflict with the same name in 'windows.h'
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
2a2c21bb63
Replace an incorrect usage of Ptr with a simple vector.
11 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
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
2b1ef95415
Completely separate C and C++ API of OpenCV core
12 years ago
Andrey Kamaev
cc6bdfb045
Remove inline sorting algorithms from core headers
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
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
LeonidBeynenson
87b0126e0d
Fixed dummy warning.
12 years ago
marina.kolpakova
c0f68ec400
add xml serialization
12 years ago
LeonidBeynenson
6de422701a
Made changes to allow ml module to work with big data.
12 years ago
Maria Dimashova
69296c3333
fixed #2165
13 years ago
Andrey Kamaev
bd0e0b5800
Merged the trunk r8589:8653 - all changes related to build warnings
13 years ago
Andrey Kamaev
49a1ba6038
Set stricter warning rules for gcc
13 years ago
Vadim Pisarevsky
846e37ded5
fixed many warnings from GCC 4.6.1
13 years ago
Vadim Pisarevsky
4985c1b632
fixed hundreds of warnings from MSVC 2010.
13 years ago
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
13 years ago
Maria Dimashova
48ea65e69c
fixed traincascade for ordered features
13 years ago
Maria Dimashova
44e05308d9
fixed CvCascadeBoost::train
13 years ago
Alexey Kazakov
78bd2133cc
Added HOG features to the traincascade module
13 years ago
Maria Dimashova
d7f04f04cc
fixed #1038
14 years ago
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)
14 years ago
Maria Dimashova
e5c5a1cb3d
fixed traincascade
14 years ago
Kirill Kornyakov
e7f491ae1a
CascadeClassifier refactored. Most of the members and methods are private now.
14 years ago
Maria Dimashova
d3ce471cd7
returned maxDepth argument
14 years ago
Maria Dimashova
62cb71092c
fixed traincascade ( #554 )
14 years ago
Maria Dimashova
c104cdce96
made random generators of MLL classes depended on default rng (theRNG) ( #205 ).
14 years ago
Kirill Kornyakov
c626c4c63e
bugfix: wrong command line argument used
14 years ago
Vadim Pisarevsky
f78a3b4cc1
updated 3rd party libs: CLapack 3.1.1.1 => 3.2.1, zlib 1.2.3 => 1.2.5, libpng 1.2.x => 1.4.3, libtiff 3.7.x => 3.9.4. fixed many 64-bit related VS2010 warnings
15 years ago
Vadim Pisarevsky
127d6649a1
"atomic bomb" commit. Reorganized OpenCV directory structure
15 years ago