Browse Source

gen aenderungen

Bjoern Froehlich 12 years ago
parent
commit
0f3aa7e552
1 changed files with 2 additions and 2 deletions
  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.
     * @brief Return a instanz of the segmentationmethode which has defined in [segmenatation]:methode within conf.
     * @return RegionSegmentationMethod*, if methode is defined; NULL, else
     * @return RegionSegmentationMethod*, if methode is defined; NULL, else
     */
     */
+    
     static RegionSegmentationMethod*
     static RegionSegmentationMethod*
-    selectRegionSegmentationMethod(const Config* conf, const std::string& section = "segmentation")
+    selectRegionSegmentationMethod(const Config* conf, const std::string& methode)
     {
     {
       RegionSegmentationMethod* segmentationAlgo = NULL;
       RegionSegmentationMethod* segmentationAlgo = NULL;
-      std::string methode = conf->gS(section, "methode", "");
 
 
       if (methode == "MarkovCluster")
       if (methode == "MarkovCluster")
       {
       {