wbt_resample: Resample

Description Usage Arguments Value

View source: R/image_analysis.R

Description

Resamples one or more input images into a destination image.

Usage

1
2
3
4
5
6
7
8
9
wbt_resample(
  inputs,
  output,
  cell_size = NULL,
  base = NULL,
  method = "cc",
  wd = NULL,
  verbose_mode = FALSE
)

Arguments

inputs

Input raster files.

output

Output raster file.

cell_size

Optionally specified cell size of output raster. Not used when base raster is specified.

base

Optionally specified input base raster file. Not used when a cell size is specified.

method

Resampling method; options include 'nn' (nearest neighbour), 'bilinear', and 'cc' (cubic convolution).

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.