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

View source: R/image_reader.R

image_readerR Documentation

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

Description

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

Usage

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

 #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 Nov. 23, 2024, 6:10 p.m.