mean.list | R Documentation |
Returns the pixelwise mean of Image
objects stored
in a list.
## S3 method for class 'list'
mean(x, target = "new", ...)
x |
A list of |
target |
The location where the results should be stored when passing a list of images to the function. It can take 3 values:
|
... |
Further arguments passed to summary methods. Unused if |
If target="new"
, the function returns an Image
object. If target
is an Image
object, the function
returns nothing and modifies that Image
object in place.
Simon Garnier, garnier@njit.edu
Image
balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
img_list <- lapply(1:10, function(x) readNext(balloon))
mean_img <- mean(img_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.