Exercise 8 – Image Enhancement
Contents
- Part 1: Radiometric Enhancement of Landsat 9 Imagery
- Objective: Learn how to enhance images based on the values of individual pixels
- Part 2: Spatial Enhancement of Landsat Imagery
- Objective: Learn how to enhance images based on the values of individual and neighboring pixels
- Part 3: Spectral Enhancement of Landsat 9 Imagery
- Objective: Learn how to enhance images by transforming the values of each pixel on a multi-band basis
Preliminary
In this and upcoming exercises we’ll be following the instructions provided in Remote Sensing with ArcGIS Pro (second edition) by Tammy Parece and John McGee starting at chapter 11.
Notice that this book is distributed under the license Creative Commons Attribution NonCommercial ShareAlike. These notes have some changes to the original text and format to make it more compatible with our format. It is presented here under the same CC license.

The instructions have been simplified, and adapted, and lots of graphics have been removed to streamline the document. You should be able to follow the sequence of steps without the extra text/figures. You are welcome to follow the instructions from the book, instead, but I would discourage you to do so. If at some moment you’re not sure about a particular instruction here, you’re still welcome to consult the book.
Part 1: Radiometric Enhancement of Landsat 9 Imagery
This part is based on Chapter 17 from Parece & McGee
Introduction
Image enhancement denotes processing of remotely sensed imagery to adjust brightness values represented as digital numbers (DN), thereby improving the image’s visual qualities for a specific purpose. The brightness values of individual pixels are changed to enhance qualities such as color balance, brightness, contrast between pixels, or other characteristics.
An image’s visual quality is connected to the range of pixel brightness values, known as contrast. An image with high contrast has a narrow range of brightness values – largely only blacks and whites. An image with low contrast has a wide range of brightness values, is often associated with black and white images, and includes gray pixels. Usually, extremely low contrast is undesirable, as features will appear not as blacks and whites but as intermediate greys. Often, these values may better record the important features of an image (than just black and white), but the gray tone may also suppress key features within the image. On the other hand, extreme reduction of contrast may conceal distinctive features within a scene.
Image enhancement permits the application of a level of contrast appropriate for a specific purpose. Of particular significance is the recognition that the intent of image enhancement is to improve an image’s appearance for that specific purpose. Because analyses have different objectives and images have differing qualities, preferred enhancement techniques vary from application to application. Image enhancement is a manipulation of an image’s appearance, so fundamentally, image enhancement is cosmetic and should not be used as an input for analytical purposes.
Most remotely sensed images require some form of image enhancement because images use only a small range of the brightness range available on a computer’s display. As such, many features in the image are not visible to the analyst. As a result, in its un-enhanced form, the image’s suitability may be lacking for a specific purpose. Image enhancement expands the range of brightness used to display the image, thus revealing features not visible in the un-enhanced version.
Enhancing images dynamically in a map viewer is much faster than creating a permanent image data file for every enhancement operation. Dynamic enhancement in a map viewer does not change the actual values of the pixels in the original image.
Digital Image Enhancement Techniques
A variety of digital image enhancement techniques are available. Choosing a particular technique depends on the application, data available, experience, and preferences of the analyst or the analyst’s customer. In this and the following two chapters, we demonstrate the three most important and widely used groups of enhancement techniques:
Radiometric Enhancement: Enhancing images based on the values of individual pixels (Part 1).
Spatial Enhancement: Enhancing images based on the values of individual and neighboring pixels (Part 2).
Spectral Enhancement: Enhancing images by transforming the values of each pixel on a multi-band basis (Part 3).
Task 0 – Radiometric Enhancement in ArcGIS
We will use the first clipped (close up) 6-Band Composite Image (L9_Bands2_7.TIF) created in the Ex 7 Part 2 – Task 3: Sub-setting a Landsat 9 Image, the image clipped to the extent of the display. While we will continue to use the 6-band composite image (bands 2 through 7) in this exercise, enhancement techniques can also be accomplished on a single-band image.
- To begin, create a new map project, name it, connect it to the project’s folder, and set the workspaces as demonstrated in previous exercises. Add the 6-band composite image (L9_Bands2_7.TIF).
- Display the image in Color Infrared, band combination 4-3-2 (Figure 17.1).
NOTE: While Landsat 9 Spectral Bands are 5-4-3 (Band 5 is near-infrared, Band 4 is Red, Band 3 is Green Visible, Band 2 is Blue Visible), ArcGIS renumbered them 4, 3, 2, and 1 respectively because we did not include Band 1 in the image composite.
- Select the Raster Layer tab on the ribbon.
We start with the Enhancement icons on the right of the ribbon, shown in Figure 17.2—Brightness, Contrast, and Gamma. These values may differ per user as the software sets the default values.
The name of the enhancement tool can be viewed by pointing to the sliding bars. (Figure 17.3). (If you point to the icon, ie. the little sun, it just says “Reset”, so point to the slider).
These three enhancement tools are adjusted using the slider, the up/down arrows in the box, or by typing a numeric value. Note: Once the values are changed, the image can be reset to ArcGIS Pro’s default values (which are 0, 0, and 1 respectfully). If you want to reset a modified value to a previous value, then you need to remember the what the initial values are prior to making a change. Click the icon corresponding to the setting you wish to reset.
We will experiment with changing each value and observe the changes reflected in the display. Each enhancement technique changes the image display in different ways. Again, these techniques only change the display, not the pixel values in the original image.
Task 1 – Adjusting Image Brightness
Layer Brightness will make the image appear lighter or darker. The default value is 0; the value can range from negative to positive.
- Change the value of brightness (the sun icon),
- first to -30 (negative 30). Negative values will darken the image.
- Then set the value to the value to +14. Positive values brighten the image.
As demonstrated above, brightening or darkening the image changes the individual features differently. The most appropriate enhancement technique is contingent on the specific project’s requirements. Change the brightness values to several different settings to see how the image changes.
When ready to move on to a different image enhancement technique, click the sun icon to reset the image to its default values before proceeding to Layer Contrast.
Task 2 – Adjusting Image Contrast
Layer Contrast changes the range of differences between the darkest and lightest objects. When you initially load an image the Layer Contrast value might be set to some value and the slider bar is not centered. ArcGIS automatically sets the Layer Contrast based on the image’s pixel values. When using a different image, the software might display a different value.
Layer Contrast also has an adjustment range that includes negative numbers. Let’s try two settings.
- First try setting the contrast value was set to -35 (the black/white circle).
Notice that the image appears to be darker, but it is actually not as sharp. The contrast is muted.
- Now, increase the contrast value to +35, and a much sharper image displays. This setting has sharpened the difference between land and water bodies, which are the darker colored features.
Go ahead and try other settings. Remember to reset the values to default when finished. For Layer Contrast, the value resets to 0.
Task 3 – Gamma Enhancement
Layer Gamma controls the relationship between the brightness of the original scene and that on the display. For example, at a gamma of 1.0, the two images will use the same brightness scale. Whereas at a gamma of 0.5 or 1.5, the display shows either compressed or expanded brightness rankings relative to the original.
- Try changing the Gamma value to 0.1.
- Then set the Gamma value to 10.
What is the purpose of the two settings demonstrated? For this image, possibly nothing. But again, image enhancement settings are directly contingent on the application demands and the project’s goal.
Eugenio’s comment: Gamma is like a magic black box that you’ll encounter in many graphic software. What I understand of it is that it allows to show more details in dark areas without washing out the light areas, and also it can show better contrasts in very light areas without darkening other areas too much.
Now reset the Gamma value to its default setting used by ArcGIS.
Question 1. What are the highest possible values of Brightness – Contrast – Gamma?
NOTE: Pay attention that Canvas changes the order of the answers.
Now, let’s look at another tool.
Task 4 – Dynamic Range Adjustment (DRA)
The Dynamic range adjustment tool (Figure 17.13) adjusts an image dynamically in the viewer when zooming in and out. The stretch type does not change; only the range of values changes based on the portion of the image (also known as the area of interest, or AOI) displayed in the viewer. This technique is used to help enhance a specific region seen within the viewer. The contrast stretch occurs seamlessly as the user pans around or zooms in or out of the image.
Without DRA enabled ArcGIS maintains a constant stretch of the image (more on this later). But basically, as you close in darker areas, you’ll want more definition or stretch of the values. As you zoom in to lighter areas the image needs to turn down a little.
- Experiment zooming in and out, and panning, of different sections of the image with and without DRA (just push the button to engage it). You should notice subtle changes in the image quality as you zoom in/out and pan around.
Not sure if you see a difference? Turn off DRA. Zoom into the area in the black box in Figure 17.18 of the city of Roanoke.

Figure 17.19 shows the zoomed-in area without DRA.

In Figure 17.20, DRA of the same area is enabled. The outlines of the buildings are much clearer than without DRA.

Your results may vary.
These tools are helpful when conducting image classification (covered in subsequent chapters) to help discern features within the image.
- Set your image enhancement tools (Gamma, Contrast, Brightness) and DRA back to their original values before proceeding with the next section.
Histogram Enhancement Techniques
An image’s frequency histogram provides the best context for beginning an image enhancement discussion. A frequency histogram displays image brightness along the horizontal axis and the number of pixels at each brightness level along the vertical axis. The shape of a specific histogram is related to the features represented within a scene and the conditions under which the image was acquired. We provide examples of histogram enhancement techniques in this chapter.
Task 5 – Histograms
Histograms plot the frequencies of brightness values, with the digital numbers (DN) along the x-axis and the number of pixels associated with each value on the y-axis. The shape of a histogram is determined by the features represented in the image and their brightness values.
Changing the Stretch Type changes the histogram and the image’s appearance in the map viewer. Go to the Raster Layer tab. Select the Stretch Type drop-down menu (Figure 17.21).
A list of Stretch Types is provided (Figure 17.22). While defining these techniques below, we will only demonstrate enhancement methods used regularly. A complete review is beyond the course of this book, and academic literature should be consulted as to the best method for your project.
- None displays all potential values. The number of values will depend upon the sensor payload onboard the respective Landsat satellite (for example – Landsat 7 supports 256 values (8 bit), Landsat 8 is 12 bit resized to 16 bit, and supports 65,536 values; Landsat 9 is 14 bit and supports 16,384 values). You cannot manually adjust these values.
- Minimum–Maximum displays values between the actual minimum and maximum values in the image or values that you can independently set.
- Percent Clip is highlighted because it is the default. Percent Clip eliminates a histogram’s minimum and maximum value ends based on a percent. These values can also be changed.
- Standard Deviations displays values between a chosen number of standard deviations.
- Histogram Equalize reassigns the digital values to equally distribute them across the range of brightness values for the image. You cannot manually adjust the values.
- Custom is a manual specification, piecewise.
- Histogram Specification allows you to adjust the values using an uploaded .xml file.
- ESRI is the software-defined Histogram. You cannot manually adjust the values.
Let’s start by looking at the image with no Stretch type option.
- Go to Symbology and scroll down until Stretch type is visible, and if not already shown, change to None.
Notice the lack of details in the composite image. Also notice the statistics info show in the lower part of the Symbology pane.
Now let’s apply a stretch.
- Go to Symbology and scroll down until Stretch type and change to Percent Clip by clicking on the down arrow at the end of the Stretch type line (Figure 17.23).
Notice the change in the image appearance. Figure 17.23 shows that the minimum and maximum ends of the Histogram were clipped by 0.250.
NOTE: Visualize a sort of symmetric histogram, with this tool you are clipping the two tails (extremes) of the histogram.
These values can be changed.
- Change it to 5.0 for both ends. The map viewer shows a substantial change, especially around the urban areas (Figure 17.24). The Statistics shown in the lower part of the Symbology pane have not changed from the original setting because Statistics are based on the dataset values (remember this is dynamic enhancement).
Experiment changing the Stretch type to see how this modification changes the image.
- Change to Minimum Maximum. How has the image and Symbology window changed?
- At the end of the Statistics line, select Custom (Figure 17.27).


You can change the numbers for each band by clicking in the box for the statistic and inputting the desired value. Remember that a 16-bit image has values from 0 to 65,535. In this image, the NIR band (displayed in red) has values ranging from 5,523 through 65,535 (Figure 17.28). Your values may differ depending on your selected area of interest (the area that you clipped).
In Figure 17.29, we adjusted the minimum values to 0, and the maximum values to 65535
As you can see from this demonstration, the appearance of the image changed, but the brightness was not enhanced. So, when changing the statistics, should these be changed to 0 and 65,535 for a 16-bit image? The answer for this image is no. Should you for another image? Maybe, but that discussion is beyond the scope of this chapter because the range of values for any single band is contingent on the project for which the image is being analyzed.
You can reset the statistics by changing the Statistics back to Dataset.
The DRA setting will calculate statistics based on the extent in the map viewer. Zoom into the city of Roanoke, then select DRA from the Statistics drop-down menu. The statistics are not listed, but the image has changed to reflect the range of values in the extent of the image in the viewer (Figure 17.30). DRA demonstrated here is dynamically changing the appearance of the image using the DRA tool discussed above.

Notice that Gamma is also present. All the settings for different forms of radiometric enhancement can be changed. These options do not need to be changed independently of each other. So, after adjusting Stretch type settings for any stretch type, Brightness, Contrast, and Gamma can also be adjusted.
Explore the various methods of histogram stretch with different band combinations. Which method is best will depend on the purpose of the project and likely a decision the analyst makes during the image analysis process. The goal of this chapter, and subsequent chapters, is to summarize the methods and techniques available in ArcGIS and not advise on which techniques to use.
Task 6 – Viewing and Exporting a Histogram
- To view the histogram associated with a specific band, select the composite image raster layer in CP and go to the Data tab on the ribbon. Select Create Chart – Histogram (Figure 17.31).

An empty histogram chart and the Chart Properties pane open under the map viewer (Figure 17.32).

- On the left panel (Chart Properties), using the drop-down box under Number, select a band. The only bands available are those currently displayed, bands 4-3-2 in this example.
- Choose Band_4. When a Band number is selected, the histogram appears in the Chart window. The blue line on the Histogram is the mean line – because Mean is the only Statistic checked in the Chart Properties window on the left.
- Choose the other two statistics—Median and Standard Deviation.
The Axes and Format tabs at the top of the Chart Properties pane can be used to change the formatting of the histogram. We will not review these.
The General tab provides additional options to display on the Histogram.
- Now change the Band number to Band_3.
The histogram associated with Band 3 looks very different from Band 4’s histogram. Recall the discussion about Band Combinations from Chapter 16 (Ex7 part 3). That chapter also provided an overview of the spectral properties of features on the Earth’s surface. Remember that each feature on the Earth’s surface reflects, absorbs, and re-emits different types and values of electromagnetic radiation in different ways. These features often have unique spectral signatures. The variation in histograms between the different Landsat Bands demonstrates these spectral variations.
If a histogram is needed for a figure in a non-GIS format, click on Export\Capture to Clipboard in the Chart tab on top.
- Produce a chart with the 3 histograms of the 3 bands you have in your image. Make sure to format and label it correctly.
- Capture it to clipboard
- Then paste it to a Word or Powerpoint document (or if you can create a PDF directly, that’s fine)
- Save it as PDF, make sure to add your name in the document and in the file name.
Question 2. Upload your chart with the 3 histograms to Canvas.
Part 2: Spatial Enhancement of Landsat Imagery
This part is based on Chapter 18 from Parece & McGee
Introduction
As a reminder from previous Part 1: Radiometric Enhancement — image enhancement denotes the processing of remotely sensed imagery to adjust brightness values represented by digital numbers (DN). This improves the image’s visual qualities for a specific purpose. Brightness values of individual pixels are changed to improve color balance, brightness, contrast between pixels, or other elements associated with image display.
While radiometric (Part 1) and spectral enhancement (Part 3) operate on each pixel individually, spatial enhancement deals primarily with spatial frequency and modifies the pixel’s brightness values based on the values of neighboring pixels.
This chapter focuses on spatial enhancement and demonstrates two processes for spatial enhancement. The first process is dynamic—it changes the image within the viewer itself but does not change the original file. The second process uses tools in the ArcGIS toolbox and creates new permanent image data with brightness values modified by the specific enhancement method.
This chapter provides an introductory discussion of image enhancement techniques. There is an array of information associated with image enhancement available online that can give a more thorough discussion of these techniques. Check the following for a short, clear, and simple explanation:
Natural Resources Canada – Image Enhancement
Task 1 – Dynamic Spatial Enhancement
- Open a new map project, save it, and add the image we created in the chapter on sub-setting a Landsat 9 image. We will use the first clipped (close up) 6-Band Composite Image (L9_Bands2_7.TIF) created in the Ex 7 Part 2-Task 3.
- The image, which included bands 2 through 7 of the Landsat 9 scene, was clipped to the spatial extent of the map viewer and showed Roanoke, Blacksburg, and Smith Mountain Lake. Set the band combination to color infrared. Set the workspaces to the appropriate project folder (GeoDB).
- Go to the Raster Layer tab
With spatial enhancement, individual pixel values are changed using various tools based on neighboring pixel values. How do these values change? The changes are contingent on the method you select. When using any of these techniques, keep in mind that the change in the image display may not be apparent when zoomed out.
- Select Resampling Type to view the options for resampling.
For an example of resampling, zoom into the City of Roanoke, specifically to the airport area (Figure 18.3).

We will apply some resampling tools, including nearest neighbor, bilinear, and cubic (Figure 18.4).

Task 2 – Nearest Neighbor
- In Nearest neighbor, the pixel is assigned the value of the cell closest to it. Looking at the drop-down list, Nearest Neighbor is highlighted because Nearest Neighbor is already used within the image.
- Notice the blocky appearance of the image when zooming in, an effect of the spatial resolution.
- To verify, check the layer’s properties—go to Properties > Source > Raster Information. In the Pyramids row, we see the method is resampling: Nearest Neighbor.
Task 3 – Bilinear
- Go back to the Raster Layer tab, select Resampling Type, and click on Bilinear. This technique creates a smooth-looking result because it averages the brightness values of the four neighboring cells surrounding each pixel. This dynamic method changes the display in the viewer, not the original data (Figure 18.6).
Can you see a difference between the nearest neighbor and bilinear?
NOTE: Always read the description/help of the tool(s) you are using.
Notice in the Nearest Neighbor image that the outlines of the individual cells are visible as a jagged edge—the corners of the pixels are distinct. But in the Bilinear image, the runways and nearby highways now appear to have straight edges—the Bilinear algorithm has blended the pixel corners into a straight edge.
These dynamic enhancement techniques only change the image as displayed in the viewer, not the pixel values or the underlying properties.
- Check the Properties > Source > Raster Information dialog box again; it still shows Nearest Neighbor.
Task 4 – Cubic / Majority
- Now, go back to Raster Layer > Appearance and select Cubic, which, according to the information displayed in the tool, interpolates from the surrounding sixteen cells.
It creates a sharper-looking airport area.
If you are unsure that you see changes, switch back and forth between the Resampling Types several times, observing the differences.
- Now, select Majority. This is not a good resampling method for the airport area because this option assigns the most popular value from the surrounding four cells. So, if definitive boundaries are needed for the analysis, this is not the one to use (Figure 18.10).
- Reset the image to the default, Nearest Neighbor.
- Save your project
Question 3. Cubic resampling interpolate values from the surrounding 8 cells. True or False?
Spatial Enhancement Using Spatial Analyst Tools
Some of the tools that you have learned when working with raster data using Spatial Analyst can also be used to work with satellite images (since they’re also rasters). We’ll not work on them here (just a short list) but you’re encouraged to follow the instructions in Chapter 18 of the textbook in the section called “Spatial Enhancement Using Spatial Analyst Tools”.
All the Spatial Analyst tools that can be used in our case will always ask for an “output raster”, so the transformations that are created in the output layer are permanent (i.e. they change the DN of the pixels) unlike the transformations we just did above.
Some of the tools that are applied to satellite images are base on some sort of filtering. Convolution filtering is a process that averages small sets of neighboring pixels across an image. This filtering changes the spatial frequency characteristics of an image. A convolution kernel is a matrix of numbers that assigns a weight to each cell within the matrix. Choosing the kernel defines the neighborhood size. As the kernel moves across the image, the values in each neighborhood are multiplied by the weights, then averaged. The resulting value is assigned to the center pixel, and the kernel moves on to the next neighborhood.
A couple of the tools from Spatial Analyst that can be use are:
- Filter
Spatial Analyst tools > Neighborhood > Filter
This is used to pass one of the next two filters on the images:
- Low pass—Traverses a low pass 3-by-3 filter over the raster. This option smooths the entire input raster and reduces the significance of anomalous cells. This is the default.
- High pass—Traverses a high pass 3-by-3 filter over the raster. This option enhances the edges of subdued features in a raster.
Please take a look at the following document to learn more about How Filter works.
- Focal Statistics
Spatial Analyst tools > Neighborhood > Focal Statistics
This uses multiple statistics like: Mean, Max, Min, Sum, Majority, Minority, etc.
To overwhelm your mind please check the following page for A Complete List of Spatial Analyst Tools. Try to find how many of those functions you recognize.
Question 4. Which of the following function is used to clip an irregular section (like town limits) of a raster image?
NOTE: Pay attention that Canvas changes the order of the answers.
- Analysis tools\Extract\Clip
- Spatial Analyst tools > Neighborhood > Focal Statistics
- Spatial Analyst tools > Extraction > Extract by Mask
- Spatial Analyst tools > Extraction > Extract by Rectangle
Part 3: Spectral Enhancement of Landsat 9 Imagery
This part is based on Chapter 19 from Parece & McGee
Introduction
As noted in the previous two parts (chapters of the textbook), image enhancement is processing remotely sensed imagery to adjust brightness values, represented as digital numbers (DNs). Adjusting the brightness values of individual pixels improves qualities such as color balance, brightness, and contrast between pixels. Image enhancement can improve the image’s visual qualities for a specific purpose.
The differences between image enhancement techniques are summarized next:
- Radiometric Enhancement – Enhances images based on the values of individual pixels.
- Spatial Enhancement – Enhances images based on the values of individual and neighboring pixels.
- Spectral Enhancement – Enhances images by transforming the values of each pixel on a multi-band basis (within ArcGIS, this technique can be used with single-band or multi-band images).
- Spectral ratios (or band ratios) use two or more different bands to enhance specific spectral properties. Processing includes addition, subtraction, division, and more.
In Part 1, we covered radiometric enhancement and spatial enhancement in Part 2. Enhancement processes can be applied to both composite images and single-band images.
Spectral Enhancement: An Overview
Spectral enhancement is the process of refining new spectral data from available bands. This process relies on the spectral signatures of individual features on the Earth’s surface. Spectral signatures are the distinctive qualities that denote the range of different features’ reflected radiation wavelengths collected by satellite sensors. For example, spectral signatures can distinguish man-made objects from types of vegetation.
New data are created on a pixel-by-pixel basis. Spectral enhancement applies an operation such as subtraction or division to corresponding pixels between two or more bands and creates a new image that may enhance the original image’s features. This technique can be used to:
- Extract new bands of data that are more easily interpreted by the eye,
- Diminish redundancy in a multi-spectral dataset by merging bands of data that convey similar information, and
- Display a wider variety of data in the visible RGB spectrum.
The most commonly used spectral enhancement techniques are:
- Spectral Ratios and Indices: band ratios commonly used in vegetation and geologic studies. Examples of band ratios and vegetation indices are shown later.
The next two techniques can be accomplished using ArcGIS, but they’re advanced topics and this book will not provide instructions.
- Principal Components Analysis (PCA): Compresses redundant data values into fewer bands, which are often more concise and powerful. PCA is used to support image extraction, classification, and change detection analysis. For an introduction please check this document from the Arcgis documentation: “How Principal Components works“.
- Tasseled Cap: Transforms and rotates the data structure axes to optimize data display for vegetation studies. Also, check the Arcgis documentation with some info in the document: “Tasseled Cap function“.
We will next demonstrate a couple of these Spectral Ratios and Indices using our Landsat 9 image (and bands).
- 5/4 Ratio (NIR/Red) enhances the presence of vegetation. The brighter the tones, the denser the vegetation.
- 4 /7 Ratio (Red/MIR) enhances the visibility of differences in water turbidity.
Indices are based on more complicated mathematical, usually compound, equations. We will demonstrate one of these indices—Normalized Difference Vegetation Index (NDVI). Once this process is demonstrated, users of this book will be able to repeat these processes for other indices. A discussion of NDVI is provided in more detail below.
There are at least twenty-five ratios in common use, and new ratios are developed to support emerging applications. An essential thing to remember is that a ratio is based on a region of the electromagnetic spectrum (EM), not the band number. As discussed previously, the region of the EM covered by a specific band often varies from sensor to sensor. For example, Band 1 of Landsat 5 covers a different slice of the EM than Band 1 of Landsat 9 and Band 1 of Sentinel 2. The metadata for each sensor provides information on which band corresponds to which segment of the electromagnetic spectrum. The chart below illustrates these differences in a side-by-side comparison of Landsat TM (Landsat 4&5), ETM+ (Landsat 7), OLI (Landsat 9), and Sentinel.
| Band Number | Thematic Mapper (TM) – Landsat 4 & 5 Thematic Mapper Plus (ETM+) – Landsat 7 | Operational Land Imagers (OLI) & Thermal Infrared Sensor (TIRS) – Landsat 8 & 9 | Sentinel 2 |
| 1 | 0.45- 0.52 μm – blue-green | 0.43 – 0.45 μm – coastal aerosol | 0.443 |
| 2 | 0.52 – 0.61 μm – green | 0.45 – 0.51 μm – blue | 0.490 blue |
| 3 | 0.63 – 0.69 μm – red | 0.53 – 0.59 μm – green | 0.560 green |
| 4 | 0.76 – 0.90 μm – NIR | 0.64 – 0.67 μm – red | 0.665 red |
| 5 | 1.55 – 1.75 μm – SWIR | 0.85 – 0.88 μm – NIR | 0.705 |
| 6 | 10.40 – 12.50 μm – thermal | 1.57 – 1.65 μm – SWIR 1 | 0.740 |
| 7 | 2.08 – 2.35 μm – SWIR | 2.11 – 2.29 μm – SWIR 2 | 0.783 |
| 8 | 0.52 – 0.90 μm Panchromatic (ETM+ only) | 0.50 – 0.68 μm – Panchromatic | 8 – 0.842 NIR |
| 8a – 0.865 NIR | |||
| 9 | NONE | 1.36 – 1.38 μm – Cirrus | 0.943 |
| 10 | 10.60 – 11.19 μm – TIRS 1 | 1.375 | |
| 11 | 11.50 – 12.51 μm – TIRS 2 | 1.610 | |
| 12 | NONE | NONE | 2.910 |
Task 0 – Preparation
- To begin, open a new blank map project in ArcGIS, add the 6-band composite image used in the last two chapters, and set the project workspaces.
There are two methods for creating simple indices for ratios based on using two bands.
- The first method uses the Imagery tab > Raster Functions.
- The second method uses the Geoprocessing/Spatial Analyst/Math tools, which include divide, plus, square, square root, and more.
The difference is that the first method creates new data that can only be used in the current map project, while the second produces an output file stored in a GeoDB for later use. In addition, one method uses a multi-spectral image, and the other uses individual bands. We will discuss both methods.
Task 1 – Using Raster Functions for Band Ratios
- Under the Imagery tab, find Raster Functions.
- Click the down arrow to find two options – Raster Functions and History.
- Select Raster Functions. The Raster Functions pane lists several tools in the expanded Analysis category (Figure 19.3) on the right. Many of these are also available from the Geoprocessing tools.
Notice that by default the “Analysis” category is open. More categories can be expanded to show more processing function tools. In Figure 19.4, Math has been expanded. For example, individual Math tools are Abs, Divide, and Minus, and they are used with single-band images. The third tool in the first row is Band Arithmetic, used with multi-band images.
Please explore.
Now we will create a NIR/Red Ratio to enhance the presence of vegetation.
- Select Band Arithmetic under the Math category The default Method is NDVI which we will discuss later.
- Click the drop-down arrow under Method to view a list of available ratios
- For simple band ratios, select User Defined at the top of the list.
- Click on General, on top, and name the file. Additional details can be added under description, including metadata, to provide information on the process.
- Go back to Parameters (Figure 19.8) and select the composite image as the Raster.
- Under Band Indexes, we will enter the equation NIR/Red, but we need to remember that the band numbers associated with our image subset and assigned by ArcGIS are B4 (NIR) and B3 (R). Be sure to include the parentheses when writing the equation as shown in Figure 19.8.
- Click Create new layer at the bottom of the Raster Functions pane.
When complete, a green message temporarily displays at the top of the Raster Functions pane—”Band Arithmetic applied successfully”; a new layer shows in Contents and the Map viewer (Figure 19.10). Don’t worry if you don’t see the green message – it displays and disappears quickly. The process worked if you have the new layer.
The brighter tones indicate denser vegetation. The symbology in Contents shows the higher value as the lighter color and the lower value as the darker color.
Can we confirm that the results showing brighter are denser vegetation? Use Swipe to compare the new image to the natural color composite. The brighter areas represent the forests, and some agriculture with vegetated fields, and the darker tones represent some fallow agriculture and developed areas.
Zoom in to the City of Roanoke, notice that the roads and river appear very dark. No vegetation is present in the dark areas (Figure 19.12).

Question 5. How much brighter can the DNs of the NIR band be with respect to the Red band? (i.e. what’s the largest ratio between these two bands)
NOTE: Enter the value you got, it will be different from what I got (and in Canvas) but as far as you’re within the ball park, Canvas will mark it right.
This process created a new image that shows as a layer in contents. However, this new image is present only in the current map project—no new data was created and saved. Once the tool has run successfully, the map project should be saved immediately. Tools in Raster Functions create an image useful for this map project only. This image cannot be used in another map project, and if the map project closes without being saved, the image will be lost.
NOTE: you can always right click on the layer in the CP and choose Data\Export raster
Task 2 – Creating a Permanent Band Ratio Image using Geoprocessing Tools
We will repeat the process using a different method, which will create new data saved in the default GeoDB.
When using the Geoprocessing tools in the Analysis tab, ArcGIS recognizes the pixel values for Landsat imagery as integers (whole numbers). So, the results are integers, usually rounded down when performing math operations. However, results for band ratios must be real numbers (numbers with decimal points). This means we must first change our image values to floating point values.
- Go to the Analysis tab and select Tools. Under Find Tools, type Float. Select Float (Spatial Analyst Tools > Math).
This tool uses individual bands, not the composite image, so we will be using the original bands we downloaded in Exercise 6, so the band numbers in the file name correspond directly to the spectral channel.
Therefore, the tool must be run twice, once for Band 5 (NIR) and once for Band 4 (Red).
- Either add these individual bands to the project or navigate to them using the file folder at the end of the Input Raster line. Then, run the tool twice, with the inputs as shown in Figures 19.14 (adjust the input/output for the second image). The results will include new images in CP and two new images in the map viewer. Notice that we named each file appropriately.
You will have two new layers in CP and the Map viewer. The range of values is the same; the new files have values that are real numbers.
- Now in Geoprocessing tools go to the Divide function (you should know how to search for it)
- Open it, and input the files as shown in Figure 19.17. Remember, the formula is NIR/Red. If you need help determining which image goes in which box, click on the information button at the beginning of the box
- Name the Output Raster
- Click Run.
When the tool finishes, the “Divide completed” message displays; point to the message, and a pop-out window opens that provides information on the process (if the pop out window disappears before you click on it, don’t worry).
A new image layer is in CP and the map viewer, but since we used the original single bands, it is the full extent of the Landsat scene. In addition, it appears in CP that the image is not the same as the image that was created using the shortcut tool because the values have a wider range. But again, this is the full scene and not the subset used in the Raster Function process.
To verify the results are the same, turn off all layers in CP except the ratios we just created. Zoom in and click on any pixel in the most recent new image. Examine the pixel values reported for both images. The pixel values from both methods used to create the ratio images are the same.
- Now generate another ratio image 4 / 7 Ratio (Red/SWIR). Remember to keep straight which band is Red (original 4) and which is the SWIR (original 7) in the composite image you’re using.
This ratio is often used to identify differences in water turbidity. You can use either method outlined above, but if using the Geoprocessing tools, don’t forget to modify the floating-point image for each band. And remember, the Geoprocessing tools create a new image that can be used in other projects (we won’t need it).
When you finish this last ratio, a new image layer is in CP and the map viewer.
In this image, areas of water are very bright. The New River located to the west (left), Smith Mountain Lake in the southeast, and Carvin’s Cove in the central portion of the image are very prominent, as are other individual water bodies scattered throughout the image. This band ratio shows water turbidity, so let’s zoom into Smith Mountain Lake, located in the southeast corner of the image (Figure 19.25).
While most of the lake is very bright white, dark areas are apparent in the southeast, where the lake drains into the river, as well as in the northwest branch.
- Using the Swipe tool, compare it to the natural color composite.
What do you see? Why would areas leading into the lake be brighter? This river runs through a city and some agricultural areas, so it is experiencing runoff, which makes the water more turbid and sediment-filled, so brighter pixel values in the natural color image and a bit darker in the ratio image. What about the dam area shown in the red box? The areas right above and right below the dam are more turbid because the water is funneled through the dam’s turbines, thus flowing more rapidly than the areas farther north and west.
Question 6. How much brighter can the DNs of the Red band be with respect to the SWIR band? (i.e. what’s the largest ratio between these two bands)
NOTE: Enter the value you got, it will be different from what I got (and in Canvas) but as far as you’re within the ball park, Canvas will mark it right.
Any simple ratio can be accomplished with these methods. And more complex ratios can also be accomplished using these tools, but ArcGIS has some shortcut tools. The Raster calculator in Geoprocessing/Spatial Analyst allows calculation in one step. We will explore these with indices in the next section.
Task 3 – Vegetation Indices
Vegetation indices are another form of spectral image transformation. This section discusses three: NIR/R, square root (NIR/R), and NDVI.
NIR/R was already calculated above (5/4 ratio). For Landsat 9, Band 5 was NIR, and Band 4 was Red (remember that in the composite these values are 4 and 3 respectively). This ratio can also be calculated for other sensors; ensure NIR and Red bands are used and not the band number. For example, for Landsat 7 ETM+, Band 4 is NIR, and Band 3 is red. And remember, if your composite image is not a composite of all bands, ArcGIS will renumber them!
Let’s look at the square root of IR/R next. Since we already have NIR/Red, we only need to run a tool that calculates the square root.
- Go to the Imagery tab, Raster Functions > Math, and select Square Root.
- Choose one of the 5/4 ratio images created above., it does not matter which one.
- Remember to name the new layer under the General tab
- Leave all the other settings as default
We have generated a new image. Because we used the one created with the Geoprocessing tools, it reaches the extent of the entire Landsat scene. And since we used Raster Functions, the image exists only for this map project.
You can rerun the process using the Geoprocessing tools. We will not demonstrate it here. Just remember, using the Geoprocessing tools creates a new image that can be used in other analyses.
Now, what exactly did this index show? Zoom in on the mountain area around Carvin’s Cove. Adding the square root function makes the image slightly brighter and provides a sharper distinction between features compared to the NIR/RED ratio (Figure 19.30, red arrow points at the swipe line).
Above, we demonstrated a step-by-step method to generate an enhanced image using an index. It is possible to do this using Raster Calculator in just one equation. Float can also be calculated within this single equation, but we will not do that since we already have the float images. Use of the Raster Calculator tool requires special attention to building the equation.
Since there is no difference between the two methods except for the number of steps, we won’t do it now. But remember that a new image is generated using the Raster Calculator and is available for other map projects.
Task 4 – Calculating Normalized Difference Vegetation Index (NDVI)
The Normalized Difference Vegetation Index (NDVI) is an important and the most commonly used vegetative index. Healthy green leaves have a higher reflectivity in the near-infrared band, while stressed, dry, or diseased vegetation display lower levels of reflectivity. NDVI can therefore be useful as an indicator of vegetation stress. It is a more complex calculation.
NOTE: To learn more about this common index explore the following sites:
– NASA Normalized Difference Vegetation Index (NDVI)
– USGS Landsat Normalized Difference Vegetation Index
– EOS Data Analytics NDVI FAQ: All You Need To Know About Index
The formula for NDVI is:
or for Landsat 9, (B5-B4) / (B5+B4)
- Open the Raster Calculator (under Map Algebra in Spatial Analyst Tools). If the original Landsat bands (5 and 4) are not present in the current map project, use the Add Rasters folder to navigate to and select them (we added them in part 3 task 2 above). When selected, they are added to the Rasters list in Raster Calculator but not added to the map project.
- The equation should look like this: (NIR – Red) / (NIR + Red)
- Do not type the band number; instead, double-click the specific image bands from the list on the Rasters side of the Raster Calculator pane.
- Try to use the operators + and – and / from the tools window. I only used the keyboard for the parenthesis ()
- Once the equation is written correctly, select Run.
The NDVI result gives pixel values ranging from -1 to +1. The closer to +1, the brighter the pixel. Higher pixel values are associated with more vigorous or healthier vegetation. For this image, the brightness values range in this case is more limited (i.e. not from -1 to +1) because we do not have any values at the absolute ends of the range.
Question 7. What’s the lowest value of NDVI when calculated with the full band (not the clipped composite)?
Question 8. What’s the highest value of NDVI when calculated with the full band (not the clipped composite)?
But guess what? There is an easier and much simpler way to generate an NDVI image in ArcGIS! However, there is a catch — the NDVI image created from these other options is only available in the current map project (you might have guessed that by now; but you can always export the generated image).
Task 5 – The NDVI Shortcut tool in ArcGIS
We are going back to the Raster Functions under the Imagery tab. The third and fourth icons in the second row of the Analysis category are NDVI and NDVI Colorized (Figure 19.38).
- Select NDVI and the NDVI Properties tool opens.
- For Raster use the composite image.
- Then choose the appropriate band number for Visible Band ID and Infrared Band ID.
- Check the box for Scientific Output.
- Then select Create New Layer. Remember, since our Landsat composite image does not include band 1, this impacts our Landsat band sequence.
The results are shown in Figure 19.41. The Raster Calculator (Task 4, above) generated image values that are from -?? to +?? (questions 7 & 8). Using this shortcut tool, a different range of values is -0.186148 to +0.672007 (your number may vary depending of the extent of your composite).
What is the difference? Remember, the first NDVI image was created with the entire scene extent; this one was created from the subsetted multi-band image. Your symbology may be different from what is shown.
Additionally, the image created with this tool is only available for use in this map project. So, quickly save the project so the image is preserved!
When we first introduced Raster Functions> Band Arithmetic, the default was NDVI, but under Method was a list of additional indices (Figure 19.44 shows the entire list).
Each one of these indices has been vetted within academic research and literature. These should be reviewed for specific applications. For definitions of the additional ratios available under Raster Functions methods, see Band Arithmetic function in ArcGIS help.
Please note that any spectral band index can be created within ArcGIS using the raster calculator and manually typing the equation or with several steps using the map algebra tools identified above.
Summary
Within the last three chapters, we demonstrated the image enhancement processes. These processes are helpful for image analysis and for completing additional processing, such as image classifications discussed in the following exercises (Chapters 21 through 24).






















