>  Docs Center  >  Using ENVI  >  Import Signatures

ENVI

Import Signatures

Import Signatures

Use the Import Signatures panel to import spectral signatures from multiple sources in order to create a new spectral library for the Spectral Library Builder.

See the following sections:

Importing Signatures From SLEF Files


The following are steps to import signatures from Spectral Library Exchange Format (SLEF) text files.

  1. From the Import signatures from drop-down list, select one of the following options:
    • SLEF (Directory): This option will import multiple SLEF files from a directory. You can enable the Search directory recursively option to search every directory within the selected directory.
    • SLEF (Individual Files): This option will import individual SLEF files.
  2. Click Import Signatures. A file selection dialog appears. If you selected SLEF (Directory), select a directory that contains SLEF files and click OK. If you selected SLEF (Individual Files), select an SLEF file and click OK. The SLEF Importer dialog appears.
  3. The SLEF Importer dialog is divided into three areas: a list of input SLEF files (left), a query metadata area (center), and a list of signatures to be imported (right).

    The Input SLEF Files list shows all of the SLEF files that were manually selected or found in the selected directory. The Spectra to Import list contains the list of signatures that will be imported into the new library.

  4. By default, all of the input SLEF files will be imported. To remove signatures from the list so that they will not import, select one or more signatures and click Remove Selected.
  5. To clear the list, click Clear All.
  6. To view metadata for a signature, select the signature from the list and click Show Metadata.
  7. Plot the spectral signature by clicking Spectral Plot.
  8. You can also perform most of these functions by right-clicking the signature name and selecting the appropriate option.

  9. You can use metadata queries to determine which of the input SLEFs will be imported. SLEF files are typically categorized by Group, Class, and Sub-Class; and each has a Country of Origin. Select the desired metadata values from these groups, and click Run Query. Only those signatures that contain metadata matching the query will appear in the Spectra to Import list. You can also enter search terms in the Keyword Search field. The query must find all of the entered metadata query fields within a signature's metadata for it to appear in the Spectra to Import list.
  10. When you are finished selecting the signatures to import, click OK. The signature data will be extracted from the SLEF files, and the signatures will be added to the Imported Signatures list.

Importing Signatures from ENVI Spectral Libraries


The following are steps to import signatures from ENVI spectral library (also called SLI) files.

  1. From the Import signatures from drop-down list, select ENVI Spectral Library (.sli).
  2. Click Import Signatures. The Select Spectral Library dialog appears.
  3. Select one or more spectral library files (.sli), and click OK. The SLI Importer dialog appears.
  4. Note: Your ENVI installation includes several spectral library files (.sli), located in the spec_lib directory.

    The SLI Importer dialog is divided into two areas: a list of available signatures (left), and a list of signatures to import (right).

  5. To plot a signature, select the signature in the Available Signatures List and perform one of the following actions:
    • Double-click
    • Right-click and select Plot Selected Spectra
    • Click the Plot Selected Entries button
  6. To import the selected signatures, click the arrow button to move them to the Signatures to Import list.
  7. To remove signatures from the list so that they will not import, select one or more signatures and click Remove Selected. To clear the list, click Clear All.
  8. When finished selecting signatures to import, click OK. The signature data will be extracted from the spectral library file(s) and the signatures will be added to the Imported Signatures list in the Import Signatures panel.

Importing Signatures From MRSL Files


The following are steps to import signatures from Metadata Rich Spectral Library (MRSL) files. The MRSL format is specific to THOR and accommodates variable-range and variable-resolution spectra with metadata for each signature.

  1. From the Import signatures from drop-down list, select MRSL.
  2. Click Import Signatures. The Select Spectral Library File dialog appears.
  3. Select one or more MRSL files, and click Open. The MRSL Importer dialog appears.
  4. The MRSL Importer dialog is divided into two areas: a query metadata area (left) and a list of signatures to be imported (right).

  5. By default, all of the signatures from the MRSL file you selected will be imported. To remove signatures from the list so that they will not import, select one or more signatures and click Remove Selected.
  6. To clear the list, click Clear All.
  7. To view metadata for a signature, select a signature from the list and click Show Metadata.
  8. Plot a spectral signature by clicking Spectral Plot.
  9. You can also perform most of these functions by right-clicking the signature name and selecting the appropriate option.

  10. You can use metadata queries to determine which of the input MRSL signatures will be imported. MRSL files are typically categorized by Group, Class, and Sub-Class; and each has a Country of Origin. Select the desired metadata values from these groups, and click Run Query. Only those signatures that contain metadata matching the query will appear in the Spectra to Import list. You can also enter search terms in the Keyword Search field. The query must find all of the entered metadata query fields within a signature's metadata for it to appear in the Spectra to Import list.
  11. When you are finished selecting the signatures to import, click OK. The signature data will be extracted from the MRSL files, and the signatures will be added to the Imported Signatures list.



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