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
相關文章
相關標籤/搜索