align: Align

alignR Documentation

Align

Description

Coregister two DTMs.

Usage

align(
  refDTM = "nofile",
  alignDTM = "nofile",
  refDSM = "nofile",
  alignDSM = "nofile",
  iterations = 5,
  k = 0,
  dampener,
  outDTM = "nofile",
  tileNx = 0,
  tileNy = 0,
  overlap = 0.5,
  radius = 15,
  nslope = 7,
  maxSlope = 1,
  nAzimuth = 8,
  outbins = "nofile",
  outDif = "nofile",
  outOutlier = "nofile",
  scratch_dir = "none",
  executable_dir = "none",
  program_name = "align"
)

Arguments

refDTM

Character: The file name (full path) for the input reference DTM.

alignDTM

Character: The file name (full path) for the input DTM to align with the reference DTM.

refDSM

Character: The file name (full path) for the input reference DSM (digital surface model).

alignDSM

Character: The file name (full path) for the input DSM to align with the reference DTM.

iterations

Numeric (int): Number of iterations to solve for the shift

k

Numeric (dbl): The number of inter-quartile ranges from q1 and q3 to use as a Tukey's fence for outlier removal

dampener

Numeric (dbl): Dampener for the shift, 1.0 or less

outDTM

Character: File name (full path) for the output aligned DTM

tileNx

(int): number of tiles in the x direction

overlap

(dbl): overlap between tiles

radius

(dbl): radius in meters for measuring slope and aspect

nslope

(int): number of gradient bins

maxSlope

(dbl): maximum gradient for binning

nAzimuth

(int): number of azimuth bins

outbins

Character: output csv file of elevation differences binned by slope and aspect

outDif

Character: output elevation difference raster (.flt)

outOutlier

Character: output outlier raster (.flt)

scratch_dir

Character string: A scratch directory where temporary files are written. If an input file for program partial is created, it is written here.

executable_dir

Character: The directory where the executable file is located.

tilesNy

(int): number of tiles in the y direction

Value

error code


tabrasel/WetlandTools documentation built on June 1, 2025, 8:07 p.m.