Pārlūkot izejas kodu

adapted to new nice

Bjoern Froehlich 12 gadi atpakaļ
vecāks
revīzija
5989e9c9da

+ 1 - 1
progs/testSemanticSegmentation.cpp

@@ -22,7 +22,7 @@
 #include <objrec-froehlichexp/semseg/SemSegRegionBased.h>
 #include <objrec-froehlichexp/semseg/SemSegContextTree.h>
 
-#include <fast-hik/ResourceStatistics.h>
+#include <core/basics/ResourceStatistics.h>
 
 #include <fstream>
 

+ 1 - 1
semseg/SemSegContextTree.cpp

@@ -56,7 +56,7 @@ SemSegContextTree::SemSegContextTree (const Config *conf, const MultiDataset *md
   
   if(useCategorization && cndir == "")
   {
-    fasthik = new GPHIKClassifier(conf);
+    fasthik = new GPHIKClassifierNICE(conf);
   }
   else
   {

+ 2 - 2
semseg/SemSegContextTree.h

@@ -15,7 +15,7 @@
 
 #include "objrec-froehlichexp/semseg/operations/Operations.h"
 
-#include "fast-hik/GPHIKClassifier.h"
+#include "gp-hik-exp/GPHIKClassifierNICE.h"
 
 namespace OBJREC {
 
@@ -140,7 +140,7 @@ class SemSegContextTree : public SemanticSegmentation, public NICE::Persistent
     int rawChannels;
     
     /** classifier for categorization */
-    OBJREC::GPHIKClassifier *fasthik;
+    OBJREC::GPHIKClassifierNICE *fasthik;
     
     /** unique numbers for nodes */
     int uniquenumber;

+ 1 - 1
semseg/SemSegCsurka.cpp

@@ -116,7 +116,7 @@ SemSegCsurka::SemSegCsurka ( const Config *conf,
   else if ( cname == "SMLR" )
     classifier = new FPCSMLR ( conf, "ClassifierSMLR" );
   else if ( cname == "GPHIK" )
-    classifier = new GPHIKClassifier ( conf, "ClassiferGPHIK" );
+    classifier = new GPHIKClassifierNICE ( conf, "ClassiferGPHIK" );
   else
     vclassifier = CSGeneric::selectVecClassifier ( conf, "main" );
   //classifier = new FPCSparseMultinomialLogisticRegression(conf, "ClassifierSMLR");

+ 1 - 1
semseg/SemSegCsurka.h

@@ -36,7 +36,7 @@
 
 #include "vislearning/classifier/fpclassifier/randomforest/FPCRandomForests.h"
 #include "vislearning/classifier/fpclassifier/logisticregression/FPCSMLR.h"
-#include "fast-hik/GPHIKClassifier.h"
+#include "gp-hik-exp/GPHIKClassifierNICE.h"
 
 #include "objrec-froehlichexp/semseg/postsegmentation/RelativeLocationPrior.h"
 #include "objrec-froehlichexp/semseg/postsegmentation/PPSuperregion.h"

+ 2 - 2
semseg/SemSegNovelty.cpp

@@ -4,7 +4,7 @@
 #include "SemSegNovelty.h"
 
 #include "core/image/FilterT.h"
-#include "fast-hik/GPHIKClassifier.h"
+#include "gp-hik-exp/GPHIKClassifierNICE.h"
 #include "vislearning/baselib/ICETools.h"
 #include "vislearning/baselib/Globals.h"
 #include "vislearning/features/fpfeatures/SparseVectorFeature.h"
@@ -31,7 +31,7 @@ SemSegNovelty::SemSegNovelty ( const Config *conf,
   cache = conf->gS ( "cache", "root", "" );
 
 
-  classifier = new GPHIKClassifier ( conf, "ClassiferGPHIK" );;
+  classifier = new GPHIKClassifierNICE ( conf, "ClassiferGPHIK" );;
 
   whs = conf->gI ( section, "window_size", 10 );
   featdist = conf->gI ( section, "grid", 10 );

+ 1 - 1
semseg/libdepend.inc

@@ -4,5 +4,5 @@ $(call PKG_DEPEND_INT,objrec/segmentation)
 $(call PKG_DEPEND_INT,objrec/fourier)
 $(call PKG_DEPEND_INT,objrec/features)
 $(call PKG_DEPEND_INT,objrec/semanticsegmentation)
-$(call PKG_DEPEND_INT,fast-hik)
+$(call PKG_DEPEND_INT,gp-hik-exp)
 #$(call PKG_DEPEND_INT,objrec-froehlichexp/classifier)