Opened 11 years ago

Last modified 5 years ago

#5183 closed defect

Artifacts in Image Using GDAL JP2KAK plugin for lossless 16 bit — at Version 4

Reported by: swalter75 Owned by: warmerdam
Priority: normal Milestone: closed_because_of_github_migration
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords:
Cc:

Description (last modified by swalter75)

When converting Int16 data to JP2KAK with the -co "QUALITY=100" option, strange artifacts are created in the nodata values and in some cases also in the image data (not in the example below). Using the conversion without the lossless option everything works as expected.

For example, the problem can be inspected with this xample data (Mars elevation):

http://www.geoinf.fu-berlin.de/h0533_0000.dt4.53.tif

The following command gives strange results:

gdal_translate -ot Int16 -of JP2KAK -co "QUALITY=100" h0533_0000.dt4.53.tif h0533_0000.dt4.53_qual100.jp2

Here is a link to the resulting problematic image:

http://www.geoinf.fu-berlin.de/h0533_0000.dt4.53_qual100.jp2

This command gives expected results:

gdal_translate -ot Int16 -of JP2KAK h0533_0000.dt4.53.tif h0533_0000.dt4.53.jp2

The problem has already been described in this thread, but never been addresses (as far as I know):

http://lists.osgeo.org/pipermail/gdal-dev/2011-February/027900.html

Change History (4)

comment:1 by swalter75, 11 years ago

Description: modified (diff)

comment:2 by swalter75, 11 years ago

Description: modified (diff)

comment:3 by swalter75, 11 years ago

Description: modified (diff)

comment:4 by swalter75, 11 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.