Raster Layers

Raster layers generally refer to images, including multispectral, panchromatic, digital elevation models (DEMs), and masks. For information about classification images, see Class Layers.

See the following sections for details on raster layers:

Working with Raster Layers

The Layer Manager lists all of the displayed files in a tree view. Raster layers that are open but are not displayed in a view will be listed in the Data Manager.

Each time you open a new data file, the layer is added to the top of the Layer Manager tree and it becomes the selected layer. The selected layer is what you can perform specific functions on (such as add ROIs), without affecting other layers.

Here are some general tips for working with raster layers:

Manage Individual Layers

For additional options with individual layers, right-click on a raster in the Layer Manager and select an option:

Change Band Selection

ENVI uses information from the image metadata to determine what RGB band combination to load when the opens in the view. You can use the Dynamic Band Selection tool to change this initial band selection after the raster has been loaded. The tool is available at the bottom of the Layer tab whenever a raster is the selected layer in the Layer Manager.

This section describes how to use the Dynamic Band Selection tool to do the following:

For the band selection options listed above, you can easily change the combinations as often as desired to see the new combinations automatically applied in the view.

Select a Preset Band Combination

ENVI provides several preset band combinations you can apply. If you save custom band combinations, they also appear in the list of presets. Click the drop-down arrow next to the sliders and make a selection. ENVI provides the following:

Select Your Own Band Combinations

To make your own band combinations, click and drag the slider bars for red, blue, and green to select the bands to use for each.

The visible light, and what the wavelengths are for visible light, are shown on the left side of the slider bar.

Select Random Band Combinations

To have ENVI randomly select band combinations, click the Select Random Band Combination button .

Save Band Combinations

You can save band combinations you created or that ENVI randomly selected for you. Saved RGB band combinations are added to the drop-down list of presets. The band combinations are also saved to the file .idl\envi\preferencesx_x\display_bands.json, which can be shared with other ENVI users.

To save band combinations:

  1. Click the drop-down arrow next to the sliders and select Add Band Combination.

  2. Enter a Band combination name or use the default name, then click the OK button to save.

To remove saved band combinations from the drop-down list and the display_bands.json file, click the drop-down arrow and select Reset Band Combinations.

To restore band combinations from a file, click the drop-down arrow and select Restore Band Combinations, then browse and select the display_bands.json file.

Hybrid Band Selection in the Data Manager

You can create a new RGB layer consisting of three bands from different files, see Data Manager for details. The images must be coregistered and have the same x and y dimensions. Bands from a palette-based image are not supported.

Change a Color Table

You can apply a color table to a grayscale image when you right-click the layer in the Layer Manager and select Change Color Table. You can choose from several pre-define color tables, or click More to open the Change Color Table dialog. In the dialog you can pick from more pre-defined IDL color tables, and you can work in RGB (red-green-blue), HLS (hue-lightness-saturation), HSV (hue-saturation-value), or CMY (cyan, magenta, yellow) color spaces to define your own color table.

Change Interpolation

You can change the interpolation method to use on a raster layer or raster series layers. Interpolation behavior may vary, depending on the method you choose, and whether the Use Graphics Card to Accelerate Enhancement Tools preference is enabled. Variations are noted in the following descriptions. The choices are as follows:

To use Bicubic and Optimized Bicubic:

Portals behave differently; they try to match the interpolation value of the target layer, regardless of the current preference setting.

Send Files to ArcGIS Pro

If ArcGIS Pro is installed, you can send one or more open files from ENVI to ArcGIS Pro. When the dataset displayed in both ENVI and ArcGIS Pro, you can set the extent to use, and link the ENVI view and ArcGIS Pro view to synchronize them. See ArcGIS Pro Integration for details on setting extents and linking the views.

Supported file types are rasters and vectors. Raster files must be saved in a format supported by ArcGIS Pro. If ArcGIS Pro cannot read the file, ENVI will save the raster to a .dat file before sending it to ArcGIS Pro.

Note that ArcGIS Pro uses different logic to open raster files in terms of histogram stretching and how to handle files that produce multiple rasters when opened (such as NITF). This is due to ENVI not sending pixel data to ArcGIS Pro, it is sending a file to open.

To send files to ArcGIS Pro from the Layer Manager:

  1. Start ArcGIS Pro.

  2. Select the file(s) to send in the Layer Manager, then right-click and select Send to ArcGIS Pro.

  3. ArcGIS Pro creates a project for the dataset, then opens it in a view.

See Also

Supported Data Types, Data Manager, View Metadata, ENVI Header Files