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

Belaid MOA belaid_moa at hotmail.com
Sat Sep 12 14:29:27 EDT 2009


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] pixel/line mapping for two images.
> From: chaitanya.ch at gmail.com
> To: belaid_moa at hotmail.com
> CC: gdal-dev at lists.osgeo.org
> 
> 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 anti-aliasing techniques.
> 
> On Sat, Sep 12, 2009 at 12:36 PM, Belaid MOA <belaid_moa at hotmail.com> wrote:
> > Hi everyone,
> >   I have two elementary questions about how GDAL maps the pixel/line of one
> > image to an other image.
> > Suppose we have two GeoTiff images with different spatial resolutions and
> > projections.
> > According to GDAL code, a pixel/line (i,j), more precisely its center
> > (i+0.5,j+0.5), of the first image is mapped to the pixel/line (p,q) of the
> > second image, where p and q are doubles that usually have fraction parts.
> > My questions are: what is the meaning for these fractions? Is it possible to
> > use these fractions to compute the overlap between
> > the pixels of the two images using GDAL?
> >
> >  Any help on this is very appreciated!
> >  Thank you very much in advance.
> >
> > ~Belaid.
> >
> >
> >
> >
> > ________________________________
> > Less clicking: Hotmail access on the new MSN homepage.
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/gdal-dev
> >
> 
> 
> 
> -- 
> Best regards,
> Chaitanya kumar CH.

_________________________________________________________________
New: Messenger sign-in on the MSN homepage
http://go.microsoft.com/?linkid=9677403
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090912/4902b2d4/attachment.html


More information about the gdal-dev mailing list