summaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/types.h b/src/types.h
index d264cdc..d43fdf2 100644
--- a/src/types.h
+++ b/src/types.h
@@ -3,10 +3,12 @@
#include <cv.h>
#include <Eigen/Dense>
+#include <exception>
#define MAXLINE 8192
#define MAXFILENAME 1024
#define STATESIZE 9 /* Set to 13 for quaternion estimation, or 9 for quaternion as input */
#define INLIER_THRESHOLD 12.
+#define PATCHSIZE 51 /* must be odd */
using Eigen::Matrix;
using Eigen::Matrix3d;
using Eigen::Quaterniond;
@@ -22,7 +24,7 @@ typedef struct {
Vector3d source, reflection;
double height;
Vector2d Ssrc, Sref;
- cv::Mat patch;
+ cv::Mat patch, refpatch;
double xcorrmax;
} measurement_t;