TheGoddessInari
960bb540ec
Make sure to use defined(__GNUC__) instead of bare __GNUC__ in flann2 header.
...
This fixes a compiler error on MSVC with Unreal Engine (at least).
backport of commit: 4e998c9ade
5 years ago
Apoorv Goel
5b521bb778
Merge pull request #14898 from UnderscoreAsterisk:flann-warnings-and-4376
...
Keep a local copy of `features` from `flann::GenericIndex ` constructor (#14898 )
* Fix warnings on Windows
* Fix #4376
6 years ago
Maksim Shabunin
10d61a2b44
Limited API support for Python3
6 years ago
Matthew K. Gumbel
74e3403620
flann/kmeans: Fix non-determinism of KMeans index
...
When running with >1 OpenCV thread, KMeans index generation was
non-deterministic because of a RWW race. Issue is resolved by removing
the offending logic from the parallel section.
6 years ago
Lindsay Roberts
7c72e095fa
Fix Flann compilation under nvcc + NEON
...
All <arm_neon.h> includes in core/cv_cpu_dispatch.h are protected by an
ifndef __CUDACC__ to prevent attempting to use neon intrinsics when
compiling cuda kernels (.cu) -- this prevents hard errors such as
error: identifier "__builtin_neon_qi" is undefined
Add this same protection to flann/dist.h to fix compilation involving
flann.hpp.
6 years ago
1over
5ff76088b9
fixed memory issue in flann
6 years ago
Apoorv Goel
d8ffddd075
Merge pull request #12871 from UnderscoreAsterisk:document-Distance
...
* Document distance functors in dist.h
* Add spec for Distance
* Generate appropriate links for symbols
6 years ago
Apoorv
a7dfa261d8
Add documentation for radiusSearch
6 years ago
Alexander Alekhin
52f52f6786
flann: drop useless mutex
6 years ago
Hamdi Sahloul
5d54def264
Add semicolons after `CV_INSTRUMENT` macros
6 years ago
Hamdi Sahloul
a39e0daacf
Utilize CV_UNUSED macro
6 years ago
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
7 years ago
Alexander Alekhin
4df4a37b11
flann: apply CV_OVERRIDE/CV_FINAL
7 years ago
luz.paz
e805a55a5b
Misc. modules/ typos (cont.)
...
Found via `codespell`
7 years ago
Alexander Alekhin
4a297a2443
ts: refactor OpenCV tests
...
- removed tr1 usage (dropped in C++17)
- moved includes of vector/map/iostream/limits into ts.hpp
- require opencv_test + anonymous namespace (added compile check)
- fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
- added missing license headers
7 years ago
Hamdi Sahloul
8943441115
resolves #10548 - `FLANN::knnSearch` garbage bug (when kNN is larger than the dataset size)
7 years ago
Pavel Rojtberg
6fb9d42c3f
Hid symbols in static builds, added LTO flags, removed exports from ts
7 years ago
Maksim Shabunin
248e2c7d47
Fixed some issues found by static analysis
7 years ago
Suleyman TURKMEN
ee6aacee9c
Update window_gtk.cpp
...
Update miniflann.cpp
Update test_stereomatching.cpp
7 years ago
Alexander Alekhin
7067c1597d
flann: std::vector<size_t> can't be converted into cv::Mat properly
...
size_t is not supported cv::Mat type
7 years ago
Alexander Alekhin
12213f9985
flann: fix out of buffer access
7 years ago
Alexander Alekhin
602f047fe8
build: replace WIN32 => _WIN32
7 years ago
Tony Lian
c8783f3e23
Merge pull request #9075 from TonyLianLong:master
...
Remove unnecessary Non-ASCII characters from source code (#9075 )
* Remove unnecessary Non-ASCII characters from source code
Remove unnecessary Non-ASCII characters and replace them with ASCII
characters
* Remove dashes in the @param statement
Remove dashes and place single space in the @param statement to keep
coding style
* misc: more fixes for non-ASCII symbols
* misc: fix non-ASCII symbol in CMake file
8 years ago
Maksim Shabunin
a769d69a9d
Fixed several issues found by static analysis
8 years ago
Alexander Alekhin
22d2207d41
flann: fix build with MSVC /sdl option
8 years ago
Maksim Shabunin
32d4af36e2
Fixing some static analysis issues
8 years ago
Alexander Alekhin
cc52523375
flann: add normal assignment operator for cvflann::any
8 years ago
Matthias Grundmann
e0fe3cce71
Update autotuned_index.h
...
Add missing sstream header for decl of std::ostringstream in line 104
8 years ago
Hamdi Sahloul
db52841544
Accept default argument of FLANN index parameters
8 years ago
Alexander Alekhin
147f3ebf0a
flann: use OpenCV theRNG()
...
std::rand() has no thread-safe guarantee.
8 years ago
mshabunin
c6c519166e
Added CV_DEPRECATED macro
8 years ago
Maksim Shabunin
21167b1bf1
Fixed several GCC 5.x warnings
8 years ago
sourin
a34fbf7bb1
Fixed identifiers warns
8 years ago
daB0bby
7840b07d2f
bypass macro
8 years ago
Maksim Shabunin
dc704d77ac
Fixed several GCC 5.x warnings
8 years ago
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
8 years ago
Vitaliy Lyudvichenko
ab8de8f506
Adding of user-defined type conversions for python bindings inside module directories
...
Adding of destructor and placement new constructors for classes wrapped with CV_EXPORTS_W_SIMPLE macro
8 years ago
Ilya Lavrenov
bcc9010630
fixed memory leak in flann tests
9 years ago
Maksim Shabunin
b99d010977
Fixed memory leak in flann KMeansIndex
9 years ago
Krishnaraj Bhat
9b8013d193
gcc6: fix misleading indentation warning
...
cosmetic changes to fix this warning.
real bugs not found
9 years ago
Alexander Smorkalov
8a37fc8223
Added missing copyright headers.
...
(cherry picked from commit 408107ce6d
)
9 years ago
Alexander Smorkalov
408107ce6d
Added missing copyright headers.
9 years ago
Ilya Lavrenov
a81f0a5123
fixed uninitialized memory writing/reading in flann
...
(cherry picked from commit 3934d61de7
)
9 years ago
Ilya Lavrenov
c36582d2df
fixed memory leak in flann index
...
(cherry picked from commit 32d7c1950a
)
9 years ago
Ilya Lavrenov
3143f2fb50
fixed uninitialized memory writing/reading in flann
9 years ago
Roman Donchenko
a3b515c524
flann: fix AutotunedIndex crashing if a KDTree index is selected
...
Backport of mariusmuja/flann@f8ca6df3.
9 years ago
Ilya Lavrenov
3934d61de7
fixed uninitialized memory writing/reading in flann
9 years ago
Ilya Lavrenov
32d7c1950a
fixed memory leak in flann index
9 years ago
Roman Donchenko
c2f59a0f73
flann: fix AutotunedIndex crashing if a KDTree index is selected
...
Backport of mariusmuja/flann@f8ca6df3.
9 years ago
Thomas Gabrowski
63dbeeaac5
Fix iOS warnings about implicit conversion precision by changing double literals to float ones
...
Conflicts:
modules/contrib/include/opencv2/contrib/retina.hpp
10 years ago