1r.composite(1) GRASS GIS User's Manual r.composite(1)
2
3
4
6 r.composite - Combines red, green and blue raster maps into a single
7 composite raster map.
8
10 raster, composite, RGB
11
13 r.composite
14 r.composite --help
15 r.composite [-dc] red=name green=name blue=name [levels=integer]
16 [level_red=integer] [level_green=integer] [level_blue=integer]
17 output=name [--overwrite] [--help] [--verbose] [--quiet] [--ui]
18
19 Flags:
20 -d
21 Dither
22
23 -c
24 Use closest color
25
26 --overwrite
27 Allow output files to overwrite existing files
28
29 --help
30 Print usage summary
31
32 --verbose
33 Verbose module output
34
35 --quiet
36 Quiet module output
37
38 --ui
39 Force launching GUI dialog
40
41 Parameters:
42 red=name [required]
43 Name of raster map to be used for <red>
44
45 green=name [required]
46 Name of raster map to be used for <green>
47
48 blue=name [required]
49 Name of raster map to be used for <blue>
50
51 levels=integer
52 Number of levels to be used for each component
53 Options: 1-256
54 Default: 32
55
56 level_red=integer
57 Number of levels to be used for <red>
58 Options: 1-256
59
60 level_green=integer
61 Number of levels to be used for <green>
62 Options: 1-256
63
64 level_blue=integer
65 Number of levels to be used for <blue>
66 Options: 1-256
67
68 output=name [required]
69 Name for output raster map
70
72 This program combines three raster maps to form a composite RGB map.
73 For each input map layer, the corresponding component from the map’s
74 color table is used (e.g. for the red map, the red component is used,
75 and so on). In general, the maps should use a grey-scale color table.
76
78 The default number of intensity levels for each component is 32,
79 resulting in a total of 32768 possible colors (equivalent to 15 bits
80 per pixel). If significantly more levels than this are used, not only
81 will r.composite take longer to run, but displaying the resulting layer
82 with d.rast will also be significantly slower.
83
84 Floyd-Steinberg dithering is optionally used with the -d flag.
85
87 RGB composite of three satellite bands
88 Color composite of a LANDSAT scene (North Carolina sample dataset):
89 g.region raster=lsat7_2002_10
90 r.composite blue=lsat7_2002_10 green=lsat7_2002_20 red=lsat7_2002_30 \
91 output=lsat7_2002_rgb
92
93 RGB composite with dithering
94 Creating a composite RGB raster using 32 color levels per layer, with
95 dithering:
96 r.composite -d red=elevation.r green=elevation.g blue=elevation.b \
97 output=elev.composite
98
100 d.rast, d.rgb, r.blend, r.colors, r.rgb
101
102 Wikipedia Entry: Floyd-Steinberg dithering
103
105 Glynn Clements
106
108 Available at: r.composite source code (history)
109
110 Main index | Raster index | Topics index | Keywords index | Graphical
111 index | Full index
112
113 © 2003-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual
114
115
116
117GRASS 7.8.5 r.composite(1)