Skip to contents

Retrieve the dimensions a VideoStack object.

Usage

# S3 method for VideoStack
dim(x)

Arguments

x

A VideoStack object.

Value

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

Author

Simon Garnier, garnier@njit.edu

Examples

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