Skip to content
Snippets Groups Projects
Commit fc2a238b authored by Julien Malik's avatar Julien Malik
Browse files

BUG: missing Update call

parent 33358171
No related branches found
No related tags found
No related merge requests found
......@@ -142,6 +142,7 @@ protected:
virtual ~PersistentConnectedComponentSegmentationOBIAToVectorDataFilter();
void GenerateInputRequestedRegion();
private:
ObjectSizeType m_MinimumObjectSize;
......
......@@ -37,6 +37,14 @@ PersistentConnectedComponentSegmentationOBIAToVectorDataFilter<TVImage, TLabelIm
{
}
template<class TVImage, class TLabelImage, class TMaskImage, class TOutputVectorData>
void
PersistentConnectedComponentSegmentationOBIAToVectorDataFilter<TVImage, TLabelImage, TMaskImage, TOutputVectorData>
::GenerateInputRequestedRegion()
{
Superclass::GenerateInputRequestedRegion();
}
template<class TVImage, class TLabelImage, class TMaskImage, class TOutputVectorData>
typename PersistentConnectedComponentSegmentationOBIAToVectorDataFilter<TVImage, TLabelImage, TMaskImage, TOutputVectorData>::VectorDataPointerType
PersistentConnectedComponentSegmentationOBIAToVectorDataFilter<TVImage, TLabelImage, TMaskImage, TOutputVectorData>
......@@ -105,6 +113,7 @@ PersistentConnectedComponentSegmentationOBIAToVectorDataFilter<TVImage, TLabelIm
typename LabelObjectOpeningFilterType::Pointer opening = LabelObjectOpeningFilterType::New();
opening->SetExpression(m_OBIAExpression);
opening->SetInput(radiometricLabelMapFilter->GetOutput());
opening->Update();
labelMap = opening->GetOutput();
}
......
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