logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Authors

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

Description

r.blend blends color components of 2 raster maps by a specified 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=elevation
       r.relief input=elevation output=relief zscale=10
       r.blend -c first=elevation second=relief output=blend percent=75
       Figure:Elevationblendedwithshadedrelief

Keywords

       raster, composite

Name

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

See Also

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

Source Code

       Available at: r.blend source code (history)

       Accessed: Friday Apr 04 01:21:11 2025

       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                                                                                      r.blend(1grass)

Synopsis

r.blendr.blend--helpr.blend   [-c]   first=namesecond=nameoutput=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

See Also