Ver Fonte

minor fix at SIFT local feature computation (redundancy removed)

Johannes Ruehle há 11 anos atrás
pai
commit
938b0891b6
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      features/localfeatures/LocalFeatureSift.cpp

+ 2 - 2
features/localfeatures/LocalFeatureSift.cpp

@@ -159,8 +159,8 @@ void LocalFeatureSift::withPP( const NICE::Image & img, VVector & positions, VVe
 
     VL::Sift sift( blockimgfl, img.width(), img.height(),
                    sigman, sigma0, O, S, omin, -1, S+1) ;
-
-    sift.process ( blockimgfl, img.width(), img.height() );
+    //calling sift.process(.) already done in VL::Sift constructor, so omit the following process function
+    //sift.process ( blockimgfl, img.width(), img.height() );
 
     sift.setMagnification ( magnif );
     sift.setNormalizeDescriptor ( normalizeFeature );