powered by
Attempts to turn its argument into a matrix or an array.
# S3 method for Rcpp_Image as.array(x, ...)
An Image object.
Image
Ignored.
A matrix or array of the same dimensions as the Image object.
Image, matrix, array
matrix
array
# NOT RUN { balloon <- image(system.file("sample_img/balloon1.png", package = "Rvision")) balloon_mat <- as.matrix(balloon) # }
Run the code above in your browser using DataLab