浏览代码

minor name change

Sven Sickert 8 年之前
父节点
当前提交
5d712edde4
共有 3 个文件被更改,包括 6 次插入6 次删除
  1. 1 1
      semseg/SemSegContextTree3D.cpp
  2. 1 1
      semseg/SemanticSegmentation.cpp
  3. 4 4
      semseg/SemanticSegmentation.h

+ 1 - 1
semseg/SemSegContextTree3D.cpp

@@ -1597,7 +1597,7 @@ void SemSegContextTree3D::classify (
                 }
 
 #ifdef VISUALIZE
-        getProbabilityMap( probabilities );
+        saveProbabilityMapAsImage( probabilities );
 #endif
     }
     else

+ 1 - 1
semseg/SemanticSegmentation.cpp

@@ -274,7 +274,7 @@ void SemanticSegmentation::setClassNames ( const OBJREC::ClassNames * _className
     this->classNames = _classNames;
 }
 
-void SemanticSegmentation::getProbabilityMap ( const NICE::MultiChannelImage3DT<double> & prob )
+void SemanticSegmentation::saveProbabilityMapAsImage ( const NICE::MultiChannelImage3DT<double> & prob )
 {
     std::string s;
 

+ 4 - 4
semseg/SemanticSegmentation.h

@@ -236,20 +236,20 @@ class SemanticSegmentation : public NICE::Persistent
     }
 
     /**
-     * @brief Save probability maps of all classes to iamge files
+     * @brief Save probability maps of all classes to image files
      * @author Sven Sickert
      * @param prob class probability maps
      */
-    void getProbabilityMap( const NICE::MultiChannelImage3DT<double> & prob );
+    void saveProbabilityMapAsImage( const NICE::MultiChannelImage3DT<double> & prob );
 
     /**
      * @author Alexander Freytag
      * @date 06-02-2014 ( dd-mm-yyyy )
      */
     void setClassNames ( const OBJREC::ClassNames * _classNames  ) ;
-    
+
     void setIterationCountSuffix( const int & _iterationCountSuffix);
-    
+
     ///////////////////// INTERFACE PERSISTENT /////////////////////
     // interface specific methods for store and restore
     ///////////////////// INTERFACE PERSISTENT /////////////////////