Note: This document is for an older version of GRASS GIS that is outdated. You should upgrade, and read the current manual page.

GRASS logo

NAME

r.blend - Blends color components of two raster maps by a given ratio.

KEYWORDS

raster, composite

SYNOPSIS

r.blend
r.blend --help
r.blend [-c] first=name second=name output=basename [percent=float] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Flags:

-c
Combine resulting R,G,B layers into single output map
--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

first=name [required]
Name of first raster map for blending
second=name [required]
Name of second raster map for blending
output=basename [required]
Basename for red, green and blue output raster maps
percent=float
Percentage weight of first map for color blending
Options: 0-100
Default: 50

Table of contents

DESCRIPTION

r.blend blends color components of 2 raster maps by a specificed percentage of the first map.

EXAMPLE

Blending the aspect map with the elevation map for a shaded map (North Carolina sample dataset):
g.region raster=aspect -p
r.blend first=aspect second=elevation output=elev_shade_blend
d.mon wx0
d.rgb blue=elev_shade_blend.b green=elev_shade_blend.g red=elev_shade_blend.r

SEE ALSO

d.shade, g.region, r.shade, r.colors, r.his, r.mapcalc, r.rgb, r.support

AUTHORS

Unknown: probably CERL
Updated to GRASS 5.7 by Michael Barton, Arizona State University

SOURCE CODE

Available at: r.blend source code (history)

Latest change: Thu Feb 3 11:10:06 2022 in commit: 73413160a81ed43e7a5ca0dc16f0b56e450e9fef


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

© 2003-2022 GRASS Development Team, GRASS GIS 8.0.3dev Reference Manual