Pierre-Emmanuel Viel
45e0e5f8e9
Pick centers in KMeans++ with a probability proportional to their distance^2, instead of simple distance, to previous centers
11 years ago
Roman Donchenko
58da54cb7a
Cherry-picked mariusmuja/flann@8c8b0e0cb879666797ab2ac51b9ee438bf84a183.
...
Original author: me.
11 years ago
Roman Donchenko
4c19e0273a
Cherry-picked mariusmuja/flann@b615f2694723fe402b8bbe50d77e622beff7f171.
...
Original author: Alex Wilson.
11 years ago
Roman Donchenko
78c4ffec99
Revert "Fixed a bug in FLANN resulting in uninitialized accesses."
...
This reverts commit a9975b144a
, to prepare
for cherry-picking upstream's solution.
11 years ago
Roman Donchenko
fec697b390
Silenced a few -Wcast-align warnings in the headers.
...
We don't use -Wcast-align ourselves, but the headers trigger warnings
for those users who do, which is not nice.
11 years ago
Roman Donchenko
a9975b144a
Fixed a bug in FLANN resulting in uninitialized accesses.
...
This is fixed upstream in mariusmuja/flann@b615f26, but that fix
would break binary compatibility, so I had to make a different one.
Since the bug isn't quite obvious, here's an explanation. In the const
version of any::cast, if policy is a small_any_policy, its get_value
returns its input argument. So r becomes a pointer to obj, and the
return value is a reference to a local variable, which is invalidated
when the function exits.
11 years ago
Roman Donchenko
9ed475cf52
War on Whitespace, master edition: file endings.
11 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
11 years ago
Alexander Smorkalov
2243118fc0
NEON instruction set enabled for WIN32 on ARM by default.
12 years ago
Andrey Kamaev
2665c39a0d
Fix build warnings from gcc 4.8
12 years ago
Andrey Kamaev
ae4e76395f
Make flann headers independent from OpenCV C API
12 years ago
Andrey Kamaev
517062039e
Make core/internal.hpp a private header
12 years ago
Alexander Smorkalov
6f68640d4d
Multiple fixes for WinRT
...
Fixed flann build with NEON;
Fixed Haming distance with NEON;
Honest cvRound for WinRT added;
cvRound test added;
Video IO with direct show disabled;
12 years ago
Andrey Kamaev
49f6dad13f
Move cv::KeyPoint and cv::DMatch to core
12 years ago
Andrey Kamaev
be7bbe3aa9
Drop cv:: prefix from cv::String used inside the cv namespace
12 years ago
Andrey Kamaev
75513a46dc
Remove all include directives for <string>
12 years ago
Andrey Kamaev
762aefd71b
Compile opencv_test_core with cv::String instead of std::string
...
All tests passed!
12 years ago
Andrey Kamaev
a42a0f5fca
Added compatibility 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
Ilya Lysenkov
098ea6fcb7
Checked key_size in LSH table for validness ( #2677 )
12 years ago
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
12 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
12 years ago
Andrey Kamaev
88e9a072ec
Fix binary compatibility of opencv_flann
12 years ago
Andrey Kamaev
a3b1971977
Bring back escaped virtual destructors from 2.4.2
12 years ago
Vadim Pisarevsky
d72cc06b96
fixed possibly inccorrect interval measurements in flann's timer (bug #1165 ). Note: this may break binary compatibility, but since the class is not wrapped in Java and not exposed in Windows API, for example (it's considered internal-use class for flann), the effect should be minimal
12 years ago
Andrey Kamaev
56b27bcc7e
Fix inconsistent argument type in HammingLUT distance (flann)
...
this fixes 64-bit MSVC warning
12 years ago
Vadim Pisarevsky
d54f4e1cfb
added #undef True/False to avoid collision with X11 (Patch #1562 )
12 years ago
Marius Muja
7236858bea
Exposed HierarchicalClusteringIndex in OpenCV wrapper
12 years ago
Vadim Pisarevsky
0bd68a70f1
fixed #2297 , #2300 ; fixed several warnings
12 years ago
Alexander Mordvintesv
647b1dd96c
comment fixed
13 years ago
Alexander Mordvintesv
0998669d26
Revert "fixed LshIndex types in its constructor"
...
This reverts commit 54d68da8e7
.
13 years ago
Maria Dimashova
54d68da8e7
fixed LshIndex types in its constructor
13 years ago
Vincent Rabaud
fbf1973bac
backport 9018
13 years ago
Vincent Rabaud
3df72fe669
fix gcc C++11 bug mentioned in http://answers.opencv.org/question/283 . Bug also fixed in FLANN upstream
13 years ago
Marina Kolpakova
3def843652
merged the trunk r8719:8731 and 8807
13 years ago
Marina Kolpakova
680a44189c
merged the trunk r8704:8716
13 years ago
Vadim Pisarevsky
73ce3ef8c1
fixed ios framework build (ticket #2092 )
13 years ago
Andrey Kamaev
a381b95e91
Fixed buggy NEON check inside flann
13 years ago
Andrey Kamaev
e94e5866a1
Fixed mingw build warnings
13 years ago
Andrey Kamaev
f666bd221f
Merged the trunk r8595:8668 (except iOS and new gpu functionality)
13 years ago
Andrey Kamaev
bd0e0b5800
Merged the trunk r8589:8653 - all changes related to build warnings
13 years ago
Alexander Mordvintsev
08b2bd9174
fixed #1974
13 years ago
Andrey Kamaev
f2d3b9b4a1
Warning fixes continued
13 years ago
Andrey Kamaev
f62028dc16
Fixed mingw build.
13 years ago
Andrey Kamaev
49a1ba6038
Set stricter warning rules for gcc
13 years ago
Vadim Pisarevsky
2fd1e2ea57
merged all the latest changes from 2.4 to trunk
13 years ago
Andrey Kamaev
1cf96d36cd
Corrected fix of flann deprecation warnings
13 years ago
Andrey Kamaev
18067c8e9f
Fixed flann deprecation warnings from flann itself
13 years ago
Andrey Kamaev
849e3cfac0
Merged the trunk r7844
13 years ago