dim.Rcpp_Image | R Documentation |
Retrieve the dimensions an Image
object.
## S3 method for class 'Rcpp_Image'
dim(x)
x |
An |
A vector with 3 values corresponding to the number of rows, columns and channels of the image (in this order).
Simon Garnier, garnier@njit.edu
Image
, image
balloon <- image(system.file("sample_img/balloon1.png", package = "Rvision"))
dim(balloon)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.