Learn R Programming

Rvision (version 0.6.0)

dim.Rcpp_Video: Dimensions of a Video

Description

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

Video, video

Examples

Run this code
# NOT RUN {
balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
dim(balloon)

# }

Run the code above in your browser using DataLab