powered by
Image
This function is a simple wrapper around EBImage::Image().
EBImage::Image()
as_image(data, ...)
An Image object.
A vector or array containing the pixel intensities of an image. If missing, the default 1x1 zero-filled array is used.
Additional arguments passed to EBImage::Image().
img <- as_image(rnorm(150 * 150 * 3), dim = c(150, 150, 3), colormode = 'Color') plot(img)
Run the code above in your browser using DataLab