mean.Rcpp_Image | R Documentation |
Returns the mean of the pixel values of an Image
object. If the Image
object has more than one channel, it
returns the mean for each channel.
## S3 method for class 'Rcpp_Image'
mean(x, ..., mask = NA)
x |
An |
... |
Unused at the moment. |
mask |
A single-channel (GRAY) 8-bit (8U) |
A numeric value (for single-channel images) or a vector of numeric values (for multi-channel images).
Simon Garnier, garnier@njit.edu
Image
balloon <- image(system.file("sample_img/balloon1.png", package = "Rvision"))
mean(balloon)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.