Preprocessing Workflow

Use the Preprocessing Workflow to prepare spectral image data for analysis.

See the following for help on a particular step of the workflow:

Workflow Tips

This workflow is not “modal,” meaning it will not block you from using other ENVI tools or working with additional data. This is useful in that the workflow will not prevent you from doing multiple things at a time. However, be aware that if you close all of your files in the middle of the workflow process, you might not be able to continue the workflow and will need to start over.

Navigating Workflow Steps

The number of steps provided in the workflow will depend on the input image data. For example, not all images will contain the data needed for every step; therefore, some steps will be skipped automatically.

Some steps can be optional; in those cases, the Perform this step radio button is selected by default. To skip that step and go to the next step in the workflow, select the Skip this step radio button, then click Next.

The timeline at the bottom of the workflow will display the order of steps available for the workflow and your data, and the title of your current location in the workflow will flash. The title is also an active link that you can click, to jump backward or forward to a desired step in the workflow.

Preview/Display Result

Some workflow steps provide options to preview the settings and/or to display the processed result.

Open Workflow in Modeler

On the last step of the workflow, the Open Workflow in Modeler link will take your full workflow - the exact data, choices, and parameter values that you selected - and create a Model that can be manipulated in the ENVI Modeler. For example, you could create a Model to perform batch processing with multiple similar input datasets.

Select Data

  1. From the Toolbox, select Workflows > Preprocessing Workflow. The Select Data panel appears.
  2. Select an input file and perform optional spatial and spectral subsetting and/or masking, then click OK.
  3. Click Next in the Select Data panel.

Calibrate

If your image has data that can be used for radiometric calibration, the Radiometric Calibration panel appears (otherwise, the Atmospheric Correct panel appears). In this step you will calibrate an image to radiance, top-of-atmosphere reflectance, or brightness temperatures. See Radiometric Calibration for a list of sensors and their calibration options.

  1. If the Calibration Type is "Radiance," enter the Scale Factor to output radiance in different units than W/(m2 * sr * µm) to get the calibrated image in your desired units. If you do not specify this keyword, the default value scale factor is 1.0 which will yield a radiance image in units of W/(m2 * sr * µm).

  2. From the Output Data Type drop-down list, select one of the following:

    • Int: 16-bit integer
    • Float: Floating-point (default)
    • Double: Double-precision floating point
    • UInt: 16-bit unsigned integer
  3. From the Calibration Type drop-down list, select one of the following options:

    • Radiance: This option is available if the image has gains and offsets for each band. ENVI reads these values from metadata from the sensors listed above. Radiance is computed using the following equation:

      ENVI expects gains and offsets to be in units of W/(m2 * sr * µm). If so, then radiance will be in units of W/(m2 * sr * µm).

    • Top-of-Atmosphere Reflectance: Top-of-atmosphere (TOA) reflectance (0 to 1.0). This option is available if the image has gains, offsets, solar irradiance, sun elevation, and acquisition time defined in the metadata. ENVI reads these values from metadata from the sensors listed above.

      If the input file contains metadata for reflectance gains and offsets, ENVI uses those values to calibrate the data to TOA reflectance. With Landsat-8 files, ENVI scales the reflectance gains and offsets by the sine of the sun elevation.

      If the input file does not contain metadata for reflectance gains and offsets, ENVI computes TOA reflectance using the following equation:

      Where:

      = Radiance in units of W/(m2 * sr * µm)

      = Earth-sun distance, in astronomical units.

      = Solar irradiance in units of W/(m2 * µm)

      = Sun elevation in degrees

    • Brightness Temperature: This option is only available for Landsat-8, ETM+, and TM thermal imagery. Brightness temperatures (in Kelvin) are computed as follows:

      Where:

      and = Calibration constants, in Kelvin. ENVI reads these values from the Landsat metadata.

  4. Click Next.

Atmospheric Correction

The Atmospheric Correction panel appears, providing several methods to remove the effects of the atmosphere on the reflectance values in the image.

  1. Select a method from the drop-down list. Depending on which method you choose, you may be prompted for additional settings, as described below:

    • Flat Field Correction: Flat Field calibration produces relative reflectance by dividing the mean spectrum of a user-defined region of interest (ROI) into the spectrum of each pixel in the image. The ROI should be a spectrally flat material within the wavelength range of the sensor. Beach sand and concrete are popular choices. Materials with spectral features such as vegetation are poor choices. Since the mean spectrum of the ROI is divided into each pixel, the relative reflectance for pixels within the ROI will be flat and have a value around 1.0.

    • IAR Reflectance Correction: This method is similar to Flat Field calibration in that a reference spectrum is divided into each pixel in the image to generate relative reflectance. However, the reflectance spectrum for IARR is the mean spectrum of the entire image versus a user-defined ROI. You do not need to input additional settings with this method.

    • Log Residuals Correction: The Log Residuals method produces a pseudo reflectance dataset by dividing each pixel’s spectrum by the spectral geometric mean and the spatial geometric mean. Log residuals is usually most effective for analyzing absorption features present in hyperspectral data. You do not need to input additional settings with this method.

    • QUAC - Quick Atmospheric Correction: This method is for multispectral and hyperspectral imagery that works with the visible and near-infrared through shortwave infrared (VNIR-SWIR) wavelength range. You will need the license for the Atmospheric Correction Module: QUAC® and FLAASH® to use this method.

      From the drop-down list, select the sensor type of the input raster:

      • Generic / Unknown Sensor (select if the sensor is not set to guess the best sensor type, based on the number of input bands and their wavelengths)
      • Highly Vegetated Scenes (select if the image is highly vegetated)
      • AISA-ES
      • ALI
      • ASAS
      • AVIRIS
      • CAP ARCHER
      • CASI
      • COMPASS
      • HYCAS
      • HYDICE
      • HyMap
      • Hyperion
      • Landsat TM/ETM/OLI
      • LASH
      • MARS
      • MODIS
      • QuickBird
      • RGB
      • WorldView-2
      • Near Infrared (NIR)
      • Near-Shortwave Infrared (NIR-SWIR) (select if the input raster has more than five bands and the wavelengths span the near-shortwave infrared region)
  2. Click Next.

Orthorectification

If your image contains a Rational Polynomial Coefficient (RPC) sensor model or Replacement Sensor Model (RSM), the Orthorectification panel appears for you to orthorectify the image.

  1. Select an orthorectification method from the drop-down list:

    • RPC Orthorectification: Uses optional Digital Elevation Model (DEM) and Ground Control Points (GCP) files.
    • RPC Orthorectification Using Reference Image: Automatically generates Ground Control Points (GCPs) from a reference image.

  2. Set the parameters for the selected orthorectification (see the descriptions below).

  3. Click Next.

RPC Orthorectification Settings

RPC Orthorectification Using Reference Image Settings

RPC Orthorectification Using Reference Image settings include these parameters in addition to the ones described above.

Export

THe Export Final Result panel appears.

  1. Enter a filename and location for the Output Raster.
  2. Click Finish.

See Also

FlatFieldCorrection Task, IARReflectanceCorrection Task, LogResidualsCorrection Task, QUAC Task, RadiometricCalibration Task, RPCOrthorectification Task, RPCOrthorectificationUsingReferenceImage Task, Creating Workflows