Learn R Programming

whitebox (version 0.1.0)

percentage_contrast_stretch: Percentage contrast stretch

Description

Performs a percentage linear contrast stretch on input images.

Usage

percentage_contrast_stretch(input, output, clip = 0, tail = "both",
  num_tones = 256, verbose_mode = FALSE)

Arguments

input

Input raster file.

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.

verbose_mode

Sets verbose mode. If verbose mode is False, tools will not print output messages.

Value

Returns the tool text outputs.