multiDetect {measuRing}R Documentation

Multiple detection of TRWs

Description

This function recursively detects TRWs in sets of scanned images of wood or gray matrices.

Usage

multiDetect(image, ...)

Arguments

image

character or list. Vector of Paths to the image files or set of gray matrices.

...

Further arguments to be passed to ringDetect and ringSelect.

Value

list. Set of ringDetect calls.

Author(s)

Wilson Lara, Carlos Sierra, Felipe Bravo

Examples

## Paths to three image sections in the package:
img <- system.file(c("P105_a.tif",
                     "P105_b.tif",
                     "P105_d.tif"),
                   package="measuRing")

## Recursive detection. Arbitrary ring borders and different years
## of formation of last rings in the images years are specified:
mrings <- multiDetect(img,
                      inclu = list(c(1:40),c(1:30),c(1:41)),
                      last.yr = list(2014, 2013, 2012),
                      auto.det = c(FALSE,TRUE,FALSE),
                      plot = FALSE)
str(mrings)

## Updating the call in mrings using new arguments: 
mrings1 <- update(mrings,
                  exclu = list(c(1:4),c(1:4),c(1:4)),
                  last.yr = 2016)


[Package measuRing version 0.5 Index]