From e5c3b5117c2f3936967319223e353ac6c7a0b1ca Mon Sep 17 00:00:00 2001 From: Martin Miller Date: Sun, 9 Apr 2017 13:25:13 -0500 Subject: warp source and reflection patches --- src/types.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/types.h') 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 #include +#include #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; -- cgit v1.1