Skip to contents

Retrieve the dimensions a Video object.

Usage

# S3 method for Rcpp_Video
dim(x)

Arguments

x

A Video object.

Value

A vector with 3 values corresponding to the number of rows, columns and frames of the video (in this order).

See also

Author

Simon Garnier, garnier@njit.edu

Examples

balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
#> Error: Could not open the video.
dim(balloon)
#> Error in eval(expr, envir, enclos): object 'balloon' not found