analyzeImages: Analyze Multiple Images

View source: R/analyzeImages.R

analyzeImagesR Documentation

Analyze Multiple Images

Description

Detect the water-sensitive paper from multiple images and do all the analyses in a run. Parallel processing is allowed.

Usage

analyzeImages(
  path,
  paper_dim = c(76, 26),
  distance = 0.7,
  display.it = FALSE,
  cl = NULL
)

Arguments

path

A character giving the path to the folder containing the images (only!) of the papers.

paper_dim

A numeric vector of length 2 indicating the length and width (in mm) of the water-sensitive paper.

distance

A numeric value indicating the distance from the nozzle to the target, in order to estimate the spray drift (%) using the 'German model' for field crops.

display.it

(Logical) Should the image with the bounding box of the paper be displayed? Default is TRUE.

cl

An integer indicating the number of parallel processes or an object created by parallel::makeCluster(). Default if NULL.

Value

A list of objects of class hydropaper. See more in analyzePaper().

Examples

path <- system.file('images', package = 'hydropaper')
list.files(path)
analyzeImages(path)


arsilva87/hydropaper documentation built on April 4, 2022, 10:47 a.m.