فهرست منبع

Revert "neuer scheiß"

This reverts commit 3cb35041eef5df7898328fd949dce55d81903e8a.
Bjoern Froehlich 13 سال پیش
والد
کامیت
81725efbe5
2فایلهای تغییر یافته به همراه2 افزوده شده و 7 حذف شده
  1. 0 3
      progs/getRelevantClasses.cpp
  2. 2 4
      progs/testSift.cpp

+ 0 - 3
progs/getRelevantClasses.cpp

@@ -49,9 +49,6 @@ int main(int argc, char **argv)
 
 	classNames.getSelection(forbidden_classes_s, forbidden_classes);
 
-	int counter = 0;
-	int nbclasses = 0;
-	
 	LOOP_ALL_S(*testFiles)
 	{
 		EACH_INFO(classno, info);

+ 2 - 4
progs/testSift.cpp

@@ -50,8 +50,8 @@ int main (int argc, char **argv)
 	LocalFeatureRepresentation *cSIFT = new LFColorSande ( conf, section );
 	LocalFeature *lSIFT = new LocalFeatureLFInterface(conf, cSIFT);
 	
-	LocalFeature *oSIFT = new LocalFeatureSift (conf);
-	//LocalFeatureOpponnentSift *oSIFT = new LocalFeatureOpponnentSift (conf);
+	//LocalFeature *oSIFT = new LocalFeatureSift (conf);
+	LocalFeatureOpponnentSift *oSIFT = new LocalFeatureOpponnentSift (conf);
 	
 	VVector features1;
 	VVector features2;
@@ -60,8 +60,6 @@ int main (int argc, char **argv)
 	lSIFT->getDescriptors( img, positions, features1 );
 	//showImage(cimg);
 	oSIFT->getDescriptors( img, positions, features2 );
-	
-	
 	cout << "f1.size: " << features1.size() << " f2.size: " << features2.size() << " p.size() " << positions.size() << endl;