rgb_raster2singleband turns a threeband RGB Raster (brick)
into a singleband GREYSCALE raster with a colortable
raster_greyscale(raster_in, method = "ysrgb")
Arguments
| raster_in |
An object of class RasterBrick. |
| method |
The method to use when turning RGB to greyscale. |