diff --git a/Code/IO/otbImageFileWriter.txx b/Code/IO/otbImageFileWriter.txx index 8ccc3eb043c6706fa0fa6eaf26d7e8359a135d9a..a495fa315d7c8d61b19911da7cab1bd02b3d7fe9 100644 --- a/Code/IO/otbImageFileWriter.txx +++ b/Code/IO/otbImageFileWriter.txx @@ -501,8 +501,6 @@ ImageFileWriter<TInputImage> m_ShiftOutputIndex = start; inputRegion.SetIndex(m_ShiftOutputIndex); - otbMsgDevMacro(<< "inputRegion " << inputRegion); - if (!inputRegion.Crop(inputPtr->GetLargestPossibleRegion())) { // Couldn't crop the region (requested region is outside the largest @@ -631,7 +629,6 @@ ImageFileWriter<TInputImage> //Set the ioRegion index using the shifted index ( (0,0 without box parameter)) ioRegion.SetIndex(i, streamRegion.GetIndex(i) - m_ShiftOutputIndex[i]); } - otbMsgDevMacro(<< "ioregion " << ioRegion ) this->SetIORegion(ioRegion); m_ImageIO->SetIORegion(m_IORegion); @@ -737,8 +734,6 @@ ImageFileWriter<TInputImage> cacheImage->SetBufferedRegion(ioRegion); cacheImage->Allocate(); - otbMsgDevMacro(<< "ioRegion " << ioRegion); - typedef itk::ImageRegionConstIterator<TInputImage> ConstIteratorType; typedef itk::ImageRegionIterator<TInputImage> IteratorType;