Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
This file loads landSat 8 images. Instead of individual TIF images, you need to point it to the meta data.
The usage is:
LandSatData=loadLandSat8('LC80400372014241LGN00_MTL.txt');
Note that the input parameter is the txt file. the output, i.e. LandSatData would be a structure:
Band: {11x1 cell}
BandInfo: {11x1 cell}
BQA: [7841x7691 uint16]
BQAInfo: [1x1 struct]
MetaData: [1x1 struct]
Above commands will load all bands including BQA band. If you want to load only certain bands then issue:
LandSatData=loadLandSat8('LC80400372014241LGN00_MTL.txt',[2,3,4,12]);
In above example, only band 2, 3 and 4 are loaded. The rest would be empty. Band 12 refers to Band Quality Data or BQA. If not provided it won't be loaded.
You can make a color composite as follows:
RGB=(cat(3, LandSatData.Band{4}, LandSatData.Band{3}, LandSatData.Band{2}));
imshow(imadjust(RGB,stretchlim(RGB)),[]);
Zitieren als
Mohammad Abouali (2026). loadLandSat8(metaFileName,bandList) (https://de.mathworks.com/matlabcentral/fileexchange/48634-loadlandsat8-metafilename-bandlist), MATLAB Central File Exchange. Abgerufen .
Allgemeine Informationen
- Version 1.0.0.0 (4,16 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.0.0.0 |
