Re: [gdal-dev] Availability of Lanczos and cubicspline in gdaladdo

2009-03-30 Thread Frank Warmerdam
Benoit Andrieu wrote: Thanks for the answer Frank ! So in a first time I'll be looking at making a gdaladdo bis. By the way, do you know why Mapserver does "only" support nearest, average, bilinear, bicubic ? I thought it was using GDAL to do warping, but then it would natively support cubics

Re[2]: [gdal-dev] Availability of Lanczos and cubicspline in gdaladdo

2009-03-30 Thread Benoit Andrieu
i > À: "gdal-dev@lists.osgeo.org >> Gdal-Dev" > Date: 31/03/2009 00:06 > Objet: Re: [gdal-dev] Availability of Lanczos and cubicspline in gdaladdo > > Seth Price wrote: > > I actually hope to be addressing performance in my GSoC project. I'm > > intere

Re[2]: [gdal-dev] Availability of Lanczos and cubicspline in gdaladdo

2009-03-30 Thread Benoit Andrieu
hots. Or try to reproduce on differents datasets. Regards, Benoît Andrieu > -Message reçu- > De: Frank Warmerdam > À: Benoit Andrieu > Cc: "gdal-dev@lists.osgeo.org" > Date: 30/03/2009 23:48 > Objet: Re: [gdal-dev] Availability of Lanczos and cubicspline in gd

Re: [gdal-dev] Availability of Lanczos and cubicspline in gdaladdo

2009-03-30 Thread Adam Nowacki
Seth Price wrote: I actually hope to be addressing performance in my GSoC project. I'm interested in rewriting the GDAL resampling code to CUDA, so the graphics card does the hard work. For example, instead of processing one pixel at a time, the latest GeForce GTX 260 would be able to process 216

Re: [gdal-dev] Availability of Lanczos and cubicspline in gdaladdo

2009-03-30 Thread Frank Warmerdam
Benoit Andrieu wrote: The quality after downsizing images with gdalwarp is so perfect that I am now willing to include this in my overviews. Is there any chances to have this include in future releases or is there any difficulties I am not aware of ? It is my intention to add a cubic resampling

Re[2]: [gdal-dev] Availability of Lanczos and cubicspline in gdaladdo

2009-03-30 Thread Benoit Andrieu
e: Seth Price > À: Benoit Andrieu > Cc: gdal-dev@lists.osgeo.org > Date: 30/03/2009 22:55 > Objet: Re: [gdal-dev] Availability of Lanczos and cubicspline in gdaladdo > > I actually hope to be addressing performance in my GSoC project. I'm > interested in rewriting the GDAL resa

Re: [gdal-dev] Availability of Lanczos and cubicspline in gdaladdo

2009-03-30 Thread Seth Price
One reason that warping is different than overviews is that warping has much more versatile resampling. For the current overview code, an integer number of pixels are combined into one pixel, and there is no overlap between resampling areas. For warping code, each destination pixel draws from sourc

Re: [gdal-dev] Availability of Lanczos and cubicspline in gdaladdo

2009-03-30 Thread Seth Price
formance is a really big problem with Lanczos/cubicspline... > > I'll take a look at the code. > > Regards, > > Benoît Andrieu > b...@ixsea.com > benoit.andr...@gmail.com > >> -Message reçu- >> De: "Seth Price" >> À: Benoît An

Re[2]: [gdal-dev] Availability of Lanczos and cubicspline in gdaladdo

2009-03-30 Thread Benoit Andrieu
Thanks for the answer, > > Hi list ! > > > > I was wondering why the Lanczos and cubicspline are available in > > gdal_warp and not gdaladdo ? > > Benoît, > > The overview builder and warper use quite different mechanisms so there > is no close relationship between the resampling options avail

Re: [gdal-dev] Availability of Lanczos and cubicspline in gdaladdo

2009-03-30 Thread Seth Price
The resampling code between gdal_warp and gdaladdo is completely separate, thus it is basically two different projects. For the Google Summer of Code application I'm about to submit I will be working on the resampling code in GDAL's warper and GRASS. If I have time (and my application is accepted!)

Re: [gdal-dev] Availability of Lanczos and cubicspline in gdaladdo

2009-03-30 Thread Frank Warmerdam
Benoît Andrieu wrote: Hi list ! I was wondering why the Lanczos and cubicspline are available in gdal_warp and not gdaladdo ? Benoît, The overview builder and warper use quite different mechanisms so there is no close relationship between the resampling options available in each case. The q

[gdal-dev] Availability of Lanczos and cubicspline in gdaladdo

2009-03-30 Thread Benoît Andrieu
Hi list ! I was wondering why the Lanczos and cubicspline are available in gdal_warp and not gdaladdo ? The quality after downsizing images with gdalwarp is so perfect that I am now willing to include this in my overviews. Is there any chances to have this include in future releases or is ther