From e143e2727b7d78b159d418272ba6c9d71a980008 Mon Sep 17 00:00:00 2001 From: Antoine Villeret Date: Wed, 16 Jan 2013 15:38:54 +0000 Subject: remove or comment out debugging printf svn path=/trunk/externals/pix_opencv/; revision=16882 --- pix_opencv_warpperspective.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pix_opencv_warpperspective.cc b/pix_opencv_warpperspective.cc index c97dfa0..de020e6 100644 --- a/pix_opencv_warpperspective.cc +++ b/pix_opencv_warpperspective.cc @@ -73,7 +73,7 @@ pix_opencv_warpperspective :: pix_opencv_warpperspective() flags = CV_WARP_FILL_OUTLIERS; // TODO add a set method findmethod = 0; // TODO add a set method - printf("build on %s at %s\n", __DATE__, __TIME__); + //~ printf("build on %s at %s\n", __DATE__, __TIME__); post("pix_opencv_warpperspective by Antoine Villeret"); post("build on %s at %s", __DATE__, __TIME__); @@ -190,6 +190,7 @@ void pix_opencv_warpperspective :: mapMatrixMess (int argc, t_atom *argv) CV_MAT_ELEM( *mapMatrix, float, 1, 2 ) = argv[7].a_w.w_float; CV_MAT_ELEM( *mapMatrix, float, 2, 2 ) = argv[8].a_w.w_float; + /* printf("---mapMatrix---\n"); for ( j = 0 ; j < 3 ; j++ ){ for( i=0 ; i<3 ; i++){ @@ -197,6 +198,7 @@ void pix_opencv_warpperspective :: mapMatrixMess (int argc, t_atom *argv) } printf("\n"); } + */ } void pix_opencv_warpperspective :: srcMatrixMess (int argc, t_atom *argv) @@ -251,7 +253,6 @@ void pix_opencv_warpperspective :: dstMatrixMess (int argc, t_atom *argv) } //~ printf("dstMatrix-cols = %d,\t argc = %d\n", dstMatrix->rows, argc); if ( dstMatrix->rows != argc/2 ) { - printf("re-create dstMatrix & srcMatrix\n"); // delete and recreate matrix if needed cvReleaseMat(&dstMatrix); cvReleaseMat(&srcMatrix); @@ -260,7 +261,6 @@ void pix_opencv_warpperspective :: dstMatrixMess (int argc, t_atom *argv) cvSet(srcMatrix, cvScalar(0)); // set all to 0. } // fillin the dstMatrix - printf("fillin dstMatrix\n"); for ( i = 0 ; i < dstMatrix->rows ; i++ ) { CV_MAT_ELEM( *dstMatrix, float, i, 0 ) = argv[i*2].a_w.w_float; @@ -291,6 +291,7 @@ void pix_opencv_warpperspective :: findhomography( ) */ cvFindHomography(srcMatrix, dstMatrix, mapMatrix, findmethod, 0, NULL); + /* printf("---mapMatrix---\n"); for ( j = 0 ; j < 3 ; j++ ){ for( i=0 ; i<3 ; i++){ @@ -299,6 +300,7 @@ void pix_opencv_warpperspective :: findhomography( ) } printf("\n"); } + */ // send out mapMatrix outlet_list( m_dataout, 0, 9, mapMatrixList); } -- cgit v1.2.1