Browse Source

train-interface for LabeledSet pointer

Sven Sickert 11 years ago
parent
commit
2102f50e8e
2 changed files with 9 additions and 3 deletions
  1. 3 3
      semseg/SemanticSegmentation.cpp
  2. 6 0
      semseg/SemanticSegmentation.h

+ 3 - 3
semseg/SemanticSegmentation.cpp

@@ -7,10 +7,10 @@
 */
 #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>
 

+ 6 - 0
semseg/SemanticSegmentation.h

@@ -130,6 +130,12 @@ class SemanticSegmentation : public NICE::Persistent
      */
     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
      * @author Sven Sickert