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
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
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
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
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
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
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
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
Roman Donchenko
c2f59a0f73
flann: fix AutotunedIndex crashing if a KDTree index is selected
...
Backport of mariusmuja/flann@f8ca6df3.
10 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
ippei ito
7d665a4754
Fix warn conversion from 'size_t' to 'int'. add comment for doxygen
10 years ago
ippei ito
8efdfd9dfc
Fix unused-parameter Warning
10 years ago
ippei ito
cd42e38013
FlannBasedMatcher(LshIndex) in the feature2d optimization for continuance additional train()
...
Current implementation of miniflann is releasing the trained index, and
rebuilding the index from the beginning.
But, some indexing algorithms like the LSH are able to add the indexing
data after that.
This branch is implementation of that optimization for LshIndex
FlannBasedMatcher in the feature2d.
10 years ago
Thomas Gabrowski
ff4c42d182
Fix iOS warnings about implicit conversion precision by changing double literals to float ones
10 years ago
Alexander Karsakov
c481e06e87
Fixed getPolicy() method to make it thread-safe.
...
(cherry picked from commit 8910508b83
)
10 years ago
Andrey Kamaev
c105b72945
Assorted fixes:
...
* cmake CMP0054 and CMP0045
* aarch64 build
* portable code options in PCH cmake
* some of gcc 4.9 warnings
10 years ago
Maksim Shabunin
91e21847e2
Some changes to make migration to 3.0 easier
10 years ago
Maksim Shabunin
1523fdcc1c
Doxygen documentation: more fixes and cleanups
10 years ago
Maksim Shabunin
472c210687
Doxygen documentation: flann, photo and stitching modules
10 years ago
Takahiro Poly Horikawa
553bb7956e
Fix "assignment operator could not be generated" warnings
10 years ago
Takahiro Poly Horikawa
180e54d09d
- Use cv::Mutex to safely update converged flag
...
- Use cv::AutoBuffer rather than new allocation
- Fix "assignment operator could not be generated" warning
10 years ago
Takahiro Poly Horikawa
123ca7e1c5
Parallize building kmeans index in flann
10 years ago