|
@@ -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")
|
|
|
{
|