image_reader: Internal tool to read in various image formats for the...

Description Usage Arguments Value Examples

View source: R/image_reader.R

Description

Internal tool to read in various image formats for the Colormesh pipeline

Usage

1
image_reader(imagedir, image.names)

Arguments

imagedir

directory of images.

image.names

A vector of image names to look for in imagedir.

Value

Returns the loaded image

Examples

1
2
3
 #read in an image and plot it
 ex.image <- image_reader(paste0(path.package("Colormesh"),"/extdata/unwarped_images/"), "GPLP_unw_001.jpg")
 plot(ex.image)

J0vid/Colormesh documentation built on Feb. 4, 2022, 1:33 a.m.