summaryrefslogtreecommitdiff
path: root/src/feature.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature.h')
-rw-r--r--src/feature.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature.h b/src/feature.h
index 37aa351..e3ec2b8 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -1,6 +1,6 @@
#ifndef feature_INC
#define feature_INC
-#include <cv.h>
+#include <opencv2/core.hpp>
#include <Eigen/Dense>
#include <iostream>
@@ -41,6 +41,7 @@ using std::endl;
class Feature
{
public:
+ EIGEN_MAKE_ALIGNED_OPERATOR_NEW
/* ==================== LIFECYCLE ======================================= */
Feature ( int id, const Vector3d &xs, const Vector3d &xr,
const Vector3d &xbw, const Quaterniond &q, double z, Mat &p);