darkpix.dir: Process hemispherical photo directory.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/hemiphoto.R

Description

Processes a directory of image files, counts dark percentage and produces data table.

Usage

1
darkpix.dir(directory, pattern = "jpg", cutoff = 100, clip.circle = T)

Arguments

directory

String with path to directory to be processed.

pattern

A pattern, suitable for the list.files function, indicating which image files to load. "jpg" is the most common, but "JPG" or "JPEG" may be produed by some cameras.

cutoff

Cutoff brighness level, 0-255.

clip.circle

Clip processing to a central circle in the image, otherwise use entire image.

Value

A data frame containing the file name, and the percentage of dark pixels.

Author(s)

Grant Williamson <grant.williamson@utas.edu.au>

See Also

darkpix

Examples

1
#darkpix.dir("fieldtrips/photo12/",pattern="jpg")

ozjimbob/ecbtools documentation built on Jan. 18, 2021, 7:39 p.m.