|
@@ -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 );
|