min_max_contrast_stretch {whitebox} | R Documentation |
Performs a min-max contrast stretch on an input greytone image.
min_max_contrast_stretch(input, output, min_val, max_val, num_tones = 256, verbose_mode = FALSE)
input |
Input raster file. |
output |
Output raster file. |
min_val |
Lower tail clip value. |
max_val |
Upper tail clip value. |
num_tones |
Number of tones in the output image. |
verbose_mode |
Sets verbose mode. If verbose mode is False, tools will not print output messages. |
Returns the tool text outputs.