@@ -33,7 +33,7 @@ class RSCache: public RegionSegmentationMethod
RSCache ( const NICE::Config *conf, RegionSegmentationMethod *_rsmethod );
/** simple destructor */
- ~RSCache();
+ virtual ~RSCache();
/**
* returns the regions of a given image
@@ -34,7 +34,7 @@ class RSGraphBased: public RegionSegmentationMethod
RSGraphBased(const NICE::Config *conf );
- ~RSGraphBased();
+ virtual ~RSGraphBased();
@@ -77,7 +77,7 @@ class RSMarkovCluster : public RegionSegmentationMethod
RSMarkovCluster ( const NICE::Config* conf );
//! Standard-Destruktor
- ~RSMarkovCluster() {};
+ virtual ~RSMarkovCluster() {};
/* Ueberschriebene Methoden */
@@ -46,7 +46,7 @@ class RSMeanShift: public RegionSegmentationMethod
RSMeanShift(const NICE::Config *conf );
- ~RSMeanShift();
+ virtual ~RSMeanShift();
@@ -35,7 +35,7 @@ public:
RSSlic(const NICE::Config *conf );
- ~RSSlic();
+ virtual ~RSSlic();
@@ -34,7 +34,7 @@ class RegionSegmentationMethod
RegionSegmentationMethod(const NICE::Config *c );
- ~RegionSegmentationMethod();
+ virtual ~RegionSegmentationMethod();