How do I convert latitude and longitude to rows and columns on a geotiff?
Mostrar comentarios más antiguos
I am trying to analyze a specific region of interest (ROI) on a very large geotiff. The image is from landsat 7. I want to input the latitude and longitudes of the top left and bottom right corners of the region I am interested in. I want to then use that data to find the rows and columns that I will be averaging.
I have tried to use functions such as latlon2pix. The pixel locations did not help me (the values I received didn't make sense). The setpostn function gives me errors.
Any help would be greatly appreciated!
Respuestas (2)
Chad Greene
el 16 de Mzo. de 2015
0 votos
If latlon2pix returned funny numbers, I'd guess there's something wrong with your georeferencing matrix.
Calvin Kielas-Jensen
el 20 de Mzo. de 2015
0 votos
Categorías
Más información sobre Data Import and Export en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!