Skip to content

Commit 5e70cd8

Browse files
committed
Merge pull request #77 from StevenPuttemans/fix_nonfree
fixing further nonfree elements
2 parents 2ad5ff3 + d27141a commit 5e70cd8

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

modules/matlab/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ ocv_add_module(matlab BINDINGS
9191
opencv_photo opencv_video opencv_videostab
9292
opencv_calib opencv_calib3d
9393
opencv_stitching opencv_superres
94-
opencv_nonfree
94+
opencv_xfeatures2d
9595
)
9696

9797
# get the commit information

modules/reg/samples/map_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
#include <opencv2/highgui/highgui_c.h>
4848

4949
#ifdef COMPARE_FEATURES
50-
#include <opencv2/nonfree.hpp>
50+
#include <opencv2/xfeatures2d/nonfree.hpp>
5151
#include <opencv2/calib3d.hpp>
5252
#include <opencv2/calib3d/calib3d_c.h>
5353
#endif

modules/xfeatures2d/doc/nonfree_features.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Detects keypoints and computes SURF descriptors for them.
143143

144144
The function is parallelized with the TBB library.
145145

146-
If you are using the C version, make sure you call ``cv::initModule_nonfree()`` from ``nonfree/nonfree.hpp``.
146+
If you are using the C version, make sure you call ``cv::initModule_xfeatures2d()`` from ``xfeatures2d/nonfree.hpp``.
147147

148148

149149
cuda::SURF_CUDA

modules/xfeatures2d/include/opencv2/xfeatures2d/cuda.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
//
4141
//M*/
4242

43-
#ifndef __OPENCV_NONFREE_CUDA_HPP__
44-
#define __OPENCV_NONFREE_CUDA_HPP__
43+
#ifndef __OPENCV_XFEATURES2D_CUDA_HPP__
44+
#define __OPENCV_XFEATURES2D_CUDA_HPP__
4545

4646
#include "opencv2/core/cuda.hpp"
4747

@@ -125,4 +125,4 @@ class CV_EXPORTS SURF_CUDA
125125

126126
}} // namespace cv { namespace cuda {
127127

128-
#endif // __OPENCV_NONFREE_CUDA_HPP__
128+
#endif // __OPENCV_XFEATURES2D_CUDA_HPP__

modules/xfeatures2d/include/opencv2/xfeatures2d/nonfree.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
//
4141
//M*/
4242

43-
#ifndef __OPENCV_NONFREE_FEATURES_2D_HPP__
44-
#define __OPENCV_NONFREE_FEATURES_2D_HPP__
43+
#ifndef __OPENCV_XFEATURES2D_FEATURES_2D_HPP__
44+
#define __OPENCV_XFEATURES2D_FEATURES_2D_HPP__
4545

4646
#include "opencv2/features2d.hpp"
4747

modules/xfeatures2d/perf/perf_main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ static const char * impls[] = {
88
"plain"
99
};
1010

11-
CV_PERF_TEST_MAIN_WITH_IMPLS(nonfree, impls, perf::printCudaInfo())
11+
CV_PERF_TEST_MAIN_WITH_IMPLS(xfeatures2d, impls, perf::printCudaInfo())

modules/xfeatures2d/src/precomp.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
#include "opencv2/core/private.hpp"
5353
#include "opencv2/core/private.cuda.hpp"
5454

55-
//#include "opencv2/nonfree/cuda.hpp"
55+
//#include "opencv2/xfeatures2d/cuda.hpp"
5656
//#include "opencv2/core/private.cuda.hpp"
5757

5858
#include "opencv2/core/ocl.hpp"

modules/xfeatures2d/src/surf.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
///////////// see LICENSE.txt in the OpenCV root directory //////////////
22

3-
#ifndef __OPENCV_NONFREE_SURF_HPP__
4-
#define __OPENCV_NONFREE_SURF_HPP__
3+
#ifndef __OPENCV_XFEATURES2D_SURF_HPP__
4+
#define __OPENCV_XFEATURES2D_SURF_HPP__
55

66
namespace cv
77
{

0 commit comments

Comments
 (0)