A stretch renderer enhances the visual contrast of raster data in a RasterLayer. More...
Public Functions StretchRenderer(const Esri::ArcGISRuntime::StretchParameters &stretchParameters, const QList<double> &gammas, bool estimateStats, Esri::ArcGISRuntime::ColorRamp *colorRamp, QObject *parent = nullptr) StretchRenderer(const Esri::ArcGISRuntime::StretchParameters &stretchParameters, const QList<double> &gammas, bool estimateStats, Esri::ArcGISRuntime::PresetColorRampType presetColorRampType, QObject *parent = nullptr) virtual ~StretchRenderer() override Esri::ArcGISRuntime::ColorRamp * colorRamp() const Detailed DescriptionA stretch renderer displays continuous raster cell values across a gradual ramp of colors. Use it to draw a single band of continuous data. The stretch renderer works well when you have a large range of values to display, such as in imagery, aerial photographs, or elevation models.
Stretching improves the appearance of the raster data by spreading its pixel values along a histogram whose minimum and maximum values are defined by the raster's bit depth. For example, an 8-bit raster dataset will be stretched along a histogram from 0 to 255.
Relevant samples:
See also RasterRenderer.
Member Function Documentation StretchRenderer::StretchRenderer(const Esri::ArcGISRuntime::StretchParameters &stretchParameters, const QList<double> &gammas, bool estimateStats, Esri::ArcGISRuntime::ColorRamp *colorRamp, QObject *parent = nullptr)Creates a stretch renderer.
nullptr
.Creates a stretch renderer.
[override virtual noexcept]
StretchRenderer::~StretchRenderer()
Destructor.
Esri::ArcGISRuntime::ColorRamp *StretchRenderer::colorRamp() constThe ColorRamp object used to create this StretchRenderer.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4