|
@@ -24,9 +24,9 @@ SemanticSegmentation::SemanticSegmentation ( )
|
|
|
: iterationCountSuffix(1)
|
|
|
{
|
|
|
this->imagetype = IMAGETYPE_RGB;
|
|
|
-
|
|
|
this->classNames = new ClassNames();
|
|
|
-
|
|
|
+ this->run3Dseg = false;
|
|
|
+ this->coarseMode = false;
|
|
|
}
|
|
|
|
|
|
SemanticSegmentation::SemanticSegmentation ( const Config *conf,
|
|
@@ -54,6 +54,7 @@ void SemanticSegmentation::initFromConfig(const Config* conf, const string& s_co
|
|
|
{
|
|
|
std::string imagetype_s = conf->gS ( "main", "imagetype", "rgb" );
|
|
|
coarseMode = conf->gB( "main", "coarse_mode", false );
|
|
|
+ run3Dseg = conf->gB( "main", "run_3dseg", false );
|
|
|
|
|
|
if ( imagetype_s == "rgb" )
|
|
|
imagetype = IMAGETYPE_RGB;
|