Prechádzať zdrojové kódy

implemented function semanticseg for 3d images for oblique forests

Sven Sickert 9 rokov pred
rodič
commit
72428f2f60

+ 1 - 2
semseg/SemSegObliqueTree.cpp

@@ -131,11 +131,10 @@ void SemSegObliqueTree::preprocessChannels (
 
 
 void SemSegObliqueTree::initFromConfig( const Config *_conf,
-                                         const string &s_confSection )
+                                        const string &s_confSection )
 {
     conf = _conf;
     saveLoadData = conf->gB ( s_confSection, "save_load_data", false );
-    run3Dseg = conf->gB ( s_confSection, "run_3dseg", false );
     colorMode = conf->gI ( s_confSection, "color_mode", 0 );
     fileLocation = conf->gS ( s_confSection, "datafile", "classifier.data" );
 

+ 0 - 3
semseg/SemSegObliqueTree.h

@@ -30,9 +30,6 @@ class SemSegObliqueTree : public SemanticSegmentation
         /** save / load trained classifier */
         bool saveLoadData;
 
-        /** whether to run in 3D mode or not */
-        bool run3Dseg;
-
         /** 0 - RGB, 1 - HSV, 2 - CIELab */
         int colorMode;