Performs a percentage linear contrast stretch on input images.
percentage_contrast_stretch(input, output, clip = 0, tail = "both",
num_tones = 256, verbose_mode = FALSE)
Input raster file.
Output raster file.
Optional amount to clip the distribution tails by, in percent.
Specified which tails to clip; options include 'upper', 'lower', and 'both' (default is 'both').
Number of tones in the output image.
Sets verbose mode. If verbose mode is False, tools will not print output messages.
Returns the tool text outputs.