imageType: Get information on color type of imagedata

Description Usage Arguments Value Examples

Description

This function returns color type ("rgb" or "grey") of a given imagedata.

Usage

1

Arguments

x

The image

Value

"rgb" or "grey"

Examples

1
2
3
4
5
	## Not run: 
		x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
		cat("Image Type", imageType(x))
	
## End(Not run)

matiasb/biOps documentation built on May 21, 2019, 12:55 p.m.