1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-16 22:35:51 +08:00

fixing further nonfree elements

This commit is contained in:
StevenPuttemans
2014-08-27 14:04:41 +02:00
parent 071eb5a7c5
commit d27141abe3
8 changed files with 12 additions and 12 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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"
@@ -125,4 +125,4 @@ public:
}} // namespace cv { namespace cuda {
#endif // __OPENCV_NONFREE_CUDA_HPP__
#endif // __OPENCV_XFEATURES2D_CUDA_HPP__

View File

@@ -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"

View File

@@ -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())

View File

@@ -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"

View File

@@ -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
{