wbt_min_max_contrast_stretch: Min max contrast stretch

Description Usage Arguments Value

View source: R/image_analysis.R

Description

Performs a min-max contrast stretch on an input greytone image.

Usage

1
2
3
4
5
6
7
8
9
wbt_min_max_contrast_stretch(
  input,
  output,
  min_val,
  max_val,
  num_tones = 256,
  wd = NULL,
  verbose_mode = FALSE
)

Arguments

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.

wd

Changes the working directory.

verbose_mode

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

Value

Returns the tool text outputs.


whitebox documentation built on Sept. 7, 2020, 3 p.m.