Performs a min-max contrast stretch on an input greytone image.
wbt_min_max_contrast_stretch(
input,
output,
min_val,
max_val,
num_tones = 256,
wd = NULL,
verbose_mode = FALSE,
compress_rasters = FALSE,
command_only = FALSE
)
Returns the tool text outputs.
Input raster file.
Output raster file.
Lower tail clip value.
Upper tail clip value.
Number of tones in the output image.
Changes the working directory.
Sets verbose mode. If verbose mode is FALSE
, tools will not print output messages.
Sets the flag used by 'WhiteboxTools' to determine whether to use compression for output rasters.
Return command that would be executed by system()
rather than running tool.