Opened 13 years ago
Closed 6 years ago
#3975 closed defect (duplicate)
JP2KAK : artefacts in lossless 16 bit
Reported by: | fclaudel | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | default | Version: | svn-trunk |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
Creating a lossless JPEG2000 image with JP2KAK from a signed or unsigned 16-bit image causes artefacts in the image, in the places with strong radiometric transitions, and also where extremal values are used.
Test source images are :
1 - an elevation model (TIFF signed 16 bit), with elevation in meters, and large NoData regions -nodata value is DTED : -32767.
2 - same image with a +32768 offset (range between 1 and around 34000), stored as TIFF unsigned 16 bit
see test images (attached)
I tried different GDAL version (1.6, 1.7 and 1.8) Kakadu version is 6.3.1 Platform is Windows XP (Visual 2008)
To reproduce :
gdal_translate -of JP2KAK -co QUALITY=100 <input.tif> <output.jp2>
Note :
Using kakadu tools there is no problem : Creversible is used instead of QUALITY=100
kdu_compress.exe -i <source>.tif -o <target>.jp2 Clayers=12 Creversible=yes
Attachments (2)
Change History (6)
by , 13 years ago
Attachment: | Dem_Int16.tif added |
---|
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
by , 9 years ago
Attachment: | GDAL_16bit_DEM_bug.png added |
---|
comment:3 by , 6 years ago
This issue needs a refresh with recent Kakadu driver. Unfortunately I do not have such.
comment:4 by , 6 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Seems to be a duplicate of #5183
Source file, signed DEM with NoData