You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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)
Cite As
Yushin Ahn (2026). geotiff reader (https://au.mathworks.com/matlabcentral/fileexchange/29425-geotiff-reader), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: ENVI file reader, updated 2/9/2010
Inspired: How to drape Landsat images over Bedmap2 topography, geotiffinterp
General Information
- Version 1.0.0.0 (2.37 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
