.TH r.composite 1grass "" "GRASS 6.4.2" "Grass User's Manual" .SH NAME \fI\fBr.composite\fR\fR - Combines red, green and blue raster maps into a single composite raster map. .SH KEYWORDS raster, composite .SH SYNOPSIS \fBr.composite\fR .br \fBr.composite help\fR .br \fBr.composite\fR [-\fBdc\fR] \fBred\fR=\fIname\fR \fBgreen\fR=\fIname\fR \fBblue\fR=\fIname\fR [\fBlevels\fR=\fIinteger\fR] [\fBlev_red\fR=\fIinteger\fR] [\fBlev_green\fR=\fIinteger\fR] [\fBlev_blue\fR=\fIinteger\fR] \fBoutput\fR=\fIname\fR [--\fBoverwrite\fR] [--\fBverbose\fR] [--\fBquiet\fR] .SS Flags: .IP "\fB-d\fR" 4m .br Dither .IP "\fB-c\fR" 4m .br Use closest color .IP "\fB--overwrite\fR" 4m .br Allow output files to overwrite existing files .IP "\fB--verbose\fR" 4m .br Verbose module output .IP "\fB--quiet\fR" 4m .br Quiet module output .PP .SS Parameters: .IP "\fBred\fR=\fIname\fR" 4m .br Name of raster map to be used for .IP "\fBgreen\fR=\fIname\fR" 4m .br Name of raster map to be used for .IP "\fBblue\fR=\fIname\fR" 4m .br Name of raster map to be used for .IP "\fBlevels\fR=\fIinteger\fR" 4m .br Number of levels to be used for each component .br Options: \fI1-256\fR .br Default: \fI32\fR .IP "\fBlev_red\fR=\fIinteger\fR" 4m .br Number of levels to be used for .br Options: \fI1-256\fR .IP "\fBlev_green\fR=\fIinteger\fR" 4m .br Number of levels to be used for .br Options: \fI1-256\fR .IP "\fBlev_blue\fR=\fIinteger\fR" 4m .br Number of levels to be used for .br Options: \fI1-256\fR .IP "\fBoutput\fR=\fIname\fR" 4m .br Name for output raster map .PP .SH DESCRIPTION This program combines three raster maps to form a composite RGB map. For each input map layer, the corresponding component from the map's color table is used (e.g. for the red map, the red component is used, and so on). In general, the maps should use a gray-scale color table. .SH NOTES The default number of intensity levels for each component is 32, resulting in a total of 32768 possible colors (equivalent to 15 bits per pixel). If significantly more levels than this are used, not only will \fIr.composite\fR take longer to run, but displaying the resulting layer with \fId.rast\fR will also be significantly slower. .PP Floyd-Steinberg dithering is optionally used with the \fB-d\fR flag. .SH EXAMPLE Creating a composite RGB raster using 32 color levels per layer, with dithering: \fC .DS .br r.composite -d red=elevation.r green=elevation.g blue=elevation.b output=elev.composite .br .DE \fR .SH SEE ALSO \fI d.rast, d.rgb, r.blend, r.colors \fR .PP \fI Wikipedia Entry: Floyd-Steinberg dithering \fR .SH AUTHOR Glynn Clements .PP \fILast changed: $Date: 2008-02-26 20:04:18 +0100 (Tue, 26 Feb 2008) $\fR .PP Full index .PP © 2003-2011 GRASS Development Team