imageType {biOps}R Documentation

Get information on color type of imagedata

Description

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

Usage

imageType(x)

Arguments

x The image

Value

"rgb" or "grey"

Examples

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

[Package biOps version 0.2.1 Index]