ITK exception raised when/after importing lena512color.jp2
Mantis Issue 785, reported by salbert, assigned to salbert, created: 2013-10-09
An ITK exception is raised when/after importing lena512color.jp2. There is no exception raised when importing babytux.png nor .tiff nor .jpg.
Remark: when Monteverdi2 is launched again, lena512color.jp2 can be displayed. The exception is then raised when resizing the Quicklook view.
Remark 2: Bug seems to appear since changeset http://hg.orfeo-toolbox.org/Monteverdi2/rev/4dd923ac087d
It seems the quicklook file is incorrectly generated (256x256 instead of 512x512 in the case of lena512color.jp2).
Console log: " Writing XML descriptor... XML descriptor has been written. WARNG> Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'itk::InvalidRequestedRegionError' what(): /home/salbert/dev/source/OTB-3.18.1/Utilities/ITK/Code/Common/itkDataObject.cxx:397: Requested region is (at least partially) outside the largest possible region. Aborted"
NULL