Commit 5eda97ed authored by remi cresson's avatar remi cresson

ENH: no-data value can be chose

parent c5465c2f
......@@ -140,7 +140,7 @@ public:
// Set nodata
FloatVectorImageType::PixelType nodatapix;
m_ArgmaxMosaicFilter->UpdateOutputInformation();
nodatapix.SetSize(filter->GetOutput()->GetNumberOfComponentsPerPixel());
nodatapix.SetSize(m_ArgmaxMosaicFilter->GetOutput()->GetNumberOfComponentsPerPixel());
nodatapix.Fill(GetParameterFloat("nodata"));
m_ArgmaxMosaicFilter->SetNoDataInputPixel(nodatapix);
m_ArgmaxMosaicFilter->SetNoDataOutputPixel(nodatapix);
......
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