rPAex: Automatic Detection of Experimental Unit in Precision...

Description Details Note Author(s) References See Also Examples

Description

The package contains functions to manage images obtained by remote sensing of the experimental fields. In the field the characteristics of the plot are defined (number of units per row and column and dimensions in meters or other dimension measures). The program uses the information to generate the limits and record the content of the different layers, as well as the coordinates of the pixels and the identification of the observation units in the field. It also allows to extract the experimental designs generated in agricolae package and distribute the treatments in the image according to the distribution of the generated plan. The images used in the examples were obtained from the repository url: https://doi.org/10.21223/P3/UVWVLA, International Potato Center, V1.

Details

Package: rPAex
Type: Package
Version: 1.0.1
Date: 2020-01-18
License: GPL

Note

The fileRaster() function converts a TIFF image to raster. You need to install rgdal first then activite. see example.

Author(s)

Professor Felipe de Mendiburu
Systems Engineer.
Universidad Nacional de Ingenieria Lima-Peru.
Professor Applied Statistics
Universidad Nacional Agraria La Molina, Lima-Peru.

Professor David Mauricio.
Department of Computer Science.
Universidad Nacional Mayor de San Marcos, Lima-Peru

Rodrigo A. Morales A. PhD
Phytopathologist-Sustainable Agriculture
Agricultural Research Institute of Panama (IDIAP)

Professor Roberto Quiroz.
Centro Agronomico Tropical de Investigacion.
CATIE.

References

Loayza, Hildo; Silva, Luis; Palacios, Susan; Balcazar, Mario; Quiroz, Roberto, 2018, "Dataset for: Modelling crops using high resolution multispectral images", url: https://doi.org/10.21223/P3/UVWVLA, International Potato Center, V1.

M. Montalvo, G. Pajares, J. M. Guerrero, J. Romeo, M. Guijarro, A. Ribeiro, J. J. Ruz, and J. Cruz. Automatic detection of crop rows in maize fields with high weeds pressure. Expert Systems with Applications, 39(15):11889-11897, 2012.

X. Zhang, X. Li, B. Zhang, J. Zhou, G. Tian, Y. Xiong, and B. Gu. Automated robust crop-row detection in maize fields based on position clustering algorithm and shortest path method. Computers and electronics in agriculture, 154:165-175, 2018.

F. de Mendiburu. A statistical analisys tool for agricultural research. Masters thesis, Universidad Nacional de Ingenieria. Lima-Peru, 8 2009. Degree in systems engineering.

Richards, J. A. Remote sensing digital image analysis: An introduction. 2012

See Also

externalPoint, fixedPoint, fourPoint, imageField, borderPoint, designRaster, movePlot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# activate fileRaster() function.
# fraster <- system.file("script/fileRaster.R", package="rPAex")
# source(fraster)
# r<- fileRaster(tiff)
#
# Simple examples of the most important functions
library(rPAex)
# Graeco - latin square design
T1<-c("a","b","c","d")
T2<-c("v","w","x","y")
outdesign <- agricolae::design.graeco(T1,T2,serie=1)
book<-outdesign$book
prg1 <- system.file("examples/Ex-01.R", package="rPAex")
source(prg1)
r<-data1()
oldpar<-par(mar=c(2,2,4,2),cex=0.9)
raster::image(r,main="Graeco - latin square design\n
Treatments T1 (a, b, c, d) and T2 (v, w, x, y)",col=col2rgb(2))
#P<-locator(3)
P<-list(x=c(20,90,80),y=c(80,90,20))
Q<-fourPoint(P)
polygon(Q,lwd=3)
R<-imageField(r, P=Q, nPl=4, nPw=4, long=12, wide=12,col=colors()[18])
q<-designRaster(R$Qbase,book)$design
text(q[,6],q[,7]+2,q[,1])
text(q[,6],q[,7]-2,paste(q[,4],q[,5],sep=" - "))
par(oldpar)

rPAex documentation built on March 26, 2020, 9:36 p.m.

Related to rPAex in rPAex...