r.rgb.1grass man page

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

Keywords

raster, RGB, separate, split

Synopsis

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

Flags

--overwrite

Allow output files to overwrite existing files

--help

Print usage summary

--verbose

Verbose module output

--quiet

Quiet module output

--ui

Force launching GUI dialog

Parameters

input=name [required]

Name of input raster map

red=name

Red channel raster map name

green=name

Green channel raster map name

blue=name

Blue channel raster map name

Description

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

Example

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’.

See Also

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

Author

Glynn Clements

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

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

© 2003-2016 GRASS Development Team, GRASS GIS 7.0.4 Reference Manual

Info

GRASS 7.0.4 Grass User's Manual