imgGetRGBFromBands {biOps}R Documentation

Return an RGB image

Description

This function returns the RGB image compositing the given bands.

Usage

imgGetRGBFromBands(R, G, B)

Arguments

R A one-band image for the Red band
G A one-band image for the Green band
B A one-band image for the Blue band

Value

RGB imagedata

Examples

        ## Not run: 
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
                r <- imgRedBand(x)
                g <- imgGreenBand(x)
                b <- imgBlueBand(x)
                rgb <- imgGetRGBFromBands(r, g, b)
        
## End(Not run)

[Package biOps version 0.2.1 Index]