powered by
Retrieve the dimensions an Image object.
Image
# S3 method for Rcpp_Image dim(x)
An Image object.
A vector with 3 values corresponding to the number of rows, columns and channels of the image (in this order).
Image, image
image
# NOT RUN { balloon <- image(system.file("sample_img/balloon1.png", package = "Rvision")) dim(balloon) # }
Run the code above in your browser using DataLab