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