Эх сурвалжийг харах

modified SemSegObliqueTree according CachedExample change

Sven Sickert 8 жил өмнө
parent
commit
5918dcaa77

+ 3 - 3
semseg/SemSegObliqueTree.cpp

@@ -58,12 +58,12 @@ void SemSegObliqueTree::preprocessChannels (
     NICE::MultiChannelImage3DT<int> * img = NULL;
     NICE::MultiChannelImage3DT<double> * imgD = NULL;
 
-    imgD = & ce->getDChannel3( CachedExample::D_EOH );
+    imgD = & ce->getDChannel( CachedExample::D_EOH );
     assert( imgD->channels() == 0 );
 
     if ( isColor )
     {
-        img = & ce->getIChannel3( CachedExample::I_COLOR );
+        img = & ce->getIChannel( CachedExample::I_COLOR );
 
         imgD->reInit ( img->width(), img->height(), img->depth(), 3 );
 
@@ -108,7 +108,7 @@ void SemSegObliqueTree::preprocessChannels (
     }
     else
     {
-        img = & ce->getIChannel3( CachedExample::I_GRAYVALUES );
+        img = & ce->getIChannel( CachedExample::I_GRAYVALUES );
 
         // gray values to range [0,1]
         imgD->reInit ( img->width(), img->height(), img->depth(), 1 );