Attempts to turn its argument into a matrix or an array.
Usage
# S3 method for Rcpp_Image
as.array(x, ...)
Arguments
- x
An
Image
object.- ...
Ignored.
Author
Simon Garnier, garnier@njit.edu
Examples
balloon <- image(system.file("sample_img/balloon1.png", package = "Rvision"))
balloon_mat <- as.matrix(balloon)