This function m-file reads the information from MTL text file, which contains metadata information for the dataset. MTL file is usually accompanied with the LANDSAT 7 ETM+ image dataset distributed from USGS.
Hope this code helps automating the process for a number of imagery.
Seongsu Jeong (2021). LANDSAT ETM+ MTL parser (https://www.mathworks.com/matlabcentral/fileexchange/30670-landsat-etm-mtl-parser), MATLAB Central File Exchange. Retrieved .
Inspired: How to drape Landsat images over Bedmap2 topography, L8read Landsat 8 Level 1 tiff reader, landsat, LANDSAT MSS/TM/ETM+ metadata (.MTL) Parser
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
NOTICE:
USGS has recently changed the format of the MTL file, so that this version does not guarantee its functionality.
Users are encouraged to visit and use more generalized version of the MTL parser developed by Evan Miles (File ID: #39073).
Very useful.