Преглед изворни кода

SemSegTools: added 256+ label support

Sven Sickert пре 10 година
родитељ
комит
b1f7255f01
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      semseg/SemSegTools.cpp

+ 1 - 1
semseg/SemSegTools.cpp

@@ -283,7 +283,7 @@ void SemSegTools::collectTrainingExamples (
         std::cerr << "SemSegTools: Collecting pixel examples from localization info: "
                   << imgfn << std::endl;
 
-        NICE::Image pixelLabels (xsize, ysize);
+        NICE::ImageT<int> pixelLabels (xsize, ysize);
         pixelLabels.set(0);
         locResult->calcLabeledImage ( pixelLabels, cn.getBackgroundClass() );