GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
r.composite(1) GRASS GIS User's Manual r.composite(1)

r.composite - Combines red, green and blue raster maps into a single composite raster map.

raster, composite, RGB

r.composite
r.composite --help
r.composite [-dc] red=name green=name blue=name [levels=integer] [level_red=integer] [level_green=integer] [level_blue=integer] output=name [--overwrite] [--help] [--verbose] [--quiet] [--ui]


Dither

Use closest color

Allow output files to overwrite existing files

Print usage summary

Verbose module output

Quiet module output

Force launching GUI dialog


Name of raster map to be used for <red>

Name of raster map to be used for <green>

Name of raster map to be used for <blue>

Number of levels to be used for each component
Options: 1-256
Default: 32

Number of levels to be used for <red>
Options: 1-256

Number of levels to be used for <green>
Options: 1-256

Number of levels to be used for <blue>
Options: 1-256

Name for output raster map

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 grey-scale color table.

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 r.composite take longer to run, but displaying the resulting layer with d.rast will also be significantly slower.

Floyd-Steinberg dithering is optionally used with the -d flag.

Color composite of a LANDSAT scene (North Carolina sample dataset):

g.region raster=lsat7_2002_10
r.composite blue=lsat7_2002_10 green=lsat7_2002_20 red=lsat7_2002_30 \

output=lsat7_2002_rgb

Creating a composite RGB raster using 32 color levels per layer, with dithering:

r.composite -d red=elevation.r green=elevation.g blue=elevation.b \

output=elev.composite

d.rast, d.rgb, r.blend, r.colors, r.rgb

Wikipedia Entry: Floyd-Steinberg dithering

Glynn Clements

Available at: r.composite source code (history)

Latest change: Friday Oct 25 16:16:09 2024 in commit: 4ea983fff87951516b6e4578a0527e3b10f04643

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

© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual

GRASS 8.4.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.