Description Usage Arguments Details
rgb_raster2singleband
turns a threeband RGB Raster (brick
)
into a singleband raster
with a colortable
1 | rgb_raster2singleband(rgb_raster)
|
rgb_raster |
A character string pointing to a raster brick object or an object of class RasterBrick. RBG values are assumed to range from 0-255 |
This function turns a three band RGB Raster Brick (from the Package raster
)
into a singleband raster with an included colortable
. The function
requires the packages: raster
, rgdal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.