Commit 13523fd5 authored by Victor Erukhimov's avatar Victor Erukhimov

Fixing compiler errors for outlet_pose_estimation

parent b4275e19
...@@ -47,10 +47,6 @@ ...@@ -47,10 +47,6 @@
#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module" #warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module"
#endif #endif
#if !defined(CV_IMPL)
#define CV_IMPL extern "C"
#endif //CV_IMPL
#include "opencv2/core/core_c.h" #include "opencv2/core/core_c.h"
#include "opencv2/core/core.hpp" #include "opencv2/core/core.hpp"
#include "opencv2/imgproc/imgproc_c.h" #include "opencv2/imgproc/imgproc_c.h"
...@@ -60,4 +56,16 @@ ...@@ -60,4 +56,16 @@
#include "opencv2/calib3d/calib3d.hpp" #include "opencv2/calib3d/calib3d.hpp"
#include "opencv2/objdetect/objdetect.hpp" #include "opencv2/objdetect/objdetect.hpp"
#endif #if !defined(CV_IMPL)
#define CV_IMPL extern "C"
#endif //CV_IMPL
#if defined(__cplusplus)
#include "opencv2/core/internal.hpp"
#endif //__cplusplus
namespace cv {
namespace flann = cvflann;
}
#endif __OPENCV_OLD_CV_H_
...@@ -171,6 +171,9 @@ CVAPI(CvSeq*) cvGetStarKeypoints( const CvArr* img, CvMemStorage* storage, ...@@ -171,6 +171,9 @@ CVAPI(CvSeq*) cvGetStarKeypoints( const CvArr* img, CvMemStorage* storage,
#ifdef __cplusplus #ifdef __cplusplus
} }
namespace cv
{
// CvAffinePose: defines a parameterized affine transformation of an image patch. // CvAffinePose: defines a parameterized affine transformation of an image patch.
// An image patch is rotated on angle phi (in degrees), then scaled lambda1 times // An image patch is rotated on angle phi (in degrees), then scaled lambda1 times
// along horizontal and lambda2 times along vertical direction, and then rotated again // along horizontal and lambda2 times along vertical direction, and then rotated again
...@@ -184,10 +187,6 @@ public: ...@@ -184,10 +187,6 @@ public:
float lambda2; float lambda2;
}; };
namespace cv
{
class CV_EXPORTS KeyPoint class CV_EXPORTS KeyPoint
{ {
public: public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment