r.rgb1grass
Splits a raster map into red, green and blue maps.
Usage
r.rgb
r.rgb --help
r.rgb input=name
[red=name]
[green=name]
[blue=name]
[--overwrite]
[--help]
[--verbose]
[--quiet]
[--ui]
Keywords
raster, RGB, separate, split
Overview
r.rgb generates separate red, green and blue maps from a raster map and its associated color table (grey255).
Examples
g.region raster=elevation -pr.rgb input=elevation red=elevation.r green=elevation.g blue=elevation.b
In this case r.rgb produces in the current mapset three new raster maps - ’elevation.r’, ’elevation.g’, ’elevation.b’.
Source code
Available at: r.rgb source code (history)
Accessed: Monday Feb 24 17:51:45 2025
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.