Use a stretch renderer to enhance the visual contrast of raster data for analysis.
An appropriate stretch renderer can enhance the contrast of raster imagery, allowing the user to control how their data is displayed for efficient imagery analysis.
Choose one of the stretch parameter types:
- Standard deviation - a linear stretch defined by the standard deviation of the pixel values
- Min-max - a linear stretch based on minimum and maximum pixel values
- Percent clip - a linear stretch between the defined percent clip minimum and percent clip maximum pixel values
Then configure the parameters and tap 'Update renderer'.
- Create a
Raster
from a raster file. - Create a
RasterLayer
from theRaster
. - Add the layer to the map.
- Create a
StretchRenderer
, specifying the stretch parameters and other properties. - Apply the
Renderer
to the raster layer.
- ColorRamp
- MinMaxStretchParameters
- PercentClipStretchParameters
- Raster
- RasterLayer
- StandardDeviationStretchParameters
- StretchParameters
- StretchRenderer
This sample downloads the following items from ArcGIS Online automatically:
- raster-file.zip - Tif raster file
This sample uses a raster imagery tile of an area of forested mountainous terrain and rivers.
See Stretch function in the ArcMap documentation for more information about the types of stretches that can be performed.
analysis, deviation, histogram, imagery, interpretation, min-max, percent clip, pixel, raster, stretch, symbology, visualization