Changes between Initial Version and Version 1 of Ticket #5183


Ignore:
Timestamp:
Aug 6, 2013, 7:11:42 AM (11 years ago)
Author:
swalter75
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5183 – Description

    initial v1  
    11When 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).
    22
    3 Attached to this ticket you will find two examples, one with the quality parameter, one without. The commands were the following:
     3For example, the problem can be inspected with this xample data (Mars elevation):
    44
    5 gdal_translate -ot Int16 -of JP2KAK hb738_0000.dt4.04.tif hb738_0000.dt4.04.jp2
     5http://www.geoinf.fu-berlin.de/h0533_0000.dt4.53.tif
    66
    7 gdal_translate -ot Int16 -of JP2KAK -co "QUALITY=100" hb738_0000.dt4.04.tif hb738_0000.dt4.04_qual100.jp2
     7The following command gives strange results:
    88
    9 The originating tiff (Mars elevation) will also be attached.
     9gdal_translate -ot Int16 -of JP2KAK -co "QUALITY=100" h0533_0000.dt4.53.tif h0533_0000.dt4.53_qual100.jp2
     10
     11While this command gives expected results:
     12
     13
     14gdal_translate -ot Int16 -of JP2KAK h0533_0000.dt4.53.tif h0533_0000.dt4.53.jp2
     15
     16The problem has already been described in this thread, but never been addresses (as far as I know):
     17
     18http://lists.osgeo.org/pipermail/gdal-dev/2011-February/027900.html