imRead: Load Image From a File

View source: R/imRead.R

imReadR Documentation

Load Image From a File

Description

Load an image using the load.image function from imager package

Usage

imRead(file)

Arguments

file

path to file

Value

an object of class "cimg"

See Also

load.image

Examples

if (interactive()) {
  file_path <- system.file("img", "AFO1046.1200dpi.png", package = "xRing")
  im <- imRead(file_path)
  imDisplay(im)
}


xRing documentation built on April 22, 2022, 5:05 p.m.

Related to imRead in xRing...