[gdal-dev] GDAL JP2KAK plugin for lossless 16 bit
Frank Warmerdam
warmerdam at pobox.com
Tue Feb 22 12:17:03 EST 2011
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, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the gdal-dev
mailing list