Learn R Programming

Rvision (version 0.3.5)

nrow.Rcpp_Image: The Number of Rows/Columns/Channels of an Image

Description

nrow, ncol and nchan return the number of rows, columns or channels present in an Image object.

Usage

nrow.Rcpp_Image(x)
ncol.Rcpp_Image(x)
nchan(x)

Arguments

x

An Image object.

Value

A numeric value.

See Also

dim which returns all dimensions.

Examples

Run this code
# NOT RUN {
# TODO

# }

Run the code above in your browser using DataLab