Skip to content
Snippets Groups Projects
Commit 4b57200c authored by Jordi Inglada's avatar Jordi Inglada Committed by Rémi Cresson
Browse files

ENH: mv filter update to a better place

parent b5ca60e0
Branches
Tags
No related merge requests found
......@@ -188,6 +188,9 @@ public:
m_VectorDataSrc = shp;
}
RasterizeInputVectorData();
// Computing stats
m_StatsFilter->SetInputLabelImage(m_RasterizeFilter->GetOutput());
m_StatsFilter->Update();
}
void ReprojectVectorDataIntoInputImage()
......@@ -214,10 +217,6 @@ public:
m_RasterizeFilter->SetDefaultBurnValue(0);
m_RasterizeFilter->SetGlobalWarningDisplay(false);
m_RasterizeFilter->SetBackgroundValue(m_IntNoData);
// Computing stats
m_StatsFilter->SetInputLabelImage(m_RasterizeFilter->GetOutput());
m_StatsFilter->Update();
}
void RemoveNoDataEntry()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment