Skip to content
Snippets Groups Projects
Commit 37b305f9 authored by Julien Michel's avatar Julien Michel
Browse files

Merge branch 'release-5.8' into develop

parents a79f74fe f920456f
No related branches found
No related tags found
No related merge requests found
......@@ -194,6 +194,7 @@ private:
double> LinearInterpolationType;
LinearInterpolationType::Pointer interpolator = LinearInterpolationType::New();
m_Resampler->SetInterpolator(interpolator);
m_GridResampler->SetInterpolator(interpolator);
}
break;
case Interpolator_NNeighbor:
......@@ -202,6 +203,7 @@ private:
double> NearestNeighborInterpolationType;
NearestNeighborInterpolationType::Pointer interpolator = NearestNeighborInterpolationType::New();
m_Resampler->SetInterpolator(interpolator);
m_GridResampler->SetInterpolator(interpolator);
}
break;
case Interpolator_BCO:
......@@ -210,6 +212,7 @@ private:
BCOInterpolationType::Pointer interpolator = BCOInterpolationType::New();
interpolator->SetRadius(GetParameterInt("interpolator.bco.radius"));
m_Resampler->SetInterpolator(interpolator);
m_GridResampler->SetInterpolator(interpolator);
}
break;
}
......
......@@ -281,6 +281,10 @@ ImageClassificationFilter<TInputImage, TOutputImage, TMaskImage>
++labIt;
}
else
{
labelValue = m_DefaultLabel;
}
outIt.Set(labelValue);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment