>  Docs Center  >  Using ENVI  >  Export Library

ENVI

Export Library

Export Library

Use the Export Library panel to write a new spectral library to disk from within the THOR Spectral Library Builder. You can export the library to Metadata Rich Spectral Library (MRSL) format or to the standard ENVI spectral library (.sli) format.

When exporting to a standard ENVI spectral library, all signatures will be resampled to the same spectral range and band spacing, and all metadata beyond signature names will be removed.

Exporting to MRSL Format


  1. From the Output Format drop-down list, select Metadata Rich Spectral Library (.msl).
  2. Choose an output filename and location. The file will be appended with an .msl extension. The output MRSL file will preserve each signature's spectral range, band spacing, and metadata.

Note: ENVI cannot read MRSL files; only THOR can read these files. Use the THOR Spectral Library Viewer to view MRSL files.

Exporting to ENVI Spectral Library Format


  1. From the Output Format drop-down list, select ENVI Spectral Library (.sli).
  2. Select an output filename and location. The file will be appended with a .sli extension.
  3. From the Output Wavelengths drop-down list, select a method for resampling the signatures so that they all have the same spectral range and band spacing. All metadata (except the signature name) will be lost upon output. Each of the output options is described below. For all options, the Output Wavelengths list displays the wavelengths that the input signatures will be resampled to.
    • Based on input signatures (band union): This method examines the signature wavelengths to determine the output range and band spacing. The minimum value of the output range is set to the minimum wavelength that occurs in any of the input signatures. The maximum value of the output range is set to the maximum wavelength that occurs in any of the input signatures. Signatures that do not span this entire range are padded with zeros for those bands that are outside their native range. The signature with the most bands is used as the basis for output band spacing.
    • Based on input signatures (band intersection): This method examines the signature wavelengths to determine the output range and band spacing. The output range is set to the minimum and maximum wavelength that all the signatures have in common. The signature with the most bands between this spectral range is used as the basis for output band spacing.
    • Based on data file: Click Select Data File to select an image or spectral library that contains wavelength information. The output wavelengths will match those of the selected file. For those input signatures that do not span the entire wavelength range, zeros are used to pad the ends. This option is useful if you want your library to match a particular sensor's spectral characteristics.
    • Set manually: This method allows you to specify the Min and Max wavelength values and the Band Spacing to use. For those input signatures that do not span the entire wavelength range, zeros are used to pad the ends.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us