Perform 2D displacement mapping from raster images (or DEMs) using raw BUnwarpJ transformation file

read.bunwarpj.displacements(tx_file, r_source, r_target)

Arguments

tx_file

The raw transformation file (.txt) from BUnwarpJ.

r_source

The DEM raster filename used as source for image registration.

r_target

The DEM raster filename used as target for image registration.

Value

Returns a data frame containing the following columns:

x_source & y_source

x & y coordinates from a CRS for the registration

x_target & y_target

x & y coordinates from a CRS representing the x & y transformation for every location in the source image

x_disp

x displacement of registered image (from source image)

y_disp

y displacement of registered image (from source image)

xy_disp

magnitude of the displacement in 2D (xy)

aspect

geographic orientation of vector direction with 0 degrees being due north and 90 degrees being due east