From 02930a2674fbc701604b0ac93a071f0d782d0f59 Mon Sep 17 00:00:00 2001 From: Thomas Feuvrier <thomas.feuvrier@c-s.fr> Date: Tue, 21 Mar 2006 08:50:34 +0000 Subject: [PATCH] FA 00012 : correction sur l'initialisation des Index de l'image "Angle". --- Code/FeatureExtraction/otbImageToPathListAlignFilter.txx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Code/FeatureExtraction/otbImageToPathListAlignFilter.txx b/Code/FeatureExtraction/otbImageToPathListAlignFilter.txx index 8bf99ba313..cb04373b64 100644 --- a/Code/FeatureExtraction/otbImageToPathListAlignFilter.txx +++ b/Code/FeatureExtraction/otbImageToPathListAlignFilter.txx @@ -225,7 +225,11 @@ ImageToPathListAlignFilter<TInputImage,TOutputPath> typename RealImageType::RegionType region; region.SetSize(InputImage->GetLargestPossibleRegion().GetSize()); - region.SetIndex(InputImage->GetLargestPossibleRegion().GetIndex()); +// OTB-FA-00012-CS + IndexOut[0] = 0; + IndexOut[1] = 0; +// region.SetIndex(InputImage->GetLargestPossibleRegion().GetIndex()); + region.SetIndex(IndexOut); AngleImage->SetRegions( region ); AngleImage->SetOrigin(InputImage->GetOrigin()); AngleImage->SetSpacing(InputImage->GetSpacing()); @@ -325,7 +329,7 @@ ImageToPathListAlignFilter<TInputImage,TOutputPath> // Get the input and output pointers -//OTB-FA-00010-CS +// OTB-FA-00010-CS const InputImageType * InputImage = this->GetInput(); OutputPathListType * OutputPath = this->GetOutput(); // Generate the image -- GitLab