Note: This document is for an older version of GRASS GIS that is outdated. You should upgrade, and read the current manual page.

GRASS logo

NAME

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

Table of contents

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

SOURCE CODE

Available at: r.rgb source code (history)

Latest change: Thu Feb 3 11:10:06 2022 in commit: 73413160a81ed43e7a5ca0dc16f0b56e450e9fef


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

© 2003-2022 GRASS Development Team, GRASS GIS 8.0.3dev Reference Manual