소스 검색

minor fix at SIFT local feature computation (redundancy removed)

Johannes Ruehle 11 년 전
부모
커밋
938b0891b6
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 );