Wrapper for readbitmap's read.bitmap
function. The
function currently allows reading in images in bmp
, jpg
/
jpeg
, png
, or tif
/ tiff
format.
img_read(path, ...)
Path to the image file.
Additional parameters that are passed to
read.bitmap
and the underlying image reader
packages.
For details, see the read.bitmap
documentation.
## Example image with high vertical symmetry: rails
rails <- img_read(system.file("example_images", "rails.jpg", package = "imagefluency"))