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