Skip to contents

Tests whether the object is of class Image

Usage

isImage(object)

Arguments

object

Any R object.

Value

A logical indicating whether the object is of class Image (TRUE) or not (FALSE).

See also

Author

Simon Garnier, garnier@njit.edu

Examples

balloon <- image(system.file("sample_img/balloon1.png", package = "Rvision"))
isImage(balloon)
#> [1] TRUE