matlab 裁剪tif图

对图像(tif格式)进行裁剪函数: function newpic = croptif(path,lon1,lat1,lon2,lat2) % path为图片绝对路径,lon1,lat1为裁剪图片左上角经纬度,lon2,lat1为新图右下角经纬度 [A,R] = geotiffread(path); a = (lon1-R.LongitudeLimits(1,1))./R.CellExtentIn
相关文章
相关标签/搜索