rgb_raster2singleband turns a threeband RGB Raster (brick)
into a singleband raster with a colortable
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