Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/matlab/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ ocv_add_module(matlab BINDINGS
opencv_photo opencv_video opencv_videostab
opencv_calib opencv_calib3d
opencv_stitching opencv_superres
opencv_nonfree
opencv_xfeatures2d
)

# get the commit information
Expand Down
2 changes: 1 addition & 1 deletion modules/reg/samples/map_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#include <opencv2/highgui/highgui_c.h>

#ifdef COMPARE_FEATURES
#include <opencv2/nonfree.hpp>
#include <opencv2/xfeatures2d/nonfree.hpp>
#include <opencv2/calib3d.hpp>
#include <opencv2/calib3d/calib3d_c.h>
#endif
Expand Down
2 changes: 1 addition & 1 deletion modules/xfeatures2d/doc/nonfree_features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Detects keypoints and computes SURF descriptors for them.

The function is parallelized with the TBB library.

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


cuda::SURF_CUDA
Expand Down
6 changes: 3 additions & 3 deletions modules/xfeatures2d/include/opencv2/xfeatures2d/cuda.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
//
//M*/

#ifndef __OPENCV_NONFREE_CUDA_HPP__
#define __OPENCV_NONFREE_CUDA_HPP__
#ifndef __OPENCV_XFEATURES2D_CUDA_HPP__
#define __OPENCV_XFEATURES2D_CUDA_HPP__

#include "opencv2/core/cuda.hpp"

Expand Down Expand Up @@ -125,4 +125,4 @@ class CV_EXPORTS SURF_CUDA

}} // namespace cv { namespace cuda {

#endif // __OPENCV_NONFREE_CUDA_HPP__
#endif // __OPENCV_XFEATURES2D_CUDA_HPP__
4 changes: 2 additions & 2 deletions modules/xfeatures2d/include/opencv2/xfeatures2d/nonfree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
//
//M*/

#ifndef __OPENCV_NONFREE_FEATURES_2D_HPP__
#define __OPENCV_NONFREE_FEATURES_2D_HPP__
#ifndef __OPENCV_XFEATURES2D_FEATURES_2D_HPP__
#define __OPENCV_XFEATURES2D_FEATURES_2D_HPP__

#include "opencv2/features2d.hpp"

Expand Down
2 changes: 1 addition & 1 deletion modules/xfeatures2d/perf/perf_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ static const char * impls[] = {
"plain"
};

CV_PERF_TEST_MAIN_WITH_IMPLS(nonfree, impls, perf::printCudaInfo())
CV_PERF_TEST_MAIN_WITH_IMPLS(xfeatures2d, impls, perf::printCudaInfo())
2 changes: 1 addition & 1 deletion modules/xfeatures2d/src/precomp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#include "opencv2/core/private.hpp"
#include "opencv2/core/private.cuda.hpp"

//#include "opencv2/nonfree/cuda.hpp"
//#include "opencv2/xfeatures2d/cuda.hpp"
//#include "opencv2/core/private.cuda.hpp"

#include "opencv2/core/ocl.hpp"
Expand Down
4 changes: 2 additions & 2 deletions modules/xfeatures2d/src/surf.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
///////////// see LICENSE.txt in the OpenCV root directory //////////////

#ifndef __OPENCV_NONFREE_SURF_HPP__
#define __OPENCV_NONFREE_SURF_HPP__
#ifndef __OPENCV_XFEATURES2D_SURF_HPP__
#define __OPENCV_XFEATURES2D_SURF_HPP__

namespace cv
{
Expand Down