[ENVI Tutorial] Edit image header file information

1. Problem description

When using Envi5.3 to calculate the vegetation index, it appeared: ENVI Error:
Wavelengths must be defined to calculate vegetation indices
insert image description here
Open the image to be processed (Landsat8 preprocessed, surface albedo data cropped by a certain county), and found many Band information is missing.

insert image description here

2. Envi edits image header file information

2.1 View the original image header file

First load the [xxx_MTL.txt] file of Landsat8, [File] → [Open AS] → [Landsat] → [GeoTIFF with Metadata]

Please add a picture description
Load the [xxx_MTL.txt] file of Landsat8
Please add a picture description
and right click to view the header file information of Landsat8
Please add a picture description

2.2 Add header file information

insert image description here
insert image description here
Select the information to be added, eg: Band Names; Bands; Fwhm...
insert image description here
insert image description here
insert image description here
Click [ok] to process, and the final result is shown in the figure below:
insert image description here

Then you can use the vegetation index calculation tool in Envi to calculate NDVI.

Guess you like

Origin blog.csdn.net/qq_32390983/article/details/125338175