ArcGIS Runtime SDK for iOS: AGSPercentClipStretchParameters Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSPercentClipStretchParameters Class Reference

Description

Parameters to create a stretch renderer based on percentile min/max pixel values.

Instances of this class represent parameters that can be used to create an AGSStretchRenderer object that applies a linear stretch between the percentile minimum and maximum pixel values defined.

Since
100
Inheritance diagram for AGSPercentClipStretchParameters:
AGSStretchParameters AGSObject

Instance Methods

(instancetype) - initWithMin:max:
 

Class Methods

(instancetype) + percentClipStretchParametersWithMin:max:
 

Properties

double max
 
double min
 

Method Documentation

◆ initWithMin:max:

- (instancetype) initWithMin: (double)  min
max: (double)  max 

Initializes the parameters with the provided values.

Parameters
minPercentile cutoff below which values in the raster dataset are to be clipped. Valid values are 0 - 100.
maxPercentile cutoff above which pixel values in the raster dataset are to be clipped. Valid values are 0 - 100.
Since
100

◆ percentClipStretchParametersWithMin:max:

+ (instancetype) percentClipStretchParametersWithMin: (double)  min
max: (double)  max 

Creates the parameters with the provided values.

Parameters
minPercentile cutoff below which values in the raster dataset are to be clipped. Valid values are 0 - 100.
maxPercentile cutoff above which pixel values in the raster dataset are to be clipped. Valid values are 0 - 100.
Returns
The new parameters.
Since
100

Property Documentation

◆ max

- (double) max
readnonatomicassign

Percentile cutoff above which pixel values in the raster dataset are to be clipped. Valid values are 0 - 100.

For example: Consider an 8-bit raster containing pixel values in the range from 33 to 206, and you've defined a percent clip minimum and maximum of 2. If 2 percent at the low end is values 33 to 45 and 2 percent at the high end is 198 to 206, the histogram will be redistributed to spread the values from 0 to 255, all values 33 to 45 becoming 0 and 198 to 206 becoming 255, with all other values spread in between.

Since
100

◆ min

- (double) min
readnonatomicassign

Percentile cutoff below which values in the raster dataset are to be clipped. Valid values are 0 - 100.

For example: Consider an 8-bit raster containing pixel values in the range from 33 to 206, and you've defined a percent clip minimum and maximum of 2. If 2 percent at the low end is values 33 to 45 and 2 percent at the high end is 198 to 206, the histogram will be redistributed to spread the values from 0 to 255, all values 33 to 45 becoming 0 and 198 to 206 becoming 255, with all other values spread in between.

Since
100