[gdal-dev] Question about r27234

Even Rouault even.rouault at mines-paris.org
Thu Apr 24 01:30:43 PDT 2014


Hi Jukka,

I blogged about it :

http://erouault.blogspot.fr/2014/04/advanced-jpeg-in-tiff-uses-in-gdal.html

This can be definitely usefull when you need subsampling of JPEG-in-TIFF that
don't have any internal or external overviews. But if you have storage space
available and some CPU time in advance, I'd still recommand generating
precomputed overviews.

Those "implicit" overviews will be faster than the previous way GDAL was doing
subsampling if you have relatively fast I/O compared to CPU.

But by nature of the JPEG codestream, JPEG implicit overviews will remain far
less powerfull than, let's say, JPEG2000 ones (or other similar wavelet-based
technologies). In wavelets, you can have frequency coefficients for the whole
image, whereas in JPEG, there are only for small 8x8 or 16x16 blocks, so in JPEG
you still need to read the whole set of coefficients, even if you only use 1/4,
1/16 or 1/64 of them.

Even

> Hi Even,
>
> I noticed that you have implemented into GDAL the new Rasterlite 2 feature
> of fast JPEG subsampling to levels 2, 4, and 8 in
> http://trac.osgeo.org/gdal/changeset/27234.
>
> I am curious to know how cool you consider this stuff is.
>
> -Jukka Rahkonen-
>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



More information about the gdal-dev mailing list