Commit 0c0ac256 authored by Julien Michel's avatar Julien Michel
Browse files

WRG: Fixing shadowed typedef declaration warning

No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
...@@ -120,7 +120,7 @@ private: ...@@ -120,7 +120,7 @@ private:
} }
// Transform the PAN image to otb::Image // 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; typedef otb::MultiToMonoChannelExtractROI<float,float> ExtractFilterType;
ExtractFilterType::Pointer channelSelect = ExtractFilterType::New(); ExtractFilterType::Pointer channelSelect = ExtractFilterType::New();
...@@ -128,12 +128,12 @@ private: ...@@ -128,12 +128,12 @@ private:
channelSelect->SetChannel(1); channelSelect->SetChannel(1);
channelSelect->SetInput(panchroV); channelSelect->SetInput(panchroV);
channelSelect->UpdateOutputInformation(); channelSelect->UpdateOutputInformation();
FloatImageType::Pointer panchro = channelSelect->GetOutput(); InternalImageType::Pointer panchro = channelSelect->GetOutput();
typedef otb::BCOInterpolateImageFunction<FloatVectorImageType> InterpolatorType; typedef otb::BCOInterpolateImageFunction<FloatVectorImageType> InterpolatorType;
typedef otb::GenericRSResampleImageFilter<FloatVectorImageType, FloatVectorImageType> ResamplerType; typedef otb::GenericRSResampleImageFilter<FloatVectorImageType, FloatVectorImageType> ResamplerType;
typedef otb::StreamingResampleImageFilter<FloatVectorImageType, FloatVectorImageType> BasicResamplerType; typedef otb::StreamingResampleImageFilter<FloatVectorImageType, FloatVectorImageType> BasicResamplerType;
typedef otb::SimpleRcsPanSharpeningFusionImageFilter<FloatImageType, FloatVectorImageType, FloatVectorImageType> FusionFilterType; typedef otb::SimpleRcsPanSharpeningFusionImageFilter<InternalImageType, FloatVectorImageType, FloatVectorImageType> FusionFilterType;
// Resample filter // Resample filter
ResamplerType::Pointer resampler = ResamplerType::New(); ResamplerType::Pointer resampler = ResamplerType::New();
......
Supports Markdown
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