Skip to content
Snippets Groups Projects
Commit 2fdb8913 authored by Christophe Palmann's avatar Christophe Palmann
Browse files

ENH: SARPolarSynth app, float to double pixels

parent 6bceed9d
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment