On 11-02-22 11:31 AM, Frederic CLAUDEL wrote:
Hi,
I've been trying to create a lossless JPEG2000 image from a signed 16-bit DEM
(stored in a TIFF file),
but have had no success so far with JP2KAK.
My DEM has large NoData regions (value is DTED NoData : -32767)
I tried different GDAL versions (1.7 1.8), and different versions of KAKADU
(6.3, 6.2)
I'm using gdal_translate -of JP2KAK -co QUALITY=100 <input.tif> <output.tif>
The image is created with no errors, but shows strong artefacts around Nodata
parts, while the large NoData areas are transformed to random 16bit garbage.

Frederic,

I would encourage you to file a ticket and I'll investigate.  I believe
there is a bug in the JP2KAK driver.  I started some related improvements
a couple months ago but let them fall by the wayside since no one seemed
to be running into the problems.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to