diff --git a/Modules/Applications/AppSARPolarSynth/app/otbSARPolarSynth.cxx b/Modules/Applications/AppSARPolarSynth/app/otbSARPolarSynth.cxx index dc2e2d6a51db91898080899271507de342119b1c..3f904e834b20770e6c5d83bbe48cc7cb7cf82f8c 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);