Parcourir la source

neuer scheiß

froehlich il y a 13 ans
Parent
commit
3cb35041ee
2 fichiers modifiés avec 7 ajouts et 2 suppressions
  1. 3 0
      progs/getRelevantClasses.cpp
  2. 4 2
      progs/testSift.cpp

+ 3 - 0
progs/getRelevantClasses.cpp

@@ -49,6 +49,9 @@ 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);

+ 4 - 2
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,6 +60,8 @@ 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;