diff --git a/Code/IO/otbJPEG2000ImageIO.cxx b/Code/IO/otbJPEG2000ImageIO.cxx index 0350585caae7aa5d58ae4ef79b48fa536fc25f63..3cfdeef494b5165aa0d83e72d5553f9812ae5221 100644 --- a/Code/IO/otbJPEG2000ImageIO.cxx +++ b/Code/IO/otbJPEG2000ImageIO.cxx @@ -447,8 +447,8 @@ void JPEG2000ImageIO::Read(void* buffer) otbMsgDevMacro(<< " IORegion : " << this->GetIORegion()); otbMsgDevMacro(<< " Nb Of Components : " << this->GetNumberOfComponents()); otbMsgDevMacro(<< "IORegion: " << this->GetIORegion()); - otbMsgDevMacro(<< "Area to read: " << buffer_x0 << " " << buffer_y0 << " " - << buffer_x0 + buffer_size_x - 1 << " " << buffer_y0 + buffer_size_y - 1); + otbMsgDevMacro(<< "Area to read: " << lFirstColumn << " " << lFirstLine << " " + << lFirstColumn + lNbColumns << " " << lFirstLine + lNbLines); otbMsgDevMacro(<< "Component type: " << this->GetComponentTypeAsString(this->GetComponentType())); itk::TimeProbe chrono;