[gdal-dev] Fwd: [OpenJPEG] OpenJPEG 2.2.0 is out ! Faster and safer.

N. Farah nfarah at hotmail.com
Mon Aug 28 10:21:10 PDT 2017


Hi,


I rebuilt GDAL (older version: 2.1.2) using this new open jpeg 2.2.0 (https://github.com/uclouvain/openjpeg/releases/download/v2.2.0/openjpeg-v2.2.0-linux-x86_64.tar.gz)

and tried to convert two jp2 dataset to tiff (gdal_translate):

- bluemarble_4km.jp2: (10800 x 5400 pixels). 37.3 mb file size.

- usgsLanSat.jp2: (8627 x 7745 pixels). 48 mb file size.


Tests were run on virtual machine with ‘Ubuntu 16.04’ operation system, 18 gb RAM and 2 CPU processors.


gdal_translate ‘bluemarble_4km.jp2’ to tiff:

- OpenJpeg 2.1.2:

13m34s: first run

13m35s: second run


- OpenJpeg 2.2.0:

13m45: first run

14m20s: second run


gdal_translate ‘usgsLanSat.jp2’ to tiff:

- OpenJpeg 2.1.2:

16m52s: first run

17m04s: second run


- OpenJpeg 2.2.0:

18m13s: first run

17m54s: second run


These results were not expected since the new openJpeg should be faster than the previous one. Could this be cause by 'gdal_translate' not using threads that the new openjpeg uses for performance boost ?


Or could it one of GDAL configuration or the built version of OpenJpeg need to be rebuilt using different config ?


Thanks

Noureddine Farah



________________________________
From: N. Farah <nfarah at hotmail.com>
Sent: Monday, August 14, 2017 11:42:31 AM
To: Even Rouault; gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] Fwd: [OpenJPEG] OpenJPEG 2.2.0 is out ! Faster and safer.


Right...since GDAL does not ship the 3rd party lib(s).


Thanks again


________________________________
From: Even Rouault <even.rouault at spatialys.com>
Sent: Monday, August 14, 2017 4:49:09 AM
To: gdal-dev at lists.osgeo.org
Cc: N. Farah
Subject: Re: [gdal-dev] Fwd: [OpenJPEG] OpenJPEG 2.2.0 is out ! Faster and safer.


On dimanche 13 août 2017 15:57:54 CEST N. Farah wrote:

> Great news. Thanks for the work.

>

>

> Any plans to integrate this new version in GDAL ?



Well, there's nothing to change in the GDAL source code. The existing JP2OpenJPEG driver will work with OpenJPEG 2.2. It is just a matter of recompiling libopenjp2.



Even



--

Spatialys - Geospatial professional services

http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170828/1cf25515/attachment.html>


More information about the gdal-dev mailing list