videostack_dimensions: The Number of Rows/Columns/Frames of a VideoStack

nrow.VideoStackR Documentation

The Number of Rows/Columns/Frames of a VideoStack

Description

nrow, ncol and nframes return the number of rows, columns or frames present in a VideoStack object.

Usage

nrow.VideoStack(x)

nrow.VideoStack(x)

## S3 method for class 'VideoStack'
nframes(x)

Arguments

x

A VideoStack object.

Value

A numeric value.

Author(s)

Simon Garnier, garnier@njit.edu

See Also

dim which returns all dimensions.

Examples

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


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