img_read {imagefluency}R Documentation

Read bitmap image (bmp, jpg, png, tiff)

Description

Wrapper for readbitmap's read.bitmap function. The function currently allows reading in images in bmp, jpg / jpeg, png, or tif / tiff format.

Usage

img_read(path, ...)

Arguments

path

Path to the image file.

...

Additional parameters that are passed to read.bitmap and the underlying image reader packages.

Details

For details, see the read.bitmap documentation.

Value

Objects returned by read.bmp, readJPEG, readPNG, or readTIFF. See their documentation for details.

See Also

read.bitmap, read.bmp, readJPEG, readPNG, readTIFF

Examples

## Example image with high vertical symmetry: rails
rails <- img_read(system.file("example_images", "rails.jpg", package = "imagefluency"))

[Package imagefluency version 0.2.5 Index]