dim.Rcpp_Video: Dimensions of a Video

View source: R/VideoClass.R

dim.Rcpp_VideoR Documentation

Dimensions of a Video

Description

Retrieve the dimensions a Video object.

Usage

## S3 method for class '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).

Author(s)

Simon Garnier, garnier@njit.edu

See Also

Video, video

Examples

balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
dim(balloon)


swarm-lab/Rvision documentation built on Feb. 7, 2024, 4:59 a.m.