R/get_raster_colours.R
colortable_greyscale.Rdrgb_raster2singleband turns a threeband RGB Raster (brick)
into a singleband GREYSCALE raster with a colortable
colortable_greyscale(colortable, method = "ysrgb")
| method | The method to use when turning RGB to greyscale. |
|---|---|
| raster_in | An object of class RasterBrick. |