It calculates the percentage of object area in the entire mosaic or per plot using the fieldShape file.
fieldCrop(
mosaic,
fieldShape = NULL,
nPoint = 4,
plot = TRUE,
remove = FALSE,
type = "l",
lty = 2,
lwd = 3,
fast.plot = FALSE
)
object mask of class stack from the function fieldMask
.
crop the image using the fieldShape as reference. If fieldShape=NULL, four points should be selected directly on the original image to determine the experimental field.
number of points necessary to select field boundaries or area to remove (4 >= nPoint <= 50).
if TRUE
(by default) plots the original and cropped image.
if TRUE the selected area will be removed from the image.
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). if TRUE only the grey scale image will be plotted as reference (faster approach).
A image format stack.
fieldCrop