TileFusion application crashes with SPOT-7 tiled images
Mantis Issue 1036, reported by sdinot, assigned to msavinaud, created: 2015-04-29
TileFusion application crashes when I tried to merge all the tiles (R1C1, R1C2...) of a SPOT-7 image distributed in DIMAPv2, non-ortho, pan-sharpened.
Message on Linux Ubuntu 12.04 with OTB 4.4 : Core dumped, then backtrace...
Message on Windows with OTB 4.2 : 2015 Apr 29 14:32:02 : Application.logger (FATAL) The following error occurred during OTB-application execution: ..\..\..\..\..\..\src\ITKv4\Modules\Core\Common\src\itkMultiThreader.cxx:359: itk::ERROR: MultiThreader(0FE7F5B0): Exception occurred during SingleMethodExecute ..\..\..\..\src\OTB-4.2.1\Code\IO\otbJPEG2000ImageIO.cxx:1167: itk::ERROR: otbopenjpeg failed to decode the desired tile 1!
1431438163 - mickaelCould you please give me the result of gdalinfo over your files. Moreover How have you build your OTB ? with a gdal which support the JP2OpenJPEG driver ?
For the moment I didn't reproduce the issue with my data. Which is not representative I think.
1431443135 - arnaudOn Linux this is a built OTB 4.4 using internal openjpeg and external GDAL from UbuntuGIS. On Windows this is binaries of 4.2 available through OSGeo4W.
The result of gdalinfo for a tile : Driver: JPEG2000/JPEG-2000 part 1 (ISO/IEC 15444-1) Files: IMG_SPOT7_PMS_201503120441425_SEN_1283946101_R1C1.JP2 Size is 12288, 14336 Coordinate System is `' Origin = (0.500000000000000,-0.500000000000000) Pixel Size = (1.000000000000000,-1.000000000000000) Corner Coordinates: Upper Left ( 0.5000000, -0.5000000) Lower Left ( 0.500, -14336.500) Upper Right ( 12288.500, -0.500) Lower Right ( 12288.500, -14336.500) Center ( 6144.500, -7168.500)
Band 1 Block=256x256 Type=UInt16,