fieldShape
fileThe image should be rotated to use the function fieldShape
.
The base of experimental field should be parallel to axis X.
fieldRotate(
mosaic,
theta = NULL,
clockwise = TRUE,
h = FALSE,
n.core = NULL,
extentGIS = FALSE,
DSMmosaic = NULL,
plot = TRUE,
type = "l",
lty = 2,
lwd = 3,
fast.plot = FALSE
)
object of class stack.
angle of rotation, if negativo the rotation will be for the right. If not provided the user should select two points from left to right to determine the angle of rotation.
if it is TRUE, clockwise rotation.
if it is TRUE, the drawn line will be at horizontal, if FALSE (90-theta).
number of cores to use for multicore processing (Parallel).
if TRUE the rotated image will have an adjusted extent based on the original image (It is an important step to fit the fieldShape on the original image).
DSM should be used if the file of height is provided.
if it is TRUE the original and rotated image will be plotted.
character indicating the type of plotting, please check help("lines").
line types, please check help("lines").
line width, please check help("lines").
if TRUE only the grey scale image will be plotted as reference (faster approach).
A list with two element
mosaic
rotated image format stack with the base of experimental field parallel to axis X.
fieldRotate