Ver Fonte

gen aenderungen

Bjoern Froehlich há 12 anos atrás
pai
commit
0f3aa7e552
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      GenericRegionSegmentationMethodSelection.h

+ 2 - 2
GenericRegionSegmentationMethodSelection.h

@@ -22,11 +22,11 @@ class GenericRegionSegmentationMethodSelection
     * @brief Return a instanz of the segmentationmethode which has defined in [segmenatation]:methode within conf.
     * @return RegionSegmentationMethod*, if methode is defined; NULL, else
     */
+    
     static RegionSegmentationMethod*
-    selectRegionSegmentationMethod(const Config* conf, const std::string& section = "segmentation")
+    selectRegionSegmentationMethod(const Config* conf, const std::string& methode)
     {
       RegionSegmentationMethod* segmentationAlgo = NULL;
-      std::string methode = conf->gS(section, "methode", "");
 
       if (methode == "MarkovCluster")
       {