Эх сурвалжийг харах

train-interface for LabeledSet pointer

Sven Sickert 11 жил өмнө
parent
commit
2102f50e8e

+ 3 - 3
semseg/SemanticSegmentation.cpp

@@ -7,10 +7,10 @@
 */
 */
 #include "SemanticSegmentation.h"
 #include "SemanticSegmentation.h"
 
 
-#include "core/basics/StringTools.h"
+#include <core/basics/StringTools.h>
 
 
-#include "vislearning/baselib/Preprocess.h"
-#include "vislearning/baselib/Globals.h"
+#include <vislearning/baselib/Preprocess.h>
+#include <vislearning/baselib/Globals.h>
 
 
 #include <iostream>
 #include <iostream>
 
 

+ 6 - 0
semseg/SemanticSegmentation.h

@@ -130,6 +130,12 @@ class SemanticSegmentation : public NICE::Persistent
      */
      */
     virtual void train ( const MultiDataset * md ) = 0;
     virtual void train ( const MultiDataset * md ) = 0;
 
 
+    /**
+     * @brief train the actual training method
+     * @param trainp pointer to training data
+     */
+    virtual void train ( const LabeledSet * trainp ){}
+
     /**
     /**
      * @brief Load image slices into a MultiChannelImage3DT
      * @brief Load image slices into a MultiChannelImage3DT
      * @author Sven Sickert
      * @author Sven Sickert