1r.rgb(1) GRASS GIS User's Manual r.rgb(1)
2
3
4
6 r.rgb - Splits a raster map into red, green and blue maps.
7
9 raster, RGB, separate, split
10
12 r.rgb
13 r.rgb --help
14 r.rgb input=name [red=name] [green=name] [blue=name] [--over‐
15 write] [--help] [--verbose] [--quiet] [--ui]
16
17 Flags:
18 --overwrite
19 Allow output files to overwrite existing files
20
21 --help
22 Print usage summary
23
24 --verbose
25 Verbose module output
26
27 --quiet
28 Quiet module output
29
30 --ui
31 Force launching GUI dialog
32
33 Parameters:
34 input=name [required]
35 Name of input raster map
36
37 red=name
38 Red channel raster map name
39
40 green=name
41 Green channel raster map name
42
43 blue=name
44 Blue channel raster map name
45
47 r.rgb generates separate red, green and blue maps from a raster map and
48 its associated color table (grey255).
49
51 g.region raster=elevation -p
52 r.rgb input=elevation red=elevation.r green=elevation.g blue=elevation.b
53
54 In this case r.rgb produces in the current mapset three new raster maps
55 - ’elevation.r’, ’elevation.g’, ’elevation.b’.
56
58 r.composite, r.blend, r.colors, r.mapcalc
59
61 Glynn Clements
62
64 Available at: r.rgb source code (history)
65
66 Accessed: Saturday Jan 21 21:17:02 2023
67
68 Main index | Raster index | Topics index | Keywords index | Graphical
69 index | Full index
70
71 © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
72
73
74
75GRASS 8.2.1 r.rgb(1)