1r.composite(1) Grass User's Manual r.composite(1)
2
3
4
6 r.composite - Combines red, green and blue map layers into a single
7 composite map layer.
8
10 raster
11
13 r.composite
14 r.composite help
15 r.composite [-dc] red=string green=string blue=string [levels=integer]
16 [lev_red=integer] [lev_green=integer] [lev_blue=integer] out‐
17 put=string [--overwrite] [--verbose] [--quiet]
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 --verbose
30 Verbose module output
31
32 --quiet
33 Quiet module output
34
35 Parameters:
36 red=string
37 Name of raster map layer to be used for
38
39 green=string
40 Name of raster map layer to be used for
41
42 blue=string
43 Name of raster map layer to be used for
44
45 levels=integer
46 Number of levels to be used for each component
47 Options: 1-256
48 Default: 32
49
50 lev_red=integer
51 Number of levels to be used for
52 Options: 1-256
53
54 lev_green=integer
55 Number of levels to be used for
56 Options: 1-256
57
58 lev_blue=integer
59 Number of levels to be used for
60 Options: 1-256
61
62 output=string
63 Name of raster map to contain results
64
66 This program combines three raster maps to form a composite RGB map.
67 For each input map layer, the corresponding component from the map's
68 color table is used (e.g. for the red map, the red component is used,
69 and so on). In general, the maps should use a gray-scale color table.
70
72 The default number of intensity levels for each component is 32,
73 resulting in a total of 32768 possible colors (equivalent to 15 bits
74 per pixel). If significantly more levels than this are used, not only
75 will r.composite take longer to run, but displaying the resulting layer
76 with d.rast will also be significantly slower.
77
78 Floyd-Steinberg dithering is optionally used with the -d flag.
79
81 Creating a composite RGB raster using 32 color levels per layer, with
82 dithering:
83 r.composite -d red=elevation.r green=elevation.g blue=elevation.b out‐
84 put=elev.composite
85
86
88 d.rast, d.rgb, r.blend, r.colors
89
90 Wikipedia Entry: Floyd-Steinberg dithering
91
93 Glynn Clements
94
95 Last changed: $Date: 2008-02-26 20:05:33 +0100 (Tue, 26 Feb 2008) $
96
97 Full index
98
99 © 2003-2008 GRASS Development Team
100
101
102
103GRASS 6.3.0 r.composite(1)