dim.VideoStack: Dimensions of a VideoStack

View source: R/VideoStackClass.R

dim.VideoStackR Documentation

Dimensions of a VideoStack

Description

Retrieve the dimensions a VideoStack object.

Usage

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

Simon Garnier, garnier@njit.edu

See Also

VideoStack, videoStack

Examples

path <- system.file("sample_vid/Balloon.mp4", package = "Rvision")
balloonStack <- videoStack(path, path)
dim(balloonStack)


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