瀏覽代碼

debugwrite

Bjoern Froehlich 13 年之前
父節點
當前提交
5f14db9ada
共有 1 個文件被更改,包括 5 次插入9 次删除
  1. 5 9
      semseg/SemSegContextTree.cpp

+ 5 - 9
semseg/SemSegContextTree.cpp

@@ -1332,19 +1332,15 @@ void SemSegContextTree::semanticseg ( CachedExample *ce, NICE::Image & segresult
           }
         }
       }
-
-      if ( depth < maxDepth )
-      {
-        //compute integral images
-        if ( firstiteration )
-        {
-          feats.addChannel ( classes + rawChannels );
-        }
-      }
     }
 
     if ( depth < maxDepth )
     {
+      //compute integral images
+      if ( firstiteration )
+      {
+        feats.addChannel ( classes + rawChannels );
+      }
       computeIntegralImage ( currentfeats, feats, channelType.size() - classes );
 #ifdef TEXTONMAP
       computeIntegralImage ( textonMap, integralTexton );