Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv_contrib
Commits
3e4fb8f4
Commit
3e4fb8f4
authored
Oct 17, 2019
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xfeatures2d: use updated TLS API
parent
8fde8d74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
sift.cpp
modules/xfeatures2d/src/sift.cpp
+3
-1
No files found.
modules/xfeatures2d/src/sift.cpp
View file @
3e4fb8f4
...
...
@@ -107,6 +107,8 @@
#include <stdarg.h>
#include <opencv2/core/hal/hal.hpp>
#include <opencv2/core/utils/tls.hpp>
namespace
cv
{
namespace
xfeatures2d
...
...
@@ -709,7 +711,7 @@ void SIFT_Impl::findScaleSpaceExtrema( const std::vector<Mat>& gauss_pyr, const
const
int
threshold
=
cvFloor
(
0.5
*
contrastThreshold
/
nOctaveLayers
*
255
*
SIFT_FIXPT_SCALE
);
keypoints
.
clear
();
TLSData
<
std
::
vector
<
KeyPoint
>
>
tls_kpts_struct
;
TLSData
Accumulator
<
std
::
vector
<
KeyPoint
>
>
tls_kpts_struct
;
for
(
int
o
=
0
;
o
<
nOctaves
;
o
++
)
for
(
int
i
=
1
;
i
<=
nOctaveLayers
;
i
++
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment