nrow.Rcpp_Image | R Documentation |
nrow, ncol and nchan return the number of rows, columns or
channels present in an Image
object.
nrow.Rcpp_Image(x)
ncol.Rcpp_Image(x)
nchan(x)
x |
An |
A numeric value.
Simon Garnier, garnier@njit.edu
dim
which returns all
dimensions.
balloon <- image(system.file("sample_img/balloon1.png", package = "Rvision"))
nrow(balloon)
ncol(balloon)
nchan(balloon)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.