imRead {xRing} | R 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
Examples
if (interactive()) {
file_path <- system.file("img", "AFO1046.1200dpi.png", package = "xRing")
im <- imRead(file_path)
imDisplay(im)
}
[Package xRing version 0.1.1 Index]