java.lang.Object
com.esri.arcgisruntime.raster.RasterRenderer
com.esri.arcgisruntime.raster.BaseStretchRenderer
com.esri.arcgisruntime.raster.RGBRenderer
An RGB stretch renderer can combine bands as red, green, blue composites to help visualize the raster data in a
RasterLayer
.
This renderer can be used for viewing color aerial photography, which is a three-band raster dataset, or to display different combinations of bands when working with multi-band raster datasets, such as satellite or aerial imagery.
- Since:
- 100.0.0
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Panchromatic sharpening uses a higher-resolution panchromatic image (or raster band) to fuse with a lower-resolution multiband raster dataset. -
Constructor Summary
ConstructorDescriptionRGBRenderer
(StretchParameters stretchParameters, List<Integer> bandIndexes, List<Double> gammas, boolean estimateStatistics) Creates a RGBRenderer.RGBRenderer
(StretchParameters stretchParameters, List<Integer> bandIndexes, List<Double> gammas, boolean estimateStatistics, RGBRenderer.PansharpenType pansharpenType, Raster panchromaticRaster, List<Double> weights) Creates a RGBRenderer with options to specify panchromatic raster. -
Method Summary
Modifier and TypeMethodDescriptionGets the band indexes used to create this renderer.Gets the panchromatic raster used to create this renderer.Gets the pansharpen type used to create this renderer.Gets the weights used to create this renderer.Methods inherited from class com.esri.arcgisruntime.raster.BaseStretchRenderer
getGammas, getStretchParameters, isEstimateStatistics
-
Constructor Details
-
RGBRenderer
public RGBRenderer(StretchParameters stretchParameters, List<Integer> bandIndexes, List<Double> gammas, boolean estimateStatistics) Creates a RGBRenderer.- Parameters:
stretchParameters
- stretch parametersbandIndexes
- the band indexes in which the raster is displayedgammas
- gamma adjustmentsestimateStatistics
- true to enable estimating statistics- Throws:
IllegalArgumentException
- if stretchParameters is null- Since:
- 100.0.0
-
RGBRenderer
public RGBRenderer(StretchParameters stretchParameters, List<Integer> bandIndexes, List<Double> gammas, boolean estimateStatistics, RGBRenderer.PansharpenType pansharpenType, Raster panchromaticRaster, List<Double> weights) Creates a RGBRenderer with options to specify panchromatic raster.- Parameters:
stretchParameters
- stretch parametersbandIndexes
- the band indexes in which the raster is displayedgammas
- gamma adjustmentsestimateStatistics
- true to enable estimating statisticspansharpenType
- type of panchromatic sharpeningpanchromaticRaster
- raster for panchromatic sharpening, can be null if pansharpenType isRGBRenderer.PansharpenType.NONE
weights
- band weights for pansharpening- Throws:
IllegalArgumentException
- if stretchParameters is nullIllegalArgumentException
- if pansharpenType is nullIllegalArgumentException
- if panchromaticRaster is null and pansharpenType is notRGBRenderer.PansharpenType.NONE
- Since:
- 100.0.0
-
-
Method Details
-
getBandIndexes
Gets the band indexes used to create this renderer.- Returns:
- an unmodifiable list of the band indexes used to create this renderer
- Since:
- 100.0.0
-
getPansharpenType
Gets the pansharpen type used to create this renderer.- Returns:
- the pansharpen type used to create this renderer
- Since:
- 100.0.0
-
getPanchromaticRaster
Gets the panchromatic raster used to create this renderer.- Returns:
- the panchromatic raster used to create this renderer
- Since:
- 100.0.0
-
getWeights
Gets the weights used to create this renderer.- Returns:
- an unmodifiable list of the weights used to create this renderer
- Since:
- 100.0.0
-