Changes between Initial Version and Version 1 of Ticket #5183
- Timestamp:
- Aug 6, 2013, 7:11:42 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5183 – Description
initial v1 1 1 When converting Int16 data to JP2KAK with the -co "QUALITY=100" option, strange artifacts are created in the nodata values and also in teh image data. Using the conversion without the lossless option everything works (but the image has a near black seam). 2 2 3 Attached to this ticket you will find two examples, one with the quality parameter, one without. The commands were the following:3 For example, the problem can be inspected with this xample data (Mars elevation): 4 4 5 gdal_translate -ot Int16 -of JP2KAK hb738_0000.dt4.04.tif hb738_0000.dt4.04.jp2 5 http://www.geoinf.fu-berlin.de/h0533_0000.dt4.53.tif 6 6 7 gdal_translate -ot Int16 -of JP2KAK -co "QUALITY=100" hb738_0000.dt4.04.tif hb738_0000.dt4.04_qual100.jp2 7 The following command gives strange results: 8 8 9 The originating tiff (Mars elevation) will also be attached. 9 gdal_translate -ot Int16 -of JP2KAK -co "QUALITY=100" h0533_0000.dt4.53.tif h0533_0000.dt4.53_qual100.jp2 10 11 While this command gives expected results: 12 13 14 gdal_translate -ot Int16 -of JP2KAK h0533_0000.dt4.53.tif h0533_0000.dt4.53.jp2 15 16 The problem has already been described in this thread, but never been addresses (as far as I know): 17 18 http://lists.osgeo.org/pipermail/gdal-dev/2011-February/027900.html