From fadb90c579acf292cf35dfcf67ab10139bb73fb2 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 17 Oct 2019 00:44:20 +0000 Subject: [PATCH] [move sift.cpp] xfeatures2d: use updated TLS API original commit: https://github.com/opencv/opencv_contrib/commit/3e4fb8f415ba68c56ba2cded1ab10a75c46d342e --- modules/features2d/src/sift.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/features2d/src/sift.cpp b/modules/features2d/src/sift.cpp index 15334b7735..8a13de7118 100644 --- a/modules/features2d/src/sift.cpp +++ b/modules/features2d/src/sift.cpp @@ -74,6 +74,8 @@ #include #include +#include + namespace cv { @@ -672,7 +674,7 @@ void SIFT_Impl::findScaleSpaceExtrema( const std::vector& gauss_pyr, const const int threshold = cvFloor(0.5 * contrastThreshold / nOctaveLayers * 255 * SIFT_FIXPT_SCALE); keypoints.clear(); - TLSData > tls_kpts_struct; + TLSDataAccumulator > tls_kpts_struct; for( int o = 0; o < nOctaves; o++ ) for( int i = 1; i <= nOctaveLayers; i++ )