r.composite(1grass)


NAME

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

KEYWORDS

   raster, composite, RGB

SYNOPSIS

   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]

   Flags:
   -d
       Dither

   -c
       Use closest color

   --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:
   red=name [required]
       Name of raster map to be used for <red>

   green=name [required]
       Name of raster map to be used for <green>

   blue=name [required]
       Name of raster map to be used for <blue>

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

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

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

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

   output=name [required]
       Name for output raster map

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

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 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.

EXAMPLES

   RGB composite of three satellite bands
   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

   RGB composite with dithering
   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

SEE ALSO

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

    Wikipedia Entry: Floyd-Steinberg dithering

AUTHOR

   Glynn Clements

   Last changed: $Date: 2014-12-28 16:42:58 +0100 (Sun, 28 Dec 2014) $

SOURCE CODE

   Available at: r.composite source code (history)

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

    2003-2016 GRASS Development Team, GRASS GIS 7.2.0 Reference Manual





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.