raster.transform: Transform raster using scaled displacements

Description Usage Arguments Value

View source: R/fiji-imagej_bunwarpj_reg.R

Description

The positions of values from a raster are transformed to another position based on a scale factor

Usage

1
raster.transform(x, d_tx, scale_factor, return_sp = FALSE)

Arguments

x

a raster with values that should be transformed

d_tx

a data frame containing the transformation vectors from obtained from the bunwarpjDisplacementField() function

scale_factor

the scale factor (numeric) to adjust the displacement magnitudes

return_sp

(logical) TRUE to return a SpatialPointsDataFrame based on the CRS projection of the raster

Value

A data frame of the scaled displacements


jngtz/map.displ.r documentation built on Oct. 29, 2020, 4:43 p.m.