View source: R/image_analysis_enhancement.R
wbt_percentage_contrast_stretch | R Documentation |
Performs a percentage linear contrast stretch on input images.
wbt_percentage_contrast_stretch(
input,
output,
clip = 1,
tail = "both",
num_tones = 256,
wd = NULL,
verbose_mode = NULL,
compress_rasters = NULL,
command_only = FALSE
)
input |
Input raster file path. See |
output |
Output raster file. |
clip |
Optional amount to clip the distribution tails by, in percent. |
tail |
Specified which tails to clip; options include 'upper', 'lower', and 'both' (default is 'both'). |
num_tones |
Number of tones in the output image. |
wd |
Changes the working directory. Default: |
verbose_mode |
Sets verbose mode. If verbose mode is |
compress_rasters |
Sets the flag used by 'WhiteboxTools' to determine whether to use compression for output rasters. Default: |
command_only |
Return command that would be executed by |
Returns the tool text outputs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.