Commit 77ed5ba2 authored by remicres's avatar remicres

FIX: labels start from 1

parent 767b73ce
......@@ -109,8 +109,8 @@ MergeAllGraphsAndAchieveSegmentation(
label = it.Get();
// Compute LUT
label = 1;
vnl_vector<typename TSegmenter::LabelImageType::InternalPixelType> lut(label,noDataLabel);
label = 1;
for(it.GoToBegin();!it.IsAtEnd(); ++it)
{
unsigned int inputLabel = it.Get();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment