| imgGetRGBFromBands {biOps} | R Documentation |
This function returns the RGB image compositing the given bands.
imgGetRGBFromBands(R, G, B)
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 |
RGB imagedata
## 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)