The Number of Rows/Columns/Frames of a VideoStack
Source:R/VideoStackClass.R
videostack_dimensions.Rd
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.
See also
dim
which returns all
dimensions.
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.
nrow(balloonStack)
#> Error in eval(expr, envir, enclos): object 'balloonStack' not found
ncol(balloonStack)
#> Error in eval(expr, envir, enclos): object 'balloonStack' not found
nframes(balloonStack)
#> Error in eval(expr, envir, enclos): object 'balloonStack' not found