Commit 51c64405 authored by Jordi Inglada's avatar Jordi Inglada

ENH: mv filter update to a better place

parent 35671b1f
......@@ -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()
......
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