geotiff reader

This code read geotiff file, subset in pixel (or map coordinates) capability
5,1K download
Aggiornato 16 nov 2010

Visualizza la licenza

GEOTIFF_READ: read geotiff using imread and assign map info from infinfo.

I = GEOTIFF_READ('filename');
Reads whole images
I = GEOTIFF_READ('filename','pixel_subset', [minx maxx miny maxy]);
I = GEOTIFF_READ('filename','map_subset' , [minx maxx miny maxy]);
extract subset of the specified.

% output:
I.z, image data
I.x, x coordinate in map
I.y, y coordinate in map
I.info, misc. info

imshow(I.z, 'xdata', I.x, 'ydata', I.y);
shows image with map coordinate

% Version by Yushin Ahn
% Glacier Dynamics Laboratory,
% Byrd Polar Resear Center, Ohio State University
% Referenced enviread.m (Ian Howat)

Cita come

Yushin Ahn (2024). geotiff reader (https://www.mathworks.com/matlabcentral/fileexchange/29425-geotiff-reader), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2009b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0