pixel location to map location

1 view (last 30 days)
P
P on 19 Aug 2014
Commented: P on 19 Aug 2014
If we only know four-corner and center pixels' latitudes and longitudes of an image, is there anyway to estimate the each pixel locations as of latitude and longitude?

Accepted Answer

Image Analyst
Image Analyst on 19 Aug 2014
Of course. It's a simple matter of bilinear interpolation. See wikipedia: http://en.wikipedia.org/wiki/Bilinear_interpolation if you don't know the formula, which is basically setting up two line point-slope formulas. Pretty trivial even for MATLAB beginners, but let us know if you can't figure it out.
  1 Comment
P
P on 19 Aug 2014
Thanks a lot, I also can find correct answer using griddata function.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!