Terrain from IMG, JP2, or Tiff File
조회 수: 31 (최근 30일)
이전 댓글 표시
Hi, I need to plot high resolution lunar terrain mostly as contour plots and using meshm from the mapping toolbox. I have access to .tiff, .IMG, or .JP2 files:
- IMG and JP2: http://imbrium.mit.edu/BROWSE/LOLA_GDR/POLAR/SOUTH_POLE/
- IMG and JP2: https://pds-geosciences.wustl.edu/missions/lro/lola.htm
- tiff: http://wms.lroc.asu.edu/lroc/view_rdr/NAC_POLE_SOUTH
Topographic maps, see link below, have been produced from this data previously and this is what I've been comparing my results to.
My primary issue is how to get elevation information from these files. I've tried geotiffread but I don't know how to translate the grayscale image information I get from the function into actual elevations after reading the tiff file. I've tried using geotiffinterp from the file exchange (https://www.mathworks.com/matlabcentral/fileexchange/47899-geotiffinterp) to do this but I wasn't getting elevations that were close to the known values (all the values were from 0 to 256 so I think this was just color information and not elevation info I was getting). For the IMG files I've used fread to read in the image but after that I'm again stuck with how to get elevation information from what I've read in.
To summarize, how can I get elevation information to plot the terrain from tiff, IMG, or JP2 files like those from the links above?
Thank you for your help!
댓글 수: 0
답변 (2개)
Cameron
2020년 8월 23일
편집: Cameron
2020년 8월 23일
Hi there,
You need to use the DSMAP_POLAR.CAT file to transform your IMG file indeces to cartesian,UPS coordinates. Then you can use the coordinate information and altitude data to create those maps.
. DSMAP_POLAR.CAT can be found here: http://imbrium.mit.edu/CATALOG/
댓글 수: 0
Pratheek Punchathody
2021년 4월 20일
As per my understanding Read and Display Elevation Data will help you in displaying the elevation data from the tiff image format.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!