imRead {xRing} | R Documentation |
Load an image using the load.image function from imager package
imRead(file)
file |
path to file |
an object of class "cimg"
if (interactive()) {
file_path <- system.file("img", "AFO1046.1200dpi.png", package = "xRing")
im <- imRead(file_path)
imDisplay(im)
}