DOKK / manpages / debian 10 / grass-doc / r.rgb.1grass.en
r.rgb(1grass) Grass User's Manual r.rgb(1grass)

r.rgb - Splits a raster map into red, green and blue maps.

raster, RGB, separate, split

r.rgb
r.rgb --help
r.rgb input=name [red=name] [green=name] [blue=name] [--overwrite] [--help] [--verbose] [--quiet] [--ui]


Allow output files to overwrite existing files

Print usage summary

Verbose module output

Quiet module output

Force launching GUI dialog


Name of input raster map

Red channel raster map name

Green channel raster map name

Blue channel raster map name

r.rgb generates separate red, green and blue maps from a raster map and its associated color table (grey255).

g.region raster=elevation -p
r.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’.

r.composite, r.blend, r.colors, r.mapcalc

Glynn Clements

Last changed: $Date: 2016-03-18 15:09:00 +0100 (Fri, 18 Mar 2016) $

Available at: r.rgb source code (history)

Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

© 2003-2019 GRASS Development Team, GRASS GIS 7.6.0 Reference Manual

GRASS 7.6.0