Opened 15 years ago

Closed 13 years ago

#2805 closed defect (fixed)

JP2ECW driver fails in decompressing lossless JPEG2000

Reported by: Jukka Rahkonen Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords: JP2ECW
Cc:

Description

Lossless (reversible) JPEG2000 images decompressed with gdal JP2ECW driver are not similar to original images. JP2KAK and JP2MrSID drivers are decompressing lossless images correctly.

Gdal version is the one that comes with FWTools 2.2.8. Lossless JPEG2000 images were created with kdu_compress v.6.0. Atteched sample image was compressed with kdu_compress by using defaults, except Creversible=yes option.

Attachments (1)

Christmas_gerbile.jp2 (108.6 KB ) - added by Jukka Rahkonen 15 years ago.
Lossless JPEG2000 image sample

Download all attachments as: .zip

Change History (3)

by Jukka Rahkonen, 15 years ago

Attachment: Christmas_gerbile.jp2 added

Lossless JPEG2000 image sample

comment:1 by warmerdam, 15 years ago

Component: defaultGDAL_Raster
Keywords: JP2ECW added

I have also observed this problem on reversible files with the JP2ECW driver. I *presume* it is a problem within the ECW SDK itself but it is possible there is some option we are failing to set properly. I am not sure how to pursue this matter and I don't anticipate any progress on it in the near future.

comment:2 by warmerdam, 13 years ago

Resolution: fixed
Status: newclosed

I have talked to Erdas about this and it is a problem in the SDK. It still exists in 4.1, but I have confirmed that it is fixed in 4.2 and we get back exact values for reversibly compressed images.

Note: See TracTickets for help on using tickets.