geotiff reader

版本 (2.4 KB) 作者: Yushin Ahn
This code read geotiff file, subset in pixel (or map coordinates) capability

4.8K 次下载

更新时间 2010/11/16


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, 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)


Yushin Ahn (2023). geotiff reader (, MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明