Explorar el Código

write globfeats

Bjoern Froehlich hace 13 años
padre
commit
a4d77f2cce
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      semseg/SemSegContextTree.cpp

+ 2 - 0
semseg/SemSegContextTree.cpp

@@ -1973,6 +1973,8 @@ void SemSegContextTree::semanticseg ( CachedExample *ce, NICE::Image & segresult
   string orgname = list.back();
   if ( cndir != "" )
   {
+    ofstream outstream("filelist.txt",ofstream::app);
+    outstream << orgname << ".dat" << endl;
     useclass = vector<int> ( classes, 0 );
     ifstream infile ( ( cndir + "/" + orgname + ".dat" ).c_str() );
     while ( !infile.eof() && infile.good() )