aboutsummaryrefslogtreecommitdiff
path: root/pix_opencv_surf.cc
diff options
context:
space:
mode:
authorN.N. <sevyves@users.sourceforge.net>2009-09-05 17:06:25 +0000
committerN.N. <sevyves@users.sourceforge.net>2009-09-05 17:06:25 +0000
commitb8c405d429c3312abd255fcd6ab22485aa48b77c (patch)
tree11e59c6a042bc3ffa1fad27c8947b75ea5192af4 /pix_opencv_surf.cc
parent5ae144ffeb8ac5efe3f63cf35a8d1c490ae05f4e (diff)
bugs fixing
svn path=/trunk/externals/pix_opencv/; revision=12244
Diffstat (limited to 'pix_opencv_surf.cc')
-rwxr-xr-xpix_opencv_surf.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/pix_opencv_surf.cc b/pix_opencv_surf.cc
index c1cfe9a..3ac75fa 100755
--- a/pix_opencv_surf.cc
+++ b/pix_opencv_surf.cc
@@ -871,7 +871,7 @@ void pix_opencv_surf :: delaunayMessCallback(void *data, t_symbol *s)
void pix_opencv_surf :: pdelaunayMessCallback(void *data, t_floatarg fpoint, t_floatarg fthreshold)
{
- GetMyClass(data)->pdelaunayMess(fpoint, fthreshold);
+ GetMyClass(data)->pdelaunayMess((float)fpoint, (float)fthreshold);
}
void pix_opencv_surf :: nightModeMess(float nightmode)
@@ -994,12 +994,13 @@ void pix_opencv_surf :: delaunayMess(t_symbol *s)
x_delaunay = -1;
}
-void pix_opencv_surf :: pdelaunayMess(t_floatarg point, t_floatarg threshold)
+void pix_opencv_surf :: pdelaunayMess(float point, float threshold)
{
if (((int)point>0) && ((int)point<MAX_MARKERS))
{
x_delaunay = (int)point;
x_threshold = (int)threshold;
+ // post( "pix_opencv_surf : setting threshold to : %d", x_threshold );
}
}