aboutsummaryrefslogtreecommitdiff
path: root/pix_opencv_calibration.h
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2012-10-13 12:06:20 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2012-10-13 12:06:20 +0000
commitbb63849f6bf5a14d7e06daef8da121b1f3150f5e (patch)
treedca4576a13381a55a6d730f84e339473bde7848b /pix_opencv_calibration.h
parentbd711e9011a3d71248ba9f1595ed2d23089f4667 (diff)
add antoine latest modification, and code cleanup
svn path=/trunk/externals/pix_opencv/; revision=16382
Diffstat (limited to 'pix_opencv_calibration.h')
-rw-r--r--pix_opencv_calibration.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/pix_opencv_calibration.h b/pix_opencv_calibration.h
index 7114288..ea90a47 100644
--- a/pix_opencv_calibration.h
+++ b/pix_opencv_calibration.h
@@ -72,7 +72,8 @@ class GEM_EXTERN pix_opencv_calibration : public GemPixObj
void viewMess (int view);
void waitMess (int wait);
void findChessFlagMess(int adaptThres, int normalize, int filter);
-
+ void resetCorrectionMatrix();
+
// to detect changes in the image size
int comp_xsize;
int comp_ysize;
@@ -88,6 +89,8 @@ class GEM_EXTERN pix_opencv_calibration : public GemPixObj
private:
+ t_outlet *m_dataout;
+
//////////
// Static member functions
static void loadIntraMessCallback(void *data, t_symbol* filename);
@@ -99,7 +102,9 @@ class GEM_EXTERN pix_opencv_calibration : public GemPixObj
static void viewMessCallback(void *data, t_floatarg view);
static void waitMessCallback(void *data, t_floatarg wait);
static void findChessFlagMessCallback(void *data, t_floatarg adaptThres, t_floatarg normalize, t_floatarg filter);
+ static void resetMessCallback(void *data);
/////////
+
// CvMat needed
CvMat *image_points,
*object_points,