diff --git a/Modules/Applications/AppFusion/app/otbBundleToPerfectSensor.cxx b/Modules/Applications/AppFusion/app/otbBundleToPerfectSensor.cxx index a1e8a2fa4151b8fd9882ce7371d514c32c9638a2..8084eba9d7bc4a09b4f8f035c58d794872c6ee97 100644 --- a/Modules/Applications/AppFusion/app/otbBundleToPerfectSensor.cxx +++ b/Modules/Applications/AppFusion/app/otbBundleToPerfectSensor.cxx @@ -120,7 +120,7 @@ private: } // Transform the PAN image to otb::Image - typedef otb::Image<FloatVectorImageType::InternalPixelType> FloatImageType; + typedef otb::Image<FloatVectorImageType::InternalPixelType> InternalImageType; typedef otb::MultiToMonoChannelExtractROI<float,float> ExtractFilterType; ExtractFilterType::Pointer channelSelect = ExtractFilterType::New(); @@ -128,12 +128,12 @@ private: channelSelect->SetChannel(1); channelSelect->SetInput(panchroV); channelSelect->UpdateOutputInformation(); - FloatImageType::Pointer panchro = channelSelect->GetOutput(); + InternalImageType::Pointer panchro = channelSelect->GetOutput(); typedef otb::BCOInterpolateImageFunction<FloatVectorImageType> InterpolatorType; typedef otb::GenericRSResampleImageFilter<FloatVectorImageType, FloatVectorImageType> ResamplerType; typedef otb::StreamingResampleImageFilter<FloatVectorImageType, FloatVectorImageType> BasicResamplerType; - typedef otb::SimpleRcsPanSharpeningFusionImageFilter<FloatImageType, FloatVectorImageType, FloatVectorImageType> FusionFilterType; + typedef otb::SimpleRcsPanSharpeningFusionImageFilter<InternalImageType, FloatVectorImageType, FloatVectorImageType> FusionFilterType; // Resample filter ResamplerType::Pointer resampler = ResamplerType::New();