Description Usage Arguments Details Value References Examples
The image should be rotated to use the function fieldShape(). The base of experimental field should be parallel to axis X.
1 | fieldRotate(mosaic, theta=NULL, clockwise=T, h=F, DSMmosaic=NULL, plot=T, type="l", lty=2, lwd=3, fast.plot=F)
|
mosaic |
object of class stack. |
theta |
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. |
clockwise |
if it is TRUE, clockwise rotation. |
h |
if it is TRUE, the drawn line will be at horizontal, if FALSE (90-theta). |
DSMmosaic |
DSM should be used if the file of height is provided. |
plot |
if it is TRUE the original and rotated image will be plotted. |
type |
character indicating the type of plotting, please check help("lines"). |
lty |
line types, please check help("lines"). |
lwd |
line width, please check help("lines"). |
fast.plot |
if TRUE only the grey scale image will be plotted as reference (faster approach). |
The function returns a image with the rotated image with format stack.
Rotated image format stack with the base of experimental field parallel to axis X.
Matias et al. (2019) FIELDimageR: A R Package to Analyze Orthomosaic Images from Agricultural Field Trials. (submitted)
1 | ##see Vignette at https://github.com/filipematias23/FIELDimageR
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.