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 1
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 )
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).
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
While 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