r.composite.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <h2>DESCRIPTION</h2>
  2. This program combines three raster maps to form a
  3. composite RGB map. For each input map layer, the corresponding
  4. component from the map's color table is used (e.g. for
  5. the red map, the red component is used, and so on). In
  6. general, the maps should use a gray-scale color table.
  7. <h2>NOTES</h2>
  8. The default number of intensity levels for each component is 32,
  9. resulting in a total of 32768 possible colors (equivalent to 15 bits
  10. per pixel). If significantly more levels than this are used, not only
  11. will <em>r.composite</em> take longer to run, but displaying the
  12. resulting layer with <em><a href="d.rast.html">d.rast</a></em> will
  13. also be significantly slower.
  14. <p>Floyd-Steinberg dithering is optionally used with the <b>-d</b> flag.
  15. <h2>EXAMPLE</h2>
  16. Creating a composite RGB raster using 32 color levels per layer, with dithering:
  17. <div class="code"><pre>
  18. r.composite -d red=elevation.r green=elevation.g blue=elevation.b output=elev.composite
  19. </pre></div>
  20. <h2>SEE ALSO</h2>
  21. <em>
  22. <a href="d.rast.html">d.rast</a>,
  23. <a href="d.rgb.html">d.rgb</a>,
  24. <a href="r.blend.html">r.blend</a>,
  25. <a href="r.colors.html">r.colors</a>,
  26. <a href="r.rgb.html">r.rgb</a>,
  27. </em>
  28. <p><em>
  29. <a href="http://en.wikipedia.org/wiki/Floyd-Steinberg_dithering">Wikipedia Entry: Floyd-Steinberg dithering</a>
  30. </em>
  31. <h2>AUTHOR</h2>
  32. Glynn Clements
  33. <p><i>Last changed: $Date$</i>