r.rgb.html 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <h2>DESCRIPTION</h2>
  2. <em>r.rgb</em> generates separate red, green and blue maps from a
  3. raster map and its associated color table (grey255).
  4. <h2>EXAMPLE</h2>
  5. <div class="code"><pre>
  6. g.region raster=elevation -p
  7. r.rgb input=elevation red=elevation.r green=elevation.g blue=elevation.b
  8. </pre></div>
  9. <p>
  10. In this case <em>r.rgb</em> produces in the current mapset three new
  11. raster maps - 'elevation.r', 'elevation.g', 'elevation.b'.
  12. <p>
  13. <!--
  14. d.split.frame frames=4
  15. d.frame -s uno
  16. d.rast elevation
  17. d.font Vera
  18. echo " elevation" | d.text col=black
  19. d.frame -s dos
  20. d.rast elevation.r
  21. d.font Vera
  22. echo " elevation.r" | d.text col=black
  23. d.frame -s tres
  24. d.rast elevation.g
  25. d.font Vera
  26. echo " elevation.g" | d.text col=black
  27. d.frame -s cuatro
  28. d.rast elevation.b
  29. d.font Vera
  30. echo " elevation.b" | d.text col=black
  31. -->
  32. <center>
  33. <img src="r_rgb_elevation.png"><br>
  34. </center>
  35. <h2>SEE ALSO</h2>
  36. <em>
  37. <a href="r.composite.html">r.composite</a>,
  38. <a href="r.blend.html">r.blend</a>,
  39. <a href="r.colors.html">r.colors</a>,
  40. <a href="r.mapcalc.html">r.mapcalc</a>
  41. </em>
  42. <h2>AUTHOR</h2>
  43. Glynn Clements
  44. <p>
  45. <i>Last changed: $Date$</i>