Pārlūkot izejas kodu

gen aenderungen

Bjoern Froehlich 12 gadi atpakaļ
vecāks
revīzija
0f3aa7e552
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  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")
       {