Re: [gdal-dev] pixel/line mapping for two images.

2009-09-12 Thread Chaitanya kumar CH
Belaid, GDAL uses various interpolation/resampling algorithms like nearest neighbour, bilinear, cubic, cubic spline and lanczos. However, I think these may not be what you are looking for. Computing the overlap of pixels of two images should not be a complex process. You may find some ideas with

RE: [gdal-dev] pixel/line mapping for two images.

2009-09-12 Thread Belaid MOA
Thanks for the reply. I do not see how anti-aliasing techniques could be used here. Does anyone else have simple answers to the two elementary questions? Thanks a lot in advance. With best regards. ~Belaid. > Date: Sat, 12 Sep 2009 16:24:54 +0530 > Subject: Re: [gdal-dev] pixe

Re: [gdal-dev] pixel/line mapping for two images.

2009-09-16 Thread Chris . Barker
Belaid MOA wrote: > Thanks for the reply. I do not see how anti-aliasing techniques could be > used here. anti-aliasing when warping rasters requires computing how much the pixels of the source and destination overlap each-other. > Does anyone else have simple answers to the two elementary ques

RE: [gdal-dev] pixel/line mapping for two images.

2009-09-16 Thread Belaid MOA
:31 -0700 > From: chris.bar...@noaa.gov > Subject: Re: [gdal-dev] pixel/line mapping for two images. > To: belaid_...@hotmail.com; gdal-dev@lists.osgeo.org > > Belaid MOA wrote: > > Thanks for the reply. I do not see how anti-aliasing techniques could be > > used here. &

RE: [gdal-dev] pixel/line mapping for two images.

2009-09-16 Thread Belaid MOA
other ideas or thoughts on how to proceed are very appreciated. Thank you all in advance. ~Belaid. From: belaid_...@hotmail.com To: chris.bar...@noaa.gov; gdal-dev@lists.osgeo.org Subject: RE: [gdal-dev] pixel/line mapping for two images. Date: Wed, 16 Sep 2009 19:39:20 + CC: Than

Re: [gdal-dev] pixel/line mapping for two images.

2009-09-17 Thread Christopher Barker
Belaid MOA wrote: I wrote a GDAL C++ code that solves the following simple problem: take two images, a source image with spatial resolution 25mx25m (high resolution) and a destination image with spatial resolution 1mx1m (low resolution) and scale the source image so that the values of

Re: [gdal-dev] pixel/line mapping for two images.

2009-09-17 Thread Chris Barker
Belaid MOA wrote: I do not see how gdal_wrap could be used to find the pixels in the source image that map to the same pixel in the destination image? sorry for the typo, that's "gdalwarp" My point was not that you could use it to find the pixels, but that you could use it to do the whole jo

RE: [gdal-dev] pixel/line mapping for two images.

2009-09-17 Thread Belaid MOA
Thank you very much Chris. I will take a look at "lanczons" method and check whether I could use it to solve my simple problem once for all. With best regards. ~Belaid. > Date: Thu, 17 Sep 2009 15:56:33 -0700 > From: chris.bar...@noaa.gov > Subject: Re: [gdal-dev] pixel/l