imageType {biOps} | R Documentation |
This function returns color type ("rgb" or "grey") of a given imagedata.
imageType(x)
x |
The image |
"rgb" or "grey"
## Not run: x <- readJpeg(system.file("samples", "violet.jpg", package="biOps")) cat("Image Type", imageType(x)) ## End(Not run)