extract data and lat/lon for tif file in matlab
18 ビュー (過去 30 日間)
古いコメントを表示
I have attached tif file and I want to extract lat/lon and its coordinate data in matlab. Note that the matlab version I am using is R2020a. Could someone please help me with that?
2 件のコメント
回答 (1 件)
Udit06
2023 年 11 月 16 日
Hi Seyedeh,
I understand that you want to extract the data stored in .tif file using MATLAB and you already know how to extract the latitude and longitude. If you want to extract the spatial referencing information for the file along with the actual data stored in the .tif file, you can use "readgeoraster" function otherwise you can simply read the data stored using the "imread" function.
You can refer to the following MathWorks documentation to understand more about "readgeoraster" and "imread" functions respectively.
- https://www.mathworks.com/help/map/ref/readgeoraster.html
- https://www.mathworks.com/help/images/read-image-data-into-the-workspace.html
I hope this helps.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Database Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!