[gdal-dev] pixel/line mapping for two images.
Chaitanya kumar CH
chaitanya.ch at gmail.com
Sat Sep 12 06:54:54 EDT 2009
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
> 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.
> Less clicking: Hotmail access on the new MSN homepage.
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
Chaitanya kumar CH.
More information about the gdal-dev