From 2fdb891375aba1ad608f84ddeddcbcbc615e78dd Mon Sep 17 00:00:00 2001 From: Christophe Palmann <christophe.palmann@c-s.fr> Date: Fri, 2 Oct 2015 09:29:44 +0200 Subject: [PATCH] ENH: SARPolarSynth app, float to double pixels --- .../Applications/AppSARPolarSynth/app/otbSARPolarSynth.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Applications/AppSARPolarSynth/app/otbSARPolarSynth.cxx b/Modules/Applications/AppSARPolarSynth/app/otbSARPolarSynth.cxx index dc2e2d6a51..3f904e834b 100644 --- a/Modules/Applications/AppSARPolarSynth/app/otbSARPolarSynth.cxx +++ b/Modules/Applications/AppSARPolarSynth/app/otbSARPolarSynth.cxx @@ -34,7 +34,7 @@ public: typedef itk::SmartPointer<Self> Pointer; typedef itk::SmartPointer<const Self> ConstPointer; - typedef MultiChannelsPolarimetricSynthesisFilter<ComplexFloatVectorImageType, FloatImageType> MCPSFilterType; + typedef MultiChannelsPolarimetricSynthesisFilter<ComplexDoubleVectorImageType, FloatImageType> MCPSFilterType; /** Standard macro */ itkNewMacro(Self); @@ -166,7 +166,7 @@ private: m_MCPSFilter->SetEmissionV(GetParameterInt("emissionv")); m_MCPSFilter->SetMode(GetParameterInt("mode")); - ComplexFloatVectorImageType* inVImage = GetParameterComplexImage("in"); + ComplexDoubleVectorImageType* inVImage = GetParameterComplexDoubleVectorImage("in"); inVImage->UpdateOutputInformation(); int nbBands = inVImage->GetNumberOfComponentsPerPixel(); otbAppLogINFO( << "nbBands = " << nbBands); -- GitLab