Fixing compiler errors for outlet_pose_estimation

This commit is contained in:
Victor Erukhimov 2010-05-26 12:34:48 +00:00
parent b4275e1987
commit 13523fd53a
2 changed files with 16 additions and 9 deletions

View File

@ -47,10 +47,6 @@
#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module"
#endif
#if !defined(CV_IMPL)
#define CV_IMPL extern "C"
#endif //CV_IMPL
#include "opencv2/core/core_c.h"
#include "opencv2/core/core.hpp"
#include "opencv2/imgproc/imgproc_c.h"
@ -60,4 +56,16 @@
#include "opencv2/calib3d/calib3d.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_

View File

@ -171,6 +171,9 @@ CVAPI(CvSeq*) cvGetStarKeypoints( const CvArr* img, CvMemStorage* storage,
#ifdef __cplusplus
}
namespace cv
{
// CvAffinePose: defines a parameterized affine transformation of an image patch.
// 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
@ -184,10 +187,6 @@ public:
float lambda2;
};
namespace cv
{
class CV_EXPORTS KeyPoint
{
public: