[vlfeat] 11/44: vl_covdet.c: removes unnecessary printf

Dima Kogan dima at secretsauce.net
Wed Sep 16 21:05:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

dkogan-guest pushed a commit to branch master
in repository vlfeat.

commit e53f9b4b31451b3350f98d4b7934d7fa1ca7217a
Author: Andrea Vedaldi <vedaldi at gmail.com>
Date:   Thu Oct 2 15:42:14 2014 +0100

    vl_covdet.c: removes unnecessary printf
---
 toolbox/sift/vl_covdet.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/toolbox/sift/vl_covdet.c b/toolbox/sift/vl_covdet.c
index fe4390a..9ca54cf 100644
--- a/toolbox/sift/vl_covdet.c
+++ b/toolbox/sift/vl_covdet.c
@@ -631,8 +631,8 @@ mexFunction(int nout, mxArray *out[],
 
         case VL_COVDET_DESC_PATCH:
         {
-		      vl_size numFeatures ;
-		      VlCovDetFeature const * feature ;
+          vl_size numFeatures ;
+          VlCovDetFeature const * feature ;
           vl_index i ;
           vl_size w = 2*patchResolution + 1 ;
           float * desc ;
@@ -737,7 +737,6 @@ mexFunction(int nout, mxArray *out[],
           }
           OUT(DESCRIPTORS) = mxCreateNumericMatrix(dimension, numFeatures, mxSINGLE_CLASS, mxREAL);
           desc = mxGetData(OUT(DESCRIPTORS)) ;
-          vl_tic();
           for(i = 0; i < (signed)numFeatures; i++){
               vl_covdet_extract_patch_for_frame(covdet,
                                                 patch,
@@ -751,8 +750,6 @@ mexFunction(int nout, mxArray *out[],
               desc += dimension;
 
           }
-          mexPrintf("time: %f\n",vl_toc());
-          mexPrintf("threshold: %f\n",liop->intensityThreshold);
           vl_liopdesc_delete(liop);
           break;
         }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/vlfeat.git



More information about the debian-science-commits mailing list