diff --git a/Code/FeatureExtraction/otbImageToPathListAlignFilter.txx b/Code/FeatureExtraction/otbImageToPathListAlignFilter.txx index 8bf99ba313a2e83cc1d9a00a98b7ef6d48557022..cb04373b6404c51ac1c6f057d9ac95d6a6422ab4 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